php5.6 CI问题 #72

Closed
bnnd opened this Issue Jun 7, 2015 · 2 comments

Projects

None yet

1 participant

@bnnd
bnnd commented Jun 7, 2015
  • 报错:
A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257
  • 环境
Apache 2.4.10
Web Server
PHP 5.6.9 (40% sure)
Programming Language
UNIX
Operating System
jQuery 1.9.1
Javascript Framework

我这边修改为:

原代码:
return $_config[0] =& $config;
修改后:
$_config[0] =& $config;
return $_config[0];

还是报错

@bnnd
bnnd commented Jun 7, 2015

@bnnd
bnnd commented Jun 7, 2015

可以了

@hjue hjue closed this in 132dc50 Jun 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment