Home > Backend Development > PHP Tutorial > php5.3 废弃函数小结_php技巧

php5.3 废弃函数小结_php技巧

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-17 09:25:36
Original
1011 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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template