3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(array(9,5,14) AS $key) $first[$key] = 1; foreach(array(8,15,23,12) AS $key) $second[$key] = 2; print_r($first); print_r($second);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [9] => 1 [5] => 1 [14] => 1 ) Array ( [8] => 2 [15] => 2 [23] => 2 [12] => 2 )

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:
43.68 ms | 401 KiB | 8 Q