3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ar1 = array('q' => 1, 'w' => 2); $ar2 = array('q' => 3, 'e' => 4); $ar2 += $ar1; var_dump($ar2);
Output for 4.3.0 - 7.2.0
array(3) { ["q"]=> int(3) ["e"]=> int(4) ["w"]=> int(2) }