3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = Array( Array ( 0 => 'Charcoal', 1 => 'Natural Gas', 2 => 'Combo' ), Array ( 0 => 'Charcoal', 1 => 'Propane', 2 => 'Combo' ), Array ( 0 => 'Charcoal', 1 => 'Propane', 2 => 'Natural Gas', 3 => 'Combo' ), Array ( 0 => 'Natural Gas', ), Array ( 0 => 'Natural Gas', 1 => 'Propane', ), Array ( 0 => 'Propane', ), Array ( 0 => '660 sq. inches' ), Array ( 0 => '740 sq. inches' ), Array ( 0 => '761 sq. inches' ), Array ( 0 => '788 sq. inches' ), Array ( 0 => '792 sq. inches' ) ); $result = call_user_func_array('array_merge', $data); var_dump($result);
Output for git.master, git.master_jit, rfc.property-hooks
array(19) { [0]=> string(8) "Charcoal" [1]=> string(11) "Natural Gas" [2]=> string(5) "Combo" [3]=> string(8) "Charcoal" [4]=> string(7) "Propane" [5]=> string(5) "Combo" [6]=> string(8) "Charcoal" [7]=> string(7) "Propane" [8]=> string(11) "Natural Gas" [9]=> string(5) "Combo" [10]=> string(11) "Natural Gas" [11]=> string(11) "Natural Gas" [12]=> string(7) "Propane" [13]=> string(7) "Propane" [14]=> string(14) "660 sq. inches" [15]=> string(14) "740 sq. inches" [16]=> string(14) "761 sq. inches" [17]=> string(14) "788 sq. inches" [18]=> string(14) "792 sq. inches" }

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