Home > DeveloperSection > Interviews > What is the difference between $name and $$name?

Posted on    May-17-2011 2:41 AM

 PHP PHP 
Ratings:
 1 Answer(s)
  751  View(s)
Rate this:

James Smith

Total Post:79

Points:395
Posted on    May-17-2011 12:00 AM

$name is variable where as $$name is reference variable
like $name=gim and $$name=singh so $jim value is smith.

Don't want to miss updates? Please click the below button!

Follow MindStick