what is the difference between $a and $aa?

$a=’hello’;
$$a = ‘php’;
$$$a=’world’;
echo “$a ${$a} ${${$a}}”;

Output : ==>hello php world

 

More Information : http://www.php.net/manual/en/language.variables.variable.php


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *