3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = [1, 2, 3]; $b = null; var_dump(array_merge($a, $b));
Output for rfc.property-hooks, git.master, git.master_jit
Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /in/N3hms:6 Stack trace: #0 /in/N3hms(6): array_merge(Array, NULL) #1 {main} thrown in /in/N3hms on line 6
Process exited with code 255.

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:
131.27 ms | 1442 KiB | 4 Q