mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Move the note to where it belongs
#Thanks Matt! git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224256 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
56b1cbc1a9
commit
6c1d33f09e
1 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.170 $ -->
|
||||
<!-- $Revision: 1.171 $ -->
|
||||
<chapter id="language.types">
|
||||
<title>Types</title>
|
||||
|
||||
|
@ -1182,6 +1182,13 @@ $third = $str{2};
|
|||
is converted to a string representing the number with its digits
|
||||
(including the exponent part for floating point numbers).
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
The decimal point character is defined in the script's
|
||||
locale (category LC_NUMERIC).
|
||||
See <function>setlocale</function>.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
Arrays are always converted to the string <literal>"Array"</literal>,
|
||||
so you cannot dump out the contents of an <type>array</type> with
|
||||
|
@ -1262,13 +1269,6 @@ $foo = "10.0 pigs " + 1.0; // $foo is float (11)
|
|||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
<note>
|
||||
<para>
|
||||
The decimal point character is defined in the script's
|
||||
locale (category LC_NUMERIC).
|
||||
See <function>setlocale</function>.
|
||||
</para>
|
||||
</note>
|
||||
<simpara>
|
||||
For more information on this conversion, see the Unix manual page
|
||||
for strtod(3).
|
||||
|
|
Loading…
Reference in a new issue