Skip to content

Avoid making a redundant copy in php_filter_callback() #18794

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
Jun 8, 2025

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Jun 7, 2025

call_user_function already makes a copy to the call frame for its arguments, there's no need to do this ourselves.

`call_user_function` already makes a copy to the call frame for its
arguments, there's no need to do this ourselves.
Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mstm

@nielsdos nielsdos merged commit cb04226 into php:master Jun 8, 2025
9 checks passed
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