解决php5.3中Deprecated: Assigning the return value of new by reference is deprecated in报错
来源:互联网 发布:网络发帖能查到吗 编辑:程序博客网 时间:2024/05/16 07:37
解决php5.3中Deprecated: Assigning the return value of new by reference is deprecated in报错
字体大小: 小 中 大 作者: pudding1998 | 分类: IOS和开发 | 浏览: 3899| 2012年2月29日 今天一个客户的网站出现了Deprecated: Assigning the return value of new by reference is deprecated in wwwroot\common.inc.php on line 23的错误。看了下之后定位到common.inc.php的文件找到23行,因为我们现在php是5.3的原因,在php5.3之中可以直接用”=”,而之前因为在本地上测试都是5.3以下的php环境用的是”=&”符号。
在5.3版本之后已经不允许在程序中使用”=&”符号。如果你的网站出现了Deprecated: Assigning the return value of new by reference is deprecated in 错误,别着急,先定位到出错的文件,查找下是不是在程序中使用了”=&”,例如阿兹猫刚才定位到网站程序中发现了下图的程序,发现使用了”=&”符号,去掉‘&’符号之后程序运行正常。
本文来源于阿兹猫博客 http://www.yangyin1989.com/ , 原文地址:http://www.yangyin1989.com/post/php53-Deprecated.html
0 0
- 解决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
- php5.3 中显示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”
- 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解决办法
- PHP显示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
- Assigning the return value of new by reference is deprecated in xxxx
- ecshopv2.7.3 商品批量上传中出错:Assigning the return value of new by reference is deprecated in
- 关于Assigning the return value of new by reference is deprecated的错误提示
- ECShop后台站点地图关于 Deprecated: Assigning the return value of new by reference is deprecated的错误的解决办法
- php 报: 解决Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the f
- 解决PHP中Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the futu
- 解决Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future:
- Js以及Ajax跳转
- 让织梦dedecms5.7缩略图不变形的方法
- Asp.net处理超链接的乱码
- DEDECMS 自动缩略图无法生成问题的解决方法
- Asp.net2.0回发或回调参数无效问题…
- 解决php5.3中Deprecated: Assigning the return value of new by reference is deprecated in报错
- SQL Server数据库自增长标识列的更…
- ecshop 文章详细页底部自动加powered by Ecshop 去掉方法!!
- 大气方能成大器_新华网评_新华网
- 24. Swap Nodes in Pairs
- boost类库实现普通C++类的迭代
- {html_options options=$item.options selected=$item.value}
- access内置函数:(适用access2000)-…
- 退换货须知