Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP How do you pass a variable by value?

Have Programming Question? Ask it here!
 
 
 


brijesh
How do you pass a variable by value?
1 Answer(s)      3 years and 9 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
Advertisements
 

 

 

DMCA.com