3v4l.org

run code in 300+ PHP versions simultaneously
<?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 MGCeT on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.19
Parse error: syntax error, unexpected '[', expecting ')' in MGCeT on line 5
Process exited with code 255.

preferences:
169.4 ms | 1386 KiB | 37 Q