PHP问题 —— Deprecated: Function ereg_replace() is de

简介:

1.1  Deprecated: Function ereg_replace() is deprecated

1.1.1  现象

运行应用出现如下错误提示:

Deprecated: Function ereg_replace() is deprecated in xxx.php on line ###.

1.1.2  原因

php在5.2版本以前ereg_replace都使用正常,在5.3以后,就要用preg_replace来代替。

1.1.3  解决






本文转自 tywali 51CTO博客,原文链接:http://blog.51cto.com/lancelot/1772957,如需转载请自行联系原作者
目录
相关文章
|
3月前
|
SQL PHP 数据安全/隐私保护
拿php写一个投票系统出来,比较简单de啦
拿php写一个投票系统出来,比较简单de啦
拿php写一个投票系统出来,比较简单de啦
|
9月前
|
PHP
PHP报错Call to undefined function utf8_decode()的解决方案
PHP报错Call to undefined function utf8_decode()的解决方案
|
9月前
|
PHP
漏刻有时环境部署:php安装提示Can‘t use function return value in write context
漏刻有时环境部署:php安装提示Can‘t use function return value in write context
38 0
|
消息中间件 PHP
laravel6 使用rabbitmq报错:Call to a member function make() on null at Queue\\Jobs\\Job.php:215
laravel6 使用rabbitmq报错:Call to a member function make() on null at Queue\\Jobs\\Job.php:215
130 0
|
PHP Windows
php使用register_tick_function来定位执行慢的代码
php使用register_tick_function来定位执行慢的代码
164 0
|
存储 PHP
PHP 零基础入门笔记(9):函数 function
PHP 零基础入门笔记(9):函数 function
|
PHP
【PHP报错集锦】 Maximum function nesting level of ‘256‘ reached, aborting!
【PHP报错集锦】 Maximum function nesting level of ‘256‘ reached, aborting!
415 0
【PHP报错集锦】 Maximum function nesting level of ‘256‘ reached, aborting!
|
PHP
PHP 7.2 abstract function override 的使用
PHP 7.2 abstract function override 的使用
1203 0