Skip to content

Zend/zend_types.h: move zend_result to separate header #10609

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
Feb 20, 2023

Conversation

MaxKellermann
Copy link
Contributor

Many sources need just zend_result, and with this new header, they only need to include zend_result.h instead of zend_types.h; the latter is large and has fat dependencies, which slows down the build.

(This implements the vote "Is it allowed to split a large header to reduce dependencies?" which was accepted by a supermajority, see https://wiki.php.net/rfc/include_cleanup)

Many sources need just `zend_result`, and with this new header, they
only need to include `zend_result.h` instead of `zend_types.h`; the
latter is large and has fat dependencies, which slows down the build.
@Girgias Girgias merged commit 3bce116 into php:master Feb 20, 2023
dstogov added a commit to dstogov/php-src that referenced this pull request Apr 3, 2023
dstogov added a commit to dstogov/php-src that referenced this pull request Apr 4, 2023
dstogov added a commit to dstogov/php-src that referenced this pull request Apr 4, 2023
dstogov added a commit that referenced this pull request Apr 4, 2023
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