WHAT IS THE DIFFERENCE BETWEEN $NAME AND $$NAME?

James Smith

Total Post:79

Points:395
Posted by  James Smith
PHP 
PHP
 1240  View(s)
Ratings:
Rate this:
  1. James Smith

    Post:79

    Points:395
    What is the difference between $name and $$name?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!