mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
*** empty log message ***
This commit is contained in:
parent
925d48dae6
commit
a5a07063d2
@ -231,7 +231,7 @@ static pcre* _pcre_get_compiled_regex(char *regex, pcre_extra *extra, int *preg_
|
||||
*preg_options = 0;
|
||||
|
||||
/* Parse through the options, setting appropriate flags. Display
|
||||
a warning if we encounter an unknown option. */
|
||||
a warning if we encounter an unknown modifier. */
|
||||
while (*pp != 0) {
|
||||
switch (*pp++) {
|
||||
/* Perl compatible options */
|
||||
@ -255,7 +255,7 @@ static pcre* _pcre_get_compiled_regex(char *regex, pcre_extra *extra, int *preg_
|
||||
break;
|
||||
|
||||
default:
|
||||
zend_error(E_WARNING, "Unknown option '%c'", pp[-1]);
|
||||
zend_error(E_WARNING, "Unknown modifier '%c'", pp[-1]);
|
||||
efree(pattern);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user