Possible Duplicate:
What is the max key size for an array in PHP?
As the title says, I'm wondering what are the limits to PHP's arrays?
- What are the limits to array keys?
- Can I use any size string as the key?
- At what point will keys start to collide? What I mean here is, I thought PHP arrays were hashtables. My understanding of hashtables and their hash functions are that at some point two strings can hash to the same value, giving you a collision. For example MD5 was found to not be collision resistant.
- What is the size limit to a php array?