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
Which function(s) in PHP computes the difference of arrays?
Tell me which programming language does php resemble to?
Is php free to use?
What is escaping to php?
What is the current php version?
Is php 7.0 stable?
What is the best php framework 2018?
What are the method available in form submitting?
What is empty () in php?
Which function is used to strip whitespace?
What is the use of header() function in PHP? What the Limitation of HEADER()?
What is meant by pear in php? What is the purpose of it?
Can we use include ("xyz.php") two times in a php page "index.php"?
Why many companies are switching their current business language to php? Where php basically used?
How many types of array are there in php?