Skip to content

Commit 11b354d

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
2 parents 9f0515c + 03db04c commit 11b354d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pcre/php_pcre.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,7 @@ static PHP_FUNCTION(preg_quote)
26832683
ZEND_PARSE_PARAMETERS_START(1, 2)
26842684
Z_PARAM_STR(str)
26852685
Z_PARAM_OPTIONAL
2686-
Z_PARAM_STR(delim)
2686+
Z_PARAM_STR_EX(delim, 1, 0)
26872687
ZEND_PARSE_PARAMETERS_END();
26882688

26892689
/* Nothing to do if we got an empty string */

0 commit comments

Comments
 (0)