1#![allow(clippy::all)]
4#![allow(
5 non_upper_case_globals,
6 non_camel_case_types,
7 non_snake_case,
8 clashing_extern_declarations
9)]
10
11#[repr(C)]
12#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
13pub struct __BindgenBitfieldUnit<Storage> {
14 storage: Storage,
15}
16impl<Storage> __BindgenBitfieldUnit<Storage> {
17 #[inline]
18 pub const fn new(storage: Storage) -> Self {
19 Self { storage }
20 }
21}
22impl<Storage> __BindgenBitfieldUnit<Storage>
23where
24 Storage: AsRef<[u8]> + AsMut<[u8]>,
25{
26 #[inline]
27 pub fn get_bit(&self, index: usize) -> bool {
28 debug_assert!(index / 8 < self.storage.as_ref().len());
29 let byte_index = index / 8;
30 let byte = self.storage.as_ref()[byte_index];
31 let bit_index = if cfg!(target_endian = "big") {
32 7 - (index % 8)
33 } else {
34 index % 8
35 };
36 let mask = 1 << bit_index;
37 byte & mask == mask
38 }
39 #[inline]
40 pub fn set_bit(&mut self, index: usize, val: bool) {
41 debug_assert!(index / 8 < self.storage.as_ref().len());
42 let byte_index = index / 8;
43 let byte = &mut self.storage.as_mut()[byte_index];
44 let bit_index = if cfg!(target_endian = "big") {
45 7 - (index % 8)
46 } else {
47 index % 8
48 };
49 let mask = 1 << bit_index;
50 if val {
51 *byte |= mask;
52 } else {
53 *byte &= !mask;
54 }
55 }
56 #[inline]
57 pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
58 debug_assert!(bit_width <= 64);
59 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
60 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
61 let mut val = 0;
62 for i in 0..(bit_width as usize) {
63 if self.get_bit(i + bit_offset) {
64 let index = if cfg!(target_endian = "big") {
65 bit_width as usize - 1 - i
66 } else {
67 i
68 };
69 val |= 1 << index;
70 }
71 }
72 val
73 }
74 #[inline]
75 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
76 debug_assert!(bit_width <= 64);
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
78 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
79 for i in 0..(bit_width as usize) {
80 let mask = 1 << i;
81 let val_bit_is_set = val & mask == mask;
82 let index = if cfg!(target_endian = "big") {
83 bit_width as usize - 1 - i
84 } else {
85 i
86 };
87 self.set_bit(index + bit_offset, val_bit_is_set);
88 }
89 }
90}
91pub const PHP_API_VERSION: u32 = 20250925;
92pub const PHP_DEFAULT_CHARSET: &[u8; 6] = b"UTF-8\0";
93pub const PHP_MAJOR_VERSION: u32 = 8;
94pub const PHP_MINOR_VERSION: u32 = 5;
95pub const PHP_RELEASE_VERSION: u32 = 8;
96pub const PHP_EXTRA_VERSION: &[u8; 1] = b"\0";
97pub const PHP_VERSION: &[u8; 6] = b"8.5.8\0";
98pub const PHP_VERSION_ID: u32 = 80508;
99pub const ZEND_VERSION: &[u8; 6] = b"4.5.8\0";
100pub const PHP_BUILD_PROVIDER: &[u8; 7] = b"Debian\0";
101pub const PHP_BUILD_SYSTEM: &[u8; 6] = b"Linux\0";
102pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
103pub const PHP_HAVE_AVX512_SUPPORTS: u32 = 1;
104pub const PHP_HAVE_AVX512_VBMI_SUPPORTS: u32 = 1;
105pub const PHP_HAVE_BUILTIN_CLZ: u32 = 1;
106pub const PHP_HAVE_BUILTIN_CLZL: u32 = 1;
107pub const PHP_HAVE_BUILTIN_CLZLL: u32 = 1;
108pub const PHP_HAVE_BUILTIN_CPU_INIT: u32 = 1;
109pub const PHP_HAVE_BUILTIN_CPU_SUPPORTS: u32 = 1;
110pub const PHP_HAVE_BUILTIN_CTZL: u32 = 1;
111pub const PHP_HAVE_BUILTIN_CTZLL: u32 = 1;
112pub const PHP_HAVE_BUILTIN_EXPECT: u32 = 1;
113pub const PHP_HAVE_BUILTIN_FRAME_ADDRESS: u32 = 1;
114pub const PHP_HAVE_BUILTIN_SADDLL_OVERFLOW: u32 = 1;
115pub const PHP_HAVE_BUILTIN_SADDL_OVERFLOW: u32 = 1;
116pub const PHP_HAVE_BUILTIN_SMULLL_OVERFLOW: u32 = 1;
117pub const PHP_HAVE_BUILTIN_SMULL_OVERFLOW: u32 = 1;
118pub const PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW: u32 = 1;
119pub const PHP_HAVE_BUILTIN_SSUBL_OVERFLOW: u32 = 1;
120pub const PHP_HAVE_BUILTIN_UNREACHABLE: u32 = 1;
121pub const PHP_HAVE_BUILTIN_USUB_OVERFLOW: u32 = 1;
122pub const PHP_MHASH_BC: u32 = 1;
123pub const PHP_OS: &[u8; 6] = b"Linux\0";
124pub const PHP_SIGCHILD: u32 = 0;
125pub const PHP_UNAME: &[u8; 6] = b"Linux\0";
126pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
127pub const PHP_WRITE_STDOUT: u32 = 1;
128pub const ZEND_CHECK_STACK_LIMIT: u32 = 1;
129pub const ZEND_DEBUG: u32 = 0;
130pub const ZEND_MM_NEED_EIGHT_BYTE_REALIGNMENT: u32 = 0;
131pub const ZEND_SIGNALS: u32 = 1;
132pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
133pub const ZEND_ENABLE_ZVAL_LONG64: u32 = 1;
134pub const ZEND_LTOA_BUF_LEN: u32 = 65;
135pub const ZEND_LONG_FMT: &[u8; 4] = b"%ld\0";
136pub const ZEND_ULONG_FMT: &[u8; 4] = b"%lu\0";
137pub const ZEND_XLONG_FMT: &[u8; 4] = b"%lx\0";
138pub const ZEND_LONG_FMT_SPEC: &[u8; 3] = b"ld\0";
139pub const ZEND_ULONG_FMT_SPEC: &[u8; 3] = b"lu\0";
140pub const ZEND_ADDR_FMT: &[u8; 9] = b"0x%016zx\0";
141pub const ZEND_LONG_CAN_OVFL_INT: u32 = 1;
142pub const ZEND_LONG_CAN_OVFL_UINT: u32 = 1;
143pub const ZEND_SIZE_T_CAN_OVFL_UINT: u32 = 1;
144pub const PHP_RTLD_MODE: u32 = 1;
145pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
146pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
147pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 6;
148pub const ZEND_INTRIN_HAVE_IFUNC_TARGET: u32 = 1;
149pub const ZEND_INTRIN_SSSE3_RESOLVER: u32 = 1;
150pub const ZEND_INTRIN_SSSE3_FUNC_PROTO: u32 = 1;
151pub const ZEND_INTRIN_SSE4_2_RESOLVER: u32 = 1;
152pub const ZEND_INTRIN_SSE4_2_FUNC_PROTO: u32 = 1;
153pub const ZEND_INTRIN_PCLMUL_RESOLVER: u32 = 1;
154pub const ZEND_INTRIN_PCLMUL_FUNC_PTR: u32 = 1;
155pub const ZEND_INTRIN_SSE4_2_PCLMUL_RESOLVER: u32 = 1;
156pub const ZEND_INTRIN_SSE4_2_PCLMUL_FUNC_PTR: u32 = 1;
157pub const ZEND_INTRIN_AVX2_RESOLVER: u32 = 1;
158pub const ZEND_INTRIN_AVX2_FUNC_PROTO: u32 = 1;
159pub const ZEND_INTRIN_AVX512_RESOLVER: u32 = 1;
160pub const ZEND_INTRIN_AVX512_FUNC_PROTO: u32 = 1;
161pub const ZEND_INTRIN_AVX512_VBMI_RESOLVER: u32 = 1;
162pub const ZEND_INTRIN_AVX512_VBMI_FUNC_PROTO: u32 = 1;
163pub const ZEND_SIZE_MAX: i32 = -1;
164pub const _ZEND_TYPE_EXTRA_FLAGS_SHIFT: u32 = 25;
165pub const _ZEND_TYPE_MASK: u32 = 33554431;
166pub const _ZEND_TYPE_NAME_BIT: u32 = 16777216;
167pub const _ZEND_TYPE_LITERAL_NAME_BIT: u32 = 8388608;
168pub const _ZEND_TYPE_LIST_BIT: u32 = 4194304;
169pub const _ZEND_TYPE_KIND_MASK: u32 = 29360128;
170pub const _ZEND_TYPE_ITERABLE_BIT: u32 = 2097152;
171pub const _ZEND_TYPE_ARENA_BIT: u32 = 1048576;
172pub const _ZEND_TYPE_INTERSECTION_BIT: u32 = 524288;
173pub const _ZEND_TYPE_UNION_BIT: u32 = 262144;
174pub const _ZEND_TYPE_MAY_BE_MASK: u32 = 262143;
175pub const _ZEND_TYPE_NULLABLE_BIT: u32 = 2;
176pub const IS_UNDEF: u32 = 0;
177pub const IS_NULL: u32 = 1;
178pub const IS_FALSE: u32 = 2;
179pub const IS_TRUE: u32 = 3;
180pub const IS_LONG: u32 = 4;
181pub const IS_DOUBLE: u32 = 5;
182pub const IS_STRING: u32 = 6;
183pub const IS_ARRAY: u32 = 7;
184pub const IS_OBJECT: u32 = 8;
185pub const IS_RESOURCE: u32 = 9;
186pub const IS_REFERENCE: u32 = 10;
187pub const IS_CONSTANT_AST: u32 = 11;
188pub const IS_CALLABLE: u32 = 12;
189pub const IS_ITERABLE: u32 = 13;
190pub const IS_VOID: u32 = 14;
191pub const IS_STATIC: u32 = 15;
192pub const IS_MIXED: u32 = 16;
193pub const IS_NEVER: u32 = 17;
194pub const IS_INDIRECT: u32 = 12;
195pub const IS_PTR: u32 = 13;
196pub const IS_ALIAS_PTR: u32 = 14;
197pub const _IS_ERROR: u32 = 15;
198pub const _IS_BOOL: u32 = 18;
199pub const _IS_NUMBER: u32 = 19;
200pub const ZEND_GUARD_PROPERTY_GET: u32 = 1;
201pub const ZEND_GUARD_PROPERTY_SET: u32 = 2;
202pub const ZEND_GUARD_PROPERTY_UNSET: u32 = 4;
203pub const ZEND_GUARD_PROPERTY_ISSET: u32 = 8;
204pub const ZEND_GUARD_PROPERTY_HOOK: u32 = 16;
205pub const ZEND_GUARD_PROPERTY_MASK: u32 = 31;
206pub const ZEND_GUARD_RECURSION_DEBUG: u32 = 32;
207pub const ZEND_GUARD_RECURSION_EXPORT: u32 = 64;
208pub const ZEND_GUARD_RECURSION_JSON: u32 = 128;
209pub const Z_TYPE_MASK: u32 = 255;
210pub const Z_TYPE_FLAGS_MASK: u32 = 65280;
211pub const Z_TYPE_FLAGS_SHIFT: u32 = 8;
212pub const Z_TYPE_INFO_EXTRA_SHIFT: u32 = 16;
213pub const GC_TYPE_MASK: u32 = 15;
214pub const GC_FLAGS_MASK: u32 = 1008;
215pub const GC_INFO_MASK: u32 = 4294966272;
216pub const GC_FLAGS_SHIFT: u32 = 0;
217pub const GC_INFO_SHIFT: u32 = 10;
218pub const GC_NOT_COLLECTABLE: u32 = 16;
219pub const GC_PROTECTED: u32 = 32;
220pub const GC_IMMUTABLE: u32 = 64;
221pub const GC_PERSISTENT: u32 = 128;
222pub const GC_PERSISTENT_LOCAL: u32 = 256;
223pub const GC_NULL: u32 = 17;
224pub const GC_STRING: u32 = 22;
225pub const GC_ARRAY: u32 = 7;
226pub const GC_OBJECT: u32 = 8;
227pub const GC_RESOURCE: u32 = 25;
228pub const GC_REFERENCE: u32 = 26;
229pub const GC_CONSTANT_AST: u32 = 27;
230pub const IS_TYPE_REFCOUNTED: u32 = 1;
231pub const IS_TYPE_COLLECTABLE: u32 = 2;
232pub const IS_INTERNED_STRING_EX: u32 = 6;
233pub const IS_STRING_EX: u32 = 262;
234pub const IS_ARRAY_EX: u32 = 775;
235pub const IS_OBJECT_EX: u32 = 776;
236pub const IS_RESOURCE_EX: u32 = 265;
237pub const IS_REFERENCE_EX: u32 = 778;
238pub const IS_CONSTANT_AST_EX: u32 = 267;
239pub const IS_STR_CLASS_NAME_MAP_PTR: u32 = 32;
240pub const IS_STR_INTERNED: u32 = 64;
241pub const IS_STR_PERSISTENT: u32 = 128;
242pub const IS_STR_PERMANENT: u32 = 256;
243pub const IS_STR_VALID_UTF8: u32 = 512;
244pub const IS_ARRAY_IMMUTABLE: u32 = 64;
245pub const IS_ARRAY_PERSISTENT: u32 = 128;
246pub const IS_OBJ_WEAKLY_REFERENCED: u32 = 128;
247pub const IS_OBJ_DESTRUCTOR_CALLED: u32 = 256;
248pub const IS_OBJ_FREE_CALLED: u32 = 512;
249pub const IS_OBJ_LAZY_UNINITIALIZED: u32 = 2147483648;
250pub const IS_OBJ_LAZY_PROXY: u32 = 1073741824;
251pub const ZEND_RC_DEBUG: u32 = 0;
252pub const IS_PROP_UNINIT: u32 = 1;
253pub const IS_PROP_REINITABLE: u32 = 2;
254pub const IS_PROP_LAZY: u32 = 4;
255pub const ZEND_MAP_PTR_KIND_PTR: u32 = 0;
256pub const ZEND_MAP_PTR_KIND_PTR_OR_OFFSET: u32 = 1;
257pub const ZEND_MAP_PTR_KIND: u32 = 1;
258pub const ZEND_MM_OVERHEAD: u32 = 0;
259pub const ZEND_MM_PAGE_SIZE: u32 = 4096;
260pub const ZEND_MM_FIRST_PAGE: u32 = 1;
261pub const ZEND_MM_MIN_SMALL_SIZE: u32 = 8;
262pub const ZEND_MM_MAX_SMALL_SIZE: u32 = 3072;
263pub const ZEND_MM_CUSTOM_HEAP_NONE: u32 = 0;
264pub const ZEND_MM_CUSTOM_HEAP_STD: u32 = 1;
265pub const ZEND_MM_CUSTOM_HEAP_DEBUG: u32 = 2;
266pub const ZEND_HRTIME_PLATFORM_POSIX: u32 = 0;
267pub const ZEND_HRTIME_PLATFORM_WINDOWS: u32 = 0;
268pub const ZEND_HRTIME_PLATFORM_APPLE_MACH_ABSOLUTE: u32 = 0;
269pub const ZEND_HRTIME_PLATFORM_APPLE_GETTIME_NSEC: u32 = 0;
270pub const ZEND_HRTIME_PLATFORM_HPUX: u32 = 0;
271pub const ZEND_HRTIME_PLATFORM_AIX: u32 = 0;
272pub const GC_BENCH: u32 = 0;
273pub const HASH_UPDATE: u32 = 1;
274pub const HASH_ADD: u32 = 2;
275pub const HASH_UPDATE_INDIRECT: u32 = 4;
276pub const HASH_ADD_NEW: u32 = 8;
277pub const HASH_ADD_NEXT: u32 = 16;
278pub const HASH_LOOKUP: u32 = 32;
279pub const HASH_FLAG_CONSISTENCY: u32 = 3;
280pub const HASH_FLAG_PACKED: u32 = 4;
281pub const HASH_FLAG_UNINITIALIZED: u32 = 8;
282pub const HASH_FLAG_STATIC_KEYS: u32 = 16;
283pub const HASH_FLAG_HAS_EMPTY_IND: u32 = 32;
284pub const HASH_FLAG_ALLOW_COW_VIOLATION: u32 = 64;
285pub const HASH_FLAG_MASK: u32 = 255;
286pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
287pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
288pub const ZEND_HASH_APPLY_STOP: u32 = 2;
289pub const ZEND_AST_SPEC: u32 = 1;
290pub const ZEND_AST_SPECIAL_SHIFT: u32 = 6;
291pub const ZEND_AST_IS_LIST_SHIFT: u32 = 7;
292pub const ZEND_AST_NUM_CHILDREN_SHIFT: u32 = 8;
293pub const ZEND_MMAP_AHEAD: u32 = 32;
294pub const ZEND_SIGNAL_QUEUE_SIZE: u32 = 64;
295pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
296pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
297pub const ZEND_LAZY_OBJECT_STRATEGY_PROXY: u32 = 1;
298pub const ZEND_LAZY_OBJECT_STRATEGY_GHOST: u32 = 2;
299pub const ZEND_LAZY_OBJECT_INITIALIZED: u32 = 4;
300pub const ZEND_LAZY_OBJECT_SKIP_INITIALIZATION_ON_SERIALIZE: u32 = 8;
301pub const ZEND_LAZY_OBJECT_SKIP_DESTRUCTOR: u32 = 16;
302pub const ZEND_FIRST_PROPERTY_OFFSET: u32 = 16;
303pub const ZEND_PROPERTY_HOOK_SIMPLE_READ_BIT: u32 = 2;
304pub const ZEND_PROPERTY_HOOK_SIMPLE_WRITE_BIT: u32 = 4;
305pub const ZEND_PROPERTY_HOOK_SIMPLE_GET_BIT: u32 = 8;
306pub const ZEND_PROPERTY_ISSET: u32 = 0;
307pub const ZEND_PROPERTY_EXISTS: u32 = 2;
308pub const ZEND_STRTOD_K_MAX: u32 = 7;
309pub const ZEND_UNCOMPARABLE: u32 = 1;
310pub const ZEND_USE_ASM_ARITHMETIC: u32 = 1;
311pub const ZEND_VM_SPEC: u32 = 1;
312pub const ZEND_VM_LINES: u32 = 0;
313pub const ZEND_VM_KIND_CALL: u32 = 1;
314pub const ZEND_VM_KIND_SWITCH: u32 = 2;
315pub const ZEND_VM_KIND_GOTO: u32 = 3;
316pub const ZEND_VM_KIND_HYBRID: u32 = 4;
317pub const ZEND_VM_KIND_TAILCALL: u32 = 5;
318pub const ZEND_VM_KIND: u32 = 4;
319pub const ZEND_VM_HYBRID_JIT_RED_ZONE_SIZE: u32 = 48;
320pub const ZEND_VM_OP_SPEC: u32 = 1;
321pub const ZEND_VM_OP_CONST: u32 = 2;
322pub const ZEND_VM_OP_TMPVAR: u32 = 4;
323pub const ZEND_VM_OP_TMPVARCV: u32 = 8;
324pub const ZEND_VM_OP_MASK: u32 = 240;
325pub const ZEND_VM_OP_NUM: u32 = 16;
326pub const ZEND_VM_OP_JMP_ADDR: u32 = 32;
327pub const ZEND_VM_OP_TRY_CATCH: u32 = 48;
328pub const ZEND_VM_OP_LOOP_END: u32 = 64;
329pub const ZEND_VM_OP_THIS: u32 = 80;
330pub const ZEND_VM_OP_NEXT: u32 = 96;
331pub const ZEND_VM_OP_CLASS_FETCH: u32 = 112;
332pub const ZEND_VM_OP_CONSTRUCTOR: u32 = 128;
333pub const ZEND_VM_OP_CONST_FETCH: u32 = 144;
334pub const ZEND_VM_OP_CACHE_SLOT: u32 = 160;
335pub const ZEND_VM_EXT_VAR_FETCH: u32 = 65536;
336pub const ZEND_VM_EXT_ISSET: u32 = 131072;
337pub const ZEND_VM_EXT_CACHE_SLOT: u32 = 262144;
338pub const ZEND_VM_EXT_ARRAY_INIT: u32 = 524288;
339pub const ZEND_VM_EXT_REF: u32 = 1048576;
340pub const ZEND_VM_EXT_FETCH_REF: u32 = 2097152;
341pub const ZEND_VM_EXT_DIM_WRITE: u32 = 4194304;
342pub const ZEND_VM_EXT_MASK: u32 = 251658240;
343pub const ZEND_VM_EXT_NUM: u32 = 16777216;
344pub const ZEND_VM_EXT_LAST_CATCH: u32 = 33554432;
345pub const ZEND_VM_EXT_JMP_ADDR: u32 = 50331648;
346pub const ZEND_VM_EXT_OP: u32 = 67108864;
347pub const ZEND_VM_EXT_TYPE: u32 = 117440512;
348pub const ZEND_VM_EXT_EVAL: u32 = 134217728;
349pub const ZEND_VM_EXT_TYPE_MASK: u32 = 150994944;
350pub const ZEND_VM_EXT_SRC: u32 = 184549376;
351pub const ZEND_VM_NO_CONST_CONST: u32 = 1073741824;
352pub const ZEND_VM_COMMUTATIVE: u32 = 2147483648;
353pub const ZEND_NOP: u32 = 0;
354pub const ZEND_ADD: u32 = 1;
355pub const ZEND_SUB: u32 = 2;
356pub const ZEND_MUL: u32 = 3;
357pub const ZEND_DIV: u32 = 4;
358pub const ZEND_MOD: u32 = 5;
359pub const ZEND_SL: u32 = 6;
360pub const ZEND_SR: u32 = 7;
361pub const ZEND_CONCAT: u32 = 8;
362pub const ZEND_BW_OR: u32 = 9;
363pub const ZEND_BW_AND: u32 = 10;
364pub const ZEND_BW_XOR: u32 = 11;
365pub const ZEND_POW: u32 = 12;
366pub const ZEND_BW_NOT: u32 = 13;
367pub const ZEND_BOOL_NOT: u32 = 14;
368pub const ZEND_BOOL_XOR: u32 = 15;
369pub const ZEND_IS_IDENTICAL: u32 = 16;
370pub const ZEND_IS_NOT_IDENTICAL: u32 = 17;
371pub const ZEND_IS_EQUAL: u32 = 18;
372pub const ZEND_IS_NOT_EQUAL: u32 = 19;
373pub const ZEND_IS_SMALLER: u32 = 20;
374pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 21;
375pub const ZEND_ASSIGN: u32 = 22;
376pub const ZEND_ASSIGN_DIM: u32 = 23;
377pub const ZEND_ASSIGN_OBJ: u32 = 24;
378pub const ZEND_ASSIGN_STATIC_PROP: u32 = 25;
379pub const ZEND_ASSIGN_OP: u32 = 26;
380pub const ZEND_ASSIGN_DIM_OP: u32 = 27;
381pub const ZEND_ASSIGN_OBJ_OP: u32 = 28;
382pub const ZEND_ASSIGN_STATIC_PROP_OP: u32 = 29;
383pub const ZEND_ASSIGN_REF: u32 = 30;
384pub const ZEND_QM_ASSIGN: u32 = 31;
385pub const ZEND_ASSIGN_OBJ_REF: u32 = 32;
386pub const ZEND_ASSIGN_STATIC_PROP_REF: u32 = 33;
387pub const ZEND_PRE_INC: u32 = 34;
388pub const ZEND_PRE_DEC: u32 = 35;
389pub const ZEND_POST_INC: u32 = 36;
390pub const ZEND_POST_DEC: u32 = 37;
391pub const ZEND_PRE_INC_STATIC_PROP: u32 = 38;
392pub const ZEND_PRE_DEC_STATIC_PROP: u32 = 39;
393pub const ZEND_POST_INC_STATIC_PROP: u32 = 40;
394pub const ZEND_POST_DEC_STATIC_PROP: u32 = 41;
395pub const ZEND_JMP: u32 = 42;
396pub const ZEND_JMPZ: u32 = 43;
397pub const ZEND_JMPNZ: u32 = 44;
398pub const ZEND_JMPZ_EX: u32 = 46;
399pub const ZEND_JMPNZ_EX: u32 = 47;
400pub const ZEND_CASE: u32 = 48;
401pub const ZEND_CHECK_VAR: u32 = 49;
402pub const ZEND_SEND_VAR_NO_REF_EX: u32 = 50;
403pub const ZEND_CAST: u32 = 51;
404pub const ZEND_BOOL: u32 = 52;
405pub const ZEND_FAST_CONCAT: u32 = 53;
406pub const ZEND_ROPE_INIT: u32 = 54;
407pub const ZEND_ROPE_ADD: u32 = 55;
408pub const ZEND_ROPE_END: u32 = 56;
409pub const ZEND_BEGIN_SILENCE: u32 = 57;
410pub const ZEND_END_SILENCE: u32 = 58;
411pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
412pub const ZEND_DO_FCALL: u32 = 60;
413pub const ZEND_INIT_FCALL: u32 = 61;
414pub const ZEND_RETURN: u32 = 62;
415pub const ZEND_RECV: u32 = 63;
416pub const ZEND_RECV_INIT: u32 = 64;
417pub const ZEND_SEND_VAL: u32 = 65;
418pub const ZEND_SEND_VAR_EX: u32 = 66;
419pub const ZEND_SEND_REF: u32 = 67;
420pub const ZEND_NEW: u32 = 68;
421pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
422pub const ZEND_FREE: u32 = 70;
423pub const ZEND_INIT_ARRAY: u32 = 71;
424pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
425pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
426pub const ZEND_UNSET_VAR: u32 = 74;
427pub const ZEND_UNSET_DIM: u32 = 75;
428pub const ZEND_UNSET_OBJ: u32 = 76;
429pub const ZEND_FE_RESET_R: u32 = 77;
430pub const ZEND_FE_FETCH_R: u32 = 78;
431pub const ZEND_FETCH_R: u32 = 80;
432pub const ZEND_FETCH_DIM_R: u32 = 81;
433pub const ZEND_FETCH_OBJ_R: u32 = 82;
434pub const ZEND_FETCH_W: u32 = 83;
435pub const ZEND_FETCH_DIM_W: u32 = 84;
436pub const ZEND_FETCH_OBJ_W: u32 = 85;
437pub const ZEND_FETCH_RW: u32 = 86;
438pub const ZEND_FETCH_DIM_RW: u32 = 87;
439pub const ZEND_FETCH_OBJ_RW: u32 = 88;
440pub const ZEND_FETCH_IS: u32 = 89;
441pub const ZEND_FETCH_DIM_IS: u32 = 90;
442pub const ZEND_FETCH_OBJ_IS: u32 = 91;
443pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
444pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
445pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
446pub const ZEND_FETCH_UNSET: u32 = 95;
447pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
448pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
449pub const ZEND_FETCH_LIST_R: u32 = 98;
450pub const ZEND_FETCH_CONSTANT: u32 = 99;
451pub const ZEND_CHECK_FUNC_ARG: u32 = 100;
452pub const ZEND_EXT_STMT: u32 = 101;
453pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
454pub const ZEND_EXT_FCALL_END: u32 = 103;
455pub const ZEND_EXT_NOP: u32 = 104;
456pub const ZEND_TICKS: u32 = 105;
457pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
458pub const ZEND_CATCH: u32 = 107;
459pub const ZEND_THROW: u32 = 108;
460pub const ZEND_FETCH_CLASS: u32 = 109;
461pub const ZEND_CLONE: u32 = 110;
462pub const ZEND_RETURN_BY_REF: u32 = 111;
463pub const ZEND_INIT_METHOD_CALL: u32 = 112;
464pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
465pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
466pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
467pub const ZEND_SEND_VAL_EX: u32 = 116;
468pub const ZEND_SEND_VAR: u32 = 117;
469pub const ZEND_INIT_USER_CALL: u32 = 118;
470pub const ZEND_SEND_ARRAY: u32 = 119;
471pub const ZEND_SEND_USER: u32 = 120;
472pub const ZEND_STRLEN: u32 = 121;
473pub const ZEND_DEFINED: u32 = 122;
474pub const ZEND_TYPE_CHECK: u32 = 123;
475pub const ZEND_VERIFY_RETURN_TYPE: u32 = 124;
476pub const ZEND_FE_RESET_RW: u32 = 125;
477pub const ZEND_FE_FETCH_RW: u32 = 126;
478pub const ZEND_FE_FREE: u32 = 127;
479pub const ZEND_INIT_DYNAMIC_CALL: u32 = 128;
480pub const ZEND_DO_ICALL: u32 = 129;
481pub const ZEND_DO_UCALL: u32 = 130;
482pub const ZEND_DO_FCALL_BY_NAME: u32 = 131;
483pub const ZEND_PRE_INC_OBJ: u32 = 132;
484pub const ZEND_PRE_DEC_OBJ: u32 = 133;
485pub const ZEND_POST_INC_OBJ: u32 = 134;
486pub const ZEND_POST_DEC_OBJ: u32 = 135;
487pub const ZEND_ECHO: u32 = 136;
488pub const ZEND_OP_DATA: u32 = 137;
489pub const ZEND_INSTANCEOF: u32 = 138;
490pub const ZEND_GENERATOR_CREATE: u32 = 139;
491pub const ZEND_MAKE_REF: u32 = 140;
492pub const ZEND_DECLARE_FUNCTION: u32 = 141;
493pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 142;
494pub const ZEND_DECLARE_CONST: u32 = 143;
495pub const ZEND_DECLARE_CLASS: u32 = 144;
496pub const ZEND_DECLARE_CLASS_DELAYED: u32 = 145;
497pub const ZEND_DECLARE_ANON_CLASS: u32 = 146;
498pub const ZEND_ADD_ARRAY_UNPACK: u32 = 147;
499pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
500pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
501pub const ZEND_USER_OPCODE: u32 = 150;
502pub const ZEND_ASSERT_CHECK: u32 = 151;
503pub const ZEND_JMP_SET: u32 = 152;
504pub const ZEND_UNSET_CV: u32 = 153;
505pub const ZEND_ISSET_ISEMPTY_CV: u32 = 154;
506pub const ZEND_FETCH_LIST_W: u32 = 155;
507pub const ZEND_SEPARATE: u32 = 156;
508pub const ZEND_FETCH_CLASS_NAME: u32 = 157;
509pub const ZEND_CALL_TRAMPOLINE: u32 = 158;
510pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
511pub const ZEND_YIELD: u32 = 160;
512pub const ZEND_GENERATOR_RETURN: u32 = 161;
513pub const ZEND_FAST_CALL: u32 = 162;
514pub const ZEND_FAST_RET: u32 = 163;
515pub const ZEND_RECV_VARIADIC: u32 = 164;
516pub const ZEND_SEND_UNPACK: u32 = 165;
517pub const ZEND_YIELD_FROM: u32 = 166;
518pub const ZEND_COPY_TMP: u32 = 167;
519pub const ZEND_BIND_GLOBAL: u32 = 168;
520pub const ZEND_COALESCE: u32 = 169;
521pub const ZEND_SPACESHIP: u32 = 170;
522pub const ZEND_FUNC_NUM_ARGS: u32 = 171;
523pub const ZEND_FUNC_GET_ARGS: u32 = 172;
524pub const ZEND_FETCH_STATIC_PROP_R: u32 = 173;
525pub const ZEND_FETCH_STATIC_PROP_W: u32 = 174;
526pub const ZEND_FETCH_STATIC_PROP_RW: u32 = 175;
527pub const ZEND_FETCH_STATIC_PROP_IS: u32 = 176;
528pub const ZEND_FETCH_STATIC_PROP_FUNC_ARG: u32 = 177;
529pub const ZEND_FETCH_STATIC_PROP_UNSET: u32 = 178;
530pub const ZEND_UNSET_STATIC_PROP: u32 = 179;
531pub const ZEND_ISSET_ISEMPTY_STATIC_PROP: u32 = 180;
532pub const ZEND_FETCH_CLASS_CONSTANT: u32 = 181;
533pub const ZEND_BIND_LEXICAL: u32 = 182;
534pub const ZEND_BIND_STATIC: u32 = 183;
535pub const ZEND_FETCH_THIS: u32 = 184;
536pub const ZEND_SEND_FUNC_ARG: u32 = 185;
537pub const ZEND_ISSET_ISEMPTY_THIS: u32 = 186;
538pub const ZEND_SWITCH_LONG: u32 = 187;
539pub const ZEND_SWITCH_STRING: u32 = 188;
540pub const ZEND_IN_ARRAY: u32 = 189;
541pub const ZEND_COUNT: u32 = 190;
542pub const ZEND_GET_CLASS: u32 = 191;
543pub const ZEND_GET_CALLED_CLASS: u32 = 192;
544pub const ZEND_GET_TYPE: u32 = 193;
545pub const ZEND_ARRAY_KEY_EXISTS: u32 = 194;
546pub const ZEND_MATCH: u32 = 195;
547pub const ZEND_CASE_STRICT: u32 = 196;
548pub const ZEND_MATCH_ERROR: u32 = 197;
549pub const ZEND_JMP_NULL: u32 = 198;
550pub const ZEND_CHECK_UNDEF_ARGS: u32 = 199;
551pub const ZEND_FETCH_GLOBALS: u32 = 200;
552pub const ZEND_VERIFY_NEVER_TYPE: u32 = 201;
553pub const ZEND_CALLABLE_CONVERT: u32 = 202;
554pub const ZEND_BIND_INIT_STATIC_OR_JMP: u32 = 203;
555pub const ZEND_FRAMELESS_ICALL_0: u32 = 204;
556pub const ZEND_FRAMELESS_ICALL_1: u32 = 205;
557pub const ZEND_FRAMELESS_ICALL_2: u32 = 206;
558pub const ZEND_FRAMELESS_ICALL_3: u32 = 207;
559pub const ZEND_JMP_FRAMELESS: u32 = 208;
560pub const ZEND_INIT_PARENT_PROPERTY_HOOK_CALL: u32 = 209;
561pub const ZEND_DECLARE_ATTRIBUTED_CONST: u32 = 210;
562pub const ZEND_VM_LAST_OPCODE: u32 = 210;
563pub const ZEND_USE_ABS_JMP_ADDR: u32 = 0;
564pub const ZEND_USE_ABS_CONST_ADDR: u32 = 0;
565pub const ZEND_LIVE_TMPVAR: u32 = 0;
566pub const ZEND_LIVE_LOOP: u32 = 1;
567pub const ZEND_LIVE_SILENCE: u32 = 2;
568pub const ZEND_LIVE_ROPE: u32 = 3;
569pub const ZEND_LIVE_NEW: u32 = 4;
570pub const ZEND_LIVE_MASK: u32 = 7;
571pub const ZEND_ACC_PUBLIC: u32 = 1;
572pub const ZEND_ACC_PROTECTED: u32 = 2;
573pub const ZEND_ACC_PRIVATE: u32 = 4;
574pub const ZEND_ACC_CHANGED: u32 = 8;
575pub const ZEND_ACC_STATIC: u32 = 16;
576pub const ZEND_ACC_FINAL: u32 = 32;
577pub const ZEND_ACC_ABSTRACT: u32 = 64;
578pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 64;
579pub const ZEND_ACC_READONLY: u32 = 128;
580pub const ZEND_ACC_IMMUTABLE: u32 = 128;
581pub const ZEND_ACC_HAS_TYPE_HINTS: u32 = 256;
582pub const ZEND_ACC_TOP_LEVEL: u32 = 512;
583pub const ZEND_ACC_PRELOADED: u32 = 1024;
584pub const ZEND_CLASS_CONST_IS_CASE: u32 = 64;
585pub const ZEND_ACC_DEPRECATED: u32 = 2048;
586pub const ZEND_ACC_OVERRIDE: u32 = 268435456;
587pub const ZEND_ACC_PROMOTED: u32 = 256;
588pub const ZEND_ACC_VIRTUAL: u32 = 512;
589pub const ZEND_ACC_PUBLIC_SET: u32 = 1024;
590pub const ZEND_ACC_PROTECTED_SET: u32 = 2048;
591pub const ZEND_ACC_PRIVATE_SET: u32 = 4096;
592pub const ZEND_ACC_INTERFACE: u32 = 1;
593pub const ZEND_ACC_TRAIT: u32 = 2;
594pub const ZEND_ACC_ANON_CLASS: u32 = 4;
595pub const ZEND_ACC_ENUM: u32 = 268435456;
596pub const ZEND_ACC_LINKED: u32 = 8;
597pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
598pub const ZEND_ACC_USE_GUARDS: u32 = 1073741824;
599pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 4096;
600pub const ZEND_ACC_NO_DYNAMIC_PROPERTIES: u32 = 8192;
601pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 16384;
602pub const ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES: u32 = 32768;
603pub const ZEND_ACC_READONLY_CLASS: u32 = 65536;
604pub const ZEND_ACC_RESOLVED_PARENT: u32 = 131072;
605pub const ZEND_ACC_RESOLVED_INTERFACES: u32 = 262144;
606pub const ZEND_ACC_UNRESOLVED_VARIANCE: u32 = 524288;
607pub const ZEND_ACC_NEARLY_LINKED: u32 = 1048576;
608pub const ZEND_ACC_HAS_READONLY_PROPS: u32 = 2097152;
609pub const ZEND_ACC_CACHED: u32 = 4194304;
610pub const ZEND_ACC_CACHEABLE: u32 = 8388608;
611pub const ZEND_ACC_HAS_AST_CONSTANTS: u32 = 16777216;
612pub const ZEND_ACC_HAS_AST_PROPERTIES: u32 = 33554432;
613pub const ZEND_ACC_HAS_AST_STATICS: u32 = 67108864;
614pub const ZEND_ACC_FILE_CACHED: u32 = 134217728;
615pub const ZEND_ACC_NOT_SERIALIZABLE: u32 = 536870912;
616pub const ZEND_ACC_RETURN_REFERENCE: u32 = 4096;
617pub const ZEND_ACC_HAS_RETURN_TYPE: u32 = 8192;
618pub const ZEND_ACC_VARIADIC: u32 = 16384;
619pub const ZEND_ACC_HAS_FINALLY_BLOCK: u32 = 32768;
620pub const ZEND_ACC_EARLY_BINDING: u32 = 65536;
621pub const ZEND_ACC_USES_THIS: u32 = 131072;
622pub const ZEND_ACC_CALL_VIA_TRAMPOLINE: u32 = 262144;
623pub const ZEND_ACC_NEVER_CACHE: u32 = 524288;
624pub const ZEND_ACC_TRAIT_CLONE: u32 = 1048576;
625pub const ZEND_ACC_CTOR: u32 = 2097152;
626pub const ZEND_ACC_CLOSURE: u32 = 4194304;
627pub const ZEND_ACC_FAKE_CLOSURE: u32 = 8388608;
628pub const ZEND_ACC_GENERATOR: u32 = 16777216;
629pub const ZEND_ACC_DONE_PASS_TWO: u32 = 33554432;
630pub const ZEND_ACC_ARENA_ALLOCATED: u32 = 33554432;
631pub const ZEND_ACC_HEAP_RT_CACHE: u32 = 67108864;
632pub const ZEND_ACC_USER_ARG_INFO: u32 = 67108864;
633pub const ZEND_ACC_COMPILE_TIME_EVAL: u32 = 134217728;
634pub const ZEND_ACC_PTR_OPS: u32 = 268435456;
635pub const ZEND_ACC_NODISCARD: u32 = 536870912;
636pub const ZEND_ACC_STRICT_TYPES: u32 = 2147483648;
637pub const ZEND_ACC_PPP_MASK: u32 = 7;
638pub const ZEND_ACC_PPP_SET_MASK: u32 = 7168;
639pub const ZEND_ACC_CALL_VIA_HANDLER: u32 = 262144;
640pub const ZEND_SHORT_CIRCUITING_CHAIN_MASK: u32 = 3;
641pub const ZEND_SHORT_CIRCUITING_CHAIN_EXPR: u32 = 0;
642pub const ZEND_SHORT_CIRCUITING_CHAIN_ISSET: u32 = 1;
643pub const ZEND_SHORT_CIRCUITING_CHAIN_EMPTY: u32 = 2;
644pub const ZEND_JMP_NULL_BP_VAR_IS: u32 = 4;
645pub const ZEND_PROPERTY_HOOK_COUNT: u32 = 2;
646pub const ZEND_RETURN_VALUE: u32 = 0;
647pub const ZEND_RETURN_REFERENCE: u32 = 1;
648pub const ZEND_CALL_HAS_THIS: u32 = 776;
649pub const ZEND_CALL_FUNCTION: u32 = 0;
650pub const ZEND_CALL_CODE: u32 = 65536;
651pub const ZEND_CALL_NESTED: u32 = 0;
652pub const ZEND_CALL_TOP: u32 = 131072;
653pub const ZEND_CALL_ALLOCATED: u32 = 262144;
654pub const ZEND_CALL_FREE_EXTRA_ARGS: u32 = 524288;
655pub const ZEND_CALL_HAS_SYMBOL_TABLE: u32 = 1048576;
656pub const ZEND_CALL_RELEASE_THIS: u32 = 2097152;
657pub const ZEND_CALL_CLOSURE: u32 = 4194304;
658pub const ZEND_CALL_FAKE_CLOSURE: u32 = 8388608;
659pub const ZEND_CALL_GENERATOR: u32 = 16777216;
660pub const ZEND_CALL_DYNAMIC: u32 = 33554432;
661pub const ZEND_CALL_MAY_HAVE_UNDEF: u32 = 67108864;
662pub const ZEND_CALL_HAS_EXTRA_NAMED_PARAMS: u32 = 134217728;
663pub const ZEND_CALL_OBSERVED: u32 = 268435456;
664pub const ZEND_CALL_JIT_RESERVED: u32 = 536870912;
665pub const ZEND_CALL_NEEDS_REATTACH: u32 = 1073741824;
666pub const ZEND_CALL_SEND_ARG_BY_REF: u32 = 2147483648;
667pub const ZEND_CALL_NESTED_FUNCTION: u32 = 0;
668pub const ZEND_CALL_NESTED_CODE: u32 = 65536;
669pub const ZEND_CALL_TOP_FUNCTION: u32 = 131072;
670pub const ZEND_CALL_TOP_CODE: u32 = 196608;
671pub const IS_UNUSED: u32 = 0;
672pub const IS_CONST: u32 = 1;
673pub const IS_TMP_VAR: u32 = 2;
674pub const IS_VAR: u32 = 4;
675pub const IS_CV: u32 = 8;
676pub const IS_SMART_BRANCH_JMPZ: u32 = 16;
677pub const IS_SMART_BRANCH_JMPNZ: u32 = 32;
678pub const ZEND_EXTRA_VALUE: u32 = 1;
679pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
680pub const ZEND_MAX_ALLOWED_STACK_SIZE_UNCHECKED: i32 = -1;
681pub const ZEND_MAX_ALLOWED_STACK_SIZE_DETECT: u32 = 0;
682pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
683pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
684pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
685pub const ZEND_FETCH_CLASS_STATIC: u32 = 3;
686pub const ZEND_FETCH_CLASS_AUTO: u32 = 4;
687pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 5;
688pub const ZEND_FETCH_CLASS_TRAIT: u32 = 6;
689pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
690pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
691pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
692pub const ZEND_FETCH_CLASS_EXCEPTION: u32 = 512;
693pub const ZEND_FETCH_CLASS_ALLOW_UNLINKED: u32 = 1024;
694pub const ZEND_FETCH_CLASS_ALLOW_NEARLY_LINKED: u32 = 2048;
695pub const ZEND_PARAM_REF: u32 = 8;
696pub const ZEND_PARAM_VARIADIC: u32 = 16;
697pub const ZEND_NAME_FQ: u32 = 0;
698pub const ZEND_NAME_NOT_FQ: u32 = 1;
699pub const ZEND_NAME_RELATIVE: u32 = 2;
700pub const ZEND_CONST_EXPR_NEW_FETCH_TYPE_SHIFT: u32 = 2;
701pub const ZEND_TYPE_NULLABLE: u32 = 256;
702pub const ZEND_ARRAY_SYNTAX_LIST: u32 = 1;
703pub const ZEND_ARRAY_SYNTAX_LONG: u32 = 2;
704pub const ZEND_ARRAY_SYNTAX_SHORT: u32 = 3;
705pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
706pub const ZEND_USER_FUNCTION: u32 = 2;
707pub const ZEND_EVAL_CODE: u32 = 4;
708pub const ZEND_INTERNAL_CLASS: u32 = 1;
709pub const ZEND_USER_CLASS: u32 = 2;
710pub const ZEND_EVAL: u32 = 1;
711pub const ZEND_INCLUDE: u32 = 2;
712pub const ZEND_INCLUDE_ONCE: u32 = 4;
713pub const ZEND_REQUIRE: u32 = 8;
714pub const ZEND_REQUIRE_ONCE: u32 = 16;
715pub const ZEND_FETCH_GLOBAL: u32 = 2;
716pub const ZEND_FETCH_LOCAL: u32 = 4;
717pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 8;
718pub const ZEND_FETCH_TYPE_MASK: u32 = 14;
719pub const ZEND_FETCH_REF: u32 = 1;
720pub const ZEND_FETCH_DIM_WRITE: u32 = 2;
721pub const ZEND_FETCH_OBJ_FLAGS: u32 = 3;
722pub const ZEND_FETCH_DIM_REF: u32 = 1;
723pub const ZEND_FETCH_DIM_DIM: u32 = 2;
724pub const ZEND_FETCH_DIM_OBJ: u32 = 3;
725pub const ZEND_FETCH_DIM_INCDEC: u32 = 4;
726pub const ZEND_ISEMPTY: u32 = 1;
727pub const ZEND_LAST_CATCH: u32 = 1;
728pub const ZEND_FREE_ON_RETURN: u32 = 1;
729pub const ZEND_FREE_SWITCH: u32 = 2;
730pub const ZEND_FREE_VOID_CAST: u32 = 4;
731pub const ZEND_SEND_BY_VAL: u32 = 0;
732pub const ZEND_SEND_BY_REF: u32 = 1;
733pub const ZEND_SEND_PREFER_REF: u32 = 2;
734pub const ZEND_THROW_IS_EXPR: u32 = 1;
735pub const ZEND_FCALL_MAY_HAVE_EXTRA_NAMED_PARAMS: u32 = 1;
736pub const _ZEND_SEND_MODE_SHIFT: u32 = 25;
737pub const _ZEND_IS_VARIADIC_BIT: u32 = 134217728;
738pub const _ZEND_IS_PROMOTED_BIT: u32 = 268435456;
739pub const _ZEND_IS_TENTATIVE_BIT: u32 = 536870912;
740pub const ZEND_DIM_IS: u32 = 1;
741pub const ZEND_ALT_CASE_SYNTAX: u32 = 2;
742pub const ZEND_ENCAPS_VAR_DOLLAR_CURLY: u32 = 1;
743pub const ZEND_ENCAPS_VAR_DOLLAR_CURLY_VAR_VAR: u32 = 2;
744pub const IS_CONSTANT_CLASS: u32 = 1024;
745pub const IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE: u32 = 2048;
746pub const ZEND_RETURN_VAL: u32 = 0;
747pub const ZEND_RETURN_REF: u32 = 1;
748pub const ZEND_BIND_VAL: u32 = 0;
749pub const ZEND_BIND_REF: u32 = 1;
750pub const ZEND_BIND_IMPLICIT: u32 = 2;
751pub const ZEND_BIND_EXPLICIT: u32 = 4;
752pub const ZEND_RETURNS_FUNCTION: u32 = 1;
753pub const ZEND_RETURNS_VALUE: u32 = 2;
754pub const ZEND_ARRAY_ELEMENT_REF: u32 = 1;
755pub const ZEND_ARRAY_NOT_PACKED: u32 = 2;
756pub const ZEND_ARRAY_SIZE_SHIFT: u32 = 2;
757pub const ZEND_PARENTHESIZED_CONDITIONAL: u32 = 1;
758pub const ZEND_PARENTHESIZED_STATIC_PROP: u32 = 1;
759pub const ZEND_PARENTHESIZED_ARROW_FUNC: u32 = 1;
760pub const ZEND_SYMBOL_CLASS: u32 = 1;
761pub const ZEND_SYMBOL_FUNCTION: u32 = 2;
762pub const ZEND_SYMBOL_CONST: u32 = 4;
763pub const ZEND_GOTO: u32 = 253;
764pub const ZEND_BRK: u32 = 254;
765pub const ZEND_CONT: u32 = 255;
766pub const ZEND_CLONE_FUNC_NAME: &[u8; 8] = b"__clone\0";
767pub const ZEND_CONSTRUCTOR_FUNC_NAME: &[u8; 12] = b"__construct\0";
768pub const ZEND_DESTRUCTOR_FUNC_NAME: &[u8; 11] = b"__destruct\0";
769pub const ZEND_GET_FUNC_NAME: &[u8; 6] = b"__get\0";
770pub const ZEND_SET_FUNC_NAME: &[u8; 6] = b"__set\0";
771pub const ZEND_UNSET_FUNC_NAME: &[u8; 8] = b"__unset\0";
772pub const ZEND_ISSET_FUNC_NAME: &[u8; 8] = b"__isset\0";
773pub const ZEND_CALL_FUNC_NAME: &[u8; 7] = b"__call\0";
774pub const ZEND_CALLSTATIC_FUNC_NAME: &[u8; 13] = b"__callstatic\0";
775pub const ZEND_TOSTRING_FUNC_NAME: &[u8; 11] = b"__tostring\0";
776pub const ZEND_INVOKE_FUNC_NAME: &[u8; 9] = b"__invoke\0";
777pub const ZEND_DEBUGINFO_FUNC_NAME: &[u8; 12] = b"__debuginfo\0";
778pub const ZEND_COMPILE_EXTENDED_STMT: u32 = 1;
779pub const ZEND_COMPILE_EXTENDED_FCALL: u32 = 2;
780pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 3;
781pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 4;
782pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 8;
783pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 16;
784pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 32;
785pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 64;
786pub const ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION: u32 = 256;
787pub const ZEND_COMPILE_IGNORE_USER_FUNCTIONS: u32 = 512;
788pub const ZEND_COMPILE_GUARDS: u32 = 1024;
789pub const ZEND_COMPILE_NO_BUILTINS: u32 = 2048;
790pub const ZEND_COMPILE_WITH_FILE_CACHE: u32 = 4096;
791pub const ZEND_COMPILE_IGNORE_OTHER_FILES: u32 = 8192;
792pub const ZEND_COMPILE_WITHOUT_EXECUTION: u32 = 16384;
793pub const ZEND_COMPILE_PRELOAD: u32 = 32768;
794pub const ZEND_COMPILE_NO_JUMPTABLES: u32 = 65536;
795pub const ZEND_COMPILE_PRELOAD_IN_CHILD: u32 = 131072;
796pub const ZEND_COMPILE_IGNORE_OBSERVER: u32 = 262144;
797pub const ZEND_COMPILE_DEFAULT: u32 = 4;
798pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
799pub const ZEND_BUILD_TS: &[u8; 5] = b",NTS\0";
800pub const ZEND_MODULE_API_NO: u32 = 20250925;
801pub const USING_ZTS: u32 = 0;
802pub const MODULE_PERSISTENT: u32 = 1;
803pub const MODULE_TEMPORARY: u32 = 2;
804pub const MODULE_DEP_REQUIRED: u32 = 1;
805pub const MODULE_DEP_CONFLICTS: u32 = 2;
806pub const MODULE_DEP_OPTIONAL: u32 = 3;
807pub const PHP_USER_CONSTANT: u32 = 8388607;
808pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
809pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
810pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
811pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
812pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
813pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
814pub const ZEND_PARSE_PARAMS_THROW: u32 = 0;
815pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
816pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
817pub const IS_CALLABLE_SUPPRESS_DEPRECATIONS: u32 = 2;
818pub const PHP_OS_FAMILY: &[u8; 6] = b"Linux\0";
819pub const PHP_DEBUG: u32 = 0;
820pub const PHP_DIR_SEPARATOR: u8 = 47u8;
821pub const PHP_EOL: &[u8; 2] = b"\n\0";
822pub const PHP_PROG_SENDMAIL: &[u8; 19] = b"/usr/sbin/sendmail\0";
823pub const PHP_INCLUDE_PATH: &[u8; 17] = b".:/usr/share/php\0";
824pub const PHP_EXTENSION_DIR: &[u8; 22] = b"/usr/lib/php/20250925\0";
825pub const PHP_PREFIX: &[u8; 5] = b"/usr\0";
826pub const PHP_BINDIR: &[u8; 9] = b"/usr/bin\0";
827pub const PHP_SBINDIR: &[u8; 10] = b"/usr/sbin\0";
828pub const PHP_MANDIR: &[u8; 15] = b"/usr/share/man\0";
829pub const PHP_LIBDIR: &[u8; 13] = b"/usr/lib/php\0";
830pub const PHP_DATADIR: &[u8; 19] = b"/usr/share/php/8.5\0";
831pub const PHP_SYSCONFDIR: &[u8; 5] = b"/etc\0";
832pub const PHP_LOCALSTATEDIR: &[u8; 5] = b"/var\0";
833pub const PHP_CONFIG_FILE_PATH: &[u8; 17] = b"/etc/php/8.5/cli\0";
834pub const PHP_CONFIG_FILE_SCAN_DIR: &[u8; 24] = b"/etc/php/8.5/cli/conf.d\0";
835pub const PHP_SHLIB_SUFFIX: &[u8; 3] = b"so\0";
836pub const PHP_SHLIB_EXT_PREFIX: &[u8; 1] = b"\0";
837pub const PHP_MIME_TYPE: &[u8; 24] = b"application/x-httpd-php\0";
838pub const PHP_SYSLOG_FILTER_ALL: u32 = 0;
839pub const PHP_SYSLOG_FILTER_NO_CTRL: u32 = 1;
840pub const PHP_SYSLOG_FILTER_ASCII: u32 = 2;
841pub const PHP_SYSLOG_FILTER_RAW: u32 = 3;
842pub const PHP_OUTPUT_NEWAPI: u32 = 1;
843pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
844pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
845pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
846pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
847pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
848pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
849pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
850pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
851pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
852pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
853pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
854pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
855pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
856pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
857pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
858pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
859pub const PHP_OUTPUT_HANDLER_PRODUCED_OUTPUT: u32 = 32768;
860pub const PHP_OUTPUT_POP_TRY: u32 = 0;
861pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
862pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
863pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
864pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
865pub const PHP_OUTPUT_DISABLED: u32 = 2;
866pub const PHP_OUTPUT_WRITTEN: u32 = 4;
867pub const PHP_OUTPUT_SENT: u32 = 8;
868pub const PHP_OUTPUT_ACTIVE: u32 = 16;
869pub const PHP_OUTPUT_LOCKED: u32 = 32;
870pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
871pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
872pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
873pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
874pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
875pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
876pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
877pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
878pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
879pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
880pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
881pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
882pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
883pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
884pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
885pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
886pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
887pub const PHP_STREAM_FILTER_READ: u32 = 1;
888pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
889pub const PHP_STREAM_FILTER_ALL: u32 = 3;
890pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
891pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
892pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
893pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
894pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
895pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
896pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
897pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
898pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
899pub const PHP_STREAM_FLAG_SUPPRESS_ERRORS: u32 = 256;
900pub const PHP_STREAM_FLAG_NO_RSCR_DTOR_CLOSE: u32 = 512;
901pub const PHP_STREAM_FLAG_NO_IO: u32 = 1024;
902pub const PHP_STREAM_FLAG_WAS_WRITTEN: u32 = 2147483648;
903pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
904pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
905pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
906pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
907pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
908pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
909pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
910pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
911pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
912pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
913pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
914pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
915pub const PHP_STREAM_FREE_KEEP_RSRC: u32 = 64;
916pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
917pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
918pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
919pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
920pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
921pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
922pub const PHP_STREAM_URL_STAT_IGNORE_OPEN_BASEDIR: u32 = 4;
923pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
924pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
925pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
926pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
927pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
928pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
929pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
930pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
931pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
932pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
933pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
934pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
935pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
936pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
937pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
938pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
939pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
940pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
941pub const PHP_STREAM_OPTION_PIPE_BLOCKING: u32 = 13;
942pub const PHP_STREAM_OPTION_SYNC_API: u32 = 14;
943pub const PHP_STREAM_SYNC_SUPPORTED: u32 = 0;
944pub const PHP_STREAM_SYNC_FSYNC: u32 = 1;
945pub const PHP_STREAM_SYNC_FDSYNC: u32 = 2;
946pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
947pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
948pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
949pub const PHP_STREAM_MMAP_ALL: u32 = 0;
950pub const PHP_STREAM_MMAP_MAX: u32 = 536870912;
951pub const PHP_STREAM_AS_STDIO: u32 = 0;
952pub const PHP_STREAM_AS_FD: u32 = 1;
953pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
954pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
955pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
956pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
957pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
958pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
959pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
960pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
961pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
962pub const PHP_STREAM_IS_URL: u32 = 1;
963pub const PHP_STREAM_META_TOUCH: u32 = 1;
964pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
965pub const PHP_STREAM_META_OWNER: u32 = 3;
966pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
967pub const PHP_STREAM_META_GROUP: u32 = 5;
968pub const PHP_STREAM_META_ACCESS: u32 = 6;
969pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
970pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
971pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
972pub const ZEND_INI_USER: u32 = 1;
973pub const ZEND_INI_PERDIR: u32 = 2;
974pub const ZEND_INI_SYSTEM: u32 = 4;
975pub const ZEND_INI_ALL: u32 = 7;
976pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
977pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
978pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
979pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
980pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
981pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
982pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
983pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
984pub const ZEND_INI_STAGE_IN_REQUEST: u32 = 60;
985pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
986pub const ZEND_INI_PARSER_SECTION: u32 = 2;
987pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
988pub const PHP_INI_USER: u32 = 1;
989pub const PHP_INI_PERDIR: u32 = 2;
990pub const PHP_INI_SYSTEM: u32 = 4;
991pub const PHP_INI_ALL: u32 = 7;
992pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
993pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
994pub const PHP_INI_STAGE_STARTUP: u32 = 1;
995pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
996pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
997pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
998pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
999pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
1000pub const PHP_CONNECTION_NORMAL: u32 = 0;
1001pub const PHP_CONNECTION_ABORTED: u32 = 1;
1002pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
1003pub const PHP_ENTRY_NAME_COLOR: &[u8; 5] = b"#ccf\0";
1004pub const PHP_CONTENTS_COLOR: &[u8; 5] = b"#ccc\0";
1005pub const PHP_HEADER_COLOR: &[u8; 5] = b"#99c\0";
1006pub const PHP_INFO_GENERAL: u32 = 1;
1007pub const PHP_INFO_CREDITS: u32 = 2;
1008pub const PHP_INFO_CONFIGURATION: u32 = 4;
1009pub const PHP_INFO_MODULES: u32 = 8;
1010pub const PHP_INFO_ENVIRONMENT: u32 = 16;
1011pub const PHP_INFO_VARIABLES: u32 = 32;
1012pub const PHP_INFO_LICENSE: u32 = 64;
1013pub const PHP_INFO_ALL: u32 = 4294967295;
1014pub const PHP_CREDITS_GROUP: u32 = 1;
1015pub const PHP_CREDITS_GENERAL: u32 = 2;
1016pub const PHP_CREDITS_SAPI: u32 = 4;
1017pub const PHP_CREDITS_MODULES: u32 = 8;
1018pub const PHP_CREDITS_DOCS: u32 = 16;
1019pub const PHP_CREDITS_FULLPAGE: u32 = 32;
1020pub const PHP_CREDITS_QA: u32 = 64;
1021pub const PHP_CREDITS_WEB: u32 = 128;
1022pub const PHP_CREDITS_PACKAGING: u32 = 256;
1023pub const PHP_CREDITS_ALL: u32 = 4294967295;
1024pub 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" ;
1025pub 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" ;
1026pub 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" ;
1027pub const ZEND_EXTENSION_API_NO: u32 = 420250925;
1028pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
1029pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_CTOR: u32 = 1;
1030pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_DTOR: u32 = 2;
1031pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_HANDLER: u32 = 4;
1032pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST_CALC: u32 = 8;
1033pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST: u32 = 16;
1034pub type __uint32_t = ::std::os::raw::c_uint;
1035pub type __dev_t = ::std::os::raw::c_ulong;
1036pub type __uid_t = ::std::os::raw::c_uint;
1037pub type __gid_t = ::std::os::raw::c_uint;
1038pub type __ino_t = ::std::os::raw::c_ulong;
1039pub type __mode_t = ::std::os::raw::c_uint;
1040pub type __nlink_t = ::std::os::raw::c_ulong;
1041pub type __off_t = ::std::os::raw::c_long;
1042pub type __off64_t = ::std::os::raw::c_long;
1043pub type __pid_t = ::std::os::raw::c_int;
1044pub type __clock_t = ::std::os::raw::c_long;
1045pub type __time_t = ::std::os::raw::c_long;
1046pub type __suseconds_t = ::std::os::raw::c_long;
1047pub type __blksize_t = ::std::os::raw::c_long;
1048pub type __blkcnt_t = ::std::os::raw::c_long;
1049pub type __syscall_slong_t = ::std::os::raw::c_long;
1050pub type __socklen_t = ::std::os::raw::c_uint;
1051pub type time_t = __time_t;
1052#[repr(C)]
1053#[derive(Debug, Copy, Clone)]
1054pub struct __sigset_t {
1055 pub __val: [::std::os::raw::c_ulong; 16usize],
1056}
1057#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1058const _: () = {
1059 ["Size of __sigset_t"][::std::mem::size_of::<__sigset_t>() - 128usize];
1060 ["Alignment of __sigset_t"][::std::mem::align_of::<__sigset_t>() - 8usize];
1061 ["Offset of field: __sigset_t::__val"][::std::mem::offset_of!(__sigset_t, __val) - 0usize];
1062};
1063#[repr(C)]
1064#[derive(Debug, Copy, Clone)]
1065pub struct timeval {
1066 pub tv_sec: __time_t,
1067 pub tv_usec: __suseconds_t,
1068}
1069#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1070const _: () = {
1071 ["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
1072 ["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
1073 ["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
1074 ["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
1075};
1076#[repr(C)]
1077#[derive(Debug, Copy, Clone)]
1078pub struct timespec {
1079 pub tv_sec: __time_t,
1080 pub tv_nsec: __syscall_slong_t,
1081}
1082#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1083const _: () = {
1084 ["Size of timespec"][::std::mem::size_of::<timespec>() - 16usize];
1085 ["Alignment of timespec"][::std::mem::align_of::<timespec>() - 8usize];
1086 ["Offset of field: timespec::tv_sec"][::std::mem::offset_of!(timespec, tv_sec) - 0usize];
1087 ["Offset of field: timespec::tv_nsec"][::std::mem::offset_of!(timespec, tv_nsec) - 8usize];
1088};
1089pub type va_list = __builtin_va_list;
1090pub type FILE = _IO_FILE;
1091#[repr(C)]
1092#[derive(Debug, Copy, Clone)]
1093pub struct _IO_marker {
1094 _unused: [u8; 0],
1095}
1096#[repr(C)]
1097#[derive(Debug, Copy, Clone)]
1098pub struct _IO_codecvt {
1099 _unused: [u8; 0],
1100}
1101#[repr(C)]
1102#[derive(Debug, Copy, Clone)]
1103pub struct _IO_wide_data {
1104 _unused: [u8; 0],
1105}
1106pub type _IO_lock_t = ::std::os::raw::c_void;
1107#[repr(C)]
1108#[derive(Debug, Copy, Clone)]
1109pub struct _IO_FILE {
1110 pub _flags: ::std::os::raw::c_int,
1111 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
1112 pub _IO_read_end: *mut ::std::os::raw::c_char,
1113 pub _IO_read_base: *mut ::std::os::raw::c_char,
1114 pub _IO_write_base: *mut ::std::os::raw::c_char,
1115 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
1116 pub _IO_write_end: *mut ::std::os::raw::c_char,
1117 pub _IO_buf_base: *mut ::std::os::raw::c_char,
1118 pub _IO_buf_end: *mut ::std::os::raw::c_char,
1119 pub _IO_save_base: *mut ::std::os::raw::c_char,
1120 pub _IO_backup_base: *mut ::std::os::raw::c_char,
1121 pub _IO_save_end: *mut ::std::os::raw::c_char,
1122 pub _markers: *mut _IO_marker,
1123 pub _chain: *mut _IO_FILE,
1124 pub _fileno: ::std::os::raw::c_int,
1125 pub _flags2: ::std::os::raw::c_int,
1126 pub _old_offset: __off_t,
1127 pub _cur_column: ::std::os::raw::c_ushort,
1128 pub _vtable_offset: ::std::os::raw::c_schar,
1129 pub _shortbuf: [::std::os::raw::c_char; 1usize],
1130 pub _lock: *mut _IO_lock_t,
1131 pub _offset: __off64_t,
1132 pub _codecvt: *mut _IO_codecvt,
1133 pub _wide_data: *mut _IO_wide_data,
1134 pub _freeres_list: *mut _IO_FILE,
1135 pub _freeres_buf: *mut ::std::os::raw::c_void,
1136 pub __pad5: usize,
1137 pub _mode: ::std::os::raw::c_int,
1138 pub _unused2: [::std::os::raw::c_char; 20usize],
1139}
1140#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1141const _: () = {
1142 ["Size of _IO_FILE"][::std::mem::size_of::<_IO_FILE>() - 216usize];
1143 ["Alignment of _IO_FILE"][::std::mem::align_of::<_IO_FILE>() - 8usize];
1144 ["Offset of field: _IO_FILE::_flags"][::std::mem::offset_of!(_IO_FILE, _flags) - 0usize];
1145 ["Offset of field: _IO_FILE::_IO_read_ptr"]
1146 [::std::mem::offset_of!(_IO_FILE, _IO_read_ptr) - 8usize];
1147 ["Offset of field: _IO_FILE::_IO_read_end"]
1148 [::std::mem::offset_of!(_IO_FILE, _IO_read_end) - 16usize];
1149 ["Offset of field: _IO_FILE::_IO_read_base"]
1150 [::std::mem::offset_of!(_IO_FILE, _IO_read_base) - 24usize];
1151 ["Offset of field: _IO_FILE::_IO_write_base"]
1152 [::std::mem::offset_of!(_IO_FILE, _IO_write_base) - 32usize];
1153 ["Offset of field: _IO_FILE::_IO_write_ptr"]
1154 [::std::mem::offset_of!(_IO_FILE, _IO_write_ptr) - 40usize];
1155 ["Offset of field: _IO_FILE::_IO_write_end"]
1156 [::std::mem::offset_of!(_IO_FILE, _IO_write_end) - 48usize];
1157 ["Offset of field: _IO_FILE::_IO_buf_base"]
1158 [::std::mem::offset_of!(_IO_FILE, _IO_buf_base) - 56usize];
1159 ["Offset of field: _IO_FILE::_IO_buf_end"]
1160 [::std::mem::offset_of!(_IO_FILE, _IO_buf_end) - 64usize];
1161 ["Offset of field: _IO_FILE::_IO_save_base"]
1162 [::std::mem::offset_of!(_IO_FILE, _IO_save_base) - 72usize];
1163 ["Offset of field: _IO_FILE::_IO_backup_base"]
1164 [::std::mem::offset_of!(_IO_FILE, _IO_backup_base) - 80usize];
1165 ["Offset of field: _IO_FILE::_IO_save_end"]
1166 [::std::mem::offset_of!(_IO_FILE, _IO_save_end) - 88usize];
1167 ["Offset of field: _IO_FILE::_markers"][::std::mem::offset_of!(_IO_FILE, _markers) - 96usize];
1168 ["Offset of field: _IO_FILE::_chain"][::std::mem::offset_of!(_IO_FILE, _chain) - 104usize];
1169 ["Offset of field: _IO_FILE::_fileno"][::std::mem::offset_of!(_IO_FILE, _fileno) - 112usize];
1170 ["Offset of field: _IO_FILE::_flags2"][::std::mem::offset_of!(_IO_FILE, _flags2) - 116usize];
1171 ["Offset of field: _IO_FILE::_old_offset"]
1172 [::std::mem::offset_of!(_IO_FILE, _old_offset) - 120usize];
1173 ["Offset of field: _IO_FILE::_cur_column"]
1174 [::std::mem::offset_of!(_IO_FILE, _cur_column) - 128usize];
1175 ["Offset of field: _IO_FILE::_vtable_offset"]
1176 [::std::mem::offset_of!(_IO_FILE, _vtable_offset) - 130usize];
1177 ["Offset of field: _IO_FILE::_shortbuf"]
1178 [::std::mem::offset_of!(_IO_FILE, _shortbuf) - 131usize];
1179 ["Offset of field: _IO_FILE::_lock"][::std::mem::offset_of!(_IO_FILE, _lock) - 136usize];
1180 ["Offset of field: _IO_FILE::_offset"][::std::mem::offset_of!(_IO_FILE, _offset) - 144usize];
1181 ["Offset of field: _IO_FILE::_codecvt"][::std::mem::offset_of!(_IO_FILE, _codecvt) - 152usize];
1182 ["Offset of field: _IO_FILE::_wide_data"]
1183 [::std::mem::offset_of!(_IO_FILE, _wide_data) - 160usize];
1184 ["Offset of field: _IO_FILE::_freeres_list"]
1185 [::std::mem::offset_of!(_IO_FILE, _freeres_list) - 168usize];
1186 ["Offset of field: _IO_FILE::_freeres_buf"]
1187 [::std::mem::offset_of!(_IO_FILE, _freeres_buf) - 176usize];
1188 ["Offset of field: _IO_FILE::__pad5"][::std::mem::offset_of!(_IO_FILE, __pad5) - 184usize];
1189 ["Offset of field: _IO_FILE::_mode"][::std::mem::offset_of!(_IO_FILE, _mode) - 192usize];
1190 ["Offset of field: _IO_FILE::_unused2"][::std::mem::offset_of!(_IO_FILE, _unused2) - 196usize];
1191};
1192#[repr(C)]
1193#[repr(align(16))]
1194#[derive(Debug, Copy, Clone)]
1195pub struct max_align_t {
1196 pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
1197 pub __bindgen_padding_0: u64,
1198 pub __clang_max_align_nonce2: u128,
1199}
1200#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1201const _: () = {
1202 ["Size of max_align_t"][::std::mem::size_of::<max_align_t>() - 32usize];
1203 ["Alignment of max_align_t"][::std::mem::align_of::<max_align_t>() - 16usize];
1204 ["Offset of field: max_align_t::__clang_max_align_nonce1"]
1205 [::std::mem::offset_of!(max_align_t, __clang_max_align_nonce1) - 0usize];
1206 ["Offset of field: max_align_t::__clang_max_align_nonce2"]
1207 [::std::mem::offset_of!(max_align_t, __clang_max_align_nonce2) - 16usize];
1208};
1209pub type zend_long = i64;
1210pub type zend_ulong = u64;
1211pub type zend_off_t = i64;
1212extern "C" {
1213 pub static mut zend_dl_use_deepbind: bool;
1214}
1215pub type zend_max_align_t = max_align_t;
1216pub type zend_uchar = ::std::os::raw::c_uchar;
1217pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
1218pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
1219pub type ZEND_RESULT_CODE = ::std::os::raw::c_int;
1220pub use self::ZEND_RESULT_CODE as zend_result;
1221pub type zend_object_handlers = _zend_object_handlers;
1222pub type zend_class_entry = _zend_class_entry;
1223pub type zend_function = _zend_function;
1224pub type zend_execute_data = _zend_execute_data;
1225pub type zval = _zval_struct;
1226pub type zend_refcounted = _zend_refcounted;
1227pub type zend_string = _zend_string;
1228pub type zend_array = _zend_array;
1229pub type zend_object = _zend_object;
1230pub type zend_resource = _zend_resource;
1231pub type zend_reference = _zend_reference;
1232pub type zend_ast_ref = _zend_ast_ref;
1233pub type zend_ast = _zend_ast;
1234pub type compare_func_t = ::std::option::Option<
1235 unsafe extern "C" fn(
1236 arg1: *const ::std::os::raw::c_void,
1237 arg2: *const ::std::os::raw::c_void,
1238 ) -> ::std::os::raw::c_int,
1239>;
1240pub type swap_func_t = ::std::option::Option<
1241 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void),
1242>;
1243pub type sort_func_t = ::std::option::Option<
1244 unsafe extern "C" fn(
1245 arg1: *mut ::std::os::raw::c_void,
1246 arg2: usize,
1247 arg3: usize,
1248 arg4: compare_func_t,
1249 arg5: swap_func_t,
1250 ),
1251>;
1252pub type dtor_func_t = ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval)>;
1253pub type copy_ctor_func_t = ::std::option::Option<unsafe extern "C" fn(pElement: *mut zval)>;
1254#[repr(C)]
1255#[derive(Debug, Copy, Clone)]
1256pub struct zend_type {
1257 pub ptr: *mut ::std::os::raw::c_void,
1258 pub type_mask: u32,
1259}
1260#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1261const _: () = {
1262 ["Size of zend_type"][::std::mem::size_of::<zend_type>() - 16usize];
1263 ["Alignment of zend_type"][::std::mem::align_of::<zend_type>() - 8usize];
1264 ["Offset of field: zend_type::ptr"][::std::mem::offset_of!(zend_type, ptr) - 0usize];
1265 ["Offset of field: zend_type::type_mask"]
1266 [::std::mem::offset_of!(zend_type, type_mask) - 8usize];
1267};
1268#[repr(C)]
1269#[derive(Debug, Copy, Clone)]
1270pub struct zend_type_list {
1271 pub num_types: u32,
1272 pub types: [zend_type; 1usize],
1273}
1274#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1275const _: () = {
1276 ["Size of zend_type_list"][::std::mem::size_of::<zend_type_list>() - 24usize];
1277 ["Alignment of zend_type_list"][::std::mem::align_of::<zend_type_list>() - 8usize];
1278 ["Offset of field: zend_type_list::num_types"]
1279 [::std::mem::offset_of!(zend_type_list, num_types) - 0usize];
1280 ["Offset of field: zend_type_list::types"]
1281 [::std::mem::offset_of!(zend_type_list, types) - 8usize];
1282};
1283#[repr(C)]
1284#[derive(Copy, Clone)]
1285pub union _zend_value {
1286 pub lval: zend_long,
1287 pub dval: f64,
1288 pub counted: *mut zend_refcounted,
1289 pub str_: *mut zend_string,
1290 pub arr: *mut zend_array,
1291 pub obj: *mut zend_object,
1292 pub res: *mut zend_resource,
1293 pub ref_: *mut zend_reference,
1294 pub ast: *mut zend_ast_ref,
1295 pub zv: *mut zval,
1296 pub ptr: *mut ::std::os::raw::c_void,
1297 pub ce: *mut zend_class_entry,
1298 pub func: *mut zend_function,
1299 pub ww: _zend_value__bindgen_ty_1,
1300}
1301#[repr(C)]
1302#[derive(Debug, Copy, Clone)]
1303pub struct _zend_value__bindgen_ty_1 {
1304 pub w1: u32,
1305 pub w2: u32,
1306}
1307#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1308const _: () = {
1309 ["Size of _zend_value__bindgen_ty_1"]
1310 [::std::mem::size_of::<_zend_value__bindgen_ty_1>() - 8usize];
1311 ["Alignment of _zend_value__bindgen_ty_1"]
1312 [::std::mem::align_of::<_zend_value__bindgen_ty_1>() - 4usize];
1313 ["Offset of field: _zend_value__bindgen_ty_1::w1"]
1314 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w1) - 0usize];
1315 ["Offset of field: _zend_value__bindgen_ty_1::w2"]
1316 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w2) - 4usize];
1317};
1318#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1319const _: () = {
1320 ["Size of _zend_value"][::std::mem::size_of::<_zend_value>() - 8usize];
1321 ["Alignment of _zend_value"][::std::mem::align_of::<_zend_value>() - 8usize];
1322 ["Offset of field: _zend_value::lval"][::std::mem::offset_of!(_zend_value, lval) - 0usize];
1323 ["Offset of field: _zend_value::dval"][::std::mem::offset_of!(_zend_value, dval) - 0usize];
1324 ["Offset of field: _zend_value::counted"]
1325 [::std::mem::offset_of!(_zend_value, counted) - 0usize];
1326 ["Offset of field: _zend_value::str_"][::std::mem::offset_of!(_zend_value, str_) - 0usize];
1327 ["Offset of field: _zend_value::arr"][::std::mem::offset_of!(_zend_value, arr) - 0usize];
1328 ["Offset of field: _zend_value::obj"][::std::mem::offset_of!(_zend_value, obj) - 0usize];
1329 ["Offset of field: _zend_value::res"][::std::mem::offset_of!(_zend_value, res) - 0usize];
1330 ["Offset of field: _zend_value::ref_"][::std::mem::offset_of!(_zend_value, ref_) - 0usize];
1331 ["Offset of field: _zend_value::ast"][::std::mem::offset_of!(_zend_value, ast) - 0usize];
1332 ["Offset of field: _zend_value::zv"][::std::mem::offset_of!(_zend_value, zv) - 0usize];
1333 ["Offset of field: _zend_value::ptr"][::std::mem::offset_of!(_zend_value, ptr) - 0usize];
1334 ["Offset of field: _zend_value::ce"][::std::mem::offset_of!(_zend_value, ce) - 0usize];
1335 ["Offset of field: _zend_value::func"][::std::mem::offset_of!(_zend_value, func) - 0usize];
1336 ["Offset of field: _zend_value::ww"][::std::mem::offset_of!(_zend_value, ww) - 0usize];
1337};
1338pub type zend_value = _zend_value;
1339#[repr(C)]
1340#[derive(Copy, Clone)]
1341pub struct _zval_struct {
1342 pub value: zend_value,
1343 pub u1: _zval_struct__bindgen_ty_1,
1344 pub u2: _zval_struct__bindgen_ty_2,
1345}
1346#[repr(C)]
1347#[derive(Copy, Clone)]
1348pub union _zval_struct__bindgen_ty_1 {
1349 pub type_info: u32,
1350 pub v: _zval_struct__bindgen_ty_1__bindgen_ty_1,
1351}
1352#[repr(C)]
1353#[derive(Copy, Clone)]
1354pub struct _zval_struct__bindgen_ty_1__bindgen_ty_1 {
1355 pub type_: u8,
1356 pub type_flags: u8,
1357 pub u: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
1358}
1359#[repr(C)]
1360#[derive(Copy, Clone)]
1361pub union _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
1362 pub extra: u16,
1363}
1364#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1365const _: () = {
1366 ["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1"]
1367 [::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1368 ["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1"]
1369 [::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1370 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1::extra"][::std::mem::offset_of!(
1371 _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
1372 extra
1373 ) - 0usize];
1374};
1375#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1376const _: () = {
1377 ["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1378 [::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1379 ["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1380 [::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1381 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_"]
1382 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_) - 0usize];
1383 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_flags"]
1384 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_flags) - 1usize];
1385 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::u"]
1386 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, u) - 2usize];
1387};
1388#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1389const _: () = {
1390 ["Size of _zval_struct__bindgen_ty_1"]
1391 [::std::mem::size_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1392 ["Alignment of _zval_struct__bindgen_ty_1"]
1393 [::std::mem::align_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1394 ["Offset of field: _zval_struct__bindgen_ty_1::type_info"]
1395 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, type_info) - 0usize];
1396 ["Offset of field: _zval_struct__bindgen_ty_1::v"]
1397 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, v) - 0usize];
1398};
1399#[repr(C)]
1400#[derive(Copy, Clone)]
1401pub union _zval_struct__bindgen_ty_2 {
1402 pub next: u32,
1403 pub cache_slot: u32,
1404 pub opline_num: u32,
1405 pub lineno: u32,
1406 pub num_args: u32,
1407 pub fe_pos: u32,
1408 pub fe_iter_idx: u32,
1409 pub guard: u32,
1410 pub constant_flags: u32,
1411 pub extra: u32,
1412}
1413#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1414const _: () = {
1415 ["Size of _zval_struct__bindgen_ty_2"]
1416 [::std::mem::size_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1417 ["Alignment of _zval_struct__bindgen_ty_2"]
1418 [::std::mem::align_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1419 ["Offset of field: _zval_struct__bindgen_ty_2::next"]
1420 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, next) - 0usize];
1421 ["Offset of field: _zval_struct__bindgen_ty_2::cache_slot"]
1422 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, cache_slot) - 0usize];
1423 ["Offset of field: _zval_struct__bindgen_ty_2::opline_num"]
1424 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, opline_num) - 0usize];
1425 ["Offset of field: _zval_struct__bindgen_ty_2::lineno"]
1426 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, lineno) - 0usize];
1427 ["Offset of field: _zval_struct__bindgen_ty_2::num_args"]
1428 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, num_args) - 0usize];
1429 ["Offset of field: _zval_struct__bindgen_ty_2::fe_pos"]
1430 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_pos) - 0usize];
1431 ["Offset of field: _zval_struct__bindgen_ty_2::fe_iter_idx"]
1432 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_iter_idx) - 0usize];
1433 ["Offset of field: _zval_struct__bindgen_ty_2::guard"]
1434 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, guard) - 0usize];
1435 ["Offset of field: _zval_struct__bindgen_ty_2::constant_flags"]
1436 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, constant_flags) - 0usize];
1437 ["Offset of field: _zval_struct__bindgen_ty_2::extra"]
1438 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, extra) - 0usize];
1439};
1440#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1441const _: () = {
1442 ["Size of _zval_struct"][::std::mem::size_of::<_zval_struct>() - 16usize];
1443 ["Alignment of _zval_struct"][::std::mem::align_of::<_zval_struct>() - 8usize];
1444 ["Offset of field: _zval_struct::value"][::std::mem::offset_of!(_zval_struct, value) - 0usize];
1445 ["Offset of field: _zval_struct::u1"][::std::mem::offset_of!(_zval_struct, u1) - 8usize];
1446 ["Offset of field: _zval_struct::u2"][::std::mem::offset_of!(_zval_struct, u2) - 12usize];
1447};
1448#[repr(C)]
1449#[derive(Copy, Clone)]
1450pub struct _zend_refcounted_h {
1451 pub refcount: u32,
1452 pub u: _zend_refcounted_h__bindgen_ty_1,
1453}
1454#[repr(C)]
1455#[derive(Copy, Clone)]
1456pub union _zend_refcounted_h__bindgen_ty_1 {
1457 pub type_info: u32,
1458}
1459#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1460const _: () = {
1461 ["Size of _zend_refcounted_h__bindgen_ty_1"]
1462 [::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1463 ["Alignment of _zend_refcounted_h__bindgen_ty_1"]
1464 [::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1465 ["Offset of field: _zend_refcounted_h__bindgen_ty_1::type_info"]
1466 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1, type_info) - 0usize];
1467};
1468#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1469const _: () = {
1470 ["Size of _zend_refcounted_h"][::std::mem::size_of::<_zend_refcounted_h>() - 8usize];
1471 ["Alignment of _zend_refcounted_h"][::std::mem::align_of::<_zend_refcounted_h>() - 4usize];
1472 ["Offset of field: _zend_refcounted_h::refcount"]
1473 [::std::mem::offset_of!(_zend_refcounted_h, refcount) - 0usize];
1474 ["Offset of field: _zend_refcounted_h::u"]
1475 [::std::mem::offset_of!(_zend_refcounted_h, u) - 4usize];
1476};
1477pub type zend_refcounted_h = _zend_refcounted_h;
1478#[repr(C)]
1479#[derive(Copy, Clone)]
1480pub struct _zend_refcounted {
1481 pub gc: zend_refcounted_h,
1482}
1483#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1484const _: () = {
1485 ["Size of _zend_refcounted"][::std::mem::size_of::<_zend_refcounted>() - 8usize];
1486 ["Alignment of _zend_refcounted"][::std::mem::align_of::<_zend_refcounted>() - 4usize];
1487 ["Offset of field: _zend_refcounted::gc"]
1488 [::std::mem::offset_of!(_zend_refcounted, gc) - 0usize];
1489};
1490#[repr(C)]
1491#[derive(Copy, Clone)]
1492pub struct _zend_string {
1493 pub gc: zend_refcounted_h,
1494 pub h: zend_ulong,
1495 pub len: usize,
1496 pub val: [::std::os::raw::c_char; 1usize],
1497}
1498#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1499const _: () = {
1500 ["Size of _zend_string"][::std::mem::size_of::<_zend_string>() - 32usize];
1501 ["Alignment of _zend_string"][::std::mem::align_of::<_zend_string>() - 8usize];
1502 ["Offset of field: _zend_string::gc"][::std::mem::offset_of!(_zend_string, gc) - 0usize];
1503 ["Offset of field: _zend_string::h"][::std::mem::offset_of!(_zend_string, h) - 8usize];
1504 ["Offset of field: _zend_string::len"][::std::mem::offset_of!(_zend_string, len) - 16usize];
1505 ["Offset of field: _zend_string::val"][::std::mem::offset_of!(_zend_string, val) - 24usize];
1506};
1507#[repr(C)]
1508#[derive(Copy, Clone)]
1509pub struct _Bucket {
1510 pub val: zval,
1511 pub h: zend_ulong,
1512 pub key: *mut zend_string,
1513}
1514#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1515const _: () = {
1516 ["Size of _Bucket"][::std::mem::size_of::<_Bucket>() - 32usize];
1517 ["Alignment of _Bucket"][::std::mem::align_of::<_Bucket>() - 8usize];
1518 ["Offset of field: _Bucket::val"][::std::mem::offset_of!(_Bucket, val) - 0usize];
1519 ["Offset of field: _Bucket::h"][::std::mem::offset_of!(_Bucket, h) - 16usize];
1520 ["Offset of field: _Bucket::key"][::std::mem::offset_of!(_Bucket, key) - 24usize];
1521};
1522pub type Bucket = _Bucket;
1523pub type HashTable = _zend_array;
1524#[repr(C)]
1525#[derive(Copy, Clone)]
1526pub struct _zend_array {
1527 pub gc: zend_refcounted_h,
1528 pub u: _zend_array__bindgen_ty_1,
1529 pub nTableMask: u32,
1530 pub __bindgen_anon_1: _zend_array__bindgen_ty_2,
1531 pub nNumUsed: u32,
1532 pub nNumOfElements: u32,
1533 pub nTableSize: u32,
1534 pub nInternalPointer: u32,
1535 pub nNextFreeElement: zend_long,
1536 pub pDestructor: dtor_func_t,
1537}
1538#[repr(C)]
1539#[derive(Copy, Clone)]
1540pub union _zend_array__bindgen_ty_1 {
1541 pub v: _zend_array__bindgen_ty_1__bindgen_ty_1,
1542 pub flags: u32,
1543}
1544#[repr(C)]
1545#[derive(Debug, Copy, Clone)]
1546pub struct _zend_array__bindgen_ty_1__bindgen_ty_1 {
1547 pub flags: u8,
1548 pub _unused: u8,
1549 pub nIteratorsCount: u8,
1550 pub _unused2: u8,
1551}
1552#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1553const _: () = {
1554 ["Size of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1555 [::std::mem::size_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1556 ["Alignment of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1557 [::std::mem::align_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 1usize];
1558 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::flags"]
1559 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, flags) - 0usize];
1560 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::_unused"]
1561 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, _unused) - 1usize];
1562 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::nIteratorsCount"]
1563 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, nIteratorsCount) - 2usize];
1564 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::_unused2"]
1565 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, _unused2) - 3usize];
1566};
1567#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1568const _: () = {
1569 ["Size of _zend_array__bindgen_ty_1"]
1570 [::std::mem::size_of::<_zend_array__bindgen_ty_1>() - 4usize];
1571 ["Alignment of _zend_array__bindgen_ty_1"]
1572 [::std::mem::align_of::<_zend_array__bindgen_ty_1>() - 4usize];
1573 ["Offset of field: _zend_array__bindgen_ty_1::v"]
1574 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, v) - 0usize];
1575 ["Offset of field: _zend_array__bindgen_ty_1::flags"]
1576 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, flags) - 0usize];
1577};
1578#[repr(C)]
1579#[derive(Copy, Clone)]
1580pub union _zend_array__bindgen_ty_2 {
1581 pub arHash: *mut u32,
1582 pub arData: *mut Bucket,
1583 pub arPacked: *mut zval,
1584}
1585#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1586const _: () = {
1587 ["Size of _zend_array__bindgen_ty_2"]
1588 [::std::mem::size_of::<_zend_array__bindgen_ty_2>() - 8usize];
1589 ["Alignment of _zend_array__bindgen_ty_2"]
1590 [::std::mem::align_of::<_zend_array__bindgen_ty_2>() - 8usize];
1591 ["Offset of field: _zend_array__bindgen_ty_2::arHash"]
1592 [::std::mem::offset_of!(_zend_array__bindgen_ty_2, arHash) - 0usize];
1593 ["Offset of field: _zend_array__bindgen_ty_2::arData"]
1594 [::std::mem::offset_of!(_zend_array__bindgen_ty_2, arData) - 0usize];
1595 ["Offset of field: _zend_array__bindgen_ty_2::arPacked"]
1596 [::std::mem::offset_of!(_zend_array__bindgen_ty_2, arPacked) - 0usize];
1597};
1598#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1599const _: () = {
1600 ["Size of _zend_array"][::std::mem::size_of::<_zend_array>() - 56usize];
1601 ["Alignment of _zend_array"][::std::mem::align_of::<_zend_array>() - 8usize];
1602 ["Offset of field: _zend_array::gc"][::std::mem::offset_of!(_zend_array, gc) - 0usize];
1603 ["Offset of field: _zend_array::u"][::std::mem::offset_of!(_zend_array, u) - 8usize];
1604 ["Offset of field: _zend_array::nTableMask"]
1605 [::std::mem::offset_of!(_zend_array, nTableMask) - 12usize];
1606 ["Offset of field: _zend_array::nNumUsed"]
1607 [::std::mem::offset_of!(_zend_array, nNumUsed) - 24usize];
1608 ["Offset of field: _zend_array::nNumOfElements"]
1609 [::std::mem::offset_of!(_zend_array, nNumOfElements) - 28usize];
1610 ["Offset of field: _zend_array::nTableSize"]
1611 [::std::mem::offset_of!(_zend_array, nTableSize) - 32usize];
1612 ["Offset of field: _zend_array::nInternalPointer"]
1613 [::std::mem::offset_of!(_zend_array, nInternalPointer) - 36usize];
1614 ["Offset of field: _zend_array::nNextFreeElement"]
1615 [::std::mem::offset_of!(_zend_array, nNextFreeElement) - 40usize];
1616 ["Offset of field: _zend_array::pDestructor"]
1617 [::std::mem::offset_of!(_zend_array, pDestructor) - 48usize];
1618};
1619pub type HashPosition = u32;
1620#[repr(C)]
1621#[derive(Debug, Copy, Clone)]
1622pub struct _HashTableIterator {
1623 pub ht: *mut HashTable,
1624 pub pos: HashPosition,
1625 pub next_copy: u32,
1626}
1627#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1628const _: () = {
1629 ["Size of _HashTableIterator"][::std::mem::size_of::<_HashTableIterator>() - 16usize];
1630 ["Alignment of _HashTableIterator"][::std::mem::align_of::<_HashTableIterator>() - 8usize];
1631 ["Offset of field: _HashTableIterator::ht"]
1632 [::std::mem::offset_of!(_HashTableIterator, ht) - 0usize];
1633 ["Offset of field: _HashTableIterator::pos"]
1634 [::std::mem::offset_of!(_HashTableIterator, pos) - 8usize];
1635 ["Offset of field: _HashTableIterator::next_copy"]
1636 [::std::mem::offset_of!(_HashTableIterator, next_copy) - 12usize];
1637};
1638pub type HashTableIterator = _HashTableIterator;
1639#[repr(C)]
1640#[derive(Copy, Clone)]
1641pub struct _zend_object {
1642 pub gc: zend_refcounted_h,
1643 pub handle: u32,
1644 pub extra_flags: u32,
1645 pub ce: *mut zend_class_entry,
1646 pub handlers: *const zend_object_handlers,
1647 pub properties: *mut HashTable,
1648 pub properties_table: [zval; 1usize],
1649}
1650#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1651const _: () = {
1652 ["Size of _zend_object"][::std::mem::size_of::<_zend_object>() - 56usize];
1653 ["Alignment of _zend_object"][::std::mem::align_of::<_zend_object>() - 8usize];
1654 ["Offset of field: _zend_object::gc"][::std::mem::offset_of!(_zend_object, gc) - 0usize];
1655 ["Offset of field: _zend_object::handle"]
1656 [::std::mem::offset_of!(_zend_object, handle) - 8usize];
1657 ["Offset of field: _zend_object::extra_flags"]
1658 [::std::mem::offset_of!(_zend_object, extra_flags) - 12usize];
1659 ["Offset of field: _zend_object::ce"][::std::mem::offset_of!(_zend_object, ce) - 16usize];
1660 ["Offset of field: _zend_object::handlers"]
1661 [::std::mem::offset_of!(_zend_object, handlers) - 24usize];
1662 ["Offset of field: _zend_object::properties"]
1663 [::std::mem::offset_of!(_zend_object, properties) - 32usize];
1664 ["Offset of field: _zend_object::properties_table"]
1665 [::std::mem::offset_of!(_zend_object, properties_table) - 40usize];
1666};
1667#[repr(C)]
1668#[derive(Copy, Clone)]
1669pub struct _zend_resource {
1670 pub gc: zend_refcounted_h,
1671 pub handle: zend_long,
1672 pub type_: ::std::os::raw::c_int,
1673 pub ptr: *mut ::std::os::raw::c_void,
1674}
1675#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1676const _: () = {
1677 ["Size of _zend_resource"][::std::mem::size_of::<_zend_resource>() - 32usize];
1678 ["Alignment of _zend_resource"][::std::mem::align_of::<_zend_resource>() - 8usize];
1679 ["Offset of field: _zend_resource::gc"][::std::mem::offset_of!(_zend_resource, gc) - 0usize];
1680 ["Offset of field: _zend_resource::handle"]
1681 [::std::mem::offset_of!(_zend_resource, handle) - 8usize];
1682 ["Offset of field: _zend_resource::type_"]
1683 [::std::mem::offset_of!(_zend_resource, type_) - 16usize];
1684 ["Offset of field: _zend_resource::ptr"][::std::mem::offset_of!(_zend_resource, ptr) - 24usize];
1685};
1686#[repr(C)]
1687#[derive(Debug, Copy, Clone)]
1688pub struct zend_property_info_list {
1689 pub num: usize,
1690 pub num_allocated: usize,
1691 pub ptr: [*mut _zend_property_info; 1usize],
1692}
1693#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1694const _: () = {
1695 ["Size of zend_property_info_list"][::std::mem::size_of::<zend_property_info_list>() - 24usize];
1696 ["Alignment of zend_property_info_list"]
1697 [::std::mem::align_of::<zend_property_info_list>() - 8usize];
1698 ["Offset of field: zend_property_info_list::num"]
1699 [::std::mem::offset_of!(zend_property_info_list, num) - 0usize];
1700 ["Offset of field: zend_property_info_list::num_allocated"]
1701 [::std::mem::offset_of!(zend_property_info_list, num_allocated) - 8usize];
1702 ["Offset of field: zend_property_info_list::ptr"]
1703 [::std::mem::offset_of!(zend_property_info_list, ptr) - 16usize];
1704};
1705#[repr(C)]
1706#[derive(Copy, Clone)]
1707pub union zend_property_info_source_list {
1708 pub ptr: *mut _zend_property_info,
1709 pub list: usize,
1710}
1711#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1712const _: () = {
1713 ["Size of zend_property_info_source_list"]
1714 [::std::mem::size_of::<zend_property_info_source_list>() - 8usize];
1715 ["Alignment of zend_property_info_source_list"]
1716 [::std::mem::align_of::<zend_property_info_source_list>() - 8usize];
1717 ["Offset of field: zend_property_info_source_list::ptr"]
1718 [::std::mem::offset_of!(zend_property_info_source_list, ptr) - 0usize];
1719 ["Offset of field: zend_property_info_source_list::list"]
1720 [::std::mem::offset_of!(zend_property_info_source_list, list) - 0usize];
1721};
1722#[repr(C)]
1723#[derive(Copy, Clone)]
1724pub struct _zend_reference {
1725 pub gc: zend_refcounted_h,
1726 pub val: zval,
1727 pub sources: zend_property_info_source_list,
1728}
1729#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1730const _: () = {
1731 ["Size of _zend_reference"][::std::mem::size_of::<_zend_reference>() - 32usize];
1732 ["Alignment of _zend_reference"][::std::mem::align_of::<_zend_reference>() - 8usize];
1733 ["Offset of field: _zend_reference::gc"][::std::mem::offset_of!(_zend_reference, gc) - 0usize];
1734 ["Offset of field: _zend_reference::val"]
1735 [::std::mem::offset_of!(_zend_reference, val) - 8usize];
1736 ["Offset of field: _zend_reference::sources"]
1737 [::std::mem::offset_of!(_zend_reference, sources) - 24usize];
1738};
1739#[repr(C)]
1740#[derive(Copy, Clone)]
1741pub struct _zend_ast_ref {
1742 pub gc: zend_refcounted_h,
1743}
1744#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1745const _: () = {
1746 ["Size of _zend_ast_ref"][::std::mem::size_of::<_zend_ast_ref>() - 8usize];
1747 ["Alignment of _zend_ast_ref"][::std::mem::align_of::<_zend_ast_ref>() - 4usize];
1748 ["Offset of field: _zend_ast_ref::gc"][::std::mem::offset_of!(_zend_ast_ref, gc) - 0usize];
1749};
1750extern "C" {
1751 pub fn zend_map_ptr_reset();
1752}
1753extern "C" {
1754 pub fn zend_map_ptr_new() -> *mut ::std::os::raw::c_void;
1755}
1756extern "C" {
1757 pub fn zend_map_ptr_new_static() -> *mut ::std::os::raw::c_void;
1758}
1759extern "C" {
1760 pub fn zend_map_ptr_extend(last: usize);
1761}
1762extern "C" {
1763 pub fn zend_alloc_ce_cache(type_name: *mut zend_string);
1764}
1765extern "C" {
1766 pub static mut zend_map_ptr_static_last: usize;
1767}
1768extern "C" {
1769 pub static mut zend_map_ptr_static_size: usize;
1770}
1771#[repr(C)]
1772#[derive(Debug, Copy, Clone)]
1773pub struct _zend_leak_info {
1774 pub addr: *mut ::std::os::raw::c_void,
1775 pub size: usize,
1776 pub filename: *const ::std::os::raw::c_char,
1777 pub orig_filename: *const ::std::os::raw::c_char,
1778 pub lineno: u32,
1779 pub orig_lineno: u32,
1780}
1781#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1782const _: () = {
1783 ["Size of _zend_leak_info"][::std::mem::size_of::<_zend_leak_info>() - 40usize];
1784 ["Alignment of _zend_leak_info"][::std::mem::align_of::<_zend_leak_info>() - 8usize];
1785 ["Offset of field: _zend_leak_info::addr"]
1786 [::std::mem::offset_of!(_zend_leak_info, addr) - 0usize];
1787 ["Offset of field: _zend_leak_info::size"]
1788 [::std::mem::offset_of!(_zend_leak_info, size) - 8usize];
1789 ["Offset of field: _zend_leak_info::filename"]
1790 [::std::mem::offset_of!(_zend_leak_info, filename) - 16usize];
1791 ["Offset of field: _zend_leak_info::orig_filename"]
1792 [::std::mem::offset_of!(_zend_leak_info, orig_filename) - 24usize];
1793 ["Offset of field: _zend_leak_info::lineno"]
1794 [::std::mem::offset_of!(_zend_leak_info, lineno) - 32usize];
1795 ["Offset of field: _zend_leak_info::orig_lineno"]
1796 [::std::mem::offset_of!(_zend_leak_info, orig_lineno) - 36usize];
1797};
1798pub type zend_leak_info = _zend_leak_info;
1799extern "C" {
1800 pub fn zend_strndup(
1801 s: *const ::std::os::raw::c_char,
1802 length: usize,
1803 ) -> *mut ::std::os::raw::c_char;
1804}
1805extern "C" {
1806 pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> usize;
1807}
1808extern "C" {
1809 pub fn zend_set_memory_limit(memory_limit: usize) -> zend_result;
1810}
1811extern "C" {
1812 pub fn zend_alloc_in_memory_limit_error_reporting() -> bool;
1813}
1814extern "C" {
1815 pub fn zend_memory_usage(real_usage: bool) -> usize;
1816}
1817extern "C" {
1818 pub fn zend_memory_peak_usage(real_usage: bool) -> usize;
1819}
1820extern "C" {
1821 pub fn zend_memory_reset_peak_usage();
1822}
1823#[repr(C)]
1824#[derive(Debug, Copy, Clone)]
1825pub struct _zend_mm_heap {
1826 _unused: [u8; 0],
1827}
1828pub type zend_mm_heap = _zend_mm_heap;
1829extern "C" {
1830 pub fn zend_mm_startup() -> *mut zend_mm_heap;
1831}
1832extern "C" {
1833 pub fn zend_mm_shutdown(heap: *mut zend_mm_heap, full_shutdown: bool, silent: bool);
1834}
1835extern "C" {
1836 pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: usize) -> *mut ::std::os::raw::c_void;
1837}
1838extern "C" {
1839 pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
1840}
1841extern "C" {
1842 pub fn _zend_mm_realloc(
1843 heap: *mut zend_mm_heap,
1844 p: *mut ::std::os::raw::c_void,
1845 size: usize,
1846 ) -> *mut ::std::os::raw::c_void;
1847}
1848extern "C" {
1849 pub fn _zend_mm_realloc2(
1850 heap: *mut zend_mm_heap,
1851 p: *mut ::std::os::raw::c_void,
1852 size: usize,
1853 copy_size: usize,
1854 ) -> *mut ::std::os::raw::c_void;
1855}
1856extern "C" {
1857 pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> usize;
1858}
1859extern "C" {
1860 pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
1861}
1862extern "C" {
1863 pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
1864}
1865extern "C" {
1866 pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> usize;
1867}
1868extern "C" {
1869 pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> bool;
1870}
1871extern "C" {
1872 pub fn zend_mm_set_custom_handlers(
1873 heap: *mut zend_mm_heap,
1874 _malloc: ::std::option::Option<
1875 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1876 >,
1877 _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1878 _realloc: ::std::option::Option<
1879 unsafe extern "C" fn(
1880 arg1: *mut ::std::os::raw::c_void,
1881 arg2: usize,
1882 ) -> *mut ::std::os::raw::c_void,
1883 >,
1884 );
1885}
1886extern "C" {
1887 pub fn zend_mm_set_custom_handlers_ex(
1888 heap: *mut zend_mm_heap,
1889 _malloc: ::std::option::Option<
1890 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1891 >,
1892 _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1893 _realloc: ::std::option::Option<
1894 unsafe extern "C" fn(
1895 arg1: *mut ::std::os::raw::c_void,
1896 arg2: usize,
1897 ) -> *mut ::std::os::raw::c_void,
1898 >,
1899 _gc: ::std::option::Option<unsafe extern "C" fn() -> usize>,
1900 _shutdown: ::std::option::Option<unsafe extern "C" fn(arg1: bool, arg2: bool)>,
1901 );
1902}
1903extern "C" {
1904 pub fn zend_mm_get_custom_handlers(
1905 heap: *mut zend_mm_heap,
1906 _malloc: *mut ::std::option::Option<
1907 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1908 >,
1909 _free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1910 _realloc: *mut ::std::option::Option<
1911 unsafe extern "C" fn(
1912 arg1: *mut ::std::os::raw::c_void,
1913 arg2: usize,
1914 ) -> *mut ::std::os::raw::c_void,
1915 >,
1916 );
1917}
1918extern "C" {
1919 pub fn zend_mm_get_custom_handlers_ex(
1920 heap: *mut zend_mm_heap,
1921 _malloc: *mut ::std::option::Option<
1922 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1923 >,
1924 _free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1925 _realloc: *mut ::std::option::Option<
1926 unsafe extern "C" fn(
1927 arg1: *mut ::std::os::raw::c_void,
1928 arg2: usize,
1929 ) -> *mut ::std::os::raw::c_void,
1930 >,
1931 _gc: *mut ::std::option::Option<unsafe extern "C" fn() -> usize>,
1932 _shutdown: *mut ::std::option::Option<unsafe extern "C" fn(arg1: bool, arg2: bool)>,
1933 );
1934}
1935pub type zend_mm_storage = _zend_mm_storage;
1936pub type zend_mm_chunk_alloc_t = ::std::option::Option<
1937 unsafe extern "C" fn(
1938 storage: *mut zend_mm_storage,
1939 size: usize,
1940 alignment: usize,
1941 ) -> *mut ::std::os::raw::c_void,
1942>;
1943pub type zend_mm_chunk_free_t = ::std::option::Option<
1944 unsafe extern "C" fn(
1945 storage: *mut zend_mm_storage,
1946 chunk: *mut ::std::os::raw::c_void,
1947 size: usize,
1948 ),
1949>;
1950pub type zend_mm_chunk_truncate_t = ::std::option::Option<
1951 unsafe extern "C" fn(
1952 storage: *mut zend_mm_storage,
1953 chunk: *mut ::std::os::raw::c_void,
1954 old_size: usize,
1955 new_size: usize,
1956 ) -> bool,
1957>;
1958pub type zend_mm_chunk_extend_t = ::std::option::Option<
1959 unsafe extern "C" fn(
1960 storage: *mut zend_mm_storage,
1961 chunk: *mut ::std::os::raw::c_void,
1962 old_size: usize,
1963 new_size: usize,
1964 ) -> bool,
1965>;
1966#[repr(C)]
1967#[derive(Debug, Copy, Clone)]
1968pub struct _zend_mm_handlers {
1969 pub chunk_alloc: zend_mm_chunk_alloc_t,
1970 pub chunk_free: zend_mm_chunk_free_t,
1971 pub chunk_truncate: zend_mm_chunk_truncate_t,
1972 pub chunk_extend: zend_mm_chunk_extend_t,
1973}
1974#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1975const _: () = {
1976 ["Size of _zend_mm_handlers"][::std::mem::size_of::<_zend_mm_handlers>() - 32usize];
1977 ["Alignment of _zend_mm_handlers"][::std::mem::align_of::<_zend_mm_handlers>() - 8usize];
1978 ["Offset of field: _zend_mm_handlers::chunk_alloc"]
1979 [::std::mem::offset_of!(_zend_mm_handlers, chunk_alloc) - 0usize];
1980 ["Offset of field: _zend_mm_handlers::chunk_free"]
1981 [::std::mem::offset_of!(_zend_mm_handlers, chunk_free) - 8usize];
1982 ["Offset of field: _zend_mm_handlers::chunk_truncate"]
1983 [::std::mem::offset_of!(_zend_mm_handlers, chunk_truncate) - 16usize];
1984 ["Offset of field: _zend_mm_handlers::chunk_extend"]
1985 [::std::mem::offset_of!(_zend_mm_handlers, chunk_extend) - 24usize];
1986};
1987pub type zend_mm_handlers = _zend_mm_handlers;
1988#[repr(C)]
1989#[derive(Debug, Copy, Clone)]
1990pub struct _zend_mm_storage {
1991 pub handlers: zend_mm_handlers,
1992 pub data: *mut ::std::os::raw::c_void,
1993}
1994#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1995const _: () = {
1996 ["Size of _zend_mm_storage"][::std::mem::size_of::<_zend_mm_storage>() - 40usize];
1997 ["Alignment of _zend_mm_storage"][::std::mem::align_of::<_zend_mm_storage>() - 8usize];
1998 ["Offset of field: _zend_mm_storage::handlers"]
1999 [::std::mem::offset_of!(_zend_mm_storage, handlers) - 0usize];
2000 ["Offset of field: _zend_mm_storage::data"]
2001 [::std::mem::offset_of!(_zend_mm_storage, data) - 32usize];
2002};
2003extern "C" {
2004 pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
2005}
2006extern "C" {
2007 pub fn zend_mm_startup_ex(
2008 handlers: *const zend_mm_handlers,
2009 data: *mut ::std::os::raw::c_void,
2010 data_size: usize,
2011 ) -> *mut zend_mm_heap;
2012}
2013extern "C" {
2014 pub fn zend_mm_refresh_key_child(heap: *mut zend_mm_heap);
2015}
2016#[repr(C)]
2017#[derive(Debug, Copy, Clone)]
2018pub struct _zend_llist_element {
2019 pub next: *mut _zend_llist_element,
2020 pub prev: *mut _zend_llist_element,
2021 pub data: [::std::os::raw::c_char; 1usize],
2022}
2023#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2024const _: () = {
2025 ["Size of _zend_llist_element"][::std::mem::size_of::<_zend_llist_element>() - 24usize];
2026 ["Alignment of _zend_llist_element"][::std::mem::align_of::<_zend_llist_element>() - 8usize];
2027 ["Offset of field: _zend_llist_element::next"]
2028 [::std::mem::offset_of!(_zend_llist_element, next) - 0usize];
2029 ["Offset of field: _zend_llist_element::prev"]
2030 [::std::mem::offset_of!(_zend_llist_element, prev) - 8usize];
2031 ["Offset of field: _zend_llist_element::data"]
2032 [::std::mem::offset_of!(_zend_llist_element, data) - 16usize];
2033};
2034pub type zend_llist_element = _zend_llist_element;
2035pub type llist_dtor_func_t =
2036 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
2037pub type llist_compare_func_t = ::std::option::Option<
2038 unsafe extern "C" fn(
2039 arg1: *mut *const zend_llist_element,
2040 arg2: *mut *const zend_llist_element,
2041 ) -> ::std::os::raw::c_int,
2042>;
2043pub type llist_apply_with_args_func_t = ::std::option::Option<
2044 unsafe extern "C" fn(
2045 data: *mut ::std::os::raw::c_void,
2046 num_args: ::std::os::raw::c_int,
2047 args: *mut __va_list_tag,
2048 ),
2049>;
2050pub type llist_apply_with_arg_func_t = ::std::option::Option<
2051 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
2052>;
2053pub type llist_apply_func_t =
2054 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
2055#[repr(C)]
2056#[derive(Debug, Copy, Clone)]
2057pub struct _zend_llist {
2058 pub head: *mut zend_llist_element,
2059 pub tail: *mut zend_llist_element,
2060 pub count: usize,
2061 pub size: usize,
2062 pub dtor: llist_dtor_func_t,
2063 pub persistent: ::std::os::raw::c_uchar,
2064 pub traverse_ptr: *mut zend_llist_element,
2065}
2066#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2067const _: () = {
2068 ["Size of _zend_llist"][::std::mem::size_of::<_zend_llist>() - 56usize];
2069 ["Alignment of _zend_llist"][::std::mem::align_of::<_zend_llist>() - 8usize];
2070 ["Offset of field: _zend_llist::head"][::std::mem::offset_of!(_zend_llist, head) - 0usize];
2071 ["Offset of field: _zend_llist::tail"][::std::mem::offset_of!(_zend_llist, tail) - 8usize];
2072 ["Offset of field: _zend_llist::count"][::std::mem::offset_of!(_zend_llist, count) - 16usize];
2073 ["Offset of field: _zend_llist::size"][::std::mem::offset_of!(_zend_llist, size) - 24usize];
2074 ["Offset of field: _zend_llist::dtor"][::std::mem::offset_of!(_zend_llist, dtor) - 32usize];
2075 ["Offset of field: _zend_llist::persistent"]
2076 [::std::mem::offset_of!(_zend_llist, persistent) - 40usize];
2077 ["Offset of field: _zend_llist::traverse_ptr"]
2078 [::std::mem::offset_of!(_zend_llist, traverse_ptr) - 48usize];
2079};
2080pub type zend_llist = _zend_llist;
2081pub type zend_llist_position = *mut zend_llist_element;
2082extern "C" {
2083 pub fn zend_llist_init(
2084 l: *mut zend_llist,
2085 size: usize,
2086 dtor: llist_dtor_func_t,
2087 persistent: ::std::os::raw::c_uchar,
2088 );
2089}
2090extern "C" {
2091 pub fn zend_llist_add_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
2092}
2093extern "C" {
2094 pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
2095}
2096extern "C" {
2097 pub fn zend_llist_del_element(
2098 l: *mut zend_llist,
2099 element: *mut ::std::os::raw::c_void,
2100 compare: ::std::option::Option<
2101 unsafe extern "C" fn(
2102 element1: *mut ::std::os::raw::c_void,
2103 element2: *mut ::std::os::raw::c_void,
2104 ) -> ::std::os::raw::c_int,
2105 >,
2106 );
2107}
2108extern "C" {
2109 pub fn zend_llist_destroy(l: *mut zend_llist);
2110}
2111extern "C" {
2112 pub fn zend_llist_clean(l: *mut zend_llist);
2113}
2114extern "C" {
2115 pub fn zend_llist_remove_tail(l: *mut zend_llist);
2116}
2117extern "C" {
2118 pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
2119}
2120extern "C" {
2121 pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
2122}
2123extern "C" {
2124 pub fn zend_llist_apply_with_del(
2125 l: *mut zend_llist,
2126 func: ::std::option::Option<
2127 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
2128 >,
2129 );
2130}
2131extern "C" {
2132 pub fn zend_llist_apply_with_argument(
2133 l: *mut zend_llist,
2134 func: llist_apply_with_arg_func_t,
2135 arg: *mut ::std::os::raw::c_void,
2136 );
2137}
2138extern "C" {
2139 pub fn zend_llist_apply_with_arguments(
2140 l: *mut zend_llist,
2141 func: llist_apply_with_args_func_t,
2142 num_args: ::std::os::raw::c_int,
2143 ...
2144 );
2145}
2146extern "C" {
2147 pub fn zend_llist_count(l: *mut zend_llist) -> usize;
2148}
2149extern "C" {
2150 pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
2151}
2152extern "C" {
2153 pub fn zend_llist_get_first_ex(
2154 l: *mut zend_llist,
2155 pos: *mut zend_llist_position,
2156 ) -> *mut ::std::os::raw::c_void;
2157}
2158extern "C" {
2159 pub fn zend_llist_get_last_ex(
2160 l: *mut zend_llist,
2161 pos: *mut zend_llist_position,
2162 ) -> *mut ::std::os::raw::c_void;
2163}
2164extern "C" {
2165 pub fn zend_llist_get_next_ex(
2166 l: *mut zend_llist,
2167 pos: *mut zend_llist_position,
2168 ) -> *mut ::std::os::raw::c_void;
2169}
2170extern "C" {
2171 pub fn zend_llist_get_prev_ex(
2172 l: *mut zend_llist,
2173 pos: *mut zend_llist_position,
2174 ) -> *mut ::std::os::raw::c_void;
2175}
2176pub type socklen_t = __socklen_t;
2177pub type zend_hrtime_t = u64;
2178extern "C" {
2179 pub fn zend_startup_hrtime();
2180}
2181#[repr(C)]
2182#[derive(Debug, Copy, Clone)]
2183pub struct _zend_gc_status {
2184 pub active: bool,
2185 pub gc_protected: bool,
2186 pub full: bool,
2187 pub runs: u32,
2188 pub collected: u32,
2189 pub threshold: u32,
2190 pub buf_size: u32,
2191 pub num_roots: u32,
2192 pub application_time: zend_hrtime_t,
2193 pub collector_time: zend_hrtime_t,
2194 pub dtor_time: zend_hrtime_t,
2195 pub free_time: zend_hrtime_t,
2196}
2197#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2198const _: () = {
2199 ["Size of _zend_gc_status"][::std::mem::size_of::<_zend_gc_status>() - 56usize];
2200 ["Alignment of _zend_gc_status"][::std::mem::align_of::<_zend_gc_status>() - 8usize];
2201 ["Offset of field: _zend_gc_status::active"]
2202 [::std::mem::offset_of!(_zend_gc_status, active) - 0usize];
2203 ["Offset of field: _zend_gc_status::gc_protected"]
2204 [::std::mem::offset_of!(_zend_gc_status, gc_protected) - 1usize];
2205 ["Offset of field: _zend_gc_status::full"]
2206 [::std::mem::offset_of!(_zend_gc_status, full) - 2usize];
2207 ["Offset of field: _zend_gc_status::runs"]
2208 [::std::mem::offset_of!(_zend_gc_status, runs) - 4usize];
2209 ["Offset of field: _zend_gc_status::collected"]
2210 [::std::mem::offset_of!(_zend_gc_status, collected) - 8usize];
2211 ["Offset of field: _zend_gc_status::threshold"]
2212 [::std::mem::offset_of!(_zend_gc_status, threshold) - 12usize];
2213 ["Offset of field: _zend_gc_status::buf_size"]
2214 [::std::mem::offset_of!(_zend_gc_status, buf_size) - 16usize];
2215 ["Offset of field: _zend_gc_status::num_roots"]
2216 [::std::mem::offset_of!(_zend_gc_status, num_roots) - 20usize];
2217 ["Offset of field: _zend_gc_status::application_time"]
2218 [::std::mem::offset_of!(_zend_gc_status, application_time) - 24usize];
2219 ["Offset of field: _zend_gc_status::collector_time"]
2220 [::std::mem::offset_of!(_zend_gc_status, collector_time) - 32usize];
2221 ["Offset of field: _zend_gc_status::dtor_time"]
2222 [::std::mem::offset_of!(_zend_gc_status, dtor_time) - 40usize];
2223 ["Offset of field: _zend_gc_status::free_time"]
2224 [::std::mem::offset_of!(_zend_gc_status, free_time) - 48usize];
2225};
2226pub type zend_gc_status = _zend_gc_status;
2227extern "C" {
2228 pub static mut gc_collect_cycles:
2229 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2230}
2231extern "C" {
2232 pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
2233}
2234extern "C" {
2235 pub fn zend_gc_get_status(status: *mut zend_gc_status);
2236}
2237#[repr(C)]
2238#[derive(Debug, Copy, Clone)]
2239pub struct zend_get_gc_buffer {
2240 pub cur: *mut zval,
2241 pub end: *mut zval,
2242 pub start: *mut zval,
2243}
2244#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2245const _: () = {
2246 ["Size of zend_get_gc_buffer"][::std::mem::size_of::<zend_get_gc_buffer>() - 24usize];
2247 ["Alignment of zend_get_gc_buffer"][::std::mem::align_of::<zend_get_gc_buffer>() - 8usize];
2248 ["Offset of field: zend_get_gc_buffer::cur"]
2249 [::std::mem::offset_of!(zend_get_gc_buffer, cur) - 0usize];
2250 ["Offset of field: zend_get_gc_buffer::end"]
2251 [::std::mem::offset_of!(zend_get_gc_buffer, end) - 8usize];
2252 ["Offset of field: zend_get_gc_buffer::start"]
2253 [::std::mem::offset_of!(zend_get_gc_buffer, start) - 16usize];
2254};
2255extern "C" {
2256 pub fn zend_get_gc_buffer_create() -> *mut zend_get_gc_buffer;
2257}
2258extern "C" {
2259 pub fn zend_get_gc_buffer_grow(gc_buffer: *mut zend_get_gc_buffer);
2260}
2261pub type zend_string_copy_storage_func_t = ::std::option::Option<unsafe extern "C" fn()>;
2262pub type zend_new_interned_string_func_t =
2263 ::std::option::Option<unsafe extern "C" fn(str_: *mut zend_string) -> *mut zend_string>;
2264pub type zend_string_init_interned_func_t = ::std::option::Option<
2265 unsafe extern "C" fn(
2266 str_: *const ::std::os::raw::c_char,
2267 size: usize,
2268 permanent: bool,
2269 ) -> *mut zend_string,
2270>;
2271pub type zend_string_init_existing_interned_func_t = ::std::option::Option<
2272 unsafe extern "C" fn(
2273 str_: *const ::std::os::raw::c_char,
2274 size: usize,
2275 permanent: bool,
2276 ) -> *mut zend_string,
2277>;
2278extern "C" {
2279 pub static mut zend_new_interned_string: zend_new_interned_string_func_t;
2280}
2281extern "C" {
2282 pub static mut zend_string_init_interned: zend_string_init_interned_func_t;
2283}
2284extern "C" {
2285 pub static mut zend_string_init_existing_interned: zend_string_init_existing_interned_func_t;
2286}
2287extern "C" {
2288 pub fn zend_string_hash_func(str_: *mut zend_string) -> zend_ulong;
2289}
2290extern "C" {
2291 pub fn zend_hash_func(str_: *const ::std::os::raw::c_char, len: usize) -> zend_ulong;
2292}
2293extern "C" {
2294 pub fn zend_interned_string_find_permanent(str_: *mut zend_string) -> *mut zend_string;
2295}
2296extern "C" {
2297 pub fn zend_string_concat2(
2298 str1: *const ::std::os::raw::c_char,
2299 str1_len: usize,
2300 str2: *const ::std::os::raw::c_char,
2301 str2_len: usize,
2302 ) -> *mut zend_string;
2303}
2304extern "C" {
2305 pub fn zend_string_concat3(
2306 str1: *const ::std::os::raw::c_char,
2307 str1_len: usize,
2308 str2: *const ::std::os::raw::c_char,
2309 str2_len: usize,
2310 str3: *const ::std::os::raw::c_char,
2311 str3_len: usize,
2312 ) -> *mut zend_string;
2313}
2314extern "C" {
2315 pub fn zend_interned_strings_init();
2316}
2317extern "C" {
2318 pub fn zend_interned_strings_dtor();
2319}
2320extern "C" {
2321 pub fn zend_interned_strings_activate();
2322}
2323extern "C" {
2324 pub fn zend_interned_strings_deactivate();
2325}
2326extern "C" {
2327 pub fn zend_interned_strings_set_request_storage_handlers(
2328 handler: zend_new_interned_string_func_t,
2329 init_handler: zend_string_init_interned_func_t,
2330 init_existing_handler: zend_string_init_existing_interned_func_t,
2331 );
2332}
2333extern "C" {
2334 pub fn zend_interned_strings_switch_storage(request: bool);
2335}
2336extern "C" {
2337 pub static mut zend_empty_string: *mut zend_string;
2338}
2339extern "C" {
2340 pub static mut zend_one_char_string: [*mut zend_string; 256usize];
2341}
2342extern "C" {
2343 pub static mut zend_known_strings: *mut *mut zend_string;
2344}
2345extern "C" {
2346 pub fn zend_string_equal_val(s1: *const zend_string, s2: *const zend_string) -> bool;
2347}
2348pub const _zend_known_string_id_ZEND_STR_FILE: _zend_known_string_id = 0;
2349pub const _zend_known_string_id_ZEND_STR_LINE: _zend_known_string_id = 1;
2350pub const _zend_known_string_id_ZEND_STR_FUNCTION: _zend_known_string_id = 2;
2351pub const _zend_known_string_id_ZEND_STR_CLASS: _zend_known_string_id = 3;
2352pub const _zend_known_string_id_ZEND_STR_OBJECT: _zend_known_string_id = 4;
2353pub const _zend_known_string_id_ZEND_STR_TYPE: _zend_known_string_id = 5;
2354pub const _zend_known_string_id_ZEND_STR_OBJECT_OPERATOR: _zend_known_string_id = 6;
2355pub const _zend_known_string_id_ZEND_STR_PAAMAYIM_NEKUDOTAYIM: _zend_known_string_id = 7;
2356pub const _zend_known_string_id_ZEND_STR_ARGS: _zend_known_string_id = 8;
2357pub const _zend_known_string_id_ZEND_STR_UNKNOWN: _zend_known_string_id = 9;
2358pub const _zend_known_string_id_ZEND_STR_UNKNOWN_CAPITALIZED: _zend_known_string_id = 10;
2359pub const _zend_known_string_id_ZEND_STR_EXIT: _zend_known_string_id = 11;
2360pub const _zend_known_string_id_ZEND_STR_CLONE: _zend_known_string_id = 12;
2361pub const _zend_known_string_id_ZEND_STR_EVAL: _zend_known_string_id = 13;
2362pub const _zend_known_string_id_ZEND_STR_INCLUDE: _zend_known_string_id = 14;
2363pub const _zend_known_string_id_ZEND_STR_REQUIRE: _zend_known_string_id = 15;
2364pub const _zend_known_string_id_ZEND_STR_INCLUDE_ONCE: _zend_known_string_id = 16;
2365pub const _zend_known_string_id_ZEND_STR_REQUIRE_ONCE: _zend_known_string_id = 17;
2366pub const _zend_known_string_id_ZEND_STR_SCALAR: _zend_known_string_id = 18;
2367pub const _zend_known_string_id_ZEND_STR_ERROR_REPORTING: _zend_known_string_id = 19;
2368pub const _zend_known_string_id_ZEND_STR_STATIC: _zend_known_string_id = 20;
2369pub const _zend_known_string_id_ZEND_STR_THIS: _zend_known_string_id = 21;
2370pub const _zend_known_string_id_ZEND_STR_VALUE: _zend_known_string_id = 22;
2371pub const _zend_known_string_id_ZEND_STR_KEY: _zend_known_string_id = 23;
2372pub const _zend_known_string_id_ZEND_STR_MAGIC_INVOKE: _zend_known_string_id = 24;
2373pub const _zend_known_string_id_ZEND_STR_PREVIOUS: _zend_known_string_id = 25;
2374pub const _zend_known_string_id_ZEND_STR_CODE: _zend_known_string_id = 26;
2375pub const _zend_known_string_id_ZEND_STR_MESSAGE: _zend_known_string_id = 27;
2376pub const _zend_known_string_id_ZEND_STR_SEVERITY: _zend_known_string_id = 28;
2377pub const _zend_known_string_id_ZEND_STR_STRING: _zend_known_string_id = 29;
2378pub const _zend_known_string_id_ZEND_STR_TRACE: _zend_known_string_id = 30;
2379pub const _zend_known_string_id_ZEND_STR_SCHEME: _zend_known_string_id = 31;
2380pub const _zend_known_string_id_ZEND_STR_HOST: _zend_known_string_id = 32;
2381pub const _zend_known_string_id_ZEND_STR_PORT: _zend_known_string_id = 33;
2382pub const _zend_known_string_id_ZEND_STR_USER: _zend_known_string_id = 34;
2383pub const _zend_known_string_id_ZEND_STR_USERNAME: _zend_known_string_id = 35;
2384pub const _zend_known_string_id_ZEND_STR_PASS: _zend_known_string_id = 36;
2385pub const _zend_known_string_id_ZEND_STR_PASSWORD: _zend_known_string_id = 37;
2386pub const _zend_known_string_id_ZEND_STR_PATH: _zend_known_string_id = 38;
2387pub const _zend_known_string_id_ZEND_STR_QUERY: _zend_known_string_id = 39;
2388pub const _zend_known_string_id_ZEND_STR_FRAGMENT: _zend_known_string_id = 40;
2389pub const _zend_known_string_id_ZEND_STR_NULL: _zend_known_string_id = 41;
2390pub const _zend_known_string_id_ZEND_STR_BOOLEAN: _zend_known_string_id = 42;
2391pub const _zend_known_string_id_ZEND_STR_INTEGER: _zend_known_string_id = 43;
2392pub const _zend_known_string_id_ZEND_STR_DOUBLE: _zend_known_string_id = 44;
2393pub const _zend_known_string_id_ZEND_STR_ARRAY: _zend_known_string_id = 45;
2394pub const _zend_known_string_id_ZEND_STR_RESOURCE: _zend_known_string_id = 46;
2395pub const _zend_known_string_id_ZEND_STR_CLOSED_RESOURCE: _zend_known_string_id = 47;
2396pub const _zend_known_string_id_ZEND_STR_NAME: _zend_known_string_id = 48;
2397pub const _zend_known_string_id_ZEND_STR_ARGV: _zend_known_string_id = 49;
2398pub const _zend_known_string_id_ZEND_STR_ARGC: _zend_known_string_id = 50;
2399pub const _zend_known_string_id_ZEND_STR_ARRAY_CAPITALIZED: _zend_known_string_id = 51;
2400pub const _zend_known_string_id_ZEND_STR_BOOL: _zend_known_string_id = 52;
2401pub const _zend_known_string_id_ZEND_STR_INT: _zend_known_string_id = 53;
2402pub const _zend_known_string_id_ZEND_STR_FLOAT: _zend_known_string_id = 54;
2403pub const _zend_known_string_id_ZEND_STR_CALLABLE: _zend_known_string_id = 55;
2404pub const _zend_known_string_id_ZEND_STR_ITERABLE: _zend_known_string_id = 56;
2405pub const _zend_known_string_id_ZEND_STR_VOID: _zend_known_string_id = 57;
2406pub const _zend_known_string_id_ZEND_STR_NEVER: _zend_known_string_id = 58;
2407pub const _zend_known_string_id_ZEND_STR_FALSE: _zend_known_string_id = 59;
2408pub const _zend_known_string_id_ZEND_STR_TRUE: _zend_known_string_id = 60;
2409pub const _zend_known_string_id_ZEND_STR_NULL_LOWERCASE: _zend_known_string_id = 61;
2410pub const _zend_known_string_id_ZEND_STR_MIXED: _zend_known_string_id = 62;
2411pub const _zend_known_string_id_ZEND_STR_TRAVERSABLE: _zend_known_string_id = 63;
2412pub const _zend_known_string_id_ZEND_STR_SELF: _zend_known_string_id = 64;
2413pub const _zend_known_string_id_ZEND_STR_PARENT: _zend_known_string_id = 65;
2414pub const _zend_known_string_id_ZEND_STR_SLEEP: _zend_known_string_id = 66;
2415pub const _zend_known_string_id_ZEND_STR_WAKEUP: _zend_known_string_id = 67;
2416pub const _zend_known_string_id_ZEND_STR_CASES: _zend_known_string_id = 68;
2417pub const _zend_known_string_id_ZEND_STR_FROM: _zend_known_string_id = 69;
2418pub const _zend_known_string_id_ZEND_STR_TRYFROM: _zend_known_string_id = 70;
2419pub const _zend_known_string_id_ZEND_STR_TRYFROM_LOWERCASE: _zend_known_string_id = 71;
2420pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_SERVER: _zend_known_string_id = 72;
2421pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_ENV: _zend_known_string_id = 73;
2422pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_REQUEST: _zend_known_string_id = 74;
2423pub const _zend_known_string_id_ZEND_STR_COUNT: _zend_known_string_id = 75;
2424pub const _zend_known_string_id_ZEND_STR_SENSITIVEPARAMETER: _zend_known_string_id = 76;
2425pub const _zend_known_string_id_ZEND_STR_CONST_EXPR_PLACEHOLDER: _zend_known_string_id = 77;
2426pub const _zend_known_string_id_ZEND_STR_DEPRECATED_CAPITALIZED: _zend_known_string_id = 78;
2427pub const _zend_known_string_id_ZEND_STR_SINCE: _zend_known_string_id = 79;
2428pub const _zend_known_string_id_ZEND_STR_GET: _zend_known_string_id = 80;
2429pub const _zend_known_string_id_ZEND_STR_SET: _zend_known_string_id = 81;
2430pub const _zend_known_string_id_ZEND_STR_8_DOT_0: _zend_known_string_id = 82;
2431pub const _zend_known_string_id_ZEND_STR_8_DOT_1: _zend_known_string_id = 83;
2432pub const _zend_known_string_id_ZEND_STR_8_DOT_2: _zend_known_string_id = 84;
2433pub const _zend_known_string_id_ZEND_STR_8_DOT_3: _zend_known_string_id = 85;
2434pub const _zend_known_string_id_ZEND_STR_8_DOT_4: _zend_known_string_id = 86;
2435pub const _zend_known_string_id_ZEND_STR_8_DOT_5: _zend_known_string_id = 87;
2436pub const _zend_known_string_id_ZEND_STR_LAST_KNOWN: _zend_known_string_id = 88;
2437pub type _zend_known_string_id = ::std::os::raw::c_uint;
2438pub use self::_zend_known_string_id as zend_known_string_id;
2439extern "C" {
2440 pub fn zend_sort(
2441 base: *mut ::std::os::raw::c_void,
2442 nmemb: usize,
2443 siz: usize,
2444 cmp: compare_func_t,
2445 swp: swap_func_t,
2446 );
2447}
2448extern "C" {
2449 pub fn zend_insert_sort(
2450 base: *mut ::std::os::raw::c_void,
2451 nmemb: usize,
2452 siz: usize,
2453 cmp: compare_func_t,
2454 swp: swap_func_t,
2455 );
2456}
2457pub const zend_hash_key_type_HASH_KEY_IS_STRING: zend_hash_key_type = 1;
2458pub const zend_hash_key_type_HASH_KEY_IS_LONG: zend_hash_key_type = 2;
2459pub const zend_hash_key_type_HASH_KEY_NON_EXISTENT: zend_hash_key_type = 3;
2460pub type zend_hash_key_type = ::std::os::raw::c_uint;
2461extern "C" {
2462 pub static zend_empty_array: HashTable;
2463}
2464#[repr(C)]
2465#[derive(Debug, Copy, Clone)]
2466pub struct _zend_hash_key {
2467 pub h: zend_ulong,
2468 pub key: *mut zend_string,
2469}
2470#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2471const _: () = {
2472 ["Size of _zend_hash_key"][::std::mem::size_of::<_zend_hash_key>() - 16usize];
2473 ["Alignment of _zend_hash_key"][::std::mem::align_of::<_zend_hash_key>() - 8usize];
2474 ["Offset of field: _zend_hash_key::h"][::std::mem::offset_of!(_zend_hash_key, h) - 0usize];
2475 ["Offset of field: _zend_hash_key::key"][::std::mem::offset_of!(_zend_hash_key, key) - 8usize];
2476};
2477pub type zend_hash_key = _zend_hash_key;
2478pub type merge_checker_func_t = ::std::option::Option<
2479 unsafe extern "C" fn(
2480 target_ht: *mut HashTable,
2481 source_data: *mut zval,
2482 hash_key: *mut zend_hash_key,
2483 pParam: *mut ::std::os::raw::c_void,
2484 ) -> bool,
2485>;
2486extern "C" {
2487 pub fn _zend_hash_init(
2488 ht: *mut HashTable,
2489 nSize: u32,
2490 pDestructor: dtor_func_t,
2491 persistent: bool,
2492 );
2493}
2494extern "C" {
2495 pub fn zend_hash_destroy(ht: *mut HashTable);
2496}
2497extern "C" {
2498 pub fn zend_hash_clean(ht: *mut HashTable);
2499}
2500extern "C" {
2501 pub fn zend_hash_real_init(ht: *mut HashTable, packed: bool);
2502}
2503extern "C" {
2504 pub fn zend_hash_real_init_packed(ht: *mut HashTable);
2505}
2506extern "C" {
2507 pub fn zend_hash_real_init_mixed(ht: *mut HashTable);
2508}
2509extern "C" {
2510 pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
2511}
2512extern "C" {
2513 pub fn zend_hash_to_packed(ht: *mut HashTable);
2514}
2515extern "C" {
2516 pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: bool);
2517}
2518extern "C" {
2519 pub fn zend_hash_discard(ht: *mut HashTable, nNumUsed: u32);
2520}
2521extern "C" {
2522 pub fn zend_hash_packed_grow(ht: *mut HashTable);
2523}
2524extern "C" {
2525 pub fn zend_hash_add_or_update(
2526 ht: *mut HashTable,
2527 key: *mut zend_string,
2528 pData: *mut zval,
2529 flag: u32,
2530 ) -> *mut zval;
2531}
2532extern "C" {
2533 pub fn zend_hash_update(
2534 ht: *mut HashTable,
2535 key: *mut zend_string,
2536 pData: *mut zval,
2537 ) -> *mut zval;
2538}
2539extern "C" {
2540 pub fn zend_hash_update_ind(
2541 ht: *mut HashTable,
2542 key: *mut zend_string,
2543 pData: *mut zval,
2544 ) -> *mut zval;
2545}
2546extern "C" {
2547 pub fn zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval) -> *mut zval;
2548}
2549extern "C" {
2550 pub fn zend_hash_add_new(
2551 ht: *mut HashTable,
2552 key: *mut zend_string,
2553 pData: *mut zval,
2554 ) -> *mut zval;
2555}
2556extern "C" {
2557 pub fn zend_hash_str_add_or_update(
2558 ht: *mut HashTable,
2559 key: *const ::std::os::raw::c_char,
2560 len: usize,
2561 pData: *mut zval,
2562 flag: u32,
2563 ) -> *mut zval;
2564}
2565extern "C" {
2566 pub fn zend_hash_str_update(
2567 ht: *mut HashTable,
2568 key: *const ::std::os::raw::c_char,
2569 len: usize,
2570 pData: *mut zval,
2571 ) -> *mut zval;
2572}
2573extern "C" {
2574 pub fn zend_hash_str_update_ind(
2575 ht: *mut HashTable,
2576 key: *const ::std::os::raw::c_char,
2577 len: usize,
2578 pData: *mut zval,
2579 ) -> *mut zval;
2580}
2581extern "C" {
2582 pub fn zend_hash_str_add(
2583 ht: *mut HashTable,
2584 key: *const ::std::os::raw::c_char,
2585 len: usize,
2586 pData: *mut zval,
2587 ) -> *mut zval;
2588}
2589extern "C" {
2590 pub fn zend_hash_str_add_new(
2591 ht: *mut HashTable,
2592 key: *const ::std::os::raw::c_char,
2593 len: usize,
2594 pData: *mut zval,
2595 ) -> *mut zval;
2596}
2597extern "C" {
2598 pub fn zend_hash_index_add_or_update(
2599 ht: *mut HashTable,
2600 h: zend_ulong,
2601 pData: *mut zval,
2602 flag: u32,
2603 ) -> *mut zval;
2604}
2605extern "C" {
2606 pub fn zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
2607}
2608extern "C" {
2609 pub fn zend_hash_index_add_new(
2610 ht: *mut HashTable,
2611 h: zend_ulong,
2612 pData: *mut zval,
2613 ) -> *mut zval;
2614}
2615extern "C" {
2616 pub fn zend_hash_index_update(ht: *mut HashTable, h: zend_ulong, pData: *mut zval)
2617 -> *mut zval;
2618}
2619extern "C" {
2620 pub fn zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2621}
2622extern "C" {
2623 pub fn zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2624}
2625extern "C" {
2626 pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
2627}
2628extern "C" {
2629 pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
2630}
2631extern "C" {
2632 pub fn zend_hash_str_add_empty_element(
2633 ht: *mut HashTable,
2634 key: *const ::std::os::raw::c_char,
2635 len: usize,
2636 ) -> *mut zval;
2637}
2638extern "C" {
2639 pub fn zend_hash_set_bucket_key(
2640 ht: *mut HashTable,
2641 p: *mut Bucket,
2642 key: *mut zend_string,
2643 ) -> *mut zval;
2644}
2645pub type apply_func_t =
2646 ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval) -> ::std::os::raw::c_int>;
2647pub type apply_func_arg_t = ::std::option::Option<
2648 unsafe extern "C" fn(
2649 pDest: *mut zval,
2650 argument: *mut ::std::os::raw::c_void,
2651 ) -> ::std::os::raw::c_int,
2652>;
2653pub type apply_func_args_t = ::std::option::Option<
2654 unsafe extern "C" fn(
2655 pDest: *mut zval,
2656 num_args: ::std::os::raw::c_int,
2657 args: *mut __va_list_tag,
2658 hash_key: *mut zend_hash_key,
2659 ) -> ::std::os::raw::c_int,
2660>;
2661extern "C" {
2662 pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
2663}
2664extern "C" {
2665 pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
2666}
2667extern "C" {
2668 pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
2669}
2670extern "C" {
2671 pub fn zend_hash_apply_with_argument(
2672 ht: *mut HashTable,
2673 apply_func: apply_func_arg_t,
2674 arg1: *mut ::std::os::raw::c_void,
2675 );
2676}
2677extern "C" {
2678 pub fn zend_hash_apply_with_arguments(
2679 ht: *mut HashTable,
2680 apply_func: apply_func_args_t,
2681 arg1: ::std::os::raw::c_int,
2682 ...
2683 );
2684}
2685extern "C" {
2686 pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
2687}
2688extern "C" {
2689 pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
2690}
2691extern "C" {
2692 pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
2693}
2694extern "C" {
2695 pub fn zend_hash_str_del(
2696 ht: *mut HashTable,
2697 key: *const ::std::os::raw::c_char,
2698 len: usize,
2699 ) -> zend_result;
2700}
2701extern "C" {
2702 pub fn zend_hash_str_del_ind(
2703 ht: *mut HashTable,
2704 key: *const ::std::os::raw::c_char,
2705 len: usize,
2706 ) -> zend_result;
2707}
2708extern "C" {
2709 pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> zend_result;
2710}
2711extern "C" {
2712 pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
2713}
2714extern "C" {
2715 pub fn zend_hash_packed_del_val(ht: *mut HashTable, zv: *mut zval);
2716}
2717extern "C" {
2718 pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
2719}
2720extern "C" {
2721 pub fn zend_hash_str_find(
2722 ht: *const HashTable,
2723 key: *const ::std::os::raw::c_char,
2724 len: usize,
2725 ) -> *mut zval;
2726}
2727extern "C" {
2728 pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2729}
2730extern "C" {
2731 pub fn _zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2732}
2733extern "C" {
2734 pub fn zend_hash_find_known_hash(ht: *const HashTable, key: *const zend_string) -> *mut zval;
2735}
2736extern "C" {
2737 pub fn zend_hash_lookup(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
2738}
2739extern "C" {
2740 pub fn zend_hash_index_lookup(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
2741}
2742extern "C" {
2743 pub fn zend_hash_get_current_pos_ex(ht: *const HashTable, pos: HashPosition) -> HashPosition;
2744}
2745extern "C" {
2746 pub fn zend_hash_get_current_pos(ht: *const HashTable) -> HashPosition;
2747}
2748extern "C" {
2749 pub fn zend_hash_move_forward_ex(ht: *const HashTable, pos: *mut HashPosition) -> zend_result;
2750}
2751extern "C" {
2752 pub fn zend_hash_move_backwards_ex(ht: *const HashTable, pos: *mut HashPosition)
2753 -> zend_result;
2754}
2755extern "C" {
2756 pub fn zend_hash_get_current_key_ex(
2757 ht: *const HashTable,
2758 str_index: *mut *mut zend_string,
2759 num_index: *mut zend_ulong,
2760 pos: *const HashPosition,
2761 ) -> zend_hash_key_type;
2762}
2763extern "C" {
2764 pub fn zend_hash_get_current_key_zval_ex(
2765 ht: *const HashTable,
2766 key: *mut zval,
2767 pos: *const HashPosition,
2768 );
2769}
2770extern "C" {
2771 pub fn zend_hash_get_current_key_type_ex(
2772 ht: *const HashTable,
2773 pos: *const HashPosition,
2774 ) -> zend_hash_key_type;
2775}
2776extern "C" {
2777 pub fn zend_hash_get_current_data_ex(
2778 ht: *const HashTable,
2779 pos: *const HashPosition,
2780 ) -> *mut zval;
2781}
2782extern "C" {
2783 pub fn zend_hash_internal_pointer_reset_ex(ht: *const HashTable, pos: *mut HashPosition);
2784}
2785extern "C" {
2786 pub fn zend_hash_internal_pointer_end_ex(ht: *const HashTable, pos: *mut HashPosition);
2787}
2788extern "C" {
2789 pub fn zend_hash_copy(
2790 target: *mut HashTable,
2791 source: *const HashTable,
2792 pCopyConstructor: copy_ctor_func_t,
2793 );
2794}
2795extern "C" {
2796 pub fn zend_hash_merge(
2797 target: *mut HashTable,
2798 source: *const HashTable,
2799 pCopyConstructor: copy_ctor_func_t,
2800 overwrite: bool,
2801 );
2802}
2803extern "C" {
2804 pub fn zend_hash_merge_ex(
2805 target: *mut HashTable,
2806 source: *const HashTable,
2807 pCopyConstructor: copy_ctor_func_t,
2808 pMergeSource: merge_checker_func_t,
2809 pParam: *mut ::std::os::raw::c_void,
2810 );
2811}
2812extern "C" {
2813 pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
2814}
2815extern "C" {
2816 pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
2817}
2818extern "C" {
2819 pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
2820}
2821pub type bucket_compare_func_t = ::std::option::Option<
2822 unsafe extern "C" fn(a: *mut Bucket, b: *mut Bucket) -> ::std::os::raw::c_int,
2823>;
2824extern "C" {
2825 pub fn zend_hash_compare(
2826 ht1: *mut HashTable,
2827 ht2: *mut HashTable,
2828 compar: compare_func_t,
2829 ordered: bool,
2830 ) -> ::std::os::raw::c_int;
2831}
2832extern "C" {
2833 pub fn zend_hash_sort_ex(
2834 ht: *mut HashTable,
2835 sort_func: sort_func_t,
2836 compare_func: bucket_compare_func_t,
2837 renumber: bool,
2838 );
2839}
2840extern "C" {
2841 pub fn zend_array_sort_ex(
2842 ht: *mut HashTable,
2843 sort_func: sort_func_t,
2844 compare_func: bucket_compare_func_t,
2845 renumber: bool,
2846 );
2847}
2848extern "C" {
2849 pub fn zend_hash_minmax(ht: *const HashTable, compar: compare_func_t, flag: u32) -> *mut zval;
2850}
2851extern "C" {
2852 pub fn zend_hash_rehash(ht: *mut HashTable);
2853}
2854extern "C" {
2855 pub fn _zend_new_array_0() -> *mut HashTable;
2856}
2857extern "C" {
2858 pub fn _zend_new_array(size: u32) -> *mut HashTable;
2859}
2860extern "C" {
2861 pub fn zend_new_pair(val1: *const zval, val2: *const zval) -> *mut HashTable;
2862}
2863extern "C" {
2864 pub fn zend_array_count(ht: *mut HashTable) -> u32;
2865}
2866extern "C" {
2867 pub fn zend_array_dup(source: *const HashTable) -> *mut HashTable;
2868}
2869extern "C" {
2870 pub fn zend_array_destroy(ht: *mut HashTable);
2871}
2872extern "C" {
2873 pub fn zend_array_to_list(source: *const HashTable) -> *mut HashTable;
2874}
2875extern "C" {
2876 pub fn zend_symtable_clean(ht: *mut HashTable);
2877}
2878extern "C" {
2879 pub fn zend_symtable_to_proptable(ht: *mut HashTable) -> *mut HashTable;
2880}
2881extern "C" {
2882 pub fn zend_proptable_to_symtable(ht: *mut HashTable, always_duplicate: bool)
2883 -> *mut HashTable;
2884}
2885extern "C" {
2886 pub fn _zend_handle_numeric_str_ex(
2887 key: *const ::std::os::raw::c_char,
2888 length: usize,
2889 idx: *mut zend_ulong,
2890 ) -> bool;
2891}
2892extern "C" {
2893 pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
2894}
2895extern "C" {
2896 pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
2897}
2898extern "C" {
2899 pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
2900}
2901extern "C" {
2902 pub fn zend_hash_iterator_del(idx: u32);
2903}
2904extern "C" {
2905 pub fn zend_hash_iterators_lower_pos(ht: *const HashTable, start: HashPosition)
2906 -> HashPosition;
2907}
2908extern "C" {
2909 pub fn _zend_hash_iterators_update(ht: *const HashTable, from: HashPosition, to: HashPosition);
2910}
2911extern "C" {
2912 pub fn zend_hash_iterators_advance(ht: *const HashTable, step: HashPosition);
2913}
2914extern "C" {
2915 pub fn zend_hash_str_find_ptr_lc(
2916 ht: *const HashTable,
2917 str_: *const ::std::os::raw::c_char,
2918 len: usize,
2919 ) -> *mut ::std::os::raw::c_void;
2920}
2921extern "C" {
2922 pub fn zend_hash_find_ptr_lc(
2923 ht: *const HashTable,
2924 key: *mut zend_string,
2925 ) -> *mut ::std::os::raw::c_void;
2926}
2927pub type zend_ast_kind = u16;
2928pub type zend_ast_attr = u16;
2929#[repr(C)]
2930#[derive(Debug, Copy, Clone)]
2931pub struct _zend_ast {
2932 pub kind: zend_ast_kind,
2933 pub attr: zend_ast_attr,
2934 pub lineno: u32,
2935 pub child: [*mut zend_ast; 1usize],
2936}
2937#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2938const _: () = {
2939 ["Size of _zend_ast"][::std::mem::size_of::<_zend_ast>() - 16usize];
2940 ["Alignment of _zend_ast"][::std::mem::align_of::<_zend_ast>() - 8usize];
2941 ["Offset of field: _zend_ast::kind"][::std::mem::offset_of!(_zend_ast, kind) - 0usize];
2942 ["Offset of field: _zend_ast::attr"][::std::mem::offset_of!(_zend_ast, attr) - 2usize];
2943 ["Offset of field: _zend_ast::lineno"][::std::mem::offset_of!(_zend_ast, lineno) - 4usize];
2944 ["Offset of field: _zend_ast::child"][::std::mem::offset_of!(_zend_ast, child) - 8usize];
2945};
2946#[repr(C)]
2947#[derive(Debug, Copy, Clone)]
2948pub struct _zend_ast_list {
2949 pub kind: zend_ast_kind,
2950 pub attr: zend_ast_attr,
2951 pub lineno: u32,
2952 pub children: u32,
2953 pub child: [*mut zend_ast; 1usize],
2954}
2955#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2956const _: () = {
2957 ["Size of _zend_ast_list"][::std::mem::size_of::<_zend_ast_list>() - 24usize];
2958 ["Alignment of _zend_ast_list"][::std::mem::align_of::<_zend_ast_list>() - 8usize];
2959 ["Offset of field: _zend_ast_list::kind"]
2960 [::std::mem::offset_of!(_zend_ast_list, kind) - 0usize];
2961 ["Offset of field: _zend_ast_list::attr"]
2962 [::std::mem::offset_of!(_zend_ast_list, attr) - 2usize];
2963 ["Offset of field: _zend_ast_list::lineno"]
2964 [::std::mem::offset_of!(_zend_ast_list, lineno) - 4usize];
2965 ["Offset of field: _zend_ast_list::children"]
2966 [::std::mem::offset_of!(_zend_ast_list, children) - 8usize];
2967 ["Offset of field: _zend_ast_list::child"]
2968 [::std::mem::offset_of!(_zend_ast_list, child) - 16usize];
2969};
2970pub type zend_ast_list = _zend_ast_list;
2971#[repr(C)]
2972#[derive(Copy, Clone)]
2973pub struct _zend_ast_zval {
2974 pub kind: zend_ast_kind,
2975 pub attr: zend_ast_attr,
2976 pub val: zval,
2977}
2978#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2979const _: () = {
2980 ["Size of _zend_ast_zval"][::std::mem::size_of::<_zend_ast_zval>() - 24usize];
2981 ["Alignment of _zend_ast_zval"][::std::mem::align_of::<_zend_ast_zval>() - 8usize];
2982 ["Offset of field: _zend_ast_zval::kind"]
2983 [::std::mem::offset_of!(_zend_ast_zval, kind) - 0usize];
2984 ["Offset of field: _zend_ast_zval::attr"]
2985 [::std::mem::offset_of!(_zend_ast_zval, attr) - 2usize];
2986 ["Offset of field: _zend_ast_zval::val"][::std::mem::offset_of!(_zend_ast_zval, val) - 8usize];
2987};
2988pub type zend_ast_zval = _zend_ast_zval;
2989pub type zend_op_array = _zend_op_array;
2990#[repr(C)]
2991#[derive(Debug, Copy, Clone)]
2992pub struct _zend_ast_op_array {
2993 pub kind: zend_ast_kind,
2994 pub attr: zend_ast_attr,
2995 pub lineno: u32,
2996 pub op_array: *mut zend_op_array,
2997}
2998#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2999const _: () = {
3000 ["Size of _zend_ast_op_array"][::std::mem::size_of::<_zend_ast_op_array>() - 16usize];
3001 ["Alignment of _zend_ast_op_array"][::std::mem::align_of::<_zend_ast_op_array>() - 8usize];
3002 ["Offset of field: _zend_ast_op_array::kind"]
3003 [::std::mem::offset_of!(_zend_ast_op_array, kind) - 0usize];
3004 ["Offset of field: _zend_ast_op_array::attr"]
3005 [::std::mem::offset_of!(_zend_ast_op_array, attr) - 2usize];
3006 ["Offset of field: _zend_ast_op_array::lineno"]
3007 [::std::mem::offset_of!(_zend_ast_op_array, lineno) - 4usize];
3008 ["Offset of field: _zend_ast_op_array::op_array"]
3009 [::std::mem::offset_of!(_zend_ast_op_array, op_array) - 8usize];
3010};
3011pub type zend_ast_op_array = _zend_ast_op_array;
3012#[repr(C)]
3013#[derive(Debug, Copy, Clone)]
3014pub struct _zend_ast_decl {
3015 pub kind: zend_ast_kind,
3016 pub attr: zend_ast_attr,
3017 pub start_lineno: u32,
3018 pub end_lineno: u32,
3019 pub flags: u32,
3020 pub doc_comment: *mut zend_string,
3021 pub name: *mut zend_string,
3022 pub child: [*mut zend_ast; 5usize],
3023}
3024#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3025const _: () = {
3026 ["Size of _zend_ast_decl"][::std::mem::size_of::<_zend_ast_decl>() - 72usize];
3027 ["Alignment of _zend_ast_decl"][::std::mem::align_of::<_zend_ast_decl>() - 8usize];
3028 ["Offset of field: _zend_ast_decl::kind"]
3029 [::std::mem::offset_of!(_zend_ast_decl, kind) - 0usize];
3030 ["Offset of field: _zend_ast_decl::attr"]
3031 [::std::mem::offset_of!(_zend_ast_decl, attr) - 2usize];
3032 ["Offset of field: _zend_ast_decl::start_lineno"]
3033 [::std::mem::offset_of!(_zend_ast_decl, start_lineno) - 4usize];
3034 ["Offset of field: _zend_ast_decl::end_lineno"]
3035 [::std::mem::offset_of!(_zend_ast_decl, end_lineno) - 8usize];
3036 ["Offset of field: _zend_ast_decl::flags"]
3037 [::std::mem::offset_of!(_zend_ast_decl, flags) - 12usize];
3038 ["Offset of field: _zend_ast_decl::doc_comment"]
3039 [::std::mem::offset_of!(_zend_ast_decl, doc_comment) - 16usize];
3040 ["Offset of field: _zend_ast_decl::name"]
3041 [::std::mem::offset_of!(_zend_ast_decl, name) - 24usize];
3042 ["Offset of field: _zend_ast_decl::child"]
3043 [::std::mem::offset_of!(_zend_ast_decl, child) - 32usize];
3044};
3045pub type zend_ast_decl = _zend_ast_decl;
3046#[repr(C)]
3047#[derive(Debug, Copy, Clone)]
3048pub struct _zend_ast_fcc {
3049 pub kind: zend_ast_kind,
3050 pub attr: zend_ast_attr,
3051 pub lineno: u32,
3052 pub fptr__ptr: *mut zend_function,
3053}
3054#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3055const _: () = {
3056 ["Size of _zend_ast_fcc"][::std::mem::size_of::<_zend_ast_fcc>() - 16usize];
3057 ["Alignment of _zend_ast_fcc"][::std::mem::align_of::<_zend_ast_fcc>() - 8usize];
3058 ["Offset of field: _zend_ast_fcc::kind"][::std::mem::offset_of!(_zend_ast_fcc, kind) - 0usize];
3059 ["Offset of field: _zend_ast_fcc::attr"][::std::mem::offset_of!(_zend_ast_fcc, attr) - 2usize];
3060 ["Offset of field: _zend_ast_fcc::lineno"]
3061 [::std::mem::offset_of!(_zend_ast_fcc, lineno) - 4usize];
3062 ["Offset of field: _zend_ast_fcc::fptr__ptr"]
3063 [::std::mem::offset_of!(_zend_ast_fcc, fptr__ptr) - 8usize];
3064};
3065pub type zend_ast_fcc = _zend_ast_fcc;
3066pub type zend_ast_process_t = ::std::option::Option<unsafe extern "C" fn(ast: *mut zend_ast)>;
3067extern "C" {
3068 pub static mut zend_ast_process: zend_ast_process_t;
3069}
3070extern "C" {
3071 pub fn zend_ast_create_zval_with_lineno(zv: *const zval, lineno: u32) -> *mut zend_ast;
3072}
3073extern "C" {
3074 pub fn zend_ast_create_zval_ex(zv: *const zval, attr: zend_ast_attr) -> *mut zend_ast;
3075}
3076extern "C" {
3077 pub fn zend_ast_create_zval(zv: *const zval) -> *mut zend_ast;
3078}
3079extern "C" {
3080 pub fn zend_ast_create_zval_from_str(str_: *mut zend_string) -> *mut zend_ast;
3081}
3082extern "C" {
3083 pub fn zend_ast_create_zval_from_long(lval: zend_long) -> *mut zend_ast;
3084}
3085extern "C" {
3086 pub fn zend_ast_create_constant(name: *mut zend_string, attr: zend_ast_attr) -> *mut zend_ast;
3087}
3088extern "C" {
3089 pub fn zend_ast_create_class_const_or_name(
3090 class_name: *mut zend_ast,
3091 name: *mut zend_ast,
3092 ) -> *mut zend_ast;
3093}
3094extern "C" {
3095 pub fn zend_ast_create_op_array(op_array: *mut zend_op_array) -> *mut zend_ast;
3096}
3097extern "C" {
3098 pub fn zend_ast_create_0(kind: zend_ast_kind) -> *mut zend_ast;
3099}
3100extern "C" {
3101 pub fn zend_ast_create_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
3102}
3103extern "C" {
3104 pub fn zend_ast_create_2(
3105 kind: zend_ast_kind,
3106 child1: *mut zend_ast,
3107 child2: *mut zend_ast,
3108 ) -> *mut zend_ast;
3109}
3110extern "C" {
3111 pub fn zend_ast_create_3(
3112 kind: zend_ast_kind,
3113 child1: *mut zend_ast,
3114 child2: *mut zend_ast,
3115 child3: *mut zend_ast,
3116 ) -> *mut zend_ast;
3117}
3118extern "C" {
3119 pub fn zend_ast_create_4(
3120 kind: zend_ast_kind,
3121 child1: *mut zend_ast,
3122 child2: *mut zend_ast,
3123 child3: *mut zend_ast,
3124 child4: *mut zend_ast,
3125 ) -> *mut zend_ast;
3126}
3127extern "C" {
3128 pub fn zend_ast_create_5(
3129 kind: zend_ast_kind,
3130 child1: *mut zend_ast,
3131 child2: *mut zend_ast,
3132 child3: *mut zend_ast,
3133 child4: *mut zend_ast,
3134 child5: *mut zend_ast,
3135 ) -> *mut zend_ast;
3136}
3137extern "C" {
3138 pub fn zend_ast_create_va(
3139 kind: zend_ast_kind,
3140 attr: zend_ast_attr,
3141 va: *mut va_list,
3142 ) -> *mut zend_ast;
3143}
3144extern "C" {
3145 pub fn zend_ast_create_n(kind: ::std::os::raw::c_uint, ...) -> *mut zend_ast;
3146}
3147extern "C" {
3148 pub fn zend_ast_create_ex_n(
3149 kind: zend_ast_kind,
3150 attr: ::std::os::raw::c_uint,
3151 ...
3152 ) -> *mut zend_ast;
3153}
3154extern "C" {
3155 pub fn zend_ast_create_list_0(kind: zend_ast_kind) -> *mut zend_ast;
3156}
3157extern "C" {
3158 pub fn zend_ast_create_list_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
3159}
3160extern "C" {
3161 pub fn zend_ast_create_list_2(
3162 kind: zend_ast_kind,
3163 child1: *mut zend_ast,
3164 child2: *mut zend_ast,
3165 ) -> *mut zend_ast;
3166}
3167extern "C" {
3168 pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
3169}
3170extern "C" {
3171 pub fn zend_ast_create_decl(
3172 kind: zend_ast_kind,
3173 flags: u32,
3174 start_lineno: u32,
3175 doc_comment: *mut zend_string,
3176 name: *mut zend_string,
3177 child0: *mut zend_ast,
3178 child1: *mut zend_ast,
3179 child2: *mut zend_ast,
3180 child3: *mut zend_ast,
3181 child4: *mut zend_ast,
3182 ) -> *mut zend_ast;
3183}
3184extern "C" {
3185 pub fn zend_ast_create_fcc() -> *mut zend_ast;
3186}
3187#[repr(C)]
3188#[derive(Debug, Copy, Clone)]
3189pub struct zend_ast_evaluate_ctx {
3190 pub had_side_effects: bool,
3191}
3192#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3193const _: () = {
3194 ["Size of zend_ast_evaluate_ctx"][::std::mem::size_of::<zend_ast_evaluate_ctx>() - 1usize];
3195 ["Alignment of zend_ast_evaluate_ctx"]
3196 [::std::mem::align_of::<zend_ast_evaluate_ctx>() - 1usize];
3197 ["Offset of field: zend_ast_evaluate_ctx::had_side_effects"]
3198 [::std::mem::offset_of!(zend_ast_evaluate_ctx, had_side_effects) - 0usize];
3199};
3200extern "C" {
3201 pub fn zend_ast_evaluate(
3202 result: *mut zval,
3203 ast: *mut zend_ast,
3204 scope: *mut zend_class_entry,
3205 ) -> zend_result;
3206}
3207extern "C" {
3208 pub fn zend_ast_evaluate_ex(
3209 result: *mut zval,
3210 ast: *mut zend_ast,
3211 scope: *mut zend_class_entry,
3212 short_circuited_ptr: *mut bool,
3213 ctx: *mut zend_ast_evaluate_ctx,
3214 ) -> zend_result;
3215}
3216extern "C" {
3217 pub fn zend_ast_export(
3218 prefix: *const ::std::os::raw::c_char,
3219 ast: *mut zend_ast,
3220 suffix: *const ::std::os::raw::c_char,
3221 ) -> *mut zend_string;
3222}
3223extern "C" {
3224 pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast_ref;
3225}
3226extern "C" {
3227 pub fn zend_ast_destroy(ast: *mut zend_ast);
3228}
3229extern "C" {
3230 pub fn zend_ast_ref_destroy(ast: *mut zend_ast_ref);
3231}
3232pub type zend_ast_apply_func = ::std::option::Option<
3233 unsafe extern "C" fn(ast_ptr: *mut *mut zend_ast, context: *mut ::std::os::raw::c_void),
3234>;
3235extern "C" {
3236 pub fn zend_ast_apply(
3237 ast: *mut zend_ast,
3238 fn_: zend_ast_apply_func,
3239 context: *mut ::std::os::raw::c_void,
3240 );
3241}
3242extern "C" {
3243 pub fn zend_ast_create_concat_op(op0: *mut zend_ast, op1: *mut zend_ast) -> *mut zend_ast;
3244}
3245extern "C" {
3246 pub fn zend_ast_with_attributes(ast: *mut zend_ast, attr: *mut zend_ast) -> *mut zend_ast;
3247}
3248pub type zend_object_iterator = _zend_object_iterator;
3249#[repr(C)]
3250#[derive(Debug, Copy, Clone)]
3251pub struct _zend_object_iterator_funcs {
3252 pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3253 pub valid:
3254 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> zend_result>,
3255 pub get_current_data:
3256 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
3257 pub get_current_key: ::std::option::Option<
3258 unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
3259 >,
3260 pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3261 pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3262 pub invalidate_current:
3263 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3264 pub get_gc: ::std::option::Option<
3265 unsafe extern "C" fn(
3266 iter: *mut zend_object_iterator,
3267 table: *mut *mut zval,
3268 n: *mut ::std::os::raw::c_int,
3269 ) -> *mut HashTable,
3270 >,
3271}
3272#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3273const _: () = {
3274 ["Size of _zend_object_iterator_funcs"]
3275 [::std::mem::size_of::<_zend_object_iterator_funcs>() - 64usize];
3276 ["Alignment of _zend_object_iterator_funcs"]
3277 [::std::mem::align_of::<_zend_object_iterator_funcs>() - 8usize];
3278 ["Offset of field: _zend_object_iterator_funcs::dtor"]
3279 [::std::mem::offset_of!(_zend_object_iterator_funcs, dtor) - 0usize];
3280 ["Offset of field: _zend_object_iterator_funcs::valid"]
3281 [::std::mem::offset_of!(_zend_object_iterator_funcs, valid) - 8usize];
3282 ["Offset of field: _zend_object_iterator_funcs::get_current_data"]
3283 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_data) - 16usize];
3284 ["Offset of field: _zend_object_iterator_funcs::get_current_key"]
3285 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_key) - 24usize];
3286 ["Offset of field: _zend_object_iterator_funcs::move_forward"]
3287 [::std::mem::offset_of!(_zend_object_iterator_funcs, move_forward) - 32usize];
3288 ["Offset of field: _zend_object_iterator_funcs::rewind"]
3289 [::std::mem::offset_of!(_zend_object_iterator_funcs, rewind) - 40usize];
3290 ["Offset of field: _zend_object_iterator_funcs::invalidate_current"]
3291 [::std::mem::offset_of!(_zend_object_iterator_funcs, invalidate_current) - 48usize];
3292 ["Offset of field: _zend_object_iterator_funcs::get_gc"]
3293 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_gc) - 56usize];
3294};
3295pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
3296#[repr(C)]
3297#[derive(Copy, Clone)]
3298pub struct _zend_object_iterator {
3299 pub std: zend_object,
3300 pub data: zval,
3301 pub funcs: *const zend_object_iterator_funcs,
3302 pub index: zend_ulong,
3303}
3304#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3305const _: () = {
3306 ["Size of _zend_object_iterator"][::std::mem::size_of::<_zend_object_iterator>() - 88usize];
3307 ["Alignment of _zend_object_iterator"]
3308 [::std::mem::align_of::<_zend_object_iterator>() - 8usize];
3309 ["Offset of field: _zend_object_iterator::std"]
3310 [::std::mem::offset_of!(_zend_object_iterator, std) - 0usize];
3311 ["Offset of field: _zend_object_iterator::data"]
3312 [::std::mem::offset_of!(_zend_object_iterator, data) - 56usize];
3313 ["Offset of field: _zend_object_iterator::funcs"]
3314 [::std::mem::offset_of!(_zend_object_iterator, funcs) - 72usize];
3315 ["Offset of field: _zend_object_iterator::index"]
3316 [::std::mem::offset_of!(_zend_object_iterator, index) - 80usize];
3317};
3318#[repr(C)]
3319#[derive(Debug, Copy, Clone)]
3320pub struct _zend_class_iterator_funcs {
3321 pub zf_new_iterator: *mut zend_function,
3322 pub zf_valid: *mut zend_function,
3323 pub zf_current: *mut zend_function,
3324 pub zf_key: *mut zend_function,
3325 pub zf_next: *mut zend_function,
3326 pub zf_rewind: *mut zend_function,
3327}
3328#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3329const _: () = {
3330 ["Size of _zend_class_iterator_funcs"]
3331 [::std::mem::size_of::<_zend_class_iterator_funcs>() - 48usize];
3332 ["Alignment of _zend_class_iterator_funcs"]
3333 [::std::mem::align_of::<_zend_class_iterator_funcs>() - 8usize];
3334 ["Offset of field: _zend_class_iterator_funcs::zf_new_iterator"]
3335 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_new_iterator) - 0usize];
3336 ["Offset of field: _zend_class_iterator_funcs::zf_valid"]
3337 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_valid) - 8usize];
3338 ["Offset of field: _zend_class_iterator_funcs::zf_current"]
3339 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_current) - 16usize];
3340 ["Offset of field: _zend_class_iterator_funcs::zf_key"]
3341 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_key) - 24usize];
3342 ["Offset of field: _zend_class_iterator_funcs::zf_next"]
3343 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_next) - 32usize];
3344 ["Offset of field: _zend_class_iterator_funcs::zf_rewind"]
3345 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_rewind) - 40usize];
3346};
3347pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
3348#[repr(C)]
3349#[derive(Debug, Copy, Clone)]
3350pub struct _zend_class_arrayaccess_funcs {
3351 pub zf_offsetget: *mut zend_function,
3352 pub zf_offsetexists: *mut zend_function,
3353 pub zf_offsetset: *mut zend_function,
3354 pub zf_offsetunset: *mut zend_function,
3355}
3356#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3357const _: () = {
3358 ["Size of _zend_class_arrayaccess_funcs"]
3359 [::std::mem::size_of::<_zend_class_arrayaccess_funcs>() - 32usize];
3360 ["Alignment of _zend_class_arrayaccess_funcs"]
3361 [::std::mem::align_of::<_zend_class_arrayaccess_funcs>() - 8usize];
3362 ["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetget"]
3363 [::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetget) - 0usize];
3364 ["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetexists"]
3365 [::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetexists) - 8usize];
3366 ["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetset"]
3367 [::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetset) - 16usize];
3368 ["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetunset"]
3369 [::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetunset) - 24usize];
3370};
3371pub type zend_class_arrayaccess_funcs = _zend_class_arrayaccess_funcs;
3372extern "C" {
3373 pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
3374}
3375extern "C" {
3376 pub fn zend_iterator_init(iter: *mut zend_object_iterator);
3377}
3378extern "C" {
3379 pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
3380}
3381extern "C" {
3382 pub fn zend_register_iterator_wrapper();
3383}
3384#[repr(C)]
3385#[derive(Debug, Copy, Clone)]
3386pub struct stat {
3387 pub st_dev: __dev_t,
3388 pub st_ino: __ino_t,
3389 pub st_nlink: __nlink_t,
3390 pub st_mode: __mode_t,
3391 pub st_uid: __uid_t,
3392 pub st_gid: __gid_t,
3393 pub __pad0: ::std::os::raw::c_int,
3394 pub st_rdev: __dev_t,
3395 pub st_size: __off_t,
3396 pub st_blksize: __blksize_t,
3397 pub st_blocks: __blkcnt_t,
3398 pub st_atim: timespec,
3399 pub st_mtim: timespec,
3400 pub st_ctim: timespec,
3401 pub __glibc_reserved: [__syscall_slong_t; 3usize],
3402}
3403#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3404const _: () = {
3405 ["Size of stat"][::std::mem::size_of::<stat>() - 144usize];
3406 ["Alignment of stat"][::std::mem::align_of::<stat>() - 8usize];
3407 ["Offset of field: stat::st_dev"][::std::mem::offset_of!(stat, st_dev) - 0usize];
3408 ["Offset of field: stat::st_ino"][::std::mem::offset_of!(stat, st_ino) - 8usize];
3409 ["Offset of field: stat::st_nlink"][::std::mem::offset_of!(stat, st_nlink) - 16usize];
3410 ["Offset of field: stat::st_mode"][::std::mem::offset_of!(stat, st_mode) - 24usize];
3411 ["Offset of field: stat::st_uid"][::std::mem::offset_of!(stat, st_uid) - 28usize];
3412 ["Offset of field: stat::st_gid"][::std::mem::offset_of!(stat, st_gid) - 32usize];
3413 ["Offset of field: stat::__pad0"][::std::mem::offset_of!(stat, __pad0) - 36usize];
3414 ["Offset of field: stat::st_rdev"][::std::mem::offset_of!(stat, st_rdev) - 40usize];
3415 ["Offset of field: stat::st_size"][::std::mem::offset_of!(stat, st_size) - 48usize];
3416 ["Offset of field: stat::st_blksize"][::std::mem::offset_of!(stat, st_blksize) - 56usize];
3417 ["Offset of field: stat::st_blocks"][::std::mem::offset_of!(stat, st_blocks) - 64usize];
3418 ["Offset of field: stat::st_atim"][::std::mem::offset_of!(stat, st_atim) - 72usize];
3419 ["Offset of field: stat::st_mtim"][::std::mem::offset_of!(stat, st_mtim) - 88usize];
3420 ["Offset of field: stat::st_ctim"][::std::mem::offset_of!(stat, st_ctim) - 104usize];
3421 ["Offset of field: stat::__glibc_reserved"]
3422 [::std::mem::offset_of!(stat, __glibc_reserved) - 120usize];
3423};
3424pub type zend_stream_fsizer_t =
3425 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> usize>;
3426pub type zend_stream_reader_t = ::std::option::Option<
3427 unsafe extern "C" fn(
3428 handle: *mut ::std::os::raw::c_void,
3429 buf: *mut ::std::os::raw::c_char,
3430 len: usize,
3431 ) -> isize,
3432>;
3433pub type zend_stream_closer_t =
3434 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
3435pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
3436pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 1;
3437pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 2;
3438pub type zend_stream_type = ::std::os::raw::c_uint;
3439#[repr(C)]
3440#[derive(Debug, Copy, Clone)]
3441pub struct _zend_stream {
3442 pub handle: *mut ::std::os::raw::c_void,
3443 pub isatty: ::std::os::raw::c_int,
3444 pub reader: zend_stream_reader_t,
3445 pub fsizer: zend_stream_fsizer_t,
3446 pub closer: zend_stream_closer_t,
3447}
3448#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3449const _: () = {
3450 ["Size of _zend_stream"][::std::mem::size_of::<_zend_stream>() - 40usize];
3451 ["Alignment of _zend_stream"][::std::mem::align_of::<_zend_stream>() - 8usize];
3452 ["Offset of field: _zend_stream::handle"]
3453 [::std::mem::offset_of!(_zend_stream, handle) - 0usize];
3454 ["Offset of field: _zend_stream::isatty"]
3455 [::std::mem::offset_of!(_zend_stream, isatty) - 8usize];
3456 ["Offset of field: _zend_stream::reader"]
3457 [::std::mem::offset_of!(_zend_stream, reader) - 16usize];
3458 ["Offset of field: _zend_stream::fsizer"]
3459 [::std::mem::offset_of!(_zend_stream, fsizer) - 24usize];
3460 ["Offset of field: _zend_stream::closer"]
3461 [::std::mem::offset_of!(_zend_stream, closer) - 32usize];
3462};
3463pub type zend_stream = _zend_stream;
3464#[repr(C)]
3465#[derive(Copy, Clone)]
3466pub struct _zend_file_handle {
3467 pub handle: _zend_file_handle__bindgen_ty_1,
3468 pub filename: *mut zend_string,
3469 pub opened_path: *mut zend_string,
3470 pub type_: u8,
3471 pub primary_script: bool,
3472 pub in_list: bool,
3473 pub buf: *mut ::std::os::raw::c_char,
3474 pub len: usize,
3475}
3476#[repr(C)]
3477#[derive(Copy, Clone)]
3478pub union _zend_file_handle__bindgen_ty_1 {
3479 pub fp: *mut FILE,
3480 pub stream: zend_stream,
3481}
3482#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3483const _: () = {
3484 ["Size of _zend_file_handle__bindgen_ty_1"]
3485 [::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>() - 40usize];
3486 ["Alignment of _zend_file_handle__bindgen_ty_1"]
3487 [::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>() - 8usize];
3488 ["Offset of field: _zend_file_handle__bindgen_ty_1::fp"]
3489 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fp) - 0usize];
3490 ["Offset of field: _zend_file_handle__bindgen_ty_1::stream"]
3491 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, stream) - 0usize];
3492};
3493#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3494const _: () = {
3495 ["Size of _zend_file_handle"][::std::mem::size_of::<_zend_file_handle>() - 80usize];
3496 ["Alignment of _zend_file_handle"][::std::mem::align_of::<_zend_file_handle>() - 8usize];
3497 ["Offset of field: _zend_file_handle::handle"]
3498 [::std::mem::offset_of!(_zend_file_handle, handle) - 0usize];
3499 ["Offset of field: _zend_file_handle::filename"]
3500 [::std::mem::offset_of!(_zend_file_handle, filename) - 40usize];
3501 ["Offset of field: _zend_file_handle::opened_path"]
3502 [::std::mem::offset_of!(_zend_file_handle, opened_path) - 48usize];
3503 ["Offset of field: _zend_file_handle::type_"]
3504 [::std::mem::offset_of!(_zend_file_handle, type_) - 56usize];
3505 ["Offset of field: _zend_file_handle::primary_script"]
3506 [::std::mem::offset_of!(_zend_file_handle, primary_script) - 57usize];
3507 ["Offset of field: _zend_file_handle::in_list"]
3508 [::std::mem::offset_of!(_zend_file_handle, in_list) - 58usize];
3509 ["Offset of field: _zend_file_handle::buf"]
3510 [::std::mem::offset_of!(_zend_file_handle, buf) - 64usize];
3511 ["Offset of field: _zend_file_handle::len"]
3512 [::std::mem::offset_of!(_zend_file_handle, len) - 72usize];
3513};
3514pub type zend_file_handle = _zend_file_handle;
3515extern "C" {
3516 pub fn zend_stream_init_fp(
3517 handle: *mut zend_file_handle,
3518 fp: *mut FILE,
3519 filename: *const ::std::os::raw::c_char,
3520 );
3521}
3522extern "C" {
3523 pub fn zend_stream_init_filename(
3524 handle: *mut zend_file_handle,
3525 filename: *const ::std::os::raw::c_char,
3526 );
3527}
3528extern "C" {
3529 pub fn zend_stream_init_filename_ex(handle: *mut zend_file_handle, filename: *mut zend_string);
3530}
3531extern "C" {
3532 pub fn zend_stream_open(handle: *mut zend_file_handle) -> zend_result;
3533}
3534extern "C" {
3535 pub fn zend_stream_fixup(
3536 file_handle: *mut zend_file_handle,
3537 buf: *mut *mut ::std::os::raw::c_char,
3538 len: *mut usize,
3539 ) -> zend_result;
3540}
3541extern "C" {
3542 pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
3543}
3544extern "C" {
3545 pub fn zend_stream_init();
3546}
3547extern "C" {
3548 pub fn zend_stream_shutdown();
3549}
3550pub type zend_stat_t = stat;
3551#[repr(C)]
3552#[derive(Debug, Copy, Clone)]
3553pub struct smart_str {
3554 #[doc = " See smart_str_extract()"]
3555 pub s: *mut zend_string,
3556 pub a: usize,
3557}
3558#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3559const _: () = {
3560 ["Size of smart_str"][::std::mem::size_of::<smart_str>() - 16usize];
3561 ["Alignment of smart_str"][::std::mem::align_of::<smart_str>() - 8usize];
3562 ["Offset of field: smart_str::s"][::std::mem::offset_of!(smart_str, s) - 0usize];
3563 ["Offset of field: smart_str::a"][::std::mem::offset_of!(smart_str, a) - 8usize];
3564};
3565#[repr(C)]
3566#[derive(Debug, Copy, Clone)]
3567pub struct smart_string {
3568 pub c: *mut ::std::os::raw::c_char,
3569 pub len: usize,
3570 pub a: usize,
3571}
3572#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3573const _: () = {
3574 ["Size of smart_string"][::std::mem::size_of::<smart_string>() - 24usize];
3575 ["Alignment of smart_string"][::std::mem::align_of::<smart_string>() - 8usize];
3576 ["Offset of field: smart_string::c"][::std::mem::offset_of!(smart_string, c) - 0usize];
3577 ["Offset of field: smart_string::len"][::std::mem::offset_of!(smart_string, len) - 8usize];
3578 ["Offset of field: smart_string::a"][::std::mem::offset_of!(smart_string, a) - 16usize];
3579};
3580#[repr(C)]
3581#[derive(Copy, Clone)]
3582pub union sigval {
3583 pub sival_int: ::std::os::raw::c_int,
3584 pub sival_ptr: *mut ::std::os::raw::c_void,
3585}
3586#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3587const _: () = {
3588 ["Size of sigval"][::std::mem::size_of::<sigval>() - 8usize];
3589 ["Alignment of sigval"][::std::mem::align_of::<sigval>() - 8usize];
3590 ["Offset of field: sigval::sival_int"][::std::mem::offset_of!(sigval, sival_int) - 0usize];
3591 ["Offset of field: sigval::sival_ptr"][::std::mem::offset_of!(sigval, sival_ptr) - 0usize];
3592};
3593pub type __sigval_t = sigval;
3594#[repr(C)]
3595#[derive(Copy, Clone)]
3596pub struct siginfo_t {
3597 pub si_signo: ::std::os::raw::c_int,
3598 pub si_errno: ::std::os::raw::c_int,
3599 pub si_code: ::std::os::raw::c_int,
3600 pub __pad0: ::std::os::raw::c_int,
3601 pub _sifields: siginfo_t__bindgen_ty_1,
3602}
3603#[repr(C)]
3604#[derive(Copy, Clone)]
3605pub union siginfo_t__bindgen_ty_1 {
3606 pub _pad: [::std::os::raw::c_int; 28usize],
3607 pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1,
3608 pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2,
3609 pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3,
3610 pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4,
3611 pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5,
3612 pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6,
3613 pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7,
3614}
3615#[repr(C)]
3616#[derive(Debug, Copy, Clone)]
3617pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 {
3618 pub si_pid: __pid_t,
3619 pub si_uid: __uid_t,
3620}
3621#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3622const _: () = {
3623 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
3624 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 8usize];
3625 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
3626 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 4usize];
3627 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_pid"]
3628 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_pid) - 0usize];
3629 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_uid"]
3630 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_uid) - 4usize];
3631};
3632#[repr(C)]
3633#[derive(Copy, Clone)]
3634pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 {
3635 pub si_tid: ::std::os::raw::c_int,
3636 pub si_overrun: ::std::os::raw::c_int,
3637 pub si_sigval: __sigval_t,
3638}
3639#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3640const _: () = {
3641 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
3642 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 16usize];
3643 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
3644 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 8usize];
3645 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_tid"]
3646 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_tid) - 0usize];
3647 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_overrun"]
3648 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_overrun) - 4usize];
3649 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_sigval"]
3650 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_sigval) - 8usize];
3651};
3652#[repr(C)]
3653#[derive(Copy, Clone)]
3654pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 {
3655 pub si_pid: __pid_t,
3656 pub si_uid: __uid_t,
3657 pub si_sigval: __sigval_t,
3658}
3659#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3660const _: () = {
3661 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
3662 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 16usize];
3663 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
3664 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 8usize];
3665 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_pid"]
3666 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_pid) - 0usize];
3667 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_uid"]
3668 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_uid) - 4usize];
3669 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_sigval"]
3670 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_sigval) - 8usize];
3671};
3672#[repr(C)]
3673#[derive(Debug, Copy, Clone)]
3674pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 {
3675 pub si_pid: __pid_t,
3676 pub si_uid: __uid_t,
3677 pub si_status: ::std::os::raw::c_int,
3678 pub si_utime: __clock_t,
3679 pub si_stime: __clock_t,
3680}
3681#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3682const _: () = {
3683 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
3684 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 32usize];
3685 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
3686 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 8usize];
3687 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_pid"]
3688 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_pid) - 0usize];
3689 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_uid"]
3690 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_uid) - 4usize];
3691 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_status"]
3692 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_status) - 8usize];
3693 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_utime"]
3694 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_utime) - 16usize];
3695 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_stime"]
3696 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_stime) - 24usize];
3697};
3698#[repr(C)]
3699#[derive(Copy, Clone)]
3700pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 {
3701 pub si_addr: *mut ::std::os::raw::c_void,
3702 pub si_addr_lsb: ::std::os::raw::c_short,
3703 pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3704}
3705#[repr(C)]
3706#[derive(Copy, Clone)]
3707pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
3708 pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
3709 pub _pkey: __uint32_t,
3710}
3711#[repr(C)]
3712#[derive(Debug, Copy, Clone)]
3713pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
3714 pub _lower: *mut ::std::os::raw::c_void,
3715 pub _upper: *mut ::std::os::raw::c_void,
3716}
3717#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3718const _: () = {
3719 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
3720 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
3721 ) - 16usize];
3722 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
3723 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
3724 ) - 8usize];
3725 ["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] ;
3726 ["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] ;
3727};
3728#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3729const _: () = {
3730 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
3731 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 16usize];
3732 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
3733 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 8usize];
3734 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_addr_bnd"][::std::mem::offset_of!(
3735 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3736 _addr_bnd
3737 ) - 0usize];
3738 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_pkey"][::std::mem::offset_of!(
3739 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3740 _pkey
3741 ) - 0usize];
3742};
3743#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3744const _: () = {
3745 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
3746 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 32usize];
3747 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
3748 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 8usize];
3749 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr"]
3750 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr) - 0usize];
3751 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr_lsb"]
3752 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr_lsb) - 8usize];
3753 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::_bounds"]
3754 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, _bounds) - 16usize];
3755};
3756#[repr(C)]
3757#[derive(Debug, Copy, Clone)]
3758pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 {
3759 pub si_band: ::std::os::raw::c_long,
3760 pub si_fd: ::std::os::raw::c_int,
3761}
3762#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3763const _: () = {
3764 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
3765 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 16usize];
3766 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
3767 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 8usize];
3768 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_band"]
3769 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_band) - 0usize];
3770 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_fd"]
3771 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_fd) - 8usize];
3772};
3773#[repr(C)]
3774#[derive(Debug, Copy, Clone)]
3775pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 {
3776 pub _call_addr: *mut ::std::os::raw::c_void,
3777 pub _syscall: ::std::os::raw::c_int,
3778 pub _arch: ::std::os::raw::c_uint,
3779}
3780#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3781const _: () = {
3782 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
3783 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 16usize];
3784 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
3785 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 8usize];
3786 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_call_addr"]
3787 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _call_addr) - 0usize];
3788 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_syscall"]
3789 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _syscall) - 8usize];
3790 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_arch"]
3791 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _arch) - 12usize];
3792};
3793#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3794const _: () = {
3795 ["Size of siginfo_t__bindgen_ty_1"]
3796 [::std::mem::size_of::<siginfo_t__bindgen_ty_1>() - 112usize];
3797 ["Alignment of siginfo_t__bindgen_ty_1"]
3798 [::std::mem::align_of::<siginfo_t__bindgen_ty_1>() - 8usize];
3799 ["Offset of field: siginfo_t__bindgen_ty_1::_pad"]
3800 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _pad) - 0usize];
3801 ["Offset of field: siginfo_t__bindgen_ty_1::_kill"]
3802 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _kill) - 0usize];
3803 ["Offset of field: siginfo_t__bindgen_ty_1::_timer"]
3804 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _timer) - 0usize];
3805 ["Offset of field: siginfo_t__bindgen_ty_1::_rt"]
3806 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _rt) - 0usize];
3807 ["Offset of field: siginfo_t__bindgen_ty_1::_sigchld"]
3808 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigchld) - 0usize];
3809 ["Offset of field: siginfo_t__bindgen_ty_1::_sigfault"]
3810 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigfault) - 0usize];
3811 ["Offset of field: siginfo_t__bindgen_ty_1::_sigpoll"]
3812 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigpoll) - 0usize];
3813 ["Offset of field: siginfo_t__bindgen_ty_1::_sigsys"]
3814 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigsys) - 0usize];
3815};
3816#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3817const _: () = {
3818 ["Size of siginfo_t"][::std::mem::size_of::<siginfo_t>() - 128usize];
3819 ["Alignment of siginfo_t"][::std::mem::align_of::<siginfo_t>() - 8usize];
3820 ["Offset of field: siginfo_t::si_signo"][::std::mem::offset_of!(siginfo_t, si_signo) - 0usize];
3821 ["Offset of field: siginfo_t::si_errno"][::std::mem::offset_of!(siginfo_t, si_errno) - 4usize];
3822 ["Offset of field: siginfo_t::si_code"][::std::mem::offset_of!(siginfo_t, si_code) - 8usize];
3823 ["Offset of field: siginfo_t::__pad0"][::std::mem::offset_of!(siginfo_t, __pad0) - 12usize];
3824 ["Offset of field: siginfo_t::_sifields"]
3825 [::std::mem::offset_of!(siginfo_t, _sifields) - 16usize];
3826};
3827pub type __sighandler_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
3828#[repr(C)]
3829#[derive(Copy, Clone)]
3830pub struct sigaction {
3831 pub __sigaction_handler: sigaction__bindgen_ty_1,
3832 pub sa_mask: __sigset_t,
3833 pub sa_flags: ::std::os::raw::c_int,
3834 pub sa_restorer: ::std::option::Option<unsafe extern "C" fn()>,
3835}
3836#[repr(C)]
3837#[derive(Copy, Clone)]
3838pub union sigaction__bindgen_ty_1 {
3839 pub sa_handler: __sighandler_t,
3840 pub sa_sigaction: ::std::option::Option<
3841 unsafe extern "C" fn(
3842 arg1: ::std::os::raw::c_int,
3843 arg2: *mut siginfo_t,
3844 arg3: *mut ::std::os::raw::c_void,
3845 ),
3846 >,
3847}
3848#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3849const _: () = {
3850 ["Size of sigaction__bindgen_ty_1"][::std::mem::size_of::<sigaction__bindgen_ty_1>() - 8usize];
3851 ["Alignment of sigaction__bindgen_ty_1"]
3852 [::std::mem::align_of::<sigaction__bindgen_ty_1>() - 8usize];
3853 ["Offset of field: sigaction__bindgen_ty_1::sa_handler"]
3854 [::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_handler) - 0usize];
3855 ["Offset of field: sigaction__bindgen_ty_1::sa_sigaction"]
3856 [::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_sigaction) - 0usize];
3857};
3858#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3859const _: () = {
3860 ["Size of sigaction"][::std::mem::size_of::<sigaction>() - 152usize];
3861 ["Alignment of sigaction"][::std::mem::align_of::<sigaction>() - 8usize];
3862 ["Offset of field: sigaction::__sigaction_handler"]
3863 [::std::mem::offset_of!(sigaction, __sigaction_handler) - 0usize];
3864 ["Offset of field: sigaction::sa_mask"][::std::mem::offset_of!(sigaction, sa_mask) - 8usize];
3865 ["Offset of field: sigaction::sa_flags"]
3866 [::std::mem::offset_of!(sigaction, sa_flags) - 136usize];
3867 ["Offset of field: sigaction::sa_restorer"]
3868 [::std::mem::offset_of!(sigaction, sa_restorer) - 144usize];
3869};
3870#[repr(C)]
3871#[derive(Debug, Copy, Clone)]
3872pub struct _zend_signal_entry_t {
3873 pub flags: ::std::os::raw::c_int,
3874 pub handler: *mut ::std::os::raw::c_void,
3875}
3876#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3877const _: () = {
3878 ["Size of _zend_signal_entry_t"][::std::mem::size_of::<_zend_signal_entry_t>() - 16usize];
3879 ["Alignment of _zend_signal_entry_t"][::std::mem::align_of::<_zend_signal_entry_t>() - 8usize];
3880 ["Offset of field: _zend_signal_entry_t::flags"]
3881 [::std::mem::offset_of!(_zend_signal_entry_t, flags) - 0usize];
3882 ["Offset of field: _zend_signal_entry_t::handler"]
3883 [::std::mem::offset_of!(_zend_signal_entry_t, handler) - 8usize];
3884};
3885pub type zend_signal_entry_t = _zend_signal_entry_t;
3886#[repr(C)]
3887#[derive(Debug, Copy, Clone)]
3888pub struct _zend_signal_t {
3889 pub signo: ::std::os::raw::c_int,
3890 pub siginfo: *mut siginfo_t,
3891 pub context: *mut ::std::os::raw::c_void,
3892}
3893#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3894const _: () = {
3895 ["Size of _zend_signal_t"][::std::mem::size_of::<_zend_signal_t>() - 24usize];
3896 ["Alignment of _zend_signal_t"][::std::mem::align_of::<_zend_signal_t>() - 8usize];
3897 ["Offset of field: _zend_signal_t::signo"]
3898 [::std::mem::offset_of!(_zend_signal_t, signo) - 0usize];
3899 ["Offset of field: _zend_signal_t::siginfo"]
3900 [::std::mem::offset_of!(_zend_signal_t, siginfo) - 8usize];
3901 ["Offset of field: _zend_signal_t::context"]
3902 [::std::mem::offset_of!(_zend_signal_t, context) - 16usize];
3903};
3904pub type zend_signal_t = _zend_signal_t;
3905#[repr(C)]
3906#[derive(Debug, Copy, Clone)]
3907pub struct _zend_signal_queue_t {
3908 pub zend_signal: zend_signal_t,
3909 pub next: *mut _zend_signal_queue_t,
3910}
3911#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3912const _: () = {
3913 ["Size of _zend_signal_queue_t"][::std::mem::size_of::<_zend_signal_queue_t>() - 32usize];
3914 ["Alignment of _zend_signal_queue_t"][::std::mem::align_of::<_zend_signal_queue_t>() - 8usize];
3915 ["Offset of field: _zend_signal_queue_t::zend_signal"]
3916 [::std::mem::offset_of!(_zend_signal_queue_t, zend_signal) - 0usize];
3917 ["Offset of field: _zend_signal_queue_t::next"]
3918 [::std::mem::offset_of!(_zend_signal_queue_t, next) - 24usize];
3919};
3920pub type zend_signal_queue_t = _zend_signal_queue_t;
3921#[repr(C)]
3922#[derive(Debug, Copy, Clone)]
3923pub struct _zend_signal_globals_t {
3924 pub depth: ::std::os::raw::c_int,
3925 pub blocked: ::std::os::raw::c_int,
3926 pub running: ::std::os::raw::c_int,
3927 pub active: ::std::os::raw::c_int,
3928 pub check: bool,
3929 pub reset: bool,
3930 pub handlers: [zend_signal_entry_t; 65usize],
3931 pub pstorage: [zend_signal_queue_t; 64usize],
3932 pub phead: *mut zend_signal_queue_t,
3933 pub ptail: *mut zend_signal_queue_t,
3934 pub pavail: *mut zend_signal_queue_t,
3935}
3936#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3937const _: () = {
3938 ["Size of _zend_signal_globals_t"][::std::mem::size_of::<_zend_signal_globals_t>() - 3136usize];
3939 ["Alignment of _zend_signal_globals_t"]
3940 [::std::mem::align_of::<_zend_signal_globals_t>() - 8usize];
3941 ["Offset of field: _zend_signal_globals_t::depth"]
3942 [::std::mem::offset_of!(_zend_signal_globals_t, depth) - 0usize];
3943 ["Offset of field: _zend_signal_globals_t::blocked"]
3944 [::std::mem::offset_of!(_zend_signal_globals_t, blocked) - 4usize];
3945 ["Offset of field: _zend_signal_globals_t::running"]
3946 [::std::mem::offset_of!(_zend_signal_globals_t, running) - 8usize];
3947 ["Offset of field: _zend_signal_globals_t::active"]
3948 [::std::mem::offset_of!(_zend_signal_globals_t, active) - 12usize];
3949 ["Offset of field: _zend_signal_globals_t::check"]
3950 [::std::mem::offset_of!(_zend_signal_globals_t, check) - 16usize];
3951 ["Offset of field: _zend_signal_globals_t::reset"]
3952 [::std::mem::offset_of!(_zend_signal_globals_t, reset) - 17usize];
3953 ["Offset of field: _zend_signal_globals_t::handlers"]
3954 [::std::mem::offset_of!(_zend_signal_globals_t, handlers) - 24usize];
3955 ["Offset of field: _zend_signal_globals_t::pstorage"]
3956 [::std::mem::offset_of!(_zend_signal_globals_t, pstorage) - 1064usize];
3957 ["Offset of field: _zend_signal_globals_t::phead"]
3958 [::std::mem::offset_of!(_zend_signal_globals_t, phead) - 3112usize];
3959 ["Offset of field: _zend_signal_globals_t::ptail"]
3960 [::std::mem::offset_of!(_zend_signal_globals_t, ptail) - 3120usize];
3961 ["Offset of field: _zend_signal_globals_t::pavail"]
3962 [::std::mem::offset_of!(_zend_signal_globals_t, pavail) - 3128usize];
3963};
3964pub type zend_signal_globals_t = _zend_signal_globals_t;
3965extern "C" {
3966 pub static mut zend_signal_globals: zend_signal_globals_t;
3967}
3968extern "C" {
3969 pub fn zend_signal_handler_unblock();
3970}
3971extern "C" {
3972 pub fn zend_signal_activate();
3973}
3974extern "C" {
3975 pub fn zend_signal_deactivate();
3976}
3977extern "C" {
3978 pub fn zend_signal_startup();
3979}
3980extern "C" {
3981 pub fn zend_signal_init();
3982}
3983extern "C" {
3984 pub fn zend_signal(
3985 signo: ::std::os::raw::c_int,
3986 handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
3987 );
3988}
3989extern "C" {
3990 pub fn zend_sigaction(
3991 signo: ::std::os::raw::c_int,
3992 act: *const sigaction,
3993 oldact: *mut sigaction,
3994 );
3995}
3996#[repr(C)]
3997#[derive(Debug, Copy, Clone)]
3998pub struct _zend_serialize_data {
3999 _unused: [u8; 0],
4000}
4001#[repr(C)]
4002#[derive(Debug, Copy, Clone)]
4003pub struct _zend_unserialize_data {
4004 _unused: [u8; 0],
4005}
4006pub type zend_serialize_data = _zend_serialize_data;
4007pub type zend_unserialize_data = _zend_unserialize_data;
4008#[repr(C)]
4009#[derive(Debug, Copy, Clone)]
4010pub struct _zend_class_name {
4011 pub name: *mut zend_string,
4012 pub lc_name: *mut zend_string,
4013}
4014#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4015const _: () = {
4016 ["Size of _zend_class_name"][::std::mem::size_of::<_zend_class_name>() - 16usize];
4017 ["Alignment of _zend_class_name"][::std::mem::align_of::<_zend_class_name>() - 8usize];
4018 ["Offset of field: _zend_class_name::name"]
4019 [::std::mem::offset_of!(_zend_class_name, name) - 0usize];
4020 ["Offset of field: _zend_class_name::lc_name"]
4021 [::std::mem::offset_of!(_zend_class_name, lc_name) - 8usize];
4022};
4023pub type zend_class_name = _zend_class_name;
4024#[repr(C)]
4025#[derive(Debug, Copy, Clone)]
4026pub struct _zend_trait_method_reference {
4027 pub method_name: *mut zend_string,
4028 pub class_name: *mut zend_string,
4029}
4030#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4031const _: () = {
4032 ["Size of _zend_trait_method_reference"]
4033 [::std::mem::size_of::<_zend_trait_method_reference>() - 16usize];
4034 ["Alignment of _zend_trait_method_reference"]
4035 [::std::mem::align_of::<_zend_trait_method_reference>() - 8usize];
4036 ["Offset of field: _zend_trait_method_reference::method_name"]
4037 [::std::mem::offset_of!(_zend_trait_method_reference, method_name) - 0usize];
4038 ["Offset of field: _zend_trait_method_reference::class_name"]
4039 [::std::mem::offset_of!(_zend_trait_method_reference, class_name) - 8usize];
4040};
4041pub type zend_trait_method_reference = _zend_trait_method_reference;
4042#[repr(C)]
4043#[derive(Debug, Copy, Clone)]
4044pub struct _zend_trait_precedence {
4045 pub trait_method: zend_trait_method_reference,
4046 pub num_excludes: u32,
4047 pub exclude_class_names: [*mut zend_string; 1usize],
4048}
4049#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4050const _: () = {
4051 ["Size of _zend_trait_precedence"][::std::mem::size_of::<_zend_trait_precedence>() - 32usize];
4052 ["Alignment of _zend_trait_precedence"]
4053 [::std::mem::align_of::<_zend_trait_precedence>() - 8usize];
4054 ["Offset of field: _zend_trait_precedence::trait_method"]
4055 [::std::mem::offset_of!(_zend_trait_precedence, trait_method) - 0usize];
4056 ["Offset of field: _zend_trait_precedence::num_excludes"]
4057 [::std::mem::offset_of!(_zend_trait_precedence, num_excludes) - 16usize];
4058 ["Offset of field: _zend_trait_precedence::exclude_class_names"]
4059 [::std::mem::offset_of!(_zend_trait_precedence, exclude_class_names) - 24usize];
4060};
4061pub type zend_trait_precedence = _zend_trait_precedence;
4062#[repr(C)]
4063#[derive(Debug, Copy, Clone)]
4064pub struct _zend_trait_alias {
4065 pub trait_method: zend_trait_method_reference,
4066 #[doc = " name for method to be added"]
4067 pub alias: *mut zend_string,
4068 #[doc = " modifiers to be set on trait method"]
4069 pub modifiers: u32,
4070}
4071#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4072const _: () = {
4073 ["Size of _zend_trait_alias"][::std::mem::size_of::<_zend_trait_alias>() - 32usize];
4074 ["Alignment of _zend_trait_alias"][::std::mem::align_of::<_zend_trait_alias>() - 8usize];
4075 ["Offset of field: _zend_trait_alias::trait_method"]
4076 [::std::mem::offset_of!(_zend_trait_alias, trait_method) - 0usize];
4077 ["Offset of field: _zend_trait_alias::alias"]
4078 [::std::mem::offset_of!(_zend_trait_alias, alias) - 16usize];
4079 ["Offset of field: _zend_trait_alias::modifiers"]
4080 [::std::mem::offset_of!(_zend_trait_alias, modifiers) - 24usize];
4081};
4082pub type zend_trait_alias = _zend_trait_alias;
4083#[repr(C)]
4084#[derive(Debug, Copy, Clone)]
4085pub struct _zend_class_mutable_data {
4086 pub default_properties_table: *mut zval,
4087 pub constants_table: *mut HashTable,
4088 pub ce_flags: u32,
4089 pub backed_enum_table: *mut HashTable,
4090}
4091#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4092const _: () = {
4093 ["Size of _zend_class_mutable_data"]
4094 [::std::mem::size_of::<_zend_class_mutable_data>() - 32usize];
4095 ["Alignment of _zend_class_mutable_data"]
4096 [::std::mem::align_of::<_zend_class_mutable_data>() - 8usize];
4097 ["Offset of field: _zend_class_mutable_data::default_properties_table"]
4098 [::std::mem::offset_of!(_zend_class_mutable_data, default_properties_table) - 0usize];
4099 ["Offset of field: _zend_class_mutable_data::constants_table"]
4100 [::std::mem::offset_of!(_zend_class_mutable_data, constants_table) - 8usize];
4101 ["Offset of field: _zend_class_mutable_data::ce_flags"]
4102 [::std::mem::offset_of!(_zend_class_mutable_data, ce_flags) - 16usize];
4103 ["Offset of field: _zend_class_mutable_data::backed_enum_table"]
4104 [::std::mem::offset_of!(_zend_class_mutable_data, backed_enum_table) - 24usize];
4105};
4106pub type zend_class_mutable_data = _zend_class_mutable_data;
4107#[repr(C)]
4108#[derive(Debug, Copy, Clone)]
4109pub struct _zend_class_dependency {
4110 pub name: *mut zend_string,
4111 pub ce: *mut zend_class_entry,
4112}
4113#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4114const _: () = {
4115 ["Size of _zend_class_dependency"][::std::mem::size_of::<_zend_class_dependency>() - 16usize];
4116 ["Alignment of _zend_class_dependency"]
4117 [::std::mem::align_of::<_zend_class_dependency>() - 8usize];
4118 ["Offset of field: _zend_class_dependency::name"]
4119 [::std::mem::offset_of!(_zend_class_dependency, name) - 0usize];
4120 ["Offset of field: _zend_class_dependency::ce"]
4121 [::std::mem::offset_of!(_zend_class_dependency, ce) - 8usize];
4122};
4123pub type zend_class_dependency = _zend_class_dependency;
4124pub type zend_inheritance_cache_entry = _zend_inheritance_cache_entry;
4125#[repr(C)]
4126#[derive(Debug, Copy, Clone)]
4127pub struct _zend_error_info {
4128 pub type_: ::std::os::raw::c_int,
4129 pub lineno: u32,
4130 pub filename: *mut zend_string,
4131 pub message: *mut zend_string,
4132}
4133#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4134const _: () = {
4135 ["Size of _zend_error_info"][::std::mem::size_of::<_zend_error_info>() - 24usize];
4136 ["Alignment of _zend_error_info"][::std::mem::align_of::<_zend_error_info>() - 8usize];
4137 ["Offset of field: _zend_error_info::type_"]
4138 [::std::mem::offset_of!(_zend_error_info, type_) - 0usize];
4139 ["Offset of field: _zend_error_info::lineno"]
4140 [::std::mem::offset_of!(_zend_error_info, lineno) - 4usize];
4141 ["Offset of field: _zend_error_info::filename"]
4142 [::std::mem::offset_of!(_zend_error_info, filename) - 8usize];
4143 ["Offset of field: _zend_error_info::message"]
4144 [::std::mem::offset_of!(_zend_error_info, message) - 16usize];
4145};
4146pub type zend_error_info = _zend_error_info;
4147#[repr(C)]
4148#[derive(Debug, Copy, Clone)]
4149pub struct _zend_inheritance_cache_entry {
4150 pub next: *mut zend_inheritance_cache_entry,
4151 pub ce: *mut zend_class_entry,
4152 pub parent: *mut zend_class_entry,
4153 pub dependencies: *mut zend_class_dependency,
4154 pub dependencies_count: u32,
4155 pub num_warnings: u32,
4156 pub warnings: *mut *mut zend_error_info,
4157 pub traits_and_interfaces: [*mut zend_class_entry; 1usize],
4158}
4159#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4160const _: () = {
4161 ["Size of _zend_inheritance_cache_entry"]
4162 [::std::mem::size_of::<_zend_inheritance_cache_entry>() - 56usize];
4163 ["Alignment of _zend_inheritance_cache_entry"]
4164 [::std::mem::align_of::<_zend_inheritance_cache_entry>() - 8usize];
4165 ["Offset of field: _zend_inheritance_cache_entry::next"]
4166 [::std::mem::offset_of!(_zend_inheritance_cache_entry, next) - 0usize];
4167 ["Offset of field: _zend_inheritance_cache_entry::ce"]
4168 [::std::mem::offset_of!(_zend_inheritance_cache_entry, ce) - 8usize];
4169 ["Offset of field: _zend_inheritance_cache_entry::parent"]
4170 [::std::mem::offset_of!(_zend_inheritance_cache_entry, parent) - 16usize];
4171 ["Offset of field: _zend_inheritance_cache_entry::dependencies"]
4172 [::std::mem::offset_of!(_zend_inheritance_cache_entry, dependencies) - 24usize];
4173 ["Offset of field: _zend_inheritance_cache_entry::dependencies_count"]
4174 [::std::mem::offset_of!(_zend_inheritance_cache_entry, dependencies_count) - 32usize];
4175 ["Offset of field: _zend_inheritance_cache_entry::num_warnings"]
4176 [::std::mem::offset_of!(_zend_inheritance_cache_entry, num_warnings) - 36usize];
4177 ["Offset of field: _zend_inheritance_cache_entry::warnings"]
4178 [::std::mem::offset_of!(_zend_inheritance_cache_entry, warnings) - 40usize];
4179 ["Offset of field: _zend_inheritance_cache_entry::traits_and_interfaces"]
4180 [::std::mem::offset_of!(_zend_inheritance_cache_entry, traits_and_interfaces) - 48usize];
4181};
4182#[repr(C)]
4183#[derive(Copy, Clone)]
4184pub struct _zend_class_entry {
4185 pub type_: ::std::os::raw::c_char,
4186 pub name: *mut zend_string,
4187 pub __bindgen_anon_1: _zend_class_entry__bindgen_ty_1,
4188 pub refcount: ::std::os::raw::c_int,
4189 pub ce_flags: u32,
4190 pub default_properties_count: ::std::os::raw::c_int,
4191 pub default_static_members_count: ::std::os::raw::c_int,
4192 pub default_properties_table: *mut zval,
4193 pub default_static_members_table: *mut zval,
4194 pub static_members_table__ptr: *mut zval,
4195 pub function_table: HashTable,
4196 pub properties_info: HashTable,
4197 pub constants_table: HashTable,
4198 pub mutable_data__ptr: *mut zend_class_mutable_data,
4199 pub inheritance_cache: *mut zend_inheritance_cache_entry,
4200 pub properties_info_table: *mut *mut _zend_property_info,
4201 pub constructor: *mut zend_function,
4202 pub destructor: *mut zend_function,
4203 pub clone: *mut zend_function,
4204 pub __get: *mut zend_function,
4205 pub __set: *mut zend_function,
4206 pub __unset: *mut zend_function,
4207 pub __isset: *mut zend_function,
4208 pub __call: *mut zend_function,
4209 pub __callstatic: *mut zend_function,
4210 pub __tostring: *mut zend_function,
4211 pub __debugInfo: *mut zend_function,
4212 pub __serialize: *mut zend_function,
4213 pub __unserialize: *mut zend_function,
4214 pub default_object_handlers: *const zend_object_handlers,
4215 pub iterator_funcs_ptr: *mut zend_class_iterator_funcs,
4216 pub arrayaccess_funcs_ptr: *mut zend_class_arrayaccess_funcs,
4217 pub __bindgen_anon_2: _zend_class_entry__bindgen_ty_2,
4218 pub get_iterator: ::std::option::Option<
4219 unsafe extern "C" fn(
4220 ce: *mut zend_class_entry,
4221 object: *mut zval,
4222 by_ref: ::std::os::raw::c_int,
4223 ) -> *mut zend_object_iterator,
4224 >,
4225 pub get_static_method: ::std::option::Option<
4226 unsafe extern "C" fn(
4227 ce: *mut zend_class_entry,
4228 method: *mut zend_string,
4229 ) -> *mut zend_function,
4230 >,
4231 pub serialize: ::std::option::Option<
4232 unsafe extern "C" fn(
4233 object: *mut zval,
4234 buffer: *mut *mut ::std::os::raw::c_uchar,
4235 buf_len: *mut usize,
4236 data: *mut zend_serialize_data,
4237 ) -> ::std::os::raw::c_int,
4238 >,
4239 pub unserialize: ::std::option::Option<
4240 unsafe extern "C" fn(
4241 object: *mut zval,
4242 ce: *mut zend_class_entry,
4243 buf: *const ::std::os::raw::c_uchar,
4244 buf_len: usize,
4245 data: *mut zend_unserialize_data,
4246 ) -> ::std::os::raw::c_int,
4247 >,
4248 pub num_interfaces: u32,
4249 pub num_traits: u32,
4250 pub num_hooked_props: u32,
4251 pub num_hooked_prop_variance_checks: u32,
4252 pub __bindgen_anon_3: _zend_class_entry__bindgen_ty_3,
4253 pub trait_names: *mut zend_class_name,
4254 pub trait_aliases: *mut *mut zend_trait_alias,
4255 pub trait_precedences: *mut *mut zend_trait_precedence,
4256 pub attributes: *mut HashTable,
4257 pub enum_backing_type: u32,
4258 pub backed_enum_table: *mut HashTable,
4259 pub doc_comment: *mut zend_string,
4260 pub info: _zend_class_entry__bindgen_ty_4,
4261}
4262#[repr(C)]
4263#[derive(Copy, Clone)]
4264pub union _zend_class_entry__bindgen_ty_1 {
4265 pub parent: *mut zend_class_entry,
4266 pub parent_name: *mut zend_string,
4267}
4268#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4269const _: () = {
4270 ["Size of _zend_class_entry__bindgen_ty_1"]
4271 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
4272 ["Alignment of _zend_class_entry__bindgen_ty_1"]
4273 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
4274 ["Offset of field: _zend_class_entry__bindgen_ty_1::parent"]
4275 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, parent) - 0usize];
4276 ["Offset of field: _zend_class_entry__bindgen_ty_1::parent_name"]
4277 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, parent_name) - 0usize];
4278};
4279#[repr(C)]
4280#[derive(Copy, Clone)]
4281pub union _zend_class_entry__bindgen_ty_2 {
4282 pub create_object: ::std::option::Option<
4283 unsafe extern "C" fn(class_type: *mut zend_class_entry) -> *mut zend_object,
4284 >,
4285 pub interface_gets_implemented: ::std::option::Option<
4286 unsafe extern "C" fn(
4287 iface: *mut zend_class_entry,
4288 class_type: *mut zend_class_entry,
4289 ) -> ::std::os::raw::c_int,
4290 >,
4291}
4292#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4293const _: () = {
4294 ["Size of _zend_class_entry__bindgen_ty_2"]
4295 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_2>() - 8usize];
4296 ["Alignment of _zend_class_entry__bindgen_ty_2"]
4297 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_2>() - 8usize];
4298 ["Offset of field: _zend_class_entry__bindgen_ty_2::create_object"]
4299 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_2, create_object) - 0usize];
4300 ["Offset of field: _zend_class_entry__bindgen_ty_2::interface_gets_implemented"][::std::mem::offset_of!(
4301 _zend_class_entry__bindgen_ty_2,
4302 interface_gets_implemented
4303 ) - 0usize];
4304};
4305#[repr(C)]
4306#[derive(Copy, Clone)]
4307pub union _zend_class_entry__bindgen_ty_3 {
4308 pub interfaces: *mut *mut zend_class_entry,
4309 pub interface_names: *mut zend_class_name,
4310}
4311#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4312const _: () = {
4313 ["Size of _zend_class_entry__bindgen_ty_3"]
4314 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_3>() - 8usize];
4315 ["Alignment of _zend_class_entry__bindgen_ty_3"]
4316 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_3>() - 8usize];
4317 ["Offset of field: _zend_class_entry__bindgen_ty_3::interfaces"]
4318 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_3, interfaces) - 0usize];
4319 ["Offset of field: _zend_class_entry__bindgen_ty_3::interface_names"]
4320 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_3, interface_names) - 0usize];
4321};
4322#[repr(C)]
4323#[derive(Copy, Clone)]
4324pub union _zend_class_entry__bindgen_ty_4 {
4325 pub user: _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
4326 pub internal: _zend_class_entry__bindgen_ty_4__bindgen_ty_2,
4327}
4328#[repr(C)]
4329#[derive(Debug, Copy, Clone)]
4330pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_1 {
4331 pub filename: *mut zend_string,
4332 pub line_start: u32,
4333 pub line_end: u32,
4334}
4335#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4336const _: () = {
4337 ["Size of _zend_class_entry__bindgen_ty_4__bindgen_ty_1"]
4338 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>() - 16usize];
4339 ["Alignment of _zend_class_entry__bindgen_ty_4__bindgen_ty_1"]
4340 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>() - 8usize];
4341 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::filename"]
4342 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1, filename) - 0usize];
4343 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::line_start"][::std::mem::offset_of!(
4344 _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
4345 line_start
4346 ) - 8usize];
4347 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::line_end"]
4348 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1, line_end) - 12usize];
4349};
4350#[repr(C)]
4351#[derive(Debug, Copy, Clone)]
4352pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_2 {
4353 pub builtin_functions: *const _zend_function_entry,
4354 pub module: *mut _zend_module_entry,
4355}
4356#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4357const _: () = {
4358 ["Size of _zend_class_entry__bindgen_ty_4__bindgen_ty_2"]
4359 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>() - 16usize];
4360 ["Alignment of _zend_class_entry__bindgen_ty_4__bindgen_ty_2"]
4361 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>() - 8usize];
4362 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_2::builtin_functions"][::std::mem::offset_of!(
4363 _zend_class_entry__bindgen_ty_4__bindgen_ty_2,
4364 builtin_functions
4365 )
4366 - 0usize];
4367 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_2::module"]
4368 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_2, module) - 8usize];
4369};
4370#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4371const _: () = {
4372 ["Size of _zend_class_entry__bindgen_ty_4"]
4373 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4>() - 16usize];
4374 ["Alignment of _zend_class_entry__bindgen_ty_4"]
4375 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4>() - 8usize];
4376 ["Offset of field: _zend_class_entry__bindgen_ty_4::user"]
4377 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4, user) - 0usize];
4378 ["Offset of field: _zend_class_entry__bindgen_ty_4::internal"]
4379 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4, internal) - 0usize];
4380};
4381#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4382const _: () = {
4383 ["Size of _zend_class_entry"][::std::mem::size_of::<_zend_class_entry>() - 520usize];
4384 ["Alignment of _zend_class_entry"][::std::mem::align_of::<_zend_class_entry>() - 8usize];
4385 ["Offset of field: _zend_class_entry::type_"]
4386 [::std::mem::offset_of!(_zend_class_entry, type_) - 0usize];
4387 ["Offset of field: _zend_class_entry::name"]
4388 [::std::mem::offset_of!(_zend_class_entry, name) - 8usize];
4389 ["Offset of field: _zend_class_entry::refcount"]
4390 [::std::mem::offset_of!(_zend_class_entry, refcount) - 24usize];
4391 ["Offset of field: _zend_class_entry::ce_flags"]
4392 [::std::mem::offset_of!(_zend_class_entry, ce_flags) - 28usize];
4393 ["Offset of field: _zend_class_entry::default_properties_count"]
4394 [::std::mem::offset_of!(_zend_class_entry, default_properties_count) - 32usize];
4395 ["Offset of field: _zend_class_entry::default_static_members_count"]
4396 [::std::mem::offset_of!(_zend_class_entry, default_static_members_count) - 36usize];
4397 ["Offset of field: _zend_class_entry::default_properties_table"]
4398 [::std::mem::offset_of!(_zend_class_entry, default_properties_table) - 40usize];
4399 ["Offset of field: _zend_class_entry::default_static_members_table"]
4400 [::std::mem::offset_of!(_zend_class_entry, default_static_members_table) - 48usize];
4401 ["Offset of field: _zend_class_entry::static_members_table__ptr"]
4402 [::std::mem::offset_of!(_zend_class_entry, static_members_table__ptr) - 56usize];
4403 ["Offset of field: _zend_class_entry::function_table"]
4404 [::std::mem::offset_of!(_zend_class_entry, function_table) - 64usize];
4405 ["Offset of field: _zend_class_entry::properties_info"]
4406 [::std::mem::offset_of!(_zend_class_entry, properties_info) - 120usize];
4407 ["Offset of field: _zend_class_entry::constants_table"]
4408 [::std::mem::offset_of!(_zend_class_entry, constants_table) - 176usize];
4409 ["Offset of field: _zend_class_entry::mutable_data__ptr"]
4410 [::std::mem::offset_of!(_zend_class_entry, mutable_data__ptr) - 232usize];
4411 ["Offset of field: _zend_class_entry::inheritance_cache"]
4412 [::std::mem::offset_of!(_zend_class_entry, inheritance_cache) - 240usize];
4413 ["Offset of field: _zend_class_entry::properties_info_table"]
4414 [::std::mem::offset_of!(_zend_class_entry, properties_info_table) - 248usize];
4415 ["Offset of field: _zend_class_entry::constructor"]
4416 [::std::mem::offset_of!(_zend_class_entry, constructor) - 256usize];
4417 ["Offset of field: _zend_class_entry::destructor"]
4418 [::std::mem::offset_of!(_zend_class_entry, destructor) - 264usize];
4419 ["Offset of field: _zend_class_entry::clone"]
4420 [::std::mem::offset_of!(_zend_class_entry, clone) - 272usize];
4421 ["Offset of field: _zend_class_entry::__get"]
4422 [::std::mem::offset_of!(_zend_class_entry, __get) - 280usize];
4423 ["Offset of field: _zend_class_entry::__set"]
4424 [::std::mem::offset_of!(_zend_class_entry, __set) - 288usize];
4425 ["Offset of field: _zend_class_entry::__unset"]
4426 [::std::mem::offset_of!(_zend_class_entry, __unset) - 296usize];
4427 ["Offset of field: _zend_class_entry::__isset"]
4428 [::std::mem::offset_of!(_zend_class_entry, __isset) - 304usize];
4429 ["Offset of field: _zend_class_entry::__call"]
4430 [::std::mem::offset_of!(_zend_class_entry, __call) - 312usize];
4431 ["Offset of field: _zend_class_entry::__callstatic"]
4432 [::std::mem::offset_of!(_zend_class_entry, __callstatic) - 320usize];
4433 ["Offset of field: _zend_class_entry::__tostring"]
4434 [::std::mem::offset_of!(_zend_class_entry, __tostring) - 328usize];
4435 ["Offset of field: _zend_class_entry::__debugInfo"]
4436 [::std::mem::offset_of!(_zend_class_entry, __debugInfo) - 336usize];
4437 ["Offset of field: _zend_class_entry::__serialize"]
4438 [::std::mem::offset_of!(_zend_class_entry, __serialize) - 344usize];
4439 ["Offset of field: _zend_class_entry::__unserialize"]
4440 [::std::mem::offset_of!(_zend_class_entry, __unserialize) - 352usize];
4441 ["Offset of field: _zend_class_entry::default_object_handlers"]
4442 [::std::mem::offset_of!(_zend_class_entry, default_object_handlers) - 360usize];
4443 ["Offset of field: _zend_class_entry::iterator_funcs_ptr"]
4444 [::std::mem::offset_of!(_zend_class_entry, iterator_funcs_ptr) - 368usize];
4445 ["Offset of field: _zend_class_entry::arrayaccess_funcs_ptr"]
4446 [::std::mem::offset_of!(_zend_class_entry, arrayaccess_funcs_ptr) - 376usize];
4447 ["Offset of field: _zend_class_entry::get_iterator"]
4448 [::std::mem::offset_of!(_zend_class_entry, get_iterator) - 392usize];
4449 ["Offset of field: _zend_class_entry::get_static_method"]
4450 [::std::mem::offset_of!(_zend_class_entry, get_static_method) - 400usize];
4451 ["Offset of field: _zend_class_entry::serialize"]
4452 [::std::mem::offset_of!(_zend_class_entry, serialize) - 408usize];
4453 ["Offset of field: _zend_class_entry::unserialize"]
4454 [::std::mem::offset_of!(_zend_class_entry, unserialize) - 416usize];
4455 ["Offset of field: _zend_class_entry::num_interfaces"]
4456 [::std::mem::offset_of!(_zend_class_entry, num_interfaces) - 424usize];
4457 ["Offset of field: _zend_class_entry::num_traits"]
4458 [::std::mem::offset_of!(_zend_class_entry, num_traits) - 428usize];
4459 ["Offset of field: _zend_class_entry::num_hooked_props"]
4460 [::std::mem::offset_of!(_zend_class_entry, num_hooked_props) - 432usize];
4461 ["Offset of field: _zend_class_entry::num_hooked_prop_variance_checks"]
4462 [::std::mem::offset_of!(_zend_class_entry, num_hooked_prop_variance_checks) - 436usize];
4463 ["Offset of field: _zend_class_entry::trait_names"]
4464 [::std::mem::offset_of!(_zend_class_entry, trait_names) - 448usize];
4465 ["Offset of field: _zend_class_entry::trait_aliases"]
4466 [::std::mem::offset_of!(_zend_class_entry, trait_aliases) - 456usize];
4467 ["Offset of field: _zend_class_entry::trait_precedences"]
4468 [::std::mem::offset_of!(_zend_class_entry, trait_precedences) - 464usize];
4469 ["Offset of field: _zend_class_entry::attributes"]
4470 [::std::mem::offset_of!(_zend_class_entry, attributes) - 472usize];
4471 ["Offset of field: _zend_class_entry::enum_backing_type"]
4472 [::std::mem::offset_of!(_zend_class_entry, enum_backing_type) - 480usize];
4473 ["Offset of field: _zend_class_entry::backed_enum_table"]
4474 [::std::mem::offset_of!(_zend_class_entry, backed_enum_table) - 488usize];
4475 ["Offset of field: _zend_class_entry::doc_comment"]
4476 [::std::mem::offset_of!(_zend_class_entry, doc_comment) - 496usize];
4477 ["Offset of field: _zend_class_entry::info"]
4478 [::std::mem::offset_of!(_zend_class_entry, info) - 504usize];
4479};
4480#[repr(C)]
4481#[repr(align(16))]
4482#[derive(Copy, Clone)]
4483pub union zend_random_bytes_insecure_state {
4484 pub align: zend_max_align_t,
4485 pub opaque: [u64; 5usize],
4486}
4487#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4488const _: () = {
4489 ["Size of zend_random_bytes_insecure_state"]
4490 [::std::mem::size_of::<zend_random_bytes_insecure_state>() - 48usize];
4491 ["Alignment of zend_random_bytes_insecure_state"]
4492 [::std::mem::align_of::<zend_random_bytes_insecure_state>() - 16usize];
4493 ["Offset of field: zend_random_bytes_insecure_state::align"]
4494 [::std::mem::offset_of!(zend_random_bytes_insecure_state, align) - 0usize];
4495 ["Offset of field: zend_random_bytes_insecure_state::opaque"]
4496 [::std::mem::offset_of!(zend_random_bytes_insecure_state, opaque) - 0usize];
4497};
4498#[repr(C)]
4499#[derive(Debug, Copy, Clone)]
4500pub struct _zend_utility_functions {
4501 pub error_function: ::std::option::Option<
4502 unsafe extern "C" fn(
4503 type_: ::std::os::raw::c_int,
4504 error_filename: *mut zend_string,
4505 error_lineno: u32,
4506 message: *mut zend_string,
4507 ),
4508 >,
4509 pub printf_function: ::std::option::Option<
4510 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
4511 >,
4512 pub write_function: ::std::option::Option<
4513 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
4514 >,
4515 pub fopen_function: ::std::option::Option<
4516 unsafe extern "C" fn(
4517 filename: *mut zend_string,
4518 opened_path: *mut *mut zend_string,
4519 ) -> *mut FILE,
4520 >,
4521 pub message_handler: ::std::option::Option<
4522 unsafe extern "C" fn(message: zend_long, data: *const ::std::os::raw::c_void),
4523 >,
4524 pub get_configuration_directive:
4525 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
4526 pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
4527 pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
4528 pub stream_open_function:
4529 ::std::option::Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>,
4530 pub printf_to_smart_string_function: ::std::option::Option<
4531 unsafe extern "C" fn(
4532 buf: *mut smart_string,
4533 format: *const ::std::os::raw::c_char,
4534 ap: *mut __va_list_tag,
4535 ),
4536 >,
4537 pub printf_to_smart_str_function: ::std::option::Option<
4538 unsafe extern "C" fn(
4539 buf: *mut smart_str,
4540 format: *const ::std::os::raw::c_char,
4541 ap: *mut __va_list_tag,
4542 ),
4543 >,
4544 pub getenv_function: ::std::option::Option<
4545 unsafe extern "C" fn(
4546 name: *const ::std::os::raw::c_char,
4547 name_len: usize,
4548 ) -> *mut ::std::os::raw::c_char,
4549 >,
4550 pub resolve_path_function:
4551 ::std::option::Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>,
4552 pub random_bytes_function: ::std::option::Option<
4553 unsafe extern "C" fn(
4554 bytes: *mut ::std::os::raw::c_void,
4555 size: usize,
4556 errstr: *mut ::std::os::raw::c_char,
4557 errstr_size: usize,
4558 ) -> zend_result,
4559 >,
4560 pub random_bytes_insecure_function: ::std::option::Option<
4561 unsafe extern "C" fn(
4562 state: *mut zend_random_bytes_insecure_state,
4563 bytes: *mut ::std::os::raw::c_void,
4564 size: usize,
4565 ),
4566 >,
4567}
4568#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4569const _: () = {
4570 ["Size of _zend_utility_functions"]
4571 [::std::mem::size_of::<_zend_utility_functions>() - 120usize];
4572 ["Alignment of _zend_utility_functions"]
4573 [::std::mem::align_of::<_zend_utility_functions>() - 8usize];
4574 ["Offset of field: _zend_utility_functions::error_function"]
4575 [::std::mem::offset_of!(_zend_utility_functions, error_function) - 0usize];
4576 ["Offset of field: _zend_utility_functions::printf_function"]
4577 [::std::mem::offset_of!(_zend_utility_functions, printf_function) - 8usize];
4578 ["Offset of field: _zend_utility_functions::write_function"]
4579 [::std::mem::offset_of!(_zend_utility_functions, write_function) - 16usize];
4580 ["Offset of field: _zend_utility_functions::fopen_function"]
4581 [::std::mem::offset_of!(_zend_utility_functions, fopen_function) - 24usize];
4582 ["Offset of field: _zend_utility_functions::message_handler"]
4583 [::std::mem::offset_of!(_zend_utility_functions, message_handler) - 32usize];
4584 ["Offset of field: _zend_utility_functions::get_configuration_directive"]
4585 [::std::mem::offset_of!(_zend_utility_functions, get_configuration_directive) - 40usize];
4586 ["Offset of field: _zend_utility_functions::ticks_function"]
4587 [::std::mem::offset_of!(_zend_utility_functions, ticks_function) - 48usize];
4588 ["Offset of field: _zend_utility_functions::on_timeout"]
4589 [::std::mem::offset_of!(_zend_utility_functions, on_timeout) - 56usize];
4590 ["Offset of field: _zend_utility_functions::stream_open_function"]
4591 [::std::mem::offset_of!(_zend_utility_functions, stream_open_function) - 64usize];
4592 ["Offset of field: _zend_utility_functions::printf_to_smart_string_function"][::std::mem::offset_of!(
4593 _zend_utility_functions,
4594 printf_to_smart_string_function
4595 ) - 72usize];
4596 ["Offset of field: _zend_utility_functions::printf_to_smart_str_function"]
4597 [::std::mem::offset_of!(_zend_utility_functions, printf_to_smart_str_function) - 80usize];
4598 ["Offset of field: _zend_utility_functions::getenv_function"]
4599 [::std::mem::offset_of!(_zend_utility_functions, getenv_function) - 88usize];
4600 ["Offset of field: _zend_utility_functions::resolve_path_function"]
4601 [::std::mem::offset_of!(_zend_utility_functions, resolve_path_function) - 96usize];
4602 ["Offset of field: _zend_utility_functions::random_bytes_function"]
4603 [::std::mem::offset_of!(_zend_utility_functions, random_bytes_function) - 104usize];
4604 ["Offset of field: _zend_utility_functions::random_bytes_insecure_function"][::std::mem::offset_of!(
4605 _zend_utility_functions,
4606 random_bytes_insecure_function
4607 ) - 112usize];
4608};
4609pub type zend_utility_functions = _zend_utility_functions;
4610#[repr(C)]
4611#[derive(Debug, Copy, Clone)]
4612pub struct _zend_utility_values {
4613 pub html_errors: bool,
4614}
4615#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4616const _: () = {
4617 ["Size of _zend_utility_values"][::std::mem::size_of::<_zend_utility_values>() - 1usize];
4618 ["Alignment of _zend_utility_values"][::std::mem::align_of::<_zend_utility_values>() - 1usize];
4619 ["Offset of field: _zend_utility_values::html_errors"]
4620 [::std::mem::offset_of!(_zend_utility_values, html_errors) - 0usize];
4621};
4622pub type zend_utility_values = _zend_utility_values;
4623pub type zend_write_func_t = ::std::option::Option<
4624 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
4625>;
4626extern "C" {
4627 pub fn zend_startup(utility_functions: *mut zend_utility_functions);
4628}
4629extern "C" {
4630 pub fn zend_shutdown();
4631}
4632extern "C" {
4633 pub fn zend_register_standard_ini_entries();
4634}
4635extern "C" {
4636 pub fn zend_post_startup() -> zend_result;
4637}
4638extern "C" {
4639 pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
4640}
4641extern "C" {
4642 pub fn zend_unload_modules();
4643}
4644extern "C" {
4645 pub fn _zend_bailout(filename: *const ::std::os::raw::c_char, lineno: u32) -> !;
4646}
4647extern "C" {
4648 pub fn zend_get_page_size() -> usize;
4649}
4650extern "C" {
4651 pub fn zend_vspprintf(
4652 pbuf: *mut *mut ::std::os::raw::c_char,
4653 max_len: usize,
4654 format: *const ::std::os::raw::c_char,
4655 ap: *mut __va_list_tag,
4656 ) -> usize;
4657}
4658extern "C" {
4659 pub fn zend_spprintf(
4660 message: *mut *mut ::std::os::raw::c_char,
4661 max_len: usize,
4662 format: *const ::std::os::raw::c_char,
4663 ...
4664 ) -> usize;
4665}
4666extern "C" {
4667 pub fn zend_vstrpprintf(
4668 max_len: usize,
4669 format: *const ::std::os::raw::c_char,
4670 ap: *mut __va_list_tag,
4671 ) -> *mut zend_string;
4672}
4673extern "C" {
4674 pub fn zend_strpprintf(
4675 max_len: usize,
4676 format: *const ::std::os::raw::c_char,
4677 ...
4678 ) -> *mut zend_string;
4679}
4680extern "C" {
4681 pub fn zend_spprintf_unchecked(
4682 message: *mut *mut ::std::os::raw::c_char,
4683 max_len: usize,
4684 format: *const ::std::os::raw::c_char,
4685 ...
4686 ) -> usize;
4687}
4688extern "C" {
4689 pub fn zend_strpprintf_unchecked(
4690 max_len: usize,
4691 format: *const ::std::os::raw::c_char,
4692 ...
4693 ) -> *mut zend_string;
4694}
4695extern "C" {
4696 pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval) -> bool;
4697}
4698extern "C" {
4699 pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> usize;
4700}
4701extern "C" {
4702 pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
4703}
4704extern "C" {
4705 pub fn zend_print_zval_r_to_str(
4706 expr: *mut zval,
4707 indent: ::std::os::raw::c_int,
4708 ) -> *mut zend_string;
4709}
4710extern "C" {
4711 pub fn zend_print_flat_zval_r(expr: *mut zval);
4712}
4713extern "C" {
4714 pub fn zend_print_flat_zval_r_to_buf(str_: *mut smart_str, expr: *mut zval);
4715}
4716extern "C" {
4717 pub fn zend_output_debug_string(
4718 trigger_break: bool,
4719 format: *const ::std::os::raw::c_char,
4720 ...
4721 );
4722}
4723extern "C" {
4724 pub fn zend_activate();
4725}
4726extern "C" {
4727 pub fn zend_deactivate();
4728}
4729extern "C" {
4730 pub fn zend_call_destructors();
4731}
4732extern "C" {
4733 pub fn zend_activate_modules();
4734}
4735extern "C" {
4736 pub fn zend_deactivate_modules();
4737}
4738extern "C" {
4739 pub fn zend_post_deactivate_modules();
4740}
4741extern "C" {
4742 pub static mut zend_printf: ::std::option::Option<
4743 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
4744 >;
4745}
4746extern "C" {
4747 pub static mut zend_write: zend_write_func_t;
4748}
4749extern "C" {
4750 pub static mut zend_fopen: ::std::option::Option<
4751 unsafe extern "C" fn(
4752 filename: *mut zend_string,
4753 opened_path: *mut *mut zend_string,
4754 ) -> *mut FILE,
4755 >;
4756}
4757extern "C" {
4758 pub static mut zend_ticks_function:
4759 ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
4760}
4761extern "C" {
4762 pub static mut zend_interrupt_function:
4763 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
4764}
4765extern "C" {
4766 pub static mut zend_error_cb: ::std::option::Option<
4767 unsafe extern "C" fn(
4768 type_: ::std::os::raw::c_int,
4769 error_filename: *mut zend_string,
4770 error_lineno: u32,
4771 message: *mut zend_string,
4772 ),
4773 >;
4774}
4775extern "C" {
4776 pub static mut zend_on_timeout:
4777 ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
4778}
4779extern "C" {
4780 pub static mut zend_stream_open_function:
4781 ::std::option::Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>;
4782}
4783extern "C" {
4784 pub static mut zend_printf_to_smart_string: ::std::option::Option<
4785 unsafe extern "C" fn(
4786 buf: *mut smart_string,
4787 format: *const ::std::os::raw::c_char,
4788 ap: *mut __va_list_tag,
4789 ),
4790 >;
4791}
4792extern "C" {
4793 pub static mut zend_printf_to_smart_str: ::std::option::Option<
4794 unsafe extern "C" fn(
4795 buf: *mut smart_str,
4796 format: *const ::std::os::raw::c_char,
4797 ap: *mut __va_list_tag,
4798 ),
4799 >;
4800}
4801extern "C" {
4802 pub static mut zend_getenv: ::std::option::Option<
4803 unsafe extern "C" fn(
4804 name: *const ::std::os::raw::c_char,
4805 name_len: usize,
4806 ) -> *mut ::std::os::raw::c_char,
4807 >;
4808}
4809extern "C" {
4810 pub static mut zend_resolve_path:
4811 ::std::option::Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>;
4812}
4813extern "C" {
4814 pub static mut zend_random_bytes: ::std::option::Option<
4815 unsafe extern "C" fn(
4816 bytes: *mut ::std::os::raw::c_void,
4817 size: usize,
4818 errstr: *mut ::std::os::raw::c_char,
4819 errstr_size: usize,
4820 ) -> zend_result,
4821 >;
4822}
4823extern "C" {
4824 pub static mut zend_random_bytes_insecure: ::std::option::Option<
4825 unsafe extern "C" fn(
4826 state: *mut zend_random_bytes_insecure_state,
4827 bytes: *mut ::std::os::raw::c_void,
4828 size: usize,
4829 ),
4830 >;
4831}
4832extern "C" {
4833 pub static mut zend_post_startup_cb:
4834 ::std::option::Option<unsafe extern "C" fn() -> zend_result>;
4835}
4836extern "C" {
4837 pub static mut zend_post_shutdown_cb: ::std::option::Option<unsafe extern "C" fn()>;
4838}
4839extern "C" {
4840 pub static mut zend_accel_schedule_restart_hook:
4841 ::std::option::Option<unsafe extern "C" fn(reason: ::std::os::raw::c_int)>;
4842}
4843extern "C" {
4844 pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
4845}
4846extern "C" {
4847 pub fn zend_error_noreturn(
4848 type_: ::std::os::raw::c_int,
4849 format: *const ::std::os::raw::c_char,
4850 ...
4851 ) -> !;
4852}
4853extern "C" {
4854 pub fn zend_error_noreturn_unchecked(
4855 type_: ::std::os::raw::c_int,
4856 format: *const ::std::os::raw::c_char,
4857 ...
4858 ) -> !;
4859}
4860extern "C" {
4861 pub fn zend_error_unchecked(
4862 type_: ::std::os::raw::c_int,
4863 format: *const ::std::os::raw::c_char,
4864 ...
4865 );
4866}
4867extern "C" {
4868 pub fn zend_error_at(
4869 type_: ::std::os::raw::c_int,
4870 filename: *mut zend_string,
4871 lineno: u32,
4872 format: *const ::std::os::raw::c_char,
4873 ...
4874 );
4875}
4876extern "C" {
4877 pub fn zend_error_at_noreturn(
4878 type_: ::std::os::raw::c_int,
4879 filename: *mut zend_string,
4880 lineno: u32,
4881 format: *const ::std::os::raw::c_char,
4882 ...
4883 ) -> !;
4884}
4885extern "C" {
4886 pub fn zend_error_zstr(type_: ::std::os::raw::c_int, message: *mut zend_string);
4887}
4888extern "C" {
4889 pub fn zend_error_zstr_at(
4890 type_: ::std::os::raw::c_int,
4891 filename: *mut zend_string,
4892 lineno: u32,
4893 message: *mut zend_string,
4894 );
4895}
4896extern "C" {
4897 pub fn zend_throw_error(
4898 exception_ce: *mut zend_class_entry,
4899 format: *const ::std::os::raw::c_char,
4900 ...
4901 );
4902}
4903extern "C" {
4904 pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
4905}
4906extern "C" {
4907 pub fn zend_argument_count_error(format: *const ::std::os::raw::c_char, ...);
4908}
4909extern "C" {
4910 pub fn zend_value_error(format: *const ::std::os::raw::c_char, ...);
4911}
4912extern "C" {
4913 pub fn zend_illegal_container_offset(
4914 container: *const zend_string,
4915 offset: *const zval,
4916 type_: ::std::os::raw::c_int,
4917 );
4918}
4919extern "C" {
4920 pub fn zenderror(error: *const ::std::os::raw::c_char);
4921}
4922extern "C" {
4923 pub fn zend_strerror_noreturn(
4924 type_: ::std::os::raw::c_int,
4925 errn: ::std::os::raw::c_int,
4926 message: *const ::std::os::raw::c_char,
4927 ) -> !;
4928}
4929extern "C" {
4930 pub static mut zend_standard_class_def: *mut zend_class_entry;
4931}
4932extern "C" {
4933 pub static mut zend_uv: zend_utility_values;
4934}
4935extern "C" {
4936 pub static mut zend_dtrace_enabled: bool;
4937}
4938extern "C" {
4939 pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
4940}
4941extern "C" {
4942 pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
4943}
4944pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
4945pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 1;
4946pub type zend_error_handling_t = ::std::os::raw::c_uint;
4947#[repr(C)]
4948#[derive(Debug, Copy, Clone)]
4949pub struct zend_error_handling {
4950 pub handling: zend_error_handling_t,
4951 pub exception: *mut zend_class_entry,
4952}
4953#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4954const _: () = {
4955 ["Size of zend_error_handling"][::std::mem::size_of::<zend_error_handling>() - 16usize];
4956 ["Alignment of zend_error_handling"][::std::mem::align_of::<zend_error_handling>() - 8usize];
4957 ["Offset of field: zend_error_handling::handling"]
4958 [::std::mem::offset_of!(zend_error_handling, handling) - 0usize];
4959 ["Offset of field: zend_error_handling::exception"]
4960 [::std::mem::offset_of!(zend_error_handling, exception) - 8usize];
4961};
4962extern "C" {
4963 pub fn zend_save_error_handling(current: *mut zend_error_handling);
4964}
4965extern "C" {
4966 pub fn zend_replace_error_handling(
4967 error_handling: zend_error_handling_t,
4968 exception_class: *mut zend_class_entry,
4969 current: *mut zend_error_handling,
4970 );
4971}
4972extern "C" {
4973 pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
4974}
4975extern "C" {
4976 pub fn zend_begin_record_errors();
4977}
4978extern "C" {
4979 pub fn zend_emit_recorded_errors();
4980}
4981extern "C" {
4982 pub fn zend_emit_recorded_errors_ex(num_errors: u32, errors: *mut *mut zend_error_info);
4983}
4984extern "C" {
4985 pub fn zend_free_recorded_errors();
4986}
4987pub const zend_property_hook_kind_ZEND_PROPERTY_HOOK_GET: zend_property_hook_kind = 0;
4988pub const zend_property_hook_kind_ZEND_PROPERTY_HOOK_SET: zend_property_hook_kind = 1;
4989pub type zend_property_hook_kind = ::std::os::raw::c_uint;
4990extern "C" {
4991 pub fn zend_hooked_object_get_iterator(
4992 ce: *mut zend_class_entry,
4993 object: *mut zval,
4994 by_ref: ::std::os::raw::c_int,
4995 ) -> *mut zend_object_iterator;
4996}
4997extern "C" {
4998 pub fn zend_hooked_object_build_properties(zobj: *mut zend_object) -> *mut zend_array;
4999}
5000pub type zend_lazy_object_flags_t = u8;
5001#[repr(C)]
5002#[derive(Copy, Clone)]
5003pub struct _zend_lazy_objects_store {
5004 pub infos: HashTable,
5005}
5006#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5007const _: () = {
5008 ["Size of _zend_lazy_objects_store"]
5009 [::std::mem::size_of::<_zend_lazy_objects_store>() - 56usize];
5010 ["Alignment of _zend_lazy_objects_store"]
5011 [::std::mem::align_of::<_zend_lazy_objects_store>() - 8usize];
5012 ["Offset of field: _zend_lazy_objects_store::infos"]
5013 [::std::mem::offset_of!(_zend_lazy_objects_store, infos) - 0usize];
5014};
5015pub type zend_lazy_objects_store = _zend_lazy_objects_store;
5016pub type zend_property_info = _zend_property_info;
5017pub type zend_fcall_info = _zend_fcall_info;
5018pub type zend_fcall_info_cache = _zend_fcall_info_cache;
5019extern "C" {
5020 pub fn zend_class_can_be_lazy(ce: *const zend_class_entry) -> bool;
5021}
5022extern "C" {
5023 pub fn zend_object_make_lazy(
5024 obj: *mut zend_object,
5025 class_type: *mut zend_class_entry,
5026 initializer_zv: *mut zval,
5027 initializer_fcc: *mut zend_fcall_info_cache,
5028 flags: zend_lazy_object_flags_t,
5029 ) -> *mut zend_object;
5030}
5031extern "C" {
5032 pub fn zend_lazy_object_init(obj: *mut zend_object) -> *mut zend_object;
5033}
5034extern "C" {
5035 pub fn zend_lazy_object_mark_as_initialized(obj: *mut zend_object) -> *mut zend_object;
5036}
5037extern "C" {
5038 pub fn zend_lazy_objects_init(store: *mut zend_lazy_objects_store);
5039}
5040extern "C" {
5041 pub fn zend_lazy_objects_destroy(store: *mut zend_lazy_objects_store);
5042}
5043extern "C" {
5044 pub fn zend_lazy_object_get_initializer_zv(obj: *mut zend_object) -> *mut zval;
5045}
5046extern "C" {
5047 pub fn zend_lazy_object_get_instance(obj: *mut zend_object) -> *mut zend_object;
5048}
5049extern "C" {
5050 pub fn zend_lazy_object_get_flags(obj: *const zend_object) -> zend_lazy_object_flags_t;
5051}
5052extern "C" {
5053 pub fn zend_lazy_object_del_info(obj: *const zend_object);
5054}
5055extern "C" {
5056 pub fn zend_lazy_object_get_properties(object: *mut zend_object) -> *mut HashTable;
5057}
5058extern "C" {
5059 pub fn zend_lazy_object_clone(old_obj: *mut zend_object) -> *mut zend_object;
5060}
5061extern "C" {
5062 pub fn zend_lazy_object_debug_info(
5063 object: *mut zend_object,
5064 is_temp: *mut ::std::os::raw::c_int,
5065 ) -> *mut HashTable;
5066}
5067extern "C" {
5068 pub fn zend_lazy_object_get_gc(
5069 zobj: *mut zend_object,
5070 table: *mut *mut zval,
5071 n: *mut ::std::os::raw::c_int,
5072 ) -> *mut HashTable;
5073}
5074extern "C" {
5075 pub fn zend_lazy_object_decr_lazy_props(obj: *const zend_object) -> bool;
5076}
5077extern "C" {
5078 pub fn zend_lazy_object_realize(obj: *mut zend_object);
5079}
5080extern "C" {
5081 pub fn zend_lazy_object_get_property_info_for_slot(
5082 obj: *mut zend_object,
5083 slot: *mut zval,
5084 ) -> *mut zend_property_info;
5085}
5086pub type zend_object_read_property_t = ::std::option::Option<
5087 unsafe extern "C" fn(
5088 object: *mut zend_object,
5089 member: *mut zend_string,
5090 type_: ::std::os::raw::c_int,
5091 cache_slot: *mut *mut ::std::os::raw::c_void,
5092 rv: *mut zval,
5093 ) -> *mut zval,
5094>;
5095pub type zend_object_read_dimension_t = ::std::option::Option<
5096 unsafe extern "C" fn(
5097 object: *mut zend_object,
5098 offset: *mut zval,
5099 type_: ::std::os::raw::c_int,
5100 rv: *mut zval,
5101 ) -> *mut zval,
5102>;
5103pub type zend_object_write_property_t = ::std::option::Option<
5104 unsafe extern "C" fn(
5105 object: *mut zend_object,
5106 member: *mut zend_string,
5107 value: *mut zval,
5108 cache_slot: *mut *mut ::std::os::raw::c_void,
5109 ) -> *mut zval,
5110>;
5111pub type zend_object_write_dimension_t = ::std::option::Option<
5112 unsafe extern "C" fn(object: *mut zend_object, offset: *mut zval, value: *mut zval),
5113>;
5114pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
5115 unsafe extern "C" fn(
5116 object: *mut zend_object,
5117 member: *mut zend_string,
5118 type_: ::std::os::raw::c_int,
5119 cache_slot: *mut *mut ::std::os::raw::c_void,
5120 ) -> *mut zval,
5121>;
5122pub type zend_object_has_property_t = ::std::option::Option<
5123 unsafe extern "C" fn(
5124 object: *mut zend_object,
5125 member: *mut zend_string,
5126 has_set_exists: ::std::os::raw::c_int,
5127 cache_slot: *mut *mut ::std::os::raw::c_void,
5128 ) -> ::std::os::raw::c_int,
5129>;
5130pub type zend_object_has_dimension_t = ::std::option::Option<
5131 unsafe extern "C" fn(
5132 object: *mut zend_object,
5133 member: *mut zval,
5134 check_empty: ::std::os::raw::c_int,
5135 ) -> ::std::os::raw::c_int,
5136>;
5137pub type zend_object_unset_property_t = ::std::option::Option<
5138 unsafe extern "C" fn(
5139 object: *mut zend_object,
5140 member: *mut zend_string,
5141 cache_slot: *mut *mut ::std::os::raw::c_void,
5142 ),
5143>;
5144pub type zend_object_unset_dimension_t =
5145 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object, offset: *mut zval)>;
5146pub type zend_object_get_properties_t =
5147 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut HashTable>;
5148pub type zend_object_get_debug_info_t = ::std::option::Option<
5149 unsafe extern "C" fn(
5150 object: *mut zend_object,
5151 is_temp: *mut ::std::os::raw::c_int,
5152 ) -> *mut HashTable,
5153>;
5154pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_DEBUG: _zend_prop_purpose = 0;
5155pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_ARRAY_CAST: _zend_prop_purpose = 1;
5156pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_SERIALIZE: _zend_prop_purpose = 2;
5157pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_VAR_EXPORT: _zend_prop_purpose = 3;
5158pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_JSON: _zend_prop_purpose = 4;
5159pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_GET_OBJECT_VARS: _zend_prop_purpose = 5;
5160pub const _zend_prop_purpose__ZEND_PROP_PURPOSE_NON_EXHAUSTIVE_ENUM: _zend_prop_purpose = 6;
5161pub type _zend_prop_purpose = ::std::os::raw::c_uint;
5162pub use self::_zend_prop_purpose as zend_prop_purpose;
5163pub type zend_object_get_properties_for_t = ::std::option::Option<
5164 unsafe extern "C" fn(object: *mut zend_object, purpose: zend_prop_purpose) -> *mut zend_array,
5165>;
5166pub type zend_object_get_method_t = ::std::option::Option<
5167 unsafe extern "C" fn(
5168 object: *mut *mut zend_object,
5169 method: *mut zend_string,
5170 key: *const zval,
5171 ) -> *mut zend_function,
5172>;
5173pub type zend_object_get_constructor_t =
5174 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_function>;
5175pub type zend_object_free_obj_t =
5176 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
5177pub type zend_object_dtor_obj_t =
5178 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
5179pub type zend_object_clone_obj_t =
5180 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_object>;
5181pub type zend_object_clone_obj_with_t = ::std::option::Option<
5182 unsafe extern "C" fn(
5183 object: *mut zend_object,
5184 scope: *const zend_class_entry,
5185 properties: *const HashTable,
5186 ) -> *mut zend_object,
5187>;
5188pub type zend_object_get_class_name_t =
5189 ::std::option::Option<unsafe extern "C" fn(object: *const zend_object) -> *mut zend_string>;
5190pub type zend_object_compare_t = ::std::option::Option<
5191 unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
5192>;
5193pub type zend_object_cast_t = ::std::option::Option<
5194 unsafe extern "C" fn(
5195 readobj: *mut zend_object,
5196 retval: *mut zval,
5197 type_: ::std::os::raw::c_int,
5198 ) -> zend_result,
5199>;
5200pub type zend_object_count_elements_t = ::std::option::Option<
5201 unsafe extern "C" fn(object: *mut zend_object, count: *mut zend_long) -> zend_result,
5202>;
5203pub type zend_object_get_closure_t = ::std::option::Option<
5204 unsafe extern "C" fn(
5205 obj: *mut zend_object,
5206 ce_ptr: *mut *mut zend_class_entry,
5207 fptr_ptr: *mut *mut zend_function,
5208 obj_ptr: *mut *mut zend_object,
5209 check_only: bool,
5210 ) -> zend_result,
5211>;
5212pub type zend_object_get_gc_t = ::std::option::Option<
5213 unsafe extern "C" fn(
5214 object: *mut zend_object,
5215 table: *mut *mut zval,
5216 n: *mut ::std::os::raw::c_int,
5217 ) -> *mut HashTable,
5218>;
5219pub type zend_object_do_operation_t = ::std::option::Option<
5220 unsafe extern "C" fn(
5221 opcode: u8,
5222 result: *mut zval,
5223 op1: *mut zval,
5224 op2: *mut zval,
5225 ) -> zend_result,
5226>;
5227#[repr(C)]
5228#[derive(Debug, Copy, Clone)]
5229pub struct _zend_object_handlers {
5230 pub offset: ::std::os::raw::c_int,
5231 pub free_obj: zend_object_free_obj_t,
5232 pub dtor_obj: zend_object_dtor_obj_t,
5233 pub clone_obj: zend_object_clone_obj_t,
5234 pub clone_obj_with: zend_object_clone_obj_with_t,
5235 pub read_property: zend_object_read_property_t,
5236 pub write_property: zend_object_write_property_t,
5237 pub read_dimension: zend_object_read_dimension_t,
5238 pub write_dimension: zend_object_write_dimension_t,
5239 pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
5240 pub has_property: zend_object_has_property_t,
5241 pub unset_property: zend_object_unset_property_t,
5242 pub has_dimension: zend_object_has_dimension_t,
5243 pub unset_dimension: zend_object_unset_dimension_t,
5244 pub get_properties: zend_object_get_properties_t,
5245 pub get_method: zend_object_get_method_t,
5246 pub get_constructor: zend_object_get_constructor_t,
5247 pub get_class_name: zend_object_get_class_name_t,
5248 pub cast_object: zend_object_cast_t,
5249 pub count_elements: zend_object_count_elements_t,
5250 pub get_debug_info: zend_object_get_debug_info_t,
5251 pub get_closure: zend_object_get_closure_t,
5252 pub get_gc: zend_object_get_gc_t,
5253 pub do_operation: zend_object_do_operation_t,
5254 pub compare: zend_object_compare_t,
5255 pub get_properties_for: zend_object_get_properties_for_t,
5256}
5257#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5258const _: () = {
5259 ["Size of _zend_object_handlers"][::std::mem::size_of::<_zend_object_handlers>() - 208usize];
5260 ["Alignment of _zend_object_handlers"]
5261 [::std::mem::align_of::<_zend_object_handlers>() - 8usize];
5262 ["Offset of field: _zend_object_handlers::offset"]
5263 [::std::mem::offset_of!(_zend_object_handlers, offset) - 0usize];
5264 ["Offset of field: _zend_object_handlers::free_obj"]
5265 [::std::mem::offset_of!(_zend_object_handlers, free_obj) - 8usize];
5266 ["Offset of field: _zend_object_handlers::dtor_obj"]
5267 [::std::mem::offset_of!(_zend_object_handlers, dtor_obj) - 16usize];
5268 ["Offset of field: _zend_object_handlers::clone_obj"]
5269 [::std::mem::offset_of!(_zend_object_handlers, clone_obj) - 24usize];
5270 ["Offset of field: _zend_object_handlers::clone_obj_with"]
5271 [::std::mem::offset_of!(_zend_object_handlers, clone_obj_with) - 32usize];
5272 ["Offset of field: _zend_object_handlers::read_property"]
5273 [::std::mem::offset_of!(_zend_object_handlers, read_property) - 40usize];
5274 ["Offset of field: _zend_object_handlers::write_property"]
5275 [::std::mem::offset_of!(_zend_object_handlers, write_property) - 48usize];
5276 ["Offset of field: _zend_object_handlers::read_dimension"]
5277 [::std::mem::offset_of!(_zend_object_handlers, read_dimension) - 56usize];
5278 ["Offset of field: _zend_object_handlers::write_dimension"]
5279 [::std::mem::offset_of!(_zend_object_handlers, write_dimension) - 64usize];
5280 ["Offset of field: _zend_object_handlers::get_property_ptr_ptr"]
5281 [::std::mem::offset_of!(_zend_object_handlers, get_property_ptr_ptr) - 72usize];
5282 ["Offset of field: _zend_object_handlers::has_property"]
5283 [::std::mem::offset_of!(_zend_object_handlers, has_property) - 80usize];
5284 ["Offset of field: _zend_object_handlers::unset_property"]
5285 [::std::mem::offset_of!(_zend_object_handlers, unset_property) - 88usize];
5286 ["Offset of field: _zend_object_handlers::has_dimension"]
5287 [::std::mem::offset_of!(_zend_object_handlers, has_dimension) - 96usize];
5288 ["Offset of field: _zend_object_handlers::unset_dimension"]
5289 [::std::mem::offset_of!(_zend_object_handlers, unset_dimension) - 104usize];
5290 ["Offset of field: _zend_object_handlers::get_properties"]
5291 [::std::mem::offset_of!(_zend_object_handlers, get_properties) - 112usize];
5292 ["Offset of field: _zend_object_handlers::get_method"]
5293 [::std::mem::offset_of!(_zend_object_handlers, get_method) - 120usize];
5294 ["Offset of field: _zend_object_handlers::get_constructor"]
5295 [::std::mem::offset_of!(_zend_object_handlers, get_constructor) - 128usize];
5296 ["Offset of field: _zend_object_handlers::get_class_name"]
5297 [::std::mem::offset_of!(_zend_object_handlers, get_class_name) - 136usize];
5298 ["Offset of field: _zend_object_handlers::cast_object"]
5299 [::std::mem::offset_of!(_zend_object_handlers, cast_object) - 144usize];
5300 ["Offset of field: _zend_object_handlers::count_elements"]
5301 [::std::mem::offset_of!(_zend_object_handlers, count_elements) - 152usize];
5302 ["Offset of field: _zend_object_handlers::get_debug_info"]
5303 [::std::mem::offset_of!(_zend_object_handlers, get_debug_info) - 160usize];
5304 ["Offset of field: _zend_object_handlers::get_closure"]
5305 [::std::mem::offset_of!(_zend_object_handlers, get_closure) - 168usize];
5306 ["Offset of field: _zend_object_handlers::get_gc"]
5307 [::std::mem::offset_of!(_zend_object_handlers, get_gc) - 176usize];
5308 ["Offset of field: _zend_object_handlers::do_operation"]
5309 [::std::mem::offset_of!(_zend_object_handlers, do_operation) - 184usize];
5310 ["Offset of field: _zend_object_handlers::compare"]
5311 [::std::mem::offset_of!(_zend_object_handlers, compare) - 192usize];
5312 ["Offset of field: _zend_object_handlers::get_properties_for"]
5313 [::std::mem::offset_of!(_zend_object_handlers, get_properties_for) - 200usize];
5314};
5315extern "C" {
5316 pub static std_object_handlers: zend_object_handlers;
5317}
5318extern "C" {
5319 pub fn zend_class_init_statics(ce: *mut zend_class_entry);
5320}
5321extern "C" {
5322 pub fn zend_std_get_static_method(
5323 ce: *mut zend_class_entry,
5324 function_name_strval: *mut zend_string,
5325 key: *const zval,
5326 ) -> *mut zend_function;
5327}
5328extern "C" {
5329 pub fn zend_std_get_static_property_with_info(
5330 ce: *mut zend_class_entry,
5331 property_name: *mut zend_string,
5332 type_: ::std::os::raw::c_int,
5333 prop_info: *mut *mut _zend_property_info,
5334 ) -> *mut zval;
5335}
5336extern "C" {
5337 pub fn zend_std_get_static_property(
5338 ce: *mut zend_class_entry,
5339 property_name: *mut zend_string,
5340 type_: ::std::os::raw::c_int,
5341 ) -> *mut zval;
5342}
5343extern "C" {
5344 pub fn zend_std_unset_static_property(
5345 ce: *const zend_class_entry,
5346 property_name: *const zend_string,
5347 ) -> bool;
5348}
5349extern "C" {
5350 pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut zend_function;
5351}
5352extern "C" {
5353 pub fn zend_get_property_info(
5354 ce: *const zend_class_entry,
5355 member: *mut zend_string,
5356 silent: ::std::os::raw::c_int,
5357 ) -> *mut _zend_property_info;
5358}
5359extern "C" {
5360 pub fn zend_std_get_properties(object: *mut zend_object) -> *mut HashTable;
5361}
5362extern "C" {
5363 pub fn zend_get_properties_no_lazy_init(zobj: *mut zend_object) -> *mut HashTable;
5364}
5365extern "C" {
5366 pub fn zend_std_get_gc(
5367 object: *mut zend_object,
5368 table: *mut *mut zval,
5369 n: *mut ::std::os::raw::c_int,
5370 ) -> *mut HashTable;
5371}
5372extern "C" {
5373 pub fn zend_std_get_debug_info(
5374 object: *mut zend_object,
5375 is_temp: *mut ::std::os::raw::c_int,
5376 ) -> *mut HashTable;
5377}
5378extern "C" {
5379 pub fn zend_std_cast_object_tostring(
5380 object: *mut zend_object,
5381 writeobj: *mut zval,
5382 type_: ::std::os::raw::c_int,
5383 ) -> zend_result;
5384}
5385extern "C" {
5386 pub fn zend_std_get_property_ptr_ptr(
5387 object: *mut zend_object,
5388 member: *mut zend_string,
5389 type_: ::std::os::raw::c_int,
5390 cache_slot: *mut *mut ::std::os::raw::c_void,
5391 ) -> *mut zval;
5392}
5393extern "C" {
5394 pub fn zend_std_read_property(
5395 object: *mut zend_object,
5396 member: *mut zend_string,
5397 type_: ::std::os::raw::c_int,
5398 cache_slot: *mut *mut ::std::os::raw::c_void,
5399 rv: *mut zval,
5400 ) -> *mut zval;
5401}
5402extern "C" {
5403 pub fn zend_std_write_property(
5404 object: *mut zend_object,
5405 member: *mut zend_string,
5406 value: *mut zval,
5407 cache_slot: *mut *mut ::std::os::raw::c_void,
5408 ) -> *mut zval;
5409}
5410extern "C" {
5411 pub fn zend_std_has_property(
5412 object: *mut zend_object,
5413 member: *mut zend_string,
5414 has_set_exists: ::std::os::raw::c_int,
5415 cache_slot: *mut *mut ::std::os::raw::c_void,
5416 ) -> ::std::os::raw::c_int;
5417}
5418extern "C" {
5419 pub fn zend_std_unset_property(
5420 object: *mut zend_object,
5421 member: *mut zend_string,
5422 cache_slot: *mut *mut ::std::os::raw::c_void,
5423 );
5424}
5425extern "C" {
5426 pub fn zend_std_read_dimension(
5427 object: *mut zend_object,
5428 offset: *mut zval,
5429 type_: ::std::os::raw::c_int,
5430 rv: *mut zval,
5431 ) -> *mut zval;
5432}
5433extern "C" {
5434 pub fn zend_std_write_dimension(object: *mut zend_object, offset: *mut zval, value: *mut zval);
5435}
5436extern "C" {
5437 pub fn zend_std_has_dimension(
5438 object: *mut zend_object,
5439 offset: *mut zval,
5440 check_empty: ::std::os::raw::c_int,
5441 ) -> ::std::os::raw::c_int;
5442}
5443extern "C" {
5444 pub fn zend_std_unset_dimension(object: *mut zend_object, offset: *mut zval);
5445}
5446extern "C" {
5447 pub fn zend_std_get_method(
5448 obj_ptr: *mut *mut zend_object,
5449 method_name: *mut zend_string,
5450 key: *const zval,
5451 ) -> *mut zend_function;
5452}
5453extern "C" {
5454 pub fn zend_std_get_class_name(zobj: *const zend_object) -> *mut zend_string;
5455}
5456extern "C" {
5457 pub fn zend_std_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
5458}
5459extern "C" {
5460 pub fn zend_std_get_closure(
5461 obj: *mut zend_object,
5462 ce_ptr: *mut *mut zend_class_entry,
5463 fptr_ptr: *mut *mut zend_function,
5464 obj_ptr: *mut *mut zend_object,
5465 check_only: bool,
5466 ) -> zend_result;
5467}
5468extern "C" {
5469 pub fn zend_bad_method_call(
5470 fbc: *const zend_function,
5471 method_name: *const zend_string,
5472 scope: *const zend_class_entry,
5473 );
5474}
5475extern "C" {
5476 pub fn zend_abstract_method_call(fbc: *const zend_function);
5477}
5478extern "C" {
5479 pub fn zend_std_build_object_properties_array(zobj: *mut zend_object) -> *mut HashTable;
5480}
5481extern "C" {
5482 pub fn zend_objects_not_comparable(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
5483}
5484extern "C" {
5485 pub fn zend_check_protected(
5486 ce: *const zend_class_entry,
5487 scope: *const zend_class_entry,
5488 ) -> bool;
5489}
5490extern "C" {
5491 pub fn zend_check_property_access(
5492 zobj: *const zend_object,
5493 prop_info_name: *mut zend_string,
5494 is_dynamic: bool,
5495 ) -> zend_result;
5496}
5497extern "C" {
5498 pub fn zend_get_call_trampoline_func(
5499 ce: *const zend_class_entry,
5500 method_name: *mut zend_string,
5501 is_static: bool,
5502 ) -> *mut zend_function;
5503}
5504extern "C" {
5505 pub fn zend_get_property_guard(zobj: *mut zend_object, member: *mut zend_string) -> *mut u32;
5506}
5507extern "C" {
5508 pub fn zend_get_recursion_guard(zobj: *mut zend_object) -> *mut u32;
5509}
5510extern "C" {
5511 pub fn zend_std_get_properties_for(
5512 obj: *mut zend_object,
5513 purpose: zend_prop_purpose,
5514 ) -> *mut HashTable;
5515}
5516extern "C" {
5517 pub fn zend_get_properties_for(obj: *mut zval, purpose: zend_prop_purpose) -> *mut HashTable;
5518}
5519extern "C" {
5520 pub fn zend_get_property_hook_trampoline(
5521 prop_info: *const zend_property_info,
5522 kind: zend_property_hook_kind,
5523 prop_name: *mut zend_string,
5524 ) -> *mut zend_function;
5525}
5526extern "C" {
5527 pub fn zend_asymmetric_property_has_set_access(prop_info: *const zend_property_info) -> bool;
5528}
5529#[repr(C)]
5530#[derive(Debug, Copy, Clone)]
5531pub struct _zend_strtod_bigint {
5532 _unused: [u8; 0],
5533}
5534pub type zend_strtod_bigint = _zend_strtod_bigint;
5535#[repr(C)]
5536#[derive(Debug, Copy, Clone)]
5537pub struct _zend_strtod_state {
5538 pub freelist: [*mut zend_strtod_bigint; 8usize],
5539 pub p5s: *mut zend_strtod_bigint,
5540 pub result: *mut ::std::os::raw::c_char,
5541}
5542#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5543const _: () = {
5544 ["Size of _zend_strtod_state"][::std::mem::size_of::<_zend_strtod_state>() - 80usize];
5545 ["Alignment of _zend_strtod_state"][::std::mem::align_of::<_zend_strtod_state>() - 8usize];
5546 ["Offset of field: _zend_strtod_state::freelist"]
5547 [::std::mem::offset_of!(_zend_strtod_state, freelist) - 0usize];
5548 ["Offset of field: _zend_strtod_state::p5s"]
5549 [::std::mem::offset_of!(_zend_strtod_state, p5s) - 64usize];
5550 ["Offset of field: _zend_strtod_state::result"]
5551 [::std::mem::offset_of!(_zend_strtod_state, result) - 72usize];
5552};
5553pub type zend_strtod_state = _zend_strtod_state;
5554extern "C" {
5555 pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
5556}
5557extern "C" {
5558 pub fn zend_dtoa(
5559 _d: f64,
5560 mode: ::std::os::raw::c_int,
5561 ndigits: ::std::os::raw::c_int,
5562 decpt: *mut ::std::os::raw::c_int,
5563 sign: *mut bool,
5564 rve: *mut *mut ::std::os::raw::c_char,
5565 ) -> *mut ::std::os::raw::c_char;
5566}
5567extern "C" {
5568 pub fn zend_gcvt(
5569 value: f64,
5570 ndigit: ::std::os::raw::c_int,
5571 dec_point: ::std::os::raw::c_char,
5572 exponent: ::std::os::raw::c_char,
5573 buf: *mut ::std::os::raw::c_char,
5574 ) -> *mut ::std::os::raw::c_char;
5575}
5576extern "C" {
5577 pub fn zend_strtod(
5578 s00: *const ::std::os::raw::c_char,
5579 se: *mut *const ::std::os::raw::c_char,
5580 ) -> f64;
5581}
5582extern "C" {
5583 pub fn zend_hex_strtod(
5584 str_: *const ::std::os::raw::c_char,
5585 endptr: *mut *const ::std::os::raw::c_char,
5586 ) -> f64;
5587}
5588extern "C" {
5589 pub fn zend_oct_strtod(
5590 str_: *const ::std::os::raw::c_char,
5591 endptr: *mut *const ::std::os::raw::c_char,
5592 ) -> f64;
5593}
5594extern "C" {
5595 pub fn zend_bin_strtod(
5596 str_: *const ::std::os::raw::c_char,
5597 endptr: *mut *const ::std::os::raw::c_char,
5598 ) -> f64;
5599}
5600extern "C" {
5601 pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
5602}
5603extern "C" {
5604 pub fn zend_is_identical(op1: *const zval, op2: *const zval) -> bool;
5605}
5606extern "C" {
5607 pub fn zend_class_implements_interface(
5608 class_ce: *const zend_class_entry,
5609 interface_ce: *const zend_class_entry,
5610 ) -> bool;
5611}
5612extern "C" {
5613 pub fn zend_string_only_has_ascii_alphanumeric(str_: *const zend_string) -> bool;
5614}
5615extern "C" {
5616 pub fn zend_memnstr_ex(
5617 haystack: *const ::std::os::raw::c_char,
5618 needle: *const ::std::os::raw::c_char,
5619 needle_len: usize,
5620 end: *const ::std::os::raw::c_char,
5621 ) -> *const ::std::os::raw::c_char;
5622}
5623extern "C" {
5624 pub fn zend_memnrstr_ex(
5625 haystack: *const ::std::os::raw::c_char,
5626 needle: *const ::std::os::raw::c_char,
5627 needle_len: usize,
5628 end: *const ::std::os::raw::c_char,
5629 ) -> *const ::std::os::raw::c_char;
5630}
5631extern "C" {
5632 pub fn zend_incompatible_double_to_long_error(d: f64);
5633}
5634extern "C" {
5635 pub fn zend_incompatible_string_to_long_error(s: *const zend_string);
5636}
5637extern "C" {
5638 pub fn zend_oob_double_to_long_error(d: f64);
5639}
5640extern "C" {
5641 pub fn zend_oob_string_to_long_error(s: *const zend_string);
5642}
5643extern "C" {
5644 pub fn zend_nan_coerced_to_type_warning(type_: u8);
5645}
5646extern "C" {
5647 pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
5648}
5649extern "C" {
5650 pub fn zend_is_true(op: *const zval) -> bool;
5651}
5652extern "C" {
5653 pub fn zend_object_is_true(op: *const zval) -> bool;
5654}
5655extern "C" {
5656 pub fn zend_compare(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
5657}
5658extern "C" {
5659 pub static zend_tolower_map: [::std::os::raw::c_uchar; 256usize];
5660}
5661extern "C" {
5662 pub static zend_toupper_map: [::std::os::raw::c_uchar; 256usize];
5663}
5664extern "C" {
5665 pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: usize);
5666}
5667extern "C" {
5668 pub fn zend_str_toupper(str_: *mut ::std::os::raw::c_char, length: usize);
5669}
5670extern "C" {
5671 pub fn zend_str_tolower_copy(
5672 dest: *mut ::std::os::raw::c_char,
5673 source: *const ::std::os::raw::c_char,
5674 length: usize,
5675 ) -> *mut ::std::os::raw::c_char;
5676}
5677extern "C" {
5678 pub fn zend_str_toupper_copy(
5679 dest: *mut ::std::os::raw::c_char,
5680 source: *const ::std::os::raw::c_char,
5681 length: usize,
5682 ) -> *mut ::std::os::raw::c_char;
5683}
5684extern "C" {
5685 pub fn zend_str_tolower_dup(
5686 source: *const ::std::os::raw::c_char,
5687 length: usize,
5688 ) -> *mut ::std::os::raw::c_char;
5689}
5690extern "C" {
5691 pub fn zend_str_toupper_dup(
5692 source: *const ::std::os::raw::c_char,
5693 length: usize,
5694 ) -> *mut ::std::os::raw::c_char;
5695}
5696extern "C" {
5697 pub fn zend_str_tolower_dup_ex(
5698 source: *const ::std::os::raw::c_char,
5699 length: usize,
5700 ) -> *mut ::std::os::raw::c_char;
5701}
5702extern "C" {
5703 pub fn zend_str_toupper_dup_ex(
5704 source: *const ::std::os::raw::c_char,
5705 length: usize,
5706 ) -> *mut ::std::os::raw::c_char;
5707}
5708extern "C" {
5709 pub fn zend_string_tolower_ex(str_: *mut zend_string, persistent: bool) -> *mut zend_string;
5710}
5711extern "C" {
5712 pub fn zend_string_toupper_ex(str_: *mut zend_string, persistent: bool) -> *mut zend_string;
5713}
5714extern "C" {
5715 pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
5716}
5717extern "C" {
5718 pub fn zend_binary_zval_strncmp(
5719 s1: *mut zval,
5720 s2: *mut zval,
5721 s3: *mut zval,
5722 ) -> ::std::os::raw::c_int;
5723}
5724extern "C" {
5725 pub fn zend_binary_strcmp(
5726 s1: *const ::std::os::raw::c_char,
5727 len1: usize,
5728 s2: *const ::std::os::raw::c_char,
5729 len2: usize,
5730 ) -> ::std::os::raw::c_int;
5731}
5732extern "C" {
5733 pub fn zend_binary_strncmp(
5734 s1: *const ::std::os::raw::c_char,
5735 len1: usize,
5736 s2: *const ::std::os::raw::c_char,
5737 len2: usize,
5738 length: usize,
5739 ) -> ::std::os::raw::c_int;
5740}
5741extern "C" {
5742 pub fn zend_binary_strcasecmp(
5743 s1: *const ::std::os::raw::c_char,
5744 len1: usize,
5745 s2: *const ::std::os::raw::c_char,
5746 len2: usize,
5747 ) -> ::std::os::raw::c_int;
5748}
5749extern "C" {
5750 pub fn zend_binary_strncasecmp(
5751 s1: *const ::std::os::raw::c_char,
5752 len1: usize,
5753 s2: *const ::std::os::raw::c_char,
5754 len2: usize,
5755 length: usize,
5756 ) -> ::std::os::raw::c_int;
5757}
5758extern "C" {
5759 pub fn zend_binary_strcasecmp_l(
5760 s1: *const ::std::os::raw::c_char,
5761 len1: usize,
5762 s2: *const ::std::os::raw::c_char,
5763 len2: usize,
5764 ) -> ::std::os::raw::c_int;
5765}
5766extern "C" {
5767 pub fn zend_binary_strncasecmp_l(
5768 s1: *const ::std::os::raw::c_char,
5769 len1: usize,
5770 s2: *const ::std::os::raw::c_char,
5771 len2: usize,
5772 length: usize,
5773 ) -> ::std::os::raw::c_int;
5774}
5775extern "C" {
5776 pub fn zendi_smart_streq(s1: *mut zend_string, s2: *mut zend_string) -> bool;
5777}
5778extern "C" {
5779 pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> ::std::os::raw::c_int;
5780}
5781extern "C" {
5782 pub fn zend_compare_symbol_tables(
5783 ht1: *mut HashTable,
5784 ht2: *mut HashTable,
5785 ) -> ::std::os::raw::c_int;
5786}
5787extern "C" {
5788 pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
5789}
5790extern "C" {
5791 pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
5792}
5793extern "C" {
5794 #[doc = " Deprecated in favor of ZEND_STRTOL()"]
5795 pub fn zend_atoi(str_: *const ::std::os::raw::c_char, str_len: usize) -> ::std::os::raw::c_int;
5796}
5797extern "C" {
5798 #[doc = " Deprecated in favor of ZEND_STRTOL()"]
5799 pub fn zend_atol(str_: *const ::std::os::raw::c_char, str_len: usize) -> zend_long;
5800}
5801extern "C" {
5802 pub fn zend_update_current_locale();
5803}
5804extern "C" {
5805 pub fn zend_reset_lc_ctype_locale();
5806}
5807extern "C" {
5808 pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
5809}
5810extern "C" {
5811 pub fn zend_ulong_to_str(num: zend_ulong) -> *mut zend_string;
5812}
5813extern "C" {
5814 pub fn zend_u64_to_str(num: u64) -> *mut zend_string;
5815}
5816extern "C" {
5817 pub fn zend_i64_to_str(num: i64) -> *mut zend_string;
5818}
5819extern "C" {
5820 pub fn zend_double_to_str(num: f64) -> *mut zend_string;
5821}
5822extern "C" {
5823 pub static zend_vm_kind_name: [*const ::std::os::raw::c_char; 6usize];
5824}
5825pub type zend_vm_opcode_handler_t = *const ::std::os::raw::c_void;
5826pub type zend_vm_opcode_handler_func_t = ::std::option::Option<unsafe extern "C" fn()>;
5827extern "C" {
5828 pub fn zend_get_opcode_name(opcode: u8) -> *const ::std::os::raw::c_char;
5829}
5830extern "C" {
5831 pub fn zend_get_opcode_flags(opcode: u8) -> u32;
5832}
5833extern "C" {
5834 pub fn zend_get_opcode_id(name: *const ::std::os::raw::c_char, length: usize) -> u8;
5835}
5836pub type zend_op = _zend_op;
5837pub type zend_frameless_function_0 =
5838 ::std::option::Option<unsafe extern "C" fn(return_value: *mut zval)>;
5839pub type zend_frameless_function_1 =
5840 ::std::option::Option<unsafe extern "C" fn(return_value: *mut zval, op1: *mut zval)>;
5841pub type zend_frameless_function_2 = ::std::option::Option<
5842 unsafe extern "C" fn(return_value: *mut zval, op1: *mut zval, op2: *mut zval),
5843>;
5844pub type zend_frameless_function_3 = ::std::option::Option<
5845 unsafe extern "C" fn(return_value: *mut zval, op1: *mut zval, op2: *mut zval, op3: *mut zval),
5846>;
5847extern "C" {
5848 pub static mut zend_flf_count: usize;
5849}
5850extern "C" {
5851 pub static mut zend_flf_capacity: usize;
5852}
5853extern "C" {
5854 pub static mut zend_flf_handlers: *mut *mut ::std::os::raw::c_void;
5855}
5856extern "C" {
5857 pub static mut zend_flf_functions: *mut *mut zend_function;
5858}
5859#[repr(C)]
5860#[derive(Debug, Copy, Clone)]
5861pub struct zend_frameless_function_info {
5862 pub handler: *mut ::std::os::raw::c_void,
5863 pub num_args: u32,
5864}
5865#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5866const _: () = {
5867 ["Size of zend_frameless_function_info"]
5868 [::std::mem::size_of::<zend_frameless_function_info>() - 16usize];
5869 ["Alignment of zend_frameless_function_info"]
5870 [::std::mem::align_of::<zend_frameless_function_info>() - 8usize];
5871 ["Offset of field: zend_frameless_function_info::handler"]
5872 [::std::mem::offset_of!(zend_frameless_function_info, handler) - 0usize];
5873 ["Offset of field: zend_frameless_function_info::num_args"]
5874 [::std::mem::offset_of!(zend_frameless_function_info, num_args) - 8usize];
5875};
5876pub const zend_jmp_fl_result_ZEND_JMP_FL_UNPRIMED: zend_jmp_fl_result = 0;
5877pub const zend_jmp_fl_result_ZEND_JMP_FL_MISS: zend_jmp_fl_result = 1;
5878pub const zend_jmp_fl_result_ZEND_JMP_FL_HIT: zend_jmp_fl_result = 2;
5879pub type zend_jmp_fl_result = ::std::os::raw::c_uint;
5880#[repr(C)]
5881#[derive(Copy, Clone)]
5882pub union _znode_op {
5883 pub constant: u32,
5884 pub var: u32,
5885 pub num: u32,
5886 pub opline_num: u32,
5887 pub jmp_offset: u32,
5888}
5889#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5890const _: () = {
5891 ["Size of _znode_op"][::std::mem::size_of::<_znode_op>() - 4usize];
5892 ["Alignment of _znode_op"][::std::mem::align_of::<_znode_op>() - 4usize];
5893 ["Offset of field: _znode_op::constant"][::std::mem::offset_of!(_znode_op, constant) - 0usize];
5894 ["Offset of field: _znode_op::var"][::std::mem::offset_of!(_znode_op, var) - 0usize];
5895 ["Offset of field: _znode_op::num"][::std::mem::offset_of!(_znode_op, num) - 0usize];
5896 ["Offset of field: _znode_op::opline_num"]
5897 [::std::mem::offset_of!(_znode_op, opline_num) - 0usize];
5898 ["Offset of field: _znode_op::jmp_offset"]
5899 [::std::mem::offset_of!(_znode_op, jmp_offset) - 0usize];
5900};
5901pub type znode_op = _znode_op;
5902#[repr(C)]
5903#[derive(Copy, Clone)]
5904pub struct _znode {
5905 pub op_type: u8,
5906 pub flag: u8,
5907 pub u: _znode__bindgen_ty_1,
5908}
5909#[repr(C)]
5910#[derive(Copy, Clone)]
5911pub union _znode__bindgen_ty_1 {
5912 pub op: znode_op,
5913 pub constant: zval,
5914}
5915#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5916const _: () = {
5917 ["Size of _znode__bindgen_ty_1"][::std::mem::size_of::<_znode__bindgen_ty_1>() - 16usize];
5918 ["Alignment of _znode__bindgen_ty_1"][::std::mem::align_of::<_znode__bindgen_ty_1>() - 8usize];
5919 ["Offset of field: _znode__bindgen_ty_1::op"]
5920 [::std::mem::offset_of!(_znode__bindgen_ty_1, op) - 0usize];
5921 ["Offset of field: _znode__bindgen_ty_1::constant"]
5922 [::std::mem::offset_of!(_znode__bindgen_ty_1, constant) - 0usize];
5923};
5924#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5925const _: () = {
5926 ["Size of _znode"][::std::mem::size_of::<_znode>() - 24usize];
5927 ["Alignment of _znode"][::std::mem::align_of::<_znode>() - 8usize];
5928 ["Offset of field: _znode::op_type"][::std::mem::offset_of!(_znode, op_type) - 0usize];
5929 ["Offset of field: _znode::flag"][::std::mem::offset_of!(_znode, flag) - 1usize];
5930 ["Offset of field: _znode::u"][::std::mem::offset_of!(_znode, u) - 8usize];
5931};
5932pub type znode = _znode;
5933#[repr(C)]
5934#[derive(Copy, Clone)]
5935pub struct _zend_ast_znode {
5936 pub kind: zend_ast_kind,
5937 pub attr: zend_ast_attr,
5938 pub lineno: u32,
5939 pub node: znode,
5940}
5941#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5942const _: () = {
5943 ["Size of _zend_ast_znode"][::std::mem::size_of::<_zend_ast_znode>() - 32usize];
5944 ["Alignment of _zend_ast_znode"][::std::mem::align_of::<_zend_ast_znode>() - 8usize];
5945 ["Offset of field: _zend_ast_znode::kind"]
5946 [::std::mem::offset_of!(_zend_ast_znode, kind) - 0usize];
5947 ["Offset of field: _zend_ast_znode::attr"]
5948 [::std::mem::offset_of!(_zend_ast_znode, attr) - 2usize];
5949 ["Offset of field: _zend_ast_znode::lineno"]
5950 [::std::mem::offset_of!(_zend_ast_znode, lineno) - 4usize];
5951 ["Offset of field: _zend_ast_znode::node"]
5952 [::std::mem::offset_of!(_zend_ast_znode, node) - 8usize];
5953};
5954pub type zend_ast_znode = _zend_ast_znode;
5955extern "C" {
5956 pub fn zend_ast_create_znode(node: *const znode) -> *mut zend_ast;
5957}
5958#[repr(C)]
5959#[derive(Debug, Copy, Clone)]
5960pub struct _zend_declarables {
5961 pub ticks: zend_long,
5962}
5963#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5964const _: () = {
5965 ["Size of _zend_declarables"][::std::mem::size_of::<_zend_declarables>() - 8usize];
5966 ["Alignment of _zend_declarables"][::std::mem::align_of::<_zend_declarables>() - 8usize];
5967 ["Offset of field: _zend_declarables::ticks"]
5968 [::std::mem::offset_of!(_zend_declarables, ticks) - 0usize];
5969};
5970pub type zend_declarables = _zend_declarables;
5971#[repr(C)]
5972#[derive(Copy, Clone)]
5973pub struct _zend_file_context {
5974 pub declarables: zend_declarables,
5975 pub current_namespace: *mut zend_string,
5976 pub in_namespace: bool,
5977 pub has_bracketed_namespaces: bool,
5978 pub imports: *mut HashTable,
5979 pub imports_function: *mut HashTable,
5980 pub imports_const: *mut HashTable,
5981 pub seen_symbols: HashTable,
5982}
5983#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5984const _: () = {
5985 ["Size of _zend_file_context"][::std::mem::size_of::<_zend_file_context>() - 104usize];
5986 ["Alignment of _zend_file_context"][::std::mem::align_of::<_zend_file_context>() - 8usize];
5987 ["Offset of field: _zend_file_context::declarables"]
5988 [::std::mem::offset_of!(_zend_file_context, declarables) - 0usize];
5989 ["Offset of field: _zend_file_context::current_namespace"]
5990 [::std::mem::offset_of!(_zend_file_context, current_namespace) - 8usize];
5991 ["Offset of field: _zend_file_context::in_namespace"]
5992 [::std::mem::offset_of!(_zend_file_context, in_namespace) - 16usize];
5993 ["Offset of field: _zend_file_context::has_bracketed_namespaces"]
5994 [::std::mem::offset_of!(_zend_file_context, has_bracketed_namespaces) - 17usize];
5995 ["Offset of field: _zend_file_context::imports"]
5996 [::std::mem::offset_of!(_zend_file_context, imports) - 24usize];
5997 ["Offset of field: _zend_file_context::imports_function"]
5998 [::std::mem::offset_of!(_zend_file_context, imports_function) - 32usize];
5999 ["Offset of field: _zend_file_context::imports_const"]
6000 [::std::mem::offset_of!(_zend_file_context, imports_const) - 40usize];
6001 ["Offset of field: _zend_file_context::seen_symbols"]
6002 [::std::mem::offset_of!(_zend_file_context, seen_symbols) - 48usize];
6003};
6004pub type zend_file_context = _zend_file_context;
6005#[repr(C)]
6006#[derive(Copy, Clone)]
6007pub union _zend_parser_stack_elem {
6008 pub ast: *mut zend_ast,
6009 pub str_: *mut zend_string,
6010 pub num: zend_ulong,
6011 pub ptr: *mut ::std::os::raw::c_uchar,
6012 pub ident: *mut ::std::os::raw::c_uchar,
6013}
6014#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6015const _: () = {
6016 ["Size of _zend_parser_stack_elem"][::std::mem::size_of::<_zend_parser_stack_elem>() - 8usize];
6017 ["Alignment of _zend_parser_stack_elem"]
6018 [::std::mem::align_of::<_zend_parser_stack_elem>() - 8usize];
6019 ["Offset of field: _zend_parser_stack_elem::ast"]
6020 [::std::mem::offset_of!(_zend_parser_stack_elem, ast) - 0usize];
6021 ["Offset of field: _zend_parser_stack_elem::str_"]
6022 [::std::mem::offset_of!(_zend_parser_stack_elem, str_) - 0usize];
6023 ["Offset of field: _zend_parser_stack_elem::num"]
6024 [::std::mem::offset_of!(_zend_parser_stack_elem, num) - 0usize];
6025 ["Offset of field: _zend_parser_stack_elem::ptr"]
6026 [::std::mem::offset_of!(_zend_parser_stack_elem, ptr) - 0usize];
6027 ["Offset of field: _zend_parser_stack_elem::ident"]
6028 [::std::mem::offset_of!(_zend_parser_stack_elem, ident) - 0usize];
6029};
6030pub type zend_parser_stack_elem = _zend_parser_stack_elem;
6031extern "C" {
6032 pub fn zend_compile_top_stmt(ast: *mut zend_ast);
6033}
6034extern "C" {
6035 pub fn zend_const_expr_to_zval(
6036 result: *mut zval,
6037 ast_ptr: *mut *mut zend_ast,
6038 allow_dynamic: bool,
6039 );
6040}
6041pub type user_opcode_handler_t = ::std::option::Option<
6042 unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
6043>;
6044#[repr(C)]
6045#[derive(Copy, Clone)]
6046pub struct _zend_op {
6047 pub handler: zend_vm_opcode_handler_t,
6048 pub op1: znode_op,
6049 pub op2: znode_op,
6050 pub result: znode_op,
6051 pub extended_value: u32,
6052 pub lineno: u32,
6053 pub opcode: u8,
6054 pub op1_type: u8,
6055 pub op2_type: u8,
6056 pub result_type: u8,
6057}
6058#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6059const _: () = {
6060 ["Size of _zend_op"][::std::mem::size_of::<_zend_op>() - 32usize];
6061 ["Alignment of _zend_op"][::std::mem::align_of::<_zend_op>() - 8usize];
6062 ["Offset of field: _zend_op::handler"][::std::mem::offset_of!(_zend_op, handler) - 0usize];
6063 ["Offset of field: _zend_op::op1"][::std::mem::offset_of!(_zend_op, op1) - 8usize];
6064 ["Offset of field: _zend_op::op2"][::std::mem::offset_of!(_zend_op, op2) - 12usize];
6065 ["Offset of field: _zend_op::result"][::std::mem::offset_of!(_zend_op, result) - 16usize];
6066 ["Offset of field: _zend_op::extended_value"]
6067 [::std::mem::offset_of!(_zend_op, extended_value) - 20usize];
6068 ["Offset of field: _zend_op::lineno"][::std::mem::offset_of!(_zend_op, lineno) - 24usize];
6069 ["Offset of field: _zend_op::opcode"][::std::mem::offset_of!(_zend_op, opcode) - 28usize];
6070 ["Offset of field: _zend_op::op1_type"][::std::mem::offset_of!(_zend_op, op1_type) - 29usize];
6071 ["Offset of field: _zend_op::op2_type"][::std::mem::offset_of!(_zend_op, op2_type) - 30usize];
6072 ["Offset of field: _zend_op::result_type"]
6073 [::std::mem::offset_of!(_zend_op, result_type) - 31usize];
6074};
6075#[repr(C)]
6076#[derive(Debug, Copy, Clone)]
6077pub struct _zend_brk_cont_element {
6078 pub start: ::std::os::raw::c_int,
6079 pub cont: ::std::os::raw::c_int,
6080 pub brk: ::std::os::raw::c_int,
6081 pub parent: ::std::os::raw::c_int,
6082 pub is_switch: bool,
6083}
6084#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6085const _: () = {
6086 ["Size of _zend_brk_cont_element"][::std::mem::size_of::<_zend_brk_cont_element>() - 20usize];
6087 ["Alignment of _zend_brk_cont_element"]
6088 [::std::mem::align_of::<_zend_brk_cont_element>() - 4usize];
6089 ["Offset of field: _zend_brk_cont_element::start"]
6090 [::std::mem::offset_of!(_zend_brk_cont_element, start) - 0usize];
6091 ["Offset of field: _zend_brk_cont_element::cont"]
6092 [::std::mem::offset_of!(_zend_brk_cont_element, cont) - 4usize];
6093 ["Offset of field: _zend_brk_cont_element::brk"]
6094 [::std::mem::offset_of!(_zend_brk_cont_element, brk) - 8usize];
6095 ["Offset of field: _zend_brk_cont_element::parent"]
6096 [::std::mem::offset_of!(_zend_brk_cont_element, parent) - 12usize];
6097 ["Offset of field: _zend_brk_cont_element::is_switch"]
6098 [::std::mem::offset_of!(_zend_brk_cont_element, is_switch) - 16usize];
6099};
6100pub type zend_brk_cont_element = _zend_brk_cont_element;
6101#[repr(C)]
6102#[derive(Debug, Copy, Clone)]
6103pub struct _zend_label {
6104 pub brk_cont: ::std::os::raw::c_int,
6105 pub opline_num: u32,
6106}
6107#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6108const _: () = {
6109 ["Size of _zend_label"][::std::mem::size_of::<_zend_label>() - 8usize];
6110 ["Alignment of _zend_label"][::std::mem::align_of::<_zend_label>() - 4usize];
6111 ["Offset of field: _zend_label::brk_cont"]
6112 [::std::mem::offset_of!(_zend_label, brk_cont) - 0usize];
6113 ["Offset of field: _zend_label::opline_num"]
6114 [::std::mem::offset_of!(_zend_label, opline_num) - 4usize];
6115};
6116pub type zend_label = _zend_label;
6117#[repr(C)]
6118#[derive(Debug, Copy, Clone)]
6119pub struct _zend_try_catch_element {
6120 pub try_op: u32,
6121 pub catch_op: u32,
6122 pub finally_op: u32,
6123 pub finally_end: u32,
6124}
6125#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6126const _: () = {
6127 ["Size of _zend_try_catch_element"][::std::mem::size_of::<_zend_try_catch_element>() - 16usize];
6128 ["Alignment of _zend_try_catch_element"]
6129 [::std::mem::align_of::<_zend_try_catch_element>() - 4usize];
6130 ["Offset of field: _zend_try_catch_element::try_op"]
6131 [::std::mem::offset_of!(_zend_try_catch_element, try_op) - 0usize];
6132 ["Offset of field: _zend_try_catch_element::catch_op"]
6133 [::std::mem::offset_of!(_zend_try_catch_element, catch_op) - 4usize];
6134 ["Offset of field: _zend_try_catch_element::finally_op"]
6135 [::std::mem::offset_of!(_zend_try_catch_element, finally_op) - 8usize];
6136 ["Offset of field: _zend_try_catch_element::finally_end"]
6137 [::std::mem::offset_of!(_zend_try_catch_element, finally_end) - 12usize];
6138};
6139pub type zend_try_catch_element = _zend_try_catch_element;
6140#[repr(C)]
6141#[derive(Debug, Copy, Clone)]
6142pub struct _zend_live_range {
6143 pub var: u32,
6144 pub start: u32,
6145 pub end: u32,
6146}
6147#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6148const _: () = {
6149 ["Size of _zend_live_range"][::std::mem::size_of::<_zend_live_range>() - 12usize];
6150 ["Alignment of _zend_live_range"][::std::mem::align_of::<_zend_live_range>() - 4usize];
6151 ["Offset of field: _zend_live_range::var"]
6152 [::std::mem::offset_of!(_zend_live_range, var) - 0usize];
6153 ["Offset of field: _zend_live_range::start"]
6154 [::std::mem::offset_of!(_zend_live_range, start) - 4usize];
6155 ["Offset of field: _zend_live_range::end"]
6156 [::std::mem::offset_of!(_zend_live_range, end) - 8usize];
6157};
6158pub type zend_live_range = _zend_live_range;
6159#[repr(C)]
6160#[derive(Debug, Copy, Clone)]
6161pub struct _zend_oparray_context {
6162 pub prev: *mut _zend_oparray_context,
6163 pub op_array: *mut zend_op_array,
6164 pub opcodes_size: u32,
6165 pub vars_size: ::std::os::raw::c_int,
6166 pub literals_size: ::std::os::raw::c_int,
6167 pub fast_call_var: u32,
6168 pub try_catch_offset: u32,
6169 pub current_brk_cont: ::std::os::raw::c_int,
6170 pub last_brk_cont: ::std::os::raw::c_int,
6171 pub brk_cont_array: *mut zend_brk_cont_element,
6172 pub labels: *mut HashTable,
6173 pub active_property_info_name: *mut zend_string,
6174 pub active_property_hook_kind: zend_property_hook_kind,
6175 pub in_jmp_frameless_branch: bool,
6176 pub has_assigned_to_http_response_header: bool,
6177}
6178#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6179const _: () = {
6180 ["Size of _zend_oparray_context"][::std::mem::size_of::<_zend_oparray_context>() - 80usize];
6181 ["Alignment of _zend_oparray_context"]
6182 [::std::mem::align_of::<_zend_oparray_context>() - 8usize];
6183 ["Offset of field: _zend_oparray_context::prev"]
6184 [::std::mem::offset_of!(_zend_oparray_context, prev) - 0usize];
6185 ["Offset of field: _zend_oparray_context::op_array"]
6186 [::std::mem::offset_of!(_zend_oparray_context, op_array) - 8usize];
6187 ["Offset of field: _zend_oparray_context::opcodes_size"]
6188 [::std::mem::offset_of!(_zend_oparray_context, opcodes_size) - 16usize];
6189 ["Offset of field: _zend_oparray_context::vars_size"]
6190 [::std::mem::offset_of!(_zend_oparray_context, vars_size) - 20usize];
6191 ["Offset of field: _zend_oparray_context::literals_size"]
6192 [::std::mem::offset_of!(_zend_oparray_context, literals_size) - 24usize];
6193 ["Offset of field: _zend_oparray_context::fast_call_var"]
6194 [::std::mem::offset_of!(_zend_oparray_context, fast_call_var) - 28usize];
6195 ["Offset of field: _zend_oparray_context::try_catch_offset"]
6196 [::std::mem::offset_of!(_zend_oparray_context, try_catch_offset) - 32usize];
6197 ["Offset of field: _zend_oparray_context::current_brk_cont"]
6198 [::std::mem::offset_of!(_zend_oparray_context, current_brk_cont) - 36usize];
6199 ["Offset of field: _zend_oparray_context::last_brk_cont"]
6200 [::std::mem::offset_of!(_zend_oparray_context, last_brk_cont) - 40usize];
6201 ["Offset of field: _zend_oparray_context::brk_cont_array"]
6202 [::std::mem::offset_of!(_zend_oparray_context, brk_cont_array) - 48usize];
6203 ["Offset of field: _zend_oparray_context::labels"]
6204 [::std::mem::offset_of!(_zend_oparray_context, labels) - 56usize];
6205 ["Offset of field: _zend_oparray_context::active_property_info_name"]
6206 [::std::mem::offset_of!(_zend_oparray_context, active_property_info_name) - 64usize];
6207 ["Offset of field: _zend_oparray_context::active_property_hook_kind"]
6208 [::std::mem::offset_of!(_zend_oparray_context, active_property_hook_kind) - 72usize];
6209 ["Offset of field: _zend_oparray_context::in_jmp_frameless_branch"]
6210 [::std::mem::offset_of!(_zend_oparray_context, in_jmp_frameless_branch) - 76usize];
6211 ["Offset of field: _zend_oparray_context::has_assigned_to_http_response_header"][::std::mem::offset_of!(
6212 _zend_oparray_context,
6213 has_assigned_to_http_response_header
6214 ) - 77usize];
6215};
6216pub type zend_oparray_context = _zend_oparray_context;
6217extern "C" {
6218 pub fn zend_visibility_string(fn_flags: u32) -> *mut ::std::os::raw::c_char;
6219}
6220extern "C" {
6221 pub fn zend_get_property_hook_kind_from_name(name: *mut zend_string)
6222 -> zend_property_hook_kind;
6223}
6224#[repr(C)]
6225#[derive(Debug, Copy, Clone)]
6226pub struct _zend_property_info {
6227 pub offset: u32,
6228 pub flags: u32,
6229 pub name: *mut zend_string,
6230 pub doc_comment: *mut zend_string,
6231 pub attributes: *mut HashTable,
6232 pub ce: *mut zend_class_entry,
6233 pub type_: zend_type,
6234 pub prototype: *const zend_property_info,
6235 pub hooks: *mut *mut zend_function,
6236}
6237#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6238const _: () = {
6239 ["Size of _zend_property_info"][::std::mem::size_of::<_zend_property_info>() - 72usize];
6240 ["Alignment of _zend_property_info"][::std::mem::align_of::<_zend_property_info>() - 8usize];
6241 ["Offset of field: _zend_property_info::offset"]
6242 [::std::mem::offset_of!(_zend_property_info, offset) - 0usize];
6243 ["Offset of field: _zend_property_info::flags"]
6244 [::std::mem::offset_of!(_zend_property_info, flags) - 4usize];
6245 ["Offset of field: _zend_property_info::name"]
6246 [::std::mem::offset_of!(_zend_property_info, name) - 8usize];
6247 ["Offset of field: _zend_property_info::doc_comment"]
6248 [::std::mem::offset_of!(_zend_property_info, doc_comment) - 16usize];
6249 ["Offset of field: _zend_property_info::attributes"]
6250 [::std::mem::offset_of!(_zend_property_info, attributes) - 24usize];
6251 ["Offset of field: _zend_property_info::ce"]
6252 [::std::mem::offset_of!(_zend_property_info, ce) - 32usize];
6253 ["Offset of field: _zend_property_info::type_"]
6254 [::std::mem::offset_of!(_zend_property_info, type_) - 40usize];
6255 ["Offset of field: _zend_property_info::prototype"]
6256 [::std::mem::offset_of!(_zend_property_info, prototype) - 56usize];
6257 ["Offset of field: _zend_property_info::hooks"]
6258 [::std::mem::offset_of!(_zend_property_info, hooks) - 64usize];
6259};
6260#[repr(C)]
6261#[derive(Copy, Clone)]
6262pub struct _zend_class_constant {
6263 pub value: zval,
6264 pub doc_comment: *mut zend_string,
6265 pub attributes: *mut HashTable,
6266 pub ce: *mut zend_class_entry,
6267 pub type_: zend_type,
6268}
6269#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6270const _: () = {
6271 ["Size of _zend_class_constant"][::std::mem::size_of::<_zend_class_constant>() - 56usize];
6272 ["Alignment of _zend_class_constant"][::std::mem::align_of::<_zend_class_constant>() - 8usize];
6273 ["Offset of field: _zend_class_constant::value"]
6274 [::std::mem::offset_of!(_zend_class_constant, value) - 0usize];
6275 ["Offset of field: _zend_class_constant::doc_comment"]
6276 [::std::mem::offset_of!(_zend_class_constant, doc_comment) - 16usize];
6277 ["Offset of field: _zend_class_constant::attributes"]
6278 [::std::mem::offset_of!(_zend_class_constant, attributes) - 24usize];
6279 ["Offset of field: _zend_class_constant::ce"]
6280 [::std::mem::offset_of!(_zend_class_constant, ce) - 32usize];
6281 ["Offset of field: _zend_class_constant::type_"]
6282 [::std::mem::offset_of!(_zend_class_constant, type_) - 40usize];
6283};
6284pub type zend_class_constant = _zend_class_constant;
6285#[repr(C)]
6286#[derive(Debug, Copy, Clone)]
6287pub struct _zend_internal_arg_info {
6288 pub name: *const ::std::os::raw::c_char,
6289 pub type_: zend_type,
6290 pub default_value: *const ::std::os::raw::c_char,
6291}
6292#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6293const _: () = {
6294 ["Size of _zend_internal_arg_info"][::std::mem::size_of::<_zend_internal_arg_info>() - 32usize];
6295 ["Alignment of _zend_internal_arg_info"]
6296 [::std::mem::align_of::<_zend_internal_arg_info>() - 8usize];
6297 ["Offset of field: _zend_internal_arg_info::name"]
6298 [::std::mem::offset_of!(_zend_internal_arg_info, name) - 0usize];
6299 ["Offset of field: _zend_internal_arg_info::type_"]
6300 [::std::mem::offset_of!(_zend_internal_arg_info, type_) - 8usize];
6301 ["Offset of field: _zend_internal_arg_info::default_value"]
6302 [::std::mem::offset_of!(_zend_internal_arg_info, default_value) - 24usize];
6303};
6304pub type zend_internal_arg_info = _zend_internal_arg_info;
6305#[repr(C)]
6306#[derive(Debug, Copy, Clone)]
6307pub struct _zend_arg_info {
6308 pub name: *mut zend_string,
6309 pub type_: zend_type,
6310 pub default_value: *mut zend_string,
6311}
6312#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6313const _: () = {
6314 ["Size of _zend_arg_info"][::std::mem::size_of::<_zend_arg_info>() - 32usize];
6315 ["Alignment of _zend_arg_info"][::std::mem::align_of::<_zend_arg_info>() - 8usize];
6316 ["Offset of field: _zend_arg_info::name"]
6317 [::std::mem::offset_of!(_zend_arg_info, name) - 0usize];
6318 ["Offset of field: _zend_arg_info::type_"]
6319 [::std::mem::offset_of!(_zend_arg_info, type_) - 8usize];
6320 ["Offset of field: _zend_arg_info::default_value"]
6321 [::std::mem::offset_of!(_zend_arg_info, default_value) - 24usize];
6322};
6323pub type zend_arg_info = _zend_arg_info;
6324#[repr(C)]
6325#[derive(Debug, Copy, Clone)]
6326pub struct _zend_internal_function_info {
6327 pub required_num_args: usize,
6328 pub type_: zend_type,
6329 pub default_value: *const ::std::os::raw::c_char,
6330}
6331#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6332const _: () = {
6333 ["Size of _zend_internal_function_info"]
6334 [::std::mem::size_of::<_zend_internal_function_info>() - 32usize];
6335 ["Alignment of _zend_internal_function_info"]
6336 [::std::mem::align_of::<_zend_internal_function_info>() - 8usize];
6337 ["Offset of field: _zend_internal_function_info::required_num_args"]
6338 [::std::mem::offset_of!(_zend_internal_function_info, required_num_args) - 0usize];
6339 ["Offset of field: _zend_internal_function_info::type_"]
6340 [::std::mem::offset_of!(_zend_internal_function_info, type_) - 8usize];
6341 ["Offset of field: _zend_internal_function_info::default_value"]
6342 [::std::mem::offset_of!(_zend_internal_function_info, default_value) - 24usize];
6343};
6344pub type zend_internal_function_info = _zend_internal_function_info;
6345#[repr(C)]
6346#[derive(Debug, Copy, Clone)]
6347pub struct _zend_op_array {
6348 pub type_: u8,
6349 pub arg_flags: [u8; 3usize],
6350 pub fn_flags: u32,
6351 pub function_name: *mut zend_string,
6352 pub scope: *mut zend_class_entry,
6353 pub prototype: *mut zend_function,
6354 pub num_args: u32,
6355 pub required_num_args: u32,
6356 pub arg_info: *mut zend_arg_info,
6357 pub attributes: *mut HashTable,
6358 pub run_time_cache__ptr: *mut *mut ::std::os::raw::c_void,
6359 pub doc_comment: *mut zend_string,
6360 pub T: u32,
6361 pub prop_info: *const zend_property_info,
6362 pub cache_size: ::std::os::raw::c_int,
6363 pub last_var: ::std::os::raw::c_int,
6364 pub last: u32,
6365 pub opcodes: *mut zend_op,
6366 pub static_variables_ptr__ptr: *mut HashTable,
6367 pub static_variables: *mut HashTable,
6368 pub vars: *mut *mut zend_string,
6369 pub refcount: *mut u32,
6370 pub last_live_range: ::std::os::raw::c_int,
6371 pub last_try_catch: ::std::os::raw::c_int,
6372 pub live_range: *mut zend_live_range,
6373 pub try_catch_array: *mut zend_try_catch_element,
6374 pub filename: *mut zend_string,
6375 pub line_start: u32,
6376 pub line_end: u32,
6377 pub last_literal: ::std::os::raw::c_int,
6378 pub num_dynamic_func_defs: u32,
6379 pub literals: *mut zval,
6380 pub dynamic_func_defs: *mut *mut zend_op_array,
6381 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
6382}
6383#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6384const _: () = {
6385 ["Size of _zend_op_array"][::std::mem::size_of::<_zend_op_array>() - 256usize];
6386 ["Alignment of _zend_op_array"][::std::mem::align_of::<_zend_op_array>() - 8usize];
6387 ["Offset of field: _zend_op_array::type_"]
6388 [::std::mem::offset_of!(_zend_op_array, type_) - 0usize];
6389 ["Offset of field: _zend_op_array::arg_flags"]
6390 [::std::mem::offset_of!(_zend_op_array, arg_flags) - 1usize];
6391 ["Offset of field: _zend_op_array::fn_flags"]
6392 [::std::mem::offset_of!(_zend_op_array, fn_flags) - 4usize];
6393 ["Offset of field: _zend_op_array::function_name"]
6394 [::std::mem::offset_of!(_zend_op_array, function_name) - 8usize];
6395 ["Offset of field: _zend_op_array::scope"]
6396 [::std::mem::offset_of!(_zend_op_array, scope) - 16usize];
6397 ["Offset of field: _zend_op_array::prototype"]
6398 [::std::mem::offset_of!(_zend_op_array, prototype) - 24usize];
6399 ["Offset of field: _zend_op_array::num_args"]
6400 [::std::mem::offset_of!(_zend_op_array, num_args) - 32usize];
6401 ["Offset of field: _zend_op_array::required_num_args"]
6402 [::std::mem::offset_of!(_zend_op_array, required_num_args) - 36usize];
6403 ["Offset of field: _zend_op_array::arg_info"]
6404 [::std::mem::offset_of!(_zend_op_array, arg_info) - 40usize];
6405 ["Offset of field: _zend_op_array::attributes"]
6406 [::std::mem::offset_of!(_zend_op_array, attributes) - 48usize];
6407 ["Offset of field: _zend_op_array::run_time_cache__ptr"]
6408 [::std::mem::offset_of!(_zend_op_array, run_time_cache__ptr) - 56usize];
6409 ["Offset of field: _zend_op_array::doc_comment"]
6410 [::std::mem::offset_of!(_zend_op_array, doc_comment) - 64usize];
6411 ["Offset of field: _zend_op_array::T"][::std::mem::offset_of!(_zend_op_array, T) - 72usize];
6412 ["Offset of field: _zend_op_array::prop_info"]
6413 [::std::mem::offset_of!(_zend_op_array, prop_info) - 80usize];
6414 ["Offset of field: _zend_op_array::cache_size"]
6415 [::std::mem::offset_of!(_zend_op_array, cache_size) - 88usize];
6416 ["Offset of field: _zend_op_array::last_var"]
6417 [::std::mem::offset_of!(_zend_op_array, last_var) - 92usize];
6418 ["Offset of field: _zend_op_array::last"]
6419 [::std::mem::offset_of!(_zend_op_array, last) - 96usize];
6420 ["Offset of field: _zend_op_array::opcodes"]
6421 [::std::mem::offset_of!(_zend_op_array, opcodes) - 104usize];
6422 ["Offset of field: _zend_op_array::static_variables_ptr__ptr"]
6423 [::std::mem::offset_of!(_zend_op_array, static_variables_ptr__ptr) - 112usize];
6424 ["Offset of field: _zend_op_array::static_variables"]
6425 [::std::mem::offset_of!(_zend_op_array, static_variables) - 120usize];
6426 ["Offset of field: _zend_op_array::vars"]
6427 [::std::mem::offset_of!(_zend_op_array, vars) - 128usize];
6428 ["Offset of field: _zend_op_array::refcount"]
6429 [::std::mem::offset_of!(_zend_op_array, refcount) - 136usize];
6430 ["Offset of field: _zend_op_array::last_live_range"]
6431 [::std::mem::offset_of!(_zend_op_array, last_live_range) - 144usize];
6432 ["Offset of field: _zend_op_array::last_try_catch"]
6433 [::std::mem::offset_of!(_zend_op_array, last_try_catch) - 148usize];
6434 ["Offset of field: _zend_op_array::live_range"]
6435 [::std::mem::offset_of!(_zend_op_array, live_range) - 152usize];
6436 ["Offset of field: _zend_op_array::try_catch_array"]
6437 [::std::mem::offset_of!(_zend_op_array, try_catch_array) - 160usize];
6438 ["Offset of field: _zend_op_array::filename"]
6439 [::std::mem::offset_of!(_zend_op_array, filename) - 168usize];
6440 ["Offset of field: _zend_op_array::line_start"]
6441 [::std::mem::offset_of!(_zend_op_array, line_start) - 176usize];
6442 ["Offset of field: _zend_op_array::line_end"]
6443 [::std::mem::offset_of!(_zend_op_array, line_end) - 180usize];
6444 ["Offset of field: _zend_op_array::last_literal"]
6445 [::std::mem::offset_of!(_zend_op_array, last_literal) - 184usize];
6446 ["Offset of field: _zend_op_array::num_dynamic_func_defs"]
6447 [::std::mem::offset_of!(_zend_op_array, num_dynamic_func_defs) - 188usize];
6448 ["Offset of field: _zend_op_array::literals"]
6449 [::std::mem::offset_of!(_zend_op_array, literals) - 192usize];
6450 ["Offset of field: _zend_op_array::dynamic_func_defs"]
6451 [::std::mem::offset_of!(_zend_op_array, dynamic_func_defs) - 200usize];
6452 ["Offset of field: _zend_op_array::reserved"]
6453 [::std::mem::offset_of!(_zend_op_array, reserved) - 208usize];
6454};
6455pub type zif_handler = ::std::option::Option<
6456 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
6457>;
6458#[repr(C)]
6459#[derive(Debug, Copy, Clone)]
6460pub struct _zend_internal_function {
6461 pub type_: u8,
6462 pub arg_flags: [u8; 3usize],
6463 pub fn_flags: u32,
6464 pub function_name: *mut zend_string,
6465 pub scope: *mut zend_class_entry,
6466 pub prototype: *mut zend_function,
6467 pub num_args: u32,
6468 pub required_num_args: u32,
6469 pub arg_info: *mut zend_internal_arg_info,
6470 pub attributes: *mut HashTable,
6471 pub run_time_cache__ptr: *mut *mut ::std::os::raw::c_void,
6472 pub doc_comment: *mut zend_string,
6473 pub T: u32,
6474 pub prop_info: *const zend_property_info,
6475 pub handler: zif_handler,
6476 pub module: *mut _zend_module_entry,
6477 pub frameless_function_infos: *const zend_frameless_function_info,
6478 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
6479}
6480#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6481const _: () = {
6482 ["Size of _zend_internal_function"]
6483 [::std::mem::size_of::<_zend_internal_function>() - 160usize];
6484 ["Alignment of _zend_internal_function"]
6485 [::std::mem::align_of::<_zend_internal_function>() - 8usize];
6486 ["Offset of field: _zend_internal_function::type_"]
6487 [::std::mem::offset_of!(_zend_internal_function, type_) - 0usize];
6488 ["Offset of field: _zend_internal_function::arg_flags"]
6489 [::std::mem::offset_of!(_zend_internal_function, arg_flags) - 1usize];
6490 ["Offset of field: _zend_internal_function::fn_flags"]
6491 [::std::mem::offset_of!(_zend_internal_function, fn_flags) - 4usize];
6492 ["Offset of field: _zend_internal_function::function_name"]
6493 [::std::mem::offset_of!(_zend_internal_function, function_name) - 8usize];
6494 ["Offset of field: _zend_internal_function::scope"]
6495 [::std::mem::offset_of!(_zend_internal_function, scope) - 16usize];
6496 ["Offset of field: _zend_internal_function::prototype"]
6497 [::std::mem::offset_of!(_zend_internal_function, prototype) - 24usize];
6498 ["Offset of field: _zend_internal_function::num_args"]
6499 [::std::mem::offset_of!(_zend_internal_function, num_args) - 32usize];
6500 ["Offset of field: _zend_internal_function::required_num_args"]
6501 [::std::mem::offset_of!(_zend_internal_function, required_num_args) - 36usize];
6502 ["Offset of field: _zend_internal_function::arg_info"]
6503 [::std::mem::offset_of!(_zend_internal_function, arg_info) - 40usize];
6504 ["Offset of field: _zend_internal_function::attributes"]
6505 [::std::mem::offset_of!(_zend_internal_function, attributes) - 48usize];
6506 ["Offset of field: _zend_internal_function::run_time_cache__ptr"]
6507 [::std::mem::offset_of!(_zend_internal_function, run_time_cache__ptr) - 56usize];
6508 ["Offset of field: _zend_internal_function::doc_comment"]
6509 [::std::mem::offset_of!(_zend_internal_function, doc_comment) - 64usize];
6510 ["Offset of field: _zend_internal_function::T"]
6511 [::std::mem::offset_of!(_zend_internal_function, T) - 72usize];
6512 ["Offset of field: _zend_internal_function::prop_info"]
6513 [::std::mem::offset_of!(_zend_internal_function, prop_info) - 80usize];
6514 ["Offset of field: _zend_internal_function::handler"]
6515 [::std::mem::offset_of!(_zend_internal_function, handler) - 88usize];
6516 ["Offset of field: _zend_internal_function::module"]
6517 [::std::mem::offset_of!(_zend_internal_function, module) - 96usize];
6518 ["Offset of field: _zend_internal_function::frameless_function_infos"]
6519 [::std::mem::offset_of!(_zend_internal_function, frameless_function_infos) - 104usize];
6520 ["Offset of field: _zend_internal_function::reserved"]
6521 [::std::mem::offset_of!(_zend_internal_function, reserved) - 112usize];
6522};
6523pub type zend_internal_function = _zend_internal_function;
6524#[repr(C)]
6525#[derive(Copy, Clone)]
6526pub union _zend_function {
6527 pub type_: u8,
6528 pub quick_arg_flags: u32,
6529 pub common: _zend_function__bindgen_ty_1,
6530 pub op_array: zend_op_array,
6531 pub internal_function: zend_internal_function,
6532}
6533#[repr(C)]
6534#[derive(Debug, Copy, Clone)]
6535pub struct _zend_function__bindgen_ty_1 {
6536 pub type_: u8,
6537 pub arg_flags: [u8; 3usize],
6538 pub fn_flags: u32,
6539 pub function_name: *mut zend_string,
6540 pub scope: *mut zend_class_entry,
6541 pub prototype: *mut zend_function,
6542 pub num_args: u32,
6543 pub required_num_args: u32,
6544 pub arg_info: *mut zend_arg_info,
6545 pub attributes: *mut HashTable,
6546 pub run_time_cache__ptr: *mut *mut ::std::os::raw::c_void,
6547 pub doc_comment: *mut zend_string,
6548 pub T: u32,
6549 pub prop_info: *const zend_property_info,
6550}
6551#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6552const _: () = {
6553 ["Size of _zend_function__bindgen_ty_1"]
6554 [::std::mem::size_of::<_zend_function__bindgen_ty_1>() - 88usize];
6555 ["Alignment of _zend_function__bindgen_ty_1"]
6556 [::std::mem::align_of::<_zend_function__bindgen_ty_1>() - 8usize];
6557 ["Offset of field: _zend_function__bindgen_ty_1::type_"]
6558 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, type_) - 0usize];
6559 ["Offset of field: _zend_function__bindgen_ty_1::arg_flags"]
6560 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_flags) - 1usize];
6561 ["Offset of field: _zend_function__bindgen_ty_1::fn_flags"]
6562 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, fn_flags) - 4usize];
6563 ["Offset of field: _zend_function__bindgen_ty_1::function_name"]
6564 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, function_name) - 8usize];
6565 ["Offset of field: _zend_function__bindgen_ty_1::scope"]
6566 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, scope) - 16usize];
6567 ["Offset of field: _zend_function__bindgen_ty_1::prototype"]
6568 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, prototype) - 24usize];
6569 ["Offset of field: _zend_function__bindgen_ty_1::num_args"]
6570 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, num_args) - 32usize];
6571 ["Offset of field: _zend_function__bindgen_ty_1::required_num_args"]
6572 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, required_num_args) - 36usize];
6573 ["Offset of field: _zend_function__bindgen_ty_1::arg_info"]
6574 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_info) - 40usize];
6575 ["Offset of field: _zend_function__bindgen_ty_1::attributes"]
6576 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, attributes) - 48usize];
6577 ["Offset of field: _zend_function__bindgen_ty_1::run_time_cache__ptr"]
6578 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, run_time_cache__ptr) - 56usize];
6579 ["Offset of field: _zend_function__bindgen_ty_1::doc_comment"]
6580 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, doc_comment) - 64usize];
6581 ["Offset of field: _zend_function__bindgen_ty_1::T"]
6582 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, T) - 72usize];
6583 ["Offset of field: _zend_function__bindgen_ty_1::prop_info"]
6584 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, prop_info) - 80usize];
6585};
6586#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6587const _: () = {
6588 ["Size of _zend_function"][::std::mem::size_of::<_zend_function>() - 256usize];
6589 ["Alignment of _zend_function"][::std::mem::align_of::<_zend_function>() - 8usize];
6590 ["Offset of field: _zend_function::type_"]
6591 [::std::mem::offset_of!(_zend_function, type_) - 0usize];
6592 ["Offset of field: _zend_function::quick_arg_flags"]
6593 [::std::mem::offset_of!(_zend_function, quick_arg_flags) - 0usize];
6594 ["Offset of field: _zend_function::common"]
6595 [::std::mem::offset_of!(_zend_function, common) - 0usize];
6596 ["Offset of field: _zend_function::op_array"]
6597 [::std::mem::offset_of!(_zend_function, op_array) - 0usize];
6598 ["Offset of field: _zend_function::internal_function"]
6599 [::std::mem::offset_of!(_zend_function, internal_function) - 0usize];
6600};
6601#[repr(C)]
6602#[derive(Copy, Clone)]
6603pub struct _zend_execute_data {
6604 pub opline: *const zend_op,
6605 pub call: *mut zend_execute_data,
6606 pub return_value: *mut zval,
6607 pub func: *mut zend_function,
6608 pub This: zval,
6609 pub prev_execute_data: *mut zend_execute_data,
6610 pub symbol_table: *mut zend_array,
6611 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
6612 pub extra_named_params: *mut zend_array,
6613}
6614#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6615const _: () = {
6616 ["Size of _zend_execute_data"][::std::mem::size_of::<_zend_execute_data>() - 80usize];
6617 ["Alignment of _zend_execute_data"][::std::mem::align_of::<_zend_execute_data>() - 8usize];
6618 ["Offset of field: _zend_execute_data::opline"]
6619 [::std::mem::offset_of!(_zend_execute_data, opline) - 0usize];
6620 ["Offset of field: _zend_execute_data::call"]
6621 [::std::mem::offset_of!(_zend_execute_data, call) - 8usize];
6622 ["Offset of field: _zend_execute_data::return_value"]
6623 [::std::mem::offset_of!(_zend_execute_data, return_value) - 16usize];
6624 ["Offset of field: _zend_execute_data::func"]
6625 [::std::mem::offset_of!(_zend_execute_data, func) - 24usize];
6626 ["Offset of field: _zend_execute_data::This"]
6627 [::std::mem::offset_of!(_zend_execute_data, This) - 32usize];
6628 ["Offset of field: _zend_execute_data::prev_execute_data"]
6629 [::std::mem::offset_of!(_zend_execute_data, prev_execute_data) - 48usize];
6630 ["Offset of field: _zend_execute_data::symbol_table"]
6631 [::std::mem::offset_of!(_zend_execute_data, symbol_table) - 56usize];
6632 ["Offset of field: _zend_execute_data::run_time_cache"]
6633 [::std::mem::offset_of!(_zend_execute_data, run_time_cache) - 64usize];
6634 ["Offset of field: _zend_execute_data::extra_named_params"]
6635 [::std::mem::offset_of!(_zend_execute_data, extra_named_params) - 72usize];
6636};
6637pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
6638#[repr(C)]
6639#[derive(Debug, Copy, Clone)]
6640pub struct __jmp_buf_tag {
6641 pub __jmpbuf: __jmp_buf,
6642 pub __mask_was_saved: ::std::os::raw::c_int,
6643 pub __saved_mask: __sigset_t,
6644}
6645#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6646const _: () = {
6647 ["Size of __jmp_buf_tag"][::std::mem::size_of::<__jmp_buf_tag>() - 200usize];
6648 ["Alignment of __jmp_buf_tag"][::std::mem::align_of::<__jmp_buf_tag>() - 8usize];
6649 ["Offset of field: __jmp_buf_tag::__jmpbuf"]
6650 [::std::mem::offset_of!(__jmp_buf_tag, __jmpbuf) - 0usize];
6651 ["Offset of field: __jmp_buf_tag::__mask_was_saved"]
6652 [::std::mem::offset_of!(__jmp_buf_tag, __mask_was_saved) - 64usize];
6653 ["Offset of field: __jmp_buf_tag::__saved_mask"]
6654 [::std::mem::offset_of!(__jmp_buf_tag, __saved_mask) - 72usize];
6655};
6656pub type sigjmp_buf = [__jmp_buf_tag; 1usize];
6657pub type zend_compiler_globals = _zend_compiler_globals;
6658pub type zend_executor_globals = _zend_executor_globals;
6659pub type zend_php_scanner_globals = _zend_php_scanner_globals;
6660pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
6661#[repr(C)]
6662#[derive(Copy, Clone)]
6663pub struct _zend_compiler_globals {
6664 pub loop_var_stack: zend_stack,
6665 pub active_class_entry: *mut zend_class_entry,
6666 pub compiled_filename: *mut zend_string,
6667 pub zend_lineno: ::std::os::raw::c_int,
6668 pub active_op_array: *mut zend_op_array,
6669 pub function_table: *mut HashTable,
6670 pub class_table: *mut HashTable,
6671 pub auto_globals: *mut HashTable,
6672 pub parse_error: u8,
6673 pub in_compilation: bool,
6674 pub short_tags: bool,
6675 pub unclean_shutdown: bool,
6676 pub ini_parser_unbuffered_errors: bool,
6677 pub open_files: zend_llist,
6678 pub ini_parser_param: *mut _zend_ini_parser_param,
6679 pub skip_shebang: bool,
6680 pub increment_lineno: bool,
6681 pub variable_width_locale: bool,
6682 pub ascii_compatible_locale: bool,
6683 pub doc_comment: *mut zend_string,
6684 pub extra_fn_flags: u32,
6685 pub compiler_options: u32,
6686 pub context: zend_oparray_context,
6687 pub file_context: zend_file_context,
6688 pub arena: *mut zend_arena,
6689 pub interned_strings: HashTable,
6690 pub script_encoding_list: *mut *const zend_encoding,
6691 pub script_encoding_list_size: usize,
6692 pub multibyte: bool,
6693 pub detect_unicode: bool,
6694 pub encoding_declared: bool,
6695 pub ast: *mut zend_ast,
6696 pub ast_arena: *mut zend_arena,
6697 pub delayed_oplines_stack: zend_stack,
6698 pub memoized_exprs: *mut HashTable,
6699 pub memoize_mode: zend_memoize_mode,
6700 pub map_ptr_real_base: *mut ::std::os::raw::c_void,
6701 pub map_ptr_base: *mut ::std::os::raw::c_void,
6702 pub map_ptr_size: usize,
6703 pub map_ptr_last: usize,
6704 pub delayed_variance_obligations: *mut HashTable,
6705 pub delayed_autoloads: *mut HashTable,
6706 pub unlinked_uses: *mut HashTable,
6707 pub current_linking_class: *mut zend_class_entry,
6708 pub rtd_key_counter: u32,
6709 pub internal_run_time_cache: *mut ::std::os::raw::c_void,
6710 pub internal_run_time_cache_size: u32,
6711 pub short_circuiting_opnums: zend_stack,
6712}
6713#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6714const _: () = {
6715 ["Size of _zend_compiler_globals"][::std::mem::size_of::<_zend_compiler_globals>() - 616usize];
6716 ["Alignment of _zend_compiler_globals"]
6717 [::std::mem::align_of::<_zend_compiler_globals>() - 8usize];
6718 ["Offset of field: _zend_compiler_globals::loop_var_stack"]
6719 [::std::mem::offset_of!(_zend_compiler_globals, loop_var_stack) - 0usize];
6720 ["Offset of field: _zend_compiler_globals::active_class_entry"]
6721 [::std::mem::offset_of!(_zend_compiler_globals, active_class_entry) - 24usize];
6722 ["Offset of field: _zend_compiler_globals::compiled_filename"]
6723 [::std::mem::offset_of!(_zend_compiler_globals, compiled_filename) - 32usize];
6724 ["Offset of field: _zend_compiler_globals::zend_lineno"]
6725 [::std::mem::offset_of!(_zend_compiler_globals, zend_lineno) - 40usize];
6726 ["Offset of field: _zend_compiler_globals::active_op_array"]
6727 [::std::mem::offset_of!(_zend_compiler_globals, active_op_array) - 48usize];
6728 ["Offset of field: _zend_compiler_globals::function_table"]
6729 [::std::mem::offset_of!(_zend_compiler_globals, function_table) - 56usize];
6730 ["Offset of field: _zend_compiler_globals::class_table"]
6731 [::std::mem::offset_of!(_zend_compiler_globals, class_table) - 64usize];
6732 ["Offset of field: _zend_compiler_globals::auto_globals"]
6733 [::std::mem::offset_of!(_zend_compiler_globals, auto_globals) - 72usize];
6734 ["Offset of field: _zend_compiler_globals::parse_error"]
6735 [::std::mem::offset_of!(_zend_compiler_globals, parse_error) - 80usize];
6736 ["Offset of field: _zend_compiler_globals::in_compilation"]
6737 [::std::mem::offset_of!(_zend_compiler_globals, in_compilation) - 81usize];
6738 ["Offset of field: _zend_compiler_globals::short_tags"]
6739 [::std::mem::offset_of!(_zend_compiler_globals, short_tags) - 82usize];
6740 ["Offset of field: _zend_compiler_globals::unclean_shutdown"]
6741 [::std::mem::offset_of!(_zend_compiler_globals, unclean_shutdown) - 83usize];
6742 ["Offset of field: _zend_compiler_globals::ini_parser_unbuffered_errors"]
6743 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_unbuffered_errors) - 84usize];
6744 ["Offset of field: _zend_compiler_globals::open_files"]
6745 [::std::mem::offset_of!(_zend_compiler_globals, open_files) - 88usize];
6746 ["Offset of field: _zend_compiler_globals::ini_parser_param"]
6747 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_param) - 144usize];
6748 ["Offset of field: _zend_compiler_globals::skip_shebang"]
6749 [::std::mem::offset_of!(_zend_compiler_globals, skip_shebang) - 152usize];
6750 ["Offset of field: _zend_compiler_globals::increment_lineno"]
6751 [::std::mem::offset_of!(_zend_compiler_globals, increment_lineno) - 153usize];
6752 ["Offset of field: _zend_compiler_globals::variable_width_locale"]
6753 [::std::mem::offset_of!(_zend_compiler_globals, variable_width_locale) - 154usize];
6754 ["Offset of field: _zend_compiler_globals::ascii_compatible_locale"]
6755 [::std::mem::offset_of!(_zend_compiler_globals, ascii_compatible_locale) - 155usize];
6756 ["Offset of field: _zend_compiler_globals::doc_comment"]
6757 [::std::mem::offset_of!(_zend_compiler_globals, doc_comment) - 160usize];
6758 ["Offset of field: _zend_compiler_globals::extra_fn_flags"]
6759 [::std::mem::offset_of!(_zend_compiler_globals, extra_fn_flags) - 168usize];
6760 ["Offset of field: _zend_compiler_globals::compiler_options"]
6761 [::std::mem::offset_of!(_zend_compiler_globals, compiler_options) - 172usize];
6762 ["Offset of field: _zend_compiler_globals::context"]
6763 [::std::mem::offset_of!(_zend_compiler_globals, context) - 176usize];
6764 ["Offset of field: _zend_compiler_globals::file_context"]
6765 [::std::mem::offset_of!(_zend_compiler_globals, file_context) - 256usize];
6766 ["Offset of field: _zend_compiler_globals::arena"]
6767 [::std::mem::offset_of!(_zend_compiler_globals, arena) - 360usize];
6768 ["Offset of field: _zend_compiler_globals::interned_strings"]
6769 [::std::mem::offset_of!(_zend_compiler_globals, interned_strings) - 368usize];
6770 ["Offset of field: _zend_compiler_globals::script_encoding_list"]
6771 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list) - 424usize];
6772 ["Offset of field: _zend_compiler_globals::script_encoding_list_size"]
6773 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list_size) - 432usize];
6774 ["Offset of field: _zend_compiler_globals::multibyte"]
6775 [::std::mem::offset_of!(_zend_compiler_globals, multibyte) - 440usize];
6776 ["Offset of field: _zend_compiler_globals::detect_unicode"]
6777 [::std::mem::offset_of!(_zend_compiler_globals, detect_unicode) - 441usize];
6778 ["Offset of field: _zend_compiler_globals::encoding_declared"]
6779 [::std::mem::offset_of!(_zend_compiler_globals, encoding_declared) - 442usize];
6780 ["Offset of field: _zend_compiler_globals::ast"]
6781 [::std::mem::offset_of!(_zend_compiler_globals, ast) - 448usize];
6782 ["Offset of field: _zend_compiler_globals::ast_arena"]
6783 [::std::mem::offset_of!(_zend_compiler_globals, ast_arena) - 456usize];
6784 ["Offset of field: _zend_compiler_globals::delayed_oplines_stack"]
6785 [::std::mem::offset_of!(_zend_compiler_globals, delayed_oplines_stack) - 464usize];
6786 ["Offset of field: _zend_compiler_globals::memoized_exprs"]
6787 [::std::mem::offset_of!(_zend_compiler_globals, memoized_exprs) - 488usize];
6788 ["Offset of field: _zend_compiler_globals::memoize_mode"]
6789 [::std::mem::offset_of!(_zend_compiler_globals, memoize_mode) - 496usize];
6790 ["Offset of field: _zend_compiler_globals::map_ptr_real_base"]
6791 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_real_base) - 504usize];
6792 ["Offset of field: _zend_compiler_globals::map_ptr_base"]
6793 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_base) - 512usize];
6794 ["Offset of field: _zend_compiler_globals::map_ptr_size"]
6795 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_size) - 520usize];
6796 ["Offset of field: _zend_compiler_globals::map_ptr_last"]
6797 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_last) - 528usize];
6798 ["Offset of field: _zend_compiler_globals::delayed_variance_obligations"]
6799 [::std::mem::offset_of!(_zend_compiler_globals, delayed_variance_obligations) - 536usize];
6800 ["Offset of field: _zend_compiler_globals::delayed_autoloads"]
6801 [::std::mem::offset_of!(_zend_compiler_globals, delayed_autoloads) - 544usize];
6802 ["Offset of field: _zend_compiler_globals::unlinked_uses"]
6803 [::std::mem::offset_of!(_zend_compiler_globals, unlinked_uses) - 552usize];
6804 ["Offset of field: _zend_compiler_globals::current_linking_class"]
6805 [::std::mem::offset_of!(_zend_compiler_globals, current_linking_class) - 560usize];
6806 ["Offset of field: _zend_compiler_globals::rtd_key_counter"]
6807 [::std::mem::offset_of!(_zend_compiler_globals, rtd_key_counter) - 568usize];
6808 ["Offset of field: _zend_compiler_globals::internal_run_time_cache"]
6809 [::std::mem::offset_of!(_zend_compiler_globals, internal_run_time_cache) - 576usize];
6810 ["Offset of field: _zend_compiler_globals::internal_run_time_cache_size"]
6811 [::std::mem::offset_of!(_zend_compiler_globals, internal_run_time_cache_size) - 584usize];
6812 ["Offset of field: _zend_compiler_globals::short_circuiting_opnums"]
6813 [::std::mem::offset_of!(_zend_compiler_globals, short_circuiting_opnums) - 592usize];
6814};
6815extern "C" {
6816 pub static mut compiler_globals: _zend_compiler_globals;
6817}
6818extern "C" {
6819 pub fn zendparse() -> ::std::os::raw::c_int;
6820}
6821extern "C" {
6822 pub static mut executor_globals: zend_executor_globals;
6823}
6824extern "C" {
6825 pub static mut language_scanner_globals: zend_php_scanner_globals;
6826}
6827extern "C" {
6828 pub static mut ini_scanner_globals: zend_ini_scanner_globals;
6829}
6830#[repr(C)]
6831#[derive(Debug, Copy, Clone)]
6832pub struct zend_atomic_bool_s {
6833 pub value: u8,
6834}
6835#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6836const _: () = {
6837 ["Size of zend_atomic_bool_s"][::std::mem::size_of::<zend_atomic_bool_s>() - 1usize];
6838 ["Alignment of zend_atomic_bool_s"][::std::mem::align_of::<zend_atomic_bool_s>() - 1usize];
6839 ["Offset of field: zend_atomic_bool_s::value"]
6840 [::std::mem::offset_of!(zend_atomic_bool_s, value) - 0usize];
6841};
6842pub type zend_atomic_bool = zend_atomic_bool_s;
6843#[repr(C)]
6844#[derive(Debug, Copy, Clone)]
6845pub struct zend_atomic_int_s {
6846 pub value: u32,
6847}
6848#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6849const _: () = {
6850 ["Size of zend_atomic_int_s"][::std::mem::size_of::<zend_atomic_int_s>() - 4usize];
6851 ["Alignment of zend_atomic_int_s"][::std::mem::align_of::<zend_atomic_int_s>() - 4usize];
6852 ["Offset of field: zend_atomic_int_s::value"]
6853 [::std::mem::offset_of!(zend_atomic_int_s, value) - 0usize];
6854};
6855pub type zend_atomic_int = zend_atomic_int_s;
6856extern "C" {
6857 pub fn zend_atomic_bool_init(obj: *mut zend_atomic_bool, desired: bool);
6858}
6859extern "C" {
6860 pub fn zend_atomic_int_init(obj: *mut zend_atomic_int, desired: ::std::os::raw::c_int);
6861}
6862extern "C" {
6863 pub fn zend_atomic_bool_exchange(obj: *mut zend_atomic_bool, desired: bool) -> bool;
6864}
6865extern "C" {
6866 pub fn zend_atomic_int_exchange(
6867 obj: *mut zend_atomic_int,
6868 desired: ::std::os::raw::c_int,
6869 ) -> ::std::os::raw::c_int;
6870}
6871extern "C" {
6872 pub fn zend_atomic_bool_compare_exchange(
6873 obj: *mut zend_atomic_bool,
6874 expected: *mut bool,
6875 desired: bool,
6876 ) -> bool;
6877}
6878extern "C" {
6879 pub fn zend_atomic_int_compare_exchange(
6880 obj: *mut zend_atomic_int,
6881 expected: *mut ::std::os::raw::c_int,
6882 desired: ::std::os::raw::c_int,
6883 ) -> bool;
6884}
6885extern "C" {
6886 pub fn zend_atomic_bool_store(obj: *mut zend_atomic_bool, desired: bool);
6887}
6888extern "C" {
6889 pub fn zend_atomic_int_store(obj: *mut zend_atomic_int, desired: ::std::os::raw::c_int);
6890}
6891extern "C" {
6892 pub fn zend_atomic_bool_load(obj: *const zend_atomic_bool) -> bool;
6893}
6894extern "C" {
6895 pub fn zend_atomic_int_load(obj: *const zend_atomic_int) -> ::std::os::raw::c_int;
6896}
6897#[repr(C)]
6898#[derive(Debug, Copy, Clone)]
6899pub struct _zend_stack {
6900 pub size: ::std::os::raw::c_int,
6901 pub top: ::std::os::raw::c_int,
6902 pub max: ::std::os::raw::c_int,
6903 pub elements: *mut ::std::os::raw::c_void,
6904}
6905#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6906const _: () = {
6907 ["Size of _zend_stack"][::std::mem::size_of::<_zend_stack>() - 24usize];
6908 ["Alignment of _zend_stack"][::std::mem::align_of::<_zend_stack>() - 8usize];
6909 ["Offset of field: _zend_stack::size"][::std::mem::offset_of!(_zend_stack, size) - 0usize];
6910 ["Offset of field: _zend_stack::top"][::std::mem::offset_of!(_zend_stack, top) - 4usize];
6911 ["Offset of field: _zend_stack::max"][::std::mem::offset_of!(_zend_stack, max) - 8usize];
6912 ["Offset of field: _zend_stack::elements"]
6913 [::std::mem::offset_of!(_zend_stack, elements) - 16usize];
6914};
6915pub type zend_stack = _zend_stack;
6916pub const zend_stack_apply_direction_ZEND_STACK_APPLY_TOPDOWN: zend_stack_apply_direction = 0;
6917pub const zend_stack_apply_direction_ZEND_STACK_APPLY_BOTTOMUP: zend_stack_apply_direction = 1;
6918pub type zend_stack_apply_direction = ::std::os::raw::c_uint;
6919extern "C" {
6920 pub fn zend_stack_init(stack: *mut zend_stack, size: ::std::os::raw::c_int);
6921}
6922extern "C" {
6923 pub fn zend_stack_push(
6924 stack: *mut zend_stack,
6925 element: *const ::std::os::raw::c_void,
6926 ) -> ::std::os::raw::c_int;
6927}
6928extern "C" {
6929 pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
6930}
6931extern "C" {
6932 pub fn zend_stack_del_top(stack: *mut zend_stack);
6933}
6934extern "C" {
6935 pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
6936}
6937extern "C" {
6938 pub fn zend_stack_is_empty(stack: *const zend_stack) -> bool;
6939}
6940extern "C" {
6941 pub fn zend_stack_destroy(stack: *mut zend_stack);
6942}
6943extern "C" {
6944 pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
6945}
6946extern "C" {
6947 pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
6948}
6949extern "C" {
6950 pub fn zend_stack_apply(
6951 stack: *mut zend_stack,
6952 type_: ::std::os::raw::c_int,
6953 apply_function: ::std::option::Option<
6954 unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
6955 >,
6956 );
6957}
6958extern "C" {
6959 pub fn zend_stack_apply_with_argument(
6960 stack: *mut zend_stack,
6961 type_: zend_stack_apply_direction,
6962 apply_function: ::std::option::Option<
6963 unsafe extern "C" fn(
6964 element: *mut ::std::os::raw::c_void,
6965 arg: *mut ::std::os::raw::c_void,
6966 ) -> ::std::os::raw::c_int,
6967 >,
6968 arg: *mut ::std::os::raw::c_void,
6969 );
6970}
6971extern "C" {
6972 pub fn zend_stack_clean(
6973 stack: *mut zend_stack,
6974 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6975 free_elements: bool,
6976 );
6977}
6978#[repr(C)]
6979#[derive(Debug, Copy, Clone)]
6980pub struct _zend_ptr_stack {
6981 pub top: ::std::os::raw::c_int,
6982 pub max: ::std::os::raw::c_int,
6983 pub elements: *mut *mut ::std::os::raw::c_void,
6984 pub top_element: *mut *mut ::std::os::raw::c_void,
6985 pub persistent: bool,
6986}
6987#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6988const _: () = {
6989 ["Size of _zend_ptr_stack"][::std::mem::size_of::<_zend_ptr_stack>() - 32usize];
6990 ["Alignment of _zend_ptr_stack"][::std::mem::align_of::<_zend_ptr_stack>() - 8usize];
6991 ["Offset of field: _zend_ptr_stack::top"]
6992 [::std::mem::offset_of!(_zend_ptr_stack, top) - 0usize];
6993 ["Offset of field: _zend_ptr_stack::max"]
6994 [::std::mem::offset_of!(_zend_ptr_stack, max) - 4usize];
6995 ["Offset of field: _zend_ptr_stack::elements"]
6996 [::std::mem::offset_of!(_zend_ptr_stack, elements) - 8usize];
6997 ["Offset of field: _zend_ptr_stack::top_element"]
6998 [::std::mem::offset_of!(_zend_ptr_stack, top_element) - 16usize];
6999 ["Offset of field: _zend_ptr_stack::persistent"]
7000 [::std::mem::offset_of!(_zend_ptr_stack, persistent) - 24usize];
7001};
7002pub type zend_ptr_stack = _zend_ptr_stack;
7003extern "C" {
7004 pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
7005}
7006extern "C" {
7007 pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: bool);
7008}
7009extern "C" {
7010 pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
7011}
7012extern "C" {
7013 pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
7014}
7015extern "C" {
7016 pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
7017}
7018extern "C" {
7019 pub fn zend_ptr_stack_apply(
7020 stack: *mut zend_ptr_stack,
7021 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
7022 );
7023}
7024extern "C" {
7025 pub fn zend_ptr_stack_reverse_apply(
7026 stack: *mut zend_ptr_stack,
7027 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
7028 );
7029}
7030extern "C" {
7031 pub fn zend_ptr_stack_clean(
7032 stack: *mut zend_ptr_stack,
7033 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
7034 free_elements: bool,
7035 );
7036}
7037extern "C" {
7038 pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
7039}
7040extern "C" {
7041 pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
7042}
7043extern "C" {
7044 pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
7045}
7046extern "C" {
7047 pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
7048}
7049extern "C" {
7050 pub fn zend_object_std_dtor(object: *mut zend_object);
7051}
7052extern "C" {
7053 pub fn zend_objects_destroy_object(object: *mut zend_object);
7054}
7055extern "C" {
7056 pub fn zend_objects_clone_obj(object: *mut zend_object) -> *mut zend_object;
7057}
7058extern "C" {
7059 pub fn zend_objects_clone_obj_with(
7060 object: *mut zend_object,
7061 scope: *const zend_class_entry,
7062 properties: *const HashTable,
7063 ) -> *mut zend_object;
7064}
7065extern "C" {
7066 pub fn zend_object_dtor_dynamic_properties(object: *mut zend_object);
7067}
7068extern "C" {
7069 pub fn zend_object_dtor_property(object: *mut zend_object, p: *mut zval);
7070}
7071#[repr(C)]
7072#[derive(Debug, Copy, Clone)]
7073pub struct _zend_objects_store {
7074 pub object_buckets: *mut *mut zend_object,
7075 pub top: u32,
7076 pub size: u32,
7077 pub free_list_head: ::std::os::raw::c_int,
7078}
7079#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7080const _: () = {
7081 ["Size of _zend_objects_store"][::std::mem::size_of::<_zend_objects_store>() - 24usize];
7082 ["Alignment of _zend_objects_store"][::std::mem::align_of::<_zend_objects_store>() - 8usize];
7083 ["Offset of field: _zend_objects_store::object_buckets"]
7084 [::std::mem::offset_of!(_zend_objects_store, object_buckets) - 0usize];
7085 ["Offset of field: _zend_objects_store::top"]
7086 [::std::mem::offset_of!(_zend_objects_store, top) - 8usize];
7087 ["Offset of field: _zend_objects_store::size"]
7088 [::std::mem::offset_of!(_zend_objects_store, size) - 12usize];
7089 ["Offset of field: _zend_objects_store::free_list_head"]
7090 [::std::mem::offset_of!(_zend_objects_store, free_list_head) - 16usize];
7091};
7092pub type zend_objects_store = _zend_objects_store;
7093extern "C" {
7094 pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
7095}
7096extern "C" {
7097 pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
7098}
7099extern "C" {
7100 pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
7101}
7102extern "C" {
7103 pub fn zend_objects_store_free_object_storage(
7104 objects: *mut zend_objects_store,
7105 fast_shutdown: bool,
7106 );
7107}
7108extern "C" {
7109 pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
7110}
7111extern "C" {
7112 pub fn zend_objects_store_put(object: *mut zend_object);
7113}
7114extern "C" {
7115 pub fn zend_objects_store_del(object: *mut zend_object);
7116}
7117extern "C" {
7118 pub fn zend_get_property_info_for_slot_slow(
7119 obj: *mut zend_object,
7120 slot: *mut zval,
7121 ) -> *mut zend_property_info;
7122}
7123extern "C" {
7124 pub fn zend_init_fpu();
7125}
7126extern "C" {
7127 pub fn zend_shutdown_fpu();
7128}
7129extern "C" {
7130 pub fn zend_ensure_fpu_mode();
7131}
7132#[repr(C)]
7133#[derive(Debug, Copy, Clone)]
7134pub struct _zend_encoding {
7135 _unused: [u8; 0],
7136}
7137pub type zend_encoding = _zend_encoding;
7138pub type zend_encoding_filter = ::std::option::Option<
7139 unsafe extern "C" fn(
7140 str_: *mut *mut ::std::os::raw::c_uchar,
7141 str_length: *mut usize,
7142 buf: *const ::std::os::raw::c_uchar,
7143 length: usize,
7144 ) -> usize,
7145>;
7146pub type zend_encoding_fetcher = ::std::option::Option<
7147 unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
7148>;
7149pub type zend_encoding_name_getter = ::std::option::Option<
7150 unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
7151>;
7152pub type zend_encoding_lexer_compatibility_checker =
7153 ::std::option::Option<unsafe extern "C" fn(encoding: *const zend_encoding) -> bool>;
7154pub type zend_encoding_detector = ::std::option::Option<
7155 unsafe extern "C" fn(
7156 string: *const ::std::os::raw::c_uchar,
7157 length: usize,
7158 list: *mut *const zend_encoding,
7159 list_size: usize,
7160 ) -> *const zend_encoding,
7161>;
7162pub type zend_encoding_converter = ::std::option::Option<
7163 unsafe extern "C" fn(
7164 to: *mut *mut ::std::os::raw::c_uchar,
7165 to_length: *mut usize,
7166 from: *const ::std::os::raw::c_uchar,
7167 from_length: usize,
7168 encoding_to: *const zend_encoding,
7169 encoding_from: *const zend_encoding,
7170 ) -> usize,
7171>;
7172pub type zend_encoding_list_parser = ::std::option::Option<
7173 unsafe extern "C" fn(
7174 encoding_list: *const ::std::os::raw::c_char,
7175 encoding_list_len: usize,
7176 return_list: *mut *mut *const zend_encoding,
7177 return_size: *mut usize,
7178 persistent: bool,
7179 ) -> zend_result,
7180>;
7181pub type zend_encoding_internal_encoding_getter =
7182 ::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
7183pub type zend_encoding_internal_encoding_setter =
7184 ::std::option::Option<unsafe extern "C" fn(encoding: *const zend_encoding) -> zend_result>;
7185#[repr(C)]
7186#[derive(Debug, Copy, Clone)]
7187pub struct _zend_multibyte_functions {
7188 pub provider_name: *const ::std::os::raw::c_char,
7189 pub encoding_fetcher: zend_encoding_fetcher,
7190 pub encoding_name_getter: zend_encoding_name_getter,
7191 pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
7192 pub encoding_detector: zend_encoding_detector,
7193 pub encoding_converter: zend_encoding_converter,
7194 pub encoding_list_parser: zend_encoding_list_parser,
7195 pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
7196 pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
7197}
7198#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7199const _: () = {
7200 ["Size of _zend_multibyte_functions"]
7201 [::std::mem::size_of::<_zend_multibyte_functions>() - 72usize];
7202 ["Alignment of _zend_multibyte_functions"]
7203 [::std::mem::align_of::<_zend_multibyte_functions>() - 8usize];
7204 ["Offset of field: _zend_multibyte_functions::provider_name"]
7205 [::std::mem::offset_of!(_zend_multibyte_functions, provider_name) - 0usize];
7206 ["Offset of field: _zend_multibyte_functions::encoding_fetcher"]
7207 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_fetcher) - 8usize];
7208 ["Offset of field: _zend_multibyte_functions::encoding_name_getter"]
7209 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_name_getter) - 16usize];
7210 ["Offset of field: _zend_multibyte_functions::lexer_compatibility_checker"]
7211 [::std::mem::offset_of!(_zend_multibyte_functions, lexer_compatibility_checker) - 24usize];
7212 ["Offset of field: _zend_multibyte_functions::encoding_detector"]
7213 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_detector) - 32usize];
7214 ["Offset of field: _zend_multibyte_functions::encoding_converter"]
7215 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_converter) - 40usize];
7216 ["Offset of field: _zend_multibyte_functions::encoding_list_parser"]
7217 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_list_parser) - 48usize];
7218 ["Offset of field: _zend_multibyte_functions::internal_encoding_getter"]
7219 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_getter) - 56usize];
7220 ["Offset of field: _zend_multibyte_functions::internal_encoding_setter"]
7221 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_setter) - 64usize];
7222};
7223pub type zend_multibyte_functions = _zend_multibyte_functions;
7224extern "C" {
7225 pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
7226}
7227extern "C" {
7228 pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
7229}
7230extern "C" {
7231 pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
7232}
7233extern "C" {
7234 pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
7235}
7236extern "C" {
7237 pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
7238}
7239extern "C" {
7240 pub fn zend_multibyte_set_functions(functions: *const zend_multibyte_functions) -> zend_result;
7241}
7242extern "C" {
7243 pub fn zend_multibyte_restore_functions();
7244}
7245extern "C" {
7246 pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
7247}
7248extern "C" {
7249 pub fn zend_multibyte_fetch_encoding(
7250 name: *const ::std::os::raw::c_char,
7251 ) -> *const zend_encoding;
7252}
7253extern "C" {
7254 pub fn zend_multibyte_get_encoding_name(
7255 encoding: *const zend_encoding,
7256 ) -> *const ::std::os::raw::c_char;
7257}
7258extern "C" {
7259 pub fn zend_multibyte_check_lexer_compatibility(
7260 encoding: *const zend_encoding,
7261 ) -> ::std::os::raw::c_int;
7262}
7263extern "C" {
7264 pub fn zend_multibyte_encoding_detector(
7265 string: *const ::std::os::raw::c_uchar,
7266 length: usize,
7267 list: *mut *const zend_encoding,
7268 list_size: usize,
7269 ) -> *const zend_encoding;
7270}
7271extern "C" {
7272 pub fn zend_multibyte_encoding_converter(
7273 to: *mut *mut ::std::os::raw::c_uchar,
7274 to_length: *mut usize,
7275 from: *const ::std::os::raw::c_uchar,
7276 from_length: usize,
7277 encoding_to: *const zend_encoding,
7278 encoding_from: *const zend_encoding,
7279 ) -> usize;
7280}
7281extern "C" {
7282 pub fn zend_multibyte_parse_encoding_list(
7283 encoding_list: *const ::std::os::raw::c_char,
7284 encoding_list_len: usize,
7285 return_list: *mut *mut *const zend_encoding,
7286 return_size: *mut usize,
7287 persistent: bool,
7288 ) -> zend_result;
7289}
7290extern "C" {
7291 pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
7292}
7293extern "C" {
7294 pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
7295}
7296extern "C" {
7297 pub fn zend_multibyte_set_script_encoding(
7298 encoding_list: *mut *const zend_encoding,
7299 encoding_list_size: usize,
7300 ) -> zend_result;
7301}
7302extern "C" {
7303 pub fn zend_multibyte_set_internal_encoding(encoding: *const zend_encoding) -> zend_result;
7304}
7305extern "C" {
7306 pub fn zend_multibyte_set_script_encoding_by_string(
7307 new_value: *const ::std::os::raw::c_char,
7308 new_value_length: usize,
7309 ) -> zend_result;
7310}
7311pub type zend_arena = _zend_arena;
7312#[repr(C)]
7313#[derive(Debug, Copy, Clone)]
7314pub struct _zend_arena {
7315 pub ptr: *mut ::std::os::raw::c_char,
7316 pub end: *mut ::std::os::raw::c_char,
7317 pub prev: *mut zend_arena,
7318}
7319#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7320const _: () = {
7321 ["Size of _zend_arena"][::std::mem::size_of::<_zend_arena>() - 24usize];
7322 ["Alignment of _zend_arena"][::std::mem::align_of::<_zend_arena>() - 8usize];
7323 ["Offset of field: _zend_arena::ptr"][::std::mem::offset_of!(_zend_arena, ptr) - 0usize];
7324 ["Offset of field: _zend_arena::end"][::std::mem::offset_of!(_zend_arena, end) - 8usize];
7325 ["Offset of field: _zend_arena::prev"][::std::mem::offset_of!(_zend_arena, prev) - 16usize];
7326};
7327#[repr(C)]
7328#[derive(Debug, Copy, Clone)]
7329pub struct _zend_call_stack {
7330 pub base: *mut ::std::os::raw::c_void,
7331 pub max_size: usize,
7332}
7333#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7334const _: () = {
7335 ["Size of _zend_call_stack"][::std::mem::size_of::<_zend_call_stack>() - 16usize];
7336 ["Alignment of _zend_call_stack"][::std::mem::align_of::<_zend_call_stack>() - 8usize];
7337 ["Offset of field: _zend_call_stack::base"]
7338 [::std::mem::offset_of!(_zend_call_stack, base) - 0usize];
7339 ["Offset of field: _zend_call_stack::max_size"]
7340 [::std::mem::offset_of!(_zend_call_stack, max_size) - 8usize];
7341};
7342pub type zend_call_stack = _zend_call_stack;
7343extern "C" {
7344 pub fn zend_call_stack_init();
7345}
7346extern "C" {
7347 pub fn zend_call_stack_get(stack: *mut zend_call_stack) -> bool;
7348}
7349pub type zend_vm_stack = *mut _zend_vm_stack;
7350pub type zend_ini_entry = _zend_ini_entry;
7351#[repr(C)]
7352#[derive(Debug, Copy, Clone)]
7353pub struct _zend_fiber_context {
7354 _unused: [u8; 0],
7355}
7356pub type zend_fiber_context = _zend_fiber_context;
7357#[repr(C)]
7358#[derive(Debug, Copy, Clone)]
7359pub struct _zend_fiber {
7360 _unused: [u8; 0],
7361}
7362pub type zend_fiber = _zend_fiber;
7363pub const zend_memoize_mode_ZEND_MEMOIZE_NONE: zend_memoize_mode = 0;
7364pub const zend_memoize_mode_ZEND_MEMOIZE_COMPILE: zend_memoize_mode = 1;
7365pub const zend_memoize_mode_ZEND_MEMOIZE_FETCH: zend_memoize_mode = 2;
7366pub type zend_memoize_mode = ::std::os::raw::c_uint;
7367#[repr(C)]
7368#[derive(Copy, Clone)]
7369pub struct _zend_executor_globals {
7370 pub uninitialized_zval: zval,
7371 pub error_zval: zval,
7372 pub symtable_cache: [*mut zend_array; 32usize],
7373 pub symtable_cache_limit: *mut *mut zend_array,
7374 pub symtable_cache_ptr: *mut *mut zend_array,
7375 pub symbol_table: zend_array,
7376 pub included_files: HashTable,
7377 pub bailout: *mut sigjmp_buf,
7378 pub error_reporting: ::std::os::raw::c_int,
7379 pub fatal_error_backtrace_on: bool,
7380 pub last_fatal_error_backtrace: zval,
7381 pub exit_status: ::std::os::raw::c_int,
7382 pub function_table: *mut HashTable,
7383 pub class_table: *mut HashTable,
7384 pub zend_constants: *mut HashTable,
7385 pub vm_stack_top: *mut zval,
7386 pub vm_stack_end: *mut zval,
7387 pub vm_stack: zend_vm_stack,
7388 pub vm_stack_page_size: usize,
7389 pub current_execute_data: *mut _zend_execute_data,
7390 pub fake_scope: *const zend_class_entry,
7391 pub jit_trace_num: u32,
7392 pub current_observed_frame: *mut zend_execute_data,
7393 pub ticks_count: ::std::os::raw::c_int,
7394 pub precision: zend_long,
7395 pub persistent_constants_count: u32,
7396 pub persistent_functions_count: u32,
7397 pub persistent_classes_count: u32,
7398 pub no_extensions: bool,
7399 pub full_tables_cleanup: bool,
7400 pub vm_interrupt: zend_atomic_bool,
7401 pub timed_out: zend_atomic_bool,
7402 pub in_autoload: *mut HashTable,
7403 pub hard_timeout: zend_long,
7404 pub stack_base: *mut ::std::os::raw::c_void,
7405 pub stack_limit: *mut ::std::os::raw::c_void,
7406 pub regular_list: HashTable,
7407 pub persistent_list: HashTable,
7408 pub user_error_handler_error_reporting: ::std::os::raw::c_int,
7409 pub exception_ignore_args: bool,
7410 pub user_error_handler: zval,
7411 pub user_exception_handler: zval,
7412 pub user_error_handlers_error_reporting: zend_stack,
7413 pub user_error_handlers: zend_stack,
7414 pub user_exception_handlers: zend_stack,
7415 pub exception_class: *mut zend_class_entry,
7416 pub error_handling: zend_error_handling_t,
7417 pub capture_warnings_during_sccp: ::std::os::raw::c_int,
7418 pub timeout_seconds: zend_long,
7419 pub ini_directives: *mut HashTable,
7420 pub modified_ini_directives: *mut HashTable,
7421 pub error_reporting_ini_entry: *mut zend_ini_entry,
7422 pub objects_store: zend_objects_store,
7423 pub lazy_objects_store: zend_lazy_objects_store,
7424 pub exception: *mut zend_object,
7425 pub prev_exception: *mut zend_object,
7426 pub opline_before_exception: *const zend_op,
7427 pub exception_op: [zend_op; 3usize],
7428 pub current_module: *mut _zend_module_entry,
7429 pub active: bool,
7430 pub flags: u8,
7431 pub assertions: zend_long,
7432 pub ht_iterators_count: u32,
7433 pub ht_iterators_used: u32,
7434 pub ht_iterators: *mut HashTableIterator,
7435 pub ht_iterators_slots: [HashTableIterator; 16usize],
7436 pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
7437 pub trampoline: zend_function,
7438 pub call_trampoline_op: zend_op,
7439 pub weakrefs: HashTable,
7440 pub exception_string_param_max_len: zend_long,
7441 pub get_gc_buffer: zend_get_gc_buffer,
7442 pub main_fiber_context: *mut zend_fiber_context,
7443 pub current_fiber_context: *mut zend_fiber_context,
7444 pub active_fiber: *mut zend_fiber,
7445 pub fiber_stack_size: usize,
7446 pub record_errors: bool,
7447 pub num_errors: u32,
7448 pub errors: *mut *mut zend_error_info,
7449 pub filename_override: *mut zend_string,
7450 pub lineno_override: zend_long,
7451 pub call_stack: zend_call_stack,
7452 pub max_allowed_stack_size: zend_long,
7453 pub reserved_stack_size: zend_ulong,
7454 pub strtod_state: zend_strtod_state,
7455 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
7456}
7457#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7458const _: () = {
7459 ["Size of _zend_executor_globals"][::std::mem::size_of::<_zend_executor_globals>() - 1984usize];
7460 ["Alignment of _zend_executor_globals"]
7461 [::std::mem::align_of::<_zend_executor_globals>() - 8usize];
7462 ["Offset of field: _zend_executor_globals::uninitialized_zval"]
7463 [::std::mem::offset_of!(_zend_executor_globals, uninitialized_zval) - 0usize];
7464 ["Offset of field: _zend_executor_globals::error_zval"]
7465 [::std::mem::offset_of!(_zend_executor_globals, error_zval) - 16usize];
7466 ["Offset of field: _zend_executor_globals::symtable_cache"]
7467 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache) - 32usize];
7468 ["Offset of field: _zend_executor_globals::symtable_cache_limit"]
7469 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_limit) - 288usize];
7470 ["Offset of field: _zend_executor_globals::symtable_cache_ptr"]
7471 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_ptr) - 296usize];
7472 ["Offset of field: _zend_executor_globals::symbol_table"]
7473 [::std::mem::offset_of!(_zend_executor_globals, symbol_table) - 304usize];
7474 ["Offset of field: _zend_executor_globals::included_files"]
7475 [::std::mem::offset_of!(_zend_executor_globals, included_files) - 360usize];
7476 ["Offset of field: _zend_executor_globals::bailout"]
7477 [::std::mem::offset_of!(_zend_executor_globals, bailout) - 416usize];
7478 ["Offset of field: _zend_executor_globals::error_reporting"]
7479 [::std::mem::offset_of!(_zend_executor_globals, error_reporting) - 424usize];
7480 ["Offset of field: _zend_executor_globals::fatal_error_backtrace_on"]
7481 [::std::mem::offset_of!(_zend_executor_globals, fatal_error_backtrace_on) - 428usize];
7482 ["Offset of field: _zend_executor_globals::last_fatal_error_backtrace"]
7483 [::std::mem::offset_of!(_zend_executor_globals, last_fatal_error_backtrace) - 432usize];
7484 ["Offset of field: _zend_executor_globals::exit_status"]
7485 [::std::mem::offset_of!(_zend_executor_globals, exit_status) - 448usize];
7486 ["Offset of field: _zend_executor_globals::function_table"]
7487 [::std::mem::offset_of!(_zend_executor_globals, function_table) - 456usize];
7488 ["Offset of field: _zend_executor_globals::class_table"]
7489 [::std::mem::offset_of!(_zend_executor_globals, class_table) - 464usize];
7490 ["Offset of field: _zend_executor_globals::zend_constants"]
7491 [::std::mem::offset_of!(_zend_executor_globals, zend_constants) - 472usize];
7492 ["Offset of field: _zend_executor_globals::vm_stack_top"]
7493 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_top) - 480usize];
7494 ["Offset of field: _zend_executor_globals::vm_stack_end"]
7495 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_end) - 488usize];
7496 ["Offset of field: _zend_executor_globals::vm_stack"]
7497 [::std::mem::offset_of!(_zend_executor_globals, vm_stack) - 496usize];
7498 ["Offset of field: _zend_executor_globals::vm_stack_page_size"]
7499 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_page_size) - 504usize];
7500 ["Offset of field: _zend_executor_globals::current_execute_data"]
7501 [::std::mem::offset_of!(_zend_executor_globals, current_execute_data) - 512usize];
7502 ["Offset of field: _zend_executor_globals::fake_scope"]
7503 [::std::mem::offset_of!(_zend_executor_globals, fake_scope) - 520usize];
7504 ["Offset of field: _zend_executor_globals::jit_trace_num"]
7505 [::std::mem::offset_of!(_zend_executor_globals, jit_trace_num) - 528usize];
7506 ["Offset of field: _zend_executor_globals::current_observed_frame"]
7507 [::std::mem::offset_of!(_zend_executor_globals, current_observed_frame) - 536usize];
7508 ["Offset of field: _zend_executor_globals::ticks_count"]
7509 [::std::mem::offset_of!(_zend_executor_globals, ticks_count) - 544usize];
7510 ["Offset of field: _zend_executor_globals::precision"]
7511 [::std::mem::offset_of!(_zend_executor_globals, precision) - 552usize];
7512 ["Offset of field: _zend_executor_globals::persistent_constants_count"]
7513 [::std::mem::offset_of!(_zend_executor_globals, persistent_constants_count) - 560usize];
7514 ["Offset of field: _zend_executor_globals::persistent_functions_count"]
7515 [::std::mem::offset_of!(_zend_executor_globals, persistent_functions_count) - 564usize];
7516 ["Offset of field: _zend_executor_globals::persistent_classes_count"]
7517 [::std::mem::offset_of!(_zend_executor_globals, persistent_classes_count) - 568usize];
7518 ["Offset of field: _zend_executor_globals::no_extensions"]
7519 [::std::mem::offset_of!(_zend_executor_globals, no_extensions) - 572usize];
7520 ["Offset of field: _zend_executor_globals::full_tables_cleanup"]
7521 [::std::mem::offset_of!(_zend_executor_globals, full_tables_cleanup) - 573usize];
7522 ["Offset of field: _zend_executor_globals::vm_interrupt"]
7523 [::std::mem::offset_of!(_zend_executor_globals, vm_interrupt) - 574usize];
7524 ["Offset of field: _zend_executor_globals::timed_out"]
7525 [::std::mem::offset_of!(_zend_executor_globals, timed_out) - 575usize];
7526 ["Offset of field: _zend_executor_globals::in_autoload"]
7527 [::std::mem::offset_of!(_zend_executor_globals, in_autoload) - 576usize];
7528 ["Offset of field: _zend_executor_globals::hard_timeout"]
7529 [::std::mem::offset_of!(_zend_executor_globals, hard_timeout) - 584usize];
7530 ["Offset of field: _zend_executor_globals::stack_base"]
7531 [::std::mem::offset_of!(_zend_executor_globals, stack_base) - 592usize];
7532 ["Offset of field: _zend_executor_globals::stack_limit"]
7533 [::std::mem::offset_of!(_zend_executor_globals, stack_limit) - 600usize];
7534 ["Offset of field: _zend_executor_globals::regular_list"]
7535 [::std::mem::offset_of!(_zend_executor_globals, regular_list) - 608usize];
7536 ["Offset of field: _zend_executor_globals::persistent_list"]
7537 [::std::mem::offset_of!(_zend_executor_globals, persistent_list) - 664usize];
7538 ["Offset of field: _zend_executor_globals::user_error_handler_error_reporting"][::std::mem::offset_of!(
7539 _zend_executor_globals,
7540 user_error_handler_error_reporting
7541 ) - 720usize];
7542 ["Offset of field: _zend_executor_globals::exception_ignore_args"]
7543 [::std::mem::offset_of!(_zend_executor_globals, exception_ignore_args) - 724usize];
7544 ["Offset of field: _zend_executor_globals::user_error_handler"]
7545 [::std::mem::offset_of!(_zend_executor_globals, user_error_handler) - 728usize];
7546 ["Offset of field: _zend_executor_globals::user_exception_handler"]
7547 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handler) - 744usize];
7548 ["Offset of field: _zend_executor_globals::user_error_handlers_error_reporting"][::std::mem::offset_of!(
7549 _zend_executor_globals,
7550 user_error_handlers_error_reporting
7551 ) - 760usize];
7552 ["Offset of field: _zend_executor_globals::user_error_handlers"]
7553 [::std::mem::offset_of!(_zend_executor_globals, user_error_handlers) - 784usize];
7554 ["Offset of field: _zend_executor_globals::user_exception_handlers"]
7555 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handlers) - 808usize];
7556 ["Offset of field: _zend_executor_globals::exception_class"]
7557 [::std::mem::offset_of!(_zend_executor_globals, exception_class) - 832usize];
7558 ["Offset of field: _zend_executor_globals::error_handling"]
7559 [::std::mem::offset_of!(_zend_executor_globals, error_handling) - 840usize];
7560 ["Offset of field: _zend_executor_globals::capture_warnings_during_sccp"]
7561 [::std::mem::offset_of!(_zend_executor_globals, capture_warnings_during_sccp) - 844usize];
7562 ["Offset of field: _zend_executor_globals::timeout_seconds"]
7563 [::std::mem::offset_of!(_zend_executor_globals, timeout_seconds) - 848usize];
7564 ["Offset of field: _zend_executor_globals::ini_directives"]
7565 [::std::mem::offset_of!(_zend_executor_globals, ini_directives) - 856usize];
7566 ["Offset of field: _zend_executor_globals::modified_ini_directives"]
7567 [::std::mem::offset_of!(_zend_executor_globals, modified_ini_directives) - 864usize];
7568 ["Offset of field: _zend_executor_globals::error_reporting_ini_entry"]
7569 [::std::mem::offset_of!(_zend_executor_globals, error_reporting_ini_entry) - 872usize];
7570 ["Offset of field: _zend_executor_globals::objects_store"]
7571 [::std::mem::offset_of!(_zend_executor_globals, objects_store) - 880usize];
7572 ["Offset of field: _zend_executor_globals::lazy_objects_store"]
7573 [::std::mem::offset_of!(_zend_executor_globals, lazy_objects_store) - 904usize];
7574 ["Offset of field: _zend_executor_globals::exception"]
7575 [::std::mem::offset_of!(_zend_executor_globals, exception) - 960usize];
7576 ["Offset of field: _zend_executor_globals::prev_exception"]
7577 [::std::mem::offset_of!(_zend_executor_globals, prev_exception) - 968usize];
7578 ["Offset of field: _zend_executor_globals::opline_before_exception"]
7579 [::std::mem::offset_of!(_zend_executor_globals, opline_before_exception) - 976usize];
7580 ["Offset of field: _zend_executor_globals::exception_op"]
7581 [::std::mem::offset_of!(_zend_executor_globals, exception_op) - 984usize];
7582 ["Offset of field: _zend_executor_globals::current_module"]
7583 [::std::mem::offset_of!(_zend_executor_globals, current_module) - 1080usize];
7584 ["Offset of field: _zend_executor_globals::active"]
7585 [::std::mem::offset_of!(_zend_executor_globals, active) - 1088usize];
7586 ["Offset of field: _zend_executor_globals::flags"]
7587 [::std::mem::offset_of!(_zend_executor_globals, flags) - 1089usize];
7588 ["Offset of field: _zend_executor_globals::assertions"]
7589 [::std::mem::offset_of!(_zend_executor_globals, assertions) - 1096usize];
7590 ["Offset of field: _zend_executor_globals::ht_iterators_count"]
7591 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_count) - 1104usize];
7592 ["Offset of field: _zend_executor_globals::ht_iterators_used"]
7593 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_used) - 1108usize];
7594 ["Offset of field: _zend_executor_globals::ht_iterators"]
7595 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators) - 1112usize];
7596 ["Offset of field: _zend_executor_globals::ht_iterators_slots"]
7597 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_slots) - 1120usize];
7598 ["Offset of field: _zend_executor_globals::saved_fpu_cw_ptr"]
7599 [::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw_ptr) - 1376usize];
7600 ["Offset of field: _zend_executor_globals::trampoline"]
7601 [::std::mem::offset_of!(_zend_executor_globals, trampoline) - 1384usize];
7602 ["Offset of field: _zend_executor_globals::call_trampoline_op"]
7603 [::std::mem::offset_of!(_zend_executor_globals, call_trampoline_op) - 1640usize];
7604 ["Offset of field: _zend_executor_globals::weakrefs"]
7605 [::std::mem::offset_of!(_zend_executor_globals, weakrefs) - 1672usize];
7606 ["Offset of field: _zend_executor_globals::exception_string_param_max_len"][::std::mem::offset_of!(
7607 _zend_executor_globals,
7608 exception_string_param_max_len
7609 ) - 1728usize];
7610 ["Offset of field: _zend_executor_globals::get_gc_buffer"]
7611 [::std::mem::offset_of!(_zend_executor_globals, get_gc_buffer) - 1736usize];
7612 ["Offset of field: _zend_executor_globals::main_fiber_context"]
7613 [::std::mem::offset_of!(_zend_executor_globals, main_fiber_context) - 1760usize];
7614 ["Offset of field: _zend_executor_globals::current_fiber_context"]
7615 [::std::mem::offset_of!(_zend_executor_globals, current_fiber_context) - 1768usize];
7616 ["Offset of field: _zend_executor_globals::active_fiber"]
7617 [::std::mem::offset_of!(_zend_executor_globals, active_fiber) - 1776usize];
7618 ["Offset of field: _zend_executor_globals::fiber_stack_size"]
7619 [::std::mem::offset_of!(_zend_executor_globals, fiber_stack_size) - 1784usize];
7620 ["Offset of field: _zend_executor_globals::record_errors"]
7621 [::std::mem::offset_of!(_zend_executor_globals, record_errors) - 1792usize];
7622 ["Offset of field: _zend_executor_globals::num_errors"]
7623 [::std::mem::offset_of!(_zend_executor_globals, num_errors) - 1796usize];
7624 ["Offset of field: _zend_executor_globals::errors"]
7625 [::std::mem::offset_of!(_zend_executor_globals, errors) - 1800usize];
7626 ["Offset of field: _zend_executor_globals::filename_override"]
7627 [::std::mem::offset_of!(_zend_executor_globals, filename_override) - 1808usize];
7628 ["Offset of field: _zend_executor_globals::lineno_override"]
7629 [::std::mem::offset_of!(_zend_executor_globals, lineno_override) - 1816usize];
7630 ["Offset of field: _zend_executor_globals::call_stack"]
7631 [::std::mem::offset_of!(_zend_executor_globals, call_stack) - 1824usize];
7632 ["Offset of field: _zend_executor_globals::max_allowed_stack_size"]
7633 [::std::mem::offset_of!(_zend_executor_globals, max_allowed_stack_size) - 1840usize];
7634 ["Offset of field: _zend_executor_globals::reserved_stack_size"]
7635 [::std::mem::offset_of!(_zend_executor_globals, reserved_stack_size) - 1848usize];
7636 ["Offset of field: _zend_executor_globals::strtod_state"]
7637 [::std::mem::offset_of!(_zend_executor_globals, strtod_state) - 1856usize];
7638 ["Offset of field: _zend_executor_globals::reserved"]
7639 [::std::mem::offset_of!(_zend_executor_globals, reserved) - 1936usize];
7640};
7641#[repr(C)]
7642#[derive(Debug, Copy, Clone)]
7643pub struct _zend_ini_scanner_globals {
7644 pub yy_in: *mut zend_file_handle,
7645 pub yy_out: *mut zend_file_handle,
7646 pub yy_leng: ::std::os::raw::c_uint,
7647 pub yy_start: *const ::std::os::raw::c_uchar,
7648 pub yy_text: *const ::std::os::raw::c_uchar,
7649 pub yy_cursor: *const ::std::os::raw::c_uchar,
7650 pub yy_marker: *const ::std::os::raw::c_uchar,
7651 pub yy_limit: *const ::std::os::raw::c_uchar,
7652 pub yy_state: ::std::os::raw::c_int,
7653 pub state_stack: zend_stack,
7654 pub filename: *mut zend_string,
7655 pub lineno: ::std::os::raw::c_int,
7656 pub scanner_mode: ::std::os::raw::c_int,
7657}
7658#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7659const _: () = {
7660 ["Size of _zend_ini_scanner_globals"]
7661 [::std::mem::size_of::<_zend_ini_scanner_globals>() - 112usize];
7662 ["Alignment of _zend_ini_scanner_globals"]
7663 [::std::mem::align_of::<_zend_ini_scanner_globals>() - 8usize];
7664 ["Offset of field: _zend_ini_scanner_globals::yy_in"]
7665 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_in) - 0usize];
7666 ["Offset of field: _zend_ini_scanner_globals::yy_out"]
7667 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_out) - 8usize];
7668 ["Offset of field: _zend_ini_scanner_globals::yy_leng"]
7669 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_leng) - 16usize];
7670 ["Offset of field: _zend_ini_scanner_globals::yy_start"]
7671 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_start) - 24usize];
7672 ["Offset of field: _zend_ini_scanner_globals::yy_text"]
7673 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_text) - 32usize];
7674 ["Offset of field: _zend_ini_scanner_globals::yy_cursor"]
7675 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_cursor) - 40usize];
7676 ["Offset of field: _zend_ini_scanner_globals::yy_marker"]
7677 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_marker) - 48usize];
7678 ["Offset of field: _zend_ini_scanner_globals::yy_limit"]
7679 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_limit) - 56usize];
7680 ["Offset of field: _zend_ini_scanner_globals::yy_state"]
7681 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_state) - 64usize];
7682 ["Offset of field: _zend_ini_scanner_globals::state_stack"]
7683 [::std::mem::offset_of!(_zend_ini_scanner_globals, state_stack) - 72usize];
7684 ["Offset of field: _zend_ini_scanner_globals::filename"]
7685 [::std::mem::offset_of!(_zend_ini_scanner_globals, filename) - 96usize];
7686 ["Offset of field: _zend_ini_scanner_globals::lineno"]
7687 [::std::mem::offset_of!(_zend_ini_scanner_globals, lineno) - 104usize];
7688 ["Offset of field: _zend_ini_scanner_globals::scanner_mode"]
7689 [::std::mem::offset_of!(_zend_ini_scanner_globals, scanner_mode) - 108usize];
7690};
7691pub const zend_php_scanner_event_ON_TOKEN: zend_php_scanner_event = 0;
7692pub const zend_php_scanner_event_ON_FEEDBACK: zend_php_scanner_event = 1;
7693pub const zend_php_scanner_event_ON_STOP: zend_php_scanner_event = 2;
7694pub type zend_php_scanner_event = ::std::os::raw::c_uint;
7695#[repr(C)]
7696#[derive(Debug, Copy, Clone)]
7697pub struct _zend_php_scanner_globals {
7698 pub yy_in: *mut zend_file_handle,
7699 pub yy_out: *mut zend_file_handle,
7700 pub yy_leng: ::std::os::raw::c_uint,
7701 pub yy_start: *mut ::std::os::raw::c_uchar,
7702 pub yy_text: *mut ::std::os::raw::c_uchar,
7703 pub yy_cursor: *mut ::std::os::raw::c_uchar,
7704 pub yy_marker: *mut ::std::os::raw::c_uchar,
7705 pub yy_limit: *mut ::std::os::raw::c_uchar,
7706 pub yy_state: ::std::os::raw::c_int,
7707 pub state_stack: zend_stack,
7708 pub heredoc_label_stack: zend_ptr_stack,
7709 pub nest_location_stack: zend_stack,
7710 pub heredoc_scan_ahead: bool,
7711 pub heredoc_indentation: ::std::os::raw::c_int,
7712 pub heredoc_indentation_uses_spaces: bool,
7713 pub script_org: *mut ::std::os::raw::c_uchar,
7714 pub script_org_size: usize,
7715 pub script_filtered: *mut ::std::os::raw::c_uchar,
7716 pub script_filtered_size: usize,
7717 pub input_filter: zend_encoding_filter,
7718 pub output_filter: zend_encoding_filter,
7719 pub script_encoding: *const zend_encoding,
7720 pub scanned_string_len: ::std::os::raw::c_int,
7721 pub on_event: ::std::option::Option<
7722 unsafe extern "C" fn(
7723 event: zend_php_scanner_event,
7724 token: ::std::os::raw::c_int,
7725 line: ::std::os::raw::c_int,
7726 text: *const ::std::os::raw::c_char,
7727 length: usize,
7728 context: *mut ::std::os::raw::c_void,
7729 ),
7730 >,
7731 pub on_event_context: *mut ::std::os::raw::c_void,
7732}
7733#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7734const _: () = {
7735 ["Size of _zend_php_scanner_globals"]
7736 [::std::mem::size_of::<_zend_php_scanner_globals>() - 248usize];
7737 ["Alignment of _zend_php_scanner_globals"]
7738 [::std::mem::align_of::<_zend_php_scanner_globals>() - 8usize];
7739 ["Offset of field: _zend_php_scanner_globals::yy_in"]
7740 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_in) - 0usize];
7741 ["Offset of field: _zend_php_scanner_globals::yy_out"]
7742 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_out) - 8usize];
7743 ["Offset of field: _zend_php_scanner_globals::yy_leng"]
7744 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_leng) - 16usize];
7745 ["Offset of field: _zend_php_scanner_globals::yy_start"]
7746 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_start) - 24usize];
7747 ["Offset of field: _zend_php_scanner_globals::yy_text"]
7748 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_text) - 32usize];
7749 ["Offset of field: _zend_php_scanner_globals::yy_cursor"]
7750 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_cursor) - 40usize];
7751 ["Offset of field: _zend_php_scanner_globals::yy_marker"]
7752 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_marker) - 48usize];
7753 ["Offset of field: _zend_php_scanner_globals::yy_limit"]
7754 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_limit) - 56usize];
7755 ["Offset of field: _zend_php_scanner_globals::yy_state"]
7756 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_state) - 64usize];
7757 ["Offset of field: _zend_php_scanner_globals::state_stack"]
7758 [::std::mem::offset_of!(_zend_php_scanner_globals, state_stack) - 72usize];
7759 ["Offset of field: _zend_php_scanner_globals::heredoc_label_stack"]
7760 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_label_stack) - 96usize];
7761 ["Offset of field: _zend_php_scanner_globals::nest_location_stack"]
7762 [::std::mem::offset_of!(_zend_php_scanner_globals, nest_location_stack) - 128usize];
7763 ["Offset of field: _zend_php_scanner_globals::heredoc_scan_ahead"]
7764 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_scan_ahead) - 152usize];
7765 ["Offset of field: _zend_php_scanner_globals::heredoc_indentation"]
7766 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_indentation) - 156usize];
7767 ["Offset of field: _zend_php_scanner_globals::heredoc_indentation_uses_spaces"][::std::mem::offset_of!(
7768 _zend_php_scanner_globals,
7769 heredoc_indentation_uses_spaces
7770 ) - 160usize];
7771 ["Offset of field: _zend_php_scanner_globals::script_org"]
7772 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org) - 168usize];
7773 ["Offset of field: _zend_php_scanner_globals::script_org_size"]
7774 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org_size) - 176usize];
7775 ["Offset of field: _zend_php_scanner_globals::script_filtered"]
7776 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered) - 184usize];
7777 ["Offset of field: _zend_php_scanner_globals::script_filtered_size"]
7778 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered_size) - 192usize];
7779 ["Offset of field: _zend_php_scanner_globals::input_filter"]
7780 [::std::mem::offset_of!(_zend_php_scanner_globals, input_filter) - 200usize];
7781 ["Offset of field: _zend_php_scanner_globals::output_filter"]
7782 [::std::mem::offset_of!(_zend_php_scanner_globals, output_filter) - 208usize];
7783 ["Offset of field: _zend_php_scanner_globals::script_encoding"]
7784 [::std::mem::offset_of!(_zend_php_scanner_globals, script_encoding) - 216usize];
7785 ["Offset of field: _zend_php_scanner_globals::scanned_string_len"]
7786 [::std::mem::offset_of!(_zend_php_scanner_globals, scanned_string_len) - 224usize];
7787 ["Offset of field: _zend_php_scanner_globals::on_event"]
7788 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event) - 232usize];
7789 ["Offset of field: _zend_php_scanner_globals::on_event_context"]
7790 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event_context) - 240usize];
7791};
7792pub const _zend_compile_position_ZEND_COMPILE_POSITION_AT_SHEBANG: _zend_compile_position = 0;
7793pub const _zend_compile_position_ZEND_COMPILE_POSITION_AT_OPEN_TAG: _zend_compile_position = 1;
7794pub const _zend_compile_position_ZEND_COMPILE_POSITION_AFTER_OPEN_TAG: _zend_compile_position = 2;
7795pub type _zend_compile_position = ::std::os::raw::c_uint;
7796pub use self::_zend_compile_position as zend_compile_position;
7797extern "C" {
7798 pub fn zend_init_compiler_data_structures();
7799}
7800extern "C" {
7801 pub fn zend_oparray_context_begin(
7802 prev_context: *mut zend_oparray_context,
7803 op_array: *mut zend_op_array,
7804 );
7805}
7806extern "C" {
7807 pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
7808}
7809extern "C" {
7810 pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
7811}
7812extern "C" {
7813 pub fn zend_file_context_end(prev_context: *mut zend_file_context);
7814}
7815extern "C" {
7816 pub static mut zend_compile_file: ::std::option::Option<
7817 unsafe extern "C" fn(
7818 file_handle: *mut zend_file_handle,
7819 type_: ::std::os::raw::c_int,
7820 ) -> *mut zend_op_array,
7821 >;
7822}
7823extern "C" {
7824 pub static mut zend_compile_string: ::std::option::Option<
7825 unsafe extern "C" fn(
7826 source_string: *mut zend_string,
7827 filename: *const ::std::os::raw::c_char,
7828 position: zend_compile_position,
7829 ) -> *mut zend_op_array,
7830 >;
7831}
7832extern "C" {
7833 pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
7834}
7835extern "C" {
7836 pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
7837}
7838extern "C" {
7839 pub fn zend_get_compiled_filename() -> *mut zend_string;
7840}
7841extern "C" {
7842 pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
7843}
7844extern "C" {
7845 pub fn zend_get_scanned_file_offset() -> usize;
7846}
7847extern "C" {
7848 pub fn zend_get_compiled_variable_name(
7849 op_array: *const zend_op_array,
7850 var: u32,
7851 ) -> *mut zend_string;
7852}
7853extern "C" {
7854 pub fn zend_stop_lexing();
7855}
7856extern "C" {
7857 pub fn zend_emit_final_return(return_one: bool);
7858}
7859pub const zend_modifier_target_ZEND_MODIFIER_TARGET_PROPERTY: zend_modifier_target = 0;
7860pub const zend_modifier_target_ZEND_MODIFIER_TARGET_METHOD: zend_modifier_target = 1;
7861pub const zend_modifier_target_ZEND_MODIFIER_TARGET_CONSTANT: zend_modifier_target = 2;
7862pub const zend_modifier_target_ZEND_MODIFIER_TARGET_CPP: zend_modifier_target = 3;
7863pub const zend_modifier_target_ZEND_MODIFIER_TARGET_PROPERTY_HOOK: zend_modifier_target = 4;
7864pub type zend_modifier_target = ::std::os::raw::c_uint;
7865extern "C" {
7866 pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
7867}
7868extern "C" {
7869 pub fn zend_negate_num_string(ast: *mut zend_ast) -> *mut zend_ast;
7870}
7871extern "C" {
7872 pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
7873}
7874extern "C" {
7875 pub fn zend_add_anonymous_class_modifier(flags: u32, new_flag: u32) -> u32;
7876}
7877extern "C" {
7878 pub fn zend_add_member_modifier(flags: u32, new_flag: u32, target: zend_modifier_target)
7879 -> u32;
7880}
7881extern "C" {
7882 pub fn zend_modifier_token_to_flag(target: zend_modifier_target, flags: u32) -> u32;
7883}
7884extern "C" {
7885 pub fn zend_modifier_list_to_flags(
7886 target: zend_modifier_target,
7887 modifiers: *mut zend_ast,
7888 ) -> u32;
7889}
7890extern "C" {
7891 pub fn zend_handle_encoding_declaration(ast: *mut zend_ast) -> bool;
7892}
7893extern "C" {
7894 pub fn zend_bind_class_in_slot(
7895 class_table_slot: *mut zval,
7896 lcname: *mut zval,
7897 lc_parent_name: *mut zend_string,
7898 ) -> *mut zend_class_entry;
7899}
7900extern "C" {
7901 pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
7902}
7903extern "C" {
7904 pub fn zend_compile_string_to_ast(
7905 code: *mut zend_string,
7906 ast_arena: *mut *mut _zend_arena,
7907 filename: *mut zend_string,
7908 ) -> *mut zend_ast;
7909}
7910extern "C" {
7911 pub fn zend_execute_scripts(
7912 type_: ::std::os::raw::c_int,
7913 retval: *mut zval,
7914 file_count: ::std::os::raw::c_int,
7915 ...
7916 ) -> zend_result;
7917}
7918extern "C" {
7919 pub fn zend_execute_script(
7920 type_: ::std::os::raw::c_int,
7921 retval: *mut zval,
7922 file_handle: *mut zend_file_handle,
7923 ) -> zend_result;
7924}
7925extern "C" {
7926 pub fn zend_destroy_static_vars(op_array: *mut zend_op_array);
7927}
7928extern "C" {
7929 pub fn zend_cleanup_mutable_class_data(ce: *mut zend_class_entry);
7930}
7931extern "C" {
7932 pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
7933}
7934extern "C" {
7935 pub fn zend_type_release(type_: zend_type, persistent: bool);
7936}
7937extern "C" {
7938 pub fn zend_create_member_string(
7939 class_name: *mut zend_string,
7940 member_name: *mut zend_string,
7941 ) -> *mut zend_string;
7942}
7943extern "C" {
7944 pub fn zend_user_exception_handler();
7945}
7946extern "C" {
7947 pub fn zend_free_internal_arg_info(function: *mut zend_internal_function);
7948}
7949extern "C" {
7950 pub fn zend_function_dtor(zv: *mut zval);
7951}
7952extern "C" {
7953 pub fn zend_class_add_ref(zv: *mut zval);
7954}
7955extern "C" {
7956 pub fn zend_mangle_property_name(
7957 src1: *const ::std::os::raw::c_char,
7958 src1_length: usize,
7959 src2: *const ::std::os::raw::c_char,
7960 src2_length: usize,
7961 internal: bool,
7962 ) -> *mut zend_string;
7963}
7964extern "C" {
7965 pub fn zend_unmangle_property_name_ex(
7966 name: *const zend_string,
7967 class_name: *mut *const ::std::os::raw::c_char,
7968 prop_name: *mut *const ::std::os::raw::c_char,
7969 prop_len: *mut usize,
7970 ) -> zend_result;
7971}
7972pub type zend_needs_live_range_cb = ::std::option::Option<
7973 unsafe extern "C" fn(op_array: *mut zend_op_array, opline: *mut zend_op) -> bool,
7974>;
7975extern "C" {
7976 pub fn zend_recalc_live_ranges(
7977 op_array: *mut zend_op_array,
7978 needs_live_range: zend_needs_live_range_cb,
7979 );
7980}
7981extern "C" {
7982 pub fn zend_is_compiling() -> bool;
7983}
7984extern "C" {
7985 pub fn zend_make_compiled_string_description(
7986 name: *const ::std::os::raw::c_char,
7987 ) -> *mut ::std::os::raw::c_char;
7988}
7989extern "C" {
7990 pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: bool);
7991}
7992extern "C" {
7993 pub fn zend_get_class_fetch_type(name: *const zend_string) -> u32;
7994}
7995extern "C" {
7996 pub fn zend_get_call_op(
7997 init_op: *const zend_op,
7998 fbc: *mut zend_function,
7999 result_used: bool,
8000 ) -> u8;
8001}
8002extern "C" {
8003 pub fn zend_is_smart_branch(opline: *const zend_op) -> bool;
8004}
8005pub type zend_auto_global_callback =
8006 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> bool>;
8007#[repr(C)]
8008#[derive(Debug, Copy, Clone)]
8009pub struct _zend_auto_global {
8010 pub name: *mut zend_string,
8011 pub auto_global_callback: zend_auto_global_callback,
8012 pub jit: bool,
8013 pub armed: bool,
8014}
8015#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8016const _: () = {
8017 ["Size of _zend_auto_global"][::std::mem::size_of::<_zend_auto_global>() - 24usize];
8018 ["Alignment of _zend_auto_global"][::std::mem::align_of::<_zend_auto_global>() - 8usize];
8019 ["Offset of field: _zend_auto_global::name"]
8020 [::std::mem::offset_of!(_zend_auto_global, name) - 0usize];
8021 ["Offset of field: _zend_auto_global::auto_global_callback"]
8022 [::std::mem::offset_of!(_zend_auto_global, auto_global_callback) - 8usize];
8023 ["Offset of field: _zend_auto_global::jit"]
8024 [::std::mem::offset_of!(_zend_auto_global, jit) - 16usize];
8025 ["Offset of field: _zend_auto_global::armed"]
8026 [::std::mem::offset_of!(_zend_auto_global, armed) - 17usize];
8027};
8028pub type zend_auto_global = _zend_auto_global;
8029extern "C" {
8030 pub fn zend_register_auto_global(
8031 name: *mut zend_string,
8032 jit: bool,
8033 auto_global_callback: zend_auto_global_callback,
8034 ) -> zend_result;
8035}
8036extern "C" {
8037 pub fn zend_activate_auto_globals();
8038}
8039extern "C" {
8040 pub fn zend_is_auto_global(name: *mut zend_string) -> bool;
8041}
8042extern "C" {
8043 pub fn zend_is_auto_global_str(name: *const ::std::os::raw::c_char, len: usize) -> bool;
8044}
8045extern "C" {
8046 pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: usize) -> usize;
8047}
8048extern "C" {
8049 pub fn zend_set_function_arg_flags(func: *mut zend_function);
8050}
8051extern "C" {
8052 pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
8053}
8054extern "C" {
8055 pub fn zend_assert_valid_class_name(
8056 const_name: *const zend_string,
8057 type_: *const ::std::os::raw::c_char,
8058 );
8059}
8060extern "C" {
8061 pub fn zend_type_to_string_resolved(
8062 type_: zend_type,
8063 scope: *mut zend_class_entry,
8064 ) -> *mut zend_string;
8065}
8066extern "C" {
8067 pub fn zend_type_to_string(type_: zend_type) -> *mut zend_string;
8068}
8069extern "C" {
8070 pub fn zend_is_op_long_compatible(op: *const zval) -> bool;
8071}
8072extern "C" {
8073 pub fn zend_binary_op_produces_error(opcode: u32, op1: *const zval, op2: *const zval) -> bool;
8074}
8075extern "C" {
8076 pub fn zend_unary_op_produces_error(opcode: u32, op: *const zval) -> bool;
8077}
8078extern "C" {
8079 pub fn zend_try_ct_eval_cast(result: *mut zval, type_: u32, op1: *mut zval) -> bool;
8080}
8081pub type zend_module_entry = _zend_module_entry;
8082pub type zend_module_dep = _zend_module_dep;
8083#[repr(C)]
8084#[derive(Debug, Copy, Clone)]
8085pub struct _zend_module_entry {
8086 pub size: ::std::os::raw::c_ushort,
8087 pub zend_api: ::std::os::raw::c_uint,
8088 pub zend_debug: ::std::os::raw::c_uchar,
8089 pub zts: ::std::os::raw::c_uchar,
8090 pub ini_entry: *const _zend_ini_entry,
8091 pub deps: *const _zend_module_dep,
8092 pub name: *const ::std::os::raw::c_char,
8093 pub functions: *const _zend_function_entry,
8094 pub module_startup_func: ::std::option::Option<
8095 unsafe extern "C" fn(
8096 type_: ::std::os::raw::c_int,
8097 module_number: ::std::os::raw::c_int,
8098 ) -> zend_result,
8099 >,
8100 pub module_shutdown_func: ::std::option::Option<
8101 unsafe extern "C" fn(
8102 type_: ::std::os::raw::c_int,
8103 module_number: ::std::os::raw::c_int,
8104 ) -> zend_result,
8105 >,
8106 pub request_startup_func: ::std::option::Option<
8107 unsafe extern "C" fn(
8108 type_: ::std::os::raw::c_int,
8109 module_number: ::std::os::raw::c_int,
8110 ) -> zend_result,
8111 >,
8112 pub request_shutdown_func: ::std::option::Option<
8113 unsafe extern "C" fn(
8114 type_: ::std::os::raw::c_int,
8115 module_number: ::std::os::raw::c_int,
8116 ) -> zend_result,
8117 >,
8118 pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
8119 pub version: *const ::std::os::raw::c_char,
8120 pub globals_size: usize,
8121 pub globals_ptr: *mut ::std::os::raw::c_void,
8122 pub globals_ctor:
8123 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
8124 pub globals_dtor:
8125 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
8126 pub post_deactivate_func: ::std::option::Option<unsafe extern "C" fn() -> zend_result>,
8127 pub module_started: ::std::os::raw::c_int,
8128 pub type_: ::std::os::raw::c_uchar,
8129 pub handle: *mut ::std::os::raw::c_void,
8130 pub module_number: ::std::os::raw::c_int,
8131 pub build_id: *const ::std::os::raw::c_char,
8132}
8133#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8134const _: () = {
8135 ["Size of _zend_module_entry"][::std::mem::size_of::<_zend_module_entry>() - 168usize];
8136 ["Alignment of _zend_module_entry"][::std::mem::align_of::<_zend_module_entry>() - 8usize];
8137 ["Offset of field: _zend_module_entry::size"]
8138 [::std::mem::offset_of!(_zend_module_entry, size) - 0usize];
8139 ["Offset of field: _zend_module_entry::zend_api"]
8140 [::std::mem::offset_of!(_zend_module_entry, zend_api) - 4usize];
8141 ["Offset of field: _zend_module_entry::zend_debug"]
8142 [::std::mem::offset_of!(_zend_module_entry, zend_debug) - 8usize];
8143 ["Offset of field: _zend_module_entry::zts"]
8144 [::std::mem::offset_of!(_zend_module_entry, zts) - 9usize];
8145 ["Offset of field: _zend_module_entry::ini_entry"]
8146 [::std::mem::offset_of!(_zend_module_entry, ini_entry) - 16usize];
8147 ["Offset of field: _zend_module_entry::deps"]
8148 [::std::mem::offset_of!(_zend_module_entry, deps) - 24usize];
8149 ["Offset of field: _zend_module_entry::name"]
8150 [::std::mem::offset_of!(_zend_module_entry, name) - 32usize];
8151 ["Offset of field: _zend_module_entry::functions"]
8152 [::std::mem::offset_of!(_zend_module_entry, functions) - 40usize];
8153 ["Offset of field: _zend_module_entry::module_startup_func"]
8154 [::std::mem::offset_of!(_zend_module_entry, module_startup_func) - 48usize];
8155 ["Offset of field: _zend_module_entry::module_shutdown_func"]
8156 [::std::mem::offset_of!(_zend_module_entry, module_shutdown_func) - 56usize];
8157 ["Offset of field: _zend_module_entry::request_startup_func"]
8158 [::std::mem::offset_of!(_zend_module_entry, request_startup_func) - 64usize];
8159 ["Offset of field: _zend_module_entry::request_shutdown_func"]
8160 [::std::mem::offset_of!(_zend_module_entry, request_shutdown_func) - 72usize];
8161 ["Offset of field: _zend_module_entry::info_func"]
8162 [::std::mem::offset_of!(_zend_module_entry, info_func) - 80usize];
8163 ["Offset of field: _zend_module_entry::version"]
8164 [::std::mem::offset_of!(_zend_module_entry, version) - 88usize];
8165 ["Offset of field: _zend_module_entry::globals_size"]
8166 [::std::mem::offset_of!(_zend_module_entry, globals_size) - 96usize];
8167 ["Offset of field: _zend_module_entry::globals_ptr"]
8168 [::std::mem::offset_of!(_zend_module_entry, globals_ptr) - 104usize];
8169 ["Offset of field: _zend_module_entry::globals_ctor"]
8170 [::std::mem::offset_of!(_zend_module_entry, globals_ctor) - 112usize];
8171 ["Offset of field: _zend_module_entry::globals_dtor"]
8172 [::std::mem::offset_of!(_zend_module_entry, globals_dtor) - 120usize];
8173 ["Offset of field: _zend_module_entry::post_deactivate_func"]
8174 [::std::mem::offset_of!(_zend_module_entry, post_deactivate_func) - 128usize];
8175 ["Offset of field: _zend_module_entry::module_started"]
8176 [::std::mem::offset_of!(_zend_module_entry, module_started) - 136usize];
8177 ["Offset of field: _zend_module_entry::type_"]
8178 [::std::mem::offset_of!(_zend_module_entry, type_) - 140usize];
8179 ["Offset of field: _zend_module_entry::handle"]
8180 [::std::mem::offset_of!(_zend_module_entry, handle) - 144usize];
8181 ["Offset of field: _zend_module_entry::module_number"]
8182 [::std::mem::offset_of!(_zend_module_entry, module_number) - 152usize];
8183 ["Offset of field: _zend_module_entry::build_id"]
8184 [::std::mem::offset_of!(_zend_module_entry, build_id) - 160usize];
8185};
8186#[repr(C)]
8187#[derive(Debug, Copy, Clone)]
8188pub struct _zend_module_dep {
8189 pub name: *const ::std::os::raw::c_char,
8190 pub rel: *const ::std::os::raw::c_char,
8191 pub version: *const ::std::os::raw::c_char,
8192 pub type_: ::std::os::raw::c_uchar,
8193}
8194#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8195const _: () = {
8196 ["Size of _zend_module_dep"][::std::mem::size_of::<_zend_module_dep>() - 32usize];
8197 ["Alignment of _zend_module_dep"][::std::mem::align_of::<_zend_module_dep>() - 8usize];
8198 ["Offset of field: _zend_module_dep::name"]
8199 [::std::mem::offset_of!(_zend_module_dep, name) - 0usize];
8200 ["Offset of field: _zend_module_dep::rel"]
8201 [::std::mem::offset_of!(_zend_module_dep, rel) - 8usize];
8202 ["Offset of field: _zend_module_dep::version"]
8203 [::std::mem::offset_of!(_zend_module_dep, version) - 16usize];
8204 ["Offset of field: _zend_module_dep::type_"]
8205 [::std::mem::offset_of!(_zend_module_dep, type_) - 24usize];
8206};
8207extern "C" {
8208 pub static mut module_registry: HashTable;
8209}
8210pub type rsrc_dtor_func_t = ::std::option::Option<unsafe extern "C" fn(res: *mut zend_resource)>;
8211#[repr(C)]
8212#[derive(Debug, Copy, Clone)]
8213pub struct _zend_rsrc_list_dtors_entry {
8214 pub list_dtor_ex: rsrc_dtor_func_t,
8215 pub plist_dtor_ex: rsrc_dtor_func_t,
8216 pub type_name: *const ::std::os::raw::c_char,
8217 pub module_number: ::std::os::raw::c_int,
8218 pub resource_id: ::std::os::raw::c_int,
8219}
8220#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8221const _: () = {
8222 ["Size of _zend_rsrc_list_dtors_entry"]
8223 [::std::mem::size_of::<_zend_rsrc_list_dtors_entry>() - 32usize];
8224 ["Alignment of _zend_rsrc_list_dtors_entry"]
8225 [::std::mem::align_of::<_zend_rsrc_list_dtors_entry>() - 8usize];
8226 ["Offset of field: _zend_rsrc_list_dtors_entry::list_dtor_ex"]
8227 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, list_dtor_ex) - 0usize];
8228 ["Offset of field: _zend_rsrc_list_dtors_entry::plist_dtor_ex"]
8229 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, plist_dtor_ex) - 8usize];
8230 ["Offset of field: _zend_rsrc_list_dtors_entry::type_name"]
8231 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, type_name) - 16usize];
8232 ["Offset of field: _zend_rsrc_list_dtors_entry::module_number"]
8233 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, module_number) - 24usize];
8234 ["Offset of field: _zend_rsrc_list_dtors_entry::resource_id"]
8235 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, resource_id) - 28usize];
8236};
8237pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
8238extern "C" {
8239 pub fn zend_register_list_destructors_ex(
8240 ld: rsrc_dtor_func_t,
8241 pld: rsrc_dtor_func_t,
8242 type_name: *const ::std::os::raw::c_char,
8243 module_number: ::std::os::raw::c_int,
8244 ) -> ::std::os::raw::c_int;
8245}
8246extern "C" {
8247 pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
8248}
8249extern "C" {
8250 pub fn zend_init_rsrc_list();
8251}
8252extern "C" {
8253 pub fn zend_init_rsrc_plist();
8254}
8255extern "C" {
8256 pub fn zend_close_rsrc_list(ht: *mut HashTable);
8257}
8258extern "C" {
8259 pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
8260}
8261extern "C" {
8262 pub fn zend_init_rsrc_list_dtors();
8263}
8264extern "C" {
8265 pub fn zend_destroy_rsrc_list_dtors();
8266}
8267extern "C" {
8268 pub fn zend_list_insert(
8269 ptr: *mut ::std::os::raw::c_void,
8270 type_: ::std::os::raw::c_int,
8271 ) -> *mut zval;
8272}
8273extern "C" {
8274 pub fn zend_list_free(res: *mut zend_resource);
8275}
8276extern "C" {
8277 pub fn zend_list_delete(res: *mut zend_resource) -> zend_result;
8278}
8279extern "C" {
8280 pub fn zend_list_close(res: *mut zend_resource);
8281}
8282extern "C" {
8283 pub fn zend_register_resource(
8284 rsrc_pointer: *mut ::std::os::raw::c_void,
8285 rsrc_type: ::std::os::raw::c_int,
8286 ) -> *mut zend_resource;
8287}
8288extern "C" {
8289 pub fn zend_fetch_resource(
8290 res: *mut zend_resource,
8291 resource_type_name: *const ::std::os::raw::c_char,
8292 resource_type: ::std::os::raw::c_int,
8293 ) -> *mut ::std::os::raw::c_void;
8294}
8295extern "C" {
8296 pub fn zend_fetch_resource2(
8297 res: *mut zend_resource,
8298 resource_type_name: *const ::std::os::raw::c_char,
8299 resource_type: ::std::os::raw::c_int,
8300 resource_type2: ::std::os::raw::c_int,
8301 ) -> *mut ::std::os::raw::c_void;
8302}
8303extern "C" {
8304 pub fn zend_fetch_resource_ex(
8305 res: *mut zval,
8306 resource_type_name: *const ::std::os::raw::c_char,
8307 resource_type: ::std::os::raw::c_int,
8308 ) -> *mut ::std::os::raw::c_void;
8309}
8310extern "C" {
8311 pub fn zend_fetch_resource2_ex(
8312 res: *mut zval,
8313 resource_type_name: *const ::std::os::raw::c_char,
8314 resource_type: ::std::os::raw::c_int,
8315 resource_type2: ::std::os::raw::c_int,
8316 ) -> *mut ::std::os::raw::c_void;
8317}
8318extern "C" {
8319 pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
8320}
8321extern "C" {
8322 pub fn zend_fetch_list_dtor_id(
8323 type_name: *const ::std::os::raw::c_char,
8324 ) -> ::std::os::raw::c_int;
8325}
8326extern "C" {
8327 pub fn zend_register_persistent_resource(
8328 key: *const ::std::os::raw::c_char,
8329 key_len: usize,
8330 rsrc_pointer: *mut ::std::os::raw::c_void,
8331 rsrc_type: ::std::os::raw::c_int,
8332 ) -> *mut zend_resource;
8333}
8334extern "C" {
8335 pub fn zend_register_persistent_resource_ex(
8336 key: *mut zend_string,
8337 rsrc_pointer: *mut ::std::os::raw::c_void,
8338 rsrc_type: ::std::os::raw::c_int,
8339 ) -> *mut zend_resource;
8340}
8341#[repr(C)]
8342#[derive(Copy, Clone)]
8343pub struct _zend_constant {
8344 pub value: zval,
8345 pub name: *mut zend_string,
8346 pub filename: *mut zend_string,
8347 pub attributes: *mut HashTable,
8348}
8349#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8350const _: () = {
8351 ["Size of _zend_constant"][::std::mem::size_of::<_zend_constant>() - 40usize];
8352 ["Alignment of _zend_constant"][::std::mem::align_of::<_zend_constant>() - 8usize];
8353 ["Offset of field: _zend_constant::value"]
8354 [::std::mem::offset_of!(_zend_constant, value) - 0usize];
8355 ["Offset of field: _zend_constant::name"]
8356 [::std::mem::offset_of!(_zend_constant, name) - 16usize];
8357 ["Offset of field: _zend_constant::filename"]
8358 [::std::mem::offset_of!(_zend_constant, filename) - 24usize];
8359 ["Offset of field: _zend_constant::attributes"]
8360 [::std::mem::offset_of!(_zend_constant, attributes) - 32usize];
8361};
8362pub type zend_constant = _zend_constant;
8363extern "C" {
8364 pub fn zend_startup_constants();
8365}
8366extern "C" {
8367 pub fn zend_register_standard_constants();
8368}
8369extern "C" {
8370 pub fn zend_verify_const_access(c: *mut zend_class_constant, ce: *mut zend_class_entry)
8371 -> bool;
8372}
8373extern "C" {
8374 pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
8375}
8376extern "C" {
8377 pub fn zend_get_constant_ptr(name: *mut zend_string) -> *mut zend_constant;
8378}
8379extern "C" {
8380 pub fn zend_get_constant_str(name: *const ::std::os::raw::c_char, name_len: usize)
8381 -> *mut zval;
8382}
8383extern "C" {
8384 pub fn zend_get_constant_ex(
8385 name: *mut zend_string,
8386 scope: *mut zend_class_entry,
8387 flags: u32,
8388 ) -> *mut zval;
8389}
8390extern "C" {
8391 pub fn zend_get_class_constant_ex(
8392 class_name: *mut zend_string,
8393 constant_name: *mut zend_string,
8394 scope: *mut zend_class_entry,
8395 flags: u32,
8396 ) -> *mut zval;
8397}
8398extern "C" {
8399 pub fn zend_register_bool_constant(
8400 name: *const ::std::os::raw::c_char,
8401 name_len: usize,
8402 bval: bool,
8403 flags: ::std::os::raw::c_int,
8404 module_number: ::std::os::raw::c_int,
8405 ) -> *mut zend_constant;
8406}
8407extern "C" {
8408 pub fn zend_register_null_constant(
8409 name: *const ::std::os::raw::c_char,
8410 name_len: usize,
8411 flags: ::std::os::raw::c_int,
8412 module_number: ::std::os::raw::c_int,
8413 ) -> *mut zend_constant;
8414}
8415extern "C" {
8416 pub fn zend_register_long_constant(
8417 name: *const ::std::os::raw::c_char,
8418 name_len: usize,
8419 lval: zend_long,
8420 flags: ::std::os::raw::c_int,
8421 module_number: ::std::os::raw::c_int,
8422 ) -> *mut zend_constant;
8423}
8424extern "C" {
8425 pub fn zend_register_double_constant(
8426 name: *const ::std::os::raw::c_char,
8427 name_len: usize,
8428 dval: f64,
8429 flags: ::std::os::raw::c_int,
8430 module_number: ::std::os::raw::c_int,
8431 ) -> *mut zend_constant;
8432}
8433extern "C" {
8434 pub fn zend_register_string_constant(
8435 name: *const ::std::os::raw::c_char,
8436 name_len: usize,
8437 strval: *const ::std::os::raw::c_char,
8438 flags: ::std::os::raw::c_int,
8439 module_number: ::std::os::raw::c_int,
8440 ) -> *mut zend_constant;
8441}
8442extern "C" {
8443 pub fn zend_register_stringl_constant(
8444 name: *const ::std::os::raw::c_char,
8445 name_len: usize,
8446 strval: *const ::std::os::raw::c_char,
8447 strlen: usize,
8448 flags: ::std::os::raw::c_int,
8449 module_number: ::std::os::raw::c_int,
8450 ) -> *mut zend_constant;
8451}
8452extern "C" {
8453 pub fn zend_register_constant(c: *mut zend_constant) -> *mut zend_constant;
8454}
8455extern "C" {
8456 pub fn zend_constant_add_attributes(c: *mut zend_constant, attributes: *mut HashTable);
8457}
8458extern "C" {
8459 pub fn _zend_get_special_const(
8460 name: *const ::std::os::raw::c_char,
8461 name_len: usize,
8462 ) -> *mut zend_constant;
8463}
8464extern "C" {
8465 pub static mut zend_execute_ex:
8466 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
8467}
8468extern "C" {
8469 pub static mut zend_execute_internal: ::std::option::Option<
8470 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
8471 >;
8472}
8473extern "C" {
8474 pub static mut zend_autoload: ::std::option::Option<
8475 unsafe extern "C" fn(
8476 name: *mut zend_string,
8477 lc_name: *mut zend_string,
8478 ) -> *mut zend_class_entry,
8479 >;
8480}
8481extern "C" {
8482 pub fn zend_shutdown_executor_values(fast_shutdown: bool);
8483}
8484extern "C" {
8485 pub fn zend_init_execute_data(
8486 execute_data: *mut zend_execute_data,
8487 op_array: *mut zend_op_array,
8488 return_value: *mut zval,
8489 );
8490}
8491extern "C" {
8492 pub fn zend_init_func_execute_data(
8493 execute_data: *mut zend_execute_data,
8494 op_array: *mut zend_op_array,
8495 return_value: *mut zval,
8496 );
8497}
8498extern "C" {
8499 pub fn zend_init_code_execute_data(
8500 execute_data: *mut zend_execute_data,
8501 op_array: *mut zend_op_array,
8502 return_value: *mut zval,
8503 );
8504}
8505extern "C" {
8506 pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
8507}
8508extern "C" {
8509 pub fn zend_is_valid_class_name(name: *mut zend_string) -> bool;
8510}
8511extern "C" {
8512 pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
8513}
8514extern "C" {
8515 pub fn zend_lookup_class_ex(
8516 name: *mut zend_string,
8517 lcname: *mut zend_string,
8518 flags: u32,
8519 ) -> *mut zend_class_entry;
8520}
8521extern "C" {
8522 pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
8523}
8524extern "C" {
8525 pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
8526}
8527extern "C" {
8528 pub fn zend_eval_string(
8529 str_: *const ::std::os::raw::c_char,
8530 retval_ptr: *mut zval,
8531 string_name: *const ::std::os::raw::c_char,
8532 ) -> zend_result;
8533}
8534extern "C" {
8535 pub fn zend_eval_stringl(
8536 str_: *const ::std::os::raw::c_char,
8537 str_len: usize,
8538 retval_ptr: *mut zval,
8539 string_name: *const ::std::os::raw::c_char,
8540 ) -> zend_result;
8541}
8542extern "C" {
8543 pub fn zend_eval_string_ex(
8544 str_: *const ::std::os::raw::c_char,
8545 retval_ptr: *mut zval,
8546 string_name: *const ::std::os::raw::c_char,
8547 handle_exceptions: bool,
8548 ) -> zend_result;
8549}
8550extern "C" {
8551 pub fn zend_eval_stringl_ex(
8552 str_: *const ::std::os::raw::c_char,
8553 str_len: usize,
8554 retval_ptr: *mut zval,
8555 string_name: *const ::std::os::raw::c_char,
8556 handle_exceptions: bool,
8557 ) -> zend_result;
8558}
8559extern "C" {
8560 pub static zend_pass_function: zend_internal_function;
8561}
8562extern "C" {
8563 pub fn zend_missing_arg_error(execute_data: *const zend_execute_data);
8564}
8565extern "C" {
8566 pub fn zend_deprecated_function(fbc: *const zend_function);
8567}
8568extern "C" {
8569 pub fn zend_nodiscard_function(fbc: *const zend_function);
8570}
8571extern "C" {
8572 pub fn zend_deprecated_class_constant(
8573 c: *const zend_class_constant,
8574 constant_name: *const zend_string,
8575 );
8576}
8577extern "C" {
8578 pub fn zend_deprecated_constant(c: *const zend_constant, constant_name: *const zend_string);
8579}
8580extern "C" {
8581 pub fn zend_use_of_deprecated_trait(trait_: *mut zend_class_entry, used_by: *const zend_string);
8582}
8583extern "C" {
8584 pub fn zend_false_to_array_deprecated();
8585}
8586extern "C" {
8587 pub fn zend_param_must_be_ref(func: *const zend_function, arg_num: u32);
8588}
8589extern "C" {
8590 pub fn zend_use_resource_as_offset(dim: *const zval);
8591}
8592extern "C" {
8593 pub fn zend_call_stack_size_error();
8594}
8595extern "C" {
8596 pub fn zend_verify_ref_assignable_zval(
8597 ref_: *mut zend_reference,
8598 zv: *mut zval,
8599 strict: bool,
8600 ) -> bool;
8601}
8602pub const zend_verify_prop_assignable_by_ref_context_ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_ASSIGNMENT : zend_verify_prop_assignable_by_ref_context = 0 ;
8603pub const zend_verify_prop_assignable_by_ref_context_ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_MAGIC_GET : zend_verify_prop_assignable_by_ref_context = 1 ;
8604pub type zend_verify_prop_assignable_by_ref_context = ::std::os::raw::c_uint;
8605extern "C" {
8606 pub fn zend_verify_prop_assignable_by_ref_ex(
8607 prop_info: *const zend_property_info,
8608 orig_val: *mut zval,
8609 strict: bool,
8610 context: zend_verify_prop_assignable_by_ref_context,
8611 ) -> bool;
8612}
8613extern "C" {
8614 pub fn zend_verify_prop_assignable_by_ref(
8615 prop_info: *const zend_property_info,
8616 orig_val: *mut zval,
8617 strict: bool,
8618 ) -> bool;
8619}
8620extern "C" {
8621 pub fn zend_throw_ref_type_error_zval(prop: *const zend_property_info, zv: *const zval);
8622}
8623extern "C" {
8624 pub fn zend_throw_ref_type_error_type(
8625 prop1: *const zend_property_info,
8626 prop2: *const zend_property_info,
8627 zv: *const zval,
8628 );
8629}
8630extern "C" {
8631 pub fn zend_undefined_offset_write(ht: *mut HashTable, lval: zend_long) -> *mut zval;
8632}
8633extern "C" {
8634 pub fn zend_undefined_index_write(ht: *mut HashTable, offset: *mut zend_string) -> *mut zval;
8635}
8636extern "C" {
8637 pub fn zend_wrong_string_offset_error();
8638}
8639extern "C" {
8640 pub fn zend_readonly_property_modification_error(info: *const zend_property_info);
8641}
8642extern "C" {
8643 pub fn zend_readonly_property_modification_error_ex(
8644 class_name: *const ::std::os::raw::c_char,
8645 prop_name: *const ::std::os::raw::c_char,
8646 );
8647}
8648extern "C" {
8649 pub fn zend_readonly_property_indirect_modification_error(info: *const zend_property_info);
8650}
8651extern "C" {
8652 pub fn zend_invalid_class_constant_type_error(type_: u8);
8653}
8654extern "C" {
8655 pub fn zend_object_released_while_assigning_to_property_error(info: *const zend_property_info);
8656}
8657extern "C" {
8658 pub fn zend_cannot_add_element();
8659}
8660extern "C" {
8661 pub fn zend_asymmetric_visibility_property_modification_error(
8662 prop_info: *const zend_property_info,
8663 operation: *const ::std::os::raw::c_char,
8664 );
8665}
8666extern "C" {
8667 pub fn zend_verify_scalar_type_hint(
8668 type_mask: u32,
8669 arg: *mut zval,
8670 strict: bool,
8671 is_internal_arg: bool,
8672 ) -> bool;
8673}
8674extern "C" {
8675 pub fn zend_verify_arg_error(
8676 zf: *const zend_function,
8677 arg_info: *const zend_arg_info,
8678 arg_num: u32,
8679 value: *const zval,
8680 );
8681}
8682extern "C" {
8683 pub fn zend_verify_return_error(zf: *const zend_function, value: *const zval);
8684}
8685extern "C" {
8686 pub fn zend_verify_never_error(zf: *const zend_function);
8687}
8688extern "C" {
8689 pub fn zend_verify_ref_array_assignable(ref_: *mut zend_reference) -> bool;
8690}
8691extern "C" {
8692 pub fn zend_check_user_type_slow(
8693 type_: *const zend_type,
8694 arg: *mut zval,
8695 ref_: *const zend_reference,
8696 is_return_type: bool,
8697 ) -> bool;
8698}
8699extern "C" {
8700 pub fn zend_ref_add_type_source(
8701 source_list: *mut zend_property_info_source_list,
8702 prop: *mut zend_property_info,
8703 );
8704}
8705extern "C" {
8706 pub fn zend_ref_del_type_source(
8707 source_list: *mut zend_property_info_source_list,
8708 prop: *const zend_property_info,
8709 );
8710}
8711extern "C" {
8712 pub fn zend_assign_to_typed_ref(
8713 variable_ptr: *mut zval,
8714 value: *mut zval,
8715 value_type: u8,
8716 strict: bool,
8717 ) -> *mut zval;
8718}
8719extern "C" {
8720 pub fn zend_assign_to_typed_ref_ex(
8721 variable_ptr: *mut zval,
8722 value: *mut zval,
8723 value_type: u8,
8724 strict: bool,
8725 garbage_ptr: *mut *mut zend_refcounted,
8726 ) -> *mut zval;
8727}
8728#[repr(C)]
8729#[derive(Debug, Copy, Clone)]
8730pub struct _zend_vm_stack {
8731 pub top: *mut zval,
8732 pub end: *mut zval,
8733 pub prev: zend_vm_stack,
8734}
8735#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8736const _: () = {
8737 ["Size of _zend_vm_stack"][::std::mem::size_of::<_zend_vm_stack>() - 24usize];
8738 ["Alignment of _zend_vm_stack"][::std::mem::align_of::<_zend_vm_stack>() - 8usize];
8739 ["Offset of field: _zend_vm_stack::top"][::std::mem::offset_of!(_zend_vm_stack, top) - 0usize];
8740 ["Offset of field: _zend_vm_stack::end"][::std::mem::offset_of!(_zend_vm_stack, end) - 8usize];
8741 ["Offset of field: _zend_vm_stack::prev"]
8742 [::std::mem::offset_of!(_zend_vm_stack, prev) - 16usize];
8743};
8744extern "C" {
8745 pub fn zend_vm_stack_init();
8746}
8747extern "C" {
8748 pub fn zend_vm_stack_init_ex(page_size: usize);
8749}
8750extern "C" {
8751 pub fn zend_vm_stack_destroy();
8752}
8753extern "C" {
8754 pub fn zend_vm_stack_extend(size: usize) -> *mut ::std::os::raw::c_void;
8755}
8756extern "C" {
8757 pub fn zend_vm_stack_copy_call_frame(
8758 call: *mut zend_execute_data,
8759 passed_args: u32,
8760 additional_args: u32,
8761 ) -> *mut zend_execute_data;
8762}
8763extern "C" {
8764 pub fn zend_free_extra_named_params(extra_named_params: *mut zend_array);
8765}
8766extern "C" {
8767 pub fn zend_active_function_ex(execute_data: *mut zend_execute_data) -> *mut zend_function;
8768}
8769extern "C" {
8770 pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
8771}
8772extern "C" {
8773 pub fn zend_get_executed_filename_ex() -> *mut zend_string;
8774}
8775extern "C" {
8776 pub fn zend_get_executed_lineno() -> u32;
8777}
8778extern "C" {
8779 pub fn zend_get_executed_scope() -> *mut zend_class_entry;
8780}
8781extern "C" {
8782 pub fn zend_is_executing() -> bool;
8783}
8784extern "C" {
8785 pub fn zend_cannot_pass_by_reference(arg_num: u32);
8786}
8787extern "C" {
8788 pub fn zend_set_timeout(seconds: zend_long, reset_signals: bool);
8789}
8790extern "C" {
8791 pub fn zend_unset_timeout();
8792}
8793extern "C" {
8794 pub fn zend_timeout() -> !;
8795}
8796extern "C" {
8797 pub fn zend_fetch_class(class_name: *mut zend_string, fetch_type: u32)
8798 -> *mut zend_class_entry;
8799}
8800extern "C" {
8801 pub fn zend_fetch_class_with_scope(
8802 class_name: *mut zend_string,
8803 fetch_type: u32,
8804 scope: *mut zend_class_entry,
8805 ) -> *mut zend_class_entry;
8806}
8807extern "C" {
8808 pub fn zend_fetch_class_by_name(
8809 class_name: *mut zend_string,
8810 lcname: *mut zend_string,
8811 fetch_type: u32,
8812 ) -> *mut zend_class_entry;
8813}
8814extern "C" {
8815 pub fn zend_fetch_function(name: *mut zend_string) -> *mut zend_function;
8816}
8817extern "C" {
8818 pub fn zend_fetch_function_str(
8819 name: *const ::std::os::raw::c_char,
8820 len: usize,
8821 ) -> *mut zend_function;
8822}
8823extern "C" {
8824 pub fn zend_init_func_run_time_cache(op_array: *mut zend_op_array);
8825}
8826extern "C" {
8827 pub fn zend_fetch_dimension_const(
8828 result: *mut zval,
8829 container: *mut zval,
8830 dim: *mut zval,
8831 type_: ::std::os::raw::c_int,
8832 );
8833}
8834extern "C" {
8835 pub fn zend_get_compiled_variable_value(
8836 execute_data_ptr: *const zend_execute_data,
8837 var: u32,
8838 ) -> *mut zval;
8839}
8840extern "C" {
8841 pub fn zend_gcc_global_regs() -> bool;
8842}
8843extern "C" {
8844 pub fn zend_set_user_opcode_handler(opcode: u8, handler: user_opcode_handler_t) -> zend_result;
8845}
8846extern "C" {
8847 pub fn zend_get_user_opcode_handler(opcode: u8) -> user_opcode_handler_t;
8848}
8849extern "C" {
8850 pub fn zend_get_zval_ptr(
8851 opline: *const zend_op,
8852 op_type: ::std::os::raw::c_int,
8853 node: *const znode_op,
8854 execute_data: *const zend_execute_data,
8855 ) -> *mut zval;
8856}
8857extern "C" {
8858 pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
8859}
8860extern "C" {
8861 pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
8862}
8863extern "C" {
8864 pub fn zend_unfinished_calls_gc(
8865 execute_data: *mut zend_execute_data,
8866 call: *mut zend_execute_data,
8867 op_num: u32,
8868 buf: *mut zend_get_gc_buffer,
8869 );
8870}
8871extern "C" {
8872 pub fn zend_cleanup_unfinished_execution(
8873 execute_data: *mut zend_execute_data,
8874 op_num: u32,
8875 catch_op_num: u32,
8876 );
8877}
8878extern "C" {
8879 pub fn zend_unfinished_execution_gc(
8880 execute_data: *mut zend_execute_data,
8881 call: *mut zend_execute_data,
8882 gc_buffer: *mut zend_get_gc_buffer,
8883 ) -> *mut HashTable;
8884}
8885extern "C" {
8886 pub fn zend_unfinished_execution_gc_ex(
8887 execute_data: *mut zend_execute_data,
8888 call: *mut zend_execute_data,
8889 gc_buffer: *mut zend_get_gc_buffer,
8890 suspended_by_yield: bool,
8891 ) -> *mut HashTable;
8892}
8893extern "C" {
8894 pub fn zend_fetch_static_property(
8895 ex: *mut zend_execute_data,
8896 fetch_type: ::std::os::raw::c_int,
8897 ) -> *mut zval;
8898}
8899extern "C" {
8900 pub fn zend_undefined_method(ce: *const zend_class_entry, method: *const zend_string);
8901}
8902extern "C" {
8903 pub fn zend_non_static_method_call(fbc: *const zend_function);
8904}
8905extern "C" {
8906 pub fn zend_frameless_observed_call(execute_data: *mut zend_execute_data);
8907}
8908extern "C" {
8909 pub fn zend_handle_named_arg(
8910 call_ptr: *mut *mut zend_execute_data,
8911 arg_name: *mut zend_string,
8912 arg_num_ptr: *mut u32,
8913 cache_slot: *mut *mut ::std::os::raw::c_void,
8914 ) -> *mut zval;
8915}
8916extern "C" {
8917 pub fn zend_handle_undef_args(call: *mut zend_execute_data) -> zend_result;
8918}
8919extern "C" {
8920 pub fn zend_verify_class_constant_type(
8921 c: *const zend_class_constant,
8922 name: *const zend_string,
8923 constant: *mut zval,
8924 ) -> bool;
8925}
8926extern "C" {
8927 pub fn zend_verify_class_constant_type_error(
8928 c: *const zend_class_constant,
8929 name: *const zend_string,
8930 constant: *const zval,
8931 );
8932}
8933extern "C" {
8934 pub fn zend_verify_property_type(
8935 info: *const zend_property_info,
8936 property: *mut zval,
8937 strict: bool,
8938 ) -> bool;
8939}
8940extern "C" {
8941 pub fn zend_verify_property_type_error(info: *const zend_property_info, property: *const zval);
8942}
8943extern "C" {
8944 pub fn zend_magic_get_property_type_inconsistency_error(
8945 info: *const zend_property_info,
8946 property: *const zval,
8947 );
8948}
8949extern "C" {
8950 pub fn zend_match_unhandled_error(value: *const zval);
8951}
8952extern "C" {
8953 pub fn zend_fcall_interrupt(call: *mut zend_execute_data);
8954}
8955#[repr(C)]
8956#[derive(Debug, Copy, Clone)]
8957pub struct _zend_function_entry {
8958 pub fname: *const ::std::os::raw::c_char,
8959 pub handler: zif_handler,
8960 pub arg_info: *const _zend_internal_arg_info,
8961 pub num_args: u32,
8962 pub flags: u32,
8963 pub frameless_function_infos: *const zend_frameless_function_info,
8964 pub doc_comment: *const ::std::os::raw::c_char,
8965}
8966#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8967const _: () = {
8968 ["Size of _zend_function_entry"][::std::mem::size_of::<_zend_function_entry>() - 48usize];
8969 ["Alignment of _zend_function_entry"][::std::mem::align_of::<_zend_function_entry>() - 8usize];
8970 ["Offset of field: _zend_function_entry::fname"]
8971 [::std::mem::offset_of!(_zend_function_entry, fname) - 0usize];
8972 ["Offset of field: _zend_function_entry::handler"]
8973 [::std::mem::offset_of!(_zend_function_entry, handler) - 8usize];
8974 ["Offset of field: _zend_function_entry::arg_info"]
8975 [::std::mem::offset_of!(_zend_function_entry, arg_info) - 16usize];
8976 ["Offset of field: _zend_function_entry::num_args"]
8977 [::std::mem::offset_of!(_zend_function_entry, num_args) - 24usize];
8978 ["Offset of field: _zend_function_entry::flags"]
8979 [::std::mem::offset_of!(_zend_function_entry, flags) - 28usize];
8980 ["Offset of field: _zend_function_entry::frameless_function_infos"]
8981 [::std::mem::offset_of!(_zend_function_entry, frameless_function_infos) - 32usize];
8982 ["Offset of field: _zend_function_entry::doc_comment"]
8983 [::std::mem::offset_of!(_zend_function_entry, doc_comment) - 40usize];
8984};
8985pub type zend_function_entry = _zend_function_entry;
8986#[repr(C)]
8987#[derive(Copy, Clone)]
8988pub struct _zend_fcall_info {
8989 pub size: usize,
8990 pub function_name: zval,
8991 pub retval: *mut zval,
8992 pub params: *mut zval,
8993 pub object: *mut zend_object,
8994 pub param_count: u32,
8995 pub named_params: *mut HashTable,
8996}
8997#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8998const _: () = {
8999 ["Size of _zend_fcall_info"][::std::mem::size_of::<_zend_fcall_info>() - 64usize];
9000 ["Alignment of _zend_fcall_info"][::std::mem::align_of::<_zend_fcall_info>() - 8usize];
9001 ["Offset of field: _zend_fcall_info::size"]
9002 [::std::mem::offset_of!(_zend_fcall_info, size) - 0usize];
9003 ["Offset of field: _zend_fcall_info::function_name"]
9004 [::std::mem::offset_of!(_zend_fcall_info, function_name) - 8usize];
9005 ["Offset of field: _zend_fcall_info::retval"]
9006 [::std::mem::offset_of!(_zend_fcall_info, retval) - 24usize];
9007 ["Offset of field: _zend_fcall_info::params"]
9008 [::std::mem::offset_of!(_zend_fcall_info, params) - 32usize];
9009 ["Offset of field: _zend_fcall_info::object"]
9010 [::std::mem::offset_of!(_zend_fcall_info, object) - 40usize];
9011 ["Offset of field: _zend_fcall_info::param_count"]
9012 [::std::mem::offset_of!(_zend_fcall_info, param_count) - 48usize];
9013 ["Offset of field: _zend_fcall_info::named_params"]
9014 [::std::mem::offset_of!(_zend_fcall_info, named_params) - 56usize];
9015};
9016#[repr(C)]
9017#[derive(Debug, Copy, Clone)]
9018pub struct _zend_fcall_info_cache {
9019 pub function_handler: *mut zend_function,
9020 pub calling_scope: *mut zend_class_entry,
9021 pub called_scope: *mut zend_class_entry,
9022 pub object: *mut zend_object,
9023 pub closure: *mut zend_object,
9024}
9025#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9026const _: () = {
9027 ["Size of _zend_fcall_info_cache"][::std::mem::size_of::<_zend_fcall_info_cache>() - 40usize];
9028 ["Alignment of _zend_fcall_info_cache"]
9029 [::std::mem::align_of::<_zend_fcall_info_cache>() - 8usize];
9030 ["Offset of field: _zend_fcall_info_cache::function_handler"]
9031 [::std::mem::offset_of!(_zend_fcall_info_cache, function_handler) - 0usize];
9032 ["Offset of field: _zend_fcall_info_cache::calling_scope"]
9033 [::std::mem::offset_of!(_zend_fcall_info_cache, calling_scope) - 8usize];
9034 ["Offset of field: _zend_fcall_info_cache::called_scope"]
9035 [::std::mem::offset_of!(_zend_fcall_info_cache, called_scope) - 16usize];
9036 ["Offset of field: _zend_fcall_info_cache::object"]
9037 [::std::mem::offset_of!(_zend_fcall_info_cache, object) - 24usize];
9038 ["Offset of field: _zend_fcall_info_cache::closure"]
9039 [::std::mem::offset_of!(_zend_fcall_info_cache, closure) - 32usize];
9040};
9041extern "C" {
9042 pub fn zend_next_free_module() -> ::std::os::raw::c_int;
9043}
9044extern "C" {
9045 pub fn zend_set_dl_use_deepbind(use_deepbind: bool);
9046}
9047extern "C" {
9048 pub fn zend_get_parameters_array_ex(param_count: u32, argument_array: *mut zval)
9049 -> zend_result;
9050}
9051extern "C" {
9052 pub fn zend_copy_parameters_array(param_count: u32, argument_array: *mut zval) -> zend_result;
9053}
9054extern "C" {
9055 pub fn zend_parse_parameters(
9056 num_args: u32,
9057 type_spec: *const ::std::os::raw::c_char,
9058 ...
9059 ) -> zend_result;
9060}
9061extern "C" {
9062 pub fn zend_parse_parameters_ex(
9063 flags: ::std::os::raw::c_int,
9064 num_args: u32,
9065 type_spec: *const ::std::os::raw::c_char,
9066 ...
9067 ) -> zend_result;
9068}
9069extern "C" {
9070 pub fn zend_zval_type_name(arg: *const zval) -> *const ::std::os::raw::c_char;
9071}
9072extern "C" {
9073 pub fn zend_zval_value_name(arg: *const zval) -> *const ::std::os::raw::c_char;
9074}
9075extern "C" {
9076 pub fn zend_zval_get_legacy_type(arg: *const zval) -> *mut zend_string;
9077}
9078extern "C" {
9079 pub fn zend_parse_method_parameters(
9080 num_args: u32,
9081 this_ptr: *mut zval,
9082 type_spec: *const ::std::os::raw::c_char,
9083 ...
9084 ) -> zend_result;
9085}
9086extern "C" {
9087 pub fn zend_parse_method_parameters_ex(
9088 flags: ::std::os::raw::c_int,
9089 num_args: u32,
9090 this_ptr: *mut zval,
9091 type_spec: *const ::std::os::raw::c_char,
9092 ...
9093 ) -> zend_result;
9094}
9095extern "C" {
9096 pub fn zend_parse_parameter(
9097 flags: ::std::os::raw::c_int,
9098 arg_num: u32,
9099 arg: *mut zval,
9100 spec: *const ::std::os::raw::c_char,
9101 ...
9102 ) -> zend_result;
9103}
9104extern "C" {
9105 pub fn zend_register_functions(
9106 scope: *mut zend_class_entry,
9107 functions: *const zend_function_entry,
9108 function_table: *mut HashTable,
9109 type_: ::std::os::raw::c_int,
9110 ) -> zend_result;
9111}
9112extern "C" {
9113 pub fn zend_unregister_functions(
9114 functions: *const zend_function_entry,
9115 count: ::std::os::raw::c_int,
9116 function_table: *mut HashTable,
9117 );
9118}
9119extern "C" {
9120 pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> zend_result;
9121}
9122extern "C" {
9123 pub fn zend_register_internal_module(
9124 module_entry: *mut zend_module_entry,
9125 ) -> *mut zend_module_entry;
9126}
9127extern "C" {
9128 pub fn zend_register_module_ex(
9129 module: *mut zend_module_entry,
9130 module_type: ::std::os::raw::c_int,
9131 ) -> *mut zend_module_entry;
9132}
9133extern "C" {
9134 pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> zend_result;
9135}
9136extern "C" {
9137 pub fn zend_startup_modules();
9138}
9139extern "C" {
9140 pub fn zend_collect_module_handlers();
9141}
9142extern "C" {
9143 pub fn zend_destroy_modules();
9144}
9145extern "C" {
9146 pub fn zend_check_magic_method_implementation(
9147 ce: *const zend_class_entry,
9148 fptr: *const zend_function,
9149 lcname: *mut zend_string,
9150 error_type: ::std::os::raw::c_int,
9151 );
9152}
9153extern "C" {
9154 pub fn zend_add_magic_method(
9155 ce: *mut zend_class_entry,
9156 fptr: *mut zend_function,
9157 lcname: *mut zend_string,
9158 );
9159}
9160extern "C" {
9161 pub fn zend_register_internal_class(
9162 class_entry: *mut zend_class_entry,
9163 ) -> *mut zend_class_entry;
9164}
9165extern "C" {
9166 pub fn zend_register_internal_class_ex(
9167 class_entry: *mut zend_class_entry,
9168 parent_ce: *mut zend_class_entry,
9169 ) -> *mut zend_class_entry;
9170}
9171extern "C" {
9172 pub fn zend_register_internal_class_with_flags(
9173 class_entry: *mut zend_class_entry,
9174 parent_ce: *mut zend_class_entry,
9175 flags: u32,
9176 ) -> *mut zend_class_entry;
9177}
9178extern "C" {
9179 pub fn zend_register_internal_interface(
9180 orig_class_entry: *mut zend_class_entry,
9181 ) -> *mut zend_class_entry;
9182}
9183extern "C" {
9184 pub fn zend_class_implements(
9185 class_entry: *mut zend_class_entry,
9186 num_interfaces: ::std::os::raw::c_int,
9187 ...
9188 );
9189}
9190extern "C" {
9191 pub fn zend_register_class_alias_ex(
9192 name: *const ::std::os::raw::c_char,
9193 name_len: usize,
9194 ce: *mut zend_class_entry,
9195 persistent: bool,
9196 ) -> zend_result;
9197}
9198extern "C" {
9199 pub fn zend_disable_functions(function_list: *const ::std::os::raw::c_char);
9200}
9201extern "C" {
9202 pub fn zend_wrong_param_count();
9203}
9204extern "C" {
9205 pub fn zend_wrong_property_read(object: *mut zval, property: *mut zval);
9206}
9207extern "C" {
9208 pub fn zend_release_fcall_info_cache(fcc: *mut zend_fcall_info_cache);
9209}
9210extern "C" {
9211 pub fn zend_get_callable_name_ex(
9212 callable: *mut zval,
9213 object: *mut zend_object,
9214 ) -> *mut zend_string;
9215}
9216extern "C" {
9217 pub fn zend_get_callable_name(callable: *mut zval) -> *mut zend_string;
9218}
9219extern "C" {
9220 pub fn zend_is_callable_at_frame(
9221 callable: *mut zval,
9222 object: *mut zend_object,
9223 frame: *mut zend_execute_data,
9224 check_flags: u32,
9225 fcc: *mut zend_fcall_info_cache,
9226 error: *mut *mut ::std::os::raw::c_char,
9227 ) -> bool;
9228}
9229extern "C" {
9230 pub fn zend_is_callable_ex(
9231 callable: *mut zval,
9232 object: *mut zend_object,
9233 check_flags: u32,
9234 callable_name: *mut *mut zend_string,
9235 fcc: *mut zend_fcall_info_cache,
9236 error: *mut *mut ::std::os::raw::c_char,
9237 ) -> bool;
9238}
9239extern "C" {
9240 pub fn zend_is_callable(
9241 callable: *mut zval,
9242 check_flags: u32,
9243 callable_name: *mut *mut zend_string,
9244 ) -> bool;
9245}
9246extern "C" {
9247 pub fn zend_make_callable(callable: *mut zval, callable_name: *mut *mut zend_string) -> bool;
9248}
9249extern "C" {
9250 pub fn zend_get_module_version(
9251 module_name: *const ::std::os::raw::c_char,
9252 ) -> *const ::std::os::raw::c_char;
9253}
9254extern "C" {
9255 pub fn zend_get_module_started(module_name: *const ::std::os::raw::c_char) -> zend_result;
9256}
9257extern "C" {
9258 pub fn zend_declare_typed_property(
9259 ce: *mut zend_class_entry,
9260 name: *mut zend_string,
9261 property: *mut zval,
9262 access_type: ::std::os::raw::c_int,
9263 doc_comment: *mut zend_string,
9264 type_: zend_type,
9265 ) -> *mut zend_property_info;
9266}
9267extern "C" {
9268 pub fn zend_declare_property_ex(
9269 ce: *mut zend_class_entry,
9270 name: *mut zend_string,
9271 property: *mut zval,
9272 access_type: ::std::os::raw::c_int,
9273 doc_comment: *mut zend_string,
9274 );
9275}
9276extern "C" {
9277 pub fn zend_declare_property(
9278 ce: *mut zend_class_entry,
9279 name: *const ::std::os::raw::c_char,
9280 name_length: usize,
9281 property: *mut zval,
9282 access_type: ::std::os::raw::c_int,
9283 );
9284}
9285extern "C" {
9286 pub fn zend_declare_property_null(
9287 ce: *mut zend_class_entry,
9288 name: *const ::std::os::raw::c_char,
9289 name_length: usize,
9290 access_type: ::std::os::raw::c_int,
9291 );
9292}
9293extern "C" {
9294 pub fn zend_declare_property_bool(
9295 ce: *mut zend_class_entry,
9296 name: *const ::std::os::raw::c_char,
9297 name_length: usize,
9298 value: zend_long,
9299 access_type: ::std::os::raw::c_int,
9300 );
9301}
9302extern "C" {
9303 pub fn zend_declare_property_long(
9304 ce: *mut zend_class_entry,
9305 name: *const ::std::os::raw::c_char,
9306 name_length: usize,
9307 value: zend_long,
9308 access_type: ::std::os::raw::c_int,
9309 );
9310}
9311extern "C" {
9312 pub fn zend_declare_property_double(
9313 ce: *mut zend_class_entry,
9314 name: *const ::std::os::raw::c_char,
9315 name_length: usize,
9316 value: f64,
9317 access_type: ::std::os::raw::c_int,
9318 );
9319}
9320extern "C" {
9321 pub fn zend_declare_property_string(
9322 ce: *mut zend_class_entry,
9323 name: *const ::std::os::raw::c_char,
9324 name_length: usize,
9325 value: *const ::std::os::raw::c_char,
9326 access_type: ::std::os::raw::c_int,
9327 );
9328}
9329extern "C" {
9330 pub fn zend_declare_property_stringl(
9331 ce: *mut zend_class_entry,
9332 name: *const ::std::os::raw::c_char,
9333 name_length: usize,
9334 value: *const ::std::os::raw::c_char,
9335 value_len: usize,
9336 access_type: ::std::os::raw::c_int,
9337 );
9338}
9339extern "C" {
9340 pub fn zend_declare_typed_class_constant(
9341 ce: *mut zend_class_entry,
9342 name: *mut zend_string,
9343 value: *mut zval,
9344 access_type: ::std::os::raw::c_int,
9345 doc_comment: *mut zend_string,
9346 type_: zend_type,
9347 ) -> *mut zend_class_constant;
9348}
9349extern "C" {
9350 pub fn zend_declare_class_constant_ex(
9351 ce: *mut zend_class_entry,
9352 name: *mut zend_string,
9353 value: *mut zval,
9354 access_type: ::std::os::raw::c_int,
9355 doc_comment: *mut zend_string,
9356 ) -> *mut zend_class_constant;
9357}
9358extern "C" {
9359 pub fn zend_declare_class_constant(
9360 ce: *mut zend_class_entry,
9361 name: *const ::std::os::raw::c_char,
9362 name_length: usize,
9363 value: *mut zval,
9364 );
9365}
9366extern "C" {
9367 pub fn zend_declare_class_constant_null(
9368 ce: *mut zend_class_entry,
9369 name: *const ::std::os::raw::c_char,
9370 name_length: usize,
9371 );
9372}
9373extern "C" {
9374 pub fn zend_declare_class_constant_long(
9375 ce: *mut zend_class_entry,
9376 name: *const ::std::os::raw::c_char,
9377 name_length: usize,
9378 value: zend_long,
9379 );
9380}
9381extern "C" {
9382 pub fn zend_declare_class_constant_bool(
9383 ce: *mut zend_class_entry,
9384 name: *const ::std::os::raw::c_char,
9385 name_length: usize,
9386 value: bool,
9387 );
9388}
9389extern "C" {
9390 pub fn zend_declare_class_constant_double(
9391 ce: *mut zend_class_entry,
9392 name: *const ::std::os::raw::c_char,
9393 name_length: usize,
9394 value: f64,
9395 );
9396}
9397extern "C" {
9398 pub fn zend_declare_class_constant_stringl(
9399 ce: *mut zend_class_entry,
9400 name: *const ::std::os::raw::c_char,
9401 name_length: usize,
9402 value: *const ::std::os::raw::c_char,
9403 value_length: usize,
9404 );
9405}
9406extern "C" {
9407 pub fn zend_declare_class_constant_string(
9408 ce: *mut zend_class_entry,
9409 name: *const ::std::os::raw::c_char,
9410 name_length: usize,
9411 value: *const ::std::os::raw::c_char,
9412 );
9413}
9414extern "C" {
9415 pub fn zend_update_class_constant(
9416 c: *mut zend_class_constant,
9417 name: *const zend_string,
9418 scope: *mut zend_class_entry,
9419 ) -> zend_result;
9420}
9421extern "C" {
9422 pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> zend_result;
9423}
9424extern "C" {
9425 pub fn zend_separate_class_constants_table(class_type: *mut zend_class_entry)
9426 -> *mut HashTable;
9427}
9428extern "C" {
9429 pub fn zend_update_property_ex(
9430 scope: *const zend_class_entry,
9431 object: *mut zend_object,
9432 name: *mut zend_string,
9433 value: *mut zval,
9434 );
9435}
9436extern "C" {
9437 pub fn zend_update_property(
9438 scope: *const zend_class_entry,
9439 object: *mut zend_object,
9440 name: *const ::std::os::raw::c_char,
9441 name_length: usize,
9442 value: *mut zval,
9443 );
9444}
9445extern "C" {
9446 pub fn zend_update_property_null(
9447 scope: *const zend_class_entry,
9448 object: *mut zend_object,
9449 name: *const ::std::os::raw::c_char,
9450 name_length: usize,
9451 );
9452}
9453extern "C" {
9454 pub fn zend_update_property_bool(
9455 scope: *const zend_class_entry,
9456 object: *mut zend_object,
9457 name: *const ::std::os::raw::c_char,
9458 name_length: usize,
9459 value: zend_long,
9460 );
9461}
9462extern "C" {
9463 pub fn zend_update_property_long(
9464 scope: *const zend_class_entry,
9465 object: *mut zend_object,
9466 name: *const ::std::os::raw::c_char,
9467 name_length: usize,
9468 value: zend_long,
9469 );
9470}
9471extern "C" {
9472 pub fn zend_update_property_double(
9473 scope: *const zend_class_entry,
9474 object: *mut zend_object,
9475 name: *const ::std::os::raw::c_char,
9476 name_length: usize,
9477 value: f64,
9478 );
9479}
9480extern "C" {
9481 pub fn zend_update_property_str(
9482 scope: *const zend_class_entry,
9483 object: *mut zend_object,
9484 name: *const ::std::os::raw::c_char,
9485 name_length: usize,
9486 value: *mut zend_string,
9487 );
9488}
9489extern "C" {
9490 pub fn zend_update_property_string(
9491 scope: *const zend_class_entry,
9492 object: *mut zend_object,
9493 name: *const ::std::os::raw::c_char,
9494 name_length: usize,
9495 value: *const ::std::os::raw::c_char,
9496 );
9497}
9498extern "C" {
9499 pub fn zend_update_property_stringl(
9500 scope: *const zend_class_entry,
9501 object: *mut zend_object,
9502 name: *const ::std::os::raw::c_char,
9503 name_length: usize,
9504 value: *const ::std::os::raw::c_char,
9505 value_length: usize,
9506 );
9507}
9508extern "C" {
9509 pub fn zend_unset_property(
9510 scope: *const zend_class_entry,
9511 object: *mut zend_object,
9512 name: *const ::std::os::raw::c_char,
9513 name_length: usize,
9514 );
9515}
9516extern "C" {
9517 pub fn zend_update_static_property_ex(
9518 scope: *mut zend_class_entry,
9519 name: *mut zend_string,
9520 value: *mut zval,
9521 ) -> zend_result;
9522}
9523extern "C" {
9524 pub fn zend_update_static_property(
9525 scope: *mut zend_class_entry,
9526 name: *const ::std::os::raw::c_char,
9527 name_length: usize,
9528 value: *mut zval,
9529 ) -> zend_result;
9530}
9531extern "C" {
9532 pub fn zend_update_static_property_null(
9533 scope: *mut zend_class_entry,
9534 name: *const ::std::os::raw::c_char,
9535 name_length: usize,
9536 ) -> zend_result;
9537}
9538extern "C" {
9539 pub fn zend_update_static_property_bool(
9540 scope: *mut zend_class_entry,
9541 name: *const ::std::os::raw::c_char,
9542 name_length: usize,
9543 value: zend_long,
9544 ) -> zend_result;
9545}
9546extern "C" {
9547 pub fn zend_update_static_property_long(
9548 scope: *mut zend_class_entry,
9549 name: *const ::std::os::raw::c_char,
9550 name_length: usize,
9551 value: zend_long,
9552 ) -> zend_result;
9553}
9554extern "C" {
9555 pub fn zend_update_static_property_double(
9556 scope: *mut zend_class_entry,
9557 name: *const ::std::os::raw::c_char,
9558 name_length: usize,
9559 value: f64,
9560 ) -> zend_result;
9561}
9562extern "C" {
9563 pub fn zend_update_static_property_string(
9564 scope: *mut zend_class_entry,
9565 name: *const ::std::os::raw::c_char,
9566 name_length: usize,
9567 value: *const ::std::os::raw::c_char,
9568 ) -> zend_result;
9569}
9570extern "C" {
9571 pub fn zend_update_static_property_stringl(
9572 scope: *mut zend_class_entry,
9573 name: *const ::std::os::raw::c_char,
9574 name_length: usize,
9575 value: *const ::std::os::raw::c_char,
9576 value_length: usize,
9577 ) -> zend_result;
9578}
9579extern "C" {
9580 pub fn zend_read_property_ex(
9581 scope: *mut zend_class_entry,
9582 object: *mut zend_object,
9583 name: *mut zend_string,
9584 silent: bool,
9585 rv: *mut zval,
9586 ) -> *mut zval;
9587}
9588extern "C" {
9589 pub fn zend_read_property(
9590 scope: *mut zend_class_entry,
9591 object: *mut zend_object,
9592 name: *const ::std::os::raw::c_char,
9593 name_length: usize,
9594 silent: bool,
9595 rv: *mut zval,
9596 ) -> *mut zval;
9597}
9598extern "C" {
9599 pub fn zend_read_static_property_ex(
9600 scope: *mut zend_class_entry,
9601 name: *mut zend_string,
9602 silent: bool,
9603 ) -> *mut zval;
9604}
9605extern "C" {
9606 pub fn zend_read_static_property(
9607 scope: *mut zend_class_entry,
9608 name: *const ::std::os::raw::c_char,
9609 name_length: usize,
9610 silent: bool,
9611 ) -> *mut zval;
9612}
9613extern "C" {
9614 pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
9615}
9616extern "C" {
9617 pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
9618}
9619extern "C" {
9620 #[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."]
9621 pub fn zend_fcall_info_init(
9622 callable: *mut zval,
9623 check_flags: u32,
9624 fci: *mut zend_fcall_info,
9625 fcc: *mut zend_fcall_info_cache,
9626 callable_name: *mut *mut zend_string,
9627 error: *mut *mut ::std::os::raw::c_char,
9628 ) -> zend_result;
9629}
9630extern "C" {
9631 #[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"]
9632 pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: bool);
9633}
9634extern "C" {
9635 #[doc = " Save current arguments from zend_fcall_info *fci\n params array will be set to NULL"]
9636 pub fn zend_fcall_info_args_save(
9637 fci: *mut zend_fcall_info,
9638 param_count: *mut u32,
9639 params: *mut *mut zval,
9640 );
9641}
9642extern "C" {
9643 #[doc = " Free arguments connected with zend_fcall_info *fci and set back saved ones."]
9644 pub fn zend_fcall_info_args_restore(
9645 fci: *mut zend_fcall_info,
9646 param_count: u32,
9647 params: *mut zval,
9648 );
9649}
9650extern "C" {
9651 #[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."]
9652 pub fn zend_fcall_info_args(fci: *mut zend_fcall_info, args: *mut zval) -> zend_result;
9653}
9654extern "C" {
9655 pub fn zend_fcall_info_args_ex(
9656 fci: *mut zend_fcall_info,
9657 func: *mut zend_function,
9658 args: *mut zval,
9659 ) -> zend_result;
9660}
9661extern "C" {
9662 #[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."]
9663 pub fn zend_fcall_info_argp(fci: *mut zend_fcall_info, argc: u32, argv: *mut zval);
9664}
9665extern "C" {
9666 #[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."]
9667 pub fn zend_fcall_info_argv(fci: *mut zend_fcall_info, argc: u32, argv: *mut va_list);
9668}
9669extern "C" {
9670 #[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."]
9671 pub fn zend_fcall_info_argn(fci: *mut zend_fcall_info, argc: u32, ...);
9672}
9673extern "C" {
9674 #[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."]
9675 pub fn zend_fcall_info_call(
9676 fci: *mut zend_fcall_info,
9677 fcc: *mut zend_fcall_info_cache,
9678 retval: *mut zval,
9679 args: *mut zval,
9680 ) -> zend_result;
9681}
9682extern "C" {
9683 pub fn zend_get_callable_zval_from_fcc(fcc: *const zend_fcall_info_cache, callable: *mut zval);
9684}
9685extern "C" {
9686 pub fn zend_call_function(
9687 fci: *mut zend_fcall_info,
9688 fci_cache: *mut zend_fcall_info_cache,
9689 ) -> zend_result;
9690}
9691extern "C" {
9692 pub fn zend_call_known_function(
9693 fn_: *mut zend_function,
9694 object: *mut zend_object,
9695 called_scope: *mut zend_class_entry,
9696 retval_ptr: *mut zval,
9697 param_count: u32,
9698 params: *mut zval,
9699 named_params: *mut HashTable,
9700 );
9701}
9702extern "C" {
9703 pub fn zend_call_known_instance_method_with_2_params(
9704 fn_: *mut zend_function,
9705 object: *mut zend_object,
9706 retval_ptr: *mut zval,
9707 param1: *mut zval,
9708 param2: *mut zval,
9709 );
9710}
9711extern "C" {
9712 pub fn zend_call_method_if_exists(
9713 object: *mut zend_object,
9714 method_name: *mut zend_string,
9715 retval: *mut zval,
9716 param_count: u32,
9717 params: *mut zval,
9718 ) -> zend_result;
9719}
9720extern "C" {
9721 pub fn zend_set_hash_symbol(
9722 symbol: *mut zval,
9723 name: *const ::std::os::raw::c_char,
9724 name_length: usize,
9725 is_ref: bool,
9726 num_symbol_tables: ::std::os::raw::c_int,
9727 ...
9728 ) -> zend_result;
9729}
9730extern "C" {
9731 pub fn zend_delete_global_variable(name: *mut zend_string) -> zend_result;
9732}
9733extern "C" {
9734 pub fn zend_rebuild_symbol_table() -> *mut zend_array;
9735}
9736extern "C" {
9737 pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
9738}
9739extern "C" {
9740 pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
9741}
9742extern "C" {
9743 pub fn zend_set_local_var(name: *mut zend_string, value: *mut zval, force: bool)
9744 -> zend_result;
9745}
9746extern "C" {
9747 pub fn zend_set_local_var_str(
9748 name: *const ::std::os::raw::c_char,
9749 len: usize,
9750 value: *mut zval,
9751 force: bool,
9752 ) -> zend_result;
9753}
9754extern "C" {
9755 pub fn zend_get_object_type_case(
9756 ce: *const zend_class_entry,
9757 upper_case: bool,
9758 ) -> *const ::std::os::raw::c_char;
9759}
9760extern "C" {
9761 pub fn zend_is_iterable(iterable: *const zval) -> bool;
9762}
9763extern "C" {
9764 pub fn zend_is_countable(countable: *const zval) -> bool;
9765}
9766extern "C" {
9767 pub fn zend_get_default_from_internal_arg_info(
9768 default_value_zval: *mut zval,
9769 arg_info: *mut zend_internal_arg_info,
9770 ) -> zend_result;
9771}
9772extern "C" {
9773 pub fn zend_try_assign_typed_ref_ex(
9774 ref_: *mut zend_reference,
9775 zv: *mut zval,
9776 strict: bool,
9777 ) -> zend_result;
9778}
9779extern "C" {
9780 pub fn zend_try_assign_typed_ref(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
9781}
9782extern "C" {
9783 pub fn zend_try_assign_typed_ref_null(ref_: *mut zend_reference) -> zend_result;
9784}
9785extern "C" {
9786 pub fn zend_try_assign_typed_ref_bool(ref_: *mut zend_reference, val: bool) -> zend_result;
9787}
9788extern "C" {
9789 pub fn zend_try_assign_typed_ref_long(
9790 ref_: *mut zend_reference,
9791 lval: zend_long,
9792 ) -> zend_result;
9793}
9794extern "C" {
9795 pub fn zend_try_assign_typed_ref_double(ref_: *mut zend_reference, dval: f64) -> zend_result;
9796}
9797extern "C" {
9798 pub fn zend_try_assign_typed_ref_empty_string(ref_: *mut zend_reference) -> zend_result;
9799}
9800extern "C" {
9801 pub fn zend_try_assign_typed_ref_str(
9802 ref_: *mut zend_reference,
9803 str_: *mut zend_string,
9804 ) -> zend_result;
9805}
9806extern "C" {
9807 pub fn zend_try_assign_typed_ref_string(
9808 ref_: *mut zend_reference,
9809 string: *const ::std::os::raw::c_char,
9810 ) -> zend_result;
9811}
9812extern "C" {
9813 pub fn zend_try_assign_typed_ref_stringl(
9814 ref_: *mut zend_reference,
9815 string: *const ::std::os::raw::c_char,
9816 len: usize,
9817 ) -> zend_result;
9818}
9819extern "C" {
9820 pub fn zend_try_assign_typed_ref_arr(
9821 ref_: *mut zend_reference,
9822 arr: *mut zend_array,
9823 ) -> zend_result;
9824}
9825extern "C" {
9826 pub fn zend_try_assign_typed_ref_res(
9827 ref_: *mut zend_reference,
9828 res: *mut zend_resource,
9829 ) -> zend_result;
9830}
9831extern "C" {
9832 pub fn zend_try_assign_typed_ref_zval(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
9833}
9834extern "C" {
9835 pub fn zend_try_assign_typed_ref_zval_ex(
9836 ref_: *mut zend_reference,
9837 zv: *mut zval,
9838 strict: bool,
9839 ) -> zend_result;
9840}
9841pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
9842pub const _zend_expected_type_Z_EXPECTED_LONG_OR_NULL: _zend_expected_type = 1;
9843pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 2;
9844pub const _zend_expected_type_Z_EXPECTED_BOOL_OR_NULL: _zend_expected_type = 3;
9845pub const _zend_expected_type_Z_EXPECTED_STRING: _zend_expected_type = 4;
9846pub const _zend_expected_type_Z_EXPECTED_STRING_OR_NULL: _zend_expected_type = 5;
9847pub const _zend_expected_type_Z_EXPECTED_ARRAY: _zend_expected_type = 6;
9848pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_NULL: _zend_expected_type = 7;
9849pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_LONG: _zend_expected_type = 8;
9850pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_LONG_OR_NULL: _zend_expected_type = 9;
9851pub const _zend_expected_type_Z_EXPECTED_ITERABLE: _zend_expected_type = 10;
9852pub const _zend_expected_type_Z_EXPECTED_ITERABLE_OR_NULL: _zend_expected_type = 11;
9853pub const _zend_expected_type_Z_EXPECTED_FUNC: _zend_expected_type = 12;
9854pub const _zend_expected_type_Z_EXPECTED_FUNC_OR_NULL: _zend_expected_type = 13;
9855pub const _zend_expected_type_Z_EXPECTED_RESOURCE: _zend_expected_type = 14;
9856pub const _zend_expected_type_Z_EXPECTED_RESOURCE_OR_NULL: _zend_expected_type = 15;
9857pub const _zend_expected_type_Z_EXPECTED_PATH: _zend_expected_type = 16;
9858pub const _zend_expected_type_Z_EXPECTED_PATH_OR_NULL: _zend_expected_type = 17;
9859pub const _zend_expected_type_Z_EXPECTED_OBJECT: _zend_expected_type = 18;
9860pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_NULL: _zend_expected_type = 19;
9861pub const _zend_expected_type_Z_EXPECTED_DOUBLE: _zend_expected_type = 20;
9862pub const _zend_expected_type_Z_EXPECTED_DOUBLE_OR_NULL: _zend_expected_type = 21;
9863pub const _zend_expected_type_Z_EXPECTED_NUMBER: _zend_expected_type = 22;
9864pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_NULL: _zend_expected_type = 23;
9865pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_STRING: _zend_expected_type = 24;
9866pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_STRING_OR_NULL: _zend_expected_type = 25;
9867pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_STRING: _zend_expected_type = 26;
9868pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_STRING_OR_NULL: _zend_expected_type = 27;
9869pub const _zend_expected_type_Z_EXPECTED_STRING_OR_LONG: _zend_expected_type = 28;
9870pub const _zend_expected_type_Z_EXPECTED_STRING_OR_LONG_OR_NULL: _zend_expected_type = 29;
9871pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_CLASS_NAME: _zend_expected_type = 30;
9872pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_CLASS_NAME_OR_NULL: _zend_expected_type = 31;
9873pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_STRING: _zend_expected_type = 32;
9874pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_STRING_OR_NULL: _zend_expected_type = 33;
9875pub const _zend_expected_type_Z_EXPECTED_LAST: _zend_expected_type = 34;
9876pub type _zend_expected_type = ::std::os::raw::c_uint;
9877pub use self::_zend_expected_type as zend_expected_type;
9878extern "C" {
9879 pub fn zend_wrong_parameters_none_error();
9880}
9881extern "C" {
9882 pub fn zend_wrong_parameters_count_error(min_num_args: u32, max_num_args: u32);
9883}
9884extern "C" {
9885 pub fn zend_wrong_parameter_error(
9886 error_code: ::std::os::raw::c_int,
9887 num: u32,
9888 name: *mut ::std::os::raw::c_char,
9889 expected_type: zend_expected_type,
9890 arg: *mut zval,
9891 );
9892}
9893extern "C" {
9894 pub fn zend_wrong_parameter_type_error(
9895 num: u32,
9896 expected_type: zend_expected_type,
9897 arg: *mut zval,
9898 );
9899}
9900extern "C" {
9901 pub fn zend_wrong_parameter_class_error(
9902 num: u32,
9903 name: *const ::std::os::raw::c_char,
9904 arg: *mut zval,
9905 );
9906}
9907extern "C" {
9908 pub fn zend_wrong_parameter_class_or_null_error(
9909 num: u32,
9910 name: *const ::std::os::raw::c_char,
9911 arg: *mut zval,
9912 );
9913}
9914extern "C" {
9915 pub fn zend_wrong_parameter_class_or_long_error(
9916 num: u32,
9917 name: *const ::std::os::raw::c_char,
9918 arg: *mut zval,
9919 );
9920}
9921extern "C" {
9922 pub fn zend_wrong_parameter_class_or_long_or_null_error(
9923 num: u32,
9924 name: *const ::std::os::raw::c_char,
9925 arg: *mut zval,
9926 );
9927}
9928extern "C" {
9929 pub fn zend_wrong_parameter_class_or_string_error(
9930 num: u32,
9931 name: *const ::std::os::raw::c_char,
9932 arg: *mut zval,
9933 );
9934}
9935extern "C" {
9936 pub fn zend_wrong_parameter_class_or_string_or_null_error(
9937 num: u32,
9938 name: *const ::std::os::raw::c_char,
9939 arg: *mut zval,
9940 );
9941}
9942extern "C" {
9943 pub fn zend_wrong_callback_error(num: u32, error: *mut ::std::os::raw::c_char);
9944}
9945extern "C" {
9946 pub fn zend_wrong_callback_or_null_error(num: u32, error: *mut ::std::os::raw::c_char);
9947}
9948extern "C" {
9949 pub fn zend_unexpected_extra_named_error();
9950}
9951extern "C" {
9952 pub fn zend_argument_error_variadic(
9953 error_ce: *mut zend_class_entry,
9954 arg_num: u32,
9955 format: *const ::std::os::raw::c_char,
9956 va: *mut __va_list_tag,
9957 );
9958}
9959extern "C" {
9960 pub fn zend_argument_error(
9961 error_ce: *mut zend_class_entry,
9962 arg_num: u32,
9963 format: *const ::std::os::raw::c_char,
9964 ...
9965 );
9966}
9967extern "C" {
9968 pub fn zend_argument_type_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
9969}
9970extern "C" {
9971 pub fn zend_argument_value_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
9972}
9973extern "C" {
9974 pub fn zend_argument_must_not_be_empty_error(arg_num: u32);
9975}
9976extern "C" {
9977 pub fn zend_class_redeclaration_error(
9978 type_: ::std::os::raw::c_int,
9979 old_ce: *mut zend_class_entry,
9980 );
9981}
9982extern "C" {
9983 pub fn zend_class_redeclaration_error_ex(
9984 type_: ::std::os::raw::c_int,
9985 new_name: *mut zend_string,
9986 old_ce: *mut zend_class_entry,
9987 );
9988}
9989extern "C" {
9990 pub fn zend_parse_arg_class(
9991 arg: *mut zval,
9992 pce: *mut *mut zend_class_entry,
9993 num: u32,
9994 check_null: bool,
9995 ) -> bool;
9996}
9997extern "C" {
9998 pub fn zend_parse_arg_bool_slow(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
9999}
10000extern "C" {
10001 pub fn zend_parse_arg_bool_weak(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
10002}
10003extern "C" {
10004 pub fn zend_parse_arg_long_slow(arg: *const zval, dest: *mut zend_long, arg_num: u32) -> bool;
10005}
10006extern "C" {
10007 pub fn zend_parse_arg_long_weak(arg: *const zval, dest: *mut zend_long, arg_num: u32) -> bool;
10008}
10009extern "C" {
10010 pub fn zend_parse_arg_double_slow(arg: *const zval, dest: *mut f64, arg_num: u32) -> bool;
10011}
10012extern "C" {
10013 pub fn zend_parse_arg_double_weak(arg: *const zval, dest: *mut f64, arg_num: u32) -> bool;
10014}
10015extern "C" {
10016 pub fn zend_parse_arg_str_slow(
10017 arg: *mut zval,
10018 dest: *mut *mut zend_string,
10019 arg_num: u32,
10020 ) -> bool;
10021}
10022extern "C" {
10023 pub fn zend_parse_arg_str_weak(
10024 arg: *mut zval,
10025 dest: *mut *mut zend_string,
10026 arg_num: u32,
10027 ) -> bool;
10028}
10029extern "C" {
10030 pub fn zend_parse_arg_number_slow(arg: *mut zval, dest: *mut *mut zval, arg_num: u32) -> bool;
10031}
10032extern "C" {
10033 pub fn zend_parse_arg_number_or_str_slow(
10034 arg: *mut zval,
10035 dest: *mut *mut zval,
10036 arg_num: u32,
10037 ) -> bool;
10038}
10039extern "C" {
10040 pub fn zend_parse_arg_str_or_long_slow(
10041 arg: *mut zval,
10042 dest_str: *mut *mut zend_string,
10043 dest_long: *mut zend_long,
10044 arg_num: u32,
10045 ) -> bool;
10046}
10047extern "C" {
10048 pub fn zend_flf_parse_arg_bool_slow(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
10049}
10050extern "C" {
10051 pub fn zend_flf_parse_arg_str_slow(
10052 arg: *mut zval,
10053 dest: *mut *mut zend_string,
10054 arg_num: u32,
10055 ) -> bool;
10056}
10057extern "C" {
10058 pub fn zend_flf_parse_arg_long_slow(
10059 arg: *const zval,
10060 dest: *mut zend_long,
10061 arg_num: u32,
10062 ) -> bool;
10063}
10064extern "C" {
10065 pub fn php_strlcpy(
10066 dst: *mut ::std::os::raw::c_char,
10067 src: *const ::std::os::raw::c_char,
10068 siz: usize,
10069 ) -> usize;
10070}
10071extern "C" {
10072 pub fn php_strlcat(
10073 dst: *mut ::std::os::raw::c_char,
10074 src: *const ::std::os::raw::c_char,
10075 siz: usize,
10076 ) -> usize;
10077}
10078extern "C" {
10079 pub fn php_safe_bcmp(a: *const zend_string, b: *const zend_string) -> ::std::os::raw::c_int;
10080}
10081extern "C" {
10082 pub fn php_0cvt(
10083 value: f64,
10084 ndigit: ::std::os::raw::c_int,
10085 dec_point: ::std::os::raw::c_char,
10086 exponent: ::std::os::raw::c_char,
10087 buf: *mut ::std::os::raw::c_char,
10088 ) -> *mut ::std::os::raw::c_char;
10089}
10090extern "C" {
10091 pub fn php_conv_fp(
10092 format: ::std::os::raw::c_char,
10093 num: f64,
10094 add_dp: bool,
10095 precision: ::std::os::raw::c_int,
10096 dec_point: ::std::os::raw::c_char,
10097 is_negative: *mut bool,
10098 buf: *mut ::std::os::raw::c_char,
10099 len: *mut usize,
10100 ) -> *mut ::std::os::raw::c_char;
10101}
10102extern "C" {
10103 pub fn php_printf_to_smart_string(
10104 buf: *mut smart_string,
10105 format: *const ::std::os::raw::c_char,
10106 ap: *mut __va_list_tag,
10107 );
10108}
10109extern "C" {
10110 pub fn php_printf_to_smart_str(
10111 buf: *mut smart_str,
10112 format: *const ::std::os::raw::c_char,
10113 ap: *mut __va_list_tag,
10114 );
10115}
10116extern "C" {
10117 pub static php_build_date: [::std::os::raw::c_char; 0usize];
10118}
10119extern "C" {
10120 pub fn php_write(buf: *mut ::std::os::raw::c_void, size: usize) -> usize;
10121}
10122extern "C" {
10123 pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> usize;
10124}
10125extern "C" {
10126 pub fn php_printf_unchecked(format: *const ::std::os::raw::c_char, ...) -> usize;
10127}
10128extern "C" {
10129 pub fn php_during_module_startup() -> bool;
10130}
10131extern "C" {
10132 pub fn php_during_module_shutdown() -> bool;
10133}
10134extern "C" {
10135 pub fn php_get_module_initialized() -> bool;
10136}
10137extern "C" {
10138 pub fn php_syslog_str(priority: ::std::os::raw::c_int, message: *const zend_string);
10139}
10140extern "C" {
10141 pub fn php_syslog(arg1: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
10142}
10143extern "C" {
10144 pub fn php_openlog(
10145 arg1: *const ::std::os::raw::c_char,
10146 arg2: ::std::os::raw::c_int,
10147 arg3: ::std::os::raw::c_int,
10148 );
10149}
10150extern "C" {
10151 pub fn php_closelog();
10152}
10153extern "C" {
10154 pub fn php_log_err_with_severity(
10155 log_message: *const ::std::os::raw::c_char,
10156 syslog_type_int: ::std::os::raw::c_int,
10157 );
10158}
10159extern "C" {
10160 pub fn php_verror(
10161 docref: *const ::std::os::raw::c_char,
10162 params: *const ::std::os::raw::c_char,
10163 type_: ::std::os::raw::c_int,
10164 format: *const ::std::os::raw::c_char,
10165 args: *mut __va_list_tag,
10166 );
10167}
10168extern "C" {
10169 pub fn php_error_docref(
10170 docref: *const ::std::os::raw::c_char,
10171 type_: ::std::os::raw::c_int,
10172 format: *const ::std::os::raw::c_char,
10173 ...
10174 );
10175}
10176extern "C" {
10177 pub fn php_error_docref_unchecked(
10178 docref: *const ::std::os::raw::c_char,
10179 type_: ::std::os::raw::c_int,
10180 format: *const ::std::os::raw::c_char,
10181 ...
10182 );
10183}
10184extern "C" {
10185 pub fn php_error_docref1(
10186 docref: *const ::std::os::raw::c_char,
10187 param1: *const ::std::os::raw::c_char,
10188 type_: ::std::os::raw::c_int,
10189 format: *const ::std::os::raw::c_char,
10190 ...
10191 );
10192}
10193extern "C" {
10194 pub fn php_error_docref2(
10195 docref: *const ::std::os::raw::c_char,
10196 param1: *const ::std::os::raw::c_char,
10197 param2: *const ::std::os::raw::c_char,
10198 type_: ::std::os::raw::c_int,
10199 format: *const ::std::os::raw::c_char,
10200 ...
10201 );
10202}
10203extern "C" {
10204 pub static mut php_register_internal_extensions_func:
10205 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
10206}
10207extern "C" {
10208 pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
10209}
10210extern "C" {
10211 pub fn php_register_pre_request_shutdown(
10212 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
10213 userdata: *mut ::std::os::raw::c_void,
10214 );
10215}
10216extern "C" {
10217 pub fn php_com_initialize();
10218}
10219extern "C" {
10220 pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
10221}
10222extern "C" {
10223 pub fn php_get_internal_encoding() -> *const ::std::os::raw::c_char;
10224}
10225extern "C" {
10226 pub fn php_get_input_encoding() -> *const ::std::os::raw::c_char;
10227}
10228extern "C" {
10229 pub fn php_get_output_encoding() -> *const ::std::os::raw::c_char;
10230}
10231extern "C" {
10232 pub static mut php_internal_encoding_changed: ::std::option::Option<unsafe extern "C" fn()>;
10233}
10234pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
10235 0;
10236pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
10237 1;
10238pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
10239 2;
10240pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
10241 3;
10242pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
10243 4;
10244pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
10245pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
10246pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
10247#[repr(C)]
10248#[derive(Debug, Copy, Clone)]
10249pub struct _php_output_buffer {
10250 pub data: *mut ::std::os::raw::c_char,
10251 pub size: usize,
10252 pub used: usize,
10253 pub _bitfield_align_1: [u32; 0],
10254 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
10255 pub __bindgen_padding_0: u32,
10256}
10257#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10258const _: () = {
10259 ["Size of _php_output_buffer"][::std::mem::size_of::<_php_output_buffer>() - 32usize];
10260 ["Alignment of _php_output_buffer"][::std::mem::align_of::<_php_output_buffer>() - 8usize];
10261 ["Offset of field: _php_output_buffer::data"]
10262 [::std::mem::offset_of!(_php_output_buffer, data) - 0usize];
10263 ["Offset of field: _php_output_buffer::size"]
10264 [::std::mem::offset_of!(_php_output_buffer, size) - 8usize];
10265 ["Offset of field: _php_output_buffer::used"]
10266 [::std::mem::offset_of!(_php_output_buffer, used) - 16usize];
10267};
10268impl _php_output_buffer {
10269 #[inline]
10270 pub fn free(&self) -> u32 {
10271 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
10272 }
10273 #[inline]
10274 pub fn set_free(&mut self, val: u32) {
10275 unsafe {
10276 let val: u32 = ::std::mem::transmute(val);
10277 self._bitfield_1.set(0usize, 1u8, val as u64)
10278 }
10279 }
10280 #[inline]
10281 pub fn _reserved(&self) -> u32 {
10282 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
10283 }
10284 #[inline]
10285 pub fn set__reserved(&mut self, val: u32) {
10286 unsafe {
10287 let val: u32 = ::std::mem::transmute(val);
10288 self._bitfield_1.set(1usize, 31u8, val as u64)
10289 }
10290 }
10291 #[inline]
10292 pub fn new_bitfield_1(free: u32, _reserved: u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
10293 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
10294 __bindgen_bitfield_unit.set(0usize, 1u8, {
10295 let free: u32 = unsafe { ::std::mem::transmute(free) };
10296 free as u64
10297 });
10298 __bindgen_bitfield_unit.set(1usize, 31u8, {
10299 let _reserved: u32 = unsafe { ::std::mem::transmute(_reserved) };
10300 _reserved as u64
10301 });
10302 __bindgen_bitfield_unit
10303 }
10304}
10305pub type php_output_buffer = _php_output_buffer;
10306#[repr(C)]
10307#[derive(Debug, Copy, Clone)]
10308pub struct _php_output_context {
10309 pub op: ::std::os::raw::c_int,
10310 pub in_: php_output_buffer,
10311 pub out: php_output_buffer,
10312}
10313#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10314const _: () = {
10315 ["Size of _php_output_context"][::std::mem::size_of::<_php_output_context>() - 72usize];
10316 ["Alignment of _php_output_context"][::std::mem::align_of::<_php_output_context>() - 8usize];
10317 ["Offset of field: _php_output_context::op"]
10318 [::std::mem::offset_of!(_php_output_context, op) - 0usize];
10319 ["Offset of field: _php_output_context::in_"]
10320 [::std::mem::offset_of!(_php_output_context, in_) - 8usize];
10321 ["Offset of field: _php_output_context::out"]
10322 [::std::mem::offset_of!(_php_output_context, out) - 40usize];
10323};
10324pub type php_output_context = _php_output_context;
10325pub type php_output_handler_func_t = ::std::option::Option<
10326 unsafe extern "C" fn(
10327 output: *mut ::std::os::raw::c_char,
10328 output_len: usize,
10329 handled_output: *mut *mut ::std::os::raw::c_char,
10330 handled_output_len: *mut usize,
10331 mode: ::std::os::raw::c_int,
10332 ),
10333>;
10334pub type php_output_handler_context_func_t = ::std::option::Option<
10335 unsafe extern "C" fn(
10336 handler_context: *mut *mut ::std::os::raw::c_void,
10337 output_context: *mut php_output_context,
10338 ) -> zend_result,
10339>;
10340pub type php_output_handler_conflict_check_t = ::std::option::Option<
10341 unsafe extern "C" fn(
10342 handler_name: *const ::std::os::raw::c_char,
10343 handler_name_len: usize,
10344 ) -> zend_result,
10345>;
10346pub type php_output_handler_alias_ctor_t = ::std::option::Option<
10347 unsafe extern "C" fn(
10348 handler_name: *const ::std::os::raw::c_char,
10349 handler_name_len: usize,
10350 chunk_size: usize,
10351 flags: ::std::os::raw::c_int,
10352 ) -> *mut _php_output_handler,
10353>;
10354#[repr(C)]
10355#[derive(Copy, Clone)]
10356pub struct _php_output_handler_user_func_t {
10357 pub fci: zend_fcall_info,
10358 pub fcc: zend_fcall_info_cache,
10359 pub zoh: zval,
10360}
10361#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10362const _: () = {
10363 ["Size of _php_output_handler_user_func_t"]
10364 [::std::mem::size_of::<_php_output_handler_user_func_t>() - 120usize];
10365 ["Alignment of _php_output_handler_user_func_t"]
10366 [::std::mem::align_of::<_php_output_handler_user_func_t>() - 8usize];
10367 ["Offset of field: _php_output_handler_user_func_t::fci"]
10368 [::std::mem::offset_of!(_php_output_handler_user_func_t, fci) - 0usize];
10369 ["Offset of field: _php_output_handler_user_func_t::fcc"]
10370 [::std::mem::offset_of!(_php_output_handler_user_func_t, fcc) - 64usize];
10371 ["Offset of field: _php_output_handler_user_func_t::zoh"]
10372 [::std::mem::offset_of!(_php_output_handler_user_func_t, zoh) - 104usize];
10373};
10374pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
10375#[repr(C)]
10376#[derive(Copy, Clone)]
10377pub struct _php_output_handler {
10378 pub name: *mut zend_string,
10379 pub flags: ::std::os::raw::c_int,
10380 pub level: ::std::os::raw::c_int,
10381 pub size: usize,
10382 pub buffer: php_output_buffer,
10383 pub opaq: *mut ::std::os::raw::c_void,
10384 pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
10385 pub func: _php_output_handler__bindgen_ty_1,
10386}
10387#[repr(C)]
10388#[derive(Copy, Clone)]
10389pub union _php_output_handler__bindgen_ty_1 {
10390 pub user: *mut php_output_handler_user_func_t,
10391 pub internal: php_output_handler_context_func_t,
10392}
10393#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10394const _: () = {
10395 ["Size of _php_output_handler__bindgen_ty_1"]
10396 [::std::mem::size_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
10397 ["Alignment of _php_output_handler__bindgen_ty_1"]
10398 [::std::mem::align_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
10399 ["Offset of field: _php_output_handler__bindgen_ty_1::user"]
10400 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, user) - 0usize];
10401 ["Offset of field: _php_output_handler__bindgen_ty_1::internal"]
10402 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, internal) - 0usize];
10403};
10404#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10405const _: () = {
10406 ["Size of _php_output_handler"][::std::mem::size_of::<_php_output_handler>() - 80usize];
10407 ["Alignment of _php_output_handler"][::std::mem::align_of::<_php_output_handler>() - 8usize];
10408 ["Offset of field: _php_output_handler::name"]
10409 [::std::mem::offset_of!(_php_output_handler, name) - 0usize];
10410 ["Offset of field: _php_output_handler::flags"]
10411 [::std::mem::offset_of!(_php_output_handler, flags) - 8usize];
10412 ["Offset of field: _php_output_handler::level"]
10413 [::std::mem::offset_of!(_php_output_handler, level) - 12usize];
10414 ["Offset of field: _php_output_handler::size"]
10415 [::std::mem::offset_of!(_php_output_handler, size) - 16usize];
10416 ["Offset of field: _php_output_handler::buffer"]
10417 [::std::mem::offset_of!(_php_output_handler, buffer) - 24usize];
10418 ["Offset of field: _php_output_handler::opaq"]
10419 [::std::mem::offset_of!(_php_output_handler, opaq) - 56usize];
10420 ["Offset of field: _php_output_handler::dtor"]
10421 [::std::mem::offset_of!(_php_output_handler, dtor) - 64usize];
10422 ["Offset of field: _php_output_handler::func"]
10423 [::std::mem::offset_of!(_php_output_handler, func) - 72usize];
10424};
10425pub type php_output_handler = _php_output_handler;
10426#[repr(C)]
10427#[derive(Debug, Copy, Clone)]
10428pub struct _zend_output_globals {
10429 pub handlers: zend_stack,
10430 pub active: *mut php_output_handler,
10431 pub running: *mut php_output_handler,
10432 pub output_start_filename: *mut zend_string,
10433 pub output_start_lineno: ::std::os::raw::c_int,
10434 pub flags: ::std::os::raw::c_int,
10435}
10436#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10437const _: () = {
10438 ["Size of _zend_output_globals"][::std::mem::size_of::<_zend_output_globals>() - 56usize];
10439 ["Alignment of _zend_output_globals"][::std::mem::align_of::<_zend_output_globals>() - 8usize];
10440 ["Offset of field: _zend_output_globals::handlers"]
10441 [::std::mem::offset_of!(_zend_output_globals, handlers) - 0usize];
10442 ["Offset of field: _zend_output_globals::active"]
10443 [::std::mem::offset_of!(_zend_output_globals, active) - 24usize];
10444 ["Offset of field: _zend_output_globals::running"]
10445 [::std::mem::offset_of!(_zend_output_globals, running) - 32usize];
10446 ["Offset of field: _zend_output_globals::output_start_filename"]
10447 [::std::mem::offset_of!(_zend_output_globals, output_start_filename) - 40usize];
10448 ["Offset of field: _zend_output_globals::output_start_lineno"]
10449 [::std::mem::offset_of!(_zend_output_globals, output_start_lineno) - 48usize];
10450 ["Offset of field: _zend_output_globals::flags"]
10451 [::std::mem::offset_of!(_zend_output_globals, flags) - 52usize];
10452};
10453pub type zend_output_globals = _zend_output_globals;
10454extern "C" {
10455 pub static mut output_globals: zend_output_globals;
10456}
10457extern "C" {
10458 pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
10459}
10460extern "C" {
10461 pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
10462}
10463extern "C" {
10464 pub fn php_output_startup();
10465}
10466extern "C" {
10467 pub fn php_output_shutdown();
10468}
10469extern "C" {
10470 pub fn php_output_activate() -> ::std::os::raw::c_int;
10471}
10472extern "C" {
10473 pub fn php_output_deactivate();
10474}
10475extern "C" {
10476 pub fn php_output_set_status(status: ::std::os::raw::c_int);
10477}
10478extern "C" {
10479 pub fn php_output_get_status() -> ::std::os::raw::c_int;
10480}
10481extern "C" {
10482 pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
10483}
10484extern "C" {
10485 pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
10486}
10487extern "C" {
10488 pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
10489}
10490extern "C" {
10491 pub fn php_output_write_unbuffered(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
10492}
10493extern "C" {
10494 pub fn php_output_write(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
10495}
10496extern "C" {
10497 pub fn php_output_flush() -> zend_result;
10498}
10499extern "C" {
10500 pub fn php_output_flush_all();
10501}
10502extern "C" {
10503 pub fn php_output_clean() -> zend_result;
10504}
10505extern "C" {
10506 pub fn php_output_clean_all();
10507}
10508extern "C" {
10509 pub fn php_output_end() -> zend_result;
10510}
10511extern "C" {
10512 pub fn php_output_end_all();
10513}
10514extern "C" {
10515 pub fn php_output_discard() -> zend_result;
10516}
10517extern "C" {
10518 pub fn php_output_discard_all();
10519}
10520extern "C" {
10521 pub fn php_output_get_contents(p: *mut zval) -> zend_result;
10522}
10523extern "C" {
10524 pub fn php_output_get_length(p: *mut zval) -> zend_result;
10525}
10526extern "C" {
10527 pub fn php_output_get_level() -> ::std::os::raw::c_int;
10528}
10529extern "C" {
10530 pub fn php_output_get_active_handler() -> *mut php_output_handler;
10531}
10532extern "C" {
10533 pub fn php_output_start_default() -> zend_result;
10534}
10535extern "C" {
10536 pub fn php_output_start_devnull() -> zend_result;
10537}
10538extern "C" {
10539 pub fn php_output_start_user(
10540 output_handler: *mut zval,
10541 chunk_size: usize,
10542 flags: ::std::os::raw::c_int,
10543 ) -> zend_result;
10544}
10545extern "C" {
10546 pub fn php_output_start_internal(
10547 name: *const ::std::os::raw::c_char,
10548 name_len: usize,
10549 output_handler: php_output_handler_func_t,
10550 chunk_size: usize,
10551 flags: ::std::os::raw::c_int,
10552 ) -> zend_result;
10553}
10554extern "C" {
10555 pub fn php_output_handler_create_user(
10556 handler: *mut zval,
10557 chunk_size: usize,
10558 flags: ::std::os::raw::c_int,
10559 ) -> *mut php_output_handler;
10560}
10561extern "C" {
10562 pub fn php_output_handler_create_internal(
10563 name: *const ::std::os::raw::c_char,
10564 name_len: usize,
10565 handler: php_output_handler_context_func_t,
10566 chunk_size: usize,
10567 flags: ::std::os::raw::c_int,
10568 ) -> *mut php_output_handler;
10569}
10570extern "C" {
10571 pub fn php_output_handler_set_context(
10572 handler: *mut php_output_handler,
10573 opaq: *mut ::std::os::raw::c_void,
10574 dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
10575 );
10576}
10577extern "C" {
10578 pub fn php_output_handler_start(handler: *mut php_output_handler) -> zend_result;
10579}
10580extern "C" {
10581 pub fn php_output_handler_started(name: *const ::std::os::raw::c_char, name_len: usize)
10582 -> bool;
10583}
10584extern "C" {
10585 pub fn php_output_handler_hook(
10586 type_: php_output_handler_hook_t,
10587 arg: *mut ::std::os::raw::c_void,
10588 ) -> zend_result;
10589}
10590extern "C" {
10591 pub fn php_output_handler_dtor(handler: *mut php_output_handler);
10592}
10593extern "C" {
10594 pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
10595}
10596extern "C" {
10597 pub fn php_output_handler_conflict(
10598 handler_new: *const ::std::os::raw::c_char,
10599 handler_new_len: usize,
10600 handler_set: *const ::std::os::raw::c_char,
10601 handler_set_len: usize,
10602 ) -> bool;
10603}
10604extern "C" {
10605 pub fn php_output_handler_conflict_register(
10606 handler_name: *const ::std::os::raw::c_char,
10607 handler_name_len: usize,
10608 check_func: php_output_handler_conflict_check_t,
10609 ) -> zend_result;
10610}
10611extern "C" {
10612 pub fn php_output_handler_reverse_conflict_register(
10613 handler_name: *const ::std::os::raw::c_char,
10614 handler_name_len: usize,
10615 check_func: php_output_handler_conflict_check_t,
10616 ) -> zend_result;
10617}
10618extern "C" {
10619 pub fn php_output_handler_alias(
10620 handler_name: *const ::std::os::raw::c_char,
10621 handler_name_len: usize,
10622 ) -> php_output_handler_alias_ctor_t;
10623}
10624extern "C" {
10625 pub fn php_output_handler_alias_register(
10626 handler_name: *const ::std::os::raw::c_char,
10627 handler_name_len: usize,
10628 func: php_output_handler_alias_ctor_t,
10629 ) -> zend_result;
10630}
10631extern "C" {
10632 pub fn php_file_le_stream() -> ::std::os::raw::c_int;
10633}
10634extern "C" {
10635 pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
10636}
10637extern "C" {
10638 pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
10639}
10640pub type php_stream = _php_stream;
10641pub type php_stream_wrapper = _php_stream_wrapper;
10642pub type php_stream_context = _php_stream_context;
10643pub type php_stream_filter = _php_stream_filter;
10644pub type php_stream_notification_func = ::std::option::Option<
10645 unsafe extern "C" fn(
10646 context: *mut php_stream_context,
10647 notifycode: ::std::os::raw::c_int,
10648 severity: ::std::os::raw::c_int,
10649 xmsg: *mut ::std::os::raw::c_char,
10650 xcode: ::std::os::raw::c_int,
10651 bytes_sofar: usize,
10652 bytes_max: usize,
10653 ptr: *mut ::std::os::raw::c_void,
10654 ),
10655>;
10656pub type php_stream_notifier = _php_stream_notifier;
10657#[repr(C)]
10658#[derive(Debug, Copy, Clone)]
10659pub struct _php_stream_notifier {
10660 pub func: php_stream_notification_func,
10661 pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
10662 pub ptr: *mut ::std::os::raw::c_void,
10663 pub mask: ::std::os::raw::c_int,
10664 pub progress: usize,
10665 pub progress_max: usize,
10666}
10667#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10668const _: () = {
10669 ["Size of _php_stream_notifier"][::std::mem::size_of::<_php_stream_notifier>() - 48usize];
10670 ["Alignment of _php_stream_notifier"][::std::mem::align_of::<_php_stream_notifier>() - 8usize];
10671 ["Offset of field: _php_stream_notifier::func"]
10672 [::std::mem::offset_of!(_php_stream_notifier, func) - 0usize];
10673 ["Offset of field: _php_stream_notifier::dtor"]
10674 [::std::mem::offset_of!(_php_stream_notifier, dtor) - 8usize];
10675 ["Offset of field: _php_stream_notifier::ptr"]
10676 [::std::mem::offset_of!(_php_stream_notifier, ptr) - 16usize];
10677 ["Offset of field: _php_stream_notifier::mask"]
10678 [::std::mem::offset_of!(_php_stream_notifier, mask) - 24usize];
10679 ["Offset of field: _php_stream_notifier::progress"]
10680 [::std::mem::offset_of!(_php_stream_notifier, progress) - 32usize];
10681 ["Offset of field: _php_stream_notifier::progress_max"]
10682 [::std::mem::offset_of!(_php_stream_notifier, progress_max) - 40usize];
10683};
10684#[repr(C)]
10685#[derive(Copy, Clone)]
10686pub struct _php_stream_context {
10687 pub notifier: *mut php_stream_notifier,
10688 pub options: zval,
10689 pub res: *mut zend_resource,
10690}
10691#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10692const _: () = {
10693 ["Size of _php_stream_context"][::std::mem::size_of::<_php_stream_context>() - 32usize];
10694 ["Alignment of _php_stream_context"][::std::mem::align_of::<_php_stream_context>() - 8usize];
10695 ["Offset of field: _php_stream_context::notifier"]
10696 [::std::mem::offset_of!(_php_stream_context, notifier) - 0usize];
10697 ["Offset of field: _php_stream_context::options"]
10698 [::std::mem::offset_of!(_php_stream_context, options) - 8usize];
10699 ["Offset of field: _php_stream_context::res"]
10700 [::std::mem::offset_of!(_php_stream_context, res) - 24usize];
10701};
10702extern "C" {
10703 pub fn php_le_stream_context() -> ::std::os::raw::c_int;
10704}
10705extern "C" {
10706 pub fn php_stream_context_free(context: *mut php_stream_context);
10707}
10708extern "C" {
10709 pub fn php_stream_context_alloc() -> *mut php_stream_context;
10710}
10711extern "C" {
10712 pub fn php_stream_context_get_option(
10713 context: *const php_stream_context,
10714 wrappername: *const ::std::os::raw::c_char,
10715 optionname: *const ::std::os::raw::c_char,
10716 ) -> *mut zval;
10717}
10718extern "C" {
10719 pub fn php_stream_context_set_option(
10720 context: *mut php_stream_context,
10721 wrappername: *const ::std::os::raw::c_char,
10722 optionname: *const ::std::os::raw::c_char,
10723 optionvalue: *mut zval,
10724 );
10725}
10726extern "C" {
10727 pub fn php_stream_context_unset_option(
10728 context: *mut php_stream_context,
10729 wrappername: *const ::std::os::raw::c_char,
10730 optionname: *const ::std::os::raw::c_char,
10731 );
10732}
10733#[repr(C)]
10734#[derive(Debug, Copy, Clone)]
10735pub struct php_uri_parser {
10736 _unused: [u8; 0],
10737}
10738extern "C" {
10739 pub fn php_stream_context_get_uri_parser(
10740 wrappername: *const ::std::os::raw::c_char,
10741 context: *mut php_stream_context,
10742 ) -> *const php_uri_parser;
10743}
10744extern "C" {
10745 pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
10746}
10747extern "C" {
10748 pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
10749}
10750extern "C" {
10751 pub fn php_stream_notification_notify(
10752 context: *mut php_stream_context,
10753 notifycode: ::std::os::raw::c_int,
10754 severity: ::std::os::raw::c_int,
10755 xmsg: *mut ::std::os::raw::c_char,
10756 xcode: ::std::os::raw::c_int,
10757 bytes_sofar: usize,
10758 bytes_max: usize,
10759 ptr: *mut ::std::os::raw::c_void,
10760 );
10761}
10762extern "C" {
10763 pub fn php_stream_context_set(
10764 stream: *mut php_stream,
10765 context: *mut php_stream_context,
10766 ) -> *mut php_stream_context;
10767}
10768pub type php_stream_bucket = _php_stream_bucket;
10769pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
10770#[repr(C)]
10771#[derive(Debug, Copy, Clone)]
10772pub struct _php_stream_bucket {
10773 pub next: *mut php_stream_bucket,
10774 pub prev: *mut php_stream_bucket,
10775 pub brigade: *mut php_stream_bucket_brigade,
10776 pub buf: *mut ::std::os::raw::c_char,
10777 pub buflen: usize,
10778 pub own_buf: bool,
10779 pub is_persistent: bool,
10780 pub refcount: ::std::os::raw::c_int,
10781}
10782#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10783const _: () = {
10784 ["Size of _php_stream_bucket"][::std::mem::size_of::<_php_stream_bucket>() - 48usize];
10785 ["Alignment of _php_stream_bucket"][::std::mem::align_of::<_php_stream_bucket>() - 8usize];
10786 ["Offset of field: _php_stream_bucket::next"]
10787 [::std::mem::offset_of!(_php_stream_bucket, next) - 0usize];
10788 ["Offset of field: _php_stream_bucket::prev"]
10789 [::std::mem::offset_of!(_php_stream_bucket, prev) - 8usize];
10790 ["Offset of field: _php_stream_bucket::brigade"]
10791 [::std::mem::offset_of!(_php_stream_bucket, brigade) - 16usize];
10792 ["Offset of field: _php_stream_bucket::buf"]
10793 [::std::mem::offset_of!(_php_stream_bucket, buf) - 24usize];
10794 ["Offset of field: _php_stream_bucket::buflen"]
10795 [::std::mem::offset_of!(_php_stream_bucket, buflen) - 32usize];
10796 ["Offset of field: _php_stream_bucket::own_buf"]
10797 [::std::mem::offset_of!(_php_stream_bucket, own_buf) - 40usize];
10798 ["Offset of field: _php_stream_bucket::is_persistent"]
10799 [::std::mem::offset_of!(_php_stream_bucket, is_persistent) - 41usize];
10800 ["Offset of field: _php_stream_bucket::refcount"]
10801 [::std::mem::offset_of!(_php_stream_bucket, refcount) - 44usize];
10802};
10803#[repr(C)]
10804#[derive(Debug, Copy, Clone)]
10805pub struct _php_stream_bucket_brigade {
10806 pub head: *mut php_stream_bucket,
10807 pub tail: *mut php_stream_bucket,
10808}
10809#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10810const _: () = {
10811 ["Size of _php_stream_bucket_brigade"]
10812 [::std::mem::size_of::<_php_stream_bucket_brigade>() - 16usize];
10813 ["Alignment of _php_stream_bucket_brigade"]
10814 [::std::mem::align_of::<_php_stream_bucket_brigade>() - 8usize];
10815 ["Offset of field: _php_stream_bucket_brigade::head"]
10816 [::std::mem::offset_of!(_php_stream_bucket_brigade, head) - 0usize];
10817 ["Offset of field: _php_stream_bucket_brigade::tail"]
10818 [::std::mem::offset_of!(_php_stream_bucket_brigade, tail) - 8usize];
10819};
10820pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
10821pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
10822pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
10823pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
10824extern "C" {
10825 pub fn php_stream_bucket_new(
10826 stream: *const php_stream,
10827 buf: *mut ::std::os::raw::c_char,
10828 buflen: usize,
10829 own_buf: u8,
10830 buf_persistent: u8,
10831 ) -> *mut php_stream_bucket;
10832}
10833extern "C" {
10834 pub fn php_stream_bucket_split(
10835 in_: *mut php_stream_bucket,
10836 left: *mut *mut php_stream_bucket,
10837 right: *mut *mut php_stream_bucket,
10838 length: usize,
10839 ) -> ::std::os::raw::c_int;
10840}
10841extern "C" {
10842 pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
10843}
10844extern "C" {
10845 pub fn php_stream_bucket_prepend(
10846 brigade: *mut php_stream_bucket_brigade,
10847 bucket: *mut php_stream_bucket,
10848 );
10849}
10850extern "C" {
10851 pub fn php_stream_bucket_append(
10852 brigade: *mut php_stream_bucket_brigade,
10853 bucket: *mut php_stream_bucket,
10854 );
10855}
10856extern "C" {
10857 pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
10858}
10859extern "C" {
10860 pub fn php_stream_bucket_make_writeable(
10861 bucket: *mut php_stream_bucket,
10862 ) -> *mut php_stream_bucket;
10863}
10864#[repr(C)]
10865#[derive(Debug, Copy, Clone)]
10866pub struct _php_stream_filter_ops {
10867 pub filter: ::std::option::Option<
10868 unsafe extern "C" fn(
10869 stream: *mut php_stream,
10870 thisfilter: *mut php_stream_filter,
10871 buckets_in: *mut php_stream_bucket_brigade,
10872 buckets_out: *mut php_stream_bucket_brigade,
10873 bytes_consumed: *mut usize,
10874 flags: ::std::os::raw::c_int,
10875 ) -> php_stream_filter_status_t,
10876 >,
10877 pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
10878 pub label: *const ::std::os::raw::c_char,
10879}
10880#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10881const _: () = {
10882 ["Size of _php_stream_filter_ops"][::std::mem::size_of::<_php_stream_filter_ops>() - 24usize];
10883 ["Alignment of _php_stream_filter_ops"]
10884 [::std::mem::align_of::<_php_stream_filter_ops>() - 8usize];
10885 ["Offset of field: _php_stream_filter_ops::filter"]
10886 [::std::mem::offset_of!(_php_stream_filter_ops, filter) - 0usize];
10887 ["Offset of field: _php_stream_filter_ops::dtor"]
10888 [::std::mem::offset_of!(_php_stream_filter_ops, dtor) - 8usize];
10889 ["Offset of field: _php_stream_filter_ops::label"]
10890 [::std::mem::offset_of!(_php_stream_filter_ops, label) - 16usize];
10891};
10892pub type php_stream_filter_ops = _php_stream_filter_ops;
10893#[repr(C)]
10894#[derive(Debug, Copy, Clone)]
10895pub struct _php_stream_filter_chain {
10896 pub head: *mut php_stream_filter,
10897 pub tail: *mut php_stream_filter,
10898 pub stream: *mut php_stream,
10899}
10900#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10901const _: () = {
10902 ["Size of _php_stream_filter_chain"]
10903 [::std::mem::size_of::<_php_stream_filter_chain>() - 24usize];
10904 ["Alignment of _php_stream_filter_chain"]
10905 [::std::mem::align_of::<_php_stream_filter_chain>() - 8usize];
10906 ["Offset of field: _php_stream_filter_chain::head"]
10907 [::std::mem::offset_of!(_php_stream_filter_chain, head) - 0usize];
10908 ["Offset of field: _php_stream_filter_chain::tail"]
10909 [::std::mem::offset_of!(_php_stream_filter_chain, tail) - 8usize];
10910 ["Offset of field: _php_stream_filter_chain::stream"]
10911 [::std::mem::offset_of!(_php_stream_filter_chain, stream) - 16usize];
10912};
10913pub type php_stream_filter_chain = _php_stream_filter_chain;
10914#[repr(C)]
10915#[derive(Copy, Clone)]
10916pub struct _php_stream_filter {
10917 pub fops: *const php_stream_filter_ops,
10918 pub abstract_: zval,
10919 pub next: *mut php_stream_filter,
10920 pub prev: *mut php_stream_filter,
10921 pub is_persistent: ::std::os::raw::c_int,
10922 pub chain: *mut php_stream_filter_chain,
10923 pub buffer: php_stream_bucket_brigade,
10924 pub res: *mut zend_resource,
10925}
10926#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10927const _: () = {
10928 ["Size of _php_stream_filter"][::std::mem::size_of::<_php_stream_filter>() - 80usize];
10929 ["Alignment of _php_stream_filter"][::std::mem::align_of::<_php_stream_filter>() - 8usize];
10930 ["Offset of field: _php_stream_filter::fops"]
10931 [::std::mem::offset_of!(_php_stream_filter, fops) - 0usize];
10932 ["Offset of field: _php_stream_filter::abstract_"]
10933 [::std::mem::offset_of!(_php_stream_filter, abstract_) - 8usize];
10934 ["Offset of field: _php_stream_filter::next"]
10935 [::std::mem::offset_of!(_php_stream_filter, next) - 24usize];
10936 ["Offset of field: _php_stream_filter::prev"]
10937 [::std::mem::offset_of!(_php_stream_filter, prev) - 32usize];
10938 ["Offset of field: _php_stream_filter::is_persistent"]
10939 [::std::mem::offset_of!(_php_stream_filter, is_persistent) - 40usize];
10940 ["Offset of field: _php_stream_filter::chain"]
10941 [::std::mem::offset_of!(_php_stream_filter, chain) - 48usize];
10942 ["Offset of field: _php_stream_filter::buffer"]
10943 [::std::mem::offset_of!(_php_stream_filter, buffer) - 56usize];
10944 ["Offset of field: _php_stream_filter::res"]
10945 [::std::mem::offset_of!(_php_stream_filter, res) - 72usize];
10946};
10947extern "C" {
10948 pub fn php_stream_filter_prepend_ex(
10949 chain: *mut php_stream_filter_chain,
10950 filter: *mut php_stream_filter,
10951 );
10952}
10953extern "C" {
10954 pub fn php_stream_filter_append_ex(
10955 chain: *mut php_stream_filter_chain,
10956 filter: *mut php_stream_filter,
10957 ) -> zend_result;
10958}
10959extern "C" {
10960 pub fn php_stream_filter_remove(
10961 filter: *mut php_stream_filter,
10962 call_dtor: bool,
10963 ) -> *mut php_stream_filter;
10964}
10965extern "C" {
10966 pub fn php_stream_filter_free(filter: *mut php_stream_filter);
10967}
10968#[repr(C)]
10969#[derive(Debug, Copy, Clone)]
10970pub struct _php_stream_filter_factory {
10971 pub create_filter: ::std::option::Option<
10972 unsafe extern "C" fn(
10973 filtername: *const ::std::os::raw::c_char,
10974 filterparams: *mut zval,
10975 persistent: u8,
10976 ) -> *mut php_stream_filter,
10977 >,
10978}
10979#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10980const _: () = {
10981 ["Size of _php_stream_filter_factory"]
10982 [::std::mem::size_of::<_php_stream_filter_factory>() - 8usize];
10983 ["Alignment of _php_stream_filter_factory"]
10984 [::std::mem::align_of::<_php_stream_filter_factory>() - 8usize];
10985 ["Offset of field: _php_stream_filter_factory::create_filter"]
10986 [::std::mem::offset_of!(_php_stream_filter_factory, create_filter) - 0usize];
10987};
10988pub type php_stream_filter_factory = _php_stream_filter_factory;
10989extern "C" {
10990 pub fn php_stream_filter_register_factory(
10991 filterpattern: *const ::std::os::raw::c_char,
10992 factory: *const php_stream_filter_factory,
10993 ) -> zend_result;
10994}
10995extern "C" {
10996 pub fn php_stream_filter_unregister_factory(
10997 filterpattern: *const ::std::os::raw::c_char,
10998 ) -> zend_result;
10999}
11000extern "C" {
11001 pub fn php_stream_filter_register_factory_volatile(
11002 filterpattern: *mut zend_string,
11003 factory: *const php_stream_filter_factory,
11004 ) -> zend_result;
11005}
11006extern "C" {
11007 pub fn php_stream_filter_create(
11008 filtername: *const ::std::os::raw::c_char,
11009 filterparams: *mut zval,
11010 persistent: u8,
11011 ) -> *mut php_stream_filter;
11012}
11013#[repr(C)]
11014#[derive(Debug, Copy, Clone)]
11015pub struct _php_stream_statbuf {
11016 pub sb: zend_stat_t,
11017}
11018#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11019const _: () = {
11020 ["Size of _php_stream_statbuf"][::std::mem::size_of::<_php_stream_statbuf>() - 144usize];
11021 ["Alignment of _php_stream_statbuf"][::std::mem::align_of::<_php_stream_statbuf>() - 8usize];
11022 ["Offset of field: _php_stream_statbuf::sb"]
11023 [::std::mem::offset_of!(_php_stream_statbuf, sb) - 0usize];
11024};
11025pub type php_stream_statbuf = _php_stream_statbuf;
11026#[repr(C)]
11027#[derive(Debug, Copy, Clone)]
11028pub struct _php_stream_ops {
11029 pub write: ::std::option::Option<
11030 unsafe extern "C" fn(
11031 stream: *mut php_stream,
11032 buf: *const ::std::os::raw::c_char,
11033 count: usize,
11034 ) -> isize,
11035 >,
11036 pub read: ::std::option::Option<
11037 unsafe extern "C" fn(
11038 stream: *mut php_stream,
11039 buf: *mut ::std::os::raw::c_char,
11040 count: usize,
11041 ) -> isize,
11042 >,
11043 pub close: ::std::option::Option<
11044 unsafe extern "C" fn(
11045 stream: *mut php_stream,
11046 close_handle: ::std::os::raw::c_int,
11047 ) -> ::std::os::raw::c_int,
11048 >,
11049 pub flush: ::std::option::Option<
11050 unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
11051 >,
11052 pub label: *const ::std::os::raw::c_char,
11053 pub seek: ::std::option::Option<
11054 unsafe extern "C" fn(
11055 stream: *mut php_stream,
11056 offset: zend_off_t,
11057 whence: ::std::os::raw::c_int,
11058 newoffset: *mut zend_off_t,
11059 ) -> ::std::os::raw::c_int,
11060 >,
11061 pub cast: ::std::option::Option<
11062 unsafe extern "C" fn(
11063 stream: *mut php_stream,
11064 castas: ::std::os::raw::c_int,
11065 ret: *mut *mut ::std::os::raw::c_void,
11066 ) -> ::std::os::raw::c_int,
11067 >,
11068 pub stat: ::std::option::Option<
11069 unsafe extern "C" fn(
11070 stream: *mut php_stream,
11071 ssb: *mut php_stream_statbuf,
11072 ) -> ::std::os::raw::c_int,
11073 >,
11074 pub set_option: ::std::option::Option<
11075 unsafe extern "C" fn(
11076 stream: *mut php_stream,
11077 option: ::std::os::raw::c_int,
11078 value: ::std::os::raw::c_int,
11079 ptrparam: *mut ::std::os::raw::c_void,
11080 ) -> ::std::os::raw::c_int,
11081 >,
11082}
11083#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11084const _: () = {
11085 ["Size of _php_stream_ops"][::std::mem::size_of::<_php_stream_ops>() - 72usize];
11086 ["Alignment of _php_stream_ops"][::std::mem::align_of::<_php_stream_ops>() - 8usize];
11087 ["Offset of field: _php_stream_ops::write"]
11088 [::std::mem::offset_of!(_php_stream_ops, write) - 0usize];
11089 ["Offset of field: _php_stream_ops::read"]
11090 [::std::mem::offset_of!(_php_stream_ops, read) - 8usize];
11091 ["Offset of field: _php_stream_ops::close"]
11092 [::std::mem::offset_of!(_php_stream_ops, close) - 16usize];
11093 ["Offset of field: _php_stream_ops::flush"]
11094 [::std::mem::offset_of!(_php_stream_ops, flush) - 24usize];
11095 ["Offset of field: _php_stream_ops::label"]
11096 [::std::mem::offset_of!(_php_stream_ops, label) - 32usize];
11097 ["Offset of field: _php_stream_ops::seek"]
11098 [::std::mem::offset_of!(_php_stream_ops, seek) - 40usize];
11099 ["Offset of field: _php_stream_ops::cast"]
11100 [::std::mem::offset_of!(_php_stream_ops, cast) - 48usize];
11101 ["Offset of field: _php_stream_ops::stat"]
11102 [::std::mem::offset_of!(_php_stream_ops, stat) - 56usize];
11103 ["Offset of field: _php_stream_ops::set_option"]
11104 [::std::mem::offset_of!(_php_stream_ops, set_option) - 64usize];
11105};
11106pub type php_stream_ops = _php_stream_ops;
11107#[repr(C)]
11108#[derive(Debug, Copy, Clone)]
11109pub struct _php_stream_wrapper_ops {
11110 pub stream_opener: ::std::option::Option<
11111 unsafe extern "C" fn(
11112 wrapper: *mut php_stream_wrapper,
11113 filename: *const ::std::os::raw::c_char,
11114 mode: *const ::std::os::raw::c_char,
11115 options: ::std::os::raw::c_int,
11116 opened_path: *mut *mut zend_string,
11117 context: *mut php_stream_context,
11118 ) -> *mut php_stream,
11119 >,
11120 pub stream_closer: ::std::option::Option<
11121 unsafe extern "C" fn(
11122 wrapper: *mut php_stream_wrapper,
11123 stream: *mut php_stream,
11124 ) -> ::std::os::raw::c_int,
11125 >,
11126 pub stream_stat: ::std::option::Option<
11127 unsafe extern "C" fn(
11128 wrapper: *mut php_stream_wrapper,
11129 stream: *mut php_stream,
11130 ssb: *mut php_stream_statbuf,
11131 ) -> ::std::os::raw::c_int,
11132 >,
11133 pub url_stat: ::std::option::Option<
11134 unsafe extern "C" fn(
11135 wrapper: *mut php_stream_wrapper,
11136 url: *const ::std::os::raw::c_char,
11137 flags: ::std::os::raw::c_int,
11138 ssb: *mut php_stream_statbuf,
11139 context: *mut php_stream_context,
11140 ) -> ::std::os::raw::c_int,
11141 >,
11142 pub dir_opener: ::std::option::Option<
11143 unsafe extern "C" fn(
11144 wrapper: *mut php_stream_wrapper,
11145 filename: *const ::std::os::raw::c_char,
11146 mode: *const ::std::os::raw::c_char,
11147 options: ::std::os::raw::c_int,
11148 opened_path: *mut *mut zend_string,
11149 context: *mut php_stream_context,
11150 ) -> *mut php_stream,
11151 >,
11152 pub label: *const ::std::os::raw::c_char,
11153 pub unlink: ::std::option::Option<
11154 unsafe extern "C" fn(
11155 wrapper: *mut php_stream_wrapper,
11156 url: *const ::std::os::raw::c_char,
11157 options: ::std::os::raw::c_int,
11158 context: *mut php_stream_context,
11159 ) -> ::std::os::raw::c_int,
11160 >,
11161 pub rename: ::std::option::Option<
11162 unsafe extern "C" fn(
11163 wrapper: *mut php_stream_wrapper,
11164 url_from: *const ::std::os::raw::c_char,
11165 url_to: *const ::std::os::raw::c_char,
11166 options: ::std::os::raw::c_int,
11167 context: *mut php_stream_context,
11168 ) -> ::std::os::raw::c_int,
11169 >,
11170 pub stream_mkdir: ::std::option::Option<
11171 unsafe extern "C" fn(
11172 wrapper: *mut php_stream_wrapper,
11173 url: *const ::std::os::raw::c_char,
11174 mode: ::std::os::raw::c_int,
11175 options: ::std::os::raw::c_int,
11176 context: *mut php_stream_context,
11177 ) -> ::std::os::raw::c_int,
11178 >,
11179 pub stream_rmdir: ::std::option::Option<
11180 unsafe extern "C" fn(
11181 wrapper: *mut php_stream_wrapper,
11182 url: *const ::std::os::raw::c_char,
11183 options: ::std::os::raw::c_int,
11184 context: *mut php_stream_context,
11185 ) -> ::std::os::raw::c_int,
11186 >,
11187 pub stream_metadata: ::std::option::Option<
11188 unsafe extern "C" fn(
11189 wrapper: *mut php_stream_wrapper,
11190 url: *const ::std::os::raw::c_char,
11191 options: ::std::os::raw::c_int,
11192 value: *mut ::std::os::raw::c_void,
11193 context: *mut php_stream_context,
11194 ) -> ::std::os::raw::c_int,
11195 >,
11196}
11197#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11198const _: () = {
11199 ["Size of _php_stream_wrapper_ops"][::std::mem::size_of::<_php_stream_wrapper_ops>() - 88usize];
11200 ["Alignment of _php_stream_wrapper_ops"]
11201 [::std::mem::align_of::<_php_stream_wrapper_ops>() - 8usize];
11202 ["Offset of field: _php_stream_wrapper_ops::stream_opener"]
11203 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_opener) - 0usize];
11204 ["Offset of field: _php_stream_wrapper_ops::stream_closer"]
11205 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_closer) - 8usize];
11206 ["Offset of field: _php_stream_wrapper_ops::stream_stat"]
11207 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_stat) - 16usize];
11208 ["Offset of field: _php_stream_wrapper_ops::url_stat"]
11209 [::std::mem::offset_of!(_php_stream_wrapper_ops, url_stat) - 24usize];
11210 ["Offset of field: _php_stream_wrapper_ops::dir_opener"]
11211 [::std::mem::offset_of!(_php_stream_wrapper_ops, dir_opener) - 32usize];
11212 ["Offset of field: _php_stream_wrapper_ops::label"]
11213 [::std::mem::offset_of!(_php_stream_wrapper_ops, label) - 40usize];
11214 ["Offset of field: _php_stream_wrapper_ops::unlink"]
11215 [::std::mem::offset_of!(_php_stream_wrapper_ops, unlink) - 48usize];
11216 ["Offset of field: _php_stream_wrapper_ops::rename"]
11217 [::std::mem::offset_of!(_php_stream_wrapper_ops, rename) - 56usize];
11218 ["Offset of field: _php_stream_wrapper_ops::stream_mkdir"]
11219 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_mkdir) - 64usize];
11220 ["Offset of field: _php_stream_wrapper_ops::stream_rmdir"]
11221 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_rmdir) - 72usize];
11222 ["Offset of field: _php_stream_wrapper_ops::stream_metadata"]
11223 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_metadata) - 80usize];
11224};
11225pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
11226#[repr(C)]
11227#[derive(Debug, Copy, Clone)]
11228pub struct _php_stream_wrapper {
11229 pub wops: *const php_stream_wrapper_ops,
11230 pub abstract_: *mut ::std::os::raw::c_void,
11231 pub is_url: ::std::os::raw::c_int,
11232}
11233#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11234const _: () = {
11235 ["Size of _php_stream_wrapper"][::std::mem::size_of::<_php_stream_wrapper>() - 24usize];
11236 ["Alignment of _php_stream_wrapper"][::std::mem::align_of::<_php_stream_wrapper>() - 8usize];
11237 ["Offset of field: _php_stream_wrapper::wops"]
11238 [::std::mem::offset_of!(_php_stream_wrapper, wops) - 0usize];
11239 ["Offset of field: _php_stream_wrapper::abstract_"]
11240 [::std::mem::offset_of!(_php_stream_wrapper, abstract_) - 8usize];
11241 ["Offset of field: _php_stream_wrapper::is_url"]
11242 [::std::mem::offset_of!(_php_stream_wrapper, is_url) - 16usize];
11243};
11244#[repr(C)]
11245#[derive(Copy, Clone)]
11246pub struct _php_stream {
11247 pub ops: *const php_stream_ops,
11248 pub abstract_: *mut ::std::os::raw::c_void,
11249 pub readfilters: php_stream_filter_chain,
11250 pub writefilters: php_stream_filter_chain,
11251 pub wrapper: *mut php_stream_wrapper,
11252 pub wrapperthis: *mut ::std::os::raw::c_void,
11253 pub wrapperdata: zval,
11254 pub _bitfield_align_1: [u8; 0],
11255 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
11256 pub mode: [::std::os::raw::c_char; 16usize],
11257 pub flags: u32,
11258 pub res: *mut zend_resource,
11259 pub stdiocast: *mut FILE,
11260 pub orig_path: *mut ::std::os::raw::c_char,
11261 pub ctx: *mut zend_resource,
11262 pub position: zend_off_t,
11263 pub readbuf: *mut ::std::os::raw::c_uchar,
11264 pub readbuflen: usize,
11265 pub readpos: zend_off_t,
11266 pub writepos: zend_off_t,
11267 pub chunk_size: usize,
11268 pub enclosing_stream: *mut _php_stream,
11269}
11270#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11271const _: () = {
11272 ["Size of _php_stream"][::std::mem::size_of::<_php_stream>() - 208usize];
11273 ["Alignment of _php_stream"][::std::mem::align_of::<_php_stream>() - 8usize];
11274 ["Offset of field: _php_stream::ops"][::std::mem::offset_of!(_php_stream, ops) - 0usize];
11275 ["Offset of field: _php_stream::abstract_"]
11276 [::std::mem::offset_of!(_php_stream, abstract_) - 8usize];
11277 ["Offset of field: _php_stream::readfilters"]
11278 [::std::mem::offset_of!(_php_stream, readfilters) - 16usize];
11279 ["Offset of field: _php_stream::writefilters"]
11280 [::std::mem::offset_of!(_php_stream, writefilters) - 40usize];
11281 ["Offset of field: _php_stream::wrapper"]
11282 [::std::mem::offset_of!(_php_stream, wrapper) - 64usize];
11283 ["Offset of field: _php_stream::wrapperthis"]
11284 [::std::mem::offset_of!(_php_stream, wrapperthis) - 72usize];
11285 ["Offset of field: _php_stream::wrapperdata"]
11286 [::std::mem::offset_of!(_php_stream, wrapperdata) - 80usize];
11287 ["Offset of field: _php_stream::mode"][::std::mem::offset_of!(_php_stream, mode) - 98usize];
11288 ["Offset of field: _php_stream::flags"][::std::mem::offset_of!(_php_stream, flags) - 116usize];
11289 ["Offset of field: _php_stream::res"][::std::mem::offset_of!(_php_stream, res) - 120usize];
11290 ["Offset of field: _php_stream::stdiocast"]
11291 [::std::mem::offset_of!(_php_stream, stdiocast) - 128usize];
11292 ["Offset of field: _php_stream::orig_path"]
11293 [::std::mem::offset_of!(_php_stream, orig_path) - 136usize];
11294 ["Offset of field: _php_stream::ctx"][::std::mem::offset_of!(_php_stream, ctx) - 144usize];
11295 ["Offset of field: _php_stream::position"]
11296 [::std::mem::offset_of!(_php_stream, position) - 152usize];
11297 ["Offset of field: _php_stream::readbuf"]
11298 [::std::mem::offset_of!(_php_stream, readbuf) - 160usize];
11299 ["Offset of field: _php_stream::readbuflen"]
11300 [::std::mem::offset_of!(_php_stream, readbuflen) - 168usize];
11301 ["Offset of field: _php_stream::readpos"]
11302 [::std::mem::offset_of!(_php_stream, readpos) - 176usize];
11303 ["Offset of field: _php_stream::writepos"]
11304 [::std::mem::offset_of!(_php_stream, writepos) - 184usize];
11305 ["Offset of field: _php_stream::chunk_size"]
11306 [::std::mem::offset_of!(_php_stream, chunk_size) - 192usize];
11307 ["Offset of field: _php_stream::enclosing_stream"]
11308 [::std::mem::offset_of!(_php_stream, enclosing_stream) - 200usize];
11309};
11310impl _php_stream {
11311 #[inline]
11312 pub fn is_persistent(&self) -> u16 {
11313 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) }
11314 }
11315 #[inline]
11316 pub fn set_is_persistent(&mut self, val: u16) {
11317 unsafe {
11318 let val: u16 = ::std::mem::transmute(val);
11319 self._bitfield_1.set(0usize, 1u8, val as u64)
11320 }
11321 }
11322 #[inline]
11323 pub fn in_free(&self) -> u16 {
11324 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 2u8) as u16) }
11325 }
11326 #[inline]
11327 pub fn set_in_free(&mut self, val: u16) {
11328 unsafe {
11329 let val: u16 = ::std::mem::transmute(val);
11330 self._bitfield_1.set(1usize, 2u8, val as u64)
11331 }
11332 }
11333 #[inline]
11334 pub fn eof(&self) -> u16 {
11335 unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u16) }
11336 }
11337 #[inline]
11338 pub fn set_eof(&mut self, val: u16) {
11339 unsafe {
11340 let val: u16 = ::std::mem::transmute(val);
11341 self._bitfield_1.set(3usize, 1u8, val as u64)
11342 }
11343 }
11344 #[inline]
11345 pub fn __exposed(&self) -> u16 {
11346 unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u16) }
11347 }
11348 #[inline]
11349 pub fn set___exposed(&mut self, val: u16) {
11350 unsafe {
11351 let val: u16 = ::std::mem::transmute(val);
11352 self._bitfield_1.set(4usize, 1u8, val as u64)
11353 }
11354 }
11355 #[inline]
11356 pub fn fclose_stdiocast(&self) -> u16 {
11357 unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 2u8) as u16) }
11358 }
11359 #[inline]
11360 pub fn set_fclose_stdiocast(&mut self, val: u16) {
11361 unsafe {
11362 let val: u16 = ::std::mem::transmute(val);
11363 self._bitfield_1.set(5usize, 2u8, val as u64)
11364 }
11365 }
11366 #[inline]
11367 pub fn has_buffered_data(&self) -> u16 {
11368 unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u16) }
11369 }
11370 #[inline]
11371 pub fn set_has_buffered_data(&mut self, val: u16) {
11372 unsafe {
11373 let val: u16 = ::std::mem::transmute(val);
11374 self._bitfield_1.set(7usize, 1u8, val as u64)
11375 }
11376 }
11377 #[inline]
11378 pub fn fclose_stdiocast_flush_in_progress(&self) -> u16 {
11379 unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u16) }
11380 }
11381 #[inline]
11382 pub fn set_fclose_stdiocast_flush_in_progress(&mut self, val: u16) {
11383 unsafe {
11384 let val: u16 = ::std::mem::transmute(val);
11385 self._bitfield_1.set(8usize, 1u8, val as u64)
11386 }
11387 }
11388 #[inline]
11389 pub fn fatal_error(&self) -> u16 {
11390 unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u16) }
11391 }
11392 #[inline]
11393 pub fn set_fatal_error(&mut self, val: u16) {
11394 unsafe {
11395 let val: u16 = ::std::mem::transmute(val);
11396 self._bitfield_1.set(9usize, 1u8, val as u64)
11397 }
11398 }
11399 #[inline]
11400 pub fn new_bitfield_1(
11401 is_persistent: u16,
11402 in_free: u16,
11403 eof: u16,
11404 __exposed: u16,
11405 fclose_stdiocast: u16,
11406 has_buffered_data: u16,
11407 fclose_stdiocast_flush_in_progress: u16,
11408 fatal_error: u16,
11409 ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
11410 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
11411 __bindgen_bitfield_unit.set(0usize, 1u8, {
11412 let is_persistent: u16 = unsafe { ::std::mem::transmute(is_persistent) };
11413 is_persistent as u64
11414 });
11415 __bindgen_bitfield_unit.set(1usize, 2u8, {
11416 let in_free: u16 = unsafe { ::std::mem::transmute(in_free) };
11417 in_free as u64
11418 });
11419 __bindgen_bitfield_unit.set(3usize, 1u8, {
11420 let eof: u16 = unsafe { ::std::mem::transmute(eof) };
11421 eof as u64
11422 });
11423 __bindgen_bitfield_unit.set(4usize, 1u8, {
11424 let __exposed: u16 = unsafe { ::std::mem::transmute(__exposed) };
11425 __exposed as u64
11426 });
11427 __bindgen_bitfield_unit.set(5usize, 2u8, {
11428 let fclose_stdiocast: u16 = unsafe { ::std::mem::transmute(fclose_stdiocast) };
11429 fclose_stdiocast as u64
11430 });
11431 __bindgen_bitfield_unit.set(7usize, 1u8, {
11432 let has_buffered_data: u16 = unsafe { ::std::mem::transmute(has_buffered_data) };
11433 has_buffered_data as u64
11434 });
11435 __bindgen_bitfield_unit.set(8usize, 1u8, {
11436 let fclose_stdiocast_flush_in_progress: u16 =
11437 unsafe { ::std::mem::transmute(fclose_stdiocast_flush_in_progress) };
11438 fclose_stdiocast_flush_in_progress as u64
11439 });
11440 __bindgen_bitfield_unit.set(9usize, 1u8, {
11441 let fatal_error: u16 = unsafe { ::std::mem::transmute(fatal_error) };
11442 fatal_error as u64
11443 });
11444 __bindgen_bitfield_unit
11445 }
11446}
11447extern "C" {
11448 pub fn php_stream_encloses(
11449 enclosing: *mut php_stream,
11450 enclosed: *mut php_stream,
11451 ) -> *mut php_stream;
11452}
11453extern "C" {
11454 pub fn php_stream_from_persistent_id(
11455 persistent_id: *const ::std::os::raw::c_char,
11456 stream: *mut *mut php_stream,
11457 ) -> ::std::os::raw::c_int;
11458}
11459extern "C" {
11460 pub fn php_stream_read_to_str(stream: *mut php_stream, len: usize) -> *mut zend_string;
11461}
11462extern "C" {
11463 pub fn php_stream_get_record(
11464 stream: *mut php_stream,
11465 maxlen: usize,
11466 delim: *const ::std::os::raw::c_char,
11467 delim_len: usize,
11468 ) -> *mut zend_string;
11469}
11470extern "C" {
11471 pub fn php_stream_dirent_alphasort(
11472 a: *mut *const zend_string,
11473 b: *mut *const zend_string,
11474 ) -> ::std::os::raw::c_int;
11475}
11476extern "C" {
11477 pub fn php_stream_dirent_alphasortr(
11478 a: *mut *const zend_string,
11479 b: *mut *const zend_string,
11480 ) -> ::std::os::raw::c_int;
11481}
11482pub type php_stream_transport_factory_func = ::std::option::Option<
11483 unsafe extern "C" fn(
11484 proto: *const ::std::os::raw::c_char,
11485 protolen: usize,
11486 resourcename: *const ::std::os::raw::c_char,
11487 resourcenamelen: usize,
11488 persistent_id: *const ::std::os::raw::c_char,
11489 options: ::std::os::raw::c_int,
11490 flags: ::std::os::raw::c_int,
11491 timeout: *mut timeval,
11492 context: *mut php_stream_context,
11493 ) -> *mut php_stream,
11494>;
11495pub type php_stream_transport_factory = php_stream_transport_factory_func;
11496extern "C" {
11497 pub fn php_stream_xport_register(
11498 protocol: *const ::std::os::raw::c_char,
11499 factory: php_stream_transport_factory,
11500 ) -> ::std::os::raw::c_int;
11501}
11502extern "C" {
11503 pub fn php_stream_xport_unregister(
11504 protocol: *const ::std::os::raw::c_char,
11505 ) -> ::std::os::raw::c_int;
11506}
11507extern "C" {
11508 pub fn php_stream_xport_bind(
11509 stream: *mut php_stream,
11510 name: *const ::std::os::raw::c_char,
11511 namelen: usize,
11512 error_text: *mut *mut zend_string,
11513 ) -> ::std::os::raw::c_int;
11514}
11515extern "C" {
11516 pub fn php_stream_xport_connect(
11517 stream: *mut php_stream,
11518 name: *const ::std::os::raw::c_char,
11519 namelen: usize,
11520 asynchronous: ::std::os::raw::c_int,
11521 timeout: *mut timeval,
11522 error_text: *mut *mut zend_string,
11523 error_code: *mut ::std::os::raw::c_int,
11524 ) -> ::std::os::raw::c_int;
11525}
11526extern "C" {
11527 pub fn php_stream_xport_listen(
11528 stream: *mut php_stream,
11529 backlog: ::std::os::raw::c_int,
11530 error_text: *mut *mut zend_string,
11531 ) -> ::std::os::raw::c_int;
11532}
11533extern "C" {
11534 pub fn php_stream_xport_accept(
11535 stream: *mut php_stream,
11536 client: *mut *mut php_stream,
11537 textaddr: *mut *mut zend_string,
11538 addr: *mut *mut ::std::os::raw::c_void,
11539 addrlen: *mut socklen_t,
11540 timeout: *mut timeval,
11541 error_text: *mut *mut zend_string,
11542 ) -> ::std::os::raw::c_int;
11543}
11544extern "C" {
11545 pub fn php_stream_xport_get_name(
11546 stream: *mut php_stream,
11547 want_peer: ::std::os::raw::c_int,
11548 textaddr: *mut *mut zend_string,
11549 addr: *mut *mut ::std::os::raw::c_void,
11550 addrlen: *mut socklen_t,
11551 ) -> ::std::os::raw::c_int;
11552}
11553extern "C" {
11554 pub fn php_stream_xport_recvfrom(
11555 stream: *mut php_stream,
11556 buf: *mut ::std::os::raw::c_char,
11557 buflen: usize,
11558 flags: ::std::os::raw::c_int,
11559 addr: *mut *mut ::std::os::raw::c_void,
11560 addrlen: *mut socklen_t,
11561 textaddr: *mut *mut zend_string,
11562 ) -> ::std::os::raw::c_int;
11563}
11564extern "C" {
11565 pub fn php_stream_xport_sendto(
11566 stream: *mut php_stream,
11567 buf: *const ::std::os::raw::c_char,
11568 buflen: usize,
11569 flags: ::std::os::raw::c_int,
11570 addr: *mut ::std::os::raw::c_void,
11571 addrlen: socklen_t,
11572 ) -> ::std::os::raw::c_int;
11573}
11574pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
11575pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
11576pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
11577pub type stream_shutdown_t = ::std::os::raw::c_uint;
11578extern "C" {
11579 pub fn php_stream_xport_shutdown(
11580 stream: *mut php_stream,
11581 how: stream_shutdown_t,
11582 ) -> ::std::os::raw::c_int;
11583}
11584pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
11585 php_stream_xport_crypt_method_t = 3;
11586pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
11587 php_stream_xport_crypt_method_t = 5;
11588pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
11589 php_stream_xport_crypt_method_t = 57;
11590pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
11591 php_stream_xport_crypt_method_t = 9;
11592pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
11593 php_stream_xport_crypt_method_t = 17;
11594pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
11595 php_stream_xport_crypt_method_t = 33;
11596pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT:
11597 php_stream_xport_crypt_method_t = 65;
11598pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
11599 php_stream_xport_crypt_method_t = 121;
11600pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
11601 php_stream_xport_crypt_method_t = 121;
11602pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
11603 php_stream_xport_crypt_method_t = 127;
11604pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
11605 php_stream_xport_crypt_method_t = 2;
11606pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
11607 php_stream_xport_crypt_method_t = 4;
11608pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
11609 php_stream_xport_crypt_method_t = 120;
11610pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
11611 php_stream_xport_crypt_method_t = 8;
11612pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
11613 php_stream_xport_crypt_method_t = 16;
11614pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
11615 php_stream_xport_crypt_method_t = 32;
11616pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_SERVER:
11617 php_stream_xport_crypt_method_t = 64;
11618pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
11619 php_stream_xport_crypt_method_t = 120;
11620pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
11621 php_stream_xport_crypt_method_t = 120;
11622pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
11623 php_stream_xport_crypt_method_t = 126;
11624pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
11625extern "C" {
11626 pub fn php_stream_xport_crypto_setup(
11627 stream: *mut php_stream,
11628 crypto_method: php_stream_xport_crypt_method_t,
11629 session_stream: *mut php_stream,
11630 ) -> ::std::os::raw::c_int;
11631}
11632extern "C" {
11633 pub fn php_stream_xport_crypto_enable(
11634 stream: *mut php_stream,
11635 activate: ::std::os::raw::c_int,
11636 ) -> ::std::os::raw::c_int;
11637}
11638extern "C" {
11639 pub fn php_stream_xport_get_hash() -> *mut HashTable;
11640}
11641extern "C" {
11642 pub fn php_stream_generic_socket_factory(
11643 proto: *const ::std::os::raw::c_char,
11644 protolen: usize,
11645 resourcename: *const ::std::os::raw::c_char,
11646 resourcenamelen: usize,
11647 persistent_id: *const ::std::os::raw::c_char,
11648 options: ::std::os::raw::c_int,
11649 flags: ::std::os::raw::c_int,
11650 timeout: *mut timeval,
11651 context: *mut php_stream_context,
11652 ) -> *mut php_stream;
11653}
11654extern "C" {
11655 pub static mut php_stream_stdio_ops: php_stream_ops;
11656}
11657extern "C" {
11658 pub static mut php_plain_files_wrapper: php_stream_wrapper;
11659}
11660extern "C" {
11661 pub fn php_stream_parse_fopen_modes(
11662 mode: *const ::std::os::raw::c_char,
11663 open_flags: *mut ::std::os::raw::c_int,
11664 ) -> ::std::os::raw::c_int;
11665}
11666extern "C" {
11667 pub static php_glob_stream_wrapper: php_stream_wrapper;
11668}
11669extern "C" {
11670 pub static php_glob_stream_ops: php_stream_ops;
11671}
11672extern "C" {
11673 pub static php_stream_userspace_ops: php_stream_ops;
11674}
11675extern "C" {
11676 pub static php_stream_userspace_dir_ops: php_stream_ops;
11677}
11678extern "C" {
11679 pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> zend_result;
11680}
11681extern "C" {
11682 pub fn php_shutdown_stream_wrappers(module_number: ::std::os::raw::c_int);
11683}
11684extern "C" {
11685 pub fn php_shutdown_stream_hashes();
11686}
11687extern "C" {
11688 pub fn php_register_url_stream_wrapper(
11689 protocol: *const ::std::os::raw::c_char,
11690 wrapper: *const php_stream_wrapper,
11691 ) -> zend_result;
11692}
11693extern "C" {
11694 pub fn php_unregister_url_stream_wrapper(
11695 protocol: *const ::std::os::raw::c_char,
11696 ) -> zend_result;
11697}
11698extern "C" {
11699 pub fn php_register_url_stream_wrapper_volatile(
11700 protocol: *mut zend_string,
11701 wrapper: *mut php_stream_wrapper,
11702 ) -> zend_result;
11703}
11704extern "C" {
11705 pub fn php_unregister_url_stream_wrapper_volatile(protocol: *mut zend_string) -> zend_result;
11706}
11707extern "C" {
11708 pub fn php_stream_locate_url_wrapper(
11709 path: *const ::std::os::raw::c_char,
11710 path_for_open: *mut *const ::std::os::raw::c_char,
11711 options: ::std::os::raw::c_int,
11712 ) -> *mut php_stream_wrapper;
11713}
11714extern "C" {
11715 pub fn php_stream_locate_eol(
11716 stream: *mut php_stream,
11717 buf: *mut zend_string,
11718 ) -> *const ::std::os::raw::c_char;
11719}
11720extern "C" {
11721 pub fn php_stream_wrapper_log_error(
11722 wrapper: *const php_stream_wrapper,
11723 options: ::std::os::raw::c_int,
11724 fmt: *const ::std::os::raw::c_char,
11725 ...
11726 );
11727}
11728extern "C" {
11729 pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
11730}
11731extern "C" {
11732 pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
11733}
11734extern "C" {
11735 pub static mut php_stream_user_wrapper_ops: *const php_stream_wrapper_ops;
11736}
11737extern "C" {
11738 pub fn php_stream_mode_from_str(mode: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
11739}
11740extern "C" {
11741 pub static php_stream_memory_ops: php_stream_ops;
11742}
11743extern "C" {
11744 pub static php_stream_temp_ops: php_stream_ops;
11745}
11746extern "C" {
11747 pub static php_stream_rfc2397_ops: php_stream_ops;
11748}
11749extern "C" {
11750 pub static php_stream_rfc2397_wrapper: php_stream_wrapper;
11751}
11752#[repr(C)]
11753#[derive(Copy, Clone)]
11754pub struct _php_core_globals {
11755 pub output_buffering: zend_long,
11756 pub implicit_flush: bool,
11757 pub enable_dl: bool,
11758 pub display_errors: u8,
11759 pub display_startup_errors: bool,
11760 pub log_errors: bool,
11761 pub ignore_repeated_errors: bool,
11762 pub ignore_repeated_source: bool,
11763 pub report_memleaks: bool,
11764 pub output_handler: *mut ::std::os::raw::c_char,
11765 pub unserialize_callback_func: *mut ::std::os::raw::c_char,
11766 pub serialize_precision: zend_long,
11767 pub memory_limit: zend_long,
11768 pub max_memory_limit: zend_long,
11769 pub max_input_time: zend_long,
11770 pub error_log: *mut ::std::os::raw::c_char,
11771 pub doc_root: *mut ::std::os::raw::c_char,
11772 pub user_dir: *mut ::std::os::raw::c_char,
11773 pub include_path: *mut ::std::os::raw::c_char,
11774 pub open_basedir: *mut ::std::os::raw::c_char,
11775 pub open_basedir_modified: bool,
11776 pub extension_dir: *mut ::std::os::raw::c_char,
11777 pub php_binary: *mut ::std::os::raw::c_char,
11778 pub sys_temp_dir: *mut ::std::os::raw::c_char,
11779 pub upload_tmp_dir: *mut ::std::os::raw::c_char,
11780 pub upload_max_filesize: zend_long,
11781 pub error_append_string: *mut ::std::os::raw::c_char,
11782 pub error_prepend_string: *mut ::std::os::raw::c_char,
11783 pub auto_prepend_file: *mut ::std::os::raw::c_char,
11784 pub auto_append_file: *mut ::std::os::raw::c_char,
11785 pub input_encoding: *mut ::std::os::raw::c_char,
11786 pub internal_encoding: *mut ::std::os::raw::c_char,
11787 pub output_encoding: *mut ::std::os::raw::c_char,
11788 pub arg_separator: arg_separators,
11789 pub variables_order: *mut ::std::os::raw::c_char,
11790 pub rfc1867_protected_variables: HashTable,
11791 pub connection_status: ::std::os::raw::c_short,
11792 pub ignore_user_abort: bool,
11793 pub header_is_being_sent: ::std::os::raw::c_uchar,
11794 pub tick_functions: zend_llist,
11795 pub http_globals: [zval; 6usize],
11796 pub expose_php: bool,
11797 pub register_argc_argv: bool,
11798 pub auto_globals_jit: bool,
11799 pub html_errors: bool,
11800 pub xmlrpc_errors: bool,
11801 pub docref_root: *mut ::std::os::raw::c_char,
11802 pub docref_ext: *mut ::std::os::raw::c_char,
11803 pub xmlrpc_error_number: zend_long,
11804 pub activated_auto_globals: [bool; 8usize],
11805 pub modules_activated: bool,
11806 pub file_uploads: bool,
11807 pub during_request_startup: bool,
11808 pub allow_url_fopen: bool,
11809 pub enable_post_data_reading: bool,
11810 pub report_zend_debug: bool,
11811 pub last_error_type: ::std::os::raw::c_int,
11812 pub last_error_lineno: ::std::os::raw::c_int,
11813 pub last_error_message: *mut zend_string,
11814 pub last_error_file: *mut zend_string,
11815 pub php_sys_temp_dir: *mut ::std::os::raw::c_char,
11816 pub max_input_nesting_level: zend_long,
11817 pub max_input_vars: zend_long,
11818 pub user_ini_filename: *mut ::std::os::raw::c_char,
11819 pub user_ini_cache_ttl: zend_long,
11820 pub request_order: *mut ::std::os::raw::c_char,
11821 pub mail_log: *mut ::std::os::raw::c_char,
11822 pub mail_cr_lf_mode: *mut zend_string,
11823 pub mail_x_header: bool,
11824 pub mail_mixed_lf_and_crlf: bool,
11825 pub in_error_log: bool,
11826 pub allow_url_include: bool,
11827 pub in_user_include: bool,
11828 pub have_called_openlog: bool,
11829 pub syslog_facility: zend_long,
11830 pub syslog_ident: *mut ::std::os::raw::c_char,
11831 pub syslog_filter: zend_long,
11832 pub error_log_mode: zend_long,
11833}
11834#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11835const _: () = {
11836 ["Size of _php_core_globals"][::std::mem::size_of::<_php_core_globals>() - 624usize];
11837 ["Alignment of _php_core_globals"][::std::mem::align_of::<_php_core_globals>() - 8usize];
11838 ["Offset of field: _php_core_globals::output_buffering"]
11839 [::std::mem::offset_of!(_php_core_globals, output_buffering) - 0usize];
11840 ["Offset of field: _php_core_globals::implicit_flush"]
11841 [::std::mem::offset_of!(_php_core_globals, implicit_flush) - 8usize];
11842 ["Offset of field: _php_core_globals::enable_dl"]
11843 [::std::mem::offset_of!(_php_core_globals, enable_dl) - 9usize];
11844 ["Offset of field: _php_core_globals::display_errors"]
11845 [::std::mem::offset_of!(_php_core_globals, display_errors) - 10usize];
11846 ["Offset of field: _php_core_globals::display_startup_errors"]
11847 [::std::mem::offset_of!(_php_core_globals, display_startup_errors) - 11usize];
11848 ["Offset of field: _php_core_globals::log_errors"]
11849 [::std::mem::offset_of!(_php_core_globals, log_errors) - 12usize];
11850 ["Offset of field: _php_core_globals::ignore_repeated_errors"]
11851 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_errors) - 13usize];
11852 ["Offset of field: _php_core_globals::ignore_repeated_source"]
11853 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_source) - 14usize];
11854 ["Offset of field: _php_core_globals::report_memleaks"]
11855 [::std::mem::offset_of!(_php_core_globals, report_memleaks) - 15usize];
11856 ["Offset of field: _php_core_globals::output_handler"]
11857 [::std::mem::offset_of!(_php_core_globals, output_handler) - 16usize];
11858 ["Offset of field: _php_core_globals::unserialize_callback_func"]
11859 [::std::mem::offset_of!(_php_core_globals, unserialize_callback_func) - 24usize];
11860 ["Offset of field: _php_core_globals::serialize_precision"]
11861 [::std::mem::offset_of!(_php_core_globals, serialize_precision) - 32usize];
11862 ["Offset of field: _php_core_globals::memory_limit"]
11863 [::std::mem::offset_of!(_php_core_globals, memory_limit) - 40usize];
11864 ["Offset of field: _php_core_globals::max_memory_limit"]
11865 [::std::mem::offset_of!(_php_core_globals, max_memory_limit) - 48usize];
11866 ["Offset of field: _php_core_globals::max_input_time"]
11867 [::std::mem::offset_of!(_php_core_globals, max_input_time) - 56usize];
11868 ["Offset of field: _php_core_globals::error_log"]
11869 [::std::mem::offset_of!(_php_core_globals, error_log) - 64usize];
11870 ["Offset of field: _php_core_globals::doc_root"]
11871 [::std::mem::offset_of!(_php_core_globals, doc_root) - 72usize];
11872 ["Offset of field: _php_core_globals::user_dir"]
11873 [::std::mem::offset_of!(_php_core_globals, user_dir) - 80usize];
11874 ["Offset of field: _php_core_globals::include_path"]
11875 [::std::mem::offset_of!(_php_core_globals, include_path) - 88usize];
11876 ["Offset of field: _php_core_globals::open_basedir"]
11877 [::std::mem::offset_of!(_php_core_globals, open_basedir) - 96usize];
11878 ["Offset of field: _php_core_globals::open_basedir_modified"]
11879 [::std::mem::offset_of!(_php_core_globals, open_basedir_modified) - 104usize];
11880 ["Offset of field: _php_core_globals::extension_dir"]
11881 [::std::mem::offset_of!(_php_core_globals, extension_dir) - 112usize];
11882 ["Offset of field: _php_core_globals::php_binary"]
11883 [::std::mem::offset_of!(_php_core_globals, php_binary) - 120usize];
11884 ["Offset of field: _php_core_globals::sys_temp_dir"]
11885 [::std::mem::offset_of!(_php_core_globals, sys_temp_dir) - 128usize];
11886 ["Offset of field: _php_core_globals::upload_tmp_dir"]
11887 [::std::mem::offset_of!(_php_core_globals, upload_tmp_dir) - 136usize];
11888 ["Offset of field: _php_core_globals::upload_max_filesize"]
11889 [::std::mem::offset_of!(_php_core_globals, upload_max_filesize) - 144usize];
11890 ["Offset of field: _php_core_globals::error_append_string"]
11891 [::std::mem::offset_of!(_php_core_globals, error_append_string) - 152usize];
11892 ["Offset of field: _php_core_globals::error_prepend_string"]
11893 [::std::mem::offset_of!(_php_core_globals, error_prepend_string) - 160usize];
11894 ["Offset of field: _php_core_globals::auto_prepend_file"]
11895 [::std::mem::offset_of!(_php_core_globals, auto_prepend_file) - 168usize];
11896 ["Offset of field: _php_core_globals::auto_append_file"]
11897 [::std::mem::offset_of!(_php_core_globals, auto_append_file) - 176usize];
11898 ["Offset of field: _php_core_globals::input_encoding"]
11899 [::std::mem::offset_of!(_php_core_globals, input_encoding) - 184usize];
11900 ["Offset of field: _php_core_globals::internal_encoding"]
11901 [::std::mem::offset_of!(_php_core_globals, internal_encoding) - 192usize];
11902 ["Offset of field: _php_core_globals::output_encoding"]
11903 [::std::mem::offset_of!(_php_core_globals, output_encoding) - 200usize];
11904 ["Offset of field: _php_core_globals::arg_separator"]
11905 [::std::mem::offset_of!(_php_core_globals, arg_separator) - 208usize];
11906 ["Offset of field: _php_core_globals::variables_order"]
11907 [::std::mem::offset_of!(_php_core_globals, variables_order) - 224usize];
11908 ["Offset of field: _php_core_globals::rfc1867_protected_variables"]
11909 [::std::mem::offset_of!(_php_core_globals, rfc1867_protected_variables) - 232usize];
11910 ["Offset of field: _php_core_globals::connection_status"]
11911 [::std::mem::offset_of!(_php_core_globals, connection_status) - 288usize];
11912 ["Offset of field: _php_core_globals::ignore_user_abort"]
11913 [::std::mem::offset_of!(_php_core_globals, ignore_user_abort) - 290usize];
11914 ["Offset of field: _php_core_globals::header_is_being_sent"]
11915 [::std::mem::offset_of!(_php_core_globals, header_is_being_sent) - 291usize];
11916 ["Offset of field: _php_core_globals::tick_functions"]
11917 [::std::mem::offset_of!(_php_core_globals, tick_functions) - 296usize];
11918 ["Offset of field: _php_core_globals::http_globals"]
11919 [::std::mem::offset_of!(_php_core_globals, http_globals) - 352usize];
11920 ["Offset of field: _php_core_globals::expose_php"]
11921 [::std::mem::offset_of!(_php_core_globals, expose_php) - 448usize];
11922 ["Offset of field: _php_core_globals::register_argc_argv"]
11923 [::std::mem::offset_of!(_php_core_globals, register_argc_argv) - 449usize];
11924 ["Offset of field: _php_core_globals::auto_globals_jit"]
11925 [::std::mem::offset_of!(_php_core_globals, auto_globals_jit) - 450usize];
11926 ["Offset of field: _php_core_globals::html_errors"]
11927 [::std::mem::offset_of!(_php_core_globals, html_errors) - 451usize];
11928 ["Offset of field: _php_core_globals::xmlrpc_errors"]
11929 [::std::mem::offset_of!(_php_core_globals, xmlrpc_errors) - 452usize];
11930 ["Offset of field: _php_core_globals::docref_root"]
11931 [::std::mem::offset_of!(_php_core_globals, docref_root) - 456usize];
11932 ["Offset of field: _php_core_globals::docref_ext"]
11933 [::std::mem::offset_of!(_php_core_globals, docref_ext) - 464usize];
11934 ["Offset of field: _php_core_globals::xmlrpc_error_number"]
11935 [::std::mem::offset_of!(_php_core_globals, xmlrpc_error_number) - 472usize];
11936 ["Offset of field: _php_core_globals::activated_auto_globals"]
11937 [::std::mem::offset_of!(_php_core_globals, activated_auto_globals) - 480usize];
11938 ["Offset of field: _php_core_globals::modules_activated"]
11939 [::std::mem::offset_of!(_php_core_globals, modules_activated) - 488usize];
11940 ["Offset of field: _php_core_globals::file_uploads"]
11941 [::std::mem::offset_of!(_php_core_globals, file_uploads) - 489usize];
11942 ["Offset of field: _php_core_globals::during_request_startup"]
11943 [::std::mem::offset_of!(_php_core_globals, during_request_startup) - 490usize];
11944 ["Offset of field: _php_core_globals::allow_url_fopen"]
11945 [::std::mem::offset_of!(_php_core_globals, allow_url_fopen) - 491usize];
11946 ["Offset of field: _php_core_globals::enable_post_data_reading"]
11947 [::std::mem::offset_of!(_php_core_globals, enable_post_data_reading) - 492usize];
11948 ["Offset of field: _php_core_globals::report_zend_debug"]
11949 [::std::mem::offset_of!(_php_core_globals, report_zend_debug) - 493usize];
11950 ["Offset of field: _php_core_globals::last_error_type"]
11951 [::std::mem::offset_of!(_php_core_globals, last_error_type) - 496usize];
11952 ["Offset of field: _php_core_globals::last_error_lineno"]
11953 [::std::mem::offset_of!(_php_core_globals, last_error_lineno) - 500usize];
11954 ["Offset of field: _php_core_globals::last_error_message"]
11955 [::std::mem::offset_of!(_php_core_globals, last_error_message) - 504usize];
11956 ["Offset of field: _php_core_globals::last_error_file"]
11957 [::std::mem::offset_of!(_php_core_globals, last_error_file) - 512usize];
11958 ["Offset of field: _php_core_globals::php_sys_temp_dir"]
11959 [::std::mem::offset_of!(_php_core_globals, php_sys_temp_dir) - 520usize];
11960 ["Offset of field: _php_core_globals::max_input_nesting_level"]
11961 [::std::mem::offset_of!(_php_core_globals, max_input_nesting_level) - 528usize];
11962 ["Offset of field: _php_core_globals::max_input_vars"]
11963 [::std::mem::offset_of!(_php_core_globals, max_input_vars) - 536usize];
11964 ["Offset of field: _php_core_globals::user_ini_filename"]
11965 [::std::mem::offset_of!(_php_core_globals, user_ini_filename) - 544usize];
11966 ["Offset of field: _php_core_globals::user_ini_cache_ttl"]
11967 [::std::mem::offset_of!(_php_core_globals, user_ini_cache_ttl) - 552usize];
11968 ["Offset of field: _php_core_globals::request_order"]
11969 [::std::mem::offset_of!(_php_core_globals, request_order) - 560usize];
11970 ["Offset of field: _php_core_globals::mail_log"]
11971 [::std::mem::offset_of!(_php_core_globals, mail_log) - 568usize];
11972 ["Offset of field: _php_core_globals::mail_cr_lf_mode"]
11973 [::std::mem::offset_of!(_php_core_globals, mail_cr_lf_mode) - 576usize];
11974 ["Offset of field: _php_core_globals::mail_x_header"]
11975 [::std::mem::offset_of!(_php_core_globals, mail_x_header) - 584usize];
11976 ["Offset of field: _php_core_globals::mail_mixed_lf_and_crlf"]
11977 [::std::mem::offset_of!(_php_core_globals, mail_mixed_lf_and_crlf) - 585usize];
11978 ["Offset of field: _php_core_globals::in_error_log"]
11979 [::std::mem::offset_of!(_php_core_globals, in_error_log) - 586usize];
11980 ["Offset of field: _php_core_globals::allow_url_include"]
11981 [::std::mem::offset_of!(_php_core_globals, allow_url_include) - 587usize];
11982 ["Offset of field: _php_core_globals::in_user_include"]
11983 [::std::mem::offset_of!(_php_core_globals, in_user_include) - 588usize];
11984 ["Offset of field: _php_core_globals::have_called_openlog"]
11985 [::std::mem::offset_of!(_php_core_globals, have_called_openlog) - 589usize];
11986 ["Offset of field: _php_core_globals::syslog_facility"]
11987 [::std::mem::offset_of!(_php_core_globals, syslog_facility) - 592usize];
11988 ["Offset of field: _php_core_globals::syslog_ident"]
11989 [::std::mem::offset_of!(_php_core_globals, syslog_ident) - 600usize];
11990 ["Offset of field: _php_core_globals::syslog_filter"]
11991 [::std::mem::offset_of!(_php_core_globals, syslog_filter) - 608usize];
11992 ["Offset of field: _php_core_globals::error_log_mode"]
11993 [::std::mem::offset_of!(_php_core_globals, error_log_mode) - 616usize];
11994};
11995extern "C" {
11996 pub static mut core_globals: _php_core_globals;
11997}
11998#[repr(C)]
11999#[derive(Debug, Copy, Clone)]
12000pub struct _arg_separators {
12001 pub output: *mut zend_string,
12002 pub input: *mut zend_string,
12003}
12004#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12005const _: () = {
12006 ["Size of _arg_separators"][::std::mem::size_of::<_arg_separators>() - 16usize];
12007 ["Alignment of _arg_separators"][::std::mem::align_of::<_arg_separators>() - 8usize];
12008 ["Offset of field: _arg_separators::output"]
12009 [::std::mem::offset_of!(_arg_separators, output) - 0usize];
12010 ["Offset of field: _arg_separators::input"]
12011 [::std::mem::offset_of!(_arg_separators, input) - 8usize];
12012};
12013pub type arg_separators = _arg_separators;
12014#[repr(C)]
12015#[derive(Debug, Copy, Clone)]
12016pub struct _zend_ini_entry_def {
12017 pub name: *const ::std::os::raw::c_char,
12018 pub on_modify: ::std::option::Option<
12019 unsafe extern "C" fn(
12020 entry: *mut zend_ini_entry,
12021 new_value: *mut zend_string,
12022 mh_arg1: *mut ::std::os::raw::c_void,
12023 mh_arg2: *mut ::std::os::raw::c_void,
12024 mh_arg3: *mut ::std::os::raw::c_void,
12025 stage: ::std::os::raw::c_int,
12026 ) -> ::std::os::raw::c_int,
12027 >,
12028 pub mh_arg1: *mut ::std::os::raw::c_void,
12029 pub mh_arg2: *mut ::std::os::raw::c_void,
12030 pub mh_arg3: *mut ::std::os::raw::c_void,
12031 pub value: *const ::std::os::raw::c_char,
12032 pub displayer: ::std::option::Option<
12033 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
12034 >,
12035 pub value_length: u32,
12036 pub name_length: u16,
12037 pub modifiable: u8,
12038}
12039#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12040const _: () = {
12041 ["Size of _zend_ini_entry_def"][::std::mem::size_of::<_zend_ini_entry_def>() - 64usize];
12042 ["Alignment of _zend_ini_entry_def"][::std::mem::align_of::<_zend_ini_entry_def>() - 8usize];
12043 ["Offset of field: _zend_ini_entry_def::name"]
12044 [::std::mem::offset_of!(_zend_ini_entry_def, name) - 0usize];
12045 ["Offset of field: _zend_ini_entry_def::on_modify"]
12046 [::std::mem::offset_of!(_zend_ini_entry_def, on_modify) - 8usize];
12047 ["Offset of field: _zend_ini_entry_def::mh_arg1"]
12048 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg1) - 16usize];
12049 ["Offset of field: _zend_ini_entry_def::mh_arg2"]
12050 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg2) - 24usize];
12051 ["Offset of field: _zend_ini_entry_def::mh_arg3"]
12052 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg3) - 32usize];
12053 ["Offset of field: _zend_ini_entry_def::value"]
12054 [::std::mem::offset_of!(_zend_ini_entry_def, value) - 40usize];
12055 ["Offset of field: _zend_ini_entry_def::displayer"]
12056 [::std::mem::offset_of!(_zend_ini_entry_def, displayer) - 48usize];
12057 ["Offset of field: _zend_ini_entry_def::value_length"]
12058 [::std::mem::offset_of!(_zend_ini_entry_def, value_length) - 56usize];
12059 ["Offset of field: _zend_ini_entry_def::name_length"]
12060 [::std::mem::offset_of!(_zend_ini_entry_def, name_length) - 60usize];
12061 ["Offset of field: _zend_ini_entry_def::modifiable"]
12062 [::std::mem::offset_of!(_zend_ini_entry_def, modifiable) - 62usize];
12063};
12064pub type zend_ini_entry_def = _zend_ini_entry_def;
12065#[repr(C)]
12066#[derive(Debug, Copy, Clone)]
12067pub struct _zend_ini_entry {
12068 pub name: *mut zend_string,
12069 pub on_modify: ::std::option::Option<
12070 unsafe extern "C" fn(
12071 entry: *mut zend_ini_entry,
12072 new_value: *mut zend_string,
12073 mh_arg1: *mut ::std::os::raw::c_void,
12074 mh_arg2: *mut ::std::os::raw::c_void,
12075 mh_arg3: *mut ::std::os::raw::c_void,
12076 stage: ::std::os::raw::c_int,
12077 ) -> ::std::os::raw::c_int,
12078 >,
12079 pub mh_arg1: *mut ::std::os::raw::c_void,
12080 pub mh_arg2: *mut ::std::os::raw::c_void,
12081 pub mh_arg3: *mut ::std::os::raw::c_void,
12082 pub value: *mut zend_string,
12083 pub orig_value: *mut zend_string,
12084 pub displayer: ::std::option::Option<
12085 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
12086 >,
12087 pub module_number: ::std::os::raw::c_int,
12088 pub modifiable: u8,
12089 pub orig_modifiable: u8,
12090 pub modified: u8,
12091 pub def: *const zend_ini_entry_def,
12092}
12093#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12094const _: () = {
12095 ["Size of _zend_ini_entry"][::std::mem::size_of::<_zend_ini_entry>() - 80usize];
12096 ["Alignment of _zend_ini_entry"][::std::mem::align_of::<_zend_ini_entry>() - 8usize];
12097 ["Offset of field: _zend_ini_entry::name"]
12098 [::std::mem::offset_of!(_zend_ini_entry, name) - 0usize];
12099 ["Offset of field: _zend_ini_entry::on_modify"]
12100 [::std::mem::offset_of!(_zend_ini_entry, on_modify) - 8usize];
12101 ["Offset of field: _zend_ini_entry::mh_arg1"]
12102 [::std::mem::offset_of!(_zend_ini_entry, mh_arg1) - 16usize];
12103 ["Offset of field: _zend_ini_entry::mh_arg2"]
12104 [::std::mem::offset_of!(_zend_ini_entry, mh_arg2) - 24usize];
12105 ["Offset of field: _zend_ini_entry::mh_arg3"]
12106 [::std::mem::offset_of!(_zend_ini_entry, mh_arg3) - 32usize];
12107 ["Offset of field: _zend_ini_entry::value"]
12108 [::std::mem::offset_of!(_zend_ini_entry, value) - 40usize];
12109 ["Offset of field: _zend_ini_entry::orig_value"]
12110 [::std::mem::offset_of!(_zend_ini_entry, orig_value) - 48usize];
12111 ["Offset of field: _zend_ini_entry::displayer"]
12112 [::std::mem::offset_of!(_zend_ini_entry, displayer) - 56usize];
12113 ["Offset of field: _zend_ini_entry::module_number"]
12114 [::std::mem::offset_of!(_zend_ini_entry, module_number) - 64usize];
12115 ["Offset of field: _zend_ini_entry::modifiable"]
12116 [::std::mem::offset_of!(_zend_ini_entry, modifiable) - 68usize];
12117 ["Offset of field: _zend_ini_entry::orig_modifiable"]
12118 [::std::mem::offset_of!(_zend_ini_entry, orig_modifiable) - 69usize];
12119 ["Offset of field: _zend_ini_entry::modified"]
12120 [::std::mem::offset_of!(_zend_ini_entry, modified) - 70usize];
12121 ["Offset of field: _zend_ini_entry::def"]
12122 [::std::mem::offset_of!(_zend_ini_entry, def) - 72usize];
12123};
12124extern "C" {
12125 pub fn zend_ini_startup();
12126}
12127extern "C" {
12128 pub fn zend_ini_shutdown();
12129}
12130extern "C" {
12131 pub fn zend_ini_global_shutdown();
12132}
12133extern "C" {
12134 pub fn zend_ini_deactivate();
12135}
12136extern "C" {
12137 pub fn zend_ini_dtor(ini_directives: *mut HashTable);
12138}
12139extern "C" {
12140 pub fn zend_copy_ini_directives();
12141}
12142extern "C" {
12143 pub fn zend_ini_sort_entries();
12144}
12145extern "C" {
12146 pub fn zend_register_ini_entries(
12147 ini_entry: *const zend_ini_entry_def,
12148 module_number: ::std::os::raw::c_int,
12149 ) -> zend_result;
12150}
12151extern "C" {
12152 pub fn zend_register_ini_entries_ex(
12153 ini_entry: *const zend_ini_entry_def,
12154 module_number: ::std::os::raw::c_int,
12155 module_type: ::std::os::raw::c_int,
12156 ) -> zend_result;
12157}
12158extern "C" {
12159 pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
12160}
12161extern "C" {
12162 pub fn zend_unregister_ini_entries_ex(
12163 module_number: ::std::os::raw::c_int,
12164 module_type: ::std::os::raw::c_int,
12165 );
12166}
12167extern "C" {
12168 pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
12169}
12170extern "C" {
12171 pub fn zend_alter_ini_entry(
12172 name: *mut zend_string,
12173 new_value: *mut zend_string,
12174 modify_type: ::std::os::raw::c_int,
12175 stage: ::std::os::raw::c_int,
12176 ) -> zend_result;
12177}
12178extern "C" {
12179 pub fn zend_alter_ini_entry_ex(
12180 name: *mut zend_string,
12181 new_value: *mut zend_string,
12182 modify_type: ::std::os::raw::c_int,
12183 stage: ::std::os::raw::c_int,
12184 force_change: bool,
12185 ) -> zend_result;
12186}
12187extern "C" {
12188 pub fn zend_alter_ini_entry_chars(
12189 name: *mut zend_string,
12190 value: *const ::std::os::raw::c_char,
12191 value_length: usize,
12192 modify_type: ::std::os::raw::c_int,
12193 stage: ::std::os::raw::c_int,
12194 ) -> zend_result;
12195}
12196extern "C" {
12197 pub fn zend_alter_ini_entry_chars_ex(
12198 name: *mut zend_string,
12199 value: *const ::std::os::raw::c_char,
12200 value_length: usize,
12201 modify_type: ::std::os::raw::c_int,
12202 stage: ::std::os::raw::c_int,
12203 force_change: ::std::os::raw::c_int,
12204 ) -> zend_result;
12205}
12206extern "C" {
12207 pub fn zend_restore_ini_entry(
12208 name: *mut zend_string,
12209 stage: ::std::os::raw::c_int,
12210 ) -> zend_result;
12211}
12212extern "C" {
12213 pub fn zend_ini_long(
12214 name: *const ::std::os::raw::c_char,
12215 name_length: usize,
12216 orig: ::std::os::raw::c_int,
12217 ) -> zend_long;
12218}
12219extern "C" {
12220 pub fn zend_ini_double(
12221 name: *const ::std::os::raw::c_char,
12222 name_length: usize,
12223 orig: ::std::os::raw::c_int,
12224 ) -> f64;
12225}
12226extern "C" {
12227 pub fn zend_ini_string(
12228 name: *const ::std::os::raw::c_char,
12229 name_length: usize,
12230 orig: ::std::os::raw::c_int,
12231 ) -> *mut ::std::os::raw::c_char;
12232}
12233extern "C" {
12234 pub fn zend_ini_string_ex(
12235 name: *const ::std::os::raw::c_char,
12236 name_length: usize,
12237 orig: ::std::os::raw::c_int,
12238 exists: *mut bool,
12239 ) -> *mut ::std::os::raw::c_char;
12240}
12241extern "C" {
12242 pub fn zend_ini_str(
12243 name: *const ::std::os::raw::c_char,
12244 name_length: usize,
12245 orig: bool,
12246 ) -> *mut zend_string;
12247}
12248extern "C" {
12249 pub fn zend_ini_str_ex(
12250 name: *const ::std::os::raw::c_char,
12251 name_length: usize,
12252 orig: bool,
12253 exists: *mut bool,
12254 ) -> *mut zend_string;
12255}
12256extern "C" {
12257 pub fn zend_ini_get_value(name: *mut zend_string) -> *mut zend_string;
12258}
12259extern "C" {
12260 pub fn zend_ini_parse_bool(str_: *mut zend_string) -> bool;
12261}
12262extern "C" {
12263 #[doc = " Parses an ini quantity\n\n The value parameter must be a string in the form\n\n sign? digits ws* multiplier?\n\n with\n\n sign: [+-]\n digit: [0-9]\n digits: digit+\n ws: [ \\t\\n\\r\\v\\f]\n multiplier: [KMG]\n\n Leading and trailing whitespaces are ignored.\n\n If the string is empty or consists only of only whitespaces, 0 is returned.\n\n Digits is parsed as decimal unless the first digit is '0', in which case\n digits is parsed as octal.\n\n The multiplier is case-insensitive. K, M, and G multiply the quantity by\n 2**10, 2**20, and 2**30, respectively.\n\n For backwards compatibility, ill-formatted values are handled as follows:\n - No leading digits: value is treated as '0'\n - Invalid multiplier: multiplier is ignored\n - Invalid characters between digits and multiplier: invalid characters are\n ignored\n - Integer overflow: The result of the overflow is returned\n\n In any of these cases an error string is stored in *errstr (caller must\n release it), otherwise *errstr is set to NULL."]
12264 pub fn zend_ini_parse_quantity(
12265 value: *mut zend_string,
12266 errstr: *mut *mut zend_string,
12267 ) -> zend_long;
12268}
12269extern "C" {
12270 #[doc = " Unsigned variant of zend_ini_parse_quantity"]
12271 pub fn zend_ini_parse_uquantity(
12272 value: *mut zend_string,
12273 errstr: *mut *mut zend_string,
12274 ) -> zend_ulong;
12275}
12276extern "C" {
12277 pub fn zend_ini_parse_quantity_warn(
12278 value: *mut zend_string,
12279 setting: *mut zend_string,
12280 ) -> zend_long;
12281}
12282extern "C" {
12283 pub fn zend_ini_parse_uquantity_warn(
12284 value: *mut zend_string,
12285 setting: *mut zend_string,
12286 ) -> zend_ulong;
12287}
12288extern "C" {
12289 pub fn zend_ini_register_displayer(
12290 name: *const ::std::os::raw::c_char,
12291 name_length: u32,
12292 displayer: ::std::option::Option<
12293 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
12294 >,
12295 ) -> zend_result;
12296}
12297extern "C" {
12298 pub fn zend_ini_boolean_displayer_cb(
12299 ini_entry: *mut zend_ini_entry,
12300 type_: ::std::os::raw::c_int,
12301 );
12302}
12303extern "C" {
12304 pub fn zend_ini_color_displayer_cb(
12305 ini_entry: *mut zend_ini_entry,
12306 type_: ::std::os::raw::c_int,
12307 );
12308}
12309pub type zend_ini_parser_cb_t = ::std::option::Option<
12310 unsafe extern "C" fn(
12311 arg1: *mut zval,
12312 arg2: *mut zval,
12313 arg3: *mut zval,
12314 callback_type: ::std::os::raw::c_int,
12315 arg: *mut ::std::os::raw::c_void,
12316 ),
12317>;
12318extern "C" {
12319 pub fn zend_parse_ini_file(
12320 fh: *mut zend_file_handle,
12321 unbuffered_errors: bool,
12322 scanner_mode: ::std::os::raw::c_int,
12323 ini_parser_cb: zend_ini_parser_cb_t,
12324 arg: *mut ::std::os::raw::c_void,
12325 ) -> zend_result;
12326}
12327extern "C" {
12328 pub fn zend_parse_ini_string(
12329 str_: *const ::std::os::raw::c_char,
12330 unbuffered_errors: bool,
12331 scanner_mode: ::std::os::raw::c_int,
12332 ini_parser_cb: zend_ini_parser_cb_t,
12333 arg: *mut ::std::os::raw::c_void,
12334 ) -> zend_result;
12335}
12336#[repr(C)]
12337#[derive(Debug, Copy, Clone)]
12338pub struct _zend_ini_parser_param {
12339 pub ini_parser_cb: zend_ini_parser_cb_t,
12340 pub arg: *mut ::std::os::raw::c_void,
12341}
12342#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12343const _: () = {
12344 ["Size of _zend_ini_parser_param"][::std::mem::size_of::<_zend_ini_parser_param>() - 16usize];
12345 ["Alignment of _zend_ini_parser_param"]
12346 [::std::mem::align_of::<_zend_ini_parser_param>() - 8usize];
12347 ["Offset of field: _zend_ini_parser_param::ini_parser_cb"]
12348 [::std::mem::offset_of!(_zend_ini_parser_param, ini_parser_cb) - 0usize];
12349 ["Offset of field: _zend_ini_parser_param::arg"]
12350 [::std::mem::offset_of!(_zend_ini_parser_param, arg) - 8usize];
12351};
12352pub type zend_ini_parser_param = _zend_ini_parser_param;
12353extern "C" {
12354 pub fn php_init_config();
12355}
12356extern "C" {
12357 pub fn php_shutdown_config();
12358}
12359extern "C" {
12360 pub fn php_ini_register_extensions();
12361}
12362extern "C" {
12363 pub fn php_parse_user_ini_file(
12364 dirname: *const ::std::os::raw::c_char,
12365 ini_filename: *const ::std::os::raw::c_char,
12366 target_hash: *mut HashTable,
12367 ) -> zend_result;
12368}
12369extern "C" {
12370 pub fn php_ini_activate_config(
12371 source_hash: *const HashTable,
12372 modify_type: ::std::os::raw::c_int,
12373 stage: ::std::os::raw::c_int,
12374 );
12375}
12376extern "C" {
12377 pub fn php_ini_has_per_dir_config() -> bool;
12378}
12379extern "C" {
12380 pub fn php_ini_has_per_host_config() -> bool;
12381}
12382extern "C" {
12383 pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: usize);
12384}
12385extern "C" {
12386 pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: usize);
12387}
12388extern "C" {
12389 pub fn php_ini_get_configuration_hash() -> *mut HashTable;
12390}
12391extern "C" {
12392 pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
12393}
12394extern "C" {
12395 pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
12396}
12397extern "C" {
12398 pub fn php_check_open_basedir_ex(
12399 path: *const ::std::os::raw::c_char,
12400 warn: ::std::os::raw::c_int,
12401 ) -> ::std::os::raw::c_int;
12402}
12403extern "C" {
12404 pub fn php_check_specific_open_basedir(
12405 basedir: *const ::std::os::raw::c_char,
12406 path: *const ::std::os::raw::c_char,
12407 ) -> ::std::os::raw::c_int;
12408}
12409extern "C" {
12410 pub fn php_resolve_path(
12411 filename: *const ::std::os::raw::c_char,
12412 filename_len: usize,
12413 path: *const ::std::os::raw::c_char,
12414 ) -> *mut zend_string;
12415}
12416extern "C" {
12417 pub fn php_fopen_with_path(
12418 filename: *const ::std::os::raw::c_char,
12419 mode: *const ::std::os::raw::c_char,
12420 path: *const ::std::os::raw::c_char,
12421 opened_path: *mut *mut zend_string,
12422 ) -> *mut FILE;
12423}
12424extern "C" {
12425 pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
12426}
12427#[repr(C)]
12428#[derive(Debug, Copy, Clone)]
12429pub struct _cwd_state {
12430 pub cwd: *mut ::std::os::raw::c_char,
12431 pub cwd_length: usize,
12432}
12433#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12434const _: () = {
12435 ["Size of _cwd_state"][::std::mem::size_of::<_cwd_state>() - 16usize];
12436 ["Alignment of _cwd_state"][::std::mem::align_of::<_cwd_state>() - 8usize];
12437 ["Offset of field: _cwd_state::cwd"][::std::mem::offset_of!(_cwd_state, cwd) - 0usize];
12438 ["Offset of field: _cwd_state::cwd_length"]
12439 [::std::mem::offset_of!(_cwd_state, cwd_length) - 8usize];
12440};
12441pub type cwd_state = _cwd_state;
12442#[repr(C)]
12443#[derive(Debug, Copy, Clone)]
12444pub struct _realpath_cache_bucket {
12445 pub key: zend_ulong,
12446 pub path: *mut ::std::os::raw::c_char,
12447 pub realpath: *mut ::std::os::raw::c_char,
12448 pub next: *mut _realpath_cache_bucket,
12449 pub expires: time_t,
12450 pub path_len: u16,
12451 pub realpath_len: u16,
12452 pub _bitfield_align_1: [u8; 0],
12453 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
12454 pub __bindgen_padding_0: [u8; 3usize],
12455}
12456#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12457const _: () = {
12458 ["Size of _realpath_cache_bucket"][::std::mem::size_of::<_realpath_cache_bucket>() - 48usize];
12459 ["Alignment of _realpath_cache_bucket"]
12460 [::std::mem::align_of::<_realpath_cache_bucket>() - 8usize];
12461 ["Offset of field: _realpath_cache_bucket::key"]
12462 [::std::mem::offset_of!(_realpath_cache_bucket, key) - 0usize];
12463 ["Offset of field: _realpath_cache_bucket::path"]
12464 [::std::mem::offset_of!(_realpath_cache_bucket, path) - 8usize];
12465 ["Offset of field: _realpath_cache_bucket::realpath"]
12466 [::std::mem::offset_of!(_realpath_cache_bucket, realpath) - 16usize];
12467 ["Offset of field: _realpath_cache_bucket::next"]
12468 [::std::mem::offset_of!(_realpath_cache_bucket, next) - 24usize];
12469 ["Offset of field: _realpath_cache_bucket::expires"]
12470 [::std::mem::offset_of!(_realpath_cache_bucket, expires) - 32usize];
12471 ["Offset of field: _realpath_cache_bucket::path_len"]
12472 [::std::mem::offset_of!(_realpath_cache_bucket, path_len) - 40usize];
12473 ["Offset of field: _realpath_cache_bucket::realpath_len"]
12474 [::std::mem::offset_of!(_realpath_cache_bucket, realpath_len) - 42usize];
12475};
12476impl _realpath_cache_bucket {
12477 #[inline]
12478 pub fn is_dir(&self) -> u8 {
12479 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
12480 }
12481 #[inline]
12482 pub fn set_is_dir(&mut self, val: u8) {
12483 unsafe {
12484 let val: u8 = ::std::mem::transmute(val);
12485 self._bitfield_1.set(0usize, 1u8, val as u64)
12486 }
12487 }
12488 #[inline]
12489 pub fn new_bitfield_1(is_dir: u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
12490 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
12491 __bindgen_bitfield_unit.set(0usize, 1u8, {
12492 let is_dir: u8 = unsafe { ::std::mem::transmute(is_dir) };
12493 is_dir as u64
12494 });
12495 __bindgen_bitfield_unit
12496 }
12497}
12498pub type realpath_cache_bucket = _realpath_cache_bucket;
12499#[repr(C)]
12500#[derive(Debug, Copy, Clone)]
12501pub struct _virtual_cwd_globals {
12502 pub cwd: cwd_state,
12503 pub realpath_cache_size: zend_long,
12504 pub realpath_cache_size_limit: zend_long,
12505 pub realpath_cache_ttl: zend_long,
12506 pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
12507}
12508#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12509const _: () = {
12510 ["Size of _virtual_cwd_globals"][::std::mem::size_of::<_virtual_cwd_globals>() - 8232usize];
12511 ["Alignment of _virtual_cwd_globals"][::std::mem::align_of::<_virtual_cwd_globals>() - 8usize];
12512 ["Offset of field: _virtual_cwd_globals::cwd"]
12513 [::std::mem::offset_of!(_virtual_cwd_globals, cwd) - 0usize];
12514 ["Offset of field: _virtual_cwd_globals::realpath_cache_size"]
12515 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size) - 16usize];
12516 ["Offset of field: _virtual_cwd_globals::realpath_cache_size_limit"]
12517 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size_limit) - 24usize];
12518 ["Offset of field: _virtual_cwd_globals::realpath_cache_ttl"]
12519 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_ttl) - 32usize];
12520 ["Offset of field: _virtual_cwd_globals::realpath_cache"]
12521 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache) - 40usize];
12522};
12523pub type virtual_cwd_globals = _virtual_cwd_globals;
12524extern "C" {
12525 pub static mut cwd_globals: virtual_cwd_globals;
12526}
12527pub type zend_bool = bool;
12528pub type zend_intptr_t = isize;
12529pub type zend_uintptr_t = usize;
12530extern "C" {
12531 pub fn php_print_info_htmlhead();
12532}
12533extern "C" {
12534 pub fn php_print_info(flag: ::std::os::raw::c_int);
12535}
12536extern "C" {
12537 pub fn php_print_style();
12538}
12539extern "C" {
12540 pub fn php_info_print_style();
12541}
12542extern "C" {
12543 pub fn php_info_print_table_colspan_header(
12544 num_cols: ::std::os::raw::c_int,
12545 header: *const ::std::os::raw::c_char,
12546 );
12547}
12548extern "C" {
12549 pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
12550}
12551extern "C" {
12552 pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
12553}
12554extern "C" {
12555 pub fn php_info_print_table_row_ex(
12556 num_cols: ::std::os::raw::c_int,
12557 arg1: *const ::std::os::raw::c_char,
12558 ...
12559 );
12560}
12561extern "C" {
12562 pub fn php_info_print_table_start();
12563}
12564extern "C" {
12565 pub fn php_info_print_table_end();
12566}
12567extern "C" {
12568 pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
12569}
12570extern "C" {
12571 pub fn php_info_print_box_end();
12572}
12573extern "C" {
12574 pub fn php_info_print_hr();
12575}
12576extern "C" {
12577 pub fn php_info_print_module(module: *mut zend_module_entry);
12578}
12579extern "C" {
12580 pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
12581}
12582#[repr(C)]
12583#[derive(Debug, Copy, Clone)]
12584pub struct _zend_extension_version_info {
12585 pub zend_extension_api_no: ::std::os::raw::c_int,
12586 pub build_id: *const ::std::os::raw::c_char,
12587}
12588#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12589const _: () = {
12590 ["Size of _zend_extension_version_info"]
12591 [::std::mem::size_of::<_zend_extension_version_info>() - 16usize];
12592 ["Alignment of _zend_extension_version_info"]
12593 [::std::mem::align_of::<_zend_extension_version_info>() - 8usize];
12594 ["Offset of field: _zend_extension_version_info::zend_extension_api_no"]
12595 [::std::mem::offset_of!(_zend_extension_version_info, zend_extension_api_no) - 0usize];
12596 ["Offset of field: _zend_extension_version_info::build_id"]
12597 [::std::mem::offset_of!(_zend_extension_version_info, build_id) - 8usize];
12598};
12599pub type zend_extension_version_info = _zend_extension_version_info;
12600pub type zend_extension = _zend_extension;
12601pub type startup_func_t = ::std::option::Option<
12602 unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
12603>;
12604pub type shutdown_func_t =
12605 ::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
12606pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
12607pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
12608pub type message_handler_func_t = ::std::option::Option<
12609 unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
12610>;
12611pub type op_array_handler_func_t =
12612 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
12613pub type statement_handler_func_t =
12614 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
12615pub type fcall_begin_handler_func_t =
12616 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
12617pub type fcall_end_handler_func_t =
12618 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
12619pub type op_array_ctor_func_t =
12620 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
12621pub type op_array_dtor_func_t =
12622 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
12623pub type op_array_persist_calc_func_t =
12624 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array) -> usize>;
12625pub type op_array_persist_func_t = ::std::option::Option<
12626 unsafe extern "C" fn(op_array: *mut zend_op_array, mem: *mut ::std::os::raw::c_void) -> usize,
12627>;
12628#[repr(C)]
12629#[derive(Debug, Copy, Clone)]
12630pub struct _zend_extension {
12631 pub name: *const ::std::os::raw::c_char,
12632 pub version: *const ::std::os::raw::c_char,
12633 pub author: *const ::std::os::raw::c_char,
12634 pub URL: *const ::std::os::raw::c_char,
12635 pub copyright: *const ::std::os::raw::c_char,
12636 pub startup: startup_func_t,
12637 pub shutdown: shutdown_func_t,
12638 pub activate: activate_func_t,
12639 pub deactivate: deactivate_func_t,
12640 pub message_handler: message_handler_func_t,
12641 pub op_array_handler: op_array_handler_func_t,
12642 pub statement_handler: statement_handler_func_t,
12643 pub fcall_begin_handler: fcall_begin_handler_func_t,
12644 pub fcall_end_handler: fcall_end_handler_func_t,
12645 pub op_array_ctor: op_array_ctor_func_t,
12646 pub op_array_dtor: op_array_dtor_func_t,
12647 pub api_no_check: ::std::option::Option<
12648 unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
12649 >,
12650 pub build_id_check: ::std::option::Option<
12651 unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
12652 >,
12653 pub op_array_persist_calc: op_array_persist_calc_func_t,
12654 pub op_array_persist: op_array_persist_func_t,
12655 pub reserved5: *mut ::std::os::raw::c_void,
12656 pub reserved6: *mut ::std::os::raw::c_void,
12657 pub reserved7: *mut ::std::os::raw::c_void,
12658 pub reserved8: *mut ::std::os::raw::c_void,
12659 pub handle: *mut ::std::os::raw::c_void,
12660 pub resource_number: ::std::os::raw::c_int,
12661}
12662#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12663const _: () = {
12664 ["Size of _zend_extension"][::std::mem::size_of::<_zend_extension>() - 208usize];
12665 ["Alignment of _zend_extension"][::std::mem::align_of::<_zend_extension>() - 8usize];
12666 ["Offset of field: _zend_extension::name"]
12667 [::std::mem::offset_of!(_zend_extension, name) - 0usize];
12668 ["Offset of field: _zend_extension::version"]
12669 [::std::mem::offset_of!(_zend_extension, version) - 8usize];
12670 ["Offset of field: _zend_extension::author"]
12671 [::std::mem::offset_of!(_zend_extension, author) - 16usize];
12672 ["Offset of field: _zend_extension::URL"]
12673 [::std::mem::offset_of!(_zend_extension, URL) - 24usize];
12674 ["Offset of field: _zend_extension::copyright"]
12675 [::std::mem::offset_of!(_zend_extension, copyright) - 32usize];
12676 ["Offset of field: _zend_extension::startup"]
12677 [::std::mem::offset_of!(_zend_extension, startup) - 40usize];
12678 ["Offset of field: _zend_extension::shutdown"]
12679 [::std::mem::offset_of!(_zend_extension, shutdown) - 48usize];
12680 ["Offset of field: _zend_extension::activate"]
12681 [::std::mem::offset_of!(_zend_extension, activate) - 56usize];
12682 ["Offset of field: _zend_extension::deactivate"]
12683 [::std::mem::offset_of!(_zend_extension, deactivate) - 64usize];
12684 ["Offset of field: _zend_extension::message_handler"]
12685 [::std::mem::offset_of!(_zend_extension, message_handler) - 72usize];
12686 ["Offset of field: _zend_extension::op_array_handler"]
12687 [::std::mem::offset_of!(_zend_extension, op_array_handler) - 80usize];
12688 ["Offset of field: _zend_extension::statement_handler"]
12689 [::std::mem::offset_of!(_zend_extension, statement_handler) - 88usize];
12690 ["Offset of field: _zend_extension::fcall_begin_handler"]
12691 [::std::mem::offset_of!(_zend_extension, fcall_begin_handler) - 96usize];
12692 ["Offset of field: _zend_extension::fcall_end_handler"]
12693 [::std::mem::offset_of!(_zend_extension, fcall_end_handler) - 104usize];
12694 ["Offset of field: _zend_extension::op_array_ctor"]
12695 [::std::mem::offset_of!(_zend_extension, op_array_ctor) - 112usize];
12696 ["Offset of field: _zend_extension::op_array_dtor"]
12697 [::std::mem::offset_of!(_zend_extension, op_array_dtor) - 120usize];
12698 ["Offset of field: _zend_extension::api_no_check"]
12699 [::std::mem::offset_of!(_zend_extension, api_no_check) - 128usize];
12700 ["Offset of field: _zend_extension::build_id_check"]
12701 [::std::mem::offset_of!(_zend_extension, build_id_check) - 136usize];
12702 ["Offset of field: _zend_extension::op_array_persist_calc"]
12703 [::std::mem::offset_of!(_zend_extension, op_array_persist_calc) - 144usize];
12704 ["Offset of field: _zend_extension::op_array_persist"]
12705 [::std::mem::offset_of!(_zend_extension, op_array_persist) - 152usize];
12706 ["Offset of field: _zend_extension::reserved5"]
12707 [::std::mem::offset_of!(_zend_extension, reserved5) - 160usize];
12708 ["Offset of field: _zend_extension::reserved6"]
12709 [::std::mem::offset_of!(_zend_extension, reserved6) - 168usize];
12710 ["Offset of field: _zend_extension::reserved7"]
12711 [::std::mem::offset_of!(_zend_extension, reserved7) - 176usize];
12712 ["Offset of field: _zend_extension::reserved8"]
12713 [::std::mem::offset_of!(_zend_extension, reserved8) - 184usize];
12714 ["Offset of field: _zend_extension::handle"]
12715 [::std::mem::offset_of!(_zend_extension, handle) - 192usize];
12716 ["Offset of field: _zend_extension::resource_number"]
12717 [::std::mem::offset_of!(_zend_extension, resource_number) - 200usize];
12718};
12719extern "C" {
12720 pub static mut zend_op_array_extension_handles: ::std::os::raw::c_int;
12721}
12722extern "C" {
12723 pub fn zend_get_resource_handle(
12724 module_name: *const ::std::os::raw::c_char,
12725 ) -> ::std::os::raw::c_int;
12726}
12727extern "C" {
12728 pub fn zend_get_op_array_extension_handle(
12729 module_name: *const ::std::os::raw::c_char,
12730 ) -> ::std::os::raw::c_int;
12731}
12732extern "C" {
12733 pub fn zend_get_op_array_extension_handles(
12734 module_name: *const ::std::os::raw::c_char,
12735 handles: ::std::os::raw::c_int,
12736 ) -> ::std::os::raw::c_int;
12737}
12738extern "C" {
12739 pub fn zend_get_internal_function_extension_handle(
12740 module_name: *const ::std::os::raw::c_char,
12741 ) -> ::std::os::raw::c_int;
12742}
12743extern "C" {
12744 pub fn zend_get_internal_function_extension_handles(
12745 module_name: *const ::std::os::raw::c_char,
12746 handles: ::std::os::raw::c_int,
12747 ) -> ::std::os::raw::c_int;
12748}
12749extern "C" {
12750 pub fn zend_extension_dispatch_message(
12751 message: ::std::os::raw::c_int,
12752 arg: *mut ::std::os::raw::c_void,
12753 );
12754}
12755extern "C" {
12756 pub static mut zend_extensions: zend_llist;
12757}
12758extern "C" {
12759 pub static mut zend_extension_flags: u32;
12760}
12761extern "C" {
12762 pub fn zend_extension_dtor(extension: *mut zend_extension);
12763}
12764extern "C" {
12765 pub fn zend_append_version_info(extension: *const zend_extension);
12766}
12767extern "C" {
12768 pub fn zend_startup_extensions_mechanism();
12769}
12770extern "C" {
12771 pub fn zend_startup_extensions();
12772}
12773extern "C" {
12774 pub fn zend_shutdown_extensions();
12775}
12776extern "C" {
12777 pub fn zend_internal_run_time_cache_reserved_size() -> usize;
12778}
12779extern "C" {
12780 pub fn zend_init_internal_run_time_cache();
12781}
12782extern "C" {
12783 pub fn zend_reset_internal_run_time_cache();
12784}
12785extern "C" {
12786 pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> zend_result;
12787}
12788extern "C" {
12789 pub fn zend_load_extension_handle(
12790 handle: *mut ::std::os::raw::c_void,
12791 path: *const ::std::os::raw::c_char,
12792 ) -> zend_result;
12793}
12794extern "C" {
12795 pub fn zend_register_extension(
12796 new_extension: *mut zend_extension,
12797 handle: *mut ::std::os::raw::c_void,
12798 );
12799}
12800extern "C" {
12801 pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
12802 -> *mut zend_extension;
12803}
12804extern "C" {
12805 pub fn zend_extensions_op_array_persist_calc(op_array: *mut zend_op_array) -> usize;
12806}
12807extern "C" {
12808 pub fn zend_extensions_op_array_persist(
12809 op_array: *mut zend_op_array,
12810 mem: *mut ::std::os::raw::c_void,
12811 ) -> usize;
12812}
12813pub const ZEND_MODULE_BUILD_ID_: &[u8; 16] = b"API20250925,NTS\0";
12814pub type __builtin_va_list = [__va_list_tag; 1usize];
12815#[repr(C)]
12816#[derive(Debug, Copy, Clone)]
12817pub struct __va_list_tag {
12818 pub gp_offset: ::std::os::raw::c_uint,
12819 pub fp_offset: ::std::os::raw::c_uint,
12820 pub overflow_arg_area: *mut ::std::os::raw::c_void,
12821 pub reg_save_area: *mut ::std::os::raw::c_void,
12822}
12823#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12824const _: () = {
12825 ["Size of __va_list_tag"][::std::mem::size_of::<__va_list_tag>() - 24usize];
12826 ["Alignment of __va_list_tag"][::std::mem::align_of::<__va_list_tag>() - 8usize];
12827 ["Offset of field: __va_list_tag::gp_offset"]
12828 [::std::mem::offset_of!(__va_list_tag, gp_offset) - 0usize];
12829 ["Offset of field: __va_list_tag::fp_offset"]
12830 [::std::mem::offset_of!(__va_list_tag, fp_offset) - 4usize];
12831 ["Offset of field: __va_list_tag::overflow_arg_area"]
12832 [::std::mem::offset_of!(__va_list_tag, overflow_arg_area) - 8usize];
12833 ["Offset of field: __va_list_tag::reg_save_area"]
12834 [::std::mem::offset_of!(__va_list_tag, reg_save_area) - 16usize];
12835};