Prabath Kumarasinghe wrote: > Hi All > > I would like to know how many entries does PHP associative array can > handle.
Why don't you just test it?
for( $i=0; ; $i++ )
{
$kk[$i]=1;
}
Attempt#1 - 130000 keys, stopped due to memory limit *M.
Attempt#2 - 8380000 keys, memlimit 512M.
Attempt#3 - 29580000 keys, memlimit 2G.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

