CodeIgniter与PHP5.6的兼容问题_PHP

WBOY
Release: 2016-05-30 08:46:35
Original
905 people have browsed it

错误提示:

A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

Copy after login

原代码:

return $_config[0] =& $config;

Copy after login

修改后:

$_config[0] =& $config;

return $_config[0];
Copy after login

以上所述就是本文的全部内容了,希望大家能够喜欢。

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