类与对象(PHP5)之三:静态关键字(Static Keyword),php编程,龙盟编程网,编程教程,编程网,VB编程,VC编程,汇编编程,编程论坛,网络编程...
基于96个网页-相关网页
静态关键字将仅仅尝试在当前类中解析调用,而不是在定义函数的类中执行。
The static keyword will simply try to resolve the call in the current class instead of the class the function was defined in.
perfect property:查找时间复杂度为o(1)的表条目—就是说,至多需要一个字符串比较执行静态搜索集中的关键字识别。
Perfect property: Locating a table entry requires o (1) time-that is, at most, one string comparison is required to perform keyword recognition within the static search set.
而不是放置到堆栈中,变量通过use关键字指定,并存储到静态存储中。
Instead of being placed on a stack, the variables specified with the use keyword are stored in static storage.
应用推荐