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); echo var_export(array_merge($results[0], $results[1]), true);
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:
41.14 ms | 402 KiB | 8 Q