11
If it's a case of changing all the foreach statements then I'd suggest leaving it to the core developers. The XOOPS core is filled with foreach loops written that way - it's not just a case of changing a few files, it's a major change, best left to the ones who really know the code imho.
I saw that it's also used in the Smarty plugin - so I took at look at
the Smarty website and found
one post from someone having problems with foreach... they were advised to upgrade the Zend-optimizer. Just for the record, are you running the latest zend-optimizer? I was just curious after reading the advice from the Smarty website.
Rowd