Skip to content

gen_stub: Implement deep cloning using array_map()#21555

Open
TimWolla wants to merge 1 commit intophp:masterfrom
TimWolla:gen-stub-clone-forward-compatibility
Open

gen_stub: Implement deep cloning using array_map()#21555
TimWolla wants to merge 1 commit intophp:masterfrom
TimWolla:gen-stub-clone-forward-compatibility

Conversation

@TimWolla
Copy link
Copy Markdown
Member

This is for forward compatibility when the deep-cloned arrays will become readonly. Reassigning each item individually is not allowed then.

Extracted from #21554 and dependent on that.

This is for forward compatibility when the deep-cloned arrays will become
`readonly`. Reassigning each item individually is not allowed then.
@TimWolla TimWolla marked this pull request as ready for review March 27, 2026 19:06
@TimWolla TimWolla requested a review from kocsismate as a code owner March 27, 2026 19:06
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.

2 participants