fix spelling

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278865 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2009-04-16 20:12:03 +00:00
parent 794dd120a1
commit d6f1644922
9 changed files with 26 additions and 26 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.16 $ -->
<!-- $Revision: 1.17 $ -->
<refentry xml:id="function.array-change-key-case" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_change_key_case</refname>
@ -95,8 +95,8 @@ Array
<note>
<para>
If an array has indices that will be the same once run through this
function (e.g. "keY" and "kEY"), the value that is later in the array
will override other indices.
function (e.g. "<literal>keY</literal>" and "<literal>kEY</literal>"),
the value that is later in the array will override other indices.
</para>
</note>
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<refentry xml:id="function.array-diff-assoc" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_diff_assoc</refname>
@ -17,7 +17,7 @@
<para>
Compares <parameter>array1</parameter> against <parameter>array2</parameter> and
returns the difference. Unlike <function>array_diff</function> the array
keys are used in the comparision.
keys are used in the comparison.
</para>
</refsect1>
@ -79,9 +79,9 @@
<title><function>array_diff_assoc</function> example</title>
<para>
In this example you see the <literal>"a" =&gt; "green"</literal>
pair is present in both arrays and thus it is not in the ouput from the
pair is present in both arrays and thus it is not in the output from the
function. Unlike this, the pair <literal>0 =&gt; "red"</literal>
is in the ouput because in the second argument <literal>"red"</literal>
is in the output because in the second argument <literal>"red"</literal>
has key which is <literal>1</literal>.
</para>
<programlisting role="php">

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<refentry xml:id="function.array-diff-uassoc" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_diff_uassoc</refname>
@ -18,11 +18,11 @@
<para>
Compares <parameter>array1</parameter> against <parameter>array2</parameter> and
returns the difference. Unlike <function>array_diff</function> the array
keys are used in the comparision.
keys are used in the comparison.
</para>
<para>
Unlike <function>array_diff_assoc</function> an user supplied callback
function is used for the indices comparision, not internal function.
function is used for the indices comparison, not internal function.
</para>
</refsect1>
@ -96,9 +96,9 @@
<title><function>array_diff_uassoc</function> example</title>
<para>
The <literal>"a" =&gt; "green"</literal>
pair is present in both arrays and thus it is not in the ouput from the
pair is present in both arrays and thus it is not in the output from the
function. Unlike this, the pair <literal>0 =&gt; "red"</literal>
is in the ouput because in the second argument <literal>"red"</literal>
is in the output because in the second argument <literal>"red"</literal>
has key which is <literal>1</literal>.
</para>
<programlisting role="php">

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<refentry xml:id="function.array-diff-ukey" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_diff_ukey</refname>
@ -23,7 +23,7 @@
</para>
<para>
Unlike <function>array_diff_key</function> an user supplied callback
function is used for the indices comparision, not internal function.
function is used for the indices comparison, not internal function.
</para>
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.17 $ -->
<!-- $Revision: 1.18 $ -->
<refentry xml:id="function.array-diff" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_diff</refname>
@ -105,8 +105,8 @@ print_r($result);
]]>
</programlisting>
<para>
Multiple occurrences in $array1 are all treated the same way.
This will output :
Multiple occurrences in <varname>$array1</varname> are all
treated the same way. This will output :
</para>
<screen>
<![CDATA[

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- $Revision: 1.14 $ -->
<refentry xml:id="function.array-udiff-assoc" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_udiff_assoc</refname>
@ -133,7 +133,7 @@ Array
</para>
<simpara>
In our example above you see the <literal>"1" =&gt; new cr(4)</literal>
pair is present in both arrays and thus it is not in the ouput from the
pair is present in both arrays and thus it is not in the output from the
function.
</simpara>
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.16 $ -->
<!-- $Revision: 1.17 $ -->
<refentry xml:id="function.array-udiff-uassoc" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_udiff_uassoc</refname>
@ -148,7 +148,7 @@ Array
</para>
<simpara>
In our example above you see the <literal>"1" =&gt; new cr(4)</literal>
pair is present in both arrays and thus it is not in the ouput from the
pair is present in both arrays and thus it is not in the output from the
function. Keep in mind that you have to supply 2 callback functions.
</simpara>
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.23 $ -->
<!-- $Revision: 1.24 $ -->
<refentry xml:id="function.each" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>each</refname>
@ -153,7 +153,7 @@ c => cranberry
<warning>
<para>
<function>each</function> will also accept objects, but may return unexpected
results. Its therefore not recommeded to iterate though object properties
results. Its therefore not recommended to iterate though object properties
with <function>each</function>.
</para>
</warning>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.25 $ -->
<!-- $Revision: 1.26 $ -->
<refentry xml:id="function.extract" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>extract</refname>
@ -17,8 +17,8 @@
Import variables from an array into the current symbol table.
</para>
<para>
<function>extract</function> checks each key to see whether it has a valid
variable name. It also checks for collisions with existing variables in
Checks each key to see whether it has a valid variable name.
It also checks for collisions with existing variables in
the symbol table.
</para>
</refsect1>