Skip to content

Commit ad1b62f

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
2 parents 4827842 + 11b354d commit ad1b62f

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
@@ -2674,7 +2674,7 @@ static PHP_FUNCTION(preg_quote)
26742674
ZEND_PARSE_PARAMETERS_START(1, 2)
26752675
Z_PARAM_STR(str)
26762676
Z_PARAM_OPTIONAL
2677-
Z_PARAM_STR(delim)
2677+
Z_PARAM_STR_EX(delim, 1, 0)
26782678
ZEND_PARSE_PARAMETERS_END();
26792679

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

0 commit comments

Comments
 (0)