Created
March 23, 2018 10:01
-
-
Save lloc/2cb1938febacc88981e5d9b6a4c70113 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 | |
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