How many number of elements can an array in PHP hold? like 300? 10000? or
10000000000000000000000000000000000000000000000000000000 ???
unikorndesigns
0
Newbie Poster
Recommended Answers
Jump to PostI dont' think there is a limit: http://www.php.net/manual/en/language.types.array.php
…
but consider: an array can contain strings and/or ints, a string max lenght is ~2GB, the int limit is platform dependent, default is two billions.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.