+ 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 odpowiedzi
+ 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