Created
March 10, 2016 09:19
-
-
Save mindplay-dk/2249af2617e2fe58d8a3 to your computer and use it in GitHub Desktop.
DAFUQ PHP?
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 kthxbai() { | |
| $result = "hey"; | |
| try { | |
| return $result; | |
| } finally { | |
| $result = "dafuq"; | |
| } | |
| } | |
| var_dump(kthxbai()); // => "dafuq" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment