Introduction - If you have any usage issues, please Google them yourself
In PHP, an array is to use a HASH structure (HashTable) to achieve, PHP uses a number of mechanisms makes it possible to O (1) time complexity to achieve an array of additions and deletions, and support both linear and random access traversal . php traversal function