Interview Questions

How do you pass a variable by value?

PHP Interview Questions and Answers


(Continued from previous question...)

How do you pass a variable by value?

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

(Continued on next question...)

Other Interview Questions