We make the static call in Listing 7.
我们在清单7中进行了静态调用。
New to PHP V5.3 is the ability to have the name of the class when specified be a variable when making a static call.
PHP V5.3的一个新特性就是在进行静态调用时,能够使指定的类名成为一个变量。
With the allowed parameters defined in an array, the call from the application program to the argument processing code can be kept as simple as a single call to a static method.
有了得到允许的在一个数组中定义的形参,应用程序对参数处理代码的调用就可以像对一个静态方法的单个调用一样简单。
应用推荐