Re: array_has_more

From: Date: Mon, 07 Jul 2003 15:03:50 +0000
Subject: Re: array_has_more
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-3287@lists.php.net to get a copy of this message
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 <jason@inetgurus.net> <jason@php.net>

« previous php.internals (#3287) next »