PATH: //proc/self/root/opt/cloudlinux/alt-php84/root/usr/include/php/Zend
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
π Optimizer/
X
π zend.h
β
X
π zend_API.h
β
X
π zend_alloc.h
β
X
π zend_alloc_sizes.h
β
X
π zend_arena.h
β
X
π zend_ast.h
β
X
π zend_atomic.h
β
X
π zend_attributes.h
β
X
π zend_attributes_arginfo.h
β
X
π zend_bitset.h
β
X
π zend_build.h
β
X
π zend_builtin_functions.h
β
X
π zend_builtin_functions_arginfo.h
β
X
π zend_call_stack.h
β
X
π zend_closures.h
β
X
π zend_closures_arginfo.h
β
X
π zend_compile.h
β
X
π zend_config.h
β
X
π zend_constants.h
β
X
π zend_constants_arginfo.h
β
X
π zend_cpuinfo.h
β
X
π zend_dtrace.h
β
X
π zend_enum.h
β
X
π zend_enum_arginfo.h
β
X
π zend_errors.h
β
X
π zend_exceptions.h
β
X
π zend_exceptions_arginfo.h
β
X
π zend_execute.h
β
X
π zend_extensions.h
β
X
π zend_fibers.h
β
X
π zend_fibers_arginfo.h
β
X
π zend_float.h
β
X
π zend_frameless_function.h
β
X
π zend_gc.h
β
X
π zend_gdb.h
β
X
π zend_generators.h
β
X
π zend_generators_arginfo.h
β
X
π zend_globals.h
β
X
π zend_globals_macros.h
β
X
π zend_hash.h
β
X
π zend_highlight.h
β
X
π zend_hrtime.h
β
X
π zend_inheritance.h
β
X
π zend_ini.h
β
X
π zend_ini_parser.h
β
X
π zend_ini_scanner.h
β
X
π zend_ini_scanner_defs.h
β
X
π zend_interfaces.h
β
X
π zend_interfaces_arginfo.h
β
X
π zend_iterators.h
β
X
π zend_language_parser.h
β
X
π zend_language_scanner.h
β
X
π zend_language_scanner_defs.h
β
X
π zend_lazy_objects.h
β
X
π zend_list.h
β
X
π zend_llist.h
β
X
π zend_long.h
β
X
π zend_map_ptr.h
β
X
π zend_max_execution_timer.h
β
X
π zend_mmap.h
β
X
π zend_modules.h
β
X
π zend_multibyte.h
β
X
π zend_multiply.h
β
X
π zend_object_handlers.h
β
X
π zend_objects.h
β
X
π zend_objects_API.h
β
X
π zend_observer.h
β
X
π zend_operators.h
β
X
π zend_portability.h
β
X
π zend_property_hooks.h
β
X
π zend_ptr_stack.h
β
X
π zend_range_check.h
β
X
π zend_signal.h
β
X
π zend_smart_str.h
β
X
π zend_smart_str_public.h
β
X
π zend_smart_string.h
β
X
π zend_smart_string_public.h
β
X
π zend_sort.h
β
X
π zend_stack.h
β
X
π zend_stream.h
β
X
π zend_string.h
β
X
π zend_strtod.h
β
X
π zend_strtod_int.h
β
X
π zend_system_id.h
β
X
π zend_type_info.h
β
X
π zend_types.h
β
X
π zend_variables.h
β
X
π zend_verify_type_inference.h
β
X
π zend_virtual_cwd.h
β
X
π zend_vm.h
β
X
π zend_vm_def.h
β
X
π zend_vm_execute.h
β
X
π zend_vm_handlers.h
β
X
π zend_vm_opcodes.h
β
X
π zend_vm_trace_handlers.h
β
X
π zend_vm_trace_lines.h
β
X
π zend_vm_trace_map.h
β
X
π zend_weakrefs.h
β
X
π zend_weakrefs_arginfo.h
β
X
SAVING...
BERHASIL DIUBAH!
EDITING: zend_attributes.h
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) Zend Technologies Ltd. (http://www.zend.com) | +----------------------------------------------------------------------+ | This source file is subject to version 2.00 of the Zend license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.zend.com/license/2_00.txt. | | If you did not receive a copy of the Zend license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@zend.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Benjamin Eberlei <kontakt@beberlei.de> | | Martin SchrΓΆder <m.schroeder2007@gmail.com> | +----------------------------------------------------------------------+ */ #ifndef ZEND_ATTRIBUTES_H #define ZEND_ATTRIBUTES_H #include "zend_compile.h" #define ZEND_ATTRIBUTE_TARGET_CLASS (1<<0) #define ZEND_ATTRIBUTE_TARGET_FUNCTION (1<<1) #define ZEND_ATTRIBUTE_TARGET_METHOD (1<<2) #define ZEND_ATTRIBUTE_TARGET_PROPERTY (1<<3) #define ZEND_ATTRIBUTE_TARGET_CLASS_CONST (1<<4) #define ZEND_ATTRIBUTE_TARGET_PARAMETER (1<<5) #define ZEND_ATTRIBUTE_TARGET_ALL ((1<<6) - 1) #define ZEND_ATTRIBUTE_IS_REPEATABLE (1<<6) #define ZEND_ATTRIBUTE_FLAGS ((1<<7) - 1) /* Flags for zend_attribute.flags */ #define ZEND_ATTRIBUTE_PERSISTENT (1<<0) #define ZEND_ATTRIBUTE_STRICT_TYPES (1<<1) #define ZEND_ATTRIBUTE_SIZE(argc) \ (sizeof(zend_attribute) + sizeof(zend_attribute_arg) * (argc) - sizeof(zend_attribute_arg)) BEGIN_EXTERN_C() extern ZEND_API zend_class_entry *zend_ce_attribute; extern ZEND_API zend_class_entry *zend_ce_allow_dynamic_properties; extern ZEND_API zend_class_entry *zend_ce_sensitive_parameter; extern ZEND_API zend_class_entry *zend_ce_sensitive_parameter_value; extern ZEND_API zend_class_entry *zend_ce_override; extern ZEND_API zend_class_entry *zend_ce_deprecated; typedef struct { zend_string *name; zval value; } zend_attribute_arg; typedef struct _zend_attribute { zend_string *name; zend_string *lcname; uint32_t flags; uint32_t lineno; /* Parameter offsets start at 1, everything else uses 0. */ uint32_t offset; uint32_t argc; zend_attribute_arg args[1]; } zend_attribute; typedef struct _zend_internal_attribute { zend_class_entry *ce; uint32_t flags; void (*validator)(zend_attribute *attr, uint32_t target, zend_class_entry *scope); } zend_internal_attribute; ZEND_API zend_attribute *zend_get_attribute(HashTable *attributes, zend_string *lcname); ZEND_API zend_attribute *zend_get_attribute_str(HashTable *attributes, const char *str, size_t len); ZEND_API zend_attribute *zend_get_parameter_attribute(HashTable *attributes, zend_string *lcname, uint32_t offset); ZEND_API zend_attribute *zend_get_parameter_attribute_str(HashTable *attributes, const char *str, size_t len, uint32_t offset); ZEND_API zend_result zend_get_attribute_value(zval *ret, zend_attribute *attr, uint32_t i, zend_class_entry *scope); ZEND_API zend_result zend_get_attribute_object(zval *out, zend_class_entry *attribute_ce, zend_attribute *attribute_data, zend_class_entry *scope, zend_string *filename); ZEND_API zend_string *zend_get_attribute_target_names(uint32_t targets); ZEND_API bool zend_is_attribute_repeated(HashTable *attributes, zend_attribute *attr); ZEND_API zend_internal_attribute *zend_mark_internal_attribute(zend_class_entry *ce); ZEND_API zend_internal_attribute *zend_internal_attribute_register(zend_class_entry *ce, uint32_t flags); ZEND_API zend_internal_attribute *zend_internal_attribute_get(zend_string *lcname); ZEND_API zend_attribute *zend_add_attribute( HashTable **attributes, zend_string *name, uint32_t argc, uint32_t flags, uint32_t offset, uint32_t lineno); uint32_t zend_attribute_attribute_get_flags(zend_attribute *attr, zend_class_entry *scope); END_EXTERN_C() static zend_always_inline zend_attribute *zend_add_class_attribute(zend_class_entry *ce, zend_string *name, uint32_t argc) { uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; return zend_add_attribute(&ce->attributes, name, argc, flags, 0, 0); } static zend_always_inline zend_attribute *zend_add_function_attribute(zend_function *func, zend_string *name, uint32_t argc) { uint32_t flags = func->common.type != ZEND_USER_FUNCTION ? ZEND_ATTRIBUTE_PERSISTENT : 0; return zend_add_attribute(&func->common.attributes, name, argc, flags, 0, 0); } static zend_always_inline zend_attribute *zend_add_parameter_attribute(zend_function *func, uint32_t offset, zend_string *name, uint32_t argc) { uint32_t flags = func->common.type != ZEND_USER_FUNCTION ? ZEND_ATTRIBUTE_PERSISTENT : 0; return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); } static zend_always_inline zend_attribute *zend_add_property_attribute(zend_class_entry *ce, zend_property_info *info, zend_string *name, uint32_t argc) { uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; return zend_add_attribute(&info->attributes, name, argc, flags, 0, 0); } static zend_always_inline zend_attribute *zend_add_class_constant_attribute(zend_class_entry *ce, zend_class_constant *c, zend_string *name, uint32_t argc) { uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; return zend_add_attribute(&c->attributes, name, argc, flags, 0, 0); } void zend_register_attribute_ce(void); void zend_attributes_shutdown(void); #endif
SIMPAN PERUBAHAN