File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5180,7 +5180,7 @@ static zend_uchar determine_match_jumptable_type(zend_ast_list *arms) {
51805180 for (uint32_t i = 0 ; i < arms -> children ; i ++ ) {
51815181 zend_ast * arm_ast = arms -> child [i ];
51825182 if (!arm_ast -> child [0 ]) {
5183- /* Skip default clause */
5183+ /* Skip default arm */
51845184 continue ;
51855185 }
51865186
@@ -5190,7 +5190,7 @@ static zend_uchar determine_match_jumptable_type(zend_ast_list *arms) {
51905190
51915191 zend_eval_const_expr (cond_ast );
51925192 if ((* cond_ast )-> kind != ZEND_AST_ZVAL ) {
5193- /* Non-constant case */
5193+ /* Non-constant condition */
51945194 return IS_UNDEF ;
51955195 }
51965196
@@ -5203,7 +5203,7 @@ static zend_uchar determine_match_jumptable_type(zend_ast_list *arms) {
52035203 if (common_type == IS_UNDEF ) {
52045204 common_type = Z_TYPE_P (cond_zv );
52055205 } else if (common_type != Z_TYPE_P (cond_zv )) {
5206- /* Non-uniform case types */
5206+ /* Non-uniform condition types */
52075207 return IS_UNDEF ;
52085208 }
52095209 }
You can’t perform that action at this time.
0 commit comments