summaryrefslogtreecommitdiff
path: root/ext/db/db.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>1999-12-20 17:34:55 +0000
committerAndrei Zmievski <andrei@php.net>1999-12-20 17:34:55 +0000
commit1ad5180f2819b286c7194044c27babbebddb8035 (patch)
tree430ded83f8da9d9bc3ebc975f17189527817bebf /ext/db/db.c
parentbe1bb28355660065b8e40547505c022bbc01a785 (diff)
downloadphp-git-1ad5180f2819b286c7194044c27babbebddb8035.tar.gz
getParameters -> zend_get_parameters
Diffstat (limited to 'ext/db/db.c')
-rw-r--r--ext/db/db.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/db/db.c b/ext/db/db.c
index ce8b35e449..fef238d5a9 100644
--- a/ext/db/db.c
+++ b/ext/db/db.c
@@ -256,7 +256,7 @@ PHP_FUNCTION(dbmopen) {
int ret;
DBM_TLS_VARS;
- if (ARG_COUNT(ht)!=2 || getParameters(ht,2,&filename,&mode)==FAILURE) {
+ if (ARG_COUNT(ht)!=2 || zend_get_parameters(ht,2,&filename,&mode)==FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -412,7 +412,7 @@ dbm_info *php_dbm_open(char *filename, char *mode) {
PHP_FUNCTION(dbmclose) {
pval *id;
- if (ARG_COUNT(ht) != 1 || getParameters(ht,1,&id)==FAILURE) {
+ if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht,1,&id)==FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long(id);
@@ -463,7 +463,7 @@ PHP_FUNCTION(dbminsert)
dbm_info *info;
int ret;
- if (ARG_COUNT(ht)!=3||getParameters(ht,3,&id,&key,&value) == FAILURE) {
+ if (ARG_COUNT(ht)!=3||zend_get_parameters(ht,3,&id,&key,&value) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string(key);
@@ -516,7 +516,7 @@ PHP_FUNCTION(dbmreplace)
dbm_info *info;
int ret;
- if (ARG_COUNT(ht)!=3||getParameters(ht,3,&id,&key,&value) == FAILURE) {
+ if (ARG_COUNT(ht)!=3||zend_get_parameters(ht,3,&id,&key,&value) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string(key);
@@ -571,7 +571,7 @@ PHP_FUNCTION(dbmfetch)
pval *id, *key;
dbm_info *info;
- if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) {
+ if (ARG_COUNT(ht)!=2||zend_get_parameters(ht,2,&id,&key)==FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string(key);
@@ -643,7 +643,7 @@ PHP_FUNCTION(dbmexists)
dbm_info *info;
int ret;
- if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) {
+ if (ARG_COUNT(ht)!=2||zend_get_parameters(ht,2,&id,&key)==FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string(key);
@@ -686,7 +686,7 @@ PHP_FUNCTION(dbmdelete)
dbm_info *info;
int ret;
- if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) {
+ if (ARG_COUNT(ht)!=2||zend_get_parameters(ht,2,&id,&key)==FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string(key);
@@ -728,7 +728,7 @@ PHP_FUNCTION(dbmfirstkey)
dbm_info *info;
char *ret;
- if (ARG_COUNT(ht)!=1||getParameters(ht,1,&id)==FAILURE) {
+ if (ARG_COUNT(ht)!=1||zend_get_parameters(ht,1,&id)==FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -785,7 +785,7 @@ PHP_FUNCTION(dbmnextkey)
dbm_info *info;
char *ret;
- if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) {
+ if (ARG_COUNT(ht)!=2||zend_get_parameters(ht,2,&id,&key)==FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string(key);