HOW DO YOU PASS A VARIABLE BY VALUE?

Uttam Misra

Total Post:54

Points:270
Posted by  Uttam Misra
PHP 
PHP
 1145  View(s)
Ratings:
Rate this:
  1. Uttam Misra

    Post:54

    Points:270
    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!