cvs: phpdoc /en language-snippets.ent /en/reference/array/functions array-change-key-case.xml array-diff.xml array-keys.xml array-pop.xml
/en/reference/mysql/functions mysql-fetch-array.xml mysql-fetch-assoc.xml mysql-fetch-field.xml mysql-fetch-object.xml mysql-fetch-row.xml
mysql-field-name.xml

From: Date: Sun, 18 May 2003 02:32:19 +0000
Subject: cvs: phpdoc /en language-snippets.ent /en/reference/array/functions array-change-key-case.xml array-diff.xml array-keys.xml array-pop.xml
/en/reference/mysql/functions mysql-fetch-array.xml mysql-fetch-assoc.xml mysql-fetch-field.xml mysql-fetch-object.xml mysql-fetch-row.xml
mysql-field-name.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353611@lists.php.net to get a copy of this message
alindeman Sat May 17 22:32:19 2003 EDT Modified files: /phpdoc/en language-snippets.ent /phpdoc/en/reference/array/functions array-change-key-case.xml array-diff.xml array-keys.xml array-pop.xml /phpdoc/en/reference/mysql/functions mysql-fetch-array.xml mysql-fetch-assoc.xml mysql-fetch-field.xml mysql-fetch-object.xml mysql-fetch-row.xml mysql-field-name.xml Log: note integration

Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.49 phpdoc/en/language-snippets.ent:1.50 --- phpdoc/en/language-snippets.ent:1.49 Sun May 4 13:15:36 2003 +++ phpdoc/en/language-snippets.ent Sat May 17 22:32:19 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.49 $ --> +<!-- $Revision: 1.50 $ --> <!ENTITY warn.experimental '<warning><simpara>This extension is <emphasis>EXPERIMENTAL</emphasis>. The behaviour of this extension -- @@ -183,6 +183,10 @@ <!ENTITY php '<literal>PHP</literal>'> <!ENTITY safemode '<link linkend="ini.safe-mode">safe mode</link>'> +<!-- Some MySQL Notes --> +<!ENTITY mysql.field-case '<note><simpara>Field names returned by this function +as <emphasize>case-sensitive</emphasize></simpara></note>'> + <!-- These are using in reference/$extname/reference.xml and other supplemental files to mark section titles --> <!ENTITY reftitle.intro '<title>Introduction</title>'> @@ -202,3 +206,4 @@ <!ENTITY ipv6.php5 '<note><simpara>IPv6 Support was added with <literal>PHP 5.0 </literal>.</simpara></note>'> + Index: phpdoc/en/reference/array/functions/array-change-key-case.xml diff -u phpdoc/en/reference/array/functions/array-change-key-case.xml:1.6 phpdoc/en/reference/array/functions/array-change-key-case.xml:1.7 --- phpdoc/en/reference/array/functions/array-change-key-case.xml:1.6 Fri Nov 1 13:35:26 2002 +++ phpdoc/en/reference/array/functions/array-change-key-case.xml Sat May 17 22:32:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.113 --> <refentry id="function.array-change-key-case"> <refnamediv> @@ -45,6 +45,11 @@ </screen> </para> </example> + <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. + </para> </refsect1> </refentry> Index: phpdoc/en/reference/array/functions/array-diff.xml diff -u phpdoc/en/reference/array/functions/array-diff.xml:1.7 phpdoc/en/reference/array/functions/array-diff.xml:1.8 --- phpdoc/en/reference/array/functions/array-diff.xml:1.7 Fri Jan 10 17:22:40 2003 +++ phpdoc/en/reference/array/functions/array-diff.xml Sat May 17 22:32:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.14 --> <refentry id="function.array-diff"> <refnamediv> @@ -60,7 +60,7 @@ </warning> <para> See also <function>array_diff_assoc</function>, - <function>array_intersect</function> and + <function>array_intersect</function>, and <function>array_intersect_assoc</function>. </para> </refsect1> Index: phpdoc/en/reference/array/functions/array-keys.xml diff -u phpdoc/en/reference/array/functions/array-keys.xml:1.4 phpdoc/en/reference/array/functions/array-keys.xml:1.5 --- phpdoc/en/reference/array/functions/array-keys.xml:1.4 Sun May 12 04:19:28 2002 +++ phpdoc/en/reference/array/functions/array-keys.xml Sat May 17 22:32:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.array-keys"> <refnamediv> @@ -35,7 +35,8 @@ $array = array ("blue", "red", "green", "blue", "blue"); print_r(array_keys ($array, "blue")); -$array = array ("color" => array("blue", "red", "green"), "size" => array("small", "medium", "large")); +$array = array ("color" => array("blue", "red", "green"), + "size" => array("small", "medium", "large")); print_r(array_keys ($array)); ]]> </programlisting> Index: phpdoc/en/reference/array/functions/array-pop.xml diff -u phpdoc/en/reference/array/functions/array-pop.xml:1.5 phpdoc/en/reference/array/functions/array-pop.xml:1.6 --- phpdoc/en/reference/array/functions/array-pop.xml:1.5 Wed Feb 5 02:20:39 2003 +++ phpdoc/en/reference/array/functions/array-pop.xml Sat May 17 22:32:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.array-pop"> <refnamediv> @@ -46,7 +46,7 @@ ) ]]> </screen> - and <literal>rasberry</literal> will be assigned to + and <literal>raspberry</literal> will be assigned to <varname>$fruit</varname>. </para> </example> Index: phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml:1.8 phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml:1.9 --- phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml:1.8 Tue Apr 15 15:06:50 2003 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml Sat May 17 22:32:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.27 --> <refentry id="function.mysql-fetch-array"> <refnamediv> @@ -63,6 +63,7 @@ using MYSQL_NUM, you only get number indices (as <function>mysql_fetch_row</function> works). </para> + &mysql.field-case; <example> <title>mysql_fetch_array with MYSQL_NUM</title> <programlisting role="php"> Index: phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml:1.5 Thu Jan 9 07:58:05 2003 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml Sat May 17 22:32:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.45 --> <refentry id="function.mysql-fetch-assoc"> <refnamediv> @@ -41,6 +41,7 @@ <function>mysql_fetch_row</function>, while it provides a significant added value. </para> + &mysql.field-case; <example> <title>An expanded <function>mysql_fetch_assoc</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.4 phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.5 --- phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.4 Sun Dec 1 21:37:29 2002 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml Sat May 17 22:32:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-fetch-field"> <refnamediv> @@ -91,6 +91,7 @@ </listitem> </itemizedlist> </para> + &mysql.field-case; <example> <title><function>mysql_fetch_field</function></title> <programlisting role="php"> Index: phpdoc/en/reference/mysql/functions/mysql-fetch-object.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-object.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-fetch-object.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-fetch-object.xml:1.3 Sat May 17 14:33:59 2003 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-object.xml Sat May 17 22:32:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-fetch-object"> <refnamediv> @@ -23,6 +23,7 @@ that you can only access the data by the field names, and not by their offsets (numbers are illegal property names). </para> + &mysql.field-case; <para> <programlisting role="php"> <![CDATA[ Index: phpdoc/en/reference/mysql/functions/mysql-fetch-row.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-row.xml:1.2 phpdoc/en/reference/mysql/functions/mysql-fetch-row.xml:1.3 --- phpdoc/en/reference/mysql/functions/mysql-fetch-row.xml:1.2 Wed Apr 17 02:41:11 2002 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-row.xml Sat May 17 22:32:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-fetch-row"> <refnamediv> @@ -27,6 +27,7 @@ return the next row in the result set, or &false; if there are no more rows. </para> + &mysql.field-case; <para> See also: <function>mysql_fetch_array</function>, <function>mysql_fetch_object</function>, Index: phpdoc/en/reference/mysql/functions/mysql-field-name.xml diff -u phpdoc/en/reference/mysql/functions/mysql-field-name.xml:1.4 phpdoc/en/reference/mysql/functions/mysql-field-name.xml:1.5 --- phpdoc/en/reference/mysql/functions/mysql-field-name.xml:1.4 Sat May 17 14:33:59 2003 +++ phpdoc/en/reference/mysql/functions/mysql-field-name.xml Sat May 17 22:32:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-field-name"> <refnamediv> @@ -30,6 +30,7 @@ of the fourth field would be 3 and so on. </para> </note> + &mysql.field-case; <para> <example> <title><function>mysql_field_name</function> example</title>
« previous php.doc (#969353611) next »