diff --git a/language/basic-syntax.xml b/language/basic-syntax.xml index 7db49a048a..f12b8cfbed 100644 --- a/language/basic-syntax.xml +++ b/language/basic-syntax.xml @@ -1,5 +1,5 @@ - + Basic syntax @@ -138,7 +138,7 @@ if (boolean-expression) { Instruction separation - Instructions are separated the same as in C or perl - terminate + Instructions are separated the same as in C or Perl - terminate each statement with a semicolon. diff --git a/language/control-structures.xml b/language/control-structures.xml index 2362ccd9ad..6bee9af6b6 100644 --- a/language/control-structures.xml +++ b/language/control-structures.xml @@ -1,5 +1,5 @@ - + Control Structures @@ -451,7 +451,7 @@ for (expr1; expr2; expr3): statement; ...; endfor; <literal>foreach</literal> PHP 4 (not PHP 3) includes a foreach construct, - much like perl and some other languages. This simply gives an easy + much like Perl and some other languages. This simply gives an easy way to iterate over arrays. There are two syntaxes; the second is a minor but useful extension of the first: