philip Wed Mar 27 20:23:18 2002 EDT
Modified files:
/phpdoc/en/functions array.xml
Log:
list: Only works on numerical arrays, and assumes it begins at 0. Am writing
this as a note as this behavoir will be changed one day.
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.170 phpdoc/en/functions/array.xml:1.171
--- phpdoc/en/functions/array.xml:1.170 Wed Mar 27 19:26:19 2002
+++ phpdoc/en/functions/array.xml Wed Mar 27 20:23:18 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.170 $ -->
+<!-- $Revision: 1.171 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@@ -3128,6 +3128,12 @@
but a language construct. <function>list</function> is used to
assign a list of variables in one operation.
</para>
+ <note>
+ <para>
+ <function>list</function> only works on numerical arrays and assumes
+ the numerical indices start at 0.
+ </para>
+ </note>
<para>
<example>
<title><function>list</function> examples</title>