Repository navigation
fix(loop): a foreach that is entered holds what an iteration ends with, at a continue too - #14418
Merged
orklah merged 1 commit intoNov 21, 2026
Merged
Conversation
…h, at a continue too vimeo#14262 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Behaviour change
|
Contributor
✅ Performance: unchanged · Types: decreased
How to read this table
✅ symfony: issues +1 −1Memory 3 606 → 3 606 MB (<0.1 %) · Wall 202.9 → 201.8 s (−0.6 %)
Added (1)
Removed (1)
✅ tempest: issues +0 −1Memory 905 → 905 MB (+0.0 %) · Wall 36.9 → 36.9 s (<0.1 %) Weighted 10 505 → 10 502 (−3, −0.03 %): L3 −1
Removed (1)
head 348efba · base 1552477 (merge-base) · workflow run |
Collaborator
|
Thanks @jirkace! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A
foreachover a non-empty array whose body has acontinueis treated as possibly running zero times, so a variable every iteration sets keeps its value from before the loop.Before
After
Fixes #14262