3v4l.org

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