首页 > PHP编程 > php5.6 CI的问题(Only variable references should be returned by reference)

php5.6 CI的问题(Only variable references should be returned by reference)

2015年10月20日

php5.6 CI的问题(Only variable references should be returned by reference)
http://blog.sina.com.cn/s/blog_6718a8f40102vz05.html
A PHP Error was encountered

Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
原代码:

return $_config[0] =& $config;
修改后:

$_config[0] =& $config;
return $_config[0];

#CI

分类: PHP编程 标签:
本文的评论功能被关闭了.