What is the difference between $message and $$message?

Answer Posted / umesh ms analytica-india

$message = "ume";

$ume = "All Interview dot com";


echo $message; // Output: ume

echo $$message; // Output: All Interview dot com

Is This Answer Correct ?    98 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is null in php?

530


How can I make a script that can be bilingual (supports english, german)?

586


Xplain is it possible to use com component in php?

532


What is the best php version for wordpress?

525


What is return value in php?

514






What is cookie?

532


What are some of the advanced features of php?

502


How do I use isdigit function?

560


What is meant by urlencode and urldecode?

604


What is array function in javascript?

509


What is php string function?

534


What is php7?

624


Tell me what is mean by an associative array?

521


How do you remove duplicates from an array?

657


How many data types are used by php?

509