cvs: php-src /ext/spl spl.php
| From: | George Schlossnagle | Date: | Sun, 29 Aug 2004 13:37:10 +0000 |
| Subject: | cvs: php-src /ext/spl spl.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28495@lists.php.net to get a copy of this message | ||
gschlossnagle Sun Aug 29 09:37:10 2004 EDT
Modified files:
/php-src/ext/spl spl.php
Log:
A little cleanup on the language refinements.
http://cvs.php.net/diff.php/php-src/ext/spl/spl.php?r1=1.27&r2=1.28&ty=u
Index: php-src/ext/spl/spl.php
diff -u php-src/ext/spl/spl.php:1.27 php-src/ext/spl/spl.php:1.28
--- php-src/ext/spl/spl.php:1.27 Sun Aug 29 07:54:38 2004
+++ php-src/ext/spl/spl.php Sun Aug 29 09:37:10 2004
@@ -541,11 +541,11 @@
* \brief recursive SimpleXML_Element iterator
*
* The SimpleXMLIterator implements the RecursiveIterator interface. This
- * allows to iterate over all elements using foreach or an appropriate while
- * construct just like SimpleXMLElement does. But using the foreach construct,
- * you will also iterate over the subelements, because for every element which
- * has subelements hasChildren() returns true what results in a call to
- * getChildren() which then returns the iterator for that sub element.
+ * allows iteration over all elements using foreach or an appropriate while
+ * construct, just like SimpleXMLElement does. When using the foreach construct,
+ * you will also iterate over the subelements. For every element which
+ * has subelements, hasChildren() returns true. This will trigger a call to
+ * getChildren() which returns the iterator for that sub element.
*/
class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator
{
@@ -558,4 +558,4 @@
function getChildren();
}
-?>
\ No newline at end of file
+?>