set_exception_handlerSets a user-defined exception handler function Description
callable set_exception_handler
( callable
$exception_handler
)
Sets the default exception handler if an exception is not caught within a
try/catch block. Execution will stop after the
Parameters
Return Values
Returns the name of the previously defined exception handler, or Changelog
Examples
Example #1 set_exception_handler example
<?php See Also
|