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 different between software and app

1235


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

533


Does php use html?

488


What is a variable cost example?

555


What are the options to transfer session ids?

599






What is Gd PHP?

594


What type of headers have to be added in the mail function to attach a file?

559


Tell us how to set cookies in php?

542


how to detect a mobile device using php

597


What does trim () do in javascript?

544


What is cakephp framework?

543


Explain what are the three classes of errors that can occur in php?

534


How to get the total number of values in an array?

529


List some sorting functions in php?

559


What is $$ in php?

546