From: Marcus Boerger Date: Sun, 20 Jul 2003 12:30:05 +0000 (+0000) Subject: Update docu X-Git-Tag: BEFORE_ARG_INFO~178 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a2e76d72c623827d48eac50285de18d87e12497;p=php Update docu --- diff --git a/ext/spl/spl.php b/ext/spl/spl.php index e52a15a214..4f664d2ffe 100755 --- a/ext/spl/spl.php +++ b/ext/spl/spl.php @@ -141,6 +141,13 @@ interface spl_forward { /*! \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();