小木木 发表于 2017-3-31 09:53:40

php get_magic_quotes_runtime函数-PHP 选项及相关信息函数库

取得 PHP 环境变量 magic_quotes_runtime 的值。
语法: long get_magic_quotes_runtime(void);
返回值: 长整数
函数种类: PHP 系统功能

内容说明本函数取得 PHP 环境配置的变量 magic_quotes_runtime 值。返回 0 表示关闭本功能;返回 1 表示本功能打开。若 magic_quotes_runtime 打开时,所有外部引入的数据库资料或者文件等等都会自动转为含有反斜线溢出字符的资料。

相关函数:get_magic_quotes_gpc() set_magic_quotes_runtime()
页: [1]
查看完整版本: php get_magic_quotes_runtime函数-PHP 选项及相关信息函数库