Re: array_has_more

From: Date: Sat, 05 Jul 2003 14:55:33 +0000
Subject: Re: array_has_more
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-3265@lists.php.net to get a copy of this message
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

« previous php.internals (#3265) next »