There are at least 6 different kinds of for/foreach, so that's a rather vague question. More efficient to do what?
In reply to Re: Difference between foreach and grep
by ikegami
in thread Difference between foreach and grep
by velusamy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |