0
Difference between $name and $name
difference between $name and $name?
3 Answers
+ 3
its simple....
$name= "hi";
$hi="hey";
echo $name;
using of double "$"
$name it goes to $hi (output hey) đ
+ 1
we use $ $twice for variable variable within variable means which its value is declared as other variable.
like $a=5
$b=$a
there is difference when it is compiled
0
it's nothing but referring value of the another variable