Skip to content

Add PHP_OUTPUT_HANDLER_PROCESSED constant to stubs #13019

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
Jan 4, 2024
Merged

Add PHP_OUTPUT_HANDLER_PROCESSED constant to stubs #13019

merged 1 commit into from
Jan 4, 2024

Conversation

haszi
Copy link
Contributor

@haszi haszi commented Dec 24, 2023

This status flag is exposed by the bitmask returned by ob_get_status().

@haszi
Copy link
Contributor Author

haszi commented Dec 28, 2023

This constant is defined here:

#define PHP_OUTPUT_HANDLER_PROCESSED 0x4000

The only other place I've found it in php-src is where it's added to the flags bitmask:

handler->flags |= PHP_OUTPUT_HANDLER_PROCESSED;

Other then ob_get_status(), I've seen no other way to access these flags from php code.

@haszi
Copy link
Contributor Author

haszi commented Dec 29, 2023

@kocsismate pinging you because you are shown to be the codeowner for stub files.

@kocsismate
Copy link
Member

LGTM!

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.

2 participants