Coding
Bumbled my way into this quirk with foreach loops and references
Even by the usual PHP reference problems, this one is funky! The real lesson here is that whenever you use a reference with foreach, always unset the reference variable afterwards, there’s too much potential pain Read more…