cvs: phpdoc /en/reference/array/functions array-reverse.xml ksort.xml
| From: | Thomas Schoefbeck | Date: | Sun, 29 Jun 2003 07:43:05 +0000 |
| Subject: | cvs: phpdoc /en/reference/array/functions array-reverse.xml ksort.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969354930@lists.php.net to get a copy of this message | ||
tom Sun Jun 29 03:43:05 2003 EDT
Modified files:
/phpdoc/en/reference/array/functions array-reverse.xml ksort.xml
Log:
added php-pi's
Index: phpdoc/en/reference/array/functions/array-reverse.xml
diff -u phpdoc/en/reference/array/functions/array-reverse.xml:1.5
phpdoc/en/reference/array/functions/array-reverse.xml:1.6
--- phpdoc/en/reference/array/functions/array-reverse.xml:1.5 Mon Jun 16 08:03:39 2003
+++ phpdoc/en/reference/array/functions/array-reverse.xml Sun Jun 29 03:43:05 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.62 -->
<refentry id="function.array-reverse">
<refnamediv>
@@ -26,9 +26,11 @@
<title><function>array_reverse</function> example</title>
<programlisting role="php">
<![CDATA[
+<?php
$input = array ("php", 4.0, array ("green", "red"));
$result = array_reverse ($input);
$result_keyed = array_reverse ($input, TRUE);
+?>
]]>
</programlisting>
<para>
Index: phpdoc/en/reference/array/functions/ksort.xml
diff -u phpdoc/en/reference/array/functions/ksort.xml:1.5
phpdoc/en/reference/array/functions/ksort.xml:1.6
--- phpdoc/en/reference/array/functions/ksort.xml:1.5 Mon Jun 16 08:03:39 2003
+++ phpdoc/en/reference/array/functions/ksort.xml Sun Jun 29 03:43:05 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.ksort">
<refnamediv>
@@ -22,12 +22,14 @@
<title><function>ksort</function> example</title>
<programlisting role="php">
<![CDATA[
+<?php
$fruits = array ("d"=>"lemon", "a"=>"orange",
"b"=>"banana", "c"=>"apple");
ksort ($fruits);
reset ($fruits);
while (list ($key, $val) = each ($fruits)) {
echo "$key = $val\n";
}
+?>
]]>
</programlisting>
<para>