helly Tue Mar 9 11:58:16 2004 EDT
Modified files:
/php-src/ext/spl README
Log:
Update
http://cvs.php.net/diff.php/php-src/ext/spl/README?r1=1.5&r2=1.6&ty=u
Index: php-src/ext/spl/README
diff -u php-src/ext/spl/README:1.5 php-src/ext/spl/README:1.6
--- php-src/ext/spl/README:1.5 Sat Jan 10 18:49:26 2004
+++ php-src/ext/spl/README Tue Mar 9 11:58:11 2004
@@ -24,3 +24,19 @@
class DirectoryIterator implements Iterator
class RecursiveDirectoryIterator extends DirectoryIterator implements
RecursiveIterator
+
+3) XML
+
+SPL offers an advanced XML handling class.
+
+class SimpleXMLIterator extends simplexml_element extends recursiveiterator
+
+4) Array Overloading
+
+SPL offers advanced Array overloading.
+
+class ArrayObject implements IteratorAggregate
+class ArrayIterator implements Iterator
+
+As the above suggest an ArrayObject creates an ArrayIterator when it comes to
+iteration (e.g. ArrayObject instance used inside foreach).
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php