summaryrefslogtreecommitdiff
path: root/ext/spl/php_spl.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-01-18 15:33:38 +0000
committerMarcus Boerger <helly@php.net>2004-01-18 15:33:38 +0000
commit309f54384d0edcff08fafd58ff09a5aa5da379f4 (patch)
tree908fb22b02785b1dd140785051cf6d0f0b597506 /ext/spl/php_spl.c
parent913f5ce8ec7abcc8129f565799ed875577208acc (diff)
downloadphp-git-309f54384d0edcff08fafd58ff09a5aa5da379f4.tar.gz
Add class SimpleXMLIterator
Diffstat (limited to 'ext/spl/php_spl.c')
-rwxr-xr-xext/spl/php_spl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index 45d87e3d77..ef0b533cd0 100755
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -29,6 +29,7 @@
#include "spl_array.h"
#include "spl_directory.h"
#include "spl_iterators.h"
+#include "spl_sxe.h"
#ifdef COMPILE_DL_SPL
ZEND_GET_MODULE(spl)
@@ -85,6 +86,7 @@ PHP_MINIT_FUNCTION(spl)
PHP_MINIT(spl_iterators)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(spl_array)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(spl_directory)(INIT_FUNC_ARGS_PASSTHRU);
+ PHP_MINIT(spl_sxe)(INIT_FUNC_ARGS_PASSTHRU);
return SUCCESS;
}
@@ -175,9 +177,13 @@ PHP_FUNCTION(spl_classes)
SPL_ADD_CLASS(FilterIterator);
SPL_ADD_CLASS(LimitIterator);
SPL_ADD_CLASS(ParentIterator);
+ SPL_ADD_CLASS(RecursiveDirectoryIterator);
SPL_ADD_CLASS(RecursiveIterator);
SPL_ADD_CLASS(RecursiveIteratorIterator);
SPL_ADD_CLASS(SeekableIterator);
+ if (spl_ce_SimpleXMLIterator) {
+ SPL_ADD_CLASS(SimpleXMLIterator);
+ }
}
/* }}} */