Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

throwable php

try {
// Code that may throw an Exception or Error.
} catch (Throwable $t) {
// Executed only in PHP 7, will not match in PHP 5.x
} catch (Exception $e) {
// Executed only in PHP 5.x, will not be reached in PHP 7
}
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #throwable #php
ADD COMMENT
Topic
Name
1+7 =