Exploit databaseDownload repository ZIP
GH-68a106f50640b22c0bb32b6b806a797e
ahallais/php82-ubuntu2404-backport
Sources for CVE-2026-109618
412 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files168
ahallais/php82-ubuntu2404-backportRevision 7995f69c237f
- ↑..Parent directory
- Optimizer/
- asm/
- tests/
- LICENSE
- Makefile.frag
- README.md
- Zend.m4
- bench.php
- micro_bench.php
- zend.c
- zend.h
- zend_API.c
- zend_API.h
- zend_alloc.c
- zend_alloc.h
- zend_alloc_sizes.h
- zend_arena.h
- zend_ast.c
- zend_ast.h
- zend_atomic.c
- zend_atomic.h
- zend_attributes.c
- zend_attributes.h
- zend_attributes.stub.php
- zend_attributes_arginfo.h
- zend_bitset.h
- zend_build.h
- zend_builtin_functions.c
- zend_builtin_functions.h
- zend_builtin_functions.stub.php
- zend_builtin_functions_arginfo.h
- zend_closures.c
- zend_closures.h
- zend_closures.stub.php
- zend_closures_arginfo.h
- zend_compile.c
- zend_compile.h
- zend_config.w32.h
- zend_constants.c
- zend_constants.h
- zend_constants.stub.php
- zend_constants_arginfo.h
- zend_cpuinfo.c
- zend_cpuinfo.h
- zend_default_classes.c
- zend_dtrace.c
- zend_dtrace.d
- zend_dtrace.h
- zend_enum.c
- zend_enum.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
sury/build/php8.2-8.2.35/Zend/zend_enum.h
Text · 2,842 bytes/*
+----------------------------------------------------------------------+
| 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: Ilija Tovilo <[email protected]> |
+----------------------------------------------------------------------+
*/
#ifndef ZEND_ENUM_H
#define ZEND_ENUM_H
#include "zend.h"
#include "zend_types.h"
BEGIN_EXTERN_C()
extern ZEND_API zend_class_entry *zend_ce_unit_enum;
extern ZEND_API zend_class_entry *zend_ce_backed_enum;
void zend_register_enum_ce(void);
void zend_enum_add_interfaces(zend_class_entry *ce);
zend_result zend_enum_build_backed_enum_table(zend_class_entry *ce);
zend_object *zend_enum_new(zval *result, zend_class_entry *ce, zend_string *case_name, zval *backing_value_zv);
void zend_verify_enum(zend_class_entry *ce);
void zend_enum_register_funcs(zend_class_entry *ce);
void zend_enum_register_props(zend_class_entry *ce);
ZEND_API zend_class_entry *zend_register_internal_enum(
const char *name, zend_uchar type, const zend_function_entry *functions);
ZEND_API void zend_enum_add_case(zend_class_entry *ce, zend_string *case_name, zval *value);
ZEND_API void zend_enum_add_case_cstr(zend_class_entry *ce, const char *name, zval *value);
ZEND_API zend_object *zend_enum_get_case(zend_class_entry *ce, zend_string *name);
ZEND_API zend_object *zend_enum_get_case_cstr(zend_class_entry *ce, const char *name);
ZEND_API zend_result zend_enum_get_case_by_value(zend_object **result, zend_class_entry *ce, zend_long long_key, zend_string *string_key, bool try_from);
static zend_always_inline zval *zend_enum_fetch_case_name(zend_object *zobj)
{
ZEND_ASSERT(zobj->ce->ce_flags & ZEND_ACC_ENUM);
return OBJ_PROP_NUM(zobj, 0);
}
static zend_always_inline zval *zend_enum_fetch_case_value(zend_object *zobj)
{
ZEND_ASSERT(zobj->ce->ce_flags & ZEND_ACC_ENUM);
ZEND_ASSERT(zobj->ce->enum_backing_type != IS_UNDEF);
return OBJ_PROP_NUM(zobj, 1);
}
END_EXTERN_C()
#endif /* ZEND_ENUM_H */