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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

429


How do I find out the number of parameters passed into function9?

550


How to check your php installation?

514


Explain the difference b/w static and dynamic websites?

499


Is php faster than javascript?

519






Is runtime polymorphism overriding?

498


Is php still relevant 2019?

543


Is ruby on rails php?

508


What is the difference between single quoted string and double quoted string?

527


Tell me what does $_env means?

536


What is sql injection in php?

535


What type of comments are supported by PHP.

564


What are the advantages of indexes?

510


Explain the difference between $var and $$var?

539


What is Type hinting in PHP?

720