Skip to content

Zend: refactor zend_call_method_if_exists() API #19110

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Jul 12, 2025

No need to call zend_is_callable_ex() when we have all the necessary information available to us.

The only "hard" part is if the object has a trampoline, in which case we need to fetch it.

No need to call zend_is_callable_ex() when we have all the necessary information available to us
The only "hard" part is if the object has a trampoline
@Girgias Girgias force-pushed the refactor-zend-call-method-if-exist branch from 1d4f34d to e3757f0 Compare July 12, 2025 19:31
@Girgias Girgias marked this pull request as ready for review July 13, 2025 10:53
@Girgias Girgias requested a review from dstogov as a code owner July 13, 2025 10:53
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.

1 participant