【发布时间】:2012-04-04 13:48:34
【问题描述】:
我在我实现的脚本中有以下代码,它确实可以正常工作,只是想了解一下:
$variable1 = function1(); // function1 is a class method, it’s file included per require_once
$ variable1 -> function2(); // function2 is a class method, it’s file included per require_once
这里不是 -> 对象运算符吗? 但是 $variable1 中没有初始化实例保存。
帮助赞赏
【问题讨论】:
标签: php object operator-keyword