3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 0 => array ( 'id' => '3', 'notifications' => '1'), 1 => array ( 'id' => '4', 'notifications' => '1' ) ); $x = array_merge($arr[0],$arr[1]); var_dump($x);

preferences:
36.5 ms | 402 KiB | 5 Q