thinkphp 问答列表

将类($this)的属性$action分配给变量$conf,为什么它是一个数组?

作者:sunyaer 提问时间:6/6/2020

在项目中使用的 thinkphp 框架的控制器中有以下函数.php其中有这样一行代码:“$conf = $this->$action”。 “if (property_exists($this, $a...


共1条 当前第1页