0
If two-dimentional array contains 2indices -row and column then what are the three indices in three-dimentional array in php?
2 Respuestas
+ 5
Two dimensional arrays don't have rows and columns. That's just a way to demonstrate/visualize how they work. The values of two dimensional arrays are stored in memory the same way as one dimensional arrays or single variables, in consecutive memory addresses. You could visualize a three dimensional array as a cube with the third dimension being the z axis. Everything beyond that (there are arrays with four or more dimensions) is pretty much impossible to visualize.
0
thanx for the ans. Anna.