Home >Backend Development >PHP Tutorial >Compatibility issues between CodeIgniter and PHP56

Compatibility issues between CodeIgniter and PHP56

WBOY
WBOYOriginal
2016-08-08 09:20:551013browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn