can any one please tell me how to pass a variable as/by value?
what i did a mistake on the below code, its shows an parse error
$a = &$$b
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
While it might be a little hard to follow, your code is perfectly valid and is doing what you want it to do:
You are likely getting an error because $b is not set.