What does this code do? Recursive Iterator in php?
- by Ali
I'm working on a zend framework based email project and I'm following some code samples online.. I can't understand this line of code which apparently loops through different 'parts' of an email message. I have no idea how it works btw and suspect that theres some error taking place which my parser isn't showing right.
foreach (new RecursiveIteratorIterator($mail->getMessage($i)) as $ii=>$part)
what does the above foreach loop mean?