首頁  >  文章  >  後端開發  >  $the_item->$args,$this->$fld是什么意思,该怎么处理

$the_item->$args,$this->$fld是什么意思,该怎么处理

WBOY
WBOY原創
2016-06-13 11:49:10924瀏覽

$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是你属性名称,不可变
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn