in reply to Need help understanding some code ...

I'm missing the point of these four lines of code used together.
So do I. Those four lines modify $value, but then $value isn't used. In the next interation, $value is set to something else. At best, some unshown code uses $value, but then it will only have the (modified) value of the last pair.
  • Comment on Re: Need help understanding some code ...