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:
39.42 ms | 408 KiB | 5 Q