3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ignore = array('GLOBALS', '_FILES', '_COOKIE', '_POST', '_GET', '_SERVER', '_ENV', 'ignore'); var_dump($ignore); $i2=array_flip($ignore); var_dump($i2);
Output for git.master, git.master_jit, rfc.property-hooks
array(8) { [0]=> string(7) "GLOBALS" [1]=> string(6) "_FILES" [2]=> string(7) "_COOKIE" [3]=> string(5) "_POST" [4]=> string(4) "_GET" [5]=> string(7) "_SERVER" [6]=> string(4) "_ENV" [7]=> string(6) "ignore" } array(8) { ["GLOBALS"]=> int(0) ["_FILES"]=> int(1) ["_COOKIE"]=> int(2) ["_POST"]=> int(3) ["_GET"]=> int(4) ["_SERVER"]=> int(5) ["_ENV"]=> int(6) ["ignore"]=> int(7) }

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