CI 框架的问题(Only variable references should be returned by reference) 阿星小栈

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

 

 
 
http://blog.sina.com.cn/s/articlelist_1729669364_0_1.html
posted @ 2017-10-18 13:53  阿星小栈  阅读(232)  评论(0编辑  收藏  举报