Skip to content

Commit e0eeaec

Browse files
authored
Fix missing break in switch statement (nikic#186)
This is currently harmless because 80 > 70, but would be a potential problem if refactoring
1 parent e656c1e commit e0eeaec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ast.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ static void ast_to_zval(zval *zv, zend_ast *ast, ast_state_info_t *state) {
863863
ast_to_zval(zv, ast->child[0], state);
864864
return;
865865
}
866+
break;
866867
#endif
867868
#if PHP_VERSION_ID >= 70400
868869
case ZEND_AST_PROP_GROUP:

0 commit comments

Comments
 (0)