|
Posted by Rik on 10/23/06 16:41
David Gillen wrote:
> No over head of $i, $i < comparison, and $i increment.
> foreach is a far too underused language construct. The other
> solutions posted are perfectly workable, I just have a strong
> preference for foreach when working with arrays.
Indeed, and it works with named keys, also a handy feature..
--
Rik Wasmus
Navigation:
[Reply to this message]
|