brijesh
How do you pass a variable by value?
1 Answer(s)      4 years and 6 months ago
Posted in : PHP

How do you pass a variable by value?

Advertisement
View Answers

November 15, 2010 at 11:02 AM


Hi all,

Pass a variable by value in PHP just like C++, put an ampersand in front of it, like $username = &$name.

Thanks










Related Tutorials/Questions & Answers:
Advertisements