You will take advantage of this by implementing your state table as a two-dimensional associative array of functions.
因此我们将状态表实现为一个二维的函数关联数组。
For example, the compare method compares two strings; the sort and asort methods sort arrays or associative arrays in a way similar to the corresponding PHP array functions.
比如,compare方法比较两个字符串;sort和asort方法以与相应的php数组函数相同的方式对数组或关联数组进行排序。
Functions can be stored in associative arrays (arrays that are indexed by names rather than Numbers).
函数可以存储于关联数组中(关联数组是这样一类数组:它们按名称而不是数值索引)。
Indeed, the literal representation of an object is simply an associative array that may contain functions for some of its values.
实际上,对象的文本表示只不过是一个联合数组,它可能包含某些函数作为一些值。
All these functions accept certain input parameters and return an application-specific associative array containing relevant account information.
这些函数都接受某些输入参数,并返回一个包含相关帐户信息的应用程序专有的关联数组。
All these functions accept certain input parameters and return an application-specific associative array containing relevant account information.
这些函数都接受某些输入参数,并返回一个包含相关帐户信息的应用程序专有的关联数组。
应用推荐