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
Are php session secure?
What is difference between session and cookies in php?
What is the use of Mbstring?
Why do we use namespace in php?
Is PHP an open source software?
How to read a file in binary mode?
What new features php7 has in store for us?
Explain how to execute a php script using command line.
Explain how can we increase the execution time of a php script?
How to copy a file?
How to close a session properly?
What is the difference between file_get_contents() and file_put_contents() in php?
Tell me is it possible to remove the html tags from data?
How do you call a constructor for a parent class?
Why namespace is used in php?