diff options
| author | Marcus Boerger <helly@php.net> | 2004-03-08 17:33:31 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-03-08 17:33:31 +0000 |
| commit | b6b7c9eb6521f75955e285036e901a6b11ec86b5 (patch) | |
| tree | 973bf6a45c6d14a1d7623ec92916c8ad226f2d84 /ext/spl/spl_sxe.c | |
| parent | c3b06ea21e12981f02f4da2ac0cb5d2499ff4bb5 (diff) | |
| download | php-git-b6b7c9eb6521f75955e285036e901a6b11ec86b5.tar.gz | |
Rename hasMore() to valid() as discussed. (Part I)
Diffstat (limited to 'ext/spl/spl_sxe.c')
| -rwxr-xr-x | ext/spl/spl_sxe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/spl_sxe.c b/ext/spl/spl_sxe.c index b433864b1b..325a5770b5 100755 --- a/ext/spl/spl_sxe.c +++ b/ext/spl/spl_sxe.c @@ -47,7 +47,7 @@ SPL_METHOD(SimpleXMLIterator, rewind) /* {{{ */ } /* }}} */ -SPL_METHOD(SimpleXMLIterator, hasMore) /* {{{ */ +SPL_METHOD(SimpleXMLIterator, valid) /* {{{ */ { php_sxe_object *sxe = php_sxe_fetch_object(getThis() TSRMLS_CC); @@ -134,7 +134,7 @@ SPL_METHOD(SimpleXMLIterator, getChildren) static zend_function_entry spl_funcs_SimpleXMLIterator[] = { SPL_ME(SimpleXMLIterator, rewind, NULL, ZEND_ACC_PUBLIC) - SPL_ME(SimpleXMLIterator, hasMore, NULL, ZEND_ACC_PUBLIC) + SPL_ME(SimpleXMLIterator, valid, NULL, ZEND_ACC_PUBLIC) SPL_ME(SimpleXMLIterator, current, NULL, ZEND_ACC_PUBLIC) SPL_ME(SimpleXMLIterator, key, NULL, ZEND_ACC_PUBLIC) SPL_ME(SimpleXMLIterator, next, NULL, ZEND_ACC_PUBLIC) |
