diff options
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 */ |