Multi-dimension Array Limit?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Multi-dimension Array Limit?

Post by Gen-ik »

Just a quick question... is there a limit to how 'deep' multi-dimensional arrays can be?
User avatar
Stoker
Forum Regular
Posts: 782
Joined: Thu Jan 23, 2003 9:45 pm
Location: SWNY
Contact:

Post by Stoker »

I dont really know the answer to that,I would guess there is no hard coded limits since a variable is just a memorylocation holding data or pointers so it is likely to be limited by your memory limits.. (ineducated guess) :)
But is it really feasable to have e.g. 500 levels? do you need to do something will all that data and where is the data coming from? I would think it would be beneficial to develop something that will either stream/chunk or filter just the data you need..
Post Reply