diff --git a/language/types.xml b/language/types.xml index 89071c4a40..6db35e31be 100644 --- a/language/types.xml +++ b/language/types.xml @@ -180,8 +180,8 @@ if ($show_separators) To explicitely convert a value to boolean, use either the (bool) or the (boolean) cast. However, in most cases you do not need to use the cast, since a value - will be autmatically converted if an operator, function or - control-structure requires a boolean-argument. + will be automatically converted if an operator, function or + control-structure requires a boolean argument. See also type-juggling. @@ -1874,7 +1874,7 @@ $bar = (double) $foo; // $bar is a double - Instead of casting a variable to string, you can also use enclose + Instead of casting a variable to string, you can also enclose the variable in double quotes.