Question: are php arrays zero based?
Answer: Indexed arrays have numeric indices. Typically the indices in an indexed array start from zero, so the first element has an index of 0 , the second has an index of 1 , and so on. ...  A ssociative arrays have string indices.