dams            Tue Apr 17 09:02:35 2001 EDT

  Modified files:              
    /phpdoc/en/functions        array.xml 
  Log:
  Fixed example : return shouldn't be in while() statement...
  
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.65 phpdoc/en/functions/array.xml:1.66
--- phpdoc/en/functions/array.xml:1.65  Wed Apr 11 23:21:28 2001
+++ phpdoc/en/functions/array.xml       Tue Apr 17 09:02:35 2001
@@ -1452,8 +1452,8 @@
     $t = array();
     while (list($k, $v) = each ($arr)) {
         $t[] = $v;
-        return $t;
     }
+    return $t;
 }
        </programlisting>
       </example>


Reply via email to