Skip to content

Instantly share code, notes, and snippets.

@lisachenko
Created March 19, 2013 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lisachenko/5195330 to your computer and use it in GitHub Desktop.
Save lisachenko/5195330 to your computer and use it in GitHub Desktop.
Check your PHP knowledge #1
<?php
function hello() {
echo 'Hello, magic PHP!';
}
function getCallback() {
return 'hello';
}
$result = ${'_'.!$_=getCallback()}();
@jekill
Copy link

jekill commented Nov 28, 2014

it is easy 😄

@lisachenko
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment