/* automatically generated by rust-bindgen 0.70.1 */
#![allow(clippy::all)]
#![allow(
non_upper_case_globals,
non_camel_case_types,
non_snake_case,
clashing_extern_declarations
)]
#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
storage: Storage,
}
impl<Storage> __BindgenBitfieldUnit<Storage> {
#[inline]
pub const fn new(storage: Storage) -> Self {
Self { storage }
}
}
impl<Storage> __BindgenBitfieldUnit<Storage>
where
Storage: AsRef<[u8]> + AsMut<[u8]>,
{
#[inline]
pub fn get_bit(&self, index: usize) -> bool {
debug_assert!(index / 8 < self.storage.as_ref().len());
let byte_index = index / 8;
let byte = self.storage.as_ref()[byte_index];
let bit_index = if cfg!(target_endian = "big") {
7 - (index % 8)
} else {
index % 8
};
let mask = 1 << bit_index;
byte & mask == mask
}
#[inline]
pub fn set_bit(&mut self, index: usize, val: bool) {
debug_assert!(index / 8 < self.storage.as_ref().len());
let byte_index = index / 8;
let byte = &mut self.storage.as_mut()[byte_index];
let bit_index = if cfg!(target_endian = "big") {
7 - (index % 8)
} else {
index % 8
};
let mask = 1 << bit_index;
if val {
*byte |= mask;
} else {
*byte &= !mask;
}
}
#[inline]
pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
let mut val = 0;
for i in 0..(bit_width as usize) {
if self.get_bit(i + bit_offset) {
let index = if cfg!(target_endian = "big") {
bit_width as usize - 1 - i
} else {
i
};
val |= 1 << index;
}
}
val
}
#[inline]
pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
for i in 0..(bit_width as usize) {
let mask = 1 << i;
let val_bit_is_set = val & mask == mask;
let index = if cfg!(target_endian = "big") {
bit_width as usize - 1 - i
} else {
i
};
self.set_bit(index + bit_offset, val_bit_is_set);
}
}
}
pub const PHP_API_VERSION: u32 = 20250925;
pub const PHP_DEFAULT_CHARSET: &[u8; 6] = b"UTF-8\0";
pub const PHP_MAJOR_VERSION: u32 = 8;
pub const PHP_MINOR_VERSION: u32 = 5;
pub const PHP_RELEASE_VERSION: u32 = 8;
pub const PHP_EXTRA_VERSION: &[u8; 1] = b"\0";
pub const PHP_VERSION: &[u8; 6] = b"8.5.8\0";
pub const PHP_VERSION_ID: u32 = 80508;
pub const ZEND_VERSION: &[u8; 6] = b"4.5.8\0";
pub const PHP_BUILD_PROVIDER: &[u8; 7] = b"Debian\0";
pub const PHP_BUILD_SYSTEM: &[u8; 6] = b"Linux\0";
pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
pub const PHP_HAVE_AVX512_SUPPORTS: u32 = 1;
pub const PHP_HAVE_AVX512_VBMI_SUPPORTS: u32 = 1;
pub const PHP_HAVE_BUILTIN_CLZ: u32 = 1;
pub const PHP_HAVE_BUILTIN_CLZL: u32 = 1;
pub const PHP_HAVE_BUILTIN_CLZLL: u32 = 1;
pub const PHP_HAVE_BUILTIN_CPU_INIT: u32 = 1;
pub const PHP_HAVE_BUILTIN_CPU_SUPPORTS: u32 = 1;
pub const PHP_HAVE_BUILTIN_CTZL: u32 = 1;
pub const PHP_HAVE_BUILTIN_CTZLL: u32 = 1;
pub const PHP_HAVE_BUILTIN_EXPECT: u32 = 1;
pub const PHP_HAVE_BUILTIN_FRAME_ADDRESS: u32 = 1;
pub const PHP_HAVE_BUILTIN_SADDLL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_SADDL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_SMULLL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_SMULL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_SSUBL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_UNREACHABLE: u32 = 1;
pub const PHP_HAVE_BUILTIN_USUB_OVERFLOW: u32 = 1;
pub const PHP_MHASH_BC: u32 = 1;
pub const PHP_OS: &[u8; 6] = b"Linux\0";
pub const PHP_SIGCHILD: u32 = 0;
pub const PHP_UNAME: &[u8; 6] = b"Linux\0";
pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
pub const PHP_WRITE_STDOUT: u32 = 1;
pub const ZEND_CHECK_STACK_LIMIT: u32 = 1;
pub const ZEND_DEBUG: u32 = 0;
pub const ZEND_MM_NEED_EIGHT_BYTE_REALIGNMENT: u32 = 0;
pub const ZEND_SIGNALS: u32 = 1;
pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
pub const ZEND_ENABLE_ZVAL_LONG64: u32 = 1;
pub const ZEND_LTOA_BUF_LEN: u32 = 65;
pub const ZEND_LONG_FMT: &[u8; 4] = b"%ld\0";
pub const ZEND_ULONG_FMT: &[u8; 4] = b"%lu\0";
pub const ZEND_XLONG_FMT: &[u8; 4] = b"%lx\0";
pub const ZEND_LONG_FMT_SPEC: &[u8; 3] = b"ld\0";
pub const ZEND_ULONG_FMT_SPEC: &[u8; 3] = b"lu\0";
pub const ZEND_ADDR_FMT: &[u8; 9] = b"0x%016zx\0";
pub const ZEND_LONG_CAN_OVFL_INT: u32 = 1;
pub const ZEND_LONG_CAN_OVFL_UINT: u32 = 1;
pub const ZEND_SIZE_T_CAN_OVFL_UINT: u32 = 1;
pub const PHP_RTLD_MODE: u32 = 1;
pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 6;
pub const ZEND_INTRIN_HAVE_IFUNC_TARGET: u32 = 1;
pub const ZEND_INTRIN_SSSE3_RESOLVER: u32 = 1;
pub const ZEND_INTRIN_SSSE3_FUNC_PROTO: u32 = 1;
pub const ZEND_INTRIN_SSE4_2_RESOLVER: u32 = 1;
pub const ZEND_INTRIN_SSE4_2_FUNC_PROTO: u32 = 1;
pub const ZEND_INTRIN_PCLMUL_RESOLVER: u32 = 1;
pub const ZEND_INTRIN_PCLMUL_FUNC_PTR: u32 = 1;
pub const ZEND_INTRIN_SSE4_2_PCLMUL_RESOLVER: u32 = 1;
pub const ZEND_INTRIN_SSE4_2_PCLMUL_FUNC_PTR: u32 = 1;
pub const ZEND_INTRIN_AVX2_RESOLVER: u32 = 1;
pub const ZEND_INTRIN_AVX2_FUNC_PROTO: u32 = 1;
pub const ZEND_INTRIN_AVX512_RESOLVER: u32 = 1;
pub const ZEND_INTRIN_AVX512_FUNC_PROTO: u32 = 1;
pub const ZEND_INTRIN_AVX512_VBMI_RESOLVER: u32 = 1;
pub const ZEND_INTRIN_AVX512_VBMI_FUNC_PROTO: u32 = 1;
pub const ZEND_SIZE_MAX: i32 = -1;
pub const _ZEND_TYPE_EXTRA_FLAGS_SHIFT: u32 = 25;
pub const _ZEND_TYPE_MASK: u32 = 33554431;
pub const _ZEND_TYPE_NAME_BIT: u32 = 16777216;
pub const _ZEND_TYPE_LITERAL_NAME_BIT: u32 = 8388608;
pub const _ZEND_TYPE_LIST_BIT: u32 = 4194304;
pub const _ZEND_TYPE_KIND_MASK: u32 = 29360128;
pub const _ZEND_TYPE_ITERABLE_BIT: u32 = 2097152;
pub const _ZEND_TYPE_ARENA_BIT: u32 = 1048576;
pub const _ZEND_TYPE_INTERSECTION_BIT: u32 = 524288;
pub const _ZEND_TYPE_UNION_BIT: u32 = 262144;
pub const _ZEND_TYPE_MAY_BE_MASK: u32 = 262143;
pub const _ZEND_TYPE_NULLABLE_BIT: u32 = 2;
pub const IS_UNDEF: u32 = 0;
pub const IS_NULL: u32 = 1;
pub const IS_FALSE: u32 = 2;
pub const IS_TRUE: u32 = 3;
pub const IS_LONG: u32 = 4;
pub const IS_DOUBLE: u32 = 5;
pub const IS_STRING: u32 = 6;
pub const IS_ARRAY: u32 = 7;
pub const IS_OBJECT: u32 = 8;
pub const IS_RESOURCE: u32 = 9;
pub const IS_REFERENCE: u32 = 10;
pub const IS_CONSTANT_AST: u32 = 11;
pub const IS_CALLABLE: u32 = 12;
pub const IS_ITERABLE: u32 = 13;
pub const IS_VOID: u32 = 14;
pub const IS_STATIC: u32 = 15;
pub const IS_MIXED: u32 = 16;
pub const IS_NEVER: u32 = 17;
pub const IS_INDIRECT: u32 = 12;
pub const IS_PTR: u32 = 13;
pub const IS_ALIAS_PTR: u32 = 14;
pub const _IS_ERROR: u32 = 15;
pub const _IS_BOOL: u32 = 18;
pub const _IS_NUMBER: u32 = 19;
pub const ZEND_GUARD_PROPERTY_GET: u32 = 1;
pub const ZEND_GUARD_PROPERTY_SET: u32 = 2;
pub const ZEND_GUARD_PROPERTY_UNSET: u32 = 4;
pub const ZEND_GUARD_PROPERTY_ISSET: u32 = 8;
pub const ZEND_GUARD_PROPERTY_HOOK: u32 = 16;
pub const ZEND_GUARD_PROPERTY_MASK: u32 = 31;
pub const ZEND_GUARD_RECURSION_DEBUG: u32 = 32;
pub const ZEND_GUARD_RECURSION_EXPORT: u32 = 64;
pub const ZEND_GUARD_RECURSION_JSON: u32 = 128;
pub const Z_TYPE_MASK: u32 = 255;
pub const Z_TYPE_FLAGS_MASK: u32 = 65280;
pub const Z_TYPE_FLAGS_SHIFT: u32 = 8;
pub const Z_TYPE_INFO_EXTRA_SHIFT: u32 = 16;
pub const GC_TYPE_MASK: u32 = 15;
pub const GC_FLAGS_MASK: u32 = 1008;
pub const GC_INFO_MASK: u32 = 4294966272;
pub const GC_FLAGS_SHIFT: u32 = 0;
pub const GC_INFO_SHIFT: u32 = 10;
pub const GC_NOT_COLLECTABLE: u32 = 16;
pub const GC_PROTECTED: u32 = 32;
pub const GC_IMMUTABLE: u32 = 64;
pub const GC_PERSISTENT: u32 = 128;
pub const GC_PERSISTENT_LOCAL: u32 = 256;
pub const GC_NULL: u32 = 17;
pub const GC_STRING: u32 = 22;
pub const GC_ARRAY: u32 = 7;
pub const GC_OBJECT: u32 = 8;
pub const GC_RESOURCE: u32 = 25;
pub const GC_REFERENCE: u32 = 26;
pub const GC_CONSTANT_AST: u32 = 27;
pub const IS_TYPE_REFCOUNTED: u32 = 1;
pub const IS_TYPE_COLLECTABLE: u32 = 2;
pub const IS_INTERNED_STRING_EX: u32 = 6;
pub const IS_STRING_EX: u32 = 262;
pub const IS_ARRAY_EX: u32 = 775;
pub const IS_OBJECT_EX: u32 = 776;
pub const IS_RESOURCE_EX: u32 = 265;
pub const IS_REFERENCE_EX: u32 = 778;
pub const IS_CONSTANT_AST_EX: u32 = 267;
pub const IS_STR_CLASS_NAME_MAP_PTR: u32 = 32;
pub const IS_STR_INTERNED: u32 = 64;
pub const IS_STR_PERSISTENT: u32 = 128;
pub const IS_STR_PERMANENT: u32 = 256;
pub const IS_STR_VALID_UTF8: u32 = 512;
pub const IS_ARRAY_IMMUTABLE: u32 = 64;
pub const IS_ARRAY_PERSISTENT: u32 = 128;
pub const IS_OBJ_WEAKLY_REFERENCED: u32 = 128;
pub const IS_OBJ_DESTRUCTOR_CALLED: u32 = 256;
pub const IS_OBJ_FREE_CALLED: u32 = 512;
pub const IS_OBJ_LAZY_UNINITIALIZED: u32 = 2147483648;
pub const IS_OBJ_LAZY_PROXY: u32 = 1073741824;
pub const ZEND_RC_DEBUG: u32 = 0;
pub const IS_PROP_UNINIT: u32 = 1;
pub const IS_PROP_REINITABLE: u32 = 2;
pub const IS_PROP_LAZY: u32 = 4;
pub const ZEND_MAP_PTR_KIND_PTR: u32 = 0;
pub const ZEND_MAP_PTR_KIND_PTR_OR_OFFSET: u32 = 1;
pub const ZEND_MAP_PTR_KIND: u32 = 1;
pub const ZEND_MM_OVERHEAD: u32 = 0;
pub const ZEND_MM_PAGE_SIZE: u32 = 4096;
pub const ZEND_MM_FIRST_PAGE: u32 = 1;
pub const ZEND_MM_MIN_SMALL_SIZE: u32 = 8;
pub const ZEND_MM_MAX_SMALL_SIZE: u32 = 3072;
pub const ZEND_MM_CUSTOM_HEAP_NONE: u32 = 0;
pub const ZEND_MM_CUSTOM_HEAP_STD: u32 = 1;
pub const ZEND_MM_CUSTOM_HEAP_DEBUG: u32 = 2;
pub const ZEND_HRTIME_PLATFORM_POSIX: u32 = 0;
pub const ZEND_HRTIME_PLATFORM_WINDOWS: u32 = 0;
pub const ZEND_HRTIME_PLATFORM_APPLE_MACH_ABSOLUTE: u32 = 0;
pub const ZEND_HRTIME_PLATFORM_APPLE_GETTIME_NSEC: u32 = 0;
pub const ZEND_HRTIME_PLATFORM_HPUX: u32 = 0;
pub const ZEND_HRTIME_PLATFORM_AIX: u32 = 0;
pub const GC_BENCH: u32 = 0;
pub const HASH_UPDATE: u32 = 1;
pub const HASH_ADD: u32 = 2;
pub const HASH_UPDATE_INDIRECT: u32 = 4;
pub const HASH_ADD_NEW: u32 = 8;
pub const HASH_ADD_NEXT: u32 = 16;
pub const HASH_LOOKUP: u32 = 32;
pub const HASH_FLAG_CONSISTENCY: u32 = 3;
pub const HASH_FLAG_PACKED: u32 = 4;
pub const HASH_FLAG_UNINITIALIZED: u32 = 8;
pub const HASH_FLAG_STATIC_KEYS: u32 = 16;
pub const HASH_FLAG_HAS_EMPTY_IND: u32 = 32;
pub const HASH_FLAG_ALLOW_COW_VIOLATION: u32 = 64;
pub const HASH_FLAG_MASK: u32 = 255;
pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
pub const ZEND_HASH_APPLY_STOP: u32 = 2;
pub const ZEND_AST_SPEC: u32 = 1;
pub const ZEND_AST_SPECIAL_SHIFT: u32 = 6;
pub const ZEND_AST_IS_LIST_SHIFT: u32 = 7;
pub const ZEND_AST_NUM_CHILDREN_SHIFT: u32 = 8;
pub const ZEND_MMAP_AHEAD: u32 = 32;
pub const ZEND_SIGNAL_QUEUE_SIZE: u32 = 64;
pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
pub const ZEND_LAZY_OBJECT_STRATEGY_PROXY: u32 = 1;
pub const ZEND_LAZY_OBJECT_STRATEGY_GHOST: u32 = 2;
pub const ZEND_LAZY_OBJECT_INITIALIZED: u32 = 4;
pub const ZEND_LAZY_OBJECT_SKIP_INITIALIZATION_ON_SERIALIZE: u32 = 8;
pub const ZEND_LAZY_OBJECT_SKIP_DESTRUCTOR: u32 = 16;
pub const ZEND_FIRST_PROPERTY_OFFSET: u32 = 16;
pub const ZEND_PROPERTY_HOOK_SIMPLE_READ_BIT: u32 = 2;
pub const ZEND_PROPERTY_HOOK_SIMPLE_WRITE_BIT: u32 = 4;
pub const ZEND_PROPERTY_HOOK_SIMPLE_GET_BIT: u32 = 8;
pub const ZEND_PROPERTY_ISSET: u32 = 0;
pub const ZEND_PROPERTY_EXISTS: u32 = 2;
pub const ZEND_STRTOD_K_MAX: u32 = 7;
pub const ZEND_UNCOMPARABLE: u32 = 1;
pub const ZEND_USE_ASM_ARITHMETIC: u32 = 1;
pub const ZEND_VM_SPEC: u32 = 1;
pub const ZEND_VM_LINES: u32 = 0;
pub const ZEND_VM_KIND_CALL: u32 = 1;
pub const ZEND_VM_KIND_SWITCH: u32 = 2;
pub const ZEND_VM_KIND_GOTO: u32 = 3;
pub const ZEND_VM_KIND_HYBRID: u32 = 4;
pub const ZEND_VM_KIND_TAILCALL: u32 = 5;
pub const ZEND_VM_KIND: u32 = 4;
pub const ZEND_VM_HYBRID_JIT_RED_ZONE_SIZE: u32 = 48;
pub const ZEND_VM_OP_SPEC: u32 = 1;
pub const ZEND_VM_OP_CONST: u32 = 2;
pub const ZEND_VM_OP_TMPVAR: u32 = 4;
pub const ZEND_VM_OP_TMPVARCV: u32 = 8;
pub const ZEND_VM_OP_MASK: u32 = 240;
pub const ZEND_VM_OP_NUM: u32 = 16;
pub const ZEND_VM_OP_JMP_ADDR: u32 = 32;
pub const ZEND_VM_OP_TRY_CATCH: u32 = 48;
pub const ZEND_VM_OP_LOOP_END: u32 = 64;
pub const ZEND_VM_OP_THIS: u32 = 80;
pub const ZEND_VM_OP_NEXT: u32 = 96;
pub const ZEND_VM_OP_CLASS_FETCH: u32 = 112;
pub const ZEND_VM_OP_CONSTRUCTOR: u32 = 128;
pub const ZEND_VM_OP_CONST_FETCH: u32 = 144;
pub const ZEND_VM_OP_CACHE_SLOT: u32 = 160;
pub const ZEND_VM_EXT_VAR_FETCH: u32 = 65536;
pub const ZEND_VM_EXT_ISSET: u32 = 131072;
pub const ZEND_VM_EXT_CACHE_SLOT: u32 = 262144;
pub const ZEND_VM_EXT_ARRAY_INIT: u32 = 524288;
pub const ZEND_VM_EXT_REF: u32 = 1048576;
pub const ZEND_VM_EXT_FETCH_REF: u32 = 2097152;
pub const ZEND_VM_EXT_DIM_WRITE: u32 = 4194304;
pub const ZEND_VM_EXT_MASK: u32 = 251658240;
pub const ZEND_VM_EXT_NUM: u32 = 16777216;
pub const ZEND_VM_EXT_LAST_CATCH: u32 = 33554432;
pub const ZEND_VM_EXT_JMP_ADDR: u32 = 50331648;
pub const ZEND_VM_EXT_OP: u32 = 67108864;
pub const ZEND_VM_EXT_TYPE: u32 = 117440512;
pub const ZEND_VM_EXT_EVAL: u32 = 134217728;
pub const ZEND_VM_EXT_TYPE_MASK: u32 = 150994944;
pub const ZEND_VM_EXT_SRC: u32 = 184549376;
pub const ZEND_VM_NO_CONST_CONST: u32 = 1073741824;
pub const ZEND_VM_COMMUTATIVE: u32 = 2147483648;
pub const ZEND_NOP: u32 = 0;
pub const ZEND_ADD: u32 = 1;
pub const ZEND_SUB: u32 = 2;
pub const ZEND_MUL: u32 = 3;
pub const ZEND_DIV: u32 = 4;
pub const ZEND_MOD: u32 = 5;
pub const ZEND_SL: u32 = 6;
pub const ZEND_SR: u32 = 7;
pub const ZEND_CONCAT: u32 = 8;
pub const ZEND_BW_OR: u32 = 9;
pub const ZEND_BW_AND: u32 = 10;
pub const ZEND_BW_XOR: u32 = 11;
pub const ZEND_POW: u32 = 12;
pub const ZEND_BW_NOT: u32 = 13;
pub const ZEND_BOOL_NOT: u32 = 14;
pub const ZEND_BOOL_XOR: u32 = 15;
pub const ZEND_IS_IDENTICAL: u32 = 16;
pub const ZEND_IS_NOT_IDENTICAL: u32 = 17;
pub const ZEND_IS_EQUAL: u32 = 18;
pub const ZEND_IS_NOT_EQUAL: u32 = 19;
pub const ZEND_IS_SMALLER: u32 = 20;
pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 21;
pub const ZEND_ASSIGN: u32 = 22;
pub const ZEND_ASSIGN_DIM: u32 = 23;
pub const ZEND_ASSIGN_OBJ: u32 = 24;
pub const ZEND_ASSIGN_STATIC_PROP: u32 = 25;
pub const ZEND_ASSIGN_OP: u32 = 26;
pub const ZEND_ASSIGN_DIM_OP: u32 = 27;
pub const ZEND_ASSIGN_OBJ_OP: u32 = 28;
pub const ZEND_ASSIGN_STATIC_PROP_OP: u32 = 29;
pub const ZEND_ASSIGN_REF: u32 = 30;
pub const ZEND_QM_ASSIGN: u32 = 31;
pub const ZEND_ASSIGN_OBJ_REF: u32 = 32;
pub const ZEND_ASSIGN_STATIC_PROP_REF: u32 = 33;
pub const ZEND_PRE_INC: u32 = 34;
pub const ZEND_PRE_DEC: u32 = 35;
pub const ZEND_POST_INC: u32 = 36;
pub const ZEND_POST_DEC: u32 = 37;
pub const ZEND_PRE_INC_STATIC_PROP: u32 = 38;
pub const ZEND_PRE_DEC_STATIC_PROP: u32 = 39;
pub const ZEND_POST_INC_STATIC_PROP: u32 = 40;
pub const ZEND_POST_DEC_STATIC_PROP: u32 = 41;
pub const ZEND_JMP: u32 = 42;
pub const ZEND_JMPZ: u32 = 43;
pub const ZEND_JMPNZ: u32 = 44;
pub const ZEND_JMPZ_EX: u32 = 46;
pub const ZEND_JMPNZ_EX: u32 = 47;
pub const ZEND_CASE: u32 = 48;
pub const ZEND_CHECK_VAR: u32 = 49;
pub const ZEND_SEND_VAR_NO_REF_EX: u32 = 50;
pub const ZEND_CAST: u32 = 51;
pub const ZEND_BOOL: u32 = 52;
pub const ZEND_FAST_CONCAT: u32 = 53;
pub const ZEND_ROPE_INIT: u32 = 54;
pub const ZEND_ROPE_ADD: u32 = 55;
pub const ZEND_ROPE_END: u32 = 56;
pub const ZEND_BEGIN_SILENCE: u32 = 57;
pub const ZEND_END_SILENCE: u32 = 58;
pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
pub const ZEND_DO_FCALL: u32 = 60;
pub const ZEND_INIT_FCALL: u32 = 61;
pub const ZEND_RETURN: u32 = 62;
pub const ZEND_RECV: u32 = 63;
pub const ZEND_RECV_INIT: u32 = 64;
pub const ZEND_SEND_VAL: u32 = 65;
pub const ZEND_SEND_VAR_EX: u32 = 66;
pub const ZEND_SEND_REF: u32 = 67;
pub const ZEND_NEW: u32 = 68;
pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
pub const ZEND_FREE: u32 = 70;
pub const ZEND_INIT_ARRAY: u32 = 71;
pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
pub const ZEND_UNSET_VAR: u32 = 74;
pub const ZEND_UNSET_DIM: u32 = 75;
pub const ZEND_UNSET_OBJ: u32 = 76;
pub const ZEND_FE_RESET_R: u32 = 77;
pub const ZEND_FE_FETCH_R: u32 = 78;
pub const ZEND_FETCH_R: u32 = 80;
pub const ZEND_FETCH_DIM_R: u32 = 81;
pub const ZEND_FETCH_OBJ_R: u32 = 82;
pub const ZEND_FETCH_W: u32 = 83;
pub const ZEND_FETCH_DIM_W: u32 = 84;
pub const ZEND_FETCH_OBJ_W: u32 = 85;
pub const ZEND_FETCH_RW: u32 = 86;
pub const ZEND_FETCH_DIM_RW: u32 = 87;
pub const ZEND_FETCH_OBJ_RW: u32 = 88;
pub const ZEND_FETCH_IS: u32 = 89;
pub const ZEND_FETCH_DIM_IS: u32 = 90;
pub const ZEND_FETCH_OBJ_IS: u32 = 91;
pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
pub const ZEND_FETCH_UNSET: u32 = 95;
pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
pub const ZEND_FETCH_LIST_R: u32 = 98;
pub const ZEND_FETCH_CONSTANT: u32 = 99;
pub const ZEND_CHECK_FUNC_ARG: u32 = 100;
pub const ZEND_EXT_STMT: u32 = 101;
pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
pub const ZEND_EXT_FCALL_END: u32 = 103;
pub const ZEND_EXT_NOP: u32 = 104;
pub const ZEND_TICKS: u32 = 105;
pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
pub const ZEND_CATCH: u32 = 107;
pub const ZEND_THROW: u32 = 108;
pub const ZEND_FETCH_CLASS: u32 = 109;
pub const ZEND_CLONE: u32 = 110;
pub const ZEND_RETURN_BY_REF: u32 = 111;
pub const ZEND_INIT_METHOD_CALL: u32 = 112;
pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
pub const ZEND_SEND_VAL_EX: u32 = 116;
pub const ZEND_SEND_VAR: u32 = 117;
pub const ZEND_INIT_USER_CALL: u32 = 118;
pub const ZEND_SEND_ARRAY: u32 = 119;
pub const ZEND_SEND_USER: u32 = 120;
pub const ZEND_STRLEN: u32 = 121;
pub const ZEND_DEFINED: u32 = 122;
pub const ZEND_TYPE_CHECK: u32 = 123;
pub const ZEND_VERIFY_RETURN_TYPE: u32 = 124;
pub const ZEND_FE_RESET_RW: u32 = 125;
pub const ZEND_FE_FETCH_RW: u32 = 126;
pub const ZEND_FE_FREE: u32 = 127;
pub const ZEND_INIT_DYNAMIC_CALL: u32 = 128;
pub const ZEND_DO_ICALL: u32 = 129;
pub const ZEND_DO_UCALL: u32 = 130;
pub const ZEND_DO_FCALL_BY_NAME: u32 = 131;
pub const ZEND_PRE_INC_OBJ: u32 = 132;
pub const ZEND_PRE_DEC_OBJ: u32 = 133;
pub const ZEND_POST_INC_OBJ: u32 = 134;
pub const ZEND_POST_DEC_OBJ: u32 = 135;
pub const ZEND_ECHO: u32 = 136;
pub const ZEND_OP_DATA: u32 = 137;
pub const ZEND_INSTANCEOF: u32 = 138;
pub const ZEND_GENERATOR_CREATE: u32 = 139;
pub const ZEND_MAKE_REF: u32 = 140;
pub const ZEND_DECLARE_FUNCTION: u32 = 141;
pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 142;
pub const ZEND_DECLARE_CONST: u32 = 143;
pub const ZEND_DECLARE_CLASS: u32 = 144;
pub const ZEND_DECLARE_CLASS_DELAYED: u32 = 145;
pub const ZEND_DECLARE_ANON_CLASS: u32 = 146;
pub const ZEND_ADD_ARRAY_UNPACK: u32 = 147;
pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
pub const ZEND_USER_OPCODE: u32 = 150;
pub const ZEND_ASSERT_CHECK: u32 = 151;
pub const ZEND_JMP_SET: u32 = 152;
pub const ZEND_UNSET_CV: u32 = 153;
pub const ZEND_ISSET_ISEMPTY_CV: u32 = 154;
pub const ZEND_FETCH_LIST_W: u32 = 155;
pub const ZEND_SEPARATE: u32 = 156;
pub const ZEND_FETCH_CLASS_NAME: u32 = 157;
pub const ZEND_CALL_TRAMPOLINE: u32 = 158;
pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
pub const ZEND_YIELD: u32 = 160;
pub const ZEND_GENERATOR_RETURN: u32 = 161;
pub const ZEND_FAST_CALL: u32 = 162;
pub const ZEND_FAST_RET: u32 = 163;
pub const ZEND_RECV_VARIADIC: u32 = 164;
pub const ZEND_SEND_UNPACK: u32 = 165;
pub const ZEND_YIELD_FROM: u32 = 166;
pub const ZEND_COPY_TMP: u32 = 167;
pub const ZEND_BIND_GLOBAL: u32 = 168;
pub const ZEND_COALESCE: u32 = 169;
pub const ZEND_SPACESHIP: u32 = 170;
pub const ZEND_FUNC_NUM_ARGS: u32 = 171;
pub const ZEND_FUNC_GET_ARGS: u32 = 172;
pub const ZEND_FETCH_STATIC_PROP_R: u32 = 173;
pub const ZEND_FETCH_STATIC_PROP_W: u32 = 174;
pub const ZEND_FETCH_STATIC_PROP_RW: u32 = 175;
pub const ZEND_FETCH_STATIC_PROP_IS: u32 = 176;
pub const ZEND_FETCH_STATIC_PROP_FUNC_ARG: u32 = 177;
pub const ZEND_FETCH_STATIC_PROP_UNSET: u32 = 178;
pub const ZEND_UNSET_STATIC_PROP: u32 = 179;
pub const ZEND_ISSET_ISEMPTY_STATIC_PROP: u32 = 180;
pub const ZEND_FETCH_CLASS_CONSTANT: u32 = 181;
pub const ZEND_BIND_LEXICAL: u32 = 182;
pub const ZEND_BIND_STATIC: u32 = 183;
pub const ZEND_FETCH_THIS: u32 = 184;
pub const ZEND_SEND_FUNC_ARG: u32 = 185;
pub const ZEND_ISSET_ISEMPTY_THIS: u32 = 186;
pub const ZEND_SWITCH_LONG: u32 = 187;
pub const ZEND_SWITCH_STRING: u32 = 188;
pub const ZEND_IN_ARRAY: u32 = 189;
pub const ZEND_COUNT: u32 = 190;
pub const ZEND_GET_CLASS: u32 = 191;
pub const ZEND_GET_CALLED_CLASS: u32 = 192;
pub const ZEND_GET_TYPE: u32 = 193;
pub const ZEND_ARRAY_KEY_EXISTS: u32 = 194;
pub const ZEND_MATCH: u32 = 195;
pub const ZEND_CASE_STRICT: u32 = 196;
pub const ZEND_MATCH_ERROR: u32 = 197;
pub const ZEND_JMP_NULL: u32 = 198;
pub const ZEND_CHECK_UNDEF_ARGS: u32 = 199;
pub const ZEND_FETCH_GLOBALS: u32 = 200;
pub const ZEND_VERIFY_NEVER_TYPE: u32 = 201;
pub const ZEND_CALLABLE_CONVERT: u32 = 202;
pub const ZEND_BIND_INIT_STATIC_OR_JMP: u32 = 203;
pub const ZEND_FRAMELESS_ICALL_0: u32 = 204;
pub const ZEND_FRAMELESS_ICALL_1: u32 = 205;
pub const ZEND_FRAMELESS_ICALL_2: u32 = 206;
pub const ZEND_FRAMELESS_ICALL_3: u32 = 207;
pub const ZEND_JMP_FRAMELESS: u32 = 208;
pub const ZEND_INIT_PARENT_PROPERTY_HOOK_CALL: u32 = 209;
pub const ZEND_DECLARE_ATTRIBUTED_CONST: u32 = 210;
pub const ZEND_VM_LAST_OPCODE: u32 = 210;
pub const ZEND_USE_ABS_JMP_ADDR: u32 = 0;
pub const ZEND_USE_ABS_CONST_ADDR: u32 = 0;
pub const ZEND_LIVE_TMPVAR: u32 = 0;
pub const ZEND_LIVE_LOOP: u32 = 1;
pub const ZEND_LIVE_SILENCE: u32 = 2;
pub const ZEND_LIVE_ROPE: u32 = 3;
pub const ZEND_LIVE_NEW: u32 = 4;
pub const ZEND_LIVE_MASK: u32 = 7;
pub const ZEND_ACC_PUBLIC: u32 = 1;
pub const ZEND_ACC_PROTECTED: u32 = 2;
pub const ZEND_ACC_PRIVATE: u32 = 4;
pub const ZEND_ACC_CHANGED: u32 = 8;
pub const ZEND_ACC_STATIC: u32 = 16;
pub const ZEND_ACC_FINAL: u32 = 32;
pub const ZEND_ACC_ABSTRACT: u32 = 64;
pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 64;
pub const ZEND_ACC_READONLY: u32 = 128;
pub const ZEND_ACC_IMMUTABLE: u32 = 128;
pub const ZEND_ACC_HAS_TYPE_HINTS: u32 = 256;
pub const ZEND_ACC_TOP_LEVEL: u32 = 512;
pub const ZEND_ACC_PRELOADED: u32 = 1024;
pub const ZEND_CLASS_CONST_IS_CASE: u32 = 64;
pub const ZEND_ACC_DEPRECATED: u32 = 2048;
pub const ZEND_ACC_OVERRIDE: u32 = 268435456;
pub const ZEND_ACC_PROMOTED: u32 = 256;
pub const ZEND_ACC_VIRTUAL: u32 = 512;
pub const ZEND_ACC_PUBLIC_SET: u32 = 1024;
pub const ZEND_ACC_PROTECTED_SET: u32 = 2048;
pub const ZEND_ACC_PRIVATE_SET: u32 = 4096;
pub const ZEND_ACC_INTERFACE: u32 = 1;
pub const ZEND_ACC_TRAIT: u32 = 2;
pub const ZEND_ACC_ANON_CLASS: u32 = 4;
pub const ZEND_ACC_ENUM: u32 = 268435456;
pub const ZEND_ACC_LINKED: u32 = 8;
pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
pub const ZEND_ACC_USE_GUARDS: u32 = 1073741824;
pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 4096;
pub const ZEND_ACC_NO_DYNAMIC_PROPERTIES: u32 = 8192;
pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 16384;
pub const ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES: u32 = 32768;
pub const ZEND_ACC_READONLY_CLASS: u32 = 65536;
pub const ZEND_ACC_RESOLVED_PARENT: u32 = 131072;
pub const ZEND_ACC_RESOLVED_INTERFACES: u32 = 262144;
pub const ZEND_ACC_UNRESOLVED_VARIANCE: u32 = 524288;
pub const ZEND_ACC_NEARLY_LINKED: u32 = 1048576;
pub const ZEND_ACC_HAS_READONLY_PROPS: u32 = 2097152;
pub const ZEND_ACC_CACHED: u32 = 4194304;
pub const ZEND_ACC_CACHEABLE: u32 = 8388608;
pub const ZEND_ACC_HAS_AST_CONSTANTS: u32 = 16777216;
pub const ZEND_ACC_HAS_AST_PROPERTIES: u32 = 33554432;
pub const ZEND_ACC_HAS_AST_STATICS: u32 = 67108864;
pub const ZEND_ACC_FILE_CACHED: u32 = 134217728;
pub const ZEND_ACC_NOT_SERIALIZABLE: u32 = 536870912;
pub const ZEND_ACC_RETURN_REFERENCE: u32 = 4096;
pub const ZEND_ACC_HAS_RETURN_TYPE: u32 = 8192;
pub const ZEND_ACC_VARIADIC: u32 = 16384;
pub const ZEND_ACC_HAS_FINALLY_BLOCK: u32 = 32768;
pub const ZEND_ACC_EARLY_BINDING: u32 = 65536;
pub const ZEND_ACC_USES_THIS: u32 = 131072;
pub const ZEND_ACC_CALL_VIA_TRAMPOLINE: u32 = 262144;
pub const ZEND_ACC_NEVER_CACHE: u32 = 524288;
pub const ZEND_ACC_TRAIT_CLONE: u32 = 1048576;
pub const ZEND_ACC_CTOR: u32 = 2097152;
pub const ZEND_ACC_CLOSURE: u32 = 4194304;
pub const ZEND_ACC_FAKE_CLOSURE: u32 = 8388608;
pub const ZEND_ACC_GENERATOR: u32 = 16777216;
pub const ZEND_ACC_DONE_PASS_TWO: u32 = 33554432;
pub const ZEND_ACC_ARENA_ALLOCATED: u32 = 33554432;
pub const ZEND_ACC_HEAP_RT_CACHE: u32 = 67108864;
pub const ZEND_ACC_USER_ARG_INFO: u32 = 67108864;
pub const ZEND_ACC_COMPILE_TIME_EVAL: u32 = 134217728;
pub const ZEND_ACC_PTR_OPS: u32 = 268435456;
pub const ZEND_ACC_NODISCARD: u32 = 536870912;
pub const ZEND_ACC_STRICT_TYPES: u32 = 2147483648;
pub const ZEND_ACC_PPP_MASK: u32 = 7;
pub const ZEND_ACC_PPP_SET_MASK: u32 = 7168;
pub const ZEND_ACC_CALL_VIA_HANDLER: u32 = 262144;
pub const ZEND_SHORT_CIRCUITING_CHAIN_MASK: u32 = 3;
pub const ZEND_SHORT_CIRCUITING_CHAIN_EXPR: u32 = 0;
pub const ZEND_SHORT_CIRCUITING_CHAIN_ISSET: u32 = 1;
pub const ZEND_SHORT_CIRCUITING_CHAIN_EMPTY: u32 = 2;
pub const ZEND_JMP_NULL_BP_VAR_IS: u32 = 4;
pub const ZEND_PROPERTY_HOOK_COUNT: u32 = 2;
pub const ZEND_RETURN_VALUE: u32 = 0;
pub const ZEND_RETURN_REFERENCE: u32 = 1;
pub const ZEND_CALL_HAS_THIS: u32 = 776;
pub const ZEND_CALL_FUNCTION: u32 = 0;
pub const ZEND_CALL_CODE: u32 = 65536;
pub const ZEND_CALL_NESTED: u32 = 0;
pub const ZEND_CALL_TOP: u32 = 131072;
pub const ZEND_CALL_ALLOCATED: u32 = 262144;
pub const ZEND_CALL_FREE_EXTRA_ARGS: u32 = 524288;
pub const ZEND_CALL_HAS_SYMBOL_TABLE: u32 = 1048576;
pub const ZEND_CALL_RELEASE_THIS: u32 = 2097152;
pub const ZEND_CALL_CLOSURE: u32 = 4194304;
pub const ZEND_CALL_FAKE_CLOSURE: u32 = 8388608;
pub const ZEND_CALL_GENERATOR: u32 = 16777216;
pub const ZEND_CALL_DYNAMIC: u32 = 33554432;
pub const ZEND_CALL_MAY_HAVE_UNDEF: u32 = 67108864;
pub const ZEND_CALL_HAS_EXTRA_NAMED_PARAMS: u32 = 134217728;
pub const ZEND_CALL_OBSERVED: u32 = 268435456;
pub const ZEND_CALL_JIT_RESERVED: u32 = 536870912;
pub const ZEND_CALL_NEEDS_REATTACH: u32 = 1073741824;
pub const ZEND_CALL_SEND_ARG_BY_REF: u32 = 2147483648;
pub const ZEND_CALL_NESTED_FUNCTION: u32 = 0;
pub const ZEND_CALL_NESTED_CODE: u32 = 65536;
pub const ZEND_CALL_TOP_FUNCTION: u32 = 131072;
pub const ZEND_CALL_TOP_CODE: u32 = 196608;
pub const IS_UNUSED: u32 = 0;
pub const IS_CONST: u32 = 1;
pub const IS_TMP_VAR: u32 = 2;
pub const IS_VAR: u32 = 4;
pub const IS_CV: u32 = 8;
pub const IS_SMART_BRANCH_JMPZ: u32 = 16;
pub const IS_SMART_BRANCH_JMPNZ: u32 = 32;
pub const ZEND_EXTRA_VALUE: u32 = 1;
pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
pub const ZEND_MAX_ALLOWED_STACK_SIZE_UNCHECKED: i32 = -1;
pub const ZEND_MAX_ALLOWED_STACK_SIZE_DETECT: u32 = 0;
pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
pub const ZEND_FETCH_CLASS_STATIC: u32 = 3;
pub const ZEND_FETCH_CLASS_AUTO: u32 = 4;
pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 5;
pub const ZEND_FETCH_CLASS_TRAIT: u32 = 6;
pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
pub const ZEND_FETCH_CLASS_EXCEPTION: u32 = 512;
pub const ZEND_FETCH_CLASS_ALLOW_UNLINKED: u32 = 1024;
pub const ZEND_FETCH_CLASS_ALLOW_NEARLY_LINKED: u32 = 2048;
pub const ZEND_PARAM_REF: u32 = 8;
pub const ZEND_PARAM_VARIADIC: u32 = 16;
pub const ZEND_NAME_FQ: u32 = 0;
pub const ZEND_NAME_NOT_FQ: u32 = 1;
pub const ZEND_NAME_RELATIVE: u32 = 2;
pub const ZEND_CONST_EXPR_NEW_FETCH_TYPE_SHIFT: u32 = 2;
pub const ZEND_TYPE_NULLABLE: u32 = 256;
pub const ZEND_ARRAY_SYNTAX_LIST: u32 = 1;
pub const ZEND_ARRAY_SYNTAX_LONG: u32 = 2;
pub const ZEND_ARRAY_SYNTAX_SHORT: u32 = 3;
pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
pub const ZEND_USER_FUNCTION: u32 = 2;
pub const ZEND_EVAL_CODE: u32 = 4;
pub const ZEND_INTERNAL_CLASS: u32 = 1;
pub const ZEND_USER_CLASS: u32 = 2;
pub const ZEND_EVAL: u32 = 1;
pub const ZEND_INCLUDE: u32 = 2;
pub const ZEND_INCLUDE_ONCE: u32 = 4;
pub const ZEND_REQUIRE: u32 = 8;
pub const ZEND_REQUIRE_ONCE: u32 = 16;
pub const ZEND_FETCH_GLOBAL: u32 = 2;
pub const ZEND_FETCH_LOCAL: u32 = 4;
pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 8;
pub const ZEND_FETCH_TYPE_MASK: u32 = 14;
pub const ZEND_FETCH_REF: u32 = 1;
pub const ZEND_FETCH_DIM_WRITE: u32 = 2;
pub const ZEND_FETCH_OBJ_FLAGS: u32 = 3;
pub const ZEND_FETCH_DIM_REF: u32 = 1;
pub const ZEND_FETCH_DIM_DIM: u32 = 2;
pub const ZEND_FETCH_DIM_OBJ: u32 = 3;
pub const ZEND_FETCH_DIM_INCDEC: u32 = 4;
pub const ZEND_ISEMPTY: u32 = 1;
pub const ZEND_LAST_CATCH: u32 = 1;
pub const ZEND_FREE_ON_RETURN: u32 = 1;
pub const ZEND_FREE_SWITCH: u32 = 2;
pub const ZEND_FREE_VOID_CAST: u32 = 4;
pub const ZEND_SEND_BY_VAL: u32 = 0;
pub const ZEND_SEND_BY_REF: u32 = 1;
pub const ZEND_SEND_PREFER_REF: u32 = 2;
pub const ZEND_THROW_IS_EXPR: u32 = 1;
pub const ZEND_FCALL_MAY_HAVE_EXTRA_NAMED_PARAMS: u32 = 1;
pub const _ZEND_SEND_MODE_SHIFT: u32 = 25;
pub const _ZEND_IS_VARIADIC_BIT: u32 = 134217728;
pub const _ZEND_IS_PROMOTED_BIT: u32 = 268435456;
pub const _ZEND_IS_TENTATIVE_BIT: u32 = 536870912;
pub const ZEND_DIM_IS: u32 = 1;
pub const ZEND_ALT_CASE_SYNTAX: u32 = 2;
pub const ZEND_ENCAPS_VAR_DOLLAR_CURLY: u32 = 1;
pub const ZEND_ENCAPS_VAR_DOLLAR_CURLY_VAR_VAR: u32 = 2;
pub const IS_CONSTANT_CLASS: u32 = 1024;
pub const IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE: u32 = 2048;
pub const ZEND_RETURN_VAL: u32 = 0;
pub const ZEND_RETURN_REF: u32 = 1;
pub const ZEND_BIND_VAL: u32 = 0;
pub const ZEND_BIND_REF: u32 = 1;
pub const ZEND_BIND_IMPLICIT: u32 = 2;
pub const ZEND_BIND_EXPLICIT: u32 = 4;
pub const ZEND_RETURNS_FUNCTION: u32 = 1;
pub const ZEND_RETURNS_VALUE: u32 = 2;
pub const ZEND_ARRAY_ELEMENT_REF: u32 = 1;
pub const ZEND_ARRAY_NOT_PACKED: u32 = 2;
pub const ZEND_ARRAY_SIZE_SHIFT: u32 = 2;
pub const ZEND_PARENTHESIZED_CONDITIONAL: u32 = 1;
pub const ZEND_PARENTHESIZED_STATIC_PROP: u32 = 1;
pub const ZEND_PARENTHESIZED_ARROW_FUNC: u32 = 1;
pub const ZEND_SYMBOL_CLASS: u32 = 1;
pub const ZEND_SYMBOL_FUNCTION: u32 = 2;
pub const ZEND_SYMBOL_CONST: u32 = 4;
pub const ZEND_GOTO: u32 = 253;
pub const ZEND_BRK: u32 = 254;
pub const ZEND_CONT: u32 = 255;
pub const ZEND_CLONE_FUNC_NAME: &[u8; 8] = b"__clone\0";
pub const ZEND_CONSTRUCTOR_FUNC_NAME: &[u8; 12] = b"__construct\0";
pub const ZEND_DESTRUCTOR_FUNC_NAME: &[u8; 11] = b"__destruct\0";
pub const ZEND_GET_FUNC_NAME: &[u8; 6] = b"__get\0";
pub const ZEND_SET_FUNC_NAME: &[u8; 6] = b"__set\0";
pub const ZEND_UNSET_FUNC_NAME: &[u8; 8] = b"__unset\0";
pub const ZEND_ISSET_FUNC_NAME: &[u8; 8] = b"__isset\0";
pub const ZEND_CALL_FUNC_NAME: &[u8; 7] = b"__call\0";
pub const ZEND_CALLSTATIC_FUNC_NAME: &[u8; 13] = b"__callstatic\0";
pub const ZEND_TOSTRING_FUNC_NAME: &[u8; 11] = b"__tostring\0";
pub const ZEND_INVOKE_FUNC_NAME: &[u8; 9] = b"__invoke\0";
pub const ZEND_DEBUGINFO_FUNC_NAME: &[u8; 12] = b"__debuginfo\0";
pub const ZEND_COMPILE_EXTENDED_STMT: u32 = 1;
pub const ZEND_COMPILE_EXTENDED_FCALL: u32 = 2;
pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 3;
pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 4;
pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 8;
pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 16;
pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 32;
pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 64;
pub const ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION: u32 = 256;
pub const ZEND_COMPILE_IGNORE_USER_FUNCTIONS: u32 = 512;
pub const ZEND_COMPILE_GUARDS: u32 = 1024;
pub const ZEND_COMPILE_NO_BUILTINS: u32 = 2048;
pub const ZEND_COMPILE_WITH_FILE_CACHE: u32 = 4096;
pub const ZEND_COMPILE_IGNORE_OTHER_FILES: u32 = 8192;
pub const ZEND_COMPILE_WITHOUT_EXECUTION: u32 = 16384;
pub const ZEND_COMPILE_PRELOAD: u32 = 32768;
pub const ZEND_COMPILE_NO_JUMPTABLES: u32 = 65536;
pub const ZEND_COMPILE_PRELOAD_IN_CHILD: u32 = 131072;
pub const ZEND_COMPILE_IGNORE_OBSERVER: u32 = 262144;
pub const ZEND_COMPILE_DEFAULT: u32 = 4;
pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
pub const ZEND_BUILD_TS: &[u8; 5] = b",NTS\0";
pub const ZEND_MODULE_API_NO: u32 = 20250925;
pub const USING_ZTS: u32 = 0;
pub const MODULE_PERSISTENT: u32 = 1;
pub const MODULE_TEMPORARY: u32 = 2;
pub const MODULE_DEP_REQUIRED: u32 = 1;
pub const MODULE_DEP_CONFLICTS: u32 = 2;
pub const MODULE_DEP_OPTIONAL: u32 = 3;
pub const PHP_USER_CONSTANT: u32 = 8388607;
pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
pub const ZEND_PARSE_PARAMS_THROW: u32 = 0;
pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
pub const IS_CALLABLE_SUPPRESS_DEPRECATIONS: u32 = 2;
pub const PHP_OS_FAMILY: &[u8; 6] = b"Linux\0";
pub const PHP_DEBUG: u32 = 0;
pub const PHP_DIR_SEPARATOR: u8 = 47u8;
pub const PHP_EOL: &[u8; 2] = b"\n\0";
pub const PHP_PROG_SENDMAIL: &[u8; 19] = b"/usr/sbin/sendmail\0";
pub const PHP_INCLUDE_PATH: &[u8; 17] = b".:/usr/share/php\0";
pub const PHP_EXTENSION_DIR: &[u8; 22] = b"/usr/lib/php/20250925\0";
pub const PHP_PREFIX: &[u8; 5] = b"/usr\0";
pub const PHP_BINDIR: &[u8; 9] = b"/usr/bin\0";
pub const PHP_SBINDIR: &[u8; 10] = b"/usr/sbin\0";
pub const PHP_MANDIR: &[u8; 15] = b"/usr/share/man\0";
pub const PHP_LIBDIR: &[u8; 13] = b"/usr/lib/php\0";
pub const PHP_DATADIR: &[u8; 19] = b"/usr/share/php/8.5\0";
pub const PHP_SYSCONFDIR: &[u8; 5] = b"/etc\0";
pub const PHP_LOCALSTATEDIR: &[u8; 5] = b"/var\0";
pub const PHP_CONFIG_FILE_PATH: &[u8; 17] = b"/etc/php/8.5/cli\0";
pub const PHP_CONFIG_FILE_SCAN_DIR: &[u8; 24] = b"/etc/php/8.5/cli/conf.d\0";
pub const PHP_SHLIB_SUFFIX: &[u8; 3] = b"so\0";
pub const PHP_SHLIB_EXT_PREFIX: &[u8; 1] = b"\0";
pub const PHP_MIME_TYPE: &[u8; 24] = b"application/x-httpd-php\0";
pub const PHP_SYSLOG_FILTER_ALL: u32 = 0;
pub const PHP_SYSLOG_FILTER_NO_CTRL: u32 = 1;
pub const PHP_SYSLOG_FILTER_ASCII: u32 = 2;
pub const PHP_SYSLOG_FILTER_RAW: u32 = 3;
pub const PHP_OUTPUT_NEWAPI: u32 = 1;
pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
pub const PHP_OUTPUT_HANDLER_PRODUCED_OUTPUT: u32 = 32768;
pub const PHP_OUTPUT_POP_TRY: u32 = 0;
pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
pub const PHP_OUTPUT_DISABLED: u32 = 2;
pub const PHP_OUTPUT_WRITTEN: u32 = 4;
pub const PHP_OUTPUT_SENT: u32 = 8;
pub const PHP_OUTPUT_ACTIVE: u32 = 16;
pub const PHP_OUTPUT_LOCKED: u32 = 32;
pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
pub const PHP_STREAM_FILTER_READ: u32 = 1;
pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
pub const PHP_STREAM_FILTER_ALL: u32 = 3;
pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
pub const PHP_STREAM_FLAG_SUPPRESS_ERRORS: u32 = 256;
pub const PHP_STREAM_FLAG_NO_RSCR_DTOR_CLOSE: u32 = 512;
pub const PHP_STREAM_FLAG_NO_IO: u32 = 1024;
pub const PHP_STREAM_FLAG_WAS_WRITTEN: u32 = 2147483648;
pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
pub const PHP_STREAM_FREE_KEEP_RSRC: u32 = 64;
pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
pub const PHP_STREAM_URL_STAT_IGNORE_OPEN_BASEDIR: u32 = 4;
pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
pub const PHP_STREAM_OPTION_PIPE_BLOCKING: u32 = 13;
pub const PHP_STREAM_OPTION_SYNC_API: u32 = 14;
pub const PHP_STREAM_SYNC_SUPPORTED: u32 = 0;
pub const PHP_STREAM_SYNC_FSYNC: u32 = 1;
pub const PHP_STREAM_SYNC_FDSYNC: u32 = 2;
pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
pub const PHP_STREAM_MMAP_ALL: u32 = 0;
pub const PHP_STREAM_MMAP_MAX: u32 = 536870912;
pub const PHP_STREAM_AS_STDIO: u32 = 0;
pub const PHP_STREAM_AS_FD: u32 = 1;
pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
pub const PHP_STREAM_IS_URL: u32 = 1;
pub const PHP_STREAM_META_TOUCH: u32 = 1;
pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
pub const PHP_STREAM_META_OWNER: u32 = 3;
pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
pub const PHP_STREAM_META_GROUP: u32 = 5;
pub const PHP_STREAM_META_ACCESS: u32 = 6;
pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
pub const ZEND_INI_USER: u32 = 1;
pub const ZEND_INI_PERDIR: u32 = 2;
pub const ZEND_INI_SYSTEM: u32 = 4;
pub const ZEND_INI_ALL: u32 = 7;
pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
pub const ZEND_INI_STAGE_IN_REQUEST: u32 = 60;
pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
pub const ZEND_INI_PARSER_SECTION: u32 = 2;
pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
pub const PHP_INI_USER: u32 = 1;
pub const PHP_INI_PERDIR: u32 = 2;
pub const PHP_INI_SYSTEM: u32 = 4;
pub const PHP_INI_ALL: u32 = 7;
pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
pub const PHP_INI_STAGE_STARTUP: u32 = 1;
pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
pub const PHP_CONNECTION_NORMAL: u32 = 0;
pub const PHP_CONNECTION_ABORTED: u32 = 1;
pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
pub const PHP_ENTRY_NAME_COLOR: &[u8; 5] = b"#ccf\0";
pub const PHP_CONTENTS_COLOR: &[u8; 5] = b"#ccc\0";
pub const PHP_HEADER_COLOR: &[u8; 5] = b"#99c\0";
pub const PHP_INFO_GENERAL: u32 = 1;
pub const PHP_INFO_CREDITS: u32 = 2;
pub const PHP_INFO_CONFIGURATION: u32 = 4;
pub const PHP_INFO_MODULES: u32 = 8;
pub const PHP_INFO_ENVIRONMENT: u32 = 16;
pub const PHP_INFO_VARIABLES: u32 = 32;
pub const PHP_INFO_LICENSE: u32 = 64;
pub const PHP_INFO_ALL: u32 = 4294967295;
pub const PHP_CREDITS_GROUP: u32 = 1;
pub const PHP_CREDITS_GENERAL: u32 = 2;
pub const PHP_CREDITS_SAPI: u32 = 4;
pub const PHP_CREDITS_MODULES: u32 = 8;
pub const PHP_CREDITS_DOCS: u32 = 16;
pub const PHP_CREDITS_FULLPAGE: u32 = 32;
pub const PHP_CREDITS_QA: u32 = 64;
pub const PHP_CREDITS_WEB: u32 = 128;
pub const PHP_CREDITS_PACKAGING: u32 = 256;
pub const PHP_CREDITS_ALL: u32 = 4294967295;
pub const PHP_LOGO_DATA_URI : & [u8 ; 5439] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAABACAYAAAA+j9gsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAD4BJREFUeNrsnXtwXFUdx8/dBGihmE21QCrQDY6oZZykon/gY5qizjgM2KQMfzFAOioOA5KEh+j4R9oZH7zT6MAMKrNphZFSQreKHRgZmspLHSCJ2Co6tBtJk7Zps7tJs5t95F5/33PvWU4293F29ybdlPzaM3df2XPv+Zzf4/zOuWc1tkjl+T0HQ3SQC6SBSlD6WKN4rusGm9F1ps/o5mPriOf8dd0YoNfi0nt4ntB1PT4zYwzQkf3kR9/sW4xtpS0CmE0SyPUFUJXFMIxZcM0jAZ4xrKMudQT7963HBF0n6EaUjkP0vI9K9OEHWqJLkNW1s8mC2WgVTwGAqWTafJzTWTKZmQuZ/k1MpAi2+eys6mpWfVaAPzcILu8EVKoCAaYFtPxrAXo8qyNwzZc7gSgzgN9Hx0Ecn3j8xr4lyHOhNrlpaJIgptM5DjCdzrJ0Jmce6bWFkOpqs0MErA4gXIBuAmY53gFmOPCcdaTXCbq+n16PPLXjewMfGcgEttECeouTpk5MplhyKsPBTiXNYyULtwIW7Cx1vlwuJyDLR9L0mQiVPb27fhA54yBbGttMpc1OWwF1cmKaH2FSF7vAjGezOZZJZ9j0dIZlMhnuRiToMO0c+N4X7oksasgEt9XS2KZCHzoem2Ixq5zpAuDTqTR14FMslZyepeEI4Ogj26n0vLj33uiigExgMWRpt+CGCsEePZqoePM738BPTaJzT7CpU0nu1yXpAXCC3VeRkCW4bfJYFZo6dmJyQTW2tvZc1nb719iyZWc5fmZ6Osu6H3uVzit52oBnMll2YizGxk8muFZLAshb/YKtzQdcaO3Y2CQ7eiy+YNGvLN+4+nJetm3bxhKJxJz316xZw1pbW9kLew+w1944XBEaPj6eYCeOx1gqNe07bK1MwIDbKcOFOR49GuePT5fcfOMX2drPXcQ0zf7y2tvbWVdXF/v1k2+yQ4dPVpQ5P0Um/NjoCX6UBMFZR6k+u7qMYVBYDIEqBW7eXAfPZX19zp2/oaGBHysNMGTFinPZik9fWggbI5Omb13zUDeB3lLsdwaK/YPeyAFU0i8Aw9/2Dwyx4SPjFQEYUlf3MTYw4Jx7CIVCbHR0oqIDNMD+FMG+ZE0dO/tsHlvAWnYS6H4qjfMC+Zld/wg92/tuv2WeeYT87j+H2aFDxysGLuSy+o/z49DQkONnmpqa2MjRyoYsZOXKGnb5Z+vZqlUrxUsAvI9At/oK+elnBpoNw+Dai9TekSMxDrgSh0KrSYshTprc2NhoRf1JtlikqirAVl98AddsSavDBDrsC+QdT7/TSoB344tzOZ39+70RbporVerqasyw1MEnC8iV6I9VTDi0uqbmfPFSq2W+gyUHXuEdb3WR5rab5jnD3i/BNMN8ChNaqsTiKa55KmBWX+Tuj0XQdQVF307nhTH0CPls+O0UPbaT5TQG/8qX68u6LpV67LQ6dNknaYgaYyPDx2TzvYGCsnhRkH8b/rsF2GDj1MCInkvxvRjOuCUlipWD/zrKx7ZOwBF0vfSSM2ShyaqAAOC1Nw+zt9/5YNbrN1zfwIdpfgnqebv/A6pnWAn4qlW1HPgHQ6OeoG3N9RO/+StMdDtmV2LxJPfBpQCGfwTgrVu38jFrKaW2tpZt2LCBdXR0sEgkwhv21u9cxQsyW3ZB1+DgoOM54btU6tu8eTPr6elhy5fr7IZNDey+e76e9/fCLcAllHpdKKinpaUlX8+111xB9VzNrYxqUAY/XVVVJYMOekLu2fFGM8VWYQRYiYkU9bD4vPlHFYnH4/zvkb1CgwACHgMoUpdyw3sFXcXUh4YHaNSHDqaxdL5jwVTXBpeXVY9oF3RcUQ+O09NT7Cayfld+4RJlP42gTIq8w66Qf/X4a6FTSSMMDcaE/NhYecMM+MdyG90OAhodWoAGkTUaSZByO5WdiA4GqwStrrM6k5vFKEXQserr63l7oR5V0NBojKctaSZtbneErOtGmFxwkGewjk0UzpCUlJSIRqMcjN8CkHLDqyRByq0PEGBBhDmdj7rQVujAaLfrrlk7xyW5gUaxpEtOmOQDr0e799NYmDVBi0+OT7FcbsaXxEQk8qprEBQMBm0vVKUBRcNjskFE8W71lSt79uzhda1d6w4ZGTUUp3NWAQ3TvW/fPvbVq+rZH/ceULOcF1/I06CY3QJohCCzNJnYdgEwwvpUKuNbUsLNpO3evZtfSGHp7+/nS2pw3LLFPVWLoA5yHQUtXvXFYjH+vU4F5yOibzsRUL38MTqC3XWh8GCWziMcDjt2BNEZUIfoUOpJkwvziT3S5ua8Jj/4yD5E0yERbPkhKv4RF4mhkN1wCMHN2rWfYZ2dnWz9+vXchNkJzBoaQ8Bxqg91wWo41YdO2dzczD+3bt06Rw0rBG4nOF8oi9M0Jsw9OgLqQ124BifLgeuHyVbN0NXUrODBmDWxgRR0pNrUYqMNgDOZGZbNzvgCuc4j0kX+GPJ2//CcMagQmKkbrm/knwVEp++SIXulM1+nhj9AY207QRDnpsnye24WA59DkuPlV/5j+z5eB2hE0W1tbTyQdNJmDpksRzFp2E9csFJAboRvDvz8gZdJgw2ek55KZphfAv+Inu8UdKnmkEUHQK93EjEZ4Rbkifq8JiactEpYAy9Nli2Gm6CjIZPn1qlKFWizleOG3BIwdKNZ+KRMxr9VHKvr1NKLXo2BhlAVFRPq1qlWW6MBr3NWyY2rTGXO5ySJlN9uDuiGsV7XTVPtl8CHYGizf/9+V5Om0hAwVV4ahuU8qia03HP26kyqFkMOTudDzjs/P/QKBUiBYa5ZNucfZJUkCG/0IhpCxYyqBF3lnLOII8q1GKqdStQ3rTh5MStwXX5O/nE1metGQzPHUH6JatA1OppQ8u1eUbpX44tO4GY5vM5Z9sduFgOfG1GwUOK6VFzaSAmrWCSfzGCuuT/O+bi6QwRdTtqXN2keJ4/ejgkJ5HedRARkbkGe6ARulgMWQ+Wc3cDAWohhoZdcue7ifJ7crfP6Me8dELd0Mv8U2begC2k9SHd3t+NnNm7cqKwRbiYUkykqvlZlmOYVLIq5bHRep46JzotOc9BhuFc0ZHGLph+CJIaXr1FZSIfxsdBiN1+LpALEK2By61Aqs0rwtV7DNBU3BMCYixYTLU6C8bM5hBwum0k1mesBpmPtlj+qXFenFsAgCVLon9DYeIxUnmh05HCdBIkCVRP6ussiepVZJZXIutCHwt2I0YGY2Kiz3AIyeG5aLNooVULQBbHy1/nAK2oEtEanheil+GO3aFg0FnwSilNC4q6OrXzywc0XCy1WMaFu/tgrCBLRuWpHuP+n1zqmRXFN0GAnwKgHeW1E1C/86UDJHFKptATZMPZTafbLXHtN3OPixKRC4ev4GwB2Gy6JxhQNEYul+KoKp79RMaGqKzy9ovzt27c7pidVZtYAGJMYOP7u6bdK1mLI1GQ+/ogSZBahwKuLO2jSZt0odw65xrUhAMNrZskLsGiIXz72F3bTjV+ixvtbWcMQr3NWCbog5VyXAIy63PLrqpJITIqHkcD9P7suSiYbG53wvTLKDbr8WBbjZqIF4F3PD3ItRn1eQd5CBF3lCM5RAIYfVp0/dgZ8SvbJ2/l8MmlvNw+8qJTjm+drWQwaAXO9KMuWncc1GBMXKkGeV/pU5ZxFIsTvzovOCu3HvDnOE7NTu3rLr+PE8fy6+IEX9947YM4n/+LbPT/88R8QqoYAuVSDrZLFKcYso2AcLBIeGDPu6h3M+yqvIE/4Y6w4LdUfi+jcr86L75KvC9+PcbVfd1hCi6U7Innwk1/+Q5rcoetsdyBg3s9aCmivBsNFifGfG9zCJUFiztmpEXAbqhMgr6SLWBPu9R1enRfm1ktrC6cVYWH+/Mqg43x6sYK1edaCex7vkRZHZkF+6P6NkXvvi/TpLNBUaqTtdcsoLtIrVTcem2EHDh7m2uq0ikMINBvafOmazzt+BkGMW9CF70DndPsOaJqb38Y1oXjdCYHOiqwbPofrKid6thMAlnxxPtMy6w4K0ubNhq73U5wd5PtVleCTd+50D2CEafLloqixyv0ufMcOGq64CVaMYN2119gfAdPpuscKOxWgCMDwxfm0pvzBhx9siRLoFt3ca7Ikf+x2yygaYzHdTSi7IT9y8fMJ2Lpdhg+ZCPA2+f05d1A88mBLHzQaoA1dL6ohVLJGi+1uQj8XQMyHIMgaGT6eDxuozMkD294LRaB7CPI27DLHQSskSFRvGa30O/zndF4fF0DMhwa//9//iZ2DcILqN7xBHn1oUweNn7eJ3WO9QHvdMlrMsphKEj8XQPgpuHVVMtGOgF0hC9CGTqbb2kHOzXx73aKiuiymEv2x22ICMYYeWSALBQ7RQ0fkoZIr4DnRtS3ohzf1dNzTG9d0PcwMLahZO8UyKTMm38wteratSVtkplq4oWj0PcfrEinPhYg14H+hvdIwCVs1bvb6O+UBMYFGl90d0LRGLRDgoHEUwYnXDniQStocTVUwfPLaKQGA/RoWOmkvtnsaG8unK+PWMKlH5e+Lznp03N27RdO0TkxmYNZKszYBlyfI3RpjsQkmMOo8ls4Wsx1EKcEVAEvayyNoeRzsO2RI+93PNRLesGYtNpBhL4l/prlgZz5ob0mbtZVFhWC301d0EuQgAHPgS7D9hssTHKyMbRfLptF213NBDRuoaqxNA2yh2VUBDnxJ1M1yRW6gOgt2x64gqXK7ht1yOWyW1+wl7bYXvhUygQXgit4KuVDuBGzSbA2bmmtayNzpRgJOGu7XosHFChZzvrGTiUKt5UMiVsmbmtsCb3+2lZmwm3hFNsA/CiYdKyfhYx3Aws8urp8nsJM72naGCG8zYwZMecjk/WHVVRbsMwU6tBVQsWJS2sNDlrgVTO0RE/vzKQtuN2+/85k5PxlUaL75D3BZwKss+JUqSFRAO/F7Eqlkmj+2gbrgYE8rZFluu+P3pOGsyWCG/Y9/GR8exC+vYfc5flxgzRdDGsDEz/8AJsxwQcBUKPCtmKOMFJO8OKMgF8r3b3sKkAm69TN+2OZCAm5ID/g9XPypwX29ufWgudq0urrKes/8nPkxgy1bdg6z/or/SFc2mzV/xs+6HwySTmdYJp2dpaWKEregYrVfn9/B0xkD2U6+e+sOaHqImTfLrycUOIZM1hJwC3oemPXbi/y5PnsrJ136bUa8pxu69BklmANWwDRkgR1wmwVaglyi3Nz6JLQ+ZG5NxQsgNdAhmIfJN7wxgoWg9fxzPQ+c/g9YAIXgeUKCyipJO4uR/wswAOIwB/5IgxvbAAAAAElFTkSuQmCC\0" ;
pub const PHP_EGG_LOGO_DATA_URI : & [u8 ; 8987] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAABACAMAAAAJUSgeAAADAFBMVEVHcExweqyBiLNHS42mqtBgY5dbXpVjd7tMTotISotMTo+VmrutsNanq9CusdaYnL6Tmb+qrMZKTIx0eK1hY6BISotITY+Ok8JmbqdvcauorMp8f7R9gKx3gaxecK1ISouTlsVZXHx3e7MBAQBISoszSacgKYQ6UrAvQqM9VbIdJn4hLIo4T60mNpYtPqQfKYcmNJ4sPpgzRp8pOpQpOaMzRqYnNZs1TKowRacyRqOustYlMZsqOoslMIkiLYYlMpYnNIwxRZstPpUcJYIxRasnN5AyR68lMpEkMY0wQpYqOpsvQZkfKZUmNZEkMHwZIHUsPpsvQacuPpI6ULU+Vr0wQ60uPp8wQp8pOacdJXs2S68kL3YjLY8tQZ4zSaMiLIEpOpgoN580SKsfKWwZIXseKJB+g7Y3TrIhL5RCWrhAV7QZIG0pN4crOp+DiLgsP6t6f7QhK3InNIA6Uro5TaosPqgqOpEfLY0dJXU9VLdyebAeJ4wlMoQ2S6cfK5EgK3kiMJkgLZotPI9BWr0aI18jMJ4VG2Y4TqQaJolvda2LkrmTl8U0SLIZJJGZncYiNaJrb6k1S54NDAYbGhFHYMA/PjptfLxNZscZK58cMZFEW8NNZLlHX7s8U6s2SrZddsgWJplXaK8oPZ9DWKpqesZHXbVZb8BiaqaMkMGlqc5YXpgSGFIUGVtTaL1QVJOeosyGjL48QVNmanoKCxAOE0crKytUa8knJR40N0Jjcq4iObA+UqE4SJUMHI+qrtNudqZJSUNshMYVHoN7gJIsQbX9/f5NT1JMT2KFl9BYWV9aX20xQo0dMadietZrcpFHYMwmMWYtZccLF4NXbdZ3iLtgb7l+jMctTrAGCC4wR7wWL7FJWp9LUnRxh9J8g6JLYatNhdk8d9FcaJ1lbqB3e4RUXYMIDUF6kt8bNZmpteoLE3YSFB9GdcKutL6Lj5d1dnUZS6lPZKQwPHXDx8+PlqudreVja4m/yuyKptoZIkODne/U2us5Usedoa8oL1YtYLdNAseBAAAAInRSTlMAq2nohiAy/EfPEE/pZ8E5/SCegWV7wMHI4w/MHpjVr9eBwELx9AAAFs9JREFUWMOs1XtUkmkeB/Bmxt1mtkybdrY9OzuX42uEGS8oSCQqIiiCECqgyKqJi3JxBQsFSSWMUFPRSREIvGAKocVoetI0b5nHMrVmTDtHy9qZmtPk6TJdpman086+XpqZ3bmcZmd+f8HLOXze7/P7Pc+zatXPlUfTwdhk1uatLPO7yw/We7i7ua2Dam1g4MBAS0tLW1vF+xs3bnTb8KqHx6rfsNyJfbGKuILsCGWJm7vbIvf9WqTbILqirMzpdLZLpelvv7PB46+/ifyOX98/8imZcRrf4QffehBWtlRSqbQdIj09KxarrMyzFNKl6VmvbPj9r5bfDevb/TckXZSXqN430NJW5mxP9/qu0qWlpaXtp5sbHA6Hy9okkdhdDkdDQ0OzcVr69q/T11wJ6tuxf29aiRKPLznwrZgFic729mmjy+7DUkGg1VorwYGpLDnbYNCKtWz5iMxnZk/WK6//f+x697WB1N3jQcf+DkMS6PqpVijjUshp42qHy2AwiIVk8DCNsE2yVWIwGVIzM0GxSVwrlojFYonGZraZC3oG3/zluPs6qKUtyL27xjOOJQjo+JTrPZA447DWimuhstrrJPa6AAQBgYgjq8QGk0UYp06LU/moxLXQO/nAURqR2tbf3zT42lu/+wXsX9wWp3igQloSUpSxqyj4VPGdeYdDYq1NLi5usttr7XZJdoHEZBDj4BIxLlWrFRsMZIIaD+aUk8FUKDObhSOIRBqRpt/c+Kn3Swdfdtvavbz2LGTs8B5/2Hr9uvfVK/ZalxiRskkCyWKJisUDVSaTxWAy8Xy0FnkMCBJEBEyELEeHj4lgsyLIeDUWROlQ9P7CQW/vP73+su5A2dIMtxZ9uLrB1fpwfLKj+kizw+powrBrodXUqthalgZVX681aYWpKpXFwqWr+Xw8P4KL0qjpmbwITA5GRAC5GIyGMjzV+uHL2O5LbtbyDPc0nu7SSogPTF0VPdB2cTU11LLYKqh4qUIxD68r5JMxWJxQxS7n6tR4FAYD8vEoPB4LCstlGBGKr0NxUVgGcmH8hre393s/22+Pdd+5XqVGKHDXnW8+Od13ZbWkydQ12bXNZeel4kB4ADyAR84E+RoNXQOm8oQxdF1hmgiMwYCyCA6HQxbK61F6rowOPcajIkMWxrOg2K+99dOwG9TfihfutNVqtZvO3fn4m10fXdkcdtDQ1TXpkliT46IRiJS4ABxIw4pEeDWdjsfGkPm6QjWCBmJy6stlEeWccra8Mg3PLSyk69NElMjQqStZRyD7jZ84XdZDgVuky6502sfHas8m+zism7cFNFn9g6KgrdM1WSu2KhhoNJoWB4fHiQiZhLy8Er1tpDcHm5YmwoIcWbmMw+Fyy1X1XB2dXqjT6PV5SmV4eP8Brz2tUOw//uiBtXZgoGzlkCo9VVngI+EdJtBEyJBE+uYmYqxi+2Yxm21RaetCQ8P9/KKTaCm0GLgIqdSBrkkLV5Sn12tQHI6Mi9HhwfKICA6Gri/U0bmGnP4SiiJYD0X6AIr95o+MFnTlrQQubaxEoAsKaEmHaQxf5JYFQV0d0Q/tFw3HlcvlOJZ/fqhfVHwSmhEdAI+haXrnH9195ujPy1scLlQOB6XByuo5MhBaaZuNe/nM4JfGYUqkbxP0x4ux3/jD/7a4raVtucOle3CfK9H+2WgSMpJGYVAEx4qKtxOJYX7xAalyi0XIyd5HDYvyj0IrwrZv3xQAjtwarbo/b8tEYUB8oYafg8Lzc2QcLgqS6baZUaDq+TNJfyQVnb7490d+QLtBN98KfBADD96piI9GCnwTwxHRNMHRY0lhQVGKsORtPJXloqmeR42lUqPCqAridv/s5LiR5m5gbHJudmTCpibwKyt1ZjNXJsPgC9P09N5Pq4HqmoovVfSog4zrUukPafeKtpUWlxZ/zvCFwUIoeSTYbj9ENA4rKCrKDxfko/38cTgW+6JJLqQGxYZRicT4JBo2E4ybNXYDZ27PNDc3OybMfPmlxYPt0sXe/pI0un7iRjXwJPDuV/M5FGLfwlSSsdTrg/+i11RUOFfgukPBJBLSt4TJhKn3/xvcBE8UMJlFuTtDFGh0EnQPWiwxPGqQIgVBiCtuajzSeJ08e6AaOD5aU1Mz1HF5tvlxR8f5jidPnng12IZLhvuNNcDVS4HnJl16RF0Qc7jfPOOEUr/37XbyrHix1MWHFUjf4DTB1TPnH/om/GtfKkgQMLcwizL2hqETaalCiCYLicE7/Wd6Wj87Ozo0NHbh4oPqKmC5huYvn1j+VNV9c9I2PDxl6gCG2Iav/mkspPj35ebD8mwTq9O9vV+cKRvLXsD+iDAGBUEY/uzuo7sdu4f37zgMqklMgS/z2NGgaCQFi2PJtUI5EXnqwlhN97JXfeBIFXDy/thYN9AJXDtXDXSeGBrqhn640DVVohkZrOo2zt+6M2POrDuYm5sA883r7zXe8F4+UtY4l+8Hr6xTh/aFpyAoU97Pnt59eu+jhaP5WAqSxNyihGUUUcNJSgScJ2fxVLHKrpOLaHcN5ABjjwHg/u2Gr69Bb3KtrAqoabl8qwWKXmM0p6EmmmuAe08/vmM0q7eJdxQxE3IFSPPciPHPS/L7zpUm7xkOT0lKQqjzH3fcDHx27+HCLjQi0ReWwfQNYYZSQ0mRtCV5ayzFDsknOnpmWjsB4OTjTuCs1TZ3rgao8rwGAGO35uYunQE6qwdH6GrNxTHgwtdfTDfbYMrsfZCckQEj6Mxz7I3rV6161elcXmvpIUZYEhyeMtw6CnQ+f9QxnsZgUCKVJGYRk0Txj1bAlCk4HguHyw46ZIXkm82VMvFZSD7TCZx3VY5ALT5xG/o+2sClz3pCuylrli4yW58/+OSLxnMyUkIIMTYXGpncBAoWpZvodUFddrYvw9HYqCQ4Dp6JPA6c6Hx873g8BsFgKJFbcjMySMnJ8X5IZcp/uC7XoKbSM46z9kOnsx+2/dKZjvuJeJJDLoSckJOckpOTkxhzOZsQUidHmuQkAWQjJAjZLFBIQFIx1pbJBIYtdKVcK6uOrtFVClhXhh1QVJDBRddVC15GHXa9bLvrZWztE+xuse9k8iEzmd/7/N/n/1zQje+iuUR0lTwzbsI238mQebxre9//AgyUfgK/zy7ktyw8AE0ujf0N//zju8uPUh9/2Mcv5uuixYVlZZWVGom/tXXL+ay3j3z06pUf38NYglAoisgV+NuNswd2lBAWt1TP5wsLaxOERyY1SgZUJegmzLujHwjT48xARRrUzZDF+XNwiZn7EOqtF11Xn56G2C90jf7+6dLL7u4917soN1+krS8WCgsrC70mKq8luSVr3ZFXIZffY1iOQBWE032F1z4zM4sNKBELgDUmoQZLKQmDXkQNbEQt76aiecPHee3XaDRvQwePd3SG13FnU9fCDK99zx6gP3+xcP82ZN7shUXgXn50c2XmRJtQL5KZhDavpri+WKMxhlpb/VlvHFntE+WJXIyFjo8SdveuldMPJ8fvKQUKu1XPF0n1OlkMwUxSUSB3YygEhaQIimLnzT7laCbFbx/njRzO7+s9zRu5fxQusv/Gg4eQ5lN3J67Pzz+6N/F1e3pfm15vlJtPSndbvVFSpJWEClrystZXrYrdkExxBKtACSUhaaJvjia6UaVASfj4IJHWQCN+Ti6SBnI3WSwl6sIIKHv21PDsaSDMzoK9Du8Y+6CD99cnaYiVt+rzqcXe3vn5y55LExMj6d42oci4u6H61snugNVnNVpCeS0tWVWr5CoORThCQaB2VhlDizYN4GxEKRYrffzCXV6zgQhYMblb2hhSWfyIelfkGq/9+FRnBjFz97uVY6dH27afejgy+S2kd+fISEfH8ckzL/Z9tfwS7HR1qGN6oamYNEgy2jZ8WdfqM4Ry81sas8qrMp4avYfFCKdCgVokTAwhVAqWjQgArfLwixk5J9lNc1ZpYwD3SUKEbddgmreyWiI7jx7y/POne/7V35Y/9O2p+w0dvKn7H1RXf7p4dyxnYhnsNNE1d4P33ZylkG9MrGpbnf24O+B05geAnOmbVTKDjCBgwoH+Y/CII6oSJYso4SCsiLHLORnbgxnr3BROUShmK4TUPjY9PX3n1ui4xBM7dGivxFJ0fmzzHBhrauHqZ19Ax0x+PjS/9HL0vbEznZ1D2518fqD/+7WsYRzfEcKbXpEbuuVsLMOxezy18ogA4Tj4xBAE7bZiJh3NRlK1Jr5UMiCxKuiwFcjtN3orFBKr3EHbcdzv9DmdVHJutp03faIPJpO8/OSh68tLyz/+88TDqSd/Spq0mu6G/22EwE7mZ60Hcvm4hxOLBQJxhCEIuQETKzNcjEMUCh8mN6UYu0dndEv5EqeVUtBq+1/SvPa0R+eIq2FGMNOs04nCVNZyIZPaC0ncZ6Goll+fWVpa6t3/j8lfLo5J+AbSvnb/rW4YTGa9UQ3kgR5xRAwngnExQibDIkoOQSBmtATBSCYhk9UaTI0ik9Fnoohz53QfQpH8d8LsiMfVMJwwGMGyuXhu8sTXkw/2/6GFshgbm97pmnj6cn55aeLMYu4OkpRJxteSs4cPDGetqy7P/t32QUFELAC5OYYWY3ImFuNiXI6AUykjHkOC1ulMIpNGapIYSScWVBv2ATmdommzOm5maNCJtTvtTr9i6PnzEy2NVF5BU1NjwWeLTyd6v5q49H5AK9LIJI/XgrMPbPhR1tuQbv2bcnIEghwxghC6eCwhq01FkFjYJXhPKU7JsITawZikGr5I4jNZS3ThoHZw8uztG2pHKhWPm2mMxgjCY7cTCrzvfF+b203l4ZRRZEluH/po8VJ/axNJksJayWvg7MOZ8Xd9dvmgOAfQYF8E8xjUiZjB3BPhdMFn3/y2p9baA2Stxusl3bhcYyGCNpdNO/xB/8mgw2GGD4NhYEgIm0VZiyQQcFN+HPfVuWEBOb9lS/Ida1BLktDrXhMbhjGYDdZll8d6cioqlDGxOEYzDpujh9FFEtyvYisXt2EkCWLXCoUak6kOt5IenS3qKrUJy8qEUbM57qB1DItBIsYIBRQhRZG/AMdDOG5xS0JuqdFiIb2kVktqRXVfVr8e8k8yk8EvqlUZskDBRTiadgSbz40zHJfYvPPZXMKhrU3J5AaTnm+yBii+tSTuCttqaprDYZstGIfMdtAYRiCQiyoVolAVFRWFQn4/sHHKTcJt+SC1Br7q+v8v5NWl9s1PVRUVoDbiwTiM0ambS1MROpX4zc6Lf0zJZTQj15JGGIStFo0whAZrXOFmVzgYjAfrm9UOtQPEBhOUICUqVYacm5vrp4xuihKJRHy9FOZnDV+vJesa1oAbDm/4+asJ8PHlCghZICDkarMublZXusbpVCqy85u9tIxJMXITaZVLpSKjV5qU19SUuuCl1eDl+vpmEuyMYVDuYlB4UZYocoZCeX63yF1XJwWyUC8s9mo0GlJjrnotsf87Af4MEmxbRQ64WVZvUwfV8WBlOGU+GXl2cW9Kx9C1coNW7pOK3HphU766tKa01OYKg5PV4frKZgdthu2OVWQOiqKWAEUFmgJbpdDXjUY+gIu9Xq9Wa1zrqeEfpt63BsUV27bliGMI660sLd1Z6nLVgGmDV1w9CZ3cXGuAA9qRZWUBu81VU1oTDofhfvFotLk+6mBkMkLBEpEIbPMhitpK4QV51O6tdbvdbr6wrFioiXo1DNbwGvj7Sf+tHkHmncUlCCEj6yt3Hvzk4MGL6fTxdNVJzmBgakmtmoT09BbqcXhlm+vVK+vM2mA46g3ClsMpYrFMxCi0HBzPz4dCEigokEpN0ozYUY2u5+/la7Prh+3mTXAziK1UYoxMF6zfdfCTK8+OZZr7fwoz39g06jCO709mjb4yW8xmMhM7gfb4Uw6OfwLXA46DQgtcj6OFtlw5mNdyxQ4olLa01JU1xRCtydS02UjUbG/ghTpiNDNZYlLf+Gbv1sQlvpmNie/cSxPjc2y23dZtP17w8nPPv+/ze57fzkcOL+F0yuWE2+31IOIKmk0GchLZZpMS22YbKAccOr9fBmG29PTwkYyBxxJa68WVfqPRq5yXyBznneu9dNjig7EKyGnQEZPOOUyUK+ut5l5bAl94sPPNb+P24rAckRN6tTqampxJZoEcyOXKNvD28EDcWZ5xOvwjFl4y2szTtNnMa7RGKzRy77gSZm9E3jeuu/7j0eBjJyQFA7Qh5C4Hks12e/fRcPRwp7s2by/aEU6O6ye50rx7DEoKyLYA1BOMkwOfDjidRYcfDUX8OnOPgeZjPE9mrEY6YlTKoRj6ECgqj2nf109P7iegP8JRyUJ6ghurtnfvf9Y5O/90v7/ldrpdUBV2vNQ3mUtmpezKzUg224owRussfrvbPxTyo8sSlVcJAp/pNxoiHiVMpB653E54er7+H/zMtqJDVqlkI1A+XAXID3cenfe6Lw2oiSHc7h5SinKfLQlZL51yGSQE3O1HJ5b1nFKP+tH4nEKQhJ9hFAafz6ce8iKIl7BDVUTSHxwY/NSG5oQJGpXJEEH1xEwlW91rP9qUf/yxFJetIYLACbuITPyazI4lIdCBSiVQJop+v1/niCtQCATqdMZVUrdbEEwmki1giQTv88zbZ4qTRT3/OLuO2kqdJsFkQyQUQolKNlnd+/ewxN7e2vLAQJeKSBYnq9XqenZ9XRSjCFd0OHTx2ARO+FG9RF5gFlQyk0BR9UaDauTDtLrMXZ4wL+47+tlN3HlKJV0yR4BcAqFo31984vagm5ryoLpctdpqNlvNVgvAwSg0KzlEeEKPB5GiE9UtLyuWDWZ+IRxmGo1GvU4xYRoKyzuxzz1q+whkk0oGw4UerwSA/EettngYXvv9+o2fkq323l4TTBZLCAJgl3LKGCLKiBgkLl8m4qp4yNvPbG+vhWkNhVkzJBUzZ3oUitpjPx+9cT1+D4pZZohb9NFKAHL7ndPnagA/xP5y2iFK4OZ6EsDRVCq1AQ2Y5PUcUrKPFHN3hx3q/pVBJpxnNINGDK6eGEnxwo1rn3fXIK+eu+kFMswxMovFy5UD2Wrz1WOvddgH8Nq0fr3VaoliqcLhrmDQpdZo6BiJmWMjhHO4kgsM+SThwlg2swqyjY3OsmRMmP7+5h3J3Odv1o/f6+2dsyzP9eBRLgBJ1EnAM2c3O/AOfVHmDYqiWClzHA4RVoIzKYon6dha2JJttbM+OnFxaWlJS2PaVavVemWUrbNCb/qLrnelvHr+dvlsLA3uNsT10WhlLLlefZz6p86c29zcrG0C/Y4fh35X4nAYpYPR8QhJa+AOQJI8s72Q3d0dM2eUPy8NDmq1VuuHV8DVLJwO+eSLHxLeBg1QzI2g0WClkkyKdw++8RWwXDp39FHEjiO4y5WKuuYxMhajaZKEv9jC1eqFW2OkcWkVsPBbxQqfjM4WCmw91pu+2vWy5zAB6llhUAajHIiEePeJ571TZ46f65DlStwll7tcUxmSZAErSMt9Jhz++69bOcqopepsIZHAsAIICaZNkAzTO32t662XkaFV9RrmUymuFMg9Re7Qzw+4oOcoXYhyaQmrxyi2zuTzULphhsnf/mWXKGhImqLYRIZk2Ua+MVvACvBh6fTLyGchwxRCT/8GRLHEHfb2/jm54VF7lX2QRSssRYJAhbfX8gLDkEwY/e6H6Fc0VZA0M6EpsCAj7CxLCQtMerrrjReTIbfTCplZ4/P2caWKOHYE+c0/J/uVuNq6sTGoqQtMHsBreYaJCWvh0INvgxqKEmgsYUwUsNGChtZgbD5PUYrpm6+/APsfPpGyoTDU6NQAAAAASUVORK5CYII=\0" ;
pub const ZEND_LOGO_DATA_URI : & [u8 ; 6083] = b"data:image/png;base64,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\0" ;
pub const ZEND_EXTENSION_API_NO: u32 = 420250925;
pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_CTOR: u32 = 1;
pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_DTOR: u32 = 2;
pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_HANDLER: u32 = 4;
pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST_CALC: u32 = 8;
pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST: u32 = 16;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __dev_t = ::std::os::raw::c_ulong;
pub type __uid_t = ::std::os::raw::c_uint;
pub type __gid_t = ::std::os::raw::c_uint;
pub type __ino_t = ::std::os::raw::c_ulong;
pub type __mode_t = ::std::os::raw::c_uint;
pub type __nlink_t = ::std::os::raw::c_ulong;
pub type __off_t = ::std::os::raw::c_long;
pub type __off64_t = ::std::os::raw::c_long;
pub type __pid_t = ::std::os::raw::c_int;
pub type __clock_t = ::std::os::raw::c_long;
pub type __time_t = ::std::os::raw::c_long;
pub type __suseconds_t = ::std::os::raw::c_long;
pub type __blksize_t = ::std::os::raw::c_long;
pub type __blkcnt_t = ::std::os::raw::c_long;
pub type __syscall_slong_t = ::std::os::raw::c_long;
pub type __socklen_t = ::std::os::raw::c_uint;
pub type time_t = __time_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __sigset_t {
pub __val: [::std::os::raw::c_ulong; 16usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of __sigset_t"][::std::mem::size_of::<__sigset_t>() - 128usize];
["Alignment of __sigset_t"][::std::mem::align_of::<__sigset_t>() - 8usize];
["Offset of field: __sigset_t::__val"][::std::mem::offset_of!(__sigset_t, __val) - 0usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct timeval {
pub tv_sec: __time_t,
pub tv_usec: __suseconds_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct timespec {
pub tv_sec: __time_t,
pub tv_nsec: __syscall_slong_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of timespec"][::std::mem::size_of::<timespec>() - 16usize];
["Alignment of timespec"][::std::mem::align_of::<timespec>() - 8usize];
["Offset of field: timespec::tv_sec"][::std::mem::offset_of!(timespec, tv_sec) - 0usize];
["Offset of field: timespec::tv_nsec"][::std::mem::offset_of!(timespec, tv_nsec) - 8usize];
};
pub type va_list = __builtin_va_list;
pub type FILE = _IO_FILE;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_marker {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_codecvt {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_wide_data {
_unused: [u8; 0],
}
pub type _IO_lock_t = ::std::os::raw::c_void;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_FILE {
pub _flags: ::std::os::raw::c_int,
pub _IO_read_ptr: *mut ::std::os::raw::c_char,
pub _IO_read_end: *mut ::std::os::raw::c_char,
pub _IO_read_base: *mut ::std::os::raw::c_char,
pub _IO_write_base: *mut ::std::os::raw::c_char,
pub _IO_write_ptr: *mut ::std::os::raw::c_char,
pub _IO_write_end: *mut ::std::os::raw::c_char,
pub _IO_buf_base: *mut ::std::os::raw::c_char,
pub _IO_buf_end: *mut ::std::os::raw::c_char,
pub _IO_save_base: *mut ::std::os::raw::c_char,
pub _IO_backup_base: *mut ::std::os::raw::c_char,
pub _IO_save_end: *mut ::std::os::raw::c_char,
pub _markers: *mut _IO_marker,
pub _chain: *mut _IO_FILE,
pub _fileno: ::std::os::raw::c_int,
pub _flags2: ::std::os::raw::c_int,
pub _old_offset: __off_t,
pub _cur_column: ::std::os::raw::c_ushort,
pub _vtable_offset: ::std::os::raw::c_schar,
pub _shortbuf: [::std::os::raw::c_char; 1usize],
pub _lock: *mut _IO_lock_t,
pub _offset: __off64_t,
pub _codecvt: *mut _IO_codecvt,
pub _wide_data: *mut _IO_wide_data,
pub _freeres_list: *mut _IO_FILE,
pub _freeres_buf: *mut ::std::os::raw::c_void,
pub __pad5: usize,
pub _mode: ::std::os::raw::c_int,
pub _unused2: [::std::os::raw::c_char; 20usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _IO_FILE"][::std::mem::size_of::<_IO_FILE>() - 216usize];
["Alignment of _IO_FILE"][::std::mem::align_of::<_IO_FILE>() - 8usize];
["Offset of field: _IO_FILE::_flags"][::std::mem::offset_of!(_IO_FILE, _flags) - 0usize];
["Offset of field: _IO_FILE::_IO_read_ptr"]
[::std::mem::offset_of!(_IO_FILE, _IO_read_ptr) - 8usize];
["Offset of field: _IO_FILE::_IO_read_end"]
[::std::mem::offset_of!(_IO_FILE, _IO_read_end) - 16usize];
["Offset of field: _IO_FILE::_IO_read_base"]
[::std::mem::offset_of!(_IO_FILE, _IO_read_base) - 24usize];
["Offset of field: _IO_FILE::_IO_write_base"]
[::std::mem::offset_of!(_IO_FILE, _IO_write_base) - 32usize];
["Offset of field: _IO_FILE::_IO_write_ptr"]
[::std::mem::offset_of!(_IO_FILE, _IO_write_ptr) - 40usize];
["Offset of field: _IO_FILE::_IO_write_end"]
[::std::mem::offset_of!(_IO_FILE, _IO_write_end) - 48usize];
["Offset of field: _IO_FILE::_IO_buf_base"]
[::std::mem::offset_of!(_IO_FILE, _IO_buf_base) - 56usize];
["Offset of field: _IO_FILE::_IO_buf_end"]
[::std::mem::offset_of!(_IO_FILE, _IO_buf_end) - 64usize];
["Offset of field: _IO_FILE::_IO_save_base"]
[::std::mem::offset_of!(_IO_FILE, _IO_save_base) - 72usize];
["Offset of field: _IO_FILE::_IO_backup_base"]
[::std::mem::offset_of!(_IO_FILE, _IO_backup_base) - 80usize];
["Offset of field: _IO_FILE::_IO_save_end"]
[::std::mem::offset_of!(_IO_FILE, _IO_save_end) - 88usize];
["Offset of field: _IO_FILE::_markers"][::std::mem::offset_of!(_IO_FILE, _markers) - 96usize];
["Offset of field: _IO_FILE::_chain"][::std::mem::offset_of!(_IO_FILE, _chain) - 104usize];
["Offset of field: _IO_FILE::_fileno"][::std::mem::offset_of!(_IO_FILE, _fileno) - 112usize];
["Offset of field: _IO_FILE::_flags2"][::std::mem::offset_of!(_IO_FILE, _flags2) - 116usize];
["Offset of field: _IO_FILE::_old_offset"]
[::std::mem::offset_of!(_IO_FILE, _old_offset) - 120usize];
["Offset of field: _IO_FILE::_cur_column"]
[::std::mem::offset_of!(_IO_FILE, _cur_column) - 128usize];
["Offset of field: _IO_FILE::_vtable_offset"]
[::std::mem::offset_of!(_IO_FILE, _vtable_offset) - 130usize];
["Offset of field: _IO_FILE::_shortbuf"]
[::std::mem::offset_of!(_IO_FILE, _shortbuf) - 131usize];
["Offset of field: _IO_FILE::_lock"][::std::mem::offset_of!(_IO_FILE, _lock) - 136usize];
["Offset of field: _IO_FILE::_offset"][::std::mem::offset_of!(_IO_FILE, _offset) - 144usize];
["Offset of field: _IO_FILE::_codecvt"][::std::mem::offset_of!(_IO_FILE, _codecvt) - 152usize];
["Offset of field: _IO_FILE::_wide_data"]
[::std::mem::offset_of!(_IO_FILE, _wide_data) - 160usize];
["Offset of field: _IO_FILE::_freeres_list"]
[::std::mem::offset_of!(_IO_FILE, _freeres_list) - 168usize];
["Offset of field: _IO_FILE::_freeres_buf"]
[::std::mem::offset_of!(_IO_FILE, _freeres_buf) - 176usize];
["Offset of field: _IO_FILE::__pad5"][::std::mem::offset_of!(_IO_FILE, __pad5) - 184usize];
["Offset of field: _IO_FILE::_mode"][::std::mem::offset_of!(_IO_FILE, _mode) - 192usize];
["Offset of field: _IO_FILE::_unused2"][::std::mem::offset_of!(_IO_FILE, _unused2) - 196usize];
};
#[repr(C)]
#[repr(align(16))]
#[derive(Debug, Copy, Clone)]
pub struct max_align_t {
pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
pub __bindgen_padding_0: u64,
pub __clang_max_align_nonce2: u128,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of max_align_t"][::std::mem::size_of::<max_align_t>() - 32usize];
["Alignment of max_align_t"][::std::mem::align_of::<max_align_t>() - 16usize];
["Offset of field: max_align_t::__clang_max_align_nonce1"]
[::std::mem::offset_of!(max_align_t, __clang_max_align_nonce1) - 0usize];
["Offset of field: max_align_t::__clang_max_align_nonce2"]
[::std::mem::offset_of!(max_align_t, __clang_max_align_nonce2) - 16usize];
};
pub type zend_long = i64;
pub type zend_ulong = u64;
pub type zend_off_t = i64;
extern "C" {
pub static mut zend_dl_use_deepbind: bool;
}
pub type zend_max_align_t = max_align_t;
pub type zend_uchar = ::std::os::raw::c_uchar;
pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
pub type ZEND_RESULT_CODE = ::std::os::raw::c_int;
pub use self::ZEND_RESULT_CODE as zend_result;
pub type zend_object_handlers = _zend_object_handlers;
pub type zend_class_entry = _zend_class_entry;
pub type zend_function = _zend_function;
pub type zend_execute_data = _zend_execute_data;
pub type zval = _zval_struct;
pub type zend_refcounted = _zend_refcounted;
pub type zend_string = _zend_string;
pub type zend_array = _zend_array;
pub type zend_object = _zend_object;
pub type zend_resource = _zend_resource;
pub type zend_reference = _zend_reference;
pub type zend_ast_ref = _zend_ast_ref;
pub type zend_ast = _zend_ast;
pub type compare_func_t = ::std::option::Option<
unsafe extern "C" fn(
arg1: *const ::std::os::raw::c_void,
arg2: *const ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>;
pub type swap_func_t = ::std::option::Option<
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void),
>;
pub type sort_func_t = ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
arg3: usize,
arg4: compare_func_t,
arg5: swap_func_t,
),
>;
pub type dtor_func_t = ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval)>;
pub type copy_ctor_func_t = ::std::option::Option<unsafe extern "C" fn(pElement: *mut zval)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_type {
pub ptr: *mut ::std::os::raw::c_void,
pub type_mask: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_type"][::std::mem::size_of::<zend_type>() - 16usize];
["Alignment of zend_type"][::std::mem::align_of::<zend_type>() - 8usize];
["Offset of field: zend_type::ptr"][::std::mem::offset_of!(zend_type, ptr) - 0usize];
["Offset of field: zend_type::type_mask"]
[::std::mem::offset_of!(zend_type, type_mask) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_type_list {
pub num_types: u32,
pub types: [zend_type; 1usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_type_list"][::std::mem::size_of::<zend_type_list>() - 24usize];
["Alignment of zend_type_list"][::std::mem::align_of::<zend_type_list>() - 8usize];
["Offset of field: zend_type_list::num_types"]
[::std::mem::offset_of!(zend_type_list, num_types) - 0usize];
["Offset of field: zend_type_list::types"]
[::std::mem::offset_of!(zend_type_list, types) - 8usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_value {
pub lval: zend_long,
pub dval: f64,
pub counted: *mut zend_refcounted,
pub str_: *mut zend_string,
pub arr: *mut zend_array,
pub obj: *mut zend_object,
pub res: *mut zend_resource,
pub ref_: *mut zend_reference,
pub ast: *mut zend_ast_ref,
pub zv: *mut zval,
pub ptr: *mut ::std::os::raw::c_void,
pub ce: *mut zend_class_entry,
pub func: *mut zend_function,
pub ww: _zend_value__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_value__bindgen_ty_1 {
pub w1: u32,
pub w2: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_value__bindgen_ty_1"]
[::std::mem::size_of::<_zend_value__bindgen_ty_1>() - 8usize];
["Alignment of _zend_value__bindgen_ty_1"]
[::std::mem::align_of::<_zend_value__bindgen_ty_1>() - 4usize];
["Offset of field: _zend_value__bindgen_ty_1::w1"]
[::std::mem::offset_of!(_zend_value__bindgen_ty_1, w1) - 0usize];
["Offset of field: _zend_value__bindgen_ty_1::w2"]
[::std::mem::offset_of!(_zend_value__bindgen_ty_1, w2) - 4usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_value"][::std::mem::size_of::<_zend_value>() - 8usize];
["Alignment of _zend_value"][::std::mem::align_of::<_zend_value>() - 8usize];
["Offset of field: _zend_value::lval"][::std::mem::offset_of!(_zend_value, lval) - 0usize];
["Offset of field: _zend_value::dval"][::std::mem::offset_of!(_zend_value, dval) - 0usize];
["Offset of field: _zend_value::counted"]
[::std::mem::offset_of!(_zend_value, counted) - 0usize];
["Offset of field: _zend_value::str_"][::std::mem::offset_of!(_zend_value, str_) - 0usize];
["Offset of field: _zend_value::arr"][::std::mem::offset_of!(_zend_value, arr) - 0usize];
["Offset of field: _zend_value::obj"][::std::mem::offset_of!(_zend_value, obj) - 0usize];
["Offset of field: _zend_value::res"][::std::mem::offset_of!(_zend_value, res) - 0usize];
["Offset of field: _zend_value::ref_"][::std::mem::offset_of!(_zend_value, ref_) - 0usize];
["Offset of field: _zend_value::ast"][::std::mem::offset_of!(_zend_value, ast) - 0usize];
["Offset of field: _zend_value::zv"][::std::mem::offset_of!(_zend_value, zv) - 0usize];
["Offset of field: _zend_value::ptr"][::std::mem::offset_of!(_zend_value, ptr) - 0usize];
["Offset of field: _zend_value::ce"][::std::mem::offset_of!(_zend_value, ce) - 0usize];
["Offset of field: _zend_value::func"][::std::mem::offset_of!(_zend_value, func) - 0usize];
["Offset of field: _zend_value::ww"][::std::mem::offset_of!(_zend_value, ww) - 0usize];
};
pub type zend_value = _zend_value;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zval_struct {
pub value: zend_value,
pub u1: _zval_struct__bindgen_ty_1,
pub u2: _zval_struct__bindgen_ty_2,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zval_struct__bindgen_ty_1 {
pub type_info: u32,
pub v: _zval_struct__bindgen_ty_1__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zval_struct__bindgen_ty_1__bindgen_ty_1 {
pub type_: u8,
pub type_flags: u8,
pub u: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
pub extra: u16,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1"]
[::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>() - 2usize];
["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1"]
[::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>() - 2usize];
["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1::extra"][::std::mem::offset_of!(
_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
extra
) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
[::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 4usize];
["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
[::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 2usize];
["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_flags"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_flags) - 1usize];
["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::u"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, u) - 2usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zval_struct__bindgen_ty_1"]
[::std::mem::size_of::<_zval_struct__bindgen_ty_1>() - 4usize];
["Alignment of _zval_struct__bindgen_ty_1"]
[::std::mem::align_of::<_zval_struct__bindgen_ty_1>() - 4usize];
["Offset of field: _zval_struct__bindgen_ty_1::type_info"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_1, type_info) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_1::v"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_1, v) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zval_struct__bindgen_ty_2 {
pub next: u32,
pub cache_slot: u32,
pub opline_num: u32,
pub lineno: u32,
pub num_args: u32,
pub fe_pos: u32,
pub fe_iter_idx: u32,
pub guard: u32,
pub constant_flags: u32,
pub extra: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zval_struct__bindgen_ty_2"]
[::std::mem::size_of::<_zval_struct__bindgen_ty_2>() - 4usize];
["Alignment of _zval_struct__bindgen_ty_2"]
[::std::mem::align_of::<_zval_struct__bindgen_ty_2>() - 4usize];
["Offset of field: _zval_struct__bindgen_ty_2::next"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_2, next) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_2::cache_slot"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_2, cache_slot) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_2::opline_num"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_2, opline_num) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_2::lineno"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_2, lineno) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_2::num_args"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_2, num_args) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_2::fe_pos"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_pos) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_2::fe_iter_idx"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_iter_idx) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_2::guard"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_2, guard) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_2::constant_flags"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_2, constant_flags) - 0usize];
["Offset of field: _zval_struct__bindgen_ty_2::extra"]
[::std::mem::offset_of!(_zval_struct__bindgen_ty_2, extra) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zval_struct"][::std::mem::size_of::<_zval_struct>() - 16usize];
["Alignment of _zval_struct"][::std::mem::align_of::<_zval_struct>() - 8usize];
["Offset of field: _zval_struct::value"][::std::mem::offset_of!(_zval_struct, value) - 0usize];
["Offset of field: _zval_struct::u1"][::std::mem::offset_of!(_zval_struct, u1) - 8usize];
["Offset of field: _zval_struct::u2"][::std::mem::offset_of!(_zval_struct, u2) - 12usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_refcounted_h {
pub refcount: u32,
pub u: _zend_refcounted_h__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_refcounted_h__bindgen_ty_1 {
pub type_info: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_refcounted_h__bindgen_ty_1"]
[::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
["Alignment of _zend_refcounted_h__bindgen_ty_1"]
[::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
["Offset of field: _zend_refcounted_h__bindgen_ty_1::type_info"]
[::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1, type_info) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_refcounted_h"][::std::mem::size_of::<_zend_refcounted_h>() - 8usize];
["Alignment of _zend_refcounted_h"][::std::mem::align_of::<_zend_refcounted_h>() - 4usize];
["Offset of field: _zend_refcounted_h::refcount"]
[::std::mem::offset_of!(_zend_refcounted_h, refcount) - 0usize];
["Offset of field: _zend_refcounted_h::u"]
[::std::mem::offset_of!(_zend_refcounted_h, u) - 4usize];
};
pub type zend_refcounted_h = _zend_refcounted_h;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_refcounted {
pub gc: zend_refcounted_h,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_refcounted"][::std::mem::size_of::<_zend_refcounted>() - 8usize];
["Alignment of _zend_refcounted"][::std::mem::align_of::<_zend_refcounted>() - 4usize];
["Offset of field: _zend_refcounted::gc"]
[::std::mem::offset_of!(_zend_refcounted, gc) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_string {
pub gc: zend_refcounted_h,
pub h: zend_ulong,
pub len: usize,
pub val: [::std::os::raw::c_char; 1usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_string"][::std::mem::size_of::<_zend_string>() - 32usize];
["Alignment of _zend_string"][::std::mem::align_of::<_zend_string>() - 8usize];
["Offset of field: _zend_string::gc"][::std::mem::offset_of!(_zend_string, gc) - 0usize];
["Offset of field: _zend_string::h"][::std::mem::offset_of!(_zend_string, h) - 8usize];
["Offset of field: _zend_string::len"][::std::mem::offset_of!(_zend_string, len) - 16usize];
["Offset of field: _zend_string::val"][::std::mem::offset_of!(_zend_string, val) - 24usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _Bucket {
pub val: zval,
pub h: zend_ulong,
pub key: *mut zend_string,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _Bucket"][::std::mem::size_of::<_Bucket>() - 32usize];
["Alignment of _Bucket"][::std::mem::align_of::<_Bucket>() - 8usize];
["Offset of field: _Bucket::val"][::std::mem::offset_of!(_Bucket, val) - 0usize];
["Offset of field: _Bucket::h"][::std::mem::offset_of!(_Bucket, h) - 16usize];
["Offset of field: _Bucket::key"][::std::mem::offset_of!(_Bucket, key) - 24usize];
};
pub type Bucket = _Bucket;
pub type HashTable = _zend_array;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_array {
pub gc: zend_refcounted_h,
pub u: _zend_array__bindgen_ty_1,
pub nTableMask: u32,
pub __bindgen_anon_1: _zend_array__bindgen_ty_2,
pub nNumUsed: u32,
pub nNumOfElements: u32,
pub nTableSize: u32,
pub nInternalPointer: u32,
pub nNextFreeElement: zend_long,
pub pDestructor: dtor_func_t,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_array__bindgen_ty_1 {
pub v: _zend_array__bindgen_ty_1__bindgen_ty_1,
pub flags: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_array__bindgen_ty_1__bindgen_ty_1 {
pub flags: u8,
pub _unused: u8,
pub nIteratorsCount: u8,
pub _unused2: u8,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_array__bindgen_ty_1__bindgen_ty_1"]
[::std::mem::size_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 4usize];
["Alignment of _zend_array__bindgen_ty_1__bindgen_ty_1"]
[::std::mem::align_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 1usize];
["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::flags"]
[::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, flags) - 0usize];
["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::_unused"]
[::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, _unused) - 1usize];
["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::nIteratorsCount"]
[::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, nIteratorsCount) - 2usize];
["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::_unused2"]
[::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, _unused2) - 3usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_array__bindgen_ty_1"]
[::std::mem::size_of::<_zend_array__bindgen_ty_1>() - 4usize];
["Alignment of _zend_array__bindgen_ty_1"]
[::std::mem::align_of::<_zend_array__bindgen_ty_1>() - 4usize];
["Offset of field: _zend_array__bindgen_ty_1::v"]
[::std::mem::offset_of!(_zend_array__bindgen_ty_1, v) - 0usize];
["Offset of field: _zend_array__bindgen_ty_1::flags"]
[::std::mem::offset_of!(_zend_array__bindgen_ty_1, flags) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_array__bindgen_ty_2 {
pub arHash: *mut u32,
pub arData: *mut Bucket,
pub arPacked: *mut zval,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_array__bindgen_ty_2"]
[::std::mem::size_of::<_zend_array__bindgen_ty_2>() - 8usize];
["Alignment of _zend_array__bindgen_ty_2"]
[::std::mem::align_of::<_zend_array__bindgen_ty_2>() - 8usize];
["Offset of field: _zend_array__bindgen_ty_2::arHash"]
[::std::mem::offset_of!(_zend_array__bindgen_ty_2, arHash) - 0usize];
["Offset of field: _zend_array__bindgen_ty_2::arData"]
[::std::mem::offset_of!(_zend_array__bindgen_ty_2, arData) - 0usize];
["Offset of field: _zend_array__bindgen_ty_2::arPacked"]
[::std::mem::offset_of!(_zend_array__bindgen_ty_2, arPacked) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_array"][::std::mem::size_of::<_zend_array>() - 56usize];
["Alignment of _zend_array"][::std::mem::align_of::<_zend_array>() - 8usize];
["Offset of field: _zend_array::gc"][::std::mem::offset_of!(_zend_array, gc) - 0usize];
["Offset of field: _zend_array::u"][::std::mem::offset_of!(_zend_array, u) - 8usize];
["Offset of field: _zend_array::nTableMask"]
[::std::mem::offset_of!(_zend_array, nTableMask) - 12usize];
["Offset of field: _zend_array::nNumUsed"]
[::std::mem::offset_of!(_zend_array, nNumUsed) - 24usize];
["Offset of field: _zend_array::nNumOfElements"]
[::std::mem::offset_of!(_zend_array, nNumOfElements) - 28usize];
["Offset of field: _zend_array::nTableSize"]
[::std::mem::offset_of!(_zend_array, nTableSize) - 32usize];
["Offset of field: _zend_array::nInternalPointer"]
[::std::mem::offset_of!(_zend_array, nInternalPointer) - 36usize];
["Offset of field: _zend_array::nNextFreeElement"]
[::std::mem::offset_of!(_zend_array, nNextFreeElement) - 40usize];
["Offset of field: _zend_array::pDestructor"]
[::std::mem::offset_of!(_zend_array, pDestructor) - 48usize];
};
pub type HashPosition = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _HashTableIterator {
pub ht: *mut HashTable,
pub pos: HashPosition,
pub next_copy: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _HashTableIterator"][::std::mem::size_of::<_HashTableIterator>() - 16usize];
["Alignment of _HashTableIterator"][::std::mem::align_of::<_HashTableIterator>() - 8usize];
["Offset of field: _HashTableIterator::ht"]
[::std::mem::offset_of!(_HashTableIterator, ht) - 0usize];
["Offset of field: _HashTableIterator::pos"]
[::std::mem::offset_of!(_HashTableIterator, pos) - 8usize];
["Offset of field: _HashTableIterator::next_copy"]
[::std::mem::offset_of!(_HashTableIterator, next_copy) - 12usize];
};
pub type HashTableIterator = _HashTableIterator;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_object {
pub gc: zend_refcounted_h,
pub handle: u32,
pub extra_flags: u32,
pub ce: *mut zend_class_entry,
pub handlers: *const zend_object_handlers,
pub properties: *mut HashTable,
pub properties_table: [zval; 1usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_object"][::std::mem::size_of::<_zend_object>() - 56usize];
["Alignment of _zend_object"][::std::mem::align_of::<_zend_object>() - 8usize];
["Offset of field: _zend_object::gc"][::std::mem::offset_of!(_zend_object, gc) - 0usize];
["Offset of field: _zend_object::handle"]
[::std::mem::offset_of!(_zend_object, handle) - 8usize];
["Offset of field: _zend_object::extra_flags"]
[::std::mem::offset_of!(_zend_object, extra_flags) - 12usize];
["Offset of field: _zend_object::ce"][::std::mem::offset_of!(_zend_object, ce) - 16usize];
["Offset of field: _zend_object::handlers"]
[::std::mem::offset_of!(_zend_object, handlers) - 24usize];
["Offset of field: _zend_object::properties"]
[::std::mem::offset_of!(_zend_object, properties) - 32usize];
["Offset of field: _zend_object::properties_table"]
[::std::mem::offset_of!(_zend_object, properties_table) - 40usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_resource {
pub gc: zend_refcounted_h,
pub handle: zend_long,
pub type_: ::std::os::raw::c_int,
pub ptr: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_resource"][::std::mem::size_of::<_zend_resource>() - 32usize];
["Alignment of _zend_resource"][::std::mem::align_of::<_zend_resource>() - 8usize];
["Offset of field: _zend_resource::gc"][::std::mem::offset_of!(_zend_resource, gc) - 0usize];
["Offset of field: _zend_resource::handle"]
[::std::mem::offset_of!(_zend_resource, handle) - 8usize];
["Offset of field: _zend_resource::type_"]
[::std::mem::offset_of!(_zend_resource, type_) - 16usize];
["Offset of field: _zend_resource::ptr"][::std::mem::offset_of!(_zend_resource, ptr) - 24usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_property_info_list {
pub num: usize,
pub num_allocated: usize,
pub ptr: [*mut _zend_property_info; 1usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_property_info_list"][::std::mem::size_of::<zend_property_info_list>() - 24usize];
["Alignment of zend_property_info_list"]
[::std::mem::align_of::<zend_property_info_list>() - 8usize];
["Offset of field: zend_property_info_list::num"]
[::std::mem::offset_of!(zend_property_info_list, num) - 0usize];
["Offset of field: zend_property_info_list::num_allocated"]
[::std::mem::offset_of!(zend_property_info_list, num_allocated) - 8usize];
["Offset of field: zend_property_info_list::ptr"]
[::std::mem::offset_of!(zend_property_info_list, ptr) - 16usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union zend_property_info_source_list {
pub ptr: *mut _zend_property_info,
pub list: usize,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_property_info_source_list"]
[::std::mem::size_of::<zend_property_info_source_list>() - 8usize];
["Alignment of zend_property_info_source_list"]
[::std::mem::align_of::<zend_property_info_source_list>() - 8usize];
["Offset of field: zend_property_info_source_list::ptr"]
[::std::mem::offset_of!(zend_property_info_source_list, ptr) - 0usize];
["Offset of field: zend_property_info_source_list::list"]
[::std::mem::offset_of!(zend_property_info_source_list, list) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_reference {
pub gc: zend_refcounted_h,
pub val: zval,
pub sources: zend_property_info_source_list,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_reference"][::std::mem::size_of::<_zend_reference>() - 32usize];
["Alignment of _zend_reference"][::std::mem::align_of::<_zend_reference>() - 8usize];
["Offset of field: _zend_reference::gc"][::std::mem::offset_of!(_zend_reference, gc) - 0usize];
["Offset of field: _zend_reference::val"]
[::std::mem::offset_of!(_zend_reference, val) - 8usize];
["Offset of field: _zend_reference::sources"]
[::std::mem::offset_of!(_zend_reference, sources) - 24usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_ast_ref {
pub gc: zend_refcounted_h,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ast_ref"][::std::mem::size_of::<_zend_ast_ref>() - 8usize];
["Alignment of _zend_ast_ref"][::std::mem::align_of::<_zend_ast_ref>() - 4usize];
["Offset of field: _zend_ast_ref::gc"][::std::mem::offset_of!(_zend_ast_ref, gc) - 0usize];
};
extern "C" {
pub fn zend_map_ptr_reset();
}
extern "C" {
pub fn zend_map_ptr_new() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_map_ptr_new_static() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_map_ptr_extend(last: usize);
}
extern "C" {
pub fn zend_alloc_ce_cache(type_name: *mut zend_string);
}
extern "C" {
pub static mut zend_map_ptr_static_last: usize;
}
extern "C" {
pub static mut zend_map_ptr_static_size: usize;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_leak_info {
pub addr: *mut ::std::os::raw::c_void,
pub size: usize,
pub filename: *const ::std::os::raw::c_char,
pub orig_filename: *const ::std::os::raw::c_char,
pub lineno: u32,
pub orig_lineno: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_leak_info"][::std::mem::size_of::<_zend_leak_info>() - 40usize];
["Alignment of _zend_leak_info"][::std::mem::align_of::<_zend_leak_info>() - 8usize];
["Offset of field: _zend_leak_info::addr"]
[::std::mem::offset_of!(_zend_leak_info, addr) - 0usize];
["Offset of field: _zend_leak_info::size"]
[::std::mem::offset_of!(_zend_leak_info, size) - 8usize];
["Offset of field: _zend_leak_info::filename"]
[::std::mem::offset_of!(_zend_leak_info, filename) - 16usize];
["Offset of field: _zend_leak_info::orig_filename"]
[::std::mem::offset_of!(_zend_leak_info, orig_filename) - 24usize];
["Offset of field: _zend_leak_info::lineno"]
[::std::mem::offset_of!(_zend_leak_info, lineno) - 32usize];
["Offset of field: _zend_leak_info::orig_lineno"]
[::std::mem::offset_of!(_zend_leak_info, orig_lineno) - 36usize];
};
pub type zend_leak_info = _zend_leak_info;
extern "C" {
pub fn zend_strndup(
s: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> usize;
}
extern "C" {
pub fn zend_set_memory_limit(memory_limit: usize) -> zend_result;
}
extern "C" {
pub fn zend_alloc_in_memory_limit_error_reporting() -> bool;
}
extern "C" {
pub fn zend_memory_usage(real_usage: bool) -> usize;
}
extern "C" {
pub fn zend_memory_peak_usage(real_usage: bool) -> usize;
}
extern "C" {
pub fn zend_memory_reset_peak_usage();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_mm_heap {
_unused: [u8; 0],
}
pub type zend_mm_heap = _zend_mm_heap;
extern "C" {
pub fn zend_mm_startup() -> *mut zend_mm_heap;
}
extern "C" {
pub fn zend_mm_shutdown(heap: *mut zend_mm_heap, full_shutdown: bool, silent: bool);
}
extern "C" {
pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _zend_mm_realloc(
heap: *mut zend_mm_heap,
p: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _zend_mm_realloc2(
heap: *mut zend_mm_heap,
p: *mut ::std::os::raw::c_void,
size: usize,
copy_size: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> usize;
}
extern "C" {
pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
}
extern "C" {
pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
}
extern "C" {
pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> usize;
}
extern "C" {
pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> bool;
}
extern "C" {
pub fn zend_mm_set_custom_handlers(
heap: *mut zend_mm_heap,
_malloc: ::std::option::Option<
unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
>,
_free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
_realloc: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
) -> *mut ::std::os::raw::c_void,
>,
);
}
extern "C" {
pub fn zend_mm_set_custom_handlers_ex(
heap: *mut zend_mm_heap,
_malloc: ::std::option::Option<
unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
>,
_free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
_realloc: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
) -> *mut ::std::os::raw::c_void,
>,
_gc: ::std::option::Option<unsafe extern "C" fn() -> usize>,
_shutdown: ::std::option::Option<unsafe extern "C" fn(arg1: bool, arg2: bool)>,
);
}
extern "C" {
pub fn zend_mm_get_custom_handlers(
heap: *mut zend_mm_heap,
_malloc: *mut ::std::option::Option<
unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
>,
_free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
_realloc: *mut ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
) -> *mut ::std::os::raw::c_void,
>,
);
}
extern "C" {
pub fn zend_mm_get_custom_handlers_ex(
heap: *mut zend_mm_heap,
_malloc: *mut ::std::option::Option<
unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
>,
_free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
_realloc: *mut ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
) -> *mut ::std::os::raw::c_void,
>,
_gc: *mut ::std::option::Option<unsafe extern "C" fn() -> usize>,
_shutdown: *mut ::std::option::Option<unsafe extern "C" fn(arg1: bool, arg2: bool)>,
);
}
pub type zend_mm_storage = _zend_mm_storage;
pub type zend_mm_chunk_alloc_t = ::std::option::Option<
unsafe extern "C" fn(
storage: *mut zend_mm_storage,
size: usize,
alignment: usize,
) -> *mut ::std::os::raw::c_void,
>;
pub type zend_mm_chunk_free_t = ::std::option::Option<
unsafe extern "C" fn(
storage: *mut zend_mm_storage,
chunk: *mut ::std::os::raw::c_void,
size: usize,
),
>;
pub type zend_mm_chunk_truncate_t = ::std::option::Option<
unsafe extern "C" fn(
storage: *mut zend_mm_storage,
chunk: *mut ::std::os::raw::c_void,
old_size: usize,
new_size: usize,
) -> bool,
>;
pub type zend_mm_chunk_extend_t = ::std::option::Option<
unsafe extern "C" fn(
storage: *mut zend_mm_storage,
chunk: *mut ::std::os::raw::c_void,
old_size: usize,
new_size: usize,
) -> bool,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_mm_handlers {
pub chunk_alloc: zend_mm_chunk_alloc_t,
pub chunk_free: zend_mm_chunk_free_t,
pub chunk_truncate: zend_mm_chunk_truncate_t,
pub chunk_extend: zend_mm_chunk_extend_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_mm_handlers"][::std::mem::size_of::<_zend_mm_handlers>() - 32usize];
["Alignment of _zend_mm_handlers"][::std::mem::align_of::<_zend_mm_handlers>() - 8usize];
["Offset of field: _zend_mm_handlers::chunk_alloc"]
[::std::mem::offset_of!(_zend_mm_handlers, chunk_alloc) - 0usize];
["Offset of field: _zend_mm_handlers::chunk_free"]
[::std::mem::offset_of!(_zend_mm_handlers, chunk_free) - 8usize];
["Offset of field: _zend_mm_handlers::chunk_truncate"]
[::std::mem::offset_of!(_zend_mm_handlers, chunk_truncate) - 16usize];
["Offset of field: _zend_mm_handlers::chunk_extend"]
[::std::mem::offset_of!(_zend_mm_handlers, chunk_extend) - 24usize];
};
pub type zend_mm_handlers = _zend_mm_handlers;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_mm_storage {
pub handlers: zend_mm_handlers,
pub data: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_mm_storage"][::std::mem::size_of::<_zend_mm_storage>() - 40usize];
["Alignment of _zend_mm_storage"][::std::mem::align_of::<_zend_mm_storage>() - 8usize];
["Offset of field: _zend_mm_storage::handlers"]
[::std::mem::offset_of!(_zend_mm_storage, handlers) - 0usize];
["Offset of field: _zend_mm_storage::data"]
[::std::mem::offset_of!(_zend_mm_storage, data) - 32usize];
};
extern "C" {
pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
}
extern "C" {
pub fn zend_mm_startup_ex(
handlers: *const zend_mm_handlers,
data: *mut ::std::os::raw::c_void,
data_size: usize,
) -> *mut zend_mm_heap;
}
extern "C" {
pub fn zend_mm_refresh_key_child(heap: *mut zend_mm_heap);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_llist_element {
pub next: *mut _zend_llist_element,
pub prev: *mut _zend_llist_element,
pub data: [::std::os::raw::c_char; 1usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_llist_element"][::std::mem::size_of::<_zend_llist_element>() - 24usize];
["Alignment of _zend_llist_element"][::std::mem::align_of::<_zend_llist_element>() - 8usize];
["Offset of field: _zend_llist_element::next"]
[::std::mem::offset_of!(_zend_llist_element, next) - 0usize];
["Offset of field: _zend_llist_element::prev"]
[::std::mem::offset_of!(_zend_llist_element, prev) - 8usize];
["Offset of field: _zend_llist_element::data"]
[::std::mem::offset_of!(_zend_llist_element, data) - 16usize];
};
pub type zend_llist_element = _zend_llist_element;
pub type llist_dtor_func_t =
::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
pub type llist_compare_func_t = ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut *const zend_llist_element,
arg2: *mut *const zend_llist_element,
) -> ::std::os::raw::c_int,
>;
pub type llist_apply_with_args_func_t = ::std::option::Option<
unsafe extern "C" fn(
data: *mut ::std::os::raw::c_void,
num_args: ::std::os::raw::c_int,
args: *mut __va_list_tag,
),
>;
pub type llist_apply_with_arg_func_t = ::std::option::Option<
unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
>;
pub type llist_apply_func_t =
::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_llist {
pub head: *mut zend_llist_element,
pub tail: *mut zend_llist_element,
pub count: usize,
pub size: usize,
pub dtor: llist_dtor_func_t,
pub persistent: ::std::os::raw::c_uchar,
pub traverse_ptr: *mut zend_llist_element,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_llist"][::std::mem::size_of::<_zend_llist>() - 56usize];
["Alignment of _zend_llist"][::std::mem::align_of::<_zend_llist>() - 8usize];
["Offset of field: _zend_llist::head"][::std::mem::offset_of!(_zend_llist, head) - 0usize];
["Offset of field: _zend_llist::tail"][::std::mem::offset_of!(_zend_llist, tail) - 8usize];
["Offset of field: _zend_llist::count"][::std::mem::offset_of!(_zend_llist, count) - 16usize];
["Offset of field: _zend_llist::size"][::std::mem::offset_of!(_zend_llist, size) - 24usize];
["Offset of field: _zend_llist::dtor"][::std::mem::offset_of!(_zend_llist, dtor) - 32usize];
["Offset of field: _zend_llist::persistent"]
[::std::mem::offset_of!(_zend_llist, persistent) - 40usize];
["Offset of field: _zend_llist::traverse_ptr"]
[::std::mem::offset_of!(_zend_llist, traverse_ptr) - 48usize];
};
pub type zend_llist = _zend_llist;
pub type zend_llist_position = *mut zend_llist_element;
extern "C" {
pub fn zend_llist_init(
l: *mut zend_llist,
size: usize,
dtor: llist_dtor_func_t,
persistent: ::std::os::raw::c_uchar,
);
}
extern "C" {
pub fn zend_llist_add_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
}
extern "C" {
pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
}
extern "C" {
pub fn zend_llist_del_element(
l: *mut zend_llist,
element: *mut ::std::os::raw::c_void,
compare: ::std::option::Option<
unsafe extern "C" fn(
element1: *mut ::std::os::raw::c_void,
element2: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>,
);
}
extern "C" {
pub fn zend_llist_destroy(l: *mut zend_llist);
}
extern "C" {
pub fn zend_llist_clean(l: *mut zend_llist);
}
extern "C" {
pub fn zend_llist_remove_tail(l: *mut zend_llist);
}
extern "C" {
pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
}
extern "C" {
pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
}
extern "C" {
pub fn zend_llist_apply_with_del(
l: *mut zend_llist,
func: ::std::option::Option<
unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
>,
);
}
extern "C" {
pub fn zend_llist_apply_with_argument(
l: *mut zend_llist,
func: llist_apply_with_arg_func_t,
arg: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_llist_apply_with_arguments(
l: *mut zend_llist,
func: llist_apply_with_args_func_t,
num_args: ::std::os::raw::c_int,
...
);
}
extern "C" {
pub fn zend_llist_count(l: *mut zend_llist) -> usize;
}
extern "C" {
pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
}
extern "C" {
pub fn zend_llist_get_first_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_llist_get_last_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_llist_get_next_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_llist_get_prev_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
}
pub type socklen_t = __socklen_t;
pub type zend_hrtime_t = u64;
extern "C" {
pub fn zend_startup_hrtime();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_gc_status {
pub active: bool,
pub gc_protected: bool,
pub full: bool,
pub runs: u32,
pub collected: u32,
pub threshold: u32,
pub buf_size: u32,
pub num_roots: u32,
pub application_time: zend_hrtime_t,
pub collector_time: zend_hrtime_t,
pub dtor_time: zend_hrtime_t,
pub free_time: zend_hrtime_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_gc_status"][::std::mem::size_of::<_zend_gc_status>() - 56usize];
["Alignment of _zend_gc_status"][::std::mem::align_of::<_zend_gc_status>() - 8usize];
["Offset of field: _zend_gc_status::active"]
[::std::mem::offset_of!(_zend_gc_status, active) - 0usize];
["Offset of field: _zend_gc_status::gc_protected"]
[::std::mem::offset_of!(_zend_gc_status, gc_protected) - 1usize];
["Offset of field: _zend_gc_status::full"]
[::std::mem::offset_of!(_zend_gc_status, full) - 2usize];
["Offset of field: _zend_gc_status::runs"]
[::std::mem::offset_of!(_zend_gc_status, runs) - 4usize];
["Offset of field: _zend_gc_status::collected"]
[::std::mem::offset_of!(_zend_gc_status, collected) - 8usize];
["Offset of field: _zend_gc_status::threshold"]
[::std::mem::offset_of!(_zend_gc_status, threshold) - 12usize];
["Offset of field: _zend_gc_status::buf_size"]
[::std::mem::offset_of!(_zend_gc_status, buf_size) - 16usize];
["Offset of field: _zend_gc_status::num_roots"]
[::std::mem::offset_of!(_zend_gc_status, num_roots) - 20usize];
["Offset of field: _zend_gc_status::application_time"]
[::std::mem::offset_of!(_zend_gc_status, application_time) - 24usize];
["Offset of field: _zend_gc_status::collector_time"]
[::std::mem::offset_of!(_zend_gc_status, collector_time) - 32usize];
["Offset of field: _zend_gc_status::dtor_time"]
[::std::mem::offset_of!(_zend_gc_status, dtor_time) - 40usize];
["Offset of field: _zend_gc_status::free_time"]
[::std::mem::offset_of!(_zend_gc_status, free_time) - 48usize];
};
pub type zend_gc_status = _zend_gc_status;
extern "C" {
pub static mut gc_collect_cycles:
::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
}
extern "C" {
pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_gc_get_status(status: *mut zend_gc_status);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_get_gc_buffer {
pub cur: *mut zval,
pub end: *mut zval,
pub start: *mut zval,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_get_gc_buffer"][::std::mem::size_of::<zend_get_gc_buffer>() - 24usize];
["Alignment of zend_get_gc_buffer"][::std::mem::align_of::<zend_get_gc_buffer>() - 8usize];
["Offset of field: zend_get_gc_buffer::cur"]
[::std::mem::offset_of!(zend_get_gc_buffer, cur) - 0usize];
["Offset of field: zend_get_gc_buffer::end"]
[::std::mem::offset_of!(zend_get_gc_buffer, end) - 8usize];
["Offset of field: zend_get_gc_buffer::start"]
[::std::mem::offset_of!(zend_get_gc_buffer, start) - 16usize];
};
extern "C" {
pub fn zend_get_gc_buffer_create() -> *mut zend_get_gc_buffer;
}
extern "C" {
pub fn zend_get_gc_buffer_grow(gc_buffer: *mut zend_get_gc_buffer);
}
pub type zend_string_copy_storage_func_t = ::std::option::Option<unsafe extern "C" fn()>;
pub type zend_new_interned_string_func_t =
::std::option::Option<unsafe extern "C" fn(str_: *mut zend_string) -> *mut zend_string>;
pub type zend_string_init_interned_func_t = ::std::option::Option<
unsafe extern "C" fn(
str_: *const ::std::os::raw::c_char,
size: usize,
permanent: bool,
) -> *mut zend_string,
>;
pub type zend_string_init_existing_interned_func_t = ::std::option::Option<
unsafe extern "C" fn(
str_: *const ::std::os::raw::c_char,
size: usize,
permanent: bool,
) -> *mut zend_string,
>;
extern "C" {
pub static mut zend_new_interned_string: zend_new_interned_string_func_t;
}
extern "C" {
pub static mut zend_string_init_interned: zend_string_init_interned_func_t;
}
extern "C" {
pub static mut zend_string_init_existing_interned: zend_string_init_existing_interned_func_t;
}
extern "C" {
pub fn zend_string_hash_func(str_: *mut zend_string) -> zend_ulong;
}
extern "C" {
pub fn zend_hash_func(str_: *const ::std::os::raw::c_char, len: usize) -> zend_ulong;
}
extern "C" {
pub fn zend_interned_string_find_permanent(str_: *mut zend_string) -> *mut zend_string;
}
extern "C" {
pub fn zend_string_concat2(
str1: *const ::std::os::raw::c_char,
str1_len: usize,
str2: *const ::std::os::raw::c_char,
str2_len: usize,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_string_concat3(
str1: *const ::std::os::raw::c_char,
str1_len: usize,
str2: *const ::std::os::raw::c_char,
str2_len: usize,
str3: *const ::std::os::raw::c_char,
str3_len: usize,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_interned_strings_init();
}
extern "C" {
pub fn zend_interned_strings_dtor();
}
extern "C" {
pub fn zend_interned_strings_activate();
}
extern "C" {
pub fn zend_interned_strings_deactivate();
}
extern "C" {
pub fn zend_interned_strings_set_request_storage_handlers(
handler: zend_new_interned_string_func_t,
init_handler: zend_string_init_interned_func_t,
init_existing_handler: zend_string_init_existing_interned_func_t,
);
}
extern "C" {
pub fn zend_interned_strings_switch_storage(request: bool);
}
extern "C" {
pub static mut zend_empty_string: *mut zend_string;
}
extern "C" {
pub static mut zend_one_char_string: [*mut zend_string; 256usize];
}
extern "C" {
pub static mut zend_known_strings: *mut *mut zend_string;
}
extern "C" {
pub fn zend_string_equal_val(s1: *const zend_string, s2: *const zend_string) -> bool;
}
pub const _zend_known_string_id_ZEND_STR_FILE: _zend_known_string_id = 0;
pub const _zend_known_string_id_ZEND_STR_LINE: _zend_known_string_id = 1;
pub const _zend_known_string_id_ZEND_STR_FUNCTION: _zend_known_string_id = 2;
pub const _zend_known_string_id_ZEND_STR_CLASS: _zend_known_string_id = 3;
pub const _zend_known_string_id_ZEND_STR_OBJECT: _zend_known_string_id = 4;
pub const _zend_known_string_id_ZEND_STR_TYPE: _zend_known_string_id = 5;
pub const _zend_known_string_id_ZEND_STR_OBJECT_OPERATOR: _zend_known_string_id = 6;
pub const _zend_known_string_id_ZEND_STR_PAAMAYIM_NEKUDOTAYIM: _zend_known_string_id = 7;
pub const _zend_known_string_id_ZEND_STR_ARGS: _zend_known_string_id = 8;
pub const _zend_known_string_id_ZEND_STR_UNKNOWN: _zend_known_string_id = 9;
pub const _zend_known_string_id_ZEND_STR_UNKNOWN_CAPITALIZED: _zend_known_string_id = 10;
pub const _zend_known_string_id_ZEND_STR_EXIT: _zend_known_string_id = 11;
pub const _zend_known_string_id_ZEND_STR_CLONE: _zend_known_string_id = 12;
pub const _zend_known_string_id_ZEND_STR_EVAL: _zend_known_string_id = 13;
pub const _zend_known_string_id_ZEND_STR_INCLUDE: _zend_known_string_id = 14;
pub const _zend_known_string_id_ZEND_STR_REQUIRE: _zend_known_string_id = 15;
pub const _zend_known_string_id_ZEND_STR_INCLUDE_ONCE: _zend_known_string_id = 16;
pub const _zend_known_string_id_ZEND_STR_REQUIRE_ONCE: _zend_known_string_id = 17;
pub const _zend_known_string_id_ZEND_STR_SCALAR: _zend_known_string_id = 18;
pub const _zend_known_string_id_ZEND_STR_ERROR_REPORTING: _zend_known_string_id = 19;
pub const _zend_known_string_id_ZEND_STR_STATIC: _zend_known_string_id = 20;
pub const _zend_known_string_id_ZEND_STR_THIS: _zend_known_string_id = 21;
pub const _zend_known_string_id_ZEND_STR_VALUE: _zend_known_string_id = 22;
pub const _zend_known_string_id_ZEND_STR_KEY: _zend_known_string_id = 23;
pub const _zend_known_string_id_ZEND_STR_MAGIC_INVOKE: _zend_known_string_id = 24;
pub const _zend_known_string_id_ZEND_STR_PREVIOUS: _zend_known_string_id = 25;
pub const _zend_known_string_id_ZEND_STR_CODE: _zend_known_string_id = 26;
pub const _zend_known_string_id_ZEND_STR_MESSAGE: _zend_known_string_id = 27;
pub const _zend_known_string_id_ZEND_STR_SEVERITY: _zend_known_string_id = 28;
pub const _zend_known_string_id_ZEND_STR_STRING: _zend_known_string_id = 29;
pub const _zend_known_string_id_ZEND_STR_TRACE: _zend_known_string_id = 30;
pub const _zend_known_string_id_ZEND_STR_SCHEME: _zend_known_string_id = 31;
pub const _zend_known_string_id_ZEND_STR_HOST: _zend_known_string_id = 32;
pub const _zend_known_string_id_ZEND_STR_PORT: _zend_known_string_id = 33;
pub const _zend_known_string_id_ZEND_STR_USER: _zend_known_string_id = 34;
pub const _zend_known_string_id_ZEND_STR_USERNAME: _zend_known_string_id = 35;
pub const _zend_known_string_id_ZEND_STR_PASS: _zend_known_string_id = 36;
pub const _zend_known_string_id_ZEND_STR_PASSWORD: _zend_known_string_id = 37;
pub const _zend_known_string_id_ZEND_STR_PATH: _zend_known_string_id = 38;
pub const _zend_known_string_id_ZEND_STR_QUERY: _zend_known_string_id = 39;
pub const _zend_known_string_id_ZEND_STR_FRAGMENT: _zend_known_string_id = 40;
pub const _zend_known_string_id_ZEND_STR_NULL: _zend_known_string_id = 41;
pub const _zend_known_string_id_ZEND_STR_BOOLEAN: _zend_known_string_id = 42;
pub const _zend_known_string_id_ZEND_STR_INTEGER: _zend_known_string_id = 43;
pub const _zend_known_string_id_ZEND_STR_DOUBLE: _zend_known_string_id = 44;
pub const _zend_known_string_id_ZEND_STR_ARRAY: _zend_known_string_id = 45;
pub const _zend_known_string_id_ZEND_STR_RESOURCE: _zend_known_string_id = 46;
pub const _zend_known_string_id_ZEND_STR_CLOSED_RESOURCE: _zend_known_string_id = 47;
pub const _zend_known_string_id_ZEND_STR_NAME: _zend_known_string_id = 48;
pub const _zend_known_string_id_ZEND_STR_ARGV: _zend_known_string_id = 49;
pub const _zend_known_string_id_ZEND_STR_ARGC: _zend_known_string_id = 50;
pub const _zend_known_string_id_ZEND_STR_ARRAY_CAPITALIZED: _zend_known_string_id = 51;
pub const _zend_known_string_id_ZEND_STR_BOOL: _zend_known_string_id = 52;
pub const _zend_known_string_id_ZEND_STR_INT: _zend_known_string_id = 53;
pub const _zend_known_string_id_ZEND_STR_FLOAT: _zend_known_string_id = 54;
pub const _zend_known_string_id_ZEND_STR_CALLABLE: _zend_known_string_id = 55;
pub const _zend_known_string_id_ZEND_STR_ITERABLE: _zend_known_string_id = 56;
pub const _zend_known_string_id_ZEND_STR_VOID: _zend_known_string_id = 57;
pub const _zend_known_string_id_ZEND_STR_NEVER: _zend_known_string_id = 58;
pub const _zend_known_string_id_ZEND_STR_FALSE: _zend_known_string_id = 59;
pub const _zend_known_string_id_ZEND_STR_TRUE: _zend_known_string_id = 60;
pub const _zend_known_string_id_ZEND_STR_NULL_LOWERCASE: _zend_known_string_id = 61;
pub const _zend_known_string_id_ZEND_STR_MIXED: _zend_known_string_id = 62;
pub const _zend_known_string_id_ZEND_STR_TRAVERSABLE: _zend_known_string_id = 63;
pub const _zend_known_string_id_ZEND_STR_SELF: _zend_known_string_id = 64;
pub const _zend_known_string_id_ZEND_STR_PARENT: _zend_known_string_id = 65;
pub const _zend_known_string_id_ZEND_STR_SLEEP: _zend_known_string_id = 66;
pub const _zend_known_string_id_ZEND_STR_WAKEUP: _zend_known_string_id = 67;
pub const _zend_known_string_id_ZEND_STR_CASES: _zend_known_string_id = 68;
pub const _zend_known_string_id_ZEND_STR_FROM: _zend_known_string_id = 69;
pub const _zend_known_string_id_ZEND_STR_TRYFROM: _zend_known_string_id = 70;
pub const _zend_known_string_id_ZEND_STR_TRYFROM_LOWERCASE: _zend_known_string_id = 71;
pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_SERVER: _zend_known_string_id = 72;
pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_ENV: _zend_known_string_id = 73;
pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_REQUEST: _zend_known_string_id = 74;
pub const _zend_known_string_id_ZEND_STR_COUNT: _zend_known_string_id = 75;
pub const _zend_known_string_id_ZEND_STR_SENSITIVEPARAMETER: _zend_known_string_id = 76;
pub const _zend_known_string_id_ZEND_STR_CONST_EXPR_PLACEHOLDER: _zend_known_string_id = 77;
pub const _zend_known_string_id_ZEND_STR_DEPRECATED_CAPITALIZED: _zend_known_string_id = 78;
pub const _zend_known_string_id_ZEND_STR_SINCE: _zend_known_string_id = 79;
pub const _zend_known_string_id_ZEND_STR_GET: _zend_known_string_id = 80;
pub const _zend_known_string_id_ZEND_STR_SET: _zend_known_string_id = 81;
pub const _zend_known_string_id_ZEND_STR_8_DOT_0: _zend_known_string_id = 82;
pub const _zend_known_string_id_ZEND_STR_8_DOT_1: _zend_known_string_id = 83;
pub const _zend_known_string_id_ZEND_STR_8_DOT_2: _zend_known_string_id = 84;
pub const _zend_known_string_id_ZEND_STR_8_DOT_3: _zend_known_string_id = 85;
pub const _zend_known_string_id_ZEND_STR_8_DOT_4: _zend_known_string_id = 86;
pub const _zend_known_string_id_ZEND_STR_8_DOT_5: _zend_known_string_id = 87;
pub const _zend_known_string_id_ZEND_STR_LAST_KNOWN: _zend_known_string_id = 88;
pub type _zend_known_string_id = ::std::os::raw::c_uint;
pub use self::_zend_known_string_id as zend_known_string_id;
extern "C" {
pub fn zend_sort(
base: *mut ::std::os::raw::c_void,
nmemb: usize,
siz: usize,
cmp: compare_func_t,
swp: swap_func_t,
);
}
extern "C" {
pub fn zend_insert_sort(
base: *mut ::std::os::raw::c_void,
nmemb: usize,
siz: usize,
cmp: compare_func_t,
swp: swap_func_t,
);
}
pub const zend_hash_key_type_HASH_KEY_IS_STRING: zend_hash_key_type = 1;
pub const zend_hash_key_type_HASH_KEY_IS_LONG: zend_hash_key_type = 2;
pub const zend_hash_key_type_HASH_KEY_NON_EXISTENT: zend_hash_key_type = 3;
pub type zend_hash_key_type = ::std::os::raw::c_uint;
extern "C" {
pub static zend_empty_array: HashTable;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_hash_key {
pub h: zend_ulong,
pub key: *mut zend_string,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_hash_key"][::std::mem::size_of::<_zend_hash_key>() - 16usize];
["Alignment of _zend_hash_key"][::std::mem::align_of::<_zend_hash_key>() - 8usize];
["Offset of field: _zend_hash_key::h"][::std::mem::offset_of!(_zend_hash_key, h) - 0usize];
["Offset of field: _zend_hash_key::key"][::std::mem::offset_of!(_zend_hash_key, key) - 8usize];
};
pub type zend_hash_key = _zend_hash_key;
pub type merge_checker_func_t = ::std::option::Option<
unsafe extern "C" fn(
target_ht: *mut HashTable,
source_data: *mut zval,
hash_key: *mut zend_hash_key,
pParam: *mut ::std::os::raw::c_void,
) -> bool,
>;
extern "C" {
pub fn _zend_hash_init(
ht: *mut HashTable,
nSize: u32,
pDestructor: dtor_func_t,
persistent: bool,
);
}
extern "C" {
pub fn zend_hash_destroy(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_clean(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_real_init(ht: *mut HashTable, packed: bool);
}
extern "C" {
pub fn zend_hash_real_init_packed(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_real_init_mixed(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_to_packed(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: bool);
}
extern "C" {
pub fn zend_hash_discard(ht: *mut HashTable, nNumUsed: u32);
}
extern "C" {
pub fn zend_hash_packed_grow(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_add_or_update(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
flag: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_update(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_update_ind(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval) -> *mut zval;
}
extern "C" {
pub fn zend_hash_add_new(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_add_or_update(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
flag: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_update(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_update_ind(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_add(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_add_new(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_add_or_update(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut zval,
flag: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_add_new(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_update(ht: *mut HashTable, h: zend_ulong, pData: *mut zval)
-> *mut zval;
}
extern "C" {
pub fn zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
}
extern "C" {
pub fn zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
}
extern "C" {
pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_add_empty_element(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_set_bucket_key(
ht: *mut HashTable,
p: *mut Bucket,
key: *mut zend_string,
) -> *mut zval;
}
pub type apply_func_t =
::std::option::Option<unsafe extern "C" fn(pDest: *mut zval) -> ::std::os::raw::c_int>;
pub type apply_func_arg_t = ::std::option::Option<
unsafe extern "C" fn(
pDest: *mut zval,
argument: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>;
pub type apply_func_args_t = ::std::option::Option<
unsafe extern "C" fn(
pDest: *mut zval,
num_args: ::std::os::raw::c_int,
args: *mut __va_list_tag,
hash_key: *mut zend_hash_key,
) -> ::std::os::raw::c_int,
>;
extern "C" {
pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
}
extern "C" {
pub fn zend_hash_apply_with_argument(
ht: *mut HashTable,
apply_func: apply_func_arg_t,
arg1: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_hash_apply_with_arguments(
ht: *mut HashTable,
apply_func: apply_func_args_t,
arg1: ::std::os::raw::c_int,
...
);
}
extern "C" {
pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
}
extern "C" {
pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
}
extern "C" {
pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
}
extern "C" {
pub fn zend_hash_str_del(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> zend_result;
}
extern "C" {
pub fn zend_hash_str_del_ind(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> zend_result;
}
extern "C" {
pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> zend_result;
}
extern "C" {
pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
}
extern "C" {
pub fn zend_hash_packed_del_val(ht: *mut HashTable, zv: *mut zval);
}
extern "C" {
pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_find(
ht: *const HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
}
extern "C" {
pub fn _zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
}
extern "C" {
pub fn zend_hash_find_known_hash(ht: *const HashTable, key: *const zend_string) -> *mut zval;
}
extern "C" {
pub fn zend_hash_lookup(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_lookup(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
}
extern "C" {
pub fn zend_hash_get_current_pos_ex(ht: *const HashTable, pos: HashPosition) -> HashPosition;
}
extern "C" {
pub fn zend_hash_get_current_pos(ht: *const HashTable) -> HashPosition;
}
extern "C" {
pub fn zend_hash_move_forward_ex(ht: *const HashTable, pos: *mut HashPosition) -> zend_result;
}
extern "C" {
pub fn zend_hash_move_backwards_ex(ht: *const HashTable, pos: *mut HashPosition)
-> zend_result;
}
extern "C" {
pub fn zend_hash_get_current_key_ex(
ht: *const HashTable,
str_index: *mut *mut zend_string,
num_index: *mut zend_ulong,
pos: *const HashPosition,
) -> zend_hash_key_type;
}
extern "C" {
pub fn zend_hash_get_current_key_zval_ex(
ht: *const HashTable,
key: *mut zval,
pos: *const HashPosition,
);
}
extern "C" {
pub fn zend_hash_get_current_key_type_ex(
ht: *const HashTable,
pos: *const HashPosition,
) -> zend_hash_key_type;
}
extern "C" {
pub fn zend_hash_get_current_data_ex(
ht: *const HashTable,
pos: *const HashPosition,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_internal_pointer_reset_ex(ht: *const HashTable, pos: *mut HashPosition);
}
extern "C" {
pub fn zend_hash_internal_pointer_end_ex(ht: *const HashTable, pos: *mut HashPosition);
}
extern "C" {
pub fn zend_hash_copy(
target: *mut HashTable,
source: *const HashTable,
pCopyConstructor: copy_ctor_func_t,
);
}
extern "C" {
pub fn zend_hash_merge(
target: *mut HashTable,
source: *const HashTable,
pCopyConstructor: copy_ctor_func_t,
overwrite: bool,
);
}
extern "C" {
pub fn zend_hash_merge_ex(
target: *mut HashTable,
source: *const HashTable,
pCopyConstructor: copy_ctor_func_t,
pMergeSource: merge_checker_func_t,
pParam: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
}
extern "C" {
pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
}
extern "C" {
pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
}
pub type bucket_compare_func_t = ::std::option::Option<
unsafe extern "C" fn(a: *mut Bucket, b: *mut Bucket) -> ::std::os::raw::c_int,
>;
extern "C" {
pub fn zend_hash_compare(
ht1: *mut HashTable,
ht2: *mut HashTable,
compar: compare_func_t,
ordered: bool,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_sort_ex(
ht: *mut HashTable,
sort_func: sort_func_t,
compare_func: bucket_compare_func_t,
renumber: bool,
);
}
extern "C" {
pub fn zend_array_sort_ex(
ht: *mut HashTable,
sort_func: sort_func_t,
compare_func: bucket_compare_func_t,
renumber: bool,
);
}
extern "C" {
pub fn zend_hash_minmax(ht: *const HashTable, compar: compare_func_t, flag: u32) -> *mut zval;
}
extern "C" {
pub fn zend_hash_rehash(ht: *mut HashTable);
}
extern "C" {
pub fn _zend_new_array_0() -> *mut HashTable;
}
extern "C" {
pub fn _zend_new_array(size: u32) -> *mut HashTable;
}
extern "C" {
pub fn zend_new_pair(val1: *const zval, val2: *const zval) -> *mut HashTable;
}
extern "C" {
pub fn zend_array_count(ht: *mut HashTable) -> u32;
}
extern "C" {
pub fn zend_array_dup(source: *const HashTable) -> *mut HashTable;
}
extern "C" {
pub fn zend_array_destroy(ht: *mut HashTable);
}
extern "C" {
pub fn zend_array_to_list(source: *const HashTable) -> *mut HashTable;
}
extern "C" {
pub fn zend_symtable_clean(ht: *mut HashTable);
}
extern "C" {
pub fn zend_symtable_to_proptable(ht: *mut HashTable) -> *mut HashTable;
}
extern "C" {
pub fn zend_proptable_to_symtable(ht: *mut HashTable, always_duplicate: bool)
-> *mut HashTable;
}
extern "C" {
pub fn _zend_handle_numeric_str_ex(
key: *const ::std::os::raw::c_char,
length: usize,
idx: *mut zend_ulong,
) -> bool;
}
extern "C" {
pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
}
extern "C" {
pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
}
extern "C" {
pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
}
extern "C" {
pub fn zend_hash_iterator_del(idx: u32);
}
extern "C" {
pub fn zend_hash_iterators_lower_pos(ht: *const HashTable, start: HashPosition)
-> HashPosition;
}
extern "C" {
pub fn _zend_hash_iterators_update(ht: *const HashTable, from: HashPosition, to: HashPosition);
}
extern "C" {
pub fn zend_hash_iterators_advance(ht: *const HashTable, step: HashPosition);
}
extern "C" {
pub fn zend_hash_str_find_ptr_lc(
ht: *const HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_hash_find_ptr_lc(
ht: *const HashTable,
key: *mut zend_string,
) -> *mut ::std::os::raw::c_void;
}
pub type zend_ast_kind = u16;
pub type zend_ast_attr = u16;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ast {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub lineno: u32,
pub child: [*mut zend_ast; 1usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ast"][::std::mem::size_of::<_zend_ast>() - 16usize];
["Alignment of _zend_ast"][::std::mem::align_of::<_zend_ast>() - 8usize];
["Offset of field: _zend_ast::kind"][::std::mem::offset_of!(_zend_ast, kind) - 0usize];
["Offset of field: _zend_ast::attr"][::std::mem::offset_of!(_zend_ast, attr) - 2usize];
["Offset of field: _zend_ast::lineno"][::std::mem::offset_of!(_zend_ast, lineno) - 4usize];
["Offset of field: _zend_ast::child"][::std::mem::offset_of!(_zend_ast, child) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ast_list {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub lineno: u32,
pub children: u32,
pub child: [*mut zend_ast; 1usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ast_list"][::std::mem::size_of::<_zend_ast_list>() - 24usize];
["Alignment of _zend_ast_list"][::std::mem::align_of::<_zend_ast_list>() - 8usize];
["Offset of field: _zend_ast_list::kind"]
[::std::mem::offset_of!(_zend_ast_list, kind) - 0usize];
["Offset of field: _zend_ast_list::attr"]
[::std::mem::offset_of!(_zend_ast_list, attr) - 2usize];
["Offset of field: _zend_ast_list::lineno"]
[::std::mem::offset_of!(_zend_ast_list, lineno) - 4usize];
["Offset of field: _zend_ast_list::children"]
[::std::mem::offset_of!(_zend_ast_list, children) - 8usize];
["Offset of field: _zend_ast_list::child"]
[::std::mem::offset_of!(_zend_ast_list, child) - 16usize];
};
pub type zend_ast_list = _zend_ast_list;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_ast_zval {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub val: zval,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ast_zval"][::std::mem::size_of::<_zend_ast_zval>() - 24usize];
["Alignment of _zend_ast_zval"][::std::mem::align_of::<_zend_ast_zval>() - 8usize];
["Offset of field: _zend_ast_zval::kind"]
[::std::mem::offset_of!(_zend_ast_zval, kind) - 0usize];
["Offset of field: _zend_ast_zval::attr"]
[::std::mem::offset_of!(_zend_ast_zval, attr) - 2usize];
["Offset of field: _zend_ast_zval::val"][::std::mem::offset_of!(_zend_ast_zval, val) - 8usize];
};
pub type zend_ast_zval = _zend_ast_zval;
pub type zend_op_array = _zend_op_array;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ast_op_array {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub lineno: u32,
pub op_array: *mut zend_op_array,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ast_op_array"][::std::mem::size_of::<_zend_ast_op_array>() - 16usize];
["Alignment of _zend_ast_op_array"][::std::mem::align_of::<_zend_ast_op_array>() - 8usize];
["Offset of field: _zend_ast_op_array::kind"]
[::std::mem::offset_of!(_zend_ast_op_array, kind) - 0usize];
["Offset of field: _zend_ast_op_array::attr"]
[::std::mem::offset_of!(_zend_ast_op_array, attr) - 2usize];
["Offset of field: _zend_ast_op_array::lineno"]
[::std::mem::offset_of!(_zend_ast_op_array, lineno) - 4usize];
["Offset of field: _zend_ast_op_array::op_array"]
[::std::mem::offset_of!(_zend_ast_op_array, op_array) - 8usize];
};
pub type zend_ast_op_array = _zend_ast_op_array;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ast_decl {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub start_lineno: u32,
pub end_lineno: u32,
pub flags: u32,
pub doc_comment: *mut zend_string,
pub name: *mut zend_string,
pub child: [*mut zend_ast; 5usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ast_decl"][::std::mem::size_of::<_zend_ast_decl>() - 72usize];
["Alignment of _zend_ast_decl"][::std::mem::align_of::<_zend_ast_decl>() - 8usize];
["Offset of field: _zend_ast_decl::kind"]
[::std::mem::offset_of!(_zend_ast_decl, kind) - 0usize];
["Offset of field: _zend_ast_decl::attr"]
[::std::mem::offset_of!(_zend_ast_decl, attr) - 2usize];
["Offset of field: _zend_ast_decl::start_lineno"]
[::std::mem::offset_of!(_zend_ast_decl, start_lineno) - 4usize];
["Offset of field: _zend_ast_decl::end_lineno"]
[::std::mem::offset_of!(_zend_ast_decl, end_lineno) - 8usize];
["Offset of field: _zend_ast_decl::flags"]
[::std::mem::offset_of!(_zend_ast_decl, flags) - 12usize];
["Offset of field: _zend_ast_decl::doc_comment"]
[::std::mem::offset_of!(_zend_ast_decl, doc_comment) - 16usize];
["Offset of field: _zend_ast_decl::name"]
[::std::mem::offset_of!(_zend_ast_decl, name) - 24usize];
["Offset of field: _zend_ast_decl::child"]
[::std::mem::offset_of!(_zend_ast_decl, child) - 32usize];
};
pub type zend_ast_decl = _zend_ast_decl;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ast_fcc {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub lineno: u32,
pub fptr__ptr: *mut zend_function,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ast_fcc"][::std::mem::size_of::<_zend_ast_fcc>() - 16usize];
["Alignment of _zend_ast_fcc"][::std::mem::align_of::<_zend_ast_fcc>() - 8usize];
["Offset of field: _zend_ast_fcc::kind"][::std::mem::offset_of!(_zend_ast_fcc, kind) - 0usize];
["Offset of field: _zend_ast_fcc::attr"][::std::mem::offset_of!(_zend_ast_fcc, attr) - 2usize];
["Offset of field: _zend_ast_fcc::lineno"]
[::std::mem::offset_of!(_zend_ast_fcc, lineno) - 4usize];
["Offset of field: _zend_ast_fcc::fptr__ptr"]
[::std::mem::offset_of!(_zend_ast_fcc, fptr__ptr) - 8usize];
};
pub type zend_ast_fcc = _zend_ast_fcc;
pub type zend_ast_process_t = ::std::option::Option<unsafe extern "C" fn(ast: *mut zend_ast)>;
extern "C" {
pub static mut zend_ast_process: zend_ast_process_t;
}
extern "C" {
pub fn zend_ast_create_zval_with_lineno(zv: *const zval, lineno: u32) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_zval_ex(zv: *const zval, attr: zend_ast_attr) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_zval(zv: *const zval) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_zval_from_str(str_: *mut zend_string) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_zval_from_long(lval: zend_long) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_constant(name: *mut zend_string, attr: zend_ast_attr) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_class_const_or_name(
class_name: *mut zend_ast,
name: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_op_array(op_array: *mut zend_op_array) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_0(kind: zend_ast_kind) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_2(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_3(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
child3: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_4(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
child3: *mut zend_ast,
child4: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_5(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
child3: *mut zend_ast,
child4: *mut zend_ast,
child5: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_va(
kind: zend_ast_kind,
attr: zend_ast_attr,
va: *mut va_list,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_n(kind: ::std::os::raw::c_uint, ...) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_ex_n(
kind: zend_ast_kind,
attr: ::std::os::raw::c_uint,
...
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_list_0(kind: zend_ast_kind) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_list_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_list_2(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_decl(
kind: zend_ast_kind,
flags: u32,
start_lineno: u32,
doc_comment: *mut zend_string,
name: *mut zend_string,
child0: *mut zend_ast,
child1: *mut zend_ast,
child2: *mut zend_ast,
child3: *mut zend_ast,
child4: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_fcc() -> *mut zend_ast;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_ast_evaluate_ctx {
pub had_side_effects: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_ast_evaluate_ctx"][::std::mem::size_of::<zend_ast_evaluate_ctx>() - 1usize];
["Alignment of zend_ast_evaluate_ctx"]
[::std::mem::align_of::<zend_ast_evaluate_ctx>() - 1usize];
["Offset of field: zend_ast_evaluate_ctx::had_side_effects"]
[::std::mem::offset_of!(zend_ast_evaluate_ctx, had_side_effects) - 0usize];
};
extern "C" {
pub fn zend_ast_evaluate(
result: *mut zval,
ast: *mut zend_ast,
scope: *mut zend_class_entry,
) -> zend_result;
}
extern "C" {
pub fn zend_ast_evaluate_ex(
result: *mut zval,
ast: *mut zend_ast,
scope: *mut zend_class_entry,
short_circuited_ptr: *mut bool,
ctx: *mut zend_ast_evaluate_ctx,
) -> zend_result;
}
extern "C" {
pub fn zend_ast_export(
prefix: *const ::std::os::raw::c_char,
ast: *mut zend_ast,
suffix: *const ::std::os::raw::c_char,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast_ref;
}
extern "C" {
pub fn zend_ast_destroy(ast: *mut zend_ast);
}
extern "C" {
pub fn zend_ast_ref_destroy(ast: *mut zend_ast_ref);
}
pub type zend_ast_apply_func = ::std::option::Option<
unsafe extern "C" fn(ast_ptr: *mut *mut zend_ast, context: *mut ::std::os::raw::c_void),
>;
extern "C" {
pub fn zend_ast_apply(
ast: *mut zend_ast,
fn_: zend_ast_apply_func,
context: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_ast_create_concat_op(op0: *mut zend_ast, op1: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_with_attributes(ast: *mut zend_ast, attr: *mut zend_ast) -> *mut zend_ast;
}
pub type zend_object_iterator = _zend_object_iterator;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_object_iterator_funcs {
pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub valid:
::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> zend_result>,
pub get_current_data:
::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
pub get_current_key: ::std::option::Option<
unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
>,
pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub invalidate_current:
::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub get_gc: ::std::option::Option<
unsafe extern "C" fn(
iter: *mut zend_object_iterator,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable,
>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_object_iterator_funcs"]
[::std::mem::size_of::<_zend_object_iterator_funcs>() - 64usize];
["Alignment of _zend_object_iterator_funcs"]
[::std::mem::align_of::<_zend_object_iterator_funcs>() - 8usize];
["Offset of field: _zend_object_iterator_funcs::dtor"]
[::std::mem::offset_of!(_zend_object_iterator_funcs, dtor) - 0usize];
["Offset of field: _zend_object_iterator_funcs::valid"]
[::std::mem::offset_of!(_zend_object_iterator_funcs, valid) - 8usize];
["Offset of field: _zend_object_iterator_funcs::get_current_data"]
[::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_data) - 16usize];
["Offset of field: _zend_object_iterator_funcs::get_current_key"]
[::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_key) - 24usize];
["Offset of field: _zend_object_iterator_funcs::move_forward"]
[::std::mem::offset_of!(_zend_object_iterator_funcs, move_forward) - 32usize];
["Offset of field: _zend_object_iterator_funcs::rewind"]
[::std::mem::offset_of!(_zend_object_iterator_funcs, rewind) - 40usize];
["Offset of field: _zend_object_iterator_funcs::invalidate_current"]
[::std::mem::offset_of!(_zend_object_iterator_funcs, invalidate_current) - 48usize];
["Offset of field: _zend_object_iterator_funcs::get_gc"]
[::std::mem::offset_of!(_zend_object_iterator_funcs, get_gc) - 56usize];
};
pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_object_iterator {
pub std: zend_object,
pub data: zval,
pub funcs: *const zend_object_iterator_funcs,
pub index: zend_ulong,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_object_iterator"][::std::mem::size_of::<_zend_object_iterator>() - 88usize];
["Alignment of _zend_object_iterator"]
[::std::mem::align_of::<_zend_object_iterator>() - 8usize];
["Offset of field: _zend_object_iterator::std"]
[::std::mem::offset_of!(_zend_object_iterator, std) - 0usize];
["Offset of field: _zend_object_iterator::data"]
[::std::mem::offset_of!(_zend_object_iterator, data) - 56usize];
["Offset of field: _zend_object_iterator::funcs"]
[::std::mem::offset_of!(_zend_object_iterator, funcs) - 72usize];
["Offset of field: _zend_object_iterator::index"]
[::std::mem::offset_of!(_zend_object_iterator, index) - 80usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_iterator_funcs {
pub zf_new_iterator: *mut zend_function,
pub zf_valid: *mut zend_function,
pub zf_current: *mut zend_function,
pub zf_key: *mut zend_function,
pub zf_next: *mut zend_function,
pub zf_rewind: *mut zend_function,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_iterator_funcs"]
[::std::mem::size_of::<_zend_class_iterator_funcs>() - 48usize];
["Alignment of _zend_class_iterator_funcs"]
[::std::mem::align_of::<_zend_class_iterator_funcs>() - 8usize];
["Offset of field: _zend_class_iterator_funcs::zf_new_iterator"]
[::std::mem::offset_of!(_zend_class_iterator_funcs, zf_new_iterator) - 0usize];
["Offset of field: _zend_class_iterator_funcs::zf_valid"]
[::std::mem::offset_of!(_zend_class_iterator_funcs, zf_valid) - 8usize];
["Offset of field: _zend_class_iterator_funcs::zf_current"]
[::std::mem::offset_of!(_zend_class_iterator_funcs, zf_current) - 16usize];
["Offset of field: _zend_class_iterator_funcs::zf_key"]
[::std::mem::offset_of!(_zend_class_iterator_funcs, zf_key) - 24usize];
["Offset of field: _zend_class_iterator_funcs::zf_next"]
[::std::mem::offset_of!(_zend_class_iterator_funcs, zf_next) - 32usize];
["Offset of field: _zend_class_iterator_funcs::zf_rewind"]
[::std::mem::offset_of!(_zend_class_iterator_funcs, zf_rewind) - 40usize];
};
pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_arrayaccess_funcs {
pub zf_offsetget: *mut zend_function,
pub zf_offsetexists: *mut zend_function,
pub zf_offsetset: *mut zend_function,
pub zf_offsetunset: *mut zend_function,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_arrayaccess_funcs"]
[::std::mem::size_of::<_zend_class_arrayaccess_funcs>() - 32usize];
["Alignment of _zend_class_arrayaccess_funcs"]
[::std::mem::align_of::<_zend_class_arrayaccess_funcs>() - 8usize];
["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetget"]
[::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetget) - 0usize];
["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetexists"]
[::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetexists) - 8usize];
["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetset"]
[::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetset) - 16usize];
["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetunset"]
[::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetunset) - 24usize];
};
pub type zend_class_arrayaccess_funcs = _zend_class_arrayaccess_funcs;
extern "C" {
pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
}
extern "C" {
pub fn zend_iterator_init(iter: *mut zend_object_iterator);
}
extern "C" {
pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
}
extern "C" {
pub fn zend_register_iterator_wrapper();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct stat {
pub st_dev: __dev_t,
pub st_ino: __ino_t,
pub st_nlink: __nlink_t,
pub st_mode: __mode_t,
pub st_uid: __uid_t,
pub st_gid: __gid_t,
pub __pad0: ::std::os::raw::c_int,
pub st_rdev: __dev_t,
pub st_size: __off_t,
pub st_blksize: __blksize_t,
pub st_blocks: __blkcnt_t,
pub st_atim: timespec,
pub st_mtim: timespec,
pub st_ctim: timespec,
pub __glibc_reserved: [__syscall_slong_t; 3usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of stat"][::std::mem::size_of::<stat>() - 144usize];
["Alignment of stat"][::std::mem::align_of::<stat>() - 8usize];
["Offset of field: stat::st_dev"][::std::mem::offset_of!(stat, st_dev) - 0usize];
["Offset of field: stat::st_ino"][::std::mem::offset_of!(stat, st_ino) - 8usize];
["Offset of field: stat::st_nlink"][::std::mem::offset_of!(stat, st_nlink) - 16usize];
["Offset of field: stat::st_mode"][::std::mem::offset_of!(stat, st_mode) - 24usize];
["Offset of field: stat::st_uid"][::std::mem::offset_of!(stat, st_uid) - 28usize];
["Offset of field: stat::st_gid"][::std::mem::offset_of!(stat, st_gid) - 32usize];
["Offset of field: stat::__pad0"][::std::mem::offset_of!(stat, __pad0) - 36usize];
["Offset of field: stat::st_rdev"][::std::mem::offset_of!(stat, st_rdev) - 40usize];
["Offset of field: stat::st_size"][::std::mem::offset_of!(stat, st_size) - 48usize];
["Offset of field: stat::st_blksize"][::std::mem::offset_of!(stat, st_blksize) - 56usize];
["Offset of field: stat::st_blocks"][::std::mem::offset_of!(stat, st_blocks) - 64usize];
["Offset of field: stat::st_atim"][::std::mem::offset_of!(stat, st_atim) - 72usize];
["Offset of field: stat::st_mtim"][::std::mem::offset_of!(stat, st_mtim) - 88usize];
["Offset of field: stat::st_ctim"][::std::mem::offset_of!(stat, st_ctim) - 104usize];
["Offset of field: stat::__glibc_reserved"]
[::std::mem::offset_of!(stat, __glibc_reserved) - 120usize];
};
pub type zend_stream_fsizer_t =
::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> usize>;
pub type zend_stream_reader_t = ::std::option::Option<
unsafe extern "C" fn(
handle: *mut ::std::os::raw::c_void,
buf: *mut ::std::os::raw::c_char,
len: usize,
) -> isize,
>;
pub type zend_stream_closer_t =
::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 1;
pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 2;
pub type zend_stream_type = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_stream {
pub handle: *mut ::std::os::raw::c_void,
pub isatty: ::std::os::raw::c_int,
pub reader: zend_stream_reader_t,
pub fsizer: zend_stream_fsizer_t,
pub closer: zend_stream_closer_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_stream"][::std::mem::size_of::<_zend_stream>() - 40usize];
["Alignment of _zend_stream"][::std::mem::align_of::<_zend_stream>() - 8usize];
["Offset of field: _zend_stream::handle"]
[::std::mem::offset_of!(_zend_stream, handle) - 0usize];
["Offset of field: _zend_stream::isatty"]
[::std::mem::offset_of!(_zend_stream, isatty) - 8usize];
["Offset of field: _zend_stream::reader"]
[::std::mem::offset_of!(_zend_stream, reader) - 16usize];
["Offset of field: _zend_stream::fsizer"]
[::std::mem::offset_of!(_zend_stream, fsizer) - 24usize];
["Offset of field: _zend_stream::closer"]
[::std::mem::offset_of!(_zend_stream, closer) - 32usize];
};
pub type zend_stream = _zend_stream;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_file_handle {
pub handle: _zend_file_handle__bindgen_ty_1,
pub filename: *mut zend_string,
pub opened_path: *mut zend_string,
pub type_: u8,
pub primary_script: bool,
pub in_list: bool,
pub buf: *mut ::std::os::raw::c_char,
pub len: usize,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_file_handle__bindgen_ty_1 {
pub fp: *mut FILE,
pub stream: zend_stream,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_file_handle__bindgen_ty_1"]
[::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>() - 40usize];
["Alignment of _zend_file_handle__bindgen_ty_1"]
[::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>() - 8usize];
["Offset of field: _zend_file_handle__bindgen_ty_1::fp"]
[::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fp) - 0usize];
["Offset of field: _zend_file_handle__bindgen_ty_1::stream"]
[::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, stream) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_file_handle"][::std::mem::size_of::<_zend_file_handle>() - 80usize];
["Alignment of _zend_file_handle"][::std::mem::align_of::<_zend_file_handle>() - 8usize];
["Offset of field: _zend_file_handle::handle"]
[::std::mem::offset_of!(_zend_file_handle, handle) - 0usize];
["Offset of field: _zend_file_handle::filename"]
[::std::mem::offset_of!(_zend_file_handle, filename) - 40usize];
["Offset of field: _zend_file_handle::opened_path"]
[::std::mem::offset_of!(_zend_file_handle, opened_path) - 48usize];
["Offset of field: _zend_file_handle::type_"]
[::std::mem::offset_of!(_zend_file_handle, type_) - 56usize];
["Offset of field: _zend_file_handle::primary_script"]
[::std::mem::offset_of!(_zend_file_handle, primary_script) - 57usize];
["Offset of field: _zend_file_handle::in_list"]
[::std::mem::offset_of!(_zend_file_handle, in_list) - 58usize];
["Offset of field: _zend_file_handle::buf"]
[::std::mem::offset_of!(_zend_file_handle, buf) - 64usize];
["Offset of field: _zend_file_handle::len"]
[::std::mem::offset_of!(_zend_file_handle, len) - 72usize];
};
pub type zend_file_handle = _zend_file_handle;
extern "C" {
pub fn zend_stream_init_fp(
handle: *mut zend_file_handle,
fp: *mut FILE,
filename: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_stream_init_filename(
handle: *mut zend_file_handle,
filename: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_stream_init_filename_ex(handle: *mut zend_file_handle, filename: *mut zend_string);
}
extern "C" {
pub fn zend_stream_open(handle: *mut zend_file_handle) -> zend_result;
}
extern "C" {
pub fn zend_stream_fixup(
file_handle: *mut zend_file_handle,
buf: *mut *mut ::std::os::raw::c_char,
len: *mut usize,
) -> zend_result;
}
extern "C" {
pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
}
extern "C" {
pub fn zend_stream_init();
}
extern "C" {
pub fn zend_stream_shutdown();
}
pub type zend_stat_t = stat;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct smart_str {
#[doc = " See smart_str_extract()"]
pub s: *mut zend_string,
pub a: usize,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of smart_str"][::std::mem::size_of::<smart_str>() - 16usize];
["Alignment of smart_str"][::std::mem::align_of::<smart_str>() - 8usize];
["Offset of field: smart_str::s"][::std::mem::offset_of!(smart_str, s) - 0usize];
["Offset of field: smart_str::a"][::std::mem::offset_of!(smart_str, a) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct smart_string {
pub c: *mut ::std::os::raw::c_char,
pub len: usize,
pub a: usize,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of smart_string"][::std::mem::size_of::<smart_string>() - 24usize];
["Alignment of smart_string"][::std::mem::align_of::<smart_string>() - 8usize];
["Offset of field: smart_string::c"][::std::mem::offset_of!(smart_string, c) - 0usize];
["Offset of field: smart_string::len"][::std::mem::offset_of!(smart_string, len) - 8usize];
["Offset of field: smart_string::a"][::std::mem::offset_of!(smart_string, a) - 16usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union sigval {
pub sival_int: ::std::os::raw::c_int,
pub sival_ptr: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of sigval"][::std::mem::size_of::<sigval>() - 8usize];
["Alignment of sigval"][::std::mem::align_of::<sigval>() - 8usize];
["Offset of field: sigval::sival_int"][::std::mem::offset_of!(sigval, sival_int) - 0usize];
["Offset of field: sigval::sival_ptr"][::std::mem::offset_of!(sigval, sival_ptr) - 0usize];
};
pub type __sigval_t = sigval;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t {
pub si_signo: ::std::os::raw::c_int,
pub si_errno: ::std::os::raw::c_int,
pub si_code: ::std::os::raw::c_int,
pub __pad0: ::std::os::raw::c_int,
pub _sifields: siginfo_t__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union siginfo_t__bindgen_ty_1 {
pub _pad: [::std::os::raw::c_int; 28usize],
pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1,
pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2,
pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3,
pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4,
pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5,
pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6,
pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
[::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 8usize];
["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
[::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 4usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_pid"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_pid) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_uid"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_uid) - 4usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 {
pub si_tid: ::std::os::raw::c_int,
pub si_overrun: ::std::os::raw::c_int,
pub si_sigval: __sigval_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
[::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 16usize];
["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
[::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_tid"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_tid) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_overrun"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_overrun) - 4usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_sigval"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_sigval) - 8usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
pub si_sigval: __sigval_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
[::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 16usize];
["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
[::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_pid"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_pid) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_uid"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_uid) - 4usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_sigval"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_sigval) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
pub si_status: ::std::os::raw::c_int,
pub si_utime: __clock_t,
pub si_stime: __clock_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
[::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 32usize];
["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
[::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_pid"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_pid) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_uid"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_uid) - 4usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_status"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_status) - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_utime"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_utime) - 16usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_stime"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_stime) - 24usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 {
pub si_addr: *mut ::std::os::raw::c_void,
pub si_addr_lsb: ::std::os::raw::c_short,
pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
pub _pkey: __uint32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
pub _lower: *mut ::std::os::raw::c_void,
pub _upper: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
[::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
) - 16usize];
["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
[::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
) - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1::_lower"] [:: std :: mem :: offset_of ! (siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 , _lower) - 0usize] ;
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1::_upper"] [:: std :: mem :: offset_of ! (siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 , _upper) - 8usize] ;
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
[::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 16usize];
["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
[::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_addr_bnd"][::std::mem::offset_of!(
siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
_addr_bnd
) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_pkey"][::std::mem::offset_of!(
siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
_pkey
) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
[::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 32usize];
["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
[::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr_lsb"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr_lsb) - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::_bounds"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, _bounds) - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 {
pub si_band: ::std::os::raw::c_long,
pub si_fd: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
[::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 16usize];
["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
[::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_band"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_band) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_fd"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_fd) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 {
pub _call_addr: *mut ::std::os::raw::c_void,
pub _syscall: ::std::os::raw::c_int,
pub _arch: ::std::os::raw::c_uint,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
[::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 16usize];
["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
[::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_call_addr"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _call_addr) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_syscall"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _syscall) - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_arch"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _arch) - 12usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t__bindgen_ty_1"]
[::std::mem::size_of::<siginfo_t__bindgen_ty_1>() - 112usize];
["Alignment of siginfo_t__bindgen_ty_1"]
[::std::mem::align_of::<siginfo_t__bindgen_ty_1>() - 8usize];
["Offset of field: siginfo_t__bindgen_ty_1::_pad"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _pad) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1::_kill"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _kill) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1::_timer"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _timer) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1::_rt"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _rt) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1::_sigchld"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigchld) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1::_sigfault"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigfault) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1::_sigpoll"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigpoll) - 0usize];
["Offset of field: siginfo_t__bindgen_ty_1::_sigsys"]
[::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigsys) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of siginfo_t"][::std::mem::size_of::<siginfo_t>() - 128usize];
["Alignment of siginfo_t"][::std::mem::align_of::<siginfo_t>() - 8usize];
["Offset of field: siginfo_t::si_signo"][::std::mem::offset_of!(siginfo_t, si_signo) - 0usize];
["Offset of field: siginfo_t::si_errno"][::std::mem::offset_of!(siginfo_t, si_errno) - 4usize];
["Offset of field: siginfo_t::si_code"][::std::mem::offset_of!(siginfo_t, si_code) - 8usize];
["Offset of field: siginfo_t::__pad0"][::std::mem::offset_of!(siginfo_t, __pad0) - 12usize];
["Offset of field: siginfo_t::_sifields"]
[::std::mem::offset_of!(siginfo_t, _sifields) - 16usize];
};
pub type __sighandler_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct sigaction {
pub __sigaction_handler: sigaction__bindgen_ty_1,
pub sa_mask: __sigset_t,
pub sa_flags: ::std::os::raw::c_int,
pub sa_restorer: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union sigaction__bindgen_ty_1 {
pub sa_handler: __sighandler_t,
pub sa_sigaction: ::std::option::Option<
unsafe extern "C" fn(
arg1: ::std::os::raw::c_int,
arg2: *mut siginfo_t,
arg3: *mut ::std::os::raw::c_void,
),
>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of sigaction__bindgen_ty_1"][::std::mem::size_of::<sigaction__bindgen_ty_1>() - 8usize];
["Alignment of sigaction__bindgen_ty_1"]
[::std::mem::align_of::<sigaction__bindgen_ty_1>() - 8usize];
["Offset of field: sigaction__bindgen_ty_1::sa_handler"]
[::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_handler) - 0usize];
["Offset of field: sigaction__bindgen_ty_1::sa_sigaction"]
[::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_sigaction) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of sigaction"][::std::mem::size_of::<sigaction>() - 152usize];
["Alignment of sigaction"][::std::mem::align_of::<sigaction>() - 8usize];
["Offset of field: sigaction::__sigaction_handler"]
[::std::mem::offset_of!(sigaction, __sigaction_handler) - 0usize];
["Offset of field: sigaction::sa_mask"][::std::mem::offset_of!(sigaction, sa_mask) - 8usize];
["Offset of field: sigaction::sa_flags"]
[::std::mem::offset_of!(sigaction, sa_flags) - 136usize];
["Offset of field: sigaction::sa_restorer"]
[::std::mem::offset_of!(sigaction, sa_restorer) - 144usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_signal_entry_t {
pub flags: ::std::os::raw::c_int,
pub handler: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_signal_entry_t"][::std::mem::size_of::<_zend_signal_entry_t>() - 16usize];
["Alignment of _zend_signal_entry_t"][::std::mem::align_of::<_zend_signal_entry_t>() - 8usize];
["Offset of field: _zend_signal_entry_t::flags"]
[::std::mem::offset_of!(_zend_signal_entry_t, flags) - 0usize];
["Offset of field: _zend_signal_entry_t::handler"]
[::std::mem::offset_of!(_zend_signal_entry_t, handler) - 8usize];
};
pub type zend_signal_entry_t = _zend_signal_entry_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_signal_t {
pub signo: ::std::os::raw::c_int,
pub siginfo: *mut siginfo_t,
pub context: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_signal_t"][::std::mem::size_of::<_zend_signal_t>() - 24usize];
["Alignment of _zend_signal_t"][::std::mem::align_of::<_zend_signal_t>() - 8usize];
["Offset of field: _zend_signal_t::signo"]
[::std::mem::offset_of!(_zend_signal_t, signo) - 0usize];
["Offset of field: _zend_signal_t::siginfo"]
[::std::mem::offset_of!(_zend_signal_t, siginfo) - 8usize];
["Offset of field: _zend_signal_t::context"]
[::std::mem::offset_of!(_zend_signal_t, context) - 16usize];
};
pub type zend_signal_t = _zend_signal_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_signal_queue_t {
pub zend_signal: zend_signal_t,
pub next: *mut _zend_signal_queue_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_signal_queue_t"][::std::mem::size_of::<_zend_signal_queue_t>() - 32usize];
["Alignment of _zend_signal_queue_t"][::std::mem::align_of::<_zend_signal_queue_t>() - 8usize];
["Offset of field: _zend_signal_queue_t::zend_signal"]
[::std::mem::offset_of!(_zend_signal_queue_t, zend_signal) - 0usize];
["Offset of field: _zend_signal_queue_t::next"]
[::std::mem::offset_of!(_zend_signal_queue_t, next) - 24usize];
};
pub type zend_signal_queue_t = _zend_signal_queue_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_signal_globals_t {
pub depth: ::std::os::raw::c_int,
pub blocked: ::std::os::raw::c_int,
pub running: ::std::os::raw::c_int,
pub active: ::std::os::raw::c_int,
pub check: bool,
pub reset: bool,
pub handlers: [zend_signal_entry_t; 65usize],
pub pstorage: [zend_signal_queue_t; 64usize],
pub phead: *mut zend_signal_queue_t,
pub ptail: *mut zend_signal_queue_t,
pub pavail: *mut zend_signal_queue_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_signal_globals_t"][::std::mem::size_of::<_zend_signal_globals_t>() - 3136usize];
["Alignment of _zend_signal_globals_t"]
[::std::mem::align_of::<_zend_signal_globals_t>() - 8usize];
["Offset of field: _zend_signal_globals_t::depth"]
[::std::mem::offset_of!(_zend_signal_globals_t, depth) - 0usize];
["Offset of field: _zend_signal_globals_t::blocked"]
[::std::mem::offset_of!(_zend_signal_globals_t, blocked) - 4usize];
["Offset of field: _zend_signal_globals_t::running"]
[::std::mem::offset_of!(_zend_signal_globals_t, running) - 8usize];
["Offset of field: _zend_signal_globals_t::active"]
[::std::mem::offset_of!(_zend_signal_globals_t, active) - 12usize];
["Offset of field: _zend_signal_globals_t::check"]
[::std::mem::offset_of!(_zend_signal_globals_t, check) - 16usize];
["Offset of field: _zend_signal_globals_t::reset"]
[::std::mem::offset_of!(_zend_signal_globals_t, reset) - 17usize];
["Offset of field: _zend_signal_globals_t::handlers"]
[::std::mem::offset_of!(_zend_signal_globals_t, handlers) - 24usize];
["Offset of field: _zend_signal_globals_t::pstorage"]
[::std::mem::offset_of!(_zend_signal_globals_t, pstorage) - 1064usize];
["Offset of field: _zend_signal_globals_t::phead"]
[::std::mem::offset_of!(_zend_signal_globals_t, phead) - 3112usize];
["Offset of field: _zend_signal_globals_t::ptail"]
[::std::mem::offset_of!(_zend_signal_globals_t, ptail) - 3120usize];
["Offset of field: _zend_signal_globals_t::pavail"]
[::std::mem::offset_of!(_zend_signal_globals_t, pavail) - 3128usize];
};
pub type zend_signal_globals_t = _zend_signal_globals_t;
extern "C" {
pub static mut zend_signal_globals: zend_signal_globals_t;
}
extern "C" {
pub fn zend_signal_handler_unblock();
}
extern "C" {
pub fn zend_signal_activate();
}
extern "C" {
pub fn zend_signal_deactivate();
}
extern "C" {
pub fn zend_signal_startup();
}
extern "C" {
pub fn zend_signal_init();
}
extern "C" {
pub fn zend_signal(
signo: ::std::os::raw::c_int,
handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
);
}
extern "C" {
pub fn zend_sigaction(
signo: ::std::os::raw::c_int,
act: *const sigaction,
oldact: *mut sigaction,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_serialize_data {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_unserialize_data {
_unused: [u8; 0],
}
pub type zend_serialize_data = _zend_serialize_data;
pub type zend_unserialize_data = _zend_unserialize_data;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_name {
pub name: *mut zend_string,
pub lc_name: *mut zend_string,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_name"][::std::mem::size_of::<_zend_class_name>() - 16usize];
["Alignment of _zend_class_name"][::std::mem::align_of::<_zend_class_name>() - 8usize];
["Offset of field: _zend_class_name::name"]
[::std::mem::offset_of!(_zend_class_name, name) - 0usize];
["Offset of field: _zend_class_name::lc_name"]
[::std::mem::offset_of!(_zend_class_name, lc_name) - 8usize];
};
pub type zend_class_name = _zend_class_name;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_trait_method_reference {
pub method_name: *mut zend_string,
pub class_name: *mut zend_string,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_trait_method_reference"]
[::std::mem::size_of::<_zend_trait_method_reference>() - 16usize];
["Alignment of _zend_trait_method_reference"]
[::std::mem::align_of::<_zend_trait_method_reference>() - 8usize];
["Offset of field: _zend_trait_method_reference::method_name"]
[::std::mem::offset_of!(_zend_trait_method_reference, method_name) - 0usize];
["Offset of field: _zend_trait_method_reference::class_name"]
[::std::mem::offset_of!(_zend_trait_method_reference, class_name) - 8usize];
};
pub type zend_trait_method_reference = _zend_trait_method_reference;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_trait_precedence {
pub trait_method: zend_trait_method_reference,
pub num_excludes: u32,
pub exclude_class_names: [*mut zend_string; 1usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_trait_precedence"][::std::mem::size_of::<_zend_trait_precedence>() - 32usize];
["Alignment of _zend_trait_precedence"]
[::std::mem::align_of::<_zend_trait_precedence>() - 8usize];
["Offset of field: _zend_trait_precedence::trait_method"]
[::std::mem::offset_of!(_zend_trait_precedence, trait_method) - 0usize];
["Offset of field: _zend_trait_precedence::num_excludes"]
[::std::mem::offset_of!(_zend_trait_precedence, num_excludes) - 16usize];
["Offset of field: _zend_trait_precedence::exclude_class_names"]
[::std::mem::offset_of!(_zend_trait_precedence, exclude_class_names) - 24usize];
};
pub type zend_trait_precedence = _zend_trait_precedence;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_trait_alias {
pub trait_method: zend_trait_method_reference,
#[doc = " name for method to be added"]
pub alias: *mut zend_string,
#[doc = " modifiers to be set on trait method"]
pub modifiers: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_trait_alias"][::std::mem::size_of::<_zend_trait_alias>() - 32usize];
["Alignment of _zend_trait_alias"][::std::mem::align_of::<_zend_trait_alias>() - 8usize];
["Offset of field: _zend_trait_alias::trait_method"]
[::std::mem::offset_of!(_zend_trait_alias, trait_method) - 0usize];
["Offset of field: _zend_trait_alias::alias"]
[::std::mem::offset_of!(_zend_trait_alias, alias) - 16usize];
["Offset of field: _zend_trait_alias::modifiers"]
[::std::mem::offset_of!(_zend_trait_alias, modifiers) - 24usize];
};
pub type zend_trait_alias = _zend_trait_alias;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_mutable_data {
pub default_properties_table: *mut zval,
pub constants_table: *mut HashTable,
pub ce_flags: u32,
pub backed_enum_table: *mut HashTable,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_mutable_data"]
[::std::mem::size_of::<_zend_class_mutable_data>() - 32usize];
["Alignment of _zend_class_mutable_data"]
[::std::mem::align_of::<_zend_class_mutable_data>() - 8usize];
["Offset of field: _zend_class_mutable_data::default_properties_table"]
[::std::mem::offset_of!(_zend_class_mutable_data, default_properties_table) - 0usize];
["Offset of field: _zend_class_mutable_data::constants_table"]
[::std::mem::offset_of!(_zend_class_mutable_data, constants_table) - 8usize];
["Offset of field: _zend_class_mutable_data::ce_flags"]
[::std::mem::offset_of!(_zend_class_mutable_data, ce_flags) - 16usize];
["Offset of field: _zend_class_mutable_data::backed_enum_table"]
[::std::mem::offset_of!(_zend_class_mutable_data, backed_enum_table) - 24usize];
};
pub type zend_class_mutable_data = _zend_class_mutable_data;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_dependency {
pub name: *mut zend_string,
pub ce: *mut zend_class_entry,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_dependency"][::std::mem::size_of::<_zend_class_dependency>() - 16usize];
["Alignment of _zend_class_dependency"]
[::std::mem::align_of::<_zend_class_dependency>() - 8usize];
["Offset of field: _zend_class_dependency::name"]
[::std::mem::offset_of!(_zend_class_dependency, name) - 0usize];
["Offset of field: _zend_class_dependency::ce"]
[::std::mem::offset_of!(_zend_class_dependency, ce) - 8usize];
};
pub type zend_class_dependency = _zend_class_dependency;
pub type zend_inheritance_cache_entry = _zend_inheritance_cache_entry;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_error_info {
pub type_: ::std::os::raw::c_int,
pub lineno: u32,
pub filename: *mut zend_string,
pub message: *mut zend_string,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_error_info"][::std::mem::size_of::<_zend_error_info>() - 24usize];
["Alignment of _zend_error_info"][::std::mem::align_of::<_zend_error_info>() - 8usize];
["Offset of field: _zend_error_info::type_"]
[::std::mem::offset_of!(_zend_error_info, type_) - 0usize];
["Offset of field: _zend_error_info::lineno"]
[::std::mem::offset_of!(_zend_error_info, lineno) - 4usize];
["Offset of field: _zend_error_info::filename"]
[::std::mem::offset_of!(_zend_error_info, filename) - 8usize];
["Offset of field: _zend_error_info::message"]
[::std::mem::offset_of!(_zend_error_info, message) - 16usize];
};
pub type zend_error_info = _zend_error_info;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_inheritance_cache_entry {
pub next: *mut zend_inheritance_cache_entry,
pub ce: *mut zend_class_entry,
pub parent: *mut zend_class_entry,
pub dependencies: *mut zend_class_dependency,
pub dependencies_count: u32,
pub num_warnings: u32,
pub warnings: *mut *mut zend_error_info,
pub traits_and_interfaces: [*mut zend_class_entry; 1usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_inheritance_cache_entry"]
[::std::mem::size_of::<_zend_inheritance_cache_entry>() - 56usize];
["Alignment of _zend_inheritance_cache_entry"]
[::std::mem::align_of::<_zend_inheritance_cache_entry>() - 8usize];
["Offset of field: _zend_inheritance_cache_entry::next"]
[::std::mem::offset_of!(_zend_inheritance_cache_entry, next) - 0usize];
["Offset of field: _zend_inheritance_cache_entry::ce"]
[::std::mem::offset_of!(_zend_inheritance_cache_entry, ce) - 8usize];
["Offset of field: _zend_inheritance_cache_entry::parent"]
[::std::mem::offset_of!(_zend_inheritance_cache_entry, parent) - 16usize];
["Offset of field: _zend_inheritance_cache_entry::dependencies"]
[::std::mem::offset_of!(_zend_inheritance_cache_entry, dependencies) - 24usize];
["Offset of field: _zend_inheritance_cache_entry::dependencies_count"]
[::std::mem::offset_of!(_zend_inheritance_cache_entry, dependencies_count) - 32usize];
["Offset of field: _zend_inheritance_cache_entry::num_warnings"]
[::std::mem::offset_of!(_zend_inheritance_cache_entry, num_warnings) - 36usize];
["Offset of field: _zend_inheritance_cache_entry::warnings"]
[::std::mem::offset_of!(_zend_inheritance_cache_entry, warnings) - 40usize];
["Offset of field: _zend_inheritance_cache_entry::traits_and_interfaces"]
[::std::mem::offset_of!(_zend_inheritance_cache_entry, traits_and_interfaces) - 48usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_class_entry {
pub type_: ::std::os::raw::c_char,
pub name: *mut zend_string,
pub __bindgen_anon_1: _zend_class_entry__bindgen_ty_1,
pub refcount: ::std::os::raw::c_int,
pub ce_flags: u32,
pub default_properties_count: ::std::os::raw::c_int,
pub default_static_members_count: ::std::os::raw::c_int,
pub default_properties_table: *mut zval,
pub default_static_members_table: *mut zval,
pub static_members_table__ptr: *mut zval,
pub function_table: HashTable,
pub properties_info: HashTable,
pub constants_table: HashTable,
pub mutable_data__ptr: *mut zend_class_mutable_data,
pub inheritance_cache: *mut zend_inheritance_cache_entry,
pub properties_info_table: *mut *mut _zend_property_info,
pub constructor: *mut zend_function,
pub destructor: *mut zend_function,
pub clone: *mut zend_function,
pub __get: *mut zend_function,
pub __set: *mut zend_function,
pub __unset: *mut zend_function,
pub __isset: *mut zend_function,
pub __call: *mut zend_function,
pub __callstatic: *mut zend_function,
pub __tostring: *mut zend_function,
pub __debugInfo: *mut zend_function,
pub __serialize: *mut zend_function,
pub __unserialize: *mut zend_function,
pub default_object_handlers: *const zend_object_handlers,
pub iterator_funcs_ptr: *mut zend_class_iterator_funcs,
pub arrayaccess_funcs_ptr: *mut zend_class_arrayaccess_funcs,
pub __bindgen_anon_2: _zend_class_entry__bindgen_ty_2,
pub get_iterator: ::std::option::Option<
unsafe extern "C" fn(
ce: *mut zend_class_entry,
object: *mut zval,
by_ref: ::std::os::raw::c_int,
) -> *mut zend_object_iterator,
>,
pub get_static_method: ::std::option::Option<
unsafe extern "C" fn(
ce: *mut zend_class_entry,
method: *mut zend_string,
) -> *mut zend_function,
>,
pub serialize: ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
buffer: *mut *mut ::std::os::raw::c_uchar,
buf_len: *mut usize,
data: *mut zend_serialize_data,
) -> ::std::os::raw::c_int,
>,
pub unserialize: ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
ce: *mut zend_class_entry,
buf: *const ::std::os::raw::c_uchar,
buf_len: usize,
data: *mut zend_unserialize_data,
) -> ::std::os::raw::c_int,
>,
pub num_interfaces: u32,
pub num_traits: u32,
pub num_hooked_props: u32,
pub num_hooked_prop_variance_checks: u32,
pub __bindgen_anon_3: _zend_class_entry__bindgen_ty_3,
pub trait_names: *mut zend_class_name,
pub trait_aliases: *mut *mut zend_trait_alias,
pub trait_precedences: *mut *mut zend_trait_precedence,
pub attributes: *mut HashTable,
pub enum_backing_type: u32,
pub backed_enum_table: *mut HashTable,
pub doc_comment: *mut zend_string,
pub info: _zend_class_entry__bindgen_ty_4,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry__bindgen_ty_1 {
pub parent: *mut zend_class_entry,
pub parent_name: *mut zend_string,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_entry__bindgen_ty_1"]
[::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
["Alignment of _zend_class_entry__bindgen_ty_1"]
[::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
["Offset of field: _zend_class_entry__bindgen_ty_1::parent"]
[::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, parent) - 0usize];
["Offset of field: _zend_class_entry__bindgen_ty_1::parent_name"]
[::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, parent_name) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry__bindgen_ty_2 {
pub create_object: ::std::option::Option<
unsafe extern "C" fn(class_type: *mut zend_class_entry) -> *mut zend_object,
>,
pub interface_gets_implemented: ::std::option::Option<
unsafe extern "C" fn(
iface: *mut zend_class_entry,
class_type: *mut zend_class_entry,
) -> ::std::os::raw::c_int,
>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_entry__bindgen_ty_2"]
[::std::mem::size_of::<_zend_class_entry__bindgen_ty_2>() - 8usize];
["Alignment of _zend_class_entry__bindgen_ty_2"]
[::std::mem::align_of::<_zend_class_entry__bindgen_ty_2>() - 8usize];
["Offset of field: _zend_class_entry__bindgen_ty_2::create_object"]
[::std::mem::offset_of!(_zend_class_entry__bindgen_ty_2, create_object) - 0usize];
["Offset of field: _zend_class_entry__bindgen_ty_2::interface_gets_implemented"][::std::mem::offset_of!(
_zend_class_entry__bindgen_ty_2,
interface_gets_implemented
) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry__bindgen_ty_3 {
pub interfaces: *mut *mut zend_class_entry,
pub interface_names: *mut zend_class_name,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_entry__bindgen_ty_3"]
[::std::mem::size_of::<_zend_class_entry__bindgen_ty_3>() - 8usize];
["Alignment of _zend_class_entry__bindgen_ty_3"]
[::std::mem::align_of::<_zend_class_entry__bindgen_ty_3>() - 8usize];
["Offset of field: _zend_class_entry__bindgen_ty_3::interfaces"]
[::std::mem::offset_of!(_zend_class_entry__bindgen_ty_3, interfaces) - 0usize];
["Offset of field: _zend_class_entry__bindgen_ty_3::interface_names"]
[::std::mem::offset_of!(_zend_class_entry__bindgen_ty_3, interface_names) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry__bindgen_ty_4 {
pub user: _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
pub internal: _zend_class_entry__bindgen_ty_4__bindgen_ty_2,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_1 {
pub filename: *mut zend_string,
pub line_start: u32,
pub line_end: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_entry__bindgen_ty_4__bindgen_ty_1"]
[::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>() - 16usize];
["Alignment of _zend_class_entry__bindgen_ty_4__bindgen_ty_1"]
[::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>() - 8usize];
["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::filename"]
[::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1, filename) - 0usize];
["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::line_start"][::std::mem::offset_of!(
_zend_class_entry__bindgen_ty_4__bindgen_ty_1,
line_start
) - 8usize];
["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::line_end"]
[::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1, line_end) - 12usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_2 {
pub builtin_functions: *const _zend_function_entry,
pub module: *mut _zend_module_entry,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_entry__bindgen_ty_4__bindgen_ty_2"]
[::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>() - 16usize];
["Alignment of _zend_class_entry__bindgen_ty_4__bindgen_ty_2"]
[::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>() - 8usize];
["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_2::builtin_functions"][::std::mem::offset_of!(
_zend_class_entry__bindgen_ty_4__bindgen_ty_2,
builtin_functions
)
- 0usize];
["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_2::module"]
[::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_2, module) - 8usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_entry__bindgen_ty_4"]
[::std::mem::size_of::<_zend_class_entry__bindgen_ty_4>() - 16usize];
["Alignment of _zend_class_entry__bindgen_ty_4"]
[::std::mem::align_of::<_zend_class_entry__bindgen_ty_4>() - 8usize];
["Offset of field: _zend_class_entry__bindgen_ty_4::user"]
[::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4, user) - 0usize];
["Offset of field: _zend_class_entry__bindgen_ty_4::internal"]
[::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4, internal) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_entry"][::std::mem::size_of::<_zend_class_entry>() - 520usize];
["Alignment of _zend_class_entry"][::std::mem::align_of::<_zend_class_entry>() - 8usize];
["Offset of field: _zend_class_entry::type_"]
[::std::mem::offset_of!(_zend_class_entry, type_) - 0usize];
["Offset of field: _zend_class_entry::name"]
[::std::mem::offset_of!(_zend_class_entry, name) - 8usize];
["Offset of field: _zend_class_entry::refcount"]
[::std::mem::offset_of!(_zend_class_entry, refcount) - 24usize];
["Offset of field: _zend_class_entry::ce_flags"]
[::std::mem::offset_of!(_zend_class_entry, ce_flags) - 28usize];
["Offset of field: _zend_class_entry::default_properties_count"]
[::std::mem::offset_of!(_zend_class_entry, default_properties_count) - 32usize];
["Offset of field: _zend_class_entry::default_static_members_count"]
[::std::mem::offset_of!(_zend_class_entry, default_static_members_count) - 36usize];
["Offset of field: _zend_class_entry::default_properties_table"]
[::std::mem::offset_of!(_zend_class_entry, default_properties_table) - 40usize];
["Offset of field: _zend_class_entry::default_static_members_table"]
[::std::mem::offset_of!(_zend_class_entry, default_static_members_table) - 48usize];
["Offset of field: _zend_class_entry::static_members_table__ptr"]
[::std::mem::offset_of!(_zend_class_entry, static_members_table__ptr) - 56usize];
["Offset of field: _zend_class_entry::function_table"]
[::std::mem::offset_of!(_zend_class_entry, function_table) - 64usize];
["Offset of field: _zend_class_entry::properties_info"]
[::std::mem::offset_of!(_zend_class_entry, properties_info) - 120usize];
["Offset of field: _zend_class_entry::constants_table"]
[::std::mem::offset_of!(_zend_class_entry, constants_table) - 176usize];
["Offset of field: _zend_class_entry::mutable_data__ptr"]
[::std::mem::offset_of!(_zend_class_entry, mutable_data__ptr) - 232usize];
["Offset of field: _zend_class_entry::inheritance_cache"]
[::std::mem::offset_of!(_zend_class_entry, inheritance_cache) - 240usize];
["Offset of field: _zend_class_entry::properties_info_table"]
[::std::mem::offset_of!(_zend_class_entry, properties_info_table) - 248usize];
["Offset of field: _zend_class_entry::constructor"]
[::std::mem::offset_of!(_zend_class_entry, constructor) - 256usize];
["Offset of field: _zend_class_entry::destructor"]
[::std::mem::offset_of!(_zend_class_entry, destructor) - 264usize];
["Offset of field: _zend_class_entry::clone"]
[::std::mem::offset_of!(_zend_class_entry, clone) - 272usize];
["Offset of field: _zend_class_entry::__get"]
[::std::mem::offset_of!(_zend_class_entry, __get) - 280usize];
["Offset of field: _zend_class_entry::__set"]
[::std::mem::offset_of!(_zend_class_entry, __set) - 288usize];
["Offset of field: _zend_class_entry::__unset"]
[::std::mem::offset_of!(_zend_class_entry, __unset) - 296usize];
["Offset of field: _zend_class_entry::__isset"]
[::std::mem::offset_of!(_zend_class_entry, __isset) - 304usize];
["Offset of field: _zend_class_entry::__call"]
[::std::mem::offset_of!(_zend_class_entry, __call) - 312usize];
["Offset of field: _zend_class_entry::__callstatic"]
[::std::mem::offset_of!(_zend_class_entry, __callstatic) - 320usize];
["Offset of field: _zend_class_entry::__tostring"]
[::std::mem::offset_of!(_zend_class_entry, __tostring) - 328usize];
["Offset of field: _zend_class_entry::__debugInfo"]
[::std::mem::offset_of!(_zend_class_entry, __debugInfo) - 336usize];
["Offset of field: _zend_class_entry::__serialize"]
[::std::mem::offset_of!(_zend_class_entry, __serialize) - 344usize];
["Offset of field: _zend_class_entry::__unserialize"]
[::std::mem::offset_of!(_zend_class_entry, __unserialize) - 352usize];
["Offset of field: _zend_class_entry::default_object_handlers"]
[::std::mem::offset_of!(_zend_class_entry, default_object_handlers) - 360usize];
["Offset of field: _zend_class_entry::iterator_funcs_ptr"]
[::std::mem::offset_of!(_zend_class_entry, iterator_funcs_ptr) - 368usize];
["Offset of field: _zend_class_entry::arrayaccess_funcs_ptr"]
[::std::mem::offset_of!(_zend_class_entry, arrayaccess_funcs_ptr) - 376usize];
["Offset of field: _zend_class_entry::get_iterator"]
[::std::mem::offset_of!(_zend_class_entry, get_iterator) - 392usize];
["Offset of field: _zend_class_entry::get_static_method"]
[::std::mem::offset_of!(_zend_class_entry, get_static_method) - 400usize];
["Offset of field: _zend_class_entry::serialize"]
[::std::mem::offset_of!(_zend_class_entry, serialize) - 408usize];
["Offset of field: _zend_class_entry::unserialize"]
[::std::mem::offset_of!(_zend_class_entry, unserialize) - 416usize];
["Offset of field: _zend_class_entry::num_interfaces"]
[::std::mem::offset_of!(_zend_class_entry, num_interfaces) - 424usize];
["Offset of field: _zend_class_entry::num_traits"]
[::std::mem::offset_of!(_zend_class_entry, num_traits) - 428usize];
["Offset of field: _zend_class_entry::num_hooked_props"]
[::std::mem::offset_of!(_zend_class_entry, num_hooked_props) - 432usize];
["Offset of field: _zend_class_entry::num_hooked_prop_variance_checks"]
[::std::mem::offset_of!(_zend_class_entry, num_hooked_prop_variance_checks) - 436usize];
["Offset of field: _zend_class_entry::trait_names"]
[::std::mem::offset_of!(_zend_class_entry, trait_names) - 448usize];
["Offset of field: _zend_class_entry::trait_aliases"]
[::std::mem::offset_of!(_zend_class_entry, trait_aliases) - 456usize];
["Offset of field: _zend_class_entry::trait_precedences"]
[::std::mem::offset_of!(_zend_class_entry, trait_precedences) - 464usize];
["Offset of field: _zend_class_entry::attributes"]
[::std::mem::offset_of!(_zend_class_entry, attributes) - 472usize];
["Offset of field: _zend_class_entry::enum_backing_type"]
[::std::mem::offset_of!(_zend_class_entry, enum_backing_type) - 480usize];
["Offset of field: _zend_class_entry::backed_enum_table"]
[::std::mem::offset_of!(_zend_class_entry, backed_enum_table) - 488usize];
["Offset of field: _zend_class_entry::doc_comment"]
[::std::mem::offset_of!(_zend_class_entry, doc_comment) - 496usize];
["Offset of field: _zend_class_entry::info"]
[::std::mem::offset_of!(_zend_class_entry, info) - 504usize];
};
#[repr(C)]
#[repr(align(16))]
#[derive(Copy, Clone)]
pub union zend_random_bytes_insecure_state {
pub align: zend_max_align_t,
pub opaque: [u64; 5usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_random_bytes_insecure_state"]
[::std::mem::size_of::<zend_random_bytes_insecure_state>() - 48usize];
["Alignment of zend_random_bytes_insecure_state"]
[::std::mem::align_of::<zend_random_bytes_insecure_state>() - 16usize];
["Offset of field: zend_random_bytes_insecure_state::align"]
[::std::mem::offset_of!(zend_random_bytes_insecure_state, align) - 0usize];
["Offset of field: zend_random_bytes_insecure_state::opaque"]
[::std::mem::offset_of!(zend_random_bytes_insecure_state, opaque) - 0usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_utility_functions {
pub error_function: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
error_filename: *mut zend_string,
error_lineno: u32,
message: *mut zend_string,
),
>,
pub printf_function: ::std::option::Option<
unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
>,
pub write_function: ::std::option::Option<
unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
>,
pub fopen_function: ::std::option::Option<
unsafe extern "C" fn(
filename: *mut zend_string,
opened_path: *mut *mut zend_string,
) -> *mut FILE,
>,
pub message_handler: ::std::option::Option<
unsafe extern "C" fn(message: zend_long, data: *const ::std::os::raw::c_void),
>,
pub get_configuration_directive:
::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
pub stream_open_function:
::std::option::Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>,
pub printf_to_smart_string_function: ::std::option::Option<
unsafe extern "C" fn(
buf: *mut smart_string,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
),
>,
pub printf_to_smart_str_function: ::std::option::Option<
unsafe extern "C" fn(
buf: *mut smart_str,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
),
>,
pub getenv_function: ::std::option::Option<
unsafe extern "C" fn(
name: *const ::std::os::raw::c_char,
name_len: usize,
) -> *mut ::std::os::raw::c_char,
>,
pub resolve_path_function:
::std::option::Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>,
pub random_bytes_function: ::std::option::Option<
unsafe extern "C" fn(
bytes: *mut ::std::os::raw::c_void,
size: usize,
errstr: *mut ::std::os::raw::c_char,
errstr_size: usize,
) -> zend_result,
>,
pub random_bytes_insecure_function: ::std::option::Option<
unsafe extern "C" fn(
state: *mut zend_random_bytes_insecure_state,
bytes: *mut ::std::os::raw::c_void,
size: usize,
),
>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_utility_functions"]
[::std::mem::size_of::<_zend_utility_functions>() - 120usize];
["Alignment of _zend_utility_functions"]
[::std::mem::align_of::<_zend_utility_functions>() - 8usize];
["Offset of field: _zend_utility_functions::error_function"]
[::std::mem::offset_of!(_zend_utility_functions, error_function) - 0usize];
["Offset of field: _zend_utility_functions::printf_function"]
[::std::mem::offset_of!(_zend_utility_functions, printf_function) - 8usize];
["Offset of field: _zend_utility_functions::write_function"]
[::std::mem::offset_of!(_zend_utility_functions, write_function) - 16usize];
["Offset of field: _zend_utility_functions::fopen_function"]
[::std::mem::offset_of!(_zend_utility_functions, fopen_function) - 24usize];
["Offset of field: _zend_utility_functions::message_handler"]
[::std::mem::offset_of!(_zend_utility_functions, message_handler) - 32usize];
["Offset of field: _zend_utility_functions::get_configuration_directive"]
[::std::mem::offset_of!(_zend_utility_functions, get_configuration_directive) - 40usize];
["Offset of field: _zend_utility_functions::ticks_function"]
[::std::mem::offset_of!(_zend_utility_functions, ticks_function) - 48usize];
["Offset of field: _zend_utility_functions::on_timeout"]
[::std::mem::offset_of!(_zend_utility_functions, on_timeout) - 56usize];
["Offset of field: _zend_utility_functions::stream_open_function"]
[::std::mem::offset_of!(_zend_utility_functions, stream_open_function) - 64usize];
["Offset of field: _zend_utility_functions::printf_to_smart_string_function"][::std::mem::offset_of!(
_zend_utility_functions,
printf_to_smart_string_function
) - 72usize];
["Offset of field: _zend_utility_functions::printf_to_smart_str_function"]
[::std::mem::offset_of!(_zend_utility_functions, printf_to_smart_str_function) - 80usize];
["Offset of field: _zend_utility_functions::getenv_function"]
[::std::mem::offset_of!(_zend_utility_functions, getenv_function) - 88usize];
["Offset of field: _zend_utility_functions::resolve_path_function"]
[::std::mem::offset_of!(_zend_utility_functions, resolve_path_function) - 96usize];
["Offset of field: _zend_utility_functions::random_bytes_function"]
[::std::mem::offset_of!(_zend_utility_functions, random_bytes_function) - 104usize];
["Offset of field: _zend_utility_functions::random_bytes_insecure_function"][::std::mem::offset_of!(
_zend_utility_functions,
random_bytes_insecure_function
) - 112usize];
};
pub type zend_utility_functions = _zend_utility_functions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_utility_values {
pub html_errors: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_utility_values"][::std::mem::size_of::<_zend_utility_values>() - 1usize];
["Alignment of _zend_utility_values"][::std::mem::align_of::<_zend_utility_values>() - 1usize];
["Offset of field: _zend_utility_values::html_errors"]
[::std::mem::offset_of!(_zend_utility_values, html_errors) - 0usize];
};
pub type zend_utility_values = _zend_utility_values;
pub type zend_write_func_t = ::std::option::Option<
unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
>;
extern "C" {
pub fn zend_startup(utility_functions: *mut zend_utility_functions);
}
extern "C" {
pub fn zend_shutdown();
}
extern "C" {
pub fn zend_register_standard_ini_entries();
}
extern "C" {
pub fn zend_post_startup() -> zend_result;
}
extern "C" {
pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
}
extern "C" {
pub fn zend_unload_modules();
}
extern "C" {
pub fn _zend_bailout(filename: *const ::std::os::raw::c_char, lineno: u32) -> !;
}
extern "C" {
pub fn zend_get_page_size() -> usize;
}
extern "C" {
pub fn zend_vspprintf(
pbuf: *mut *mut ::std::os::raw::c_char,
max_len: usize,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> usize;
}
extern "C" {
pub fn zend_spprintf(
message: *mut *mut ::std::os::raw::c_char,
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> usize;
}
extern "C" {
pub fn zend_vstrpprintf(
max_len: usize,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_strpprintf(
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> *mut zend_string;
}
extern "C" {
pub fn zend_spprintf_unchecked(
message: *mut *mut ::std::os::raw::c_char,
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> usize;
}
extern "C" {
pub fn zend_strpprintf_unchecked(
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> *mut zend_string;
}
extern "C" {
pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval) -> bool;
}
extern "C" {
pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> usize;
}
extern "C" {
pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_print_zval_r_to_str(
expr: *mut zval,
indent: ::std::os::raw::c_int,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_print_flat_zval_r(expr: *mut zval);
}
extern "C" {
pub fn zend_print_flat_zval_r_to_buf(str_: *mut smart_str, expr: *mut zval);
}
extern "C" {
pub fn zend_output_debug_string(
trigger_break: bool,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_activate();
}
extern "C" {
pub fn zend_deactivate();
}
extern "C" {
pub fn zend_call_destructors();
}
extern "C" {
pub fn zend_activate_modules();
}
extern "C" {
pub fn zend_deactivate_modules();
}
extern "C" {
pub fn zend_post_deactivate_modules();
}
extern "C" {
pub static mut zend_printf: ::std::option::Option<
unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
>;
}
extern "C" {
pub static mut zend_write: zend_write_func_t;
}
extern "C" {
pub static mut zend_fopen: ::std::option::Option<
unsafe extern "C" fn(
filename: *mut zend_string,
opened_path: *mut *mut zend_string,
) -> *mut FILE,
>;
}
extern "C" {
pub static mut zend_ticks_function:
::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
}
extern "C" {
pub static mut zend_interrupt_function:
::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
}
extern "C" {
pub static mut zend_error_cb: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
error_filename: *mut zend_string,
error_lineno: u32,
message: *mut zend_string,
),
>;
}
extern "C" {
pub static mut zend_on_timeout:
::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
}
extern "C" {
pub static mut zend_stream_open_function:
::std::option::Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>;
}
extern "C" {
pub static mut zend_printf_to_smart_string: ::std::option::Option<
unsafe extern "C" fn(
buf: *mut smart_string,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
),
>;
}
extern "C" {
pub static mut zend_printf_to_smart_str: ::std::option::Option<
unsafe extern "C" fn(
buf: *mut smart_str,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
),
>;
}
extern "C" {
pub static mut zend_getenv: ::std::option::Option<
unsafe extern "C" fn(
name: *const ::std::os::raw::c_char,
name_len: usize,
) -> *mut ::std::os::raw::c_char,
>;
}
extern "C" {
pub static mut zend_resolve_path:
::std::option::Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>;
}
extern "C" {
pub static mut zend_random_bytes: ::std::option::Option<
unsafe extern "C" fn(
bytes: *mut ::std::os::raw::c_void,
size: usize,
errstr: *mut ::std::os::raw::c_char,
errstr_size: usize,
) -> zend_result,
>;
}
extern "C" {
pub static mut zend_random_bytes_insecure: ::std::option::Option<
unsafe extern "C" fn(
state: *mut zend_random_bytes_insecure_state,
bytes: *mut ::std::os::raw::c_void,
size: usize,
),
>;
}
extern "C" {
pub static mut zend_post_startup_cb:
::std::option::Option<unsafe extern "C" fn() -> zend_result>;
}
extern "C" {
pub static mut zend_post_shutdown_cb: ::std::option::Option<unsafe extern "C" fn()>;
}
extern "C" {
pub static mut zend_accel_schedule_restart_hook:
::std::option::Option<unsafe extern "C" fn(reason: ::std::os::raw::c_int)>;
}
extern "C" {
pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn zend_error_noreturn(
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
) -> !;
}
extern "C" {
pub fn zend_error_noreturn_unchecked(
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
) -> !;
}
extern "C" {
pub fn zend_error_unchecked(
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_error_at(
type_: ::std::os::raw::c_int,
filename: *mut zend_string,
lineno: u32,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_error_at_noreturn(
type_: ::std::os::raw::c_int,
filename: *mut zend_string,
lineno: u32,
format: *const ::std::os::raw::c_char,
...
) -> !;
}
extern "C" {
pub fn zend_error_zstr(type_: ::std::os::raw::c_int, message: *mut zend_string);
}
extern "C" {
pub fn zend_error_zstr_at(
type_: ::std::os::raw::c_int,
filename: *mut zend_string,
lineno: u32,
message: *mut zend_string,
);
}
extern "C" {
pub fn zend_throw_error(
exception_ce: *mut zend_class_entry,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn zend_argument_count_error(format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn zend_value_error(format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn zend_illegal_container_offset(
container: *const zend_string,
offset: *const zval,
type_: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zenderror(error: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn zend_strerror_noreturn(
type_: ::std::os::raw::c_int,
errn: ::std::os::raw::c_int,
message: *const ::std::os::raw::c_char,
) -> !;
}
extern "C" {
pub static mut zend_standard_class_def: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_uv: zend_utility_values;
}
extern "C" {
pub static mut zend_dtrace_enabled: bool;
}
extern "C" {
pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
}
extern "C" {
pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
}
pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 1;
pub type zend_error_handling_t = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_error_handling {
pub handling: zend_error_handling_t,
pub exception: *mut zend_class_entry,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_error_handling"][::std::mem::size_of::<zend_error_handling>() - 16usize];
["Alignment of zend_error_handling"][::std::mem::align_of::<zend_error_handling>() - 8usize];
["Offset of field: zend_error_handling::handling"]
[::std::mem::offset_of!(zend_error_handling, handling) - 0usize];
["Offset of field: zend_error_handling::exception"]
[::std::mem::offset_of!(zend_error_handling, exception) - 8usize];
};
extern "C" {
pub fn zend_save_error_handling(current: *mut zend_error_handling);
}
extern "C" {
pub fn zend_replace_error_handling(
error_handling: zend_error_handling_t,
exception_class: *mut zend_class_entry,
current: *mut zend_error_handling,
);
}
extern "C" {
pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
}
extern "C" {
pub fn zend_begin_record_errors();
}
extern "C" {
pub fn zend_emit_recorded_errors();
}
extern "C" {
pub fn zend_emit_recorded_errors_ex(num_errors: u32, errors: *mut *mut zend_error_info);
}
extern "C" {
pub fn zend_free_recorded_errors();
}
pub const zend_property_hook_kind_ZEND_PROPERTY_HOOK_GET: zend_property_hook_kind = 0;
pub const zend_property_hook_kind_ZEND_PROPERTY_HOOK_SET: zend_property_hook_kind = 1;
pub type zend_property_hook_kind = ::std::os::raw::c_uint;
extern "C" {
pub fn zend_hooked_object_get_iterator(
ce: *mut zend_class_entry,
object: *mut zval,
by_ref: ::std::os::raw::c_int,
) -> *mut zend_object_iterator;
}
extern "C" {
pub fn zend_hooked_object_build_properties(zobj: *mut zend_object) -> *mut zend_array;
}
pub type zend_lazy_object_flags_t = u8;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_lazy_objects_store {
pub infos: HashTable,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_lazy_objects_store"]
[::std::mem::size_of::<_zend_lazy_objects_store>() - 56usize];
["Alignment of _zend_lazy_objects_store"]
[::std::mem::align_of::<_zend_lazy_objects_store>() - 8usize];
["Offset of field: _zend_lazy_objects_store::infos"]
[::std::mem::offset_of!(_zend_lazy_objects_store, infos) - 0usize];
};
pub type zend_lazy_objects_store = _zend_lazy_objects_store;
pub type zend_property_info = _zend_property_info;
pub type zend_fcall_info = _zend_fcall_info;
pub type zend_fcall_info_cache = _zend_fcall_info_cache;
extern "C" {
pub fn zend_class_can_be_lazy(ce: *const zend_class_entry) -> bool;
}
extern "C" {
pub fn zend_object_make_lazy(
obj: *mut zend_object,
class_type: *mut zend_class_entry,
initializer_zv: *mut zval,
initializer_fcc: *mut zend_fcall_info_cache,
flags: zend_lazy_object_flags_t,
) -> *mut zend_object;
}
extern "C" {
pub fn zend_lazy_object_init(obj: *mut zend_object) -> *mut zend_object;
}
extern "C" {
pub fn zend_lazy_object_mark_as_initialized(obj: *mut zend_object) -> *mut zend_object;
}
extern "C" {
pub fn zend_lazy_objects_init(store: *mut zend_lazy_objects_store);
}
extern "C" {
pub fn zend_lazy_objects_destroy(store: *mut zend_lazy_objects_store);
}
extern "C" {
pub fn zend_lazy_object_get_initializer_zv(obj: *mut zend_object) -> *mut zval;
}
extern "C" {
pub fn zend_lazy_object_get_instance(obj: *mut zend_object) -> *mut zend_object;
}
extern "C" {
pub fn zend_lazy_object_get_flags(obj: *const zend_object) -> zend_lazy_object_flags_t;
}
extern "C" {
pub fn zend_lazy_object_del_info(obj: *const zend_object);
}
extern "C" {
pub fn zend_lazy_object_get_properties(object: *mut zend_object) -> *mut HashTable;
}
extern "C" {
pub fn zend_lazy_object_clone(old_obj: *mut zend_object) -> *mut zend_object;
}
extern "C" {
pub fn zend_lazy_object_debug_info(
object: *mut zend_object,
is_temp: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
}
extern "C" {
pub fn zend_lazy_object_get_gc(
zobj: *mut zend_object,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
}
extern "C" {
pub fn zend_lazy_object_decr_lazy_props(obj: *const zend_object) -> bool;
}
extern "C" {
pub fn zend_lazy_object_realize(obj: *mut zend_object);
}
extern "C" {
pub fn zend_lazy_object_get_property_info_for_slot(
obj: *mut zend_object,
slot: *mut zval,
) -> *mut zend_property_info;
}
pub type zend_object_read_property_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zend_object,
member: *mut zend_string,
type_: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
rv: *mut zval,
) -> *mut zval,
>;
pub type zend_object_read_dimension_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zend_object,
offset: *mut zval,
type_: ::std::os::raw::c_int,
rv: *mut zval,
) -> *mut zval,
>;
pub type zend_object_write_property_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zend_object,
member: *mut zend_string,
value: *mut zval,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> *mut zval,
>;
pub type zend_object_write_dimension_t = ::std::option::Option<
unsafe extern "C" fn(object: *mut zend_object, offset: *mut zval, value: *mut zval),
>;
pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zend_object,
member: *mut zend_string,
type_: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> *mut zval,
>;
pub type zend_object_has_property_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zend_object,
member: *mut zend_string,
has_set_exists: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>;
pub type zend_object_has_dimension_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zend_object,
member: *mut zval,
check_empty: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>;
pub type zend_object_unset_property_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zend_object,
member: *mut zend_string,
cache_slot: *mut *mut ::std::os::raw::c_void,
),
>;
pub type zend_object_unset_dimension_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zend_object, offset: *mut zval)>;
pub type zend_object_get_properties_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut HashTable>;
pub type zend_object_get_debug_info_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zend_object,
is_temp: *mut ::std::os::raw::c_int,
) -> *mut HashTable,
>;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_DEBUG: _zend_prop_purpose = 0;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_ARRAY_CAST: _zend_prop_purpose = 1;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_SERIALIZE: _zend_prop_purpose = 2;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_VAR_EXPORT: _zend_prop_purpose = 3;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_JSON: _zend_prop_purpose = 4;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_GET_OBJECT_VARS: _zend_prop_purpose = 5;
pub const _zend_prop_purpose__ZEND_PROP_PURPOSE_NON_EXHAUSTIVE_ENUM: _zend_prop_purpose = 6;
pub type _zend_prop_purpose = ::std::os::raw::c_uint;
pub use self::_zend_prop_purpose as zend_prop_purpose;
pub type zend_object_get_properties_for_t = ::std::option::Option<
unsafe extern "C" fn(object: *mut zend_object, purpose: zend_prop_purpose) -> *mut zend_array,
>;
pub type zend_object_get_method_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut *mut zend_object,
method: *mut zend_string,
key: *const zval,
) -> *mut zend_function,
>;
pub type zend_object_get_constructor_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_function>;
pub type zend_object_free_obj_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
pub type zend_object_dtor_obj_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
pub type zend_object_clone_obj_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_object>;
pub type zend_object_clone_obj_with_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zend_object,
scope: *const zend_class_entry,
properties: *const HashTable,
) -> *mut zend_object,
>;
pub type zend_object_get_class_name_t =
::std::option::Option<unsafe extern "C" fn(object: *const zend_object) -> *mut zend_string>;
pub type zend_object_compare_t = ::std::option::Option<
unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
>;
pub type zend_object_cast_t = ::std::option::Option<
unsafe extern "C" fn(
readobj: *mut zend_object,
retval: *mut zval,
type_: ::std::os::raw::c_int,
) -> zend_result,
>;
pub type zend_object_count_elements_t = ::std::option::Option<
unsafe extern "C" fn(object: *mut zend_object, count: *mut zend_long) -> zend_result,
>;
pub type zend_object_get_closure_t = ::std::option::Option<
unsafe extern "C" fn(
obj: *mut zend_object,
ce_ptr: *mut *mut zend_class_entry,
fptr_ptr: *mut *mut zend_function,
obj_ptr: *mut *mut zend_object,
check_only: bool,
) -> zend_result,
>;
pub type zend_object_get_gc_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zend_object,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable,
>;
pub type zend_object_do_operation_t = ::std::option::Option<
unsafe extern "C" fn(
opcode: u8,
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> zend_result,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_object_handlers {
pub offset: ::std::os::raw::c_int,
pub free_obj: zend_object_free_obj_t,
pub dtor_obj: zend_object_dtor_obj_t,
pub clone_obj: zend_object_clone_obj_t,
pub clone_obj_with: zend_object_clone_obj_with_t,
pub read_property: zend_object_read_property_t,
pub write_property: zend_object_write_property_t,
pub read_dimension: zend_object_read_dimension_t,
pub write_dimension: zend_object_write_dimension_t,
pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
pub has_property: zend_object_has_property_t,
pub unset_property: zend_object_unset_property_t,
pub has_dimension: zend_object_has_dimension_t,
pub unset_dimension: zend_object_unset_dimension_t,
pub get_properties: zend_object_get_properties_t,
pub get_method: zend_object_get_method_t,
pub get_constructor: zend_object_get_constructor_t,
pub get_class_name: zend_object_get_class_name_t,
pub cast_object: zend_object_cast_t,
pub count_elements: zend_object_count_elements_t,
pub get_debug_info: zend_object_get_debug_info_t,
pub get_closure: zend_object_get_closure_t,
pub get_gc: zend_object_get_gc_t,
pub do_operation: zend_object_do_operation_t,
pub compare: zend_object_compare_t,
pub get_properties_for: zend_object_get_properties_for_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_object_handlers"][::std::mem::size_of::<_zend_object_handlers>() - 208usize];
["Alignment of _zend_object_handlers"]
[::std::mem::align_of::<_zend_object_handlers>() - 8usize];
["Offset of field: _zend_object_handlers::offset"]
[::std::mem::offset_of!(_zend_object_handlers, offset) - 0usize];
["Offset of field: _zend_object_handlers::free_obj"]
[::std::mem::offset_of!(_zend_object_handlers, free_obj) - 8usize];
["Offset of field: _zend_object_handlers::dtor_obj"]
[::std::mem::offset_of!(_zend_object_handlers, dtor_obj) - 16usize];
["Offset of field: _zend_object_handlers::clone_obj"]
[::std::mem::offset_of!(_zend_object_handlers, clone_obj) - 24usize];
["Offset of field: _zend_object_handlers::clone_obj_with"]
[::std::mem::offset_of!(_zend_object_handlers, clone_obj_with) - 32usize];
["Offset of field: _zend_object_handlers::read_property"]
[::std::mem::offset_of!(_zend_object_handlers, read_property) - 40usize];
["Offset of field: _zend_object_handlers::write_property"]
[::std::mem::offset_of!(_zend_object_handlers, write_property) - 48usize];
["Offset of field: _zend_object_handlers::read_dimension"]
[::std::mem::offset_of!(_zend_object_handlers, read_dimension) - 56usize];
["Offset of field: _zend_object_handlers::write_dimension"]
[::std::mem::offset_of!(_zend_object_handlers, write_dimension) - 64usize];
["Offset of field: _zend_object_handlers::get_property_ptr_ptr"]
[::std::mem::offset_of!(_zend_object_handlers, get_property_ptr_ptr) - 72usize];
["Offset of field: _zend_object_handlers::has_property"]
[::std::mem::offset_of!(_zend_object_handlers, has_property) - 80usize];
["Offset of field: _zend_object_handlers::unset_property"]
[::std::mem::offset_of!(_zend_object_handlers, unset_property) - 88usize];
["Offset of field: _zend_object_handlers::has_dimension"]
[::std::mem::offset_of!(_zend_object_handlers, has_dimension) - 96usize];
["Offset of field: _zend_object_handlers::unset_dimension"]
[::std::mem::offset_of!(_zend_object_handlers, unset_dimension) - 104usize];
["Offset of field: _zend_object_handlers::get_properties"]
[::std::mem::offset_of!(_zend_object_handlers, get_properties) - 112usize];
["Offset of field: _zend_object_handlers::get_method"]
[::std::mem::offset_of!(_zend_object_handlers, get_method) - 120usize];
["Offset of field: _zend_object_handlers::get_constructor"]
[::std::mem::offset_of!(_zend_object_handlers, get_constructor) - 128usize];
["Offset of field: _zend_object_handlers::get_class_name"]
[::std::mem::offset_of!(_zend_object_handlers, get_class_name) - 136usize];
["Offset of field: _zend_object_handlers::cast_object"]
[::std::mem::offset_of!(_zend_object_handlers, cast_object) - 144usize];
["Offset of field: _zend_object_handlers::count_elements"]
[::std::mem::offset_of!(_zend_object_handlers, count_elements) - 152usize];
["Offset of field: _zend_object_handlers::get_debug_info"]
[::std::mem::offset_of!(_zend_object_handlers, get_debug_info) - 160usize];
["Offset of field: _zend_object_handlers::get_closure"]
[::std::mem::offset_of!(_zend_object_handlers, get_closure) - 168usize];
["Offset of field: _zend_object_handlers::get_gc"]
[::std::mem::offset_of!(_zend_object_handlers, get_gc) - 176usize];
["Offset of field: _zend_object_handlers::do_operation"]
[::std::mem::offset_of!(_zend_object_handlers, do_operation) - 184usize];
["Offset of field: _zend_object_handlers::compare"]
[::std::mem::offset_of!(_zend_object_handlers, compare) - 192usize];
["Offset of field: _zend_object_handlers::get_properties_for"]
[::std::mem::offset_of!(_zend_object_handlers, get_properties_for) - 200usize];
};
extern "C" {
pub static std_object_handlers: zend_object_handlers;
}
extern "C" {
pub fn zend_class_init_statics(ce: *mut zend_class_entry);
}
extern "C" {
pub fn zend_std_get_static_method(
ce: *mut zend_class_entry,
function_name_strval: *mut zend_string,
key: *const zval,
) -> *mut zend_function;
}
extern "C" {
pub fn zend_std_get_static_property_with_info(
ce: *mut zend_class_entry,
property_name: *mut zend_string,
type_: ::std::os::raw::c_int,
prop_info: *mut *mut _zend_property_info,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_get_static_property(
ce: *mut zend_class_entry,
property_name: *mut zend_string,
type_: ::std::os::raw::c_int,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_unset_static_property(
ce: *const zend_class_entry,
property_name: *const zend_string,
) -> bool;
}
extern "C" {
pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut zend_function;
}
extern "C" {
pub fn zend_get_property_info(
ce: *const zend_class_entry,
member: *mut zend_string,
silent: ::std::os::raw::c_int,
) -> *mut _zend_property_info;
}
extern "C" {
pub fn zend_std_get_properties(object: *mut zend_object) -> *mut HashTable;
}
extern "C" {
pub fn zend_get_properties_no_lazy_init(zobj: *mut zend_object) -> *mut HashTable;
}
extern "C" {
pub fn zend_std_get_gc(
object: *mut zend_object,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
}
extern "C" {
pub fn zend_std_get_debug_info(
object: *mut zend_object,
is_temp: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
}
extern "C" {
pub fn zend_std_cast_object_tostring(
object: *mut zend_object,
writeobj: *mut zval,
type_: ::std::os::raw::c_int,
) -> zend_result;
}
extern "C" {
pub fn zend_std_get_property_ptr_ptr(
object: *mut zend_object,
member: *mut zend_string,
type_: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_read_property(
object: *mut zend_object,
member: *mut zend_string,
type_: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
rv: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_write_property(
object: *mut zend_object,
member: *mut zend_string,
value: *mut zval,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_has_property(
object: *mut zend_object,
member: *mut zend_string,
has_set_exists: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_std_unset_property(
object: *mut zend_object,
member: *mut zend_string,
cache_slot: *mut *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_std_read_dimension(
object: *mut zend_object,
offset: *mut zval,
type_: ::std::os::raw::c_int,
rv: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_write_dimension(object: *mut zend_object, offset: *mut zval, value: *mut zval);
}
extern "C" {
pub fn zend_std_has_dimension(
object: *mut zend_object,
offset: *mut zval,
check_empty: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_std_unset_dimension(object: *mut zend_object, offset: *mut zval);
}
extern "C" {
pub fn zend_std_get_method(
obj_ptr: *mut *mut zend_object,
method_name: *mut zend_string,
key: *const zval,
) -> *mut zend_function;
}
extern "C" {
pub fn zend_std_get_class_name(zobj: *const zend_object) -> *mut zend_string;
}
extern "C" {
pub fn zend_std_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_std_get_closure(
obj: *mut zend_object,
ce_ptr: *mut *mut zend_class_entry,
fptr_ptr: *mut *mut zend_function,
obj_ptr: *mut *mut zend_object,
check_only: bool,
) -> zend_result;
}
extern "C" {
pub fn zend_bad_method_call(
fbc: *const zend_function,
method_name: *const zend_string,
scope: *const zend_class_entry,
);
}
extern "C" {
pub fn zend_abstract_method_call(fbc: *const zend_function);
}
extern "C" {
pub fn zend_std_build_object_properties_array(zobj: *mut zend_object) -> *mut HashTable;
}
extern "C" {
pub fn zend_objects_not_comparable(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_check_protected(
ce: *const zend_class_entry,
scope: *const zend_class_entry,
) -> bool;
}
extern "C" {
pub fn zend_check_property_access(
zobj: *const zend_object,
prop_info_name: *mut zend_string,
is_dynamic: bool,
) -> zend_result;
}
extern "C" {
pub fn zend_get_call_trampoline_func(
ce: *const zend_class_entry,
method_name: *mut zend_string,
is_static: bool,
) -> *mut zend_function;
}
extern "C" {
pub fn zend_get_property_guard(zobj: *mut zend_object, member: *mut zend_string) -> *mut u32;
}
extern "C" {
pub fn zend_get_recursion_guard(zobj: *mut zend_object) -> *mut u32;
}
extern "C" {
pub fn zend_std_get_properties_for(
obj: *mut zend_object,
purpose: zend_prop_purpose,
) -> *mut HashTable;
}
extern "C" {
pub fn zend_get_properties_for(obj: *mut zval, purpose: zend_prop_purpose) -> *mut HashTable;
}
extern "C" {
pub fn zend_get_property_hook_trampoline(
prop_info: *const zend_property_info,
kind: zend_property_hook_kind,
prop_name: *mut zend_string,
) -> *mut zend_function;
}
extern "C" {
pub fn zend_asymmetric_property_has_set_access(prop_info: *const zend_property_info) -> bool;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_strtod_bigint {
_unused: [u8; 0],
}
pub type zend_strtod_bigint = _zend_strtod_bigint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_strtod_state {
pub freelist: [*mut zend_strtod_bigint; 8usize],
pub p5s: *mut zend_strtod_bigint,
pub result: *mut ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_strtod_state"][::std::mem::size_of::<_zend_strtod_state>() - 80usize];
["Alignment of _zend_strtod_state"][::std::mem::align_of::<_zend_strtod_state>() - 8usize];
["Offset of field: _zend_strtod_state::freelist"]
[::std::mem::offset_of!(_zend_strtod_state, freelist) - 0usize];
["Offset of field: _zend_strtod_state::p5s"]
[::std::mem::offset_of!(_zend_strtod_state, p5s) - 64usize];
["Offset of field: _zend_strtod_state::result"]
[::std::mem::offset_of!(_zend_strtod_state, result) - 72usize];
};
pub type zend_strtod_state = _zend_strtod_state;
extern "C" {
pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
}
extern "C" {
pub fn zend_dtoa(
_d: f64,
mode: ::std::os::raw::c_int,
ndigits: ::std::os::raw::c_int,
decpt: *mut ::std::os::raw::c_int,
sign: *mut bool,
rve: *mut *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_gcvt(
value: f64,
ndigit: ::std::os::raw::c_int,
dec_point: ::std::os::raw::c_char,
exponent: ::std::os::raw::c_char,
buf: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_strtod(
s00: *const ::std::os::raw::c_char,
se: *mut *const ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn zend_hex_strtod(
str_: *const ::std::os::raw::c_char,
endptr: *mut *const ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn zend_oct_strtod(
str_: *const ::std::os::raw::c_char,
endptr: *mut *const ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn zend_bin_strtod(
str_: *const ::std::os::raw::c_char,
endptr: *mut *const ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_is_identical(op1: *const zval, op2: *const zval) -> bool;
}
extern "C" {
pub fn zend_class_implements_interface(
class_ce: *const zend_class_entry,
interface_ce: *const zend_class_entry,
) -> bool;
}
extern "C" {
pub fn zend_string_only_has_ascii_alphanumeric(str_: *const zend_string) -> bool;
}
extern "C" {
pub fn zend_memnstr_ex(
haystack: *const ::std::os::raw::c_char,
needle: *const ::std::os::raw::c_char,
needle_len: usize,
end: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_memnrstr_ex(
haystack: *const ::std::os::raw::c_char,
needle: *const ::std::os::raw::c_char,
needle_len: usize,
end: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_incompatible_double_to_long_error(d: f64);
}
extern "C" {
pub fn zend_incompatible_string_to_long_error(s: *const zend_string);
}
extern "C" {
pub fn zend_oob_double_to_long_error(d: f64);
}
extern "C" {
pub fn zend_oob_string_to_long_error(s: *const zend_string);
}
extern "C" {
pub fn zend_nan_coerced_to_type_warning(type_: u8);
}
extern "C" {
pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
}
extern "C" {
pub fn zend_is_true(op: *const zval) -> bool;
}
extern "C" {
pub fn zend_object_is_true(op: *const zval) -> bool;
}
extern "C" {
pub fn zend_compare(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub static zend_tolower_map: [::std::os::raw::c_uchar; 256usize];
}
extern "C" {
pub static zend_toupper_map: [::std::os::raw::c_uchar; 256usize];
}
extern "C" {
pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: usize);
}
extern "C" {
pub fn zend_str_toupper(str_: *mut ::std::os::raw::c_char, length: usize);
}
extern "C" {
pub fn zend_str_tolower_copy(
dest: *mut ::std::os::raw::c_char,
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_str_toupper_copy(
dest: *mut ::std::os::raw::c_char,
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_str_tolower_dup(
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_str_toupper_dup(
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_str_tolower_dup_ex(
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_str_toupper_dup_ex(
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_string_tolower_ex(str_: *mut zend_string, persistent: bool) -> *mut zend_string;
}
extern "C" {
pub fn zend_string_toupper_ex(str_: *mut zend_string, persistent: bool) -> *mut zend_string;
}
extern "C" {
pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_zval_strncmp(
s1: *mut zval,
s2: *mut zval,
s3: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strcmp(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strncmp(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strcasecmp(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strncasecmp(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strcasecmp_l(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strncasecmp_l(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zendi_smart_streq(s1: *mut zend_string, s2: *mut zend_string) -> bool;
}
extern "C" {
pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_compare_symbol_tables(
ht1: *mut HashTable,
ht2: *mut HashTable,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
#[doc = " Deprecated in favor of ZEND_STRTOL()"]
pub fn zend_atoi(str_: *const ::std::os::raw::c_char, str_len: usize) -> ::std::os::raw::c_int;
}
extern "C" {
#[doc = " Deprecated in favor of ZEND_STRTOL()"]
pub fn zend_atol(str_: *const ::std::os::raw::c_char, str_len: usize) -> zend_long;
}
extern "C" {
pub fn zend_update_current_locale();
}
extern "C" {
pub fn zend_reset_lc_ctype_locale();
}
extern "C" {
pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
}
extern "C" {
pub fn zend_ulong_to_str(num: zend_ulong) -> *mut zend_string;
}
extern "C" {
pub fn zend_u64_to_str(num: u64) -> *mut zend_string;
}
extern "C" {
pub fn zend_i64_to_str(num: i64) -> *mut zend_string;
}
extern "C" {
pub fn zend_double_to_str(num: f64) -> *mut zend_string;
}
extern "C" {
pub static zend_vm_kind_name: [*const ::std::os::raw::c_char; 6usize];
}
pub type zend_vm_opcode_handler_t = *const ::std::os::raw::c_void;
pub type zend_vm_opcode_handler_func_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub fn zend_get_opcode_name(opcode: u8) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_get_opcode_flags(opcode: u8) -> u32;
}
extern "C" {
pub fn zend_get_opcode_id(name: *const ::std::os::raw::c_char, length: usize) -> u8;
}
pub type zend_op = _zend_op;
pub type zend_frameless_function_0 =
::std::option::Option<unsafe extern "C" fn(return_value: *mut zval)>;
pub type zend_frameless_function_1 =
::std::option::Option<unsafe extern "C" fn(return_value: *mut zval, op1: *mut zval)>;
pub type zend_frameless_function_2 = ::std::option::Option<
unsafe extern "C" fn(return_value: *mut zval, op1: *mut zval, op2: *mut zval),
>;
pub type zend_frameless_function_3 = ::std::option::Option<
unsafe extern "C" fn(return_value: *mut zval, op1: *mut zval, op2: *mut zval, op3: *mut zval),
>;
extern "C" {
pub static mut zend_flf_count: usize;
}
extern "C" {
pub static mut zend_flf_capacity: usize;
}
extern "C" {
pub static mut zend_flf_handlers: *mut *mut ::std::os::raw::c_void;
}
extern "C" {
pub static mut zend_flf_functions: *mut *mut zend_function;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_frameless_function_info {
pub handler: *mut ::std::os::raw::c_void,
pub num_args: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_frameless_function_info"]
[::std::mem::size_of::<zend_frameless_function_info>() - 16usize];
["Alignment of zend_frameless_function_info"]
[::std::mem::align_of::<zend_frameless_function_info>() - 8usize];
["Offset of field: zend_frameless_function_info::handler"]
[::std::mem::offset_of!(zend_frameless_function_info, handler) - 0usize];
["Offset of field: zend_frameless_function_info::num_args"]
[::std::mem::offset_of!(zend_frameless_function_info, num_args) - 8usize];
};
pub const zend_jmp_fl_result_ZEND_JMP_FL_UNPRIMED: zend_jmp_fl_result = 0;
pub const zend_jmp_fl_result_ZEND_JMP_FL_MISS: zend_jmp_fl_result = 1;
pub const zend_jmp_fl_result_ZEND_JMP_FL_HIT: zend_jmp_fl_result = 2;
pub type zend_jmp_fl_result = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub union _znode_op {
pub constant: u32,
pub var: u32,
pub num: u32,
pub opline_num: u32,
pub jmp_offset: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _znode_op"][::std::mem::size_of::<_znode_op>() - 4usize];
["Alignment of _znode_op"][::std::mem::align_of::<_znode_op>() - 4usize];
["Offset of field: _znode_op::constant"][::std::mem::offset_of!(_znode_op, constant) - 0usize];
["Offset of field: _znode_op::var"][::std::mem::offset_of!(_znode_op, var) - 0usize];
["Offset of field: _znode_op::num"][::std::mem::offset_of!(_znode_op, num) - 0usize];
["Offset of field: _znode_op::opline_num"]
[::std::mem::offset_of!(_znode_op, opline_num) - 0usize];
["Offset of field: _znode_op::jmp_offset"]
[::std::mem::offset_of!(_znode_op, jmp_offset) - 0usize];
};
pub type znode_op = _znode_op;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _znode {
pub op_type: u8,
pub flag: u8,
pub u: _znode__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _znode__bindgen_ty_1 {
pub op: znode_op,
pub constant: zval,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _znode__bindgen_ty_1"][::std::mem::size_of::<_znode__bindgen_ty_1>() - 16usize];
["Alignment of _znode__bindgen_ty_1"][::std::mem::align_of::<_znode__bindgen_ty_1>() - 8usize];
["Offset of field: _znode__bindgen_ty_1::op"]
[::std::mem::offset_of!(_znode__bindgen_ty_1, op) - 0usize];
["Offset of field: _znode__bindgen_ty_1::constant"]
[::std::mem::offset_of!(_znode__bindgen_ty_1, constant) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _znode"][::std::mem::size_of::<_znode>() - 24usize];
["Alignment of _znode"][::std::mem::align_of::<_znode>() - 8usize];
["Offset of field: _znode::op_type"][::std::mem::offset_of!(_znode, op_type) - 0usize];
["Offset of field: _znode::flag"][::std::mem::offset_of!(_znode, flag) - 1usize];
["Offset of field: _znode::u"][::std::mem::offset_of!(_znode, u) - 8usize];
};
pub type znode = _znode;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_ast_znode {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub lineno: u32,
pub node: znode,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ast_znode"][::std::mem::size_of::<_zend_ast_znode>() - 32usize];
["Alignment of _zend_ast_znode"][::std::mem::align_of::<_zend_ast_znode>() - 8usize];
["Offset of field: _zend_ast_znode::kind"]
[::std::mem::offset_of!(_zend_ast_znode, kind) - 0usize];
["Offset of field: _zend_ast_znode::attr"]
[::std::mem::offset_of!(_zend_ast_znode, attr) - 2usize];
["Offset of field: _zend_ast_znode::lineno"]
[::std::mem::offset_of!(_zend_ast_znode, lineno) - 4usize];
["Offset of field: _zend_ast_znode::node"]
[::std::mem::offset_of!(_zend_ast_znode, node) - 8usize];
};
pub type zend_ast_znode = _zend_ast_znode;
extern "C" {
pub fn zend_ast_create_znode(node: *const znode) -> *mut zend_ast;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_declarables {
pub ticks: zend_long,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_declarables"][::std::mem::size_of::<_zend_declarables>() - 8usize];
["Alignment of _zend_declarables"][::std::mem::align_of::<_zend_declarables>() - 8usize];
["Offset of field: _zend_declarables::ticks"]
[::std::mem::offset_of!(_zend_declarables, ticks) - 0usize];
};
pub type zend_declarables = _zend_declarables;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_file_context {
pub declarables: zend_declarables,
pub current_namespace: *mut zend_string,
pub in_namespace: bool,
pub has_bracketed_namespaces: bool,
pub imports: *mut HashTable,
pub imports_function: *mut HashTable,
pub imports_const: *mut HashTable,
pub seen_symbols: HashTable,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_file_context"][::std::mem::size_of::<_zend_file_context>() - 104usize];
["Alignment of _zend_file_context"][::std::mem::align_of::<_zend_file_context>() - 8usize];
["Offset of field: _zend_file_context::declarables"]
[::std::mem::offset_of!(_zend_file_context, declarables) - 0usize];
["Offset of field: _zend_file_context::current_namespace"]
[::std::mem::offset_of!(_zend_file_context, current_namespace) - 8usize];
["Offset of field: _zend_file_context::in_namespace"]
[::std::mem::offset_of!(_zend_file_context, in_namespace) - 16usize];
["Offset of field: _zend_file_context::has_bracketed_namespaces"]
[::std::mem::offset_of!(_zend_file_context, has_bracketed_namespaces) - 17usize];
["Offset of field: _zend_file_context::imports"]
[::std::mem::offset_of!(_zend_file_context, imports) - 24usize];
["Offset of field: _zend_file_context::imports_function"]
[::std::mem::offset_of!(_zend_file_context, imports_function) - 32usize];
["Offset of field: _zend_file_context::imports_const"]
[::std::mem::offset_of!(_zend_file_context, imports_const) - 40usize];
["Offset of field: _zend_file_context::seen_symbols"]
[::std::mem::offset_of!(_zend_file_context, seen_symbols) - 48usize];
};
pub type zend_file_context = _zend_file_context;
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_parser_stack_elem {
pub ast: *mut zend_ast,
pub str_: *mut zend_string,
pub num: zend_ulong,
pub ptr: *mut ::std::os::raw::c_uchar,
pub ident: *mut ::std::os::raw::c_uchar,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_parser_stack_elem"][::std::mem::size_of::<_zend_parser_stack_elem>() - 8usize];
["Alignment of _zend_parser_stack_elem"]
[::std::mem::align_of::<_zend_parser_stack_elem>() - 8usize];
["Offset of field: _zend_parser_stack_elem::ast"]
[::std::mem::offset_of!(_zend_parser_stack_elem, ast) - 0usize];
["Offset of field: _zend_parser_stack_elem::str_"]
[::std::mem::offset_of!(_zend_parser_stack_elem, str_) - 0usize];
["Offset of field: _zend_parser_stack_elem::num"]
[::std::mem::offset_of!(_zend_parser_stack_elem, num) - 0usize];
["Offset of field: _zend_parser_stack_elem::ptr"]
[::std::mem::offset_of!(_zend_parser_stack_elem, ptr) - 0usize];
["Offset of field: _zend_parser_stack_elem::ident"]
[::std::mem::offset_of!(_zend_parser_stack_elem, ident) - 0usize];
};
pub type zend_parser_stack_elem = _zend_parser_stack_elem;
extern "C" {
pub fn zend_compile_top_stmt(ast: *mut zend_ast);
}
extern "C" {
pub fn zend_const_expr_to_zval(
result: *mut zval,
ast_ptr: *mut *mut zend_ast,
allow_dynamic: bool,
);
}
pub type user_opcode_handler_t = ::std::option::Option<
unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
>;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_op {
pub handler: zend_vm_opcode_handler_t,
pub op1: znode_op,
pub op2: znode_op,
pub result: znode_op,
pub extended_value: u32,
pub lineno: u32,
pub opcode: u8,
pub op1_type: u8,
pub op2_type: u8,
pub result_type: u8,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_op"][::std::mem::size_of::<_zend_op>() - 32usize];
["Alignment of _zend_op"][::std::mem::align_of::<_zend_op>() - 8usize];
["Offset of field: _zend_op::handler"][::std::mem::offset_of!(_zend_op, handler) - 0usize];
["Offset of field: _zend_op::op1"][::std::mem::offset_of!(_zend_op, op1) - 8usize];
["Offset of field: _zend_op::op2"][::std::mem::offset_of!(_zend_op, op2) - 12usize];
["Offset of field: _zend_op::result"][::std::mem::offset_of!(_zend_op, result) - 16usize];
["Offset of field: _zend_op::extended_value"]
[::std::mem::offset_of!(_zend_op, extended_value) - 20usize];
["Offset of field: _zend_op::lineno"][::std::mem::offset_of!(_zend_op, lineno) - 24usize];
["Offset of field: _zend_op::opcode"][::std::mem::offset_of!(_zend_op, opcode) - 28usize];
["Offset of field: _zend_op::op1_type"][::std::mem::offset_of!(_zend_op, op1_type) - 29usize];
["Offset of field: _zend_op::op2_type"][::std::mem::offset_of!(_zend_op, op2_type) - 30usize];
["Offset of field: _zend_op::result_type"]
[::std::mem::offset_of!(_zend_op, result_type) - 31usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_brk_cont_element {
pub start: ::std::os::raw::c_int,
pub cont: ::std::os::raw::c_int,
pub brk: ::std::os::raw::c_int,
pub parent: ::std::os::raw::c_int,
pub is_switch: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_brk_cont_element"][::std::mem::size_of::<_zend_brk_cont_element>() - 20usize];
["Alignment of _zend_brk_cont_element"]
[::std::mem::align_of::<_zend_brk_cont_element>() - 4usize];
["Offset of field: _zend_brk_cont_element::start"]
[::std::mem::offset_of!(_zend_brk_cont_element, start) - 0usize];
["Offset of field: _zend_brk_cont_element::cont"]
[::std::mem::offset_of!(_zend_brk_cont_element, cont) - 4usize];
["Offset of field: _zend_brk_cont_element::brk"]
[::std::mem::offset_of!(_zend_brk_cont_element, brk) - 8usize];
["Offset of field: _zend_brk_cont_element::parent"]
[::std::mem::offset_of!(_zend_brk_cont_element, parent) - 12usize];
["Offset of field: _zend_brk_cont_element::is_switch"]
[::std::mem::offset_of!(_zend_brk_cont_element, is_switch) - 16usize];
};
pub type zend_brk_cont_element = _zend_brk_cont_element;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_label {
pub brk_cont: ::std::os::raw::c_int,
pub opline_num: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_label"][::std::mem::size_of::<_zend_label>() - 8usize];
["Alignment of _zend_label"][::std::mem::align_of::<_zend_label>() - 4usize];
["Offset of field: _zend_label::brk_cont"]
[::std::mem::offset_of!(_zend_label, brk_cont) - 0usize];
["Offset of field: _zend_label::opline_num"]
[::std::mem::offset_of!(_zend_label, opline_num) - 4usize];
};
pub type zend_label = _zend_label;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_try_catch_element {
pub try_op: u32,
pub catch_op: u32,
pub finally_op: u32,
pub finally_end: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_try_catch_element"][::std::mem::size_of::<_zend_try_catch_element>() - 16usize];
["Alignment of _zend_try_catch_element"]
[::std::mem::align_of::<_zend_try_catch_element>() - 4usize];
["Offset of field: _zend_try_catch_element::try_op"]
[::std::mem::offset_of!(_zend_try_catch_element, try_op) - 0usize];
["Offset of field: _zend_try_catch_element::catch_op"]
[::std::mem::offset_of!(_zend_try_catch_element, catch_op) - 4usize];
["Offset of field: _zend_try_catch_element::finally_op"]
[::std::mem::offset_of!(_zend_try_catch_element, finally_op) - 8usize];
["Offset of field: _zend_try_catch_element::finally_end"]
[::std::mem::offset_of!(_zend_try_catch_element, finally_end) - 12usize];
};
pub type zend_try_catch_element = _zend_try_catch_element;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_live_range {
pub var: u32,
pub start: u32,
pub end: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_live_range"][::std::mem::size_of::<_zend_live_range>() - 12usize];
["Alignment of _zend_live_range"][::std::mem::align_of::<_zend_live_range>() - 4usize];
["Offset of field: _zend_live_range::var"]
[::std::mem::offset_of!(_zend_live_range, var) - 0usize];
["Offset of field: _zend_live_range::start"]
[::std::mem::offset_of!(_zend_live_range, start) - 4usize];
["Offset of field: _zend_live_range::end"]
[::std::mem::offset_of!(_zend_live_range, end) - 8usize];
};
pub type zend_live_range = _zend_live_range;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_oparray_context {
pub prev: *mut _zend_oparray_context,
pub op_array: *mut zend_op_array,
pub opcodes_size: u32,
pub vars_size: ::std::os::raw::c_int,
pub literals_size: ::std::os::raw::c_int,
pub fast_call_var: u32,
pub try_catch_offset: u32,
pub current_brk_cont: ::std::os::raw::c_int,
pub last_brk_cont: ::std::os::raw::c_int,
pub brk_cont_array: *mut zend_brk_cont_element,
pub labels: *mut HashTable,
pub active_property_info_name: *mut zend_string,
pub active_property_hook_kind: zend_property_hook_kind,
pub in_jmp_frameless_branch: bool,
pub has_assigned_to_http_response_header: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_oparray_context"][::std::mem::size_of::<_zend_oparray_context>() - 80usize];
["Alignment of _zend_oparray_context"]
[::std::mem::align_of::<_zend_oparray_context>() - 8usize];
["Offset of field: _zend_oparray_context::prev"]
[::std::mem::offset_of!(_zend_oparray_context, prev) - 0usize];
["Offset of field: _zend_oparray_context::op_array"]
[::std::mem::offset_of!(_zend_oparray_context, op_array) - 8usize];
["Offset of field: _zend_oparray_context::opcodes_size"]
[::std::mem::offset_of!(_zend_oparray_context, opcodes_size) - 16usize];
["Offset of field: _zend_oparray_context::vars_size"]
[::std::mem::offset_of!(_zend_oparray_context, vars_size) - 20usize];
["Offset of field: _zend_oparray_context::literals_size"]
[::std::mem::offset_of!(_zend_oparray_context, literals_size) - 24usize];
["Offset of field: _zend_oparray_context::fast_call_var"]
[::std::mem::offset_of!(_zend_oparray_context, fast_call_var) - 28usize];
["Offset of field: _zend_oparray_context::try_catch_offset"]
[::std::mem::offset_of!(_zend_oparray_context, try_catch_offset) - 32usize];
["Offset of field: _zend_oparray_context::current_brk_cont"]
[::std::mem::offset_of!(_zend_oparray_context, current_brk_cont) - 36usize];
["Offset of field: _zend_oparray_context::last_brk_cont"]
[::std::mem::offset_of!(_zend_oparray_context, last_brk_cont) - 40usize];
["Offset of field: _zend_oparray_context::brk_cont_array"]
[::std::mem::offset_of!(_zend_oparray_context, brk_cont_array) - 48usize];
["Offset of field: _zend_oparray_context::labels"]
[::std::mem::offset_of!(_zend_oparray_context, labels) - 56usize];
["Offset of field: _zend_oparray_context::active_property_info_name"]
[::std::mem::offset_of!(_zend_oparray_context, active_property_info_name) - 64usize];
["Offset of field: _zend_oparray_context::active_property_hook_kind"]
[::std::mem::offset_of!(_zend_oparray_context, active_property_hook_kind) - 72usize];
["Offset of field: _zend_oparray_context::in_jmp_frameless_branch"]
[::std::mem::offset_of!(_zend_oparray_context, in_jmp_frameless_branch) - 76usize];
["Offset of field: _zend_oparray_context::has_assigned_to_http_response_header"][::std::mem::offset_of!(
_zend_oparray_context,
has_assigned_to_http_response_header
) - 77usize];
};
pub type zend_oparray_context = _zend_oparray_context;
extern "C" {
pub fn zend_visibility_string(fn_flags: u32) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_get_property_hook_kind_from_name(name: *mut zend_string)
-> zend_property_hook_kind;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_property_info {
pub offset: u32,
pub flags: u32,
pub name: *mut zend_string,
pub doc_comment: *mut zend_string,
pub attributes: *mut HashTable,
pub ce: *mut zend_class_entry,
pub type_: zend_type,
pub prototype: *const zend_property_info,
pub hooks: *mut *mut zend_function,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_property_info"][::std::mem::size_of::<_zend_property_info>() - 72usize];
["Alignment of _zend_property_info"][::std::mem::align_of::<_zend_property_info>() - 8usize];
["Offset of field: _zend_property_info::offset"]
[::std::mem::offset_of!(_zend_property_info, offset) - 0usize];
["Offset of field: _zend_property_info::flags"]
[::std::mem::offset_of!(_zend_property_info, flags) - 4usize];
["Offset of field: _zend_property_info::name"]
[::std::mem::offset_of!(_zend_property_info, name) - 8usize];
["Offset of field: _zend_property_info::doc_comment"]
[::std::mem::offset_of!(_zend_property_info, doc_comment) - 16usize];
["Offset of field: _zend_property_info::attributes"]
[::std::mem::offset_of!(_zend_property_info, attributes) - 24usize];
["Offset of field: _zend_property_info::ce"]
[::std::mem::offset_of!(_zend_property_info, ce) - 32usize];
["Offset of field: _zend_property_info::type_"]
[::std::mem::offset_of!(_zend_property_info, type_) - 40usize];
["Offset of field: _zend_property_info::prototype"]
[::std::mem::offset_of!(_zend_property_info, prototype) - 56usize];
["Offset of field: _zend_property_info::hooks"]
[::std::mem::offset_of!(_zend_property_info, hooks) - 64usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_class_constant {
pub value: zval,
pub doc_comment: *mut zend_string,
pub attributes: *mut HashTable,
pub ce: *mut zend_class_entry,
pub type_: zend_type,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_class_constant"][::std::mem::size_of::<_zend_class_constant>() - 56usize];
["Alignment of _zend_class_constant"][::std::mem::align_of::<_zend_class_constant>() - 8usize];
["Offset of field: _zend_class_constant::value"]
[::std::mem::offset_of!(_zend_class_constant, value) - 0usize];
["Offset of field: _zend_class_constant::doc_comment"]
[::std::mem::offset_of!(_zend_class_constant, doc_comment) - 16usize];
["Offset of field: _zend_class_constant::attributes"]
[::std::mem::offset_of!(_zend_class_constant, attributes) - 24usize];
["Offset of field: _zend_class_constant::ce"]
[::std::mem::offset_of!(_zend_class_constant, ce) - 32usize];
["Offset of field: _zend_class_constant::type_"]
[::std::mem::offset_of!(_zend_class_constant, type_) - 40usize];
};
pub type zend_class_constant = _zend_class_constant;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_internal_arg_info {
pub name: *const ::std::os::raw::c_char,
pub type_: zend_type,
pub default_value: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_internal_arg_info"][::std::mem::size_of::<_zend_internal_arg_info>() - 32usize];
["Alignment of _zend_internal_arg_info"]
[::std::mem::align_of::<_zend_internal_arg_info>() - 8usize];
["Offset of field: _zend_internal_arg_info::name"]
[::std::mem::offset_of!(_zend_internal_arg_info, name) - 0usize];
["Offset of field: _zend_internal_arg_info::type_"]
[::std::mem::offset_of!(_zend_internal_arg_info, type_) - 8usize];
["Offset of field: _zend_internal_arg_info::default_value"]
[::std::mem::offset_of!(_zend_internal_arg_info, default_value) - 24usize];
};
pub type zend_internal_arg_info = _zend_internal_arg_info;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_arg_info {
pub name: *mut zend_string,
pub type_: zend_type,
pub default_value: *mut zend_string,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_arg_info"][::std::mem::size_of::<_zend_arg_info>() - 32usize];
["Alignment of _zend_arg_info"][::std::mem::align_of::<_zend_arg_info>() - 8usize];
["Offset of field: _zend_arg_info::name"]
[::std::mem::offset_of!(_zend_arg_info, name) - 0usize];
["Offset of field: _zend_arg_info::type_"]
[::std::mem::offset_of!(_zend_arg_info, type_) - 8usize];
["Offset of field: _zend_arg_info::default_value"]
[::std::mem::offset_of!(_zend_arg_info, default_value) - 24usize];
};
pub type zend_arg_info = _zend_arg_info;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_internal_function_info {
pub required_num_args: usize,
pub type_: zend_type,
pub default_value: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_internal_function_info"]
[::std::mem::size_of::<_zend_internal_function_info>() - 32usize];
["Alignment of _zend_internal_function_info"]
[::std::mem::align_of::<_zend_internal_function_info>() - 8usize];
["Offset of field: _zend_internal_function_info::required_num_args"]
[::std::mem::offset_of!(_zend_internal_function_info, required_num_args) - 0usize];
["Offset of field: _zend_internal_function_info::type_"]
[::std::mem::offset_of!(_zend_internal_function_info, type_) - 8usize];
["Offset of field: _zend_internal_function_info::default_value"]
[::std::mem::offset_of!(_zend_internal_function_info, default_value) - 24usize];
};
pub type zend_internal_function_info = _zend_internal_function_info;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_op_array {
pub type_: u8,
pub arg_flags: [u8; 3usize],
pub fn_flags: u32,
pub function_name: *mut zend_string,
pub scope: *mut zend_class_entry,
pub prototype: *mut zend_function,
pub num_args: u32,
pub required_num_args: u32,
pub arg_info: *mut zend_arg_info,
pub attributes: *mut HashTable,
pub run_time_cache__ptr: *mut *mut ::std::os::raw::c_void,
pub doc_comment: *mut zend_string,
pub T: u32,
pub prop_info: *const zend_property_info,
pub cache_size: ::std::os::raw::c_int,
pub last_var: ::std::os::raw::c_int,
pub last: u32,
pub opcodes: *mut zend_op,
pub static_variables_ptr__ptr: *mut HashTable,
pub static_variables: *mut HashTable,
pub vars: *mut *mut zend_string,
pub refcount: *mut u32,
pub last_live_range: ::std::os::raw::c_int,
pub last_try_catch: ::std::os::raw::c_int,
pub live_range: *mut zend_live_range,
pub try_catch_array: *mut zend_try_catch_element,
pub filename: *mut zend_string,
pub line_start: u32,
pub line_end: u32,
pub last_literal: ::std::os::raw::c_int,
pub num_dynamic_func_defs: u32,
pub literals: *mut zval,
pub dynamic_func_defs: *mut *mut zend_op_array,
pub reserved: [*mut ::std::os::raw::c_void; 6usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_op_array"][::std::mem::size_of::<_zend_op_array>() - 256usize];
["Alignment of _zend_op_array"][::std::mem::align_of::<_zend_op_array>() - 8usize];
["Offset of field: _zend_op_array::type_"]
[::std::mem::offset_of!(_zend_op_array, type_) - 0usize];
["Offset of field: _zend_op_array::arg_flags"]
[::std::mem::offset_of!(_zend_op_array, arg_flags) - 1usize];
["Offset of field: _zend_op_array::fn_flags"]
[::std::mem::offset_of!(_zend_op_array, fn_flags) - 4usize];
["Offset of field: _zend_op_array::function_name"]
[::std::mem::offset_of!(_zend_op_array, function_name) - 8usize];
["Offset of field: _zend_op_array::scope"]
[::std::mem::offset_of!(_zend_op_array, scope) - 16usize];
["Offset of field: _zend_op_array::prototype"]
[::std::mem::offset_of!(_zend_op_array, prototype) - 24usize];
["Offset of field: _zend_op_array::num_args"]
[::std::mem::offset_of!(_zend_op_array, num_args) - 32usize];
["Offset of field: _zend_op_array::required_num_args"]
[::std::mem::offset_of!(_zend_op_array, required_num_args) - 36usize];
["Offset of field: _zend_op_array::arg_info"]
[::std::mem::offset_of!(_zend_op_array, arg_info) - 40usize];
["Offset of field: _zend_op_array::attributes"]
[::std::mem::offset_of!(_zend_op_array, attributes) - 48usize];
["Offset of field: _zend_op_array::run_time_cache__ptr"]
[::std::mem::offset_of!(_zend_op_array, run_time_cache__ptr) - 56usize];
["Offset of field: _zend_op_array::doc_comment"]
[::std::mem::offset_of!(_zend_op_array, doc_comment) - 64usize];
["Offset of field: _zend_op_array::T"][::std::mem::offset_of!(_zend_op_array, T) - 72usize];
["Offset of field: _zend_op_array::prop_info"]
[::std::mem::offset_of!(_zend_op_array, prop_info) - 80usize];
["Offset of field: _zend_op_array::cache_size"]
[::std::mem::offset_of!(_zend_op_array, cache_size) - 88usize];
["Offset of field: _zend_op_array::last_var"]
[::std::mem::offset_of!(_zend_op_array, last_var) - 92usize];
["Offset of field: _zend_op_array::last"]
[::std::mem::offset_of!(_zend_op_array, last) - 96usize];
["Offset of field: _zend_op_array::opcodes"]
[::std::mem::offset_of!(_zend_op_array, opcodes) - 104usize];
["Offset of field: _zend_op_array::static_variables_ptr__ptr"]
[::std::mem::offset_of!(_zend_op_array, static_variables_ptr__ptr) - 112usize];
["Offset of field: _zend_op_array::static_variables"]
[::std::mem::offset_of!(_zend_op_array, static_variables) - 120usize];
["Offset of field: _zend_op_array::vars"]
[::std::mem::offset_of!(_zend_op_array, vars) - 128usize];
["Offset of field: _zend_op_array::refcount"]
[::std::mem::offset_of!(_zend_op_array, refcount) - 136usize];
["Offset of field: _zend_op_array::last_live_range"]
[::std::mem::offset_of!(_zend_op_array, last_live_range) - 144usize];
["Offset of field: _zend_op_array::last_try_catch"]
[::std::mem::offset_of!(_zend_op_array, last_try_catch) - 148usize];
["Offset of field: _zend_op_array::live_range"]
[::std::mem::offset_of!(_zend_op_array, live_range) - 152usize];
["Offset of field: _zend_op_array::try_catch_array"]
[::std::mem::offset_of!(_zend_op_array, try_catch_array) - 160usize];
["Offset of field: _zend_op_array::filename"]
[::std::mem::offset_of!(_zend_op_array, filename) - 168usize];
["Offset of field: _zend_op_array::line_start"]
[::std::mem::offset_of!(_zend_op_array, line_start) - 176usize];
["Offset of field: _zend_op_array::line_end"]
[::std::mem::offset_of!(_zend_op_array, line_end) - 180usize];
["Offset of field: _zend_op_array::last_literal"]
[::std::mem::offset_of!(_zend_op_array, last_literal) - 184usize];
["Offset of field: _zend_op_array::num_dynamic_func_defs"]
[::std::mem::offset_of!(_zend_op_array, num_dynamic_func_defs) - 188usize];
["Offset of field: _zend_op_array::literals"]
[::std::mem::offset_of!(_zend_op_array, literals) - 192usize];
["Offset of field: _zend_op_array::dynamic_func_defs"]
[::std::mem::offset_of!(_zend_op_array, dynamic_func_defs) - 200usize];
["Offset of field: _zend_op_array::reserved"]
[::std::mem::offset_of!(_zend_op_array, reserved) - 208usize];
};
pub type zif_handler = ::std::option::Option<
unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_internal_function {
pub type_: u8,
pub arg_flags: [u8; 3usize],
pub fn_flags: u32,
pub function_name: *mut zend_string,
pub scope: *mut zend_class_entry,
pub prototype: *mut zend_function,
pub num_args: u32,
pub required_num_args: u32,
pub arg_info: *mut zend_internal_arg_info,
pub attributes: *mut HashTable,
pub run_time_cache__ptr: *mut *mut ::std::os::raw::c_void,
pub doc_comment: *mut zend_string,
pub T: u32,
pub prop_info: *const zend_property_info,
pub handler: zif_handler,
pub module: *mut _zend_module_entry,
pub frameless_function_infos: *const zend_frameless_function_info,
pub reserved: [*mut ::std::os::raw::c_void; 6usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_internal_function"]
[::std::mem::size_of::<_zend_internal_function>() - 160usize];
["Alignment of _zend_internal_function"]
[::std::mem::align_of::<_zend_internal_function>() - 8usize];
["Offset of field: _zend_internal_function::type_"]
[::std::mem::offset_of!(_zend_internal_function, type_) - 0usize];
["Offset of field: _zend_internal_function::arg_flags"]
[::std::mem::offset_of!(_zend_internal_function, arg_flags) - 1usize];
["Offset of field: _zend_internal_function::fn_flags"]
[::std::mem::offset_of!(_zend_internal_function, fn_flags) - 4usize];
["Offset of field: _zend_internal_function::function_name"]
[::std::mem::offset_of!(_zend_internal_function, function_name) - 8usize];
["Offset of field: _zend_internal_function::scope"]
[::std::mem::offset_of!(_zend_internal_function, scope) - 16usize];
["Offset of field: _zend_internal_function::prototype"]
[::std::mem::offset_of!(_zend_internal_function, prototype) - 24usize];
["Offset of field: _zend_internal_function::num_args"]
[::std::mem::offset_of!(_zend_internal_function, num_args) - 32usize];
["Offset of field: _zend_internal_function::required_num_args"]
[::std::mem::offset_of!(_zend_internal_function, required_num_args) - 36usize];
["Offset of field: _zend_internal_function::arg_info"]
[::std::mem::offset_of!(_zend_internal_function, arg_info) - 40usize];
["Offset of field: _zend_internal_function::attributes"]
[::std::mem::offset_of!(_zend_internal_function, attributes) - 48usize];
["Offset of field: _zend_internal_function::run_time_cache__ptr"]
[::std::mem::offset_of!(_zend_internal_function, run_time_cache__ptr) - 56usize];
["Offset of field: _zend_internal_function::doc_comment"]
[::std::mem::offset_of!(_zend_internal_function, doc_comment) - 64usize];
["Offset of field: _zend_internal_function::T"]
[::std::mem::offset_of!(_zend_internal_function, T) - 72usize];
["Offset of field: _zend_internal_function::prop_info"]
[::std::mem::offset_of!(_zend_internal_function, prop_info) - 80usize];
["Offset of field: _zend_internal_function::handler"]
[::std::mem::offset_of!(_zend_internal_function, handler) - 88usize];
["Offset of field: _zend_internal_function::module"]
[::std::mem::offset_of!(_zend_internal_function, module) - 96usize];
["Offset of field: _zend_internal_function::frameless_function_infos"]
[::std::mem::offset_of!(_zend_internal_function, frameless_function_infos) - 104usize];
["Offset of field: _zend_internal_function::reserved"]
[::std::mem::offset_of!(_zend_internal_function, reserved) - 112usize];
};
pub type zend_internal_function = _zend_internal_function;
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_function {
pub type_: u8,
pub quick_arg_flags: u32,
pub common: _zend_function__bindgen_ty_1,
pub op_array: zend_op_array,
pub internal_function: zend_internal_function,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_function__bindgen_ty_1 {
pub type_: u8,
pub arg_flags: [u8; 3usize],
pub fn_flags: u32,
pub function_name: *mut zend_string,
pub scope: *mut zend_class_entry,
pub prototype: *mut zend_function,
pub num_args: u32,
pub required_num_args: u32,
pub arg_info: *mut zend_arg_info,
pub attributes: *mut HashTable,
pub run_time_cache__ptr: *mut *mut ::std::os::raw::c_void,
pub doc_comment: *mut zend_string,
pub T: u32,
pub prop_info: *const zend_property_info,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_function__bindgen_ty_1"]
[::std::mem::size_of::<_zend_function__bindgen_ty_1>() - 88usize];
["Alignment of _zend_function__bindgen_ty_1"]
[::std::mem::align_of::<_zend_function__bindgen_ty_1>() - 8usize];
["Offset of field: _zend_function__bindgen_ty_1::type_"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, type_) - 0usize];
["Offset of field: _zend_function__bindgen_ty_1::arg_flags"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_flags) - 1usize];
["Offset of field: _zend_function__bindgen_ty_1::fn_flags"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, fn_flags) - 4usize];
["Offset of field: _zend_function__bindgen_ty_1::function_name"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, function_name) - 8usize];
["Offset of field: _zend_function__bindgen_ty_1::scope"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, scope) - 16usize];
["Offset of field: _zend_function__bindgen_ty_1::prototype"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, prototype) - 24usize];
["Offset of field: _zend_function__bindgen_ty_1::num_args"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, num_args) - 32usize];
["Offset of field: _zend_function__bindgen_ty_1::required_num_args"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, required_num_args) - 36usize];
["Offset of field: _zend_function__bindgen_ty_1::arg_info"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_info) - 40usize];
["Offset of field: _zend_function__bindgen_ty_1::attributes"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, attributes) - 48usize];
["Offset of field: _zend_function__bindgen_ty_1::run_time_cache__ptr"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, run_time_cache__ptr) - 56usize];
["Offset of field: _zend_function__bindgen_ty_1::doc_comment"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, doc_comment) - 64usize];
["Offset of field: _zend_function__bindgen_ty_1::T"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, T) - 72usize];
["Offset of field: _zend_function__bindgen_ty_1::prop_info"]
[::std::mem::offset_of!(_zend_function__bindgen_ty_1, prop_info) - 80usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_function"][::std::mem::size_of::<_zend_function>() - 256usize];
["Alignment of _zend_function"][::std::mem::align_of::<_zend_function>() - 8usize];
["Offset of field: _zend_function::type_"]
[::std::mem::offset_of!(_zend_function, type_) - 0usize];
["Offset of field: _zend_function::quick_arg_flags"]
[::std::mem::offset_of!(_zend_function, quick_arg_flags) - 0usize];
["Offset of field: _zend_function::common"]
[::std::mem::offset_of!(_zend_function, common) - 0usize];
["Offset of field: _zend_function::op_array"]
[::std::mem::offset_of!(_zend_function, op_array) - 0usize];
["Offset of field: _zend_function::internal_function"]
[::std::mem::offset_of!(_zend_function, internal_function) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_execute_data {
pub opline: *const zend_op,
pub call: *mut zend_execute_data,
pub return_value: *mut zval,
pub func: *mut zend_function,
pub This: zval,
pub prev_execute_data: *mut zend_execute_data,
pub symbol_table: *mut zend_array,
pub run_time_cache: *mut *mut ::std::os::raw::c_void,
pub extra_named_params: *mut zend_array,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_execute_data"][::std::mem::size_of::<_zend_execute_data>() - 80usize];
["Alignment of _zend_execute_data"][::std::mem::align_of::<_zend_execute_data>() - 8usize];
["Offset of field: _zend_execute_data::opline"]
[::std::mem::offset_of!(_zend_execute_data, opline) - 0usize];
["Offset of field: _zend_execute_data::call"]
[::std::mem::offset_of!(_zend_execute_data, call) - 8usize];
["Offset of field: _zend_execute_data::return_value"]
[::std::mem::offset_of!(_zend_execute_data, return_value) - 16usize];
["Offset of field: _zend_execute_data::func"]
[::std::mem::offset_of!(_zend_execute_data, func) - 24usize];
["Offset of field: _zend_execute_data::This"]
[::std::mem::offset_of!(_zend_execute_data, This) - 32usize];
["Offset of field: _zend_execute_data::prev_execute_data"]
[::std::mem::offset_of!(_zend_execute_data, prev_execute_data) - 48usize];
["Offset of field: _zend_execute_data::symbol_table"]
[::std::mem::offset_of!(_zend_execute_data, symbol_table) - 56usize];
["Offset of field: _zend_execute_data::run_time_cache"]
[::std::mem::offset_of!(_zend_execute_data, run_time_cache) - 64usize];
["Offset of field: _zend_execute_data::extra_named_params"]
[::std::mem::offset_of!(_zend_execute_data, extra_named_params) - 72usize];
};
pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __jmp_buf_tag {
pub __jmpbuf: __jmp_buf,
pub __mask_was_saved: ::std::os::raw::c_int,
pub __saved_mask: __sigset_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of __jmp_buf_tag"][::std::mem::size_of::<__jmp_buf_tag>() - 200usize];
["Alignment of __jmp_buf_tag"][::std::mem::align_of::<__jmp_buf_tag>() - 8usize];
["Offset of field: __jmp_buf_tag::__jmpbuf"]
[::std::mem::offset_of!(__jmp_buf_tag, __jmpbuf) - 0usize];
["Offset of field: __jmp_buf_tag::__mask_was_saved"]
[::std::mem::offset_of!(__jmp_buf_tag, __mask_was_saved) - 64usize];
["Offset of field: __jmp_buf_tag::__saved_mask"]
[::std::mem::offset_of!(__jmp_buf_tag, __saved_mask) - 72usize];
};
pub type sigjmp_buf = [__jmp_buf_tag; 1usize];
pub type zend_compiler_globals = _zend_compiler_globals;
pub type zend_executor_globals = _zend_executor_globals;
pub type zend_php_scanner_globals = _zend_php_scanner_globals;
pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_compiler_globals {
pub loop_var_stack: zend_stack,
pub active_class_entry: *mut zend_class_entry,
pub compiled_filename: *mut zend_string,
pub zend_lineno: ::std::os::raw::c_int,
pub active_op_array: *mut zend_op_array,
pub function_table: *mut HashTable,
pub class_table: *mut HashTable,
pub auto_globals: *mut HashTable,
pub parse_error: u8,
pub in_compilation: bool,
pub short_tags: bool,
pub unclean_shutdown: bool,
pub ini_parser_unbuffered_errors: bool,
pub open_files: zend_llist,
pub ini_parser_param: *mut _zend_ini_parser_param,
pub skip_shebang: bool,
pub increment_lineno: bool,
pub variable_width_locale: bool,
pub ascii_compatible_locale: bool,
pub doc_comment: *mut zend_string,
pub extra_fn_flags: u32,
pub compiler_options: u32,
pub context: zend_oparray_context,
pub file_context: zend_file_context,
pub arena: *mut zend_arena,
pub interned_strings: HashTable,
pub script_encoding_list: *mut *const zend_encoding,
pub script_encoding_list_size: usize,
pub multibyte: bool,
pub detect_unicode: bool,
pub encoding_declared: bool,
pub ast: *mut zend_ast,
pub ast_arena: *mut zend_arena,
pub delayed_oplines_stack: zend_stack,
pub memoized_exprs: *mut HashTable,
pub memoize_mode: zend_memoize_mode,
pub map_ptr_real_base: *mut ::std::os::raw::c_void,
pub map_ptr_base: *mut ::std::os::raw::c_void,
pub map_ptr_size: usize,
pub map_ptr_last: usize,
pub delayed_variance_obligations: *mut HashTable,
pub delayed_autoloads: *mut HashTable,
pub unlinked_uses: *mut HashTable,
pub current_linking_class: *mut zend_class_entry,
pub rtd_key_counter: u32,
pub internal_run_time_cache: *mut ::std::os::raw::c_void,
pub internal_run_time_cache_size: u32,
pub short_circuiting_opnums: zend_stack,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_compiler_globals"][::std::mem::size_of::<_zend_compiler_globals>() - 616usize];
["Alignment of _zend_compiler_globals"]
[::std::mem::align_of::<_zend_compiler_globals>() - 8usize];
["Offset of field: _zend_compiler_globals::loop_var_stack"]
[::std::mem::offset_of!(_zend_compiler_globals, loop_var_stack) - 0usize];
["Offset of field: _zend_compiler_globals::active_class_entry"]
[::std::mem::offset_of!(_zend_compiler_globals, active_class_entry) - 24usize];
["Offset of field: _zend_compiler_globals::compiled_filename"]
[::std::mem::offset_of!(_zend_compiler_globals, compiled_filename) - 32usize];
["Offset of field: _zend_compiler_globals::zend_lineno"]
[::std::mem::offset_of!(_zend_compiler_globals, zend_lineno) - 40usize];
["Offset of field: _zend_compiler_globals::active_op_array"]
[::std::mem::offset_of!(_zend_compiler_globals, active_op_array) - 48usize];
["Offset of field: _zend_compiler_globals::function_table"]
[::std::mem::offset_of!(_zend_compiler_globals, function_table) - 56usize];
["Offset of field: _zend_compiler_globals::class_table"]
[::std::mem::offset_of!(_zend_compiler_globals, class_table) - 64usize];
["Offset of field: _zend_compiler_globals::auto_globals"]
[::std::mem::offset_of!(_zend_compiler_globals, auto_globals) - 72usize];
["Offset of field: _zend_compiler_globals::parse_error"]
[::std::mem::offset_of!(_zend_compiler_globals, parse_error) - 80usize];
["Offset of field: _zend_compiler_globals::in_compilation"]
[::std::mem::offset_of!(_zend_compiler_globals, in_compilation) - 81usize];
["Offset of field: _zend_compiler_globals::short_tags"]
[::std::mem::offset_of!(_zend_compiler_globals, short_tags) - 82usize];
["Offset of field: _zend_compiler_globals::unclean_shutdown"]
[::std::mem::offset_of!(_zend_compiler_globals, unclean_shutdown) - 83usize];
["Offset of field: _zend_compiler_globals::ini_parser_unbuffered_errors"]
[::std::mem::offset_of!(_zend_compiler_globals, ini_parser_unbuffered_errors) - 84usize];
["Offset of field: _zend_compiler_globals::open_files"]
[::std::mem::offset_of!(_zend_compiler_globals, open_files) - 88usize];
["Offset of field: _zend_compiler_globals::ini_parser_param"]
[::std::mem::offset_of!(_zend_compiler_globals, ini_parser_param) - 144usize];
["Offset of field: _zend_compiler_globals::skip_shebang"]
[::std::mem::offset_of!(_zend_compiler_globals, skip_shebang) - 152usize];
["Offset of field: _zend_compiler_globals::increment_lineno"]
[::std::mem::offset_of!(_zend_compiler_globals, increment_lineno) - 153usize];
["Offset of field: _zend_compiler_globals::variable_width_locale"]
[::std::mem::offset_of!(_zend_compiler_globals, variable_width_locale) - 154usize];
["Offset of field: _zend_compiler_globals::ascii_compatible_locale"]
[::std::mem::offset_of!(_zend_compiler_globals, ascii_compatible_locale) - 155usize];
["Offset of field: _zend_compiler_globals::doc_comment"]
[::std::mem::offset_of!(_zend_compiler_globals, doc_comment) - 160usize];
["Offset of field: _zend_compiler_globals::extra_fn_flags"]
[::std::mem::offset_of!(_zend_compiler_globals, extra_fn_flags) - 168usize];
["Offset of field: _zend_compiler_globals::compiler_options"]
[::std::mem::offset_of!(_zend_compiler_globals, compiler_options) - 172usize];
["Offset of field: _zend_compiler_globals::context"]
[::std::mem::offset_of!(_zend_compiler_globals, context) - 176usize];
["Offset of field: _zend_compiler_globals::file_context"]
[::std::mem::offset_of!(_zend_compiler_globals, file_context) - 256usize];
["Offset of field: _zend_compiler_globals::arena"]
[::std::mem::offset_of!(_zend_compiler_globals, arena) - 360usize];
["Offset of field: _zend_compiler_globals::interned_strings"]
[::std::mem::offset_of!(_zend_compiler_globals, interned_strings) - 368usize];
["Offset of field: _zend_compiler_globals::script_encoding_list"]
[::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list) - 424usize];
["Offset of field: _zend_compiler_globals::script_encoding_list_size"]
[::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list_size) - 432usize];
["Offset of field: _zend_compiler_globals::multibyte"]
[::std::mem::offset_of!(_zend_compiler_globals, multibyte) - 440usize];
["Offset of field: _zend_compiler_globals::detect_unicode"]
[::std::mem::offset_of!(_zend_compiler_globals, detect_unicode) - 441usize];
["Offset of field: _zend_compiler_globals::encoding_declared"]
[::std::mem::offset_of!(_zend_compiler_globals, encoding_declared) - 442usize];
["Offset of field: _zend_compiler_globals::ast"]
[::std::mem::offset_of!(_zend_compiler_globals, ast) - 448usize];
["Offset of field: _zend_compiler_globals::ast_arena"]
[::std::mem::offset_of!(_zend_compiler_globals, ast_arena) - 456usize];
["Offset of field: _zend_compiler_globals::delayed_oplines_stack"]
[::std::mem::offset_of!(_zend_compiler_globals, delayed_oplines_stack) - 464usize];
["Offset of field: _zend_compiler_globals::memoized_exprs"]
[::std::mem::offset_of!(_zend_compiler_globals, memoized_exprs) - 488usize];
["Offset of field: _zend_compiler_globals::memoize_mode"]
[::std::mem::offset_of!(_zend_compiler_globals, memoize_mode) - 496usize];
["Offset of field: _zend_compiler_globals::map_ptr_real_base"]
[::std::mem::offset_of!(_zend_compiler_globals, map_ptr_real_base) - 504usize];
["Offset of field: _zend_compiler_globals::map_ptr_base"]
[::std::mem::offset_of!(_zend_compiler_globals, map_ptr_base) - 512usize];
["Offset of field: _zend_compiler_globals::map_ptr_size"]
[::std::mem::offset_of!(_zend_compiler_globals, map_ptr_size) - 520usize];
["Offset of field: _zend_compiler_globals::map_ptr_last"]
[::std::mem::offset_of!(_zend_compiler_globals, map_ptr_last) - 528usize];
["Offset of field: _zend_compiler_globals::delayed_variance_obligations"]
[::std::mem::offset_of!(_zend_compiler_globals, delayed_variance_obligations) - 536usize];
["Offset of field: _zend_compiler_globals::delayed_autoloads"]
[::std::mem::offset_of!(_zend_compiler_globals, delayed_autoloads) - 544usize];
["Offset of field: _zend_compiler_globals::unlinked_uses"]
[::std::mem::offset_of!(_zend_compiler_globals, unlinked_uses) - 552usize];
["Offset of field: _zend_compiler_globals::current_linking_class"]
[::std::mem::offset_of!(_zend_compiler_globals, current_linking_class) - 560usize];
["Offset of field: _zend_compiler_globals::rtd_key_counter"]
[::std::mem::offset_of!(_zend_compiler_globals, rtd_key_counter) - 568usize];
["Offset of field: _zend_compiler_globals::internal_run_time_cache"]
[::std::mem::offset_of!(_zend_compiler_globals, internal_run_time_cache) - 576usize];
["Offset of field: _zend_compiler_globals::internal_run_time_cache_size"]
[::std::mem::offset_of!(_zend_compiler_globals, internal_run_time_cache_size) - 584usize];
["Offset of field: _zend_compiler_globals::short_circuiting_opnums"]
[::std::mem::offset_of!(_zend_compiler_globals, short_circuiting_opnums) - 592usize];
};
extern "C" {
pub static mut compiler_globals: _zend_compiler_globals;
}
extern "C" {
pub fn zendparse() -> ::std::os::raw::c_int;
}
extern "C" {
pub static mut executor_globals: zend_executor_globals;
}
extern "C" {
pub static mut language_scanner_globals: zend_php_scanner_globals;
}
extern "C" {
pub static mut ini_scanner_globals: zend_ini_scanner_globals;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_atomic_bool_s {
pub value: u8,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_atomic_bool_s"][::std::mem::size_of::<zend_atomic_bool_s>() - 1usize];
["Alignment of zend_atomic_bool_s"][::std::mem::align_of::<zend_atomic_bool_s>() - 1usize];
["Offset of field: zend_atomic_bool_s::value"]
[::std::mem::offset_of!(zend_atomic_bool_s, value) - 0usize];
};
pub type zend_atomic_bool = zend_atomic_bool_s;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_atomic_int_s {
pub value: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_atomic_int_s"][::std::mem::size_of::<zend_atomic_int_s>() - 4usize];
["Alignment of zend_atomic_int_s"][::std::mem::align_of::<zend_atomic_int_s>() - 4usize];
["Offset of field: zend_atomic_int_s::value"]
[::std::mem::offset_of!(zend_atomic_int_s, value) - 0usize];
};
pub type zend_atomic_int = zend_atomic_int_s;
extern "C" {
pub fn zend_atomic_bool_init(obj: *mut zend_atomic_bool, desired: bool);
}
extern "C" {
pub fn zend_atomic_int_init(obj: *mut zend_atomic_int, desired: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_atomic_bool_exchange(obj: *mut zend_atomic_bool, desired: bool) -> bool;
}
extern "C" {
pub fn zend_atomic_int_exchange(
obj: *mut zend_atomic_int,
desired: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_atomic_bool_compare_exchange(
obj: *mut zend_atomic_bool,
expected: *mut bool,
desired: bool,
) -> bool;
}
extern "C" {
pub fn zend_atomic_int_compare_exchange(
obj: *mut zend_atomic_int,
expected: *mut ::std::os::raw::c_int,
desired: ::std::os::raw::c_int,
) -> bool;
}
extern "C" {
pub fn zend_atomic_bool_store(obj: *mut zend_atomic_bool, desired: bool);
}
extern "C" {
pub fn zend_atomic_int_store(obj: *mut zend_atomic_int, desired: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_atomic_bool_load(obj: *const zend_atomic_bool) -> bool;
}
extern "C" {
pub fn zend_atomic_int_load(obj: *const zend_atomic_int) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_stack {
pub size: ::std::os::raw::c_int,
pub top: ::std::os::raw::c_int,
pub max: ::std::os::raw::c_int,
pub elements: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_stack"][::std::mem::size_of::<_zend_stack>() - 24usize];
["Alignment of _zend_stack"][::std::mem::align_of::<_zend_stack>() - 8usize];
["Offset of field: _zend_stack::size"][::std::mem::offset_of!(_zend_stack, size) - 0usize];
["Offset of field: _zend_stack::top"][::std::mem::offset_of!(_zend_stack, top) - 4usize];
["Offset of field: _zend_stack::max"][::std::mem::offset_of!(_zend_stack, max) - 8usize];
["Offset of field: _zend_stack::elements"]
[::std::mem::offset_of!(_zend_stack, elements) - 16usize];
};
pub type zend_stack = _zend_stack;
pub const zend_stack_apply_direction_ZEND_STACK_APPLY_TOPDOWN: zend_stack_apply_direction = 0;
pub const zend_stack_apply_direction_ZEND_STACK_APPLY_BOTTOMUP: zend_stack_apply_direction = 1;
pub type zend_stack_apply_direction = ::std::os::raw::c_uint;
extern "C" {
pub fn zend_stack_init(stack: *mut zend_stack, size: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_stack_push(
stack: *mut zend_stack,
element: *const ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_stack_del_top(stack: *mut zend_stack);
}
extern "C" {
pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stack_is_empty(stack: *const zend_stack) -> bool;
}
extern "C" {
pub fn zend_stack_destroy(stack: *mut zend_stack);
}
extern "C" {
pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stack_apply(
stack: *mut zend_stack,
type_: ::std::os::raw::c_int,
apply_function: ::std::option::Option<
unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
>,
);
}
extern "C" {
pub fn zend_stack_apply_with_argument(
stack: *mut zend_stack,
type_: zend_stack_apply_direction,
apply_function: ::std::option::Option<
unsafe extern "C" fn(
element: *mut ::std::os::raw::c_void,
arg: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>,
arg: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_stack_clean(
stack: *mut zend_stack,
func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
free_elements: bool,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ptr_stack {
pub top: ::std::os::raw::c_int,
pub max: ::std::os::raw::c_int,
pub elements: *mut *mut ::std::os::raw::c_void,
pub top_element: *mut *mut ::std::os::raw::c_void,
pub persistent: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ptr_stack"][::std::mem::size_of::<_zend_ptr_stack>() - 32usize];
["Alignment of _zend_ptr_stack"][::std::mem::align_of::<_zend_ptr_stack>() - 8usize];
["Offset of field: _zend_ptr_stack::top"]
[::std::mem::offset_of!(_zend_ptr_stack, top) - 0usize];
["Offset of field: _zend_ptr_stack::max"]
[::std::mem::offset_of!(_zend_ptr_stack, max) - 4usize];
["Offset of field: _zend_ptr_stack::elements"]
[::std::mem::offset_of!(_zend_ptr_stack, elements) - 8usize];
["Offset of field: _zend_ptr_stack::top_element"]
[::std::mem::offset_of!(_zend_ptr_stack, top_element) - 16usize];
["Offset of field: _zend_ptr_stack::persistent"]
[::std::mem::offset_of!(_zend_ptr_stack, persistent) - 24usize];
};
pub type zend_ptr_stack = _zend_ptr_stack;
extern "C" {
pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
}
extern "C" {
pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: bool);
}
extern "C" {
pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
}
extern "C" {
pub fn zend_ptr_stack_apply(
stack: *mut zend_ptr_stack,
func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
);
}
extern "C" {
pub fn zend_ptr_stack_reverse_apply(
stack: *mut zend_ptr_stack,
func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
);
}
extern "C" {
pub fn zend_ptr_stack_clean(
stack: *mut zend_ptr_stack,
func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
free_elements: bool,
);
}
extern "C" {
pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
}
extern "C" {
pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
}
extern "C" {
pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
}
extern "C" {
pub fn zend_object_std_dtor(object: *mut zend_object);
}
extern "C" {
pub fn zend_objects_destroy_object(object: *mut zend_object);
}
extern "C" {
pub fn zend_objects_clone_obj(object: *mut zend_object) -> *mut zend_object;
}
extern "C" {
pub fn zend_objects_clone_obj_with(
object: *mut zend_object,
scope: *const zend_class_entry,
properties: *const HashTable,
) -> *mut zend_object;
}
extern "C" {
pub fn zend_object_dtor_dynamic_properties(object: *mut zend_object);
}
extern "C" {
pub fn zend_object_dtor_property(object: *mut zend_object, p: *mut zval);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_objects_store {
pub object_buckets: *mut *mut zend_object,
pub top: u32,
pub size: u32,
pub free_list_head: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_objects_store"][::std::mem::size_of::<_zend_objects_store>() - 24usize];
["Alignment of _zend_objects_store"][::std::mem::align_of::<_zend_objects_store>() - 8usize];
["Offset of field: _zend_objects_store::object_buckets"]
[::std::mem::offset_of!(_zend_objects_store, object_buckets) - 0usize];
["Offset of field: _zend_objects_store::top"]
[::std::mem::offset_of!(_zend_objects_store, top) - 8usize];
["Offset of field: _zend_objects_store::size"]
[::std::mem::offset_of!(_zend_objects_store, size) - 12usize];
["Offset of field: _zend_objects_store::free_list_head"]
[::std::mem::offset_of!(_zend_objects_store, free_list_head) - 16usize];
};
pub type zend_objects_store = _zend_objects_store;
extern "C" {
pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
}
extern "C" {
pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
}
extern "C" {
pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
}
extern "C" {
pub fn zend_objects_store_free_object_storage(
objects: *mut zend_objects_store,
fast_shutdown: bool,
);
}
extern "C" {
pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
}
extern "C" {
pub fn zend_objects_store_put(object: *mut zend_object);
}
extern "C" {
pub fn zend_objects_store_del(object: *mut zend_object);
}
extern "C" {
pub fn zend_get_property_info_for_slot_slow(
obj: *mut zend_object,
slot: *mut zval,
) -> *mut zend_property_info;
}
extern "C" {
pub fn zend_init_fpu();
}
extern "C" {
pub fn zend_shutdown_fpu();
}
extern "C" {
pub fn zend_ensure_fpu_mode();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_encoding {
_unused: [u8; 0],
}
pub type zend_encoding = _zend_encoding;
pub type zend_encoding_filter = ::std::option::Option<
unsafe extern "C" fn(
str_: *mut *mut ::std::os::raw::c_uchar,
str_length: *mut usize,
buf: *const ::std::os::raw::c_uchar,
length: usize,
) -> usize,
>;
pub type zend_encoding_fetcher = ::std::option::Option<
unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
>;
pub type zend_encoding_name_getter = ::std::option::Option<
unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
>;
pub type zend_encoding_lexer_compatibility_checker =
::std::option::Option<unsafe extern "C" fn(encoding: *const zend_encoding) -> bool>;
pub type zend_encoding_detector = ::std::option::Option<
unsafe extern "C" fn(
string: *const ::std::os::raw::c_uchar,
length: usize,
list: *mut *const zend_encoding,
list_size: usize,
) -> *const zend_encoding,
>;
pub type zend_encoding_converter = ::std::option::Option<
unsafe extern "C" fn(
to: *mut *mut ::std::os::raw::c_uchar,
to_length: *mut usize,
from: *const ::std::os::raw::c_uchar,
from_length: usize,
encoding_to: *const zend_encoding,
encoding_from: *const zend_encoding,
) -> usize,
>;
pub type zend_encoding_list_parser = ::std::option::Option<
unsafe extern "C" fn(
encoding_list: *const ::std::os::raw::c_char,
encoding_list_len: usize,
return_list: *mut *mut *const zend_encoding,
return_size: *mut usize,
persistent: bool,
) -> zend_result,
>;
pub type zend_encoding_internal_encoding_getter =
::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
pub type zend_encoding_internal_encoding_setter =
::std::option::Option<unsafe extern "C" fn(encoding: *const zend_encoding) -> zend_result>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_multibyte_functions {
pub provider_name: *const ::std::os::raw::c_char,
pub encoding_fetcher: zend_encoding_fetcher,
pub encoding_name_getter: zend_encoding_name_getter,
pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
pub encoding_detector: zend_encoding_detector,
pub encoding_converter: zend_encoding_converter,
pub encoding_list_parser: zend_encoding_list_parser,
pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_multibyte_functions"]
[::std::mem::size_of::<_zend_multibyte_functions>() - 72usize];
["Alignment of _zend_multibyte_functions"]
[::std::mem::align_of::<_zend_multibyte_functions>() - 8usize];
["Offset of field: _zend_multibyte_functions::provider_name"]
[::std::mem::offset_of!(_zend_multibyte_functions, provider_name) - 0usize];
["Offset of field: _zend_multibyte_functions::encoding_fetcher"]
[::std::mem::offset_of!(_zend_multibyte_functions, encoding_fetcher) - 8usize];
["Offset of field: _zend_multibyte_functions::encoding_name_getter"]
[::std::mem::offset_of!(_zend_multibyte_functions, encoding_name_getter) - 16usize];
["Offset of field: _zend_multibyte_functions::lexer_compatibility_checker"]
[::std::mem::offset_of!(_zend_multibyte_functions, lexer_compatibility_checker) - 24usize];
["Offset of field: _zend_multibyte_functions::encoding_detector"]
[::std::mem::offset_of!(_zend_multibyte_functions, encoding_detector) - 32usize];
["Offset of field: _zend_multibyte_functions::encoding_converter"]
[::std::mem::offset_of!(_zend_multibyte_functions, encoding_converter) - 40usize];
["Offset of field: _zend_multibyte_functions::encoding_list_parser"]
[::std::mem::offset_of!(_zend_multibyte_functions, encoding_list_parser) - 48usize];
["Offset of field: _zend_multibyte_functions::internal_encoding_getter"]
[::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_getter) - 56usize];
["Offset of field: _zend_multibyte_functions::internal_encoding_setter"]
[::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_setter) - 64usize];
};
pub type zend_multibyte_functions = _zend_multibyte_functions;
extern "C" {
pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
}
extern "C" {
pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
}
extern "C" {
pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
}
extern "C" {
pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
}
extern "C" {
pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
}
extern "C" {
pub fn zend_multibyte_set_functions(functions: *const zend_multibyte_functions) -> zend_result;
}
extern "C" {
pub fn zend_multibyte_restore_functions();
}
extern "C" {
pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
}
extern "C" {
pub fn zend_multibyte_fetch_encoding(
name: *const ::std::os::raw::c_char,
) -> *const zend_encoding;
}
extern "C" {
pub fn zend_multibyte_get_encoding_name(
encoding: *const zend_encoding,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_multibyte_check_lexer_compatibility(
encoding: *const zend_encoding,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_multibyte_encoding_detector(
string: *const ::std::os::raw::c_uchar,
length: usize,
list: *mut *const zend_encoding,
list_size: usize,
) -> *const zend_encoding;
}
extern "C" {
pub fn zend_multibyte_encoding_converter(
to: *mut *mut ::std::os::raw::c_uchar,
to_length: *mut usize,
from: *const ::std::os::raw::c_uchar,
from_length: usize,
encoding_to: *const zend_encoding,
encoding_from: *const zend_encoding,
) -> usize;
}
extern "C" {
pub fn zend_multibyte_parse_encoding_list(
encoding_list: *const ::std::os::raw::c_char,
encoding_list_len: usize,
return_list: *mut *mut *const zend_encoding,
return_size: *mut usize,
persistent: bool,
) -> zend_result;
}
extern "C" {
pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
}
extern "C" {
pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
}
extern "C" {
pub fn zend_multibyte_set_script_encoding(
encoding_list: *mut *const zend_encoding,
encoding_list_size: usize,
) -> zend_result;
}
extern "C" {
pub fn zend_multibyte_set_internal_encoding(encoding: *const zend_encoding) -> zend_result;
}
extern "C" {
pub fn zend_multibyte_set_script_encoding_by_string(
new_value: *const ::std::os::raw::c_char,
new_value_length: usize,
) -> zend_result;
}
pub type zend_arena = _zend_arena;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_arena {
pub ptr: *mut ::std::os::raw::c_char,
pub end: *mut ::std::os::raw::c_char,
pub prev: *mut zend_arena,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_arena"][::std::mem::size_of::<_zend_arena>() - 24usize];
["Alignment of _zend_arena"][::std::mem::align_of::<_zend_arena>() - 8usize];
["Offset of field: _zend_arena::ptr"][::std::mem::offset_of!(_zend_arena, ptr) - 0usize];
["Offset of field: _zend_arena::end"][::std::mem::offset_of!(_zend_arena, end) - 8usize];
["Offset of field: _zend_arena::prev"][::std::mem::offset_of!(_zend_arena, prev) - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_call_stack {
pub base: *mut ::std::os::raw::c_void,
pub max_size: usize,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_call_stack"][::std::mem::size_of::<_zend_call_stack>() - 16usize];
["Alignment of _zend_call_stack"][::std::mem::align_of::<_zend_call_stack>() - 8usize];
["Offset of field: _zend_call_stack::base"]
[::std::mem::offset_of!(_zend_call_stack, base) - 0usize];
["Offset of field: _zend_call_stack::max_size"]
[::std::mem::offset_of!(_zend_call_stack, max_size) - 8usize];
};
pub type zend_call_stack = _zend_call_stack;
extern "C" {
pub fn zend_call_stack_init();
}
extern "C" {
pub fn zend_call_stack_get(stack: *mut zend_call_stack) -> bool;
}
pub type zend_vm_stack = *mut _zend_vm_stack;
pub type zend_ini_entry = _zend_ini_entry;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_fiber_context {
_unused: [u8; 0],
}
pub type zend_fiber_context = _zend_fiber_context;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_fiber {
_unused: [u8; 0],
}
pub type zend_fiber = _zend_fiber;
pub const zend_memoize_mode_ZEND_MEMOIZE_NONE: zend_memoize_mode = 0;
pub const zend_memoize_mode_ZEND_MEMOIZE_COMPILE: zend_memoize_mode = 1;
pub const zend_memoize_mode_ZEND_MEMOIZE_FETCH: zend_memoize_mode = 2;
pub type zend_memoize_mode = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_executor_globals {
pub uninitialized_zval: zval,
pub error_zval: zval,
pub symtable_cache: [*mut zend_array; 32usize],
pub symtable_cache_limit: *mut *mut zend_array,
pub symtable_cache_ptr: *mut *mut zend_array,
pub symbol_table: zend_array,
pub included_files: HashTable,
pub bailout: *mut sigjmp_buf,
pub error_reporting: ::std::os::raw::c_int,
pub fatal_error_backtrace_on: bool,
pub last_fatal_error_backtrace: zval,
pub exit_status: ::std::os::raw::c_int,
pub function_table: *mut HashTable,
pub class_table: *mut HashTable,
pub zend_constants: *mut HashTable,
pub vm_stack_top: *mut zval,
pub vm_stack_end: *mut zval,
pub vm_stack: zend_vm_stack,
pub vm_stack_page_size: usize,
pub current_execute_data: *mut _zend_execute_data,
pub fake_scope: *const zend_class_entry,
pub jit_trace_num: u32,
pub current_observed_frame: *mut zend_execute_data,
pub ticks_count: ::std::os::raw::c_int,
pub precision: zend_long,
pub persistent_constants_count: u32,
pub persistent_functions_count: u32,
pub persistent_classes_count: u32,
pub no_extensions: bool,
pub full_tables_cleanup: bool,
pub vm_interrupt: zend_atomic_bool,
pub timed_out: zend_atomic_bool,
pub in_autoload: *mut HashTable,
pub hard_timeout: zend_long,
pub stack_base: *mut ::std::os::raw::c_void,
pub stack_limit: *mut ::std::os::raw::c_void,
pub regular_list: HashTable,
pub persistent_list: HashTable,
pub user_error_handler_error_reporting: ::std::os::raw::c_int,
pub exception_ignore_args: bool,
pub user_error_handler: zval,
pub user_exception_handler: zval,
pub user_error_handlers_error_reporting: zend_stack,
pub user_error_handlers: zend_stack,
pub user_exception_handlers: zend_stack,
pub exception_class: *mut zend_class_entry,
pub error_handling: zend_error_handling_t,
pub capture_warnings_during_sccp: ::std::os::raw::c_int,
pub timeout_seconds: zend_long,
pub ini_directives: *mut HashTable,
pub modified_ini_directives: *mut HashTable,
pub error_reporting_ini_entry: *mut zend_ini_entry,
pub objects_store: zend_objects_store,
pub lazy_objects_store: zend_lazy_objects_store,
pub exception: *mut zend_object,
pub prev_exception: *mut zend_object,
pub opline_before_exception: *const zend_op,
pub exception_op: [zend_op; 3usize],
pub current_module: *mut _zend_module_entry,
pub active: bool,
pub flags: u8,
pub assertions: zend_long,
pub ht_iterators_count: u32,
pub ht_iterators_used: u32,
pub ht_iterators: *mut HashTableIterator,
pub ht_iterators_slots: [HashTableIterator; 16usize],
pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
pub trampoline: zend_function,
pub call_trampoline_op: zend_op,
pub weakrefs: HashTable,
pub exception_string_param_max_len: zend_long,
pub get_gc_buffer: zend_get_gc_buffer,
pub main_fiber_context: *mut zend_fiber_context,
pub current_fiber_context: *mut zend_fiber_context,
pub active_fiber: *mut zend_fiber,
pub fiber_stack_size: usize,
pub record_errors: bool,
pub num_errors: u32,
pub errors: *mut *mut zend_error_info,
pub filename_override: *mut zend_string,
pub lineno_override: zend_long,
pub call_stack: zend_call_stack,
pub max_allowed_stack_size: zend_long,
pub reserved_stack_size: zend_ulong,
pub strtod_state: zend_strtod_state,
pub reserved: [*mut ::std::os::raw::c_void; 6usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_executor_globals"][::std::mem::size_of::<_zend_executor_globals>() - 1984usize];
["Alignment of _zend_executor_globals"]
[::std::mem::align_of::<_zend_executor_globals>() - 8usize];
["Offset of field: _zend_executor_globals::uninitialized_zval"]
[::std::mem::offset_of!(_zend_executor_globals, uninitialized_zval) - 0usize];
["Offset of field: _zend_executor_globals::error_zval"]
[::std::mem::offset_of!(_zend_executor_globals, error_zval) - 16usize];
["Offset of field: _zend_executor_globals::symtable_cache"]
[::std::mem::offset_of!(_zend_executor_globals, symtable_cache) - 32usize];
["Offset of field: _zend_executor_globals::symtable_cache_limit"]
[::std::mem::offset_of!(_zend_executor_globals, symtable_cache_limit) - 288usize];
["Offset of field: _zend_executor_globals::symtable_cache_ptr"]
[::std::mem::offset_of!(_zend_executor_globals, symtable_cache_ptr) - 296usize];
["Offset of field: _zend_executor_globals::symbol_table"]
[::std::mem::offset_of!(_zend_executor_globals, symbol_table) - 304usize];
["Offset of field: _zend_executor_globals::included_files"]
[::std::mem::offset_of!(_zend_executor_globals, included_files) - 360usize];
["Offset of field: _zend_executor_globals::bailout"]
[::std::mem::offset_of!(_zend_executor_globals, bailout) - 416usize];
["Offset of field: _zend_executor_globals::error_reporting"]
[::std::mem::offset_of!(_zend_executor_globals, error_reporting) - 424usize];
["Offset of field: _zend_executor_globals::fatal_error_backtrace_on"]
[::std::mem::offset_of!(_zend_executor_globals, fatal_error_backtrace_on) - 428usize];
["Offset of field: _zend_executor_globals::last_fatal_error_backtrace"]
[::std::mem::offset_of!(_zend_executor_globals, last_fatal_error_backtrace) - 432usize];
["Offset of field: _zend_executor_globals::exit_status"]
[::std::mem::offset_of!(_zend_executor_globals, exit_status) - 448usize];
["Offset of field: _zend_executor_globals::function_table"]
[::std::mem::offset_of!(_zend_executor_globals, function_table) - 456usize];
["Offset of field: _zend_executor_globals::class_table"]
[::std::mem::offset_of!(_zend_executor_globals, class_table) - 464usize];
["Offset of field: _zend_executor_globals::zend_constants"]
[::std::mem::offset_of!(_zend_executor_globals, zend_constants) - 472usize];
["Offset of field: _zend_executor_globals::vm_stack_top"]
[::std::mem::offset_of!(_zend_executor_globals, vm_stack_top) - 480usize];
["Offset of field: _zend_executor_globals::vm_stack_end"]
[::std::mem::offset_of!(_zend_executor_globals, vm_stack_end) - 488usize];
["Offset of field: _zend_executor_globals::vm_stack"]
[::std::mem::offset_of!(_zend_executor_globals, vm_stack) - 496usize];
["Offset of field: _zend_executor_globals::vm_stack_page_size"]
[::std::mem::offset_of!(_zend_executor_globals, vm_stack_page_size) - 504usize];
["Offset of field: _zend_executor_globals::current_execute_data"]
[::std::mem::offset_of!(_zend_executor_globals, current_execute_data) - 512usize];
["Offset of field: _zend_executor_globals::fake_scope"]
[::std::mem::offset_of!(_zend_executor_globals, fake_scope) - 520usize];
["Offset of field: _zend_executor_globals::jit_trace_num"]
[::std::mem::offset_of!(_zend_executor_globals, jit_trace_num) - 528usize];
["Offset of field: _zend_executor_globals::current_observed_frame"]
[::std::mem::offset_of!(_zend_executor_globals, current_observed_frame) - 536usize];
["Offset of field: _zend_executor_globals::ticks_count"]
[::std::mem::offset_of!(_zend_executor_globals, ticks_count) - 544usize];
["Offset of field: _zend_executor_globals::precision"]
[::std::mem::offset_of!(_zend_executor_globals, precision) - 552usize];
["Offset of field: _zend_executor_globals::persistent_constants_count"]
[::std::mem::offset_of!(_zend_executor_globals, persistent_constants_count) - 560usize];
["Offset of field: _zend_executor_globals::persistent_functions_count"]
[::std::mem::offset_of!(_zend_executor_globals, persistent_functions_count) - 564usize];
["Offset of field: _zend_executor_globals::persistent_classes_count"]
[::std::mem::offset_of!(_zend_executor_globals, persistent_classes_count) - 568usize];
["Offset of field: _zend_executor_globals::no_extensions"]
[::std::mem::offset_of!(_zend_executor_globals, no_extensions) - 572usize];
["Offset of field: _zend_executor_globals::full_tables_cleanup"]
[::std::mem::offset_of!(_zend_executor_globals, full_tables_cleanup) - 573usize];
["Offset of field: _zend_executor_globals::vm_interrupt"]
[::std::mem::offset_of!(_zend_executor_globals, vm_interrupt) - 574usize];
["Offset of field: _zend_executor_globals::timed_out"]
[::std::mem::offset_of!(_zend_executor_globals, timed_out) - 575usize];
["Offset of field: _zend_executor_globals::in_autoload"]
[::std::mem::offset_of!(_zend_executor_globals, in_autoload) - 576usize];
["Offset of field: _zend_executor_globals::hard_timeout"]
[::std::mem::offset_of!(_zend_executor_globals, hard_timeout) - 584usize];
["Offset of field: _zend_executor_globals::stack_base"]
[::std::mem::offset_of!(_zend_executor_globals, stack_base) - 592usize];
["Offset of field: _zend_executor_globals::stack_limit"]
[::std::mem::offset_of!(_zend_executor_globals, stack_limit) - 600usize];
["Offset of field: _zend_executor_globals::regular_list"]
[::std::mem::offset_of!(_zend_executor_globals, regular_list) - 608usize];
["Offset of field: _zend_executor_globals::persistent_list"]
[::std::mem::offset_of!(_zend_executor_globals, persistent_list) - 664usize];
["Offset of field: _zend_executor_globals::user_error_handler_error_reporting"][::std::mem::offset_of!(
_zend_executor_globals,
user_error_handler_error_reporting
) - 720usize];
["Offset of field: _zend_executor_globals::exception_ignore_args"]
[::std::mem::offset_of!(_zend_executor_globals, exception_ignore_args) - 724usize];
["Offset of field: _zend_executor_globals::user_error_handler"]
[::std::mem::offset_of!(_zend_executor_globals, user_error_handler) - 728usize];
["Offset of field: _zend_executor_globals::user_exception_handler"]
[::std::mem::offset_of!(_zend_executor_globals, user_exception_handler) - 744usize];
["Offset of field: _zend_executor_globals::user_error_handlers_error_reporting"][::std::mem::offset_of!(
_zend_executor_globals,
user_error_handlers_error_reporting
) - 760usize];
["Offset of field: _zend_executor_globals::user_error_handlers"]
[::std::mem::offset_of!(_zend_executor_globals, user_error_handlers) - 784usize];
["Offset of field: _zend_executor_globals::user_exception_handlers"]
[::std::mem::offset_of!(_zend_executor_globals, user_exception_handlers) - 808usize];
["Offset of field: _zend_executor_globals::exception_class"]
[::std::mem::offset_of!(_zend_executor_globals, exception_class) - 832usize];
["Offset of field: _zend_executor_globals::error_handling"]
[::std::mem::offset_of!(_zend_executor_globals, error_handling) - 840usize];
["Offset of field: _zend_executor_globals::capture_warnings_during_sccp"]
[::std::mem::offset_of!(_zend_executor_globals, capture_warnings_during_sccp) - 844usize];
["Offset of field: _zend_executor_globals::timeout_seconds"]
[::std::mem::offset_of!(_zend_executor_globals, timeout_seconds) - 848usize];
["Offset of field: _zend_executor_globals::ini_directives"]
[::std::mem::offset_of!(_zend_executor_globals, ini_directives) - 856usize];
["Offset of field: _zend_executor_globals::modified_ini_directives"]
[::std::mem::offset_of!(_zend_executor_globals, modified_ini_directives) - 864usize];
["Offset of field: _zend_executor_globals::error_reporting_ini_entry"]
[::std::mem::offset_of!(_zend_executor_globals, error_reporting_ini_entry) - 872usize];
["Offset of field: _zend_executor_globals::objects_store"]
[::std::mem::offset_of!(_zend_executor_globals, objects_store) - 880usize];
["Offset of field: _zend_executor_globals::lazy_objects_store"]
[::std::mem::offset_of!(_zend_executor_globals, lazy_objects_store) - 904usize];
["Offset of field: _zend_executor_globals::exception"]
[::std::mem::offset_of!(_zend_executor_globals, exception) - 960usize];
["Offset of field: _zend_executor_globals::prev_exception"]
[::std::mem::offset_of!(_zend_executor_globals, prev_exception) - 968usize];
["Offset of field: _zend_executor_globals::opline_before_exception"]
[::std::mem::offset_of!(_zend_executor_globals, opline_before_exception) - 976usize];
["Offset of field: _zend_executor_globals::exception_op"]
[::std::mem::offset_of!(_zend_executor_globals, exception_op) - 984usize];
["Offset of field: _zend_executor_globals::current_module"]
[::std::mem::offset_of!(_zend_executor_globals, current_module) - 1080usize];
["Offset of field: _zend_executor_globals::active"]
[::std::mem::offset_of!(_zend_executor_globals, active) - 1088usize];
["Offset of field: _zend_executor_globals::flags"]
[::std::mem::offset_of!(_zend_executor_globals, flags) - 1089usize];
["Offset of field: _zend_executor_globals::assertions"]
[::std::mem::offset_of!(_zend_executor_globals, assertions) - 1096usize];
["Offset of field: _zend_executor_globals::ht_iterators_count"]
[::std::mem::offset_of!(_zend_executor_globals, ht_iterators_count) - 1104usize];
["Offset of field: _zend_executor_globals::ht_iterators_used"]
[::std::mem::offset_of!(_zend_executor_globals, ht_iterators_used) - 1108usize];
["Offset of field: _zend_executor_globals::ht_iterators"]
[::std::mem::offset_of!(_zend_executor_globals, ht_iterators) - 1112usize];
["Offset of field: _zend_executor_globals::ht_iterators_slots"]
[::std::mem::offset_of!(_zend_executor_globals, ht_iterators_slots) - 1120usize];
["Offset of field: _zend_executor_globals::saved_fpu_cw_ptr"]
[::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw_ptr) - 1376usize];
["Offset of field: _zend_executor_globals::trampoline"]
[::std::mem::offset_of!(_zend_executor_globals, trampoline) - 1384usize];
["Offset of field: _zend_executor_globals::call_trampoline_op"]
[::std::mem::offset_of!(_zend_executor_globals, call_trampoline_op) - 1640usize];
["Offset of field: _zend_executor_globals::weakrefs"]
[::std::mem::offset_of!(_zend_executor_globals, weakrefs) - 1672usize];
["Offset of field: _zend_executor_globals::exception_string_param_max_len"][::std::mem::offset_of!(
_zend_executor_globals,
exception_string_param_max_len
) - 1728usize];
["Offset of field: _zend_executor_globals::get_gc_buffer"]
[::std::mem::offset_of!(_zend_executor_globals, get_gc_buffer) - 1736usize];
["Offset of field: _zend_executor_globals::main_fiber_context"]
[::std::mem::offset_of!(_zend_executor_globals, main_fiber_context) - 1760usize];
["Offset of field: _zend_executor_globals::current_fiber_context"]
[::std::mem::offset_of!(_zend_executor_globals, current_fiber_context) - 1768usize];
["Offset of field: _zend_executor_globals::active_fiber"]
[::std::mem::offset_of!(_zend_executor_globals, active_fiber) - 1776usize];
["Offset of field: _zend_executor_globals::fiber_stack_size"]
[::std::mem::offset_of!(_zend_executor_globals, fiber_stack_size) - 1784usize];
["Offset of field: _zend_executor_globals::record_errors"]
[::std::mem::offset_of!(_zend_executor_globals, record_errors) - 1792usize];
["Offset of field: _zend_executor_globals::num_errors"]
[::std::mem::offset_of!(_zend_executor_globals, num_errors) - 1796usize];
["Offset of field: _zend_executor_globals::errors"]
[::std::mem::offset_of!(_zend_executor_globals, errors) - 1800usize];
["Offset of field: _zend_executor_globals::filename_override"]
[::std::mem::offset_of!(_zend_executor_globals, filename_override) - 1808usize];
["Offset of field: _zend_executor_globals::lineno_override"]
[::std::mem::offset_of!(_zend_executor_globals, lineno_override) - 1816usize];
["Offset of field: _zend_executor_globals::call_stack"]
[::std::mem::offset_of!(_zend_executor_globals, call_stack) - 1824usize];
["Offset of field: _zend_executor_globals::max_allowed_stack_size"]
[::std::mem::offset_of!(_zend_executor_globals, max_allowed_stack_size) - 1840usize];
["Offset of field: _zend_executor_globals::reserved_stack_size"]
[::std::mem::offset_of!(_zend_executor_globals, reserved_stack_size) - 1848usize];
["Offset of field: _zend_executor_globals::strtod_state"]
[::std::mem::offset_of!(_zend_executor_globals, strtod_state) - 1856usize];
["Offset of field: _zend_executor_globals::reserved"]
[::std::mem::offset_of!(_zend_executor_globals, reserved) - 1936usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ini_scanner_globals {
pub yy_in: *mut zend_file_handle,
pub yy_out: *mut zend_file_handle,
pub yy_leng: ::std::os::raw::c_uint,
pub yy_start: *const ::std::os::raw::c_uchar,
pub yy_text: *const ::std::os::raw::c_uchar,
pub yy_cursor: *const ::std::os::raw::c_uchar,
pub yy_marker: *const ::std::os::raw::c_uchar,
pub yy_limit: *const ::std::os::raw::c_uchar,
pub yy_state: ::std::os::raw::c_int,
pub state_stack: zend_stack,
pub filename: *mut zend_string,
pub lineno: ::std::os::raw::c_int,
pub scanner_mode: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ini_scanner_globals"]
[::std::mem::size_of::<_zend_ini_scanner_globals>() - 112usize];
["Alignment of _zend_ini_scanner_globals"]
[::std::mem::align_of::<_zend_ini_scanner_globals>() - 8usize];
["Offset of field: _zend_ini_scanner_globals::yy_in"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, yy_in) - 0usize];
["Offset of field: _zend_ini_scanner_globals::yy_out"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, yy_out) - 8usize];
["Offset of field: _zend_ini_scanner_globals::yy_leng"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, yy_leng) - 16usize];
["Offset of field: _zend_ini_scanner_globals::yy_start"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, yy_start) - 24usize];
["Offset of field: _zend_ini_scanner_globals::yy_text"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, yy_text) - 32usize];
["Offset of field: _zend_ini_scanner_globals::yy_cursor"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, yy_cursor) - 40usize];
["Offset of field: _zend_ini_scanner_globals::yy_marker"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, yy_marker) - 48usize];
["Offset of field: _zend_ini_scanner_globals::yy_limit"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, yy_limit) - 56usize];
["Offset of field: _zend_ini_scanner_globals::yy_state"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, yy_state) - 64usize];
["Offset of field: _zend_ini_scanner_globals::state_stack"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, state_stack) - 72usize];
["Offset of field: _zend_ini_scanner_globals::filename"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, filename) - 96usize];
["Offset of field: _zend_ini_scanner_globals::lineno"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, lineno) - 104usize];
["Offset of field: _zend_ini_scanner_globals::scanner_mode"]
[::std::mem::offset_of!(_zend_ini_scanner_globals, scanner_mode) - 108usize];
};
pub const zend_php_scanner_event_ON_TOKEN: zend_php_scanner_event = 0;
pub const zend_php_scanner_event_ON_FEEDBACK: zend_php_scanner_event = 1;
pub const zend_php_scanner_event_ON_STOP: zend_php_scanner_event = 2;
pub type zend_php_scanner_event = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_php_scanner_globals {
pub yy_in: *mut zend_file_handle,
pub yy_out: *mut zend_file_handle,
pub yy_leng: ::std::os::raw::c_uint,
pub yy_start: *mut ::std::os::raw::c_uchar,
pub yy_text: *mut ::std::os::raw::c_uchar,
pub yy_cursor: *mut ::std::os::raw::c_uchar,
pub yy_marker: *mut ::std::os::raw::c_uchar,
pub yy_limit: *mut ::std::os::raw::c_uchar,
pub yy_state: ::std::os::raw::c_int,
pub state_stack: zend_stack,
pub heredoc_label_stack: zend_ptr_stack,
pub nest_location_stack: zend_stack,
pub heredoc_scan_ahead: bool,
pub heredoc_indentation: ::std::os::raw::c_int,
pub heredoc_indentation_uses_spaces: bool,
pub script_org: *mut ::std::os::raw::c_uchar,
pub script_org_size: usize,
pub script_filtered: *mut ::std::os::raw::c_uchar,
pub script_filtered_size: usize,
pub input_filter: zend_encoding_filter,
pub output_filter: zend_encoding_filter,
pub script_encoding: *const zend_encoding,
pub scanned_string_len: ::std::os::raw::c_int,
pub on_event: ::std::option::Option<
unsafe extern "C" fn(
event: zend_php_scanner_event,
token: ::std::os::raw::c_int,
line: ::std::os::raw::c_int,
text: *const ::std::os::raw::c_char,
length: usize,
context: *mut ::std::os::raw::c_void,
),
>,
pub on_event_context: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_php_scanner_globals"]
[::std::mem::size_of::<_zend_php_scanner_globals>() - 248usize];
["Alignment of _zend_php_scanner_globals"]
[::std::mem::align_of::<_zend_php_scanner_globals>() - 8usize];
["Offset of field: _zend_php_scanner_globals::yy_in"]
[::std::mem::offset_of!(_zend_php_scanner_globals, yy_in) - 0usize];
["Offset of field: _zend_php_scanner_globals::yy_out"]
[::std::mem::offset_of!(_zend_php_scanner_globals, yy_out) - 8usize];
["Offset of field: _zend_php_scanner_globals::yy_leng"]
[::std::mem::offset_of!(_zend_php_scanner_globals, yy_leng) - 16usize];
["Offset of field: _zend_php_scanner_globals::yy_start"]
[::std::mem::offset_of!(_zend_php_scanner_globals, yy_start) - 24usize];
["Offset of field: _zend_php_scanner_globals::yy_text"]
[::std::mem::offset_of!(_zend_php_scanner_globals, yy_text) - 32usize];
["Offset of field: _zend_php_scanner_globals::yy_cursor"]
[::std::mem::offset_of!(_zend_php_scanner_globals, yy_cursor) - 40usize];
["Offset of field: _zend_php_scanner_globals::yy_marker"]
[::std::mem::offset_of!(_zend_php_scanner_globals, yy_marker) - 48usize];
["Offset of field: _zend_php_scanner_globals::yy_limit"]
[::std::mem::offset_of!(_zend_php_scanner_globals, yy_limit) - 56usize];
["Offset of field: _zend_php_scanner_globals::yy_state"]
[::std::mem::offset_of!(_zend_php_scanner_globals, yy_state) - 64usize];
["Offset of field: _zend_php_scanner_globals::state_stack"]
[::std::mem::offset_of!(_zend_php_scanner_globals, state_stack) - 72usize];
["Offset of field: _zend_php_scanner_globals::heredoc_label_stack"]
[::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_label_stack) - 96usize];
["Offset of field: _zend_php_scanner_globals::nest_location_stack"]
[::std::mem::offset_of!(_zend_php_scanner_globals, nest_location_stack) - 128usize];
["Offset of field: _zend_php_scanner_globals::heredoc_scan_ahead"]
[::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_scan_ahead) - 152usize];
["Offset of field: _zend_php_scanner_globals::heredoc_indentation"]
[::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_indentation) - 156usize];
["Offset of field: _zend_php_scanner_globals::heredoc_indentation_uses_spaces"][::std::mem::offset_of!(
_zend_php_scanner_globals,
heredoc_indentation_uses_spaces
) - 160usize];
["Offset of field: _zend_php_scanner_globals::script_org"]
[::std::mem::offset_of!(_zend_php_scanner_globals, script_org) - 168usize];
["Offset of field: _zend_php_scanner_globals::script_org_size"]
[::std::mem::offset_of!(_zend_php_scanner_globals, script_org_size) - 176usize];
["Offset of field: _zend_php_scanner_globals::script_filtered"]
[::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered) - 184usize];
["Offset of field: _zend_php_scanner_globals::script_filtered_size"]
[::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered_size) - 192usize];
["Offset of field: _zend_php_scanner_globals::input_filter"]
[::std::mem::offset_of!(_zend_php_scanner_globals, input_filter) - 200usize];
["Offset of field: _zend_php_scanner_globals::output_filter"]
[::std::mem::offset_of!(_zend_php_scanner_globals, output_filter) - 208usize];
["Offset of field: _zend_php_scanner_globals::script_encoding"]
[::std::mem::offset_of!(_zend_php_scanner_globals, script_encoding) - 216usize];
["Offset of field: _zend_php_scanner_globals::scanned_string_len"]
[::std::mem::offset_of!(_zend_php_scanner_globals, scanned_string_len) - 224usize];
["Offset of field: _zend_php_scanner_globals::on_event"]
[::std::mem::offset_of!(_zend_php_scanner_globals, on_event) - 232usize];
["Offset of field: _zend_php_scanner_globals::on_event_context"]
[::std::mem::offset_of!(_zend_php_scanner_globals, on_event_context) - 240usize];
};
pub const _zend_compile_position_ZEND_COMPILE_POSITION_AT_SHEBANG: _zend_compile_position = 0;
pub const _zend_compile_position_ZEND_COMPILE_POSITION_AT_OPEN_TAG: _zend_compile_position = 1;
pub const _zend_compile_position_ZEND_COMPILE_POSITION_AFTER_OPEN_TAG: _zend_compile_position = 2;
pub type _zend_compile_position = ::std::os::raw::c_uint;
pub use self::_zend_compile_position as zend_compile_position;
extern "C" {
pub fn zend_init_compiler_data_structures();
}
extern "C" {
pub fn zend_oparray_context_begin(
prev_context: *mut zend_oparray_context,
op_array: *mut zend_op_array,
);
}
extern "C" {
pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
}
extern "C" {
pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
}
extern "C" {
pub fn zend_file_context_end(prev_context: *mut zend_file_context);
}
extern "C" {
pub static mut zend_compile_file: ::std::option::Option<
unsafe extern "C" fn(
file_handle: *mut zend_file_handle,
type_: ::std::os::raw::c_int,
) -> *mut zend_op_array,
>;
}
extern "C" {
pub static mut zend_compile_string: ::std::option::Option<
unsafe extern "C" fn(
source_string: *mut zend_string,
filename: *const ::std::os::raw::c_char,
position: zend_compile_position,
) -> *mut zend_op_array,
>;
}
extern "C" {
pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
}
extern "C" {
pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
}
extern "C" {
pub fn zend_get_compiled_filename() -> *mut zend_string;
}
extern "C" {
pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_get_scanned_file_offset() -> usize;
}
extern "C" {
pub fn zend_get_compiled_variable_name(
op_array: *const zend_op_array,
var: u32,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_stop_lexing();
}
extern "C" {
pub fn zend_emit_final_return(return_one: bool);
}
pub const zend_modifier_target_ZEND_MODIFIER_TARGET_PROPERTY: zend_modifier_target = 0;
pub const zend_modifier_target_ZEND_MODIFIER_TARGET_METHOD: zend_modifier_target = 1;
pub const zend_modifier_target_ZEND_MODIFIER_TARGET_CONSTANT: zend_modifier_target = 2;
pub const zend_modifier_target_ZEND_MODIFIER_TARGET_CPP: zend_modifier_target = 3;
pub const zend_modifier_target_ZEND_MODIFIER_TARGET_PROPERTY_HOOK: zend_modifier_target = 4;
pub type zend_modifier_target = ::std::os::raw::c_uint;
extern "C" {
pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_negate_num_string(ast: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
}
extern "C" {
pub fn zend_add_anonymous_class_modifier(flags: u32, new_flag: u32) -> u32;
}
extern "C" {
pub fn zend_add_member_modifier(flags: u32, new_flag: u32, target: zend_modifier_target)
-> u32;
}
extern "C" {
pub fn zend_modifier_token_to_flag(target: zend_modifier_target, flags: u32) -> u32;
}
extern "C" {
pub fn zend_modifier_list_to_flags(
target: zend_modifier_target,
modifiers: *mut zend_ast,
) -> u32;
}
extern "C" {
pub fn zend_handle_encoding_declaration(ast: *mut zend_ast) -> bool;
}
extern "C" {
pub fn zend_bind_class_in_slot(
class_table_slot: *mut zval,
lcname: *mut zval,
lc_parent_name: *mut zend_string,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
}
extern "C" {
pub fn zend_compile_string_to_ast(
code: *mut zend_string,
ast_arena: *mut *mut _zend_arena,
filename: *mut zend_string,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_execute_scripts(
type_: ::std::os::raw::c_int,
retval: *mut zval,
file_count: ::std::os::raw::c_int,
...
) -> zend_result;
}
extern "C" {
pub fn zend_execute_script(
type_: ::std::os::raw::c_int,
retval: *mut zval,
file_handle: *mut zend_file_handle,
) -> zend_result;
}
extern "C" {
pub fn zend_destroy_static_vars(op_array: *mut zend_op_array);
}
extern "C" {
pub fn zend_cleanup_mutable_class_data(ce: *mut zend_class_entry);
}
extern "C" {
pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
}
extern "C" {
pub fn zend_type_release(type_: zend_type, persistent: bool);
}
extern "C" {
pub fn zend_create_member_string(
class_name: *mut zend_string,
member_name: *mut zend_string,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_user_exception_handler();
}
extern "C" {
pub fn zend_free_internal_arg_info(function: *mut zend_internal_function);
}
extern "C" {
pub fn zend_function_dtor(zv: *mut zval);
}
extern "C" {
pub fn zend_class_add_ref(zv: *mut zval);
}
extern "C" {
pub fn zend_mangle_property_name(
src1: *const ::std::os::raw::c_char,
src1_length: usize,
src2: *const ::std::os::raw::c_char,
src2_length: usize,
internal: bool,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_unmangle_property_name_ex(
name: *const zend_string,
class_name: *mut *const ::std::os::raw::c_char,
prop_name: *mut *const ::std::os::raw::c_char,
prop_len: *mut usize,
) -> zend_result;
}
pub type zend_needs_live_range_cb = ::std::option::Option<
unsafe extern "C" fn(op_array: *mut zend_op_array, opline: *mut zend_op) -> bool,
>;
extern "C" {
pub fn zend_recalc_live_ranges(
op_array: *mut zend_op_array,
needs_live_range: zend_needs_live_range_cb,
);
}
extern "C" {
pub fn zend_is_compiling() -> bool;
}
extern "C" {
pub fn zend_make_compiled_string_description(
name: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: bool);
}
extern "C" {
pub fn zend_get_class_fetch_type(name: *const zend_string) -> u32;
}
extern "C" {
pub fn zend_get_call_op(
init_op: *const zend_op,
fbc: *mut zend_function,
result_used: bool,
) -> u8;
}
extern "C" {
pub fn zend_is_smart_branch(opline: *const zend_op) -> bool;
}
pub type zend_auto_global_callback =
::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> bool>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_auto_global {
pub name: *mut zend_string,
pub auto_global_callback: zend_auto_global_callback,
pub jit: bool,
pub armed: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_auto_global"][::std::mem::size_of::<_zend_auto_global>() - 24usize];
["Alignment of _zend_auto_global"][::std::mem::align_of::<_zend_auto_global>() - 8usize];
["Offset of field: _zend_auto_global::name"]
[::std::mem::offset_of!(_zend_auto_global, name) - 0usize];
["Offset of field: _zend_auto_global::auto_global_callback"]
[::std::mem::offset_of!(_zend_auto_global, auto_global_callback) - 8usize];
["Offset of field: _zend_auto_global::jit"]
[::std::mem::offset_of!(_zend_auto_global, jit) - 16usize];
["Offset of field: _zend_auto_global::armed"]
[::std::mem::offset_of!(_zend_auto_global, armed) - 17usize];
};
pub type zend_auto_global = _zend_auto_global;
extern "C" {
pub fn zend_register_auto_global(
name: *mut zend_string,
jit: bool,
auto_global_callback: zend_auto_global_callback,
) -> zend_result;
}
extern "C" {
pub fn zend_activate_auto_globals();
}
extern "C" {
pub fn zend_is_auto_global(name: *mut zend_string) -> bool;
}
extern "C" {
pub fn zend_is_auto_global_str(name: *const ::std::os::raw::c_char, len: usize) -> bool;
}
extern "C" {
pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: usize) -> usize;
}
extern "C" {
pub fn zend_set_function_arg_flags(func: *mut zend_function);
}
extern "C" {
pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_assert_valid_class_name(
const_name: *const zend_string,
type_: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_type_to_string_resolved(
type_: zend_type,
scope: *mut zend_class_entry,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_type_to_string(type_: zend_type) -> *mut zend_string;
}
extern "C" {
pub fn zend_is_op_long_compatible(op: *const zval) -> bool;
}
extern "C" {
pub fn zend_binary_op_produces_error(opcode: u32, op1: *const zval, op2: *const zval) -> bool;
}
extern "C" {
pub fn zend_unary_op_produces_error(opcode: u32, op: *const zval) -> bool;
}
extern "C" {
pub fn zend_try_ct_eval_cast(result: *mut zval, type_: u32, op1: *mut zval) -> bool;
}
pub type zend_module_entry = _zend_module_entry;
pub type zend_module_dep = _zend_module_dep;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_module_entry {
pub size: ::std::os::raw::c_ushort,
pub zend_api: ::std::os::raw::c_uint,
pub zend_debug: ::std::os::raw::c_uchar,
pub zts: ::std::os::raw::c_uchar,
pub ini_entry: *const _zend_ini_entry,
pub deps: *const _zend_module_dep,
pub name: *const ::std::os::raw::c_char,
pub functions: *const _zend_function_entry,
pub module_startup_func: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result,
>,
pub module_shutdown_func: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result,
>,
pub request_startup_func: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result,
>,
pub request_shutdown_func: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result,
>,
pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
pub version: *const ::std::os::raw::c_char,
pub globals_size: usize,
pub globals_ptr: *mut ::std::os::raw::c_void,
pub globals_ctor:
::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
pub globals_dtor:
::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
pub post_deactivate_func: ::std::option::Option<unsafe extern "C" fn() -> zend_result>,
pub module_started: ::std::os::raw::c_int,
pub type_: ::std::os::raw::c_uchar,
pub handle: *mut ::std::os::raw::c_void,
pub module_number: ::std::os::raw::c_int,
pub build_id: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_module_entry"][::std::mem::size_of::<_zend_module_entry>() - 168usize];
["Alignment of _zend_module_entry"][::std::mem::align_of::<_zend_module_entry>() - 8usize];
["Offset of field: _zend_module_entry::size"]
[::std::mem::offset_of!(_zend_module_entry, size) - 0usize];
["Offset of field: _zend_module_entry::zend_api"]
[::std::mem::offset_of!(_zend_module_entry, zend_api) - 4usize];
["Offset of field: _zend_module_entry::zend_debug"]
[::std::mem::offset_of!(_zend_module_entry, zend_debug) - 8usize];
["Offset of field: _zend_module_entry::zts"]
[::std::mem::offset_of!(_zend_module_entry, zts) - 9usize];
["Offset of field: _zend_module_entry::ini_entry"]
[::std::mem::offset_of!(_zend_module_entry, ini_entry) - 16usize];
["Offset of field: _zend_module_entry::deps"]
[::std::mem::offset_of!(_zend_module_entry, deps) - 24usize];
["Offset of field: _zend_module_entry::name"]
[::std::mem::offset_of!(_zend_module_entry, name) - 32usize];
["Offset of field: _zend_module_entry::functions"]
[::std::mem::offset_of!(_zend_module_entry, functions) - 40usize];
["Offset of field: _zend_module_entry::module_startup_func"]
[::std::mem::offset_of!(_zend_module_entry, module_startup_func) - 48usize];
["Offset of field: _zend_module_entry::module_shutdown_func"]
[::std::mem::offset_of!(_zend_module_entry, module_shutdown_func) - 56usize];
["Offset of field: _zend_module_entry::request_startup_func"]
[::std::mem::offset_of!(_zend_module_entry, request_startup_func) - 64usize];
["Offset of field: _zend_module_entry::request_shutdown_func"]
[::std::mem::offset_of!(_zend_module_entry, request_shutdown_func) - 72usize];
["Offset of field: _zend_module_entry::info_func"]
[::std::mem::offset_of!(_zend_module_entry, info_func) - 80usize];
["Offset of field: _zend_module_entry::version"]
[::std::mem::offset_of!(_zend_module_entry, version) - 88usize];
["Offset of field: _zend_module_entry::globals_size"]
[::std::mem::offset_of!(_zend_module_entry, globals_size) - 96usize];
["Offset of field: _zend_module_entry::globals_ptr"]
[::std::mem::offset_of!(_zend_module_entry, globals_ptr) - 104usize];
["Offset of field: _zend_module_entry::globals_ctor"]
[::std::mem::offset_of!(_zend_module_entry, globals_ctor) - 112usize];
["Offset of field: _zend_module_entry::globals_dtor"]
[::std::mem::offset_of!(_zend_module_entry, globals_dtor) - 120usize];
["Offset of field: _zend_module_entry::post_deactivate_func"]
[::std::mem::offset_of!(_zend_module_entry, post_deactivate_func) - 128usize];
["Offset of field: _zend_module_entry::module_started"]
[::std::mem::offset_of!(_zend_module_entry, module_started) - 136usize];
["Offset of field: _zend_module_entry::type_"]
[::std::mem::offset_of!(_zend_module_entry, type_) - 140usize];
["Offset of field: _zend_module_entry::handle"]
[::std::mem::offset_of!(_zend_module_entry, handle) - 144usize];
["Offset of field: _zend_module_entry::module_number"]
[::std::mem::offset_of!(_zend_module_entry, module_number) - 152usize];
["Offset of field: _zend_module_entry::build_id"]
[::std::mem::offset_of!(_zend_module_entry, build_id) - 160usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_module_dep {
pub name: *const ::std::os::raw::c_char,
pub rel: *const ::std::os::raw::c_char,
pub version: *const ::std::os::raw::c_char,
pub type_: ::std::os::raw::c_uchar,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_module_dep"][::std::mem::size_of::<_zend_module_dep>() - 32usize];
["Alignment of _zend_module_dep"][::std::mem::align_of::<_zend_module_dep>() - 8usize];
["Offset of field: _zend_module_dep::name"]
[::std::mem::offset_of!(_zend_module_dep, name) - 0usize];
["Offset of field: _zend_module_dep::rel"]
[::std::mem::offset_of!(_zend_module_dep, rel) - 8usize];
["Offset of field: _zend_module_dep::version"]
[::std::mem::offset_of!(_zend_module_dep, version) - 16usize];
["Offset of field: _zend_module_dep::type_"]
[::std::mem::offset_of!(_zend_module_dep, type_) - 24usize];
};
extern "C" {
pub static mut module_registry: HashTable;
}
pub type rsrc_dtor_func_t = ::std::option::Option<unsafe extern "C" fn(res: *mut zend_resource)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_rsrc_list_dtors_entry {
pub list_dtor_ex: rsrc_dtor_func_t,
pub plist_dtor_ex: rsrc_dtor_func_t,
pub type_name: *const ::std::os::raw::c_char,
pub module_number: ::std::os::raw::c_int,
pub resource_id: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_rsrc_list_dtors_entry"]
[::std::mem::size_of::<_zend_rsrc_list_dtors_entry>() - 32usize];
["Alignment of _zend_rsrc_list_dtors_entry"]
[::std::mem::align_of::<_zend_rsrc_list_dtors_entry>() - 8usize];
["Offset of field: _zend_rsrc_list_dtors_entry::list_dtor_ex"]
[::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, list_dtor_ex) - 0usize];
["Offset of field: _zend_rsrc_list_dtors_entry::plist_dtor_ex"]
[::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, plist_dtor_ex) - 8usize];
["Offset of field: _zend_rsrc_list_dtors_entry::type_name"]
[::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, type_name) - 16usize];
["Offset of field: _zend_rsrc_list_dtors_entry::module_number"]
[::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, module_number) - 24usize];
["Offset of field: _zend_rsrc_list_dtors_entry::resource_id"]
[::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, resource_id) - 28usize];
};
pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
extern "C" {
pub fn zend_register_list_destructors_ex(
ld: rsrc_dtor_func_t,
pld: rsrc_dtor_func_t,
type_name: *const ::std::os::raw::c_char,
module_number: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_init_rsrc_list();
}
extern "C" {
pub fn zend_init_rsrc_plist();
}
extern "C" {
pub fn zend_close_rsrc_list(ht: *mut HashTable);
}
extern "C" {
pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
}
extern "C" {
pub fn zend_init_rsrc_list_dtors();
}
extern "C" {
pub fn zend_destroy_rsrc_list_dtors();
}
extern "C" {
pub fn zend_list_insert(
ptr: *mut ::std::os::raw::c_void,
type_: ::std::os::raw::c_int,
) -> *mut zval;
}
extern "C" {
pub fn zend_list_free(res: *mut zend_resource);
}
extern "C" {
pub fn zend_list_delete(res: *mut zend_resource) -> zend_result;
}
extern "C" {
pub fn zend_list_close(res: *mut zend_resource);
}
extern "C" {
pub fn zend_register_resource(
rsrc_pointer: *mut ::std::os::raw::c_void,
rsrc_type: ::std::os::raw::c_int,
) -> *mut zend_resource;
}
extern "C" {
pub fn zend_fetch_resource(
res: *mut zend_resource,
resource_type_name: *const ::std::os::raw::c_char,
resource_type: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_fetch_resource2(
res: *mut zend_resource,
resource_type_name: *const ::std::os::raw::c_char,
resource_type: ::std::os::raw::c_int,
resource_type2: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_fetch_resource_ex(
res: *mut zval,
resource_type_name: *const ::std::os::raw::c_char,
resource_type: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_fetch_resource2_ex(
res: *mut zval,
resource_type_name: *const ::std::os::raw::c_char,
resource_type: ::std::os::raw::c_int,
resource_type2: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_fetch_list_dtor_id(
type_name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_register_persistent_resource(
key: *const ::std::os::raw::c_char,
key_len: usize,
rsrc_pointer: *mut ::std::os::raw::c_void,
rsrc_type: ::std::os::raw::c_int,
) -> *mut zend_resource;
}
extern "C" {
pub fn zend_register_persistent_resource_ex(
key: *mut zend_string,
rsrc_pointer: *mut ::std::os::raw::c_void,
rsrc_type: ::std::os::raw::c_int,
) -> *mut zend_resource;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_constant {
pub value: zval,
pub name: *mut zend_string,
pub filename: *mut zend_string,
pub attributes: *mut HashTable,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_constant"][::std::mem::size_of::<_zend_constant>() - 40usize];
["Alignment of _zend_constant"][::std::mem::align_of::<_zend_constant>() - 8usize];
["Offset of field: _zend_constant::value"]
[::std::mem::offset_of!(_zend_constant, value) - 0usize];
["Offset of field: _zend_constant::name"]
[::std::mem::offset_of!(_zend_constant, name) - 16usize];
["Offset of field: _zend_constant::filename"]
[::std::mem::offset_of!(_zend_constant, filename) - 24usize];
["Offset of field: _zend_constant::attributes"]
[::std::mem::offset_of!(_zend_constant, attributes) - 32usize];
};
pub type zend_constant = _zend_constant;
extern "C" {
pub fn zend_startup_constants();
}
extern "C" {
pub fn zend_register_standard_constants();
}
extern "C" {
pub fn zend_verify_const_access(c: *mut zend_class_constant, ce: *mut zend_class_entry)
-> bool;
}
extern "C" {
pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
}
extern "C" {
pub fn zend_get_constant_ptr(name: *mut zend_string) -> *mut zend_constant;
}
extern "C" {
pub fn zend_get_constant_str(name: *const ::std::os::raw::c_char, name_len: usize)
-> *mut zval;
}
extern "C" {
pub fn zend_get_constant_ex(
name: *mut zend_string,
scope: *mut zend_class_entry,
flags: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_get_class_constant_ex(
class_name: *mut zend_string,
constant_name: *mut zend_string,
scope: *mut zend_class_entry,
flags: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_register_bool_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
bval: bool,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> *mut zend_constant;
}
extern "C" {
pub fn zend_register_null_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> *mut zend_constant;
}
extern "C" {
pub fn zend_register_long_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
lval: zend_long,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> *mut zend_constant;
}
extern "C" {
pub fn zend_register_double_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
dval: f64,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> *mut zend_constant;
}
extern "C" {
pub fn zend_register_string_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
strval: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> *mut zend_constant;
}
extern "C" {
pub fn zend_register_stringl_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
strval: *const ::std::os::raw::c_char,
strlen: usize,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> *mut zend_constant;
}
extern "C" {
pub fn zend_register_constant(c: *mut zend_constant) -> *mut zend_constant;
}
extern "C" {
pub fn zend_constant_add_attributes(c: *mut zend_constant, attributes: *mut HashTable);
}
extern "C" {
pub fn _zend_get_special_const(
name: *const ::std::os::raw::c_char,
name_len: usize,
) -> *mut zend_constant;
}
extern "C" {
pub static mut zend_execute_ex:
::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
}
extern "C" {
pub static mut zend_execute_internal: ::std::option::Option<
unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
>;
}
extern "C" {
pub static mut zend_autoload: ::std::option::Option<
unsafe extern "C" fn(
name: *mut zend_string,
lc_name: *mut zend_string,
) -> *mut zend_class_entry,
>;
}
extern "C" {
pub fn zend_shutdown_executor_values(fast_shutdown: bool);
}
extern "C" {
pub fn zend_init_execute_data(
execute_data: *mut zend_execute_data,
op_array: *mut zend_op_array,
return_value: *mut zval,
);
}
extern "C" {
pub fn zend_init_func_execute_data(
execute_data: *mut zend_execute_data,
op_array: *mut zend_op_array,
return_value: *mut zval,
);
}
extern "C" {
pub fn zend_init_code_execute_data(
execute_data: *mut zend_execute_data,
op_array: *mut zend_op_array,
return_value: *mut zval,
);
}
extern "C" {
pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
}
extern "C" {
pub fn zend_is_valid_class_name(name: *mut zend_string) -> bool;
}
extern "C" {
pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_lookup_class_ex(
name: *mut zend_string,
lcname: *mut zend_string,
flags: u32,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
}
extern "C" {
pub fn zend_eval_string(
str_: *const ::std::os::raw::c_char,
retval_ptr: *mut zval,
string_name: *const ::std::os::raw::c_char,
) -> zend_result;
}
extern "C" {
pub fn zend_eval_stringl(
str_: *const ::std::os::raw::c_char,
str_len: usize,
retval_ptr: *mut zval,
string_name: *const ::std::os::raw::c_char,
) -> zend_result;
}
extern "C" {
pub fn zend_eval_string_ex(
str_: *const ::std::os::raw::c_char,
retval_ptr: *mut zval,
string_name: *const ::std::os::raw::c_char,
handle_exceptions: bool,
) -> zend_result;
}
extern "C" {
pub fn zend_eval_stringl_ex(
str_: *const ::std::os::raw::c_char,
str_len: usize,
retval_ptr: *mut zval,
string_name: *const ::std::os::raw::c_char,
handle_exceptions: bool,
) -> zend_result;
}
extern "C" {
pub static zend_pass_function: zend_internal_function;
}
extern "C" {
pub fn zend_missing_arg_error(execute_data: *const zend_execute_data);
}
extern "C" {
pub fn zend_deprecated_function(fbc: *const zend_function);
}
extern "C" {
pub fn zend_nodiscard_function(fbc: *const zend_function);
}
extern "C" {
pub fn zend_deprecated_class_constant(
c: *const zend_class_constant,
constant_name: *const zend_string,
);
}
extern "C" {
pub fn zend_deprecated_constant(c: *const zend_constant, constant_name: *const zend_string);
}
extern "C" {
pub fn zend_use_of_deprecated_trait(trait_: *mut zend_class_entry, used_by: *const zend_string);
}
extern "C" {
pub fn zend_false_to_array_deprecated();
}
extern "C" {
pub fn zend_param_must_be_ref(func: *const zend_function, arg_num: u32);
}
extern "C" {
pub fn zend_use_resource_as_offset(dim: *const zval);
}
extern "C" {
pub fn zend_call_stack_size_error();
}
extern "C" {
pub fn zend_verify_ref_assignable_zval(
ref_: *mut zend_reference,
zv: *mut zval,
strict: bool,
) -> bool;
}
pub const zend_verify_prop_assignable_by_ref_context_ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_ASSIGNMENT : zend_verify_prop_assignable_by_ref_context = 0 ;
pub const zend_verify_prop_assignable_by_ref_context_ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_MAGIC_GET : zend_verify_prop_assignable_by_ref_context = 1 ;
pub type zend_verify_prop_assignable_by_ref_context = ::std::os::raw::c_uint;
extern "C" {
pub fn zend_verify_prop_assignable_by_ref_ex(
prop_info: *const zend_property_info,
orig_val: *mut zval,
strict: bool,
context: zend_verify_prop_assignable_by_ref_context,
) -> bool;
}
extern "C" {
pub fn zend_verify_prop_assignable_by_ref(
prop_info: *const zend_property_info,
orig_val: *mut zval,
strict: bool,
) -> bool;
}
extern "C" {
pub fn zend_throw_ref_type_error_zval(prop: *const zend_property_info, zv: *const zval);
}
extern "C" {
pub fn zend_throw_ref_type_error_type(
prop1: *const zend_property_info,
prop2: *const zend_property_info,
zv: *const zval,
);
}
extern "C" {
pub fn zend_undefined_offset_write(ht: *mut HashTable, lval: zend_long) -> *mut zval;
}
extern "C" {
pub fn zend_undefined_index_write(ht: *mut HashTable, offset: *mut zend_string) -> *mut zval;
}
extern "C" {
pub fn zend_wrong_string_offset_error();
}
extern "C" {
pub fn zend_readonly_property_modification_error(info: *const zend_property_info);
}
extern "C" {
pub fn zend_readonly_property_modification_error_ex(
class_name: *const ::std::os::raw::c_char,
prop_name: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_readonly_property_indirect_modification_error(info: *const zend_property_info);
}
extern "C" {
pub fn zend_invalid_class_constant_type_error(type_: u8);
}
extern "C" {
pub fn zend_object_released_while_assigning_to_property_error(info: *const zend_property_info);
}
extern "C" {
pub fn zend_cannot_add_element();
}
extern "C" {
pub fn zend_asymmetric_visibility_property_modification_error(
prop_info: *const zend_property_info,
operation: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_verify_scalar_type_hint(
type_mask: u32,
arg: *mut zval,
strict: bool,
is_internal_arg: bool,
) -> bool;
}
extern "C" {
pub fn zend_verify_arg_error(
zf: *const zend_function,
arg_info: *const zend_arg_info,
arg_num: u32,
value: *const zval,
);
}
extern "C" {
pub fn zend_verify_return_error(zf: *const zend_function, value: *const zval);
}
extern "C" {
pub fn zend_verify_never_error(zf: *const zend_function);
}
extern "C" {
pub fn zend_verify_ref_array_assignable(ref_: *mut zend_reference) -> bool;
}
extern "C" {
pub fn zend_check_user_type_slow(
type_: *const zend_type,
arg: *mut zval,
ref_: *const zend_reference,
is_return_type: bool,
) -> bool;
}
extern "C" {
pub fn zend_ref_add_type_source(
source_list: *mut zend_property_info_source_list,
prop: *mut zend_property_info,
);
}
extern "C" {
pub fn zend_ref_del_type_source(
source_list: *mut zend_property_info_source_list,
prop: *const zend_property_info,
);
}
extern "C" {
pub fn zend_assign_to_typed_ref(
variable_ptr: *mut zval,
value: *mut zval,
value_type: u8,
strict: bool,
) -> *mut zval;
}
extern "C" {
pub fn zend_assign_to_typed_ref_ex(
variable_ptr: *mut zval,
value: *mut zval,
value_type: u8,
strict: bool,
garbage_ptr: *mut *mut zend_refcounted,
) -> *mut zval;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_vm_stack {
pub top: *mut zval,
pub end: *mut zval,
pub prev: zend_vm_stack,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_vm_stack"][::std::mem::size_of::<_zend_vm_stack>() - 24usize];
["Alignment of _zend_vm_stack"][::std::mem::align_of::<_zend_vm_stack>() - 8usize];
["Offset of field: _zend_vm_stack::top"][::std::mem::offset_of!(_zend_vm_stack, top) - 0usize];
["Offset of field: _zend_vm_stack::end"][::std::mem::offset_of!(_zend_vm_stack, end) - 8usize];
["Offset of field: _zend_vm_stack::prev"]
[::std::mem::offset_of!(_zend_vm_stack, prev) - 16usize];
};
extern "C" {
pub fn zend_vm_stack_init();
}
extern "C" {
pub fn zend_vm_stack_init_ex(page_size: usize);
}
extern "C" {
pub fn zend_vm_stack_destroy();
}
extern "C" {
pub fn zend_vm_stack_extend(size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_vm_stack_copy_call_frame(
call: *mut zend_execute_data,
passed_args: u32,
additional_args: u32,
) -> *mut zend_execute_data;
}
extern "C" {
pub fn zend_free_extra_named_params(extra_named_params: *mut zend_array);
}
extern "C" {
pub fn zend_active_function_ex(execute_data: *mut zend_execute_data) -> *mut zend_function;
}
extern "C" {
pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_get_executed_filename_ex() -> *mut zend_string;
}
extern "C" {
pub fn zend_get_executed_lineno() -> u32;
}
extern "C" {
pub fn zend_get_executed_scope() -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_is_executing() -> bool;
}
extern "C" {
pub fn zend_cannot_pass_by_reference(arg_num: u32);
}
extern "C" {
pub fn zend_set_timeout(seconds: zend_long, reset_signals: bool);
}
extern "C" {
pub fn zend_unset_timeout();
}
extern "C" {
pub fn zend_timeout() -> !;
}
extern "C" {
pub fn zend_fetch_class(class_name: *mut zend_string, fetch_type: u32)
-> *mut zend_class_entry;
}
extern "C" {
pub fn zend_fetch_class_with_scope(
class_name: *mut zend_string,
fetch_type: u32,
scope: *mut zend_class_entry,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_fetch_class_by_name(
class_name: *mut zend_string,
lcname: *mut zend_string,
fetch_type: u32,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_fetch_function(name: *mut zend_string) -> *mut zend_function;
}
extern "C" {
pub fn zend_fetch_function_str(
name: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zend_function;
}
extern "C" {
pub fn zend_init_func_run_time_cache(op_array: *mut zend_op_array);
}
extern "C" {
pub fn zend_fetch_dimension_const(
result: *mut zval,
container: *mut zval,
dim: *mut zval,
type_: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_get_compiled_variable_value(
execute_data_ptr: *const zend_execute_data,
var: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_gcc_global_regs() -> bool;
}
extern "C" {
pub fn zend_set_user_opcode_handler(opcode: u8, handler: user_opcode_handler_t) -> zend_result;
}
extern "C" {
pub fn zend_get_user_opcode_handler(opcode: u8) -> user_opcode_handler_t;
}
extern "C" {
pub fn zend_get_zval_ptr(
opline: *const zend_op,
op_type: ::std::os::raw::c_int,
node: *const znode_op,
execute_data: *const zend_execute_data,
) -> *mut zval;
}
extern "C" {
pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
}
extern "C" {
pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
}
extern "C" {
pub fn zend_unfinished_calls_gc(
execute_data: *mut zend_execute_data,
call: *mut zend_execute_data,
op_num: u32,
buf: *mut zend_get_gc_buffer,
);
}
extern "C" {
pub fn zend_cleanup_unfinished_execution(
execute_data: *mut zend_execute_data,
op_num: u32,
catch_op_num: u32,
);
}
extern "C" {
pub fn zend_unfinished_execution_gc(
execute_data: *mut zend_execute_data,
call: *mut zend_execute_data,
gc_buffer: *mut zend_get_gc_buffer,
) -> *mut HashTable;
}
extern "C" {
pub fn zend_unfinished_execution_gc_ex(
execute_data: *mut zend_execute_data,
call: *mut zend_execute_data,
gc_buffer: *mut zend_get_gc_buffer,
suspended_by_yield: bool,
) -> *mut HashTable;
}
extern "C" {
pub fn zend_fetch_static_property(
ex: *mut zend_execute_data,
fetch_type: ::std::os::raw::c_int,
) -> *mut zval;
}
extern "C" {
pub fn zend_undefined_method(ce: *const zend_class_entry, method: *const zend_string);
}
extern "C" {
pub fn zend_non_static_method_call(fbc: *const zend_function);
}
extern "C" {
pub fn zend_frameless_observed_call(execute_data: *mut zend_execute_data);
}
extern "C" {
pub fn zend_handle_named_arg(
call_ptr: *mut *mut zend_execute_data,
arg_name: *mut zend_string,
arg_num_ptr: *mut u32,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> *mut zval;
}
extern "C" {
pub fn zend_handle_undef_args(call: *mut zend_execute_data) -> zend_result;
}
extern "C" {
pub fn zend_verify_class_constant_type(
c: *const zend_class_constant,
name: *const zend_string,
constant: *mut zval,
) -> bool;
}
extern "C" {
pub fn zend_verify_class_constant_type_error(
c: *const zend_class_constant,
name: *const zend_string,
constant: *const zval,
);
}
extern "C" {
pub fn zend_verify_property_type(
info: *const zend_property_info,
property: *mut zval,
strict: bool,
) -> bool;
}
extern "C" {
pub fn zend_verify_property_type_error(info: *const zend_property_info, property: *const zval);
}
extern "C" {
pub fn zend_magic_get_property_type_inconsistency_error(
info: *const zend_property_info,
property: *const zval,
);
}
extern "C" {
pub fn zend_match_unhandled_error(value: *const zval);
}
extern "C" {
pub fn zend_fcall_interrupt(call: *mut zend_execute_data);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_function_entry {
pub fname: *const ::std::os::raw::c_char,
pub handler: zif_handler,
pub arg_info: *const _zend_internal_arg_info,
pub num_args: u32,
pub flags: u32,
pub frameless_function_infos: *const zend_frameless_function_info,
pub doc_comment: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_function_entry"][::std::mem::size_of::<_zend_function_entry>() - 48usize];
["Alignment of _zend_function_entry"][::std::mem::align_of::<_zend_function_entry>() - 8usize];
["Offset of field: _zend_function_entry::fname"]
[::std::mem::offset_of!(_zend_function_entry, fname) - 0usize];
["Offset of field: _zend_function_entry::handler"]
[::std::mem::offset_of!(_zend_function_entry, handler) - 8usize];
["Offset of field: _zend_function_entry::arg_info"]
[::std::mem::offset_of!(_zend_function_entry, arg_info) - 16usize];
["Offset of field: _zend_function_entry::num_args"]
[::std::mem::offset_of!(_zend_function_entry, num_args) - 24usize];
["Offset of field: _zend_function_entry::flags"]
[::std::mem::offset_of!(_zend_function_entry, flags) - 28usize];
["Offset of field: _zend_function_entry::frameless_function_infos"]
[::std::mem::offset_of!(_zend_function_entry, frameless_function_infos) - 32usize];
["Offset of field: _zend_function_entry::doc_comment"]
[::std::mem::offset_of!(_zend_function_entry, doc_comment) - 40usize];
};
pub type zend_function_entry = _zend_function_entry;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_fcall_info {
pub size: usize,
pub function_name: zval,
pub retval: *mut zval,
pub params: *mut zval,
pub object: *mut zend_object,
pub param_count: u32,
pub named_params: *mut HashTable,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_fcall_info"][::std::mem::size_of::<_zend_fcall_info>() - 64usize];
["Alignment of _zend_fcall_info"][::std::mem::align_of::<_zend_fcall_info>() - 8usize];
["Offset of field: _zend_fcall_info::size"]
[::std::mem::offset_of!(_zend_fcall_info, size) - 0usize];
["Offset of field: _zend_fcall_info::function_name"]
[::std::mem::offset_of!(_zend_fcall_info, function_name) - 8usize];
["Offset of field: _zend_fcall_info::retval"]
[::std::mem::offset_of!(_zend_fcall_info, retval) - 24usize];
["Offset of field: _zend_fcall_info::params"]
[::std::mem::offset_of!(_zend_fcall_info, params) - 32usize];
["Offset of field: _zend_fcall_info::object"]
[::std::mem::offset_of!(_zend_fcall_info, object) - 40usize];
["Offset of field: _zend_fcall_info::param_count"]
[::std::mem::offset_of!(_zend_fcall_info, param_count) - 48usize];
["Offset of field: _zend_fcall_info::named_params"]
[::std::mem::offset_of!(_zend_fcall_info, named_params) - 56usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_fcall_info_cache {
pub function_handler: *mut zend_function,
pub calling_scope: *mut zend_class_entry,
pub called_scope: *mut zend_class_entry,
pub object: *mut zend_object,
pub closure: *mut zend_object,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_fcall_info_cache"][::std::mem::size_of::<_zend_fcall_info_cache>() - 40usize];
["Alignment of _zend_fcall_info_cache"]
[::std::mem::align_of::<_zend_fcall_info_cache>() - 8usize];
["Offset of field: _zend_fcall_info_cache::function_handler"]
[::std::mem::offset_of!(_zend_fcall_info_cache, function_handler) - 0usize];
["Offset of field: _zend_fcall_info_cache::calling_scope"]
[::std::mem::offset_of!(_zend_fcall_info_cache, calling_scope) - 8usize];
["Offset of field: _zend_fcall_info_cache::called_scope"]
[::std::mem::offset_of!(_zend_fcall_info_cache, called_scope) - 16usize];
["Offset of field: _zend_fcall_info_cache::object"]
[::std::mem::offset_of!(_zend_fcall_info_cache, object) - 24usize];
["Offset of field: _zend_fcall_info_cache::closure"]
[::std::mem::offset_of!(_zend_fcall_info_cache, closure) - 32usize];
};
extern "C" {
pub fn zend_next_free_module() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_set_dl_use_deepbind(use_deepbind: bool);
}
extern "C" {
pub fn zend_get_parameters_array_ex(param_count: u32, argument_array: *mut zval)
-> zend_result;
}
extern "C" {
pub fn zend_copy_parameters_array(param_count: u32, argument_array: *mut zval) -> zend_result;
}
extern "C" {
pub fn zend_parse_parameters(
num_args: u32,
type_spec: *const ::std::os::raw::c_char,
...
) -> zend_result;
}
extern "C" {
pub fn zend_parse_parameters_ex(
flags: ::std::os::raw::c_int,
num_args: u32,
type_spec: *const ::std::os::raw::c_char,
...
) -> zend_result;
}
extern "C" {
pub fn zend_zval_type_name(arg: *const zval) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_zval_value_name(arg: *const zval) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_zval_get_legacy_type(arg: *const zval) -> *mut zend_string;
}
extern "C" {
pub fn zend_parse_method_parameters(
num_args: u32,
this_ptr: *mut zval,
type_spec: *const ::std::os::raw::c_char,
...
) -> zend_result;
}
extern "C" {
pub fn zend_parse_method_parameters_ex(
flags: ::std::os::raw::c_int,
num_args: u32,
this_ptr: *mut zval,
type_spec: *const ::std::os::raw::c_char,
...
) -> zend_result;
}
extern "C" {
pub fn zend_parse_parameter(
flags: ::std::os::raw::c_int,
arg_num: u32,
arg: *mut zval,
spec: *const ::std::os::raw::c_char,
...
) -> zend_result;
}
extern "C" {
pub fn zend_register_functions(
scope: *mut zend_class_entry,
functions: *const zend_function_entry,
function_table: *mut HashTable,
type_: ::std::os::raw::c_int,
) -> zend_result;
}
extern "C" {
pub fn zend_unregister_functions(
functions: *const zend_function_entry,
count: ::std::os::raw::c_int,
function_table: *mut HashTable,
);
}
extern "C" {
pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> zend_result;
}
extern "C" {
pub fn zend_register_internal_module(
module_entry: *mut zend_module_entry,
) -> *mut zend_module_entry;
}
extern "C" {
pub fn zend_register_module_ex(
module: *mut zend_module_entry,
module_type: ::std::os::raw::c_int,
) -> *mut zend_module_entry;
}
extern "C" {
pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> zend_result;
}
extern "C" {
pub fn zend_startup_modules();
}
extern "C" {
pub fn zend_collect_module_handlers();
}
extern "C" {
pub fn zend_destroy_modules();
}
extern "C" {
pub fn zend_check_magic_method_implementation(
ce: *const zend_class_entry,
fptr: *const zend_function,
lcname: *mut zend_string,
error_type: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_add_magic_method(
ce: *mut zend_class_entry,
fptr: *mut zend_function,
lcname: *mut zend_string,
);
}
extern "C" {
pub fn zend_register_internal_class(
class_entry: *mut zend_class_entry,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_register_internal_class_ex(
class_entry: *mut zend_class_entry,
parent_ce: *mut zend_class_entry,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_register_internal_class_with_flags(
class_entry: *mut zend_class_entry,
parent_ce: *mut zend_class_entry,
flags: u32,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_register_internal_interface(
orig_class_entry: *mut zend_class_entry,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_class_implements(
class_entry: *mut zend_class_entry,
num_interfaces: ::std::os::raw::c_int,
...
);
}
extern "C" {
pub fn zend_register_class_alias_ex(
name: *const ::std::os::raw::c_char,
name_len: usize,
ce: *mut zend_class_entry,
persistent: bool,
) -> zend_result;
}
extern "C" {
pub fn zend_disable_functions(function_list: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn zend_wrong_param_count();
}
extern "C" {
pub fn zend_wrong_property_read(object: *mut zval, property: *mut zval);
}
extern "C" {
pub fn zend_release_fcall_info_cache(fcc: *mut zend_fcall_info_cache);
}
extern "C" {
pub fn zend_get_callable_name_ex(
callable: *mut zval,
object: *mut zend_object,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_get_callable_name(callable: *mut zval) -> *mut zend_string;
}
extern "C" {
pub fn zend_is_callable_at_frame(
callable: *mut zval,
object: *mut zend_object,
frame: *mut zend_execute_data,
check_flags: u32,
fcc: *mut zend_fcall_info_cache,
error: *mut *mut ::std::os::raw::c_char,
) -> bool;
}
extern "C" {
pub fn zend_is_callable_ex(
callable: *mut zval,
object: *mut zend_object,
check_flags: u32,
callable_name: *mut *mut zend_string,
fcc: *mut zend_fcall_info_cache,
error: *mut *mut ::std::os::raw::c_char,
) -> bool;
}
extern "C" {
pub fn zend_is_callable(
callable: *mut zval,
check_flags: u32,
callable_name: *mut *mut zend_string,
) -> bool;
}
extern "C" {
pub fn zend_make_callable(callable: *mut zval, callable_name: *mut *mut zend_string) -> bool;
}
extern "C" {
pub fn zend_get_module_version(
module_name: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_get_module_started(module_name: *const ::std::os::raw::c_char) -> zend_result;
}
extern "C" {
pub fn zend_declare_typed_property(
ce: *mut zend_class_entry,
name: *mut zend_string,
property: *mut zval,
access_type: ::std::os::raw::c_int,
doc_comment: *mut zend_string,
type_: zend_type,
) -> *mut zend_property_info;
}
extern "C" {
pub fn zend_declare_property_ex(
ce: *mut zend_class_entry,
name: *mut zend_string,
property: *mut zval,
access_type: ::std::os::raw::c_int,
doc_comment: *mut zend_string,
);
}
extern "C" {
pub fn zend_declare_property(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
property: *mut zval,
access_type: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_declare_property_null(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
access_type: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_declare_property_bool(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
access_type: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_declare_property_long(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
access_type: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_declare_property_double(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: f64,
access_type: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_declare_property_string(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
access_type: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_declare_property_stringl(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
value_len: usize,
access_type: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_declare_typed_class_constant(
ce: *mut zend_class_entry,
name: *mut zend_string,
value: *mut zval,
access_type: ::std::os::raw::c_int,
doc_comment: *mut zend_string,
type_: zend_type,
) -> *mut zend_class_constant;
}
extern "C" {
pub fn zend_declare_class_constant_ex(
ce: *mut zend_class_entry,
name: *mut zend_string,
value: *mut zval,
access_type: ::std::os::raw::c_int,
doc_comment: *mut zend_string,
) -> *mut zend_class_constant;
}
extern "C" {
pub fn zend_declare_class_constant(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *mut zval,
);
}
extern "C" {
pub fn zend_declare_class_constant_null(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
);
}
extern "C" {
pub fn zend_declare_class_constant_long(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
);
}
extern "C" {
pub fn zend_declare_class_constant_bool(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: bool,
);
}
extern "C" {
pub fn zend_declare_class_constant_double(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: f64,
);
}
extern "C" {
pub fn zend_declare_class_constant_stringl(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
value_length: usize,
);
}
extern "C" {
pub fn zend_declare_class_constant_string(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_update_class_constant(
c: *mut zend_class_constant,
name: *const zend_string,
scope: *mut zend_class_entry,
) -> zend_result;
}
extern "C" {
pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> zend_result;
}
extern "C" {
pub fn zend_separate_class_constants_table(class_type: *mut zend_class_entry)
-> *mut HashTable;
}
extern "C" {
pub fn zend_update_property_ex(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *mut zend_string,
value: *mut zval,
);
}
extern "C" {
pub fn zend_update_property(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *mut zval,
);
}
extern "C" {
pub fn zend_update_property_null(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
);
}
extern "C" {
pub fn zend_update_property_bool(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
);
}
extern "C" {
pub fn zend_update_property_long(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
);
}
extern "C" {
pub fn zend_update_property_double(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: f64,
);
}
extern "C" {
pub fn zend_update_property_str(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *mut zend_string,
);
}
extern "C" {
pub fn zend_update_property_string(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_update_property_stringl(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
value_length: usize,
);
}
extern "C" {
pub fn zend_unset_property(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
);
}
extern "C" {
pub fn zend_update_static_property_ex(
scope: *mut zend_class_entry,
name: *mut zend_string,
value: *mut zval,
) -> zend_result;
}
extern "C" {
pub fn zend_update_static_property(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *mut zval,
) -> zend_result;
}
extern "C" {
pub fn zend_update_static_property_null(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
) -> zend_result;
}
extern "C" {
pub fn zend_update_static_property_bool(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
) -> zend_result;
}
extern "C" {
pub fn zend_update_static_property_long(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
) -> zend_result;
}
extern "C" {
pub fn zend_update_static_property_double(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: f64,
) -> zend_result;
}
extern "C" {
pub fn zend_update_static_property_string(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
) -> zend_result;
}
extern "C" {
pub fn zend_update_static_property_stringl(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
value_length: usize,
) -> zend_result;
}
extern "C" {
pub fn zend_read_property_ex(
scope: *mut zend_class_entry,
object: *mut zend_object,
name: *mut zend_string,
silent: bool,
rv: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_read_property(
scope: *mut zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
silent: bool,
rv: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_read_static_property_ex(
scope: *mut zend_class_entry,
name: *mut zend_string,
silent: bool,
) -> *mut zval;
}
extern "C" {
pub fn zend_read_static_property(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
silent: bool,
) -> *mut zval;
}
extern "C" {
pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
}
extern "C" {
#[doc = " Build zend_call_info/cache from a zval*\n\n Caller is responsible to provide a return value (fci->retval), otherwise the we will crash.\n In order to pass parameters the following members need to be set:\n fci->param_count = 0;\n fci->params = NULL;\n The callable_name argument may be NULL."]
pub fn zend_fcall_info_init(
callable: *mut zval,
check_flags: u32,
fci: *mut zend_fcall_info,
fcc: *mut zend_fcall_info_cache,
callable_name: *mut *mut zend_string,
error: *mut *mut ::std::os::raw::c_char,
) -> zend_result;
}
extern "C" {
#[doc = " Clear arguments connected with zend_fcall_info *fci\n If free_mem is not zero then the params array gets free'd as well"]
pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: bool);
}
extern "C" {
#[doc = " Save current arguments from zend_fcall_info *fci\n params array will be set to NULL"]
pub fn zend_fcall_info_args_save(
fci: *mut zend_fcall_info,
param_count: *mut u32,
params: *mut *mut zval,
);
}
extern "C" {
#[doc = " Free arguments connected with zend_fcall_info *fci and set back saved ones."]
pub fn zend_fcall_info_args_restore(
fci: *mut zend_fcall_info,
param_count: u32,
params: *mut zval,
);
}
extern "C" {
#[doc = " Set or clear the arguments in the zend_call_info struct taking care of\n refcount. If args is NULL and arguments are set then those are cleared."]
pub fn zend_fcall_info_args(fci: *mut zend_fcall_info, args: *mut zval) -> zend_result;
}
extern "C" {
pub fn zend_fcall_info_args_ex(
fci: *mut zend_fcall_info,
func: *mut zend_function,
args: *mut zval,
) -> zend_result;
}
extern "C" {
#[doc = " Set arguments in the zend_fcall_info struct taking care of refcount.\n If argc is 0 the arguments which are set will be cleared, else pass\n a variable amount of zval** arguments."]
pub fn zend_fcall_info_argp(fci: *mut zend_fcall_info, argc: u32, argv: *mut zval);
}
extern "C" {
#[doc = " Set arguments in the zend_fcall_info struct taking care of refcount.\n If argc is 0 the arguments which are set will be cleared, else pass\n a variable amount of zval** arguments."]
pub fn zend_fcall_info_argv(fci: *mut zend_fcall_info, argc: u32, argv: *mut va_list);
}
extern "C" {
#[doc = " Set arguments in the zend_fcall_info struct taking care of refcount.\n If argc is 0 the arguments which are set will be cleared, else pass\n a variable amount of zval** arguments."]
pub fn zend_fcall_info_argn(fci: *mut zend_fcall_info, argc: u32, ...);
}
extern "C" {
#[doc = " Call a function using information created by zend_fcall_info_init()/args().\n If args is given then those replace the argument info in fci is temporarily."]
pub fn zend_fcall_info_call(
fci: *mut zend_fcall_info,
fcc: *mut zend_fcall_info_cache,
retval: *mut zval,
args: *mut zval,
) -> zend_result;
}
extern "C" {
pub fn zend_get_callable_zval_from_fcc(fcc: *const zend_fcall_info_cache, callable: *mut zval);
}
extern "C" {
pub fn zend_call_function(
fci: *mut zend_fcall_info,
fci_cache: *mut zend_fcall_info_cache,
) -> zend_result;
}
extern "C" {
pub fn zend_call_known_function(
fn_: *mut zend_function,
object: *mut zend_object,
called_scope: *mut zend_class_entry,
retval_ptr: *mut zval,
param_count: u32,
params: *mut zval,
named_params: *mut HashTable,
);
}
extern "C" {
pub fn zend_call_known_instance_method_with_2_params(
fn_: *mut zend_function,
object: *mut zend_object,
retval_ptr: *mut zval,
param1: *mut zval,
param2: *mut zval,
);
}
extern "C" {
pub fn zend_call_method_if_exists(
object: *mut zend_object,
method_name: *mut zend_string,
retval: *mut zval,
param_count: u32,
params: *mut zval,
) -> zend_result;
}
extern "C" {
pub fn zend_set_hash_symbol(
symbol: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
is_ref: bool,
num_symbol_tables: ::std::os::raw::c_int,
...
) -> zend_result;
}
extern "C" {
pub fn zend_delete_global_variable(name: *mut zend_string) -> zend_result;
}
extern "C" {
pub fn zend_rebuild_symbol_table() -> *mut zend_array;
}
extern "C" {
pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
}
extern "C" {
pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
}
extern "C" {
pub fn zend_set_local_var(name: *mut zend_string, value: *mut zval, force: bool)
-> zend_result;
}
extern "C" {
pub fn zend_set_local_var_str(
name: *const ::std::os::raw::c_char,
len: usize,
value: *mut zval,
force: bool,
) -> zend_result;
}
extern "C" {
pub fn zend_get_object_type_case(
ce: *const zend_class_entry,
upper_case: bool,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_is_iterable(iterable: *const zval) -> bool;
}
extern "C" {
pub fn zend_is_countable(countable: *const zval) -> bool;
}
extern "C" {
pub fn zend_get_default_from_internal_arg_info(
default_value_zval: *mut zval,
arg_info: *mut zend_internal_arg_info,
) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_ex(
ref_: *mut zend_reference,
zv: *mut zval,
strict: bool,
) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_null(ref_: *mut zend_reference) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_bool(ref_: *mut zend_reference, val: bool) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_long(
ref_: *mut zend_reference,
lval: zend_long,
) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_double(ref_: *mut zend_reference, dval: f64) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_empty_string(ref_: *mut zend_reference) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_str(
ref_: *mut zend_reference,
str_: *mut zend_string,
) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_string(
ref_: *mut zend_reference,
string: *const ::std::os::raw::c_char,
) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_stringl(
ref_: *mut zend_reference,
string: *const ::std::os::raw::c_char,
len: usize,
) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_arr(
ref_: *mut zend_reference,
arr: *mut zend_array,
) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_res(
ref_: *mut zend_reference,
res: *mut zend_resource,
) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_zval(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
}
extern "C" {
pub fn zend_try_assign_typed_ref_zval_ex(
ref_: *mut zend_reference,
zv: *mut zval,
strict: bool,
) -> zend_result;
}
pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
pub const _zend_expected_type_Z_EXPECTED_LONG_OR_NULL: _zend_expected_type = 1;
pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 2;
pub const _zend_expected_type_Z_EXPECTED_BOOL_OR_NULL: _zend_expected_type = 3;
pub const _zend_expected_type_Z_EXPECTED_STRING: _zend_expected_type = 4;
pub const _zend_expected_type_Z_EXPECTED_STRING_OR_NULL: _zend_expected_type = 5;
pub const _zend_expected_type_Z_EXPECTED_ARRAY: _zend_expected_type = 6;
pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_NULL: _zend_expected_type = 7;
pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_LONG: _zend_expected_type = 8;
pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_LONG_OR_NULL: _zend_expected_type = 9;
pub const _zend_expected_type_Z_EXPECTED_ITERABLE: _zend_expected_type = 10;
pub const _zend_expected_type_Z_EXPECTED_ITERABLE_OR_NULL: _zend_expected_type = 11;
pub const _zend_expected_type_Z_EXPECTED_FUNC: _zend_expected_type = 12;
pub const _zend_expected_type_Z_EXPECTED_FUNC_OR_NULL: _zend_expected_type = 13;
pub const _zend_expected_type_Z_EXPECTED_RESOURCE: _zend_expected_type = 14;
pub const _zend_expected_type_Z_EXPECTED_RESOURCE_OR_NULL: _zend_expected_type = 15;
pub const _zend_expected_type_Z_EXPECTED_PATH: _zend_expected_type = 16;
pub const _zend_expected_type_Z_EXPECTED_PATH_OR_NULL: _zend_expected_type = 17;
pub const _zend_expected_type_Z_EXPECTED_OBJECT: _zend_expected_type = 18;
pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_NULL: _zend_expected_type = 19;
pub const _zend_expected_type_Z_EXPECTED_DOUBLE: _zend_expected_type = 20;
pub const _zend_expected_type_Z_EXPECTED_DOUBLE_OR_NULL: _zend_expected_type = 21;
pub const _zend_expected_type_Z_EXPECTED_NUMBER: _zend_expected_type = 22;
pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_NULL: _zend_expected_type = 23;
pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_STRING: _zend_expected_type = 24;
pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_STRING_OR_NULL: _zend_expected_type = 25;
pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_STRING: _zend_expected_type = 26;
pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_STRING_OR_NULL: _zend_expected_type = 27;
pub const _zend_expected_type_Z_EXPECTED_STRING_OR_LONG: _zend_expected_type = 28;
pub const _zend_expected_type_Z_EXPECTED_STRING_OR_LONG_OR_NULL: _zend_expected_type = 29;
pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_CLASS_NAME: _zend_expected_type = 30;
pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_CLASS_NAME_OR_NULL: _zend_expected_type = 31;
pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_STRING: _zend_expected_type = 32;
pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_STRING_OR_NULL: _zend_expected_type = 33;
pub const _zend_expected_type_Z_EXPECTED_LAST: _zend_expected_type = 34;
pub type _zend_expected_type = ::std::os::raw::c_uint;
pub use self::_zend_expected_type as zend_expected_type;
extern "C" {
pub fn zend_wrong_parameters_none_error();
}
extern "C" {
pub fn zend_wrong_parameters_count_error(min_num_args: u32, max_num_args: u32);
}
extern "C" {
pub fn zend_wrong_parameter_error(
error_code: ::std::os::raw::c_int,
num: u32,
name: *mut ::std::os::raw::c_char,
expected_type: zend_expected_type,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_parameter_type_error(
num: u32,
expected_type: zend_expected_type,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_parameter_class_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_parameter_class_or_null_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_parameter_class_or_long_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_parameter_class_or_long_or_null_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_parameter_class_or_string_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_parameter_class_or_string_or_null_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_callback_error(num: u32, error: *mut ::std::os::raw::c_char);
}
extern "C" {
pub fn zend_wrong_callback_or_null_error(num: u32, error: *mut ::std::os::raw::c_char);
}
extern "C" {
pub fn zend_unexpected_extra_named_error();
}
extern "C" {
pub fn zend_argument_error_variadic(
error_ce: *mut zend_class_entry,
arg_num: u32,
format: *const ::std::os::raw::c_char,
va: *mut __va_list_tag,
);
}
extern "C" {
pub fn zend_argument_error(
error_ce: *mut zend_class_entry,
arg_num: u32,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_argument_type_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn zend_argument_value_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn zend_argument_must_not_be_empty_error(arg_num: u32);
}
extern "C" {
pub fn zend_class_redeclaration_error(
type_: ::std::os::raw::c_int,
old_ce: *mut zend_class_entry,
);
}
extern "C" {
pub fn zend_class_redeclaration_error_ex(
type_: ::std::os::raw::c_int,
new_name: *mut zend_string,
old_ce: *mut zend_class_entry,
);
}
extern "C" {
pub fn zend_parse_arg_class(
arg: *mut zval,
pce: *mut *mut zend_class_entry,
num: u32,
check_null: bool,
) -> bool;
}
extern "C" {
pub fn zend_parse_arg_bool_slow(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
}
extern "C" {
pub fn zend_parse_arg_bool_weak(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
}
extern "C" {
pub fn zend_parse_arg_long_slow(arg: *const zval, dest: *mut zend_long, arg_num: u32) -> bool;
}
extern "C" {
pub fn zend_parse_arg_long_weak(arg: *const zval, dest: *mut zend_long, arg_num: u32) -> bool;
}
extern "C" {
pub fn zend_parse_arg_double_slow(arg: *const zval, dest: *mut f64, arg_num: u32) -> bool;
}
extern "C" {
pub fn zend_parse_arg_double_weak(arg: *const zval, dest: *mut f64, arg_num: u32) -> bool;
}
extern "C" {
pub fn zend_parse_arg_str_slow(
arg: *mut zval,
dest: *mut *mut zend_string,
arg_num: u32,
) -> bool;
}
extern "C" {
pub fn zend_parse_arg_str_weak(
arg: *mut zval,
dest: *mut *mut zend_string,
arg_num: u32,
) -> bool;
}
extern "C" {
pub fn zend_parse_arg_number_slow(arg: *mut zval, dest: *mut *mut zval, arg_num: u32) -> bool;
}
extern "C" {
pub fn zend_parse_arg_number_or_str_slow(
arg: *mut zval,
dest: *mut *mut zval,
arg_num: u32,
) -> bool;
}
extern "C" {
pub fn zend_parse_arg_str_or_long_slow(
arg: *mut zval,
dest_str: *mut *mut zend_string,
dest_long: *mut zend_long,
arg_num: u32,
) -> bool;
}
extern "C" {
pub fn zend_flf_parse_arg_bool_slow(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
}
extern "C" {
pub fn zend_flf_parse_arg_str_slow(
arg: *mut zval,
dest: *mut *mut zend_string,
arg_num: u32,
) -> bool;
}
extern "C" {
pub fn zend_flf_parse_arg_long_slow(
arg: *const zval,
dest: *mut zend_long,
arg_num: u32,
) -> bool;
}
extern "C" {
pub fn php_strlcpy(
dst: *mut ::std::os::raw::c_char,
src: *const ::std::os::raw::c_char,
siz: usize,
) -> usize;
}
extern "C" {
pub fn php_strlcat(
dst: *mut ::std::os::raw::c_char,
src: *const ::std::os::raw::c_char,
siz: usize,
) -> usize;
}
extern "C" {
pub fn php_safe_bcmp(a: *const zend_string, b: *const zend_string) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_0cvt(
value: f64,
ndigit: ::std::os::raw::c_int,
dec_point: ::std::os::raw::c_char,
exponent: ::std::os::raw::c_char,
buf: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn php_conv_fp(
format: ::std::os::raw::c_char,
num: f64,
add_dp: bool,
precision: ::std::os::raw::c_int,
dec_point: ::std::os::raw::c_char,
is_negative: *mut bool,
buf: *mut ::std::os::raw::c_char,
len: *mut usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn php_printf_to_smart_string(
buf: *mut smart_string,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
);
}
extern "C" {
pub fn php_printf_to_smart_str(
buf: *mut smart_str,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
);
}
extern "C" {
pub static php_build_date: [::std::os::raw::c_char; 0usize];
}
extern "C" {
pub fn php_write(buf: *mut ::std::os::raw::c_void, size: usize) -> usize;
}
extern "C" {
pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> usize;
}
extern "C" {
pub fn php_printf_unchecked(format: *const ::std::os::raw::c_char, ...) -> usize;
}
extern "C" {
pub fn php_during_module_startup() -> bool;
}
extern "C" {
pub fn php_during_module_shutdown() -> bool;
}
extern "C" {
pub fn php_get_module_initialized() -> bool;
}
extern "C" {
pub fn php_syslog_str(priority: ::std::os::raw::c_int, message: *const zend_string);
}
extern "C" {
pub fn php_syslog(arg1: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn php_openlog(
arg1: *const ::std::os::raw::c_char,
arg2: ::std::os::raw::c_int,
arg3: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn php_closelog();
}
extern "C" {
pub fn php_log_err_with_severity(
log_message: *const ::std::os::raw::c_char,
syslog_type_int: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn php_verror(
docref: *const ::std::os::raw::c_char,
params: *const ::std::os::raw::c_char,
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
args: *mut __va_list_tag,
);
}
extern "C" {
pub fn php_error_docref(
docref: *const ::std::os::raw::c_char,
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn php_error_docref_unchecked(
docref: *const ::std::os::raw::c_char,
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn php_error_docref1(
docref: *const ::std::os::raw::c_char,
param1: *const ::std::os::raw::c_char,
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn php_error_docref2(
docref: *const ::std::os::raw::c_char,
param1: *const ::std::os::raw::c_char,
param2: *const ::std::os::raw::c_char,
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub static mut php_register_internal_extensions_func:
::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
}
extern "C" {
pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_register_pre_request_shutdown(
func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
userdata: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn php_com_initialize();
}
extern "C" {
pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn php_get_internal_encoding() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn php_get_input_encoding() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn php_get_output_encoding() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub static mut php_internal_encoding_changed: ::std::option::Option<unsafe extern "C" fn()>;
}
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
0;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
1;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
2;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
3;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
4;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_output_buffer {
pub data: *mut ::std::os::raw::c_char,
pub size: usize,
pub used: usize,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
pub __bindgen_padding_0: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_output_buffer"][::std::mem::size_of::<_php_output_buffer>() - 32usize];
["Alignment of _php_output_buffer"][::std::mem::align_of::<_php_output_buffer>() - 8usize];
["Offset of field: _php_output_buffer::data"]
[::std::mem::offset_of!(_php_output_buffer, data) - 0usize];
["Offset of field: _php_output_buffer::size"]
[::std::mem::offset_of!(_php_output_buffer, size) - 8usize];
["Offset of field: _php_output_buffer::used"]
[::std::mem::offset_of!(_php_output_buffer, used) - 16usize];
};
impl _php_output_buffer {
#[inline]
pub fn free(&self) -> u32 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
}
#[inline]
pub fn set_free(&mut self, val: u32) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn _reserved(&self) -> u32 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
}
#[inline]
pub fn set__reserved(&mut self, val: u32) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(1usize, 31u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(free: u32, _reserved: u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let free: u32 = unsafe { ::std::mem::transmute(free) };
free as u64
});
__bindgen_bitfield_unit.set(1usize, 31u8, {
let _reserved: u32 = unsafe { ::std::mem::transmute(_reserved) };
_reserved as u64
});
__bindgen_bitfield_unit
}
}
pub type php_output_buffer = _php_output_buffer;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_output_context {
pub op: ::std::os::raw::c_int,
pub in_: php_output_buffer,
pub out: php_output_buffer,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_output_context"][::std::mem::size_of::<_php_output_context>() - 72usize];
["Alignment of _php_output_context"][::std::mem::align_of::<_php_output_context>() - 8usize];
["Offset of field: _php_output_context::op"]
[::std::mem::offset_of!(_php_output_context, op) - 0usize];
["Offset of field: _php_output_context::in_"]
[::std::mem::offset_of!(_php_output_context, in_) - 8usize];
["Offset of field: _php_output_context::out"]
[::std::mem::offset_of!(_php_output_context, out) - 40usize];
};
pub type php_output_context = _php_output_context;
pub type php_output_handler_func_t = ::std::option::Option<
unsafe extern "C" fn(
output: *mut ::std::os::raw::c_char,
output_len: usize,
handled_output: *mut *mut ::std::os::raw::c_char,
handled_output_len: *mut usize,
mode: ::std::os::raw::c_int,
),
>;
pub type php_output_handler_context_func_t = ::std::option::Option<
unsafe extern "C" fn(
handler_context: *mut *mut ::std::os::raw::c_void,
output_context: *mut php_output_context,
) -> zend_result,
>;
pub type php_output_handler_conflict_check_t = ::std::option::Option<
unsafe extern "C" fn(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
) -> zend_result,
>;
pub type php_output_handler_alias_ctor_t = ::std::option::Option<
unsafe extern "C" fn(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> *mut _php_output_handler,
>;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_output_handler_user_func_t {
pub fci: zend_fcall_info,
pub fcc: zend_fcall_info_cache,
pub zoh: zval,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_output_handler_user_func_t"]
[::std::mem::size_of::<_php_output_handler_user_func_t>() - 120usize];
["Alignment of _php_output_handler_user_func_t"]
[::std::mem::align_of::<_php_output_handler_user_func_t>() - 8usize];
["Offset of field: _php_output_handler_user_func_t::fci"]
[::std::mem::offset_of!(_php_output_handler_user_func_t, fci) - 0usize];
["Offset of field: _php_output_handler_user_func_t::fcc"]
[::std::mem::offset_of!(_php_output_handler_user_func_t, fcc) - 64usize];
["Offset of field: _php_output_handler_user_func_t::zoh"]
[::std::mem::offset_of!(_php_output_handler_user_func_t, zoh) - 104usize];
};
pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_output_handler {
pub name: *mut zend_string,
pub flags: ::std::os::raw::c_int,
pub level: ::std::os::raw::c_int,
pub size: usize,
pub buffer: php_output_buffer,
pub opaq: *mut ::std::os::raw::c_void,
pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
pub func: _php_output_handler__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _php_output_handler__bindgen_ty_1 {
pub user: *mut php_output_handler_user_func_t,
pub internal: php_output_handler_context_func_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_output_handler__bindgen_ty_1"]
[::std::mem::size_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
["Alignment of _php_output_handler__bindgen_ty_1"]
[::std::mem::align_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
["Offset of field: _php_output_handler__bindgen_ty_1::user"]
[::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, user) - 0usize];
["Offset of field: _php_output_handler__bindgen_ty_1::internal"]
[::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, internal) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_output_handler"][::std::mem::size_of::<_php_output_handler>() - 80usize];
["Alignment of _php_output_handler"][::std::mem::align_of::<_php_output_handler>() - 8usize];
["Offset of field: _php_output_handler::name"]
[::std::mem::offset_of!(_php_output_handler, name) - 0usize];
["Offset of field: _php_output_handler::flags"]
[::std::mem::offset_of!(_php_output_handler, flags) - 8usize];
["Offset of field: _php_output_handler::level"]
[::std::mem::offset_of!(_php_output_handler, level) - 12usize];
["Offset of field: _php_output_handler::size"]
[::std::mem::offset_of!(_php_output_handler, size) - 16usize];
["Offset of field: _php_output_handler::buffer"]
[::std::mem::offset_of!(_php_output_handler, buffer) - 24usize];
["Offset of field: _php_output_handler::opaq"]
[::std::mem::offset_of!(_php_output_handler, opaq) - 56usize];
["Offset of field: _php_output_handler::dtor"]
[::std::mem::offset_of!(_php_output_handler, dtor) - 64usize];
["Offset of field: _php_output_handler::func"]
[::std::mem::offset_of!(_php_output_handler, func) - 72usize];
};
pub type php_output_handler = _php_output_handler;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_output_globals {
pub handlers: zend_stack,
pub active: *mut php_output_handler,
pub running: *mut php_output_handler,
pub output_start_filename: *mut zend_string,
pub output_start_lineno: ::std::os::raw::c_int,
pub flags: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_output_globals"][::std::mem::size_of::<_zend_output_globals>() - 56usize];
["Alignment of _zend_output_globals"][::std::mem::align_of::<_zend_output_globals>() - 8usize];
["Offset of field: _zend_output_globals::handlers"]
[::std::mem::offset_of!(_zend_output_globals, handlers) - 0usize];
["Offset of field: _zend_output_globals::active"]
[::std::mem::offset_of!(_zend_output_globals, active) - 24usize];
["Offset of field: _zend_output_globals::running"]
[::std::mem::offset_of!(_zend_output_globals, running) - 32usize];
["Offset of field: _zend_output_globals::output_start_filename"]
[::std::mem::offset_of!(_zend_output_globals, output_start_filename) - 40usize];
["Offset of field: _zend_output_globals::output_start_lineno"]
[::std::mem::offset_of!(_zend_output_globals, output_start_lineno) - 48usize];
["Offset of field: _zend_output_globals::flags"]
[::std::mem::offset_of!(_zend_output_globals, flags) - 52usize];
};
pub type zend_output_globals = _zend_output_globals;
extern "C" {
pub static mut output_globals: zend_output_globals;
}
extern "C" {
pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
}
extern "C" {
pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
}
extern "C" {
pub fn php_output_startup();
}
extern "C" {
pub fn php_output_shutdown();
}
extern "C" {
pub fn php_output_activate() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_deactivate();
}
extern "C" {
pub fn php_output_set_status(status: ::std::os::raw::c_int);
}
extern "C" {
pub fn php_output_get_status() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
}
extern "C" {
pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_write_unbuffered(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
}
extern "C" {
pub fn php_output_write(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
}
extern "C" {
pub fn php_output_flush() -> zend_result;
}
extern "C" {
pub fn php_output_flush_all();
}
extern "C" {
pub fn php_output_clean() -> zend_result;
}
extern "C" {
pub fn php_output_clean_all();
}
extern "C" {
pub fn php_output_end() -> zend_result;
}
extern "C" {
pub fn php_output_end_all();
}
extern "C" {
pub fn php_output_discard() -> zend_result;
}
extern "C" {
pub fn php_output_discard_all();
}
extern "C" {
pub fn php_output_get_contents(p: *mut zval) -> zend_result;
}
extern "C" {
pub fn php_output_get_length(p: *mut zval) -> zend_result;
}
extern "C" {
pub fn php_output_get_level() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_get_active_handler() -> *mut php_output_handler;
}
extern "C" {
pub fn php_output_start_default() -> zend_result;
}
extern "C" {
pub fn php_output_start_devnull() -> zend_result;
}
extern "C" {
pub fn php_output_start_user(
output_handler: *mut zval,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> zend_result;
}
extern "C" {
pub fn php_output_start_internal(
name: *const ::std::os::raw::c_char,
name_len: usize,
output_handler: php_output_handler_func_t,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> zend_result;
}
extern "C" {
pub fn php_output_handler_create_user(
handler: *mut zval,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> *mut php_output_handler;
}
extern "C" {
pub fn php_output_handler_create_internal(
name: *const ::std::os::raw::c_char,
name_len: usize,
handler: php_output_handler_context_func_t,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> *mut php_output_handler;
}
extern "C" {
pub fn php_output_handler_set_context(
handler: *mut php_output_handler,
opaq: *mut ::std::os::raw::c_void,
dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
);
}
extern "C" {
pub fn php_output_handler_start(handler: *mut php_output_handler) -> zend_result;
}
extern "C" {
pub fn php_output_handler_started(name: *const ::std::os::raw::c_char, name_len: usize)
-> bool;
}
extern "C" {
pub fn php_output_handler_hook(
type_: php_output_handler_hook_t,
arg: *mut ::std::os::raw::c_void,
) -> zend_result;
}
extern "C" {
pub fn php_output_handler_dtor(handler: *mut php_output_handler);
}
extern "C" {
pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
}
extern "C" {
pub fn php_output_handler_conflict(
handler_new: *const ::std::os::raw::c_char,
handler_new_len: usize,
handler_set: *const ::std::os::raw::c_char,
handler_set_len: usize,
) -> bool;
}
extern "C" {
pub fn php_output_handler_conflict_register(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
check_func: php_output_handler_conflict_check_t,
) -> zend_result;
}
extern "C" {
pub fn php_output_handler_reverse_conflict_register(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
check_func: php_output_handler_conflict_check_t,
) -> zend_result;
}
extern "C" {
pub fn php_output_handler_alias(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
) -> php_output_handler_alias_ctor_t;
}
extern "C" {
pub fn php_output_handler_alias_register(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
func: php_output_handler_alias_ctor_t,
) -> zend_result;
}
extern "C" {
pub fn php_file_le_stream() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
}
pub type php_stream = _php_stream;
pub type php_stream_wrapper = _php_stream_wrapper;
pub type php_stream_context = _php_stream_context;
pub type php_stream_filter = _php_stream_filter;
pub type php_stream_notification_func = ::std::option::Option<
unsafe extern "C" fn(
context: *mut php_stream_context,
notifycode: ::std::os::raw::c_int,
severity: ::std::os::raw::c_int,
xmsg: *mut ::std::os::raw::c_char,
xcode: ::std::os::raw::c_int,
bytes_sofar: usize,
bytes_max: usize,
ptr: *mut ::std::os::raw::c_void,
),
>;
pub type php_stream_notifier = _php_stream_notifier;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_notifier {
pub func: php_stream_notification_func,
pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
pub ptr: *mut ::std::os::raw::c_void,
pub mask: ::std::os::raw::c_int,
pub progress: usize,
pub progress_max: usize,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_notifier"][::std::mem::size_of::<_php_stream_notifier>() - 48usize];
["Alignment of _php_stream_notifier"][::std::mem::align_of::<_php_stream_notifier>() - 8usize];
["Offset of field: _php_stream_notifier::func"]
[::std::mem::offset_of!(_php_stream_notifier, func) - 0usize];
["Offset of field: _php_stream_notifier::dtor"]
[::std::mem::offset_of!(_php_stream_notifier, dtor) - 8usize];
["Offset of field: _php_stream_notifier::ptr"]
[::std::mem::offset_of!(_php_stream_notifier, ptr) - 16usize];
["Offset of field: _php_stream_notifier::mask"]
[::std::mem::offset_of!(_php_stream_notifier, mask) - 24usize];
["Offset of field: _php_stream_notifier::progress"]
[::std::mem::offset_of!(_php_stream_notifier, progress) - 32usize];
["Offset of field: _php_stream_notifier::progress_max"]
[::std::mem::offset_of!(_php_stream_notifier, progress_max) - 40usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_stream_context {
pub notifier: *mut php_stream_notifier,
pub options: zval,
pub res: *mut zend_resource,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_context"][::std::mem::size_of::<_php_stream_context>() - 32usize];
["Alignment of _php_stream_context"][::std::mem::align_of::<_php_stream_context>() - 8usize];
["Offset of field: _php_stream_context::notifier"]
[::std::mem::offset_of!(_php_stream_context, notifier) - 0usize];
["Offset of field: _php_stream_context::options"]
[::std::mem::offset_of!(_php_stream_context, options) - 8usize];
["Offset of field: _php_stream_context::res"]
[::std::mem::offset_of!(_php_stream_context, res) - 24usize];
};
extern "C" {
pub fn php_le_stream_context() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_context_free(context: *mut php_stream_context);
}
extern "C" {
pub fn php_stream_context_alloc() -> *mut php_stream_context;
}
extern "C" {
pub fn php_stream_context_get_option(
context: *const php_stream_context,
wrappername: *const ::std::os::raw::c_char,
optionname: *const ::std::os::raw::c_char,
) -> *mut zval;
}
extern "C" {
pub fn php_stream_context_set_option(
context: *mut php_stream_context,
wrappername: *const ::std::os::raw::c_char,
optionname: *const ::std::os::raw::c_char,
optionvalue: *mut zval,
);
}
extern "C" {
pub fn php_stream_context_unset_option(
context: *mut php_stream_context,
wrappername: *const ::std::os::raw::c_char,
optionname: *const ::std::os::raw::c_char,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct php_uri_parser {
_unused: [u8; 0],
}
extern "C" {
pub fn php_stream_context_get_uri_parser(
wrappername: *const ::std::os::raw::c_char,
context: *mut php_stream_context,
) -> *const php_uri_parser;
}
extern "C" {
pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
}
extern "C" {
pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
}
extern "C" {
pub fn php_stream_notification_notify(
context: *mut php_stream_context,
notifycode: ::std::os::raw::c_int,
severity: ::std::os::raw::c_int,
xmsg: *mut ::std::os::raw::c_char,
xcode: ::std::os::raw::c_int,
bytes_sofar: usize,
bytes_max: usize,
ptr: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn php_stream_context_set(
stream: *mut php_stream,
context: *mut php_stream_context,
) -> *mut php_stream_context;
}
pub type php_stream_bucket = _php_stream_bucket;
pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_bucket {
pub next: *mut php_stream_bucket,
pub prev: *mut php_stream_bucket,
pub brigade: *mut php_stream_bucket_brigade,
pub buf: *mut ::std::os::raw::c_char,
pub buflen: usize,
pub own_buf: bool,
pub is_persistent: bool,
pub refcount: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_bucket"][::std::mem::size_of::<_php_stream_bucket>() - 48usize];
["Alignment of _php_stream_bucket"][::std::mem::align_of::<_php_stream_bucket>() - 8usize];
["Offset of field: _php_stream_bucket::next"]
[::std::mem::offset_of!(_php_stream_bucket, next) - 0usize];
["Offset of field: _php_stream_bucket::prev"]
[::std::mem::offset_of!(_php_stream_bucket, prev) - 8usize];
["Offset of field: _php_stream_bucket::brigade"]
[::std::mem::offset_of!(_php_stream_bucket, brigade) - 16usize];
["Offset of field: _php_stream_bucket::buf"]
[::std::mem::offset_of!(_php_stream_bucket, buf) - 24usize];
["Offset of field: _php_stream_bucket::buflen"]
[::std::mem::offset_of!(_php_stream_bucket, buflen) - 32usize];
["Offset of field: _php_stream_bucket::own_buf"]
[::std::mem::offset_of!(_php_stream_bucket, own_buf) - 40usize];
["Offset of field: _php_stream_bucket::is_persistent"]
[::std::mem::offset_of!(_php_stream_bucket, is_persistent) - 41usize];
["Offset of field: _php_stream_bucket::refcount"]
[::std::mem::offset_of!(_php_stream_bucket, refcount) - 44usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_bucket_brigade {
pub head: *mut php_stream_bucket,
pub tail: *mut php_stream_bucket,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_bucket_brigade"]
[::std::mem::size_of::<_php_stream_bucket_brigade>() - 16usize];
["Alignment of _php_stream_bucket_brigade"]
[::std::mem::align_of::<_php_stream_bucket_brigade>() - 8usize];
["Offset of field: _php_stream_bucket_brigade::head"]
[::std::mem::offset_of!(_php_stream_bucket_brigade, head) - 0usize];
["Offset of field: _php_stream_bucket_brigade::tail"]
[::std::mem::offset_of!(_php_stream_bucket_brigade, tail) - 8usize];
};
pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
extern "C" {
pub fn php_stream_bucket_new(
stream: *const php_stream,
buf: *mut ::std::os::raw::c_char,
buflen: usize,
own_buf: u8,
buf_persistent: u8,
) -> *mut php_stream_bucket;
}
extern "C" {
pub fn php_stream_bucket_split(
in_: *mut php_stream_bucket,
left: *mut *mut php_stream_bucket,
right: *mut *mut php_stream_bucket,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
}
extern "C" {
pub fn php_stream_bucket_prepend(
brigade: *mut php_stream_bucket_brigade,
bucket: *mut php_stream_bucket,
);
}
extern "C" {
pub fn php_stream_bucket_append(
brigade: *mut php_stream_bucket_brigade,
bucket: *mut php_stream_bucket,
);
}
extern "C" {
pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
}
extern "C" {
pub fn php_stream_bucket_make_writeable(
bucket: *mut php_stream_bucket,
) -> *mut php_stream_bucket;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_filter_ops {
pub filter: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
thisfilter: *mut php_stream_filter,
buckets_in: *mut php_stream_bucket_brigade,
buckets_out: *mut php_stream_bucket_brigade,
bytes_consumed: *mut usize,
flags: ::std::os::raw::c_int,
) -> php_stream_filter_status_t,
>,
pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
pub label: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_filter_ops"][::std::mem::size_of::<_php_stream_filter_ops>() - 24usize];
["Alignment of _php_stream_filter_ops"]
[::std::mem::align_of::<_php_stream_filter_ops>() - 8usize];
["Offset of field: _php_stream_filter_ops::filter"]
[::std::mem::offset_of!(_php_stream_filter_ops, filter) - 0usize];
["Offset of field: _php_stream_filter_ops::dtor"]
[::std::mem::offset_of!(_php_stream_filter_ops, dtor) - 8usize];
["Offset of field: _php_stream_filter_ops::label"]
[::std::mem::offset_of!(_php_stream_filter_ops, label) - 16usize];
};
pub type php_stream_filter_ops = _php_stream_filter_ops;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_filter_chain {
pub head: *mut php_stream_filter,
pub tail: *mut php_stream_filter,
pub stream: *mut php_stream,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_filter_chain"]
[::std::mem::size_of::<_php_stream_filter_chain>() - 24usize];
["Alignment of _php_stream_filter_chain"]
[::std::mem::align_of::<_php_stream_filter_chain>() - 8usize];
["Offset of field: _php_stream_filter_chain::head"]
[::std::mem::offset_of!(_php_stream_filter_chain, head) - 0usize];
["Offset of field: _php_stream_filter_chain::tail"]
[::std::mem::offset_of!(_php_stream_filter_chain, tail) - 8usize];
["Offset of field: _php_stream_filter_chain::stream"]
[::std::mem::offset_of!(_php_stream_filter_chain, stream) - 16usize];
};
pub type php_stream_filter_chain = _php_stream_filter_chain;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_stream_filter {
pub fops: *const php_stream_filter_ops,
pub abstract_: zval,
pub next: *mut php_stream_filter,
pub prev: *mut php_stream_filter,
pub is_persistent: ::std::os::raw::c_int,
pub chain: *mut php_stream_filter_chain,
pub buffer: php_stream_bucket_brigade,
pub res: *mut zend_resource,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_filter"][::std::mem::size_of::<_php_stream_filter>() - 80usize];
["Alignment of _php_stream_filter"][::std::mem::align_of::<_php_stream_filter>() - 8usize];
["Offset of field: _php_stream_filter::fops"]
[::std::mem::offset_of!(_php_stream_filter, fops) - 0usize];
["Offset of field: _php_stream_filter::abstract_"]
[::std::mem::offset_of!(_php_stream_filter, abstract_) - 8usize];
["Offset of field: _php_stream_filter::next"]
[::std::mem::offset_of!(_php_stream_filter, next) - 24usize];
["Offset of field: _php_stream_filter::prev"]
[::std::mem::offset_of!(_php_stream_filter, prev) - 32usize];
["Offset of field: _php_stream_filter::is_persistent"]
[::std::mem::offset_of!(_php_stream_filter, is_persistent) - 40usize];
["Offset of field: _php_stream_filter::chain"]
[::std::mem::offset_of!(_php_stream_filter, chain) - 48usize];
["Offset of field: _php_stream_filter::buffer"]
[::std::mem::offset_of!(_php_stream_filter, buffer) - 56usize];
["Offset of field: _php_stream_filter::res"]
[::std::mem::offset_of!(_php_stream_filter, res) - 72usize];
};
extern "C" {
pub fn php_stream_filter_prepend_ex(
chain: *mut php_stream_filter_chain,
filter: *mut php_stream_filter,
);
}
extern "C" {
pub fn php_stream_filter_append_ex(
chain: *mut php_stream_filter_chain,
filter: *mut php_stream_filter,
) -> zend_result;
}
extern "C" {
pub fn php_stream_filter_remove(
filter: *mut php_stream_filter,
call_dtor: bool,
) -> *mut php_stream_filter;
}
extern "C" {
pub fn php_stream_filter_free(filter: *mut php_stream_filter);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_filter_factory {
pub create_filter: ::std::option::Option<
unsafe extern "C" fn(
filtername: *const ::std::os::raw::c_char,
filterparams: *mut zval,
persistent: u8,
) -> *mut php_stream_filter,
>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_filter_factory"]
[::std::mem::size_of::<_php_stream_filter_factory>() - 8usize];
["Alignment of _php_stream_filter_factory"]
[::std::mem::align_of::<_php_stream_filter_factory>() - 8usize];
["Offset of field: _php_stream_filter_factory::create_filter"]
[::std::mem::offset_of!(_php_stream_filter_factory, create_filter) - 0usize];
};
pub type php_stream_filter_factory = _php_stream_filter_factory;
extern "C" {
pub fn php_stream_filter_register_factory(
filterpattern: *const ::std::os::raw::c_char,
factory: *const php_stream_filter_factory,
) -> zend_result;
}
extern "C" {
pub fn php_stream_filter_unregister_factory(
filterpattern: *const ::std::os::raw::c_char,
) -> zend_result;
}
extern "C" {
pub fn php_stream_filter_register_factory_volatile(
filterpattern: *mut zend_string,
factory: *const php_stream_filter_factory,
) -> zend_result;
}
extern "C" {
pub fn php_stream_filter_create(
filtername: *const ::std::os::raw::c_char,
filterparams: *mut zval,
persistent: u8,
) -> *mut php_stream_filter;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_statbuf {
pub sb: zend_stat_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_statbuf"][::std::mem::size_of::<_php_stream_statbuf>() - 144usize];
["Alignment of _php_stream_statbuf"][::std::mem::align_of::<_php_stream_statbuf>() - 8usize];
["Offset of field: _php_stream_statbuf::sb"]
[::std::mem::offset_of!(_php_stream_statbuf, sb) - 0usize];
};
pub type php_stream_statbuf = _php_stream_statbuf;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_ops {
pub write: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
buf: *const ::std::os::raw::c_char,
count: usize,
) -> isize,
>,
pub read: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
buf: *mut ::std::os::raw::c_char,
count: usize,
) -> isize,
>,
pub close: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
close_handle: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub flush: ::std::option::Option<
unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
>,
pub label: *const ::std::os::raw::c_char,
pub seek: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
offset: zend_off_t,
whence: ::std::os::raw::c_int,
newoffset: *mut zend_off_t,
) -> ::std::os::raw::c_int,
>,
pub cast: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
castas: ::std::os::raw::c_int,
ret: *mut *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>,
pub stat: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
ssb: *mut php_stream_statbuf,
) -> ::std::os::raw::c_int,
>,
pub set_option: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
option: ::std::os::raw::c_int,
value: ::std::os::raw::c_int,
ptrparam: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_ops"][::std::mem::size_of::<_php_stream_ops>() - 72usize];
["Alignment of _php_stream_ops"][::std::mem::align_of::<_php_stream_ops>() - 8usize];
["Offset of field: _php_stream_ops::write"]
[::std::mem::offset_of!(_php_stream_ops, write) - 0usize];
["Offset of field: _php_stream_ops::read"]
[::std::mem::offset_of!(_php_stream_ops, read) - 8usize];
["Offset of field: _php_stream_ops::close"]
[::std::mem::offset_of!(_php_stream_ops, close) - 16usize];
["Offset of field: _php_stream_ops::flush"]
[::std::mem::offset_of!(_php_stream_ops, flush) - 24usize];
["Offset of field: _php_stream_ops::label"]
[::std::mem::offset_of!(_php_stream_ops, label) - 32usize];
["Offset of field: _php_stream_ops::seek"]
[::std::mem::offset_of!(_php_stream_ops, seek) - 40usize];
["Offset of field: _php_stream_ops::cast"]
[::std::mem::offset_of!(_php_stream_ops, cast) - 48usize];
["Offset of field: _php_stream_ops::stat"]
[::std::mem::offset_of!(_php_stream_ops, stat) - 56usize];
["Offset of field: _php_stream_ops::set_option"]
[::std::mem::offset_of!(_php_stream_ops, set_option) - 64usize];
};
pub type php_stream_ops = _php_stream_ops;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_wrapper_ops {
pub stream_opener: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
filename: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
opened_path: *mut *mut zend_string,
context: *mut php_stream_context,
) -> *mut php_stream,
>,
pub stream_closer: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
stream: *mut php_stream,
) -> ::std::os::raw::c_int,
>,
pub stream_stat: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
stream: *mut php_stream,
ssb: *mut php_stream_statbuf,
) -> ::std::os::raw::c_int,
>,
pub url_stat: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_int,
ssb: *mut php_stream_statbuf,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
pub dir_opener: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
filename: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
opened_path: *mut *mut zend_string,
context: *mut php_stream_context,
) -> *mut php_stream,
>,
pub label: *const ::std::os::raw::c_char,
pub unlink: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
pub rename: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url_from: *const ::std::os::raw::c_char,
url_to: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
pub stream_mkdir: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url: *const ::std::os::raw::c_char,
mode: ::std::os::raw::c_int,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
pub stream_rmdir: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
pub stream_metadata: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
value: *mut ::std::os::raw::c_void,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_wrapper_ops"][::std::mem::size_of::<_php_stream_wrapper_ops>() - 88usize];
["Alignment of _php_stream_wrapper_ops"]
[::std::mem::align_of::<_php_stream_wrapper_ops>() - 8usize];
["Offset of field: _php_stream_wrapper_ops::stream_opener"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, stream_opener) - 0usize];
["Offset of field: _php_stream_wrapper_ops::stream_closer"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, stream_closer) - 8usize];
["Offset of field: _php_stream_wrapper_ops::stream_stat"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, stream_stat) - 16usize];
["Offset of field: _php_stream_wrapper_ops::url_stat"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, url_stat) - 24usize];
["Offset of field: _php_stream_wrapper_ops::dir_opener"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, dir_opener) - 32usize];
["Offset of field: _php_stream_wrapper_ops::label"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, label) - 40usize];
["Offset of field: _php_stream_wrapper_ops::unlink"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, unlink) - 48usize];
["Offset of field: _php_stream_wrapper_ops::rename"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, rename) - 56usize];
["Offset of field: _php_stream_wrapper_ops::stream_mkdir"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, stream_mkdir) - 64usize];
["Offset of field: _php_stream_wrapper_ops::stream_rmdir"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, stream_rmdir) - 72usize];
["Offset of field: _php_stream_wrapper_ops::stream_metadata"]
[::std::mem::offset_of!(_php_stream_wrapper_ops, stream_metadata) - 80usize];
};
pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_wrapper {
pub wops: *const php_stream_wrapper_ops,
pub abstract_: *mut ::std::os::raw::c_void,
pub is_url: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_wrapper"][::std::mem::size_of::<_php_stream_wrapper>() - 24usize];
["Alignment of _php_stream_wrapper"][::std::mem::align_of::<_php_stream_wrapper>() - 8usize];
["Offset of field: _php_stream_wrapper::wops"]
[::std::mem::offset_of!(_php_stream_wrapper, wops) - 0usize];
["Offset of field: _php_stream_wrapper::abstract_"]
[::std::mem::offset_of!(_php_stream_wrapper, abstract_) - 8usize];
["Offset of field: _php_stream_wrapper::is_url"]
[::std::mem::offset_of!(_php_stream_wrapper, is_url) - 16usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_stream {
pub ops: *const php_stream_ops,
pub abstract_: *mut ::std::os::raw::c_void,
pub readfilters: php_stream_filter_chain,
pub writefilters: php_stream_filter_chain,
pub wrapper: *mut php_stream_wrapper,
pub wrapperthis: *mut ::std::os::raw::c_void,
pub wrapperdata: zval,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
pub mode: [::std::os::raw::c_char; 16usize],
pub flags: u32,
pub res: *mut zend_resource,
pub stdiocast: *mut FILE,
pub orig_path: *mut ::std::os::raw::c_char,
pub ctx: *mut zend_resource,
pub position: zend_off_t,
pub readbuf: *mut ::std::os::raw::c_uchar,
pub readbuflen: usize,
pub readpos: zend_off_t,
pub writepos: zend_off_t,
pub chunk_size: usize,
pub enclosing_stream: *mut _php_stream,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream"][::std::mem::size_of::<_php_stream>() - 208usize];
["Alignment of _php_stream"][::std::mem::align_of::<_php_stream>() - 8usize];
["Offset of field: _php_stream::ops"][::std::mem::offset_of!(_php_stream, ops) - 0usize];
["Offset of field: _php_stream::abstract_"]
[::std::mem::offset_of!(_php_stream, abstract_) - 8usize];
["Offset of field: _php_stream::readfilters"]
[::std::mem::offset_of!(_php_stream, readfilters) - 16usize];
["Offset of field: _php_stream::writefilters"]
[::std::mem::offset_of!(_php_stream, writefilters) - 40usize];
["Offset of field: _php_stream::wrapper"]
[::std::mem::offset_of!(_php_stream, wrapper) - 64usize];
["Offset of field: _php_stream::wrapperthis"]
[::std::mem::offset_of!(_php_stream, wrapperthis) - 72usize];
["Offset of field: _php_stream::wrapperdata"]
[::std::mem::offset_of!(_php_stream, wrapperdata) - 80usize];
["Offset of field: _php_stream::mode"][::std::mem::offset_of!(_php_stream, mode) - 98usize];
["Offset of field: _php_stream::flags"][::std::mem::offset_of!(_php_stream, flags) - 116usize];
["Offset of field: _php_stream::res"][::std::mem::offset_of!(_php_stream, res) - 120usize];
["Offset of field: _php_stream::stdiocast"]
[::std::mem::offset_of!(_php_stream, stdiocast) - 128usize];
["Offset of field: _php_stream::orig_path"]
[::std::mem::offset_of!(_php_stream, orig_path) - 136usize];
["Offset of field: _php_stream::ctx"][::std::mem::offset_of!(_php_stream, ctx) - 144usize];
["Offset of field: _php_stream::position"]
[::std::mem::offset_of!(_php_stream, position) - 152usize];
["Offset of field: _php_stream::readbuf"]
[::std::mem::offset_of!(_php_stream, readbuf) - 160usize];
["Offset of field: _php_stream::readbuflen"]
[::std::mem::offset_of!(_php_stream, readbuflen) - 168usize];
["Offset of field: _php_stream::readpos"]
[::std::mem::offset_of!(_php_stream, readpos) - 176usize];
["Offset of field: _php_stream::writepos"]
[::std::mem::offset_of!(_php_stream, writepos) - 184usize];
["Offset of field: _php_stream::chunk_size"]
[::std::mem::offset_of!(_php_stream, chunk_size) - 192usize];
["Offset of field: _php_stream::enclosing_stream"]
[::std::mem::offset_of!(_php_stream, enclosing_stream) - 200usize];
};
impl _php_stream {
#[inline]
pub fn is_persistent(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) }
}
#[inline]
pub fn set_is_persistent(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn in_free(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 2u8) as u16) }
}
#[inline]
pub fn set_in_free(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set(1usize, 2u8, val as u64)
}
}
#[inline]
pub fn eof(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u16) }
}
#[inline]
pub fn set_eof(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set(3usize, 1u8, val as u64)
}
}
#[inline]
pub fn __exposed(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u16) }
}
#[inline]
pub fn set___exposed(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set(4usize, 1u8, val as u64)
}
}
#[inline]
pub fn fclose_stdiocast(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 2u8) as u16) }
}
#[inline]
pub fn set_fclose_stdiocast(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set(5usize, 2u8, val as u64)
}
}
#[inline]
pub fn has_buffered_data(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u16) }
}
#[inline]
pub fn set_has_buffered_data(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set(7usize, 1u8, val as u64)
}
}
#[inline]
pub fn fclose_stdiocast_flush_in_progress(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u16) }
}
#[inline]
pub fn set_fclose_stdiocast_flush_in_progress(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set(8usize, 1u8, val as u64)
}
}
#[inline]
pub fn fatal_error(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u16) }
}
#[inline]
pub fn set_fatal_error(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set(9usize, 1u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
is_persistent: u16,
in_free: u16,
eof: u16,
__exposed: u16,
fclose_stdiocast: u16,
has_buffered_data: u16,
fclose_stdiocast_flush_in_progress: u16,
fatal_error: u16,
) -> __BindgenBitfieldUnit<[u8; 2usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let is_persistent: u16 = unsafe { ::std::mem::transmute(is_persistent) };
is_persistent as u64
});
__bindgen_bitfield_unit.set(1usize, 2u8, {
let in_free: u16 = unsafe { ::std::mem::transmute(in_free) };
in_free as u64
});
__bindgen_bitfield_unit.set(3usize, 1u8, {
let eof: u16 = unsafe { ::std::mem::transmute(eof) };
eof as u64
});
__bindgen_bitfield_unit.set(4usize, 1u8, {
let __exposed: u16 = unsafe { ::std::mem::transmute(__exposed) };
__exposed as u64
});
__bindgen_bitfield_unit.set(5usize, 2u8, {
let fclose_stdiocast: u16 = unsafe { ::std::mem::transmute(fclose_stdiocast) };
fclose_stdiocast as u64
});
__bindgen_bitfield_unit.set(7usize, 1u8, {
let has_buffered_data: u16 = unsafe { ::std::mem::transmute(has_buffered_data) };
has_buffered_data as u64
});
__bindgen_bitfield_unit.set(8usize, 1u8, {
let fclose_stdiocast_flush_in_progress: u16 =
unsafe { ::std::mem::transmute(fclose_stdiocast_flush_in_progress) };
fclose_stdiocast_flush_in_progress as u64
});
__bindgen_bitfield_unit.set(9usize, 1u8, {
let fatal_error: u16 = unsafe { ::std::mem::transmute(fatal_error) };
fatal_error as u64
});
__bindgen_bitfield_unit
}
}
extern "C" {
pub fn php_stream_encloses(
enclosing: *mut php_stream,
enclosed: *mut php_stream,
) -> *mut php_stream;
}
extern "C" {
pub fn php_stream_from_persistent_id(
persistent_id: *const ::std::os::raw::c_char,
stream: *mut *mut php_stream,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_read_to_str(stream: *mut php_stream, len: usize) -> *mut zend_string;
}
extern "C" {
pub fn php_stream_get_record(
stream: *mut php_stream,
maxlen: usize,
delim: *const ::std::os::raw::c_char,
delim_len: usize,
) -> *mut zend_string;
}
extern "C" {
pub fn php_stream_dirent_alphasort(
a: *mut *const zend_string,
b: *mut *const zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_dirent_alphasortr(
a: *mut *const zend_string,
b: *mut *const zend_string,
) -> ::std::os::raw::c_int;
}
pub type php_stream_transport_factory_func = ::std::option::Option<
unsafe extern "C" fn(
proto: *const ::std::os::raw::c_char,
protolen: usize,
resourcename: *const ::std::os::raw::c_char,
resourcenamelen: usize,
persistent_id: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
flags: ::std::os::raw::c_int,
timeout: *mut timeval,
context: *mut php_stream_context,
) -> *mut php_stream,
>;
pub type php_stream_transport_factory = php_stream_transport_factory_func;
extern "C" {
pub fn php_stream_xport_register(
protocol: *const ::std::os::raw::c_char,
factory: php_stream_transport_factory,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_unregister(
protocol: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_bind(
stream: *mut php_stream,
name: *const ::std::os::raw::c_char,
namelen: usize,
error_text: *mut *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_connect(
stream: *mut php_stream,
name: *const ::std::os::raw::c_char,
namelen: usize,
asynchronous: ::std::os::raw::c_int,
timeout: *mut timeval,
error_text: *mut *mut zend_string,
error_code: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_listen(
stream: *mut php_stream,
backlog: ::std::os::raw::c_int,
error_text: *mut *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_accept(
stream: *mut php_stream,
client: *mut *mut php_stream,
textaddr: *mut *mut zend_string,
addr: *mut *mut ::std::os::raw::c_void,
addrlen: *mut socklen_t,
timeout: *mut timeval,
error_text: *mut *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_get_name(
stream: *mut php_stream,
want_peer: ::std::os::raw::c_int,
textaddr: *mut *mut zend_string,
addr: *mut *mut ::std::os::raw::c_void,
addrlen: *mut socklen_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_recvfrom(
stream: *mut php_stream,
buf: *mut ::std::os::raw::c_char,
buflen: usize,
flags: ::std::os::raw::c_int,
addr: *mut *mut ::std::os::raw::c_void,
addrlen: *mut socklen_t,
textaddr: *mut *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_sendto(
stream: *mut php_stream,
buf: *const ::std::os::raw::c_char,
buflen: usize,
flags: ::std::os::raw::c_int,
addr: *mut ::std::os::raw::c_void,
addrlen: socklen_t,
) -> ::std::os::raw::c_int;
}
pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
pub type stream_shutdown_t = ::std::os::raw::c_uint;
extern "C" {
pub fn php_stream_xport_shutdown(
stream: *mut php_stream,
how: stream_shutdown_t,
) -> ::std::os::raw::c_int;
}
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
php_stream_xport_crypt_method_t = 3;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
php_stream_xport_crypt_method_t = 5;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
php_stream_xport_crypt_method_t = 57;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
php_stream_xport_crypt_method_t = 9;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
php_stream_xport_crypt_method_t = 17;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
php_stream_xport_crypt_method_t = 33;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT:
php_stream_xport_crypt_method_t = 65;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
php_stream_xport_crypt_method_t = 121;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
php_stream_xport_crypt_method_t = 121;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
php_stream_xport_crypt_method_t = 127;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
php_stream_xport_crypt_method_t = 2;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
php_stream_xport_crypt_method_t = 4;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
php_stream_xport_crypt_method_t = 120;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
php_stream_xport_crypt_method_t = 8;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
php_stream_xport_crypt_method_t = 16;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
php_stream_xport_crypt_method_t = 32;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_SERVER:
php_stream_xport_crypt_method_t = 64;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
php_stream_xport_crypt_method_t = 120;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
php_stream_xport_crypt_method_t = 120;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
php_stream_xport_crypt_method_t = 126;
pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
extern "C" {
pub fn php_stream_xport_crypto_setup(
stream: *mut php_stream,
crypto_method: php_stream_xport_crypt_method_t,
session_stream: *mut php_stream,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_crypto_enable(
stream: *mut php_stream,
activate: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_get_hash() -> *mut HashTable;
}
extern "C" {
pub fn php_stream_generic_socket_factory(
proto: *const ::std::os::raw::c_char,
protolen: usize,
resourcename: *const ::std::os::raw::c_char,
resourcenamelen: usize,
persistent_id: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
flags: ::std::os::raw::c_int,
timeout: *mut timeval,
context: *mut php_stream_context,
) -> *mut php_stream;
}
extern "C" {
pub static mut php_stream_stdio_ops: php_stream_ops;
}
extern "C" {
pub static mut php_plain_files_wrapper: php_stream_wrapper;
}
extern "C" {
pub fn php_stream_parse_fopen_modes(
mode: *const ::std::os::raw::c_char,
open_flags: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub static php_glob_stream_wrapper: php_stream_wrapper;
}
extern "C" {
pub static php_glob_stream_ops: php_stream_ops;
}
extern "C" {
pub static php_stream_userspace_ops: php_stream_ops;
}
extern "C" {
pub static php_stream_userspace_dir_ops: php_stream_ops;
}
extern "C" {
pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> zend_result;
}
extern "C" {
pub fn php_shutdown_stream_wrappers(module_number: ::std::os::raw::c_int);
}
extern "C" {
pub fn php_shutdown_stream_hashes();
}
extern "C" {
pub fn php_register_url_stream_wrapper(
protocol: *const ::std::os::raw::c_char,
wrapper: *const php_stream_wrapper,
) -> zend_result;
}
extern "C" {
pub fn php_unregister_url_stream_wrapper(
protocol: *const ::std::os::raw::c_char,
) -> zend_result;
}
extern "C" {
pub fn php_register_url_stream_wrapper_volatile(
protocol: *mut zend_string,
wrapper: *mut php_stream_wrapper,
) -> zend_result;
}
extern "C" {
pub fn php_unregister_url_stream_wrapper_volatile(protocol: *mut zend_string) -> zend_result;
}
extern "C" {
pub fn php_stream_locate_url_wrapper(
path: *const ::std::os::raw::c_char,
path_for_open: *mut *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
) -> *mut php_stream_wrapper;
}
extern "C" {
pub fn php_stream_locate_eol(
stream: *mut php_stream,
buf: *mut zend_string,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn php_stream_wrapper_log_error(
wrapper: *const php_stream_wrapper,
options: ::std::os::raw::c_int,
fmt: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
}
extern "C" {
pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
}
extern "C" {
pub static mut php_stream_user_wrapper_ops: *const php_stream_wrapper_ops;
}
extern "C" {
pub fn php_stream_mode_from_str(mode: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub static php_stream_memory_ops: php_stream_ops;
}
extern "C" {
pub static php_stream_temp_ops: php_stream_ops;
}
extern "C" {
pub static php_stream_rfc2397_ops: php_stream_ops;
}
extern "C" {
pub static php_stream_rfc2397_wrapper: php_stream_wrapper;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_core_globals {
pub output_buffering: zend_long,
pub implicit_flush: bool,
pub enable_dl: bool,
pub display_errors: u8,
pub display_startup_errors: bool,
pub log_errors: bool,
pub ignore_repeated_errors: bool,
pub ignore_repeated_source: bool,
pub report_memleaks: bool,
pub output_handler: *mut ::std::os::raw::c_char,
pub unserialize_callback_func: *mut ::std::os::raw::c_char,
pub serialize_precision: zend_long,
pub memory_limit: zend_long,
pub max_memory_limit: zend_long,
pub max_input_time: zend_long,
pub error_log: *mut ::std::os::raw::c_char,
pub doc_root: *mut ::std::os::raw::c_char,
pub user_dir: *mut ::std::os::raw::c_char,
pub include_path: *mut ::std::os::raw::c_char,
pub open_basedir: *mut ::std::os::raw::c_char,
pub open_basedir_modified: bool,
pub extension_dir: *mut ::std::os::raw::c_char,
pub php_binary: *mut ::std::os::raw::c_char,
pub sys_temp_dir: *mut ::std::os::raw::c_char,
pub upload_tmp_dir: *mut ::std::os::raw::c_char,
pub upload_max_filesize: zend_long,
pub error_append_string: *mut ::std::os::raw::c_char,
pub error_prepend_string: *mut ::std::os::raw::c_char,
pub auto_prepend_file: *mut ::std::os::raw::c_char,
pub auto_append_file: *mut ::std::os::raw::c_char,
pub input_encoding: *mut ::std::os::raw::c_char,
pub internal_encoding: *mut ::std::os::raw::c_char,
pub output_encoding: *mut ::std::os::raw::c_char,
pub arg_separator: arg_separators,
pub variables_order: *mut ::std::os::raw::c_char,
pub rfc1867_protected_variables: HashTable,
pub connection_status: ::std::os::raw::c_short,
pub ignore_user_abort: bool,
pub header_is_being_sent: ::std::os::raw::c_uchar,
pub tick_functions: zend_llist,
pub http_globals: [zval; 6usize],
pub expose_php: bool,
pub register_argc_argv: bool,
pub auto_globals_jit: bool,
pub html_errors: bool,
pub xmlrpc_errors: bool,
pub docref_root: *mut ::std::os::raw::c_char,
pub docref_ext: *mut ::std::os::raw::c_char,
pub xmlrpc_error_number: zend_long,
pub activated_auto_globals: [bool; 8usize],
pub modules_activated: bool,
pub file_uploads: bool,
pub during_request_startup: bool,
pub allow_url_fopen: bool,
pub enable_post_data_reading: bool,
pub report_zend_debug: bool,
pub last_error_type: ::std::os::raw::c_int,
pub last_error_lineno: ::std::os::raw::c_int,
pub last_error_message: *mut zend_string,
pub last_error_file: *mut zend_string,
pub php_sys_temp_dir: *mut ::std::os::raw::c_char,
pub max_input_nesting_level: zend_long,
pub max_input_vars: zend_long,
pub user_ini_filename: *mut ::std::os::raw::c_char,
pub user_ini_cache_ttl: zend_long,
pub request_order: *mut ::std::os::raw::c_char,
pub mail_log: *mut ::std::os::raw::c_char,
pub mail_cr_lf_mode: *mut zend_string,
pub mail_x_header: bool,
pub mail_mixed_lf_and_crlf: bool,
pub in_error_log: bool,
pub allow_url_include: bool,
pub in_user_include: bool,
pub have_called_openlog: bool,
pub syslog_facility: zend_long,
pub syslog_ident: *mut ::std::os::raw::c_char,
pub syslog_filter: zend_long,
pub error_log_mode: zend_long,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_core_globals"][::std::mem::size_of::<_php_core_globals>() - 624usize];
["Alignment of _php_core_globals"][::std::mem::align_of::<_php_core_globals>() - 8usize];
["Offset of field: _php_core_globals::output_buffering"]
[::std::mem::offset_of!(_php_core_globals, output_buffering) - 0usize];
["Offset of field: _php_core_globals::implicit_flush"]
[::std::mem::offset_of!(_php_core_globals, implicit_flush) - 8usize];
["Offset of field: _php_core_globals::enable_dl"]
[::std::mem::offset_of!(_php_core_globals, enable_dl) - 9usize];
["Offset of field: _php_core_globals::display_errors"]
[::std::mem::offset_of!(_php_core_globals, display_errors) - 10usize];
["Offset of field: _php_core_globals::display_startup_errors"]
[::std::mem::offset_of!(_php_core_globals, display_startup_errors) - 11usize];
["Offset of field: _php_core_globals::log_errors"]
[::std::mem::offset_of!(_php_core_globals, log_errors) - 12usize];
["Offset of field: _php_core_globals::ignore_repeated_errors"]
[::std::mem::offset_of!(_php_core_globals, ignore_repeated_errors) - 13usize];
["Offset of field: _php_core_globals::ignore_repeated_source"]
[::std::mem::offset_of!(_php_core_globals, ignore_repeated_source) - 14usize];
["Offset of field: _php_core_globals::report_memleaks"]
[::std::mem::offset_of!(_php_core_globals, report_memleaks) - 15usize];
["Offset of field: _php_core_globals::output_handler"]
[::std::mem::offset_of!(_php_core_globals, output_handler) - 16usize];
["Offset of field: _php_core_globals::unserialize_callback_func"]
[::std::mem::offset_of!(_php_core_globals, unserialize_callback_func) - 24usize];
["Offset of field: _php_core_globals::serialize_precision"]
[::std::mem::offset_of!(_php_core_globals, serialize_precision) - 32usize];
["Offset of field: _php_core_globals::memory_limit"]
[::std::mem::offset_of!(_php_core_globals, memory_limit) - 40usize];
["Offset of field: _php_core_globals::max_memory_limit"]
[::std::mem::offset_of!(_php_core_globals, max_memory_limit) - 48usize];
["Offset of field: _php_core_globals::max_input_time"]
[::std::mem::offset_of!(_php_core_globals, max_input_time) - 56usize];
["Offset of field: _php_core_globals::error_log"]
[::std::mem::offset_of!(_php_core_globals, error_log) - 64usize];
["Offset of field: _php_core_globals::doc_root"]
[::std::mem::offset_of!(_php_core_globals, doc_root) - 72usize];
["Offset of field: _php_core_globals::user_dir"]
[::std::mem::offset_of!(_php_core_globals, user_dir) - 80usize];
["Offset of field: _php_core_globals::include_path"]
[::std::mem::offset_of!(_php_core_globals, include_path) - 88usize];
["Offset of field: _php_core_globals::open_basedir"]
[::std::mem::offset_of!(_php_core_globals, open_basedir) - 96usize];
["Offset of field: _php_core_globals::open_basedir_modified"]
[::std::mem::offset_of!(_php_core_globals, open_basedir_modified) - 104usize];
["Offset of field: _php_core_globals::extension_dir"]
[::std::mem::offset_of!(_php_core_globals, extension_dir) - 112usize];
["Offset of field: _php_core_globals::php_binary"]
[::std::mem::offset_of!(_php_core_globals, php_binary) - 120usize];
["Offset of field: _php_core_globals::sys_temp_dir"]
[::std::mem::offset_of!(_php_core_globals, sys_temp_dir) - 128usize];
["Offset of field: _php_core_globals::upload_tmp_dir"]
[::std::mem::offset_of!(_php_core_globals, upload_tmp_dir) - 136usize];
["Offset of field: _php_core_globals::upload_max_filesize"]
[::std::mem::offset_of!(_php_core_globals, upload_max_filesize) - 144usize];
["Offset of field: _php_core_globals::error_append_string"]
[::std::mem::offset_of!(_php_core_globals, error_append_string) - 152usize];
["Offset of field: _php_core_globals::error_prepend_string"]
[::std::mem::offset_of!(_php_core_globals, error_prepend_string) - 160usize];
["Offset of field: _php_core_globals::auto_prepend_file"]
[::std::mem::offset_of!(_php_core_globals, auto_prepend_file) - 168usize];
["Offset of field: _php_core_globals::auto_append_file"]
[::std::mem::offset_of!(_php_core_globals, auto_append_file) - 176usize];
["Offset of field: _php_core_globals::input_encoding"]
[::std::mem::offset_of!(_php_core_globals, input_encoding) - 184usize];
["Offset of field: _php_core_globals::internal_encoding"]
[::std::mem::offset_of!(_php_core_globals, internal_encoding) - 192usize];
["Offset of field: _php_core_globals::output_encoding"]
[::std::mem::offset_of!(_php_core_globals, output_encoding) - 200usize];
["Offset of field: _php_core_globals::arg_separator"]
[::std::mem::offset_of!(_php_core_globals, arg_separator) - 208usize];
["Offset of field: _php_core_globals::variables_order"]
[::std::mem::offset_of!(_php_core_globals, variables_order) - 224usize];
["Offset of field: _php_core_globals::rfc1867_protected_variables"]
[::std::mem::offset_of!(_php_core_globals, rfc1867_protected_variables) - 232usize];
["Offset of field: _php_core_globals::connection_status"]
[::std::mem::offset_of!(_php_core_globals, connection_status) - 288usize];
["Offset of field: _php_core_globals::ignore_user_abort"]
[::std::mem::offset_of!(_php_core_globals, ignore_user_abort) - 290usize];
["Offset of field: _php_core_globals::header_is_being_sent"]
[::std::mem::offset_of!(_php_core_globals, header_is_being_sent) - 291usize];
["Offset of field: _php_core_globals::tick_functions"]
[::std::mem::offset_of!(_php_core_globals, tick_functions) - 296usize];
["Offset of field: _php_core_globals::http_globals"]
[::std::mem::offset_of!(_php_core_globals, http_globals) - 352usize];
["Offset of field: _php_core_globals::expose_php"]
[::std::mem::offset_of!(_php_core_globals, expose_php) - 448usize];
["Offset of field: _php_core_globals::register_argc_argv"]
[::std::mem::offset_of!(_php_core_globals, register_argc_argv) - 449usize];
["Offset of field: _php_core_globals::auto_globals_jit"]
[::std::mem::offset_of!(_php_core_globals, auto_globals_jit) - 450usize];
["Offset of field: _php_core_globals::html_errors"]
[::std::mem::offset_of!(_php_core_globals, html_errors) - 451usize];
["Offset of field: _php_core_globals::xmlrpc_errors"]
[::std::mem::offset_of!(_php_core_globals, xmlrpc_errors) - 452usize];
["Offset of field: _php_core_globals::docref_root"]
[::std::mem::offset_of!(_php_core_globals, docref_root) - 456usize];
["Offset of field: _php_core_globals::docref_ext"]
[::std::mem::offset_of!(_php_core_globals, docref_ext) - 464usize];
["Offset of field: _php_core_globals::xmlrpc_error_number"]
[::std::mem::offset_of!(_php_core_globals, xmlrpc_error_number) - 472usize];
["Offset of field: _php_core_globals::activated_auto_globals"]
[::std::mem::offset_of!(_php_core_globals, activated_auto_globals) - 480usize];
["Offset of field: _php_core_globals::modules_activated"]
[::std::mem::offset_of!(_php_core_globals, modules_activated) - 488usize];
["Offset of field: _php_core_globals::file_uploads"]
[::std::mem::offset_of!(_php_core_globals, file_uploads) - 489usize];
["Offset of field: _php_core_globals::during_request_startup"]
[::std::mem::offset_of!(_php_core_globals, during_request_startup) - 490usize];
["Offset of field: _php_core_globals::allow_url_fopen"]
[::std::mem::offset_of!(_php_core_globals, allow_url_fopen) - 491usize];
["Offset of field: _php_core_globals::enable_post_data_reading"]
[::std::mem::offset_of!(_php_core_globals, enable_post_data_reading) - 492usize];
["Offset of field: _php_core_globals::report_zend_debug"]
[::std::mem::offset_of!(_php_core_globals, report_zend_debug) - 493usize];
["Offset of field: _php_core_globals::last_error_type"]
[::std::mem::offset_of!(_php_core_globals, last_error_type) - 496usize];
["Offset of field: _php_core_globals::last_error_lineno"]
[::std::mem::offset_of!(_php_core_globals, last_error_lineno) - 500usize];
["Offset of field: _php_core_globals::last_error_message"]
[::std::mem::offset_of!(_php_core_globals, last_error_message) - 504usize];
["Offset of field: _php_core_globals::last_error_file"]
[::std::mem::offset_of!(_php_core_globals, last_error_file) - 512usize];
["Offset of field: _php_core_globals::php_sys_temp_dir"]
[::std::mem::offset_of!(_php_core_globals, php_sys_temp_dir) - 520usize];
["Offset of field: _php_core_globals::max_input_nesting_level"]
[::std::mem::offset_of!(_php_core_globals, max_input_nesting_level) - 528usize];
["Offset of field: _php_core_globals::max_input_vars"]
[::std::mem::offset_of!(_php_core_globals, max_input_vars) - 536usize];
["Offset of field: _php_core_globals::user_ini_filename"]
[::std::mem::offset_of!(_php_core_globals, user_ini_filename) - 544usize];
["Offset of field: _php_core_globals::user_ini_cache_ttl"]
[::std::mem::offset_of!(_php_core_globals, user_ini_cache_ttl) - 552usize];
["Offset of field: _php_core_globals::request_order"]
[::std::mem::offset_of!(_php_core_globals, request_order) - 560usize];
["Offset of field: _php_core_globals::mail_log"]
[::std::mem::offset_of!(_php_core_globals, mail_log) - 568usize];
["Offset of field: _php_core_globals::mail_cr_lf_mode"]
[::std::mem::offset_of!(_php_core_globals, mail_cr_lf_mode) - 576usize];
["Offset of field: _php_core_globals::mail_x_header"]
[::std::mem::offset_of!(_php_core_globals, mail_x_header) - 584usize];
["Offset of field: _php_core_globals::mail_mixed_lf_and_crlf"]
[::std::mem::offset_of!(_php_core_globals, mail_mixed_lf_and_crlf) - 585usize];
["Offset of field: _php_core_globals::in_error_log"]
[::std::mem::offset_of!(_php_core_globals, in_error_log) - 586usize];
["Offset of field: _php_core_globals::allow_url_include"]
[::std::mem::offset_of!(_php_core_globals, allow_url_include) - 587usize];
["Offset of field: _php_core_globals::in_user_include"]
[::std::mem::offset_of!(_php_core_globals, in_user_include) - 588usize];
["Offset of field: _php_core_globals::have_called_openlog"]
[::std::mem::offset_of!(_php_core_globals, have_called_openlog) - 589usize];
["Offset of field: _php_core_globals::syslog_facility"]
[::std::mem::offset_of!(_php_core_globals, syslog_facility) - 592usize];
["Offset of field: _php_core_globals::syslog_ident"]
[::std::mem::offset_of!(_php_core_globals, syslog_ident) - 600usize];
["Offset of field: _php_core_globals::syslog_filter"]
[::std::mem::offset_of!(_php_core_globals, syslog_filter) - 608usize];
["Offset of field: _php_core_globals::error_log_mode"]
[::std::mem::offset_of!(_php_core_globals, error_log_mode) - 616usize];
};
extern "C" {
pub static mut core_globals: _php_core_globals;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arg_separators {
pub output: *mut zend_string,
pub input: *mut zend_string,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _arg_separators"][::std::mem::size_of::<_arg_separators>() - 16usize];
["Alignment of _arg_separators"][::std::mem::align_of::<_arg_separators>() - 8usize];
["Offset of field: _arg_separators::output"]
[::std::mem::offset_of!(_arg_separators, output) - 0usize];
["Offset of field: _arg_separators::input"]
[::std::mem::offset_of!(_arg_separators, input) - 8usize];
};
pub type arg_separators = _arg_separators;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ini_entry_def {
pub name: *const ::std::os::raw::c_char,
pub on_modify: ::std::option::Option<
unsafe extern "C" fn(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub mh_arg1: *mut ::std::os::raw::c_void,
pub mh_arg2: *mut ::std::os::raw::c_void,
pub mh_arg3: *mut ::std::os::raw::c_void,
pub value: *const ::std::os::raw::c_char,
pub displayer: ::std::option::Option<
unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
>,
pub value_length: u32,
pub name_length: u16,
pub modifiable: u8,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ini_entry_def"][::std::mem::size_of::<_zend_ini_entry_def>() - 64usize];
["Alignment of _zend_ini_entry_def"][::std::mem::align_of::<_zend_ini_entry_def>() - 8usize];
["Offset of field: _zend_ini_entry_def::name"]
[::std::mem::offset_of!(_zend_ini_entry_def, name) - 0usize];
["Offset of field: _zend_ini_entry_def::on_modify"]
[::std::mem::offset_of!(_zend_ini_entry_def, on_modify) - 8usize];
["Offset of field: _zend_ini_entry_def::mh_arg1"]
[::std::mem::offset_of!(_zend_ini_entry_def, mh_arg1) - 16usize];
["Offset of field: _zend_ini_entry_def::mh_arg2"]
[::std::mem::offset_of!(_zend_ini_entry_def, mh_arg2) - 24usize];
["Offset of field: _zend_ini_entry_def::mh_arg3"]
[::std::mem::offset_of!(_zend_ini_entry_def, mh_arg3) - 32usize];
["Offset of field: _zend_ini_entry_def::value"]
[::std::mem::offset_of!(_zend_ini_entry_def, value) - 40usize];
["Offset of field: _zend_ini_entry_def::displayer"]
[::std::mem::offset_of!(_zend_ini_entry_def, displayer) - 48usize];
["Offset of field: _zend_ini_entry_def::value_length"]
[::std::mem::offset_of!(_zend_ini_entry_def, value_length) - 56usize];
["Offset of field: _zend_ini_entry_def::name_length"]
[::std::mem::offset_of!(_zend_ini_entry_def, name_length) - 60usize];
["Offset of field: _zend_ini_entry_def::modifiable"]
[::std::mem::offset_of!(_zend_ini_entry_def, modifiable) - 62usize];
};
pub type zend_ini_entry_def = _zend_ini_entry_def;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ini_entry {
pub name: *mut zend_string,
pub on_modify: ::std::option::Option<
unsafe extern "C" fn(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub mh_arg1: *mut ::std::os::raw::c_void,
pub mh_arg2: *mut ::std::os::raw::c_void,
pub mh_arg3: *mut ::std::os::raw::c_void,
pub value: *mut zend_string,
pub orig_value: *mut zend_string,
pub displayer: ::std::option::Option<
unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
>,
pub module_number: ::std::os::raw::c_int,
pub modifiable: u8,
pub orig_modifiable: u8,
pub modified: u8,
pub def: *const zend_ini_entry_def,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ini_entry"][::std::mem::size_of::<_zend_ini_entry>() - 80usize];
["Alignment of _zend_ini_entry"][::std::mem::align_of::<_zend_ini_entry>() - 8usize];
["Offset of field: _zend_ini_entry::name"]
[::std::mem::offset_of!(_zend_ini_entry, name) - 0usize];
["Offset of field: _zend_ini_entry::on_modify"]
[::std::mem::offset_of!(_zend_ini_entry, on_modify) - 8usize];
["Offset of field: _zend_ini_entry::mh_arg1"]
[::std::mem::offset_of!(_zend_ini_entry, mh_arg1) - 16usize];
["Offset of field: _zend_ini_entry::mh_arg2"]
[::std::mem::offset_of!(_zend_ini_entry, mh_arg2) - 24usize];
["Offset of field: _zend_ini_entry::mh_arg3"]
[::std::mem::offset_of!(_zend_ini_entry, mh_arg3) - 32usize];
["Offset of field: _zend_ini_entry::value"]
[::std::mem::offset_of!(_zend_ini_entry, value) - 40usize];
["Offset of field: _zend_ini_entry::orig_value"]
[::std::mem::offset_of!(_zend_ini_entry, orig_value) - 48usize];
["Offset of field: _zend_ini_entry::displayer"]
[::std::mem::offset_of!(_zend_ini_entry, displayer) - 56usize];
["Offset of field: _zend_ini_entry::module_number"]
[::std::mem::offset_of!(_zend_ini_entry, module_number) - 64usize];
["Offset of field: _zend_ini_entry::modifiable"]
[::std::mem::offset_of!(_zend_ini_entry, modifiable) - 68usize];
["Offset of field: _zend_ini_entry::orig_modifiable"]
[::std::mem::offset_of!(_zend_ini_entry, orig_modifiable) - 69usize];
["Offset of field: _zend_ini_entry::modified"]
[::std::mem::offset_of!(_zend_ini_entry, modified) - 70usize];
["Offset of field: _zend_ini_entry::def"]
[::std::mem::offset_of!(_zend_ini_entry, def) - 72usize];
};
extern "C" {
pub fn zend_ini_startup();
}
extern "C" {
pub fn zend_ini_shutdown();
}
extern "C" {
pub fn zend_ini_global_shutdown();
}
extern "C" {
pub fn zend_ini_deactivate();
}
extern "C" {
pub fn zend_ini_dtor(ini_directives: *mut HashTable);
}
extern "C" {
pub fn zend_copy_ini_directives();
}
extern "C" {
pub fn zend_ini_sort_entries();
}
extern "C" {
pub fn zend_register_ini_entries(
ini_entry: *const zend_ini_entry_def,
module_number: ::std::os::raw::c_int,
) -> zend_result;
}
extern "C" {
pub fn zend_register_ini_entries_ex(
ini_entry: *const zend_ini_entry_def,
module_number: ::std::os::raw::c_int,
module_type: ::std::os::raw::c_int,
) -> zend_result;
}
extern "C" {
pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_unregister_ini_entries_ex(
module_number: ::std::os::raw::c_int,
module_type: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_alter_ini_entry(
name: *mut zend_string,
new_value: *mut zend_string,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
) -> zend_result;
}
extern "C" {
pub fn zend_alter_ini_entry_ex(
name: *mut zend_string,
new_value: *mut zend_string,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
force_change: bool,
) -> zend_result;
}
extern "C" {
pub fn zend_alter_ini_entry_chars(
name: *mut zend_string,
value: *const ::std::os::raw::c_char,
value_length: usize,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
) -> zend_result;
}
extern "C" {
pub fn zend_alter_ini_entry_chars_ex(
name: *mut zend_string,
value: *const ::std::os::raw::c_char,
value_length: usize,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
force_change: ::std::os::raw::c_int,
) -> zend_result;
}
extern "C" {
pub fn zend_restore_ini_entry(
name: *mut zend_string,
stage: ::std::os::raw::c_int,
) -> zend_result;
}
extern "C" {
pub fn zend_ini_long(
name: *const ::std::os::raw::c_char,
name_length: usize,
orig: ::std::os::raw::c_int,
) -> zend_long;
}
extern "C" {
pub fn zend_ini_double(
name: *const ::std::os::raw::c_char,
name_length: usize,
orig: ::std::os::raw::c_int,
) -> f64;
}
extern "C" {
pub fn zend_ini_string(
name: *const ::std::os::raw::c_char,
name_length: usize,
orig: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_ini_string_ex(
name: *const ::std::os::raw::c_char,
name_length: usize,
orig: ::std::os::raw::c_int,
exists: *mut bool,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_ini_str(
name: *const ::std::os::raw::c_char,
name_length: usize,
orig: bool,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_ini_str_ex(
name: *const ::std::os::raw::c_char,
name_length: usize,
orig: bool,
exists: *mut bool,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_ini_get_value(name: *mut zend_string) -> *mut zend_string;
}
extern "C" {
pub fn zend_ini_parse_bool(str_: *mut zend_string) -> bool;
}
extern "C" {
#[doc = " Parses an ini quantity\n\n The value parameter must be a string in the form\n\n sign? digits ws* multiplier?\n\n with\n\n sign: [+-]\n digit: [0-9]\n digits: digit+\n ws: [ \\t\\n\\r\\v\\f]\n multiplier: [KMG]\n\n Leading and trailing whitespaces are ignored.\n\n If the string is empty or consists only of only whitespaces, 0 is returned.\n\n Digits is parsed as decimal unless the first digit is '0', in which case\n digits is parsed as octal.\n\n The multiplier is case-insensitive. K, M, and G multiply the quantity by\n 2**10, 2**20, and 2**30, respectively.\n\n For backwards compatibility, ill-formatted values are handled as follows:\n - No leading digits: value is treated as '0'\n - Invalid multiplier: multiplier is ignored\n - Invalid characters between digits and multiplier: invalid characters are\n ignored\n - Integer overflow: The result of the overflow is returned\n\n In any of these cases an error string is stored in *errstr (caller must\n release it), otherwise *errstr is set to NULL."]
pub fn zend_ini_parse_quantity(
value: *mut zend_string,
errstr: *mut *mut zend_string,
) -> zend_long;
}
extern "C" {
#[doc = " Unsigned variant of zend_ini_parse_quantity"]
pub fn zend_ini_parse_uquantity(
value: *mut zend_string,
errstr: *mut *mut zend_string,
) -> zend_ulong;
}
extern "C" {
pub fn zend_ini_parse_quantity_warn(
value: *mut zend_string,
setting: *mut zend_string,
) -> zend_long;
}
extern "C" {
pub fn zend_ini_parse_uquantity_warn(
value: *mut zend_string,
setting: *mut zend_string,
) -> zend_ulong;
}
extern "C" {
pub fn zend_ini_register_displayer(
name: *const ::std::os::raw::c_char,
name_length: u32,
displayer: ::std::option::Option<
unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
>,
) -> zend_result;
}
extern "C" {
pub fn zend_ini_boolean_displayer_cb(
ini_entry: *mut zend_ini_entry,
type_: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_ini_color_displayer_cb(
ini_entry: *mut zend_ini_entry,
type_: ::std::os::raw::c_int,
);
}
pub type zend_ini_parser_cb_t = ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut zval,
arg2: *mut zval,
arg3: *mut zval,
callback_type: ::std::os::raw::c_int,
arg: *mut ::std::os::raw::c_void,
),
>;
extern "C" {
pub fn zend_parse_ini_file(
fh: *mut zend_file_handle,
unbuffered_errors: bool,
scanner_mode: ::std::os::raw::c_int,
ini_parser_cb: zend_ini_parser_cb_t,
arg: *mut ::std::os::raw::c_void,
) -> zend_result;
}
extern "C" {
pub fn zend_parse_ini_string(
str_: *const ::std::os::raw::c_char,
unbuffered_errors: bool,
scanner_mode: ::std::os::raw::c_int,
ini_parser_cb: zend_ini_parser_cb_t,
arg: *mut ::std::os::raw::c_void,
) -> zend_result;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ini_parser_param {
pub ini_parser_cb: zend_ini_parser_cb_t,
pub arg: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_ini_parser_param"][::std::mem::size_of::<_zend_ini_parser_param>() - 16usize];
["Alignment of _zend_ini_parser_param"]
[::std::mem::align_of::<_zend_ini_parser_param>() - 8usize];
["Offset of field: _zend_ini_parser_param::ini_parser_cb"]
[::std::mem::offset_of!(_zend_ini_parser_param, ini_parser_cb) - 0usize];
["Offset of field: _zend_ini_parser_param::arg"]
[::std::mem::offset_of!(_zend_ini_parser_param, arg) - 8usize];
};
pub type zend_ini_parser_param = _zend_ini_parser_param;
extern "C" {
pub fn php_init_config();
}
extern "C" {
pub fn php_shutdown_config();
}
extern "C" {
pub fn php_ini_register_extensions();
}
extern "C" {
pub fn php_parse_user_ini_file(
dirname: *const ::std::os::raw::c_char,
ini_filename: *const ::std::os::raw::c_char,
target_hash: *mut HashTable,
) -> zend_result;
}
extern "C" {
pub fn php_ini_activate_config(
source_hash: *const HashTable,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn php_ini_has_per_dir_config() -> bool;
}
extern "C" {
pub fn php_ini_has_per_host_config() -> bool;
}
extern "C" {
pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: usize);
}
extern "C" {
pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: usize);
}
extern "C" {
pub fn php_ini_get_configuration_hash() -> *mut HashTable;
}
extern "C" {
pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_check_open_basedir_ex(
path: *const ::std::os::raw::c_char,
warn: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_check_specific_open_basedir(
basedir: *const ::std::os::raw::c_char,
path: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_resolve_path(
filename: *const ::std::os::raw::c_char,
filename_len: usize,
path: *const ::std::os::raw::c_char,
) -> *mut zend_string;
}
extern "C" {
pub fn php_fopen_with_path(
filename: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
path: *const ::std::os::raw::c_char,
opened_path: *mut *mut zend_string,
) -> *mut FILE;
}
extern "C" {
pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _cwd_state {
pub cwd: *mut ::std::os::raw::c_char,
pub cwd_length: usize,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _cwd_state"][::std::mem::size_of::<_cwd_state>() - 16usize];
["Alignment of _cwd_state"][::std::mem::align_of::<_cwd_state>() - 8usize];
["Offset of field: _cwd_state::cwd"][::std::mem::offset_of!(_cwd_state, cwd) - 0usize];
["Offset of field: _cwd_state::cwd_length"]
[::std::mem::offset_of!(_cwd_state, cwd_length) - 8usize];
};
pub type cwd_state = _cwd_state;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _realpath_cache_bucket {
pub key: zend_ulong,
pub path: *mut ::std::os::raw::c_char,
pub realpath: *mut ::std::os::raw::c_char,
pub next: *mut _realpath_cache_bucket,
pub expires: time_t,
pub path_len: u16,
pub realpath_len: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
pub __bindgen_padding_0: [u8; 3usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _realpath_cache_bucket"][::std::mem::size_of::<_realpath_cache_bucket>() - 48usize];
["Alignment of _realpath_cache_bucket"]
[::std::mem::align_of::<_realpath_cache_bucket>() - 8usize];
["Offset of field: _realpath_cache_bucket::key"]
[::std::mem::offset_of!(_realpath_cache_bucket, key) - 0usize];
["Offset of field: _realpath_cache_bucket::path"]
[::std::mem::offset_of!(_realpath_cache_bucket, path) - 8usize];
["Offset of field: _realpath_cache_bucket::realpath"]
[::std::mem::offset_of!(_realpath_cache_bucket, realpath) - 16usize];
["Offset of field: _realpath_cache_bucket::next"]
[::std::mem::offset_of!(_realpath_cache_bucket, next) - 24usize];
["Offset of field: _realpath_cache_bucket::expires"]
[::std::mem::offset_of!(_realpath_cache_bucket, expires) - 32usize];
["Offset of field: _realpath_cache_bucket::path_len"]
[::std::mem::offset_of!(_realpath_cache_bucket, path_len) - 40usize];
["Offset of field: _realpath_cache_bucket::realpath_len"]
[::std::mem::offset_of!(_realpath_cache_bucket, realpath_len) - 42usize];
};
impl _realpath_cache_bucket {
#[inline]
pub fn is_dir(&self) -> u8 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
}
#[inline]
pub fn set_is_dir(&mut self, val: u8) {
unsafe {
let val: u8 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(is_dir: u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let is_dir: u8 = unsafe { ::std::mem::transmute(is_dir) };
is_dir as u64
});
__bindgen_bitfield_unit
}
}
pub type realpath_cache_bucket = _realpath_cache_bucket;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _virtual_cwd_globals {
pub cwd: cwd_state,
pub realpath_cache_size: zend_long,
pub realpath_cache_size_limit: zend_long,
pub realpath_cache_ttl: zend_long,
pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _virtual_cwd_globals"][::std::mem::size_of::<_virtual_cwd_globals>() - 8232usize];
["Alignment of _virtual_cwd_globals"][::std::mem::align_of::<_virtual_cwd_globals>() - 8usize];
["Offset of field: _virtual_cwd_globals::cwd"]
[::std::mem::offset_of!(_virtual_cwd_globals, cwd) - 0usize];
["Offset of field: _virtual_cwd_globals::realpath_cache_size"]
[::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size) - 16usize];
["Offset of field: _virtual_cwd_globals::realpath_cache_size_limit"]
[::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size_limit) - 24usize];
["Offset of field: _virtual_cwd_globals::realpath_cache_ttl"]
[::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_ttl) - 32usize];
["Offset of field: _virtual_cwd_globals::realpath_cache"]
[::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache) - 40usize];
};
pub type virtual_cwd_globals = _virtual_cwd_globals;
extern "C" {
pub static mut cwd_globals: virtual_cwd_globals;
}
pub type zend_bool = bool;
pub type zend_intptr_t = isize;
pub type zend_uintptr_t = usize;
extern "C" {
pub fn php_print_info_htmlhead();
}
extern "C" {
pub fn php_print_info(flag: ::std::os::raw::c_int);
}
extern "C" {
pub fn php_print_style();
}
extern "C" {
pub fn php_info_print_style();
}
extern "C" {
pub fn php_info_print_table_colspan_header(
num_cols: ::std::os::raw::c_int,
header: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn php_info_print_table_row_ex(
num_cols: ::std::os::raw::c_int,
arg1: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn php_info_print_table_start();
}
extern "C" {
pub fn php_info_print_table_end();
}
extern "C" {
pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
}
extern "C" {
pub fn php_info_print_box_end();
}
extern "C" {
pub fn php_info_print_hr();
}
extern "C" {
pub fn php_info_print_module(module: *mut zend_module_entry);
}
extern "C" {
pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_extension_version_info {
pub zend_extension_api_no: ::std::os::raw::c_int,
pub build_id: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_extension_version_info"]
[::std::mem::size_of::<_zend_extension_version_info>() - 16usize];
["Alignment of _zend_extension_version_info"]
[::std::mem::align_of::<_zend_extension_version_info>() - 8usize];
["Offset of field: _zend_extension_version_info::zend_extension_api_no"]
[::std::mem::offset_of!(_zend_extension_version_info, zend_extension_api_no) - 0usize];
["Offset of field: _zend_extension_version_info::build_id"]
[::std::mem::offset_of!(_zend_extension_version_info, build_id) - 8usize];
};
pub type zend_extension_version_info = _zend_extension_version_info;
pub type zend_extension = _zend_extension;
pub type startup_func_t = ::std::option::Option<
unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
>;
pub type shutdown_func_t =
::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
pub type message_handler_func_t = ::std::option::Option<
unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
>;
pub type op_array_handler_func_t =
::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
pub type statement_handler_func_t =
::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
pub type fcall_begin_handler_func_t =
::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
pub type fcall_end_handler_func_t =
::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
pub type op_array_ctor_func_t =
::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
pub type op_array_dtor_func_t =
::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
pub type op_array_persist_calc_func_t =
::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array) -> usize>;
pub type op_array_persist_func_t = ::std::option::Option<
unsafe extern "C" fn(op_array: *mut zend_op_array, mem: *mut ::std::os::raw::c_void) -> usize,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_extension {
pub name: *const ::std::os::raw::c_char,
pub version: *const ::std::os::raw::c_char,
pub author: *const ::std::os::raw::c_char,
pub URL: *const ::std::os::raw::c_char,
pub copyright: *const ::std::os::raw::c_char,
pub startup: startup_func_t,
pub shutdown: shutdown_func_t,
pub activate: activate_func_t,
pub deactivate: deactivate_func_t,
pub message_handler: message_handler_func_t,
pub op_array_handler: op_array_handler_func_t,
pub statement_handler: statement_handler_func_t,
pub fcall_begin_handler: fcall_begin_handler_func_t,
pub fcall_end_handler: fcall_end_handler_func_t,
pub op_array_ctor: op_array_ctor_func_t,
pub op_array_dtor: op_array_dtor_func_t,
pub api_no_check: ::std::option::Option<
unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
>,
pub build_id_check: ::std::option::Option<
unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
>,
pub op_array_persist_calc: op_array_persist_calc_func_t,
pub op_array_persist: op_array_persist_func_t,
pub reserved5: *mut ::std::os::raw::c_void,
pub reserved6: *mut ::std::os::raw::c_void,
pub reserved7: *mut ::std::os::raw::c_void,
pub reserved8: *mut ::std::os::raw::c_void,
pub handle: *mut ::std::os::raw::c_void,
pub resource_number: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_extension"][::std::mem::size_of::<_zend_extension>() - 208usize];
["Alignment of _zend_extension"][::std::mem::align_of::<_zend_extension>() - 8usize];
["Offset of field: _zend_extension::name"]
[::std::mem::offset_of!(_zend_extension, name) - 0usize];
["Offset of field: _zend_extension::version"]
[::std::mem::offset_of!(_zend_extension, version) - 8usize];
["Offset of field: _zend_extension::author"]
[::std::mem::offset_of!(_zend_extension, author) - 16usize];
["Offset of field: _zend_extension::URL"]
[::std::mem::offset_of!(_zend_extension, URL) - 24usize];
["Offset of field: _zend_extension::copyright"]
[::std::mem::offset_of!(_zend_extension, copyright) - 32usize];
["Offset of field: _zend_extension::startup"]
[::std::mem::offset_of!(_zend_extension, startup) - 40usize];
["Offset of field: _zend_extension::shutdown"]
[::std::mem::offset_of!(_zend_extension, shutdown) - 48usize];
["Offset of field: _zend_extension::activate"]
[::std::mem::offset_of!(_zend_extension, activate) - 56usize];
["Offset of field: _zend_extension::deactivate"]
[::std::mem::offset_of!(_zend_extension, deactivate) - 64usize];
["Offset of field: _zend_extension::message_handler"]
[::std::mem::offset_of!(_zend_extension, message_handler) - 72usize];
["Offset of field: _zend_extension::op_array_handler"]
[::std::mem::offset_of!(_zend_extension, op_array_handler) - 80usize];
["Offset of field: _zend_extension::statement_handler"]
[::std::mem::offset_of!(_zend_extension, statement_handler) - 88usize];
["Offset of field: _zend_extension::fcall_begin_handler"]
[::std::mem::offset_of!(_zend_extension, fcall_begin_handler) - 96usize];
["Offset of field: _zend_extension::fcall_end_handler"]
[::std::mem::offset_of!(_zend_extension, fcall_end_handler) - 104usize];
["Offset of field: _zend_extension::op_array_ctor"]
[::std::mem::offset_of!(_zend_extension, op_array_ctor) - 112usize];
["Offset of field: _zend_extension::op_array_dtor"]
[::std::mem::offset_of!(_zend_extension, op_array_dtor) - 120usize];
["Offset of field: _zend_extension::api_no_check"]
[::std::mem::offset_of!(_zend_extension, api_no_check) - 128usize];
["Offset of field: _zend_extension::build_id_check"]
[::std::mem::offset_of!(_zend_extension, build_id_check) - 136usize];
["Offset of field: _zend_extension::op_array_persist_calc"]
[::std::mem::offset_of!(_zend_extension, op_array_persist_calc) - 144usize];
["Offset of field: _zend_extension::op_array_persist"]
[::std::mem::offset_of!(_zend_extension, op_array_persist) - 152usize];
["Offset of field: _zend_extension::reserved5"]
[::std::mem::offset_of!(_zend_extension, reserved5) - 160usize];
["Offset of field: _zend_extension::reserved6"]
[::std::mem::offset_of!(_zend_extension, reserved6) - 168usize];
["Offset of field: _zend_extension::reserved7"]
[::std::mem::offset_of!(_zend_extension, reserved7) - 176usize];
["Offset of field: _zend_extension::reserved8"]
[::std::mem::offset_of!(_zend_extension, reserved8) - 184usize];
["Offset of field: _zend_extension::handle"]
[::std::mem::offset_of!(_zend_extension, handle) - 192usize];
["Offset of field: _zend_extension::resource_number"]
[::std::mem::offset_of!(_zend_extension, resource_number) - 200usize];
};
extern "C" {
pub static mut zend_op_array_extension_handles: ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_get_resource_handle(
module_name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_get_op_array_extension_handle(
module_name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_get_op_array_extension_handles(
module_name: *const ::std::os::raw::c_char,
handles: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_get_internal_function_extension_handle(
module_name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_get_internal_function_extension_handles(
module_name: *const ::std::os::raw::c_char,
handles: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_extension_dispatch_message(
message: ::std::os::raw::c_int,
arg: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub static mut zend_extensions: zend_llist;
}
extern "C" {
pub static mut zend_extension_flags: u32;
}
extern "C" {
pub fn zend_extension_dtor(extension: *mut zend_extension);
}
extern "C" {
pub fn zend_append_version_info(extension: *const zend_extension);
}
extern "C" {
pub fn zend_startup_extensions_mechanism();
}
extern "C" {
pub fn zend_startup_extensions();
}
extern "C" {
pub fn zend_shutdown_extensions();
}
extern "C" {
pub fn zend_internal_run_time_cache_reserved_size() -> usize;
}
extern "C" {
pub fn zend_init_internal_run_time_cache();
}
extern "C" {
pub fn zend_reset_internal_run_time_cache();
}
extern "C" {
pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> zend_result;
}
extern "C" {
pub fn zend_load_extension_handle(
handle: *mut ::std::os::raw::c_void,
path: *const ::std::os::raw::c_char,
) -> zend_result;
}
extern "C" {
pub fn zend_register_extension(
new_extension: *mut zend_extension,
handle: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
-> *mut zend_extension;
}
extern "C" {
pub fn zend_extensions_op_array_persist_calc(op_array: *mut zend_op_array) -> usize;
}
extern "C" {
pub fn zend_extensions_op_array_persist(
op_array: *mut zend_op_array,
mem: *mut ::std::os::raw::c_void,
) -> usize;
}
pub const ZEND_MODULE_BUILD_ID_: &[u8; 16] = b"API20250925,NTS\0";
pub type __builtin_va_list = [__va_list_tag; 1usize];
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __va_list_tag {
pub gp_offset: ::std::os::raw::c_uint,
pub fp_offset: ::std::os::raw::c_uint,
pub overflow_arg_area: *mut ::std::os::raw::c_void,
pub reg_save_area: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of __va_list_tag"][::std::mem::size_of::<__va_list_tag>() - 24usize];
["Alignment of __va_list_tag"][::std::mem::align_of::<__va_list_tag>() - 8usize];
["Offset of field: __va_list_tag::gp_offset"]
[::std::mem::offset_of!(__va_list_tag, gp_offset) - 0usize];
["Offset of field: __va_list_tag::fp_offset"]
[::std::mem::offset_of!(__va_list_tag, fp_offset) - 4usize];
["Offset of field: __va_list_tag::overflow_arg_area"]
[::std::mem::offset_of!(__va_list_tag, overflow_arg_area) - 8usize];
["Offset of field: __va_list_tag::reg_save_area"]
[::std::mem::offset_of!(__va_list_tag, reg_save_area) - 16usize];
};