mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
MFB: Added header_remove() (chsc at peytz dotdk, Arnaud)
This commit is contained in:
parent
f24bc6f421
commit
047870a61f
9 changed files with 300 additions and 71 deletions
|
@ -1678,6 +1678,11 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_header, 0, 0, 1)
|
|||
ZEND_ARG_INFO(0, http_response_code)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_header_remove, 0, 0, 0)
|
||||
ZEND_ARG_INFO(0, name)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_setcookie, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, name)
|
||||
|
@ -3479,6 +3484,7 @@ const zend_function_entry basic_functions[] = { /* {{{ */
|
|||
PHP_FE(setcookie, arginfo_setcookie)
|
||||
PHP_FE(setrawcookie, arginfo_setrawcookie)
|
||||
PHP_FE(header, arginfo_header)
|
||||
PHP_FE(header_remove, arginfo_header_remove)
|
||||
PHP_FE(headers_sent, arginfo_headers_sent)
|
||||
PHP_FE(headers_list, arginfo_headers_list)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue