3v4l.org

run code in 300+ PHP versions simultaneously
<?php function handleError($errno, $errstr, $errfile, $errline, array $errcontext) { print_r(get_defined_vars()); exit; }set_error_handler('handleError');echo "yolololo";header("yolo:sup?");?>
Output for git.master, git.master_jit, rfc.property-hooks
yolololo Fatal error: Uncaught ArgumentCountError: Too few arguments to function handleError(), 4 passed and exactly 5 expected in /in/tO2ZX:1 Stack trace: #0 [internal function]: handleError(2, 'Cannot modify h...', '/in/tO2ZX', 1) #1 /in/tO2ZX(1): header('yolo:sup?') #2 {main} thrown in /in/tO2ZX on line 1
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
34.73 ms | 401 KiB | 8 Q