CodeIgniter与PHP5.6的兼容问题,codeigniterphp5.6
错误提示:
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
Salin selepas log masuk
原代码:
return $_config[0] =& $config;
Salin selepas log masuk
修改后:
$_config[0] =& $config;
return $_config[0];
Salin selepas log masuk
以上所述就是本文的全部内容了,希望大家能够喜欢。
http://www.bkjia.com/PHPjc/1033495.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1033495.htmlTechArticleCodeIgniter与PHP5.6的兼容问题,codeigniterphp5.6 错误提示: A PHP Error was encounteredSeverity: NoticeMessage: Only variable references should be returned by reference...