com php-src: Fix header_remove function, the name p arameter is optional: ext/standard/head.c

From: Date: Sat, 31 Dec 2016 03:13:46 +0000
Subject: com php-src: Fix header_remove function, the name p arameter is optional: ext/standard/head.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96461@lists.php.net to get a copy of this message
Commit: 32ab889ea4e8367f1cd104e17cd4782564c5b5f7 Author: Mitch Hagstrand <mhagstrand@gmail.com> Fri, 30 Dec 2016 19:13:46 -0800 Parents: 07959c1cae8ef9b69ea6f0586259b7f37939bf4a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=32ab889ea4e8367f1cd104e17cd4782564c5b5f7 Log: Fix header_remove function, the name parameter is optional Changed paths: M ext/standard/head.c Diff: diff --git a/ext/standard/head.c b/ext/standard/head.c index fc8e069..32e1ead 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();

« previous php.cvs (#96461) next »