cvs: phpdoc /en/functions array.xml
| From: | Markus Fischer | Date: | Thu, 27 Dec 2001 23:48:47 +0000 |
| Subject: | cvs: phpdoc /en/functions array.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969340397@lists.php.net to get a copy of this message | ||
mfischer Thu Dec 27 18:48:47 2001 EDT
Modified files:
/phpdoc/en/functions array.xml
Log:
- Added note about array_sum() behaviour in PHP < 4.0.6
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.145 phpdoc/en/functions/array.xml:1.146
--- phpdoc/en/functions/array.xml:1.145 Tue Dec 25 18:20:33 2001
+++ phpdoc/en/functions/array.xml Thu Dec 27 18:48:46 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.145 $ -->
+<!-- $Revision: 1.146 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@@ -1696,6 +1696,14 @@
</programlisting>
</example>
</para>
+ <note>
+ <para>
+ PHP versions prior to 4.0.6 modified the passed array
+ itself and converted strings to numbers (which most
+ of the time converted them to zero, depending on
+ their value).
+ </para>
+ </note>
</refsect1>
</refentry>