mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use "must not" instead of "cannot" wording
This commit is contained in:
parent
c811d58953
commit
5853cdb73d
157 changed files with 281 additions and 281 deletions
|
@ -900,7 +900,7 @@ static void _php_mb_regex_ereg_exec(INTERNAL_FUNCTION_PARAMETERS, int icase)
|
|||
}
|
||||
|
||||
if (arg_pattern_len == 0) {
|
||||
zend_argument_cannot_be_empty_error(1);
|
||||
zend_argument_must_not_be_empty_error(1);
|
||||
RETURN_THROWS();
|
||||
}
|
||||
|
||||
|
@ -1468,7 +1468,7 @@ PHP_FUNCTION(mb_ereg_search_init)
|
|||
}
|
||||
|
||||
if (arg_pattern && arg_pattern_len == 0) {
|
||||
zend_argument_cannot_be_empty_error(2);
|
||||
zend_argument_must_not_be_empty_error(2);
|
||||
RETURN_THROWS();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue