3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ["a", "b", "c", "d", "e"]; var_export( array_merge( ...array_fill(0, 2, $x) ) );

preferences:
26.88 ms | 406 KiB | 5 Q