[UPHPU] better way to find position in an array of numeric values?
Wade Preston Shearer
wadeshearer.lists at me.com
Sat May 2 10:22:14 MDT 2009
On 2 May 2009, at 10:02, Justin Hileman wrote:
> In that case, is count($things) smaller, bigger, or enormously
> bigger than the max value of $thing['id'] ? I've got an ugly answer,
> but the efficiency of said ugly answer depends on how many $things
> you have :)
The max ID will be substantially larger (5-6 digit number) than the
number nodes in the array (5-20).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2431 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20090502/f16d1a93/smime.bin
More information about the UPHPU
mailing list