3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( 0 => array( 0 => 'My Property', 1 => array( 0 => 'Tiles Market', 1 => 'My Floor' ) ) ); $result = call_user_func_array('array_merge', $array); $result = call_user_func_array('array_merge', $result); var_dump($result);
Output for 5.0.0 - 7.1.0
Warning: array_merge(): Argument #1 is not an array in /in/ahWI1 on line 13 NULL
Output for 4.3.0 - 4.4.9
array(3) { [0]=> string(11) "My Property" [1]=> string(12) "Tiles Market" [2]=> string(8) "My Floor" }