📅  最后修改于: 2022-03-11 14:58:30.048000             🧑  作者: Mango
Although it states clearly that array keys are preserved, it's important to note this includes numerically indexed arrays. You can't use a for loop on $array above without processing it through array_values() first.