3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $r = array('a' => 1, 'b' => 1); $r += array('b' => 2, 'c' => 2); var_dump($r);
Output for 4.3.0 - 7.1.0
array(3) { ["a"]=> int(1) ["b"]=> int(1) ["c"]=> int(2) }