+ 2
PHP variable example start with $ but could anyone explain what's mean by $ double dollar sing ??sorry for RIP english đ
double dollar sing..!!
2 Answers
+ 8
for example
<?php
$yay = 'wow';
$wow = "awesome";
echo $yay;
?>
the output will be awesome ..... when you echo $yay it'll use 'wow' as the next dollar sign variable name which is 'yay' variable value and because you have a variable named 'wow' , 'awesome' will be printed.......
hope you understand what I'm saying....đ
+ 1
thnx guys