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



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

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


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

 

 

DMCA.com