3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = ['1234' => [5, 'wda', 'sd'], '321' => ['5sd', 'awdaw', '1sd3']]; $t2 = ['123123' => [15, '1wda', 's32d'], '321' => ['12', 'ds']]; $tt = $t + $t2; var_dump($tt);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [1234]=> array(3) { [0]=> int(5) [1]=> string(3) "wda" [2]=> string(2) "sd" } [321]=> array(3) { [0]=> string(3) "5sd" [1]=> string(5) "awdaw" [2]=> string(4) "1sd3" } [123123]=> array(3) { [0]=> int(15) [1]=> string(4) "1wda" [2]=> string(4) "s32d" } }

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