Skip to content

Commit 761b063

Browse files
committed
Merge branch 'PHP-7.3'
* PHP-7.3: Fixed compiler warning
2 parents 249f7df + 4ac954a commit 761b063

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/zend_compile.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4316,12 +4316,12 @@ void zend_compile_break_continue(zend_ast *ast) /* {{{ */
43164316
if (depth == 1) {
43174317
zend_error(E_WARNING,
43184318
"\"continue\" targeting switch is equivalent to \"break\". " \
4319-
"Did you mean to use \"continue %d\"?",
4319+
"Did you mean to use \"continue " ZEND_LONG_FMT "\"?",
43204320
depth + 1);
43214321
} else {
43224322
zend_error(E_WARNING,
4323-
"\"continue %d\" targeting switch is equivalent to \"break %d\". " \
4324-
"Did you mean to use \"continue %d\"?",
4323+
"\"continue " ZEND_LONG_FMT "\" targeting switch is equivalent to \"break " ZEND_LONG_FMT "\". " \
4324+
"Did you mean to use \"continue " ZEND_LONG_FMT "\"?",
43254325
depth, depth, depth + 1);
43264326
}
43274327
}

0 commit comments

Comments
 (0)