0
Can someone explain me again variable variable?
4 odpowiedzi
+ 1
you can specify one variables name using another
<?php
$a = 'hello';
$hello = "Hi!";
echo $a;
?>
0
<?php
$a = 'hello';
?>
A variable variable takes the value of a variable and treats that as the name of a variable. In the above example, hello, can be used as the name of a variable by using two dollar signs.
0
In php, variable is a container, example look at it as a bank vault where u store on keep cash. In the same way, u store in information in a container called variable
0
its simple that means ur assigning/calling same value through another one...