How to Remove Array Element and Then Re-Index Array? October 10, 2022 by Tarik unset($foo[0]); // remove item at index 0 $foo2 = array_values($foo); // 'reindex' array