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 by-ref unpack sending of offsets #14205

Closed
wants to merge 1 commit into from
Closed

Conversation

iluuu1994
Copy link
Member

@iluuu1994 iluuu1994 commented May 11, 2024

Fixes GH-14202

Unfortunately, fetching by RW is not side-effect free. In particular, the variable and any undefined offsets will be created (see Zend/tests/arg_unpack/gh14202_side_effect.phpt).

@iluuu1994
Copy link
Member Author

Hmm, looking at Zend/tests/bug78356.php, this is breaking 😕 Not sure if there's an easy solution for this.

@iluuu1994
Copy link
Member Author

I don't think there's an easy solution.

@iluuu1994 iluuu1994 closed this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible regression with spreading nested arrays into a function call and references
1 participant