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
+?>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php