3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr1 = array(1, 2, 3, 4); $arr2 = array("a" => array(1, 2, 3)); $arr3 = array(); print_r(array_merge_recursive($arr3, $arr1, $arr2, $arr5));
Output for 5.6.30
Notice: Undefined variable: arr5 in /in/Vu0As on line 7 Warning: array_merge_recursive(): Argument #4 is not an array in /in/Vu0As on line 7