diff --git a/language/control-structures/elseif.xml b/language/control-structures/elseif.xml index 591df0f795..aeb8fb77fa 100644 --- a/language/control-structures/elseif.xml +++ b/language/control-structures/elseif.xml @@ -69,17 +69,17 @@ if ($a > $b) { $b): +if ($a > $b): echo $a." is greater than ".$b; -else if($a == $b): // Will not compile. +else if ($a == $b): // Will not compile. echo "The above line causes a parse error."; endif; /* Correct Method: */ -if($a > $b): +if ($a > $b): echo $a." is greater than ".$b; -elseif($a == $b): // Note the combination of the words. +elseif ($a == $b): // Note the combination of the words. echo $a." equals ".$b; else: echo $a." is neither greater than or equal to ".$b;