When the value of an array variable is NULL, there is no memory allocated for it.
在阵列变量值为 NULL 时,不为它分配内存。
You could create nine separate string variables, one for each player, or you could declare an array variable that looks something like the code below.
您可以创建九个单独的字符串变量,每个队员一个,或者声明一个类似于以下代码的数组变量。
List of bounds of each dimension of an array variable.
列出数组变量的每个维的界限。
The new array replaces the released array in the array variable.
新数组将替换数组变量中已释放的数组。
Similarly, each element of an array variable is initialized individually.
同样,数组变量的每个元素也单独初始化。
Shows two ways to create an array object and assign it to an array variable.
演示两种方式来创建数组对象并将其赋给一个数组变量。
Describes the rules and steps for assigning an array to another array variable.
论述用于将数组赋给另一个数组变量的规则和步骤。
The preceding example declares an array variable but does not assign an array to it.
上一个示例声明了一个数组变量,但没有为它分配数组。
Arrays also have built-in functionality for searching and sorting that can be accessed through the array variable.
数组还有用于搜索和排序的内置功能,可以通过数组变量访问这些功能。
Unlike an array variable, a dynamically allocated array continues to exist until it is explicitly freed by the program.
与数组变量不同,动态分配的数组将一直存在,直到程序显式释放它为止。
An array variable holds a pointer to an array object, which holds the array elements and the rank and length information.
数组变量保存指向数组对象的指针,而数组对象保存的是数组元素、秩和长度信息。
An array variable holds a pointer to the data constituting the array elements and the rank and length information, and an assignment copies only this pointer.
数组变量持有一个指针,它指向构成数组元素的数据及秩和长度信息,赋值语句仅复制此指针。
Array variable names follow the same naming rules as regular PHP variables (see the section "variables: Data Types, Loose Typing, and Scope" on page 9).
数组变量的命名同样遵循PHP变量命名约定(参见第9页“变量:数据类型,弱类型,作用域”)。
Array variable names follow the same naming rules as regular PHP variables (see the section "variables: Data Types, Loose Typing, and Scope" on page 9).
数组变量的命名同样遵循PHP变量命名约定(参见第9页“变量:数据类型,弱类型,作用域”)。
应用推荐