SILENT KILLERPanel

Current Path: > > opt > cloudlinux > alt-php74 > root > usr > include > php > Zend


Operation   : Linux premium131.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
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/alt-php74/root/usr/include/php/Zend

NameTypeSizeLast ModifiedActions
zend.h File 13913 bytes July 09 2025 08:28:27.
zend_API.h File 71109 bytes July 09 2025 08:28:27.
zend_alloc.h File 19213 bytes July 09 2025 08:28:27.
zend_alloc_sizes.h File 2629 bytes July 09 2025 08:28:27.
zend_arena.h File 6071 bytes July 09 2025 08:28:27.
zend_ast.h File 11697 bytes July 09 2025 08:28:27.
zend_bitset.h File 6877 bytes July 09 2025 08:28:27.
zend_build.h File 1626 bytes July 09 2025 08:28:27.
zend_builtin_functions.h File 1505 bytes July 09 2025 08:28:27.
zend_closures.h File 2209 bytes July 09 2025 08:28:27.
zend_compile.h File 43638 bytes July 09 2025 08:28:27.
zend_config.h File 32 bytes July 09 2025 08:28:34.
zend_config.w32.h File 2612 bytes July 09 2025 08:28:27.
zend_constants.h File 6302 bytes July 09 2025 08:28:27.
zend_cpuinfo.h File 7225 bytes July 09 2025 08:28:27.
zend_dtrace.h File 1937 bytes July 09 2025 08:28:27.
zend_errors.h File 2050 bytes July 09 2025 08:28:27.
zend_exceptions.h File 3853 bytes July 09 2025 08:28:28.
zend_execute.h File 16926 bytes July 09 2025 08:28:28.
zend_extensions.h File 6070 bytes July 09 2025 08:28:28.
zend_float.h File 15438 bytes July 09 2025 08:28:28.
zend_gc.h File 2867 bytes July 09 2025 08:28:28.
zend_generators.h File 7349 bytes July 09 2025 08:28:28.
zend_globals.h File 7767 bytes July 09 2025 08:28:28.
zend_globals_macros.h File 2810 bytes July 09 2025 08:28:28.
zend_hash.h File 36430 bytes July 09 2025 08:28:28.
zend_highlight.h File 2268 bytes July 09 2025 08:28:28.
zend_inheritance.h File 2027 bytes July 09 2025 08:28:28.
zend_ini.h File 9823 bytes July 09 2025 08:28:28.
zend_ini_parser.h File 2520 bytes July 09 2025 08:28:28.
zend_ini_scanner.h File 1873 bytes July 09 2025 08:28:34.
zend_ini_scanner_defs.h File 225 bytes July 09 2025 08:28:28.
zend_interfaces.h File 4266 bytes July 09 2025 08:28:28.
zend_istdiostream.h File 1537 bytes July 09 2025 08:28:28.
zend_iterators.h File 3404 bytes July 09 2025 08:28:28.
zend_language_parser.h File 5411 bytes July 09 2025 08:28:29.
zend_language_scanner.h File 2732 bytes July 09 2025 08:28:34.
zend_language_scanner_defs.h File 310 bytes July 09 2025 08:28:29.
zend_list.h File 3470 bytes July 09 2025 08:28:29.
zend_llist.h File 3790 bytes July 09 2025 08:28:29.
zend_long.h File 4298 bytes July 09 2025 08:28:29.
zend_map_ptr.h File 3165 bytes July 09 2025 08:28:29.
zend_modules.h File 4790 bytes July 09 2025 08:28:29.
zend_multibyte.h File 4862 bytes July 09 2025 08:28:29.
zend_multiply.h File 9837 bytes July 09 2025 08:28:30.
zend_object_handlers.h File 13505 bytes July 09 2025 08:28:30.
zend_objects.h File 1807 bytes July 09 2025 08:28:30.
zend_objects_API.h File 4683 bytes July 09 2025 08:28:30.
zend_operators.h File 34148 bytes July 09 2025 08:28:30.
zend_portability.h File 20146 bytes July 09 2025 08:28:30.
zend_ptr_stack.h File 4306 bytes July 09 2025 08:28:30.
zend_range_check.h File 3000 bytes July 09 2025 08:28:30.
zend_signal.h File 4082 bytes July 09 2025 08:28:30.
zend_smart_str.h File 5530 bytes July 09 2025 08:28:30.
zend_smart_str_public.h File 1279 bytes July 09 2025 08:28:31.
zend_smart_string.h File 4389 bytes July 09 2025 08:28:31.
zend_smart_string_public.h File 1392 bytes July 09 2025 08:28:31.
zend_sort.h File 1636 bytes July 09 2025 08:28:31.
zend_stack.h File 2360 bytes July 09 2025 08:28:31.
zend_stream.h File 3542 bytes July 09 2025 08:28:31.
zend_string.h File 17628 bytes July 09 2025 08:28:31.
zend_strtod.h File 1854 bytes July 09 2025 08:28:31.
zend_strtod_int.h File 3499 bytes July 09 2025 08:28:31.
zend_ts_hash.h File 5731 bytes July 09 2025 08:28:31.
zend_type_info.h File 3091 bytes July 09 2025 08:28:31.
zend_types.h File 40531 bytes July 09 2025 08:28:32.
zend_variables.h File 3273 bytes July 09 2025 08:28:32.
zend_virtual_cwd.h File 12734 bytes July 09 2025 08:28:32.
zend_vm.h File 1952 bytes July 09 2025 08:28:32.
zend_vm_def.h File 271292 bytes July 09 2025 08:28:32.
zend_vm_execute.h File 2016300 bytes July 09 2025 08:28:32.
zend_vm_handlers.h File 87968 bytes July 09 2025 08:28:32.
zend_vm_opcodes.h File 12080 bytes July 09 2025 08:28:32.
zend_vm_trace_handlers.h File 3212 bytes July 09 2025 08:28:32.
zend_vm_trace_map.h File 2654 bytes July 09 2025 08:28:33.
zend_weakrefs.h File 1445 bytes July 09 2025 08:28:33.

Reading File: //opt/cloudlinux/alt-php74/root/usr/include/php/Zend/zend_objects_API.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: Andi Gutmans <andi@php.net>                                 |
   |          Zeev Suraski <zeev@php.net>                                 |
   +----------------------------------------------------------------------+
*/

#ifndef ZEND_OBJECTS_API_H
#define ZEND_OBJECTS_API_H

#include "zend.h"
#include "zend_compile.h"

#define OBJ_BUCKET_INVALID			(1<<0)

#define IS_OBJ_VALID(o)				(!(((zend_uintptr_t)(o)) & OBJ_BUCKET_INVALID))

#define SET_OBJ_INVALID(o)			((zend_object*)((((zend_uintptr_t)(o)) | OBJ_BUCKET_INVALID)))

#define GET_OBJ_BUCKET_NUMBER(o)	(((zend_intptr_t)(o)) >> 1)

#define SET_OBJ_BUCKET_NUMBER(o, n)	do { \
		(o) = (zend_object*)((((zend_uintptr_t)(n)) << 1) | OBJ_BUCKET_INVALID); \
	} while (0)

#define ZEND_OBJECTS_STORE_ADD_TO_FREE_LIST(h) do { \
		SET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[(h)], EG(objects_store).free_list_head); \
		EG(objects_store).free_list_head = (h); \
	} while (0)

#define OBJ_RELEASE(obj) zend_object_release(obj)

typedef struct _zend_objects_store {
	zend_object **object_buckets;
	uint32_t top;
	uint32_t size;
	int free_list_head;
} zend_objects_store;

/* Global store handling functions */
BEGIN_EXTERN_C()
ZEND_API void ZEND_FASTCALL zend_objects_store_init(zend_objects_store *objects, uint32_t init_size);
ZEND_API void ZEND_FASTCALL zend_objects_store_call_destructors(zend_objects_store *objects);
ZEND_API void ZEND_FASTCALL zend_objects_store_mark_destructed(zend_objects_store *objects);
ZEND_API void ZEND_FASTCALL zend_objects_store_free_object_storage(zend_objects_store *objects, zend_bool fast_shutdown);
ZEND_API void ZEND_FASTCALL zend_objects_store_destroy(zend_objects_store *objects);

/* Store API functions */
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
ZEND_API void ZEND_FASTCALL zend_objects_store_del(zend_object *object);

/* Called when the ctor was terminated by an exception */
static zend_always_inline void zend_object_store_ctor_failed(zend_object *obj)
{
	GC_ADD_FLAGS(obj, IS_OBJ_DESTRUCTOR_CALLED);
}

END_EXTERN_C()

static zend_always_inline void zend_object_release(zend_object *obj)
{
	if (GC_DELREF(obj) == 0) {
		zend_objects_store_del(obj);
	} else if (UNEXPECTED(GC_MAY_LEAK((zend_refcounted*)obj))) {
		gc_possible_root((zend_refcounted*)obj);
	}
}

static zend_always_inline size_t zend_object_properties_size(zend_class_entry *ce)
{
	return sizeof(zval) *
		(ce->default_properties_count -
			((ce->ce_flags & ZEND_ACC_USE_GUARDS) ? 0 : 1));
}

/* Allocates object type and zeros it, but not the properties.
 * Properties MUST be initialized using object_properties_init(). */
static zend_always_inline void *zend_object_alloc(size_t obj_size, zend_class_entry *ce) {
	void *obj = emalloc(obj_size + zend_object_properties_size(ce));
	/* Subtraction of sizeof(zval) is necessary, because zend_object_properties_size() may be
	 * -sizeof(zval), if the object has no properties. */
	memset(obj, 0, obj_size - sizeof(zval));
	return obj;
}

static inline zend_property_info *zend_get_property_info_for_slot(zend_object *obj, zval *slot)
{
	zend_property_info **table = obj->ce->properties_info_table;
	intptr_t prop_num = slot - obj->properties_table;
	ZEND_ASSERT(prop_num >= 0 && prop_num < obj->ce->default_properties_count);
	return table[prop_num];
}

/* Helper for cases where we're only interested in property info of typed properties. */
static inline zend_property_info *zend_get_typed_property_info_for_slot(zend_object *obj, zval *slot)
{
	zend_property_info *prop_info = zend_get_property_info_for_slot(obj, slot);
	if (prop_info && prop_info->type) {
		return prop_info;
	}
	return NULL;
}


#endif /* ZEND_OBJECTS_H */

SILENT KILLER Tool