Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

exceptions on fatals(2)

try {
    call_method(null);
} catch (Error $e) {
    echo "Caught Exception: {$e->getMessage()}
";
}
Source by talks.php.net #
 
PREVIOUS NEXT
Tagged: #exceptions
ADD COMMENT
Topic
Name
9+4 =