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

Do you know what is the function func_num_args() used for?

0 Answers  


What's the best method for sanitizing user input with php?

0 Answers  


Explain PHP looping?

0 Answers  


What is include in php?

0 Answers  


What is php session_start() and session_destroy() function?

0 Answers  






What is php array function?

0 Answers  


How do I open a file to write content to?

1 Answers   Rushmore Consultancy,


How does php and apache work?

0 Answers  


Is php class name case sensitive?

0 Answers  


How can cross site request forgery csrf be prevented?

0 Answers  


Explain what are the two main string operators?

0 Answers  


What is strcmp () in php?

0 Answers  


Categories