Home >Backend Development >PHP Tutorial >【转载】CodeIgniter与PHP5.6的兼容有关问题

【转载】CodeIgniter与PHP5.6的兼容有关问题

WBOY
WBOYOriginal
2016-06-13 12:22:58804browse

【转载】CodeIgniter与PHP5.6的兼容问题

 

错误提示:

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/blog_6718a8f40102vz05.html

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn