mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Typo fixes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51470 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c1d6147421
commit
289dcc45a1
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue