What is the difference between $message and $$message ?
Answer Posted / vikram
$message="hello";
$hello="world";
echo $$message;
// will print "world"..this concept is called "variable of
variables"...
Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
How to convert a string to uppercase in php?
What is the use of preg_match in php?
What are the features of php?
What is difference between session and cookie in PHP?
The left association operator % is used in PHP for?
What is the main function of php?
What are include() and require() functions?
What does php do?
When a conditional statement is ended with an endif?
What is difference between echo and print in php?
How the values are ordered in an array?
Tell me what is use of in_array() function in php?
What are the benefits of composer?
Is variable name casesensitive in php?
Which software is best for php?