2017-09-25 49 views

回答

0

code docs對此感到非常清楚:

/** 
* Scope isolated include. 
* 
* Prevents access to $this/self from included files. 
*/ 
function includeFile($file) 
{ 
    include $file; 
} 

所以它不能訪問$this$self它隔離加載代碼。

+0

THS !!我總是在晚上不小心... – frontGirl