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

Posted on    March-09-2011 12:00 AM

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

Uttam Misra

Total Post:54

Points:270
Posted on    March-09-2011 1: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