I have the following two arrays. I need a way in PHP to combine them together so that the values at index[i] from both arrays are added to the same index in the final array.
Array 1
[0] => '123456'
[1] => '654123'
[2] => '987456'
[3] => '489522'
[4] => '014779'
Array 2
[0] => 'feature'
[1] => 'promo'
[2] => 'other'
[3] => 'start'
[4] => 'end'
Final Array I need
[0] => ['123456', 'feature']
[1] => ['654123', 'promo']
[2] => ['987456', 'other']
[3] => ['489522', 'start']
[4] => ['014779', 'end']