Anyone know how PHP handles sparse arrays? Would the arrays $a and $b in the following example consume equal amounts of memory and work as quickly?
a[1]=1 a[2]=1 a[3]=1
a[1]=1 a[2000]=1 a[30000]=1
Yes.
Thanks Vincent.