What is the difference between $message and $$message ?
Answer Posted / keshab
$test = "example";
$temp = "test";
echo $temp // output is "test";
echo $$temp// output is "example";
thanks
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What are the functions used in php?
What is the correct php command to use to catch any error messages within the code?
Is php faster than python?
Should I use mysqli or pdo?
Tell me how can we change the maximum size of the files to be uploaded?
Which function is used in php to check the data type of any variable?
How to access a specific character in a string?
How to get number of days between two given dates using PHP?
Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
How do you execute a php script from the command line?
What is difference between compile time and run time polymorphism?
Which programming language does php resemble?
How to create a text file in PHP?
Why does sql injection happen?
What is a static variable in php?