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()
8624 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
8627 ZVAL_LONG(&right, (kind == ZEND_AST_UNARY_PLUS) ? 1 : -1); in zend_try_ct_eval_unary_pm()
8632 static inline void zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2) /* … in zend_ct_eval_greater() argument
8634 binary_op_type fn = kind == ZEND_AST_GREATER in zend_ct_eval_greater()
8663 if (elem_ast->kind != ZEND_AST_UNPACK) { in zend_try_ct_eval_array()
8667 if (elem_ast->attr /* by_ref */ || elem_ast->child[0]->kind != ZEND_AST_ZVAL in zend_try_ct_eval_array()
8668 || (elem_ast->child[1] && elem_ast->child[1]->kind != ZEND_AST_ZVAL) in zend_try_ct_eval_array()
8675 if (elem_ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_try_ct_eval_array()
8699 if (elem_ast->kind == ZEND_AST_UNPACK) { in zend_try_ct_eval_array()
8867 ZEND_ASSERT(ast->kind == ZEND_AST_GREATER || ast->kind == ZEND_AST_GREATER_EQUAL); in zend_compile_greater()
8874 zend_ct_eval_greater(&result->u.constant, ast->kind, in zend_compile_greater()
8882 ast->kind == ZEND_AST_GREATER ? ZEND_IS_SMALLER : ZEND_IS_SMALLER_OR_EQUAL, in zend_compile_greater()
8911 ZEND_ASSERT(ast->kind == ZEND_AST_UNARY_PLUS || ast->kind == ZEND_AST_UNARY_MINUS); in zend_compile_unary_pm()
8916 && zend_try_ct_eval_unary_pm(&result->u.constant, ast->kind, &expr_node.u.constant)) { in zend_compile_unary_pm()
8923 ZVAL_LONG(&right_node.u.constant, (ast->kind == ZEND_AST_UNARY_PLUS) ? 1 : -1); in zend_compile_unary_pm()
8937 ZEND_ASSERT(ast->kind == ZEND_AST_AND || ast->kind == ZEND_AST_OR); in zend_compile_short_circuiting()
8942 if ((ast->kind == ZEND_AST_AND && !zend_is_true(&left_node.u.constant)) in zend_compile_short_circuiting()
8943 || (ast->kind == ZEND_AST_OR && zend_is_true(&left_node.u.constant))) { in zend_compile_short_circuiting()
8964 opline_jmpz = zend_emit_op(NULL, ast->kind == ZEND_AST_AND ? ZEND_JMPZ_EX : ZEND_JMPNZ_EX, in zend_compile_short_circuiting()
8986 ZEND_ASSERT(ast->kind == ZEND_AST_POST_INC || ast->kind == ZEND_AST_POST_DEC); in zend_compile_post_incdec()
8990 if (var_ast->kind == ZEND_AST_PROP || var_ast->kind == ZEND_AST_NULLSAFE_PROP) { in zend_compile_post_incdec()
8992 opline->opcode = ast->kind == ZEND_AST_POST_INC ? ZEND_POST_INC_OBJ : ZEND_POST_DEC_OBJ; in zend_compile_post_incdec()
8994 } else if (var_ast->kind == ZEND_AST_STATIC_PROP) { in zend_compile_post_incdec()
8996 …opline->opcode = ast->kind == ZEND_AST_POST_INC ? ZEND_POST_INC_STATIC_PROP : ZEND_POST_DEC_STATIC… in zend_compile_post_incdec()
9004 zend_emit_op_tmp(result, ast->kind == ZEND_AST_POST_INC ? ZEND_POST_INC : ZEND_POST_DEC, in zend_compile_post_incdec()
9013 ZEND_ASSERT(ast->kind == ZEND_AST_PRE_INC || ast->kind == ZEND_AST_PRE_DEC); in zend_compile_pre_incdec()
9017 if (var_ast->kind == ZEND_AST_PROP || var_ast->kind == ZEND_AST_NULLSAFE_PROP) { in zend_compile_pre_incdec()
9019 opline->opcode = ast->kind == ZEND_AST_PRE_INC ? ZEND_PRE_INC_OBJ : ZEND_PRE_DEC_OBJ; in zend_compile_pre_incdec()
9022 } else if (var_ast->kind == ZEND_AST_STATIC_PROP) { in zend_compile_pre_incdec()
9024 …opline->opcode = ast->kind == ZEND_AST_PRE_INC ? ZEND_PRE_INC_STATIC_PROP : ZEND_PRE_DEC_STATIC_PR… in zend_compile_pre_incdec()
9033 zend_emit_op_tmp(result, ast->kind == ZEND_AST_PRE_INC ? ZEND_PRE_INC : ZEND_PRE_DEC, in zend_compile_pre_incdec()
9093 if (cond_ast->kind == ZEND_AST_CONDITIONAL in zend_compile_conditional()
9205 if (var_ast->kind == ZEND_AST_DIM) { in zend_compile_assign_coalesce()
9217 zend_ast_kind kind = is_global_var_fetch(var_ast) ? ZEND_AST_VAR : var_ast->kind; in zend_compile_assign_coalesce() local
9218 switch (kind) { in zend_compile_assign_coalesce()
9422 ZEND_ASSERT(ast->kind == ZEND_AST_ISSET || ast->kind == ZEND_AST_EMPTY); in zend_compile_isset_or_empty()
9425 if (ast->kind == ZEND_AST_EMPTY) { in zend_compile_isset_or_empty()
9439 ZVAL_BOOL(&result->u.constant, ast->kind == ZEND_AST_ISSET); in zend_compile_isset_or_empty()
9455 ZEND_FETCH_GLOBAL | (ast->kind == ZEND_AST_EMPTY ? ZEND_ISEMPTY : 0); in zend_compile_isset_or_empty()
9460 switch (var_ast->kind) { in zend_compile_isset_or_empty()
9489 if (!(ast->kind == ZEND_AST_ISSET)) { in zend_compile_isset_or_empty()
9502 if (expr_ast->kind == ZEND_AST_VAR) { in zend_compile_silence()
9559 if (elem_ast->kind == ZEND_AST_UNPACK) { in zend_compile_array()
9624 while (last && last->kind == ZEND_AST_STMT_LIST) { in zend_compile_const()
9631 if (last && last->kind == ZEND_AST_HALT_COMPILER) { in zend_compile_const()
9674 if (class_ast->kind == ZEND_AST_ZVAL) { in zend_compile_class_const()
9678 …if (const_ast->kind == ZEND_AST_ZVAL && zend_try_ct_eval_class_const(&result->u.constant, resolved… in zend_compile_class_const()
9707 if (class_ast->kind == ZEND_AST_ZVAL) { in zend_compile_class_name()
9778 …if ((encaps_var->kind == ZEND_AST_VAR || encaps_var->kind == ZEND_AST_DIM) && (encaps_var->attr & … in zend_compile_encaps_list()
9780 …} else if (encaps_var->kind == ZEND_AST_VAR && (encaps_var->attr & ZEND_ENCAPS_VAR_DOLLAR_CURLY_VA… in zend_compile_encaps_list()
9904 static bool zend_is_allowed_in_const_expr(zend_ast_kind kind) /* {{{ */ in zend_is_allowed_in_const_expr() argument
9906 return kind == ZEND_AST_ZVAL || kind == ZEND_AST_BINARY_OP in zend_is_allowed_in_const_expr()
9907 || kind == ZEND_AST_GREATER || kind == ZEND_AST_GREATER_EQUAL in zend_is_allowed_in_const_expr()
9908 || kind == ZEND_AST_AND || kind == ZEND_AST_OR in zend_is_allowed_in_const_expr()
9909 || kind == ZEND_AST_UNARY_OP in zend_is_allowed_in_const_expr()
9910 || kind == ZEND_AST_UNARY_PLUS || kind == ZEND_AST_UNARY_MINUS in zend_is_allowed_in_const_expr()
9911 || kind == ZEND_AST_CONDITIONAL || kind == ZEND_AST_DIM in zend_is_allowed_in_const_expr()
9912 || kind == ZEND_AST_ARRAY || kind == ZEND_AST_ARRAY_ELEM in zend_is_allowed_in_const_expr()
9913 || kind == ZEND_AST_UNPACK in zend_is_allowed_in_const_expr()
9914 || kind == ZEND_AST_CONST || kind == ZEND_AST_CLASS_CONST in zend_is_allowed_in_const_expr()
9915 || kind == ZEND_AST_CLASS_NAME in zend_is_allowed_in_const_expr()
9916 || kind == ZEND_AST_MAGIC_CONST || kind == ZEND_AST_COALESCE in zend_is_allowed_in_const_expr()
9917 || kind == ZEND_AST_CONST_ENUM_INIT in zend_is_allowed_in_const_expr()
9918 || kind == ZEND_AST_NEW || kind == ZEND_AST_ARG_LIST in zend_is_allowed_in_const_expr()
9919 || kind == ZEND_AST_NAMED_ARG in zend_is_allowed_in_const_expr()
9920 || kind == ZEND_AST_PROP || kind == ZEND_AST_NULLSAFE_PROP; in zend_is_allowed_in_const_expr()
9931 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_compile_const_expr_class_const()
9963 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_compile_const_expr_class_name()
10027 if (class_ast->kind == ZEND_AST_CLASS) { in zend_compile_const_expr_new()
10031 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_compile_const_expr_new()
10055 if (arg->kind == ZEND_AST_UNPACK) { in zend_compile_const_expr_args()
10059 if (arg->kind == ZEND_AST_NAMED_ARG) { in zend_compile_const_expr_args()
10080 if (ast == NULL || ast->kind == ZEND_AST_ZVAL) { in zend_compile_const_expr()
10084 if (!zend_is_allowed_in_const_expr(ast->kind)) { in zend_compile_const_expr()
10088 switch (ast->kind) { in zend_compile_const_expr()
10124 if ((*ast_ptr)->kind != ZEND_AST_ZVAL) { in zend_const_expr_to_zval()
10142 if (ast->kind == ZEND_AST_STMT_LIST) { in zend_compile_top_stmt()
10151 if (ast->kind == ZEND_AST_FUNC_DECL) { in zend_compile_top_stmt()
10155 } else if (ast->kind == ZEND_AST_CLASS) { in zend_compile_top_stmt()
10162 if (ast->kind != ZEND_AST_NAMESPACE && ast->kind != ZEND_AST_HALT_COMPILER) { in zend_compile_top_stmt()
10180 switch (ast->kind) { in zend_compile_stmt()
10295 switch (ast->kind) { in zend_compile_expr_inner()
10440 switch (ast->kind) { in zend_compile_var_inner()
10484 switch (ast->kind) { in zend_delayed_compile_var()
10515 switch (ast->kind) { in zend_eval_const_expr()
10519 if (ast->child[0]->kind != ZEND_AST_ZVAL || ast->child[1]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10533 if (ast->child[0]->kind != ZEND_AST_ZVAL || ast->child[1]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10537 zend_ct_eval_greater(&result, ast->kind, in zend_eval_const_expr()
10546 if (ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10551 if (child0_is_true == (ast->kind == ZEND_AST_OR)) { in zend_eval_const_expr()
10552 ZVAL_BOOL(&result, ast->kind == ZEND_AST_OR); in zend_eval_const_expr()
10556 if (ast->child[1]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10561 if (ast->kind == ZEND_AST_OR) { in zend_eval_const_expr()
10570 if (ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10581 if (ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10585 if (!zend_try_ct_eval_unary_pm(&result, ast->kind, zend_ast_get_zval(ast->child[0]))) { in zend_eval_const_expr()
10591 if (ast->child[0]->kind == ZEND_AST_DIM) { in zend_eval_const_expr()
10596 if (ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10617 if (ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10652 if ((ast->attr & ZEND_DIM_IS) && ast->child[0]->kind == ZEND_AST_DIM) { in zend_eval_const_expr()
10658 if (ast->child[0]->kind != ZEND_AST_ZVAL || ast->child[1]->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
10741 if (class_ast->kind != ZEND_AST_ZVAL || name_ast->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()