diff options
| author | Nikita Popov <nikic@php.net> | 2014-09-10 17:30:25 +0200 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2015-01-17 18:26:45 +0100 |
| commit | a60efc5e11b65083ef4cc8a132df620e1642dd76 (patch) | |
| tree | a20a581d517a6b956fd27382c7aed500b77b91a8 /ext/standard/basic_functions.c | |
| parent | 4c115b6b71e31a289d84f72f8664943497b9ee31 (diff) | |
| download | php-git-a60efc5e11b65083ef4cc8a132df620e1642dd76.tar.gz | |
Remove set_magic_quotes_runtime
And the alias magic_quotes_runtime
Diffstat (limited to 'ext/standard/basic_functions.c')
| -rw-r--r-- | ext/standard/basic_functions.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 27f340f923..096971eedc 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -607,10 +607,6 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO(arginfo_get_magic_quotes_runtime, 0) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_set_magic_quotes_runtime, 0, 0, 1) - ZEND_ARG_INFO(0, new_setting) -ZEND_END_ARG_INFO() - ZEND_BEGIN_ARG_INFO(arginfo_constant, 0) ZEND_ARG_INFO(0, const_name) ZEND_END_ARG_INFO() @@ -2937,8 +2933,6 @@ const zend_function_entry basic_functions[] = { /* {{{ */ PHP_FE(header_register_callback, arginfo_header_register_callback) PHP_FE(get_cfg_var, arginfo_get_cfg_var) - PHP_DEP_FALIAS(magic_quotes_runtime, set_magic_quotes_runtime, arginfo_set_magic_quotes_runtime) - PHP_DEP_FE(set_magic_quotes_runtime, arginfo_set_magic_quotes_runtime) PHP_FE(get_magic_quotes_gpc, arginfo_get_magic_quotes_gpc) PHP_FE(get_magic_quotes_runtime, arginfo_get_magic_quotes_runtime) @@ -4572,23 +4566,6 @@ PHP_FUNCTION(get_cfg_var) } /* }}} */ -/* {{{ proto bool set_magic_quotes_runtime(int new_setting) - magic_quotes_runtime is not supported anymore */ -PHP_FUNCTION(set_magic_quotes_runtime) -{ - zend_bool new_setting; - - if (zend_parse_parameters(ZEND_NUM_ARGS(), "b", &new_setting) == FAILURE) { - return; - } - - if (new_setting) { - php_error_docref(NULL, E_CORE_ERROR, "magic_quotes_runtime is not supported anymore"); - } - RETURN_FALSE; -} -/* }}} */ - /* {{{ proto int get_magic_quotes_runtime(void) Get the current active configuration setting of magic_quotes_runtime */ PHP_FUNCTION(get_magic_quotes_runtime) |
