3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = Array(0 => 1); $input = Array(0 => 2); $result = call_user_func_array("array_merge", $input); var_export($result);
Output for 5.0.0 - 7.2.0
Warning: array_merge(): Argument #1 is not an array in /in/Acj2a on line 5 NULL
Output for 4.3.0 - 4.4.9
array ( 0 => 2, )