您好,欢迎光临! 推荐您使用Chrome浏览器访问本站。

Assigning the return value of new by reference is deprecated in

出现”Deprecated: Assigning the return value of new by reference is deprecated in“ 显示出来。这是因为5.3以后,不能使用”=&”符号,可以直接用”=”就可以了。

所以当出现这个问题后有两种解决方法:

1. 把php的版本降级到5.3以下,但后退的不是明智的选择。

2.  对程序中”=&”符号全部用”=” 代替。

原文:http://www.dengor.com/archives/1023.html

您可能也喜欢