Only variables should be assigned by reference

php 兼容问题1

$this->_base_classes =& is_loaded();

$this->_base_classes = is_loaded();

引用返回的正确例子

<?php
function &returns_reference()
{
    return $someref;
}

$newref =& returns_reference();
?>

php 兼容问题2 

return $_config[0] =& $config;

$_config[0] =& $config;

return $_config[0];

 CI2这地方写法有问题

 

posted @ 2016-09-01 02:17  mycnblogs  阅读(691)  评论(0编辑  收藏  举报
AmazingCounters.com
广州php程序员