summaryrefslogtreecommitdiff
path: root/ext/simplexml/simplexml.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2003-08-03 17:44:39 +0000
committerZeev Suraski <zeev@php.net>2003-08-03 17:44:39 +0000
commit538d58dd5f13a3ffda958ec002733dcbbc965352 (patch)
tree6d82510f96846c52de5ca250ddb337e1a21918c7 /ext/simplexml/simplexml.c
parent4e796a70802e42ed03b12a18375b0f446a251e59 (diff)
downloadphp-git-538d58dd5f13a3ffda958ec002733dcbbc965352.tar.gz
Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
Diffstat (limited to 'ext/simplexml/simplexml.c')
-rw-r--r--ext/simplexml/simplexml.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index 2e1cf951ae..5e94cbec62 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -489,7 +489,8 @@ sxe_method_get(zval *object, char *name, int len TSRMLS_DC)
f = emalloc(sizeof(zend_internal_function));
f->type = ZEND_OVERLOADED_FUNCTION;
- f->arg_types = NULL;
+ f->arg_info = NULL;
+ f->num_args = 0;
f->scope = sxe_class_entry;
f->fn_flags = 0;
f->function_name = estrndup(name, len);
@@ -807,6 +808,7 @@ static zend_object_handlers sxe_object_handlers = {
sxe_object_set,
sxe_property_exists,
sxe_property_delete,
+ NULL,
sxe_properties_get,
sxe_method_get,
sxe_call_method,