Home » Interview » Technology

How do you pass a variable by value?

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

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion