3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a1 = array( 'apple'=>1,'banana'=>2,'coconut'=> 3); $a2 = array( 'apple'=>2,'banana'=>3,'coconut'=> 4); echo "<pre>"; print_r(array_merge_recursive($a1,$a2)); echo "</pre>";
Output for git.master, git.master_jit, rfc.property-hooks
<pre>Array ( [apple] => Array ( [0] => 1 [1] => 2 ) [banana] => Array ( [0] => 2 [1] => 3 ) [coconut] => Array ( [0] => 3 [1] => 4 ) ) </pre>

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