3v4l.org

run code in 200+ 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 '[', expecting ')' in /in/5cWVm on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[', expecting ')' in /in/5cWVm on line 5
Process exited with code 255.