I have this array
[20_fill_1] => Array
(
[autoTuned] => Array
(
[0] => fill-0*6.35*6.6*legitPhraseWith*VMWshkqbhfA*fill_3.mp4
)
[fill] => Array
(
[0] => fill-0*6.35*6.6*subwordPhraseWith*VMWshkqbhfA*fill_4.mp4
)
[1] => fill-0*6.35*6.6*legitPhraseWith*VMWshkqbhfA*fill_3.mp4
[ill] => Array
(
[oil] => Array
(
[0] => oil-0*6.8*7.05*similarSubwordPhraseWith*HZNbg-1bz1c*oil_4.mp4
)
)
)
The reason there is no [0] is because I just unset it. Now I want that [1] to become the new [0], and if there were more numeric keys, i'd want them to also change so the numeric keys are in order. However, I need to keep the string keys.
Edit:this was the array before I removed the zeroth element:
[20_fill_1] => Array
(
[0] => added#fill-0*6.35*6.6*subwordPhraseWith*VMWshkqbhfA*fill_4.mp4
[autoTuned] => Array
(
[0] => fill-0*6.35*6.6*legitPhraseWith*VMWshkqbhfA*fill_3.mp4
)
[fill] => Array
(
[0] => fill-0*6.35*6.6*subwordPhraseWith*VMWshkqbhfA*fill_4.mp4
)
[1] => fill-0*6.35*6.6*legitPhraseWith*VMWshkqbhfA*fill_3.mp4
[ill] => Array
(
[oil] => Array
(
[0] => oil-0*6.8*7.05*similarSubwordPhraseWith*HZNbg-1bz1c*oil_4.mp4
)
)
)