Home
last modified time | relevance | path

Searched refs:case_name_zval (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/ext/standard/
H A Dvar.c152 zval *case_name_zval = zend_enum_fetch_case_name(Z_OBJ_P(struc)); in php_var_dump() local
153 php_printf("%senum(%s::%s)\n", COMMON, ZSTR_VAL(ce->name), Z_STRVAL_P(case_name_zval)); in php_var_dump()
581 zval *case_name_zval = zend_enum_fetch_case_name(zobj); in php_var_export_ex() local
583 smart_str_append(buf, Z_STR_P(case_name_zval)); in php_var_export_ex()
1070 zval *case_name_zval = zend_enum_fetch_case_name(Z_OBJ_P(struc)); in php_var_serialize_intern() local
1074 … smart_str_append_unsigned(buf, ZSTR_LEN(class_name) + strlen(":") + Z_STRLEN_P(case_name_zval)); in php_var_serialize_intern()
1078 smart_str_append(buf, Z_STR_P(case_name_zval)); in php_var_serialize_intern()
/PHP-8.1/Zend/
H A Dzend_compile.c7920 zval case_name_zval; in zend_compile_enum_case() local
7921 ZVAL_STR_COPY(&case_name_zval, enum_case_name); in zend_compile_enum_case()
7922 zend_ast *case_name_ast = zend_ast_create_zval(&case_name_zval); in zend_compile_enum_case()
7961 Z_TRY_ADDREF(case_name_zval); in zend_compile_enum_case()
7971 zend_hash_index_add_new(enum_class->backed_enum_table, long_key, &case_name_zval); in zend_compile_enum_case()
7982 zend_hash_add_new(enum_class->backed_enum_table, string_key, &case_name_zval); in zend_compile_enum_case()

Completed in 41 milliseconds