- fixed xml

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179306 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Leszek Krupinski 2005-02-09 09:17:08 +00:00
parent 89a0b7b767
commit 35decc6ba7

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<!-- $Revision: 1.13 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
<refentry id="function.list">
<refnamediv>
@ -90,10 +90,9 @@ while (list($id, $name, $salary) = mysql_fetch_row($result)) {
assigned in the reverse order.
</para>
</warning>
<para>
<example>
<title>Using <function>list</function> with array indices</title>
<programlisting role="php">
<example>
<title>Using <function>list</function> with array indices</title>
<programlisting role="php">
<![CDATA[
<?php
@ -105,12 +104,12 @@ var_dump($a);
?>
]]>
</programlisting>
<para>
Gives the following output (note the order of the elements compared in
which order they were written in the <function>list</function> syntax):
</para>
<screen>
</programlisting>
<para>
Gives the following output (note the order of the elements compared in
which order they were written in the <function>list</function> syntax):
</para>
<screen>
<![CDATA[
array(3) {
[2]=>
@ -121,9 +120,8 @@ array(3) {
string(6) "coffee"
}
]]>
</screen>
</example>
</para>
</screen>
</example>
<para>
See also <function>each</function>, <function>array</function>
and <function>extract</function>.