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:
111.34 ms | 1600 KiB | 5 Q