3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a1 = ['a', 'b']; $a1 += ['b', 'c']; var_dump($a1);
based on VuNrH
Output for 5.6.38 - 7.3.0rc3
array(2) { [0]=> string(1) "a" [1]=> string(1) "b" }