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



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

Answer / Sanjay Yadav

$message is a variable containing a string value, while $$message is an automatic variable that contains the current value of the variable named by the value of $message.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Explain the difference between static and dynamic websites?

1 Answers  


Write syntax to open a file in php?

1 Answers  


How can I make a script that can be bilingual (supports english, german)?

1 Answers  


What are the 5 types of variables?

1 Answers  


What does $_env means?

1 Answers  


how we can upload and view video files

2 Answers  


What is the difference between the functions unlink and unset?

8 Answers   Small Firm, TCS,


How to redirect a url from http to https in .htaccess?

1 Answers  


What is string function sql?

1 Answers  


What is an example of a variable?

1 Answers  


Can you use php and javascript together?

1 Answers  


What does session start do in php?

1 Answers  


Categories