Home >Backend Development >PHP Tutorial >Summary of obsolete functions in php5.3_PHP tutorial

Summary of obsolete functions in php5.3_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:37:24918browse

The functions abandoned in php5.3 are:

ereg();//Replace directly with mb_ereg, or replace with preg_match, but the matching rules need to be included with /
eregi();//preg_match Instead, add i after the rule, such as: preg_match("/^(style|style_)(.*)*/i", $file);
ereg_replace();
set_magic_quotes_runtime();
split();
mysql_close(); // All closes will not be supported and need to be changed to: mysql_close($link);

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/321932.htmlTechArticleThe functions abandoned in php5.3 are: ereg();//Replace directly with mb_ereg, or preg_match Replace, but the matching rules need to be included with /eregi();//preg_match instead, add i after the rule,...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn