【发布时间】:2012-06-19 15:00:59
【问题描述】:
我在 cake php 中有如下代码:
public $ceff_instance = array();
public function __construct() {
$this->ceff_instance = $this->wsMethod_GO();
}
protected $filedMethodMappings = $this->$ceff_instance;
$wsMethod_GO 返回一个数组。但是,它说有一个unexpected T_FUNCTION 在我尝试将$ceff_instance 数组放入$filedMethodMappings 的行中。这是什么原因?
我一辈子都想不通。
【问题讨论】:
标签: php error-handling