3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump([1,2] + [3]); var_dump([1] + [2,3]);
Output for 5.6.0 - 7.3.0alpha1
array(2) { [0]=> int(1) [1]=> int(2) } array(2) { [0]=> int(1) [1]=> int(3) }