vrana Tue Apr 12 03:40:56 2005 EDT
Modified files:
/phpdoc/en/language types.xml
Log:
Floats in array key (bug #32671)
http://cvs.php.net/diff.php/phpdoc/en/language/types.xml?r1=1.152&r2=1.153&ty=u
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.152 phpdoc/en/language/types.xml:1.153
--- phpdoc/en/language/types.xml:1.152 Tue Apr 5 08:20:44 2005
+++ phpdoc/en/language/types.xml Tue Apr 12 03:40:55 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.152 $ -->
+<!-- $Revision: 1.153 $ -->
<chapter id="language.types">
<title>Types</title>
@@ -1336,7 +1336,9 @@
be interpreted as such (i.e. <literal>"8"</literal> will be
interpreted as <literal>8</literal>, while
<literal>"08"</literal> will be interpreted as
- <literal>"08"</literal>). There are no different indexed and
+ <literal>"08"</literal>).
+ Floats in <varname>key</varname> are truncated to <type>integer</type>.
+ There are no different indexed and
associative array types in PHP; there is only one array type,
which can both contain integer and string indices.
</para>