3v4l.org

run code in 300+ PHP versions simultaneously
<?php function long_exception_handler($exception) { // for compatibility, call __toString echo $exception->__toString(); } set_exception_handler('long_exception_handler'); ?>

preferences:
34.08 ms | 402 KiB | 5 Q