3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = Array( Array ( 0 => 'iPhone' ), Array ( 0 => 'iOS' ), Array ( 0 => 'Safari' ) ); $r = array_merge(...$a); print_r($r); echo '----- Using call_user_func_array ----- '; $flat = call_user_func_array('array_merge', array($a)); print_r($r);
Output for git.master_jit, git.master, rfc.property-hooks
Array ( [0] => iPhone [1] => iOS [2] => Safari ) ----- Using call_user_func_array ----- Array ( [0] => iPhone [1] => iOS [2] => Safari )

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:
28.64 ms | 405 KiB | 5 Q