3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = array ( 0 => array ( 0 => array ( 0 => '0', 1 => '1', ), 1 => array ( 0 => '0', 1 => '1', ), 2 => array ( 0 => '0', 1 => '1', ), 3 => array ( 0 => '0', 1 => '1', ), 4 => array ( 0 => '0', 1 => '1', ), ), 1 => array ( 0 => array ( 0 => '2', 1 => '&nbsp;', ), 1 => array ( 0 => '2', 1 => '&nbsp;', ), 2 => array ( 0 => '2', 1 => '&nbsp;', ), 3 => array ( 0 => '2', 1 => '&nbsp;', ), 4 => array ( 0 => '2', 1 => '&nbsp;', ), ), ); $test = call_user_func_array('array_merge', $test); var_export($test);
Output for 4.3.0 - 7.2.0
array ( 0 => array ( 0 => '0', 1 => '1', ), 1 => array ( 0 => '0', 1 => '1', ), 2 => array ( 0 => '0', 1 => '1', ), 3 => array ( 0 => '0', 1 => '1', ), 4 => array ( 0 => '0', 1 => '1', ), 5 => array ( 0 => '2', 1 => '&nbsp;', ), 6 => array ( 0 => '2', 1 => '&nbsp;', ), 7 => array ( 0 => '2', 1 => '&nbsp;', ), 8 => array ( 0 => '2', 1 => '&nbsp;', ), 9 => array ( 0 => '2', 1 => '&nbsp;', ), )