3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1=array( array("key1"=>"value1","key2"=>"value2","key3"=>"value3") ); $array2=array("key4"=>"value4","key5"=>"value5","key6"=>"value6"); $array3=array(array_merge($array1[0],$array2)); var_dump($array3);
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { [0]=> array(6) { ["key1"]=> string(6) "value1" ["key2"]=> string(6) "value2" ["key3"]=> string(6) "value3" ["key4"]=> string(6) "value4" ["key5"]=> string(6) "value5" ["key6"]=> string(6) "value6" } }

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