Re: [PHP] PHP array entries max limit
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. Attempt#3 - 2958 keys, memlimit 2G. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP array entries max limit
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 indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP array entries max limit
Hi All I would like to know how many entries does PHP associative array can handle. Cheers Prabath