-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Array Data Address Reference Issue #10519
Labels
Comments
I think I've figured out the issue: The default behaviour of Lines 1487 to 1498 in c8ec2ed
Not sure exactly how to fix this but replacing the array entry with an instance of |
NathanFreeman
added a commit
to NathanFreeman/php-src
that referenced
this issue
Mar 2, 2023
Girgias
added a commit
that referenced
this issue
Mar 10, 2023
* PHP-8.1: Fix GH-10519: Array Data Address Reference Issue
Girgias
added a commit
that referenced
this issue
Mar 10, 2023
* PHP-8.2: Fix GH-10519: Array Data Address Reference Issue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When I try to create a new record inside a RecursiveArrayIterator Object using offsetSet method, the previously specified address reference is cancelled and I lose the connection with the object.
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
Operating System
The text was updated successfully, but these errors were encountered: