Summary of obsolete functions in php5.3_PHP tutorial

WBOY
Release: 2016-07-21 15:37:24
Original
902 people have browsed it

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,...
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template