日期:2014-05-16  浏览次数:20631 次

$the_item->$args,$this->$fld是什么意思
在开源的项目源码里面看到
$the_item->$args=$xxx
$xxxx=$the_item->$args
这里的
$the_item->$args

$the_item->args
有什么区别?

------解决方案--------------------
引用:
在开源的项目源码里面看到
$the_item->$args=$xxx
$xxxx=$the_item->$args
这里的
$the_item->$args

$the_item->args
有什么区别?

$the_item->$args中的$args是个变量....这个是你属性变量

$the_item->args中的args是你属性名称,不可变