Lines Matching refs:kind

385 static void zend_register_seen_symbol(zend_string *name, uint32_t kind) {  in zend_register_seen_symbol()  argument
388 Z_LVAL_P(zv) |= kind; in zend_register_seen_symbol()
391 ZVAL_LONG(&tmp, kind); in zend_register_seen_symbol()
396 static bool zend_have_seen_symbol(zend_string *name, uint32_t kind) { in zend_have_seen_symbol() argument
398 return zv && (Z_LVAL_P(zv) & kind) != 0; in zend_have_seen_symbol()
1594 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_try_compile_const_expr_resolve_class_name()
2300 switch (ast->kind) { in zend_ast_is_short_circuited()
2329 if (zend_ast_kind_is_short_circuited(ast->kind)) { in zend_short_circuiting_mark_inner()
2341 bool is_short_circuited = zend_ast_kind_is_short_circuited(ast->kind) in zend_short_circuiting_commit()
2342 || ast->kind == ZEND_AST_ISSET || ast->kind == ZEND_AST_EMPTY; in zend_short_circuiting_commit()
2360 ast->kind == ZEND_AST_ISSET ? ZEND_SHORT_CIRCUITING_CHAIN_ISSET : in zend_short_circuiting_commit()
2361 ast->kind == ZEND_AST_EMPTY ? ZEND_SHORT_CIRCUITING_CHAIN_EMPTY : in zend_short_circuiting_commit()
2541 return ast->kind == ZEND_AST_VAR in zend_is_variable()
2542 || ast->kind == ZEND_AST_DIM in zend_is_variable()
2543 || ast->kind == ZEND_AST_PROP in zend_is_variable()
2544 || ast->kind == ZEND_AST_NULLSAFE_PROP in zend_is_variable()
2545 || ast->kind == ZEND_AST_STATIC_PROP; in zend_is_variable()
2551 return ast->kind == ZEND_AST_CALL in zend_is_call()
2552 || ast->kind == ZEND_AST_METHOD_CALL in zend_is_call()
2553 || ast->kind == ZEND_AST_NULLSAFE_METHOD_CALL in zend_is_call()
2554 || ast->kind == ZEND_AST_STATIC_CALL; in zend_is_call()
2566 return ast->kind == ZEND_AST_STMT_LIST || ast->kind == ZEND_AST_LABEL in zend_is_unticked_stmt()
2567 || ast->kind == ZEND_AST_PROP_DECL || ast->kind == ZEND_AST_CLASS_CONST_GROUP in zend_is_unticked_stmt()
2568 || ast->kind == ZEND_AST_USE_TRAIT || ast->kind == ZEND_AST_METHOD; in zend_is_unticked_stmt()
2575 ast->kind == ZEND_AST_DIM in zend_can_write_to_variable()
2576 || ast->kind == ZEND_AST_PROP in zend_can_write_to_variable()
2587 if (name_ast->kind != ZEND_AST_ZVAL) { in zend_is_const_default_class_ref()
2643 if (name_ast->kind != ZEND_AST_ZVAL) { in zend_compile_class_ref()
2697 if (name_ast->kind == ZEND_AST_ZVAL) { in zend_try_compile_cv()
2757 if (ast->kind == ZEND_AST_VAR && ast->child[0]->kind == ZEND_AST_ZVAL) { in is_this_fetch()
2768 if (ast->kind == ZEND_AST_VAR && ast->child[0]->kind == ZEND_AST_ZVAL) { in is_globals_fetch()
2778 return ast->kind == ZEND_AST_DIM && is_globals_fetch(ast->child[0]); in is_global_var_fetch()
2924 bool nullsafe = ast->kind == ZEND_AST_NULLSAFE_PROP; in zend_delayed_compile_prop()
3045 if (var_ast->kind == ZEND_AST_ARRAY) { in zend_verify_list_assign_target()
3071 if (var_ast->kind == ZEND_AST_ARRAY) { in zend_propagate_list_refs()
3087 return child->kind == ZEND_AST_ARRAY_ELEM && child->child[1] != NULL; in list_is_keyed()
3120 if (elem_ast->kind == ZEND_AST_UNPACK) { in zend_compile_list_assign()
3162 if (var_ast->kind == ZEND_AST_ARRAY) { in zend_compile_list_assign()
3185 if (ast->kind == ZEND_AST_CALL) { in zend_ensure_writable_variable()
3189 ast->kind == ZEND_AST_METHOD_CALL in zend_ensure_writable_variable()
3190 || ast->kind == ZEND_AST_NULLSAFE_METHOD_CALL in zend_ensure_writable_variable()
3191 || ast->kind == ZEND_AST_STATIC_CALL in zend_ensure_writable_variable()
3208 if (expr_ast->kind != ZEND_AST_VAR || expr_ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_is_assign_to_self()
3212 while (zend_is_variable(var_ast) && var_ast->kind != ZEND_AST_VAR) { in zend_is_assign_to_self()
3216 if (var_ast->kind != ZEND_AST_VAR || var_ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_is_assign_to_self()
3262 zend_ast_kind kind = is_global_var_fetch(var_ast) ? ZEND_AST_VAR : var_ast->kind; in zend_compile_assign() local
3263 switch (kind) { in zend_compile_assign()
3323 if (expr_ast->kind == ZEND_AST_VAR) { in zend_compile_assign()
3366 if ((target_ast->kind != ZEND_AST_VAR in zend_compile_assign_ref()
3367 || target_ast->child[0]->kind != ZEND_AST_ZVAL) in zend_compile_assign_ref()
3368 && source_ast->kind != ZEND_AST_ZNODE in zend_compile_assign_ref()
3429 zend_ast_kind kind = is_global_var_fetch(var_ast) ? ZEND_AST_VAR : var_ast->kind; in zend_compile_compound_assign() local
3430 switch (kind) { in zend_compile_compound_assign()
3536 if (arg->kind == ZEND_AST_UNPACK) { in zend_compile_args()
3558 if (arg->kind == ZEND_AST_NAMED_ARG) { in zend_compile_args()
3633 if (arg->kind == ZEND_AST_VAR) { in zend_compile_args()
3745 if (args_ast->kind == ZEND_AST_CALLABLE_CONVERT) { in zend_compile_call_common()
3848 if (arg->kind == ZEND_AST_UNPACK || arg->kind == ZEND_AST_NAMED_ARG) { in zend_args_contain_unpack_or_named()
3936 if (args->children != 1 || args->child[0]->kind != ZEND_AST_ZVAL) { in zend_compile_func_defined()
3967 args->child[0]->kind == ZEND_AST_ZVAL && in zend_compile_func_chr()
3984 args->child[0]->kind == ZEND_AST_ZVAL && in zend_compile_func_ord()
4030 if (name_ast->kind != ZEND_AST_ZVAL || Z_TYPE_P(zend_ast_get_zval(name_ast)) != IS_STRING) { in zend_try_compile_ct_bound_init_user_func()
4085 if (args->child[1]->kind == ZEND_AST_CALL in zend_compile_func_cufa()
4086 && args->child[1]->child[0]->kind == ZEND_AST_ZVAL in zend_compile_func_cufa()
4088 && args->child[1]->child[1]->kind == ZEND_AST_ARG_LIST) { in zend_compile_func_cufa()
4097 && list->child[1]->kind == ZEND_AST_ZVAL) { in zend_compile_func_cufa()
4179 if (args->child[0]->kind == ZEND_AST_NAMED_ARG) { in zend_compile_assert()
4211 if (args->child[2]->kind == ZEND_AST_ZVAL) { in zend_compile_func_in_array()
4213 } else if (args->child[2]->kind == ZEND_AST_CONST) { in zend_compile_func_in_array()
4235 if (args->child[1]->kind != ZEND_AST_ARRAY in zend_compile_func_in_array()
4391 && args->child[0]->kind == ZEND_AST_CALL in zend_compile_func_array_slice()
4392 && args->child[0]->child[0]->kind == ZEND_AST_ZVAL in zend_compile_func_array_slice()
4394 && args->child[0]->child[1]->kind == ZEND_AST_ARG_LIST in zend_compile_func_array_slice()
4395 && args->child[1]->kind == ZEND_AST_ZVAL) { in zend_compile_func_array_slice()
4510 bool is_callable_convert = args_ast->kind == ZEND_AST_CALLABLE_CONVERT; in zend_compile_call()
4514 if (name_ast->kind != ZEND_AST_ZVAL || Z_TYPE_P(zend_ast_get_zval(name_ast)) != IS_STRING) { in zend_compile_call()
4601 bool nullsafe = ast->kind == ZEND_AST_NULLSAFE_METHOD_CALL; in zend_compile_method_call()
4766 if (class_ast->kind == ZEND_AST_CLASS) { in zend_compile_new()
4899 switch (var_ast->kind) { in zend_compile_unset()
5108 ZEND_ASSERT(ast->kind == ZEND_AST_BREAK || ast->kind == ZEND_AST_CONTINUE); in zend_compile_break_continue()
5112 if (depth_ast->kind != ZEND_AST_ZVAL) { in zend_compile_break_continue()
5114 "is no longer supported", ast->kind == ZEND_AST_BREAK ? "break" : "continue"); in zend_compile_break_continue()
5120 ast->kind == ZEND_AST_BREAK ? "break" : "continue"); in zend_compile_break_continue()
5130 ast->kind == ZEND_AST_BREAK ? "break" : "continue"); in zend_compile_break_continue()
5134 ast->kind == ZEND_AST_BREAK ? "break" : "continue", in zend_compile_break_continue()
5139 if (ast->kind == ZEND_AST_CONTINUE) { in zend_compile_break_continue()
5172 opline = zend_emit_op(NULL, ast->kind == ZEND_AST_BREAK ? ZEND_BRK : ZEND_CONT, NULL, NULL); in zend_compile_break_continue()
5383 bool by_ref = value_ast->kind == ZEND_AST_REF; in zend_compile_foreach()
5391 if (key_ast->kind == ZEND_AST_REF) { in zend_compile_foreach()
5394 if (key_ast->kind == ZEND_AST_ARRAY) { in zend_compile_foreach()
5403 if (value_ast->kind == ZEND_AST_ARRAY && zend_propagate_list_refs(value_ast)) { in zend_compile_foreach()
5427 } else if (value_ast->kind == ZEND_AST_VAR && in zend_compile_foreach()
5434 if (value_ast->kind == ZEND_AST_ARRAY) { in zend_compile_foreach()
5534 if ((*cond_ast)->kind != ZEND_AST_ZVAL) { in determine_switch_jumptable_type()
5741 if ((*cond_ast)->kind != ZEND_AST_ZVAL) { in can_match_use_jumptable()
6127 if (value_ast->kind != ZEND_AST_ZVAL) { in zend_handle_encoding_declaration()
6180 } else if (file_ast->child[i]->kind != ZEND_AST_DECLARE) { in zend_is_first_statement()
6202 if ((*value_ast_ptr)->kind != ZEND_AST_ZVAL) { in zend_compile_declare()
6291 if (ast->kind == ZEND_AST_TYPE) { in zend_compile_single_typename()
6449 if (ast->kind == ZEND_AST_TYPE_UNION) { in zend_compile_typename()
6464 if (type_ast->kind == ZEND_AST_TYPE_INTERSECTION) { in zend_compile_typename()
6562 } else if (ast->kind == ZEND_AST_TYPE_INTERSECTION) { in zend_compile_typename()
6684 ZEND_ASSERT(ast->kind == ZEND_AST_ATTRIBUTE_LIST); in zend_compile_attributes()
6689 ZEND_ASSERT(group->kind == ZEND_AST_ATTRIBUTE_GROUP); in zend_compile_attributes()
6692 ZEND_ASSERT(group->child[i]->kind == ZEND_AST_ATTRIBUTE); in zend_compile_attributes()
6697 el->child[1]->kind == ZEND_AST_CALLABLE_CONVERT) { in zend_compile_attributes()
6725 ZEND_ASSERT(args->kind == ZEND_AST_ARG_LIST); in zend_compile_attributes()
6732 if (arg_ast->kind == ZEND_AST_UNPACK) { in zend_compile_attributes()
6737 if (arg_ast->kind == ZEND_AST_NAMED_ARG) { in zend_compile_attributes()
7125 if (ast->kind == ZEND_AST_VAR) { in find_implicit_binds_recursively()
7127 if (name_ast->kind == ZEND_AST_ZVAL && Z_TYPE_P(zend_ast_get_zval(name_ast)) == IS_STRING) { in find_implicit_binds_recursively()
7150 } else if (ast->kind == ZEND_AST_CLOSURE) { in find_implicit_binds_recursively()
7161 } else if (ast->kind == ZEND_AST_ARROW_FUNC) { in find_implicit_binds_recursively()
7411 bool is_method = decl->kind == ZEND_AST_METHOD; in zend_compile_func_decl()
7435 if (decl->kind == ZEND_AST_CLOSURE || decl->kind == ZEND_AST_ARROW_FUNC) { in zend_compile_func_decl()
7444 if (decl->kind == ZEND_AST_ARROW_FUNC) { in zend_compile_func_decl()
7467 if (decl->kind == ZEND_AST_FUNC_DECL) { in zend_compile_func_decl()
7491 if (decl->kind == ZEND_AST_ARROW_FUNC) { in zend_compile_func_decl()
7498 if (ast->kind == ZEND_AST_ARROW_FUNC && decl->child[2]->kind != ZEND_AST_RETURN) { in zend_compile_func_decl()
7820 switch (adaptation_ast->kind) { in zend_compile_use_trait()
8630 static inline bool zend_try_ct_eval_unary_pm(zval *result, zend_ast_kind kind, zval *op) /* {{{ */ in zend_try_ct_eval_unary_pm() argument
8633 ZVAL_LONG(&right, (kind == ZEND_AST_UNARY_PLUS) ? 1 : -1); in zend_try_ct_eval_unary_pm()
8638 static inline void zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2) /* … in zend_ct_eval_greater() argument
8640 binary_op_type fn = kind == ZEND_AST_GREATER in zend_ct_eval_greater()
8669 if (elem_ast->kind != ZEND_AST_UNPACK) { in zend_try_ct_eval_array()
8673 if (elem_ast->attr /* by_ref */ || elem_ast->child[0]->kind != ZEND_AST_ZVAL in zend_try_ct_eval_array()
8674 || (elem_ast->child[1] && elem_ast->child[1]->kind != ZEND_AST_ZVAL) in zend_try_ct_eval_array()
8681 if (elem_ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_try_ct_eval_array()
8705 if (elem_ast->kind == ZEND_AST_UNPACK) { in zend_try_ct_eval_array()
8873 ZEND_ASSERT(ast->kind == ZEND_AST_GREATER || ast->kind == ZEND_AST_GREATER_EQUAL); in zend_compile_greater()
8880 zend_ct_eval_greater(&result->u.constant, ast->kind, in zend_compile_greater()
8888 ast->kind == ZEND_AST_GREATER ? ZEND_IS_SMALLER : ZEND_IS_SMALLER_OR_EQUAL, in zend_compile_greater()
8917 ZEND_ASSERT(ast->kind == ZEND_AST_UNARY_PLUS || ast->kind == ZEND_AST_UNARY_MINUS); in zend_compile_unary_pm()
8922 && zend_try_ct_eval_unary_pm(&result->u.constant, ast->kind, &expr_node.u.constant)) { in zend_compile_unary_pm()
8929 ZVAL_LONG(&right_node.u.constant, (ast->kind == ZEND_AST_UNARY_PLUS) ? 1 : -1); in zend_compile_unary_pm()
8943 ZEND_ASSERT(ast->kind == ZEND_AST_AND || ast->kind == ZEND_AST_OR); in zend_compile_short_circuiting()
8948 if ((ast->kind == ZEND_AST_AND && !zend_is_true(&left_node.u.constant)) in zend_compile_short_circuiting()
8949 || (ast->kind == ZEND_AST_OR && zend_is_true(&left_node.u.constant))) { in zend_compile_short_circuiting()
8970 opline_jmpz = zend_emit_op(NULL, ast->kind == ZEND_AST_AND ? ZEND_JMPZ_EX : ZEND_JMPNZ_EX, in zend_compile_short_circuiting()
8992 ZEND_ASSERT(ast->kind == ZEND_AST_POST_INC || ast->kind == ZEND_AST_POST_DEC); in zend_compile_post_incdec()
8996 if (var_ast->kind == ZEND_AST_PROP || var_ast->kind == ZEND_AST_NULLSAFE_PROP) { in zend_compile_post_incdec()
8998 opline->opcode = ast->kind == ZEND_AST_POST_INC ? ZEND_POST_INC_OBJ : ZEND_POST_DEC_OBJ; in zend_compile_post_incdec()
9000 } else if (var_ast->kind == ZEND_AST_STATIC_PROP) { in zend_compile_post_incdec()
9002 …opline->opcode = ast->kind == ZEND_AST_POST_INC ? ZEND_POST_INC_STATIC_PROP : ZEND_POST_DEC_STATIC… in zend_compile_post_incdec()
9010 zend_emit_op_tmp(result, ast->kind == ZEND_AST_POST_INC ? ZEND_POST_INC : ZEND_POST_DEC, in zend_compile_post_incdec()
9019 ZEND_ASSERT(ast->kind == ZEND_AST_PRE_INC || ast->kind == ZEND_AST_PRE_DEC); in zend_compile_pre_incdec()
9023 if (var_ast->kind == ZEND_AST_PROP || var_ast->kind == ZEND_AST_NULLSAFE_PROP) { in zend_compile_pre_incdec()
9025 opline->opcode = ast->kind == ZEND_AST_PRE_INC ? ZEND_PRE_INC_OBJ : ZEND_PRE_DEC_OBJ; in zend_compile_pre_incdec()
9028 } else if (var_ast->kind == ZEND_AST_STATIC_PROP) { in zend_compile_pre_incdec()
9030 …opline->opcode = ast->kind == ZEND_AST_PRE_INC ? ZEND_PRE_INC_STATIC_PROP : ZEND_PRE_DEC_STATIC_PR… in zend_compile_pre_incdec()
9039 zend_emit_op_tmp(result, ast->kind == ZEND_AST_PRE_INC ? ZEND_PRE_INC : ZEND_PRE_DEC, in zend_compile_pre_incdec()
9099 if (cond_ast->kind == ZEND_AST_CONDITIONAL in zend_compile_conditional()
9211 if (var_ast->kind == ZEND_AST_DIM) { in zend_compile_assign_coalesce()
9223 zend_ast_kind kind = is_global_var_fetch(var_ast) ? ZEND_AST_VAR : var_ast->kind; in zend_compile_assign_coalesce() local
9224 switch (kind) { in zend_compile_assign_coalesce()
9428 ZEND_ASSERT(ast->kind == ZEND_AST_ISSET || ast->kind == ZEND_AST_EMPTY); in zend_compile_isset_or_empty()
9431 if (ast->kind == ZEND_AST_EMPTY) { in zend_compile_isset_or_empty()
9445 ZVAL_BOOL(&result->u.constant, ast->kind == ZEND_AST_ISSET); in zend_compile_isset_or_empty()
9461 ZEND_FETCH_GLOBAL | (ast->kind == ZEND_AST_EMPTY ? ZEND_ISEMPTY : 0); in zend_compile_isset_or_empty()
9466 switch (var_ast->kind) { in zend_compile_isset_or_empty()
9495 if (!(ast->kind == ZEND_AST_ISSET)) { in zend_compile_isset_or_empty()
9508 if (expr_ast->kind == ZEND_AST_VAR) { in zend_compile_silence()
9565 if (elem_ast->kind == ZEND_AST_UNPACK) { in zend_compile_array()
9630 while (last && last->kind == ZEND_AST_STMT_LIST) { in zend_compile_const()
9637 if (last && last->kind == ZEND_AST_HALT_COMPILER) { in zend_compile_const()
9680 if (class_ast->kind == ZEND_AST_ZVAL) { in zend_compile_class_const()
9684 …if (const_ast->kind == ZEND_AST_ZVAL && zend_try_ct_eval_class_const(&result->u.constant, resolved… in zend_compile_class_const()
9713 if (class_ast->kind == ZEND_AST_ZVAL) { in zend_compile_class_name()
9784 …if ((encaps_var->kind == ZEND_AST_VAR || encaps_var->kind == ZEND_AST_DIM) && (encaps_var->attr & … in zend_compile_encaps_list()
9786 …} else if (encaps_var->kind == ZEND_AST_VAR && (encaps_var->attr & ZEND_ENCAPS_VAR_DOLLAR_CURLY_VA… in zend_compile_encaps_list()
9910 static bool zend_is_allowed_in_const_expr(zend_ast_kind kind) /* {{{ */ in zend_is_allowed_in_const_expr() argument
9912 return kind == ZEND_AST_ZVAL || kind == ZEND_AST_BINARY_OP in zend_is_allowed_in_const_expr()
9913 || kind == ZEND_AST_GREATER || kind == ZEND_AST_GREATER_EQUAL in zend_is_allowed_in_const_expr()
9914 || kind == ZEND_AST_AND || kind == ZEND_AST_OR in zend_is_allowed_in_const_expr()
9915 || kind == ZEND_AST_UNARY_OP in zend_is_allowed_in_const_expr()
9916 || kind == ZEND_AST_UNARY_PLUS || kind == ZEND_AST_UNARY_MINUS in zend_is_allowed_in_const_expr()
9917 || kind == ZEND_AST_CONDITIONAL || kind == ZEND_AST_DIM in zend_is_allowed_in_const_expr()
9918 || kind == ZEND_AST_ARRAY || kind == ZEND_AST_ARRAY_ELEM in zend_is_allowed_in_const_expr()
9919 || kind == ZEND_AST_UNPACK in zend_is_allowed_in_const_expr()
9920 || kind == ZEND_AST_CONST || kind == ZEND_AST_CLASS_CONST in zend_is_allowed_in_const_expr()
9921 || kind == ZEND_AST_CLASS_NAME in zend_is_allowed_in_const_expr()
9922 || kind == ZEND_AST_MAGIC_CONST || kind == ZEND_AST_COALESCE in zend_is_allowed_in_const_expr()
9923 || kind == ZEND_AST_CONST_ENUM_INIT in zend_is_allowed_in_const_expr()
9924 || kind == ZEND_AST_NEW || kind == ZEND_AST_ARG_LIST in zend_is_allowed_in_const_expr()
9925 || kind == ZEND_AST_NAMED_ARG in zend_is_allowed_in_const_expr()
9926 || kind == ZEND_AST_PROP || kind == ZEND_AST_NULLSAFE_PROP; in zend_is_allowed_in_const_expr()
9937 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_compile_const_expr_class_const()
9969 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_compile_const_expr_class_name()
10033 if (class_ast->kind == ZEND_AST_CLASS) { in zend_compile_const_expr_new()
10037 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_compile_const_expr_new()
10061 if (arg->kind == ZEND_AST_UNPACK) { in zend_compile_const_expr_args()
10065 if (arg->kind == ZEND_AST_NAMED_ARG) { in zend_compile_const_expr_args()
10086 if (ast == NULL || ast->kind == ZEND_AST_ZVAL) { in zend_compile_const_expr()
10090 if (!zend_is_allowed_in_const_expr(ast->kind)) { in zend_compile_const_expr()
10094 switch (ast->kind) { in zend_compile_const_expr()
10130 if ((*ast_ptr)->kind != ZEND_AST_ZVAL) { in zend_const_expr_to_zval()
10148 if (ast->kind == ZEND_AST_STMT_LIST) { in zend_compile_top_stmt()
10157 if (ast->kind == ZEND_AST_FUNC_DECL) { in zend_compile_top_stmt()
10161 } else if (ast->kind == ZEND_AST_CLASS) { in zend_compile_top_stmt()
10168 if (ast->kind != ZEND_AST_NAMESPACE && ast->kind != ZEND_AST_HALT_COMPILER) { in zend_compile_top_stmt()
10186 switch (ast->kind) { in zend_compile_stmt()
10301 switch (ast->kind) { in zend_compile_expr_inner()
10446 switch (ast->kind) { in zend_compile_var_inner()
10490 switch (ast->kind) { in zend_delayed_compile_var()
10521 switch (ast->kind) { in zend_eval_const_expr()
10525 if (ast->child[0]->kind != ZEND_AST_ZVAL || ast->child[1]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10539 if (ast->child[0]->kind != ZEND_AST_ZVAL || ast->child[1]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10543 zend_ct_eval_greater(&result, ast->kind, in zend_eval_const_expr()
10552 if (ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10557 if (child0_is_true == (ast->kind == ZEND_AST_OR)) { in zend_eval_const_expr()
10558 ZVAL_BOOL(&result, ast->kind == ZEND_AST_OR); in zend_eval_const_expr()
10562 if (ast->child[1]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10567 if (ast->kind == ZEND_AST_OR) { in zend_eval_const_expr()
10576 if (ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10587 if (ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10591 if (!zend_try_ct_eval_unary_pm(&result, ast->kind, zend_ast_get_zval(ast->child[0]))) { in zend_eval_const_expr()
10597 if (ast->child[0]->kind == ZEND_AST_DIM) { in zend_eval_const_expr()
10602 if (ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10623 if (ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10658 if ((ast->attr & ZEND_DIM_IS) && ast->child[0]->kind == ZEND_AST_DIM) { in zend_eval_const_expr()
10664 if (ast->child[0]->kind != ZEND_AST_ZVAL || ast->child[1]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10747 if (class_ast->kind != ZEND_AST_ZVAL || name_ast->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()