What is the difference between $message and $$message?
Answer Posted / darshit
$Message = "YOU";
$you= "Me";
echo $message //Output:- you
echo $$message //output :-Me
It means
$message is a variable and
$$Message is variable of variable
A variable of variable allows us to change the name of
variable dinamically
| Is This Answer Correct ? | 73 Yes | 10 No |
Post New Answer View All Answers
Explain preg_Match and preg_replace?
What is difference between get and post?
What is the difference between php and cakephp?
What is the use of token in php?
What is php in simple words?
Differences between get, post and request methods ?
How can we upload a file in php?
What sized websites have you worked on in the past?
How to convert strings to upper or lower cases?
What is traits? How it is used in php?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
What are the three parts of an http request?
Do you have to initialize variables in php?
How to select a database in php?
Explain me what are the main error types in php and how do they differ?