diff --git a/language/types.xml b/language/types.xml index ba585ca1a0..722b54040d 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -793,7 +793,7 @@ EOT; The complex syntax was introduced in PHP 4, - and can by recognised + and can be recognised by the curly braces surrounding the expression. @@ -1100,7 +1100,7 @@ echo "\$foo==$foo; type is " . gettype ($foo) . "
\n"; integer 1 as key. Using false as a key will evalute to integer 0 as key. Using NULL as a key - will evalute to an empty string. Using an emptry string as key will + will evaluate to an empty string. Using an emptry string as key will create (or overwrite) a key with an empty string and its value, it is not the same as using empty brackets. @@ -1185,7 +1185,7 @@ unset( $a[2] ); The foreach - control structure exists specificly for arrays. It + control structure exists specifically for arrays. It provides an easy way to traverse an array.