3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = Array ( [0] => Array ( [Price] => 1; ) [1] => Array ( [Size] => 7; ) [2] => Array ( [Type] => 2; ) ) $result = call_user_func_array('array_merge', $arr); print_r($result);
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected ';', expecting ')' in /in/bMt7j on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[', expecting ')' in /in/bMt7j on line 5
Process exited with code 255.

preferences:
192.98 ms | 1395 KiB | 63 Q