Restore the previous exception handler with restore_exception_handler() function in PHP
Description
The following code shows how to restore the previous exception handler with restore_exception_handler() function.
Example
/*w w w. j av a 2s. co m*/
<?php
restore_exception_handler();
throw new Exception('Uncaught Exception occured');
?>