3v4l.org

run code in 300+ PHP versions simultaneously
<?php $results = array( array( array('foo1'), array('foo2'), ), array( array('bar1'), array('bar2'), ), ); $rows = call_user_func_array('array_merge', $results); print_r($rows); print_r(array_merge($results[0], $results[1]));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => foo1 ) [1] => Array ( [0] => foo2 ) [2] => Array ( [0] => bar1 ) [3] => Array ( [0] => bar2 ) ) Array ( [0] => Array ( [0] => foo1 ) [1] => Array ( [0] => foo2 ) [2] => Array ( [0] => bar1 ) [3] => Array ( [0] => bar2 ) )

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.9 ms | 402 KiB | 8 Q