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?");
Output for 5.4.34
Parse error: syntax error, unexpected 'handleError' (T_STRING) in /in/FbQg4 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?");