pgerzson                Thu Dec 13 20:00:30 2001 EDT

  Modified files:              
    /phpdoc/en/functions        array.xml 
  Log:
  correct the array_keys() implementation for PHP 3 example
  
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.134 phpdoc/en/functions/array.xml:1.135
--- phpdoc/en/functions/array.xml:1.134 Wed Dec 12 15:46:36 2001
+++ phpdoc/en/functions/array.xml       Thu Dec 13 20:00:27 2001
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.134 $ -->
+<!-- $Revision: 1.135 $ -->
  <reference id="ref.array">
   <title>Array Functions</title>
   <titleabbrev>Arrays</titleabbrev>
@@ -703,10 +703,10 @@
     while (list($k,$v) = each($arr)) {
         if ($term && $v != $term) {
             continue;
-            $t[] = $k;
-        }
-        return $t;
-    }
+                               }
+        $t[] = $k;
+               }
+    return $t;
 }
 ]]>
        </programlisting>


Reply via email to