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

Answer Posted / mohit

$message is a variable and $$message is a refrence variable
that have the refrence of $message.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

554


Explain the advantages of using PHP?

552


Explain how can we increase the execution time of a php script?

504


What is escape data in php?

527


How we can declare variable in php?

511






What is $$ in php?

532


What is php.ini & .htacess file?

527


What is the use of super-global arrays in php?

505


How to read and display a HTML source from the website url?

557


What are the advantages of stored procedures, triggers, indexes in php?

502


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

549


Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?

550


What is the difference between explode() and split() functions?

498


Is php faster than nodejs?

491


What is the difference between abstract class and interface in php?

523