Home >Backend Development >PHP Tutorial >Compatibility issues between CodeIgniter and PHP56
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
The above introduces the compatibility issues between CodeIgniter and PHP56, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.