Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 PHP 语法有疑问。下面是 php 代码:
$err = $campaign =& $this->_setCampaign($mission['campaign_id'])
“=&”是什么意思?我已经用谷歌搜索了,但由于谷歌不支持搜索这些标记。这与通过引用分配问题有关吗?
那是一个参考运算符。
http://php.net/manual/en/language.references.php了解更多详情。
是的,这是通过引用分配。阅读手册中的更多内容。