3v4l.org

run code in 300+ PHP versions simultaneously
<?php $one=['A','B','C']; $two=['D','E']; var_dump($one+$two); echo '---------------------'; var_dump($two+$one); echo '---------------------'; var_dump(array_merge($one,$two)); echo '---------------------'; var_dump(array_merge($two,$one));

preferences:
27.94 ms | 402 KiB | 5 Q