I need to restructuring my array so that the 2nd level keys are used as first level keys for grouping and the respective values should be pushed into the group's subarray as indexed elements.
This is my array:
[username] => Array
(
[3805120] => 5
[3805121] => 7
)
[login] => Array
(
[3805120] => 9
[3805121] => 11
)
I need something like this:
[3805120] => Array
(
[0] => 5
[1] => 9
)
[3805121] => Array
(
[0] => 7
[1] => 11
)