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

Answers were Sorted based on User's Feedback



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

Answer / sachin g kulkarni

$message is normal variable , where as $$message is
variable variable...That means you can access the value of
one variable with the name of the other variable......Hey
don't confuse this is not pointer of C. Pointer concept is
totally different from this

Is This Answer Correct ?    17 Yes 1 No

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

Answer / shekar

$message is normal variable , where as $$message is
variable variable

Is This Answer Correct ?    18 Yes 3 No

Post New Answer

More PHP Interview Questions

what are interfaces and Abstart classes

0 Answers   Net Solution,


how to use http headers inside php? Write the statement through which it can be added?

0 Answers  


What is the difference between rest and soap?

0 Answers  


How can I prevent sql-injection in php?

0 Answers  


What are the advantages of using php?

0 Answers  






What library is used for pdf in php?

0 Answers  


How can we display the output directly to the browser?

0 Answers  


What are the ways we can destroy a session variable ?

3 Answers  


What type of comments are supported by PHP.

0 Answers  


What is a PHP accelerator?

0 Answers  


Why using the htaccess file

2 Answers  


What is the ioncube php loader?

0 Answers  


Categories