3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ( 'Apr-2019' => array ( 0 => array ( 'DateUser' => 'Apr-2019', 'withdarw_amount' => 4.00 ), 1 => array ( 'current_deposit_amount' => 1.00, 'current_deposit_table_refer' => 0.00, 'current_deposit_user_refer' => 0.10, 'DateUser' => 'Apr-2019' ), ), 'Jun-2019' => array ( 0 => array ( 'DateUser' => 'Jun-2019', 'withdarw_amount' => 334.00 ), ) ); foreach ($array as &$arr) { $arr = array_merge(...$arr); } print_r($array);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [Apr-2019] => Array ( [DateUser] => Apr-2019 [withdarw_amount] => 4 [current_deposit_amount] => 1 [current_deposit_table_refer] => 0 [current_deposit_user_refer] => 0.1 ) [Jun-2019] => Array ( [DateUser] => Jun-2019 [withdarw_amount] => 334 ) )

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:
132.39 ms | 406 KiB | 5 Q