irc-html Wed Jan 9 19:07:21 2002 EDT
Modified files:
/phpdoc/en/functions array.xml
Log:
corrected spelling errors
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.150 phpdoc/en/functions/array.xml:1.151
--- phpdoc/en/functions/array.xml:1.150 Fri Jan 4 19:06:15 2002
+++ phpdoc/en/functions/array.xml Wed Jan 9 19:07:21 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.150 $ -->
+<!-- $Revision: 1.151 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@@ -221,7 +221,7 @@
By setting the optional <parameter>preserve_keys</parameter>
parameter to &true;, you can force PHP to preserve the original
keys from the input array. If you specify &false; new number
- indicies will be used in each resulting array with
+ indices will be used in each resulting array with
indices starting from zero. The default is &false;.
</para>
<example>
@@ -366,7 +366,7 @@
</para>
<para>
This makes <varname>$result</varname> have
- <literal>array ("blue");</literal>. Multiple occurences in
+ <literal>array ("blue");</literal>. Multiple occurrences in
$array1 are all treated the same way.
</para>
<note>
@@ -494,7 +494,7 @@
flipped</emphasis>.
</para>
<para>
- If a value has several occurences, the latest key will be
+ If a value has several occurrences, the latest key will be
used as its values, and all others will be lost.
</para>
<para>
@@ -1208,7 +1208,7 @@
</para>
<para>
No two sorting flags of the same type can be specified after each
- array. The sortings flags specified after an array argument apply
+ array. The sorting flags specified after an array argument apply
only to that array - they are reset to default SORT_ASC and
SORT_REGULAR after before each new array argument.
</para>
@@ -1583,8 +1583,8 @@
<function>array_reduce</function> applies iteratively the
<parameter>callback</parameter> function to the elements of the
array <parameter>input</parameter>, so as to reduce the array to
- a single value. If the optional <parameter>intial</parameter> is
- avaliable, it will be used at the beginning of the process, or as
+ a single value. If the optional <parameter>initial</parameter> is
+ available, it will be used at the beginning of the process, or as
a final result in case the array is empty.
</para>
<para>
@@ -3280,7 +3280,7 @@
regular computer string sorting algorithms.
</para>
<para>
- For more infomation see: Martin Pool's <ulink
+ For more information see: Martin Pool's <ulink
url="&url.strnatcmp;">Natural Order String Comparison</ulink>
page.
</para>