@ 3:45:39 AM on 4/12/2001, Brian Clark wrote:
...
>> You don't need to reset() the array, You also don't need list() and
>> each(), which impose additional overhead. You put the array loop to
>> the foreach() implementation, which is in C, instead of
>> implementing it with PHP with while(), list() and each(). That must
>> be a lot faster.
D'oh, I need to be asleep. Sorry for shooting blanks. :)
Anyway, I was just going to say that I wanted this in PHP3 for a long
time (foreach()), then it arrived, and we're still using PHP3 for
various reasons (don't ask) and PHP3 doesn't have foreach(). :(
<violin>
It's quite a sad story.
</violin>
-Brian
--
PGP is spoken here: 0xE4D0C7C8
Please do not carbon copy me on list replies.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]