@@ -8164,7 +8164,7 @@ ZEND_VM_HANDLER(149, ZEND_HANDLE_EXCEPTION, ANY, ANY)
81648164 }
81658165
81668166 uint32_t throw_op_num = throw_op - EX (func )-> op_array .opcodes ;
8167- int i , current_try_catch_offset = -1 ;
8167+ uint32_t current_try_catch_offset = -1 ;
81688168
81698169 if ((throw_op -> opcode == ZEND_FREE || throw_op -> opcode == ZEND_FE_FREE )
81708170 && throw_op -> extended_value & ZEND_FREE_ON_RETURN ) {
@@ -8175,7 +8175,7 @@ ZEND_VM_HANDLER(149, ZEND_HANDLE_EXCEPTION, ANY, ANY)
81758175 const zend_live_range * range = find_live_range (
81768176 & EX (func )-> op_array , throw_op_num , throw_op -> op1 .var );
81778177 /* free op1 of the corresponding RETURN */
8178- for (i = throw_op_num ; i < range -> end ; i ++ ) {
8178+ for (uint32_t i = throw_op_num ; i < range -> end ; i ++ ) {
81798179 if (EX (func )-> op_array .opcodes [i ].opcode == ZEND_FREE
81808180 || EX (func )-> op_array .opcodes [i ].opcode == ZEND_FE_FREE ) {
81818181 /* pass */
@@ -8191,7 +8191,7 @@ ZEND_VM_HANDLER(149, ZEND_HANDLE_EXCEPTION, ANY, ANY)
81918191 }
81928192
81938193 /* Find the innermost try/catch/finally the exception was thrown in */
8194- for (i = 0 ; i < EX (func )-> op_array .last_try_catch ; i ++ ) {
8194+ for (uint32_t i = 0 ; i < EX (func )-> op_array .last_try_catch ; i ++ ) {
81958195 zend_try_catch_element * try_catch = & EX (func )-> op_array .try_catch_array [i ];
81968196 if (try_catch -> try_op > throw_op_num ) {
81978197 /* further blocks will not be relevant... */
0 commit comments