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 - 5.6.28, 7.0.0 - 7.1.0
Warning: array_merge(): Argument #1 is not an array in /in/PVPNt on line 13 NULL
Output for hhvm-3.12.0
Warning: array_merge() expects parameter 1 to be array, string given in /in/PVPNt on line 13 NULL
Output for hhvm-3.10.0

Process exited with code 153.
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" }