Use "must not" instead of "cannot" wording

This commit is contained in:
Gina Peter Bnayard 2024-08-20 13:45:39 +02:00 committed by Gina Peter Banyard
parent c811d58953
commit 5853cdb73d
157 changed files with 281 additions and 281 deletions

View file

@ -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();
}