A variable variable takes the value of a variable and treats that as the name of a variable
The above may be little bit confusing
See the example
//declare a variable
$a='allphpinterviewquestions';
variable of variable means
$$a = 'test';
now $allphpinterviewquestions value is test
No comments:
Post a Comment