Skip to content

Commit 34d397e

Browse files
committed
better name
1 parent d508ff9 commit 34d397e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/opcache/Optimizer/zend_optimizer.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,16 +293,16 @@ static void replace_tmp_by_const(zend_op_array *op_array,
293293
if (opline->opcode == ZEND_CASE || opline->opcode == ZEND_FREE) {
294294
zend_op *m, *n;
295295
int brk = op_array->last_brk_cont;
296-
zend_bool in_case = 0;
296+
zend_bool in_switch = 0;
297297
while (brk--) {
298298
if (op_array->brk_cont_array[brk].start <= (opline - op_array->opcodes) &&
299299
op_array->brk_cont_array[brk].brk > (opline - op_array->opcodes)) {
300-
in_case = 1;
300+
in_switch = 1;
301301
break;
302302
}
303303
}
304304

305-
if (!in_case) {
305+
if (!in_switch) {
306306
MAKE_NOP(opline);
307307
zval_dtor(val);
308308
break;

0 commit comments

Comments
 (0)