3v4l.org

run code in 300+ PHP versions simultaneously
<?php $map = ['position_id'=>[ 'Regular Hours' => [ ['name'=>'Regular Hours', 'hours'=>'40.000','job_id'=>'1'], ], 'Overtime' => [ ['name'=>'Regular Hours', 'hours'=>'40.000','job_id'=>'1'], ], 'Double Overtime' => [ ['name'=>'Regular Hours', 'hours'=>'40.000','job_id'=>'1'], ], ]]; $map = array_map('array_values', $map); $map = array_merge($map); print_r($map);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [position_id] => Array ( [0] => Array ( [0] => Array ( [name] => Regular Hours [hours] => 40.000 [job_id] => 1 ) ) [1] => Array ( [0] => Array ( [name] => Regular Hours [hours] => 40.000 [job_id] => 1 ) ) [2] => Array ( [0] => Array ( [name] => Regular Hours [hours] => 40.000 [job_id] => 1 ) ) ) )

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:
57.95 ms | 403 KiB | 8 Q