3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = array( Array ( [0] => 1 ) Array ( [0] => 2 ) ); $result = call_user_func_array("array_merge", $input); var_export($result);
Output for 5.4.0 - 5.4.9
Parse error: syntax error, unexpected 'Array' (T_ARRAY), expecting ')' in /in/JKv67 on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.19
Parse error: syntax error, unexpected '[', expecting ')' in /in/JKv67 on line 5
Process exited with code 255.