Skip to content

Use zend_execute_internal always to call internal functions #178

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

Closed
wants to merge 2 commits into from

Conversation

smalyshev
Copy link
Contributor

This patch restores the use of zend_execute_internal to call internal functions when they are called from another internal function via zend_call_function. This will allow modules to intercept it more efficiently. Unfortunately, this also requires slight API change and may require to fix the overriding function code since new way of calling was added. If the function does anything with execute data, it also would have to consider that some of these data can be wrong for current function if fci parameter is set and take it as overriding authority.

This will allow modules that override zend_execute_internal to intercept
all internal function calls, not just user-internal calls.
@travisbot
Copy link

This pull request fails (merged cd5b933 into cec1786).

@php-pulls
Copy link

Comment on behalf of stas at php.net:

merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants