mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +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
|
@ -434,7 +434,7 @@ PHP_METHOD(Random_Randomizer, getBytesFromString)
|
|||
const size_t max_offset = source_length - 1;
|
||||
|
||||
if (source_length < 1) {
|
||||
zend_argument_cannot_be_empty_error(1);
|
||||
zend_argument_must_not_be_empty_error(1);
|
||||
RETURN_THROWS();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue