1
0
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:
Mitch Hagstrand
2016-12-30 19:13:46 -08:00
parent 07959c1cae
commit 32ab889ea4

View File

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