diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-17 13:30:56 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-17 13:30:56 +0200 |
commit | 11b354dd54d7fe346b24a039abdb075f68996328 (patch) | |
tree | 702e5942cc989f0d08d5edef8409b9df60f06c96 /ext/pcre/php_pcre.c | |
parent | 9f0515c40c85d9c22cf46f7c42338354c398e4a7 (diff) | |
parent | 03db04c3aba03fd55c94c9d834a6c151e351cfc5 (diff) | |
download | php-git-11b354dd54d7fe346b24a039abdb075f68996328.tar.gz |
Merge branch 'PHP-7.2' into PHP-7.3
Diffstat (limited to 'ext/pcre/php_pcre.c')
-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 637195b59c..a131ecd884 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -2683,7 +2683,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 */ |