3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( 0 => array ( 'id' => '3', 'notifications' => '1'), 1 => array ( 'id' => '4', 'notifications' => '1' ) ); $x = array_unique(call_user_func_array('array_merge', $arr)); var_dump($x); $x = $arr[0]+$arr[1]; var_dump($x)
Output for 5.4.0 - 5.5.4
Parse error: syntax error, unexpected end of file in /in/IhjvI on line 17
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end in /in/IhjvI on line 17
Process exited with code 255.