Actually I think your iterator solution is not half bad. It could work very well where nested foreach loops are not an option.
I'd drop the redundant array_limits array, however.
In reply to Re^3: glob quietly fails
by martin
in thread glob quietly fails
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |