3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function myExceptionHandler (Exception $ex) { throw $ex; } set_exception_handler("myExceptionHandler"); throw new Exception("This should cause a fatal error and this message will be lost");