The PHP array is one structure doing the work of a list, a dictionary, a set, a stack and a queue: an ordered map whose elements keep their insertion order. Rows fetched from MySQL 524 (MySQL), form fields and decoded JSON all arrive as arrays. The library around them has more than 80 functions, covered here by job, with the bookshop's products and orders as data.