For decades I have lain awake at night pondering this major conundrum.
Why do PDO::FETCH_BOTH and mysqli->fetch_array() exist? Surely one either wants an associative array or, occasionally, a numerically indexed array?
Further, given their uselessness, why the hell are they the default?
Can anyone enlighten me as to their raison d'ĂȘtre?