Skip to content

Commit a5a0706

Browse files
committed
*** empty log message ***
1 parent 925d48d commit a5a0706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pcre/php_pcre.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ static pcre* _pcre_get_compiled_regex(char *regex, pcre_extra *extra, int *preg_
231231
*preg_options = 0;
232232

233233
/* Parse through the options, setting appropriate flags. Display
234-
a warning if we encounter an unknown option. */
234+
a warning if we encounter an unknown modifier. */
235235
while (*pp != 0) {
236236
switch (*pp++) {
237237
/* Perl compatible options */
@@ -255,7 +255,7 @@ static pcre* _pcre_get_compiled_regex(char *regex, pcre_extra *extra, int *preg_
255255
break;
256256

257257
default:
258-
zend_error(E_WARNING, "Unknown option '%c'", pp[-1]);
258+
zend_error(E_WARNING, "Unknown modifier '%c'", pp[-1]);
259259
efree(pattern);
260260
return NULL;
261261
}

0 commit comments

Comments
 (0)