3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function($errno, $errstr, $errfile, $errline) { echo "caught"; return true; }); trigger_error('foo', E_USER_ERROR); echo "after";

preferences:
23.97 ms | 405 KiB | 5 Q