3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr=array( 'key1'=>'value1', 'key2'=>'value2', 0=>array( 'sub1_key1'=>'sub1_value1', 'sub1_key2'=>'sub1_value2', ), 'key3'=>array( 'sub2_key1'=>'sub2_value1', 'sub2_key2'=>'sub2_value2', ), ); $result = call_user_func_array('array_merge', $arr); print_r($results)
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected end of file in /in/LGtC8 on line 17
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/LGtC8 on line 17
Process exited with code 255.