summaryrefslogtreecommitdiff
path: root/ext/bcmath/bcmath.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/bcmath/bcmath.c
parentbe1bb28355660065b8e40547505c022bbc01a785 (diff)
downloadphp-git-1ad5180f2819b286c7194044c27babbebddb8035.tar.gz
getParameters -> zend_get_parameters
Diffstat (limited to 'ext/bcmath/bcmath.c')
-rw-r--r--ext/bcmath/bcmath.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c
index 5f1b1e71e9..46215d4385 100644
--- a/ext/bcmath/bcmath.c
+++ b/ext/bcmath/bcmath.c
@@ -73,12 +73,12 @@ PHP_FUNCTION(bcadd)
switch (ARG_COUNT(ht)) {
case 2:
- if (getParameters(ht, 2, &left, &right) == FAILURE) {
+ if (zend_get_parameters(ht, 2, &left, &right) == FAILURE) {
WRONG_PARAM_COUNT;
}
break;
case 3:
- if (getParameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
+ if (zend_get_parameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long(scale_param);
@@ -116,12 +116,12 @@ PHP_FUNCTION(bcsub)
switch (ARG_COUNT(ht)) {
case 2:
- if (getParameters(ht, 2, &left, &right) == FAILURE) {
+ if (zend_get_parameters(ht, 2, &left, &right) == FAILURE) {
WRONG_PARAM_COUNT;
}
break;
case 3:
- if (getParameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
+ if (zend_get_parameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long(scale_param);
@@ -159,12 +159,12 @@ PHP_FUNCTION(bcmul)
switch (ARG_COUNT(ht)) {
case 2:
- if (getParameters(ht, 2, &left, &right) == FAILURE) {
+ if (zend_get_parameters(ht, 2, &left, &right) == FAILURE) {
WRONG_PARAM_COUNT;
}
break;
case 3:
- if (getParameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
+ if (zend_get_parameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long(scale_param);
@@ -202,12 +202,12 @@ PHP_FUNCTION(bcdiv)
switch (ARG_COUNT(ht)) {
case 2:
- if (getParameters(ht, 2, &left, &right) == FAILURE) {
+ if (zend_get_parameters(ht, 2, &left, &right) == FAILURE) {
WRONG_PARAM_COUNT;
}
break;
case 3:
- if (getParameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
+ if (zend_get_parameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long(scale_param);
@@ -250,7 +250,7 @@ PHP_FUNCTION(bcmod)
switch (ARG_COUNT(ht)) {
case 2:
- if (getParameters(ht, 2, &left, &right) == FAILURE) {
+ if (zend_get_parameters(ht, 2, &left, &right) == FAILURE) {
WRONG_PARAM_COUNT;
}
break;
@@ -292,12 +292,12 @@ PHP_FUNCTION(bcpow)
switch (ARG_COUNT(ht)) {
case 2:
- if (getParameters(ht, 2, &left, &right) == FAILURE) {
+ if (zend_get_parameters(ht, 2, &left, &right) == FAILURE) {
WRONG_PARAM_COUNT;
}
break;
case 3:
- if (getParameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
+ if (zend_get_parameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long(scale_param);
@@ -335,12 +335,12 @@ PHP_FUNCTION(bcsqrt)
switch (ARG_COUNT(ht)) {
case 1:
- if (getParameters(ht, 1, &left) == FAILURE) {
+ if (zend_get_parameters(ht, 1, &left) == FAILURE) {
WRONG_PARAM_COUNT;
}
break;
case 2:
- if (getParameters(ht, 2, &left, &scale_param) == FAILURE) {
+ if (zend_get_parameters(ht, 2, &left, &scale_param) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long(scale_param);
@@ -375,12 +375,12 @@ PHP_FUNCTION(bccomp)
switch (ARG_COUNT(ht)) {
case 2:
- if (getParameters(ht, 2, &left, &right) == FAILURE) {
+ if (zend_get_parameters(ht, 2, &left, &right) == FAILURE) {
WRONG_PARAM_COUNT;
}
break;
case 3:
- if (getParameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
+ if (zend_get_parameters(ht, 3, &left, &right, &scale_param) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long(scale_param);
@@ -413,7 +413,7 @@ PHP_FUNCTION(bcscale)
{
pval *new_scale;
- if (ARG_COUNT(ht)!=1 || getParameters(ht, 1, &new_scale)==FAILURE) {
+ if (ARG_COUNT(ht)!=1 || zend_get_parameters(ht, 1, &new_scale)==FAILURE) {
WRONG_PARAM_COUNT;
}