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

Compatibility issues between CodeIgniter and PHP56

WBOY
Release: 2016-08-08 09:20:55
Original
1011 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template