3v4l.org

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

preferences:
86.32 ms | 1576 KiB | 5 Q