[php-src] master: Reflection: use `RETURN_BOOL` in `_class_check_flag()`
Daniel Scherzer <[email protected]>
| Newsgroups | gmane.comp.php.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Author: Daniel Scherzer (DanielEScherzer) Date: 2026-07-07T10:33:38-07:00 Commit: https://github.com/php/php-src/commit/ed27dbcdc83fd3a66e0af583c2e114ead3a1b620 Raw diff: https://github.com/php/php-src/commit/ed27dbcdc83fd3a66e0af583c2e114ead3a1b620.diff Reflection: use `RETURN_BOOL` in `_class_check_flag()` Changed paths: M ext/reflection/php_reflection.c Diff: diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index d611b5d6bc11..bfff775cc43e 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -4370,7 +4370,7 @@ static void _class_check_flag(INTERNAL_FUNCTION_PARAMETERS, int mask) ZEND_PARSE_PARAMETERS_NONE(); GET_REFLECTION_OBJECT_PTR(ce); - RETVAL_BOOL(ce->ce_flags & mask); + RETURN_BOOL(ce->ce_flags & mask); } /* }}} */