php5.3 中显示Deprecated: Assigning the return value of new by reference is deprecated in 的解决方法
2013-07-17 21:41
821 查看
今天需要将某个网站般去另一台服务器。设置好运行,显示一大堆Deprecated。
Deprecated: Assigning the return value of new by reference is deprecated in。
新服务器与旧服务器环境是一样的,后来查看php版本,发现旧服务器是 PHP 5.2.4 新的是PHP 5.3.2。之前了解到5.3 与 5.3之前的区别较大,于是查看php文档。
在5.3版本之后已经不允许在程序中使用"=&"符号。
如果出现了Deprecated: Assigning the return value of new by reference is deprecated in 错误,
先找到出错的文件,查找下是不是在程序中使用了"=&",如发现使用了"=&"符号,将 "=&" 改成 "=" 即可解决问题。
Deprecated: Assigning the return value of new by reference is deprecated in。
新服务器与旧服务器环境是一样的,后来查看php版本,发现旧服务器是 PHP 5.2.4 新的是PHP 5.3.2。之前了解到5.3 与 5.3之前的区别较大,于是查看php文档。
在5.3版本之后已经不允许在程序中使用"=&"符号。
如果出现了Deprecated: Assigning the return value of new by reference is deprecated in 错误,
先找到出错的文件,查找下是不是在程序中使用了"=&",如发现使用了"=&"符号,将 "=&" 改成 "=" 即可解决问题。
$link =& $this->links[$linkKey]; // 改为 $link = $this->links[$linkKey];
相关文章推荐
- php5.3 中显示Deprecated: Assigning the return value of new by reference is deprecated in 的解决方法
- PHP显示Deprecated: Assigning the return value of new by reference is deprecated in解决办法
- PHP显示Deprecated: Assigning the return value of new by reference is deprecated in解决办法
- PHP显示Deprecated: Assigning the return value of new by reference is deprecated in解决办法
- php5.3 的问题 “Assigning the return value of new by reference is deprecated in xxxx”
- Deprecated: Assigning the return value of new by reference is deprecated in……解决方法
- Deprecated: Assigning the return value of new by reference is deprecated in……【解决方法】
- 显示Deprecated: Assigning the return value of new by reference is deprecated in解决办法
- Deprecated: Assigning the return value of new by reference is deprecated in……【解决方法】
- 显示Deprecated: Assigning the return value of new by reference is deprecated in解决办法
- php 报错Deprecated: Assigning the return value of new by reference is deprecated in的解决办法
- PHP 解决版本问题:"Assigning the return value of new by reference is deprecated"
- zencart 显示Deprecated: Assigning the return value of new by reference is deprecated
- Assigning the return value of new by reference is deprecated in xxxx
- ECShop后台站点地图关于 Deprecated: Assigning the return value of new by reference is deprecated的错误的解决办法
- 出现 Assigning the return value of new by reference is deprecated in xxxx &&“Warning: Call-time pass-by-reference has been deprecated”怎么办?
- ecshopv2.7.3 商品批量上传中出错:Assigning the return value of new by reference is deprecated in
- 关于Assigning the return value of new by reference is deprecated的错误提示
- 解决Deprecated: Assigning the return value of new by reference
- php提示Call-time pass-by-reference has been deprecated in的解决方法[已测]