Created
February 2, 2015 22:36
-
-
Save acdameli/b63a09c34e0992d1177d to your computer and use it in GitHub Desktop.
This file contains 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 -r " | |
function doSomething() { | |
try { | |
return true; | |
} finally { | |
echo \"finally hit\n\"; | |
} | |
return false; | |
} | |
var_dump(doSomething()); | |
" | |
finally hit | |
bool(true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment