Combineer 1 of meerdere arrays.

functie

{{$combined = array_merge($array1, $array2, ....)}}


Voorbeelden

Voorbeelden

{{$array1 = ["groen", "rood", "blauw"]}}
{{$array2 = ["oranje", "wit", "paars"]}}
{{$combined = array_merge($array1, $array2)}}

{{$combined|print_r}}

Uitkomst:

Array ( [0] => groen [1] => rood [2] => blauw [3] => oranje [4] => wit [5] => paars )