To capture the results in an array, add the name of the array as a second argument to exec .
为了捕捉数组中的结果,要将该数组的名称作为第二个参数添加到exec 。
The array brackets come after the argument name instead of after the type.
数组括号紧接参数名之后,而非类型之后。
The name and location of the file are specified in the output key of the $options array, which is passed to dumpDatabase() as the second argument.
文件名及位置在 $options数组的output键中进行指定,该数组作为dumpDatabase() 方法的第二个参数传入。
When the name of an array is used as an argument, the value passed to the function is the location or address of the beginning of the array - there is no copying of array elements.
当把数组名用作参数时,传递给函数的值是数组起始元素的位置或地址——它并不复制数组元素本身。
When the name of an array is used as an argument, the value passed to the function is the location or address of the beginning of the array - there is no copying of array elements.
当把数组名用作参数时,传递给函数的值是数组起始元素的位置或地址——它并不复制数组元素本身。
应用推荐