Re: [PHP] PHP array entries max limit

2008-01-17 Thread Per Jessen
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 - 13 keys, stopped due to memory limit *M. Attempt#2 - 838 keys, memlimit 512M.

Re: [PHP] PHP array entries max limit

2008-01-17 Thread Richard Lynch
On Wed, January 16, 2008 11:02 pm, Prabath Kumarasinghe wrote: I would like to know how many entries does PHP associative array can handle. As far as I know, the answer is: How much RAM do you have? -- Some people have a gift link here. Know what I want? I want you to buy a CD from some

[PHP] PHP array entries max limit

2008-01-16 Thread Prabath Kumarasinghe
Hi All I would like to know how many entries does PHP associative array can handle. Cheers Prabath