Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix constant() behavior when used with ?? #4541

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

fabpot
Copy link
Contributor

@fabpot fabpot commented Jan 14, 2025

The fix is broader than just this bug. Basically, it happens when we clone a Node for which an referenced Node will be modified later on.

@fabpot fabpot merged commit 6513bc4 into twigphp:3.x Jan 14, 2025
45 of 50 checks passed
@fabpot fabpot deleted the constant-fix branch January 14, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants