$this->$function()在PHP中是什么意思?
各位兄弟,最近小弟在看天天团购的代码,结果在/modules/index.mod.php中看到这么一段代码:
<br />function ModuleObject( $config )<br /> {<br /> $this->MasterObject($config);<br /> $runCode = Load::moduleCode($this);<br /> $this->$runCode();<br /> }<br />
第五行代码中的$this->$runCode();这句在PHP中有什么特殊含义吗?由于本人PHP没有经过正规的培训,所以一些不太常用的基础规则不明白,希望各位前辈能指导一下,感激不尽。