Home > Backend Development > PHP Tutorial > p5 php53 obsolete function summary

p5 php53 obsolete function summary

WBOY
Release: 2016-07-29 08:42:42
Original
878 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(); //Replace preg_match, add after the rule i, such as: preg_match(“/^(style|style_)(.*)*/i”, $file);
ereg_replace();
set_magic_quotes_runtime();
split();
mysql_close(); // Will Closing all is not supported and needs to be changed to: mysql_close($link);

The above has introduced a summary of the obsolete functions of p5 php53, including the content of p5. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
p5
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