3v4l.org

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