3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function long_exception_handler($exception) { // for compatibility, call __toString echo $exception->__toString(); } set_exception_handler('long_exception_handler'); ?>
Output for 5.2.15 - 7.2.0