如何在Drupal 6.13中解决PHP 5.3.0中不推荐使用的函数ereg()的使用 [英] How to solve the use of deprecated function ereg() of PHP 5.3.0 in Drupal 6.13

查看:68
本文介绍了如何在Drupal 6.13中解决PHP 5.3.0中不推荐使用的函数ereg()的使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何解决以下错误吗?

Anyone knows how to solve the error below?

已弃用:函数ereg()在895行的C:\ wamp \ www \ includes \ file.inc中已弃用

Deprecated: Function ereg() is deprecated in C:\wamp\www\includes\file.inc on line 895

在使用PHP 5.3.0的wamp服务器2.0i上安装Drupal 6.13之后发生这种情况

It is happening after installing Drupal 6.13 on wamp server 2.0i with PHP 5.3.0

推荐答案

删除错误报告级别 PHP 5.3引入了两个新的错误报告级别,即E_DEPRECATED和E_USER_DEPRECATED,并且-在PHP的历史上第一次-他们开始摆脱API的较早部分. ereg_ *函数仍将起作用,但是此警告旨在让您知道嘿,这些函数很快就会消失,可能在下一个主要修订版中.)

PHP 5.3 introduced two new error reporting levels, E_DEPRECATED and E_USER_DEPRECATED and - for the first time in PHP's history - they've started to walk away from older parts of their API. The ereg_* function will still work, but this warning is intended to let you know that "hey, these function will be going away soon, probably in the next major revision).

这篇关于如何在Drupal 6.13中解决PHP 5.3.0中不推荐使用的函数ereg()的使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆