MFB: Added header_remove() (chsc at peytz dotdk, Arnaud)

This commit is contained in:
Arnaud Le Blanc 2008-11-13 10:33:08 +00:00
parent f24bc6f421
commit 047870a61f
9 changed files with 300 additions and 71 deletions

View file

@ -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)