Typo fixes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51470 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2001-07-14 07:45:40 +00:00
parent c1d6147421
commit 289dcc45a1

View file

@ -180,8 +180,8 @@ if ($show_separators)
To explicitely convert a value to <type>boolean</type>, use either
the <literal>(bool)</literal> or the <literal>(boolean)</literal> 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 <type>boolean</type>-argument.
will be automatically converted if an operator, function or
control-structure requires a <type>boolean</type> argument.
</simpara>
<simpara>
See also <link linkend="language.types.type-juggling">type-juggling</link>.
@ -1874,7 +1874,7 @@ $bar = (double) $foo; // $bar is a double
</para>
<tip>
<simpara>
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.
<!-- TODO: example -->
</simpara>