3v4l.org

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