summaryrefslogtreecommitdiff
path: root/ext/pcre
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-06-17 13:31:04 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-06-17 13:31:04 +0200
commitad1b62fca70f911329bbff186a1319738d4a299a (patch)
tree0d98758471f194876b917c79ca6eb9cd3e23c650 /ext/pcre
parent482784284a2e3869b500b25b41ff729143d61c79 (diff)
parent11b354dd54d7fe346b24a039abdb075f68996328 (diff)
downloadphp-git-ad1b62fca70f911329bbff186a1319738d4a299a.tar.gz
Merge branch 'PHP-7.3' into PHP-7.4
Diffstat (limited to 'ext/pcre')
-rw-r--r--ext/pcre/php_pcre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 5ce2f3f4e5..66090f121a 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -2674,7 +2674,7 @@ static PHP_FUNCTION(preg_quote)
ZEND_PARSE_PARAMETERS_START(1, 2)
Z_PARAM_STR(str)
Z_PARAM_OPTIONAL
- Z_PARAM_STR(delim)
+ Z_PARAM_STR_EX(delim, 1, 0)
ZEND_PARSE_PARAMETERS_END();
/* Nothing to do if we got an empty string */