diff options
author | Andi Gutmans <andi@php.net> | 2000-06-05 19:47:54 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-06-05 19:47:54 +0000 |
commit | 3701bc420774c1b689f8a43f0ed891c99fea3cd2 (patch) | |
tree | 9bbc5d33a0a90e290889dbca3d8fa9bb1dfe38a9 /ext/recode | |
parent | 1cefd77f1c6ec98c23ba04998ca3a07c8c4e7b68 (diff) | |
download | php-git-3701bc420774c1b689f8a43f0ed891c99fea3cd2.tar.gz |
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
Diffstat (limited to 'ext/recode')
-rw-r--r-- | ext/recode/recode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/recode/recode.c b/ext/recode/recode.c index b57b5395e6..b0f1f4913f 100644 --- a/ext/recode/recode.c +++ b/ext/recode/recode.c @@ -113,7 +113,7 @@ PHP_FUNCTION(recode_string) bool success; ReSLS_FETCH(); - if (ARG_COUNT(ht) != 2 + if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &req, &str) == FAILURE) { WRONG_PARAM_COUNT; } @@ -165,7 +165,7 @@ PHP_FUNCTION(recode_file) int in_type, out_type; ReSLS_FETCH(); - if (ARG_COUNT(ht) != 3 + if (ZEND_NUM_ARGS() != 3 || zend_get_parameters_ex(3, &req, &input, &output) == FAILURE) { WRONG_PARAM_COUNT; } |