Run โฏ
Get your
own PHP
server
โฏ
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
<!DOCTYPE html> <html> <body> <?php // Two user-defined exception handler functions function myException1($exception) { echo "[" . __FUNCTION__ . "]" . $exception->getMessage(); } function myException2($exception) { echo "[" . __FUNCTION__ . "]" . $exception->getMessage(); } set_exception_handler("myException1"); set_exception_handler("myException2"); restore_exception_handler(); // Throw exception throw new Exception("This triggers the first exception handler..."); ?> </body> </html>