3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = Array( Array ( 0 => 1 , 1 => Coffee, 2 => Dancing, ), Array ( 0 => 2 ) ); $result = call_user_func_array("array_merge", $input); var_export($result);
Output for 4.3.0 - 7.1.0
Notice: Use of undefined constant Coffee - assumed 'Coffee' in /in/QcNt3 on line 5 Notice: Use of undefined constant Dancing - assumed 'Dancing' in /in/QcNt3 on line 5 array ( 0 => 1, 1 => 'Coffee', 2 => 'Dancing', 3 => 2, )