replyMy 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
The first index of the array is 0, and the second index is 1