diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-17 13:31:11 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-17 13:31:11 +0200 |
commit | 80e4a6aaefa1f4c32ce763ddc2b6d75f09dc2836 (patch) | |
tree | fb949419d4736a55e71d12aad6ea5ae7be7ba014 /ext/pcre | |
parent | ca8f34864634b901122614b1bc5d60a8a59eb4ea (diff) | |
parent | ad1b62fca70f911329bbff186a1319738d4a299a (diff) | |
download | php-git-80e4a6aaefa1f4c32ce763ddc2b6d75f09dc2836.tar.gz |
Merge branch '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 */ |