3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array( 0 => array ( 'id' => '3', 'notifications' => '1'), 1 => array ( 'id' => '4', 'notifications' => '1' ) ); $x = $arr[0]+$arr[1]; var_dump($x);
Output for 4.3.0 - 7.1.7
array(2) { ["id"]=> string(1) "3" ["notifications"]=> string(1) "1" }