My understanding: When the $key attribute is not set, it starts with array index 0 by default, and offset represents the array index; once $key is customized, the array index and offset are invalid, and the ordering is based on realistic concepts. Counting always starts from 1