How can I transform the first array of a multidimensional array into a key? for example this would be my multidimensional array
array (size=5)
0 => string 'Nome' (length=4)
1 => string 'd_r_A' (length=5)
2 => string 'numero' (length=6)
3 => string 'numerodv' (length=8)
4 => string 'codtcart' (length=8)
array (size=5)
0 => string 'Guilherme' (length=9)
1 => string '32132' (length=5)
2 => string '123456' (length=6)
3 => string '987654321' (length=8)
4 => string '987654321' (length=8)
array (size=5)
0 => string 'Paulo' (length=9)
1 => string '32132' (length=5)
2 => string '123456' (length=6)
3 => string '987654321' (length=8)
4 => string '987654321' (length=8)
I would like an array like this
array (size=5)
'Nome' => string 'Guilherme' (length=9)
'd_r_A' => string '32132' (length=5)
'numero' => string '123456' (length=6)
'numerodv' => string '987654321' (length=8)
'codtcart' => string '987654321' (length=8)
array (size=5)
'Nome' => string 'Paulo' (length=9)
'd_r_A' => string '32132' (length=5)
'numero' => string '123456' (length=6)
'numerodv' => string '987654321' (length=8)
'codtcart' => string '987654321' (length=8)