I am trying to build a dataset to use within a chart. My brain for some reason doesn't seem to be connecting the dots tonight on how to achieve what I want. I am looking to combine 3 or more array keys into one array.

Example.

Array1
(
[0] => 3
[1] => 8
[2] => 2
)

Array2
(
[0] => 4
[1] => 8
[2] => 1
[3] => 2
[4] => 5
)

Array3
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
)

Now both the array size and array quantities are a variable. I may have 40 arrays to combine or just 3 like this example.