/* automatically generated by rust-bindgen 0.73.2 */
#[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]
fn extract_bit(byte: u8, index: usize) -> bool {
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 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];
Self::extract_bit(byte, index)
}
#[inline]
pub unsafe fn raw_get_bit(this: *const Self, index: usize) -> bool {
debug_assert!(index / 8 < core::mem::size_of::<Storage>());
let byte_index = index / 8;
let byte = unsafe {
*(core::ptr::addr_of!((*this).storage) as *const u8).offset(byte_index as isize)
};
Self::extract_bit(byte, index)
}
#[inline]
fn change_bit(byte: u8, index: usize, val: bool) -> u8 {
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 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];
*byte = Self::change_bit(*byte, index, val);
}
#[inline]
pub unsafe fn raw_set_bit(this: *mut Self, index: usize, val: bool) {
debug_assert!(index / 8 < core::mem::size_of::<Storage>());
let byte_index = index / 8;
let byte = unsafe {
(core::ptr::addr_of_mut!((*this).storage) as *mut u8).offset(byte_index as isize)
};
unsafe { *byte = Self::change_bit(*byte, index, val) };
}
#[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) + 7) / 8 <= self.storage.as_ref().len());
if bit_width == 0 {
return 0;
}
let mut val = 0u64;
let storage = self.storage.as_ref();
let start_byte = bit_offset / 8;
let bit_shift = bit_offset % 8;
let bytes_needed = (bit_width as usize + bit_shift + 7) / 8;
if cfg!(target_endian = "big") {
for i in 0..bytes_needed {
val |= (storage[start_byte + i].reverse_bits() as u64) << (i * 8);
}
} else {
for i in 0..bytes_needed {
val |= (storage[start_byte + i] as u64) << (i * 8);
}
}
val >>= bit_shift;
if bit_width < 64 {
val &= (1u64 << bit_width) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (64 - bit_width as usize);
}
val
}
#[inline]
pub unsafe fn raw_get(this: *const Self, bit_offset: usize, bit_width: u8) -> u64 {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
debug_assert!(
(bit_offset + (bit_width as usize) + 7) / 8 <= core::mem::size_of::<Storage>()
);
if bit_width == 0 {
return 0;
}
let mut val = 0u64;
let start_byte = bit_offset / 8;
let bit_shift = bit_offset % 8;
let bytes_needed = (bit_width as usize + bit_shift + 7) / 8;
let storage_ptr = unsafe { core::ptr::addr_of!((*this).storage) as *const u8 };
if cfg!(target_endian = "big") {
for i in 0..bytes_needed {
let byte = unsafe { *storage_ptr.add(start_byte + i) };
val |= (byte.reverse_bits() as u64) << (i * 8);
}
} else {
for i in 0..bytes_needed {
let byte = unsafe { *storage_ptr.add(start_byte + i) };
val |= (byte as u64) << (i * 8);
}
}
val >>= bit_shift;
if bit_width < 64 {
val &= (1u64 << bit_width) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (64 - bit_width as usize);
}
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) + 7) / 8 <= self.storage.as_ref().len());
if bit_width == 0 {
return;
}
let mut val = val;
if bit_width < 64 {
val &= (1u64 << bit_width) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (64 - bit_width as usize);
}
let storage = self.storage.as_mut();
let start_byte = bit_offset / 8;
let bit_shift = bit_offset % 8;
let bytes_needed = (bit_width as usize + bit_shift + 7) / 8;
val <<= bit_shift;
let field_mask = if bit_width as usize + bit_shift >= 64 {
!0u64 << bit_shift
} else {
((1u64 << bit_width) - 1) << bit_shift
};
for i in 0..bytes_needed {
let byte_val = (val >> (i * 8)) as u8;
let byte_mask = (field_mask >> (i * 8)) as u8;
if cfg!(target_endian = "big") {
let byte = storage[start_byte + i].reverse_bits();
let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
storage[start_byte + i] = new_byte.reverse_bits();
} else {
storage[start_byte + i] =
(storage[start_byte + i] & !byte_mask) | (byte_val & byte_mask);
}
}
}
#[inline]
pub unsafe fn raw_set(this: *mut Self, bit_offset: usize, bit_width: u8, val: u64) {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
debug_assert!(
(bit_offset + (bit_width as usize) + 7) / 8 <= core::mem::size_of::<Storage>()
);
if bit_width == 0 {
return;
}
let mut val = val;
if bit_width < 64 {
val &= (1u64 << bit_width) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (64 - bit_width as usize);
}
let start_byte = bit_offset / 8;
let bit_shift = bit_offset % 8;
let bytes_needed = (bit_width as usize + bit_shift + 7) / 8;
val <<= bit_shift;
let field_mask = if bit_width as usize + bit_shift >= 64 {
!0u64 << bit_shift
} else {
((1u64 << bit_width) - 1) << bit_shift
};
let storage_ptr = unsafe { core::ptr::addr_of_mut!((*this).storage) as *mut u8 };
for i in 0..bytes_needed {
let byte_val = (val >> (i * 8)) as u8;
let byte_mask = (field_mask >> (i * 8)) as u8;
let byte_ptr = unsafe { storage_ptr.add(start_byte + i) };
if cfg!(target_endian = "big") {
let byte = unsafe { (*byte_ptr).reverse_bits() };
let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
unsafe { *byte_ptr = new_byte.reverse_bits() };
} else {
unsafe { *byte_ptr = (*byte_ptr & !byte_mask) | (byte_val & byte_mask) };
}
}
}
}
#[doc = " Const-generic methods for efficient bitfield access when offset and width"]
#[doc = " are known at compile time."]
impl<const N: usize> __BindgenBitfieldUnit<[u8; N]> {
#[doc = " Get a field using const generics for compile-time optimization."]
#[doc = " Uses native word size operations when the field fits in usize."]
#[inline]
pub const fn get_const<const BIT_OFFSET: usize, const BIT_WIDTH: u8>(&self) -> u64 {
debug_assert!(BIT_WIDTH <= 64);
debug_assert!(BIT_OFFSET / 8 < N);
debug_assert!((BIT_OFFSET + (BIT_WIDTH as usize) + 7) / 8 <= N);
if BIT_WIDTH == 0 {
return 0;
}
let start_byte = BIT_OFFSET / 8;
let bit_shift = BIT_OFFSET % 8;
let bytes_needed = (BIT_WIDTH as usize + bit_shift + 7) / 8;
if BIT_WIDTH as usize + bit_shift <= usize::BITS as usize {
let mut val = 0usize;
if cfg!(target_endian = "big") {
let mut i = 0;
while i < bytes_needed {
val |= (self.storage[start_byte + i].reverse_bits() as usize) << (i * 8);
i += 1;
}
} else {
let mut i = 0;
while i < bytes_needed {
val |= (self.storage[start_byte + i] as usize) << (i * 8);
i += 1;
}
}
val >>= bit_shift;
if (BIT_WIDTH as u32) < usize::BITS {
val &= (1usize << BIT_WIDTH) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (usize::BITS as usize - BIT_WIDTH as usize);
}
val as u64
} else {
let mut val = 0u64;
if cfg!(target_endian = "big") {
let mut i = 0;
while i < bytes_needed {
val |= (self.storage[start_byte + i].reverse_bits() as u64) << (i * 8);
i += 1;
}
} else {
let mut i = 0;
while i < bytes_needed {
val |= (self.storage[start_byte + i] as u64) << (i * 8);
i += 1;
}
}
val >>= bit_shift;
if BIT_WIDTH < 64 {
val &= (1u64 << BIT_WIDTH) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (64 - BIT_WIDTH as usize);
}
val
}
}
#[doc = " Set a field using const generics for compile-time optimization."]
#[doc = " Uses native word size operations when the field fits in usize."]
#[inline]
pub fn set_const<const BIT_OFFSET: usize, const BIT_WIDTH: u8>(&mut self, val: u64) {
debug_assert!(BIT_WIDTH <= 64);
debug_assert!(BIT_OFFSET / 8 < N);
debug_assert!((BIT_OFFSET + (BIT_WIDTH as usize) + 7) / 8 <= N);
if BIT_WIDTH == 0 {
return;
}
let start_byte = BIT_OFFSET / 8;
let bit_shift = BIT_OFFSET % 8;
let bytes_needed = (BIT_WIDTH as usize + bit_shift + 7) / 8;
if BIT_WIDTH as usize + bit_shift <= usize::BITS as usize {
let mut val = val as usize;
if (BIT_WIDTH as u32) < usize::BITS {
val &= (1usize << BIT_WIDTH) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (usize::BITS as usize - BIT_WIDTH as usize);
}
val <<= bit_shift;
let field_mask = if BIT_WIDTH as usize + bit_shift >= usize::BITS as usize {
!0usize << bit_shift
} else {
((1usize << BIT_WIDTH) - 1) << bit_shift
};
let mut i = 0;
while i < bytes_needed {
let byte_val = (val >> (i * 8)) as u8;
let byte_mask = (field_mask >> (i * 8)) as u8;
if cfg!(target_endian = "big") {
let byte = self.storage[start_byte + i].reverse_bits();
let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
self.storage[start_byte + i] = new_byte.reverse_bits();
} else {
self.storage[start_byte + i] =
(self.storage[start_byte + i] & !byte_mask) | (byte_val & byte_mask);
}
i += 1;
}
} else {
let mut val = val;
if BIT_WIDTH < 64 {
val &= (1u64 << BIT_WIDTH) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (64 - BIT_WIDTH as usize);
}
val <<= bit_shift;
let field_mask = if BIT_WIDTH as usize + bit_shift >= 64 {
!0u64 << bit_shift
} else {
((1u64 << BIT_WIDTH) - 1) << bit_shift
};
let mut i = 0;
while i < bytes_needed {
let byte_val = (val >> (i * 8)) as u8;
let byte_mask = (field_mask >> (i * 8)) as u8;
if cfg!(target_endian = "big") {
let byte = self.storage[start_byte + i].reverse_bits();
let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
self.storage[start_byte + i] = new_byte.reverse_bits();
} else {
self.storage[start_byte + i] =
(self.storage[start_byte + i] & !byte_mask) | (byte_val & byte_mask);
}
i += 1;
}
}
}
#[doc = " Raw pointer get using const generics for compile-time optimization."]
#[doc = " Uses native word size operations when the field fits in usize."]
#[inline]
pub const unsafe fn raw_get_const<const BIT_OFFSET: usize, const BIT_WIDTH: u8>(
this: *const Self,
) -> u64 {
debug_assert!(BIT_WIDTH <= 64);
debug_assert!(BIT_OFFSET / 8 < N);
debug_assert!((BIT_OFFSET + (BIT_WIDTH as usize) + 7) / 8 <= N);
if BIT_WIDTH == 0 {
return 0;
}
let start_byte = BIT_OFFSET / 8;
let bit_shift = BIT_OFFSET % 8;
let bytes_needed = (BIT_WIDTH as usize + bit_shift + 7) / 8;
let storage_ptr = unsafe { core::ptr::addr_of!((*this).storage) as *const u8 };
if BIT_WIDTH as usize + bit_shift <= usize::BITS as usize {
let mut val = 0usize;
if cfg!(target_endian = "big") {
let mut i = 0;
while i < bytes_needed {
let byte = unsafe { *storage_ptr.add(start_byte + i) };
val |= (byte.reverse_bits() as usize) << (i * 8);
i += 1;
}
} else {
let mut i = 0;
while i < bytes_needed {
let byte = unsafe { *storage_ptr.add(start_byte + i) };
val |= (byte as usize) << (i * 8);
i += 1;
}
}
val >>= bit_shift;
if (BIT_WIDTH as u32) < usize::BITS {
val &= (1usize << BIT_WIDTH) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (usize::BITS as usize - BIT_WIDTH as usize);
}
val as u64
} else {
let mut val = 0u64;
if cfg!(target_endian = "big") {
let mut i = 0;
while i < bytes_needed {
let byte = unsafe { *storage_ptr.add(start_byte + i) };
val |= (byte.reverse_bits() as u64) << (i * 8);
i += 1;
}
} else {
let mut i = 0;
while i < bytes_needed {
let byte = unsafe { *storage_ptr.add(start_byte + i) };
val |= (byte as u64) << (i * 8);
i += 1;
}
}
val >>= bit_shift;
if BIT_WIDTH < 64 {
val &= (1u64 << BIT_WIDTH) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (64 - BIT_WIDTH as usize);
}
val
}
}
#[doc = " Raw pointer set using const generics for compile-time optimization."]
#[doc = " Uses native word size operations when the field fits in usize."]
#[inline]
pub unsafe fn raw_set_const<const BIT_OFFSET: usize, const BIT_WIDTH: u8>(
this: *mut Self,
val: u64,
) {
debug_assert!(BIT_WIDTH <= 64);
debug_assert!(BIT_OFFSET / 8 < N);
debug_assert!((BIT_OFFSET + (BIT_WIDTH as usize) + 7) / 8 <= N);
if BIT_WIDTH == 0 {
return;
}
let start_byte = BIT_OFFSET / 8;
let bit_shift = BIT_OFFSET % 8;
let bytes_needed = (BIT_WIDTH as usize + bit_shift + 7) / 8;
let storage_ptr = this.cast::<[u8; N]>().cast::<u8>();
if BIT_WIDTH as usize + bit_shift <= usize::BITS as usize {
let mut val = val as usize;
if (BIT_WIDTH as u32) < usize::BITS {
val &= (1usize << BIT_WIDTH) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (usize::BITS as usize - BIT_WIDTH as usize);
}
val <<= bit_shift;
let field_mask = if BIT_WIDTH as usize + bit_shift >= usize::BITS as usize {
!0usize << bit_shift
} else {
((1usize << BIT_WIDTH) - 1) << bit_shift
};
let mut i = 0;
while i < bytes_needed {
let byte_val = (val >> (i * 8)) as u8;
let byte_mask = (field_mask >> (i * 8)) as u8;
let byte_ptr = unsafe { storage_ptr.add(start_byte + i) };
if cfg!(target_endian = "big") {
let byte = unsafe { (*byte_ptr).reverse_bits() };
let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
unsafe { *byte_ptr = new_byte.reverse_bits() };
} else {
unsafe { *byte_ptr = (*byte_ptr & !byte_mask) | (byte_val & byte_mask) };
}
i += 1;
}
} else {
let mut val = val;
if BIT_WIDTH < 64 {
val &= (1u64 << BIT_WIDTH) - 1;
}
if cfg!(target_endian = "big") {
val = val.reverse_bits() >> (64 - BIT_WIDTH as usize);
}
val <<= bit_shift;
let field_mask = if BIT_WIDTH as usize + bit_shift >= 64 {
!0u64 << bit_shift
} else {
((1u64 << BIT_WIDTH) - 1) << bit_shift
};
let mut i = 0;
while i < bytes_needed {
let byte_val = (val >> (i * 8)) as u8;
let byte_mask = (field_mask >> (i * 8)) as u8;
let byte_ptr = unsafe { storage_ptr.add(start_byte + i) };
if cfg!(target_endian = "big") {
let byte = unsafe { (*byte_ptr).reverse_bits() };
let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
unsafe { *byte_ptr = new_byte.reverse_bits() };
} else {
unsafe { *byte_ptr = (*byte_ptr & !byte_mask) | (byte_val & byte_mask) };
}
i += 1;
}
}
}
}
pub const ZEND_VERSION: &[u8; 6] = b"4.5.9\0";
pub const COOKIE_SEEKER_USES_OFF64_T: u32 = 1;
pub const DEFAULT_SHORT_OPEN_TAG: &[u8; 2] = b"1\0";
pub const ENABLE_CHROOT_FUNC: u32 = 1;
pub const GWINSZ_IN_SYS_IOCTL: u32 = 1;
pub const ICONV_BROKEN_IGNORE: u32 = 1;
pub const MAJOR_IN_SYSMACROS: u32 = 1;
pub const PCRE2_CODE_UNIT_WIDTH: u32 = 8;
pub const PHP_BUILD_SYSTEM : & [u8 ; 106] = b"Linux 97cb8b99a76e 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 GNU/Linux\0" ;
pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
pub const PHP_ICONV_IMPL: &[u8; 6] = b"glibc\0";
pub const PHP_OS: &[u8; 6] = b"Linux\0";
pub const PHP_SIGCHILD: u32 = 0;
pub const PHP_UNAME : & [u8 ; 106] = b"Linux 97cb8b99a76e 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 GNU/Linux\0" ;
pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
pub const PHP_WRITE_STDOUT: u32 = 1;
pub const SIZEOF_INT: u32 = 4;
pub const SIZEOF_LONG: u32 = 8;
pub const SIZEOF_LONG_LONG: u32 = 8;
pub const SIZEOF_OFF_T: u32 = 8;
pub const SIZEOF_SIZE_T: u32 = 8;
pub const STDC_HEADERS: u32 = 1;
pub const STRERROR_R_CHAR_P: u32 = 1;
pub const URI_ENABLE_ANSI: u32 = 1;
pub const URI_NO_UNICODE: u32 = 1;
pub const _ALL_SOURCE: u32 = 1;
pub const _DARWIN_C_SOURCE: u32 = 1;
pub const __EXTENSIONS__: u32 = 1;
pub const _GNU_SOURCE: u32 = 1;
pub const _HPUX_ALT_XOPEN_SOCKET_API: u32 = 1;
pub const _NETBSD_SOURCE: u32 = 1;
pub const _OPENBSD_SOURCE: u32 = 1;
pub const _POSIX_PTHREAD_SEMANTICS: u32 = 1;
pub const __STDC_WANT_IEC_60559_ATTRIBS_EXT__: u32 = 1;
pub const __STDC_WANT_IEC_60559_BFP_EXT__: u32 = 1;
pub const __STDC_WANT_IEC_60559_DFP_EXT__: u32 = 1;
pub const __STDC_WANT_IEC_60559_EXT__: u32 = 1;
pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1;
pub const __STDC_WANT_IEC_60559_TYPES_EXT__: u32 = 1;
pub const __STDC_WANT_LIB_EXT2__: u32 = 1;
pub const __STDC_WANT_MATH_SPEC_FUNCS__: u32 = 1;
pub const _TANDEM_SOURCE: u32 = 1;
pub const ZEND_CHECK_STACK_LIMIT: u32 = 1;
pub const ZEND_DEBUG: u8 = 1;
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 SIZEOF_ZEND_LONG: u32 = 8;
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 MAX_LENGTH_OF_LONG: u32 = 20;
pub const LONG_MIN_DIGITS: &[u8; 20] = b"9223372036854775808\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 ZTS_V: u32 = 0;
pub const MAX_LENGTH_OF_DOUBLE: u32 = 32;
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 HT_INVALID_IDX: u32 = 4294967295;
pub const HT_MIN_MASK: u32 = 4294967294;
pub const HT_MIN_SIZE: u32 = 8;
pub const HT_MAX_SIZE: u32 = 1073741824;
pub const IS_UNDEF: u8 = 0;
pub const IS_NULL: u8 = 1;
pub const IS_FALSE: u8 = 2;
pub const IS_TRUE: u8 = 3;
pub const IS_LONG: u8 = 4;
pub const IS_DOUBLE: u8 = 5;
pub const IS_STRING: u8 = 6;
pub const IS_ARRAY: u8 = 7;
pub const IS_OBJECT: u8 = 8;
pub const IS_RESOURCE: u8 = 9;
pub const IS_REFERENCE: u8 = 10;
pub const IS_CONSTANT_AST: u8 = 11;
pub const IS_CALLABLE: u8 = 12;
pub const IS_ITERABLE: u8 = 13;
pub const IS_VOID: u8 = 14;
pub const IS_STATIC: u8 = 15;
pub const IS_MIXED: u8 = 16;
pub const IS_NEVER: u8 = 17;
pub const IS_INDIRECT: u8 = 12;
pub const IS_PTR: u8 = 13;
pub const IS_ALIAS_PTR: u8 = 14;
pub const _IS_ERROR: u8 = 15;
pub const _IS_BOOL: u8 = 18;
pub const _IS_NUMBER: u8 = 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 E_ERROR: u32 = 1;
pub const E_WARNING: u32 = 2;
pub const E_PARSE: u32 = 4;
pub const E_NOTICE: u32 = 8;
pub const E_CORE_ERROR: u32 = 16;
pub const E_CORE_WARNING: u32 = 32;
pub const E_COMPILE_ERROR: u32 = 64;
pub const E_COMPILE_WARNING: u32 = 128;
pub const E_USER_ERROR: u32 = 256;
pub const E_USER_WARNING: u32 = 512;
pub const E_USER_NOTICE: u32 = 1024;
pub const E_STRICT: u32 = 2048;
pub const E_RECOVERABLE_ERROR: u32 = 4096;
pub const E_DEPRECATED: u32 = 8192;
pub const E_USER_DEPRECATED: u32 = 16384;
pub const E_DONT_BAIL: u32 = 32768;
pub const E_ALL: u32 = 30719;
pub const E_CORE: u32 = 48;
pub const E_FATAL_ERRORS: u32 = 4437;
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 ZSTR_COPYABLE_CONCAT_PROPERTIES: u32 = 512;
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 ZMSG_FAILED_INCLUDE_FOPEN: u32 = 1;
pub const ZMSG_FAILED_REQUIRE_FOPEN: u32 = 2;
pub const ZMSG_FAILED_HIGHLIGHT_FOPEN: u32 = 3;
pub const ZMSG_MEMORY_LEAK_DETECTED: u32 = 4;
pub const ZMSG_MEMORY_LEAK_REPEATED: u32 = 5;
pub const ZMSG_LOG_SCRIPT_NAME: u32 = 6;
pub const ZMSG_MEMORY_LEAKS_GRAND_TOTAL: u32 = 7;
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: ::std::os::raw::c_int = 0;
pub const ZEND_PROPERTY_EXISTS: ::std::os::raw::c_int = 2;
pub const ZEND_STRTOD_K_MAX: u32 = 7;
pub const LP_SUFF: &[u8; 2] = b"q\0";
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: u8 = 0;
pub const ZEND_ADD: u8 = 1;
pub const ZEND_SUB: u8 = 2;
pub const ZEND_MUL: u8 = 3;
pub const ZEND_DIV: u8 = 4;
pub const ZEND_MOD: u8 = 5;
pub const ZEND_SL: u8 = 6;
pub const ZEND_SR: u8 = 7;
pub const ZEND_CONCAT: u8 = 8;
pub const ZEND_BW_OR: u8 = 9;
pub const ZEND_BW_AND: u8 = 10;
pub const ZEND_BW_XOR: u8 = 11;
pub const ZEND_POW: u8 = 12;
pub const ZEND_BW_NOT: u8 = 13;
pub const ZEND_BOOL_NOT: u8 = 14;
pub const ZEND_BOOL_XOR: u8 = 15;
pub const ZEND_IS_IDENTICAL: u8 = 16;
pub const ZEND_IS_NOT_IDENTICAL: u8 = 17;
pub const ZEND_IS_EQUAL: u8 = 18;
pub const ZEND_IS_NOT_EQUAL: u8 = 19;
pub const ZEND_IS_SMALLER: u8 = 20;
pub const ZEND_IS_SMALLER_OR_EQUAL: u8 = 21;
pub const ZEND_ASSIGN: u8 = 22;
pub const ZEND_ASSIGN_DIM: u8 = 23;
pub const ZEND_ASSIGN_OBJ: u8 = 24;
pub const ZEND_ASSIGN_STATIC_PROP: u8 = 25;
pub const ZEND_ASSIGN_OP: u8 = 26;
pub const ZEND_ASSIGN_DIM_OP: u8 = 27;
pub const ZEND_ASSIGN_OBJ_OP: u8 = 28;
pub const ZEND_ASSIGN_STATIC_PROP_OP: u8 = 29;
pub const ZEND_ASSIGN_REF: u8 = 30;
pub const ZEND_QM_ASSIGN: u8 = 31;
pub const ZEND_ASSIGN_OBJ_REF: u8 = 32;
pub const ZEND_ASSIGN_STATIC_PROP_REF: u8 = 33;
pub const ZEND_PRE_INC: u8 = 34;
pub const ZEND_PRE_DEC: u8 = 35;
pub const ZEND_POST_INC: u8 = 36;
pub const ZEND_POST_DEC: u8 = 37;
pub const ZEND_PRE_INC_STATIC_PROP: u8 = 38;
pub const ZEND_PRE_DEC_STATIC_PROP: u8 = 39;
pub const ZEND_POST_INC_STATIC_PROP: u8 = 40;
pub const ZEND_POST_DEC_STATIC_PROP: u8 = 41;
pub const ZEND_JMP: u8 = 42;
pub const ZEND_JMPZ: u8 = 43;
pub const ZEND_JMPNZ: u8 = 44;
pub const ZEND_JMPZ_EX: u8 = 46;
pub const ZEND_JMPNZ_EX: u8 = 47;
pub const ZEND_CASE: u8 = 48;
pub const ZEND_CHECK_VAR: u8 = 49;
pub const ZEND_SEND_VAR_NO_REF_EX: u8 = 50;
pub const ZEND_CAST: u8 = 51;
pub const ZEND_BOOL: u8 = 52;
pub const ZEND_FAST_CONCAT: u8 = 53;
pub const ZEND_ROPE_INIT: u8 = 54;
pub const ZEND_ROPE_ADD: u8 = 55;
pub const ZEND_ROPE_END: u8 = 56;
pub const ZEND_BEGIN_SILENCE: u8 = 57;
pub const ZEND_END_SILENCE: u8 = 58;
pub const ZEND_INIT_FCALL_BY_NAME: u8 = 59;
pub const ZEND_DO_FCALL: u8 = 60;
pub const ZEND_INIT_FCALL: u8 = 61;
pub const ZEND_RETURN: u8 = 62;
pub const ZEND_RECV: u8 = 63;
pub const ZEND_RECV_INIT: u8 = 64;
pub const ZEND_SEND_VAL: u8 = 65;
pub const ZEND_SEND_VAR_EX: u8 = 66;
pub const ZEND_SEND_REF: u8 = 67;
pub const ZEND_NEW: u8 = 68;
pub const ZEND_INIT_NS_FCALL_BY_NAME: u8 = 69;
pub const ZEND_FREE: u8 = 70;
pub const ZEND_INIT_ARRAY: u8 = 71;
pub const ZEND_ADD_ARRAY_ELEMENT: u8 = 72;
pub const ZEND_INCLUDE_OR_EVAL: u8 = 73;
pub const ZEND_UNSET_VAR: u8 = 74;
pub const ZEND_UNSET_DIM: u8 = 75;
pub const ZEND_UNSET_OBJ: u8 = 76;
pub const ZEND_FE_RESET_R: u8 = 77;
pub const ZEND_FE_FETCH_R: u8 = 78;
pub const ZEND_FETCH_R: u8 = 80;
pub const ZEND_FETCH_DIM_R: u8 = 81;
pub const ZEND_FETCH_OBJ_R: u8 = 82;
pub const ZEND_FETCH_W: u8 = 83;
pub const ZEND_FETCH_DIM_W: u8 = 84;
pub const ZEND_FETCH_OBJ_W: u8 = 85;
pub const ZEND_FETCH_RW: u8 = 86;
pub const ZEND_FETCH_DIM_RW: u8 = 87;
pub const ZEND_FETCH_OBJ_RW: u8 = 88;
pub const ZEND_FETCH_IS: u8 = 89;
pub const ZEND_FETCH_DIM_IS: u8 = 90;
pub const ZEND_FETCH_OBJ_IS: u8 = 91;
pub const ZEND_FETCH_FUNC_ARG: u8 = 92;
pub const ZEND_FETCH_DIM_FUNC_ARG: u8 = 93;
pub const ZEND_FETCH_OBJ_FUNC_ARG: u8 = 94;
pub const ZEND_FETCH_UNSET: u8 = 95;
pub const ZEND_FETCH_DIM_UNSET: u8 = 96;
pub const ZEND_FETCH_OBJ_UNSET: u8 = 97;
pub const ZEND_FETCH_LIST_R: u8 = 98;
pub const ZEND_FETCH_CONSTANT: u8 = 99;
pub const ZEND_CHECK_FUNC_ARG: u8 = 100;
pub const ZEND_EXT_STMT: u8 = 101;
pub const ZEND_EXT_FCALL_BEGIN: u8 = 102;
pub const ZEND_EXT_FCALL_END: u8 = 103;
pub const ZEND_EXT_NOP: u8 = 104;
pub const ZEND_TICKS: u8 = 105;
pub const ZEND_SEND_VAR_NO_REF: u8 = 106;
pub const ZEND_CATCH: u8 = 107;
pub const ZEND_THROW: u8 = 108;
pub const ZEND_FETCH_CLASS: u8 = 109;
pub const ZEND_CLONE: u8 = 110;
pub const ZEND_RETURN_BY_REF: u8 = 111;
pub const ZEND_INIT_METHOD_CALL: u8 = 112;
pub const ZEND_INIT_STATIC_METHOD_CALL: u8 = 113;
pub const ZEND_ISSET_ISEMPTY_VAR: u8 = 114;
pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u8 = 115;
pub const ZEND_SEND_VAL_EX: u8 = 116;
pub const ZEND_SEND_VAR: u8 = 117;
pub const ZEND_INIT_USER_CALL: u8 = 118;
pub const ZEND_SEND_ARRAY: u8 = 119;
pub const ZEND_SEND_USER: u8 = 120;
pub const ZEND_STRLEN: u8 = 121;
pub const ZEND_DEFINED: u8 = 122;
pub const ZEND_TYPE_CHECK: u8 = 123;
pub const ZEND_VERIFY_RETURN_TYPE: u8 = 124;
pub const ZEND_FE_RESET_RW: u8 = 125;
pub const ZEND_FE_FETCH_RW: u8 = 126;
pub const ZEND_FE_FREE: u8 = 127;
pub const ZEND_INIT_DYNAMIC_CALL: u8 = 128;
pub const ZEND_DO_ICALL: u8 = 129;
pub const ZEND_DO_UCALL: u8 = 130;
pub const ZEND_DO_FCALL_BY_NAME: u8 = 131;
pub const ZEND_PRE_INC_OBJ: u8 = 132;
pub const ZEND_PRE_DEC_OBJ: u8 = 133;
pub const ZEND_POST_INC_OBJ: u8 = 134;
pub const ZEND_POST_DEC_OBJ: u8 = 135;
pub const ZEND_ECHO: u8 = 136;
pub const ZEND_OP_DATA: u8 = 137;
pub const ZEND_INSTANCEOF: u8 = 138;
pub const ZEND_GENERATOR_CREATE: u8 = 139;
pub const ZEND_MAKE_REF: u8 = 140;
pub const ZEND_DECLARE_FUNCTION: u8 = 141;
pub const ZEND_DECLARE_LAMBDA_FUNCTION: u8 = 142;
pub const ZEND_DECLARE_CONST: u8 = 143;
pub const ZEND_DECLARE_CLASS: u8 = 144;
pub const ZEND_DECLARE_CLASS_DELAYED: u8 = 145;
pub const ZEND_DECLARE_ANON_CLASS: u8 = 146;
pub const ZEND_ADD_ARRAY_UNPACK: u8 = 147;
pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u8 = 148;
pub const ZEND_HANDLE_EXCEPTION: u8 = 149;
pub const ZEND_USER_OPCODE: u8 = 150;
pub const ZEND_ASSERT_CHECK: u8 = 151;
pub const ZEND_JMP_SET: u8 = 152;
pub const ZEND_UNSET_CV: u8 = 153;
pub const ZEND_ISSET_ISEMPTY_CV: u8 = 154;
pub const ZEND_FETCH_LIST_W: u8 = 155;
pub const ZEND_SEPARATE: u8 = 156;
pub const ZEND_FETCH_CLASS_NAME: u8 = 157;
pub const ZEND_CALL_TRAMPOLINE: u8 = 158;
pub const ZEND_DISCARD_EXCEPTION: u8 = 159;
pub const ZEND_YIELD: u8 = 160;
pub const ZEND_GENERATOR_RETURN: u8 = 161;
pub const ZEND_FAST_CALL: u8 = 162;
pub const ZEND_FAST_RET: u8 = 163;
pub const ZEND_RECV_VARIADIC: u8 = 164;
pub const ZEND_SEND_UNPACK: u8 = 165;
pub const ZEND_YIELD_FROM: u8 = 166;
pub const ZEND_COPY_TMP: u8 = 167;
pub const ZEND_BIND_GLOBAL: u8 = 168;
pub const ZEND_COALESCE: u8 = 169;
pub const ZEND_SPACESHIP: u8 = 170;
pub const ZEND_FUNC_NUM_ARGS: u8 = 171;
pub const ZEND_FUNC_GET_ARGS: u8 = 172;
pub const ZEND_FETCH_STATIC_PROP_R: u8 = 173;
pub const ZEND_FETCH_STATIC_PROP_W: u8 = 174;
pub const ZEND_FETCH_STATIC_PROP_RW: u8 = 175;
pub const ZEND_FETCH_STATIC_PROP_IS: u8 = 176;
pub const ZEND_FETCH_STATIC_PROP_FUNC_ARG: u8 = 177;
pub const ZEND_FETCH_STATIC_PROP_UNSET: u8 = 178;
pub const ZEND_UNSET_STATIC_PROP: u8 = 179;
pub const ZEND_ISSET_ISEMPTY_STATIC_PROP: u8 = 180;
pub const ZEND_FETCH_CLASS_CONSTANT: u8 = 181;
pub const ZEND_BIND_LEXICAL: u8 = 182;
pub const ZEND_BIND_STATIC: u8 = 183;
pub const ZEND_FETCH_THIS: u8 = 184;
pub const ZEND_SEND_FUNC_ARG: u8 = 185;
pub const ZEND_ISSET_ISEMPTY_THIS: u8 = 186;
pub const ZEND_SWITCH_LONG: u8 = 187;
pub const ZEND_SWITCH_STRING: u8 = 188;
pub const ZEND_IN_ARRAY: u8 = 189;
pub const ZEND_COUNT: u8 = 190;
pub const ZEND_GET_CLASS: u8 = 191;
pub const ZEND_GET_CALLED_CLASS: u8 = 192;
pub const ZEND_GET_TYPE: u8 = 193;
pub const ZEND_ARRAY_KEY_EXISTS: u8 = 194;
pub const ZEND_MATCH: u8 = 195;
pub const ZEND_CASE_STRICT: u8 = 196;
pub const ZEND_MATCH_ERROR: u8 = 197;
pub const ZEND_JMP_NULL: u8 = 198;
pub const ZEND_CHECK_UNDEF_ARGS: u8 = 199;
pub const ZEND_FETCH_GLOBALS: u8 = 200;
pub const ZEND_VERIFY_NEVER_TYPE: u8 = 201;
pub const ZEND_CALLABLE_CONVERT: u8 = 202;
pub const ZEND_BIND_INIT_STATIC_OR_JMP: u8 = 203;
pub const ZEND_FRAMELESS_ICALL_0: u8 = 204;
pub const ZEND_FRAMELESS_ICALL_1: u8 = 205;
pub const ZEND_FRAMELESS_ICALL_2: u8 = 206;
pub const ZEND_FRAMELESS_ICALL_3: u8 = 207;
pub const ZEND_JMP_FRAMELESS: u8 = 208;
pub const ZEND_INIT_PARENT_PROPERTY_HOOK_CALL: u8 = 209;
pub const ZEND_DECLARE_ATTRIBUTED_CONST: u8 = 210;
pub const ZEND_VM_LAST_OPCODE: u8 = 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_VIRTUAL_PROPERTY_OFFSET: u32 = 4294967295;
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 STACK_BLOCK_SIZE: u32 = 16;
pub const PTR_STACK_BLOCK_SIZE: u32 = 64;
pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
pub const OBJ_BUCKET_INVALID: u32 = 1;
pub const XPFPA_HAVE_CW: u32 = 0;
pub const SYMTABLE_CACHE_SIZE: u32 = 32;
pub const ZEND_MAX_ALLOWED_STACK_SIZE_UNCHECKED: i32 = -1;
pub const ZEND_MAX_ALLOWED_STACK_SIZE_DETECT: u32 = 0;
pub const EG_FLAGS_INITIAL: u32 = 0;
pub const EG_FLAGS_IN_SHUTDOWN: u32 = 1;
pub const EG_FLAGS_OBJECT_STORE_NO_REUSE: u32 = 2;
pub const EG_FLAGS_IN_RESOURCE_SHUTDOWN: u32 = 4;
pub const INITIAL_OP_ARRAY_SIZE: u32 = 64;
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 BP_VAR_R: u32 = 0;
pub const BP_VAR_W: u32 = 1;
pub const BP_VAR_RW: u32 = 2;
pub const BP_VAR_IS: u32 = 3;
pub const BP_VAR_FUNC_ARG: u32 = 4;
pub const BP_VAR_UNSET: u32 = 5;
pub const ZEND_INTERNAL_FUNCTION: u8 = 1;
pub const ZEND_USER_FUNCTION: u8 = 2;
pub const ZEND_EVAL_CODE: u32 = 4;
pub const ZEND_INTERNAL_CLASS: i8 = 1;
pub const ZEND_USER_CLASS: i8 = 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 MAX_ARG_FLAG_NUM: u32 = 12;
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_BUILD_DEBUG: &[u8; 7] = b",debug\0";
pub const ZEND_MODULE_API_NO: u32 = 20250925;
pub const USING_ZTS: u8 = 0;
pub const ZEND_MODULE_BUILD_ID: &[u8; 22] = b"API20250925,NTS,debug\0";
pub const MODULE_PERSISTENT: u8 = 1;
pub const MODULE_TEMPORARY: u8 = 2;
pub const MODULE_DEP_REQUIRED: ::std::os::raw::c_uchar = 1;
pub const MODULE_DEP_CONFLICTS: ::std::os::raw::c_uchar = 2;
pub const MODULE_DEP_OPTIONAL: ::std::os::raw::c_uchar = 3;
pub const CONST_CS: u32 = 0;
pub const CONST_PERSISTENT: u32 = 1;
pub const CONST_NO_FILE_CACHE: u32 = 2;
pub const CONST_DEPRECATED: u32 = 4;
pub const CONST_OWNED: u32 = 8;
pub const CONST_RECURSIVE: u32 = 16;
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 CACHE_SPECIAL: u32 = 1;
pub const MAY_BE_UNDEF: u32 = 1;
pub const MAY_BE_NULL: u32 = 2;
pub const MAY_BE_FALSE: u32 = 4;
pub const MAY_BE_TRUE: u32 = 8;
pub const MAY_BE_BOOL: u32 = 12;
pub const MAY_BE_LONG: u32 = 16;
pub const MAY_BE_DOUBLE: u32 = 32;
pub const MAY_BE_STRING: u32 = 64;
pub const MAY_BE_ARRAY: u32 = 128;
pub const MAY_BE_OBJECT: u32 = 256;
pub const MAY_BE_RESOURCE: u32 = 512;
pub const MAY_BE_ANY: u32 = 1022;
pub const MAY_BE_REF: u32 = 1024;
pub const MAY_BE_CALLABLE: u32 = 4096;
pub const MAY_BE_VOID: u32 = 16384;
pub const MAY_BE_NEVER: u32 = 131072;
pub const MAY_BE_STATIC: u32 = 32768;
pub const MAY_BE_ARRAY_SHIFT: u32 = 10;
pub const MAY_BE_ARRAY_OF_NULL: u32 = 2048;
pub const MAY_BE_ARRAY_OF_FALSE: u32 = 4096;
pub const MAY_BE_ARRAY_OF_TRUE: u32 = 8192;
pub const MAY_BE_ARRAY_OF_LONG: u32 = 16384;
pub const MAY_BE_ARRAY_OF_DOUBLE: u32 = 32768;
pub const MAY_BE_ARRAY_OF_STRING: u32 = 65536;
pub const MAY_BE_ARRAY_OF_ARRAY: u32 = 131072;
pub const MAY_BE_ARRAY_OF_OBJECT: u32 = 262144;
pub const MAY_BE_ARRAY_OF_RESOURCE: u32 = 524288;
pub const MAY_BE_ARRAY_OF_ANY: u32 = 1046528;
pub const MAY_BE_ARRAY_OF_REF: u32 = 1048576;
pub const MAY_BE_ARRAY_PACKED: u32 = 2097152;
pub const MAY_BE_ARRAY_NUMERIC_HASH: u32 = 4194304;
pub const MAY_BE_ARRAY_STRING_HASH: u32 = 8388608;
pub const MAY_BE_ARRAY_EMPTY: u32 = 536870912;
pub const MAY_BE_ARRAY_KEY_LONG: u32 = 6291456;
pub const MAY_BE_ARRAY_KEY_STRING: u32 = 8388608;
pub const MAY_BE_ARRAY_KEY_ANY: u32 = 551550976;
pub const MAY_BE_CLASS: u32 = 16777216;
pub const MAY_BE_INDIRECT: u32 = 33554432;
pub const MAY_BE_RC1: u32 = 1073741824;
pub const MAY_BE_RCN: u32 = 2147483648;
pub const MAY_BE_ANY_ARRAY: u32 = 553646208;
pub const ZEND_PARSE_PARAMS_THROW: u32 = 0;
pub const ZEND_PARSE_PARAMS_QUIET: ::std::os::raw::c_int = 2;
pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
pub const IS_CALLABLE_SUPPRESS_DEPRECATIONS: u32 = 2;
pub const FAST_ZPP: u32 = 1;
pub const ZPP_ERROR_OK: u32 = 0;
pub const ZPP_ERROR_FAILURE: u32 = 1;
pub const ZPP_ERROR_WRONG_CALLBACK: u32 = 2;
pub const ZPP_ERROR_WRONG_CLASS: u32 = 3;
pub const ZPP_ERROR_WRONG_CLASS_OR_NULL: u32 = 4;
pub const ZPP_ERROR_WRONG_CLASS_OR_STRING: u32 = 5;
pub const ZPP_ERROR_WRONG_CLASS_OR_STRING_OR_NULL: u32 = 6;
pub const ZPP_ERROR_WRONG_CLASS_OR_LONG: u32 = 7;
pub const ZPP_ERROR_WRONG_CLASS_OR_LONG_OR_NULL: u32 = 8;
pub const ZPP_ERROR_WRONG_ARG: u32 = 9;
pub const ZPP_ERROR_WRONG_COUNT: u32 = 10;
pub const ZPP_ERROR_UNEXPECTED_EXTRA_NAMED: u32 = 11;
pub const ZPP_ERROR_WRONG_CALLBACK_OR_NULL: u32 = 12;
pub const ZEND_ATTRIBUTE_TARGET_CLASS: u32 = 1;
pub const ZEND_ATTRIBUTE_TARGET_FUNCTION: u32 = 2;
pub const ZEND_ATTRIBUTE_TARGET_METHOD: u32 = 4;
pub const ZEND_ATTRIBUTE_TARGET_PROPERTY: u32 = 8;
pub const ZEND_ATTRIBUTE_TARGET_CLASS_CONST: u32 = 16;
pub const ZEND_ATTRIBUTE_TARGET_PARAMETER: u32 = 32;
pub const ZEND_ATTRIBUTE_TARGET_CONST: u32 = 64;
pub const ZEND_ATTRIBUTE_TARGET_ALL: u32 = 127;
pub const ZEND_ATTRIBUTE_IS_REPEATABLE: u32 = 128;
pub const ZEND_ATTRIBUTE_FLAGS: u32 = 255;
pub const ZEND_ATTRIBUTE_PERSISTENT: u32 = 1;
pub const ZEND_ATTRIBUTE_STRICT_TYPES: u32 = 2;
pub const ZEND_CPU_EBX_MASK: u32 = 1073741824;
pub const ZEND_CPU_EDX_MASK: u32 = 2147483648;
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 const ZEND_FIBER_GUARD_PAGES: u32 = 1;
pub const HL_COMMENT_COLOR: &[u8; 8] = b"#FF8000\0";
pub const HL_DEFAULT_COLOR: &[u8; 8] = b"#0000BB\0";
pub const HL_HTML_COLOR: &[u8; 8] = b"#000000\0";
pub const HL_STRING_COLOR: &[u8; 8] = b"#DD0000\0";
pub const HL_KEYWORD_COLOR: &[u8; 8] = b"#007700\0";
pub const ZEND_INI_USER: u8 = 1;
pub const ZEND_INI_PERDIR: u8 = 2;
pub const ZEND_INI_SYSTEM: u8 = 4;
pub const ZEND_INI_ALL: u8 = 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 ZEND_INI_SCANNER_NORMAL: u32 = 0;
pub const ZEND_INI_SCANNER_RAW: u32 = 1;
pub const ZEND_INI_SCANNER_TYPED: u32 = 2;
pub const XSSE_VERSION: u32 = 10000;
pub const Omit_Private_Memory: u32 = 1;
pub const NO_HEX_FP: u32 = 1;
pub const IEEE_LITTLE_ENDIAN: u32 = 1;
pub const IEEE_8087: u32 = 1;
pub const DEFAULT_SLASH: u8 = 47u8;
pub const DEFAULT_DIR_SEPARATOR: u8 = 58u8;
pub const CWD_EXPAND: u32 = 0;
pub const CWD_FILEPATH: u32 = 1;
pub const CWD_REALPATH: u32 = 2;
pub const REALPATH_CACHE_TTL: u32 = 120;
pub const REALPATH_CACHE_SIZE: u32 = 0;
pub const _S_IFDIR: u32 = 16384;
pub const _S_IFREG: u32 = 32768;
pub const S_IXROOT: u32 = 73;
pub const PHP_API_VERSION: u32 = 20250925;
pub const YYDEBUG: u32 = 0;
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 = 9;
pub const PHP_EXTRA_VERSION: &[u8; 1] = b"\0";
pub const PHP_VERSION: &[u8; 6] = b"8.5.9\0";
pub const PHP_VERSION_ID: u32 = 80509;
pub const XML_CONTEXT_BYTES: u32 = 1024;
pub const XML_DTD: u32 = 1;
pub const XML_NS: u32 = 1;
pub const PHP_OS_FAMILY: &[u8; 6] = b"Linux\0";
pub const PHP_DEBUG: u32 = 1;
pub const PHP_DIR_SEPARATOR: u8 = 47u8;
pub const PHP_EOL: &[u8; 2] = b"\n\0";
pub const CONFIGURE_COMMAND: &[u8; 54] = b" './configure' '--enable-debug' '--enable-zend-test'\0";
pub const PHP_PROG_SENDMAIL: &[u8; 19] = b"/usr/sbin/sendmail\0";
pub const PEAR_INSTALLDIR: &[u8; 1] = b"\0";
pub const PHP_INCLUDE_PATH: &[u8; 3] = b".:\0";
pub const PHP_EXTENSION_DIR: &[u8; 53] = b"/usr/local/lib/php/extensions/debug-non-zts-20250925\0";
pub const PHP_PREFIX: &[u8; 11] = b"/usr/local\0";
pub const PHP_BINDIR: &[u8; 15] = b"/usr/local/bin\0";
pub const PHP_SBINDIR: &[u8; 16] = b"/usr/local/sbin\0";
pub const PHP_MANDIR: &[u8; 19] = b"/usr/local/php/man\0";
pub const PHP_LIBDIR: &[u8; 19] = b"/usr/local/lib/php\0";
pub const PHP_DATADIR: &[u8; 21] = b"/usr/local/share/php\0";
pub const PHP_SYSCONFDIR: &[u8; 15] = b"/usr/local/etc\0";
pub const PHP_LOCALSTATEDIR: &[u8; 15] = b"/usr/local/var\0";
pub const PHP_CONFIG_FILE_PATH: &[u8; 15] = b"/usr/local/lib\0";
pub const PHP_CONFIG_FILE_SCAN_DIR: &[u8; 1] = b"\0";
pub const PHP_SHLIB_SUFFIX: &[u8; 3] = b"so\0";
pub const PHP_SHLIB_EXT_PREFIX: &[u8; 1] = b"\0";
pub const EXEC_INPUT_BUF: u32 = 4096;
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 PSFS_FLAG_NORMAL: u32 = 0;
pub const PSFS_FLAG_FLUSH_INC: u32 = 1;
pub const PSFS_FLAG_FLUSH_CLOSE: u32 = 2;
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 STREAM_XPORT_CLIENT: u32 = 0;
pub const STREAM_XPORT_SERVER: u32 = 1;
pub const STREAM_XPORT_CONNECT: u32 = 2;
pub const STREAM_XPORT_BIND: u32 = 4;
pub const STREAM_XPORT_LISTEN: u32 = 8;
pub const STREAM_XPORT_CONNECT_ASYNC: u32 = 16;
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 IGNORE_PATH: u32 = 0;
pub const USE_PATH: u32 = 1;
pub const IGNORE_URL: u32 = 2;
pub const REPORT_ERRORS: u32 = 8;
pub const STREAM_MUST_SEEK: u32 = 16;
pub const STREAM_WILL_CAST: u32 = 32;
pub const STREAM_LOCATE_WRAPPERS_ONLY: u32 = 64;
pub const STREAM_OPEN_FOR_INCLUDE: u32 = 128;
pub const STREAM_USE_URL: u32 = 256;
pub const STREAM_ONLY_GET_HEADERS: u32 = 512;
pub const STREAM_DISABLE_OPEN_BASEDIR: u32 = 1024;
pub const STREAM_OPEN_PERSISTENT: u32 = 2048;
pub const STREAM_USE_GLOB_DIR_OPEN: u32 = 4096;
pub const STREAM_DISABLE_URL_PROTECTION: u32 = 8192;
pub const STREAM_ASSUME_REALPATH: u32 = 16384;
pub const STREAM_USE_BLOCKING_PIPE: u32 = 32768;
pub const STREAM_OPEN_FOR_ZEND_STREAM: u32 = 65536;
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 TEMP_STREAM_DEFAULT: u32 = 0;
pub const TEMP_STREAM_READONLY: u32 = 1;
pub const TEMP_STREAM_TAKE_BUFFER: u32 = 2;
pub const TEMP_STREAM_APPEND: u32 = 4;
pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
pub const TRACK_VARS_POST: u32 = 0;
pub const TRACK_VARS_GET: u32 = 1;
pub const TRACK_VARS_COOKIE: u32 = 2;
pub const TRACK_VARS_SERVER: u32 = 3;
pub const TRACK_VARS_ENV: u32 = 4;
pub const TRACK_VARS_FILES: u32 = 5;
pub const TRACK_VARS_REQUEST: u32 = 6;
pub const PHP_INI_USER: u8 = 1;
pub const PHP_INI_PERDIR: u8 = 2;
pub const PHP_INI_SYSTEM: u8 = 4;
pub const PHP_INI_ALL: u8 = 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_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,iVBORw0KGgoAAAANSUhEUgAAAPoAAAAvCAYAAADKH9ehAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAEWJJREFUeNrsXQl0VNUZvjNJSAgEAxHCGsNitSBFxB1l0boUW1pp3VAUrKLWKgUPUlEB13K0Yq1alaXWuh5EadWK1F0s1gJaoaCgQDRKBBJDVhKSzPR+zPfg5vLevCUzmZnwvnP+k8ybN3fevfff73/vBAJTHxc+khL5kr6T1ODk5nAgTRTWloghFVtEg/zfh2PkSvq9pJGSKiX9SdKittbJoD/PSYkrJD0vKeB4IsNNotfuUtHk/CM+IvijpF9KGiDpGEkLJZ3lC7qPeKKTpD9IWiDpUOfWPCi61ZeLvD2VIhTwp9QlTjK5NsIXdB/xxHmSpvD/OucWPSAyQw2+LfeG1SbXVra1Tqb785xUaNdMel0g7Iu5V1zPv6dJqpD0kKR/+ILuI55o8oeg1bFT0kWSOkraQxK+oPvw0TZR3ZY758foyQXf//ZxUFh0Q/GEfNf9gHkaJ6m7pHJJSyTt9tnXhxtBR2EGlnHCMbZMaHuHzX19JZ0u6VRJh0k6hM+BpMjnklZIelPSNhff3V5StkNlEWBMFm+3LcC+BW3GuZP2GvfmiEiCCMUzxZIKRGSt9zeML/fdGAW9JB3O8c6SlMZ+b5f0qaQiF7EpnieXY1auvZfG7zhSUk8RSS428F7M5xfsh1eAV/vxOzoq16sklZBqbdpo5H2qDPRQXoP3Ki0+20FSFyrZUgt+Rt/7KH2vZb8/t/iMG2Sy/0dI6sbvgHGoV8a3xErQb5Q0iTfHCplkzlkW7w+VNF3ST7QJUzFK0pVkDFiw+yV95uC7r5Z0k3CW2ApwIkrJ9B9IelfSh2SIlqC/pDFUZAVk0rQoMhk2GYswx+AtWvMKPtcyEckW37pPwsIHNAuBniDpYhEpBMmJwvibJL0gIlVh39r0C8UlczkXQ/mM6OtEzuf3RfPVAxUY47f5PStcGKPxpOMldbbxiBptPMavJX1PuQ/P/olyz12S7rD4PLyqBTQ8gyXVSOot6VK+dxR53wyl7POjkv7pkpcwpleJSCHP4eQjM0BB/ZuG4Hl9EO8mQx4ZQ0FfL+k+k+t4wNlULpkO24IGnSzpQklzKPDRAMvZ1eXz9uXfH/Pvx5Ie44C5zYQXUgDPj6LEnMCQ3AFkjjupjGF9/kJmxPw1oiquz+6dalXcCRSmYxwK0kDSRI71azb3Y+6GiMi6P/5ey3F3YpExjxdQoG61uX8gBetkh2OWFkUIVGUT1pS9yosZNu1nkl8uZH+mikhxkx1wz7mkB0WkXsKJFw1ZuSWKotY9wjNJS6mUy41JK5P0c2qCnBgIeQWZvEK7Dnf6WUljTT5TS7d0KwezkJShdWIeGeuKKJo7FktUQylcl0i6RtL/HH4OjP+wB0UTLTGHfubRDWyi1g7SaoZQ495z9w7RpaHKqHEfLeklEyWzk+7dl3TTu1KQCpV7+pBB4IWstFFAgvOpJnTL6DoW0xPbw3k/nIYkW+kbmHeXhUEABklazrBDBdzTDfyuBo5DPq1eoUk7ZbSk70l6n3MZjUdCDpQvMF/rezn7/hX7Xs8wsj/7rsrWdQxnZtrwwENUosJkDDZxTjOUkEH1ds6lzJyDZzGScRsonGNcMCIG+WgRKTRQ8Su2p7uRi/mlKjZKekREChS2KIOcTvfqp3RZDlM+cxnfv8Thc75Pt8kqo92VzNTbxBqcQlceivAdByHDIxbvFTMOLovyHAGGK3qc/jJDoDc4hpjABzBm4UAglBFqEAOqt8mB29ss4uJnNCHfSK/tVZMYEfMykt7Bcco1eDLDHCT8gmzzRdLHZL6wRSgzg6GIgVl8Xj2uhPA+oQn53yTdK2mVMC8NzuJ8zaSyM/ApxyzWCFJRvUQ3eQ29BTNFcRgt+FTl2g30zDZZtD/ZRMifE5ES6Y9MxqAHQ7XZikI9nd97j5p1f83GZTPr6Crt2sOcOB1zTYT8HrqjVRZx4wbSAt47SXn/YsZV9zp4zuvJgNGQRaszmoN1rBY6IH4dHiVHcA5dZd2zeIbPv8ZBkghYTQFTx/h1WvSz6c3kM5ewGG8Prvxc5DZWS2u+dypnM5Y3sIJMXmbxfXW0misZN56oxITnWsyl2fg+6+C+zWTefMWr68RwaYF271htHBZqCsKqL28wB/ACjYShrE9nUjfWmEU33A7woqbR4k5UlNk4yoYOzOHvtGs30KO1QgnlZC2VohGOIGn7WEvW0ZdoMeCHfBgdo8X++m3V+s2wEHKzJMblJom92+ne2SHDwT1gknUispPpJLrrVZqwLxTmy5F5jOdVS72F/b6UwlbrcEytrD00+a8l/ZUM82jEZd8peu8uNYS8JxNWqis5IYqQCy1rPUULh8Y7fOYal3zzmPb6aJN7zlf+32bBV9ESclNE85WUX4j4oNbl/fM1b2eoxX3jyXNqiDTP4Xe8Rm9ItfSjvAr6DM0d+o5MXW/CuHO0a7eZTLYT3KF9LktYZ/WdCI+IkoV+lFZ6l3J9OF14HdM0F3MrhXxFjJmqhh5FBera24XqxaCqL0UosK97Z2ku+yJaEqf4D62ByoROcjZuN78Xaa9zTBSzKvxvC+vlrmgWVPU2h4j4FCO5lZ+vNBnpYHHfOOX/PfR83eApTaGM8CLop5l88WSLWAOu4AiNme5owcBO1xhlLGO/eGAFkyYqrtFe5zKzqU7KBE5o/BAIiv7VJSK7qV4GhEF1XtSk0YseWl6lWYI+cXj6pigJLkH3Vk0qfebxe4q0JGOGSDxCWn/Nchk9qJgMfGKS87LDes1IHeVW0LszgaC6sPMYE5lBt4CzRcuy4lVMLKlWfWwcJ+YpxtcGjtOYfzRjTgNIlv0rnpyCveeHNFSJ/jUlonH/3nNYqyOU28qYhHOLbzVPqFc81JQDKxnQ5twLdmjfmQzlxU6eoZ/mma3y8D3VonlhUr6bElhMwJ81RseSxW+jfOYULdYGAw5s4WBtpeU0ijKwxnp/HCfn70piCNlMFEUU8/WpmnZe1Bq80r96m5yMkIwx9nnNHTWFs114q0ArM1HsiUY7j5/rKFIThdrrzR7agHyoy9vd3Ag64uEfKa+xjIKlLqtTUBB7FWgJrQ9joFl1d2cQ2wzHaeDXa6/ztO9Wx+OT+FrzSAKuV12ptOZp+ljnaVawk8uxDpnMZXYCGB3PXqe5sl7QQ5ubhhQR9B4mQpvjIR+gJgrbOxV0rK/rVUyXmyRWdI2a2YLEhVP3BwmN9sJ9BtQpKkxiSDOrUeUhaeQaPevKzKQ3oIVTSGatcynoRl29sIkh440a8pURNoz00Ab4Ts1obxCps1FKl8k5IpKbcmsgu6nz6ETQC+iSqoKKOPmVJBmYnDjHX4EozB9s7TgwykkyYS13URAHpmstYIloOP/HEi6Wx5a4+DwSpH2V18tTyHUPm3iQeS1s09ai4/0ntVgNRQmzHTRulGwaQNnei3FgHqPcMBEJlXrNioAaE8AcupKBd7ElBu1uTxCzg+dmKB4TahiQNX/OxssAb00Uzdeci4S3FYhEQdfkWCrc1cI2K+2EDhsP1OUxZGUnOWTmcgphV0UgZ4jUR1hLlBiuJfqJpb61CXimOrq8RqiEeu6TU3iMwdzYgWhUnWHDDKr0ptLar6USqmOfYYiGMMTUN/KgziGVTo+pNJHBBfF0zVAQc6N2DUL+tcO2Yc1Rk2ss+yBmOko43yCSCljJXAWA7PD4eAt6MBy2yiNACRvVVN05t40pPLYPsT+zlRDpOLG/Jt8OSGKhmnBpivV7q/Y6JkucVgkyWKb52rVZwl0tvNDi+AzRvKjfK1Dnjvpd1FhPEc1LBVsbqENXN35cFaPY2BIVGdlWYZKqgPPj/RythNtpcNycpoOxwAae0bGwhAkAQg01cfiDWDRqZtHhCqFQ5FAtOXKXh/Yh6Ci2N5YMUDW2SHg/N3scn02N++cnMIZCBdwS9gtApRxqDc6OlzWtSrdc8cJGlzP5fzZDri1tQNixISWL/5fSQvcVzfe/wzXfSG8Kuw03pHB/t5KMik+EYJ1EC1d0zCw6fofqRI2ZJwpvyxN4uPs0q/6UR2szyESobxatf3aa7jvfrT0DGPNpYV3H3CI0BYLGllQdy7TX14rUP/zzDHpuRp0EPLnJvH68Qij/RXnyIyku5Ea+5S3NO7s01q77eMY1qqY8T7Qs+4qtq+o2UWhjZO6HuWhjJBlZXWbAHvbFSTAxqMW+RbuG3VfviAP36tshujINh6Tr3kE0BNMl5x8Qq6+mVTdwrMlzpRrGaGPzVpw9NDNFngjoFZZzRCS/FRPXHRZT31X2MgfYTQYX1WE1moaaQJfKEFTs/camkXnUwt9YtNWPiuc67VmRlb0yiRgS/cAe7is0QXuTAm9kikM2DNc5OkeGRaMU8tq0TJHbUCOtezMeRfITiSv1PLLbGE5gb/NOB/1AuR1KlLETDltidyR4XIPasyEnc6eIbRa9kfNifFeXJOAnVJBiKfFCvobcLKccLHWojHJpIPH3iXQlpoNLrdcH44sucvmQOHHjZ9rDrGdbixVmbk/XGy4mtiKuoQDjmQpFJLs6wuSZvqKmL0ky6zOZLry+420UKUaue5ooyeqy9+iopgM989cp1Dcp16bSU1tOJbyFyjedTID5wOk6OAUFFXUDKFRLkmBM3xH7fzIJwPLsxexDMWP2b8g38DqN45ywCuH0VNuv+XmjwOYCjtUakbg6AkGlNoQGBMB5A9g8hh2g7zFE2U4F35FxfHfmwwbxcz3Yl32C/oAwPwDAS6UXdpOhXPZ27Trc9R/SLTla0zzGoXl2QAexnLVZJB/CZMpV7HthfL4lJIrb54u+tdv3/rCiSbw+k88yM9ZxXgKwlHmZycq13iSr0KeMHmUZw6r1VICrLT4D5fy4wq/5DAvfjaWC9oAd9KxwTNUJynUjL+EqpwSTME1zOWMBuIxmZ7p9RCsNq+NmdxW09I1MdNkJeYZNHsIt0qKEO2Z4kvmHadS+Xqv2cqzc93rpuhdl54tg2DISuJljBW3uZjMHrAPqHOYK6zPIM23G2+14Rts4cyLbdxo3Y667UskOo/W/m/PwRhQBwZFkT2vXzDbTtLMZCyfP1155bbfDrpjKZoYH41bO+d97jmEgMPVxFMF0iHESIkiNtDhKuwV058cw0dBZNP+lFsSU/6VWf0E4P/x+IF2eJnokr4uW/2jAKPYjjRb7Cxef70c3qsCl0im1Gj/Uu2eF6sWo0rUiTQq7zS+pYjywnXYwcyOZfI4mKgHj9N2ttHqbRfSlQXhjw5XXy4S7ZbzOovkxVRsphHp8ia3HlyleZS1zHcvoVrdjuNFdEe7edGHzSbpSria/WZ3+cxYV5DCx/4w7FUfyfTW0WO+i7x2YrzKUXZFw/sut+OxJDGkHUxEZPwgCquQcIgxZR9oXekDQk8FF60bqwocupaIoEz6EmaC3C+0Ro6Wgp4eb2tpPJqN+4xXFXQ3TfUfCc5PDNnLZDpLIV1NADKyjZa87mHgmWX57bYdIfIY3pdCGf43xQUXI62kBn3fZxi4SPC8crIjDQ4yzFAaz/XcPJn7xf03VRzIB5Z7qCbBzPQi5jga2E9bCD+ELug8ficEZCk/Cmj8Ro3aLtLxDR1/QffhIHNRTUZCf+S5G7SJBp2b7G31B9+EjcVAFEInZQ2LU7jiN1zf4gu7DR+KwTvkfO9bGx6BNnEQ8XXmN5cT3fEH34SNxwN4A9dgknIEwyWNbeRTwV7WYHBVwFQfbwKb7vOUjiYAiKVT1PczXqCLD/n5UbuLcNxTKoCgExSFNmsFCHI6iJBQFnUbqqbWPHyFceDAOrC/oPpIN+FVaVLrNUa6dLPbvoEQdO4pd1OUylBVkCutsOkqosbNvwcE6qL6g+0hG3MY4ejots1pT3kE4P9QDdfuLKeDfHswD6gu6j2TF2yQcLoqEGurre9EdP1QTfmxJRdn0NlrvD+jmY69Egz+UQvxfgAEALJ4EcRDa/toAAAAASUVORK5CYII=\0" ;
pub const FS_PERMS: u32 = 0;
pub const FS_INODE: u32 = 1;
pub const FS_SIZE: u32 = 2;
pub const FS_OWNER: u32 = 3;
pub const FS_GROUP: u32 = 4;
pub const FS_ATIME: u32 = 5;
pub const FS_MTIME: u32 = 6;
pub const FS_CTIME: u32 = 7;
pub const FS_TYPE: u32 = 8;
pub const FS_IS_W: u32 = 9;
pub const FS_IS_R: u32 = 10;
pub const FS_IS_X: u32 = 11;
pub const FS_IS_FILE: u32 = 12;
pub const FS_IS_DIR: u32 = 13;
pub const FS_IS_LINK: u32 = 14;
pub const FS_EXISTS: u32 = 15;
pub const FS_LSTAT: u32 = 16;
pub const FS_STAT: u32 = 17;
pub const FS_LPERMS: u32 = 18;
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 gid_t = __gid_t;
pub type mode_t = __mode_t;
pub type uid_t = __uid_t;
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 tsrm_intptr_t = isize;
pub type tsrm_uintptr_t = usize;
pub type __gnuc_va_list = __builtin_va_list;
pub type FILE = _IO_FILE;
#[repr(C)]
#[derive(Debug)]
pub struct _IO_marker {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug)]
pub struct _IO_codecvt {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug)]
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 _bitfield_1: __BindgenBitfieldUnit<[u8; 3usize]>,
pub _short_backupbuf: [::std::os::raw::c_char; 1usize],
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 _prevchain: *mut *mut _IO_FILE,
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::_short_backupbuf"]
[::std::mem::offset_of!(_IO_FILE, _short_backupbuf) - 119usize];
["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::_prevchain"]
[::std::mem::offset_of!(_IO_FILE, _prevchain) - 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];
};
impl _IO_FILE {
#[inline]
#[allow(unnecessary_transmutes)]
pub fn _flags2(&self) -> ::std::os::raw::c_int {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 24u8>() as u32) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set__flags2(&mut self, val: ::std::os::raw::c_int) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<0usize, 24u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn _flags2_raw(this: *const Self) -> ::std::os::raw::c_int {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 3usize]>>::raw_get_const::<0usize, 24u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u32,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set__flags2_raw(this: *mut Self, val: ::std::os::raw::c_int) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 3usize]>>::raw_set_const::<0usize, 24u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn new_bitfield_1(_flags2: ::std::os::raw::c_int) -> __BindgenBitfieldUnit<[u8; 3usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 3usize]> = Default::default();
__bindgen_bitfield_unit.set_const::<0usize, 24u8>({
let _flags2: u32 = unsafe { ::std::mem::transmute(_flags2) };
_flags2 as u64
});
__bindgen_bitfield_unit
}
}
pub type va_list = __gnuc_va_list;
#[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 __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;
pub const long_min_digits: &[u8; 20] = b"9223372036854775808\0";
pub type zend_max_align_t = max_align_t;
pub type zend_uchar = ::std::os::raw::c_uchar;
pub mod ZEND_RESULT_CODE {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_int;
pub const SUCCESS: Type = 0;
pub const FAILURE: Type = -1;
}
pub use self::ZEND_RESULT_CODE::Type 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_u1,
pub u2: _zval_u2,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zval_u1 {
pub type_info: u32,
pub v: _zval_u1_v,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zval_u1_v {
pub type_: u8,
pub type_flags: u8,
pub u: _zval_u1_v_u,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zval_u1_v_u {
pub extra: u16,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zval_u1_v_u"][::std::mem::size_of::<_zval_u1_v_u>() - 2usize];
["Alignment of _zval_u1_v_u"][::std::mem::align_of::<_zval_u1_v_u>() - 2usize];
["Offset of field: _zval_u1_v_u::extra"][::std::mem::offset_of!(_zval_u1_v_u, extra) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zval_u1_v"][::std::mem::size_of::<_zval_u1_v>() - 4usize];
["Alignment of _zval_u1_v"][::std::mem::align_of::<_zval_u1_v>() - 2usize];
["Offset of field: _zval_u1_v::type_"][::std::mem::offset_of!(_zval_u1_v, type_) - 0usize];
["Offset of field: _zval_u1_v::type_flags"]
[::std::mem::offset_of!(_zval_u1_v, type_flags) - 1usize];
["Offset of field: _zval_u1_v::u"][::std::mem::offset_of!(_zval_u1_v, u) - 2usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zval_u1"][::std::mem::size_of::<_zval_u1>() - 4usize];
["Alignment of _zval_u1"][::std::mem::align_of::<_zval_u1>() - 4usize];
["Offset of field: _zval_u1::type_info"][::std::mem::offset_of!(_zval_u1, type_info) - 0usize];
["Offset of field: _zval_u1::v"][::std::mem::offset_of!(_zval_u1, v) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zval_u2 {
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_u2"][::std::mem::size_of::<_zval_u2>() - 4usize];
["Alignment of _zval_u2"][::std::mem::align_of::<_zval_u2>() - 4usize];
["Offset of field: _zval_u2::next"][::std::mem::offset_of!(_zval_u2, next) - 0usize];
["Offset of field: _zval_u2::cache_slot"]
[::std::mem::offset_of!(_zval_u2, cache_slot) - 0usize];
["Offset of field: _zval_u2::opline_num"]
[::std::mem::offset_of!(_zval_u2, opline_num) - 0usize];
["Offset of field: _zval_u2::lineno"][::std::mem::offset_of!(_zval_u2, lineno) - 0usize];
["Offset of field: _zval_u2::num_args"][::std::mem::offset_of!(_zval_u2, num_args) - 0usize];
["Offset of field: _zval_u2::fe_pos"][::std::mem::offset_of!(_zval_u2, fe_pos) - 0usize];
["Offset of field: _zval_u2::fe_iter_idx"]
[::std::mem::offset_of!(_zval_u2, fe_iter_idx) - 0usize];
["Offset of field: _zval_u2::guard"][::std::mem::offset_of!(_zval_u2, guard) - 0usize];
["Offset of field: _zval_u2::constant_flags"]
[::std::mem::offset_of!(_zval_u2, constant_flags) - 0usize];
["Offset of field: _zval_u2::extra"][::std::mem::offset_of!(_zval_u2, 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_u,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_refcounted_h_u {
pub type_info: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_refcounted_h_u"][::std::mem::size_of::<_zend_refcounted_h_u>() - 4usize];
["Alignment of _zend_refcounted_h_u"][::std::mem::align_of::<_zend_refcounted_h_u>() - 4usize];
["Offset of field: _zend_refcounted_h_u::type_info"]
[::std::mem::offset_of!(_zend_refcounted_h_u, 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__flags,
pub nTableMask: u32,
pub __bindgen_anon_1: _zend_array__data,
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__flags {
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__flags"][::std::mem::size_of::<_zend_array__flags>() - 4usize];
["Alignment of _zend_array__flags"][::std::mem::align_of::<_zend_array__flags>() - 4usize];
["Offset of field: _zend_array__flags::v"]
[::std::mem::offset_of!(_zend_array__flags, v) - 0usize];
["Offset of field: _zend_array__flags::flags"]
[::std::mem::offset_of!(_zend_array__flags, flags) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_array__data {
pub arHash: *mut u32,
pub arData: *mut Bucket,
pub arPacked: *mut zval,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_array__data"][::std::mem::size_of::<_zend_array__data>() - 8usize];
["Alignment of _zend_array__data"][::std::mem::align_of::<_zend_array__data>() - 8usize];
["Offset of field: _zend_array__data::arHash"]
[::std::mem::offset_of!(_zend_array__data, arHash) - 0usize];
["Offset of field: _zend_array__data::arData"]
[::std::mem::offset_of!(_zend_array__data, arData) - 0usize];
["Offset of field: _zend_array__data::arPacked"]
[::std::mem::offset_of!(_zend_array__data, 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];
};
#[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;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_mm_debug_info {
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_mm_debug_info"][::std::mem::size_of::<_zend_mm_debug_info>() - 32usize];
["Alignment of _zend_mm_debug_info"][::std::mem::align_of::<_zend_mm_debug_info>() - 8usize];
["Offset of field: _zend_mm_debug_info::size"]
[::std::mem::offset_of!(_zend_mm_debug_info, size) - 0usize];
["Offset of field: _zend_mm_debug_info::filename"]
[::std::mem::offset_of!(_zend_mm_debug_info, filename) - 8usize];
["Offset of field: _zend_mm_debug_info::orig_filename"]
[::std::mem::offset_of!(_zend_mm_debug_info, orig_filename) - 16usize];
["Offset of field: _zend_mm_debug_info::lineno"]
[::std::mem::offset_of!(_zend_mm_debug_info, lineno) - 24usize];
["Offset of field: _zend_mm_debug_info::orig_lineno"]
[::std::mem::offset_of!(_zend_mm_debug_info, orig_lineno) - 28usize];
};
pub type zend_mm_debug_info = _zend_mm_debug_info;
#[repr(C)]
#[derive(Debug)]
pub struct _zend_mm_heap {
_unused: [u8; 0],
}
pub type zend_mm_heap = _zend_mm_heap;
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];
};
#[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;
pub type socklen_t = __socklen_t;
pub type zend_hrtime_t = u64;
#[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;
#[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];
};
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,
>;
pub mod _zend_known_string_id {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_STR_FILE: Type = 0;
pub const ZEND_STR_LINE: Type = 1;
pub const ZEND_STR_FUNCTION: Type = 2;
pub const ZEND_STR_CLASS: Type = 3;
pub const ZEND_STR_OBJECT: Type = 4;
pub const ZEND_STR_TYPE: Type = 5;
pub const ZEND_STR_OBJECT_OPERATOR: Type = 6;
pub const ZEND_STR_PAAMAYIM_NEKUDOTAYIM: Type = 7;
pub const ZEND_STR_ARGS: Type = 8;
pub const ZEND_STR_UNKNOWN: Type = 9;
pub const ZEND_STR_UNKNOWN_CAPITALIZED: Type = 10;
pub const ZEND_STR_EXIT: Type = 11;
pub const ZEND_STR_CLONE: Type = 12;
pub const ZEND_STR_EVAL: Type = 13;
pub const ZEND_STR_INCLUDE: Type = 14;
pub const ZEND_STR_REQUIRE: Type = 15;
pub const ZEND_STR_INCLUDE_ONCE: Type = 16;
pub const ZEND_STR_REQUIRE_ONCE: Type = 17;
pub const ZEND_STR_SCALAR: Type = 18;
pub const ZEND_STR_ERROR_REPORTING: Type = 19;
pub const ZEND_STR_STATIC: Type = 20;
pub const ZEND_STR_THIS: Type = 21;
pub const ZEND_STR_VALUE: Type = 22;
pub const ZEND_STR_KEY: Type = 23;
pub const ZEND_STR_MAGIC_INVOKE: Type = 24;
pub const ZEND_STR_PREVIOUS: Type = 25;
pub const ZEND_STR_CODE: Type = 26;
pub const ZEND_STR_MESSAGE: Type = 27;
pub const ZEND_STR_SEVERITY: Type = 28;
pub const ZEND_STR_STRING: Type = 29;
pub const ZEND_STR_TRACE: Type = 30;
pub const ZEND_STR_SCHEME: Type = 31;
pub const ZEND_STR_HOST: Type = 32;
pub const ZEND_STR_PORT: Type = 33;
pub const ZEND_STR_USER: Type = 34;
pub const ZEND_STR_USERNAME: Type = 35;
pub const ZEND_STR_PASS: Type = 36;
pub const ZEND_STR_PASSWORD: Type = 37;
pub const ZEND_STR_PATH: Type = 38;
pub const ZEND_STR_QUERY: Type = 39;
pub const ZEND_STR_FRAGMENT: Type = 40;
pub const ZEND_STR_NULL: Type = 41;
pub const ZEND_STR_BOOLEAN: Type = 42;
pub const ZEND_STR_INTEGER: Type = 43;
pub const ZEND_STR_DOUBLE: Type = 44;
pub const ZEND_STR_ARRAY: Type = 45;
pub const ZEND_STR_RESOURCE: Type = 46;
pub const ZEND_STR_CLOSED_RESOURCE: Type = 47;
pub const ZEND_STR_NAME: Type = 48;
pub const ZEND_STR_ARGV: Type = 49;
pub const ZEND_STR_ARGC: Type = 50;
pub const ZEND_STR_ARRAY_CAPITALIZED: Type = 51;
pub const ZEND_STR_BOOL: Type = 52;
pub const ZEND_STR_INT: Type = 53;
pub const ZEND_STR_FLOAT: Type = 54;
pub const ZEND_STR_CALLABLE: Type = 55;
pub const ZEND_STR_ITERABLE: Type = 56;
pub const ZEND_STR_VOID: Type = 57;
pub const ZEND_STR_NEVER: Type = 58;
pub const ZEND_STR_FALSE: Type = 59;
pub const ZEND_STR_TRUE: Type = 60;
pub const ZEND_STR_NULL_LOWERCASE: Type = 61;
pub const ZEND_STR_MIXED: Type = 62;
pub const ZEND_STR_TRAVERSABLE: Type = 63;
pub const ZEND_STR_SELF: Type = 64;
pub const ZEND_STR_PARENT: Type = 65;
pub const ZEND_STR_SLEEP: Type = 66;
pub const ZEND_STR_WAKEUP: Type = 67;
pub const ZEND_STR_CASES: Type = 68;
pub const ZEND_STR_FROM: Type = 69;
pub const ZEND_STR_TRYFROM: Type = 70;
pub const ZEND_STR_TRYFROM_LOWERCASE: Type = 71;
pub const ZEND_STR_AUTOGLOBAL_SERVER: Type = 72;
pub const ZEND_STR_AUTOGLOBAL_ENV: Type = 73;
pub const ZEND_STR_AUTOGLOBAL_REQUEST: Type = 74;
pub const ZEND_STR_COUNT: Type = 75;
pub const ZEND_STR_SENSITIVEPARAMETER: Type = 76;
pub const ZEND_STR_CONST_EXPR_PLACEHOLDER: Type = 77;
pub const ZEND_STR_DEPRECATED_CAPITALIZED: Type = 78;
pub const ZEND_STR_SINCE: Type = 79;
pub const ZEND_STR_GET: Type = 80;
pub const ZEND_STR_SET: Type = 81;
pub const ZEND_STR_8_DOT_0: Type = 82;
pub const ZEND_STR_8_DOT_1: Type = 83;
pub const ZEND_STR_8_DOT_2: Type = 84;
pub const ZEND_STR_8_DOT_3: Type = 85;
pub const ZEND_STR_8_DOT_4: Type = 86;
pub const ZEND_STR_8_DOT_5: Type = 87;
pub const ZEND_STR_LAST_KNOWN: Type = 88;
}
pub use self::_zend_known_string_id::Type as zend_known_string_id;
pub mod zend_hash_key_type {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const HASH_KEY_IS_STRING: Type = 1;
pub const HASH_KEY_IS_LONG: Type = 2;
pub const HASH_KEY_NON_EXISTENT: Type = 3;
}
#[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,
>;
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,
>;
pub type bucket_compare_func_t = ::std::option::Option<
unsafe extern "C" fn(a: *mut Bucket, b: *mut Bucket) -> ::std::os::raw::c_int,
>;
pub mod _zend_ast_kind {
#[allow(unused_imports)]
use super::*;
pub type Type = u16;
pub const ZEND_AST_ZVAL: Type = 64;
pub const ZEND_AST_CONSTANT: Type = 65;
pub const ZEND_AST_OP_ARRAY: Type = 66;
pub const ZEND_AST_ZNODE: Type = 67;
pub const ZEND_AST_FUNC_DECL: Type = 68;
pub const ZEND_AST_CLOSURE: Type = 69;
pub const ZEND_AST_METHOD: Type = 70;
pub const ZEND_AST_CLASS: Type = 71;
pub const ZEND_AST_ARROW_FUNC: Type = 72;
pub const ZEND_AST_PROPERTY_HOOK: Type = 73;
pub const ZEND_AST_ARG_LIST: Type = 128;
pub const ZEND_AST_ARRAY: Type = 129;
pub const ZEND_AST_ENCAPS_LIST: Type = 130;
pub const ZEND_AST_EXPR_LIST: Type = 131;
pub const ZEND_AST_STMT_LIST: Type = 132;
pub const ZEND_AST_IF: Type = 133;
pub const ZEND_AST_SWITCH_LIST: Type = 134;
pub const ZEND_AST_CATCH_LIST: Type = 135;
pub const ZEND_AST_PARAM_LIST: Type = 136;
pub const ZEND_AST_CLOSURE_USES: Type = 137;
pub const ZEND_AST_PROP_DECL: Type = 138;
pub const ZEND_AST_CONST_DECL: Type = 139;
pub const ZEND_AST_CLASS_CONST_DECL: Type = 140;
pub const ZEND_AST_NAME_LIST: Type = 141;
pub const ZEND_AST_TRAIT_ADAPTATIONS: Type = 142;
pub const ZEND_AST_USE: Type = 143;
pub const ZEND_AST_TYPE_UNION: Type = 144;
pub const ZEND_AST_TYPE_INTERSECTION: Type = 145;
pub const ZEND_AST_ATTRIBUTE_LIST: Type = 146;
pub const ZEND_AST_ATTRIBUTE_GROUP: Type = 147;
pub const ZEND_AST_MATCH_ARM_LIST: Type = 148;
pub const ZEND_AST_MODIFIER_LIST: Type = 149;
pub const ZEND_AST_MAGIC_CONST: Type = 0;
pub const ZEND_AST_TYPE: Type = 1;
pub const ZEND_AST_CONSTANT_CLASS: Type = 2;
pub const ZEND_AST_CALLABLE_CONVERT: Type = 3;
pub const ZEND_AST_VAR: Type = 256;
pub const ZEND_AST_CONST: Type = 257;
pub const ZEND_AST_UNPACK: Type = 258;
pub const ZEND_AST_UNARY_PLUS: Type = 259;
pub const ZEND_AST_UNARY_MINUS: Type = 260;
pub const ZEND_AST_CAST: Type = 261;
pub const ZEND_AST_CAST_VOID: Type = 262;
pub const ZEND_AST_EMPTY: Type = 263;
pub const ZEND_AST_ISSET: Type = 264;
pub const ZEND_AST_SILENCE: Type = 265;
pub const ZEND_AST_SHELL_EXEC: Type = 266;
pub const ZEND_AST_PRINT: Type = 267;
pub const ZEND_AST_INCLUDE_OR_EVAL: Type = 268;
pub const ZEND_AST_UNARY_OP: Type = 269;
pub const ZEND_AST_PRE_INC: Type = 270;
pub const ZEND_AST_PRE_DEC: Type = 271;
pub const ZEND_AST_POST_INC: Type = 272;
pub const ZEND_AST_POST_DEC: Type = 273;
pub const ZEND_AST_YIELD_FROM: Type = 274;
pub const ZEND_AST_CLASS_NAME: Type = 275;
pub const ZEND_AST_GLOBAL: Type = 276;
pub const ZEND_AST_UNSET: Type = 277;
pub const ZEND_AST_RETURN: Type = 278;
pub const ZEND_AST_LABEL: Type = 279;
pub const ZEND_AST_REF: Type = 280;
pub const ZEND_AST_HALT_COMPILER: Type = 281;
pub const ZEND_AST_ECHO: Type = 282;
pub const ZEND_AST_THROW: Type = 283;
pub const ZEND_AST_GOTO: Type = 284;
pub const ZEND_AST_BREAK: Type = 285;
pub const ZEND_AST_CONTINUE: Type = 286;
pub const ZEND_AST_PROPERTY_HOOK_SHORT_BODY: Type = 287;
pub const ZEND_AST_DIM: Type = 512;
pub const ZEND_AST_PROP: Type = 513;
pub const ZEND_AST_NULLSAFE_PROP: Type = 514;
pub const ZEND_AST_STATIC_PROP: Type = 515;
pub const ZEND_AST_CALL: Type = 516;
pub const ZEND_AST_CLASS_CONST: Type = 517;
pub const ZEND_AST_ASSIGN: Type = 518;
pub const ZEND_AST_ASSIGN_REF: Type = 519;
pub const ZEND_AST_ASSIGN_OP: Type = 520;
pub const ZEND_AST_BINARY_OP: Type = 521;
pub const ZEND_AST_GREATER: Type = 522;
pub const ZEND_AST_GREATER_EQUAL: Type = 523;
pub const ZEND_AST_AND: Type = 524;
pub const ZEND_AST_OR: Type = 525;
pub const ZEND_AST_ARRAY_ELEM: Type = 526;
pub const ZEND_AST_NEW: Type = 527;
pub const ZEND_AST_INSTANCEOF: Type = 528;
pub const ZEND_AST_YIELD: Type = 529;
pub const ZEND_AST_COALESCE: Type = 530;
pub const ZEND_AST_ASSIGN_COALESCE: Type = 531;
pub const ZEND_AST_STATIC: Type = 532;
pub const ZEND_AST_WHILE: Type = 533;
pub const ZEND_AST_DO_WHILE: Type = 534;
pub const ZEND_AST_IF_ELEM: Type = 535;
pub const ZEND_AST_SWITCH: Type = 536;
pub const ZEND_AST_SWITCH_CASE: Type = 537;
pub const ZEND_AST_DECLARE: Type = 538;
pub const ZEND_AST_USE_TRAIT: Type = 539;
pub const ZEND_AST_TRAIT_PRECEDENCE: Type = 540;
pub const ZEND_AST_METHOD_REFERENCE: Type = 541;
pub const ZEND_AST_NAMESPACE: Type = 542;
pub const ZEND_AST_USE_ELEM: Type = 543;
pub const ZEND_AST_TRAIT_ALIAS: Type = 544;
pub const ZEND_AST_GROUP_USE: Type = 545;
pub const ZEND_AST_ATTRIBUTE: Type = 546;
pub const ZEND_AST_MATCH: Type = 547;
pub const ZEND_AST_MATCH_ARM: Type = 548;
pub const ZEND_AST_NAMED_ARG: Type = 549;
pub const ZEND_AST_PARENT_PROPERTY_HOOK_CALL: Type = 550;
pub const ZEND_AST_PIPE: Type = 551;
pub const ZEND_AST_METHOD_CALL: Type = 768;
pub const ZEND_AST_NULLSAFE_METHOD_CALL: Type = 769;
pub const ZEND_AST_STATIC_CALL: Type = 770;
pub const ZEND_AST_CONDITIONAL: Type = 771;
pub const ZEND_AST_TRY: Type = 772;
pub const ZEND_AST_CATCH: Type = 773;
pub const ZEND_AST_PROP_GROUP: Type = 774;
pub const ZEND_AST_CONST_ELEM: Type = 775;
pub const ZEND_AST_CLASS_CONST_GROUP: Type = 776;
pub const ZEND_AST_CONST_ENUM_INIT: Type = 777;
pub const ZEND_AST_FOR: Type = 1024;
pub const ZEND_AST_FOREACH: Type = 1025;
pub const ZEND_AST_ENUM_CASE: Type = 1026;
pub const ZEND_AST_PROP_ELEM: Type = 1027;
pub const ZEND_AST_PARAM: Type = 1536;
}
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)>;
#[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];
};
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),
>;
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;
#[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 mod zend_stream_type {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_HANDLE_FILENAME: Type = 0;
pub const ZEND_HANDLE_FP: Type = 1;
pub const ZEND_HANDLE_STREAM: Type = 2;
}
#[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;
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;
#[repr(C)]
#[derive(Debug)]
pub struct _zend_serialize_data {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug)]
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_parent_info,
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_hook,
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_interfaces_info,
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_info,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry_parent_info {
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_parent_info"]
[::std::mem::size_of::<_zend_class_entry_parent_info>() - 8usize];
["Alignment of _zend_class_entry_parent_info"]
[::std::mem::align_of::<_zend_class_entry_parent_info>() - 8usize];
["Offset of field: _zend_class_entry_parent_info::parent"]
[::std::mem::offset_of!(_zend_class_entry_parent_info, parent) - 0usize];
["Offset of field: _zend_class_entry_parent_info::parent_name"]
[::std::mem::offset_of!(_zend_class_entry_parent_info, parent_name) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry_hook {
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_hook"][::std::mem::size_of::<_zend_class_entry_hook>() - 8usize];
["Alignment of _zend_class_entry_hook"]
[::std::mem::align_of::<_zend_class_entry_hook>() - 8usize];
["Offset of field: _zend_class_entry_hook::create_object"]
[::std::mem::offset_of!(_zend_class_entry_hook, create_object) - 0usize];
["Offset of field: _zend_class_entry_hook::interface_gets_implemented"]
[::std::mem::offset_of!(_zend_class_entry_hook, interface_gets_implemented) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry_interfaces_info {
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_interfaces_info"]
[::std::mem::size_of::<_zend_class_entry_interfaces_info>() - 8usize];
["Alignment of _zend_class_entry_interfaces_info"]
[::std::mem::align_of::<_zend_class_entry_interfaces_info>() - 8usize];
["Offset of field: _zend_class_entry_interfaces_info::interfaces"]
[::std::mem::offset_of!(_zend_class_entry_interfaces_info, interfaces) - 0usize];
["Offset of field: _zend_class_entry_interfaces_info::interface_names"]
[::std::mem::offset_of!(_zend_class_entry_interfaces_info, interface_names) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry_info {
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_info"][::std::mem::size_of::<_zend_class_entry_info>() - 16usize];
["Alignment of _zend_class_entry_info"]
[::std::mem::align_of::<_zend_class_entry_info>() - 8usize];
["Offset of field: _zend_class_entry_info::user"]
[::std::mem::offset_of!(_zend_class_entry_info, user) - 0usize];
["Offset of field: _zend_class_entry_info::internal"]
[::std::mem::offset_of!(_zend_class_entry_info, 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,
>;
pub mod zend_error_handling_t {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const EH_NORMAL: Type = 0;
pub const EH_THROW: Type = 1;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_error_handling {
pub handling: zend_error_handling_t::Type,
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];
};
pub mod zend_property_hook_kind {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_PROPERTY_HOOK_GET: Type = 0;
pub const ZEND_PROPERTY_HOOK_SET: Type = 1;
}
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;
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 mod _zend_prop_purpose {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_PROP_PURPOSE_DEBUG: Type = 0;
pub const ZEND_PROP_PURPOSE_ARRAY_CAST: Type = 1;
pub const ZEND_PROP_PURPOSE_SERIALIZE: Type = 2;
pub const ZEND_PROP_PURPOSE_VAR_EXPORT: Type = 3;
pub const ZEND_PROP_PURPOSE_JSON: Type = 4;
pub const ZEND_PROP_PURPOSE_GET_OBJECT_VARS: Type = 5;
pub const _ZEND_PROP_PURPOSE_NON_EXHAUSTIVE_ENUM: Type = 6;
}
pub use self::_zend_prop_purpose::Type 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];
};
#[repr(C)]
#[derive(Debug)]
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;
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()>;
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),
>;
#[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 mod zend_jmp_fl_result {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_JMP_FL_UNPRIMED: Type = 0;
pub const ZEND_JMP_FL_MISS: Type = 1;
pub const ZEND_JMP_FL_HIT: Type = 2;
}
#[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;
#[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;
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::Type,
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;
#[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__common,
pub op_array: zend_op_array,
pub internal_function: zend_internal_function,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_function__common {
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__common"][::std::mem::size_of::<_zend_function__common>() - 88usize];
["Alignment of _zend_function__common"]
[::std::mem::align_of::<_zend_function__common>() - 8usize];
["Offset of field: _zend_function__common::type_"]
[::std::mem::offset_of!(_zend_function__common, type_) - 0usize];
["Offset of field: _zend_function__common::arg_flags"]
[::std::mem::offset_of!(_zend_function__common, arg_flags) - 1usize];
["Offset of field: _zend_function__common::fn_flags"]
[::std::mem::offset_of!(_zend_function__common, fn_flags) - 4usize];
["Offset of field: _zend_function__common::function_name"]
[::std::mem::offset_of!(_zend_function__common, function_name) - 8usize];
["Offset of field: _zend_function__common::scope"]
[::std::mem::offset_of!(_zend_function__common, scope) - 16usize];
["Offset of field: _zend_function__common::prototype"]
[::std::mem::offset_of!(_zend_function__common, prototype) - 24usize];
["Offset of field: _zend_function__common::num_args"]
[::std::mem::offset_of!(_zend_function__common, num_args) - 32usize];
["Offset of field: _zend_function__common::required_num_args"]
[::std::mem::offset_of!(_zend_function__common, required_num_args) - 36usize];
["Offset of field: _zend_function__common::arg_info"]
[::std::mem::offset_of!(_zend_function__common, arg_info) - 40usize];
["Offset of field: _zend_function__common::attributes"]
[::std::mem::offset_of!(_zend_function__common, attributes) - 48usize];
["Offset of field: _zend_function__common::run_time_cache__ptr"]
[::std::mem::offset_of!(_zend_function__common, run_time_cache__ptr) - 56usize];
["Offset of field: _zend_function__common::doc_comment"]
[::std::mem::offset_of!(_zend_function__common, doc_comment) - 64usize];
["Offset of field: _zend_function__common::T"]
[::std::mem::offset_of!(_zend_function__common, T) - 72usize];
["Offset of field: _zend_function__common::prop_info"]
[::std::mem::offset_of!(_zend_function__common, 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::Type,
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];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_atomic_bool_s {
pub value: bool,
}
#[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: ::std::os::raw::c_int,
}
#[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;
#[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 mod zend_stack_apply_direction {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_STACK_APPLY_TOPDOWN: Type = 0;
pub const ZEND_STACK_APPLY_BOTTOMUP: Type = 1;
}
#[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;
#[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;
#[repr(C)]
#[derive(Debug)]
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;
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;
pub type zend_vm_stack = *mut _zend_vm_stack;
pub type zend_ini_entry = _zend_ini_entry;
pub type zend_fiber_context = _zend_fiber_context;
pub type zend_fiber = _zend_fiber;
pub mod zend_memoize_mode {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_MEMOIZE_NONE: Type = 0;
pub const ZEND_MEMOIZE_COMPILE: Type = 1;
pub const ZEND_MEMOIZE_FETCH: Type = 2;
}
#[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::Type,
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 mod zend_php_scanner_event {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ON_TOKEN: Type = 0;
pub const ON_FEEDBACK: Type = 1;
pub const ON_STOP: Type = 2;
}
#[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::Type,
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 mod _zend_compile_position {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_COMPILE_POSITION_AT_SHEBANG: Type = 0;
pub const ZEND_COMPILE_POSITION_AT_OPEN_TAG: Type = 1;
pub const ZEND_COMPILE_POSITION_AFTER_OPEN_TAG: Type = 2;
}
pub use self::_zend_compile_position::Type as zend_compile_position;
pub type unary_op_type =
::std::option::Option<unsafe extern "C" fn(arg1: *mut zval, arg2: *mut zval) -> zend_result>;
pub type binary_op_type = ::std::option::Option<
unsafe extern "C" fn(arg1: *mut zval, arg2: *mut zval, arg3: *mut zval) -> zend_result,
>;
pub mod zend_modifier_target {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_MODIFIER_TARGET_PROPERTY: Type = 0;
pub const ZEND_MODIFIER_TARGET_METHOD: Type = 1;
pub const ZEND_MODIFIER_TARGET_CONSTANT: Type = 2;
pub const ZEND_MODIFIER_TARGET_CPP: Type = 3;
pub const ZEND_MODIFIER_TARGET_PROPERTY_HOOK: Type = 4;
}
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,
>;
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;
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];
};
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;
#[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;
pub mod zend_verify_prop_assignable_by_ref_context {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_ASSIGNMENT: Type = 0;
pub const ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_MAGIC_GET: Type = 1;
}
#[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];
};
#[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];
};
pub mod _zend_expected_type {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const Z_EXPECTED_LONG: Type = 0;
pub const Z_EXPECTED_LONG_OR_NULL: Type = 1;
pub const Z_EXPECTED_BOOL: Type = 2;
pub const Z_EXPECTED_BOOL_OR_NULL: Type = 3;
pub const Z_EXPECTED_STRING: Type = 4;
pub const Z_EXPECTED_STRING_OR_NULL: Type = 5;
pub const Z_EXPECTED_ARRAY: Type = 6;
pub const Z_EXPECTED_ARRAY_OR_NULL: Type = 7;
pub const Z_EXPECTED_ARRAY_OR_LONG: Type = 8;
pub const Z_EXPECTED_ARRAY_OR_LONG_OR_NULL: Type = 9;
pub const Z_EXPECTED_ITERABLE: Type = 10;
pub const Z_EXPECTED_ITERABLE_OR_NULL: Type = 11;
pub const Z_EXPECTED_FUNC: Type = 12;
pub const Z_EXPECTED_FUNC_OR_NULL: Type = 13;
pub const Z_EXPECTED_RESOURCE: Type = 14;
pub const Z_EXPECTED_RESOURCE_OR_NULL: Type = 15;
pub const Z_EXPECTED_PATH: Type = 16;
pub const Z_EXPECTED_PATH_OR_NULL: Type = 17;
pub const Z_EXPECTED_OBJECT: Type = 18;
pub const Z_EXPECTED_OBJECT_OR_NULL: Type = 19;
pub const Z_EXPECTED_DOUBLE: Type = 20;
pub const Z_EXPECTED_DOUBLE_OR_NULL: Type = 21;
pub const Z_EXPECTED_NUMBER: Type = 22;
pub const Z_EXPECTED_NUMBER_OR_NULL: Type = 23;
pub const Z_EXPECTED_NUMBER_OR_STRING: Type = 24;
pub const Z_EXPECTED_NUMBER_OR_STRING_OR_NULL: Type = 25;
pub const Z_EXPECTED_ARRAY_OR_STRING: Type = 26;
pub const Z_EXPECTED_ARRAY_OR_STRING_OR_NULL: Type = 27;
pub const Z_EXPECTED_STRING_OR_LONG: Type = 28;
pub const Z_EXPECTED_STRING_OR_LONG_OR_NULL: Type = 29;
pub const Z_EXPECTED_OBJECT_OR_CLASS_NAME: Type = 30;
pub const Z_EXPECTED_OBJECT_OR_CLASS_NAME_OR_NULL: Type = 31;
pub const Z_EXPECTED_OBJECT_OR_STRING: Type = 32;
pub const Z_EXPECTED_OBJECT_OR_STRING_OR_NULL: Type = 33;
pub const Z_EXPECTED_LAST: Type = 34;
}
pub use self::_zend_expected_type::Type as zend_expected_type;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct zend_attribute_arg {
pub name: *mut zend_string,
pub value: zval,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of zend_attribute_arg"][::std::mem::size_of::<zend_attribute_arg>() - 24usize];
["Alignment of zend_attribute_arg"][::std::mem::align_of::<zend_attribute_arg>() - 8usize];
["Offset of field: zend_attribute_arg::name"]
[::std::mem::offset_of!(zend_attribute_arg, name) - 0usize];
["Offset of field: zend_attribute_arg::value"]
[::std::mem::offset_of!(zend_attribute_arg, value) - 8usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_attribute {
pub name: *mut zend_string,
pub lcname: *mut zend_string,
pub validation_error: *mut zend_string,
pub flags: u32,
pub lineno: u32,
pub offset: u32,
pub argc: u32,
pub args: [zend_attribute_arg; 1usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_attribute"][::std::mem::size_of::<_zend_attribute>() - 64usize];
["Alignment of _zend_attribute"][::std::mem::align_of::<_zend_attribute>() - 8usize];
["Offset of field: _zend_attribute::name"]
[::std::mem::offset_of!(_zend_attribute, name) - 0usize];
["Offset of field: _zend_attribute::lcname"]
[::std::mem::offset_of!(_zend_attribute, lcname) - 8usize];
["Offset of field: _zend_attribute::validation_error"]
[::std::mem::offset_of!(_zend_attribute, validation_error) - 16usize];
["Offset of field: _zend_attribute::flags"]
[::std::mem::offset_of!(_zend_attribute, flags) - 24usize];
["Offset of field: _zend_attribute::lineno"]
[::std::mem::offset_of!(_zend_attribute, lineno) - 28usize];
["Offset of field: _zend_attribute::offset"]
[::std::mem::offset_of!(_zend_attribute, offset) - 32usize];
["Offset of field: _zend_attribute::argc"]
[::std::mem::offset_of!(_zend_attribute, argc) - 36usize];
["Offset of field: _zend_attribute::args"]
[::std::mem::offset_of!(_zend_attribute, args) - 40usize];
};
pub type zend_attribute = _zend_attribute;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_internal_attribute {
pub ce: *mut zend_class_entry,
pub flags: u32,
pub validator: ::std::option::Option<
unsafe extern "C" fn(
attr: *mut zend_attribute,
target: u32,
scope: *mut zend_class_entry,
) -> *mut zend_string,
>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_internal_attribute"]
[::std::mem::size_of::<_zend_internal_attribute>() - 24usize];
["Alignment of _zend_internal_attribute"]
[::std::mem::align_of::<_zend_internal_attribute>() - 8usize];
["Offset of field: _zend_internal_attribute::ce"]
[::std::mem::offset_of!(_zend_internal_attribute, ce) - 0usize];
["Offset of field: _zend_internal_attribute::flags"]
[::std::mem::offset_of!(_zend_internal_attribute, flags) - 8usize];
["Offset of field: _zend_internal_attribute::validator"]
[::std::mem::offset_of!(_zend_internal_attribute, validator) - 16usize];
};
pub type zend_internal_attribute = _zend_internal_attribute;
pub type zend_bitset = *mut zend_ulong;
pub mod _zend_cpu_feature {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_CPU_FEATURE_SSE3: Type = 1;
pub const ZEND_CPU_FEATURE_PCLMULQDQ: Type = 2;
pub const ZEND_CPU_FEATURE_DTES64: Type = 4;
pub const ZEND_CPU_FEATURE_MONITOR: Type = 8;
pub const ZEND_CPU_FEATURE_DSCPL: Type = 16;
pub const ZEND_CPU_FEATURE_VMX: Type = 32;
pub const ZEND_CPU_FEATURE_SMX: Type = 64;
pub const ZEND_CPU_FEATURE_EST: Type = 128;
pub const ZEND_CPU_FEATURE_TM2: Type = 256;
pub const ZEND_CPU_FEATURE_SSSE3: Type = 512;
pub const ZEND_CPU_FEATURE_CID: Type = 1024;
pub const ZEND_CPU_FEATURE_SDBG: Type = 2048;
pub const ZEND_CPU_FEATURE_FMA: Type = 4096;
pub const ZEND_CPU_FEATURE_CX16: Type = 8192;
pub const ZEND_CPU_FEATURE_XTPR: Type = 16384;
pub const ZEND_CPU_FEATURE_PDCM: Type = 32768;
pub const ZEND_CPU_FEATURE_PCID: Type = 131072;
pub const ZEND_CPU_FEATURE_DCA: Type = 262144;
pub const ZEND_CPU_FEATURE_SSE41: Type = 524288;
pub const ZEND_CPU_FEATURE_SSE42: Type = 1048576;
pub const ZEND_CPU_FEATURE_X2APIC: Type = 2097152;
pub const ZEND_CPU_FEATURE_MOVBE: Type = 4194304;
pub const ZEND_CPU_FEATURE_POPCNT: Type = 8388608;
pub const ZEND_CPU_FEATURE_TSC_DEADLINE: Type = 16777216;
pub const ZEND_CPU_FEATURE_AES: Type = 33554432;
pub const ZEND_CPU_FEATURE_XSAVE: Type = 67108864;
pub const ZEND_CPU_FEATURE_OSXSAVE: Type = 134217728;
pub const ZEND_CPU_FEATURE_AVX: Type = 268435456;
pub const ZEND_CPU_FEATURE_F16C: Type = 536870912;
pub const ZEND_CPU_FEATURE_AVX2: Type = 1073741856;
pub const ZEND_CPU_FEATURE_AVX512F: Type = 1073807360;
pub const ZEND_CPU_FEATURE_AVX512DQ: Type = 1073872896;
pub const ZEND_CPU_FEATURE_AVX512CD: Type = 1342177280;
pub const ZEND_CPU_FEATURE_SHA: Type = 1610612736;
pub const ZEND_CPU_FEATURE_FPU: Type = 2147483649;
pub const ZEND_CPU_FEATURE_VME: Type = 2147483650;
pub const ZEND_CPU_FEATURE_DE: Type = 2147483652;
pub const ZEND_CPU_FEATURE_PSE: Type = 2147483656;
pub const ZEND_CPU_FEATURE_TSC: Type = 2147483664;
pub const ZEND_CPU_FEATURE_MSR: Type = 2147483680;
pub const ZEND_CPU_FEATURE_PAE: Type = 2147483712;
pub const ZEND_CPU_FEATURE_MCE: Type = 2147483776;
pub const ZEND_CPU_FEATURE_CX8: Type = 2147483904;
pub const ZEND_CPU_FEATURE_APIC: Type = 2147484160;
pub const ZEND_CPU_FEATURE_SEP: Type = 2147485696;
pub const ZEND_CPU_FEATURE_MTRR: Type = 2147487744;
pub const ZEND_CPU_FEATURE_PGE: Type = 2147491840;
pub const ZEND_CPU_FEATURE_MCA: Type = 2147500032;
pub const ZEND_CPU_FEATURE_CMOV: Type = 2147516416;
pub const ZEND_CPU_FEATURE_PAT: Type = 2147549184;
pub const ZEND_CPU_FEATURE_PSE36: Type = 2147614720;
pub const ZEND_CPU_FEATURE_PN: Type = 2147745792;
pub const ZEND_CPU_FEATURE_CLFLUSH: Type = 2148007936;
pub const ZEND_CPU_FEATURE_DS: Type = 2149580800;
pub const ZEND_CPU_FEATURE_ACPI: Type = 2151677952;
pub const ZEND_CPU_FEATURE_MMX: Type = 2155872256;
pub const ZEND_CPU_FEATURE_FXSR: Type = 2164260864;
pub const ZEND_CPU_FEATURE_SSE: Type = 2181038080;
pub const ZEND_CPU_FEATURE_SSE2: Type = 2214592512;
pub const ZEND_CPU_FEATURE_SS: Type = 2281701376;
pub const ZEND_CPU_FEATURE_HT: Type = 2415919104;
pub const ZEND_CPU_FEATURE_TM: Type = 2684354560;
}
pub use self::_zend_cpu_feature::Type as zend_cpu_feature;
#[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];
};
pub mod zend_fiber_status {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_FIBER_STATUS_INIT: Type = 0;
pub const ZEND_FIBER_STATUS_RUNNING: Type = 1;
pub const ZEND_FIBER_STATUS_SUSPENDED: Type = 2;
pub const ZEND_FIBER_STATUS_DEAD: Type = 3;
}
pub mod zend_fiber_flag {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_FIBER_FLAG_THREW: Type = 1;
pub const ZEND_FIBER_FLAG_BAILOUT: Type = 2;
pub const ZEND_FIBER_FLAG_DESTROYED: Type = 4;
}
pub mod zend_fiber_transfer_flag {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const ZEND_FIBER_TRANSFER_FLAG_ERROR: Type = 1;
pub const ZEND_FIBER_TRANSFER_FLAG_BAILOUT: Type = 2;
}
#[repr(C)]
#[derive(Debug)]
pub struct _zend_fiber_stack {
_unused: [u8; 0],
}
pub type zend_fiber_stack = _zend_fiber_stack;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_fiber_transfer {
pub context: *mut zend_fiber_context,
pub value: zval,
pub flags: u8,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_fiber_transfer"][::std::mem::size_of::<_zend_fiber_transfer>() - 32usize];
["Alignment of _zend_fiber_transfer"][::std::mem::align_of::<_zend_fiber_transfer>() - 8usize];
["Offset of field: _zend_fiber_transfer::context"]
[::std::mem::offset_of!(_zend_fiber_transfer, context) - 0usize];
["Offset of field: _zend_fiber_transfer::value"]
[::std::mem::offset_of!(_zend_fiber_transfer, value) - 8usize];
["Offset of field: _zend_fiber_transfer::flags"]
[::std::mem::offset_of!(_zend_fiber_transfer, flags) - 24usize];
};
pub type zend_fiber_transfer = _zend_fiber_transfer;
pub type zend_fiber_coroutine =
::std::option::Option<unsafe extern "C" fn(transfer: *mut zend_fiber_transfer)>;
pub type zend_fiber_clean =
::std::option::Option<unsafe extern "C" fn(context: *mut zend_fiber_context)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_fiber_context {
pub handle: *mut ::std::os::raw::c_void,
pub kind: *mut ::std::os::raw::c_void,
pub function: zend_fiber_coroutine,
pub cleanup: zend_fiber_clean,
pub stack: *mut zend_fiber_stack,
pub status: zend_fiber_status::Type,
pub top_observed_frame: *mut zend_execute_data,
pub reserved: [*mut ::std::os::raw::c_void; 6usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_fiber_context"][::std::mem::size_of::<_zend_fiber_context>() - 104usize];
["Alignment of _zend_fiber_context"][::std::mem::align_of::<_zend_fiber_context>() - 8usize];
["Offset of field: _zend_fiber_context::handle"]
[::std::mem::offset_of!(_zend_fiber_context, handle) - 0usize];
["Offset of field: _zend_fiber_context::kind"]
[::std::mem::offset_of!(_zend_fiber_context, kind) - 8usize];
["Offset of field: _zend_fiber_context::function"]
[::std::mem::offset_of!(_zend_fiber_context, function) - 16usize];
["Offset of field: _zend_fiber_context::cleanup"]
[::std::mem::offset_of!(_zend_fiber_context, cleanup) - 24usize];
["Offset of field: _zend_fiber_context::stack"]
[::std::mem::offset_of!(_zend_fiber_context, stack) - 32usize];
["Offset of field: _zend_fiber_context::status"]
[::std::mem::offset_of!(_zend_fiber_context, status) - 40usize];
["Offset of field: _zend_fiber_context::top_observed_frame"]
[::std::mem::offset_of!(_zend_fiber_context, top_observed_frame) - 48usize];
["Offset of field: _zend_fiber_context::reserved"]
[::std::mem::offset_of!(_zend_fiber_context, reserved) - 56usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_fiber {
pub std: zend_object,
pub flags: u8,
pub context: zend_fiber_context,
pub caller: *mut zend_fiber_context,
pub previous: *mut zend_fiber_context,
pub fci: zend_fcall_info,
pub fci_cache: zend_fcall_info_cache,
pub execute_data: *mut zend_execute_data,
pub stack_bottom: *mut zend_execute_data,
pub vm_stack: zend_vm_stack,
pub result: zval,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_fiber"][::std::mem::size_of::<_zend_fiber>() - 328usize];
["Alignment of _zend_fiber"][::std::mem::align_of::<_zend_fiber>() - 8usize];
["Offset of field: _zend_fiber::std"][::std::mem::offset_of!(_zend_fiber, std) - 0usize];
["Offset of field: _zend_fiber::flags"][::std::mem::offset_of!(_zend_fiber, flags) - 56usize];
["Offset of field: _zend_fiber::context"]
[::std::mem::offset_of!(_zend_fiber, context) - 64usize];
["Offset of field: _zend_fiber::caller"]
[::std::mem::offset_of!(_zend_fiber, caller) - 168usize];
["Offset of field: _zend_fiber::previous"]
[::std::mem::offset_of!(_zend_fiber, previous) - 176usize];
["Offset of field: _zend_fiber::fci"][::std::mem::offset_of!(_zend_fiber, fci) - 184usize];
["Offset of field: _zend_fiber::fci_cache"]
[::std::mem::offset_of!(_zend_fiber, fci_cache) - 248usize];
["Offset of field: _zend_fiber::execute_data"]
[::std::mem::offset_of!(_zend_fiber, execute_data) - 288usize];
["Offset of field: _zend_fiber::stack_bottom"]
[::std::mem::offset_of!(_zend_fiber, stack_bottom) - 296usize];
["Offset of field: _zend_fiber::vm_stack"]
[::std::mem::offset_of!(_zend_fiber, vm_stack) - 304usize];
["Offset of field: _zend_fiber::result"]
[::std::mem::offset_of!(_zend_fiber, result) - 312usize];
};
pub type zend_generator_node = _zend_generator_node;
pub type zend_generator = _zend_generator;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_generator_node {
pub parent: *mut zend_generator,
pub children: u32,
pub child: _zend_generator_node__bindgen_ty_1,
pub ptr: _zend_generator_node__bindgen_ty_2,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_generator_node__bindgen_ty_1 {
pub ht: *mut HashTable,
pub single: *mut zend_generator,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_generator_node__bindgen_ty_1"]
[::std::mem::size_of::<_zend_generator_node__bindgen_ty_1>() - 8usize];
["Alignment of _zend_generator_node__bindgen_ty_1"]
[::std::mem::align_of::<_zend_generator_node__bindgen_ty_1>() - 8usize];
["Offset of field: _zend_generator_node__bindgen_ty_1::ht"]
[::std::mem::offset_of!(_zend_generator_node__bindgen_ty_1, ht) - 0usize];
["Offset of field: _zend_generator_node__bindgen_ty_1::single"]
[::std::mem::offset_of!(_zend_generator_node__bindgen_ty_1, single) - 0usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_generator_node__bindgen_ty_2 {
pub leaf: *mut zend_generator,
pub root: *mut zend_generator,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_generator_node__bindgen_ty_2"]
[::std::mem::size_of::<_zend_generator_node__bindgen_ty_2>() - 8usize];
["Alignment of _zend_generator_node__bindgen_ty_2"]
[::std::mem::align_of::<_zend_generator_node__bindgen_ty_2>() - 8usize];
["Offset of field: _zend_generator_node__bindgen_ty_2::leaf"]
[::std::mem::offset_of!(_zend_generator_node__bindgen_ty_2, leaf) - 0usize];
["Offset of field: _zend_generator_node__bindgen_ty_2::root"]
[::std::mem::offset_of!(_zend_generator_node__bindgen_ty_2, root) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_generator_node"][::std::mem::size_of::<_zend_generator_node>() - 32usize];
["Alignment of _zend_generator_node"][::std::mem::align_of::<_zend_generator_node>() - 8usize];
["Offset of field: _zend_generator_node::parent"]
[::std::mem::offset_of!(_zend_generator_node, parent) - 0usize];
["Offset of field: _zend_generator_node::children"]
[::std::mem::offset_of!(_zend_generator_node, children) - 8usize];
["Offset of field: _zend_generator_node::child"]
[::std::mem::offset_of!(_zend_generator_node, child) - 16usize];
["Offset of field: _zend_generator_node::ptr"]
[::std::mem::offset_of!(_zend_generator_node, ptr) - 24usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_generator {
pub std: zend_object,
pub execute_data: *mut zend_execute_data,
pub frozen_call_stack: *mut zend_execute_data,
pub value: zval,
pub key: zval,
pub retval: zval,
pub send_target: *mut zval,
pub largest_used_integer_key: zend_long,
pub values: zval,
pub node: zend_generator_node,
pub execute_fake: zend_execute_data,
pub func: *mut zend_function,
pub flags: u8,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_generator"][::std::mem::size_of::<_zend_generator>() - 280usize];
["Alignment of _zend_generator"][::std::mem::align_of::<_zend_generator>() - 8usize];
["Offset of field: _zend_generator::std"]
[::std::mem::offset_of!(_zend_generator, std) - 0usize];
["Offset of field: _zend_generator::execute_data"]
[::std::mem::offset_of!(_zend_generator, execute_data) - 56usize];
["Offset of field: _zend_generator::frozen_call_stack"]
[::std::mem::offset_of!(_zend_generator, frozen_call_stack) - 64usize];
["Offset of field: _zend_generator::value"]
[::std::mem::offset_of!(_zend_generator, value) - 72usize];
["Offset of field: _zend_generator::key"]
[::std::mem::offset_of!(_zend_generator, key) - 88usize];
["Offset of field: _zend_generator::retval"]
[::std::mem::offset_of!(_zend_generator, retval) - 104usize];
["Offset of field: _zend_generator::send_target"]
[::std::mem::offset_of!(_zend_generator, send_target) - 120usize];
["Offset of field: _zend_generator::largest_used_integer_key"]
[::std::mem::offset_of!(_zend_generator, largest_used_integer_key) - 128usize];
["Offset of field: _zend_generator::values"]
[::std::mem::offset_of!(_zend_generator, values) - 136usize];
["Offset of field: _zend_generator::node"]
[::std::mem::offset_of!(_zend_generator, node) - 152usize];
["Offset of field: _zend_generator::execute_fake"]
[::std::mem::offset_of!(_zend_generator, execute_fake) - 184usize];
["Offset of field: _zend_generator::func"]
[::std::mem::offset_of!(_zend_generator, func) - 264usize];
["Offset of field: _zend_generator::flags"]
[::std::mem::offset_of!(_zend_generator, flags) - 272usize];
};
pub const ZEND_GENERATOR_CURRENTLY_RUNNING: u8 = 1;
pub const ZEND_GENERATOR_FORCED_CLOSE: u8 = 2;
pub const ZEND_GENERATOR_AT_FIRST_YIELD: u8 = 4;
pub const ZEND_GENERATOR_DO_INIT: u8 = 8;
pub const ZEND_GENERATOR_IN_FIBER: u8 = 16;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_syntax_highlighter_ini {
pub highlight_html: *mut ::std::os::raw::c_char,
pub highlight_comment: *mut ::std::os::raw::c_char,
pub highlight_default: *mut ::std::os::raw::c_char,
pub highlight_string: *mut ::std::os::raw::c_char,
pub highlight_keyword: *mut ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_syntax_highlighter_ini"]
[::std::mem::size_of::<_zend_syntax_highlighter_ini>() - 40usize];
["Alignment of _zend_syntax_highlighter_ini"]
[::std::mem::align_of::<_zend_syntax_highlighter_ini>() - 8usize];
["Offset of field: _zend_syntax_highlighter_ini::highlight_html"]
[::std::mem::offset_of!(_zend_syntax_highlighter_ini, highlight_html) - 0usize];
["Offset of field: _zend_syntax_highlighter_ini::highlight_comment"]
[::std::mem::offset_of!(_zend_syntax_highlighter_ini, highlight_comment) - 8usize];
["Offset of field: _zend_syntax_highlighter_ini::highlight_default"]
[::std::mem::offset_of!(_zend_syntax_highlighter_ini, highlight_default) - 16usize];
["Offset of field: _zend_syntax_highlighter_ini::highlight_string"]
[::std::mem::offset_of!(_zend_syntax_highlighter_ini, highlight_string) - 24usize];
["Offset of field: _zend_syntax_highlighter_ini::highlight_keyword"]
[::std::mem::offset_of!(_zend_syntax_highlighter_ini, highlight_keyword) - 32usize];
};
pub type zend_syntax_highlighter_ini = _zend_syntax_highlighter_ini;
pub mod zend_inheritance_status {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_int;
pub const INHERITANCE_UNRESOLVED: Type = -1;
pub const INHERITANCE_ERROR: Type = 0;
pub const INHERITANCE_WARNING: Type = 1;
pub const INHERITANCE_SUCCESS: Type = 2;
}
#[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];
};
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,
),
>;
#[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;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_user_iterator {
pub it: zend_object_iterator,
pub ce: *mut zend_class_entry,
pub value: zval,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_user_iterator"][::std::mem::size_of::<_zend_user_iterator>() - 112usize];
["Alignment of _zend_user_iterator"][::std::mem::align_of::<_zend_user_iterator>() - 8usize];
["Offset of field: _zend_user_iterator::it"]
[::std::mem::offset_of!(_zend_user_iterator, it) - 0usize];
["Offset of field: _zend_user_iterator::ce"]
[::std::mem::offset_of!(_zend_user_iterator, ce) - 88usize];
["Offset of field: _zend_user_iterator::value"]
[::std::mem::offset_of!(_zend_user_iterator, value) - 96usize];
};
pub type zend_user_iterator = _zend_user_iterator;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_lex_state {
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 in_: *mut zend_file_handle,
pub lineno: u32,
pub filename: *mut zend_string,
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 on_event: ::std::option::Option<
unsafe extern "C" fn(
event: zend_php_scanner_event::Type,
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,
pub ast: *mut zend_ast,
pub ast_arena: *mut zend_arena,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_lex_state"][::std::mem::size_of::<_zend_lex_state>() - 248usize];
["Alignment of _zend_lex_state"][::std::mem::align_of::<_zend_lex_state>() - 8usize];
["Offset of field: _zend_lex_state::yy_leng"]
[::std::mem::offset_of!(_zend_lex_state, yy_leng) - 0usize];
["Offset of field: _zend_lex_state::yy_start"]
[::std::mem::offset_of!(_zend_lex_state, yy_start) - 8usize];
["Offset of field: _zend_lex_state::yy_text"]
[::std::mem::offset_of!(_zend_lex_state, yy_text) - 16usize];
["Offset of field: _zend_lex_state::yy_cursor"]
[::std::mem::offset_of!(_zend_lex_state, yy_cursor) - 24usize];
["Offset of field: _zend_lex_state::yy_marker"]
[::std::mem::offset_of!(_zend_lex_state, yy_marker) - 32usize];
["Offset of field: _zend_lex_state::yy_limit"]
[::std::mem::offset_of!(_zend_lex_state, yy_limit) - 40usize];
["Offset of field: _zend_lex_state::yy_state"]
[::std::mem::offset_of!(_zend_lex_state, yy_state) - 48usize];
["Offset of field: _zend_lex_state::state_stack"]
[::std::mem::offset_of!(_zend_lex_state, state_stack) - 56usize];
["Offset of field: _zend_lex_state::heredoc_label_stack"]
[::std::mem::offset_of!(_zend_lex_state, heredoc_label_stack) - 80usize];
["Offset of field: _zend_lex_state::nest_location_stack"]
[::std::mem::offset_of!(_zend_lex_state, nest_location_stack) - 112usize];
["Offset of field: _zend_lex_state::in_"]
[::std::mem::offset_of!(_zend_lex_state, in_) - 136usize];
["Offset of field: _zend_lex_state::lineno"]
[::std::mem::offset_of!(_zend_lex_state, lineno) - 144usize];
["Offset of field: _zend_lex_state::filename"]
[::std::mem::offset_of!(_zend_lex_state, filename) - 152usize];
["Offset of field: _zend_lex_state::script_org"]
[::std::mem::offset_of!(_zend_lex_state, script_org) - 160usize];
["Offset of field: _zend_lex_state::script_org_size"]
[::std::mem::offset_of!(_zend_lex_state, script_org_size) - 168usize];
["Offset of field: _zend_lex_state::script_filtered"]
[::std::mem::offset_of!(_zend_lex_state, script_filtered) - 176usize];
["Offset of field: _zend_lex_state::script_filtered_size"]
[::std::mem::offset_of!(_zend_lex_state, script_filtered_size) - 184usize];
["Offset of field: _zend_lex_state::input_filter"]
[::std::mem::offset_of!(_zend_lex_state, input_filter) - 192usize];
["Offset of field: _zend_lex_state::output_filter"]
[::std::mem::offset_of!(_zend_lex_state, output_filter) - 200usize];
["Offset of field: _zend_lex_state::script_encoding"]
[::std::mem::offset_of!(_zend_lex_state, script_encoding) - 208usize];
["Offset of field: _zend_lex_state::on_event"]
[::std::mem::offset_of!(_zend_lex_state, on_event) - 216usize];
["Offset of field: _zend_lex_state::on_event_context"]
[::std::mem::offset_of!(_zend_lex_state, on_event_context) - 224usize];
["Offset of field: _zend_lex_state::ast"]
[::std::mem::offset_of!(_zend_lex_state, ast) - 232usize];
["Offset of field: _zend_lex_state::ast_arena"]
[::std::mem::offset_of!(_zend_lex_state, ast_arena) - 240usize];
};
pub type zend_lex_state = _zend_lex_state;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_heredoc_label {
pub label: *mut ::std::os::raw::c_char,
pub length: ::std::os::raw::c_int,
pub indentation: ::std::os::raw::c_int,
pub indentation_uses_spaces: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_heredoc_label"][::std::mem::size_of::<_zend_heredoc_label>() - 24usize];
["Alignment of _zend_heredoc_label"][::std::mem::align_of::<_zend_heredoc_label>() - 8usize];
["Offset of field: _zend_heredoc_label::label"]
[::std::mem::offset_of!(_zend_heredoc_label, label) - 0usize];
["Offset of field: _zend_heredoc_label::length"]
[::std::mem::offset_of!(_zend_heredoc_label, length) - 8usize];
["Offset of field: _zend_heredoc_label::indentation"]
[::std::mem::offset_of!(_zend_heredoc_label, indentation) - 12usize];
["Offset of field: _zend_heredoc_label::indentation_uses_spaces"]
[::std::mem::offset_of!(_zend_heredoc_label, indentation_uses_spaces) - 16usize];
};
pub type zend_heredoc_label = _zend_heredoc_label;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_nest_location {
pub text: ::std::os::raw::c_char,
pub lineno: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_nest_location"][::std::mem::size_of::<_zend_nest_location>() - 8usize];
["Alignment of _zend_nest_location"][::std::mem::align_of::<_zend_nest_location>() - 4usize];
["Offset of field: _zend_nest_location::text"]
[::std::mem::offset_of!(_zend_nest_location, text) - 0usize];
["Offset of field: _zend_nest_location::lineno"]
[::std::mem::offset_of!(_zend_nest_location, lineno) - 4usize];
};
pub type zend_nest_location = _zend_nest_location;
pub type zend_observer_fcall_begin_handler =
::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
pub type zend_observer_fcall_end_handler = ::std::option::Option<
unsafe extern "C" fn(execute_data: *mut zend_execute_data, retval: *mut zval),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_observer_fcall_handlers {
pub begin: zend_observer_fcall_begin_handler,
pub end: zend_observer_fcall_end_handler,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _zend_observer_fcall_handlers"]
[::std::mem::size_of::<_zend_observer_fcall_handlers>() - 16usize];
["Alignment of _zend_observer_fcall_handlers"]
[::std::mem::align_of::<_zend_observer_fcall_handlers>() - 8usize];
["Offset of field: _zend_observer_fcall_handlers::begin"]
[::std::mem::offset_of!(_zend_observer_fcall_handlers, begin) - 0usize];
["Offset of field: _zend_observer_fcall_handlers::end"]
[::std::mem::offset_of!(_zend_observer_fcall_handlers, end) - 8usize];
};
pub type zend_observer_fcall_handlers = _zend_observer_fcall_handlers;
pub type zend_observer_fcall_init = ::std::option::Option<
unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> zend_observer_fcall_handlers,
>;
pub type zend_observer_function_declared_cb = ::std::option::Option<
unsafe extern "C" fn(op_array: *mut zend_op_array, name: *mut zend_string),
>;
pub type zend_observer_class_linked_cb =
::std::option::Option<unsafe extern "C" fn(ce: *mut zend_class_entry, name: *mut zend_string)>;
pub type zend_observer_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,
),
>;
pub type zend_observer_fiber_init_handler =
::std::option::Option<unsafe extern "C" fn(initializing: *mut zend_fiber_context)>;
pub type zend_observer_fiber_switch_handler = ::std::option::Option<
unsafe extern "C" fn(from: *mut zend_fiber_context, to: *mut zend_fiber_context),
>;
pub type zend_observer_fiber_destroy_handler =
::std::option::Option<unsafe extern "C" fn(destroying: *mut zend_fiber_context)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct utimbuf {
pub actime: __time_t,
pub modtime: __time_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of utimbuf"][::std::mem::size_of::<utimbuf>() - 16usize];
["Alignment of utimbuf"][::std::mem::align_of::<utimbuf>() - 8usize];
["Offset of field: utimbuf::actime"][::std::mem::offset_of!(utimbuf, actime) - 0usize];
["Offset of field: utimbuf::modtime"][::std::mem::offset_of!(utimbuf, modtime) - 8usize];
};
#[repr(C)]
#[derive(Debug)]
pub struct __dirstream {
_unused: [u8; 0],
}
pub type DIR = __dirstream;
#[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;
pub type verify_path_func =
::std::option::Option<unsafe extern "C" fn(arg1: *const cwd_state) -> ::std::os::raw::c_int>;
#[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_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]
#[allow(unnecessary_transmutes)]
pub fn is_dir(&self) -> u8 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u8) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_is_dir(&mut self, val: u8) {
unsafe {
let val: u8 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn is_dir_raw(this: *const Self) -> u8 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u8,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_is_dir_raw(this: *mut Self, val: u8) {
unsafe {
let val: u8 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
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_const::<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;
pub mod length_modifier_e {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const LM_STD: Type = 0;
pub const LM_INTMAX_T: Type = 1;
pub const LM_PTRDIFF_T: Type = 2;
pub const LM_LONG_LONG: Type = 3;
pub const LM_SIZE_T: Type = 4;
pub const LM_LONG: Type = 5;
pub const LM_LONG_DOUBLE: Type = 6;
}
pub mod _php_output_handler_status_t {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const PHP_OUTPUT_HANDLER_FAILURE: Type = 0;
pub const PHP_OUTPUT_HANDLER_SUCCESS: Type = 1;
pub const PHP_OUTPUT_HANDLER_NO_DATA: Type = 2;
}
pub use self::_php_output_handler_status_t::Type as php_output_handler_status_t;
pub mod _php_output_handler_hook_t {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: Type = 0;
pub const PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: Type = 1;
pub const PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: Type = 2;
pub const PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: Type = 3;
pub const PHP_OUTPUT_HANDLER_HOOK_DISABLE: Type = 4;
pub const PHP_OUTPUT_HANDLER_HOOK_LAST: Type = 5;
}
pub use self::_php_output_handler_hook_t::Type 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_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]
#[allow(unnecessary_transmutes)]
pub fn free(&self) -> u32 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u32) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_free(&mut self, val: u32) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn free_raw(this: *const Self) -> u32 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get_const::<0usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u32,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_free_raw(this: *mut Self, val: u32) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set_const::<0usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn _reserved(&self) -> u32 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 31u8>() as u32) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set__reserved(&mut self, val: u32) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<1usize, 31u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn _reserved_raw(this: *const Self) -> u32 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get_const::<1usize, 31u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u32,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set__reserved_raw(this: *mut Self, val: u32) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set_const::<1usize, 31u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
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_const::<0usize, 1u8>({
let free: u32 = unsafe { ::std::mem::transmute(free) };
free as u64
});
__bindgen_bitfield_unit.set_const::<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_context_dtor_t =
::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>;
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;
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];
};
#[repr(C)]
#[derive(Debug)]
pub struct php_uri_parser {
_unused: [u8; 0],
}
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 mod php_stream_filter_status_t {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const PSFS_ERR_FATAL: Type = 0;
pub const PSFS_FEED_ME: Type = 1;
pub const PSFS_PASS_ON: Type = 2;
}
#[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::Type,
>,
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];
};
#[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;
#[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_dirent {
pub d_name: [::std::os::raw::c_char; 4096usize],
pub d_type: ::std::os::raw::c_uchar,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_dirent"][::std::mem::size_of::<_php_stream_dirent>() - 4097usize];
["Alignment of _php_stream_dirent"][::std::mem::align_of::<_php_stream_dirent>() - 1usize];
["Offset of field: _php_stream_dirent::d_name"]
[::std::mem::offset_of!(_php_stream_dirent, d_name) - 0usize];
["Offset of field: _php_stream_dirent::d_type"]
[::std::mem::offset_of!(_php_stream_dirent, d_type) - 4096usize];
};
pub type php_stream_dirent = _php_stream_dirent;
#[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,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *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,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *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_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 open_filename: *const ::std::os::raw::c_char,
pub open_lineno: u32,
pub enclosing_stream: *mut _php_stream,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream"][::std::mem::size_of::<_php_stream>() - 224usize];
["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::open_filename"]
[::std::mem::offset_of!(_php_stream, open_filename) - 200usize];
["Offset of field: _php_stream::open_lineno"]
[::std::mem::offset_of!(_php_stream, open_lineno) - 208usize];
["Offset of field: _php_stream::enclosing_stream"]
[::std::mem::offset_of!(_php_stream, enclosing_stream) - 216usize];
};
impl _php_stream {
#[inline]
#[allow(unnecessary_transmutes)]
pub fn is_persistent(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u16) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_is_persistent(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn is_persistent_raw(this: *const Self) -> u16 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<0usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u16,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_is_persistent_raw(this: *mut Self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<0usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn in_free(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 2u8>() as u16) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_in_free(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<1usize, 2u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn in_free_raw(this: *const Self) -> u16 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<1usize, 2u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u16,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_in_free_raw(this: *mut Self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<1usize, 2u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn eof(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u16) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_eof(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn eof_raw(this: *const Self) -> u16 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<3usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u16,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_eof_raw(this: *mut Self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<3usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn __exposed(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<4usize, 1u8>() as u16) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set___exposed(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<4usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn __exposed_raw(this: *const Self) -> u16 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<4usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u16,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set___exposed_raw(this: *mut Self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<4usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn fclose_stdiocast(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<5usize, 2u8>() as u16) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_fclose_stdiocast(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<5usize, 2u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn fclose_stdiocast_raw(this: *const Self) -> u16 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<5usize, 2u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u16,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_fclose_stdiocast_raw(this: *mut Self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<5usize, 2u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn has_buffered_data(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<7usize, 1u8>() as u16) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_has_buffered_data(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<7usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn has_buffered_data_raw(this: *const Self) -> u16 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<7usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u16,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_has_buffered_data_raw(this: *mut Self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<7usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn fclose_stdiocast_flush_in_progress(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<8usize, 1u8>() as u16) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_fclose_stdiocast_flush_in_progress(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<8usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn fclose_stdiocast_flush_in_progress_raw(this: *const Self) -> u16 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<8usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u16,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_fclose_stdiocast_flush_in_progress_raw(this: *mut Self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<8usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn fatal_error(&self) -> u16 {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<9usize, 1u8>() as u16) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_fatal_error(&mut self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<9usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn fatal_error_raw(this: *const Self) -> u16 {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<9usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u16,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_fatal_error_raw(this: *mut Self, val: u16) {
unsafe {
let val: u16 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<9usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
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_const::<0usize, 1u8>({
let is_persistent: u16 = unsafe { ::std::mem::transmute(is_persistent) };
is_persistent as u64
});
__bindgen_bitfield_unit.set_const::<1usize, 2u8>({
let in_free: u16 = unsafe { ::std::mem::transmute(in_free) };
in_free as u64
});
__bindgen_bitfield_unit.set_const::<3usize, 1u8>({
let eof: u16 = unsafe { ::std::mem::transmute(eof) };
eof as u64
});
__bindgen_bitfield_unit.set_const::<4usize, 1u8>({
let __exposed: u16 = unsafe { ::std::mem::transmute(__exposed) };
__exposed as u64
});
__bindgen_bitfield_unit.set_const::<5usize, 2u8>({
let fclose_stdiocast: u16 = unsafe { ::std::mem::transmute(fclose_stdiocast) };
fclose_stdiocast as u64
});
__bindgen_bitfield_unit.set_const::<7usize, 1u8>({
let has_buffered_data: u16 = unsafe { ::std::mem::transmute(has_buffered_data) };
has_buffered_data as u64
});
__bindgen_bitfield_unit.set_const::<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_const::<9usize, 1u8>({
let fatal_error: u16 = unsafe { ::std::mem::transmute(fatal_error) };
fatal_error as u64
});
__bindgen_bitfield_unit
}
}
pub type sa_family_t = ::std::os::raw::c_ushort;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr {
pub sa_family: sa_family_t,
pub sa_data: [::std::os::raw::c_char; 14usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of sockaddr"][::std::mem::size_of::<sockaddr>() - 16usize];
["Alignment of sockaddr"][::std::mem::align_of::<sockaddr>() - 2usize];
["Offset of field: sockaddr::sa_family"][::std::mem::offset_of!(sockaddr, sa_family) - 0usize];
["Offset of field: sockaddr::sa_data"][::std::mem::offset_of!(sockaddr, sa_data) - 2usize];
};
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,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream,
>;
pub type php_stream_transport_factory = php_stream_transport_factory_func;
pub mod php_stream_xport_send_recv_flags {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const STREAM_OOB: Type = 1;
pub const STREAM_PEEK: Type = 2;
}
pub mod stream_shutdown_t {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const STREAM_SHUT_RD: Type = 0;
pub const STREAM_SHUT_WR: Type = 1;
pub const STREAM_SHUT_RDWR: Type = 2;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_param {
pub op: _php_stream_xport_param__bindgen_ty_3::Type,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
pub inputs: _php_stream_xport_param__bindgen_ty_1,
pub outputs: _php_stream_xport_param__bindgen_ty_2,
}
pub mod _php_stream_xport_param__bindgen_ty_3 {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const STREAM_XPORT_OP_BIND: Type = 0;
pub const STREAM_XPORT_OP_CONNECT: Type = 1;
pub const STREAM_XPORT_OP_LISTEN: Type = 2;
pub const STREAM_XPORT_OP_ACCEPT: Type = 3;
pub const STREAM_XPORT_OP_CONNECT_ASYNC: Type = 4;
pub const STREAM_XPORT_OP_GET_NAME: Type = 5;
pub const STREAM_XPORT_OP_GET_PEER_NAME: Type = 6;
pub const STREAM_XPORT_OP_RECV: Type = 7;
pub const STREAM_XPORT_OP_SEND: Type = 8;
pub const STREAM_XPORT_OP_SHUTDOWN: Type = 9;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_param__bindgen_ty_1 {
pub name: *mut ::std::os::raw::c_char,
pub namelen: usize,
pub timeout: *mut timeval,
pub addr: *mut sockaddr,
pub buf: *mut ::std::os::raw::c_char,
pub buflen: usize,
pub addrlen: socklen_t,
pub backlog: ::std::os::raw::c_int,
pub flags: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_xport_param__bindgen_ty_1"]
[::std::mem::size_of::<_php_stream_xport_param__bindgen_ty_1>() - 64usize];
["Alignment of _php_stream_xport_param__bindgen_ty_1"]
[::std::mem::align_of::<_php_stream_xport_param__bindgen_ty_1>() - 8usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_1::name"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_1, name) - 0usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_1::namelen"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_1, namelen) - 8usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_1::timeout"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_1, timeout) - 16usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_1::addr"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_1, addr) - 24usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_1::buf"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_1, buf) - 32usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_1::buflen"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_1, buflen) - 40usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_1::addrlen"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_1, addrlen) - 48usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_1::backlog"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_1, backlog) - 52usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_1::flags"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_1, flags) - 56usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_param__bindgen_ty_2 {
pub client: *mut php_stream,
pub addr: *mut sockaddr,
pub addrlen: socklen_t,
pub textaddr: *mut zend_string,
pub error_text: *mut zend_string,
pub returncode: ::std::os::raw::c_int,
pub error_code: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_xport_param__bindgen_ty_2"]
[::std::mem::size_of::<_php_stream_xport_param__bindgen_ty_2>() - 48usize];
["Alignment of _php_stream_xport_param__bindgen_ty_2"]
[::std::mem::align_of::<_php_stream_xport_param__bindgen_ty_2>() - 8usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_2::client"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_2, client) - 0usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_2::addr"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_2, addr) - 8usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_2::addrlen"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_2, addrlen) - 16usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_2::textaddr"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_2, textaddr) - 24usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_2::error_text"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_2, error_text) - 32usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_2::returncode"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_2, returncode) - 40usize];
["Offset of field: _php_stream_xport_param__bindgen_ty_2::error_code"]
[::std::mem::offset_of!(_php_stream_xport_param__bindgen_ty_2, error_code) - 44usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_xport_param"]
[::std::mem::size_of::<_php_stream_xport_param>() - 120usize];
["Alignment of _php_stream_xport_param"]
[::std::mem::align_of::<_php_stream_xport_param>() - 8usize];
["Offset of field: _php_stream_xport_param::op"]
[::std::mem::offset_of!(_php_stream_xport_param, op) - 0usize];
["Offset of field: _php_stream_xport_param::inputs"]
[::std::mem::offset_of!(_php_stream_xport_param, inputs) - 8usize];
["Offset of field: _php_stream_xport_param::outputs"]
[::std::mem::offset_of!(_php_stream_xport_param, outputs) - 72usize];
};
impl _php_stream_xport_param {
#[inline]
#[allow(unnecessary_transmutes)]
pub fn want_addr(&self) -> ::std::os::raw::c_uint {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u32) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_want_addr(&mut self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn want_addr_raw(this: *const Self) -> ::std::os::raw::c_uint {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u32,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_want_addr_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn want_textaddr(&self) -> ::std::os::raw::c_uint {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 1u8>() as u32) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_want_textaddr(&mut self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<1usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn want_textaddr_raw(this: *const Self) -> ::std::os::raw::c_uint {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<1usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u32,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_want_textaddr_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<1usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn want_errortext(&self) -> ::std::os::raw::c_uint {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<2usize, 1u8>() as u32) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_want_errortext(&mut self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<2usize, 1u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn want_errortext_raw(this: *const Self) -> ::std::os::raw::c_uint {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<2usize, 1u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u32,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_want_errortext_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<2usize, 1u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn how(&self) -> ::std::os::raw::c_uint {
unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 2u8>() as u32) }
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn set_how(&mut self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set_const::<3usize, 2u8>(val as u64)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn how_raw(this: *const Self) -> ::std::os::raw::c_uint {
unsafe {
::std::mem::transmute(
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<3usize, 2u8>(
::std::ptr::addr_of!((*this)._bitfield_1),
) as u32,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub unsafe fn set_how_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<3usize, 2u8>(
::std::ptr::addr_of_mut!((*this)._bitfield_1),
val as u64,
)
}
}
#[inline]
#[allow(unnecessary_transmutes)]
pub fn new_bitfield_1(
want_addr: ::std::os::raw::c_uint,
want_textaddr: ::std::os::raw::c_uint,
want_errortext: ::std::os::raw::c_uint,
how: ::std::os::raw::c_uint,
) -> __BindgenBitfieldUnit<[u8; 1usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
__bindgen_bitfield_unit.set_const::<0usize, 1u8>({
let want_addr: u32 = unsafe { ::std::mem::transmute(want_addr) };
want_addr as u64
});
__bindgen_bitfield_unit.set_const::<1usize, 1u8>({
let want_textaddr: u32 = unsafe { ::std::mem::transmute(want_textaddr) };
want_textaddr as u64
});
__bindgen_bitfield_unit.set_const::<2usize, 1u8>({
let want_errortext: u32 = unsafe { ::std::mem::transmute(want_errortext) };
want_errortext as u64
});
__bindgen_bitfield_unit.set_const::<3usize, 2u8>({
let how: u32 = unsafe { ::std::mem::transmute(how) };
how as u64
});
__bindgen_bitfield_unit
}
}
pub type php_stream_xport_param = _php_stream_xport_param;
pub mod php_stream_xport_crypt_method_t {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const STREAM_CRYPTO_METHOD_SSLv2_CLIENT: Type = 3;
pub const STREAM_CRYPTO_METHOD_SSLv3_CLIENT: Type = 5;
pub const STREAM_CRYPTO_METHOD_SSLv23_CLIENT: Type = 57;
pub const STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT: Type = 9;
pub const STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT: Type = 17;
pub const STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT: Type = 33;
pub const STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT: Type = 65;
pub const STREAM_CRYPTO_METHOD_TLS_CLIENT: Type = 121;
pub const STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT: Type = 121;
pub const STREAM_CRYPTO_METHOD_ANY_CLIENT: Type = 127;
pub const STREAM_CRYPTO_METHOD_SSLv2_SERVER: Type = 2;
pub const STREAM_CRYPTO_METHOD_SSLv3_SERVER: Type = 4;
pub const STREAM_CRYPTO_METHOD_SSLv23_SERVER: Type = 120;
pub const STREAM_CRYPTO_METHOD_TLSv1_0_SERVER: Type = 8;
pub const STREAM_CRYPTO_METHOD_TLSv1_1_SERVER: Type = 16;
pub const STREAM_CRYPTO_METHOD_TLSv1_2_SERVER: Type = 32;
pub const STREAM_CRYPTO_METHOD_TLSv1_3_SERVER: Type = 64;
pub const STREAM_CRYPTO_METHOD_TLS_SERVER: Type = 120;
pub const STREAM_CRYPTO_METHOD_TLS_ANY_SERVER: Type = 120;
pub const STREAM_CRYPTO_METHOD_ANY_SERVER: Type = 126;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_crypto_param {
pub inputs: _php_stream_xport_crypto_param__bindgen_ty_1,
pub outputs: _php_stream_xport_crypto_param__bindgen_ty_2,
pub op: _php_stream_xport_crypto_param__bindgen_ty_3::Type,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_crypto_param__bindgen_ty_1 {
pub session: *mut php_stream,
pub activate: ::std::os::raw::c_int,
pub method: php_stream_xport_crypt_method_t::Type,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_xport_crypto_param__bindgen_ty_1"]
[::std::mem::size_of::<_php_stream_xport_crypto_param__bindgen_ty_1>() - 16usize];
["Alignment of _php_stream_xport_crypto_param__bindgen_ty_1"]
[::std::mem::align_of::<_php_stream_xport_crypto_param__bindgen_ty_1>() - 8usize];
["Offset of field: _php_stream_xport_crypto_param__bindgen_ty_1::session"]
[::std::mem::offset_of!(_php_stream_xport_crypto_param__bindgen_ty_1, session) - 0usize];
["Offset of field: _php_stream_xport_crypto_param__bindgen_ty_1::activate"]
[::std::mem::offset_of!(_php_stream_xport_crypto_param__bindgen_ty_1, activate) - 8usize];
["Offset of field: _php_stream_xport_crypto_param__bindgen_ty_1::method"]
[::std::mem::offset_of!(_php_stream_xport_crypto_param__bindgen_ty_1, method) - 12usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_crypto_param__bindgen_ty_2 {
pub returncode: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_xport_crypto_param__bindgen_ty_2"]
[::std::mem::size_of::<_php_stream_xport_crypto_param__bindgen_ty_2>() - 4usize];
["Alignment of _php_stream_xport_crypto_param__bindgen_ty_2"]
[::std::mem::align_of::<_php_stream_xport_crypto_param__bindgen_ty_2>() - 4usize];
["Offset of field: _php_stream_xport_crypto_param__bindgen_ty_2::returncode"]
[::std::mem::offset_of!(_php_stream_xport_crypto_param__bindgen_ty_2, returncode) - 0usize];
};
pub mod _php_stream_xport_crypto_param__bindgen_ty_3 {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const STREAM_XPORT_CRYPTO_OP_SETUP: Type = 0;
pub const STREAM_XPORT_CRYPTO_OP_ENABLE: Type = 1;
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_stream_xport_crypto_param"]
[::std::mem::size_of::<_php_stream_xport_crypto_param>() - 24usize];
["Alignment of _php_stream_xport_crypto_param"]
[::std::mem::align_of::<_php_stream_xport_crypto_param>() - 8usize];
["Offset of field: _php_stream_xport_crypto_param::inputs"]
[::std::mem::offset_of!(_php_stream_xport_crypto_param, inputs) - 0usize];
["Offset of field: _php_stream_xport_crypto_param::outputs"]
[::std::mem::offset_of!(_php_stream_xport_crypto_param, outputs) - 16usize];
["Offset of field: _php_stream_xport_crypto_param::op"]
[::std::mem::offset_of!(_php_stream_xport_crypto_param, op) - 20usize];
};
pub type php_stream_xport_crypto_param = _php_stream_xport_crypto_param;
pub mod php_stream_mmap_operation_t {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const PHP_STREAM_MMAP_SUPPORTED: Type = 0;
pub const PHP_STREAM_MMAP_MAP_RANGE: Type = 1;
pub const PHP_STREAM_MMAP_UNMAP: Type = 2;
}
pub mod php_stream_mmap_access_t {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const PHP_STREAM_MAP_MODE_READONLY: Type = 0;
pub const PHP_STREAM_MAP_MODE_READWRITE: Type = 1;
pub const PHP_STREAM_MAP_MODE_SHARED_READONLY: Type = 2;
pub const PHP_STREAM_MAP_MODE_SHARED_READWRITE: Type = 3;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct php_stream_mmap_range {
pub offset: usize,
pub length: usize,
pub mode: php_stream_mmap_access_t::Type,
pub mapped: *mut ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of php_stream_mmap_range"][::std::mem::size_of::<php_stream_mmap_range>() - 32usize];
["Alignment of php_stream_mmap_range"]
[::std::mem::align_of::<php_stream_mmap_range>() - 8usize];
["Offset of field: php_stream_mmap_range::offset"]
[::std::mem::offset_of!(php_stream_mmap_range, offset) - 0usize];
["Offset of field: php_stream_mmap_range::length"]
[::std::mem::offset_of!(php_stream_mmap_range, length) - 8usize];
["Offset of field: php_stream_mmap_range::mode"]
[::std::mem::offset_of!(php_stream_mmap_range, mode) - 16usize];
["Offset of field: php_stream_mmap_range::mapped"]
[::std::mem::offset_of!(php_stream_mmap_range, mapped) - 24usize];
};
pub mod php_stream_make_seekable_status {
#[allow(unused_imports)]
use super::*;
pub type Type = ::std::os::raw::c_uint;
pub const PHP_STREAM_UNCHANGED: Type = 0;
pub const PHP_STREAM_RELEASED: Type = 1;
pub const PHP_STREAM_FAILED: Type = 2;
pub const PHP_STREAM_CRITICAL: Type = 3;
}
pub type php_core_globals = _php_core_globals;
#[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];
};
#[repr(C)]
#[derive(Debug)]
pub struct _php_tick_function_entry {
_unused: [u8; 0],
}
#[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;
pub type zend_bool = bool;
pub type zend_intptr_t = isize;
pub type zend_uintptr_t = usize;
pub type php_stat_len = usize;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct url_adapt_state_ex_t {
pub tag: smart_str,
pub arg: smart_str,
pub val: smart_str,
pub buf: smart_str,
pub result: smart_str,
pub form_app: smart_str,
pub url_app: smart_str,
pub active: ::std::os::raw::c_int,
pub lookup_data: *mut ::std::os::raw::c_char,
pub state: ::std::os::raw::c_int,
pub type_: ::std::os::raw::c_int,
pub attr_val: smart_str,
pub tag_type: ::std::os::raw::c_int,
pub attr_type: ::std::os::raw::c_int,
pub tags: *mut HashTable,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of url_adapt_state_ex_t"][::std::mem::size_of::<url_adapt_state_ex_t>() - 168usize];
["Alignment of url_adapt_state_ex_t"][::std::mem::align_of::<url_adapt_state_ex_t>() - 8usize];
["Offset of field: url_adapt_state_ex_t::tag"]
[::std::mem::offset_of!(url_adapt_state_ex_t, tag) - 0usize];
["Offset of field: url_adapt_state_ex_t::arg"]
[::std::mem::offset_of!(url_adapt_state_ex_t, arg) - 16usize];
["Offset of field: url_adapt_state_ex_t::val"]
[::std::mem::offset_of!(url_adapt_state_ex_t, val) - 32usize];
["Offset of field: url_adapt_state_ex_t::buf"]
[::std::mem::offset_of!(url_adapt_state_ex_t, buf) - 48usize];
["Offset of field: url_adapt_state_ex_t::result"]
[::std::mem::offset_of!(url_adapt_state_ex_t, result) - 64usize];
["Offset of field: url_adapt_state_ex_t::form_app"]
[::std::mem::offset_of!(url_adapt_state_ex_t, form_app) - 80usize];
["Offset of field: url_adapt_state_ex_t::url_app"]
[::std::mem::offset_of!(url_adapt_state_ex_t, url_app) - 96usize];
["Offset of field: url_adapt_state_ex_t::active"]
[::std::mem::offset_of!(url_adapt_state_ex_t, active) - 112usize];
["Offset of field: url_adapt_state_ex_t::lookup_data"]
[::std::mem::offset_of!(url_adapt_state_ex_t, lookup_data) - 120usize];
["Offset of field: url_adapt_state_ex_t::state"]
[::std::mem::offset_of!(url_adapt_state_ex_t, state) - 128usize];
["Offset of field: url_adapt_state_ex_t::type_"]
[::std::mem::offset_of!(url_adapt_state_ex_t, type_) - 132usize];
["Offset of field: url_adapt_state_ex_t::attr_val"]
[::std::mem::offset_of!(url_adapt_state_ex_t, attr_val) - 136usize];
["Offset of field: url_adapt_state_ex_t::tag_type"]
[::std::mem::offset_of!(url_adapt_state_ex_t, tag_type) - 152usize];
["Offset of field: url_adapt_state_ex_t::attr_type"]
[::std::mem::offset_of!(url_adapt_state_ex_t, attr_type) - 156usize];
["Offset of field: url_adapt_state_ex_t::tags"]
[::std::mem::offset_of!(url_adapt_state_ex_t, tags) - 160usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_basic_globals {
pub user_shutdown_function_names: *mut HashTable,
pub putenv_ht: HashTable,
pub strtok_string: *mut zend_string,
pub ctype_string: *mut zend_string,
pub locale_changed: bool,
pub strtok_last: *mut ::std::os::raw::c_char,
pub strtok_table: [::std::os::raw::c_char; 256usize],
pub strtok_len: usize,
pub user_compare_fci: zend_fcall_info,
pub user_compare_fci_cache: zend_fcall_info_cache,
pub user_tick_functions: *mut zend_llist,
pub active_ini_file_section: zval,
pub last_http_headers: zval,
pub page_uid: zend_long,
pub page_gid: zend_long,
pub page_inode: zend_long,
pub page_mtime: time_t,
pub CurrentStatFile: *mut zend_string,
pub CurrentLStatFile: *mut zend_string,
pub ssb: php_stream_statbuf,
pub lssb: php_stream_statbuf,
pub syslog_device: *mut ::std::os::raw::c_char,
pub serialize_lock: ::std::os::raw::c_uint,
pub serialize: _php_basic_globals__bindgen_ty_1,
pub unserialize: _php_basic_globals__bindgen_ty_2,
pub url_adapt_session_ex: url_adapt_state_ex_t,
pub url_adapt_session_hosts_ht: HashTable,
pub url_adapt_output_ex: url_adapt_state_ex_t,
pub url_adapt_output_hosts_ht: HashTable,
pub user_filter_map: *mut HashTable,
pub umask: ::std::os::raw::c_int,
pub unserialize_max_depth: zend_long,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_basic_globals__bindgen_ty_1 {
pub data: *mut php_serialize_data,
pub level: ::std::os::raw::c_uint,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_basic_globals__bindgen_ty_1"]
[::std::mem::size_of::<_php_basic_globals__bindgen_ty_1>() - 16usize];
["Alignment of _php_basic_globals__bindgen_ty_1"]
[::std::mem::align_of::<_php_basic_globals__bindgen_ty_1>() - 8usize];
["Offset of field: _php_basic_globals__bindgen_ty_1::data"]
[::std::mem::offset_of!(_php_basic_globals__bindgen_ty_1, data) - 0usize];
["Offset of field: _php_basic_globals__bindgen_ty_1::level"]
[::std::mem::offset_of!(_php_basic_globals__bindgen_ty_1, level) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_basic_globals__bindgen_ty_2 {
pub data: *mut php_unserialize_data,
pub level: ::std::os::raw::c_uint,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_basic_globals__bindgen_ty_2"]
[::std::mem::size_of::<_php_basic_globals__bindgen_ty_2>() - 16usize];
["Alignment of _php_basic_globals__bindgen_ty_2"]
[::std::mem::align_of::<_php_basic_globals__bindgen_ty_2>() - 8usize];
["Offset of field: _php_basic_globals__bindgen_ty_2::data"]
[::std::mem::offset_of!(_php_basic_globals__bindgen_ty_2, data) - 0usize];
["Offset of field: _php_basic_globals__bindgen_ty_2::level"]
[::std::mem::offset_of!(_php_basic_globals__bindgen_ty_2, level) - 8usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_basic_globals"][::std::mem::size_of::<_php_basic_globals>() - 1360usize];
["Alignment of _php_basic_globals"][::std::mem::align_of::<_php_basic_globals>() - 8usize];
["Offset of field: _php_basic_globals::user_shutdown_function_names"]
[::std::mem::offset_of!(_php_basic_globals, user_shutdown_function_names) - 0usize];
["Offset of field: _php_basic_globals::putenv_ht"]
[::std::mem::offset_of!(_php_basic_globals, putenv_ht) - 8usize];
["Offset of field: _php_basic_globals::strtok_string"]
[::std::mem::offset_of!(_php_basic_globals, strtok_string) - 64usize];
["Offset of field: _php_basic_globals::ctype_string"]
[::std::mem::offset_of!(_php_basic_globals, ctype_string) - 72usize];
["Offset of field: _php_basic_globals::locale_changed"]
[::std::mem::offset_of!(_php_basic_globals, locale_changed) - 80usize];
["Offset of field: _php_basic_globals::strtok_last"]
[::std::mem::offset_of!(_php_basic_globals, strtok_last) - 88usize];
["Offset of field: _php_basic_globals::strtok_table"]
[::std::mem::offset_of!(_php_basic_globals, strtok_table) - 96usize];
["Offset of field: _php_basic_globals::strtok_len"]
[::std::mem::offset_of!(_php_basic_globals, strtok_len) - 352usize];
["Offset of field: _php_basic_globals::user_compare_fci"]
[::std::mem::offset_of!(_php_basic_globals, user_compare_fci) - 360usize];
["Offset of field: _php_basic_globals::user_compare_fci_cache"]
[::std::mem::offset_of!(_php_basic_globals, user_compare_fci_cache) - 424usize];
["Offset of field: _php_basic_globals::user_tick_functions"]
[::std::mem::offset_of!(_php_basic_globals, user_tick_functions) - 464usize];
["Offset of field: _php_basic_globals::active_ini_file_section"]
[::std::mem::offset_of!(_php_basic_globals, active_ini_file_section) - 472usize];
["Offset of field: _php_basic_globals::last_http_headers"]
[::std::mem::offset_of!(_php_basic_globals, last_http_headers) - 488usize];
["Offset of field: _php_basic_globals::page_uid"]
[::std::mem::offset_of!(_php_basic_globals, page_uid) - 504usize];
["Offset of field: _php_basic_globals::page_gid"]
[::std::mem::offset_of!(_php_basic_globals, page_gid) - 512usize];
["Offset of field: _php_basic_globals::page_inode"]
[::std::mem::offset_of!(_php_basic_globals, page_inode) - 520usize];
["Offset of field: _php_basic_globals::page_mtime"]
[::std::mem::offset_of!(_php_basic_globals, page_mtime) - 528usize];
["Offset of field: _php_basic_globals::CurrentStatFile"]
[::std::mem::offset_of!(_php_basic_globals, CurrentStatFile) - 536usize];
["Offset of field: _php_basic_globals::CurrentLStatFile"]
[::std::mem::offset_of!(_php_basic_globals, CurrentLStatFile) - 544usize];
["Offset of field: _php_basic_globals::ssb"]
[::std::mem::offset_of!(_php_basic_globals, ssb) - 552usize];
["Offset of field: _php_basic_globals::lssb"]
[::std::mem::offset_of!(_php_basic_globals, lssb) - 696usize];
["Offset of field: _php_basic_globals::syslog_device"]
[::std::mem::offset_of!(_php_basic_globals, syslog_device) - 840usize];
["Offset of field: _php_basic_globals::serialize_lock"]
[::std::mem::offset_of!(_php_basic_globals, serialize_lock) - 848usize];
["Offset of field: _php_basic_globals::serialize"]
[::std::mem::offset_of!(_php_basic_globals, serialize) - 856usize];
["Offset of field: _php_basic_globals::unserialize"]
[::std::mem::offset_of!(_php_basic_globals, unserialize) - 872usize];
["Offset of field: _php_basic_globals::url_adapt_session_ex"]
[::std::mem::offset_of!(_php_basic_globals, url_adapt_session_ex) - 888usize];
["Offset of field: _php_basic_globals::url_adapt_session_hosts_ht"]
[::std::mem::offset_of!(_php_basic_globals, url_adapt_session_hosts_ht) - 1056usize];
["Offset of field: _php_basic_globals::url_adapt_output_ex"]
[::std::mem::offset_of!(_php_basic_globals, url_adapt_output_ex) - 1112usize];
["Offset of field: _php_basic_globals::url_adapt_output_hosts_ht"]
[::std::mem::offset_of!(_php_basic_globals, url_adapt_output_hosts_ht) - 1280usize];
["Offset of field: _php_basic_globals::user_filter_map"]
[::std::mem::offset_of!(_php_basic_globals, user_filter_map) - 1336usize];
["Offset of field: _php_basic_globals::umask"]
[::std::mem::offset_of!(_php_basic_globals, umask) - 1344usize];
["Offset of field: _php_basic_globals::unserialize_max_depth"]
[::std::mem::offset_of!(_php_basic_globals, unserialize_max_depth) - 1352usize];
};
pub type php_basic_globals = _php_basic_globals;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_shutdown_function_entry {
pub fci_cache: zend_fcall_info_cache,
pub params: *mut zval,
pub param_count: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of _php_shutdown_function_entry"]
[::std::mem::size_of::<_php_shutdown_function_entry>() - 56usize];
["Alignment of _php_shutdown_function_entry"]
[::std::mem::align_of::<_php_shutdown_function_entry>() - 8usize];
["Offset of field: _php_shutdown_function_entry::fci_cache"]
[::std::mem::offset_of!(_php_shutdown_function_entry, fci_cache) - 0usize];
["Offset of field: _php_shutdown_function_entry::params"]
[::std::mem::offset_of!(_php_shutdown_function_entry, params) - 40usize];
["Offset of field: _php_shutdown_function_entry::param_count"]
[::std::mem::offset_of!(_php_shutdown_function_entry, param_count) - 48usize];
};
pub type php_shutdown_function_entry = _php_shutdown_function_entry;
pub type php_serialize_data_t = *mut php_serialize_data;
pub type php_unserialize_data_t = *mut php_unserialize_data;
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];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct php_serialize_data {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct php_unserialize_data {
pub _address: u8,
}
unsafe extern "C" {
pub static mut zend_dl_use_deepbind: bool;
#[link_name = "zval_get_type__extern"]
pub fn zval_get_type(pz: *const zval) -> u8;
#[link_name = "zval_gc_type__extern"]
pub fn zval_gc_type(gc_type_info: u32) -> u8;
#[link_name = "zval_gc_flags__extern"]
pub fn zval_gc_flags(gc_type_info: u32) -> u32;
#[link_name = "zval_gc_info__extern"]
pub fn zval_gc_info(gc_type_info: u32) -> u32;
#[link_name = "zend_gc_refcount__extern"]
pub fn zend_gc_refcount(p: *const zend_refcounted_h) -> u32;
#[link_name = "zend_gc_set_refcount__extern"]
pub fn zend_gc_set_refcount(p: *mut zend_refcounted_h, rc: u32) -> u32;
#[link_name = "zend_gc_addref__extern"]
pub fn zend_gc_addref(p: *mut zend_refcounted_h) -> u32;
#[link_name = "zend_gc_try_addref__extern"]
pub fn zend_gc_try_addref(p: *mut zend_refcounted_h);
#[link_name = "zend_gc_try_delref__extern"]
pub fn zend_gc_try_delref(p: *mut zend_refcounted_h);
#[link_name = "zend_gc_delref__extern"]
pub fn zend_gc_delref(p: *mut zend_refcounted_h) -> u32;
#[link_name = "zend_gc_addref_ex__extern"]
pub fn zend_gc_addref_ex(p: *mut zend_refcounted_h, rc: u32) -> u32;
#[link_name = "zend_gc_delref_ex__extern"]
pub fn zend_gc_delref_ex(p: *mut zend_refcounted_h, rc: u32) -> u32;
#[link_name = "zval_refcount_p__extern"]
pub fn zval_refcount_p(pz: *const zval) -> u32;
#[link_name = "zval_set_refcount_p__extern"]
pub fn zval_set_refcount_p(pz: *mut zval, rc: u32) -> u32;
#[link_name = "zval_addref_p__extern"]
pub fn zval_addref_p(pz: *mut zval) -> u32;
#[link_name = "zval_delref_p__extern"]
pub fn zval_delref_p(pz: *mut zval) -> u32;
#[link_name = "zend_may_modify_arg_in_place__extern"]
pub fn zend_may_modify_arg_in_place(arg: *const zval) -> bool;
pub fn zend_map_ptr_reset();
pub fn zend_map_ptr_new() -> *mut ::std::os::raw::c_void;
pub fn zend_map_ptr_new_static() -> *mut ::std::os::raw::c_void;
pub fn zend_map_ptr_extend(last: usize);
pub fn zend_alloc_ce_cache(type_name: *mut zend_string);
pub static mut zend_map_ptr_static_last: usize;
pub static mut zend_map_ptr_static_size: usize;
pub fn zend_strndup(
s: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
pub fn _emalloc(
size: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn _safe_emalloc(
nmemb: usize,
size: usize,
offset: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn _safe_malloc(nmemb: usize, size: usize, offset: usize) -> *mut ::std::os::raw::c_void;
pub fn _efree(
ptr: *mut ::std::os::raw::c_void,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
);
pub fn _ecalloc(
nmemb: usize,
size: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn _erealloc(
ptr: *mut ::std::os::raw::c_void,
size: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn _erealloc2(
ptr: *mut ::std::os::raw::c_void,
size: usize,
copy_size: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn _safe_erealloc(
ptr: *mut ::std::os::raw::c_void,
nmemb: usize,
size: usize,
offset: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn _safe_realloc(
ptr: *mut ::std::os::raw::c_void,
nmemb: usize,
size: usize,
offset: usize,
) -> *mut ::std::os::raw::c_void;
pub fn _estrdup(
s: *const ::std::os::raw::c_char,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_char;
pub fn _estrndup(
s: *const ::std::os::raw::c_char,
length: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_char;
pub fn _zend_mem_block_size(
ptr: *mut ::std::os::raw::c_void,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> usize;
pub fn __zend_malloc(
len: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn __zend_calloc(
nmemb: usize,
len: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn __zend_realloc(
p: *mut ::std::os::raw::c_void,
len: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn __zend_free(
p: *mut ::std::os::raw::c_void,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
);
pub fn __zend_strdup(s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
pub fn zend_set_memory_limit(memory_limit: usize) -> zend_result;
pub fn zend_alloc_in_memory_limit_error_reporting() -> bool;
pub fn start_memory_manager();
pub fn shutdown_memory_manager(silent: bool, full_shutdown: bool);
pub fn refresh_memory_manager();
pub fn is_zend_mm() -> bool;
pub fn is_zend_ptr(ptr: *const ::std::os::raw::c_void) -> bool;
pub fn zend_memory_usage(real_usage: bool) -> usize;
pub fn zend_memory_peak_usage(real_usage: bool) -> usize;
pub fn zend_memory_reset_peak_usage();
pub fn zend_mm_startup() -> *mut zend_mm_heap;
pub fn zend_mm_shutdown(heap: *mut zend_mm_heap, full_shutdown: bool, silent: bool);
pub fn _zend_mm_alloc(
heap: *mut zend_mm_heap,
size: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn _zend_mm_free(
heap: *mut zend_mm_heap,
p: *mut ::std::os::raw::c_void,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
);
pub fn _zend_mm_realloc(
heap: *mut zend_mm_heap,
p: *mut ::std::os::raw::c_void,
size: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn _zend_mm_realloc2(
heap: *mut zend_mm_heap,
p: *mut ::std::os::raw::c_void,
size: usize,
copy_size: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void;
pub fn _zend_mm_block_size(
heap: *mut zend_mm_heap,
p: *mut ::std::os::raw::c_void,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> usize;
pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> usize;
pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> bool;
pub fn zend_mm_set_custom_handlers(
heap: *mut zend_mm_heap,
_malloc: ::std::option::Option<
unsafe extern "C" fn(
arg1: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void,
>,
_free: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
),
>,
_realloc: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void,
>,
);
pub fn zend_mm_set_custom_handlers_ex(
heap: *mut zend_mm_heap,
_malloc: ::std::option::Option<
unsafe extern "C" fn(
arg1: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void,
>,
_free: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
),
>,
_realloc: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *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)>,
);
pub fn zend_mm_get_custom_handlers(
heap: *mut zend_mm_heap,
_malloc: *mut ::std::option::Option<
unsafe extern "C" fn(
arg1: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void,
>,
_free: *mut ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
),
>,
_realloc: *mut ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void,
>,
);
pub fn zend_mm_get_custom_handlers_ex(
heap: *mut zend_mm_heap,
_malloc: *mut ::std::option::Option<
unsafe extern "C" fn(
arg1: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_void,
>,
_free: *mut ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
),
>,
_realloc: *mut ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *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 fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
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;
pub fn zend_mm_refresh_key_child(heap: *mut zend_mm_heap);
pub fn zend_llist_init(
l: *mut zend_llist,
size: usize,
dtor: llist_dtor_func_t,
persistent: ::std::os::raw::c_uchar,
);
pub fn zend_llist_add_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
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,
>,
);
pub fn zend_llist_destroy(l: *mut zend_llist);
pub fn zend_llist_clean(l: *mut zend_llist);
pub fn zend_llist_remove_tail(l: *mut zend_llist);
pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
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,
>,
);
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,
);
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,
...
);
pub fn zend_llist_count(l: *mut zend_llist) -> usize;
pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
pub fn zend_llist_get_first_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
pub fn zend_llist_get_last_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
pub fn zend_llist_get_next_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
pub fn zend_llist_get_prev_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_llist_get_first__extern"]
pub fn zend_llist_get_first(l: *mut zend_llist) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_llist_get_last__extern"]
pub fn zend_llist_get_last(l: *mut zend_llist) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_llist_get_next__extern"]
pub fn zend_llist_get_next(l: *mut zend_llist) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_llist_get_prev__extern"]
pub fn zend_llist_get_prev(l: *mut zend_llist) -> *mut ::std::os::raw::c_void;
pub fn zend_startup_hrtime();
#[link_name = "zend_hrtime__extern"]
pub fn zend_hrtime() -> zend_hrtime_t;
pub static mut gc_collect_cycles:
::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
pub fn gc_possible_root(ref_: *mut zend_refcounted);
pub fn gc_remove_from_buffer(ref_: *mut zend_refcounted);
pub fn gc_enable(enable: bool) -> bool;
pub fn gc_enabled() -> bool;
pub fn gc_protect(protect: bool) -> bool;
pub fn gc_protected() -> bool;
pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
pub fn zend_gc_get_status(status: *mut zend_gc_status);
pub fn gc_init();
pub fn gc_globals_ctor();
pub fn gc_globals_dtor();
pub fn gc_reset();
#[link_name = "gc_check_possible_root__extern"]
pub fn gc_check_possible_root(ref_: *mut zend_refcounted);
#[link_name = "gc_check_possible_root_no_ref__extern"]
pub fn gc_check_possible_root_no_ref(ref_: *mut zend_refcounted);
pub fn zend_get_gc_buffer_create() -> *mut zend_get_gc_buffer;
pub fn zend_get_gc_buffer_grow(gc_buffer: *mut zend_get_gc_buffer);
#[link_name = "zend_get_gc_buffer_add_zval__extern"]
pub fn zend_get_gc_buffer_add_zval(gc_buffer: *mut zend_get_gc_buffer, zv: *mut zval);
#[link_name = "zend_get_gc_buffer_add_obj__extern"]
pub fn zend_get_gc_buffer_add_obj(gc_buffer: *mut zend_get_gc_buffer, obj: *mut zend_object);
#[link_name = "zend_get_gc_buffer_add_ht__extern"]
pub fn zend_get_gc_buffer_add_ht(gc_buffer: *mut zend_get_gc_buffer, ht: *mut HashTable);
#[link_name = "zend_get_gc_buffer_add_ptr__extern"]
pub fn zend_get_gc_buffer_add_ptr(
gc_buffer: *mut zend_get_gc_buffer,
ptr: *mut ::std::os::raw::c_void,
);
#[link_name = "zend_get_gc_buffer_use__extern"]
pub fn zend_get_gc_buffer_use(
gc_buffer: *mut zend_get_gc_buffer,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
);
pub static mut zend_new_interned_string: zend_new_interned_string_func_t;
pub static mut zend_string_init_interned: zend_string_init_interned_func_t;
pub static mut zend_string_init_existing_interned: zend_string_init_existing_interned_func_t;
pub fn zend_string_hash_func(str_: *mut zend_string) -> zend_ulong;
pub fn zend_hash_func(str_: *const ::std::os::raw::c_char, len: usize) -> zend_ulong;
pub fn zend_interned_string_find_permanent(str_: *mut zend_string) -> *mut zend_string;
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;
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;
pub fn zend_interned_strings_init();
pub fn zend_interned_strings_dtor();
pub fn zend_interned_strings_activate();
pub fn zend_interned_strings_deactivate();
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,
);
pub fn zend_interned_strings_switch_storage(request: bool);
pub static mut zend_empty_string: *mut zend_string;
pub static mut zend_one_char_string: [*mut zend_string; 256usize];
pub static mut zend_known_strings: *mut *mut zend_string;
#[link_name = "zend_string_hash_val__extern"]
pub fn zend_string_hash_val(s: *mut zend_string) -> zend_ulong;
#[link_name = "zend_string_forget_hash_val__extern"]
pub fn zend_string_forget_hash_val(s: *mut zend_string);
#[link_name = "zend_string_refcount__extern"]
pub fn zend_string_refcount(s: *const zend_string) -> u32;
#[link_name = "zend_string_addref__extern"]
pub fn zend_string_addref(s: *mut zend_string) -> u32;
#[link_name = "zend_string_delref__extern"]
pub fn zend_string_delref(s: *mut zend_string) -> u32;
#[link_name = "zend_string_alloc__extern"]
pub fn zend_string_alloc(len: usize, persistent: bool) -> *mut zend_string;
#[link_name = "zend_string_safe_alloc__extern"]
pub fn zend_string_safe_alloc(
n: usize,
m: usize,
l: usize,
persistent: bool,
) -> *mut zend_string;
#[link_name = "zend_string_init__extern"]
pub fn zend_string_init(
str_: *const ::std::os::raw::c_char,
len: usize,
persistent: bool,
) -> *mut zend_string;
#[link_name = "zend_string_init_fast__extern"]
pub fn zend_string_init_fast(
str_: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zend_string;
#[link_name = "zend_string_copy__extern"]
pub fn zend_string_copy(s: *mut zend_string) -> *mut zend_string;
#[link_name = "zend_string_dup__extern"]
pub fn zend_string_dup(s: *mut zend_string, persistent: bool) -> *mut zend_string;
#[link_name = "zend_string_separate__extern"]
pub fn zend_string_separate(s: *mut zend_string, persistent: bool) -> *mut zend_string;
#[link_name = "zend_string_realloc__extern"]
pub fn zend_string_realloc(
s: *mut zend_string,
len: usize,
persistent: bool,
) -> *mut zend_string;
#[link_name = "zend_string_extend__extern"]
pub fn zend_string_extend(
s: *mut zend_string,
len: usize,
persistent: bool,
) -> *mut zend_string;
#[link_name = "zend_string_truncate__extern"]
pub fn zend_string_truncate(
s: *mut zend_string,
len: usize,
persistent: bool,
) -> *mut zend_string;
#[link_name = "zend_string_safe_realloc__extern"]
pub fn zend_string_safe_realloc(
s: *mut zend_string,
n: usize,
m: usize,
l: usize,
persistent: bool,
) -> *mut zend_string;
#[link_name = "zend_string_free__extern"]
pub fn zend_string_free(s: *mut zend_string);
#[link_name = "zend_string_efree__extern"]
pub fn zend_string_efree(s: *mut zend_string);
#[link_name = "zend_string_release__extern"]
pub fn zend_string_release(s: *mut zend_string);
#[link_name = "zend_string_release_ex__extern"]
pub fn zend_string_release_ex(s: *mut zend_string, persistent: bool);
#[link_name = "zend_string_equals_cstr__extern"]
pub fn zend_string_equals_cstr(
s1: *const zend_string,
s2: *const ::std::os::raw::c_char,
s2_length: usize,
) -> bool;
pub fn zend_string_equal_val(s1: *const zend_string, s2: *const zend_string) -> bool;
#[link_name = "zend_string_equal_content__extern"]
pub fn zend_string_equal_content(s1: *const zend_string, s2: *const zend_string) -> bool;
#[link_name = "zend_string_equals__extern"]
pub fn zend_string_equals(s1: *const zend_string, s2: *const zend_string) -> bool;
#[link_name = "zend_string_starts_with_cstr__extern"]
pub fn zend_string_starts_with_cstr(
str_: *const zend_string,
prefix: *const ::std::os::raw::c_char,
prefix_length: usize,
) -> bool;
#[link_name = "zend_string_starts_with__extern"]
pub fn zend_string_starts_with(str_: *const zend_string, prefix: *const zend_string) -> bool;
#[link_name = "zend_string_starts_with_cstr_ci__extern"]
pub fn zend_string_starts_with_cstr_ci(
str_: *const zend_string,
prefix: *const ::std::os::raw::c_char,
prefix_length: usize,
) -> bool;
#[link_name = "zend_string_starts_with_ci__extern"]
pub fn zend_string_starts_with_ci(str_: *const zend_string, prefix: *const zend_string)
-> bool;
#[link_name = "zend_inline_hash_func__extern"]
pub fn zend_inline_hash_func(str_: *const ::std::os::raw::c_char, len: usize) -> zend_ulong;
pub fn zend_sort(
base: *mut ::std::os::raw::c_void,
nmemb: usize,
siz: usize,
cmp: compare_func_t,
swp: swap_func_t,
);
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 static zend_empty_array: HashTable;
pub fn _zend_hash_init(
ht: *mut HashTable,
nSize: u32,
pDestructor: dtor_func_t,
persistent: bool,
);
pub fn zend_hash_destroy(ht: *mut HashTable);
pub fn zend_hash_clean(ht: *mut HashTable);
pub fn zend_hash_real_init(ht: *mut HashTable, packed: bool);
pub fn zend_hash_real_init_packed(ht: *mut HashTable);
pub fn zend_hash_real_init_mixed(ht: *mut HashTable);
pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
pub fn zend_hash_to_packed(ht: *mut HashTable);
pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: bool);
pub fn zend_hash_discard(ht: *mut HashTable, nNumUsed: u32);
pub fn zend_hash_packed_grow(ht: *mut HashTable);
pub fn zend_hash_add_or_update(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
flag: u32,
) -> *mut zval;
pub fn zend_hash_update(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
pub fn zend_hash_update_ind(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
pub fn zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval) -> *mut zval;
pub fn zend_hash_add_new(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
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;
pub fn zend_hash_str_update(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
pub fn zend_hash_str_update_ind(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
pub fn zend_hash_str_add(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
pub fn zend_hash_str_add_new(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
pub fn zend_hash_index_add_or_update(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut zval,
flag: u32,
) -> *mut zval;
pub fn zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
pub fn zend_hash_index_add_new(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut zval,
) -> *mut zval;
pub fn zend_hash_index_update(ht: *mut HashTable, h: zend_ulong, pData: *mut zval)
-> *mut zval;
pub fn zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
pub fn zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
pub fn zend_hash_str_add_empty_element(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zval;
pub fn zend_hash_set_bucket_key(
ht: *mut HashTable,
p: *mut Bucket,
key: *mut zend_string,
) -> *mut zval;
pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
pub fn zend_hash_apply_with_argument(
ht: *mut HashTable,
apply_func: apply_func_arg_t,
arg1: *mut ::std::os::raw::c_void,
);
pub fn zend_hash_apply_with_arguments(
ht: *mut HashTable,
apply_func: apply_func_args_t,
arg1: ::std::os::raw::c_int,
...
);
pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
pub fn zend_hash_str_del(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> zend_result;
pub fn zend_hash_str_del_ind(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> zend_result;
pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> zend_result;
pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
pub fn zend_hash_packed_del_val(ht: *mut HashTable, zv: *mut zval);
pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
pub fn zend_hash_str_find(
ht: *const HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zval;
pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
pub fn _zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
pub fn zend_hash_find_known_hash(ht: *const HashTable, key: *const zend_string) -> *mut zval;
#[link_name = "zend_hash_find_ex__extern"]
pub fn zend_hash_find_ex(
ht: *const HashTable,
key: *mut zend_string,
known_hash: bool,
) -> *mut zval;
pub fn zend_hash_lookup(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
pub fn zend_hash_index_lookup(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
#[link_name = "zend_hash_exists__extern"]
pub fn zend_hash_exists(ht: *const HashTable, key: *mut zend_string) -> bool;
#[link_name = "zend_hash_str_exists__extern"]
pub fn zend_hash_str_exists(
ht: *const HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> bool;
#[link_name = "zend_hash_index_exists__extern"]
pub fn zend_hash_index_exists(ht: *const HashTable, h: zend_ulong) -> bool;
pub fn zend_hash_get_current_pos_ex(ht: *const HashTable, pos: HashPosition) -> HashPosition;
pub fn zend_hash_get_current_pos(ht: *const HashTable) -> HashPosition;
pub fn zend_hash_move_forward_ex(ht: *const HashTable, pos: *mut HashPosition) -> zend_result;
pub fn zend_hash_move_backwards_ex(ht: *const HashTable, pos: *mut HashPosition)
-> zend_result;
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::Type;
pub fn zend_hash_get_current_key_zval_ex(
ht: *const HashTable,
key: *mut zval,
pos: *const HashPosition,
);
pub fn zend_hash_get_current_key_type_ex(
ht: *const HashTable,
pos: *const HashPosition,
) -> zend_hash_key_type::Type;
pub fn zend_hash_get_current_data_ex(
ht: *const HashTable,
pos: *const HashPosition,
) -> *mut zval;
pub fn zend_hash_internal_pointer_reset_ex(ht: *const HashTable, pos: *mut HashPosition);
pub fn zend_hash_internal_pointer_end_ex(ht: *const HashTable, pos: *mut HashPosition);
#[link_name = "zend_hash_has_more_elements_ex__extern"]
pub fn zend_hash_has_more_elements_ex(
ht: *const HashTable,
pos: *const HashPosition,
) -> zend_result;
#[link_name = "zend_hash_has_more_elements__extern"]
pub fn zend_hash_has_more_elements(ht: *const HashTable) -> zend_result;
#[link_name = "zend_hash_move_forward__extern"]
pub fn zend_hash_move_forward(ht: *mut HashTable) -> zend_result;
#[link_name = "zend_hash_move_backwards__extern"]
pub fn zend_hash_move_backwards(ht: *mut HashTable) -> zend_result;
#[link_name = "zend_hash_get_current_key__extern"]
pub fn zend_hash_get_current_key(
ht: *const HashTable,
str_index: *mut *mut zend_string,
num_index: *mut zend_ulong,
) -> zend_hash_key_type::Type;
#[link_name = "zend_hash_get_current_key_zval__extern"]
pub fn zend_hash_get_current_key_zval(ht: *const HashTable, key: *mut zval);
#[link_name = "zend_hash_get_current_key_type__extern"]
pub fn zend_hash_get_current_key_type(ht: *const HashTable) -> zend_hash_key_type::Type;
#[link_name = "zend_hash_get_current_data__extern"]
pub fn zend_hash_get_current_data(ht: *const HashTable) -> *mut zval;
#[link_name = "zend_hash_internal_pointer_reset__extern"]
pub fn zend_hash_internal_pointer_reset(ht: *mut HashTable);
#[link_name = "zend_hash_internal_pointer_end__extern"]
pub fn zend_hash_internal_pointer_end(ht: *mut HashTable);
pub fn zend_hash_copy(
target: *mut HashTable,
source: *const HashTable,
pCopyConstructor: copy_ctor_func_t,
);
pub fn zend_hash_merge(
target: *mut HashTable,
source: *const HashTable,
pCopyConstructor: copy_ctor_func_t,
overwrite: bool,
);
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,
);
pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
pub fn zend_hash_compare(
ht1: *mut HashTable,
ht2: *mut HashTable,
compar: compare_func_t,
ordered: bool,
) -> ::std::os::raw::c_int;
pub fn zend_hash_sort_ex(
ht: *mut HashTable,
sort_func: sort_func_t,
compare_func: bucket_compare_func_t,
renumber: bool,
);
pub fn zend_array_sort_ex(
ht: *mut HashTable,
sort_func: sort_func_t,
compare_func: bucket_compare_func_t,
renumber: bool,
);
pub fn zend_hash_minmax(ht: *const HashTable, compar: compare_func_t, flag: u32) -> *mut zval;
#[link_name = "zend_hash_sort__extern"]
pub fn zend_hash_sort(ht: *mut HashTable, compare_func: bucket_compare_func_t, renumber: bool);
#[link_name = "zend_array_sort__extern"]
pub fn zend_array_sort(ht: *mut HashTable, compare_func: bucket_compare_func_t, renumber: bool);
#[link_name = "zend_hash_num_elements__extern"]
pub fn zend_hash_num_elements(ht: *const HashTable) -> u32;
#[link_name = "zend_hash_next_free_element__extern"]
pub fn zend_hash_next_free_element(ht: *const HashTable) -> zend_long;
pub fn zend_hash_rehash(ht: *mut HashTable);
pub fn _zend_new_array_0() -> *mut HashTable;
pub fn _zend_new_array(size: u32) -> *mut HashTable;
pub fn zend_new_pair(val1: *const zval, val2: *const zval) -> *mut HashTable;
pub fn zend_array_count(ht: *mut HashTable) -> u32;
pub fn zend_array_dup(source: *const HashTable) -> *mut HashTable;
pub fn zend_array_destroy(ht: *mut HashTable);
pub fn zend_array_to_list(source: *const HashTable) -> *mut HashTable;
pub fn zend_symtable_clean(ht: *mut HashTable);
pub fn zend_symtable_to_proptable(ht: *mut HashTable) -> *mut HashTable;
pub fn zend_proptable_to_symtable(ht: *mut HashTable, always_duplicate: bool)
-> *mut HashTable;
pub fn _zend_handle_numeric_str_ex(
key: *const ::std::os::raw::c_char,
length: usize,
idx: *mut zend_ulong,
) -> bool;
pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
pub fn zend_hash_iterator_del(idx: u32);
pub fn zend_hash_iterators_lower_pos(ht: *const HashTable, start: HashPosition)
-> HashPosition;
pub fn _zend_hash_iterators_update(ht: *const HashTable, from: HashPosition, to: HashPosition);
pub fn zend_hash_iterators_advance(ht: *const HashTable, step: HashPosition);
#[link_name = "zend_hash_iterators_update__extern"]
pub fn zend_hash_iterators_update(ht: *const HashTable, from: HashPosition, to: HashPosition);
#[link_name = "zend_array_release__extern"]
pub fn zend_array_release(array: *mut zend_array);
#[link_name = "zend_hash_release__extern"]
pub fn zend_hash_release(array: *mut zend_array);
#[link_name = "_zend_handle_numeric_str__extern"]
pub fn _zend_handle_numeric_str(
key: *const ::std::os::raw::c_char,
length: usize,
idx: *mut zend_ulong,
) -> bool;
#[link_name = "zend_hash_find_ind__extern"]
pub fn zend_hash_find_ind(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
#[link_name = "zend_hash_find_ex_ind__extern"]
pub fn zend_hash_find_ex_ind(
ht: *const HashTable,
key: *mut zend_string,
known_hash: bool,
) -> *mut zval;
#[link_name = "zend_hash_exists_ind__extern"]
pub fn zend_hash_exists_ind(ht: *const HashTable, key: *mut zend_string) -> bool;
#[link_name = "zend_hash_str_find_ind__extern"]
pub fn zend_hash_str_find_ind(
ht: *const HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zval;
#[link_name = "zend_hash_str_exists_ind__extern"]
pub fn zend_hash_str_exists_ind(
ht: *const HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> bool;
#[link_name = "zend_symtable_add_new__extern"]
pub fn zend_symtable_add_new(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
#[link_name = "zend_symtable_update__extern"]
pub fn zend_symtable_update(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
#[link_name = "zend_symtable_update_ind__extern"]
pub fn zend_symtable_update_ind(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
#[link_name = "zend_symtable_del__extern"]
pub fn zend_symtable_del(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
#[link_name = "zend_symtable_del_ind__extern"]
pub fn zend_symtable_del_ind(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
#[link_name = "zend_symtable_find__extern"]
pub fn zend_symtable_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
#[link_name = "zend_symtable_find_ind__extern"]
pub fn zend_symtable_find_ind(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
#[link_name = "zend_symtable_exists__extern"]
pub fn zend_symtable_exists(ht: *const HashTable, key: *mut zend_string) -> bool;
#[link_name = "zend_symtable_exists_ind__extern"]
pub fn zend_symtable_exists_ind(ht: *const HashTable, key: *mut zend_string) -> bool;
#[link_name = "zend_symtable_str_update__extern"]
pub fn zend_symtable_str_update(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
#[link_name = "zend_symtable_str_update_ind__extern"]
pub fn zend_symtable_str_update_ind(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
#[link_name = "zend_symtable_str_del__extern"]
pub fn zend_symtable_str_del(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> zend_result;
#[link_name = "zend_symtable_str_del_ind__extern"]
pub fn zend_symtable_str_del_ind(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> zend_result;
#[link_name = "zend_symtable_str_find__extern"]
pub fn zend_symtable_str_find(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zval;
#[link_name = "zend_symtable_str_exists__extern"]
pub fn zend_symtable_str_exists(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> bool;
#[link_name = "zend_hash_add_ptr__extern"]
pub fn zend_hash_add_ptr(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_add_new_ptr__extern"]
pub fn zend_hash_add_new_ptr(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_str_add_ptr__extern"]
pub fn zend_hash_str_add_ptr(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
pData: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_str_add_new_ptr__extern"]
pub fn zend_hash_str_add_new_ptr(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
pData: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_update_ptr__extern"]
pub fn zend_hash_update_ptr(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_str_update_ptr__extern"]
pub fn zend_hash_str_update_ptr(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
pData: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_add_mem__extern"]
pub fn zend_hash_add_mem(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_add_new_mem__extern"]
pub fn zend_hash_add_new_mem(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_str_add_mem__extern"]
pub fn zend_hash_str_add_mem(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
pData: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_str_add_new_mem__extern"]
pub fn zend_hash_str_add_new_mem(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
pData: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_update_mem__extern"]
pub fn zend_hash_update_mem(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_str_update_mem__extern"]
pub fn zend_hash_str_update_mem(
ht: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
pData: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_index_add_ptr__extern"]
pub fn zend_hash_index_add_ptr(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_index_add_new_ptr__extern"]
pub fn zend_hash_index_add_new_ptr(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_index_update_ptr__extern"]
pub fn zend_hash_index_update_ptr(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_index_add_mem__extern"]
pub fn zend_hash_index_add_mem(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_next_index_insert_ptr__extern"]
pub fn zend_hash_next_index_insert_ptr(
ht: *mut HashTable,
pData: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_index_update_mem__extern"]
pub fn zend_hash_index_update_mem(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_next_index_insert_mem__extern"]
pub fn zend_hash_next_index_insert_mem(
ht: *mut HashTable,
pData: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_find_ptr__extern"]
pub fn zend_hash_find_ptr(
ht: *const HashTable,
key: *mut zend_string,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_find_ex_ptr__extern"]
pub fn zend_hash_find_ex_ptr(
ht: *const HashTable,
key: *mut zend_string,
known_hash: bool,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_str_find_ptr__extern"]
pub fn zend_hash_str_find_ptr(
ht: *const HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> *mut ::std::os::raw::c_void;
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;
pub fn zend_hash_find_ptr_lc(
ht: *const HashTable,
key: *mut zend_string,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_index_find_ptr__extern"]
pub fn zend_hash_index_find_ptr(
ht: *const HashTable,
h: zend_ulong,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_index_find_deref__extern"]
pub fn zend_hash_index_find_deref(ht: *const HashTable, h: zend_ulong) -> *mut zval;
#[link_name = "zend_hash_find_deref__extern"]
pub fn zend_hash_find_deref(ht: *const HashTable, str_: *mut zend_string) -> *mut zval;
#[link_name = "zend_hash_str_find_deref__extern"]
pub fn zend_hash_str_find_deref(
ht: *const HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zval;
#[link_name = "zend_symtable_str_find_ptr__extern"]
pub fn zend_symtable_str_find_ptr(
ht: *const HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_hash_get_current_data_ptr_ex__extern"]
pub fn zend_hash_get_current_data_ptr_ex(
ht: *const HashTable,
pos: *const HashPosition,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_array_is_list__extern"]
pub fn zend_array_is_list(array: *const zend_array) -> bool;
#[link_name = "_zend_hash_append_ex__extern"]
pub fn _zend_hash_append_ex(
ht: *mut HashTable,
key: *mut zend_string,
zv: *mut zval,
key_guaranteed_interned: bool,
) -> *mut zval;
#[link_name = "_zend_hash_append__extern"]
pub fn _zend_hash_append(ht: *mut HashTable, key: *mut zend_string, zv: *mut zval)
-> *mut zval;
#[link_name = "_zend_hash_append_ptr_ex__extern"]
pub fn _zend_hash_append_ptr_ex(
ht: *mut HashTable,
key: *mut zend_string,
ptr: *mut ::std::os::raw::c_void,
key_guaranteed_interned: bool,
) -> *mut zval;
#[link_name = "_zend_hash_append_ptr__extern"]
pub fn _zend_hash_append_ptr(
ht: *mut HashTable,
key: *mut zend_string,
ptr: *mut ::std::os::raw::c_void,
) -> *mut zval;
#[link_name = "_zend_hash_append_ind__extern"]
pub fn _zend_hash_append_ind(ht: *mut HashTable, key: *mut zend_string, ptr: *mut zval);
pub static mut zend_ast_process: zend_ast_process_t;
pub fn zend_ast_create_zval_with_lineno(zv: *const zval, lineno: u32) -> *mut zend_ast;
pub fn zend_ast_create_zval_ex(zv: *const zval, attr: zend_ast_attr) -> *mut zend_ast;
pub fn zend_ast_create_zval(zv: *const zval) -> *mut zend_ast;
pub fn zend_ast_create_zval_from_str(str_: *mut zend_string) -> *mut zend_ast;
pub fn zend_ast_create_zval_from_long(lval: zend_long) -> *mut zend_ast;
pub fn zend_ast_create_constant(name: *mut zend_string, attr: zend_ast_attr) -> *mut zend_ast;
pub fn zend_ast_create_class_const_or_name(
class_name: *mut zend_ast,
name: *mut zend_ast,
) -> *mut zend_ast;
pub fn zend_ast_create_op_array(op_array: *mut zend_op_array) -> *mut zend_ast;
pub fn zend_ast_create_0(kind: zend_ast_kind) -> *mut zend_ast;
pub fn zend_ast_create_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
pub fn zend_ast_create_2(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
) -> *mut zend_ast;
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;
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;
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;
pub fn zend_ast_create_va(
kind: zend_ast_kind,
attr: zend_ast_attr,
va: *mut va_list,
) -> *mut zend_ast;
pub fn zend_ast_create_n(kind: ::std::os::raw::c_uint, ...) -> *mut zend_ast;
pub fn zend_ast_create_ex_n(
kind: zend_ast_kind,
attr: ::std::os::raw::c_uint,
...
) -> *mut zend_ast;
#[link_name = "zend_ast_create_ex_0__extern"]
pub fn zend_ast_create_ex_0(kind: zend_ast_kind, attr: zend_ast_attr) -> *mut zend_ast;
#[link_name = "zend_ast_create_ex_1__extern"]
pub fn zend_ast_create_ex_1(
kind: zend_ast_kind,
attr: zend_ast_attr,
child: *mut zend_ast,
) -> *mut zend_ast;
#[link_name = "zend_ast_create_ex_2__extern"]
pub fn zend_ast_create_ex_2(
kind: zend_ast_kind,
attr: zend_ast_attr,
child1: *mut zend_ast,
child2: *mut zend_ast,
) -> *mut zend_ast;
#[link_name = "zend_ast_create_ex_3__extern"]
pub fn zend_ast_create_ex_3(
kind: zend_ast_kind,
attr: zend_ast_attr,
child1: *mut zend_ast,
child2: *mut zend_ast,
child3: *mut zend_ast,
) -> *mut zend_ast;
#[link_name = "zend_ast_create_ex_4__extern"]
pub fn zend_ast_create_ex_4(
kind: zend_ast_kind,
attr: zend_ast_attr,
child1: *mut zend_ast,
child2: *mut zend_ast,
child3: *mut zend_ast,
child4: *mut zend_ast,
) -> *mut zend_ast;
#[link_name = "zend_ast_create_ex_5__extern"]
pub fn zend_ast_create_ex_5(
kind: zend_ast_kind,
attr: zend_ast_attr,
child1: *mut zend_ast,
child2: *mut zend_ast,
child3: *mut zend_ast,
child4: *mut zend_ast,
child5: *mut zend_ast,
) -> *mut zend_ast;
pub fn zend_ast_create_list_0(kind: zend_ast_kind) -> *mut zend_ast;
pub fn zend_ast_create_list_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
pub fn zend_ast_create_list_2(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
) -> *mut zend_ast;
pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
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;
pub fn zend_ast_create_fcc() -> *mut zend_ast;
pub fn zend_ast_evaluate(
result: *mut zval,
ast: *mut zend_ast,
scope: *mut zend_class_entry,
) -> zend_result;
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;
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;
pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast_ref;
pub fn zend_ast_destroy(ast: *mut zend_ast);
pub fn zend_ast_ref_destroy(ast: *mut zend_ast_ref);
pub fn zend_ast_apply(
ast: *mut zend_ast,
fn_: zend_ast_apply_func,
context: *mut ::std::os::raw::c_void,
);
#[link_name = "zend_ast_size__extern"]
pub fn zend_ast_size(children: u32) -> usize;
#[link_name = "zend_ast_is_special__extern"]
pub fn zend_ast_is_special(ast: *const zend_ast) -> bool;
#[link_name = "zend_ast_is_decl__extern"]
pub fn zend_ast_is_decl(ast: *const zend_ast) -> bool;
#[link_name = "zend_ast_is_list__extern"]
pub fn zend_ast_is_list(ast: *const zend_ast) -> bool;
#[link_name = "zend_ast_get_list__extern"]
pub fn zend_ast_get_list(ast: *mut zend_ast) -> *mut zend_ast_list;
#[link_name = "zend_ast_get_zval__extern"]
pub fn zend_ast_get_zval(ast: *mut zend_ast) -> *mut zval;
#[link_name = "zend_ast_get_str__extern"]
pub fn zend_ast_get_str(ast: *mut zend_ast) -> *mut zend_string;
#[link_name = "zend_ast_get_op_array__extern"]
pub fn zend_ast_get_op_array(ast: *mut zend_ast) -> *mut zend_ast_op_array;
#[link_name = "zend_ast_get_constant_name__extern"]
pub fn zend_ast_get_constant_name(ast: *mut zend_ast) -> *mut zend_string;
#[link_name = "zend_ast_get_num_children__extern"]
pub fn zend_ast_get_num_children(ast: *const zend_ast) -> u32;
#[link_name = "zend_ast_get_lineno__extern"]
pub fn zend_ast_get_lineno(ast: *mut zend_ast) -> u32;
#[link_name = "zend_ast_create_binary_op__extern"]
pub fn zend_ast_create_binary_op(
opcode: u32,
op0: *mut zend_ast,
op1: *mut zend_ast,
) -> *mut zend_ast;
pub fn zend_ast_create_concat_op(op0: *mut zend_ast, op1: *mut zend_ast) -> *mut zend_ast;
#[link_name = "zend_ast_create_assign_op__extern"]
pub fn zend_ast_create_assign_op(
opcode: u32,
op0: *mut zend_ast,
op1: *mut zend_ast,
) -> *mut zend_ast;
#[link_name = "zend_ast_create_cast__extern"]
pub fn zend_ast_create_cast(type_: u32, op0: *mut zend_ast) -> *mut zend_ast;
#[link_name = "zend_ast_list_rtrim__extern"]
pub fn zend_ast_list_rtrim(ast: *mut zend_ast) -> *mut zend_ast;
pub fn zend_ast_with_attributes(ast: *mut zend_ast, attr: *mut zend_ast) -> *mut zend_ast;
pub fn rc_dtor_func(p: *mut zend_refcounted);
pub fn zval_copy_ctor_func(zvalue: *mut zval);
#[link_name = "zval_ptr_dtor_nogc__extern"]
pub fn zval_ptr_dtor_nogc(zval_ptr: *mut zval);
#[link_name = "i_zval_ptr_dtor__extern"]
pub fn i_zval_ptr_dtor(zval_ptr: *mut zval);
#[link_name = "zval_copy_ctor__extern"]
pub fn zval_copy_ctor(zvalue: *mut zval);
#[link_name = "zval_opt_copy_ctor__extern"]
pub fn zval_opt_copy_ctor(zvalue: *mut zval);
#[link_name = "zval_ptr_dtor_str__extern"]
pub fn zval_ptr_dtor_str(zval_ptr: *mut zval);
pub fn zval_ptr_dtor(zval_ptr: *mut zval);
pub fn zval_ptr_safe_dtor(zval_ptr: *mut zval);
pub fn zval_internal_ptr_dtor(zvalue: *mut zval);
pub fn zval_add_ref(p: *mut zval);
pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
pub fn zend_iterator_init(iter: *mut zend_object_iterator);
pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
pub fn zend_register_iterator_wrapper();
pub fn zend_stream_init_fp(
handle: *mut zend_file_handle,
fp: *mut FILE,
filename: *const ::std::os::raw::c_char,
);
pub fn zend_stream_init_filename(
handle: *mut zend_file_handle,
filename: *const ::std::os::raw::c_char,
);
pub fn zend_stream_init_filename_ex(handle: *mut zend_file_handle, filename: *mut zend_string);
pub fn zend_stream_open(handle: *mut zend_file_handle) -> zend_result;
pub fn zend_stream_fixup(
file_handle: *mut zend_file_handle,
buf: *mut *mut ::std::os::raw::c_char,
len: *mut usize,
) -> zend_result;
pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
pub fn zend_stream_init();
pub fn zend_stream_shutdown();
pub static mut zend_signal_globals: zend_signal_globals_t;
pub fn zend_signal_handler_unblock();
pub fn zend_signal_activate();
pub fn zend_signal_deactivate();
pub fn zend_signal_startup();
pub fn zend_signal_init();
pub fn zend_signal(
signo: ::std::os::raw::c_int,
handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
);
pub fn zend_sigaction(
signo: ::std::os::raw::c_int,
act: *const sigaction,
oldact: *mut sigaction,
);
pub fn zend_startup(utility_functions: *mut zend_utility_functions);
pub fn zend_shutdown();
pub fn zend_register_standard_ini_entries();
pub fn zend_post_startup() -> zend_result;
pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
pub fn zend_unload_modules();
pub fn _zend_bailout(filename: *const ::std::os::raw::c_char, lineno: u32) -> !;
pub fn zend_get_page_size() -> usize;
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;
pub fn zend_spprintf(
message: *mut *mut ::std::os::raw::c_char,
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> usize;
pub fn zend_vstrpprintf(
max_len: usize,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> *mut zend_string;
pub fn zend_strpprintf(
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> *mut zend_string;
pub fn zend_spprintf_unchecked(
message: *mut *mut ::std::os::raw::c_char,
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> usize;
pub fn zend_strpprintf_unchecked(
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> *mut zend_string;
pub fn get_zend_version() -> *const ::std::os::raw::c_char;
pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval) -> bool;
pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> usize;
pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
pub fn zend_print_zval_r_to_str(
expr: *mut zval,
indent: ::std::os::raw::c_int,
) -> *mut zend_string;
pub fn zend_print_flat_zval_r(expr: *mut zval);
pub fn zend_print_flat_zval_r_to_buf(str_: *mut smart_str, expr: *mut zval);
#[link_name = "zend_print_variable__extern"]
pub fn zend_print_variable(var: *mut zval) -> usize;
pub fn zend_output_debug_string(
trigger_break: bool,
format: *const ::std::os::raw::c_char,
...
);
pub fn zend_activate();
pub fn zend_deactivate();
pub fn zend_call_destructors();
pub fn zend_activate_modules();
pub fn zend_deactivate_modules();
pub fn zend_post_deactivate_modules();
pub fn free_estring(str_p: *mut *mut ::std::os::raw::c_char);
pub static mut zend_printf: ::std::option::Option<
unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
>;
pub static mut zend_write: zend_write_func_t;
pub static mut zend_fopen: ::std::option::Option<
unsafe extern "C" fn(
filename: *mut zend_string,
opened_path: *mut *mut zend_string,
) -> *mut FILE,
>;
pub static mut zend_ticks_function:
::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
pub static mut zend_interrupt_function:
::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
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,
),
>;
pub static mut zend_on_timeout:
::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
pub static mut zend_stream_open_function:
::std::option::Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>;
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,
),
>;
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,
),
>;
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,
>;
pub static mut zend_resolve_path:
::std::option::Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>;
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,
>;
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,
),
>;
pub static mut zend_post_startup_cb:
::std::option::Option<unsafe extern "C" fn() -> zend_result>;
pub static mut zend_post_shutdown_cb: ::std::option::Option<unsafe extern "C" fn()>;
pub static mut zend_accel_schedule_restart_hook:
::std::option::Option<unsafe extern "C" fn(reason: ::std::os::raw::c_int)>;
pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
pub fn zend_error_noreturn(
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
) -> !;
pub fn zend_error_noreturn_unchecked(
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
) -> !;
pub fn zend_error_unchecked(
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
);
pub fn zend_error_at(
type_: ::std::os::raw::c_int,
filename: *mut zend_string,
lineno: u32,
format: *const ::std::os::raw::c_char,
...
);
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,
...
) -> !;
pub fn zend_error_zstr(type_: ::std::os::raw::c_int, message: *mut zend_string);
pub fn zend_error_zstr_at(
type_: ::std::os::raw::c_int,
filename: *mut zend_string,
lineno: u32,
message: *mut zend_string,
);
pub fn zend_throw_error(
exception_ce: *mut zend_class_entry,
format: *const ::std::os::raw::c_char,
...
);
pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
pub fn zend_argument_count_error(format: *const ::std::os::raw::c_char, ...);
pub fn zend_value_error(format: *const ::std::os::raw::c_char, ...);
pub fn zend_illegal_container_offset(
container: *const zend_string,
offset: *const zval,
type_: ::std::os::raw::c_int,
);
pub fn zenderror(error: *const ::std::os::raw::c_char);
pub fn zend_strerror_noreturn(
type_: ::std::os::raw::c_int,
errn: ::std::os::raw::c_int,
message: *const ::std::os::raw::c_char,
) -> !;
pub static mut zend_standard_class_def: *mut zend_class_entry;
pub static mut zend_uv: zend_utility_values;
pub static mut zend_dtrace_enabled: bool;
pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
pub fn zend_save_error_handling(current: *mut zend_error_handling);
pub fn zend_replace_error_handling(
error_handling: zend_error_handling_t::Type,
exception_class: *mut zend_class_entry,
current: *mut zend_error_handling,
);
pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
pub fn zend_begin_record_errors();
pub fn zend_emit_recorded_errors();
pub fn zend_emit_recorded_errors_ex(num_errors: u32, errors: *mut *mut zend_error_info);
pub fn zend_free_recorded_errors();
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;
pub fn zend_hooked_object_build_properties(zobj: *mut zend_object) -> *mut zend_array;
pub fn zend_class_can_be_lazy(ce: *const zend_class_entry) -> bool;
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;
pub fn zend_lazy_object_init(obj: *mut zend_object) -> *mut zend_object;
pub fn zend_lazy_object_mark_as_initialized(obj: *mut zend_object) -> *mut zend_object;
pub fn zend_lazy_objects_init(store: *mut zend_lazy_objects_store);
pub fn zend_lazy_objects_destroy(store: *mut zend_lazy_objects_store);
pub fn zend_lazy_object_get_initializer_zv(obj: *mut zend_object) -> *mut zval;
pub fn zend_lazy_object_get_flags(obj: *const zend_object) -> zend_lazy_object_flags_t;
pub fn zend_lazy_object_del_info(obj: *const zend_object);
pub fn zend_lazy_object_get_properties(object: *mut zend_object) -> *mut HashTable;
pub fn zend_lazy_object_clone(old_obj: *mut zend_object) -> *mut zend_object;
pub fn zend_lazy_object_debug_info(
object: *mut zend_object,
is_temp: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
pub fn zend_lazy_object_get_gc(
zobj: *mut zend_object,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
pub fn zend_lazy_object_decr_lazy_props(obj: *const zend_object) -> bool;
pub fn zend_lazy_object_realize(obj: *mut zend_object);
pub fn zend_lazy_object_get_property_info_for_slot(
obj: *mut zend_object,
slot: *mut zval,
) -> *mut zend_property_info;
#[link_name = "zend_object_is_lazy__extern"]
pub fn zend_object_is_lazy(obj: *const zend_object) -> bool;
#[link_name = "zend_object_is_lazy_proxy__extern"]
pub fn zend_object_is_lazy_proxy(obj: *const zend_object) -> bool;
#[link_name = "zend_lazy_object_initialized__extern"]
pub fn zend_lazy_object_initialized(obj: *const zend_object) -> bool;
#[link_name = "zend_lazy_object_must_init__extern"]
pub fn zend_lazy_object_must_init(obj: *const zend_object) -> bool;
#[link_name = "zend_lazy_object_initialize_on_serialize__extern"]
pub fn zend_lazy_object_initialize_on_serialize(obj: *const zend_object) -> bool;
pub static std_object_handlers: zend_object_handlers;
pub fn zend_class_init_statics(ce: *mut zend_class_entry);
pub fn zend_std_get_static_method(
ce: *mut zend_class_entry,
function_name_strval: *mut zend_string,
key: *const zval,
) -> *mut zend_function;
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;
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;
pub fn zend_std_unset_static_property(
ce: *const zend_class_entry,
property_name: *const zend_string,
) -> bool;
pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut zend_function;
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;
pub fn zend_std_get_properties(object: *mut zend_object) -> *mut HashTable;
pub fn zend_get_properties_no_lazy_init(zobj: *mut zend_object) -> *mut HashTable;
pub fn zend_std_get_gc(
object: *mut zend_object,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
pub fn zend_std_get_debug_info(
object: *mut zend_object,
is_temp: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
pub fn zend_std_cast_object_tostring(
object: *mut zend_object,
writeobj: *mut zval,
type_: ::std::os::raw::c_int,
) -> zend_result;
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;
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;
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;
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;
pub fn zend_std_unset_property(
object: *mut zend_object,
member: *mut zend_string,
cache_slot: *mut *mut ::std::os::raw::c_void,
);
pub fn zend_std_read_dimension(
object: *mut zend_object,
offset: *mut zval,
type_: ::std::os::raw::c_int,
rv: *mut zval,
) -> *mut zval;
pub fn zend_std_write_dimension(object: *mut zend_object, offset: *mut zval, value: *mut zval);
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;
pub fn zend_std_unset_dimension(object: *mut zend_object, offset: *mut zval);
pub fn zend_std_get_method(
obj_ptr: *mut *mut zend_object,
method_name: *mut zend_string,
key: *const zval,
) -> *mut zend_function;
pub fn zend_std_get_class_name(zobj: *const zend_object) -> *mut zend_string;
pub fn zend_std_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
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;
pub fn rebuild_object_properties_internal(zobj: *mut zend_object) -> *mut HashTable;
pub fn zend_bad_method_call(
fbc: *const zend_function,
method_name: *const zend_string,
scope: *const zend_class_entry,
);
pub fn zend_abstract_method_call(fbc: *const zend_function);
#[link_name = "zend_std_get_properties_ex__extern"]
pub fn zend_std_get_properties_ex(object: *mut zend_object) -> *mut HashTable;
pub fn zend_std_build_object_properties_array(zobj: *mut zend_object) -> *mut HashTable;
pub fn zend_objects_not_comparable(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
pub fn zend_check_protected(
ce: *const zend_class_entry,
scope: *const zend_class_entry,
) -> bool;
pub fn zend_check_property_access(
zobj: *const zend_object,
prop_info_name: *mut zend_string,
is_dynamic: bool,
) -> zend_result;
pub fn zend_get_call_trampoline_func(
ce: *const zend_class_entry,
method_name: *mut zend_string,
is_static: bool,
) -> *mut zend_function;
pub fn zend_get_property_guard(zobj: *mut zend_object, member: *mut zend_string) -> *mut u32;
pub fn zend_get_recursion_guard(zobj: *mut zend_object) -> *mut u32;
pub fn zend_std_get_properties_for(
obj: *mut zend_object,
purpose: zend_prop_purpose,
) -> *mut HashTable;
pub fn zend_get_properties_for(obj: *mut zval, purpose: zend_prop_purpose) -> *mut HashTable;
pub fn zend_get_property_hook_trampoline(
prop_info: *const zend_property_info,
kind: zend_property_hook_kind::Type,
prop_name: *mut zend_string,
) -> *mut zend_function;
pub fn zend_asymmetric_property_has_set_access(prop_info: *const zend_property_info) -> bool;
pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
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;
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;
pub fn zend_strtod(
s00: *const ::std::os::raw::c_char,
se: *mut *const ::std::os::raw::c_char,
) -> f64;
pub fn zend_hex_strtod(
str_: *const ::std::os::raw::c_char,
endptr: *mut *const ::std::os::raw::c_char,
) -> f64;
pub fn zend_oct_strtod(
str_: *const ::std::os::raw::c_char,
endptr: *mut *const ::std::os::raw::c_char,
) -> f64;
pub fn zend_bin_strtod(
str_: *const ::std::os::raw::c_char,
endptr: *mut *const ::std::os::raw::c_char,
) -> f64;
pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
#[link_name = "zend_safe_address__extern"]
pub fn zend_safe_address(
nmemb: usize,
size: usize,
offset: usize,
overflow: *mut bool,
) -> usize;
#[link_name = "zend_safe_address_guarded__extern"]
pub fn zend_safe_address_guarded(nmemb: usize, size: usize, offset: usize) -> usize;
#[link_name = "zend_safe_addmult__extern"]
pub fn zend_safe_addmult(
nmemb: usize,
size: usize,
offset: usize,
message: *const ::std::os::raw::c_char,
) -> usize;
pub fn add_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn sub_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn mul_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn pow_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn div_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn mod_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn boolean_xor_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn boolean_not_function(result: *mut zval, op1: *mut zval) -> zend_result;
pub fn bitwise_not_function(result: *mut zval, op1: *mut zval) -> zend_result;
pub fn bitwise_or_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn bitwise_and_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn bitwise_xor_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn shift_left_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn shift_right_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn concat_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn zend_is_identical(op1: *const zval, op2: *const zval) -> bool;
pub fn is_equal_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn is_identical_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn is_not_identical_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> zend_result;
pub fn is_not_equal_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn is_smaller_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn is_smaller_or_equal_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> zend_result;
pub fn zend_class_implements_interface(
class_ce: *const zend_class_entry,
interface_ce: *const zend_class_entry,
) -> bool;
pub fn instanceof_function_slow(
instance_ce: *const zend_class_entry,
ce: *const zend_class_entry,
) -> bool;
#[link_name = "instanceof_function__extern"]
pub fn instanceof_function(
instance_ce: *const zend_class_entry,
ce: *const zend_class_entry,
) -> bool;
pub fn zend_string_only_has_ascii_alphanumeric(str_: *const zend_string) -> bool;
#[doc = " Checks whether the string \"str\" with length \"length\" is numeric. The value\n of allow_errors determines whether it's required to be entirely numeric, or\n just its prefix. Leading whitespace is allowed.\n\n The function returns 0 if the string did not contain a valid number; IS_LONG\n if it contained a number that fits within the range of a long; or IS_DOUBLE\n if the number was out of long range or contained a decimal point/exponent.\n The number's value is returned into the respective pointer, *lval or *dval,\n if that pointer is not NULL.\n\n This variant also gives information if a string that represents an integer\n could not be represented as such due to overflow. It writes 1 to oflow_info\n if the integer is larger than ZEND_LONG_MAX and -1 if it's smaller than ZEND_LONG_MIN."]
pub fn _is_numeric_string_ex(
str_: *const ::std::os::raw::c_char,
length: usize,
lval: *mut zend_long,
dval: *mut f64,
allow_errors: bool,
oflow_info: *mut ::std::os::raw::c_int,
trailing_data: *mut bool,
) -> u8;
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;
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;
pub fn zend_incompatible_double_to_long_error(d: f64);
pub fn zend_incompatible_string_to_long_error(s: *const zend_string);
pub fn zend_oob_double_to_long_error(d: f64);
pub fn zend_oob_string_to_long_error(s: *const zend_string);
pub fn zend_nan_coerced_to_type_warning(type_: u8);
pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
#[link_name = "zend_dval_to_lval__extern"]
pub fn zend_dval_to_lval(d: f64) -> zend_long;
#[link_name = "zend_dval_to_lval_silent__extern"]
pub fn zend_dval_to_lval_silent(d: f64) -> zend_long;
#[link_name = "zend_dval_to_lval_cap__extern"]
pub fn zend_dval_to_lval_cap(d: f64, s: *const zend_string) -> zend_long;
#[link_name = "zend_is_long_compatible__extern"]
pub fn zend_is_long_compatible(d: f64, l: zend_long) -> bool;
#[link_name = "zend_dval_to_lval_safe__extern"]
pub fn zend_dval_to_lval_safe(d: f64) -> zend_long;
#[link_name = "is_numeric_string_ex__extern"]
pub fn is_numeric_string_ex(
str_: *const ::std::os::raw::c_char,
length: usize,
lval: *mut zend_long,
dval: *mut f64,
allow_errors: bool,
oflow_info: *mut ::std::os::raw::c_int,
trailing_data: *mut bool,
) -> u8;
#[link_name = "is_numeric_string__extern"]
pub fn is_numeric_string(
str_: *const ::std::os::raw::c_char,
length: usize,
lval: *mut zend_long,
dval: *mut f64,
allow_errors: bool,
) -> u8;
pub fn is_numeric_str_function(
str_: *const zend_string,
lval: *mut zend_long,
dval: *mut f64,
) -> u8;
#[link_name = "zend_memnstr__extern"]
pub fn zend_memnstr(
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;
#[link_name = "zend_memrchr__extern"]
pub fn zend_memrchr(
s: *const ::std::os::raw::c_void,
c: ::std::os::raw::c_int,
n: usize,
) -> *const ::std::os::raw::c_void;
#[link_name = "zend_memnrstr__extern"]
pub fn zend_memnrstr(
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;
#[link_name = "zend_strnlen__extern"]
pub fn zend_strnlen(s: *const ::std::os::raw::c_char, maxlen: usize) -> usize;
#[link_name = "zend_mempcpy__extern"]
pub fn zend_mempcpy(
dest: *mut ::std::os::raw::c_void,
src: *const ::std::os::raw::c_void,
n: usize,
) -> *mut ::std::os::raw::c_void;
pub fn increment_function(op1: *mut zval) -> zend_result;
pub fn decrement_function(op2: *mut zval) -> zend_result;
pub fn convert_scalar_to_number(op: *mut zval);
pub fn _convert_to_string(op: *mut zval);
pub fn convert_to_long(op: *mut zval);
pub fn convert_to_double(op: *mut zval);
pub fn convert_to_null(op: *mut zval);
pub fn convert_to_boolean(op: *mut zval);
pub fn convert_to_array(op: *mut zval);
pub fn convert_to_object(op: *mut zval);
pub fn zval_get_long_func(op: *const zval, is_strict: bool) -> zend_long;
pub fn zval_try_get_long(op: *const zval, failed: *mut bool) -> zend_long;
pub fn zval_get_double_func(op: *const zval) -> f64;
pub fn zval_get_string_func(op: *mut zval) -> *mut zend_string;
pub fn zval_try_get_string_func(op: *mut zval) -> *mut zend_string;
#[link_name = "zval_get_long__extern"]
pub fn zval_get_long(op: *const zval) -> zend_long;
#[link_name = "zval_get_long_ex__extern"]
pub fn zval_get_long_ex(op: *const zval, is_strict: bool) -> zend_long;
#[link_name = "zval_get_double__extern"]
pub fn zval_get_double(op: *const zval) -> f64;
#[link_name = "zval_get_string__extern"]
pub fn zval_get_string(op: *mut zval) -> *mut zend_string;
#[link_name = "zval_get_tmp_string__extern"]
pub fn zval_get_tmp_string(op: *mut zval, tmp: *mut *mut zend_string) -> *mut zend_string;
#[link_name = "zend_tmp_string_release__extern"]
pub fn zend_tmp_string_release(tmp: *mut zend_string);
#[link_name = "zval_try_get_string__extern"]
pub fn zval_try_get_string(op: *mut zval) -> *mut zend_string;
#[link_name = "zval_try_get_tmp_string__extern"]
pub fn zval_try_get_tmp_string(op: *mut zval, tmp: *mut *mut zend_string) -> *mut zend_string;
pub fn _try_convert_to_string(op: *mut zval) -> bool;
#[link_name = "try_convert_to_string__extern"]
pub fn try_convert_to_string(op: *mut zval) -> bool;
pub fn zend_is_true(op: *const zval) -> bool;
pub fn zend_object_is_true(op: *const zval) -> bool;
#[link_name = "i_zend_is_true__extern"]
pub fn i_zend_is_true(op: *const zval) -> bool;
pub fn zend_compare(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
pub fn compare_function(result: *mut zval, op1: *mut zval, op2: *mut zval) -> zend_result;
pub fn numeric_compare_function(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
pub fn string_compare_function_ex(
op1: *mut zval,
op2: *mut zval,
case_insensitive: bool,
) -> ::std::os::raw::c_int;
pub fn string_compare_function(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
pub fn string_case_compare_function(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
pub fn string_locale_compare_function(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
pub static zend_tolower_map: [::std::os::raw::c_uchar; 256usize];
pub static zend_toupper_map: [::std::os::raw::c_uchar; 256usize];
pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: usize);
pub fn zend_str_toupper(str_: *mut ::std::os::raw::c_char, length: usize);
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;
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;
pub fn zend_str_tolower_dup(
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
pub fn zend_str_toupper_dup(
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
pub fn zend_str_tolower_dup_ex(
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
pub fn zend_str_toupper_dup_ex(
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
pub fn zend_string_tolower_ex(str_: *mut zend_string, persistent: bool) -> *mut zend_string;
pub fn zend_string_toupper_ex(str_: *mut zend_string, persistent: bool) -> *mut zend_string;
#[link_name = "zend_string_tolower__extern"]
pub fn zend_string_tolower(str_: *mut zend_string) -> *mut zend_string;
#[link_name = "zend_string_toupper__extern"]
pub fn zend_string_toupper(str_: *mut zend_string) -> *mut zend_string;
pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
pub fn zend_binary_zval_strncmp(
s1: *mut zval,
s2: *mut zval,
s3: *mut zval,
) -> ::std::os::raw::c_int;
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;
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;
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;
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;
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;
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;
pub fn zendi_smart_streq(s1: *mut zend_string, s2: *mut zend_string) -> bool;
pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> ::std::os::raw::c_int;
pub fn zend_compare_symbol_tables(
ht1: *mut HashTable,
ht2: *mut HashTable,
) -> ::std::os::raw::c_int;
pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
#[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;
#[doc = " Deprecated in favor of ZEND_STRTOL()"]
pub fn zend_atol(str_: *const ::std::os::raw::c_char, str_len: usize) -> zend_long;
pub fn zend_update_current_locale();
pub fn zend_reset_lc_ctype_locale();
#[link_name = "fast_long_increment_function__extern"]
pub fn fast_long_increment_function(op1: *mut zval);
#[link_name = "fast_long_decrement_function__extern"]
pub fn fast_long_decrement_function(op1: *mut zval);
#[link_name = "fast_long_add_function__extern"]
pub fn fast_long_add_function(result: *mut zval, op1: *mut zval, op2: *mut zval);
#[link_name = "fast_long_sub_function__extern"]
pub fn fast_long_sub_function(result: *mut zval, op1: *mut zval, op2: *mut zval);
#[link_name = "zend_fast_equal_strings__extern"]
pub fn zend_fast_equal_strings(s1: *mut zend_string, s2: *mut zend_string) -> bool;
#[link_name = "fast_equal_check_function__extern"]
pub fn fast_equal_check_function(op1: *mut zval, op2: *mut zval) -> bool;
#[link_name = "fast_equal_check_long__extern"]
pub fn fast_equal_check_long(op1: *mut zval, op2: *mut zval) -> bool;
#[link_name = "fast_equal_check_string__extern"]
pub fn fast_equal_check_string(op1: *mut zval, op2: *mut zval) -> bool;
#[link_name = "fast_is_identical_function__extern"]
pub fn fast_is_identical_function(op1: *mut zval, op2: *mut zval) -> bool;
#[link_name = "fast_is_not_identical_function__extern"]
pub fn fast_is_not_identical_function(op1: *mut zval, op2: *mut zval) -> bool;
#[link_name = "zend_print_ulong_to_buf__extern"]
pub fn zend_print_ulong_to_buf(
buf: *mut ::std::os::raw::c_char,
num: zend_ulong,
) -> *mut ::std::os::raw::c_char;
#[link_name = "zend_print_long_to_buf__extern"]
pub fn zend_print_long_to_buf(
buf: *mut ::std::os::raw::c_char,
num: zend_long,
) -> *mut ::std::os::raw::c_char;
pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
pub fn zend_ulong_to_str(num: zend_ulong) -> *mut zend_string;
pub fn zend_u64_to_str(num: u64) -> *mut zend_string;
pub fn zend_i64_to_str(num: i64) -> *mut zend_string;
pub fn zend_double_to_str(num: f64) -> *mut zend_string;
#[link_name = "zend_unwrap_reference__extern"]
pub fn zend_unwrap_reference(op: *mut zval);
#[link_name = "zend_strnieq__extern"]
pub fn zend_strnieq(
ptr1: *const ::std::os::raw::c_char,
ptr2: *const ::std::os::raw::c_char,
num: usize,
) -> bool;
#[link_name = "zend_memnistr__extern"]
pub fn zend_memnistr(
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;
pub static zend_vm_kind_name: [*const ::std::os::raw::c_char; 6usize];
pub fn zend_get_opcode_name(opcode: u8) -> *const ::std::os::raw::c_char;
pub fn zend_get_opcode_flags(opcode: u8) -> u32;
pub fn zend_get_opcode_id(name: *const ::std::os::raw::c_char, length: usize) -> u8;
pub static mut zend_flf_count: usize;
pub static mut zend_flf_capacity: usize;
pub static mut zend_flf_handlers: *mut *mut ::std::os::raw::c_void;
pub static mut zend_flf_functions: *mut *mut zend_function;
pub fn zend_ast_create_znode(node: *const znode) -> *mut zend_ast;
#[link_name = "zend_ast_get_znode__extern"]
pub fn zend_ast_get_znode(ast: *mut zend_ast) -> *mut znode;
pub fn zend_compile_top_stmt(ast: *mut zend_ast);
pub fn zend_const_expr_to_zval(
result: *mut zval,
ast_ptr: *mut *mut zend_ast,
allow_dynamic: bool,
);
#[link_name = "zend_visibility_to_set_visibility__extern"]
pub fn zend_visibility_to_set_visibility(visibility: u32) -> u32;
pub fn zend_get_property_hook_kind_from_name(
name: *mut zend_string,
) -> zend_property_hook_kind::Type;
pub static mut compiler_globals: _zend_compiler_globals;
pub fn zendparse() -> ::std::os::raw::c_int;
pub static mut executor_globals: zend_executor_globals;
pub static mut language_scanner_globals: zend_php_scanner_globals;
pub static mut ini_scanner_globals: zend_ini_scanner_globals;
#[link_name = "zend_atomic_bool_exchange_ex__extern"]
pub fn zend_atomic_bool_exchange_ex(obj: *mut zend_atomic_bool, desired: bool) -> bool;
#[link_name = "zend_atomic_int_exchange_ex__extern"]
pub fn zend_atomic_int_exchange_ex(
obj: *mut zend_atomic_int,
desired: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
#[link_name = "zend_atomic_bool_compare_exchange_ex__extern"]
pub fn zend_atomic_bool_compare_exchange_ex(
obj: *mut zend_atomic_bool,
expected: *mut bool,
desired: bool,
) -> bool;
#[link_name = "zend_atomic_int_compare_exchange_ex__extern"]
pub fn zend_atomic_int_compare_exchange_ex(
obj: *mut zend_atomic_int,
expected: *mut ::std::os::raw::c_int,
desired: ::std::os::raw::c_int,
) -> bool;
#[link_name = "zend_atomic_bool_load_ex__extern"]
pub fn zend_atomic_bool_load_ex(obj: *const zend_atomic_bool) -> bool;
#[link_name = "zend_atomic_int_load_ex__extern"]
pub fn zend_atomic_int_load_ex(obj: *const zend_atomic_int) -> ::std::os::raw::c_int;
#[link_name = "zend_atomic_bool_store_ex__extern"]
pub fn zend_atomic_bool_store_ex(obj: *mut zend_atomic_bool, desired: bool);
#[link_name = "zend_atomic_int_store_ex__extern"]
pub fn zend_atomic_int_store_ex(obj: *mut zend_atomic_int, desired: ::std::os::raw::c_int);
pub fn zend_atomic_bool_init(obj: *mut zend_atomic_bool, desired: bool);
pub fn zend_atomic_int_init(obj: *mut zend_atomic_int, desired: ::std::os::raw::c_int);
pub fn zend_atomic_bool_exchange(obj: *mut zend_atomic_bool, desired: bool) -> bool;
pub fn zend_atomic_int_exchange(
obj: *mut zend_atomic_int,
desired: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
pub fn zend_atomic_bool_compare_exchange(
obj: *mut zend_atomic_bool,
expected: *mut bool,
desired: bool,
) -> bool;
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;
pub fn zend_atomic_bool_store(obj: *mut zend_atomic_bool, desired: bool);
pub fn zend_atomic_int_store(obj: *mut zend_atomic_int, desired: ::std::os::raw::c_int);
pub fn zend_atomic_bool_load(obj: *const zend_atomic_bool) -> bool;
pub fn zend_atomic_int_load(obj: *const zend_atomic_int) -> ::std::os::raw::c_int;
pub fn zend_stack_init(stack: *mut zend_stack, size: ::std::os::raw::c_int);
pub fn zend_stack_push(
stack: *mut zend_stack,
element: *const ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
pub fn zend_stack_del_top(stack: *mut zend_stack);
pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
pub fn zend_stack_is_empty(stack: *const zend_stack) -> bool;
pub fn zend_stack_destroy(stack: *mut zend_stack);
pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
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,
>,
);
pub fn zend_stack_apply_with_argument(
stack: *mut zend_stack,
type_: zend_stack_apply_direction::Type,
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,
);
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,
);
pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: bool);
pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
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)>,
);
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)>,
);
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,
);
pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
#[link_name = "zend_ptr_stack_3_push__extern"]
pub fn zend_ptr_stack_3_push(
stack: *mut zend_ptr_stack,
a: *mut ::std::os::raw::c_void,
b: *mut ::std::os::raw::c_void,
c: *mut ::std::os::raw::c_void,
);
#[link_name = "zend_ptr_stack_2_push__extern"]
pub fn zend_ptr_stack_2_push(
stack: *mut zend_ptr_stack,
a: *mut ::std::os::raw::c_void,
b: *mut ::std::os::raw::c_void,
);
#[link_name = "zend_ptr_stack_3_pop__extern"]
pub fn zend_ptr_stack_3_pop(
stack: *mut zend_ptr_stack,
a: *mut *mut ::std::os::raw::c_void,
b: *mut *mut ::std::os::raw::c_void,
c: *mut *mut ::std::os::raw::c_void,
);
#[link_name = "zend_ptr_stack_2_pop__extern"]
pub fn zend_ptr_stack_2_pop(
stack: *mut zend_ptr_stack,
a: *mut *mut ::std::os::raw::c_void,
b: *mut *mut ::std::os::raw::c_void,
);
#[link_name = "zend_ptr_stack_push__extern"]
pub fn zend_ptr_stack_push(stack: *mut zend_ptr_stack, ptr: *mut ::std::os::raw::c_void);
#[link_name = "zend_ptr_stack_pop__extern"]
pub fn zend_ptr_stack_pop(stack: *mut zend_ptr_stack) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_ptr_stack_top__extern"]
pub fn zend_ptr_stack_top(stack: *mut zend_ptr_stack) -> *mut ::std::os::raw::c_void;
pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
pub fn zend_object_std_dtor(object: *mut zend_object);
pub fn zend_objects_destroy_object(object: *mut zend_object);
pub fn zend_objects_clone_obj(object: *mut zend_object) -> *mut zend_object;
pub fn zend_objects_clone_obj_with(
object: *mut zend_object,
scope: *const zend_class_entry,
properties: *const HashTable,
) -> *mut zend_object;
pub fn zend_object_dtor_dynamic_properties(object: *mut zend_object);
pub fn zend_object_dtor_property(object: *mut zend_object, p: *mut zval);
pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
pub fn zend_objects_store_free_object_storage(
objects: *mut zend_objects_store,
fast_shutdown: bool,
);
pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
pub fn zend_objects_store_put(object: *mut zend_object);
pub fn zend_objects_store_del(object: *mut zend_object);
#[link_name = "zend_object_store_ctor_failed__extern"]
pub fn zend_object_store_ctor_failed(obj: *mut zend_object);
#[link_name = "zend_object_release__extern"]
pub fn zend_object_release(obj: *mut zend_object);
#[link_name = "zend_object_properties_size__extern"]
pub fn zend_object_properties_size(ce: *mut zend_class_entry) -> usize;
#[link_name = "zend_object_alloc__extern"]
pub fn zend_object_alloc(
obj_size: usize,
ce: *mut zend_class_entry,
) -> *mut ::std::os::raw::c_void;
pub fn zend_get_property_info_for_slot_slow(
obj: *mut zend_object,
slot: *mut zval,
) -> *mut zend_property_info;
#[link_name = "zend_get_property_info_for_slot_self__extern"]
pub fn zend_get_property_info_for_slot_self(
obj: *mut zend_object,
slot: *mut zval,
) -> *mut zend_property_info;
#[link_name = "zend_get_property_info_for_slot__extern"]
pub fn zend_get_property_info_for_slot(
obj: *mut zend_object,
slot: *mut zval,
) -> *mut zend_property_info;
#[link_name = "zend_get_typed_property_info_for_slot__extern"]
pub fn zend_get_typed_property_info_for_slot(
obj: *mut zend_object,
slot: *mut zval,
) -> *mut zend_property_info;
#[link_name = "zend_check_method_accessible__extern"]
pub fn zend_check_method_accessible(
fn_: *const zend_function,
scope: *const zend_class_entry,
) -> bool;
pub fn zend_init_fpu();
pub fn zend_shutdown_fpu();
pub fn zend_ensure_fpu_mode();
pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
pub fn zend_multibyte_set_functions(functions: *const zend_multibyte_functions) -> zend_result;
pub fn zend_multibyte_restore_functions();
pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
pub fn zend_multibyte_fetch_encoding(
name: *const ::std::os::raw::c_char,
) -> *const zend_encoding;
pub fn zend_multibyte_get_encoding_name(
encoding: *const zend_encoding,
) -> *const ::std::os::raw::c_char;
pub fn zend_multibyte_check_lexer_compatibility(
encoding: *const zend_encoding,
) -> ::std::os::raw::c_int;
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;
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;
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;
pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
pub fn zend_multibyte_set_script_encoding(
encoding_list: *mut *const zend_encoding,
encoding_list_size: usize,
) -> zend_result;
pub fn zend_multibyte_set_internal_encoding(encoding: *const zend_encoding) -> zend_result;
pub fn zend_multibyte_set_script_encoding_by_string(
new_value: *const ::std::os::raw::c_char,
new_value_length: usize,
) -> zend_result;
#[link_name = "zend_arena_create__extern"]
pub fn zend_arena_create(size: usize) -> *mut zend_arena;
#[link_name = "zend_arena_destroy__extern"]
pub fn zend_arena_destroy(arena: *mut zend_arena);
#[link_name = "zend_arena_alloc__extern"]
pub fn zend_arena_alloc(
arena_ptr: *mut *mut zend_arena,
size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_arena_calloc__extern"]
pub fn zend_arena_calloc(
arena_ptr: *mut *mut zend_arena,
count: usize,
unit_size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_arena_checkpoint__extern"]
pub fn zend_arena_checkpoint(arena: *mut zend_arena) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_arena_release__extern"]
pub fn zend_arena_release(
arena_ptr: *mut *mut zend_arena,
checkpoint: *mut ::std::os::raw::c_void,
);
#[link_name = "zend_arena_contains__extern"]
pub fn zend_arena_contains(arena: *mut zend_arena, ptr: *mut ::std::os::raw::c_void) -> bool;
pub fn zend_call_stack_init();
pub fn zend_call_stack_get(stack: *mut zend_call_stack) -> bool;
#[doc = " Returns an approximation of the current stack position"]
#[link_name = "zend_call_stack_position__extern"]
pub fn zend_call_stack_position() -> *mut ::std::os::raw::c_void;
#[link_name = "zend_call_stack_overflowed__extern"]
pub fn zend_call_stack_overflowed(stack_limit: *mut ::std::os::raw::c_void) -> bool;
#[link_name = "zend_call_stack_limit__extern"]
pub fn zend_call_stack_limit(
base: *mut ::std::os::raw::c_void,
size: usize,
reserved_size: usize,
) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_call_stack_default_size__extern"]
pub fn zend_call_stack_default_size() -> usize;
pub fn init_compiler();
pub fn shutdown_compiler();
pub fn zend_init_compiler_data_structures();
pub fn zend_oparray_context_begin(
prev_context: *mut zend_oparray_context,
op_array: *mut zend_op_array,
);
pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
pub fn zend_file_context_end(prev_context: *mut zend_file_context);
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,
>;
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,
>;
pub fn lex_scan(
zendlval: *mut zval,
elem: *mut zend_parser_stack_elem,
) -> ::std::os::raw::c_int;
pub fn startup_scanner();
pub fn shutdown_scanner();
pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
pub fn zend_get_compiled_filename() -> *mut zend_string;
pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
pub fn zend_get_scanned_file_offset() -> usize;
pub fn zend_get_compiled_variable_name(
op_array: *const zend_op_array,
var: u32,
) -> *mut zend_string;
pub fn get_unary_op(opcode: ::std::os::raw::c_int) -> unary_op_type;
pub fn get_binary_op(opcode: ::std::os::raw::c_int) -> binary_op_type;
pub fn zend_stop_lexing();
pub fn zend_emit_final_return(return_one: bool);
pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
pub fn zend_negate_num_string(ast: *mut zend_ast) -> *mut zend_ast;
pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
pub fn zend_add_anonymous_class_modifier(flags: u32, new_flag: u32) -> u32;
pub fn zend_add_member_modifier(
flags: u32,
new_flag: u32,
target: zend_modifier_target::Type,
) -> u32;
pub fn zend_modifier_token_to_flag(target: zend_modifier_target::Type, flags: u32) -> u32;
pub fn zend_modifier_list_to_flags(
target: zend_modifier_target::Type,
modifiers: *mut zend_ast,
) -> u32;
pub fn zend_handle_encoding_declaration(ast: *mut zend_ast) -> bool;
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;
pub fn do_bind_function(func: *mut zend_function, lcname: *mut zval) -> zend_result;
pub fn do_bind_class(lcname: *mut zval, lc_parent_name: *mut zend_string) -> zend_result;
pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
pub fn function_add_ref(function: *mut zend_function);
pub fn zval_make_interned_string(zv: *mut zval) -> *mut zend_string;
pub fn compile_file(
file_handle: *mut zend_file_handle,
type_: ::std::os::raw::c_int,
) -> *mut zend_op_array;
pub fn compile_string(
source_string: *mut zend_string,
filename: *const ::std::os::raw::c_char,
position: zend_compile_position,
) -> *mut zend_op_array;
pub fn compile_filename(
type_: ::std::os::raw::c_int,
filename: *mut zend_string,
) -> *mut zend_op_array;
pub fn zend_compile_string_to_ast(
code: *mut zend_string,
ast_arena: *mut *mut _zend_arena,
filename: *mut zend_string,
) -> *mut zend_ast;
pub fn zend_execute_scripts(
type_: ::std::os::raw::c_int,
retval: *mut zval,
file_count: ::std::os::raw::c_int,
...
) -> zend_result;
pub fn zend_execute_script(
type_: ::std::os::raw::c_int,
retval: *mut zval,
file_handle: *mut zend_file_handle,
) -> zend_result;
pub fn open_file_for_scanning(file_handle: *mut zend_file_handle) -> zend_result;
pub fn init_op_array(
op_array: *mut zend_op_array,
type_: u8,
initial_ops_size: ::std::os::raw::c_int,
);
pub fn destroy_op_array(op_array: *mut zend_op_array);
pub fn zend_destroy_static_vars(op_array: *mut zend_op_array);
pub fn zend_cleanup_mutable_class_data(ce: *mut zend_class_entry);
pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
pub fn zend_type_release(type_: zend_type, persistent: bool);
pub fn zend_create_member_string(
class_name: *mut zend_string,
member_name: *mut zend_string,
) -> *mut zend_string;
pub fn zend_user_exception_handler();
pub fn zend_free_internal_arg_info(function: *mut zend_internal_function);
pub fn destroy_zend_function(function: *mut zend_function);
pub fn zend_function_dtor(zv: *mut zval);
pub fn destroy_zend_class(zv: *mut zval);
pub fn zend_class_add_ref(zv: *mut zval);
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;
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;
#[link_name = "zend_get_unmangled_property_name__extern"]
pub fn zend_get_unmangled_property_name(
mangled_prop: *const zend_string,
) -> *const ::std::os::raw::c_char;
pub fn zend_recalc_live_ranges(
op_array: *mut zend_op_array,
needs_live_range: zend_needs_live_range_cb,
);
pub fn pass_two(op_array: *mut zend_op_array);
pub fn zend_is_compiling() -> bool;
pub fn zend_make_compiled_string_description(
name: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: bool);
pub fn zend_get_class_fetch_type(name: *const zend_string) -> u32;
pub fn zend_get_call_op(
init_op: *const zend_op,
fbc: *mut zend_function,
result_used: bool,
) -> u8;
pub fn zend_is_smart_branch(opline: *const zend_op) -> bool;
pub fn zend_register_auto_global(
name: *mut zend_string,
jit: bool,
auto_global_callback: zend_auto_global_callback,
) -> zend_result;
pub fn zend_activate_auto_globals();
pub fn zend_is_auto_global(name: *mut zend_string) -> bool;
pub fn zend_is_auto_global_str(name: *const ::std::os::raw::c_char, len: usize) -> bool;
pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: usize) -> usize;
pub fn zend_set_function_arg_flags(func: *mut zend_function);
pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
pub fn zend_assert_valid_class_name(
const_name: *const zend_string,
type_: *const ::std::os::raw::c_char,
);
pub fn zend_type_to_string_resolved(
type_: zend_type,
scope: *mut zend_class_entry,
) -> *mut zend_string;
pub fn zend_type_to_string(type_: zend_type) -> *mut zend_string;
#[link_name = "zend_check_arg_send_type__extern"]
pub fn zend_check_arg_send_type(zf: *const zend_function, arg_num: u32, mask: u32) -> bool;
pub fn zend_is_op_long_compatible(op: *const zval) -> bool;
pub fn zend_binary_op_produces_error(opcode: u32, op1: *const zval, op2: *const zval) -> bool;
pub fn zend_unary_op_produces_error(opcode: u32, op: *const zval) -> bool;
pub fn zend_try_ct_eval_cast(result: *mut zval, type_: u32, op1: *mut zval) -> bool;
pub static mut module_registry: HashTable;
pub fn module_destructor(module: *mut zend_module_entry);
pub fn module_registry_request_startup(module: *mut zend_module_entry)
-> ::std::os::raw::c_int;
pub fn module_registry_unload(module: *const zend_module_entry);
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;
pub fn list_entry_destructor(ptr: *mut zval);
pub fn plist_entry_destructor(ptr: *mut zval);
pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
pub fn zend_init_rsrc_list();
pub fn zend_init_rsrc_plist();
pub fn zend_close_rsrc_list(ht: *mut HashTable);
pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
pub fn zend_init_rsrc_list_dtors();
pub fn zend_destroy_rsrc_list_dtors();
pub fn zend_list_insert(
ptr: *mut ::std::os::raw::c_void,
type_: ::std::os::raw::c_int,
) -> *mut zval;
pub fn zend_list_free(res: *mut zend_resource);
pub fn zend_list_delete(res: *mut zend_resource) -> zend_result;
pub fn zend_list_close(res: *mut zend_resource);
pub fn zend_register_resource(
rsrc_pointer: *mut ::std::os::raw::c_void,
rsrc_type: ::std::os::raw::c_int,
) -> *mut zend_resource;
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;
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;
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;
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;
pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
pub fn zend_fetch_list_dtor_id(
type_name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
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;
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;
pub static mut le_index_ptr: ::std::os::raw::c_int;
pub fn clean_module_constants(module_number: ::std::os::raw::c_int);
pub fn free_zend_constant(zv: *mut zval);
pub fn zend_startup_constants();
pub fn zend_register_standard_constants();
pub fn zend_verify_const_access(c: *mut zend_class_constant, ce: *mut zend_class_entry)
-> bool;
pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
pub fn zend_get_constant_ptr(name: *mut zend_string) -> *mut zend_constant;
pub fn zend_get_constant_str(name: *const ::std::os::raw::c_char, name_len: usize)
-> *mut zval;
pub fn zend_get_constant_ex(
name: *mut zend_string,
scope: *mut zend_class_entry,
flags: u32,
) -> *mut zval;
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;
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;
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;
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;
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;
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;
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;
pub fn zend_register_constant(c: *mut zend_constant) -> *mut zend_constant;
pub fn zend_constant_add_attributes(c: *mut zend_constant, attributes: *mut HashTable);
pub fn _zend_get_special_const(
name: *const ::std::os::raw::c_char,
name_len: usize,
) -> *mut zend_constant;
#[link_name = "zend_get_special_const__extern"]
pub fn zend_get_special_const(
name: *const ::std::os::raw::c_char,
name_len: usize,
) -> *mut zend_constant;
pub static mut zend_execute_ex:
::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
pub static mut zend_execute_internal: ::std::option::Option<
unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
>;
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,
>;
pub fn init_executor();
pub fn shutdown_executor();
pub fn shutdown_destructors();
pub fn zend_shutdown_executor_values(fast_shutdown: bool);
pub fn zend_init_execute_data(
execute_data: *mut zend_execute_data,
op_array: *mut zend_op_array,
return_value: *mut zval,
);
pub fn zend_init_func_execute_data(
execute_data: *mut zend_execute_data,
op_array: *mut zend_op_array,
return_value: *mut zval,
);
pub fn zend_init_code_execute_data(
execute_data: *mut zend_execute_data,
op_array: *mut zend_op_array,
return_value: *mut zval,
);
pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
pub fn execute_ex(execute_data: *mut zend_execute_data);
pub fn execute_internal(execute_data: *mut zend_execute_data, return_value: *mut zval);
pub fn zend_is_valid_class_name(name: *mut zend_string) -> bool;
pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
pub fn zend_lookup_class_ex(
name: *mut zend_string,
lcname: *mut zend_string,
flags: u32,
) -> *mut zend_class_entry;
pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
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;
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;
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;
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;
pub static zend_pass_function: zend_internal_function;
pub fn zend_missing_arg_error(execute_data: *const zend_execute_data);
pub fn zend_deprecated_function(fbc: *const zend_function);
pub fn zend_nodiscard_function(fbc: *const zend_function);
pub fn zend_deprecated_class_constant(
c: *const zend_class_constant,
constant_name: *const zend_string,
);
pub fn zend_deprecated_constant(c: *const zend_constant, constant_name: *const zend_string);
pub fn zend_use_of_deprecated_trait(trait_: *mut zend_class_entry, used_by: *const zend_string);
pub fn zend_false_to_array_deprecated();
pub fn zend_param_must_be_ref(func: *const zend_function, arg_num: u32);
pub fn zend_use_resource_as_offset(dim: *const zval);
pub fn zend_call_stack_size_error();
pub fn zend_verify_ref_assignable_zval(
ref_: *mut zend_reference,
zv: *mut zval,
strict: bool,
) -> bool;
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::Type,
) -> bool;
pub fn zend_verify_prop_assignable_by_ref(
prop_info: *const zend_property_info,
orig_val: *mut zval,
strict: bool,
) -> bool;
pub fn zend_throw_ref_type_error_zval(prop: *const zend_property_info, zv: *const zval);
pub fn zend_throw_ref_type_error_type(
prop1: *const zend_property_info,
prop2: *const zend_property_info,
zv: *const zval,
);
pub fn zend_undefined_offset_write(ht: *mut HashTable, lval: zend_long) -> *mut zval;
pub fn zend_undefined_index_write(ht: *mut HashTable, offset: *mut zend_string) -> *mut zval;
pub fn zend_wrong_string_offset_error();
pub fn zend_readonly_property_modification_error(info: *const zend_property_info);
pub fn zend_readonly_property_modification_error_ex(
class_name: *const ::std::os::raw::c_char,
prop_name: *const ::std::os::raw::c_char,
);
pub fn zend_readonly_property_indirect_modification_error(info: *const zend_property_info);
pub fn zend_invalid_class_constant_type_error(type_: u8);
pub fn zend_object_released_while_assigning_to_property_error(info: *const zend_property_info);
pub fn zend_cannot_add_element();
pub fn zend_asymmetric_visibility_property_modification_error(
prop_info: *const zend_property_info,
operation: *const ::std::os::raw::c_char,
);
pub fn zend_verify_scalar_type_hint(
type_mask: u32,
arg: *mut zval,
strict: bool,
is_internal_arg: bool,
) -> bool;
pub fn zend_verify_arg_error(
zf: *const zend_function,
arg_info: *const zend_arg_info,
arg_num: u32,
value: *const zval,
);
pub fn zend_verify_return_error(zf: *const zend_function, value: *const zval);
pub fn zend_verify_never_error(zf: *const zend_function);
pub fn zend_verify_ref_array_assignable(ref_: *mut zend_reference) -> bool;
pub fn zend_check_user_type_slow(
type_: *const zend_type,
arg: *mut zval,
ref_: *const zend_reference,
is_return_type: bool,
) -> bool;
pub fn zend_internal_call_should_throw(
fbc: *const zend_function,
call: *mut zend_execute_data,
) -> bool;
pub fn zend_internal_call_arginfo_violation(fbc: *const zend_function);
pub fn zend_verify_internal_return_type(zf: *const zend_function, ret: *mut zval) -> bool;
pub fn zend_ref_add_type_source(
source_list: *mut zend_property_info_source_list,
prop: *mut zend_property_info,
);
pub fn zend_ref_del_type_source(
source_list: *mut zend_property_info_source_list,
prop: *const zend_property_info,
);
pub fn zend_assign_to_typed_ref(
variable_ptr: *mut zval,
value: *mut zval,
value_type: u8,
strict: bool,
) -> *mut zval;
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;
#[link_name = "zend_copy_to_variable__extern"]
pub fn zend_copy_to_variable(variable_ptr: *mut zval, value: *mut zval, value_type: u8);
#[link_name = "zend_assign_to_variable__extern"]
pub fn zend_assign_to_variable(
variable_ptr: *mut zval,
value: *mut zval,
value_type: u8,
strict: bool,
) -> *mut zval;
#[link_name = "zend_assign_to_variable_ex__extern"]
pub fn zend_assign_to_variable_ex(
variable_ptr: *mut zval,
value: *mut zval,
value_type: zend_uchar,
strict: bool,
garbage_ptr: *mut *mut zend_refcounted,
) -> *mut zval;
#[link_name = "zend_safe_assign_to_variable_noref__extern"]
pub fn zend_safe_assign_to_variable_noref(variable_ptr: *mut zval, value: *mut zval);
#[link_name = "zend_cast_zval_to_object__extern"]
pub fn zend_cast_zval_to_object(result: *mut zval, expr: *mut zval, op1_type: u8);
#[link_name = "zend_cast_zval_to_array__extern"]
pub fn zend_cast_zval_to_array(result: *mut zval, expr: *mut zval, op1_type: u8);
pub fn zval_update_constant(pp: *mut zval) -> zend_result;
pub fn zval_update_constant_ex(pp: *mut zval, scope: *mut zend_class_entry) -> zend_result;
pub fn zval_update_constant_with_ctx(
pp: *mut zval,
scope: *mut zend_class_entry,
ctx: *mut zend_ast_evaluate_ctx,
) -> zend_result;
pub fn zend_vm_stack_init();
pub fn zend_vm_stack_init_ex(page_size: usize);
pub fn zend_vm_stack_destroy();
pub fn zend_vm_stack_extend(size: usize) -> *mut ::std::os::raw::c_void;
#[link_name = "zend_vm_stack_new_page__extern"]
pub fn zend_vm_stack_new_page(size: usize, prev: zend_vm_stack) -> zend_vm_stack;
#[link_name = "zend_vm_init_call_frame__extern"]
pub fn zend_vm_init_call_frame(
call: *mut zend_execute_data,
call_info: u32,
func: *mut zend_function,
num_args: u32,
object_or_called_scope: *mut ::std::os::raw::c_void,
);
#[link_name = "zend_vm_stack_push_call_frame_ex__extern"]
pub fn zend_vm_stack_push_call_frame_ex(
used_stack: u32,
call_info: u32,
func: *mut zend_function,
num_args: u32,
object_or_called_scope: *mut ::std::os::raw::c_void,
) -> *mut zend_execute_data;
#[link_name = "zend_vm_calc_used_stack__extern"]
pub fn zend_vm_calc_used_stack(num_args: u32, func: *mut zend_function) -> u32;
#[link_name = "zend_vm_stack_push_call_frame__extern"]
pub fn zend_vm_stack_push_call_frame(
call_info: u32,
func: *mut zend_function,
num_args: u32,
object_or_called_scope: *mut ::std::os::raw::c_void,
) -> *mut zend_execute_data;
#[link_name = "zend_vm_stack_free_extra_args_ex__extern"]
pub fn zend_vm_stack_free_extra_args_ex(call_info: u32, call: *mut zend_execute_data);
#[link_name = "zend_vm_stack_free_extra_args__extern"]
pub fn zend_vm_stack_free_extra_args(call: *mut zend_execute_data);
#[link_name = "zend_vm_stack_free_args__extern"]
pub fn zend_vm_stack_free_args(call: *mut zend_execute_data);
#[link_name = "zend_vm_stack_free_call_frame_ex__extern"]
pub fn zend_vm_stack_free_call_frame_ex(call_info: u32, call: *mut zend_execute_data);
#[link_name = "zend_vm_stack_free_call_frame__extern"]
pub fn zend_vm_stack_free_call_frame(call: *mut zend_execute_data);
pub fn zend_vm_stack_copy_call_frame(
call: *mut zend_execute_data,
passed_args: u32,
additional_args: u32,
) -> *mut zend_execute_data;
#[link_name = "zend_vm_stack_extend_call_frame__extern"]
pub fn zend_vm_stack_extend_call_frame(
call: *mut *mut zend_execute_data,
passed_args: u32,
additional_args: u32,
);
pub fn zend_free_extra_named_params(extra_named_params: *mut zend_array);
pub fn get_active_class_name(
space: *mut *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
pub fn get_active_function_name() -> *const ::std::os::raw::c_char;
pub fn get_active_function_arg_name(arg_num: u32) -> *const ::std::os::raw::c_char;
pub fn get_function_arg_name(
func: *const zend_function,
arg_num: u32,
) -> *const ::std::os::raw::c_char;
pub fn zend_active_function_ex(execute_data: *mut zend_execute_data) -> *mut zend_function;
#[link_name = "zend_active_function__extern"]
pub fn zend_active_function() -> *mut zend_function;
pub fn get_active_function_or_method_name() -> *mut zend_string;
pub fn get_function_or_method_name(func: *const zend_function) -> *mut zend_string;
pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
pub fn zend_get_executed_filename_ex() -> *mut zend_string;
pub fn zend_get_executed_lineno() -> u32;
pub fn zend_get_executed_scope() -> *mut zend_class_entry;
pub fn zend_is_executing() -> bool;
pub fn zend_cannot_pass_by_reference(arg_num: u32);
pub fn zend_set_timeout(seconds: zend_long, reset_signals: bool);
pub fn zend_unset_timeout();
pub fn zend_timeout() -> !;
pub fn zend_fetch_class(class_name: *mut zend_string, fetch_type: u32)
-> *mut zend_class_entry;
pub fn zend_fetch_class_with_scope(
class_name: *mut zend_string,
fetch_type: u32,
scope: *mut zend_class_entry,
) -> *mut zend_class_entry;
pub fn zend_fetch_class_by_name(
class_name: *mut zend_string,
lcname: *mut zend_string,
fetch_type: u32,
) -> *mut zend_class_entry;
pub fn zend_fetch_function(name: *mut zend_string) -> *mut zend_function;
pub fn zend_fetch_function_str(
name: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zend_function;
pub fn zend_init_func_run_time_cache(op_array: *mut zend_op_array);
pub fn zend_fetch_dimension_const(
result: *mut zval,
container: *mut zval,
dim: *mut zval,
type_: ::std::os::raw::c_int,
);
pub fn zend_get_compiled_variable_value(
execute_data_ptr: *const zend_execute_data,
var: u32,
) -> *mut zval;
pub fn zend_gcc_global_regs() -> bool;
pub fn zend_set_user_opcode_handler(opcode: u8, handler: user_opcode_handler_t) -> zend_result;
pub fn zend_get_user_opcode_handler(opcode: u8) -> user_opcode_handler_t;
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;
pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
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,
);
pub fn zend_cleanup_unfinished_execution(
execute_data: *mut zend_execute_data,
op_num: u32,
catch_op_num: u32,
);
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;
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;
pub fn zend_fetch_static_property(
ex: *mut zend_execute_data,
fetch_type: ::std::os::raw::c_int,
) -> *mut zval;
pub fn zend_undefined_method(ce: *const zend_class_entry, method: *const zend_string);
pub fn zend_non_static_method_call(fbc: *const zend_function);
pub fn zend_frameless_observed_call(execute_data: *mut zend_execute_data);
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;
pub fn zend_handle_undef_args(call: *mut zend_execute_data) -> zend_result;
pub fn zend_verify_class_constant_type(
c: *const zend_class_constant,
name: *const zend_string,
constant: *mut zval,
) -> bool;
pub fn zend_verify_class_constant_type_error(
c: *const zend_class_constant,
name: *const zend_string,
constant: *const zval,
);
pub fn zend_verify_property_type(
info: *const zend_property_info,
property: *mut zval,
strict: bool,
) -> bool;
pub fn zend_verify_property_type_error(info: *const zend_property_info, property: *const zval);
pub fn zend_magic_get_property_type_inconsistency_error(
info: *const zend_property_info,
property: *const zval,
);
pub fn zend_match_unhandled_error(value: *const zval);
pub fn zend_fcall_interrupt(call: *mut zend_execute_data);
#[link_name = "zend_get_bad_ptr__extern"]
pub fn zend_get_bad_ptr() -> *mut ::std::os::raw::c_void;
pub fn zend_next_free_module() -> ::std::os::raw::c_int;
pub fn zend_set_dl_use_deepbind(use_deepbind: bool);
pub fn zend_get_parameters_array_ex(param_count: u32, argument_array: *mut zval)
-> zend_result;
pub fn zend_copy_parameters_array(param_count: u32, argument_array: *mut zval) -> zend_result;
pub fn zend_parse_parameters(
num_args: u32,
type_spec: *const ::std::os::raw::c_char,
...
) -> zend_result;
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;
pub fn zend_zval_type_name(arg: *const zval) -> *const ::std::os::raw::c_char;
pub fn zend_zval_value_name(arg: *const zval) -> *const ::std::os::raw::c_char;
pub fn zend_zval_get_legacy_type(arg: *const zval) -> *mut zend_string;
pub fn zend_parse_method_parameters(
num_args: u32,
this_ptr: *mut zval,
type_spec: *const ::std::os::raw::c_char,
...
) -> zend_result;
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;
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;
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;
pub fn zend_unregister_functions(
functions: *const zend_function_entry,
count: ::std::os::raw::c_int,
function_table: *mut HashTable,
);
pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> zend_result;
pub fn zend_register_internal_module(
module_entry: *mut zend_module_entry,
) -> *mut zend_module_entry;
pub fn zend_register_module_ex(
module: *mut zend_module_entry,
module_type: ::std::os::raw::c_int,
) -> *mut zend_module_entry;
pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> zend_result;
pub fn zend_startup_modules();
pub fn zend_collect_module_handlers();
pub fn zend_destroy_modules();
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,
);
pub fn zend_add_magic_method(
ce: *mut zend_class_entry,
fptr: *mut zend_function,
lcname: *mut zend_string,
);
pub fn zend_register_internal_class(
class_entry: *mut zend_class_entry,
) -> *mut zend_class_entry;
pub fn zend_register_internal_class_ex(
class_entry: *mut zend_class_entry,
parent_ce: *mut zend_class_entry,
) -> *mut zend_class_entry;
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;
pub fn zend_register_internal_interface(
orig_class_entry: *mut zend_class_entry,
) -> *mut zend_class_entry;
pub fn zend_class_implements(
class_entry: *mut zend_class_entry,
num_interfaces: ::std::os::raw::c_int,
...
);
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;
#[link_name = "zend_register_class_alias__extern"]
pub fn zend_register_class_alias(
name: *const ::std::os::raw::c_char,
ce: *mut zend_class_entry,
) -> zend_result;
pub fn zend_disable_functions(function_list: *const ::std::os::raw::c_char);
pub fn zend_wrong_param_count();
pub fn zend_wrong_property_read(object: *mut zval, property: *mut zval);
pub fn zend_release_fcall_info_cache(fcc: *mut zend_fcall_info_cache);
pub fn zend_get_callable_name_ex(
callable: *mut zval,
object: *mut zend_object,
) -> *mut zend_string;
pub fn zend_get_callable_name(callable: *mut zval) -> *mut zend_string;
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;
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;
pub fn zend_is_callable(
callable: *mut zval,
check_flags: u32,
callable_name: *mut *mut zend_string,
) -> bool;
pub fn zend_make_callable(callable: *mut zval, callable_name: *mut *mut zend_string) -> bool;
pub fn zend_get_module_version(
module_name: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
pub fn zend_get_module_started(module_name: *const ::std::os::raw::c_char) -> zend_result;
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;
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,
);
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,
);
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,
);
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,
);
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,
);
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,
);
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,
);
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,
);
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;
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;
pub fn zend_declare_class_constant(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *mut zval,
);
pub fn zend_declare_class_constant_null(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
);
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,
);
pub fn zend_declare_class_constant_bool(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: bool,
);
pub fn zend_declare_class_constant_double(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: f64,
);
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,
);
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,
);
pub fn zend_update_class_constant(
c: *mut zend_class_constant,
name: *const zend_string,
scope: *mut zend_class_entry,
) -> zend_result;
pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> zend_result;
pub fn zend_separate_class_constants_table(class_type: *mut zend_class_entry)
-> *mut HashTable;
#[link_name = "zend_class_constants_table__extern"]
pub fn zend_class_constants_table(ce: *mut zend_class_entry) -> *mut HashTable;
#[link_name = "zend_class_default_properties_table__extern"]
pub fn zend_class_default_properties_table(ce: *mut zend_class_entry) -> *mut zval;
#[link_name = "zend_class_set_backed_enum_table__extern"]
pub fn zend_class_set_backed_enum_table(
ce: *mut zend_class_entry,
backed_enum_table: *mut HashTable,
);
#[link_name = "zend_class_backed_enum_table__extern"]
pub fn zend_class_backed_enum_table(ce: *mut zend_class_entry) -> *mut HashTable;
pub fn zend_update_property_ex(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *mut zend_string,
value: *mut zval,
);
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,
);
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,
);
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,
);
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,
);
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,
);
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,
);
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,
);
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,
);
pub fn zend_unset_property(
scope: *const zend_class_entry,
object: *mut zend_object,
name: *const ::std::os::raw::c_char,
name_length: usize,
);
pub fn zend_update_static_property_ex(
scope: *mut zend_class_entry,
name: *mut zend_string,
value: *mut zval,
) -> zend_result;
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;
pub fn zend_update_static_property_null(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
) -> zend_result;
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;
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;
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;
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;
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;
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;
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;
pub fn zend_read_static_property_ex(
scope: *mut zend_class_entry,
name: *mut zend_string,
silent: bool,
) -> *mut zval;
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;
pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
pub fn object_init(arg: *mut zval);
pub fn object_init_ex(arg: *mut zval, ce: *mut zend_class_entry) -> zend_result;
pub fn object_init_with_constructor(
arg: *mut zval,
class_type: *mut zend_class_entry,
param_count: u32,
params: *mut zval,
named_params: *mut HashTable,
) -> zend_result;
pub fn object_and_properties_init(
arg: *mut zval,
ce: *mut zend_class_entry,
properties: *mut HashTable,
) -> zend_result;
pub fn object_properties_init(object: *mut zend_object, class_type: *mut zend_class_entry);
pub fn object_properties_init_ex(object: *mut zend_object, properties: *mut HashTable);
pub fn object_properties_load(object: *mut zend_object, properties: *mut HashTable);
pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
pub fn add_assoc_long_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
n: zend_long,
);
pub fn add_assoc_null_ex(arg: *mut zval, key: *const ::std::os::raw::c_char, key_len: usize);
pub fn add_assoc_bool_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
b: bool,
);
pub fn add_assoc_resource_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
r: *mut zend_resource,
);
pub fn add_assoc_double_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
d: f64,
);
pub fn add_assoc_str_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str_: *mut zend_string,
);
pub fn add_assoc_string_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str_: *const ::std::os::raw::c_char,
);
pub fn add_assoc_stringl_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str_: *const ::std::os::raw::c_char,
length: usize,
);
pub fn add_assoc_array_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
arr: *mut zend_array,
);
pub fn add_assoc_object_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
obj: *mut zend_object,
);
pub fn add_assoc_reference_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
ref_: *mut zend_reference,
);
pub fn add_assoc_zval_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
value: *mut zval,
);
#[link_name = "add_assoc_long__extern"]
pub fn add_assoc_long(arg: *mut zval, key: *const ::std::os::raw::c_char, n: zend_long);
#[link_name = "add_assoc_null__extern"]
pub fn add_assoc_null(arg: *mut zval, key: *const ::std::os::raw::c_char);
#[link_name = "add_assoc_bool__extern"]
pub fn add_assoc_bool(arg: *mut zval, key: *const ::std::os::raw::c_char, b: bool);
#[link_name = "add_assoc_resource__extern"]
pub fn add_assoc_resource(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
r: *mut zend_resource,
);
#[link_name = "add_assoc_double__extern"]
pub fn add_assoc_double(arg: *mut zval, key: *const ::std::os::raw::c_char, d: f64);
#[link_name = "add_assoc_str__extern"]
pub fn add_assoc_str(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
str_: *mut zend_string,
);
#[link_name = "add_assoc_string__extern"]
pub fn add_assoc_string(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
str_: *const ::std::os::raw::c_char,
);
#[link_name = "add_assoc_stringl__extern"]
pub fn add_assoc_stringl(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
str_: *const ::std::os::raw::c_char,
length: usize,
);
#[link_name = "add_assoc_array__extern"]
pub fn add_assoc_array(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
arr: *mut zend_array,
);
#[link_name = "add_assoc_object__extern"]
pub fn add_assoc_object(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
obj: *mut zend_object,
);
#[link_name = "add_assoc_reference__extern"]
pub fn add_assoc_reference(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
ref_: *mut zend_reference,
);
#[link_name = "add_assoc_zval__extern"]
pub fn add_assoc_zval(arg: *mut zval, key: *const ::std::os::raw::c_char, value: *mut zval);
pub fn add_index_long(arg: *mut zval, index: zend_ulong, n: zend_long);
pub fn add_index_null(arg: *mut zval, index: zend_ulong);
pub fn add_index_bool(arg: *mut zval, index: zend_ulong, b: bool);
pub fn add_index_resource(arg: *mut zval, index: zend_ulong, r: *mut zend_resource);
pub fn add_index_double(arg: *mut zval, index: zend_ulong, d: f64);
pub fn add_index_str(arg: *mut zval, index: zend_ulong, str_: *mut zend_string);
pub fn add_index_string(arg: *mut zval, index: zend_ulong, str_: *const ::std::os::raw::c_char);
pub fn add_index_stringl(
arg: *mut zval,
index: zend_ulong,
str_: *const ::std::os::raw::c_char,
length: usize,
);
pub fn add_index_array(arg: *mut zval, index: zend_ulong, arr: *mut zend_array);
pub fn add_index_object(arg: *mut zval, index: zend_ulong, obj: *mut zend_object);
pub fn add_index_reference(arg: *mut zval, index: zend_ulong, ref_: *mut zend_reference);
#[link_name = "add_index_zval__extern"]
pub fn add_index_zval(arg: *mut zval, index: zend_ulong, value: *mut zval) -> zend_result;
pub fn add_next_index_long(arg: *mut zval, n: zend_long) -> zend_result;
pub fn add_next_index_null(arg: *mut zval) -> zend_result;
pub fn add_next_index_bool(arg: *mut zval, b: bool) -> zend_result;
pub fn add_next_index_resource(arg: *mut zval, r: *mut zend_resource) -> zend_result;
pub fn add_next_index_double(arg: *mut zval, d: f64) -> zend_result;
pub fn add_next_index_str(arg: *mut zval, str_: *mut zend_string) -> zend_result;
pub fn add_next_index_string(
arg: *mut zval,
str_: *const ::std::os::raw::c_char,
) -> zend_result;
pub fn add_next_index_stringl(
arg: *mut zval,
str_: *const ::std::os::raw::c_char,
length: usize,
) -> zend_result;
pub fn add_next_index_array(arg: *mut zval, arr: *mut zend_array) -> zend_result;
pub fn add_next_index_object(arg: *mut zval, obj: *mut zend_object) -> zend_result;
pub fn add_next_index_reference(arg: *mut zval, ref_: *mut zend_reference) -> zend_result;
#[link_name = "add_next_index_zval__extern"]
pub fn add_next_index_zval(arg: *mut zval, value: *mut zval) -> zend_result;
pub fn array_set_zval_key(ht: *mut HashTable, key: *mut zval, value: *mut zval) -> zend_result;
pub fn add_property_long_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
l: zend_long,
);
pub fn add_property_null_ex(arg: *mut zval, key: *const ::std::os::raw::c_char, key_len: usize);
pub fn add_property_bool_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
b: zend_long,
);
pub fn add_property_resource_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
r: *mut zend_resource,
);
pub fn add_property_double_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
d: f64,
);
pub fn add_property_str_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str_: *mut zend_string,
);
pub fn add_property_string_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str_: *const ::std::os::raw::c_char,
);
pub fn add_property_stringl_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str_: *const ::std::os::raw::c_char,
length: usize,
);
pub fn add_property_array_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
arr: *mut zend_array,
);
pub fn add_property_object_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
obj: *mut zend_object,
);
pub fn add_property_reference_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
ref_: *mut zend_reference,
);
pub fn add_property_zval_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
value: *mut zval,
);
#[link_name = "add_property_long__extern"]
pub fn add_property_long(arg: *mut zval, key: *const ::std::os::raw::c_char, n: zend_long);
#[link_name = "add_property_null__extern"]
pub fn add_property_null(arg: *mut zval, key: *const ::std::os::raw::c_char);
#[link_name = "add_property_bool__extern"]
pub fn add_property_bool(arg: *mut zval, key: *const ::std::os::raw::c_char, b: bool);
#[link_name = "add_property_resource__extern"]
pub fn add_property_resource(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
r: *mut zend_resource,
);
#[link_name = "add_property_double__extern"]
pub fn add_property_double(arg: *mut zval, key: *const ::std::os::raw::c_char, d: f64);
#[link_name = "add_property_str__extern"]
pub fn add_property_str(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
str_: *mut zend_string,
);
#[link_name = "add_property_string__extern"]
pub fn add_property_string(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
str_: *const ::std::os::raw::c_char,
);
#[link_name = "add_property_stringl__extern"]
pub fn add_property_stringl(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
str_: *const ::std::os::raw::c_char,
length: usize,
);
#[link_name = "add_property_array__extern"]
pub fn add_property_array(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
arr: *mut zend_array,
);
#[link_name = "add_property_object__extern"]
pub fn add_property_object(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
obj: *mut zend_object,
);
#[link_name = "add_property_reference__extern"]
pub fn add_property_reference(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
ref_: *mut zend_reference,
);
#[link_name = "add_property_zval__extern"]
pub fn add_property_zval(arg: *mut zval, key: *const ::std::os::raw::c_char, value: *mut zval);
pub fn _call_user_function_impl(
object: *mut zval,
function_name: *mut zval,
retval_ptr: *mut zval,
param_count: u32,
params: *mut zval,
named_params: *mut HashTable,
) -> zend_result;
#[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;
#[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);
#[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,
);
#[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,
);
#[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;
pub fn zend_fcall_info_args_ex(
fci: *mut zend_fcall_info,
func: *mut zend_function,
args: *mut zval,
) -> zend_result;
#[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);
#[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);
#[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, ...);
#[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;
#[link_name = "zend_fcc_equals__extern"]
pub fn zend_fcc_equals(
a: *const zend_fcall_info_cache,
b: *const zend_fcall_info_cache,
) -> bool;
#[link_name = "zend_fcc_addref__extern"]
pub fn zend_fcc_addref(fcc: *mut zend_fcall_info_cache);
#[link_name = "zend_fcc_dup__extern"]
pub fn zend_fcc_dup(dest: *mut zend_fcall_info_cache, src: *const zend_fcall_info_cache);
#[link_name = "zend_fcc_dtor__extern"]
pub fn zend_fcc_dtor(fcc: *mut zend_fcall_info_cache);
pub fn zend_get_callable_zval_from_fcc(fcc: *const zend_fcall_info_cache, callable: *mut zval);
#[link_name = "zend_get_gc_buffer_add_fcc__extern"]
pub fn zend_get_gc_buffer_add_fcc(
gc_buffer: *mut zend_get_gc_buffer,
fcc: *mut zend_fcall_info_cache,
);
pub fn zend_call_function(
fci: *mut zend_fcall_info,
fci_cache: *mut zend_fcall_info_cache,
) -> zend_result;
#[link_name = "zend_call_function_with_return_value__extern"]
pub fn zend_call_function_with_return_value(
fci: *mut zend_fcall_info,
fci_cache: *mut zend_fcall_info_cache,
retval: *mut zval,
) -> zend_result;
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,
);
#[link_name = "zend_call_known_fcc__extern"]
pub fn zend_call_known_fcc(
fcc: *const zend_fcall_info_cache,
retval_ptr: *mut zval,
param_count: u32,
params: *mut zval,
named_params: *mut HashTable,
);
#[link_name = "zend_call_known_instance_method__extern"]
pub fn zend_call_known_instance_method(
fn_: *mut zend_function,
object: *mut zend_object,
retval_ptr: *mut zval,
param_count: u32,
params: *mut zval,
);
#[link_name = "zend_call_known_instance_method_with_0_params__extern"]
pub fn zend_call_known_instance_method_with_0_params(
fn_: *mut zend_function,
object: *mut zend_object,
retval_ptr: *mut zval,
);
#[link_name = "zend_call_known_instance_method_with_1_params__extern"]
pub fn zend_call_known_instance_method_with_1_params(
fn_: *mut zend_function,
object: *mut zend_object,
retval_ptr: *mut zval,
param: *mut zval,
);
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,
);
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;
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;
pub fn zend_delete_global_variable(name: *mut zend_string) -> zend_result;
pub fn zend_rebuild_symbol_table() -> *mut zend_array;
pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
pub fn zend_set_local_var(name: *mut zend_string, value: *mut zval, force: bool)
-> zend_result;
pub fn zend_set_local_var_str(
name: *const ::std::os::raw::c_char,
len: usize,
value: *mut zval,
force: bool,
) -> zend_result;
#[link_name = "zend_forbid_dynamic_call__extern"]
pub fn zend_forbid_dynamic_call() -> zend_result;
pub fn zend_get_object_type_case(
ce: *const zend_class_entry,
upper_case: bool,
) -> *const ::std::os::raw::c_char;
#[link_name = "zend_get_object_type__extern"]
pub fn zend_get_object_type(ce: *const zend_class_entry) -> *const ::std::os::raw::c_char;
#[link_name = "zend_get_object_type_uc__extern"]
pub fn zend_get_object_type_uc(ce: *const zend_class_entry) -> *const ::std::os::raw::c_char;
pub fn zend_is_iterable(iterable: *const zval) -> bool;
pub fn zend_is_countable(countable: *const zval) -> bool;
pub fn zend_get_default_from_internal_arg_info(
default_value_zval: *mut zval,
arg_info: *mut zend_internal_arg_info,
) -> zend_result;
#[link_name = "zend_str_has_nul_byte__extern"]
pub fn zend_str_has_nul_byte(str_: *const zend_string) -> bool;
#[link_name = "zend_char_has_nul_byte__extern"]
pub fn zend_char_has_nul_byte(s: *const ::std::os::raw::c_char, known_length: usize) -> bool;
pub fn zend_try_assign_typed_ref_ex(
ref_: *mut zend_reference,
zv: *mut zval,
strict: bool,
) -> zend_result;
pub fn zend_try_assign_typed_ref(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
pub fn zend_try_assign_typed_ref_null(ref_: *mut zend_reference) -> zend_result;
pub fn zend_try_assign_typed_ref_bool(ref_: *mut zend_reference, val: bool) -> zend_result;
pub fn zend_try_assign_typed_ref_long(
ref_: *mut zend_reference,
lval: zend_long,
) -> zend_result;
pub fn zend_try_assign_typed_ref_double(ref_: *mut zend_reference, dval: f64) -> zend_result;
pub fn zend_try_assign_typed_ref_empty_string(ref_: *mut zend_reference) -> zend_result;
pub fn zend_try_assign_typed_ref_str(
ref_: *mut zend_reference,
str_: *mut zend_string,
) -> zend_result;
pub fn zend_try_assign_typed_ref_string(
ref_: *mut zend_reference,
string: *const ::std::os::raw::c_char,
) -> zend_result;
pub fn zend_try_assign_typed_ref_stringl(
ref_: *mut zend_reference,
string: *const ::std::os::raw::c_char,
len: usize,
) -> zend_result;
pub fn zend_try_assign_typed_ref_arr(
ref_: *mut zend_reference,
arr: *mut zend_array,
) -> zend_result;
pub fn zend_try_assign_typed_ref_res(
ref_: *mut zend_reference,
res: *mut zend_resource,
) -> zend_result;
pub fn zend_try_assign_typed_ref_zval(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
pub fn zend_try_assign_typed_ref_zval_ex(
ref_: *mut zend_reference,
zv: *mut zval,
strict: bool,
) -> zend_result;
#[link_name = "zend_try_array_init_size__extern"]
pub fn zend_try_array_init_size(zv: *mut zval, size: u32) -> *mut zval;
#[link_name = "zend_try_array_init__extern"]
pub fn zend_try_array_init(zv: *mut zval) -> *mut zval;
pub fn zend_wrong_parameters_none_error();
pub fn zend_wrong_parameters_count_error(min_num_args: u32, max_num_args: u32);
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,
);
pub fn zend_wrong_parameter_type_error(
num: u32,
expected_type: zend_expected_type,
arg: *mut zval,
);
pub fn zend_wrong_parameter_class_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
pub fn zend_wrong_parameter_class_or_null_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
pub fn zend_wrong_parameter_class_or_long_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
pub fn zend_wrong_parameter_class_or_long_or_null_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
pub fn zend_wrong_parameter_class_or_string_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
pub fn zend_wrong_parameter_class_or_string_or_null_error(
num: u32,
name: *const ::std::os::raw::c_char,
arg: *mut zval,
);
pub fn zend_wrong_callback_error(num: u32, error: *mut ::std::os::raw::c_char);
pub fn zend_wrong_callback_or_null_error(num: u32, error: *mut ::std::os::raw::c_char);
pub fn zend_unexpected_extra_named_error();
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,
);
pub fn zend_argument_error(
error_ce: *mut zend_class_entry,
arg_num: u32,
format: *const ::std::os::raw::c_char,
...
);
pub fn zend_argument_type_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
pub fn zend_argument_value_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
pub fn zend_argument_must_not_be_empty_error(arg_num: u32);
pub fn zend_class_redeclaration_error(
type_: ::std::os::raw::c_int,
old_ce: *mut zend_class_entry,
);
pub fn zend_class_redeclaration_error_ex(
type_: ::std::os::raw::c_int,
new_name: *mut zend_string,
old_ce: *mut zend_class_entry,
);
pub fn zend_parse_arg_class(
arg: *mut zval,
pce: *mut *mut zend_class_entry,
num: u32,
check_null: bool,
) -> bool;
pub fn zend_parse_arg_bool_slow(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
pub fn zend_parse_arg_bool_weak(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
pub fn zend_parse_arg_long_slow(arg: *const zval, dest: *mut zend_long, arg_num: u32) -> bool;
pub fn zend_parse_arg_long_weak(arg: *const zval, dest: *mut zend_long, arg_num: u32) -> bool;
pub fn zend_parse_arg_double_slow(arg: *const zval, dest: *mut f64, arg_num: u32) -> bool;
pub fn zend_parse_arg_double_weak(arg: *const zval, dest: *mut f64, arg_num: u32) -> bool;
pub fn zend_parse_arg_str_slow(
arg: *mut zval,
dest: *mut *mut zend_string,
arg_num: u32,
) -> bool;
pub fn zend_parse_arg_str_weak(
arg: *mut zval,
dest: *mut *mut zend_string,
arg_num: u32,
) -> bool;
pub fn zend_parse_arg_number_slow(arg: *mut zval, dest: *mut *mut zval, arg_num: u32) -> bool;
pub fn zend_parse_arg_number_or_str_slow(
arg: *mut zval,
dest: *mut *mut zval,
arg_num: u32,
) -> bool;
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;
pub fn zend_flf_parse_arg_bool_slow(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
pub fn zend_flf_parse_arg_str_slow(
arg: *mut zval,
dest: *mut *mut zend_string,
arg_num: u32,
) -> bool;
pub fn zend_flf_parse_arg_long_slow(
arg: *const zval,
dest: *mut zend_long,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_bool_ex__extern"]
pub fn zend_parse_arg_bool_ex(
arg: *const zval,
dest: *mut bool,
is_null: *mut bool,
check_null: bool,
arg_num: u32,
frameless: bool,
) -> bool;
#[link_name = "zend_parse_arg_bool__extern"]
pub fn zend_parse_arg_bool(
arg: *const zval,
dest: *mut bool,
is_null: *mut bool,
check_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_long_ex__extern"]
pub fn zend_parse_arg_long_ex(
arg: *mut zval,
dest: *mut zend_long,
is_null: *mut bool,
check_null: bool,
arg_num: u32,
frameless: bool,
) -> bool;
#[link_name = "zend_parse_arg_long__extern"]
pub fn zend_parse_arg_long(
arg: *mut zval,
dest: *mut zend_long,
is_null: *mut bool,
check_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_double__extern"]
pub fn zend_parse_arg_double(
arg: *const zval,
dest: *mut f64,
is_null: *mut bool,
check_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_number__extern"]
pub fn zend_parse_arg_number(
arg: *mut zval,
dest: *mut *mut zval,
check_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_number_or_str__extern"]
pub fn zend_parse_arg_number_or_str(
arg: *mut zval,
dest: *mut *mut zval,
check_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_str_ex__extern"]
pub fn zend_parse_arg_str_ex(
arg: *mut zval,
dest: *mut *mut zend_string,
check_null: bool,
arg_num: u32,
frameless: bool,
) -> bool;
#[link_name = "zend_parse_arg_str__extern"]
pub fn zend_parse_arg_str(
arg: *mut zval,
dest: *mut *mut zend_string,
check_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_string__extern"]
pub fn zend_parse_arg_string(
arg: *mut zval,
dest: *mut *mut ::std::os::raw::c_char,
dest_len: *mut usize,
check_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_path_str__extern"]
pub fn zend_parse_arg_path_str(
arg: *mut zval,
dest: *mut *mut zend_string,
check_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_path__extern"]
pub fn zend_parse_arg_path(
arg: *mut zval,
dest: *mut *mut ::std::os::raw::c_char,
dest_len: *mut usize,
check_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_iterable__extern"]
pub fn zend_parse_arg_iterable(arg: *mut zval, dest: *mut *mut zval, check_null: bool) -> bool;
#[link_name = "zend_parse_arg_array__extern"]
pub fn zend_parse_arg_array(
arg: *mut zval,
dest: *mut *mut zval,
check_null: bool,
or_object: bool,
) -> bool;
#[link_name = "zend_parse_arg_array_ht__extern"]
pub fn zend_parse_arg_array_ht(
arg: *const zval,
dest: *mut *mut HashTable,
check_null: bool,
or_object: bool,
separate: bool,
) -> bool;
#[link_name = "zend_parse_arg_array_ht_or_long__extern"]
pub fn zend_parse_arg_array_ht_or_long(
arg: *mut zval,
dest_ht: *mut *mut HashTable,
dest_long: *mut zend_long,
is_null: *mut bool,
allow_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_object__extern"]
pub fn zend_parse_arg_object(
arg: *mut zval,
dest: *mut *mut zval,
ce: *mut zend_class_entry,
check_null: bool,
) -> bool;
#[link_name = "zend_parse_arg_obj__extern"]
pub fn zend_parse_arg_obj(
arg: *const zval,
dest: *mut *mut zend_object,
ce: *mut zend_class_entry,
check_null: bool,
) -> bool;
#[link_name = "zend_parse_arg_obj_or_long__extern"]
pub fn zend_parse_arg_obj_or_long(
arg: *mut zval,
dest_obj: *mut *mut zend_object,
ce: *mut zend_class_entry,
dest_long: *mut zend_long,
is_null: *mut bool,
allow_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_resource__extern"]
pub fn zend_parse_arg_resource(arg: *mut zval, dest: *mut *mut zval, check_null: bool) -> bool;
#[link_name = "zend_parse_arg_func__extern"]
pub fn zend_parse_arg_func(
arg: *mut zval,
dest_fci: *mut zend_fcall_info,
dest_fcc: *mut zend_fcall_info_cache,
check_null: bool,
error: *mut *mut ::std::os::raw::c_char,
free_trampoline: bool,
) -> bool;
#[link_name = "zend_parse_arg_zval__extern"]
pub fn zend_parse_arg_zval(arg: *mut zval, dest: *mut *mut zval, check_null: bool);
#[link_name = "zend_parse_arg_zval_deref__extern"]
pub fn zend_parse_arg_zval_deref(arg: *mut zval, dest: *mut *mut zval, check_null: bool);
#[link_name = "zend_parse_arg_array_ht_or_str__extern"]
pub fn zend_parse_arg_array_ht_or_str(
arg: *mut zval,
dest_ht: *mut *mut HashTable,
dest_str: *mut *mut zend_string,
allow_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_str_or_long__extern"]
pub fn zend_parse_arg_str_or_long(
arg: *mut zval,
dest_str: *mut *mut zend_string,
dest_long: *mut zend_long,
is_null: *mut bool,
allow_null: bool,
arg_num: u32,
) -> bool;
#[link_name = "zend_parse_arg_obj_or_class_name__extern"]
pub fn zend_parse_arg_obj_or_class_name(
arg: *mut zval,
destination: *mut *mut zend_class_entry,
allow_null: bool,
) -> bool;
#[link_name = "zend_parse_arg_obj_or_str__extern"]
pub fn zend_parse_arg_obj_or_str(
arg: *mut zval,
destination_object: *mut *mut zend_object,
base_ce: *mut zend_class_entry,
destination_string: *mut *mut zend_string,
allow_null: bool,
arg_num: u32,
) -> bool;
pub static mut zend_ce_attribute: *mut zend_class_entry;
pub static mut zend_ce_allow_dynamic_properties: *mut zend_class_entry;
pub static mut zend_ce_sensitive_parameter: *mut zend_class_entry;
pub static mut zend_ce_sensitive_parameter_value: *mut zend_class_entry;
pub static mut zend_ce_override: *mut zend_class_entry;
pub static mut zend_ce_deprecated: *mut zend_class_entry;
pub static mut zend_ce_nodiscard: *mut zend_class_entry;
pub static mut zend_ce_delayed_target_validation: *mut zend_class_entry;
pub fn zend_get_attribute(
attributes: *mut HashTable,
lcname: *mut zend_string,
) -> *mut zend_attribute;
pub fn zend_get_attribute_str(
attributes: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zend_attribute;
pub fn zend_get_parameter_attribute(
attributes: *mut HashTable,
lcname: *mut zend_string,
offset: u32,
) -> *mut zend_attribute;
pub fn zend_get_parameter_attribute_str(
attributes: *mut HashTable,
str_: *const ::std::os::raw::c_char,
len: usize,
offset: u32,
) -> *mut zend_attribute;
pub fn zend_get_attribute_value(
ret: *mut zval,
attr: *mut zend_attribute,
i: u32,
scope: *mut zend_class_entry,
) -> zend_result;
pub fn zend_get_attribute_object(
out: *mut zval,
attribute_ce: *mut zend_class_entry,
attribute_data: *mut zend_attribute,
scope: *mut zend_class_entry,
filename: *mut zend_string,
) -> zend_result;
pub fn zend_get_attribute_target_names(targets: u32) -> *mut zend_string;
pub fn zend_is_attribute_repeated(
attributes: *mut HashTable,
attr: *mut zend_attribute,
) -> bool;
pub fn zend_mark_internal_attribute(ce: *mut zend_class_entry) -> *mut zend_internal_attribute;
pub fn zend_internal_attribute_register(
ce: *mut zend_class_entry,
flags: u32,
) -> *mut zend_internal_attribute;
pub fn zend_internal_attribute_get(lcname: *mut zend_string) -> *mut zend_internal_attribute;
pub fn zend_add_attribute(
attributes: *mut *mut HashTable,
name: *mut zend_string,
argc: u32,
flags: u32,
offset: u32,
lineno: u32,
) -> *mut zend_attribute;
#[link_name = "zend_add_class_attribute__extern"]
pub fn zend_add_class_attribute(
ce: *mut zend_class_entry,
name: *mut zend_string,
argc: u32,
) -> *mut zend_attribute;
#[link_name = "zend_add_function_attribute__extern"]
pub fn zend_add_function_attribute(
func: *mut zend_function,
name: *mut zend_string,
argc: u32,
) -> *mut zend_attribute;
#[link_name = "zend_add_parameter_attribute__extern"]
pub fn zend_add_parameter_attribute(
func: *mut zend_function,
offset: u32,
name: *mut zend_string,
argc: u32,
) -> *mut zend_attribute;
#[link_name = "zend_add_property_attribute__extern"]
pub fn zend_add_property_attribute(
ce: *mut zend_class_entry,
info: *mut zend_property_info,
name: *mut zend_string,
argc: u32,
) -> *mut zend_attribute;
#[link_name = "zend_add_class_constant_attribute__extern"]
pub fn zend_add_class_constant_attribute(
ce: *mut zend_class_entry,
c: *mut zend_class_constant,
name: *mut zend_string,
argc: u32,
) -> *mut zend_attribute;
#[link_name = "zend_add_global_constant_attribute__extern"]
pub fn zend_add_global_constant_attribute(
c: *mut zend_constant,
name: *mut zend_string,
argc: u32,
) -> *mut zend_attribute;
pub fn zend_register_attribute_ce();
pub fn zend_attributes_shutdown();
#[link_name = "zend_ulong_ntz__extern"]
pub fn zend_ulong_ntz(num: zend_ulong) -> ::std::os::raw::c_int;
#[link_name = "zend_ulong_nlz__extern"]
pub fn zend_ulong_nlz(num: zend_ulong) -> ::std::os::raw::c_int;
#[link_name = "zend_bitset_len__extern"]
pub fn zend_bitset_len(n: u32) -> u32;
#[link_name = "zend_bitset_in__extern"]
pub fn zend_bitset_in(set: zend_bitset, n: u32) -> bool;
#[link_name = "zend_bitset_incl__extern"]
pub fn zend_bitset_incl(set: zend_bitset, n: u32);
#[link_name = "zend_bitset_excl__extern"]
pub fn zend_bitset_excl(set: zend_bitset, n: u32);
#[link_name = "zend_bitset_clear__extern"]
pub fn zend_bitset_clear(set: zend_bitset, len: u32);
#[link_name = "zend_bitset_empty__extern"]
pub fn zend_bitset_empty(set: zend_bitset, len: u32) -> bool;
#[link_name = "zend_bitset_fill__extern"]
pub fn zend_bitset_fill(set: zend_bitset, len: u32);
#[link_name = "zend_bitset_equal__extern"]
pub fn zend_bitset_equal(set1: zend_bitset, set2: zend_bitset, len: u32) -> bool;
#[link_name = "zend_bitset_copy__extern"]
pub fn zend_bitset_copy(set1: zend_bitset, set2: zend_bitset, len: u32);
#[link_name = "zend_bitset_intersection__extern"]
pub fn zend_bitset_intersection(set1: zend_bitset, set2: zend_bitset, len: u32);
#[link_name = "zend_bitset_union__extern"]
pub fn zend_bitset_union(set1: zend_bitset, set2: zend_bitset, len: u32);
#[link_name = "zend_bitset_difference__extern"]
pub fn zend_bitset_difference(set1: zend_bitset, set2: zend_bitset, len: u32);
#[link_name = "zend_bitset_union_with_intersection__extern"]
pub fn zend_bitset_union_with_intersection(
set1: zend_bitset,
set2: zend_bitset,
set3: zend_bitset,
set4: zend_bitset,
len: u32,
);
#[link_name = "zend_bitset_union_with_difference__extern"]
pub fn zend_bitset_union_with_difference(
set1: zend_bitset,
set2: zend_bitset,
set3: zend_bitset,
set4: zend_bitset,
len: u32,
);
#[link_name = "zend_bitset_subset__extern"]
pub fn zend_bitset_subset(set1: zend_bitset, set2: zend_bitset, len: u32) -> bool;
#[link_name = "zend_bitset_first__extern"]
pub fn zend_bitset_first(set: zend_bitset, len: u32) -> ::std::os::raw::c_int;
#[link_name = "zend_bitset_last__extern"]
pub fn zend_bitset_last(set: zend_bitset, len: u32) -> ::std::os::raw::c_int;
#[link_name = "zend_bitset_pop_first__extern"]
pub fn zend_bitset_pop_first(set: zend_bitset, len: u32) -> ::std::os::raw::c_int;
pub fn zend_startup_builtin_functions() -> zend_result;
pub fn zend_fetch_debug_backtrace(
return_value: *mut zval,
skip_last: ::std::os::raw::c_int,
options: ::std::os::raw::c_int,
limit: ::std::os::raw::c_int,
);
pub fn zend_register_closure_ce();
pub fn zend_closure_bind_var(closure_zv: *mut zval, var_name: *mut zend_string, var: *mut zval);
pub fn zend_closure_bind_var_ex(closure_zv: *mut zval, offset: u32, val: *mut zval);
pub fn zend_closure_from_frame(closure_zv: *mut zval, frame: *mut zend_execute_data);
pub static mut zend_ce_closure: *mut zend_class_entry;
pub fn zend_create_closure(
res: *mut zval,
op_array: *mut zend_function,
scope: *mut zend_class_entry,
called_scope: *mut zend_class_entry,
this_ptr: *mut zval,
);
pub fn zend_create_fake_closure(
res: *mut zval,
op_array: *mut zend_function,
scope: *mut zend_class_entry,
called_scope: *mut zend_class_entry,
this_ptr: *mut zval,
);
pub fn zend_get_closure_invoke_method(obj: *mut zend_object) -> *mut zend_function;
pub fn zend_get_closure_method_def(obj: *mut zend_object) -> *const zend_function;
pub fn zend_get_closure_this_ptr(obj: *mut zval) -> *mut zval;
pub fn zend_cpu_startup();
pub fn zend_cpu_supports(feature: zend_cpu_feature) -> ::std::os::raw::c_int;
#[link_name = "zend_cpu_supports_sse2__extern"]
pub fn zend_cpu_supports_sse2() -> ::std::os::raw::c_int;
#[link_name = "zend_cpu_supports_sse3__extern"]
pub fn zend_cpu_supports_sse3() -> ::std::os::raw::c_int;
#[link_name = "zend_cpu_supports_ssse3__extern"]
pub fn zend_cpu_supports_ssse3() -> ::std::os::raw::c_int;
#[link_name = "zend_cpu_supports_sse41__extern"]
pub fn zend_cpu_supports_sse41() -> ::std::os::raw::c_int;
#[link_name = "zend_cpu_supports_sse42__extern"]
pub fn zend_cpu_supports_sse42() -> ::std::os::raw::c_int;
#[link_name = "zend_cpu_supports_avx__extern"]
pub fn zend_cpu_supports_avx() -> ::std::os::raw::c_int;
#[link_name = "zend_cpu_supports_avx2__extern"]
pub fn zend_cpu_supports_avx2() -> ::std::os::raw::c_int;
#[link_name = "zend_cpu_supports_avx512__extern"]
pub fn zend_cpu_supports_avx512() -> ::std::os::raw::c_int;
#[link_name = "zend_cpu_supports_avx512_vbmi__extern"]
pub fn zend_cpu_supports_avx512_vbmi() -> ::std::os::raw::c_int;
#[link_name = "zend_cpu_supports_pclmul__extern"]
pub fn zend_cpu_supports_pclmul() -> ::std::os::raw::c_int;
pub static mut zend_ce_unit_enum: *mut zend_class_entry;
pub static mut zend_ce_backed_enum: *mut zend_class_entry;
pub static mut zend_enum_object_handlers: zend_object_handlers;
pub fn zend_register_enum_ce();
pub fn zend_enum_add_interfaces(ce: *mut zend_class_entry);
pub fn zend_enum_build_backed_enum_table(ce: *mut zend_class_entry) -> zend_result;
pub fn zend_enum_new(
result: *mut zval,
ce: *mut zend_class_entry,
case_name: *mut zend_string,
backing_value_zv: *mut zval,
) -> *mut zend_object;
pub fn zend_verify_enum(ce: *const zend_class_entry);
pub fn zend_enum_register_funcs(ce: *mut zend_class_entry);
pub fn zend_enum_register_props(ce: *mut zend_class_entry);
pub fn zend_register_internal_enum(
name: *const ::std::os::raw::c_char,
type_: u8,
functions: *const zend_function_entry,
) -> *mut zend_class_entry;
pub fn zend_enum_add_case(
ce: *mut zend_class_entry,
case_name: *mut zend_string,
value: *mut zval,
);
pub fn zend_enum_add_case_cstr(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
value: *mut zval,
);
pub fn zend_enum_get_case(
ce: *mut zend_class_entry,
name: *mut zend_string,
) -> *mut zend_object;
pub fn zend_enum_get_case_cstr(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
) -> *mut zend_object;
pub fn zend_enum_get_case_by_value(
result: *mut *mut zend_object,
ce: *mut zend_class_entry,
long_key: zend_long,
string_key: *mut zend_string,
try_from: bool,
) -> zend_result;
#[link_name = "zend_enum_fetch_case_name__extern"]
pub fn zend_enum_fetch_case_name(zobj: *mut zend_object) -> *mut zval;
#[link_name = "zend_enum_fetch_case_value__extern"]
pub fn zend_enum_fetch_case_value(zobj: *mut zend_object) -> *mut zval;
pub static mut zend_ce_throwable: *mut zend_class_entry;
pub static mut zend_ce_exception: *mut zend_class_entry;
pub static mut zend_ce_error_exception: *mut zend_class_entry;
pub static mut zend_ce_error: *mut zend_class_entry;
pub static mut zend_ce_compile_error: *mut zend_class_entry;
pub static mut zend_ce_parse_error: *mut zend_class_entry;
pub static mut zend_ce_type_error: *mut zend_class_entry;
pub static mut zend_ce_argument_count_error: *mut zend_class_entry;
pub static mut zend_ce_value_error: *mut zend_class_entry;
pub static mut zend_ce_arithmetic_error: *mut zend_class_entry;
pub static mut zend_ce_division_by_zero_error: *mut zend_class_entry;
pub static mut zend_ce_unhandled_match_error: *mut zend_class_entry;
pub static mut zend_ce_request_parse_body_exception: *mut zend_class_entry;
pub fn zend_exception_set_previous(exception: *mut zend_object, add_previous: *mut zend_object);
pub fn zend_exception_save();
pub fn zend_exception_restore();
pub fn zend_throw_exception_internal(exception: *mut zend_object);
pub fn zend_register_default_exception();
pub fn zend_get_exception_base(object: *const zend_object) -> *mut zend_class_entry;
pub fn zend_register_default_classes();
pub fn zend_throw_exception(
exception_ce: *mut zend_class_entry,
message: *const ::std::os::raw::c_char,
code: zend_long,
) -> *mut zend_object;
pub fn zend_throw_exception_ex(
exception_ce: *mut zend_class_entry,
code: zend_long,
format: *const ::std::os::raw::c_char,
...
) -> *mut zend_object;
pub fn zend_throw_exception_object(exception: *mut zval);
pub fn zend_clear_exception();
pub fn zend_throw_error_exception(
exception_ce: *mut zend_class_entry,
message: *mut zend_string,
code: zend_long,
severity: ::std::os::raw::c_int,
) -> *mut zend_object;
pub static mut zend_throw_exception_hook:
::std::option::Option<unsafe extern "C" fn(ex: *mut zend_object)>;
pub fn zend_update_exception_properties(
execute_data: *mut zend_execute_data,
return_value: *mut zval,
message: *mut zend_string,
code: zend_long,
previous: *mut zval,
) -> zend_result;
pub fn zend_exception_error(
exception: *mut zend_object,
severity: ::std::os::raw::c_int,
) -> zend_result;
pub fn zend_exception_uncaught_error(prefix: *const ::std::os::raw::c_char, ...) -> !;
pub fn zend_trace_to_string(trace: *const HashTable, include_main: bool) -> *mut zend_string;
pub fn zend_create_unwind_exit() -> *mut zend_object;
pub fn zend_create_graceful_exit() -> *mut zend_object;
pub fn zend_throw_unwind_exit();
pub fn zend_throw_graceful_exit();
pub fn zend_is_unwind_exit(ex: *const zend_object) -> bool;
pub fn zend_is_graceful_exit(ex: *const zend_object) -> bool;
#[link_name = "zend_rethrow_exception__extern"]
pub fn zend_rethrow_exception(execute_data: *mut zend_execute_data);
pub static mut zend_op_array_extension_handles: ::std::os::raw::c_int;
pub fn zend_get_resource_handle(
module_name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
pub fn zend_get_op_array_extension_handle(
module_name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
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;
pub fn zend_get_internal_function_extension_handle(
module_name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
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;
pub fn zend_extension_dispatch_message(
message: ::std::os::raw::c_int,
arg: *mut ::std::os::raw::c_void,
);
pub static mut zend_extensions: zend_llist;
pub static mut zend_extension_flags: u32;
pub fn zend_extension_dtor(extension: *mut zend_extension);
pub fn zend_append_version_info(extension: *const zend_extension);
pub fn zend_startup_extensions_mechanism();
pub fn zend_startup_extensions();
pub fn zend_shutdown_extensions();
pub fn zend_internal_run_time_cache_reserved_size() -> usize;
pub fn zend_init_internal_run_time_cache();
pub fn zend_reset_internal_run_time_cache();
pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> zend_result;
pub fn zend_load_extension_handle(
handle: *mut ::std::os::raw::c_void,
path: *const ::std::os::raw::c_char,
) -> zend_result;
pub fn zend_register_extension(
new_extension: *mut zend_extension,
handle: *mut ::std::os::raw::c_void,
);
pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
-> *mut zend_extension;
pub fn zend_extensions_op_array_persist_calc(op_array: *mut zend_op_array) -> usize;
pub fn zend_extensions_op_array_persist(
op_array: *mut zend_op_array,
mem: *mut ::std::os::raw::c_void,
) -> usize;
pub fn zend_register_fiber_ce();
pub fn zend_fiber_init();
pub fn zend_fiber_shutdown();
pub static mut zend_ce_fiber: *mut zend_class_entry;
pub fn zend_fiber_start(fiber: *mut zend_fiber, return_value: *mut zval) -> zend_result;
pub fn zend_fiber_resume(fiber: *mut zend_fiber, value: *mut zval, return_value: *mut zval);
pub fn zend_fiber_suspend(fiber: *mut zend_fiber, value: *mut zval, return_value: *mut zval);
pub fn zend_fiber_init_context(
context: *mut zend_fiber_context,
kind: *mut ::std::os::raw::c_void,
coroutine: zend_fiber_coroutine,
stack_size: usize,
) -> zend_result;
pub fn zend_fiber_destroy_context(context: *mut zend_fiber_context);
pub fn zend_fiber_switch_context(transfer: *mut zend_fiber_transfer);
pub fn zend_fiber_stack_limit(stack: *mut zend_fiber_stack) -> *mut ::std::os::raw::c_void;
pub fn zend_fiber_stack_base(stack: *mut zend_fiber_stack) -> *mut ::std::os::raw::c_void;
pub fn zend_fiber_switch_block();
pub fn zend_fiber_switch_unblock();
pub fn zend_fiber_switch_blocked() -> bool;
#[link_name = "zend_fiber_from_context__extern"]
pub fn zend_fiber_from_context(context: *mut zend_fiber_context) -> *mut zend_fiber;
#[link_name = "zend_fiber_get_context__extern"]
pub fn zend_fiber_get_context(fiber: *mut zend_fiber) -> *mut zend_fiber_context;
pub fn zend_gdb_register_code(object: *const ::std::os::raw::c_void, size: usize) -> bool;
pub fn zend_gdb_unregister_all();
pub fn zend_gdb_present() -> bool;
pub static mut zend_ce_generator: *mut zend_class_entry;
pub static mut zend_ce_ClosedGeneratorException: *mut zend_class_entry;
pub fn zend_register_generator_ce();
pub fn zend_generator_close(generator: *mut zend_generator, finished_execution: bool);
pub fn zend_generator_resume(generator: *mut zend_generator);
pub fn zend_generator_restore_call_stack(generator: *mut zend_generator);
pub fn zend_generator_freeze_call_stack(
execute_data: *mut zend_execute_data,
) -> *mut zend_execute_data;
pub fn zend_generator_yield_from(generator: *mut zend_generator, from: *mut zend_generator);
pub fn zend_generator_check_placeholder_frame(
ptr: *mut zend_execute_data,
) -> *mut zend_execute_data;
pub fn zend_generator_update_current(generator: *mut zend_generator) -> *mut zend_generator;
pub fn zend_generator_update_root(generator: *mut zend_generator) -> *mut zend_generator;
#[link_name = "zend_generator_get_current__extern"]
pub fn zend_generator_get_current(generator: *mut zend_generator) -> *mut zend_generator;
pub fn zend_generator_frame_gc(
gc_buffer: *mut zend_get_gc_buffer,
generator: *mut zend_generator,
) -> *mut HashTable;
pub fn zend_highlight(syntax_highlighter_ini: *mut zend_syntax_highlighter_ini);
pub fn zend_strip();
pub fn highlight_file(
filename: *const ::std::os::raw::c_char,
syntax_highlighter_ini: *mut zend_syntax_highlighter_ini,
) -> zend_result;
pub fn highlight_string(
str_: *mut zend_string,
syntax_highlighter_ini: *mut zend_syntax_highlighter_ini,
str_name: *const ::std::os::raw::c_char,
);
pub fn zend_html_putc(c: ::std::os::raw::c_char);
pub fn zend_html_puts(s: *const ::std::os::raw::c_char, len: usize);
pub static mut syntax_highlighter_ini: zend_syntax_highlighter_ini;
pub fn zend_do_implement_interface(ce: *mut zend_class_entry, iface: *mut zend_class_entry);
pub fn zend_do_inheritance_ex(
ce: *mut zend_class_entry,
parent_ce: *mut zend_class_entry,
checked: bool,
);
#[link_name = "zend_do_inheritance__extern"]
pub fn zend_do_inheritance(ce: *mut zend_class_entry, parent_ce: *mut zend_class_entry);
pub fn zend_do_link_class(
ce: *mut zend_class_entry,
lc_parent_name: *mut zend_string,
key: *const zend_string,
) -> *mut zend_class_entry;
pub fn zend_verify_abstract_class(ce: *mut zend_class_entry);
pub fn zend_build_properties_info_table(ce: *mut zend_class_entry);
pub fn zend_try_early_bind(
ce: *mut zend_class_entry,
parent_ce: *mut zend_class_entry,
lcname: *mut zend_string,
delayed_early_binding: *mut zval,
) -> *mut zend_class_entry;
pub fn zend_inheritance_check_override(ce: *const zend_class_entry);
pub static mut zend_inheritance_cache_get: ::std::option::Option<
unsafe extern "C" fn(
ce: *mut zend_class_entry,
parent: *mut zend_class_entry,
traits_and_interfaces: *mut *mut zend_class_entry,
) -> *mut zend_class_entry,
>;
pub static mut zend_inheritance_cache_add: ::std::option::Option<
unsafe extern "C" fn(
ce: *mut zend_class_entry,
proto: *mut zend_class_entry,
parent: *mut zend_class_entry,
traits_and_interfaces: *mut *mut zend_class_entry,
dependencies: *mut HashTable,
) -> *mut zend_class_entry,
>;
pub fn zend_verify_property_hook_variance(
prop_info: *const zend_property_info,
func: *const zend_function,
) -> zend_inheritance_status::Type;
pub fn zend_hooked_property_variance_error(prop_info: *const zend_property_info) -> !;
pub fn zend_hooked_property_variance_error_ex(
value_param_name: *mut zend_string,
class_name: *mut zend_string,
prop_name: *mut zend_string,
) -> !;
pub fn zend_verify_hooked_property(
ce: *const zend_class_entry,
prop_info: *mut zend_property_info,
prop_name: *mut zend_string,
);
pub fn zend_ini_startup();
pub fn zend_ini_shutdown();
pub fn zend_ini_global_shutdown();
pub fn zend_ini_deactivate();
pub fn zend_ini_dtor(ini_directives: *mut HashTable);
pub fn zend_copy_ini_directives();
pub fn zend_ini_sort_entries();
pub fn zend_register_ini_entries(
ini_entry: *const zend_ini_entry_def,
module_number: ::std::os::raw::c_int,
) -> zend_result;
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;
pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
pub fn zend_unregister_ini_entries_ex(
module_number: ::std::os::raw::c_int,
module_type: ::std::os::raw::c_int,
);
pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
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;
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;
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;
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;
pub fn zend_restore_ini_entry(
name: *mut zend_string,
stage: ::std::os::raw::c_int,
) -> zend_result;
pub fn display_ini_entries(module: *mut zend_module_entry);
pub fn zend_ini_long(
name: *const ::std::os::raw::c_char,
name_length: usize,
orig: ::std::os::raw::c_int,
) -> zend_long;
pub fn zend_ini_double(
name: *const ::std::os::raw::c_char,
name_length: usize,
orig: ::std::os::raw::c_int,
) -> f64;
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;
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;
pub fn zend_ini_str(
name: *const ::std::os::raw::c_char,
name_length: usize,
orig: bool,
) -> *mut zend_string;
pub fn zend_ini_str_ex(
name: *const ::std::os::raw::c_char,
name_length: usize,
orig: bool,
exists: *mut bool,
) -> *mut zend_string;
pub fn zend_ini_get_value(name: *mut zend_string) -> *mut zend_string;
pub fn zend_ini_parse_bool(str_: *mut zend_string) -> bool;
#[doc = " Parses an ini quantity\n\n The value parameter must be a string in the form\n\n```text\n sign? digits ws* multiplier?\n```\n\n with\n\n```text\n sign: [+-]\n digit: [0-9]\n digits: digit+\n ws: [ \\t\\n\\r\\v\\f]\n multiplier: [KMG]\n```\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```text\n ignored\n```\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.\n"]
pub fn zend_ini_parse_quantity(
value: *mut zend_string,
errstr: *mut *mut zend_string,
) -> zend_long;
#[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;
pub fn zend_ini_parse_quantity_warn(
value: *mut zend_string,
setting: *mut zend_string,
) -> zend_long;
pub fn zend_ini_parse_uquantity_warn(
value: *mut zend_string,
setting: *mut zend_string,
) -> zend_ulong;
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;
pub fn zend_ini_boolean_displayer_cb(
ini_entry: *mut zend_ini_entry,
type_: ::std::os::raw::c_int,
);
pub fn zend_ini_color_displayer_cb(
ini_entry: *mut zend_ini_entry,
type_: ::std::os::raw::c_int,
);
pub fn display_link_numbers(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int);
pub fn OnUpdateBool(
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 fn OnUpdateLong(
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 fn OnUpdateLongGEZero(
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 fn OnUpdateReal(
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 fn OnUpdateString(
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 fn OnUpdateStringUnempty(
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 fn OnUpdateStr(
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 fn OnUpdateStrNotEmpty(
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 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;
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;
pub fn zend_ini_scanner_get_lineno() -> ::std::os::raw::c_int;
pub fn zend_ini_scanner_get_filename() -> *const ::std::os::raw::c_char;
pub fn zend_ini_open_file_for_scanning(
fh: *mut zend_file_handle,
scanner_mode: ::std::os::raw::c_int,
) -> zend_result;
pub fn zend_ini_prepare_string_for_scanning(
str_: *const ::std::os::raw::c_char,
scanner_mode: ::std::os::raw::c_int,
) -> zend_result;
pub fn ini_lex(ini_lval: *mut zval) -> ::std::os::raw::c_int;
pub fn shutdown_ini_scanner();
pub static mut zend_ce_traversable: *mut zend_class_entry;
pub static mut zend_ce_aggregate: *mut zend_class_entry;
pub static mut zend_ce_iterator: *mut zend_class_entry;
pub static mut zend_ce_arrayaccess: *mut zend_class_entry;
pub static mut zend_ce_serializable: *mut zend_class_entry;
pub static mut zend_ce_countable: *mut zend_class_entry;
pub static mut zend_ce_stringable: *mut zend_class_entry;
pub fn zend_call_method(
object: *mut zend_object,
obj_ce: *mut zend_class_entry,
fn_proxy: *mut *mut zend_function,
function_name: *const ::std::os::raw::c_char,
function_name_len: usize,
retval: *mut zval,
param_count: u32,
arg1: *mut zval,
arg2: *mut zval,
) -> *mut zval;
#[link_name = "zend_call_method_with_0_params__extern"]
pub fn zend_call_method_with_0_params(
object: *mut zend_object,
obj_ce: *mut zend_class_entry,
fn_proxy: *mut *mut zend_function,
function_name: *const ::std::os::raw::c_char,
retval: *mut zval,
) -> *mut zval;
#[link_name = "zend_call_method_with_1_params__extern"]
pub fn zend_call_method_with_1_params(
object: *mut zend_object,
obj_ce: *mut zend_class_entry,
fn_proxy: *mut *mut zend_function,
function_name: *const ::std::os::raw::c_char,
retval: *mut zval,
arg1: *mut zval,
) -> *mut zval;
#[link_name = "zend_call_method_with_2_params__extern"]
pub fn zend_call_method_with_2_params(
object: *mut zend_object,
obj_ce: *mut zend_class_entry,
fn_proxy: *mut *mut zend_function,
function_name: *const ::std::os::raw::c_char,
retval: *mut zval,
arg1: *mut zval,
arg2: *mut zval,
) -> *mut zval;
pub fn zend_user_it_rewind(_iter: *mut zend_object_iterator);
pub fn zend_user_it_valid(_iter: *mut zend_object_iterator) -> zend_result;
pub fn zend_user_it_get_current_key(_iter: *mut zend_object_iterator, key: *mut zval);
pub fn zend_user_it_get_current_data(_iter: *mut zend_object_iterator) -> *mut zval;
pub fn zend_user_it_move_forward(_iter: *mut zend_object_iterator);
pub fn zend_user_it_invalidate_current(_iter: *mut zend_object_iterator);
pub fn zend_user_it_get_gc(
_iter: *mut zend_object_iterator,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
pub fn zend_user_it_new_iterator(
ce: *mut zend_class_entry,
object: *mut zval,
iterator: *mut zval,
);
pub fn zend_user_it_get_new_iterator(
ce: *mut zend_class_entry,
object: *mut zval,
by_ref: ::std::os::raw::c_int,
) -> *mut zend_object_iterator;
pub fn zend_register_interfaces();
pub fn zend_user_serialize(
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 fn zend_user_unserialize(
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 fn zend_create_internal_iterator_zval(
return_value: *mut zval,
obj: *mut zval,
) -> zend_result;
pub fn zend_save_lexical_state(lex_state: *mut zend_lex_state);
pub fn zend_restore_lexical_state(lex_state: *mut zend_lex_state);
pub fn zend_prepare_string_for_scanning(str_: *mut zval, filename: *mut zend_string);
pub fn zend_multibyte_yyinput_again(
old_input_filter: zend_encoding_filter,
old_encoding: *const zend_encoding,
);
pub fn zend_multibyte_set_filter(onetime_encoding: *const zend_encoding) -> zend_result;
pub fn zend_lex_tstring(zv: *mut zval, ident: *mut ::std::os::raw::c_uchar) -> zend_result;
#[doc = " Set a name for the specified memory area.\n\n This feature requires Linux 5.17."]
#[link_name = "zend_mmap_set_name__extern"]
pub fn zend_mmap_set_name(
start: *const ::std::os::raw::c_void,
len: usize,
name: *const ::std::os::raw::c_char,
);
pub static mut zend_observer_fcall_op_array_extension: ::std::os::raw::c_int;
pub static mut zend_observer_fcall_internal_function_extension: ::std::os::raw::c_int;
pub static mut zend_observer_errors_observed: bool;
pub static mut zend_observer_function_declared_observed: bool;
pub static mut zend_observer_class_linked_observed: bool;
pub fn zend_observer_fcall_register(arg1: zend_observer_fcall_init);
pub fn zend_observer_add_begin_handler(
function: *mut zend_function,
begin: zend_observer_fcall_begin_handler,
);
pub fn zend_observer_remove_begin_handler(
function: *mut zend_function,
begin: zend_observer_fcall_begin_handler,
next: *mut zend_observer_fcall_begin_handler,
) -> bool;
pub fn zend_observer_add_end_handler(
function: *mut zend_function,
end: zend_observer_fcall_end_handler,
);
pub fn zend_observer_remove_end_handler(
function: *mut zend_function,
end: zend_observer_fcall_end_handler,
next: *mut zend_observer_fcall_end_handler,
) -> bool;
pub fn zend_observer_startup();
pub fn zend_observer_post_startup();
pub fn zend_observer_activate();
pub fn zend_observer_shutdown();
pub fn zend_observer_fcall_begin(execute_data: *mut zend_execute_data);
pub fn zend_observer_fcall_begin_prechecked(
execute_data: *mut zend_execute_data,
observer_data: *mut zend_observer_fcall_begin_handler,
);
#[link_name = "zend_observer_handler_is_unobserved__extern"]
pub fn zend_observer_handler_is_unobserved(
handler: *mut zend_observer_fcall_begin_handler,
) -> bool;
#[link_name = "zend_observer_fcall_has_no_observers__extern"]
pub fn zend_observer_fcall_has_no_observers(
execute_data: *mut zend_execute_data,
allow_generator: bool,
handler: *mut *mut zend_observer_fcall_begin_handler,
) -> bool;
#[link_name = "zend_observer_fcall_begin_specialized__extern"]
pub fn zend_observer_fcall_begin_specialized(
execute_data: *mut zend_execute_data,
allow_generator: bool,
);
pub fn zend_observer_generator_resume(execute_data: *mut zend_execute_data);
pub fn zend_observer_fcall_end_prechecked(
execute_data: *mut zend_execute_data,
return_value: *mut zval,
);
#[link_name = "zend_observer_fcall_end__extern"]
pub fn zend_observer_fcall_end(execute_data: *mut zend_execute_data, return_value: *mut zval);
pub fn zend_observer_fcall_end_all();
pub fn zend_observer_function_declared_register(cb: zend_observer_function_declared_cb);
pub fn _zend_observer_function_declared_notify(
op_array: *mut zend_op_array,
name: *mut zend_string,
);
#[link_name = "zend_observer_function_declared_notify__extern"]
pub fn zend_observer_function_declared_notify(
op_array: *mut zend_op_array,
name: *mut zend_string,
);
pub fn zend_observer_class_linked_register(cb: zend_observer_class_linked_cb);
pub fn _zend_observer_class_linked_notify(ce: *mut zend_class_entry, name: *mut zend_string);
#[link_name = "zend_observer_class_linked_notify__extern"]
pub fn zend_observer_class_linked_notify(ce: *mut zend_class_entry, name: *mut zend_string);
pub fn zend_observer_error_register(callback: zend_observer_error_cb);
pub fn _zend_observer_error_notify(
type_: ::std::os::raw::c_int,
error_filename: *mut zend_string,
error_lineno: u32,
message: *mut zend_string,
);
#[link_name = "zend_observer_error_notify__extern"]
pub fn zend_observer_error_notify(
type_: ::std::os::raw::c_int,
error_filename: *mut zend_string,
error_lineno: u32,
message: *mut zend_string,
);
pub fn zend_observer_fiber_init_register(handler: zend_observer_fiber_init_handler);
pub fn zend_observer_fiber_switch_register(handler: zend_observer_fiber_switch_handler);
pub fn zend_observer_fiber_destroy_register(handler: zend_observer_fiber_destroy_handler);
pub fn zend_observer_fiber_init_notify(initializing: *mut zend_fiber_context);
pub fn zend_observer_fiber_switch_notify(
from: *mut zend_fiber_context,
to: *mut zend_fiber_context,
);
pub fn zend_observer_fiber_destroy_notify(destroying: *mut zend_fiber_context);
pub fn smart_str_erealloc(str_: *mut smart_str, len: usize);
pub fn smart_str_realloc(str_: *mut smart_str, len: usize);
pub fn smart_str_append_escaped(
str_: *mut smart_str,
s: *const ::std::os::raw::c_char,
l: usize,
);
pub fn smart_str_append_double(
str_: *mut smart_str,
num: f64,
precision: ::std::os::raw::c_int,
zero_fraction: bool,
);
pub fn smart_str_append_printf(
dest: *mut smart_str,
format: *const ::std::os::raw::c_char,
...
);
pub fn smart_str_append_escaped_truncated(
str_: *mut smart_str,
value: *const zend_string,
length: usize,
);
pub fn smart_str_append_scalar(str_: *mut smart_str, value: *const zval, truncate: usize);
pub fn smart_str_append_zval(
dest: *mut smart_str,
value: *const zval,
truncate: usize,
) -> zend_result;
#[link_name = "smart_str_alloc__extern"]
pub fn smart_str_alloc(str_: *mut smart_str, len: usize, persistent: bool) -> usize;
#[link_name = "smart_str_extend_ex__extern"]
pub fn smart_str_extend_ex(
dest: *mut smart_str,
len: usize,
persistent: bool,
) -> *mut ::std::os::raw::c_char;
#[link_name = "smart_str_extend__extern"]
pub fn smart_str_extend(dest: *mut smart_str, length: usize) -> *mut ::std::os::raw::c_char;
#[link_name = "smart_str_free_ex__extern"]
pub fn smart_str_free_ex(str_: *mut smart_str, persistent: bool);
#[link_name = "smart_str_free__extern"]
pub fn smart_str_free(str_: *mut smart_str);
#[link_name = "smart_str_0__extern"]
pub fn smart_str_0(str_: *mut smart_str);
#[link_name = "smart_str_get_len__extern"]
pub fn smart_str_get_len(str_: *mut smart_str) -> usize;
#[link_name = "smart_str_trim_to_size_ex__extern"]
pub fn smart_str_trim_to_size_ex(str_: *mut smart_str, persistent: bool);
#[link_name = "smart_str_trim_to_size__extern"]
pub fn smart_str_trim_to_size(dest: *mut smart_str);
#[link_name = "smart_str_extract_ex__extern"]
pub fn smart_str_extract_ex(str_: *mut smart_str, persistent: bool) -> *mut zend_string;
#[link_name = "smart_str_extract__extern"]
pub fn smart_str_extract(dest: *mut smart_str) -> *mut zend_string;
#[link_name = "smart_str_appendc_ex__extern"]
pub fn smart_str_appendc_ex(dest: *mut smart_str, ch: ::std::os::raw::c_char, persistent: bool);
#[link_name = "smart_str_appendl_ex__extern"]
pub fn smart_str_appendl_ex(
dest: *mut smart_str,
str_: *const ::std::os::raw::c_char,
len: usize,
persistent: bool,
);
#[link_name = "smart_str_append_ex__extern"]
pub fn smart_str_append_ex(dest: *mut smart_str, src: *const zend_string, persistent: bool);
#[link_name = "smart_str_append_smart_str_ex__extern"]
pub fn smart_str_append_smart_str_ex(
dest: *mut smart_str,
src: *const smart_str,
persistent: bool,
);
#[link_name = "smart_str_append_long_ex__extern"]
pub fn smart_str_append_long_ex(dest: *mut smart_str, num: zend_long, persistent: bool);
#[link_name = "smart_str_append_long__extern"]
pub fn smart_str_append_long(dest: *mut smart_str, num: zend_long);
#[link_name = "smart_str_append_unsigned_ex__extern"]
pub fn smart_str_append_unsigned_ex(dest: *mut smart_str, num: zend_ulong, persistent: bool);
#[link_name = "smart_str_append_unsigned__extern"]
pub fn smart_str_append_unsigned(dest: *mut smart_str, num: zend_ulong);
#[link_name = "smart_str_appendl__extern"]
pub fn smart_str_appendl(
dest: *mut smart_str,
src: *const ::std::os::raw::c_char,
length: usize,
);
#[link_name = "smart_str_appends_ex__extern"]
pub fn smart_str_appends_ex(
dest: *mut smart_str,
src: *const ::std::os::raw::c_char,
persistent: bool,
);
#[link_name = "smart_str_appends__extern"]
pub fn smart_str_appends(dest: *mut smart_str, src: *const ::std::os::raw::c_char);
#[link_name = "smart_str_append__extern"]
pub fn smart_str_append(dest: *mut smart_str, src: *const zend_string);
#[link_name = "smart_str_appendc__extern"]
pub fn smart_str_appendc(dest: *mut smart_str, ch: ::std::os::raw::c_char);
#[link_name = "smart_str_append_smart_str__extern"]
pub fn smart_str_append_smart_str(dest: *mut smart_str, src: *const smart_str);
#[link_name = "smart_str_setl__extern"]
pub fn smart_str_setl(dest: *mut smart_str, src: *const ::std::os::raw::c_char, len: usize);
#[link_name = "smart_str_sets__extern"]
pub fn smart_str_sets(dest: *mut smart_str, src: *const ::std::os::raw::c_char);
pub fn smart_string_append_printf(
dest: *mut smart_string,
format: *const ::std::os::raw::c_char,
...
);
pub fn _smart_string_alloc_persistent(str_: *mut smart_string, len: usize);
pub fn _smart_string_alloc(str_: *mut smart_string, len: usize);
#[link_name = "smart_string_alloc__extern"]
pub fn smart_string_alloc(str_: *mut smart_string, len: usize, persistent: bool) -> usize;
#[link_name = "smart_string_free_ex__extern"]
pub fn smart_string_free_ex(str_: *mut smart_string, persistent: bool);
#[link_name = "smart_string_0__extern"]
pub fn smart_string_0(str_: *mut smart_string);
#[link_name = "smart_string_appendc_ex__extern"]
pub fn smart_string_appendc_ex(
dest: *mut smart_string,
ch: ::std::os::raw::c_char,
persistent: bool,
);
#[link_name = "smart_string_appendl_ex__extern"]
pub fn smart_string_appendl_ex(
dest: *mut smart_string,
str_: *const ::std::os::raw::c_char,
len: usize,
persistent: bool,
);
#[link_name = "smart_string_append_long_ex__extern"]
pub fn smart_string_append_long_ex(dest: *mut smart_string, num: zend_long, persistent: bool);
#[link_name = "smart_string_append_unsigned_ex__extern"]
pub fn smart_string_append_unsigned_ex(
dest: *mut smart_string,
num: zend_ulong,
persistent: bool,
);
#[link_name = "smart_string_setl__extern"]
pub fn smart_string_setl(dest: *mut smart_string, src: *mut ::std::os::raw::c_char, len: usize);
#[link_name = "smart_string_reset__extern"]
pub fn smart_string_reset(str_: *mut smart_string);
pub static mut zend_system_id: [::std::os::raw::c_char; 32usize];
pub fn zend_add_system_entropy(
module_name: *const ::std::os::raw::c_char,
hook_name: *const ::std::os::raw::c_char,
data: *const ::std::os::raw::c_void,
size: usize,
) -> zend_result;
pub fn zend_startup_system_id();
pub fn zend_finalize_system_id();
pub fn virtual_cwd_startup();
pub fn virtual_cwd_shutdown();
pub fn virtual_cwd_activate();
pub fn virtual_cwd_deactivate();
pub fn virtual_getcwd_ex(length: *mut usize) -> *mut ::std::os::raw::c_char;
pub fn virtual_getcwd(
buf: *mut ::std::os::raw::c_char,
size: usize,
) -> *mut ::std::os::raw::c_char;
pub fn virtual_chdir(path: *const ::std::os::raw::c_char) -> zend_result;
pub fn virtual_chdir_file(
path: *const ::std::os::raw::c_char,
p_chdir: ::std::option::Option<
unsafe extern "C" fn(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
>,
) -> ::std::os::raw::c_int;
pub fn virtual_filepath(
path: *const ::std::os::raw::c_char,
filepath: *mut *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
pub fn virtual_filepath_ex(
path: *const ::std::os::raw::c_char,
filepath: *mut *mut ::std::os::raw::c_char,
verify_path: verify_path_func,
) -> ::std::os::raw::c_int;
pub fn virtual_realpath(
path: *const ::std::os::raw::c_char,
real_path: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
pub fn virtual_fopen(
path: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
) -> *mut FILE;
pub fn virtual_open(
path: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_int,
...
) -> ::std::os::raw::c_int;
pub fn virtual_creat(
path: *const ::std::os::raw::c_char,
mode: mode_t,
) -> ::std::os::raw::c_int;
pub fn virtual_rename(
oldname: *const ::std::os::raw::c_char,
newname: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
pub fn virtual_stat(
path: *const ::std::os::raw::c_char,
buf: *mut zend_stat_t,
) -> ::std::os::raw::c_int;
pub fn virtual_lstat(
path: *const ::std::os::raw::c_char,
buf: *mut zend_stat_t,
) -> ::std::os::raw::c_int;
pub fn virtual_unlink(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
pub fn virtual_mkdir(
pathname: *const ::std::os::raw::c_char,
mode: mode_t,
) -> ::std::os::raw::c_int;
pub fn virtual_rmdir(pathname: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
pub fn virtual_opendir(pathname: *const ::std::os::raw::c_char) -> *mut DIR;
pub fn virtual_popen(
command: *const ::std::os::raw::c_char,
type_: *const ::std::os::raw::c_char,
) -> *mut FILE;
pub fn virtual_access(
pathname: *const ::std::os::raw::c_char,
mode: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
pub fn virtual_utime(
filename: *const ::std::os::raw::c_char,
buf: *mut utimbuf,
) -> ::std::os::raw::c_int;
pub fn virtual_chmod(
filename: *const ::std::os::raw::c_char,
mode: mode_t,
) -> ::std::os::raw::c_int;
pub fn virtual_chown(
filename: *const ::std::os::raw::c_char,
owner: uid_t,
group: gid_t,
link: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
pub fn virtual_file_ex(
state: *mut cwd_state,
path: *const ::std::os::raw::c_char,
verify_path: verify_path_func,
use_realpath: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
pub fn tsrm_realpath(
path: *const ::std::os::raw::c_char,
real_path: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
pub static mut cwd_globals: virtual_cwd_globals;
pub fn realpath_cache_clean();
pub fn realpath_cache_del(path: *const ::std::os::raw::c_char, path_len: usize);
pub fn realpath_cache_lookup(
path: *const ::std::os::raw::c_char,
path_len: usize,
t: time_t,
) -> *mut realpath_cache_bucket;
pub fn realpath_cache_size() -> zend_long;
pub fn realpath_cache_max_buckets() -> zend_long;
pub fn realpath_cache_get_buckets() -> *mut *mut realpath_cache_bucket;
pub fn zend_vm_set_opcode_handler(opcode: *mut zend_op);
pub fn zend_vm_set_opcode_handler_ex(
opcode: *mut zend_op,
op1_info: u32,
op2_info: u32,
res_info: u32,
);
pub fn zend_serialize_opcode_handler(op: *mut zend_op);
pub fn zend_deserialize_opcode_handler(op: *mut zend_op);
pub fn zend_get_opcode_handler_func(op: *const zend_op) -> *const ::std::os::raw::c_void;
pub fn zend_get_halt_op() -> *const zend_op;
pub fn zend_get_interrupt_op() -> *const zend_op;
pub fn zend_vm_call_opcode_handler(ex: *mut zend_execute_data) -> ::std::os::raw::c_int;
pub fn zend_vm_kind() -> ::std::os::raw::c_int;
pub fn zend_vm_init();
pub fn zend_vm_dtor();
pub static mut zend_ce_weakref: *mut zend_class_entry;
pub fn zend_register_weakref_ce();
pub fn zend_weakrefs_init();
pub fn zend_weakrefs_shutdown();
pub fn zend_weakrefs_notify(object: *mut zend_object);
pub fn zend_weakrefs_hash_add(
ht: *mut HashTable,
key: *mut zend_object,
pData: *mut zval,
) -> *mut zval;
pub fn zend_weakrefs_hash_del(ht: *mut HashTable, key: *mut zend_object) -> zend_result;
#[link_name = "zend_weakrefs_hash_add_ptr__extern"]
pub fn zend_weakrefs_hash_add_ptr(
ht: *mut HashTable,
key: *mut zend_object,
ptr: *mut ::std::os::raw::c_void,
) -> *mut ::std::os::raw::c_void;
pub fn zend_weakrefs_hash_clean(ht: *mut HashTable);
#[link_name = "zend_weakrefs_hash_destroy__extern"]
pub fn zend_weakrefs_hash_destroy(ht: *mut HashTable);
#[link_name = "zend_object_to_weakref_key__extern"]
pub fn zend_object_to_weakref_key(object: *const zend_object) -> zend_ulong;
#[link_name = "zend_weakref_key_to_object__extern"]
pub fn zend_weakref_key_to_object(key: zend_ulong) -> *mut zend_object;
pub fn zend_weakmap_get_gc(
object: *mut zend_object,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
pub fn zend_weakmap_get_key_entry_gc(
object: *mut zend_object,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
pub fn zend_weakmap_get_entry_gc(
object: *mut zend_object,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
pub fn zend_weakmap_get_object_key_entry_gc(
object: *mut zend_object,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
pub fn zend_weakmap_get_object_entry_gc(
object: *mut zend_object,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
pub fn php_safe_bcmp(a: *const zend_string, b: *const zend_string) -> ::std::os::raw::c_int;
pub fn ap_php_slprintf(
buf: *mut ::std::os::raw::c_char,
len: usize,
format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
pub fn ap_php_vslprintf(
buf: *mut ::std::os::raw::c_char,
len: usize,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
pub fn ap_php_snprintf(
arg1: *mut ::std::os::raw::c_char,
arg2: usize,
arg3: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
pub fn ap_php_vsnprintf(
arg1: *mut ::std::os::raw::c_char,
arg2: usize,
arg3: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
pub fn ap_php_vasprintf(
buf: *mut *mut ::std::os::raw::c_char,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
pub fn ap_php_asprintf(
buf: *mut *mut ::std::os::raw::c_char,
format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
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;
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;
pub fn ap_php_conv_10(
num: i64,
is_unsigned: bool,
is_negative: *mut bool,
buf_end: *mut ::std::os::raw::c_char,
len: *mut usize,
) -> *mut ::std::os::raw::c_char;
pub fn ap_php_conv_p2(
num: u64,
nbits: ::std::os::raw::c_int,
format: ::std::os::raw::c_char,
buf_end: *mut ::std::os::raw::c_char,
len: *mut usize,
) -> *mut ::std::os::raw::c_char;
pub fn php_printf_to_smart_string(
buf: *mut smart_string,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
);
pub fn php_printf_to_smart_str(
buf: *mut smart_str,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
);
pub static mut environ: *mut *mut ::std::os::raw::c_char;
pub static php_build_date: [::std::os::raw::c_char; 0usize];
pub fn phperror(error: *mut ::std::os::raw::c_char);
pub fn php_write(buf: *mut ::std::os::raw::c_void, size: usize) -> usize;
pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> usize;
pub fn php_printf_unchecked(format: *const ::std::os::raw::c_char, ...) -> usize;
pub fn php_during_module_startup() -> bool;
pub fn php_during_module_shutdown() -> bool;
pub fn php_get_module_initialized() -> bool;
pub fn php_syslog_str(priority: ::std::os::raw::c_int, message: *const zend_string);
pub fn php_syslog(arg1: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
pub fn php_openlog(
arg1: *const ::std::os::raw::c_char,
arg2: ::std::os::raw::c_int,
arg3: ::std::os::raw::c_int,
);
pub fn php_closelog();
pub fn php_log_err_with_severity(
log_message: *const ::std::os::raw::c_char,
syslog_type_int: ::std::os::raw::c_int,
);
pub fn Debug(format: *mut ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
pub fn cfgparse() -> ::std::os::raw::c_int;
#[link_name = "php_set_error_handling__extern"]
pub fn php_set_error_handling(
error_handling: zend_error_handling_t::Type,
exception_class: *mut zend_class_entry,
);
#[link_name = "php_std_error_handling__extern"]
pub fn php_std_error_handling();
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,
);
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,
...
);
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,
...
);
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,
...
);
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,
...
);
pub static mut php_register_internal_extensions_func:
::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
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,
);
pub fn php_com_initialize();
pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
pub fn php_get_internal_encoding() -> *const ::std::os::raw::c_char;
pub fn php_get_input_encoding() -> *const ::std::os::raw::c_char;
pub fn php_get_output_encoding() -> *const ::std::os::raw::c_char;
pub static mut php_internal_encoding_changed: ::std::option::Option<unsafe extern "C" fn()>;
pub static mut output_globals: zend_output_globals;
pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
pub fn php_output_startup();
pub fn php_output_shutdown();
pub fn php_output_activate() -> ::std::os::raw::c_int;
pub fn php_output_deactivate();
pub fn php_output_set_status(status: ::std::os::raw::c_int);
pub fn php_output_get_status() -> ::std::os::raw::c_int;
pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
pub fn php_output_write_unbuffered(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
pub fn php_output_write(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
pub fn php_output_flush() -> zend_result;
pub fn php_output_flush_all();
pub fn php_output_clean() -> zend_result;
pub fn php_output_clean_all();
pub fn php_output_end() -> zend_result;
pub fn php_output_end_all();
pub fn php_output_discard() -> zend_result;
pub fn php_output_discard_all();
pub fn php_output_get_contents(p: *mut zval) -> zend_result;
pub fn php_output_get_length(p: *mut zval) -> zend_result;
pub fn php_output_get_level() -> ::std::os::raw::c_int;
pub fn php_output_get_active_handler() -> *mut php_output_handler;
pub fn php_output_start_default() -> zend_result;
pub fn php_output_start_devnull() -> zend_result;
pub fn php_output_start_user(
output_handler: *mut zval,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> zend_result;
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;
pub fn php_output_handler_create_user(
handler: *mut zval,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> *mut php_output_handler;
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;
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)>,
);
pub fn php_output_handler_start(handler: *mut php_output_handler) -> zend_result;
pub fn php_output_handler_started(name: *const ::std::os::raw::c_char, name_len: usize)
-> bool;
pub fn php_output_handler_hook(
type_: php_output_handler_hook_t,
arg: *mut ::std::os::raw::c_void,
) -> zend_result;
pub fn php_output_handler_dtor(handler: *mut php_output_handler);
pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
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;
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;
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;
pub fn php_output_handler_alias(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
) -> php_output_handler_alias_ctor_t;
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;
pub fn php_file_le_stream() -> ::std::os::raw::c_int;
pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
pub fn php_le_stream_context() -> ::std::os::raw::c_int;
pub fn php_stream_context_free(context: *mut php_stream_context);
pub fn php_stream_context_alloc() -> *mut php_stream_context;
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;
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,
);
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,
);
pub fn php_stream_context_get_uri_parser(
wrappername: *const ::std::os::raw::c_char,
context: *mut php_stream_context,
) -> *const php_uri_parser;
pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
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,
);
pub fn php_stream_context_set(
stream: *mut php_stream,
context: *mut php_stream_context,
) -> *mut php_stream_context;
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;
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;
pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
pub fn php_stream_bucket_prepend(
brigade: *mut php_stream_bucket_brigade,
bucket: *mut php_stream_bucket,
);
pub fn php_stream_bucket_append(
brigade: *mut php_stream_bucket_brigade,
bucket: *mut php_stream_bucket,
);
pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
pub fn php_stream_bucket_make_writeable(
bucket: *mut php_stream_bucket,
) -> *mut php_stream_bucket;
pub fn _php_stream_filter_prepend(
chain: *mut php_stream_filter_chain,
filter: *mut php_stream_filter,
);
pub fn php_stream_filter_prepend_ex(
chain: *mut php_stream_filter_chain,
filter: *mut php_stream_filter,
);
pub fn _php_stream_filter_append(
chain: *mut php_stream_filter_chain,
filter: *mut php_stream_filter,
);
pub fn php_stream_filter_append_ex(
chain: *mut php_stream_filter_chain,
filter: *mut php_stream_filter,
) -> zend_result;
pub fn _php_stream_filter_flush(filter: *mut php_stream_filter, finish: bool) -> zend_result;
pub fn php_stream_filter_remove(
filter: *mut php_stream_filter,
call_dtor: bool,
) -> *mut php_stream_filter;
pub fn php_stream_filter_free(filter: *mut php_stream_filter);
pub fn _php_stream_filter_alloc(
fops: *const php_stream_filter_ops,
abstract_: *mut ::std::os::raw::c_void,
persistent: u8,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream_filter;
pub fn php_stream_filter_register_factory(
filterpattern: *const ::std::os::raw::c_char,
factory: *const php_stream_filter_factory,
) -> zend_result;
pub fn php_stream_filter_unregister_factory(
filterpattern: *const ::std::os::raw::c_char,
) -> zend_result;
pub fn php_stream_filter_register_factory_volatile(
filterpattern: *mut zend_string,
factory: *const php_stream_filter_factory,
) -> zend_result;
pub fn php_stream_filter_create(
filtername: *const ::std::os::raw::c_char,
filterparams: *mut zval,
persistent: u8,
) -> *mut php_stream_filter;
pub fn _php_stream_alloc(
ops: *const php_stream_ops,
abstract_: *mut ::std::os::raw::c_void,
persistent_id: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
#[link_name = "php_stream_from_zval_no_verify_no_error__extern"]
pub fn php_stream_from_zval_no_verify_no_error(zval: *mut zval) -> *mut php_stream;
#[link_name = "php_stream_zend_parse_arg_into_stream__extern"]
pub fn php_stream_zend_parse_arg_into_stream(
arg: *mut zval,
destination_stream_ptr: *mut *mut php_stream,
check_null: bool,
arg_num: u32,
) -> bool;
pub fn php_stream_encloses(
enclosing: *mut php_stream,
enclosed: *mut php_stream,
) -> *mut php_stream;
pub fn _php_stream_free_enclosed(
stream_enclosed: *mut php_stream,
close_options: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
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;
pub fn _php_stream_free(
stream: *mut php_stream,
close_options: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
pub fn _php_stream_seek(
stream: *mut php_stream,
offset: zend_off_t,
whence: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
pub fn _php_stream_tell(stream: *const php_stream) -> zend_off_t;
pub fn _php_stream_read(
stream: *mut php_stream,
buf: *mut ::std::os::raw::c_char,
count: usize,
) -> isize;
pub fn php_stream_read_to_str(stream: *mut php_stream, len: usize) -> *mut zend_string;
pub fn _php_stream_write(
stream: *mut php_stream,
buf: *const ::std::os::raw::c_char,
count: usize,
) -> isize;
pub fn _php_stream_fill_read_buffer(stream: *mut php_stream, size: usize) -> zend_result;
pub fn _php_stream_printf(
stream: *mut php_stream,
fmt: *const ::std::os::raw::c_char,
...
) -> isize;
pub fn _php_stream_eof(stream: *mut php_stream) -> bool;
pub fn _php_stream_getc(stream: *mut php_stream) -> ::std::os::raw::c_int;
pub fn _php_stream_putc(
stream: *mut php_stream,
c: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
pub fn _php_stream_flush(
stream: *mut php_stream,
closing: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
pub fn _php_stream_sync(stream: *mut php_stream, data_only: bool) -> ::std::os::raw::c_int;
pub fn _php_stream_get_line(
stream: *mut php_stream,
buf: *mut ::std::os::raw::c_char,
maxlen: usize,
returned_len: *mut usize,
) -> *mut ::std::os::raw::c_char;
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;
pub fn _php_stream_puts(stream: *mut php_stream, buf: *const ::std::os::raw::c_char) -> bool;
pub fn _php_stream_stat(
stream: *mut php_stream,
ssb: *mut php_stream_statbuf,
) -> ::std::os::raw::c_int;
pub fn _php_stream_stat_path(
path: *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 fn _php_stream_mkdir(
path: *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 fn _php_stream_rmdir(
path: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int;
pub fn _php_stream_opendir(
path: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_readdir(
dirstream: *mut php_stream,
ent: *mut php_stream_dirent,
) -> *mut php_stream_dirent;
pub fn php_stream_dirent_alphasort(
a: *mut *const zend_string,
b: *mut *const zend_string,
) -> ::std::os::raw::c_int;
pub fn php_stream_dirent_alphasortr(
a: *mut *const zend_string,
b: *mut *const zend_string,
) -> ::std::os::raw::c_int;
pub fn _php_stream_scandir(
dirname: *const ::std::os::raw::c_char,
namelist: *mut *mut *mut zend_string,
flags: ::std::os::raw::c_int,
context: *mut php_stream_context,
compare: ::std::option::Option<
unsafe extern "C" fn(
a: *mut *const zend_string,
b: *mut *const zend_string,
) -> ::std::os::raw::c_int,
>,
) -> ::std::os::raw::c_int;
pub fn _php_stream_set_option(
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;
pub fn _php_stream_truncate_set_size(
stream: *mut php_stream,
newsize: usize,
) -> ::std::os::raw::c_int;
pub fn _php_stream_copy_to_stream(
src: *mut php_stream,
dest: *mut php_stream,
maxlen: usize,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> usize;
pub fn _php_stream_copy_to_stream_ex(
src: *mut php_stream,
dest: *mut php_stream,
maxlen: usize,
len: *mut usize,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> zend_result;
pub fn _php_stream_copy_to_mem(
src: *mut php_stream,
maxlen: usize,
persistent: bool,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut zend_string;
pub fn _php_stream_passthru(
src: *mut php_stream,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> isize;
pub fn php_stream_xport_register(
protocol: *const ::std::os::raw::c_char,
factory: php_stream_transport_factory,
) -> ::std::os::raw::c_int;
pub fn php_stream_xport_unregister(
protocol: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
pub fn _php_stream_xport_create(
name: *const ::std::os::raw::c_char,
namelen: usize,
options: ::std::os::raw::c_int,
flags: ::std::os::raw::c_int,
persistent_id: *const ::std::os::raw::c_char,
timeout: *mut timeval,
context: *mut php_stream_context,
error_string: *mut *mut zend_string,
error_code: *mut ::std::os::raw::c_int,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
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;
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;
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;
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;
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;
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;
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 fn php_stream_xport_shutdown(
stream: *mut php_stream,
how: stream_shutdown_t::Type,
) -> ::std::os::raw::c_int;
pub fn php_stream_xport_crypto_setup(
stream: *mut php_stream,
crypto_method: php_stream_xport_crypt_method_t::Type,
session_stream: *mut php_stream,
) -> ::std::os::raw::c_int;
pub fn php_stream_xport_crypto_enable(
stream: *mut php_stream,
activate: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
pub fn php_stream_xport_get_hash() -> *mut HashTable;
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,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub static mut php_stream_stdio_ops: php_stream_ops;
pub static mut php_plain_files_wrapper: php_stream_wrapper;
pub fn _php_stream_fopen(
filename: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
opened_path: *mut *mut zend_string,
options: ::std::os::raw::c_int,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_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,
options: ::std::os::raw::c_int,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_fopen_from_file(
file: *mut FILE,
mode: *const ::std::os::raw::c_char,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_fopen_from_fd(
fd: ::std::os::raw::c_int,
mode: *const ::std::os::raw::c_char,
persistent_id: *const ::std::os::raw::c_char,
zero_position: bool,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_fopen_from_pipe(
file: *mut FILE,
mode: *const ::std::os::raw::c_char,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_fopen_tmpfile(
dummy: ::std::os::raw::c_int,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_fopen_temporary_file(
dir: *const ::std::os::raw::c_char,
pfx: *const ::std::os::raw::c_char,
opened_path: *mut *mut zend_string,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_open_wrapper_as_file(
path: *mut ::std::os::raw::c_char,
mode: *mut ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
opened_path: *mut *mut zend_string,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut FILE;
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;
pub static php_glob_stream_wrapper: php_stream_wrapper;
pub static php_glob_stream_ops: php_stream_ops;
pub fn _php_glob_stream_get_path(
stream: *mut php_stream,
plen: *mut usize,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_char;
pub fn _php_glob_stream_get_pattern(
stream: *mut php_stream,
plen: *mut usize,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut ::std::os::raw::c_char;
pub fn _php_glob_stream_get_count(
stream: *mut php_stream,
pflags: *mut ::std::os::raw::c_int,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> ::std::os::raw::c_int;
pub static php_stream_userspace_ops: php_stream_ops;
pub static php_stream_userspace_dir_ops: php_stream_ops;
pub fn _php_stream_mmap_range(
stream: *mut php_stream,
offset: usize,
length: usize,
mode: php_stream_mmap_access_t::Type,
mapped_len: *mut usize,
) -> *mut ::std::os::raw::c_char;
pub fn _php_stream_mmap_unmap(stream: *mut php_stream) -> ::std::os::raw::c_int;
pub fn _php_stream_mmap_unmap_ex(
stream: *mut php_stream,
readden: zend_off_t,
) -> ::std::os::raw::c_int;
pub fn _php_stream_cast(
stream: *mut php_stream,
castas: ::std::os::raw::c_int,
ret: *mut *mut ::std::os::raw::c_void,
show_err: ::std::os::raw::c_int,
) -> zend_result;
pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> zend_result;
pub fn php_shutdown_stream_wrappers(module_number: ::std::os::raw::c_int);
pub fn php_shutdown_stream_hashes();
pub fn zm_deactivate_streams(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn php_register_url_stream_wrapper(
protocol: *const ::std::os::raw::c_char,
wrapper: *const php_stream_wrapper,
) -> zend_result;
pub fn php_unregister_url_stream_wrapper(
protocol: *const ::std::os::raw::c_char,
) -> zend_result;
pub fn php_register_url_stream_wrapper_volatile(
protocol: *mut zend_string,
wrapper: *mut php_stream_wrapper,
) -> zend_result;
pub fn php_unregister_url_stream_wrapper_volatile(protocol: *mut zend_string) -> zend_result;
pub fn _php_stream_open_wrapper_ex(
path: *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,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
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;
pub fn php_stream_locate_eol(
stream: *mut php_stream,
buf: *mut zend_string,
) -> *const ::std::os::raw::c_char;
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,
...
);
pub fn _php_stream_make_seekable(
origstream: *mut php_stream,
newstream: *mut *mut php_stream,
flags: ::std::os::raw::c_int,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> php_stream_make_seekable_status::Type;
pub fn _php_stream_get_url_stream_wrappers_hash() -> *mut HashTable;
pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
pub fn _php_get_stream_filters_hash() -> *mut HashTable;
pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
pub static mut php_stream_user_wrapper_ops: *const php_stream_wrapper_ops;
#[link_name = "php_is_stream_path__extern"]
pub fn php_is_stream_path(filename: *const ::std::os::raw::c_char) -> bool;
pub fn _php_stream_memory_create(
mode: ::std::os::raw::c_int,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_memory_open(
mode: ::std::os::raw::c_int,
buf: *mut zend_string,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_memory_get_buffer(
stream: *mut php_stream,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut zend_string;
pub fn _php_stream_temp_create(
mode: ::std::os::raw::c_int,
max_memory_usage: usize,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_temp_create_ex(
mode: ::std::os::raw::c_int,
max_memory_usage: usize,
tmpdir: *const ::std::os::raw::c_char,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn _php_stream_temp_open(
mode: ::std::os::raw::c_int,
max_memory_usage: usize,
buf: *const ::std::os::raw::c_char,
length: usize,
__php_stream_call_depth: ::std::os::raw::c_int,
__zend_filename: *const ::std::os::raw::c_char,
__zend_lineno: u32,
__zend_orig_filename: *const ::std::os::raw::c_char,
__zend_orig_lineno: u32,
) -> *mut php_stream;
pub fn php_stream_mode_from_str(mode: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
pub fn _php_stream_mode_to_str(mode: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
pub static php_stream_memory_ops: php_stream_ops;
pub static php_stream_temp_ops: php_stream_ops;
pub static php_stream_rfc2397_ops: php_stream_ops;
pub static php_stream_rfc2397_wrapper: php_stream_wrapper;
pub static mut core_globals: _php_core_globals;
pub fn config_zval_dtor(zvalue: *mut zval);
pub fn php_init_config();
pub fn php_shutdown_config();
pub fn php_ini_register_extensions();
pub fn cfg_get_entry_ex(name: *mut zend_string) -> *mut zval;
pub fn cfg_get_entry(name: *const ::std::os::raw::c_char, name_length: usize) -> *mut zval;
pub fn cfg_get_long(
varname: *const ::std::os::raw::c_char,
result: *mut zend_long,
) -> zend_result;
pub fn cfg_get_double(varname: *const ::std::os::raw::c_char, result: *mut f64) -> zend_result;
pub fn cfg_get_string(
varname: *const ::std::os::raw::c_char,
result: *mut *mut ::std::os::raw::c_char,
) -> zend_result;
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;
pub fn php_ini_activate_config(
source_hash: *const HashTable,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
);
pub fn php_ini_has_per_dir_config() -> bool;
pub fn php_ini_has_per_host_config() -> bool;
pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: usize);
pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: usize);
pub fn php_ini_get_configuration_hash() -> *mut HashTable;
pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
pub fn expand_filepath(
filepath: *const ::std::os::raw::c_char,
real_path: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
pub fn expand_filepath_ex(
filepath: *const ::std::os::raw::c_char,
real_path: *mut ::std::os::raw::c_char,
relative_to: *const ::std::os::raw::c_char,
relative_to_len: usize,
) -> *mut ::std::os::raw::c_char;
pub fn expand_filepath_with_mode(
filepath: *const ::std::os::raw::c_char,
real_path: *mut ::std::os::raw::c_char,
relative_to: *const ::std::os::raw::c_char,
relative_to_len: usize,
use_realpath: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
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;
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;
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;
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;
pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
pub fn OnUpdateBaseDir(
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 fn php_print_info_htmlhead();
pub fn php_print_info(flag: ::std::os::raw::c_int);
pub fn php_print_style();
pub fn php_info_print_style();
pub fn php_info_print_table_colspan_header(
num_cols: ::std::os::raw::c_int,
header: *const ::std::os::raw::c_char,
);
pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
pub fn php_info_print_table_row_ex(
num_cols: ::std::os::raw::c_int,
arg1: *const ::std::os::raw::c_char,
...
);
pub fn php_info_print_table_start();
pub fn php_info_print_table_end();
pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
pub fn php_info_print_box_end();
pub fn php_info_print_hr();
pub fn php_info_print_module(module: *mut zend_module_entry);
pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
pub fn register_phpinfo_constants(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
);
pub fn zm_activate_filestat(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn zm_deactivate_filestat(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn php_clear_stat_cache(
clear_realpath_cache: bool,
filename: *const ::std::os::raw::c_char,
filename_len: usize,
);
pub fn php_stat(
filename: *mut zend_string,
type_: ::std::os::raw::c_int,
return_value: *mut zval,
);
pub fn zm_startup_url_scanner_ex(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn zm_shutdown_url_scanner_ex(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn zm_activate_url_scanner_ex(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn zm_deactivate_url_scanner_ex(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn php_url_scanner_adapt_single_url(
url: *const ::std::os::raw::c_char,
urllen: usize,
name: *const ::std::os::raw::c_char,
value: *const ::std::os::raw::c_char,
newlen: *mut usize,
encode: bool,
) -> *mut ::std::os::raw::c_char;
pub fn php_url_scanner_add_session_var(
name: *const ::std::os::raw::c_char,
name_len: usize,
value: *const ::std::os::raw::c_char,
value_len: usize,
encode: bool,
) -> zend_result;
pub fn php_url_scanner_reset_session_var(
name: *mut zend_string,
encode: ::std::os::raw::c_int,
) -> zend_result;
pub fn php_url_scanner_reset_session_vars() -> zend_result;
pub fn php_url_scanner_add_var(
name: *const ::std::os::raw::c_char,
name_len: usize,
value: *const ::std::os::raw::c_char,
value_len: usize,
encode: bool,
) -> zend_result;
pub fn php_url_scanner_reset_var(
name: *mut zend_string,
encode: ::std::os::raw::c_int,
) -> zend_result;
pub fn php_url_scanner_reset_vars() -> zend_result;
pub static mut basic_functions_module: zend_module_entry;
pub fn zm_startup_basic(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn zm_shutdown_basic(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn zm_activate_basic(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn zm_deactivate_basic(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn zm_info_basic(zend_module: *mut zend_module_entry);
pub fn php_get_highlight_struct(syntax_highlighter_ini: *mut zend_syntax_highlighter_ini);
pub fn zm_startup_user_filters(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn zm_deactivate_user_filters(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn zm_deactivate_browscap(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn _php_error_log(
opt_err: ::std::os::raw::c_int,
message: *const ::std::os::raw::c_char,
opt: *const ::std::os::raw::c_char,
headers: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
pub fn _php_error_log_ex(
opt_err: ::std::os::raw::c_int,
message: *const ::std::os::raw::c_char,
message_len: usize,
opt: *const ::std::os::raw::c_char,
headers: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
pub fn php_prefix_varname(
result: *mut zval,
prefix: *mut zend_string,
var_name: *const ::std::os::raw::c_char,
var_name_len: usize,
add_underscore: bool,
) -> ::std::os::raw::c_int;
pub static mut basic_globals: php_basic_globals;
pub fn php_getenv(str_: *const ::std::os::raw::c_char, str_len: usize) -> *mut zend_string;
pub fn php_get_nan() -> f64;
pub fn php_get_inf() -> f64;
pub fn register_user_shutdown_function(
function_name: *const ::std::os::raw::c_char,
function_len: usize,
shutdown_function_entry: *mut php_shutdown_function_entry,
) -> bool;
pub fn remove_user_shutdown_function(
function_name: *const ::std::os::raw::c_char,
function_len: usize,
) -> bool;
pub fn append_user_shutdown_function(
shutdown_function_entry: *mut php_shutdown_function_entry,
) -> bool;
pub fn php_call_shutdown_functions();
pub fn php_free_shutdown_functions();
pub fn zm_startup_var(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> zend_result;
pub fn php_var_dump(struc: *mut zval, level: ::std::os::raw::c_int);
pub fn php_var_export(struc: *mut zval, level: ::std::os::raw::c_int);
pub fn php_var_export_ex(
struc: *mut zval,
level: ::std::os::raw::c_int,
buf: *mut smart_str,
) -> zend_result;
pub fn php_debug_zval_dump(struc: *mut zval, level: ::std::os::raw::c_int);
pub fn php_var_serialize(
buf: *mut smart_str,
struc: *mut zval,
data: *mut php_serialize_data_t,
);
pub fn php_var_unserialize(
rval: *mut zval,
p: *mut *const ::std::os::raw::c_uchar,
max: *const ::std::os::raw::c_uchar,
var_hash: *mut php_unserialize_data_t,
) -> ::std::os::raw::c_int;
pub fn php_var_unserialize_ref(
rval: *mut zval,
p: *mut *const ::std::os::raw::c_uchar,
max: *const ::std::os::raw::c_uchar,
var_hash: *mut php_unserialize_data_t,
) -> ::std::os::raw::c_int;
pub fn php_var_unserialize_intern(
rval: *mut zval,
p: *mut *const ::std::os::raw::c_uchar,
max: *const ::std::os::raw::c_uchar,
var_hash: *mut php_unserialize_data_t,
) -> ::std::os::raw::c_int;
pub fn php_var_serialize_init() -> php_serialize_data_t;
pub fn php_var_serialize_destroy(d: php_serialize_data_t);
pub fn php_var_unserialize_init() -> php_unserialize_data_t;
pub fn php_var_unserialize_destroy(d: php_unserialize_data_t);
pub fn php_var_unserialize_get_allowed_classes(d: php_unserialize_data_t) -> *mut HashTable;
pub fn php_var_unserialize_set_allowed_classes(
d: php_unserialize_data_t,
classes: *mut HashTable,
);
pub fn php_var_unserialize_set_max_depth(d: php_unserialize_data_t, max_depth: zend_long);
pub fn php_var_unserialize_get_max_depth(d: php_unserialize_data_t) -> zend_long;
pub fn php_var_unserialize_set_cur_depth(d: php_unserialize_data_t, cur_depth: zend_long);
pub fn php_var_unserialize_get_cur_depth(d: php_unserialize_data_t) -> zend_long;
pub fn php_unserialize_with_options(
return_value: *mut zval,
buf: *const ::std::os::raw::c_char,
buf_len: usize,
options: *mut HashTable,
function_name: *const ::std::os::raw::c_char,
);
pub fn var_replace(var_hash: *mut php_unserialize_data_t, ozval: *mut zval, nzval: *mut zval);
pub fn var_push_dtor(var_hash: *mut php_unserialize_data_t, val: *mut zval);
pub fn var_tmp_var(var_hashx: *mut php_unserialize_data_t) -> *mut zval;
pub fn var_destroy(var_hash: *mut php_unserialize_data_t);
}