如何在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
问题描述
有人知道如何解决以下错误吗?
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 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屋!