RFC: Fix "foreach" behavior

Project Governance
Author
Dmitry Stogov
Target
7.0
The behavior of foreach statement in PHP for some edge cases is not exactly defined. Actually, it is implementation driven and quite weird.

Fix foreach behavoir?

Overall Results

Yes
No
Yes
34 Votes (97%)
No
1 Votes (3%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Stop using internal array/object pointer in foreach by reference?

Overall Results

Yes
No
Yes
34 Votes (97%)
No
1 Votes (3%)

Voting Timeline

Dates based on UTC

Voting Breakdown