Home > DeveloperSection > Interviews > How do you pass a variable by value?

Posted on    November-04-2011 3:52 AM

 PHP PHP 
Ratings:
 1 Answer(s)
  1571  View(s)
Rate this:

Chintoo Semi

Total Post:79

Points:395
Posted on    November-04-2011 12:00 AM

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

Don't want to miss updates? Please click the below button!

Follow MindStick