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);
Output for git.master, git.master_jit, rfc.property-hooks
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;', ), ), )

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