helly           Sun Jul 20 08:30:05 2003 EDT

  Modified files:              
    /spl        spl.php 
  Log:
  Update docu
  
Index: spl/spl.php
diff -u spl/spl.php:1.5 spl/spl.php:1.6
--- spl/spl.php:1.5     Wed Jul 16 05:48:36 2003
+++ spl/spl.php Sun Jul 20 08:30:05 2003
@@ -141,6 +141,13 @@
 
        /*! \brief Check if more elements are available.
         *
+        * This method is meant to be called right after calls to rewind() or
+        * next(). When you use foreach hooking then this is done automatically
+        * but you can use it inside a for loop yourself:
+        * \code
+          for(; $it->has_more(); $it->next()) { ... }
+          \endcode
+        *
         * \return \c bool whether or not more elements are available
         */
        function has_more();



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to