3v4l.org

run code in 300+ PHP versions simultaneously
<?php /*E_ERROR E_PARSE E_CORE_ERROR E_CORE_WARNING E_COMPILE_ERROR E_COMPILE_WARNING*/ function exception_error_handler($errno, $errstr, $errfile, $errline) { var_dump($errstr); } set_error_handler("exception_error_handler", error_reporting()); user_error('aaaaaaa');

preferences:
36.98 ms | 402 KiB | 5 Q