3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php set_error_handler(function () { echo "in"; throw new \Error('d'); }); set_exception_handler(function ($e) { echo get_class($e); }); fufu;
based on lknol
Output for 7.0.28 - 7.3.0rc3
inError
Output for 5.6.38
in Fatal error: Class 'Error' not found in /in/cgGcW on line 5
Process exited with code 255.