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 the different data types in javascript?

0 Answers  


What is regex in html?

0 Answers  


How can we get the browser properties using PHP?

4 Answers   Google, Pollux Softech,


Why do we use javascript in php?

0 Answers  


What is the difference between php and java?

0 Answers  






What is user defined function in php?

0 Answers  


What is the role of php?

0 Answers  


WWhat is the functionality of md5 function in PHP?

7 Answers   Tech Mahindra,


Functions in IMAP, POP3 AND LDAP?

1 Answers   Rushmore Consultancy,


What are the 3 types of sessions?

0 Answers  


how to convert PHP code in to java code

4 Answers  


coding for deleting items form data base on select

1 Answers  


Categories