mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Inline a ZEND_NUM_ARGS() variable
This commit is contained in:
parent
9cb32640af
commit
3e5fdef96e
1 changed files with 1 additions and 2 deletions
|
@ -346,12 +346,11 @@ PHP_FUNCTION(hash_init)
|
|||
{
|
||||
zend_string *algo, *key = NULL;
|
||||
zend_long options = 0;
|
||||
int argc = ZEND_NUM_ARGS();
|
||||
void *context;
|
||||
const php_hash_ops *ops;
|
||||
php_hashcontext_object *hash;
|
||||
|
||||
if (zend_parse_parameters(argc, "S|lS", &algo, &options, &key) == FAILURE) {
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|lS", &algo, &options, &key) == FAILURE) {
|
||||
RETURN_THROWS();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue