首页 > Web开发 > 详细

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

时间:2017-05-09 18:13:09      阅读:871      评论:0      收藏:0      [点我收藏+]

[转载]

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];

 

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

原文:http://www.cnblogs.com/ddxg/p/6831937.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!