symfony/symfony — pull request #6050 by dlsniper (2012-11-18 20:03:02+00:00)
Title: [2.1] Fixed some wrong assignments in foreach loops

Bug fix: yes
Feature addition: no
Backwards compatibility break: no, hope not
Symfony2 tests pass: yes
Fixes the following tickets: ~
Todo: -
License of the code: MIT
Documentation PR: ~

This should fix some unexpected behavior from the assignments done in foreach.
I'm not sure if it's a BC break or not as there might be some code that relies unawarely on the fixed behavior.