Home > Backend Development > PHP Tutorial > php5.3 废弃函数小结_PHP

php5.3 废弃函数小结_PHP

WBOY
Release: 2016-06-01 12:18:17
Original
786 people have browsed it

在php5.3被放弃的函数有:

ereg();//直接用mb_ereg代替,或是preg_match代替,但是匹配规则需要用/包括起来
eregi();//preg_match代替,在规则后加上i,如:preg_match(“/^(style|style_)(.*)*/i”, $file);
ereg_replace();
set_magic_quotes_runtime();
split();
mysql_close(); // 将不支持全部关闭, 需要改为:mysql_close($link);

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