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
What is rtrim php?
How to get number of days between two given dates using PHP?
Tell me will a comparison of an integer 12 and a string "13" work in php?
When to use get and post request?
How to read the entire file into a single string?
How to assigning a new character in a string using php?
Tell me how a constant is defined in a php script?
Where is the functions php in wordpress?
What the limitation of header() function in php?
Why should I learn php?
What does the initials of php stand for?
What is $_ files in php?
Is php secure?
Tell me is it possible to submit a form with a dedicated button?
What is difference between count or sizeof function in php?