summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtienne Kneuss <colder@php.net>2008-07-10 13:16:01 +0000
committerEtienne Kneuss <colder@php.net>2008-07-10 13:16:01 +0000
commitad3cd911ac51b4ac3fca2440c42b4c9072e5b960 (patch)
treeb47a683378b556bb61226322fe2f95a6c6d9152d
parente3b14a49bb0070663140302bb8379622153af765 (diff)
downloadphp-git-ad3cd911ac51b4ac3fca2440c42b4c9072e5b960.tar.gz
Forgot to remove the count method here
-rwxr-xr-xext/spl/spl_sxe.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ext/spl/spl_sxe.c b/ext/spl/spl_sxe.c
index a91bf57286..5423431538 100755
--- a/ext/spl/spl_sxe.c
+++ b/ext/spl/spl_sxe.c
@@ -145,17 +145,6 @@ SPL_METHOD(SimpleXMLIterator, getChildren)
RETURN_ZVAL(sxe->iter.data, 1, 0);
}
-/* {{{ proto int SimpleXMLIterator::count() U
- Get number of child elements */
-SPL_METHOD(SimpleXMLIterator, count)
-{
- long count = 0;
-
- Z_OBJ_HANDLER_P(getThis(), count_elements)(getThis(), &count TSRMLS_CC);
-
- RETURN_LONG(count);
-}
-
static const zend_function_entry spl_funcs_SimpleXMLIterator[] = {
SPL_ME(SimpleXMLIterator, rewind, NULL, ZEND_ACC_PUBLIC)
SPL_ME(SimpleXMLIterator, valid, NULL, ZEND_ACC_PUBLIC)
@@ -164,7 +153,6 @@ static const zend_function_entry spl_funcs_SimpleXMLIterator[] = {
SPL_ME(SimpleXMLIterator, next, NULL, ZEND_ACC_PUBLIC)
SPL_ME(SimpleXMLIterator, hasChildren, NULL, ZEND_ACC_PUBLIC)
SPL_ME(SimpleXMLIterator, getChildren, NULL, ZEND_ACC_PUBLIC)
- SPL_ME(SimpleXMLIterator, count, NULL, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};
/* }}} */