summaryrefslogtreecommitdiff
path: root/ext/standard/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/url.c')
-rw-r--r--ext/standard/url.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/url.c b/ext/standard/url.c
index 56520da33f..c1e7bf7f3b 100644
--- a/ext/standard/url.c
+++ b/ext/standard/url.c
@@ -163,7 +163,7 @@ PHP_FUNCTION(parse_url)
pval **str;
url *resource;
- if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &str) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &str) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(str);
@@ -271,7 +271,7 @@ PHP_FUNCTION(urlencode)
pval **arg;
char *str;
- if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &arg) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &arg) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(arg);
@@ -293,7 +293,7 @@ PHP_FUNCTION(urldecode)
pval **arg;
int len;
- if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &arg) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &arg) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(arg);
@@ -371,7 +371,7 @@ PHP_FUNCTION(rawurlencode)
pval **arg;
char *str;
- if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &arg) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &arg) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(arg);
@@ -392,7 +392,7 @@ PHP_FUNCTION(rawurldecode)
pval **arg;
int len;
- if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &arg) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &arg) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(arg);