I have a simple question regarding how PHP stores an array value:
How a simple array is stored internally (the zvalues) by the PHP interpreter? Is it a continguous memory space or it is a kind of linked list & hash-tree (or some hybrid depending on his size)?
I'am asking this because the array type in PHP can be used conveniently as a simple list, stack, queue or some kind of heap (but I don't know what kind of data structure PHP uses to store them).
Thanks.