Last active
January 25, 2019 19:11
-
-
Save Skeiceee/a9a7ab938e5924cfacdb3e017ee334a9 to your computer and use it in GitHub Desktop.
Best program of life
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$Bar = "a"; | |
$Foo = "Bar"; | |
$World = "Foo"; | |
$Hello = "World"; | |
$a = "Hello"; | |
echo $a; //Returns Hello | |
echo $$a; //Returns World | |
echo $$$a; //Returns Foo | |
echo $$$$a; //Returns Bar | |
echo $$$$$a; //Returns a | |
echo $$$$a; //Returns Bar | |
echo $$$a; //Returns Foo | |
echo $$a; //Returns World | |
echo $a; //Returns Hello | |
$b = 'Hello'; | |
$$b = 'World'; | |
$$$b = 'My'; | |
$$$$b = 'Friend'; | |
echo "${b} ${$b} ${${$b}} ${${${$b}}}"; //Returns Hello World My Friend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment