diff --git a/language/control-structures.xml b/language/control-structures.xml index f4271cf885..f16e893522 100644 --- a/language/control-structures.xml +++ b/language/control-structures.xml @@ -1,5 +1,5 @@ - + Control Structures @@ -541,7 +541,7 @@ foreach (array_expression as $key => $value) Unless the array is referenced, foreach operates on a copy of the specified array and not the array itself.foreach has - some side effets on the array pointer. Don't rely on the array pointer during + some side effects on the array pointer. Don't rely on the array pointer during or after the foreach without resetting it.