summaryrefslogtreecommitdiff
path: root/ext/session/session.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-18 22:40:35 +0000
committerZeev Suraski <zeev@php.net>1999-12-18 22:40:35 +0000
commita1ad2872eebc17448b115a1817e95b63e3ad17e9 (patch)
tree6088dc4e590fdc5f85baa8bfe6534aece3fba960 /ext/session/session.c
parentf1fcb022be33716d345197de1fde63ad2bcdafca (diff)
downloadphp-git-a1ad2872eebc17448b115a1817e95b63e3ad17e9.tar.gz
- The tree compiles again
Diffstat (limited to 'ext/session/session.c')
-rw-r--r--ext/session/session.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index e12e1c5845..9090fea28b 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -749,7 +749,7 @@ PHP_FUNCTION(session_name)
old = estrdup(PS(session_name));
- if(ac < 0 || ac > 1 || getParametersEx(ac, &p_name) == FAILURE) {
+ if(ac < 0 || ac > 1 || zend_get_parameters_ex(ac, &p_name) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -774,7 +774,7 @@ PHP_FUNCTION(session_module_name)
old = estrdup(PS(mod)->name);
- if(ac < 0 || ac > 1 || getParametersEx(ac, &p_name) == FAILURE) {
+ if(ac < 0 || ac > 1 || zend_get_parameters_ex(ac, &p_name) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -808,7 +808,7 @@ PHP_FUNCTION(session_set_save_handler)
ps_user *mdata;
PSLS_FETCH();
- if(ARG_COUNT(ht) != 6 || getParametersArrayEx(6, args) == FAILURE) {
+ if(ARG_COUNT(ht) != 6 || zend_get_parameters_array_ex(6, args) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -842,7 +842,7 @@ PHP_FUNCTION(session_save_path)
old = estrdup(PS(save_path));
- if(ac < 0 || ac > 1 || getParametersEx(ac, &p_name) == FAILURE) {
+ if(ac < 0 || ac > 1 || zend_get_parameters_ex(ac, &p_name) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -868,7 +868,7 @@ PHP_FUNCTION(session_id)
if(PS(id))
old = estrdup(PS(id));
- if(ac < 0 || ac > 1 || getParametersEx(ac, &p_name) == FAILURE) {
+ if(ac < 0 || ac > 1 || zend_get_parameters_ex(ac, &p_name) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -919,7 +919,7 @@ PHP_FUNCTION(session_register)
} else
args = (zval ***)emalloc(argc * sizeof(zval **));
- if (getParametersArrayEx(argc, args) == FAILURE) {
+ if (zend_get_parameters_array_ex(argc, args) == FAILURE) {
efree(args);
WRONG_PARAM_COUNT;
}
@@ -948,7 +948,7 @@ PHP_FUNCTION(session_unregister)
int ac = ARG_COUNT(ht);
PSLS_FETCH();
- if(ac != 1 || getParametersEx(ac, &p_name) == FAILURE) {
+ if(ac != 1 || zend_get_parameters_ex(ac, &p_name) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -970,7 +970,7 @@ PHP_FUNCTION(session_is_registered)
int ac = ARG_COUNT(ht);
PSLS_FETCH();
- if(ac != 1 || getParametersEx(ac, &p_name) == FAILURE) {
+ if(ac != 1 || zend_get_parameters_ex(ac, &p_name) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -1006,7 +1006,7 @@ PHP_FUNCTION(session_decode)
pval **str;
PSLS_FETCH();
- if(ARG_COUNT(ht) != 1 || getParametersEx(1, &str) == FAILURE) {
+ if(ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &str) == FAILURE) {
WRONG_PARAM_COUNT;
}