天天看點

PHP問題 —— Deprecated: Function ereg_replace() is de

運作應用出現如下錯誤提示:

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

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

本文轉自 tywali 51CTO部落格,原文連結:http://blog.51cto.com/lancelot/1772957,如需轉載請自行聯系原作者