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 /in/4g1nt on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.19
Parse error: syntax error, unexpected '[', expecting ')' in /in/4g1nt on line 5
Process exited with code 255.

preferences:
168.75 ms | 1395 KiB | 37 Q