3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler("err"); function err($no, $str, $line, $file, $ctx) { var_dump($ctx); } function from() { trigger_error("", E_USER_NOTICE); }

preferences:
57.9 ms | 402 KiB | 5 Q