Home > Backend Development > PHP Tutorial > php Deprecated: Function set_magic_quotes_runtime() is depre_PHP教程

php Deprecated: Function set_magic_quotes_runtime() is depre_PHP教程

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 10:55:34
Original
1269 people have browsed it

When I was working on a program today, it prompted Deprecated: Function set_magic_quotes_runtime() is deprecated. After searching online, I found out that the reason is that versions after PHP 5.3 no longer support this function.

Solution

The function set_magic_quotes_runtime() is available in php5.3 and later versions

 代码如下 复制代码
ini_set(“magic_quotes_runtime”, 0)

Let’s replace it, the method is simple.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632220.htmlTechArticleWhen I was working on a program today, it prompted Deprecated: Function set_magic_quotes_runtime() is deprecated. I later found out after searching online. The reason is that versions after PHP 5.3 do not support this function...
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