summaryrefslogtreecommitdiff
path: root/ext/dba
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-06-05 19:47:54 +0000
committerAndi Gutmans <andi@php.net>2000-06-05 19:47:54 +0000
commit3701bc420774c1b689f8a43f0ed891c99fea3cd2 (patch)
tree9bbc5d33a0a90e290889dbca3d8fa9bb1dfe38a9 /ext/dba
parent1cefd77f1c6ec98c23ba04998ca3a07c8c4e7b68 (diff)
downloadphp-git-3701bc420774c1b689f8a43f0ed891c99fea3cd2.tar.gz
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
Diffstat (limited to 'ext/dba')
-rw-r--r--ext/dba/dba.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dba/dba.c b/ext/dba/dba.c
index 8d034b66b8..b84de998c9 100644
--- a/ext/dba/dba.c
+++ b/ext/dba/dba.c
@@ -95,7 +95,7 @@ typedef struct dba_handler {
#define DBA_ID_PARS \
pval **id; \
dba_info *info = NULL; \
- int type, ac = ARG_COUNT(ht)
+ int type, ac = ZEND_NUM_ARGS()
/* these are used to get the standard arguments */
@@ -238,7 +238,7 @@ static void php_dba_update(INTERNAL_FUNCTION_PARAMETERS, int mode)
static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)
{
pval ***args = (pval ***) NULL;
- int ac = ARG_COUNT(ht);
+ int ac = ZEND_NUM_ARGS();
dba_mode_t modenr;
dba_info *info;
dba_handler *hptr;