3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_keys($_SERVER));
Output for git.master, git.master_jit, rfc.property-hooks
array(17) { [0]=> string(4) "TERM" [1]=> string(4) "PATH" [2]=> string(4) "LANG" [3]=> string(5) "SHELL" [4]=> string(4) "MAIL" [5]=> string(7) "LOGNAME" [6]=> string(4) "USER" [7]=> string(4) "HOME" [8]=> string(8) "PHP_SELF" [9]=> string(11) "SCRIPT_NAME" [10]=> string(15) "SCRIPT_FILENAME" [11]=> string(15) "PATH_TRANSLATED" [12]=> string(13) "DOCUMENT_ROOT" [13]=> string(18) "REQUEST_TIME_FLOAT" [14]=> string(12) "REQUEST_TIME" [15]=> string(4) "argv" [16]=> string(4) "argc" }

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:
37.14 ms | 402 KiB | 8 Q