What is the difference between $message and $$message ?
Answer Posted / laxmikanta pradhan
$message is variable and $$message is variable variable i.e.
$message is a variable whereas $$message is a refrence
variable having the refrence of $message.
Ex. $message="hello";
$$message="world";
echo $hello; // prints world
echo ${$message} //prints world
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Where are php configuration settings stored?
What is difference between get and post?
What new features php7 has in store for us?
What is query string php?
How can I learn php fast?
How to send email using php script?
What is helper library?
What is die in php?
What is urlencode and urldecode in php?
What is reference variable php?
How many types of php are there?
Define metaphone()?
What is php and its features?
What is php destruct?
What is difference between required and include in php?