/opt/cpanel/ea-php84/root/usr/include/php/Zend
NameSizeModeActions
Optimizer/-0755rm
zend.h177580644editdlrm
zend_alloc.h207010644editdlrm
zend_alloc_sizes.h26290644editdlrm
zend_API.h1089560644editdlrm
zend_arena.h60810644editdlrm
zend_ast.h137890644editdlrm
zend_atomic.h130810644editdlrm
zend_attributes.h59130644editdlrm
zend_attributes_arginfo.h145220644editdlrm
zend_bitset.h80830644editdlrm
zend_build.h16260644editdlrm
zend_builtin_functions.h15730644editdlrm
zend_builtin_functions_arginfo.h152290644editdlrm
zend_call_stack.h31000644editdlrm
zend_closures.h23150644editdlrm
zend_closures_arginfo.h20640644editdlrm
zend_compile.h534500644editdlrm
zend_config.h320644editdlrm
zend_constants.h71280644editdlrm
zend_constants_arginfo.h18930644editdlrm
zend_cpuinfo.h95130644editdlrm
zend_dtrace.h20510644editdlrm
zend_enum.h29280644editdlrm
zend_enum_arginfo.h16910644editdlrm
zend_errors.h24160644editdlrm
zend_exceptions.h46480644editdlrm
zend_exceptions_arginfo.h176780644editdlrm
zend_execute.h239640644editdlrm
zend_extensions.h65880644editdlrm
zend_fibers.h54120644editdlrm
zend_fibers_arginfo.h35300644editdlrm
zend_float.h154680644editdlrm
zend_frameless_function.h55180644editdlrm
zend_gc.h46880644editdlrm
zend_gdb.h14200644editdlrm
zend_generators.h76640644editdlrm
zend_generators_arginfo.h28890644editdlrm
zend_globals.h100040644editdlrm
zend_globals_macros.h28410644editdlrm
zend_hash.h515670644editdlrm
zend_highlight.h23210644editdlrm
zend_hrtime.h38420644editdlrm
zend_inheritance.h31860644editdlrm
zend_ini.h121630644editdlrm
zend_ini_parser.h35650644editdlrm
zend_ini_scanner.h19780644editdlrm
zend_ini_scanner_defs.h2060644editdlrm
zend_interfaces.h41180644editdlrm
zend_interfaces_arginfo.h78390644editdlrm
zend_iterators.h39010644editdlrm
zend_language_parser.h109640644editdlrm
zend_language_scanner.h30710644editdlrm
zend_language_scanner_defs.h2650644editdlrm
zend_lazy_objects.h47190644editdlrm
zend_list.h34830644editdlrm
zend_llist.h40320644editdlrm
zend_long.h42270644editdlrm
zend_map_ptr.h35710644editdlrm
zend_max_execution_timer.h14840644editdlrm
zend_mmap.h15120644editdlrm
zend_modules.h48260644editdlrm
zend_multibyte.h49460644editdlrm
zend_multiply.h103020644editdlrm
zend_objects.h19410644editdlrm
zend_objects_API.h56070644editdlrm
zend_object_handlers.h180850644editdlrm
zend_observer.h90360644editdlrm
zend_operators.h340590644editdlrm
zend_portability.h274450644editdlrm
zend_property_hooks.h18240644editdlrm
zend_ptr_stack.h43210644editdlrm
zend_range_check.h30000644editdlrm
zend_signal.h41050644editdlrm
zend_smart_str.h70450644editdlrm
zend_smart_string.h42070644editdlrm
zend_smart_string_public.h12400644editdlrm
zend_smart_str_public.h12220644editdlrm
zend_sort.h15600644editdlrm
zend_stack.h24420644editdlrm
zend_stream.h36410644editdlrm
zend_string.h226930644editdlrm
zend_strtod.h23440644editdlrm
zend_strtod_int.h28740644editdlrm
zend_system_id.h14240644editdlrm
zend_types.h522850644editdlrm
zend_type_info.h45440644editdlrm
zend_variables.h30880644editdlrm
zend_verify_type_inference.h82620644editdlrm
zend_virtual_cwd.h132170644editdlrm
zend_vm.h21120644editdlrm
zend_vm_def.h3028090644editdlrm
zend_vm_execute.h22780090644editdlrm
zend_vm_handlers.h927110644editdlrm
zend_vm_opcodes.h138190644editdlrm
zend_vm_trace_handlers.h32160644editdlrm
zend_vm_trace_lines.h17550644editdlrm
zend_vm_trace_map.h26650644editdlrm
zend_weakrefs.h32260644editdlrm
zend_weakrefs_arginfo.h34400644editdlrm
Edit: /opt/cpanel/ea-php84/root/usr/include/php/Zend/zend_lazy_objects.h (4719B)
/* +----------------------------------------------------------------------+ | 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: Arnaud Le Blanc | +----------------------------------------------------------------------+ */ #ifndef ZEND_LAZY_OBJECT_H #define ZEND_LAZY_OBJECT_H #include "Zend/zend_types.h" /* Lazy object is a lazy proxy object */ #define ZEND_LAZY_OBJECT_STRATEGY_PROXY (1<<0) /* Lazy object is a lazy ghost object */ #define ZEND_LAZY_OBJECT_STRATEGY_GHOST (1<<1) /* Lazy object is initialized (info.u is an instance) */ #define ZEND_LAZY_OBJECT_INITIALIZED (1<<2) /* Serialization skips initialization */ #define ZEND_LAZY_OBJECT_SKIP_INITIALIZATION_ON_SERIALIZE (1<<3) /* Do not call destructor when making existing object lazy */ #define ZEND_LAZY_OBJECT_SKIP_DESTRUCTOR (1<<4) #define ZEND_LAZY_OBJECT_USER_MASK ( \ ZEND_LAZY_OBJECT_SKIP_INITIALIZATION_ON_SERIALIZE | \ ZEND_LAZY_OBJECT_SKIP_DESTRUCTOR \ ) #define ZEND_LAZY_OBJECT_STRATEGY_MASK ( \ ZEND_LAZY_OBJECT_STRATEGY_PROXY | \ ZEND_LAZY_OBJECT_STRATEGY_GHOST \ ) typedef uint8_t zend_lazy_object_flags_t; typedef struct _zend_lazy_objects_store { /* object handle -> *zend_lazy_object_info */ HashTable infos; } zend_lazy_objects_store; typedef struct _zend_property_info zend_property_info; typedef struct _zend_fcall_info zend_fcall_info; typedef struct _zend_fcall_info_cache zend_fcall_info_cache; ZEND_API bool zend_class_can_be_lazy(zend_class_entry *ce); ZEND_API zend_object *zend_object_make_lazy(zend_object *obj, zend_class_entry *class_type, zval *initializer_zv, zend_fcall_info_cache *initializer_fcc, zend_lazy_object_flags_t flags); ZEND_API zend_object *zend_lazy_object_init(zend_object *obj); ZEND_API zend_object *zend_lazy_object_mark_as_initialized(zend_object *obj); void zend_lazy_objects_init(zend_lazy_objects_store *store); void zend_lazy_objects_destroy(zend_lazy_objects_store *store); zval* zend_lazy_object_get_initializer_zv(zend_object *obj); zend_object *zend_lazy_object_get_instance(zend_object *obj); zend_lazy_object_flags_t zend_lazy_object_get_flags(zend_object *obj); void zend_lazy_object_del_info(zend_object *obj); ZEND_API HashTable *zend_lazy_object_get_properties(zend_object *object); zend_object *zend_lazy_object_clone(zend_object *old_obj); HashTable *zend_lazy_object_debug_info(zend_object *object, int *is_temp); HashTable *zend_lazy_object_get_gc(zend_object *zobj, zval **table, int *n); bool zend_lazy_object_decr_lazy_props(zend_object *obj); void zend_lazy_object_realize(zend_object *obj); ZEND_API zend_property_info *zend_lazy_object_get_property_info_for_slot(zend_object *obj, zval *slot); static zend_always_inline bool zend_object_is_lazy(zend_object *obj) { return (OBJ_EXTRA_FLAGS(obj) & (IS_OBJ_LAZY_UNINITIALIZED | IS_OBJ_LAZY_PROXY)); } static zend_always_inline bool zend_object_is_lazy_proxy(zend_object *obj) { return (OBJ_EXTRA_FLAGS(obj) & IS_OBJ_LAZY_PROXY); } static zend_always_inline bool zend_lazy_object_initialized(zend_object *obj) { return !(OBJ_EXTRA_FLAGS(obj) & IS_OBJ_LAZY_UNINITIALIZED); } /* True if accessing a lazy prop on obj mandates a call to * zend_lazy_object_init() */ static zend_always_inline bool zend_lazy_object_must_init(zend_object *obj) { return zend_object_is_lazy(obj); } static inline bool zend_lazy_object_initialize_on_serialize(zend_object *obj) { return !(zend_lazy_object_get_flags(obj) & ZEND_LAZY_OBJECT_SKIP_INITIALIZATION_ON_SERIALIZE); } #endif /* ZEND_LAZY_OBJECT_H */