3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "lorem Ipsum dolor sit Amet"; $array1=array("abc","def"); $array2=array("ghi","jkl"); $a1=array("red","green"); $a2=array("blue","yellow"); print_r(array_merge($a1,$a2)); $array3=array_merge($array1,$array2); echo $array3; ?>
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
lorem Ipsum dolor sit AmetArray ( [0] => red [1] => green [2] => blue [3] => yellow ) Notice: Array to string conversion in /in/cAA4W on line 9 Array