diff options
-rwxr-xr-x | ext/spl/spl.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/spl/spl.php b/ext/spl/spl.php index cfd07b5bb2..6ad94f7ea2 100755 --- a/ext/spl/spl.php +++ b/ext/spl/spl.php @@ -541,11 +541,11 @@ class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveI * \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 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator function getChildren(); } -?>
\ No newline at end of file +?> |