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

Answer Posted / abhilash

if $message1 = "hello";
and $message = "message1";
den $$message = hello

Is This Answer Correct ?    6 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to count all the lines of code in a directory and sub folder?

512


How to find the index of an element in an array php?

523


Which of the data type is compound datatype supported by PHP?

547


What is a query in a database?

543


How to access standard error stream in PHP?

583






What are the different types of php variables?

539


Do you know what's the difference between __sleep and __wakeup?

530


Why die is used in php?

559


What are regular expressions in programming?

504


What is list function with their uses.

529


How to get no of arguments passed to a PHP Function?

496


Write a program to find a string is palindrome or not?

516


Can we extend multiple classes in php?

540


Which escape sequences can be used in single quoted strings in php?

526


What is singleton design pattern in php?

552