三维及其以上的数组,三维数组具有高、宽、深的概念,或者说行、列、层的概念,即数组嵌套数组达到三维及其以上
这个技巧的原理同上(前面提到的定义多维数组)。
This trick applies the same principles as the last one (defining a multi-dimensional array).
变量可以像一个整数或字符串那样简单,也可以像多维数组或对象那样复杂。
The variable could be as simple as an integer or a string or as complex as a multidimensional array or an object.
这是一个简单的多维数组,主机名是第一个元素,端口号是第二个元素。
This is a simple array of arrays with the hostname as the first element, port number as the second.
应用推荐