Since the original author of this fix, @hajikelist , didn't have time to fix it, and I also find it annoying, I have forked&fixed, so resulting example code is easier to follow.
Issue #191 Some remarks about poor programming practices...
Merge branch 'master' of git:rapid2k1/simplepie
Thanks for the pull request! Can you please change the spaces to tabs in your patch? (On the line inside the if statement)
Issue #191 Style fixes...