diff --git a/language/oop5/iterations.xml b/language/oop5/iterations.xml index 3965ff8c68..0c137efae1 100644 --- a/language/oop5/iterations.xml +++ b/language/oop5/iterations.xml @@ -1,5 +1,5 @@ - + Object Iteration @@ -7,7 +7,7 @@ PHP 5 provides a way for objects to be defined so it is possible to iterate through a list of items, with, for example a foreach statement. By default, - all visible properties will be used + all visible properties will be used for the iteration. @@ -68,7 +68,7 @@ private => private var As the output shows, the foreach iterated through all - visible variables that can be + visible variables that can be accessed. To take it a step further you can implement one of PHP 5's internal interface named