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']]; $t2 += $t; var_dump($t2);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [123123]=> array(3) { [0]=> int(15) [1]=> string(4) "1wda" [2]=> string(4) "s32d" } [321]=> array(2) { [0]=> string(2) "12" [1]=> string(2) "ds" } [1234]=> array(3) { [0]=> int(5) [1]=> string(3) "wda" [2]=> string(2) "sd" } }

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.08 ms | 401 KiB | 8 Q