Skip to content

zend_arena.h: use true and false for bool returns - #25887

Merged
DanielEScherzer merged 1 commit into
php:masterfrom
DanielEScherzer:arena-true-false
Dec 1, 2026
Merged

DanielEScherzer merged 1 commit into
php:masterfrom
DanielEScherzer:arena-true-false

Conversation

@DanielEScherzer

Copy link
Copy Markdown
Member

No description provided.

@Girgias Girgias left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I know @TimWolla at one point used Coccinelle to do this sort of update but it failed badly in Zend due to the EMPTY_DEFAULT_SWITCH(E_WHATEVER_THE_NAME_WAS) macro confusing it. Might possibly be a good idea to just rerun that on the whole codebase :)

@DanielEScherzer
DanielEScherzer merged commit 6e2ef1b into php:master Dec 1, 2026
18 checks passed
@DanielEScherzer
DanielEScherzer deleted the arena-true-false branch December 1, 2026 00:16
@DanielEScherzer

Copy link
Copy Markdown
Member Author

#25988

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