3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f() { $foo = null; $foo->foo(); } function f1() { f(); } set_error_handler(function() { var_dump(func_get_args());}, 0xffffffff); register_shutdown_function(function() { var_dump(error_get_last()); }); f1();

preferences:
59.1 ms | 402 KiB | 5 Q