3 ms·
You mean `!array_is_list()`? As far as PHP is concerned, a list is a subset of arrays where the keys are ordered integers starting at zero. Any array that does
by duskwuff 6y ago
You mean `!array_is_list()`?
As far as PHP is concerned, a list is a subset of arrays where the keys are ordered integers starting at zero. Any array that doesn't fit this pattern could be considered a "map" -- there's no middle ground.