3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array ( 'a'=>array ( 'description' => 'Amul' ), 'b'=>array ( 'description' => 'Kesar' ), 'c'=>array ( 'description' => 'Flavour' ) ); $arr2 = array ( 'a'=>array ( 'amount' => 'A100' ), 'b'=>array ( 'amount' => 'K200' ), 'c'=>array ( 'amount' => 'F300' ) ); var_dump(array_merge_recursive($arr,$arr2));
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["a"]=> array(2) { ["description"]=> string(4) "Amul" ["amount"]=> string(4) "A100" } ["b"]=> array(2) { ["description"]=> string(5) "Kesar" ["amount"]=> string(4) "K200" } ["c"]=> array(2) { ["description"]=> string(7) "Flavour" ["amount"]=> string(4) "F300" } }

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