cvs: php-src /ext/spl README
| From: | Marcus Boerger | Date: | Tue, 09 Mar 2004 16:58:16 +0000 |
| Subject: | cvs: php-src /ext/spl README | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-26571@lists.php.net to get a copy of this message | ||
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).