0

Difference between $name and $name

difference between $name and $name?

15th Nov 2016, 5:15 PM
mansi kotadiya
3 Respostas
+ 3
its simple.... $name= "hi"; $hi="hey"; echo $name; using of double "$" $name it goes to $hi (output hey) 😉
15th Nov 2016, 5:21 PM
NabiL
NabiL - avatar
+ 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
15th Nov 2016, 7:12 PM
Sandeep Chatterjee
0
it's nothing but referring value of the another variable
21st Nov 2016, 12:48 PM
Nagaraj Kannan
Nagaraj Kannan - avatar