$34 GRAYBYTE WORDPRESS FILE MANAGER $89

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cpanel/ea-php84/root/usr/include/php/Zend/

HOME
Current File : /opt/cpanel/ea-php84/root/usr/include/php/Zend//zend_constants.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_CONSTANTS_H
#define ZEND_CONSTANTS_H

#include "zend_globals.h"

#define CONST_CS				0					/* No longer used -- always case sensitive */
#define CONST_PERSISTENT		(1<<0)				/* Persistent */
#define CONST_NO_FILE_CACHE		(1<<1)				/* Can't be saved in file cache */
#define CONST_DEPRECATED		(1<<2)				/* Deprecated */
#define CONST_OWNED				(1<<3)				/* constant should be destroyed together with class */
#define CONST_RECURSIVE			(1<<4)				/* Recursion protection for constant evaluation */

#define CONST_IS_RECURSIVE(c) (Z_CONSTANT_FLAGS((c)->value) & CONST_RECURSIVE)
#define CONST_PROTECT_RECURSION(c) \
	do { \
		Z_CONSTANT_FLAGS((c)->value) |= CONST_RECURSIVE; \
	} while (0)
#define CONST_UNPROTECT_RECURSION(c) \
	do { \
		Z_CONSTANT_FLAGS((c)->value) &= ~CONST_RECURSIVE; \
	} while (0)

#define	PHP_USER_CONSTANT   0x7fffff /* a constant defined in user space */

typedef struct _zend_constant {
	zval value;
	zend_string *name;
} zend_constant;

#define ZEND_CONSTANT_FLAGS(c) \
	(Z_CONSTANT_FLAGS((c)->value) & 0xff)

#define ZEND_CONSTANT_MODULE_NUMBER(c) \
	(Z_CONSTANT_FLAGS((c)->value) >> 8)

#define ZEND_CONSTANT_SET_FLAGS(c, _flags, _module_number) do { \
		Z_CONSTANT_FLAGS((c)->value) = \
			((_flags) & 0xff) | ((_module_number) << 8); \
	} while (0)

#define REGISTER_NULL_CONSTANT(name, flags)  zend_register_null_constant((name), sizeof(name)-1, (flags), module_number)
#define REGISTER_BOOL_CONSTANT(name, bval, flags)  zend_register_bool_constant((name), sizeof(name)-1, (bval), (flags), module_number)
#define REGISTER_LONG_CONSTANT(name, lval, flags)  zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
#define REGISTER_DOUBLE_CONSTANT(name, dval, flags)  zend_register_double_constant((name), sizeof(name)-1, (dval), (flags), module_number)
#define REGISTER_STRING_CONSTANT(name, str, flags)  zend_register_string_constant((name), sizeof(name)-1, (str), (flags), module_number)
#define REGISTER_STRINGL_CONSTANT(name, str, len, flags)  zend_register_stringl_constant((name), sizeof(name)-1, (str), (len), (flags), module_number)

#define REGISTER_NS_NULL_CONSTANT(ns, name, flags)  zend_register_null_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, (flags), module_number)
#define REGISTER_NS_BOOL_CONSTANT(ns, name, bval, flags)  zend_register_bool_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, (bval), (flags), module_number)
#define REGISTER_NS_LONG_CONSTANT(ns, name, lval, flags)  zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, (lval), (flags), module_number)
#define REGISTER_NS_DOUBLE_CONSTANT(ns, name, dval, flags)  zend_register_double_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, (dval), (flags), module_number)
#define REGISTER_NS_STRING_CONSTANT(ns, name, str, flags)  zend_register_string_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, (str), (flags), module_number)
#define REGISTER_NS_STRINGL_CONSTANT(ns, name, str, len, flags)  zend_register_stringl_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, (str), (len), (flags), module_number)

#define REGISTER_MAIN_NULL_CONSTANT(name, flags)  zend_register_null_constant((name), sizeof(name)-1, (flags), 0)
#define REGISTER_MAIN_BOOL_CONSTANT(name, bval, flags)  zend_register_bool_constant((name), sizeof(name)-1, (bval), (flags), 0)
#define REGISTER_MAIN_LONG_CONSTANT(name, lval, flags)  zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), 0)
#define REGISTER_MAIN_DOUBLE_CONSTANT(name, dval, flags)  zend_register_double_constant((name), sizeof(name)-1, (dval), (flags), 0)
#define REGISTER_MAIN_STRING_CONSTANT(name, str, flags)  zend_register_string_constant((name), sizeof(name)-1, (str), (flags), 0)
#define REGISTER_MAIN_STRINGL_CONSTANT(name, str, len, flags)  zend_register_stringl_constant((name), sizeof(name)-1, (str), (len), (flags), 0)

BEGIN_EXTERN_C()
void clean_module_constants(int module_number);
void free_zend_constant(zval *zv);
void zend_startup_constants(void);
void zend_register_standard_constants(void);
ZEND_API bool zend_verify_const_access(zend_class_constant *c, zend_class_entry *ce);
ZEND_API zval *zend_get_constant(zend_string *name);
ZEND_API zend_constant *zend_get_constant_ptr(zend_string *name);
ZEND_API zval *zend_get_constant_str(const char *name, size_t name_len);
ZEND_API zval *zend_get_constant_ex(zend_string *name, zend_class_entry *scope, uint32_t flags);
ZEND_API zval *zend_get_class_constant_ex(zend_string *class_name, zend_string *constant_name, zend_class_entry *scope, uint32_t flags);
ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, bool bval, int flags, int module_number);
ZEND_API void zend_register_null_constant(const char *name, size_t name_len, int flags, int module_number);
ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int flags, int module_number);
ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int flags, int module_number);
ZEND_API void zend_register_string_constant(const char *name, size_t name_len, const char *strval, int flags, int module_number);
ZEND_API void zend_register_stringl_constant(const char *name, size_t name_len, const char *strval, size_t strlen, int flags, int module_number);
ZEND_API zend_result zend_register_constant(zend_constant *c);
#ifdef ZTS
void zend_copy_constants(HashTable *target, HashTable *source);
#endif

ZEND_API zend_constant *_zend_get_special_const(const char *name, size_t name_len);

static zend_always_inline zend_constant *zend_get_special_const(
		const char *name, size_t name_len) {
	if (name_len == 4 || name_len == 5) {
		return _zend_get_special_const(name, name_len);
	}
	return NULL;
}

END_EXTERN_C()

#define ZEND_CONSTANT_DTOR free_zend_constant

#endif

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
20 Feb 2026 7.41 PM
root / root
0755
Optimizer
--
16 Mar 2026 5.03 PM
root / root
0755
zend.h
17.248 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_API.h
106.402 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_alloc.h
20.216 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_alloc_sizes.h
2.567 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_arena.h
5.938 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_ast.h
13.466 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_atomic.h
12.774 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_attributes.h
5.774 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_attributes_arginfo.h
14.182 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_bitset.h
7.894 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_build.h
1.588 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_builtin_functions.h
1.536 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_builtin_functions_arginfo.h
14.872 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_call_stack.h
2.984 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_closures.h
2.261 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_closures_arginfo.h
2.016 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_compile.h
52.197 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_config.h
0.031 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_constants.h
6.961 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_constants_arginfo.h
1.849 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_cpuinfo.h
9.29 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_dtrace.h
2.003 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_enum.h
2.859 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_enum_arginfo.h
1.651 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_errors.h
2.359 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_exceptions.h
4.539 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_exceptions_arginfo.h
17.264 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_execute.h
23.402 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_extensions.h
6.434 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_fibers.h
5.285 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_fibers_arginfo.h
3.447 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_float.h
15.105 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_frameless_function.h
5.389 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_gc.h
4.578 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_gdb.h
1.387 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_generators.h
7.484 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_generators_arginfo.h
2.821 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_globals.h
9.77 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_globals_macros.h
2.774 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_hash.h
50.358 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_highlight.h
2.267 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_hrtime.h
3.752 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_inheritance.h
3.111 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_ini.h
11.878 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_ini_parser.h
3.481 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_ini_scanner.h
1.932 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_ini_scanner_defs.h
0.199 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_interfaces.h
4.021 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_interfaces_arginfo.h
7.655 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_iterators.h
3.81 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_language_parser.h
10.707 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_language_scanner.h
2.999 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_language_scanner_defs.h
0.257 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_lazy_objects.h
4.608 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_list.h
3.401 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_llist.h
3.938 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_long.h
4.128 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_map_ptr.h
3.487 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_max_execution_timer.h
1.449 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_mmap.h
1.477 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_modules.h
4.713 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_multibyte.h
4.83 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_multiply.h
10.031 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_object_handlers.h
17.661 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_objects.h
1.896 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_objects_API.h
5.476 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_observer.h
8.824 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_operators.h
33.261 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_portability.h
26.802 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_property_hooks.h
1.781 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_ptr_stack.h
4.22 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_range_check.h
2.93 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_signal.h
4.009 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_smart_str.h
6.88 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_smart_str_public.h
1.193 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_smart_string.h
4.108 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_smart_string_public.h
1.211 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_sort.h
1.523 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_stack.h
2.385 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_stream.h
3.556 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_string.h
22.161 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_strtod.h
2.289 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_strtod_int.h
2.807 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_system_id.h
1.391 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_type_info.h
4.438 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_types.h
51.06 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_variables.h
3.016 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_verify_type_inference.h
8.068 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_virtual_cwd.h
12.891 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_vm.h
2.063 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_vm_def.h
295.402 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_vm_execute.h
2.17 MB
20 Feb 2026 7.41 PM
root / root
0644
zend_vm_handlers.h
90.538 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_vm_opcodes.h
13.495 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_vm_trace_handlers.h
3.141 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_vm_trace_lines.h
1.714 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_vm_trace_map.h
2.603 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_weakrefs.h
3.15 KB
20 Feb 2026 7.41 PM
root / root
0644
zend_weakrefs_arginfo.h
3.359 KB
20 Feb 2026 7.41 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF