3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 '$result' (T_VARIABLE) in /in/3pdD3 on line 19
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[', expecting ')' in /in/3pdD3 on line 5
Process exited with code 255.