mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
- [DOC] restore get_magic_quotes_gpc and get_magic_quotes_runtime
they always return false. (let save the world, spare bandwidth and kill the trolls 1/2)
This commit is contained in:
parent
76a9ec377b
commit
dac1a1014d
2 changed files with 27 additions and 1 deletions
|
@ -768,6 +768,14 @@ ZEND_BEGIN_ARG_INFO(arginfo_get_cfg_var, 0)
|
|||
ZEND_ARG_INFO(0, option_name)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_get_magic_quotes_gpc, 0, 0, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_get_magic_quotes_runtime, 0, 0, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_error_log, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, message)
|
||||
|
@ -3384,6 +3392,9 @@ const zend_function_entry basic_functions[] = { /* {{{ */
|
|||
PHP_FE(set_time_limit, arginfo_set_time_limit)
|
||||
PHP_FE(get_cfg_var, arginfo_get_cfg_var)
|
||||
|
||||
PHP_FE(get_magic_quotes_gpc, NULL)
|
||||
PHP_FE(get_magic_quotes_runtime, NULL)
|
||||
|
||||
PHP_FE(import_request_variables, arginfo_import_request_variables)
|
||||
PHP_FE(error_log, arginfo_error_log)
|
||||
PHP_FE(error_get_last, arginfo_error_get_last)
|
||||
|
@ -4884,6 +4895,22 @@ PHP_FUNCTION(get_cfg_var)
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto mixed get_magic_quotes_runtime(void) U
|
||||
Get the value of a PHP configuration option */
|
||||
PHP_FUNCTION(get_magic_quotes_runtime)
|
||||
{
|
||||
RETURN_FALSE;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto mixed get_magic_quotes_gpc(void) U
|
||||
Get the value of a PHP configuration option */
|
||||
PHP_FUNCTION(get_magic_quotes_gpc)
|
||||
{
|
||||
RETURN_FALSE;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/*
|
||||
1st arg = error message
|
||||
2nd arg = error option
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue