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 ? | 72 Yes | 10 No |
Post New Answer View All Answers
Tell us how to set cookies in php?
How to include a file code in different files in php?
What are variables in research examples?
So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
Explain what is the difference between session and cookie?
Explain why would we use === instead of ==?
What is session management php?
What is php date function?
What is difference between md5 and SHA256?
Is not null in php?
What is difference between post and put in rest?
What happens when submit button is clicked?
Tell me what are the encryption techniques in php?
Tell me what is the default session time in php?
Which is best framework for php?