summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/head.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/head.c b/ext/standard/head.c
index fc8e0692da..32e1eadbb5 100644
--- a/ext/standard/head.c
+++ b/ext/standard/head.c
@@ -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();