Lines Matching refs:value_zv
5506 zval *value_zv = value_ast in zend_compile_static_var() local
5509 Z_TRY_ADDREF_P(value_zv); in zend_compile_static_var()
5510 zend_compile_static_var_common(var_name, value_zv, ZEND_BIND_REF); in zend_compile_static_var()
6867 zval value_zv; in zend_compile_declare() local
6868 zend_const_expr_to_zval(&value_zv, value_ast_ptr, /* allow_dynamic */ false); in zend_compile_declare()
6869 FC(declarables).ticks = zval_get_long(&value_zv); in zend_compile_declare()
6870 zval_ptr_dtor_nogc(&value_zv); in zend_compile_declare()
6878 zval value_zv; in zend_compile_declare() local
6890 zend_const_expr_to_zval(&value_zv, value_ast_ptr, /* allow_dynamic */ false); in zend_compile_declare()
6892 if (Z_TYPE(value_zv) != IS_LONG || (Z_LVAL(value_zv) != 0 && Z_LVAL(value_zv) != 1)) { in zend_compile_declare()
6896 if (Z_LVAL(value_zv) == 1) { in zend_compile_declare()
8638 zval value_zv; in zend_compile_prop_decl() local
8678 zend_const_expr_to_zval(&value_zv, value_ast_ptr, /* allow_dynamic */ false); in zend_compile_prop_decl()
8680 if (ZEND_TYPE_IS_SET(type) && !Z_CONSTANT(value_zv) in zend_compile_prop_decl()
8681 && !zend_is_valid_default_value(type, &value_zv)) { in zend_compile_prop_decl()
8683 if (Z_TYPE(value_zv) == IS_NULL && !ZEND_TYPE_IS_INTERSECTION(type)) { in zend_compile_prop_decl()
8694 zend_zval_value_name(&value_zv), in zend_compile_prop_decl()
8699 ZVAL_NULL(&value_zv); in zend_compile_prop_decl()
8701 ZVAL_UNDEF(&value_zv); in zend_compile_prop_decl()
8713 if (!Z_ISUNDEF(value_zv)) { in zend_compile_prop_decl()
8725 info = zend_declare_typed_property(ce, name, &value_zv, flags, doc_comment, type); in zend_compile_prop_decl()
8772 zval value_zv; in zend_compile_class_const_decl() local
8795 zend_const_expr_to_zval(&value_zv, value_ast_ptr, /* allow_dynamic */ false); in zend_compile_class_const_decl()
8797 …if (!Z_CONSTANT(value_zv) && ZEND_TYPE_IS_SET(type) && !zend_is_valid_default_value(type, &value_z… in zend_compile_class_const_decl()
8801 zend_zval_type_name(&value_zv), ZSTR_VAL(ce->name), ZSTR_VAL(name), ZSTR_VAL(type_str)); in zend_compile_class_const_decl()
8804 c = zend_declare_typed_class_constant(ce, name, &value_zv, flags, doc_comment, type); in zend_compile_class_const_decl()
9240 zval value_zv; in zend_compile_enum_case() local
9241 zend_const_expr_to_zval(&value_zv, &const_enum_init_ast, /* allow_dynamic */ false); in zend_compile_enum_case()
9250 …zend_class_constant *c = zend_declare_class_constant_ex(enum_class, enum_case_name, &value_zv, ZEN… in zend_compile_enum_case()
9426 zval *value_zv = &value_node.u.constant; in zend_compile_const_decl() local
9429 zend_const_expr_to_zval(value_zv, value_ast_ptr, /* allow_dynamic */ true); in zend_compile_const_decl()