3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(array_merge(1, array(1,2,3)));
Output for 5.0.0 - 7.1.0
Warning: array_merge(): Argument #1 is not an array in /in/ZBuSl on line 4 NULL
Output for 4.3.0 - 4.4.9
array(4) { [0]=> int(1) [1]=> int(1) [2]=> int(2) [3]=> int(3) }