3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(1, 3, 5); $b = array(2, 4, 6); $b += $a; var_dump($b);
based on 1g3uj
Output for 4.3.0 - 7.2.0
array(3) { [0]=> int(2) [1]=> int(4) [2]=> int(6) }