Home >Backend Development >PHP Tutorial >[Reprint] Compatibility issues between CodeIgniter and PHP5.6, codeigniterphp5.6_PHP tutorial
Error message:
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
Original code:
return $_config[0] =& $config;
After modification:
$_config[0] =& $config;
return $_config[0];
The above content is reproduced from Wan Charming’s blog http://blog.sina.com.cn/s/blog_6718a8f40102vz05.html