3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SERVER = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55]; function miauw() { var_dump($_SERVER, $GLOBALS); } miauw();
Output for git.master, git.master_jit, rfc.property-hooks
array(10) { [0]=> int(1) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(5) [5]=> int(8) [6]=> int(13) [7]=> int(21) [8]=> int(34) [9]=> int(55) } array(7) { ["_GET"]=> array(0) { } ["_POST"]=> array(0) { } ["_COOKIE"]=> array(0) { } ["_FILES"]=> array(0) { } ["argv"]=> array(1) { [0]=> string(9) "/in/rSgsD" } ["argc"]=> int(1) ["_SERVER"]=> array(10) { [0]=> int(1) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(5) [5]=> int(8) [6]=> int(13) [7]=> int(21) [8]=> int(34) [9]=> int(55) } }

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:
47.8 ms | 403 KiB | 8 Q