I do this exact thing all the time, and have never encountered any
difficulties.

-Jason

On Sat, 2003-07-05 at 09:55, Sascha Schumann wrote:
> On Sat, 5 Jul 2003, Marcus [x-unknown] Börger wrote:
> 
> > Hello Andi,
> >
> > there was nothing in this thread that was against adding it besides Sascha
> > suggestion that following code would do the trick:
> 
>     There was also nothing in favor of it.  Beside the cludgy
>     name, array loops can simply be written using either one of
>     these notations:
> 
>     while (list(..) = each($foo))
>     while (key($foo) !== false)
>     foreach ($foo as ..)
> 
>     I don't see the need to add another API to this list.
> 
>     - Sascha
-- 
Jason Greene <[EMAIL PROTECTED]>
             <[EMAIL PROTECTED]>


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to