Skip to content

Inline and remove reflection_instantiate() #16739

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

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

DanielEScherzer
Copy link
Member

Since the return value is never used, the only difference between using this method and using object_init_ex() directly is the flipped order of parameters, and the added level of indirection - remove that level of indirection by replacing its uses.

Since the return value is never used, the only difference between using this
method and using `object_init_ex()` directly is the flipped order of
parameters, and the added level of indirection - remove that level of
indirection by replacing its uses.
@nielsdos nielsdos merged commit 62e53e6 into php:master Nov 9, 2024
10 checks passed
@nielsdos
Copy link
Member

nielsdos commented Nov 9, 2024

Merged, thanks for your contribution

@DanielEScherzer DanielEScherzer deleted the patch-2 branch November 9, 2024 17:52
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