diff options
Diffstat (limited to 'ext/standard/syslog.c')
| -rw-r--r-- | ext/standard/syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c index 464545367e..882c4e1259 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -205,7 +205,7 @@ PHP_FUNCTION(openlog) pval **ident, **option, **facility; BLS_FETCH(); - if (ARG_COUNT(ht) != 3 || zend_get_parameters_ex(3, &ident, &option, &facility) == FAILURE) { + if (ZEND_NUM_ARGS() != 3 || zend_get_parameters_ex(3, &ident, &option, &facility) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_string_ex(ident); @@ -241,7 +241,7 @@ PHP_FUNCTION(syslog) { pval **priority, **message; - if (ARG_COUNT(ht) != 2 || zend_get_parameters_ex(2, &priority, &message) == FAILURE) { + if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &priority, &message) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_long_ex(priority); |
