我遇到以下代码的问题.我只是猜测这是一个范围问题.
public function run() {
return eval('$this->config();');
// This will return null.
return $this->config();
// This will return my config array right.
}
Run Code Online (Sandbox Code Playgroud)
在有人要求之前:
有人对这个终端事有什么建议吗?(我的基本问题仍然是评估...)
| 归档时间: |
|
| 查看次数: |
715 次 |
| 最近记录: |