Source Code:
(back to article)
<?php $array1 = [1, 2]; $array2 = [3, 4]; $array = [...$array1, ...$array2]; var_dump($array); ?>
Result:
Report an issue