2023-05-12 开启多语言插件支持……

php5.6 CI框架提示 Only variable references should be returned by reference

CodeIgniter 苏 demo 3626℃ 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];

参考:
http://stackoverflow.com/questions/28348879/only-variable-references-should-be-returned-by-reference-codeigniter

打赏

转载请注明:苏demo的别样人生 » php5.6 CI框架提示 Only variable references should be returned by reference

   如果本篇文章对您有帮助,欢迎向博主进行赞助,赞助时请写上您的用户名。
支付宝直接捐助帐号oracle_lee@qq.com 感谢支持!
喜欢 (0)or分享 (0)