I need to convert array of index array to single dimension array.
$a=[];
$a[0]=[1,2,3];
$a[1]=[4,5,6];
$a[2]=[7,8,9];
$a[3]=[1,4,7];
I need to merge these arrays as single array. Is there any built in function available for this? The expected output is
[1,2,3,4,5,6,7,8,9,1,4,7]
That output must be an single dimension index array