3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a_base = [ 'wop' => [ 'tik' => [ 'a' => 190, 'b' => 323, 'c' => 342 ], 'tak' => [ 'a' => 142, 'b' => 654, 'c' => 785 ] ], 'wap' => [ 'top' => [ 'a' => 564, 'b' => 667, 'c' => 968 ], 'top' => [ 'a' => 603, 'b' => 694, 'c' => 102 ] ] ]; $a_addon = [ 'tok' => [ 'a' => 883, 'b' => 993, 'c' => 878 ] ]; $a_base['wop'] += $a_addon; var_export($a_base);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 'wop' => array ( 'tik' => array ( 'a' => 190, 'b' => 323, 'c' => 342, ), 'tak' => array ( 'a' => 142, 'b' => 654, 'c' => 785, ), 'tok' => array ( 'a' => 883, 'b' => 993, 'c' => 878, ), ), 'wap' => array ( 'top' => array ( 'a' => 603, 'b' => 694, 'c' => 102, ), ), )

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