Maybe you can tell us what you want to achieve, what makes you think that foreach is the right tool for that goal, and what problems are stopping you?
foreach ($xml) { print; };
works as expected for me.
Update: kyle spotted a broken link, fixed
In reply to Re: Foreach hash of array
by Corion
in thread Foreach hash of array
by rose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |