mirror of
https://github.com/php/php-src.git
synced 2026-03-29 11:42:17 +02:00
Fix header_remove function, the name parameter is optional
This commit is contained in:
@@ -62,6 +62,7 @@ PHP_FUNCTION(header_remove)
|
||||
size_t len = 0;
|
||||
|
||||
ZEND_PARSE_PARAMETERS_START(0, 1)
|
||||
Z_PARAM_OPTIONAL
|
||||
Z_PARAM_STRING(ctr.line, len)
|
||||
ZEND_PARSE_PARAMETERS_END();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user