Is there a way or resource to find the temporal and spatial complexity of an Array implementation in PHP, other than manually calculating it?
An array in PHP is actually an ordered map. A map is a type that associates values ββwith keys. This type is optimized for several different applications; it can be considered as an array, list (vector), hash table (map implementation), dictionary, collection, stack, queue, and possibly more. Other arrays can be used as array values, trees and multidimensional arrays are also possible. - php.net
From what I can say, it would seem that it has a total card complexity
arrays complexity-theory php
kristian Apr 12 2018-11-21T00: 00Z
source share