Skip to content

ext/mbstring: Replace RETVAL_TRUE/RETVAL_FALSE with RETVAL_BOOL#21276

Merged
alexdowad merged 2 commits intophp:masterfrom
arshidkv12:mbstr_bool
Feb 26, 2026
Merged

ext/mbstring: Replace RETVAL_TRUE/RETVAL_FALSE with RETVAL_BOOL#21276
alexdowad merged 2 commits intophp:masterfrom
arshidkv12:mbstr_bool

Conversation

@arshidkv12
Copy link
Contributor

No description provided.

} else {
RETVAL_FALSE;
}
RETVAL_BOOL(err >= 0);
Copy link
Member

Choose a reason for hiding this comment

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

This could even be RETURN_BOOL instead of RETVAL_BOOL

Copy link
Contributor

Choose a reason for hiding this comment

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

True!

@alexdowad alexdowad merged commit f46bc8e into php:master Feb 26, 2026
18 checks passed
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.

3 participants