summaryrefslogtreecommitdiff
path: root/ext/dom/nodelist.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2004-01-22 21:16:05 +0000
committerRob Richards <rrichards@php.net>2004-01-22 21:16:05 +0000
commit7e619b7f5f0e1dbae7204e6c1ae72676d69d5166 (patch)
tree912ebbbd4fbfb881c8adfac6051bd0e6b7ef4a2d /ext/dom/nodelist.c
parentc4c6d5213aad7c6829c5efa22b89310e66d1567b (diff)
downloadphp-git-7e619b7f5f0e1dbae7204e6c1ae72676d69d5166.tar.gz
update constructors so they cant be called statically
Diffstat (limited to 'ext/dom/nodelist.c')
-rw-r--r--ext/dom/nodelist.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/dom/nodelist.c b/ext/dom/nodelist.c
index a15228b376..2208322804 100644
--- a/ext/dom/nodelist.c
+++ b/ext/dom/nodelist.c
@@ -110,9 +110,7 @@ PHP_FUNCTION(dom_nodelist_item)
HashTable *nodeht;
pval **entry;
- id = getThis();
-
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) {
+ if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &id, dom_nodelist_class_entry, &index) == FAILURE) {
return;
}