Last active
August 29, 2015 14:16
-
-
Save LegendZhu/e2098142deda64c9fa60 to your computer and use it in GitHub Desktop.
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 | |
| // http://twitto.org/ | |
| require __DIR__.'/c.php'; | |
| if (!is_callable($c = @$_GET['c'] ?: function() { echo 'Woah!'; })) | |
| throw new Exception('Error'); | |
| $c(); | |
| ?> | |
| <?php | |
| // c.php | |
| function hello_world() | |
| { | |
| echo 'Hello World!'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment