3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ 'wd[wd5][amount]' => 1.00, 'wd[wd5][address]' => '1BitcoinAddress', 'wd[wd5][currency]' => 'BTC', ], [ 'wd[wd7][amount]' => 1.00, 'wd[wd7][address]' => '1BitcoinAddress', 'wd[wd7][currency]' => 'BTC' ], ]; $result = []; foreach(new RecursiveIteratorIterator( new RecursiveArrayIterator($array) ) as $key => $value) { $result[$key] = $value; } print_r($result);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [wd[wd5][amount]] => 1 [wd[wd5][address]] => 1BitcoinAddress [wd[wd5][currency]] => BTC [wd[wd7][amount]] => 1 [wd[wd7][address]] => 1BitcoinAddress [wd[wd7][currency]] => BTC )

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