I have the data in the array form as:
0 => a,
1 => b,
2 => c,
3 => d,
4 => e,
5 => f,
6 => g
How can I convert these array into the following one?
0 => array(0 => a, 1 => b),
1 => array(0 => c, 1 => d),
2 => array(0 => e, 1 => f),
3 => array(0 => g, 1 => null)