3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [1, 3, 5]; $b = [2, 4, 6]; $ab = array_merge($a, $b); print_r($ab);

preferences:
49.05 ms | 402 KiB | 5 Q