3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * @link https://bugs.php.net/bug.php?id=62452 */ set_exception_handler(function($exception) { restore_exception_handler(); // boom echo "Exception handled, move along.\n"; }); throw new Exception; // fatal error: cannot destroy active lambda

preferences:
37.37 ms | 402 KiB | 5 Q