summaryrefslogtreecommitdiff
path: root/ext/spl/php_spl.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-12-08 08:39:18 +0000
committerMarcus Boerger <helly@php.net>2003-12-08 08:39:18 +0000
commitf3a3990ca82d57ab0233a10b682d80de1d17083c (patch)
treebb48756974ef029a227a70dc40d63db4e04069c0 /ext/spl/php_spl.c
parent1c1301870286f97e5c7a8b8990d0980521bfa6b2 (diff)
downloadphp-git-f3a3990ca82d57ab0233a10b682d80de1d17083c.tar.gz
Implement CahingIterator and CachingRecursiveIterator as C-code.
#Script examples/directorytree.php has a few memleaks though but besides #that all works fine.
Diffstat (limited to 'ext/spl/php_spl.c')
-rwxr-xr-xext/spl/php_spl.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index 194393c5da..7919c1c1ae 100755
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -169,13 +169,15 @@ PHP_FUNCTION(spl_classes)
SPL_ADD_CLASS(ArrayObject);
SPL_ADD_CLASS(ArrayIterator);
+ SPL_ADD_CLASS(CachingIterator);
+ SPL_ADD_CLASS(CachingRecursiveIterator);
SPL_ADD_CLASS(DirectoryIterator);
- SPL_ADD_CLASS(RecursiveIterator);
- SPL_ADD_CLASS(RecursiveIteratorIterator);
SPL_ADD_CLASS(FilterIterator);
+ SPL_ADD_CLASS(LimitIterator);
SPL_ADD_CLASS(ParentIterator);
+ SPL_ADD_CLASS(RecursiveIterator);
+ SPL_ADD_CLASS(RecursiveIteratorIterator);
SPL_ADD_CLASS(SeekableIterator);
- SPL_ADD_CLASS(LimitIterator);
}
/* }}} */