mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use new helper function for "cannot be empty" ValueErrors
This commit is contained in:
parent
96d572a18e
commit
e7c4d54d65
40 changed files with 96 additions and 96 deletions
|
@ -6211,7 +6211,7 @@ PHPAPI bool php_array_pick_keys(php_random_algo_with_state engine, zval *input,
|
|||
|
||||
if (num_avail == 0) {
|
||||
if (!silent) {
|
||||
zend_argument_value_error(1, "cannot be empty");
|
||||
zend_argument_cannot_be_empty_error(1);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue