CodeIgniter与PHP5.6的兼容问题
程序员文章站
2022-05-26 11:20:39
错误提示:
a php error was encountered
severity: notice
message: only variable r...
错误提示:
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];
以上所述就是本文的全部内容了,希望大家能够喜欢。