This function ereg_replace() has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged
2012-10-02 11:44
1171 查看
碰到php升级到5.3.0后,function ereg_replace() 被废除后的解决办法
$sefu = explode(",", ereg_replace( ' +', '', SEO_URLS_ONLY_IN ));
改为:
$sefu = explode(",", preg_replace( '/ +/', '', SEO_URLS_ONLY_IN ));
$sefu = explode(",", ereg_replace( ' +', '', SEO_URLS_ONLY_IN ));
改为:
$sefu = explode(",", preg_replace( '/ +/', '', SEO_URLS_ONLY_IN ));
相关文章推荐
- relying on packaging to define the extension of the main artifact has been deprecated and is schedul
- dede5.6进入后台提示PHP Deprecated: Function ereg_replace() is deprecated in dede\\config.php on line 2
- Deprecated: Function ereg_replace() is deprecated in x:\rootwww\dede\config.php on line
- Drupal 6.1.0 Deprecated: Function ereg() is deprecated in xxx includes/file.inc on line 902?
- PHP问题 —— Deprecated: Function ereg_replace() is de
- This function has none of Deterministic,no sql,or reads sql data in its declaration and binary logging is enabled(you *might* want to use the less safe log_bin_trust_function_creators variable
- 安装DEDECMS出现Deprecated: Function ereg_replace() is deprecated in 的原因
- Deprecated: Function eregi_replace() is deprecated split() ereg_replace() ereg() eregi() sql_regcas
- [Php] Deprecated: Function ereg_replace() is deprecated
- Deprecated: Call-time pass-by-reference has been deprecated in E:\wamp\www\admin\htdocs\busi.php on line 381
- Navigator is deprecated and has been removed from this package
- Deprecated: Function ereg_replace() is deprecated in ……【解决方法】
- 安装DedeEIMS出现Deprecated: Function ereg_replace() is deprecated in F:/wamp/www1/dede/config.php on line 2
- 报错:'Navigator is deprecated and has been removed from this package. It can now be installed
- PHP报错Deprecated: Function ereg_replace() is deprecated in
- DEDE-Function ereg_replace() is deprecated in ..line 2
- 关于php报错:Deprecated: Function ereg_replace() 的解决方法
- Python 出现错误 SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform.
- Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be
- 【php】Deprecated: Function ereg() is deprecated in