jan Sun Aug 29 07:54:39 2004 EDT
Modified files:
/php-src/ext/spl spl.php
Log:
- language refinements
http://cvs.php.net/diff.php/php-src/ext/spl/spl.php?r1=1.26&r2=1.27&ty=u
Index: php-src/ext/spl/spl.php
diff -u php-src/ext/spl/spl.php:1.26 php-src/ext/spl/spl.php:1.27
--- php-src/ext/spl/spl.php:1.26 Sun Aug 29 06:33:24 2004
+++ php-src/ext/spl/spl.php Sun Aug 29 07:54:38 2004
@@ -540,12 +540,12 @@
/** \ingroup SPL
* \brief recursive SimpleXML_Element iterator
*
- * SimpleXMLIterator implements the RecursiveIterator interface. This allows
- * to iterator over all elements using foreach or 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 sub
- * elements hasChildren() returns true what results in a call to getchildren()
- * which then returns the iterator for that sub element.
+ * 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.
*/
class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator
{
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php