Created
June 11, 2014 19:54
-
-
Save Zerquix18/1587f166f3179b683fd4 to your computer and use it in GitHub Desktop.
Playing with PHP syntax — This is me when I'm bored...
This file contains hidden or 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 | |
$lol = "lol"; | |
define("HAHA", $lol, 1); | |
class ja { | |
function jaja() { | |
return 'This will be the result'; | |
} | |
} | |
class nose { | |
function lol(){ | |
return array(0, new ja() ); | |
} | |
} | |
function lol() { | |
return array( new nose() ); | |
} | |
echo ${HaHa}()[0]->{${$lol}}()[1]->jaja(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment