diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-17 13:31:04 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-17 13:31:04 +0200 |
commit | ad1b62fca70f911329bbff186a1319738d4a299a (patch) | |
tree | 0d98758471f194876b917c79ca6eb9cd3e23c650 /ext/pcre | |
parent | 482784284a2e3869b500b25b41ff729143d61c79 (diff) | |
parent | 11b354dd54d7fe346b24a039abdb075f68996328 (diff) | |
download | php-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.c | 2 |
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 */ |