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

What is isset php?

523


What are Routines?

1780


What is call by reference in php?

516


How long does a session last in php?

518


What does the initials of php stand for?

537






Write down the code for save an uploaded file in php.

533


Which function is used to read a file removing the html and php tags in it upwork?

495


What is an operator in php?

576


Why is php used?

568


Can we extend final class in php?

512


What should we do to be able to export data into an excel file?

517


Is laravel better than codeigniter?

553


Why php script is not running in browser?

567


Why php is also called as scripting language?

550


What is the function of mysql_real_escape_string in php?

483