3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('a0','a1','a2'); $b = array('b0','b1','b2'); var_dump($a + $b); var_dump(array_merge($a, $b));
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> string(2) "a0" [1]=> string(2) "a1" [2]=> string(2) "a2" } array(6) { [0]=> string(2) "a0" [1]=> string(2) "a1" [2]=> string(2) "a2" [3]=> string(2) "b0" [4]=> string(2) "b1" [5]=> string(2) "b2" }

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