3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array("orange", "apple", "grape"); $array2 = array("peach", "orange", "plumb"); $array3 = array("lemon", 342); $newArray = array_merge($array1, $array2, $array3); foreach ($newArray as $key => $value) { echo "$key - <strong>$value</strong> <br />"; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
0 - <strong>orange</strong> <br />1 - <strong>apple</strong> <br />2 - <strong>grape</strong> <br />3 - <strong>peach</strong> <br />4 - <strong>orange</strong> <br />5 - <strong>plumb</strong> <br />6 - <strong>lemon</strong> <br />7 - <strong>342</strong> <br />

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