3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(array_merge(array('string1'), 'string2'));
based on HFHQe
Output for 5.0.0 - 7.2.0
Warning: array_merge(): Argument #2 is not an array in /in/QFQj7 on line 3
Output for 4.3.0 - 4.4.9
Array ( [0] => string1 [1] => string2 )