Created
March 19, 2013 11:16
-
-
Save lisachenko/5195330 to your computer and use it in GitHub Desktop.
Check your PHP knowledge #1
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 | |
function hello() { | |
echo 'Hello, magic PHP!'; | |
} | |
function getCallback() { | |
return 'hello'; | |
} | |
$result = ${'_'.!$_=getCallback()}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it is easy 😄