Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
try {
// Something throws an Exception or Error.
} catch ( Throwable $t ) {
// will match only in PHP 7
} catch ( Exception $e ) {
// will be reached in PHP 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.