3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tmp = array('kjh','kjh'); print_r(array_merge('lkjl', $tmp));
Output for 5.0.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: array_merge(): Argument #1 is not an array in /in/eNrom on line 3
Output for hhvm-3.10.0 - 3.13.2
Warning: array_merge() expects parameter 1 to be array, string given in /in/eNrom on line 3
Output for 4.3.0 - 4.4.9
Array ( [0] => lkjl [1] => kjh [2] => kjh )