n fact static method calls are resolved at compile time. When using an explicit class name the method is already identified completely and no inheritance rules apply. If the call is done by self then self is translated to the current class, that is the class the code belongs to. Here also no inheritance rules apply.
解决方案 »
- 增加输入框的问题,在线等
- 通过fsockopen发贴问题
- 求高手写一正则表达式!
- imagettftext() 这个函数为什么不能使用金山词霸的音标字体 Ksphonet.ttf?
- 求助这样的格式化输出
- 菜鸟疑惑:test.php?123这种形式如何接收传过来的值,不像test.php?id=123这种。
- 如何在php中截获oracle触发器抛出的错误信息
- 为什么有些 cookie里面的内容看不到是什么?是不是经过加密。
- 如何在php中使用程序到入另一个页??
- 如何在PHP中实现下载文件?
- !!!!!高分求教smarty显示记录集,在线等。。。。。。。。。。。。。。。。。。。。。。。。
- 页面操作一段时间后没有响应,提示重新登陆的php代码
翻译了就给满分阿。
如果由自身调用,那么自身被解析成当前的类,也就是代码所属的类。这里也没有应用继承规则。
但是我有个疑问,就是这里并不一定有继承,为什么要提到继承规则呢。
这个问题是额外的问题哦。上面你的回答已经有20分了。