[php-src] master: Zend: use bool instead of uint8_t

From: Date: Thu, 26 Nov 2026 14:54:41 +0000
Subject: [php-src] master: Zend: use bool instead of uint8_t
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-144218@lists.php.net to get a copy of this message
Author: Gina Peter Banyard (Girgias) Date: 2026-11-26T14:54:31Z Commit: https://github.com/php/php-src/commit/1432f7549b8853fb8bfaba3b50707716689bff35 Raw diff: https://github.com/php/php-src/commit/1432f7549b8853fb8bfaba3b50707716689bff35.diff Zend: use bool instead of uint8_t Changed paths: M Zend/zend_compile.c Diff: diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 6b78351c3989..0758ed6a5cf8 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -7271,7 +7271,7 @@ static void zend_compile_match(znode *result, zend_ast *ast) case_node.u.op.var = get_temporary_variable(); uint32_t num_conds = count_match_conds(arms); - uint8_t can_use_jumptable = can_match_use_jumptable(arms); + bool can_use_jumptable = can_match_use_jumptable(arms); bool uses_jumptable = can_use_jumptable && num_conds >= 2; HashTable *jumptable = NULL; uint32_t *jmpnz_opnums = NULL;

« previous php.cvs (#144218) next »