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) ) );

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
165.06 ms | 1738 KiB | 11 Q