3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array ( 0 => array ( 0 => array ( 'name' => '0', 'address' => '0', 'gender' => '0', 'men' => '0', 'skill' => '0', ), 1 => array ( 'name' => '1', 'address' => '1', 'gender' => '1', 'men' => '1', 'skill' => '1', ), ), 1 => array ( 0 => array ( 'name' => '2', 'address' => '2', 'gender' => '2', 'men' => '2', 'skill' => '2', ), 1 => array ( 0 => '&nbsp;', 1 => '&nbsp;', 2 => '&nbsp;', 3 => '&nbsp;', 4 => '&nbsp;', ), ), ); $test = array_map( // ⑥ function ($group) { return call_user_func_array( 'array_map', array_merge(array(null), $group) ); },$test); var_export($test);

preferences:
32 ms | 402 KiB | 5 Q