3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?phpfunction handleError($errno, $errstr, $errfile, $errline, array $errcontext) { print_r(get_defined_vars()); exit; }set_error_handler('handleError');echo "yolololo";header("yolo:sup?");?>
based on FbQg4
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.34
Parse error: syntax error, unexpected 'handleError' (T_STRING) in /in/gsks4 on line 1
Process exited with code 255.
Output for 5.4.0 - 5.4.32
<?phpfunction handleError($errno, $errstr, $errfile, $errline, array $errcontext) { print_r(get_defined_vars()); exit; }set_error_handler('handleError');echo "yolololo";header("yolo:sup?");?>