HOW DO YOU PASS A VARIABLE BY VALUE?

Chintoo Semi

Total Post:79

Points:395
Posted by  Chintoo Semi
PHP 
PHP
 1810  View(s)
Ratings:
Rate this:
  1. Chintoo Semi

    Post:79

    Points:395
    How do you pass a variable by value?

    Just like in C++, put an ampersand(&) in front of it, like $a = &$b

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!