$86 GRAYBYTE WORDPRESS FILE MANAGER $65

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/php85/usr/include/php/Zend/

HOME
Current File : /opt/alt/php85/usr/include/php/Zend//zend_lazy_objects.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          |
   | [email protected] so we can mail you a copy immediately.              |
   +----------------------------------------------------------------------+
   | Authors: Arnaud Le Blanc <[email protected]>                       |
   +----------------------------------------------------------------------+
*/

#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(const 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(const zend_object *obj);
void zend_lazy_object_del_info(const 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(const 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(const 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(const zend_object *obj)
{
	return (OBJ_EXTRA_FLAGS(obj) & IS_OBJ_LAZY_PROXY);
}

static zend_always_inline bool zend_lazy_object_initialized(const 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(const zend_object *obj)
{
	return zend_object_is_lazy(obj);
}

static inline bool zend_lazy_object_initialize_on_serialize(const zend_object *obj)
{
	return !(zend_lazy_object_get_flags(obj) & ZEND_LAZY_OBJECT_SKIP_INITIALIZATION_ON_SERIALIZE);
}

#endif /* ZEND_LAZY_OBJECT_H */


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
12 Mar 2026 4.58 PM
root / linksafe
0755
Optimizer
--
31 Mar 2026 8.34 AM
root / linksafe
0755
zend.h
17.336 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_API.h
106.553 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_alloc.h
20.319 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_alloc_sizes.h
2.567 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_arena.h
5.938 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_ast.h
14.5 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_atomic.h
12.774 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_attributes.h
6.435 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_attributes_arginfo.h
15.501 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_bitset.h
7.841 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_build.h
1.588 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_builtin_functions.h
1.536 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_builtin_functions_arginfo.h
15.493 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_call_stack.h
3.068 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_closures.h
2.261 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_closures_arginfo.h
2.253 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_compile.h
53.205 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_config.h
0.031 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_constants.h
7.144 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_constants_arginfo.h
2.646 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_cpuinfo.h
9.29 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_dtrace.h
2.003 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_enum.h
2.859 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_enum_arginfo.h
1.651 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_errors.h
2.359 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_exceptions.h
4.472 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_exceptions_arginfo.h
15.427 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_execute.h
26.587 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_extensions.h
6.434 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_fibers.h
5.285 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_fibers_arginfo.h
3.447 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_float.h
15.105 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_frameless_function.h
5.389 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_gc.h
4.908 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_gdb.h
1.387 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_generators.h
7.484 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_generators_arginfo.h
2.821 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_globals.h
9.913 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_globals_macros.h
2.774 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_hash.h
51.24 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_highlight.h
2.267 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_hrtime.h
4.147 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_inheritance.h
3.129 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_ini.h
11.909 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_ini_parser.h
2.686 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_ini_scanner.h
1.932 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_ini_scanner_defs.h
0.24 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_interfaces.h
4.021 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_interfaces_arginfo.h
7.655 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_iterators.h
3.81 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_language_parser.h
6.092 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_language_scanner.h
2.999 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_language_scanner_defs.h
0.303 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_lazy_objects.h
4.661 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_list.h
3.401 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_llist.h
3.938 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_long.h
4.128 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_map_ptr.h
3.487 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_max_execution_timer.h
1.48 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_mmap.h
1.477 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_modules.h
4.713 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_multibyte.h
4.83 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_multiply.h
10.089 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_object_handlers.h
18.062 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_objects.h
2.024 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_objects_API.h
5.84 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_observer.h
8.824 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_operators.h
35.873 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_portability.h
28.122 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_property_hooks.h
1.781 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_ptr_stack.h
4.22 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_range_check.h
2.93 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_signal.h
4.009 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_simd.h
19.639 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_smart_str.h
6.88 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_smart_str_public.h
1.193 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_smart_string.h
4.23 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_smart_string_public.h
1.211 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_sort.h
1.523 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_stack.h
2.385 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_stream.h
3.556 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_string.h
22.409 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_strtod.h
2.289 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_strtod_int.h
2.807 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_system_id.h
1.391 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_type_info.h
4.438 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_types.h
51.843 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_variables.h
3.064 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_verify_type_inference.h
8.068 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_virtual_cwd.h
12.891 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_vm.h
2.063 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_vm_def.h
298.83 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_vm_execute.h
4 MB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_vm_handlers.h
90.992 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_vm_opcodes.h
15.093 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_vm_trace_handlers.h
3.141 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_vm_trace_lines.h
1.714 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_vm_trace_map.h
2.603 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_weakrefs.h
3.379 KB
12 Mar 2026 4.58 PM
root / linksafe
0644
zend_weakrefs_arginfo.h
3.359 KB
12 Mar 2026 4.58 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF