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 = 20210902;
92pub const PHP_DEFAULT_CHARSET: &[u8; 6] = b"UTF-8\0";
93pub const PHP_BUILD_PROVIDER: &[u8; 7] = b"Debian\0";
94pub const PHP_BUILD_SYSTEM: &[u8; 6] = b"Linux\0";
95pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
96pub const PHP_HAVE_BUILTIN_CLZ: u32 = 1;
97pub const PHP_HAVE_BUILTIN_CLZL: u32 = 1;
98pub const PHP_HAVE_BUILTIN_CLZLL: u32 = 1;
99pub const PHP_HAVE_BUILTIN_CPU_INIT: u32 = 1;
100pub const PHP_HAVE_BUILTIN_CPU_SUPPORTS: u32 = 1;
101pub const PHP_HAVE_BUILTIN_CTZL: u32 = 1;
102pub const PHP_HAVE_BUILTIN_CTZLL: u32 = 1;
103pub const PHP_HAVE_BUILTIN_EXPECT: u32 = 1;
104pub const PHP_HAVE_BUILTIN_SADDLL_OVERFLOW: u32 = 1;
105pub const PHP_HAVE_BUILTIN_SADDL_OVERFLOW: u32 = 1;
106pub const PHP_HAVE_BUILTIN_SMULLL_OVERFLOW: u32 = 1;
107pub const PHP_HAVE_BUILTIN_SMULL_OVERFLOW: u32 = 1;
108pub const PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW: u32 = 1;
109pub const PHP_HAVE_BUILTIN_SSUBL_OVERFLOW: u32 = 1;
110pub const PHP_MHASH_BC: u32 = 1;
111pub const PHP_OS: &[u8; 6] = b"Linux\0";
112pub const PHP_SIGCHILD: u32 = 0;
113pub const PHP_UNAME: &[u8; 6] = b"Linux\0";
114pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
115pub const PHP_WRITE_STDOUT: u32 = 1;
116pub const ZEND_DEBUG: u32 = 0;
117pub const ZEND_FIBER_ASM: u32 = 1;
118pub const ZEND_MM_ALIGNMENT: u32 = 8;
119pub const ZEND_MM_ALIGNMENT_LOG2: u32 = 3;
120pub const ZEND_SIGNALS: u32 = 1;
121pub const PHP_MAJOR_VERSION: u32 = 8;
122pub const PHP_MINOR_VERSION: u32 = 1;
123pub const PHP_RELEASE_VERSION: u32 = 34;
124pub const PHP_EXTRA_VERSION: &[u8; 1] = b"\0";
125pub const PHP_VERSION: &[u8; 7] = b"8.1.34\0";
126pub const PHP_VERSION_ID: u32 = 80134;
127pub const ZEND_VERSION: &[u8; 7] = b"4.1.34\0";
128pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
129pub const ZEND_ENABLE_ZVAL_LONG64: u32 = 1;
130pub const ZEND_LTOA_BUF_LEN: u32 = 65;
131pub const ZEND_LONG_FMT: &[u8; 4] = b"%ld\0";
132pub const ZEND_ULONG_FMT: &[u8; 4] = b"%lu\0";
133pub const ZEND_XLONG_FMT: &[u8; 4] = b"%lx\0";
134pub const ZEND_LONG_FMT_SPEC: &[u8; 3] = b"ld\0";
135pub const ZEND_ULONG_FMT_SPEC: &[u8; 3] = b"lu\0";
136pub const ZEND_ADDR_FMT: &[u8; 9] = b"0x%016zx\0";
137pub const ZEND_LONG_CAN_OVFL_INT: u32 = 1;
138pub const ZEND_LONG_CAN_OVFL_UINT: u32 = 1;
139pub const ZEND_SIZE_T_CAN_OVFL_UINT: u32 = 1;
140pub const PHP_RTLD_MODE: u32 = 1;
141pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
142pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
143pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 6;
144pub const ZEND_INTRIN_HAVE_IFUNC_TARGET: u32 = 1;
145pub const ZEND_INTRIN_SSSE3_RESOLVER: u32 = 1;
146pub const ZEND_INTRIN_SSSE3_FUNC_PROTO: u32 = 1;
147pub const ZEND_INTRIN_SSE4_2_RESOLVER: u32 = 1;
148pub const ZEND_INTRIN_SSE4_2_FUNC_PROTO: u32 = 1;
149pub const ZEND_INTRIN_PCLMUL_RESOLVER: u32 = 1;
150pub const ZEND_INTRIN_PCLMUL_FUNC_PTR: u32 = 1;
151pub const ZEND_INTRIN_SSE4_2_PCLMUL_RESOLVER: u32 = 1;
152pub const ZEND_INTRIN_SSE4_2_PCLMUL_FUNC_PTR: u32 = 1;
153pub const ZEND_INTRIN_AVX2_RESOLVER: u32 = 1;
154pub const ZEND_INTRIN_AVX2_FUNC_PROTO: u32 = 1;
155pub const ZEND_SIZE_MAX: i32 = -1;
156pub const _ZEND_TYPE_EXTRA_FLAGS_SHIFT: u32 = 25;
157pub const _ZEND_TYPE_MASK: u32 = 33554431;
158pub const _ZEND_TYPE_NAME_BIT: u32 = 16777216;
159pub const _ZEND_TYPE_LIST_BIT: u32 = 4194304;
160pub const _ZEND_TYPE_KIND_MASK: u32 = 20971520;
161pub const _ZEND_TYPE_ARENA_BIT: u32 = 1048576;
162pub const _ZEND_TYPE_INTERSECTION_BIT: u32 = 524288;
163pub const _ZEND_TYPE_UNION_BIT: u32 = 262144;
164pub const _ZEND_TYPE_MAY_BE_MASK: u32 = 262143;
165pub const _ZEND_TYPE_NULLABLE_BIT: u32 = 2;
166pub const IS_UNDEF: u32 = 0;
167pub const IS_NULL: u32 = 1;
168pub const IS_FALSE: u32 = 2;
169pub const IS_TRUE: u32 = 3;
170pub const IS_LONG: u32 = 4;
171pub const IS_DOUBLE: u32 = 5;
172pub const IS_STRING: u32 = 6;
173pub const IS_ARRAY: u32 = 7;
174pub const IS_OBJECT: u32 = 8;
175pub const IS_RESOURCE: u32 = 9;
176pub const IS_REFERENCE: u32 = 10;
177pub const IS_CONSTANT_AST: u32 = 11;
178pub const IS_CALLABLE: u32 = 12;
179pub const IS_ITERABLE: u32 = 13;
180pub const IS_VOID: u32 = 14;
181pub const IS_STATIC: u32 = 15;
182pub const IS_MIXED: u32 = 16;
183pub const IS_NEVER: u32 = 17;
184pub const IS_INDIRECT: u32 = 12;
185pub const IS_PTR: u32 = 13;
186pub const IS_ALIAS_PTR: u32 = 14;
187pub const _IS_ERROR: u32 = 15;
188pub const _IS_BOOL: u32 = 18;
189pub const _IS_NUMBER: u32 = 19;
190pub const Z_TYPE_MASK: u32 = 255;
191pub const Z_TYPE_FLAGS_MASK: u32 = 65280;
192pub const Z_TYPE_FLAGS_SHIFT: u32 = 8;
193pub const GC_TYPE_MASK: u32 = 15;
194pub const GC_FLAGS_MASK: u32 = 1008;
195pub const GC_INFO_MASK: u32 = 4294966272;
196pub const GC_FLAGS_SHIFT: u32 = 0;
197pub const GC_INFO_SHIFT: u32 = 10;
198pub const GC_NOT_COLLECTABLE: u32 = 16;
199pub const GC_PROTECTED: u32 = 32;
200pub const GC_IMMUTABLE: u32 = 64;
201pub const GC_PERSISTENT: u32 = 128;
202pub const GC_PERSISTENT_LOCAL: u32 = 256;
203pub const GC_NULL: u32 = 17;
204pub const GC_STRING: u32 = 22;
205pub const GC_ARRAY: u32 = 7;
206pub const GC_OBJECT: u32 = 8;
207pub const GC_RESOURCE: u32 = 25;
208pub const GC_REFERENCE: u32 = 26;
209pub const GC_CONSTANT_AST: u32 = 27;
210pub const IS_TYPE_REFCOUNTED: u32 = 1;
211pub const IS_TYPE_COLLECTABLE: u32 = 2;
212pub const IS_INTERNED_STRING_EX: u32 = 6;
213pub const IS_STRING_EX: u32 = 262;
214pub const IS_ARRAY_EX: u32 = 775;
215pub const IS_OBJECT_EX: u32 = 776;
216pub const IS_RESOURCE_EX: u32 = 265;
217pub const IS_REFERENCE_EX: u32 = 266;
218pub const IS_CONSTANT_AST_EX: u32 = 267;
219pub const IS_STR_CLASS_NAME_MAP_PTR: u32 = 32;
220pub const IS_STR_INTERNED: u32 = 64;
221pub const IS_STR_PERSISTENT: u32 = 128;
222pub const IS_STR_PERMANENT: u32 = 256;
223pub const IS_STR_VALID_UTF8: u32 = 512;
224pub const IS_ARRAY_IMMUTABLE: u32 = 64;
225pub const IS_ARRAY_PERSISTENT: u32 = 128;
226pub const IS_OBJ_WEAKLY_REFERENCED: u32 = 128;
227pub const IS_OBJ_DESTRUCTOR_CALLED: u32 = 256;
228pub const IS_OBJ_FREE_CALLED: u32 = 512;
229pub const ZEND_RC_DEBUG: u32 = 0;
230pub const IS_PROP_UNINIT: u32 = 1;
231pub const ZEND_MAP_PTR_KIND_PTR: u32 = 0;
232pub const ZEND_MAP_PTR_KIND_PTR_OR_OFFSET: u32 = 1;
233pub const ZEND_MAP_PTR_KIND: u32 = 1;
234pub const ZEND_MM_ALIGNMENT_MASK: i32 = -8;
235pub const ZEND_MM_OVERHEAD: u32 = 0;
236pub const ZEND_MM_PAGE_SIZE: u32 = 4096;
237pub const ZEND_MM_FIRST_PAGE: u32 = 1;
238pub const ZEND_MM_MIN_SMALL_SIZE: u32 = 8;
239pub const ZEND_MM_MAX_SMALL_SIZE: u32 = 3072;
240pub const ZEND_MM_CUSTOM_HEAP_NONE: u32 = 0;
241pub const ZEND_MM_CUSTOM_HEAP_STD: u32 = 1;
242pub const ZEND_MM_CUSTOM_HEAP_DEBUG: u32 = 2;
243pub const HASH_KEY_IS_STRING: u32 = 1;
244pub const HASH_KEY_IS_LONG: u32 = 2;
245pub const HASH_KEY_NON_EXISTENT: u32 = 3;
246pub const HASH_UPDATE: u32 = 1;
247pub const HASH_ADD: u32 = 2;
248pub const HASH_UPDATE_INDIRECT: u32 = 4;
249pub const HASH_ADD_NEW: u32 = 8;
250pub const HASH_ADD_NEXT: u32 = 16;
251pub const HASH_LOOKUP: u32 = 32;
252pub const HASH_FLAG_CONSISTENCY: u32 = 3;
253pub const HASH_FLAG_PACKED: u32 = 4;
254pub const HASH_FLAG_UNINITIALIZED: u32 = 8;
255pub const HASH_FLAG_STATIC_KEYS: u32 = 16;
256pub const HASH_FLAG_HAS_EMPTY_IND: u32 = 32;
257pub const HASH_FLAG_ALLOW_COW_VIOLATION: u32 = 64;
258pub const HASH_FLAG_MASK: u32 = 255;
259pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
260pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
261pub const ZEND_HASH_APPLY_STOP: u32 = 2;
262pub const ZEND_AST_SPEC: u32 = 1;
263pub const ZEND_AST_SPECIAL_SHIFT: u32 = 6;
264pub const ZEND_AST_IS_LIST_SHIFT: u32 = 7;
265pub const ZEND_AST_NUM_CHILDREN_SHIFT: u32 = 8;
266pub const ZEND_MMAP_AHEAD: u32 = 32;
267pub const ZEND_SIGNAL_QUEUE_SIZE: u32 = 64;
268pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
269pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
270pub const ZEND_PROPERTY_ISSET: u32 = 0;
271pub const ZEND_PROPERTY_EXISTS: u32 = 2;
272pub const ZEND_UNCOMPARABLE: u32 = 1;
273pub const ZEND_USE_ASM_ARITHMETIC: u32 = 1;
274pub const ZEND_USE_ABS_JMP_ADDR: u32 = 0;
275pub const ZEND_USE_ABS_CONST_ADDR: u32 = 0;
276pub const ZEND_LIVE_TMPVAR: u32 = 0;
277pub const ZEND_LIVE_LOOP: u32 = 1;
278pub const ZEND_LIVE_SILENCE: u32 = 2;
279pub const ZEND_LIVE_ROPE: u32 = 3;
280pub const ZEND_LIVE_NEW: u32 = 4;
281pub const ZEND_LIVE_MASK: u32 = 7;
282pub const ZEND_ACC_PUBLIC: u32 = 1;
283pub const ZEND_ACC_PROTECTED: u32 = 2;
284pub const ZEND_ACC_PRIVATE: u32 = 4;
285pub const ZEND_ACC_CHANGED: u32 = 8;
286pub const ZEND_ACC_STATIC: u32 = 16;
287pub const ZEND_ACC_PROMOTED: u32 = 32;
288pub const ZEND_ACC_FINAL: u32 = 32;
289pub const ZEND_ACC_ABSTRACT: u32 = 64;
290pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 64;
291pub const ZEND_ACC_READONLY: u32 = 128;
292pub const ZEND_ACC_IMMUTABLE: u32 = 128;
293pub const ZEND_ACC_HAS_TYPE_HINTS: u32 = 256;
294pub const ZEND_ACC_TOP_LEVEL: u32 = 512;
295pub const ZEND_ACC_PRELOADED: u32 = 1024;
296pub const ZEND_CLASS_CONST_IS_CASE: u32 = 64;
297pub const ZEND_ACC_INTERFACE: u32 = 1;
298pub const ZEND_ACC_TRAIT: u32 = 2;
299pub const ZEND_ACC_ANON_CLASS: u32 = 4;
300pub const ZEND_ACC_ENUM: u32 = 268435456;
301pub const ZEND_ACC_LINKED: u32 = 8;
302pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
303pub const ZEND_ACC_USE_GUARDS: u32 = 2048;
304pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 4096;
305pub const ZEND_ACC_NO_DYNAMIC_PROPERTIES: u32 = 8192;
306pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 16384;
307pub const ZEND_ACC_REUSE_GET_ITERATOR: u32 = 65536;
308pub const ZEND_ACC_RESOLVED_PARENT: u32 = 131072;
309pub const ZEND_ACC_RESOLVED_INTERFACES: u32 = 262144;
310pub const ZEND_ACC_UNRESOLVED_VARIANCE: u32 = 524288;
311pub const ZEND_ACC_NEARLY_LINKED: u32 = 1048576;
312pub const ZEND_ACC_CACHED: u32 = 4194304;
313pub const ZEND_ACC_CACHEABLE: u32 = 8388608;
314pub const ZEND_ACC_HAS_AST_CONSTANTS: u32 = 16777216;
315pub const ZEND_ACC_HAS_AST_PROPERTIES: u32 = 33554432;
316pub const ZEND_ACC_HAS_AST_STATICS: u32 = 67108864;
317pub const ZEND_ACC_FILE_CACHED: u32 = 134217728;
318pub const ZEND_ACC_NOT_SERIALIZABLE: u32 = 536870912;
319pub const ZEND_ACC_DEPRECATED: u32 = 2048;
320pub const ZEND_ACC_RETURN_REFERENCE: u32 = 4096;
321pub const ZEND_ACC_HAS_RETURN_TYPE: u32 = 8192;
322pub const ZEND_ACC_VARIADIC: u32 = 16384;
323pub const ZEND_ACC_HAS_FINALLY_BLOCK: u32 = 32768;
324pub const ZEND_ACC_EARLY_BINDING: u32 = 65536;
325pub const ZEND_ACC_USES_THIS: u32 = 131072;
326pub const ZEND_ACC_CALL_VIA_TRAMPOLINE: u32 = 262144;
327pub const ZEND_ACC_NEVER_CACHE: u32 = 524288;
328pub const ZEND_ACC_TRAIT_CLONE: u32 = 1048576;
329pub const ZEND_ACC_CTOR: u32 = 2097152;
330pub const ZEND_ACC_CLOSURE: u32 = 4194304;
331pub const ZEND_ACC_FAKE_CLOSURE: u32 = 8388608;
332pub const ZEND_ACC_GENERATOR: u32 = 16777216;
333pub const ZEND_ACC_DONE_PASS_TWO: u32 = 33554432;
334pub const ZEND_ACC_ARENA_ALLOCATED: u32 = 33554432;
335pub const ZEND_ACC_HEAP_RT_CACHE: u32 = 67108864;
336pub const ZEND_ACC_USER_ARG_INFO: u32 = 67108864;
337pub const ZEND_ACC_STRICT_TYPES: u32 = 2147483648;
338pub const ZEND_ACC_PPP_MASK: u32 = 7;
339pub const ZEND_ACC_CALL_VIA_HANDLER: u32 = 262144;
340pub const ZEND_SHORT_CIRCUITING_CHAIN_EXPR: u32 = 0;
341pub const ZEND_SHORT_CIRCUITING_CHAIN_ISSET: u32 = 1;
342pub const ZEND_SHORT_CIRCUITING_CHAIN_EMPTY: u32 = 2;
343pub const ZEND_RETURN_VALUE: u32 = 0;
344pub const ZEND_RETURN_REFERENCE: u32 = 1;
345pub const ZEND_CALL_HAS_THIS: u32 = 776;
346pub const ZEND_CALL_FUNCTION: u32 = 0;
347pub const ZEND_CALL_CODE: u32 = 65536;
348pub const ZEND_CALL_NESTED: u32 = 0;
349pub const ZEND_CALL_TOP: u32 = 131072;
350pub const ZEND_CALL_ALLOCATED: u32 = 262144;
351pub const ZEND_CALL_FREE_EXTRA_ARGS: u32 = 524288;
352pub const ZEND_CALL_HAS_SYMBOL_TABLE: u32 = 1048576;
353pub const ZEND_CALL_RELEASE_THIS: u32 = 2097152;
354pub const ZEND_CALL_CLOSURE: u32 = 4194304;
355pub const ZEND_CALL_FAKE_CLOSURE: u32 = 8388608;
356pub const ZEND_CALL_GENERATOR: u32 = 16777216;
357pub const ZEND_CALL_DYNAMIC: u32 = 33554432;
358pub const ZEND_CALL_MAY_HAVE_UNDEF: u32 = 67108864;
359pub const ZEND_CALL_HAS_EXTRA_NAMED_PARAMS: u32 = 134217728;
360pub const ZEND_CALL_OBSERVED: u32 = 268435456;
361pub const ZEND_CALL_JIT_RESERVED: u32 = 536870912;
362pub const ZEND_CALL_SEND_ARG_BY_REF: u32 = 2147483648;
363pub const ZEND_CALL_NESTED_FUNCTION: u32 = 0;
364pub const ZEND_CALL_NESTED_CODE: u32 = 65536;
365pub const ZEND_CALL_TOP_FUNCTION: u32 = 131072;
366pub const ZEND_CALL_TOP_CODE: u32 = 196608;
367pub const IS_UNUSED: u32 = 0;
368pub const IS_CONST: u32 = 1;
369pub const IS_TMP_VAR: u32 = 2;
370pub const IS_VAR: u32 = 4;
371pub const IS_CV: u32 = 8;
372pub const IS_SMART_BRANCH_JMPZ: u32 = 16;
373pub const IS_SMART_BRANCH_JMPNZ: u32 = 32;
374pub const ZEND_EXTRA_VALUE: u32 = 1;
375pub const ZEND_STACK_APPLY_TOPDOWN: u32 = 1;
376pub const ZEND_STACK_APPLY_BOTTOMUP: u32 = 2;
377pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
378pub const ZEND_VM_SPEC: u32 = 1;
379pub const ZEND_VM_LINES: u32 = 0;
380pub const ZEND_VM_KIND_CALL: u32 = 1;
381pub const ZEND_VM_KIND_SWITCH: u32 = 2;
382pub const ZEND_VM_KIND_GOTO: u32 = 3;
383pub const ZEND_VM_KIND_HYBRID: u32 = 4;
384pub const ZEND_VM_KIND: u32 = 4;
385pub const ZEND_VM_HYBRID_JIT_RED_ZONE_SIZE: u32 = 16;
386pub const ZEND_VM_OP_SPEC: u32 = 1;
387pub const ZEND_VM_OP_CONST: u32 = 2;
388pub const ZEND_VM_OP_TMPVAR: u32 = 4;
389pub const ZEND_VM_OP_TMPVARCV: u32 = 8;
390pub const ZEND_VM_OP_MASK: u32 = 240;
391pub const ZEND_VM_OP_NUM: u32 = 16;
392pub const ZEND_VM_OP_JMP_ADDR: u32 = 32;
393pub const ZEND_VM_OP_TRY_CATCH: u32 = 48;
394pub const ZEND_VM_OP_THIS: u32 = 80;
395pub const ZEND_VM_OP_NEXT: u32 = 96;
396pub const ZEND_VM_OP_CLASS_FETCH: u32 = 112;
397pub const ZEND_VM_OP_CONSTRUCTOR: u32 = 128;
398pub const ZEND_VM_OP_CONST_FETCH: u32 = 144;
399pub const ZEND_VM_OP_CACHE_SLOT: u32 = 160;
400pub const ZEND_VM_EXT_VAR_FETCH: u32 = 65536;
401pub const ZEND_VM_EXT_ISSET: u32 = 131072;
402pub const ZEND_VM_EXT_CACHE_SLOT: u32 = 262144;
403pub const ZEND_VM_EXT_ARRAY_INIT: u32 = 524288;
404pub const ZEND_VM_EXT_REF: u32 = 1048576;
405pub const ZEND_VM_EXT_FETCH_REF: u32 = 2097152;
406pub const ZEND_VM_EXT_DIM_WRITE: u32 = 4194304;
407pub const ZEND_VM_EXT_MASK: u32 = 251658240;
408pub const ZEND_VM_EXT_NUM: u32 = 16777216;
409pub const ZEND_VM_EXT_LAST_CATCH: u32 = 33554432;
410pub const ZEND_VM_EXT_JMP_ADDR: u32 = 50331648;
411pub const ZEND_VM_EXT_OP: u32 = 67108864;
412pub const ZEND_VM_EXT_TYPE: u32 = 117440512;
413pub const ZEND_VM_EXT_EVAL: u32 = 134217728;
414pub const ZEND_VM_EXT_TYPE_MASK: u32 = 150994944;
415pub const ZEND_VM_EXT_SRC: u32 = 184549376;
416pub const ZEND_VM_NO_CONST_CONST: u32 = 1073741824;
417pub const ZEND_VM_COMMUTATIVE: u32 = 2147483648;
418pub const ZEND_NOP: u32 = 0;
419pub const ZEND_ADD: u32 = 1;
420pub const ZEND_SUB: u32 = 2;
421pub const ZEND_MUL: u32 = 3;
422pub const ZEND_DIV: u32 = 4;
423pub const ZEND_MOD: u32 = 5;
424pub const ZEND_SL: u32 = 6;
425pub const ZEND_SR: u32 = 7;
426pub const ZEND_CONCAT: u32 = 8;
427pub const ZEND_BW_OR: u32 = 9;
428pub const ZEND_BW_AND: u32 = 10;
429pub const ZEND_BW_XOR: u32 = 11;
430pub const ZEND_POW: u32 = 12;
431pub const ZEND_BW_NOT: u32 = 13;
432pub const ZEND_BOOL_NOT: u32 = 14;
433pub const ZEND_BOOL_XOR: u32 = 15;
434pub const ZEND_IS_IDENTICAL: u32 = 16;
435pub const ZEND_IS_NOT_IDENTICAL: u32 = 17;
436pub const ZEND_IS_EQUAL: u32 = 18;
437pub const ZEND_IS_NOT_EQUAL: u32 = 19;
438pub const ZEND_IS_SMALLER: u32 = 20;
439pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 21;
440pub const ZEND_ASSIGN: u32 = 22;
441pub const ZEND_ASSIGN_DIM: u32 = 23;
442pub const ZEND_ASSIGN_OBJ: u32 = 24;
443pub const ZEND_ASSIGN_STATIC_PROP: u32 = 25;
444pub const ZEND_ASSIGN_OP: u32 = 26;
445pub const ZEND_ASSIGN_DIM_OP: u32 = 27;
446pub const ZEND_ASSIGN_OBJ_OP: u32 = 28;
447pub const ZEND_ASSIGN_STATIC_PROP_OP: u32 = 29;
448pub const ZEND_ASSIGN_REF: u32 = 30;
449pub const ZEND_QM_ASSIGN: u32 = 31;
450pub const ZEND_ASSIGN_OBJ_REF: u32 = 32;
451pub const ZEND_ASSIGN_STATIC_PROP_REF: u32 = 33;
452pub const ZEND_PRE_INC: u32 = 34;
453pub const ZEND_PRE_DEC: u32 = 35;
454pub const ZEND_POST_INC: u32 = 36;
455pub const ZEND_POST_DEC: u32 = 37;
456pub const ZEND_PRE_INC_STATIC_PROP: u32 = 38;
457pub const ZEND_PRE_DEC_STATIC_PROP: u32 = 39;
458pub const ZEND_POST_INC_STATIC_PROP: u32 = 40;
459pub const ZEND_POST_DEC_STATIC_PROP: u32 = 41;
460pub const ZEND_JMP: u32 = 42;
461pub const ZEND_JMPZ: u32 = 43;
462pub const ZEND_JMPNZ: u32 = 44;
463pub const ZEND_JMPZNZ: u32 = 45;
464pub const ZEND_JMPZ_EX: u32 = 46;
465pub const ZEND_JMPNZ_EX: u32 = 47;
466pub const ZEND_CASE: u32 = 48;
467pub const ZEND_CHECK_VAR: u32 = 49;
468pub const ZEND_SEND_VAR_NO_REF_EX: u32 = 50;
469pub const ZEND_CAST: u32 = 51;
470pub const ZEND_BOOL: u32 = 52;
471pub const ZEND_FAST_CONCAT: u32 = 53;
472pub const ZEND_ROPE_INIT: u32 = 54;
473pub const ZEND_ROPE_ADD: u32 = 55;
474pub const ZEND_ROPE_END: u32 = 56;
475pub const ZEND_BEGIN_SILENCE: u32 = 57;
476pub const ZEND_END_SILENCE: u32 = 58;
477pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
478pub const ZEND_DO_FCALL: u32 = 60;
479pub const ZEND_INIT_FCALL: u32 = 61;
480pub const ZEND_RETURN: u32 = 62;
481pub const ZEND_RECV: u32 = 63;
482pub const ZEND_RECV_INIT: u32 = 64;
483pub const ZEND_SEND_VAL: u32 = 65;
484pub const ZEND_SEND_VAR_EX: u32 = 66;
485pub const ZEND_SEND_REF: u32 = 67;
486pub const ZEND_NEW: u32 = 68;
487pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
488pub const ZEND_FREE: u32 = 70;
489pub const ZEND_INIT_ARRAY: u32 = 71;
490pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
491pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
492pub const ZEND_UNSET_VAR: u32 = 74;
493pub const ZEND_UNSET_DIM: u32 = 75;
494pub const ZEND_UNSET_OBJ: u32 = 76;
495pub const ZEND_FE_RESET_R: u32 = 77;
496pub const ZEND_FE_FETCH_R: u32 = 78;
497pub const ZEND_EXIT: u32 = 79;
498pub const ZEND_FETCH_R: u32 = 80;
499pub const ZEND_FETCH_DIM_R: u32 = 81;
500pub const ZEND_FETCH_OBJ_R: u32 = 82;
501pub const ZEND_FETCH_W: u32 = 83;
502pub const ZEND_FETCH_DIM_W: u32 = 84;
503pub const ZEND_FETCH_OBJ_W: u32 = 85;
504pub const ZEND_FETCH_RW: u32 = 86;
505pub const ZEND_FETCH_DIM_RW: u32 = 87;
506pub const ZEND_FETCH_OBJ_RW: u32 = 88;
507pub const ZEND_FETCH_IS: u32 = 89;
508pub const ZEND_FETCH_DIM_IS: u32 = 90;
509pub const ZEND_FETCH_OBJ_IS: u32 = 91;
510pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
511pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
512pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
513pub const ZEND_FETCH_UNSET: u32 = 95;
514pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
515pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
516pub const ZEND_FETCH_LIST_R: u32 = 98;
517pub const ZEND_FETCH_CONSTANT: u32 = 99;
518pub const ZEND_CHECK_FUNC_ARG: u32 = 100;
519pub const ZEND_EXT_STMT: u32 = 101;
520pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
521pub const ZEND_EXT_FCALL_END: u32 = 103;
522pub const ZEND_EXT_NOP: u32 = 104;
523pub const ZEND_TICKS: u32 = 105;
524pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
525pub const ZEND_CATCH: u32 = 107;
526pub const ZEND_THROW: u32 = 108;
527pub const ZEND_FETCH_CLASS: u32 = 109;
528pub const ZEND_CLONE: u32 = 110;
529pub const ZEND_RETURN_BY_REF: u32 = 111;
530pub const ZEND_INIT_METHOD_CALL: u32 = 112;
531pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
532pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
533pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
534pub const ZEND_SEND_VAL_EX: u32 = 116;
535pub const ZEND_SEND_VAR: u32 = 117;
536pub const ZEND_INIT_USER_CALL: u32 = 118;
537pub const ZEND_SEND_ARRAY: u32 = 119;
538pub const ZEND_SEND_USER: u32 = 120;
539pub const ZEND_STRLEN: u32 = 121;
540pub const ZEND_DEFINED: u32 = 122;
541pub const ZEND_TYPE_CHECK: u32 = 123;
542pub const ZEND_VERIFY_RETURN_TYPE: u32 = 124;
543pub const ZEND_FE_RESET_RW: u32 = 125;
544pub const ZEND_FE_FETCH_RW: u32 = 126;
545pub const ZEND_FE_FREE: u32 = 127;
546pub const ZEND_INIT_DYNAMIC_CALL: u32 = 128;
547pub const ZEND_DO_ICALL: u32 = 129;
548pub const ZEND_DO_UCALL: u32 = 130;
549pub const ZEND_DO_FCALL_BY_NAME: u32 = 131;
550pub const ZEND_PRE_INC_OBJ: u32 = 132;
551pub const ZEND_PRE_DEC_OBJ: u32 = 133;
552pub const ZEND_POST_INC_OBJ: u32 = 134;
553pub const ZEND_POST_DEC_OBJ: u32 = 135;
554pub const ZEND_ECHO: u32 = 136;
555pub const ZEND_OP_DATA: u32 = 137;
556pub const ZEND_INSTANCEOF: u32 = 138;
557pub const ZEND_GENERATOR_CREATE: u32 = 139;
558pub const ZEND_MAKE_REF: u32 = 140;
559pub const ZEND_DECLARE_FUNCTION: u32 = 141;
560pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 142;
561pub const ZEND_DECLARE_CONST: u32 = 143;
562pub const ZEND_DECLARE_CLASS: u32 = 144;
563pub const ZEND_DECLARE_CLASS_DELAYED: u32 = 145;
564pub const ZEND_DECLARE_ANON_CLASS: u32 = 146;
565pub const ZEND_ADD_ARRAY_UNPACK: u32 = 147;
566pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
567pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
568pub const ZEND_USER_OPCODE: u32 = 150;
569pub const ZEND_ASSERT_CHECK: u32 = 151;
570pub const ZEND_JMP_SET: u32 = 152;
571pub const ZEND_UNSET_CV: u32 = 153;
572pub const ZEND_ISSET_ISEMPTY_CV: u32 = 154;
573pub const ZEND_FETCH_LIST_W: u32 = 155;
574pub const ZEND_SEPARATE: u32 = 156;
575pub const ZEND_FETCH_CLASS_NAME: u32 = 157;
576pub const ZEND_CALL_TRAMPOLINE: u32 = 158;
577pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
578pub const ZEND_YIELD: u32 = 160;
579pub const ZEND_GENERATOR_RETURN: u32 = 161;
580pub const ZEND_FAST_CALL: u32 = 162;
581pub const ZEND_FAST_RET: u32 = 163;
582pub const ZEND_RECV_VARIADIC: u32 = 164;
583pub const ZEND_SEND_UNPACK: u32 = 165;
584pub const ZEND_YIELD_FROM: u32 = 166;
585pub const ZEND_COPY_TMP: u32 = 167;
586pub const ZEND_BIND_GLOBAL: u32 = 168;
587pub const ZEND_COALESCE: u32 = 169;
588pub const ZEND_SPACESHIP: u32 = 170;
589pub const ZEND_FUNC_NUM_ARGS: u32 = 171;
590pub const ZEND_FUNC_GET_ARGS: u32 = 172;
591pub const ZEND_FETCH_STATIC_PROP_R: u32 = 173;
592pub const ZEND_FETCH_STATIC_PROP_W: u32 = 174;
593pub const ZEND_FETCH_STATIC_PROP_RW: u32 = 175;
594pub const ZEND_FETCH_STATIC_PROP_IS: u32 = 176;
595pub const ZEND_FETCH_STATIC_PROP_FUNC_ARG: u32 = 177;
596pub const ZEND_FETCH_STATIC_PROP_UNSET: u32 = 178;
597pub const ZEND_UNSET_STATIC_PROP: u32 = 179;
598pub const ZEND_ISSET_ISEMPTY_STATIC_PROP: u32 = 180;
599pub const ZEND_FETCH_CLASS_CONSTANT: u32 = 181;
600pub const ZEND_BIND_LEXICAL: u32 = 182;
601pub const ZEND_BIND_STATIC: u32 = 183;
602pub const ZEND_FETCH_THIS: u32 = 184;
603pub const ZEND_SEND_FUNC_ARG: u32 = 185;
604pub const ZEND_ISSET_ISEMPTY_THIS: u32 = 186;
605pub const ZEND_SWITCH_LONG: u32 = 187;
606pub const ZEND_SWITCH_STRING: u32 = 188;
607pub const ZEND_IN_ARRAY: u32 = 189;
608pub const ZEND_COUNT: u32 = 190;
609pub const ZEND_GET_CLASS: u32 = 191;
610pub const ZEND_GET_CALLED_CLASS: u32 = 192;
611pub const ZEND_GET_TYPE: u32 = 193;
612pub const ZEND_ARRAY_KEY_EXISTS: u32 = 194;
613pub const ZEND_MATCH: u32 = 195;
614pub const ZEND_CASE_STRICT: u32 = 196;
615pub const ZEND_MATCH_ERROR: u32 = 197;
616pub const ZEND_JMP_NULL: u32 = 198;
617pub const ZEND_CHECK_UNDEF_ARGS: u32 = 199;
618pub const ZEND_FETCH_GLOBALS: u32 = 200;
619pub const ZEND_VERIFY_NEVER_TYPE: u32 = 201;
620pub const ZEND_CALLABLE_CONVERT: u32 = 202;
621pub const ZEND_VM_LAST_OPCODE: u32 = 202;
622pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
623pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
624pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
625pub const ZEND_FETCH_CLASS_STATIC: u32 = 3;
626pub const ZEND_FETCH_CLASS_AUTO: u32 = 4;
627pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 5;
628pub const ZEND_FETCH_CLASS_TRAIT: u32 = 6;
629pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
630pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
631pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
632pub const ZEND_FETCH_CLASS_EXCEPTION: u32 = 512;
633pub const ZEND_FETCH_CLASS_ALLOW_UNLINKED: u32 = 1024;
634pub const ZEND_FETCH_CLASS_ALLOW_NEARLY_LINKED: u32 = 2048;
635pub const ZEND_PARAM_REF: u32 = 8;
636pub const ZEND_PARAM_VARIADIC: u32 = 16;
637pub const ZEND_NAME_FQ: u32 = 0;
638pub const ZEND_NAME_NOT_FQ: u32 = 1;
639pub const ZEND_NAME_RELATIVE: u32 = 2;
640pub const ZEND_CONST_EXPR_NEW_FETCH_TYPE_SHIFT: u32 = 2;
641pub const ZEND_TYPE_NULLABLE: u32 = 256;
642pub const ZEND_ARRAY_SYNTAX_LIST: u32 = 1;
643pub const ZEND_ARRAY_SYNTAX_LONG: u32 = 2;
644pub const ZEND_ARRAY_SYNTAX_SHORT: u32 = 3;
645pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
646pub const ZEND_USER_FUNCTION: u32 = 2;
647pub const ZEND_EVAL_CODE: u32 = 4;
648pub const ZEND_INTERNAL_CLASS: u32 = 1;
649pub const ZEND_USER_CLASS: u32 = 2;
650pub const ZEND_EVAL: u32 = 1;
651pub const ZEND_INCLUDE: u32 = 2;
652pub const ZEND_INCLUDE_ONCE: u32 = 4;
653pub const ZEND_REQUIRE: u32 = 8;
654pub const ZEND_REQUIRE_ONCE: u32 = 16;
655pub const ZEND_FETCH_GLOBAL: u32 = 2;
656pub const ZEND_FETCH_LOCAL: u32 = 4;
657pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 8;
658pub const ZEND_FETCH_TYPE_MASK: u32 = 14;
659pub const ZEND_FETCH_REF: u32 = 1;
660pub const ZEND_FETCH_DIM_WRITE: u32 = 2;
661pub const ZEND_FETCH_OBJ_FLAGS: u32 = 3;
662pub const ZEND_ISEMPTY: u32 = 1;
663pub const ZEND_LAST_CATCH: u32 = 1;
664pub const ZEND_FREE_ON_RETURN: u32 = 1;
665pub const ZEND_FREE_SWITCH: u32 = 2;
666pub const ZEND_SEND_BY_VAL: u32 = 0;
667pub const ZEND_SEND_BY_REF: u32 = 1;
668pub const ZEND_SEND_PREFER_REF: u32 = 2;
669pub const ZEND_THROW_IS_EXPR: u32 = 1;
670pub const ZEND_FCALL_MAY_HAVE_EXTRA_NAMED_PARAMS: u32 = 1;
671pub const _ZEND_SEND_MODE_SHIFT: u32 = 25;
672pub const _ZEND_IS_VARIADIC_BIT: u32 = 134217728;
673pub const _ZEND_IS_PROMOTED_BIT: u32 = 268435456;
674pub const _ZEND_IS_TENTATIVE_BIT: u32 = 536870912;
675pub const ZEND_DIM_IS: u32 = 1;
676pub const ZEND_DIM_ALTERNATIVE_SYNTAX: u32 = 2;
677pub const IS_CONSTANT_CLASS: u32 = 1024;
678pub const IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE: u32 = 2048;
679pub const ZEND_RETURN_VAL: u32 = 0;
680pub const ZEND_RETURN_REF: u32 = 1;
681pub const ZEND_BIND_VAL: u32 = 0;
682pub const ZEND_BIND_REF: u32 = 1;
683pub const ZEND_BIND_IMPLICIT: u32 = 2;
684pub const ZEND_BIND_EXPLICIT: u32 = 4;
685pub const ZEND_RETURNS_FUNCTION: u32 = 1;
686pub const ZEND_RETURNS_VALUE: u32 = 2;
687pub const ZEND_ARRAY_ELEMENT_REF: u32 = 1;
688pub const ZEND_ARRAY_NOT_PACKED: u32 = 2;
689pub const ZEND_ARRAY_SIZE_SHIFT: u32 = 2;
690pub const ZEND_PARENTHESIZED_CONDITIONAL: u32 = 1;
691pub const ZEND_SYMBOL_CLASS: u32 = 1;
692pub const ZEND_SYMBOL_FUNCTION: u32 = 2;
693pub const ZEND_SYMBOL_CONST: u32 = 4;
694pub const ZEND_GOTO: u32 = 253;
695pub const ZEND_BRK: u32 = 254;
696pub const ZEND_CONT: u32 = 255;
697pub const ZEND_CLONE_FUNC_NAME: &[u8; 8] = b"__clone\0";
698pub const ZEND_CONSTRUCTOR_FUNC_NAME: &[u8; 12] = b"__construct\0";
699pub const ZEND_DESTRUCTOR_FUNC_NAME: &[u8; 11] = b"__destruct\0";
700pub const ZEND_GET_FUNC_NAME: &[u8; 6] = b"__get\0";
701pub const ZEND_SET_FUNC_NAME: &[u8; 6] = b"__set\0";
702pub const ZEND_UNSET_FUNC_NAME: &[u8; 8] = b"__unset\0";
703pub const ZEND_ISSET_FUNC_NAME: &[u8; 8] = b"__isset\0";
704pub const ZEND_CALL_FUNC_NAME: &[u8; 7] = b"__call\0";
705pub const ZEND_CALLSTATIC_FUNC_NAME: &[u8; 13] = b"__callstatic\0";
706pub const ZEND_TOSTRING_FUNC_NAME: &[u8; 11] = b"__tostring\0";
707pub const ZEND_INVOKE_FUNC_NAME: &[u8; 9] = b"__invoke\0";
708pub const ZEND_DEBUGINFO_FUNC_NAME: &[u8; 12] = b"__debuginfo\0";
709pub const ZEND_COMPILE_EXTENDED_STMT: u32 = 1;
710pub const ZEND_COMPILE_EXTENDED_FCALL: u32 = 2;
711pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 3;
712pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 4;
713pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 8;
714pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 16;
715pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 32;
716pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 64;
717pub const ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION: u32 = 256;
718pub const ZEND_COMPILE_IGNORE_USER_FUNCTIONS: u32 = 512;
719pub const ZEND_COMPILE_GUARDS: u32 = 1024;
720pub const ZEND_COMPILE_NO_BUILTINS: u32 = 2048;
721pub const ZEND_COMPILE_WITH_FILE_CACHE: u32 = 4096;
722pub const ZEND_COMPILE_IGNORE_OTHER_FILES: u32 = 8192;
723pub const ZEND_COMPILE_WITHOUT_EXECUTION: u32 = 16384;
724pub const ZEND_COMPILE_PRELOAD: u32 = 32768;
725pub const ZEND_COMPILE_NO_JUMPTABLES: u32 = 65536;
726pub const ZEND_COMPILE_PRELOAD_IN_CHILD: u32 = 131072;
727pub const ZEND_COMPILE_DEFAULT: u32 = 4;
728pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
729pub const ZEND_BUILD_TS: &[u8; 5] = b",NTS\0";
730pub const ZEND_MODULE_API_NO: u32 = 20210902;
731pub const USING_ZTS: u32 = 0;
732pub const MODULE_PERSISTENT: u32 = 1;
733pub const MODULE_TEMPORARY: u32 = 2;
734pub const MODULE_DEP_REQUIRED: u32 = 1;
735pub const MODULE_DEP_CONFLICTS: u32 = 2;
736pub const MODULE_DEP_OPTIONAL: u32 = 3;
737pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
738pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
739pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
740pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
741pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
742pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
743pub const ZEND_PARSE_PARAMS_THROW: u32 = 0;
744pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
745pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
746pub const IS_CALLABLE_CHECK_SILENT: u32 = 8;
747pub const PHP_OS_FAMILY: &[u8; 6] = b"Linux\0";
748pub const PHP_DEBUG: u32 = 0;
749pub const PHP_DIR_SEPARATOR: u8 = 47u8;
750pub const PHP_EOL: &[u8; 2] = b"\n\0";
751pub const PHP_ODBC_CFLAGS: &[u8; 1] = b"\0";
752pub const PHP_ODBC_LFLAGS: &[u8; 1] = b"\0";
753pub const PHP_ODBC_LIBS: &[u8; 1] = b"\0";
754pub const PHP_ODBC_TYPE: &[u8; 1] = b"\0";
755pub const PHP_OCI8_DIR: &[u8; 1] = b"\0";
756pub const PHP_OCI8_ORACLE_VERSION: &[u8; 1] = b"\0";
757pub const PHP_PROG_SENDMAIL: &[u8; 19] = b"/usr/sbin/sendmail\0";
758pub const PHP_INCLUDE_PATH: &[u8; 17] = b".:/usr/share/php\0";
759pub const PHP_EXTENSION_DIR: &[u8; 22] = b"/usr/lib/php/20210902\0";
760pub const PHP_PREFIX: &[u8; 5] = b"/usr\0";
761pub const PHP_BINDIR: &[u8; 9] = b"/usr/bin\0";
762pub const PHP_SBINDIR: &[u8; 10] = b"/usr/sbin\0";
763pub const PHP_MANDIR: &[u8; 15] = b"/usr/share/man\0";
764pub const PHP_LIBDIR: &[u8; 13] = b"/usr/lib/php\0";
765pub const PHP_DATADIR: &[u8; 19] = b"/usr/share/php/8.1\0";
766pub const PHP_SYSCONFDIR: &[u8; 5] = b"/etc\0";
767pub const PHP_LOCALSTATEDIR: &[u8; 5] = b"/var\0";
768pub const PHP_CONFIG_FILE_PATH: &[u8; 17] = b"/etc/php/8.1/cli\0";
769pub const PHP_CONFIG_FILE_SCAN_DIR: &[u8; 24] = b"/etc/php/8.1/cli/conf.d\0";
770pub const PHP_SHLIB_SUFFIX: &[u8; 3] = b"so\0";
771pub const PHP_SHLIB_EXT_PREFIX: &[u8; 1] = b"\0";
772pub const PHP_MIME_TYPE: &[u8; 24] = b"application/x-httpd-php\0";
773pub const PHP_SYSLOG_FILTER_ALL: u32 = 0;
774pub const PHP_SYSLOG_FILTER_NO_CTRL: u32 = 1;
775pub const PHP_SYSLOG_FILTER_ASCII: u32 = 2;
776pub const PHP_SYSLOG_FILTER_RAW: u32 = 3;
777pub const PHP_OUTPUT_NEWAPI: u32 = 1;
778pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
779pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
780pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
781pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
782pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
783pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
784pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
785pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
786pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
787pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
788pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
789pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
790pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
791pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
792pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
793pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
794pub const PHP_OUTPUT_POP_TRY: u32 = 0;
795pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
796pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
797pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
798pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
799pub const PHP_OUTPUT_DISABLED: u32 = 2;
800pub const PHP_OUTPUT_WRITTEN: u32 = 4;
801pub const PHP_OUTPUT_SENT: u32 = 8;
802pub const PHP_OUTPUT_ACTIVE: u32 = 16;
803pub const PHP_OUTPUT_LOCKED: u32 = 32;
804pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
805pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
806pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
807pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
808pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
809pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
810pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
811pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
812pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
813pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
814pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
815pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
816pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
817pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
818pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
819pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
820pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
821pub const PHP_STREAM_FILTER_READ: u32 = 1;
822pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
823pub const PHP_STREAM_FILTER_ALL: u32 = 3;
824pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
825pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
826pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
827pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
828pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
829pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
830pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
831pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
832pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
833pub const PHP_STREAM_FLAG_SUPPRESS_ERRORS: u32 = 256;
834pub const PHP_STREAM_FLAG_WAS_WRITTEN: u32 = 2147483648;
835pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
836pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
837pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
838pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
839pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
840pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
841pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
842pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
843pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
844pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
845pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
846pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
847pub const PHP_STREAM_FREE_KEEP_RSRC: u32 = 64;
848pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
849pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
850pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
851pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
852pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
853pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
854pub const PHP_STREAM_URL_STAT_IGNORE_OPEN_BASEDIR: u32 = 4;
855pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
856pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
857pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
858pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
859pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
860pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
861pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
862pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
863pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
864pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
865pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
866pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
867pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
868pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
869pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
870pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
871pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
872pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
873pub const PHP_STREAM_OPTION_PIPE_BLOCKING: u32 = 13;
874pub const PHP_STREAM_OPTION_SYNC_API: u32 = 14;
875pub const PHP_STREAM_SYNC_SUPPORTED: u32 = 0;
876pub const PHP_STREAM_SYNC_FSYNC: u32 = 1;
877pub const PHP_STREAM_SYNC_FDSYNC: u32 = 2;
878pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
879pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
880pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
881pub const PHP_STREAM_MMAP_ALL: u32 = 0;
882pub const PHP_STREAM_MMAP_MAX: u32 = 536870912;
883pub const PHP_STREAM_AS_STDIO: u32 = 0;
884pub const PHP_STREAM_AS_FD: u32 = 1;
885pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
886pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
887pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
888pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
889pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
890pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
891pub const PHP_STREAM_UNCHANGED: u32 = 0;
892pub const PHP_STREAM_RELEASED: u32 = 1;
893pub const PHP_STREAM_FAILED: u32 = 2;
894pub const PHP_STREAM_CRITICAL: u32 = 3;
895pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
896pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
897pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
898pub const PHP_STREAM_IS_URL: u32 = 1;
899pub const PHP_STREAM_META_TOUCH: u32 = 1;
900pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
901pub const PHP_STREAM_META_OWNER: u32 = 3;
902pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
903pub const PHP_STREAM_META_GROUP: u32 = 5;
904pub const PHP_STREAM_META_ACCESS: u32 = 6;
905pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
906pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
907pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
908pub const ZEND_INI_USER: u32 = 1;
909pub const ZEND_INI_PERDIR: u32 = 2;
910pub const ZEND_INI_SYSTEM: u32 = 4;
911pub const ZEND_INI_ALL: u32 = 7;
912pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
913pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
914pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
915pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
916pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
917pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
918pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
919pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
920pub const ZEND_INI_STAGE_IN_REQUEST: u32 = 60;
921pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
922pub const ZEND_INI_PARSER_SECTION: u32 = 2;
923pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
924pub const PHP_INI_USER: u32 = 1;
925pub const PHP_INI_PERDIR: u32 = 2;
926pub const PHP_INI_SYSTEM: u32 = 4;
927pub const PHP_INI_ALL: u32 = 7;
928pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
929pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
930pub const PHP_INI_STAGE_STARTUP: u32 = 1;
931pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
932pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
933pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
934pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
935pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
936pub const PHP_USER_CONSTANT: u32 = 8388607;
937pub const PHP_CONNECTION_NORMAL: u32 = 0;
938pub const PHP_CONNECTION_ABORTED: u32 = 1;
939pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
940pub const PHP_ENTRY_NAME_COLOR: &[u8; 5] = b"#ccf\0";
941pub const PHP_CONTENTS_COLOR: &[u8; 5] = b"#ccc\0";
942pub const PHP_HEADER_COLOR: &[u8; 5] = b"#99c\0";
943pub const PHP_INFO_GENERAL: u32 = 1;
944pub const PHP_INFO_CREDITS: u32 = 2;
945pub const PHP_INFO_CONFIGURATION: u32 = 4;
946pub const PHP_INFO_MODULES: u32 = 8;
947pub const PHP_INFO_ENVIRONMENT: u32 = 16;
948pub const PHP_INFO_VARIABLES: u32 = 32;
949pub const PHP_INFO_LICENSE: u32 = 64;
950pub const PHP_INFO_ALL: u32 = 4294967295;
951pub const PHP_CREDITS_GROUP: u32 = 1;
952pub const PHP_CREDITS_GENERAL: u32 = 2;
953pub const PHP_CREDITS_SAPI: u32 = 4;
954pub const PHP_CREDITS_MODULES: u32 = 8;
955pub const PHP_CREDITS_DOCS: u32 = 16;
956pub const PHP_CREDITS_FULLPAGE: u32 = 32;
957pub const PHP_CREDITS_QA: u32 = 64;
958pub const PHP_CREDITS_WEB: u32 = 128;
959pub const PHP_CREDITS_PACKAGING: u32 = 256;
960pub const PHP_CREDITS_ALL: u32 = 4294967295;
961pub const PHP_LOGO_DATA_URI : & [u8 ; 5439] = b"data:image/png;base64,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\0" ;
962pub const PHP_EGG_LOGO_DATA_URI : & [u8 ; 8987] = b"data:image/png;base64,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\0" ;
963pub const ZEND_LOGO_DATA_URI : & [u8 ; 6083] = b"data:image/png;base64,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\0" ;
964pub const ZEND_EXTENSION_API_NO: u32 = 420210902;
965pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
966pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_CTOR: u32 = 1;
967pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_DTOR: u32 = 2;
968pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_HANDLER: u32 = 4;
969pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST_CALC: u32 = 8;
970pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST: u32 = 16;
971pub type __uint32_t = ::std::os::raw::c_uint;
972pub type __dev_t = ::std::os::raw::c_ulong;
973pub type __uid_t = ::std::os::raw::c_uint;
974pub type __gid_t = ::std::os::raw::c_uint;
975pub type __ino_t = ::std::os::raw::c_ulong;
976pub type __mode_t = ::std::os::raw::c_uint;
977pub type __nlink_t = ::std::os::raw::c_ulong;
978pub type __off_t = ::std::os::raw::c_long;
979pub type __off64_t = ::std::os::raw::c_long;
980pub type __pid_t = ::std::os::raw::c_int;
981pub type __clock_t = ::std::os::raw::c_long;
982pub type __time_t = ::std::os::raw::c_long;
983pub type __suseconds_t = ::std::os::raw::c_long;
984pub type __blksize_t = ::std::os::raw::c_long;
985pub type __blkcnt_t = ::std::os::raw::c_long;
986pub type __syscall_slong_t = ::std::os::raw::c_long;
987pub type __socklen_t = ::std::os::raw::c_uint;
988pub type time_t = __time_t;
989#[repr(C)]
990#[derive(Debug, Copy, Clone)]
991pub struct __sigset_t {
992 pub __val: [::std::os::raw::c_ulong; 16usize],
993}
994#[allow(clippy::unnecessary_operation, clippy::identity_op)]
995const _: () = {
996 ["Size of __sigset_t"][::std::mem::size_of::<__sigset_t>() - 128usize];
997 ["Alignment of __sigset_t"][::std::mem::align_of::<__sigset_t>() - 8usize];
998 ["Offset of field: __sigset_t::__val"][::std::mem::offset_of!(__sigset_t, __val) - 0usize];
999};
1000#[repr(C)]
1001#[derive(Debug, Copy, Clone)]
1002pub struct timeval {
1003 pub tv_sec: __time_t,
1004 pub tv_usec: __suseconds_t,
1005}
1006#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1007const _: () = {
1008 ["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
1009 ["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
1010 ["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
1011 ["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
1012};
1013#[repr(C)]
1014#[derive(Debug, Copy, Clone)]
1015pub struct timespec {
1016 pub tv_sec: __time_t,
1017 pub tv_nsec: __syscall_slong_t,
1018}
1019#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1020const _: () = {
1021 ["Size of timespec"][::std::mem::size_of::<timespec>() - 16usize];
1022 ["Alignment of timespec"][::std::mem::align_of::<timespec>() - 8usize];
1023 ["Offset of field: timespec::tv_sec"][::std::mem::offset_of!(timespec, tv_sec) - 0usize];
1024 ["Offset of field: timespec::tv_nsec"][::std::mem::offset_of!(timespec, tv_nsec) - 8usize];
1025};
1026pub type va_list = __builtin_va_list;
1027pub type FILE = _IO_FILE;
1028#[repr(C)]
1029#[derive(Debug, Copy, Clone)]
1030pub struct _IO_marker {
1031 _unused: [u8; 0],
1032}
1033#[repr(C)]
1034#[derive(Debug, Copy, Clone)]
1035pub struct _IO_codecvt {
1036 _unused: [u8; 0],
1037}
1038#[repr(C)]
1039#[derive(Debug, Copy, Clone)]
1040pub struct _IO_wide_data {
1041 _unused: [u8; 0],
1042}
1043pub type _IO_lock_t = ::std::os::raw::c_void;
1044#[repr(C)]
1045#[derive(Debug, Copy, Clone)]
1046pub struct _IO_FILE {
1047 pub _flags: ::std::os::raw::c_int,
1048 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
1049 pub _IO_read_end: *mut ::std::os::raw::c_char,
1050 pub _IO_read_base: *mut ::std::os::raw::c_char,
1051 pub _IO_write_base: *mut ::std::os::raw::c_char,
1052 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
1053 pub _IO_write_end: *mut ::std::os::raw::c_char,
1054 pub _IO_buf_base: *mut ::std::os::raw::c_char,
1055 pub _IO_buf_end: *mut ::std::os::raw::c_char,
1056 pub _IO_save_base: *mut ::std::os::raw::c_char,
1057 pub _IO_backup_base: *mut ::std::os::raw::c_char,
1058 pub _IO_save_end: *mut ::std::os::raw::c_char,
1059 pub _markers: *mut _IO_marker,
1060 pub _chain: *mut _IO_FILE,
1061 pub _fileno: ::std::os::raw::c_int,
1062 pub _flags2: ::std::os::raw::c_int,
1063 pub _old_offset: __off_t,
1064 pub _cur_column: ::std::os::raw::c_ushort,
1065 pub _vtable_offset: ::std::os::raw::c_schar,
1066 pub _shortbuf: [::std::os::raw::c_char; 1usize],
1067 pub _lock: *mut _IO_lock_t,
1068 pub _offset: __off64_t,
1069 pub _codecvt: *mut _IO_codecvt,
1070 pub _wide_data: *mut _IO_wide_data,
1071 pub _freeres_list: *mut _IO_FILE,
1072 pub _freeres_buf: *mut ::std::os::raw::c_void,
1073 pub __pad5: usize,
1074 pub _mode: ::std::os::raw::c_int,
1075 pub _unused2: [::std::os::raw::c_char; 20usize],
1076}
1077#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1078const _: () = {
1079 ["Size of _IO_FILE"][::std::mem::size_of::<_IO_FILE>() - 216usize];
1080 ["Alignment of _IO_FILE"][::std::mem::align_of::<_IO_FILE>() - 8usize];
1081 ["Offset of field: _IO_FILE::_flags"][::std::mem::offset_of!(_IO_FILE, _flags) - 0usize];
1082 ["Offset of field: _IO_FILE::_IO_read_ptr"]
1083 [::std::mem::offset_of!(_IO_FILE, _IO_read_ptr) - 8usize];
1084 ["Offset of field: _IO_FILE::_IO_read_end"]
1085 [::std::mem::offset_of!(_IO_FILE, _IO_read_end) - 16usize];
1086 ["Offset of field: _IO_FILE::_IO_read_base"]
1087 [::std::mem::offset_of!(_IO_FILE, _IO_read_base) - 24usize];
1088 ["Offset of field: _IO_FILE::_IO_write_base"]
1089 [::std::mem::offset_of!(_IO_FILE, _IO_write_base) - 32usize];
1090 ["Offset of field: _IO_FILE::_IO_write_ptr"]
1091 [::std::mem::offset_of!(_IO_FILE, _IO_write_ptr) - 40usize];
1092 ["Offset of field: _IO_FILE::_IO_write_end"]
1093 [::std::mem::offset_of!(_IO_FILE, _IO_write_end) - 48usize];
1094 ["Offset of field: _IO_FILE::_IO_buf_base"]
1095 [::std::mem::offset_of!(_IO_FILE, _IO_buf_base) - 56usize];
1096 ["Offset of field: _IO_FILE::_IO_buf_end"]
1097 [::std::mem::offset_of!(_IO_FILE, _IO_buf_end) - 64usize];
1098 ["Offset of field: _IO_FILE::_IO_save_base"]
1099 [::std::mem::offset_of!(_IO_FILE, _IO_save_base) - 72usize];
1100 ["Offset of field: _IO_FILE::_IO_backup_base"]
1101 [::std::mem::offset_of!(_IO_FILE, _IO_backup_base) - 80usize];
1102 ["Offset of field: _IO_FILE::_IO_save_end"]
1103 [::std::mem::offset_of!(_IO_FILE, _IO_save_end) - 88usize];
1104 ["Offset of field: _IO_FILE::_markers"][::std::mem::offset_of!(_IO_FILE, _markers) - 96usize];
1105 ["Offset of field: _IO_FILE::_chain"][::std::mem::offset_of!(_IO_FILE, _chain) - 104usize];
1106 ["Offset of field: _IO_FILE::_fileno"][::std::mem::offset_of!(_IO_FILE, _fileno) - 112usize];
1107 ["Offset of field: _IO_FILE::_flags2"][::std::mem::offset_of!(_IO_FILE, _flags2) - 116usize];
1108 ["Offset of field: _IO_FILE::_old_offset"]
1109 [::std::mem::offset_of!(_IO_FILE, _old_offset) - 120usize];
1110 ["Offset of field: _IO_FILE::_cur_column"]
1111 [::std::mem::offset_of!(_IO_FILE, _cur_column) - 128usize];
1112 ["Offset of field: _IO_FILE::_vtable_offset"]
1113 [::std::mem::offset_of!(_IO_FILE, _vtable_offset) - 130usize];
1114 ["Offset of field: _IO_FILE::_shortbuf"]
1115 [::std::mem::offset_of!(_IO_FILE, _shortbuf) - 131usize];
1116 ["Offset of field: _IO_FILE::_lock"][::std::mem::offset_of!(_IO_FILE, _lock) - 136usize];
1117 ["Offset of field: _IO_FILE::_offset"][::std::mem::offset_of!(_IO_FILE, _offset) - 144usize];
1118 ["Offset of field: _IO_FILE::_codecvt"][::std::mem::offset_of!(_IO_FILE, _codecvt) - 152usize];
1119 ["Offset of field: _IO_FILE::_wide_data"]
1120 [::std::mem::offset_of!(_IO_FILE, _wide_data) - 160usize];
1121 ["Offset of field: _IO_FILE::_freeres_list"]
1122 [::std::mem::offset_of!(_IO_FILE, _freeres_list) - 168usize];
1123 ["Offset of field: _IO_FILE::_freeres_buf"]
1124 [::std::mem::offset_of!(_IO_FILE, _freeres_buf) - 176usize];
1125 ["Offset of field: _IO_FILE::__pad5"][::std::mem::offset_of!(_IO_FILE, __pad5) - 184usize];
1126 ["Offset of field: _IO_FILE::_mode"][::std::mem::offset_of!(_IO_FILE, _mode) - 192usize];
1127 ["Offset of field: _IO_FILE::_unused2"][::std::mem::offset_of!(_IO_FILE, _unused2) - 196usize];
1128};
1129pub type zend_long = i64;
1130pub type zend_ulong = u64;
1131pub type zend_off_t = i64;
1132pub type zend_bool = bool;
1133pub type zend_uchar = ::std::os::raw::c_uchar;
1134pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
1135pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
1136pub type ZEND_RESULT_CODE = ::std::os::raw::c_int;
1137pub use self::ZEND_RESULT_CODE as zend_result;
1138pub type zend_intptr_t = isize;
1139pub type zend_uintptr_t = usize;
1140pub type zend_object_handlers = _zend_object_handlers;
1141pub type zend_class_entry = _zend_class_entry;
1142pub type zend_function = _zend_function;
1143pub type zend_execute_data = _zend_execute_data;
1144pub type zval = _zval_struct;
1145pub type zend_refcounted = _zend_refcounted;
1146pub type zend_string = _zend_string;
1147pub type zend_array = _zend_array;
1148pub type zend_object = _zend_object;
1149pub type zend_resource = _zend_resource;
1150pub type zend_reference = _zend_reference;
1151pub type zend_ast_ref = _zend_ast_ref;
1152pub type zend_ast = _zend_ast;
1153pub type compare_func_t = ::std::option::Option<
1154 unsafe extern "C" fn(
1155 arg1: *const ::std::os::raw::c_void,
1156 arg2: *const ::std::os::raw::c_void,
1157 ) -> ::std::os::raw::c_int,
1158>;
1159pub type swap_func_t = ::std::option::Option<
1160 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void),
1161>;
1162pub type sort_func_t = ::std::option::Option<
1163 unsafe extern "C" fn(
1164 arg1: *mut ::std::os::raw::c_void,
1165 arg2: usize,
1166 arg3: usize,
1167 arg4: compare_func_t,
1168 arg5: swap_func_t,
1169 ),
1170>;
1171pub type dtor_func_t = ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval)>;
1172pub type copy_ctor_func_t = ::std::option::Option<unsafe extern "C" fn(pElement: *mut zval)>;
1173#[repr(C)]
1174#[derive(Debug, Copy, Clone)]
1175pub struct zend_type {
1176 pub ptr: *mut ::std::os::raw::c_void,
1177 pub type_mask: u32,
1178}
1179#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1180const _: () = {
1181 ["Size of zend_type"][::std::mem::size_of::<zend_type>() - 16usize];
1182 ["Alignment of zend_type"][::std::mem::align_of::<zend_type>() - 8usize];
1183 ["Offset of field: zend_type::ptr"][::std::mem::offset_of!(zend_type, ptr) - 0usize];
1184 ["Offset of field: zend_type::type_mask"]
1185 [::std::mem::offset_of!(zend_type, type_mask) - 8usize];
1186};
1187#[repr(C)]
1188#[derive(Debug, Copy, Clone)]
1189pub struct zend_type_list {
1190 pub num_types: u32,
1191 pub types: [zend_type; 1usize],
1192}
1193#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1194const _: () = {
1195 ["Size of zend_type_list"][::std::mem::size_of::<zend_type_list>() - 24usize];
1196 ["Alignment of zend_type_list"][::std::mem::align_of::<zend_type_list>() - 8usize];
1197 ["Offset of field: zend_type_list::num_types"]
1198 [::std::mem::offset_of!(zend_type_list, num_types) - 0usize];
1199 ["Offset of field: zend_type_list::types"]
1200 [::std::mem::offset_of!(zend_type_list, types) - 8usize];
1201};
1202#[repr(C)]
1203#[derive(Copy, Clone)]
1204pub union _zend_value {
1205 pub lval: zend_long,
1206 pub dval: f64,
1207 pub counted: *mut zend_refcounted,
1208 pub str_: *mut zend_string,
1209 pub arr: *mut zend_array,
1210 pub obj: *mut zend_object,
1211 pub res: *mut zend_resource,
1212 pub ref_: *mut zend_reference,
1213 pub ast: *mut zend_ast_ref,
1214 pub zv: *mut zval,
1215 pub ptr: *mut ::std::os::raw::c_void,
1216 pub ce: *mut zend_class_entry,
1217 pub func: *mut zend_function,
1218 pub ww: _zend_value__bindgen_ty_1,
1219}
1220#[repr(C)]
1221#[derive(Debug, Copy, Clone)]
1222pub struct _zend_value__bindgen_ty_1 {
1223 pub w1: u32,
1224 pub w2: u32,
1225}
1226#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1227const _: () = {
1228 ["Size of _zend_value__bindgen_ty_1"]
1229 [::std::mem::size_of::<_zend_value__bindgen_ty_1>() - 8usize];
1230 ["Alignment of _zend_value__bindgen_ty_1"]
1231 [::std::mem::align_of::<_zend_value__bindgen_ty_1>() - 4usize];
1232 ["Offset of field: _zend_value__bindgen_ty_1::w1"]
1233 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w1) - 0usize];
1234 ["Offset of field: _zend_value__bindgen_ty_1::w2"]
1235 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w2) - 4usize];
1236};
1237#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1238const _: () = {
1239 ["Size of _zend_value"][::std::mem::size_of::<_zend_value>() - 8usize];
1240 ["Alignment of _zend_value"][::std::mem::align_of::<_zend_value>() - 8usize];
1241 ["Offset of field: _zend_value::lval"][::std::mem::offset_of!(_zend_value, lval) - 0usize];
1242 ["Offset of field: _zend_value::dval"][::std::mem::offset_of!(_zend_value, dval) - 0usize];
1243 ["Offset of field: _zend_value::counted"]
1244 [::std::mem::offset_of!(_zend_value, counted) - 0usize];
1245 ["Offset of field: _zend_value::str_"][::std::mem::offset_of!(_zend_value, str_) - 0usize];
1246 ["Offset of field: _zend_value::arr"][::std::mem::offset_of!(_zend_value, arr) - 0usize];
1247 ["Offset of field: _zend_value::obj"][::std::mem::offset_of!(_zend_value, obj) - 0usize];
1248 ["Offset of field: _zend_value::res"][::std::mem::offset_of!(_zend_value, res) - 0usize];
1249 ["Offset of field: _zend_value::ref_"][::std::mem::offset_of!(_zend_value, ref_) - 0usize];
1250 ["Offset of field: _zend_value::ast"][::std::mem::offset_of!(_zend_value, ast) - 0usize];
1251 ["Offset of field: _zend_value::zv"][::std::mem::offset_of!(_zend_value, zv) - 0usize];
1252 ["Offset of field: _zend_value::ptr"][::std::mem::offset_of!(_zend_value, ptr) - 0usize];
1253 ["Offset of field: _zend_value::ce"][::std::mem::offset_of!(_zend_value, ce) - 0usize];
1254 ["Offset of field: _zend_value::func"][::std::mem::offset_of!(_zend_value, func) - 0usize];
1255 ["Offset of field: _zend_value::ww"][::std::mem::offset_of!(_zend_value, ww) - 0usize];
1256};
1257pub type zend_value = _zend_value;
1258#[repr(C)]
1259#[derive(Copy, Clone)]
1260pub struct _zval_struct {
1261 pub value: zend_value,
1262 pub u1: _zval_struct__bindgen_ty_1,
1263 pub u2: _zval_struct__bindgen_ty_2,
1264}
1265#[repr(C)]
1266#[derive(Copy, Clone)]
1267pub union _zval_struct__bindgen_ty_1 {
1268 pub type_info: u32,
1269 pub v: _zval_struct__bindgen_ty_1__bindgen_ty_1,
1270}
1271#[repr(C)]
1272#[derive(Copy, Clone)]
1273pub struct _zval_struct__bindgen_ty_1__bindgen_ty_1 {
1274 pub type_: zend_uchar,
1275 pub type_flags: zend_uchar,
1276 pub u: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
1277}
1278#[repr(C)]
1279#[derive(Copy, Clone)]
1280pub union _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
1281 pub extra: u16,
1282}
1283#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1284const _: () = {
1285 ["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1"]
1286 [::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1287 ["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1"]
1288 [::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1289 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1::extra"][::std::mem::offset_of!(
1290 _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
1291 extra
1292 ) - 0usize];
1293};
1294#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1295const _: () = {
1296 ["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1297 [::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1298 ["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1299 [::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1300 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_"]
1301 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_) - 0usize];
1302 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_flags"]
1303 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_flags) - 1usize];
1304 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::u"]
1305 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, u) - 2usize];
1306};
1307#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1308const _: () = {
1309 ["Size of _zval_struct__bindgen_ty_1"]
1310 [::std::mem::size_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1311 ["Alignment of _zval_struct__bindgen_ty_1"]
1312 [::std::mem::align_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1313 ["Offset of field: _zval_struct__bindgen_ty_1::type_info"]
1314 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, type_info) - 0usize];
1315 ["Offset of field: _zval_struct__bindgen_ty_1::v"]
1316 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, v) - 0usize];
1317};
1318#[repr(C)]
1319#[derive(Copy, Clone)]
1320pub union _zval_struct__bindgen_ty_2 {
1321 pub next: u32,
1322 pub cache_slot: u32,
1323 pub opline_num: u32,
1324 pub lineno: u32,
1325 pub num_args: u32,
1326 pub fe_pos: u32,
1327 pub fe_iter_idx: u32,
1328 pub property_guard: u32,
1329 pub constant_flags: u32,
1330 pub extra: u32,
1331}
1332#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1333const _: () = {
1334 ["Size of _zval_struct__bindgen_ty_2"]
1335 [::std::mem::size_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1336 ["Alignment of _zval_struct__bindgen_ty_2"]
1337 [::std::mem::align_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1338 ["Offset of field: _zval_struct__bindgen_ty_2::next"]
1339 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, next) - 0usize];
1340 ["Offset of field: _zval_struct__bindgen_ty_2::cache_slot"]
1341 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, cache_slot) - 0usize];
1342 ["Offset of field: _zval_struct__bindgen_ty_2::opline_num"]
1343 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, opline_num) - 0usize];
1344 ["Offset of field: _zval_struct__bindgen_ty_2::lineno"]
1345 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, lineno) - 0usize];
1346 ["Offset of field: _zval_struct__bindgen_ty_2::num_args"]
1347 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, num_args) - 0usize];
1348 ["Offset of field: _zval_struct__bindgen_ty_2::fe_pos"]
1349 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_pos) - 0usize];
1350 ["Offset of field: _zval_struct__bindgen_ty_2::fe_iter_idx"]
1351 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_iter_idx) - 0usize];
1352 ["Offset of field: _zval_struct__bindgen_ty_2::property_guard"]
1353 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, property_guard) - 0usize];
1354 ["Offset of field: _zval_struct__bindgen_ty_2::constant_flags"]
1355 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, constant_flags) - 0usize];
1356 ["Offset of field: _zval_struct__bindgen_ty_2::extra"]
1357 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, extra) - 0usize];
1358};
1359#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1360const _: () = {
1361 ["Size of _zval_struct"][::std::mem::size_of::<_zval_struct>() - 16usize];
1362 ["Alignment of _zval_struct"][::std::mem::align_of::<_zval_struct>() - 8usize];
1363 ["Offset of field: _zval_struct::value"][::std::mem::offset_of!(_zval_struct, value) - 0usize];
1364 ["Offset of field: _zval_struct::u1"][::std::mem::offset_of!(_zval_struct, u1) - 8usize];
1365 ["Offset of field: _zval_struct::u2"][::std::mem::offset_of!(_zval_struct, u2) - 12usize];
1366};
1367#[repr(C)]
1368#[derive(Copy, Clone)]
1369pub struct _zend_refcounted_h {
1370 pub refcount: u32,
1371 pub u: _zend_refcounted_h__bindgen_ty_1,
1372}
1373#[repr(C)]
1374#[derive(Copy, Clone)]
1375pub union _zend_refcounted_h__bindgen_ty_1 {
1376 pub type_info: u32,
1377}
1378#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1379const _: () = {
1380 ["Size of _zend_refcounted_h__bindgen_ty_1"]
1381 [::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1382 ["Alignment of _zend_refcounted_h__bindgen_ty_1"]
1383 [::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1384 ["Offset of field: _zend_refcounted_h__bindgen_ty_1::type_info"]
1385 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1, type_info) - 0usize];
1386};
1387#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1388const _: () = {
1389 ["Size of _zend_refcounted_h"][::std::mem::size_of::<_zend_refcounted_h>() - 8usize];
1390 ["Alignment of _zend_refcounted_h"][::std::mem::align_of::<_zend_refcounted_h>() - 4usize];
1391 ["Offset of field: _zend_refcounted_h::refcount"]
1392 [::std::mem::offset_of!(_zend_refcounted_h, refcount) - 0usize];
1393 ["Offset of field: _zend_refcounted_h::u"]
1394 [::std::mem::offset_of!(_zend_refcounted_h, u) - 4usize];
1395};
1396pub type zend_refcounted_h = _zend_refcounted_h;
1397#[repr(C)]
1398#[derive(Copy, Clone)]
1399pub struct _zend_refcounted {
1400 pub gc: zend_refcounted_h,
1401}
1402#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1403const _: () = {
1404 ["Size of _zend_refcounted"][::std::mem::size_of::<_zend_refcounted>() - 8usize];
1405 ["Alignment of _zend_refcounted"][::std::mem::align_of::<_zend_refcounted>() - 4usize];
1406 ["Offset of field: _zend_refcounted::gc"]
1407 [::std::mem::offset_of!(_zend_refcounted, gc) - 0usize];
1408};
1409#[repr(C)]
1410#[derive(Copy, Clone)]
1411pub struct _zend_string {
1412 pub gc: zend_refcounted_h,
1413 pub h: zend_ulong,
1414 pub len: usize,
1415 pub val: [::std::os::raw::c_char; 1usize],
1416}
1417#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1418const _: () = {
1419 ["Size of _zend_string"][::std::mem::size_of::<_zend_string>() - 32usize];
1420 ["Alignment of _zend_string"][::std::mem::align_of::<_zend_string>() - 8usize];
1421 ["Offset of field: _zend_string::gc"][::std::mem::offset_of!(_zend_string, gc) - 0usize];
1422 ["Offset of field: _zend_string::h"][::std::mem::offset_of!(_zend_string, h) - 8usize];
1423 ["Offset of field: _zend_string::len"][::std::mem::offset_of!(_zend_string, len) - 16usize];
1424 ["Offset of field: _zend_string::val"][::std::mem::offset_of!(_zend_string, val) - 24usize];
1425};
1426#[repr(C)]
1427#[derive(Copy, Clone)]
1428pub struct _Bucket {
1429 pub val: zval,
1430 pub h: zend_ulong,
1431 pub key: *mut zend_string,
1432}
1433#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1434const _: () = {
1435 ["Size of _Bucket"][::std::mem::size_of::<_Bucket>() - 32usize];
1436 ["Alignment of _Bucket"][::std::mem::align_of::<_Bucket>() - 8usize];
1437 ["Offset of field: _Bucket::val"][::std::mem::offset_of!(_Bucket, val) - 0usize];
1438 ["Offset of field: _Bucket::h"][::std::mem::offset_of!(_Bucket, h) - 16usize];
1439 ["Offset of field: _Bucket::key"][::std::mem::offset_of!(_Bucket, key) - 24usize];
1440};
1441pub type Bucket = _Bucket;
1442pub type HashTable = _zend_array;
1443#[repr(C)]
1444#[derive(Copy, Clone)]
1445pub struct _zend_array {
1446 pub gc: zend_refcounted_h,
1447 pub u: _zend_array__bindgen_ty_1,
1448 pub nTableMask: u32,
1449 pub arData: *mut Bucket,
1450 pub nNumUsed: u32,
1451 pub nNumOfElements: u32,
1452 pub nTableSize: u32,
1453 pub nInternalPointer: u32,
1454 pub nNextFreeElement: zend_long,
1455 pub pDestructor: dtor_func_t,
1456}
1457#[repr(C)]
1458#[derive(Copy, Clone)]
1459pub union _zend_array__bindgen_ty_1 {
1460 pub v: _zend_array__bindgen_ty_1__bindgen_ty_1,
1461 pub flags: u32,
1462}
1463#[repr(C)]
1464#[derive(Debug, Copy, Clone)]
1465pub struct _zend_array__bindgen_ty_1__bindgen_ty_1 {
1466 pub flags: zend_uchar,
1467 pub _unused: zend_uchar,
1468 pub nIteratorsCount: zend_uchar,
1469 pub _unused2: zend_uchar,
1470}
1471#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1472const _: () = {
1473 ["Size of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1474 [::std::mem::size_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1475 ["Alignment of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1476 [::std::mem::align_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 1usize];
1477 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::flags"]
1478 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, flags) - 0usize];
1479 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::_unused"]
1480 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, _unused) - 1usize];
1481 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::nIteratorsCount"]
1482 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, nIteratorsCount) - 2usize];
1483 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::_unused2"]
1484 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, _unused2) - 3usize];
1485};
1486#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1487const _: () = {
1488 ["Size of _zend_array__bindgen_ty_1"]
1489 [::std::mem::size_of::<_zend_array__bindgen_ty_1>() - 4usize];
1490 ["Alignment of _zend_array__bindgen_ty_1"]
1491 [::std::mem::align_of::<_zend_array__bindgen_ty_1>() - 4usize];
1492 ["Offset of field: _zend_array__bindgen_ty_1::v"]
1493 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, v) - 0usize];
1494 ["Offset of field: _zend_array__bindgen_ty_1::flags"]
1495 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, flags) - 0usize];
1496};
1497#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1498const _: () = {
1499 ["Size of _zend_array"][::std::mem::size_of::<_zend_array>() - 56usize];
1500 ["Alignment of _zend_array"][::std::mem::align_of::<_zend_array>() - 8usize];
1501 ["Offset of field: _zend_array::gc"][::std::mem::offset_of!(_zend_array, gc) - 0usize];
1502 ["Offset of field: _zend_array::u"][::std::mem::offset_of!(_zend_array, u) - 8usize];
1503 ["Offset of field: _zend_array::nTableMask"]
1504 [::std::mem::offset_of!(_zend_array, nTableMask) - 12usize];
1505 ["Offset of field: _zend_array::arData"][::std::mem::offset_of!(_zend_array, arData) - 16usize];
1506 ["Offset of field: _zend_array::nNumUsed"]
1507 [::std::mem::offset_of!(_zend_array, nNumUsed) - 24usize];
1508 ["Offset of field: _zend_array::nNumOfElements"]
1509 [::std::mem::offset_of!(_zend_array, nNumOfElements) - 28usize];
1510 ["Offset of field: _zend_array::nTableSize"]
1511 [::std::mem::offset_of!(_zend_array, nTableSize) - 32usize];
1512 ["Offset of field: _zend_array::nInternalPointer"]
1513 [::std::mem::offset_of!(_zend_array, nInternalPointer) - 36usize];
1514 ["Offset of field: _zend_array::nNextFreeElement"]
1515 [::std::mem::offset_of!(_zend_array, nNextFreeElement) - 40usize];
1516 ["Offset of field: _zend_array::pDestructor"]
1517 [::std::mem::offset_of!(_zend_array, pDestructor) - 48usize];
1518};
1519pub type HashPosition = u32;
1520#[repr(C)]
1521#[derive(Debug, Copy, Clone)]
1522pub struct _HashTableIterator {
1523 pub ht: *mut HashTable,
1524 pub pos: HashPosition,
1525}
1526#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1527const _: () = {
1528 ["Size of _HashTableIterator"][::std::mem::size_of::<_HashTableIterator>() - 16usize];
1529 ["Alignment of _HashTableIterator"][::std::mem::align_of::<_HashTableIterator>() - 8usize];
1530 ["Offset of field: _HashTableIterator::ht"]
1531 [::std::mem::offset_of!(_HashTableIterator, ht) - 0usize];
1532 ["Offset of field: _HashTableIterator::pos"]
1533 [::std::mem::offset_of!(_HashTableIterator, pos) - 8usize];
1534};
1535pub type HashTableIterator = _HashTableIterator;
1536#[repr(C)]
1537#[derive(Copy, Clone)]
1538pub struct _zend_object {
1539 pub gc: zend_refcounted_h,
1540 pub handle: u32,
1541 pub ce: *mut zend_class_entry,
1542 pub handlers: *const zend_object_handlers,
1543 pub properties: *mut HashTable,
1544 pub properties_table: [zval; 1usize],
1545}
1546#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1547const _: () = {
1548 ["Size of _zend_object"][::std::mem::size_of::<_zend_object>() - 56usize];
1549 ["Alignment of _zend_object"][::std::mem::align_of::<_zend_object>() - 8usize];
1550 ["Offset of field: _zend_object::gc"][::std::mem::offset_of!(_zend_object, gc) - 0usize];
1551 ["Offset of field: _zend_object::handle"]
1552 [::std::mem::offset_of!(_zend_object, handle) - 8usize];
1553 ["Offset of field: _zend_object::ce"][::std::mem::offset_of!(_zend_object, ce) - 16usize];
1554 ["Offset of field: _zend_object::handlers"]
1555 [::std::mem::offset_of!(_zend_object, handlers) - 24usize];
1556 ["Offset of field: _zend_object::properties"]
1557 [::std::mem::offset_of!(_zend_object, properties) - 32usize];
1558 ["Offset of field: _zend_object::properties_table"]
1559 [::std::mem::offset_of!(_zend_object, properties_table) - 40usize];
1560};
1561#[repr(C)]
1562#[derive(Copy, Clone)]
1563pub struct _zend_resource {
1564 pub gc: zend_refcounted_h,
1565 pub handle: zend_long,
1566 pub type_: ::std::os::raw::c_int,
1567 pub ptr: *mut ::std::os::raw::c_void,
1568}
1569#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1570const _: () = {
1571 ["Size of _zend_resource"][::std::mem::size_of::<_zend_resource>() - 32usize];
1572 ["Alignment of _zend_resource"][::std::mem::align_of::<_zend_resource>() - 8usize];
1573 ["Offset of field: _zend_resource::gc"][::std::mem::offset_of!(_zend_resource, gc) - 0usize];
1574 ["Offset of field: _zend_resource::handle"]
1575 [::std::mem::offset_of!(_zend_resource, handle) - 8usize];
1576 ["Offset of field: _zend_resource::type_"]
1577 [::std::mem::offset_of!(_zend_resource, type_) - 16usize];
1578 ["Offset of field: _zend_resource::ptr"][::std::mem::offset_of!(_zend_resource, ptr) - 24usize];
1579};
1580#[repr(C)]
1581#[derive(Debug, Copy, Clone)]
1582pub struct zend_property_info_list {
1583 pub num: usize,
1584 pub num_allocated: usize,
1585 pub ptr: [*mut _zend_property_info; 1usize],
1586}
1587#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1588const _: () = {
1589 ["Size of zend_property_info_list"][::std::mem::size_of::<zend_property_info_list>() - 24usize];
1590 ["Alignment of zend_property_info_list"]
1591 [::std::mem::align_of::<zend_property_info_list>() - 8usize];
1592 ["Offset of field: zend_property_info_list::num"]
1593 [::std::mem::offset_of!(zend_property_info_list, num) - 0usize];
1594 ["Offset of field: zend_property_info_list::num_allocated"]
1595 [::std::mem::offset_of!(zend_property_info_list, num_allocated) - 8usize];
1596 ["Offset of field: zend_property_info_list::ptr"]
1597 [::std::mem::offset_of!(zend_property_info_list, ptr) - 16usize];
1598};
1599#[repr(C)]
1600#[derive(Copy, Clone)]
1601pub union zend_property_info_source_list {
1602 pub ptr: *mut _zend_property_info,
1603 pub list: usize,
1604}
1605#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1606const _: () = {
1607 ["Size of zend_property_info_source_list"]
1608 [::std::mem::size_of::<zend_property_info_source_list>() - 8usize];
1609 ["Alignment of zend_property_info_source_list"]
1610 [::std::mem::align_of::<zend_property_info_source_list>() - 8usize];
1611 ["Offset of field: zend_property_info_source_list::ptr"]
1612 [::std::mem::offset_of!(zend_property_info_source_list, ptr) - 0usize];
1613 ["Offset of field: zend_property_info_source_list::list"]
1614 [::std::mem::offset_of!(zend_property_info_source_list, list) - 0usize];
1615};
1616#[repr(C)]
1617#[derive(Copy, Clone)]
1618pub struct _zend_reference {
1619 pub gc: zend_refcounted_h,
1620 pub val: zval,
1621 pub sources: zend_property_info_source_list,
1622}
1623#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1624const _: () = {
1625 ["Size of _zend_reference"][::std::mem::size_of::<_zend_reference>() - 32usize];
1626 ["Alignment of _zend_reference"][::std::mem::align_of::<_zend_reference>() - 8usize];
1627 ["Offset of field: _zend_reference::gc"][::std::mem::offset_of!(_zend_reference, gc) - 0usize];
1628 ["Offset of field: _zend_reference::val"]
1629 [::std::mem::offset_of!(_zend_reference, val) - 8usize];
1630 ["Offset of field: _zend_reference::sources"]
1631 [::std::mem::offset_of!(_zend_reference, sources) - 24usize];
1632};
1633#[repr(C)]
1634#[derive(Copy, Clone)]
1635pub struct _zend_ast_ref {
1636 pub gc: zend_refcounted_h,
1637}
1638#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1639const _: () = {
1640 ["Size of _zend_ast_ref"][::std::mem::size_of::<_zend_ast_ref>() - 8usize];
1641 ["Alignment of _zend_ast_ref"][::std::mem::align_of::<_zend_ast_ref>() - 4usize];
1642 ["Offset of field: _zend_ast_ref::gc"][::std::mem::offset_of!(_zend_ast_ref, gc) - 0usize];
1643};
1644extern "C" {
1645 pub fn zend_map_ptr_reset();
1646}
1647extern "C" {
1648 pub fn zend_map_ptr_new() -> *mut ::std::os::raw::c_void;
1649}
1650extern "C" {
1651 pub fn zend_map_ptr_extend(last: usize);
1652}
1653extern "C" {
1654 pub fn zend_alloc_ce_cache(type_name: *mut zend_string);
1655}
1656#[repr(C)]
1657#[derive(Debug, Copy, Clone)]
1658pub struct _zend_leak_info {
1659 pub addr: *mut ::std::os::raw::c_void,
1660 pub size: usize,
1661 pub filename: *const ::std::os::raw::c_char,
1662 pub orig_filename: *const ::std::os::raw::c_char,
1663 pub lineno: u32,
1664 pub orig_lineno: u32,
1665}
1666#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1667const _: () = {
1668 ["Size of _zend_leak_info"][::std::mem::size_of::<_zend_leak_info>() - 40usize];
1669 ["Alignment of _zend_leak_info"][::std::mem::align_of::<_zend_leak_info>() - 8usize];
1670 ["Offset of field: _zend_leak_info::addr"]
1671 [::std::mem::offset_of!(_zend_leak_info, addr) - 0usize];
1672 ["Offset of field: _zend_leak_info::size"]
1673 [::std::mem::offset_of!(_zend_leak_info, size) - 8usize];
1674 ["Offset of field: _zend_leak_info::filename"]
1675 [::std::mem::offset_of!(_zend_leak_info, filename) - 16usize];
1676 ["Offset of field: _zend_leak_info::orig_filename"]
1677 [::std::mem::offset_of!(_zend_leak_info, orig_filename) - 24usize];
1678 ["Offset of field: _zend_leak_info::lineno"]
1679 [::std::mem::offset_of!(_zend_leak_info, lineno) - 32usize];
1680 ["Offset of field: _zend_leak_info::orig_lineno"]
1681 [::std::mem::offset_of!(_zend_leak_info, orig_lineno) - 36usize];
1682};
1683pub type zend_leak_info = _zend_leak_info;
1684extern "C" {
1685 pub fn zend_strndup(
1686 s: *const ::std::os::raw::c_char,
1687 length: usize,
1688 ) -> *mut ::std::os::raw::c_char;
1689}
1690extern "C" {
1691 pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> usize;
1692}
1693extern "C" {
1694 pub fn zend_set_memory_limit(memory_limit: usize) -> zend_result;
1695}
1696extern "C" {
1697 pub fn zend_alloc_in_memory_limit_error_reporting() -> bool;
1698}
1699extern "C" {
1700 pub fn zend_memory_usage(real_usage: bool) -> usize;
1701}
1702extern "C" {
1703 pub fn zend_memory_peak_usage(real_usage: bool) -> usize;
1704}
1705#[repr(C)]
1706#[derive(Debug, Copy, Clone)]
1707pub struct _zend_mm_heap {
1708 _unused: [u8; 0],
1709}
1710pub type zend_mm_heap = _zend_mm_heap;
1711extern "C" {
1712 pub fn zend_mm_startup() -> *mut zend_mm_heap;
1713}
1714extern "C" {
1715 pub fn zend_mm_shutdown(heap: *mut zend_mm_heap, full_shutdown: bool, silent: bool);
1716}
1717extern "C" {
1718 pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: usize) -> *mut ::std::os::raw::c_void;
1719}
1720extern "C" {
1721 pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
1722}
1723extern "C" {
1724 pub fn _zend_mm_realloc(
1725 heap: *mut zend_mm_heap,
1726 p: *mut ::std::os::raw::c_void,
1727 size: usize,
1728 ) -> *mut ::std::os::raw::c_void;
1729}
1730extern "C" {
1731 pub fn _zend_mm_realloc2(
1732 heap: *mut zend_mm_heap,
1733 p: *mut ::std::os::raw::c_void,
1734 size: usize,
1735 copy_size: usize,
1736 ) -> *mut ::std::os::raw::c_void;
1737}
1738extern "C" {
1739 pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> usize;
1740}
1741extern "C" {
1742 pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
1743}
1744extern "C" {
1745 pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
1746}
1747extern "C" {
1748 pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> usize;
1749}
1750extern "C" {
1751 pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> bool;
1752}
1753extern "C" {
1754 pub fn zend_mm_set_custom_handlers(
1755 heap: *mut zend_mm_heap,
1756 _malloc: ::std::option::Option<
1757 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1758 >,
1759 _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1760 _realloc: ::std::option::Option<
1761 unsafe extern "C" fn(
1762 arg1: *mut ::std::os::raw::c_void,
1763 arg2: usize,
1764 ) -> *mut ::std::os::raw::c_void,
1765 >,
1766 );
1767}
1768extern "C" {
1769 pub fn zend_mm_get_custom_handlers(
1770 heap: *mut zend_mm_heap,
1771 _malloc: *mut ::std::option::Option<
1772 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1773 >,
1774 _free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1775 _realloc: *mut ::std::option::Option<
1776 unsafe extern "C" fn(
1777 arg1: *mut ::std::os::raw::c_void,
1778 arg2: usize,
1779 ) -> *mut ::std::os::raw::c_void,
1780 >,
1781 );
1782}
1783pub type zend_mm_storage = _zend_mm_storage;
1784pub type zend_mm_chunk_alloc_t = ::std::option::Option<
1785 unsafe extern "C" fn(
1786 storage: *mut zend_mm_storage,
1787 size: usize,
1788 alignment: usize,
1789 ) -> *mut ::std::os::raw::c_void,
1790>;
1791pub type zend_mm_chunk_free_t = ::std::option::Option<
1792 unsafe extern "C" fn(
1793 storage: *mut zend_mm_storage,
1794 chunk: *mut ::std::os::raw::c_void,
1795 size: usize,
1796 ),
1797>;
1798pub type zend_mm_chunk_truncate_t = ::std::option::Option<
1799 unsafe extern "C" fn(
1800 storage: *mut zend_mm_storage,
1801 chunk: *mut ::std::os::raw::c_void,
1802 old_size: usize,
1803 new_size: usize,
1804 ) -> bool,
1805>;
1806pub type zend_mm_chunk_extend_t = ::std::option::Option<
1807 unsafe extern "C" fn(
1808 storage: *mut zend_mm_storage,
1809 chunk: *mut ::std::os::raw::c_void,
1810 old_size: usize,
1811 new_size: usize,
1812 ) -> bool,
1813>;
1814#[repr(C)]
1815#[derive(Debug, Copy, Clone)]
1816pub struct _zend_mm_handlers {
1817 pub chunk_alloc: zend_mm_chunk_alloc_t,
1818 pub chunk_free: zend_mm_chunk_free_t,
1819 pub chunk_truncate: zend_mm_chunk_truncate_t,
1820 pub chunk_extend: zend_mm_chunk_extend_t,
1821}
1822#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1823const _: () = {
1824 ["Size of _zend_mm_handlers"][::std::mem::size_of::<_zend_mm_handlers>() - 32usize];
1825 ["Alignment of _zend_mm_handlers"][::std::mem::align_of::<_zend_mm_handlers>() - 8usize];
1826 ["Offset of field: _zend_mm_handlers::chunk_alloc"]
1827 [::std::mem::offset_of!(_zend_mm_handlers, chunk_alloc) - 0usize];
1828 ["Offset of field: _zend_mm_handlers::chunk_free"]
1829 [::std::mem::offset_of!(_zend_mm_handlers, chunk_free) - 8usize];
1830 ["Offset of field: _zend_mm_handlers::chunk_truncate"]
1831 [::std::mem::offset_of!(_zend_mm_handlers, chunk_truncate) - 16usize];
1832 ["Offset of field: _zend_mm_handlers::chunk_extend"]
1833 [::std::mem::offset_of!(_zend_mm_handlers, chunk_extend) - 24usize];
1834};
1835pub type zend_mm_handlers = _zend_mm_handlers;
1836#[repr(C)]
1837#[derive(Debug, Copy, Clone)]
1838pub struct _zend_mm_storage {
1839 pub handlers: zend_mm_handlers,
1840 pub data: *mut ::std::os::raw::c_void,
1841}
1842#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1843const _: () = {
1844 ["Size of _zend_mm_storage"][::std::mem::size_of::<_zend_mm_storage>() - 40usize];
1845 ["Alignment of _zend_mm_storage"][::std::mem::align_of::<_zend_mm_storage>() - 8usize];
1846 ["Offset of field: _zend_mm_storage::handlers"]
1847 [::std::mem::offset_of!(_zend_mm_storage, handlers) - 0usize];
1848 ["Offset of field: _zend_mm_storage::data"]
1849 [::std::mem::offset_of!(_zend_mm_storage, data) - 32usize];
1850};
1851extern "C" {
1852 pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
1853}
1854extern "C" {
1855 pub fn zend_mm_startup_ex(
1856 handlers: *const zend_mm_handlers,
1857 data: *mut ::std::os::raw::c_void,
1858 data_size: usize,
1859 ) -> *mut zend_mm_heap;
1860}
1861#[repr(C)]
1862#[derive(Debug, Copy, Clone)]
1863pub struct _zend_llist_element {
1864 pub next: *mut _zend_llist_element,
1865 pub prev: *mut _zend_llist_element,
1866 pub data: [::std::os::raw::c_char; 1usize],
1867}
1868#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1869const _: () = {
1870 ["Size of _zend_llist_element"][::std::mem::size_of::<_zend_llist_element>() - 24usize];
1871 ["Alignment of _zend_llist_element"][::std::mem::align_of::<_zend_llist_element>() - 8usize];
1872 ["Offset of field: _zend_llist_element::next"]
1873 [::std::mem::offset_of!(_zend_llist_element, next) - 0usize];
1874 ["Offset of field: _zend_llist_element::prev"]
1875 [::std::mem::offset_of!(_zend_llist_element, prev) - 8usize];
1876 ["Offset of field: _zend_llist_element::data"]
1877 [::std::mem::offset_of!(_zend_llist_element, data) - 16usize];
1878};
1879pub type zend_llist_element = _zend_llist_element;
1880pub type llist_dtor_func_t =
1881 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1882pub type llist_compare_func_t = ::std::option::Option<
1883 unsafe extern "C" fn(
1884 arg1: *mut *const zend_llist_element,
1885 arg2: *mut *const zend_llist_element,
1886 ) -> ::std::os::raw::c_int,
1887>;
1888pub type llist_apply_with_args_func_t = ::std::option::Option<
1889 unsafe extern "C" fn(
1890 data: *mut ::std::os::raw::c_void,
1891 num_args: ::std::os::raw::c_int,
1892 args: *mut __va_list_tag,
1893 ),
1894>;
1895pub type llist_apply_with_arg_func_t = ::std::option::Option<
1896 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
1897>;
1898pub type llist_apply_func_t =
1899 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1900#[repr(C)]
1901#[derive(Debug, Copy, Clone)]
1902pub struct _zend_llist {
1903 pub head: *mut zend_llist_element,
1904 pub tail: *mut zend_llist_element,
1905 pub count: usize,
1906 pub size: usize,
1907 pub dtor: llist_dtor_func_t,
1908 pub persistent: ::std::os::raw::c_uchar,
1909 pub traverse_ptr: *mut zend_llist_element,
1910}
1911#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1912const _: () = {
1913 ["Size of _zend_llist"][::std::mem::size_of::<_zend_llist>() - 56usize];
1914 ["Alignment of _zend_llist"][::std::mem::align_of::<_zend_llist>() - 8usize];
1915 ["Offset of field: _zend_llist::head"][::std::mem::offset_of!(_zend_llist, head) - 0usize];
1916 ["Offset of field: _zend_llist::tail"][::std::mem::offset_of!(_zend_llist, tail) - 8usize];
1917 ["Offset of field: _zend_llist::count"][::std::mem::offset_of!(_zend_llist, count) - 16usize];
1918 ["Offset of field: _zend_llist::size"][::std::mem::offset_of!(_zend_llist, size) - 24usize];
1919 ["Offset of field: _zend_llist::dtor"][::std::mem::offset_of!(_zend_llist, dtor) - 32usize];
1920 ["Offset of field: _zend_llist::persistent"]
1921 [::std::mem::offset_of!(_zend_llist, persistent) - 40usize];
1922 ["Offset of field: _zend_llist::traverse_ptr"]
1923 [::std::mem::offset_of!(_zend_llist, traverse_ptr) - 48usize];
1924};
1925pub type zend_llist = _zend_llist;
1926pub type zend_llist_position = *mut zend_llist_element;
1927extern "C" {
1928 pub fn zend_llist_init(
1929 l: *mut zend_llist,
1930 size: usize,
1931 dtor: llist_dtor_func_t,
1932 persistent: ::std::os::raw::c_uchar,
1933 );
1934}
1935extern "C" {
1936 pub fn zend_llist_add_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
1937}
1938extern "C" {
1939 pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
1940}
1941extern "C" {
1942 pub fn zend_llist_del_element(
1943 l: *mut zend_llist,
1944 element: *mut ::std::os::raw::c_void,
1945 compare: ::std::option::Option<
1946 unsafe extern "C" fn(
1947 element1: *mut ::std::os::raw::c_void,
1948 element2: *mut ::std::os::raw::c_void,
1949 ) -> ::std::os::raw::c_int,
1950 >,
1951 );
1952}
1953extern "C" {
1954 pub fn zend_llist_destroy(l: *mut zend_llist);
1955}
1956extern "C" {
1957 pub fn zend_llist_clean(l: *mut zend_llist);
1958}
1959extern "C" {
1960 pub fn zend_llist_remove_tail(l: *mut zend_llist);
1961}
1962extern "C" {
1963 pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
1964}
1965extern "C" {
1966 pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
1967}
1968extern "C" {
1969 pub fn zend_llist_apply_with_del(
1970 l: *mut zend_llist,
1971 func: ::std::option::Option<
1972 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1973 >,
1974 );
1975}
1976extern "C" {
1977 pub fn zend_llist_apply_with_argument(
1978 l: *mut zend_llist,
1979 func: llist_apply_with_arg_func_t,
1980 arg: *mut ::std::os::raw::c_void,
1981 );
1982}
1983extern "C" {
1984 pub fn zend_llist_apply_with_arguments(
1985 l: *mut zend_llist,
1986 func: llist_apply_with_args_func_t,
1987 num_args: ::std::os::raw::c_int,
1988 ...
1989 );
1990}
1991extern "C" {
1992 pub fn zend_llist_count(l: *mut zend_llist) -> usize;
1993}
1994extern "C" {
1995 pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
1996}
1997extern "C" {
1998 pub fn zend_llist_get_first_ex(
1999 l: *mut zend_llist,
2000 pos: *mut zend_llist_position,
2001 ) -> *mut ::std::os::raw::c_void;
2002}
2003extern "C" {
2004 pub fn zend_llist_get_last_ex(
2005 l: *mut zend_llist,
2006 pos: *mut zend_llist_position,
2007 ) -> *mut ::std::os::raw::c_void;
2008}
2009extern "C" {
2010 pub fn zend_llist_get_next_ex(
2011 l: *mut zend_llist,
2012 pos: *mut zend_llist_position,
2013 ) -> *mut ::std::os::raw::c_void;
2014}
2015extern "C" {
2016 pub fn zend_llist_get_prev_ex(
2017 l: *mut zend_llist,
2018 pos: *mut zend_llist_position,
2019 ) -> *mut ::std::os::raw::c_void;
2020}
2021pub type zend_string_copy_storage_func_t = ::std::option::Option<unsafe extern "C" fn()>;
2022pub type zend_new_interned_string_func_t =
2023 ::std::option::Option<unsafe extern "C" fn(str_: *mut zend_string) -> *mut zend_string>;
2024pub type zend_string_init_interned_func_t = ::std::option::Option<
2025 unsafe extern "C" fn(
2026 str_: *const ::std::os::raw::c_char,
2027 size: usize,
2028 permanent: bool,
2029 ) -> *mut zend_string,
2030>;
2031pub type zend_string_init_existing_interned_func_t = ::std::option::Option<
2032 unsafe extern "C" fn(
2033 str_: *const ::std::os::raw::c_char,
2034 size: usize,
2035 permanent: bool,
2036 ) -> *mut zend_string,
2037>;
2038extern "C" {
2039 pub static mut zend_new_interned_string: zend_new_interned_string_func_t;
2040}
2041extern "C" {
2042 pub static mut zend_string_init_interned: zend_string_init_interned_func_t;
2043}
2044extern "C" {
2045 pub static mut zend_string_init_existing_interned: zend_string_init_existing_interned_func_t;
2046}
2047extern "C" {
2048 pub fn zend_string_hash_func(str_: *mut zend_string) -> zend_ulong;
2049}
2050extern "C" {
2051 pub fn zend_hash_func(str_: *const ::std::os::raw::c_char, len: usize) -> zend_ulong;
2052}
2053extern "C" {
2054 pub fn zend_interned_string_find_permanent(str_: *mut zend_string) -> *mut zend_string;
2055}
2056extern "C" {
2057 pub fn zend_string_concat2(
2058 str1: *const ::std::os::raw::c_char,
2059 str1_len: usize,
2060 str2: *const ::std::os::raw::c_char,
2061 str2_len: usize,
2062 ) -> *mut zend_string;
2063}
2064extern "C" {
2065 pub fn zend_string_concat3(
2066 str1: *const ::std::os::raw::c_char,
2067 str1_len: usize,
2068 str2: *const ::std::os::raw::c_char,
2069 str2_len: usize,
2070 str3: *const ::std::os::raw::c_char,
2071 str3_len: usize,
2072 ) -> *mut zend_string;
2073}
2074extern "C" {
2075 pub fn zend_interned_strings_init();
2076}
2077extern "C" {
2078 pub fn zend_interned_strings_dtor();
2079}
2080extern "C" {
2081 pub fn zend_interned_strings_activate();
2082}
2083extern "C" {
2084 pub fn zend_interned_strings_deactivate();
2085}
2086extern "C" {
2087 pub fn zend_interned_strings_set_request_storage_handlers(
2088 handler: zend_new_interned_string_func_t,
2089 init_handler: zend_string_init_interned_func_t,
2090 init_existing_handler: zend_string_init_existing_interned_func_t,
2091 );
2092}
2093extern "C" {
2094 pub fn zend_interned_strings_switch_storage(request: bool);
2095}
2096extern "C" {
2097 pub static mut zend_empty_string: *mut zend_string;
2098}
2099extern "C" {
2100 pub static mut zend_one_char_string: [*mut zend_string; 256usize];
2101}
2102extern "C" {
2103 pub static mut zend_known_strings: *mut *mut zend_string;
2104}
2105extern "C" {
2106 pub fn zend_string_equal_val(s1: *mut zend_string, s2: *mut zend_string) -> bool;
2107}
2108pub const _zend_known_string_id_ZEND_STR_FILE: _zend_known_string_id = 0;
2109pub const _zend_known_string_id_ZEND_STR_LINE: _zend_known_string_id = 1;
2110pub const _zend_known_string_id_ZEND_STR_FUNCTION: _zend_known_string_id = 2;
2111pub const _zend_known_string_id_ZEND_STR_CLASS: _zend_known_string_id = 3;
2112pub const _zend_known_string_id_ZEND_STR_OBJECT: _zend_known_string_id = 4;
2113pub const _zend_known_string_id_ZEND_STR_TYPE: _zend_known_string_id = 5;
2114pub const _zend_known_string_id_ZEND_STR_OBJECT_OPERATOR: _zend_known_string_id = 6;
2115pub const _zend_known_string_id_ZEND_STR_PAAMAYIM_NEKUDOTAYIM: _zend_known_string_id = 7;
2116pub const _zend_known_string_id_ZEND_STR_ARGS: _zend_known_string_id = 8;
2117pub const _zend_known_string_id_ZEND_STR_UNKNOWN: _zend_known_string_id = 9;
2118pub const _zend_known_string_id_ZEND_STR_UNKNOWN_CAPITALIZED: _zend_known_string_id = 10;
2119pub const _zend_known_string_id_ZEND_STR_EVAL: _zend_known_string_id = 11;
2120pub const _zend_known_string_id_ZEND_STR_INCLUDE: _zend_known_string_id = 12;
2121pub const _zend_known_string_id_ZEND_STR_REQUIRE: _zend_known_string_id = 13;
2122pub const _zend_known_string_id_ZEND_STR_INCLUDE_ONCE: _zend_known_string_id = 14;
2123pub const _zend_known_string_id_ZEND_STR_REQUIRE_ONCE: _zend_known_string_id = 15;
2124pub const _zend_known_string_id_ZEND_STR_SCALAR: _zend_known_string_id = 16;
2125pub const _zend_known_string_id_ZEND_STR_ERROR_REPORTING: _zend_known_string_id = 17;
2126pub const _zend_known_string_id_ZEND_STR_STATIC: _zend_known_string_id = 18;
2127pub const _zend_known_string_id_ZEND_STR_THIS: _zend_known_string_id = 19;
2128pub const _zend_known_string_id_ZEND_STR_VALUE: _zend_known_string_id = 20;
2129pub const _zend_known_string_id_ZEND_STR_KEY: _zend_known_string_id = 21;
2130pub const _zend_known_string_id_ZEND_STR_MAGIC_INVOKE: _zend_known_string_id = 22;
2131pub const _zend_known_string_id_ZEND_STR_PREVIOUS: _zend_known_string_id = 23;
2132pub const _zend_known_string_id_ZEND_STR_CODE: _zend_known_string_id = 24;
2133pub const _zend_known_string_id_ZEND_STR_MESSAGE: _zend_known_string_id = 25;
2134pub const _zend_known_string_id_ZEND_STR_SEVERITY: _zend_known_string_id = 26;
2135pub const _zend_known_string_id_ZEND_STR_STRING: _zend_known_string_id = 27;
2136pub const _zend_known_string_id_ZEND_STR_TRACE: _zend_known_string_id = 28;
2137pub const _zend_known_string_id_ZEND_STR_SCHEME: _zend_known_string_id = 29;
2138pub const _zend_known_string_id_ZEND_STR_HOST: _zend_known_string_id = 30;
2139pub const _zend_known_string_id_ZEND_STR_PORT: _zend_known_string_id = 31;
2140pub const _zend_known_string_id_ZEND_STR_USER: _zend_known_string_id = 32;
2141pub const _zend_known_string_id_ZEND_STR_PASS: _zend_known_string_id = 33;
2142pub const _zend_known_string_id_ZEND_STR_PATH: _zend_known_string_id = 34;
2143pub const _zend_known_string_id_ZEND_STR_QUERY: _zend_known_string_id = 35;
2144pub const _zend_known_string_id_ZEND_STR_FRAGMENT: _zend_known_string_id = 36;
2145pub const _zend_known_string_id_ZEND_STR_NULL: _zend_known_string_id = 37;
2146pub const _zend_known_string_id_ZEND_STR_BOOLEAN: _zend_known_string_id = 38;
2147pub const _zend_known_string_id_ZEND_STR_INTEGER: _zend_known_string_id = 39;
2148pub const _zend_known_string_id_ZEND_STR_DOUBLE: _zend_known_string_id = 40;
2149pub const _zend_known_string_id_ZEND_STR_ARRAY: _zend_known_string_id = 41;
2150pub const _zend_known_string_id_ZEND_STR_RESOURCE: _zend_known_string_id = 42;
2151pub const _zend_known_string_id_ZEND_STR_CLOSED_RESOURCE: _zend_known_string_id = 43;
2152pub const _zend_known_string_id_ZEND_STR_NAME: _zend_known_string_id = 44;
2153pub const _zend_known_string_id_ZEND_STR_ARGV: _zend_known_string_id = 45;
2154pub const _zend_known_string_id_ZEND_STR_ARGC: _zend_known_string_id = 46;
2155pub const _zend_known_string_id_ZEND_STR_ARRAY_CAPITALIZED: _zend_known_string_id = 47;
2156pub const _zend_known_string_id_ZEND_STR_BOOL: _zend_known_string_id = 48;
2157pub const _zend_known_string_id_ZEND_STR_INT: _zend_known_string_id = 49;
2158pub const _zend_known_string_id_ZEND_STR_FLOAT: _zend_known_string_id = 50;
2159pub const _zend_known_string_id_ZEND_STR_CALLABLE: _zend_known_string_id = 51;
2160pub const _zend_known_string_id_ZEND_STR_ITERABLE: _zend_known_string_id = 52;
2161pub const _zend_known_string_id_ZEND_STR_VOID: _zend_known_string_id = 53;
2162pub const _zend_known_string_id_ZEND_STR_NEVER: _zend_known_string_id = 54;
2163pub const _zend_known_string_id_ZEND_STR_FALSE: _zend_known_string_id = 55;
2164pub const _zend_known_string_id_ZEND_STR_NULL_LOWERCASE: _zend_known_string_id = 56;
2165pub const _zend_known_string_id_ZEND_STR_MIXED: _zend_known_string_id = 57;
2166pub const _zend_known_string_id_ZEND_STR_SLEEP: _zend_known_string_id = 58;
2167pub const _zend_known_string_id_ZEND_STR_WAKEUP: _zend_known_string_id = 59;
2168pub const _zend_known_string_id_ZEND_STR_CASES: _zend_known_string_id = 60;
2169pub const _zend_known_string_id_ZEND_STR_FROM: _zend_known_string_id = 61;
2170pub const _zend_known_string_id_ZEND_STR_TRYFROM: _zend_known_string_id = 62;
2171pub const _zend_known_string_id_ZEND_STR_TRYFROM_LOWERCASE: _zend_known_string_id = 63;
2172pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_SERVER: _zend_known_string_id = 64;
2173pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_ENV: _zend_known_string_id = 65;
2174pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_REQUEST: _zend_known_string_id = 66;
2175pub const _zend_known_string_id_ZEND_STR_LAST_KNOWN: _zend_known_string_id = 67;
2176pub type _zend_known_string_id = ::std::os::raw::c_uint;
2177pub use self::_zend_known_string_id as zend_known_string_id;
2178extern "C" {
2179 pub static zend_empty_array: HashTable;
2180}
2181#[repr(C)]
2182#[derive(Debug, Copy, Clone)]
2183pub struct _zend_hash_key {
2184 pub h: zend_ulong,
2185 pub key: *mut zend_string,
2186}
2187#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2188const _: () = {
2189 ["Size of _zend_hash_key"][::std::mem::size_of::<_zend_hash_key>() - 16usize];
2190 ["Alignment of _zend_hash_key"][::std::mem::align_of::<_zend_hash_key>() - 8usize];
2191 ["Offset of field: _zend_hash_key::h"][::std::mem::offset_of!(_zend_hash_key, h) - 0usize];
2192 ["Offset of field: _zend_hash_key::key"][::std::mem::offset_of!(_zend_hash_key, key) - 8usize];
2193};
2194pub type zend_hash_key = _zend_hash_key;
2195pub type merge_checker_func_t = ::std::option::Option<
2196 unsafe extern "C" fn(
2197 target_ht: *mut HashTable,
2198 source_data: *mut zval,
2199 hash_key: *mut zend_hash_key,
2200 pParam: *mut ::std::os::raw::c_void,
2201 ) -> bool,
2202>;
2203extern "C" {
2204 pub fn _zend_hash_init(
2205 ht: *mut HashTable,
2206 nSize: u32,
2207 pDestructor: dtor_func_t,
2208 persistent: bool,
2209 );
2210}
2211extern "C" {
2212 pub fn zend_hash_destroy(ht: *mut HashTable);
2213}
2214extern "C" {
2215 pub fn zend_hash_clean(ht: *mut HashTable);
2216}
2217extern "C" {
2218 pub fn zend_hash_real_init(ht: *mut HashTable, packed: bool);
2219}
2220extern "C" {
2221 pub fn zend_hash_real_init_packed(ht: *mut HashTable);
2222}
2223extern "C" {
2224 pub fn zend_hash_real_init_mixed(ht: *mut HashTable);
2225}
2226extern "C" {
2227 pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
2228}
2229extern "C" {
2230 pub fn zend_hash_to_packed(ht: *mut HashTable);
2231}
2232extern "C" {
2233 pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: bool);
2234}
2235extern "C" {
2236 pub fn zend_hash_discard(ht: *mut HashTable, nNumUsed: u32);
2237}
2238extern "C" {
2239 pub fn zend_hash_packed_grow(ht: *mut HashTable);
2240}
2241extern "C" {
2242 pub fn zend_hash_add_or_update(
2243 ht: *mut HashTable,
2244 key: *mut zend_string,
2245 pData: *mut zval,
2246 flag: u32,
2247 ) -> *mut zval;
2248}
2249extern "C" {
2250 pub fn zend_hash_update(
2251 ht: *mut HashTable,
2252 key: *mut zend_string,
2253 pData: *mut zval,
2254 ) -> *mut zval;
2255}
2256extern "C" {
2257 pub fn zend_hash_update_ind(
2258 ht: *mut HashTable,
2259 key: *mut zend_string,
2260 pData: *mut zval,
2261 ) -> *mut zval;
2262}
2263extern "C" {
2264 pub fn zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval) -> *mut zval;
2265}
2266extern "C" {
2267 pub fn zend_hash_add_new(
2268 ht: *mut HashTable,
2269 key: *mut zend_string,
2270 pData: *mut zval,
2271 ) -> *mut zval;
2272}
2273extern "C" {
2274 pub fn zend_hash_str_add_or_update(
2275 ht: *mut HashTable,
2276 key: *const ::std::os::raw::c_char,
2277 len: usize,
2278 pData: *mut zval,
2279 flag: u32,
2280 ) -> *mut zval;
2281}
2282extern "C" {
2283 pub fn zend_hash_str_update(
2284 ht: *mut HashTable,
2285 key: *const ::std::os::raw::c_char,
2286 len: usize,
2287 pData: *mut zval,
2288 ) -> *mut zval;
2289}
2290extern "C" {
2291 pub fn zend_hash_str_update_ind(
2292 ht: *mut HashTable,
2293 key: *const ::std::os::raw::c_char,
2294 len: usize,
2295 pData: *mut zval,
2296 ) -> *mut zval;
2297}
2298extern "C" {
2299 pub fn zend_hash_str_add(
2300 ht: *mut HashTable,
2301 key: *const ::std::os::raw::c_char,
2302 len: usize,
2303 pData: *mut zval,
2304 ) -> *mut zval;
2305}
2306extern "C" {
2307 pub fn zend_hash_str_add_new(
2308 ht: *mut HashTable,
2309 key: *const ::std::os::raw::c_char,
2310 len: usize,
2311 pData: *mut zval,
2312 ) -> *mut zval;
2313}
2314extern "C" {
2315 pub fn zend_hash_index_add_or_update(
2316 ht: *mut HashTable,
2317 h: zend_ulong,
2318 pData: *mut zval,
2319 flag: u32,
2320 ) -> *mut zval;
2321}
2322extern "C" {
2323 pub fn zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
2324}
2325extern "C" {
2326 pub fn zend_hash_index_add_new(
2327 ht: *mut HashTable,
2328 h: zend_ulong,
2329 pData: *mut zval,
2330 ) -> *mut zval;
2331}
2332extern "C" {
2333 pub fn zend_hash_index_update(ht: *mut HashTable, h: zend_ulong, pData: *mut zval)
2334 -> *mut zval;
2335}
2336extern "C" {
2337 pub fn zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2338}
2339extern "C" {
2340 pub fn zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2341}
2342extern "C" {
2343 pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
2344}
2345extern "C" {
2346 pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
2347}
2348extern "C" {
2349 pub fn zend_hash_str_add_empty_element(
2350 ht: *mut HashTable,
2351 key: *const ::std::os::raw::c_char,
2352 len: usize,
2353 ) -> *mut zval;
2354}
2355extern "C" {
2356 pub fn zend_hash_set_bucket_key(
2357 ht: *mut HashTable,
2358 p: *mut Bucket,
2359 key: *mut zend_string,
2360 ) -> *mut zval;
2361}
2362pub type apply_func_t =
2363 ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval) -> ::std::os::raw::c_int>;
2364pub type apply_func_arg_t = ::std::option::Option<
2365 unsafe extern "C" fn(
2366 pDest: *mut zval,
2367 argument: *mut ::std::os::raw::c_void,
2368 ) -> ::std::os::raw::c_int,
2369>;
2370pub type apply_func_args_t = ::std::option::Option<
2371 unsafe extern "C" fn(
2372 pDest: *mut zval,
2373 num_args: ::std::os::raw::c_int,
2374 args: *mut __va_list_tag,
2375 hash_key: *mut zend_hash_key,
2376 ) -> ::std::os::raw::c_int,
2377>;
2378extern "C" {
2379 pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
2380}
2381extern "C" {
2382 pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
2383}
2384extern "C" {
2385 pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
2386}
2387extern "C" {
2388 pub fn zend_hash_apply_with_argument(
2389 ht: *mut HashTable,
2390 apply_func: apply_func_arg_t,
2391 arg1: *mut ::std::os::raw::c_void,
2392 );
2393}
2394extern "C" {
2395 pub fn zend_hash_apply_with_arguments(
2396 ht: *mut HashTable,
2397 apply_func: apply_func_args_t,
2398 arg1: ::std::os::raw::c_int,
2399 ...
2400 );
2401}
2402extern "C" {
2403 pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
2404}
2405extern "C" {
2406 pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
2407}
2408extern "C" {
2409 pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
2410}
2411extern "C" {
2412 pub fn zend_hash_str_del(
2413 ht: *mut HashTable,
2414 key: *const ::std::os::raw::c_char,
2415 len: usize,
2416 ) -> zend_result;
2417}
2418extern "C" {
2419 pub fn zend_hash_str_del_ind(
2420 ht: *mut HashTable,
2421 key: *const ::std::os::raw::c_char,
2422 len: usize,
2423 ) -> zend_result;
2424}
2425extern "C" {
2426 pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> zend_result;
2427}
2428extern "C" {
2429 pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
2430}
2431extern "C" {
2432 pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
2433}
2434extern "C" {
2435 pub fn zend_hash_str_find(
2436 ht: *const HashTable,
2437 key: *const ::std::os::raw::c_char,
2438 len: usize,
2439 ) -> *mut zval;
2440}
2441extern "C" {
2442 pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2443}
2444extern "C" {
2445 pub fn _zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2446}
2447extern "C" {
2448 pub fn zend_hash_find_known_hash(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
2449}
2450extern "C" {
2451 pub fn zend_hash_lookup(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
2452}
2453extern "C" {
2454 pub fn zend_hash_index_lookup(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
2455}
2456extern "C" {
2457 pub fn zend_hash_get_current_pos(ht: *const HashTable) -> HashPosition;
2458}
2459extern "C" {
2460 pub fn zend_hash_move_forward_ex(ht: *mut HashTable, pos: *mut HashPosition) -> zend_result;
2461}
2462extern "C" {
2463 pub fn zend_hash_move_backwards_ex(ht: *mut HashTable, pos: *mut HashPosition) -> zend_result;
2464}
2465extern "C" {
2466 pub fn zend_hash_get_current_key_ex(
2467 ht: *const HashTable,
2468 str_index: *mut *mut zend_string,
2469 num_index: *mut zend_ulong,
2470 pos: *mut HashPosition,
2471 ) -> ::std::os::raw::c_int;
2472}
2473extern "C" {
2474 pub fn zend_hash_get_current_key_zval_ex(
2475 ht: *const HashTable,
2476 key: *mut zval,
2477 pos: *mut HashPosition,
2478 );
2479}
2480extern "C" {
2481 pub fn zend_hash_get_current_key_type_ex(
2482 ht: *mut HashTable,
2483 pos: *mut HashPosition,
2484 ) -> ::std::os::raw::c_int;
2485}
2486extern "C" {
2487 pub fn zend_hash_get_current_data_ex(ht: *mut HashTable, pos: *mut HashPosition) -> *mut zval;
2488}
2489extern "C" {
2490 pub fn zend_hash_internal_pointer_reset_ex(ht: *mut HashTable, pos: *mut HashPosition);
2491}
2492extern "C" {
2493 pub fn zend_hash_internal_pointer_end_ex(ht: *mut HashTable, pos: *mut HashPosition);
2494}
2495extern "C" {
2496 pub fn zend_hash_copy(
2497 target: *mut HashTable,
2498 source: *mut HashTable,
2499 pCopyConstructor: copy_ctor_func_t,
2500 );
2501}
2502extern "C" {
2503 pub fn zend_hash_merge(
2504 target: *mut HashTable,
2505 source: *mut HashTable,
2506 pCopyConstructor: copy_ctor_func_t,
2507 overwrite: bool,
2508 );
2509}
2510extern "C" {
2511 pub fn zend_hash_merge_ex(
2512 target: *mut HashTable,
2513 source: *mut HashTable,
2514 pCopyConstructor: copy_ctor_func_t,
2515 pMergeSource: merge_checker_func_t,
2516 pParam: *mut ::std::os::raw::c_void,
2517 );
2518}
2519extern "C" {
2520 pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
2521}
2522extern "C" {
2523 pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
2524}
2525extern "C" {
2526 pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
2527}
2528pub type bucket_compare_func_t = ::std::option::Option<
2529 unsafe extern "C" fn(a: *mut Bucket, b: *mut Bucket) -> ::std::os::raw::c_int,
2530>;
2531extern "C" {
2532 pub fn zend_hash_compare(
2533 ht1: *mut HashTable,
2534 ht2: *mut HashTable,
2535 compar: compare_func_t,
2536 ordered: bool,
2537 ) -> ::std::os::raw::c_int;
2538}
2539extern "C" {
2540 pub fn zend_hash_sort_ex(
2541 ht: *mut HashTable,
2542 sort_func: sort_func_t,
2543 compare_func: bucket_compare_func_t,
2544 renumber: bool,
2545 );
2546}
2547extern "C" {
2548 pub fn zend_hash_minmax(
2549 ht: *const HashTable,
2550 compar: bucket_compare_func_t,
2551 flag: u32,
2552 ) -> *mut zval;
2553}
2554extern "C" {
2555 pub fn zend_hash_rehash(ht: *mut HashTable);
2556}
2557extern "C" {
2558 pub fn _zend_new_array_0() -> *mut HashTable;
2559}
2560extern "C" {
2561 pub fn _zend_new_array(size: u32) -> *mut HashTable;
2562}
2563extern "C" {
2564 pub fn zend_new_pair(val1: *mut zval, val2: *mut zval) -> *mut HashTable;
2565}
2566extern "C" {
2567 pub fn zend_array_count(ht: *mut HashTable) -> u32;
2568}
2569extern "C" {
2570 pub fn zend_array_dup(source: *mut HashTable) -> *mut HashTable;
2571}
2572extern "C" {
2573 pub fn zend_array_destroy(ht: *mut HashTable);
2574}
2575extern "C" {
2576 pub fn zend_symtable_clean(ht: *mut HashTable);
2577}
2578extern "C" {
2579 pub fn zend_symtable_to_proptable(ht: *mut HashTable) -> *mut HashTable;
2580}
2581extern "C" {
2582 pub fn zend_proptable_to_symtable(ht: *mut HashTable, always_duplicate: bool)
2583 -> *mut HashTable;
2584}
2585extern "C" {
2586 pub fn _zend_handle_numeric_str_ex(
2587 key: *const ::std::os::raw::c_char,
2588 length: usize,
2589 idx: *mut zend_ulong,
2590 ) -> bool;
2591}
2592extern "C" {
2593 pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
2594}
2595extern "C" {
2596 pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
2597}
2598extern "C" {
2599 pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
2600}
2601extern "C" {
2602 pub fn zend_hash_iterator_del(idx: u32);
2603}
2604extern "C" {
2605 pub fn zend_hash_iterators_lower_pos(ht: *mut HashTable, start: HashPosition) -> HashPosition;
2606}
2607extern "C" {
2608 pub fn _zend_hash_iterators_update(ht: *mut HashTable, from: HashPosition, to: HashPosition);
2609}
2610extern "C" {
2611 pub fn zend_hash_iterators_advance(ht: *mut HashTable, step: HashPosition);
2612}
2613extern "C" {
2614 pub fn zend_hash_str_find_ptr_lc(
2615 ht: *const HashTable,
2616 str_: *const ::std::os::raw::c_char,
2617 len: usize,
2618 ) -> *mut ::std::os::raw::c_void;
2619}
2620extern "C" {
2621 pub fn zend_hash_find_ptr_lc(
2622 ht: *const HashTable,
2623 key: *mut zend_string,
2624 ) -> *mut ::std::os::raw::c_void;
2625}
2626pub type zend_ast_kind = u16;
2627pub type zend_ast_attr = u16;
2628#[repr(C)]
2629#[derive(Debug, Copy, Clone)]
2630pub struct _zend_ast {
2631 pub kind: zend_ast_kind,
2632 pub attr: zend_ast_attr,
2633 pub lineno: u32,
2634 pub child: [*mut zend_ast; 1usize],
2635}
2636#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2637const _: () = {
2638 ["Size of _zend_ast"][::std::mem::size_of::<_zend_ast>() - 16usize];
2639 ["Alignment of _zend_ast"][::std::mem::align_of::<_zend_ast>() - 8usize];
2640 ["Offset of field: _zend_ast::kind"][::std::mem::offset_of!(_zend_ast, kind) - 0usize];
2641 ["Offset of field: _zend_ast::attr"][::std::mem::offset_of!(_zend_ast, attr) - 2usize];
2642 ["Offset of field: _zend_ast::lineno"][::std::mem::offset_of!(_zend_ast, lineno) - 4usize];
2643 ["Offset of field: _zend_ast::child"][::std::mem::offset_of!(_zend_ast, child) - 8usize];
2644};
2645#[repr(C)]
2646#[derive(Debug, Copy, Clone)]
2647pub struct _zend_ast_list {
2648 pub kind: zend_ast_kind,
2649 pub attr: zend_ast_attr,
2650 pub lineno: u32,
2651 pub children: u32,
2652 pub child: [*mut zend_ast; 1usize],
2653}
2654#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2655const _: () = {
2656 ["Size of _zend_ast_list"][::std::mem::size_of::<_zend_ast_list>() - 24usize];
2657 ["Alignment of _zend_ast_list"][::std::mem::align_of::<_zend_ast_list>() - 8usize];
2658 ["Offset of field: _zend_ast_list::kind"]
2659 [::std::mem::offset_of!(_zend_ast_list, kind) - 0usize];
2660 ["Offset of field: _zend_ast_list::attr"]
2661 [::std::mem::offset_of!(_zend_ast_list, attr) - 2usize];
2662 ["Offset of field: _zend_ast_list::lineno"]
2663 [::std::mem::offset_of!(_zend_ast_list, lineno) - 4usize];
2664 ["Offset of field: _zend_ast_list::children"]
2665 [::std::mem::offset_of!(_zend_ast_list, children) - 8usize];
2666 ["Offset of field: _zend_ast_list::child"]
2667 [::std::mem::offset_of!(_zend_ast_list, child) - 16usize];
2668};
2669pub type zend_ast_list = _zend_ast_list;
2670#[repr(C)]
2671#[derive(Copy, Clone)]
2672pub struct _zend_ast_zval {
2673 pub kind: zend_ast_kind,
2674 pub attr: zend_ast_attr,
2675 pub val: zval,
2676}
2677#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2678const _: () = {
2679 ["Size of _zend_ast_zval"][::std::mem::size_of::<_zend_ast_zval>() - 24usize];
2680 ["Alignment of _zend_ast_zval"][::std::mem::align_of::<_zend_ast_zval>() - 8usize];
2681 ["Offset of field: _zend_ast_zval::kind"]
2682 [::std::mem::offset_of!(_zend_ast_zval, kind) - 0usize];
2683 ["Offset of field: _zend_ast_zval::attr"]
2684 [::std::mem::offset_of!(_zend_ast_zval, attr) - 2usize];
2685 ["Offset of field: _zend_ast_zval::val"][::std::mem::offset_of!(_zend_ast_zval, val) - 8usize];
2686};
2687pub type zend_ast_zval = _zend_ast_zval;
2688#[repr(C)]
2689#[derive(Debug, Copy, Clone)]
2690pub struct _zend_ast_decl {
2691 pub kind: zend_ast_kind,
2692 pub attr: zend_ast_attr,
2693 pub start_lineno: u32,
2694 pub end_lineno: u32,
2695 pub flags: u32,
2696 pub lex_pos: *mut ::std::os::raw::c_uchar,
2697 pub doc_comment: *mut zend_string,
2698 pub name: *mut zend_string,
2699 pub child: [*mut zend_ast; 5usize],
2700}
2701#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2702const _: () = {
2703 ["Size of _zend_ast_decl"][::std::mem::size_of::<_zend_ast_decl>() - 80usize];
2704 ["Alignment of _zend_ast_decl"][::std::mem::align_of::<_zend_ast_decl>() - 8usize];
2705 ["Offset of field: _zend_ast_decl::kind"]
2706 [::std::mem::offset_of!(_zend_ast_decl, kind) - 0usize];
2707 ["Offset of field: _zend_ast_decl::attr"]
2708 [::std::mem::offset_of!(_zend_ast_decl, attr) - 2usize];
2709 ["Offset of field: _zend_ast_decl::start_lineno"]
2710 [::std::mem::offset_of!(_zend_ast_decl, start_lineno) - 4usize];
2711 ["Offset of field: _zend_ast_decl::end_lineno"]
2712 [::std::mem::offset_of!(_zend_ast_decl, end_lineno) - 8usize];
2713 ["Offset of field: _zend_ast_decl::flags"]
2714 [::std::mem::offset_of!(_zend_ast_decl, flags) - 12usize];
2715 ["Offset of field: _zend_ast_decl::lex_pos"]
2716 [::std::mem::offset_of!(_zend_ast_decl, lex_pos) - 16usize];
2717 ["Offset of field: _zend_ast_decl::doc_comment"]
2718 [::std::mem::offset_of!(_zend_ast_decl, doc_comment) - 24usize];
2719 ["Offset of field: _zend_ast_decl::name"]
2720 [::std::mem::offset_of!(_zend_ast_decl, name) - 32usize];
2721 ["Offset of field: _zend_ast_decl::child"]
2722 [::std::mem::offset_of!(_zend_ast_decl, child) - 40usize];
2723};
2724pub type zend_ast_decl = _zend_ast_decl;
2725pub type zend_ast_process_t = ::std::option::Option<unsafe extern "C" fn(ast: *mut zend_ast)>;
2726extern "C" {
2727 pub static mut zend_ast_process: zend_ast_process_t;
2728}
2729extern "C" {
2730 pub fn zend_ast_create_zval_with_lineno(zv: *mut zval, lineno: u32) -> *mut zend_ast;
2731}
2732extern "C" {
2733 pub fn zend_ast_create_zval_ex(zv: *mut zval, attr: zend_ast_attr) -> *mut zend_ast;
2734}
2735extern "C" {
2736 pub fn zend_ast_create_zval(zv: *mut zval) -> *mut zend_ast;
2737}
2738extern "C" {
2739 pub fn zend_ast_create_zval_from_str(str_: *mut zend_string) -> *mut zend_ast;
2740}
2741extern "C" {
2742 pub fn zend_ast_create_zval_from_long(lval: zend_long) -> *mut zend_ast;
2743}
2744extern "C" {
2745 pub fn zend_ast_create_constant(name: *mut zend_string, attr: zend_ast_attr) -> *mut zend_ast;
2746}
2747extern "C" {
2748 pub fn zend_ast_create_class_const_or_name(
2749 class_name: *mut zend_ast,
2750 name: *mut zend_ast,
2751 ) -> *mut zend_ast;
2752}
2753extern "C" {
2754 pub fn zend_ast_create_0(kind: zend_ast_kind) -> *mut zend_ast;
2755}
2756extern "C" {
2757 pub fn zend_ast_create_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
2758}
2759extern "C" {
2760 pub fn zend_ast_create_2(
2761 kind: zend_ast_kind,
2762 child1: *mut zend_ast,
2763 child2: *mut zend_ast,
2764 ) -> *mut zend_ast;
2765}
2766extern "C" {
2767 pub fn zend_ast_create_3(
2768 kind: zend_ast_kind,
2769 child1: *mut zend_ast,
2770 child2: *mut zend_ast,
2771 child3: *mut zend_ast,
2772 ) -> *mut zend_ast;
2773}
2774extern "C" {
2775 pub fn zend_ast_create_4(
2776 kind: zend_ast_kind,
2777 child1: *mut zend_ast,
2778 child2: *mut zend_ast,
2779 child3: *mut zend_ast,
2780 child4: *mut zend_ast,
2781 ) -> *mut zend_ast;
2782}
2783extern "C" {
2784 pub fn zend_ast_create_5(
2785 kind: zend_ast_kind,
2786 child1: *mut zend_ast,
2787 child2: *mut zend_ast,
2788 child3: *mut zend_ast,
2789 child4: *mut zend_ast,
2790 child5: *mut zend_ast,
2791 ) -> *mut zend_ast;
2792}
2793extern "C" {
2794 pub fn zend_ast_create_list_0(kind: zend_ast_kind) -> *mut zend_ast;
2795}
2796extern "C" {
2797 pub fn zend_ast_create_list_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
2798}
2799extern "C" {
2800 pub fn zend_ast_create_list_2(
2801 kind: zend_ast_kind,
2802 child1: *mut zend_ast,
2803 child2: *mut zend_ast,
2804 ) -> *mut zend_ast;
2805}
2806extern "C" {
2807 pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
2808}
2809extern "C" {
2810 pub fn zend_ast_create_decl(
2811 kind: zend_ast_kind,
2812 flags: u32,
2813 start_lineno: u32,
2814 doc_comment: *mut zend_string,
2815 name: *mut zend_string,
2816 child0: *mut zend_ast,
2817 child1: *mut zend_ast,
2818 child2: *mut zend_ast,
2819 child3: *mut zend_ast,
2820 child4: *mut zend_ast,
2821 ) -> *mut zend_ast;
2822}
2823extern "C" {
2824 pub fn zend_ast_evaluate(
2825 result: *mut zval,
2826 ast: *mut zend_ast,
2827 scope: *mut zend_class_entry,
2828 ) -> zend_result;
2829}
2830extern "C" {
2831 pub fn zend_ast_export(
2832 prefix: *const ::std::os::raw::c_char,
2833 ast: *mut zend_ast,
2834 suffix: *const ::std::os::raw::c_char,
2835 ) -> *mut zend_string;
2836}
2837extern "C" {
2838 pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast_ref;
2839}
2840extern "C" {
2841 pub fn zend_ast_destroy(ast: *mut zend_ast);
2842}
2843extern "C" {
2844 pub fn zend_ast_ref_destroy(ast: *mut zend_ast_ref);
2845}
2846pub type zend_ast_apply_func = ::std::option::Option<
2847 unsafe extern "C" fn(ast_ptr: *mut *mut zend_ast, context: *mut ::std::os::raw::c_void),
2848>;
2849extern "C" {
2850 pub fn zend_ast_apply(
2851 ast: *mut zend_ast,
2852 fn_: zend_ast_apply_func,
2853 context: *mut ::std::os::raw::c_void,
2854 );
2855}
2856extern "C" {
2857 pub fn zend_ast_with_attributes(ast: *mut zend_ast, attr: *mut zend_ast) -> *mut zend_ast;
2858}
2859#[repr(C)]
2860#[derive(Debug, Copy, Clone)]
2861pub struct _zend_gc_status {
2862 pub runs: u32,
2863 pub collected: u32,
2864 pub threshold: u32,
2865 pub num_roots: u32,
2866}
2867#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2868const _: () = {
2869 ["Size of _zend_gc_status"][::std::mem::size_of::<_zend_gc_status>() - 16usize];
2870 ["Alignment of _zend_gc_status"][::std::mem::align_of::<_zend_gc_status>() - 4usize];
2871 ["Offset of field: _zend_gc_status::runs"]
2872 [::std::mem::offset_of!(_zend_gc_status, runs) - 0usize];
2873 ["Offset of field: _zend_gc_status::collected"]
2874 [::std::mem::offset_of!(_zend_gc_status, collected) - 4usize];
2875 ["Offset of field: _zend_gc_status::threshold"]
2876 [::std::mem::offset_of!(_zend_gc_status, threshold) - 8usize];
2877 ["Offset of field: _zend_gc_status::num_roots"]
2878 [::std::mem::offset_of!(_zend_gc_status, num_roots) - 12usize];
2879};
2880pub type zend_gc_status = _zend_gc_status;
2881extern "C" {
2882 pub static mut gc_collect_cycles:
2883 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2884}
2885extern "C" {
2886 pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
2887}
2888extern "C" {
2889 pub fn zend_gc_get_status(status: *mut zend_gc_status);
2890}
2891#[repr(C)]
2892#[derive(Debug, Copy, Clone)]
2893pub struct zend_get_gc_buffer {
2894 pub cur: *mut zval,
2895 pub end: *mut zval,
2896 pub start: *mut zval,
2897}
2898#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2899const _: () = {
2900 ["Size of zend_get_gc_buffer"][::std::mem::size_of::<zend_get_gc_buffer>() - 24usize];
2901 ["Alignment of zend_get_gc_buffer"][::std::mem::align_of::<zend_get_gc_buffer>() - 8usize];
2902 ["Offset of field: zend_get_gc_buffer::cur"]
2903 [::std::mem::offset_of!(zend_get_gc_buffer, cur) - 0usize];
2904 ["Offset of field: zend_get_gc_buffer::end"]
2905 [::std::mem::offset_of!(zend_get_gc_buffer, end) - 8usize];
2906 ["Offset of field: zend_get_gc_buffer::start"]
2907 [::std::mem::offset_of!(zend_get_gc_buffer, start) - 16usize];
2908};
2909extern "C" {
2910 pub fn zend_get_gc_buffer_create() -> *mut zend_get_gc_buffer;
2911}
2912extern "C" {
2913 pub fn zend_get_gc_buffer_grow(gc_buffer: *mut zend_get_gc_buffer);
2914}
2915pub type zend_object_iterator = _zend_object_iterator;
2916#[repr(C)]
2917#[derive(Debug, Copy, Clone)]
2918pub struct _zend_object_iterator_funcs {
2919 pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2920 pub valid: ::std::option::Option<
2921 unsafe extern "C" fn(iter: *mut zend_object_iterator) -> ::std::os::raw::c_int,
2922 >,
2923 pub get_current_data:
2924 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
2925 pub get_current_key: ::std::option::Option<
2926 unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
2927 >,
2928 pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2929 pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2930 pub invalidate_current:
2931 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2932 pub get_gc: ::std::option::Option<
2933 unsafe extern "C" fn(
2934 iter: *mut zend_object_iterator,
2935 table: *mut *mut zval,
2936 n: *mut ::std::os::raw::c_int,
2937 ) -> *mut HashTable,
2938 >,
2939}
2940#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2941const _: () = {
2942 ["Size of _zend_object_iterator_funcs"]
2943 [::std::mem::size_of::<_zend_object_iterator_funcs>() - 64usize];
2944 ["Alignment of _zend_object_iterator_funcs"]
2945 [::std::mem::align_of::<_zend_object_iterator_funcs>() - 8usize];
2946 ["Offset of field: _zend_object_iterator_funcs::dtor"]
2947 [::std::mem::offset_of!(_zend_object_iterator_funcs, dtor) - 0usize];
2948 ["Offset of field: _zend_object_iterator_funcs::valid"]
2949 [::std::mem::offset_of!(_zend_object_iterator_funcs, valid) - 8usize];
2950 ["Offset of field: _zend_object_iterator_funcs::get_current_data"]
2951 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_data) - 16usize];
2952 ["Offset of field: _zend_object_iterator_funcs::get_current_key"]
2953 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_key) - 24usize];
2954 ["Offset of field: _zend_object_iterator_funcs::move_forward"]
2955 [::std::mem::offset_of!(_zend_object_iterator_funcs, move_forward) - 32usize];
2956 ["Offset of field: _zend_object_iterator_funcs::rewind"]
2957 [::std::mem::offset_of!(_zend_object_iterator_funcs, rewind) - 40usize];
2958 ["Offset of field: _zend_object_iterator_funcs::invalidate_current"]
2959 [::std::mem::offset_of!(_zend_object_iterator_funcs, invalidate_current) - 48usize];
2960 ["Offset of field: _zend_object_iterator_funcs::get_gc"]
2961 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_gc) - 56usize];
2962};
2963pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
2964#[repr(C)]
2965#[derive(Copy, Clone)]
2966pub struct _zend_object_iterator {
2967 pub std: zend_object,
2968 pub data: zval,
2969 pub funcs: *const zend_object_iterator_funcs,
2970 pub index: zend_ulong,
2971}
2972#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2973const _: () = {
2974 ["Size of _zend_object_iterator"][::std::mem::size_of::<_zend_object_iterator>() - 88usize];
2975 ["Alignment of _zend_object_iterator"]
2976 [::std::mem::align_of::<_zend_object_iterator>() - 8usize];
2977 ["Offset of field: _zend_object_iterator::std"]
2978 [::std::mem::offset_of!(_zend_object_iterator, std) - 0usize];
2979 ["Offset of field: _zend_object_iterator::data"]
2980 [::std::mem::offset_of!(_zend_object_iterator, data) - 56usize];
2981 ["Offset of field: _zend_object_iterator::funcs"]
2982 [::std::mem::offset_of!(_zend_object_iterator, funcs) - 72usize];
2983 ["Offset of field: _zend_object_iterator::index"]
2984 [::std::mem::offset_of!(_zend_object_iterator, index) - 80usize];
2985};
2986#[repr(C)]
2987#[derive(Debug, Copy, Clone)]
2988pub struct _zend_class_iterator_funcs {
2989 pub zf_new_iterator: *mut zend_function,
2990 pub zf_valid: *mut zend_function,
2991 pub zf_current: *mut zend_function,
2992 pub zf_key: *mut zend_function,
2993 pub zf_next: *mut zend_function,
2994 pub zf_rewind: *mut zend_function,
2995}
2996#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2997const _: () = {
2998 ["Size of _zend_class_iterator_funcs"]
2999 [::std::mem::size_of::<_zend_class_iterator_funcs>() - 48usize];
3000 ["Alignment of _zend_class_iterator_funcs"]
3001 [::std::mem::align_of::<_zend_class_iterator_funcs>() - 8usize];
3002 ["Offset of field: _zend_class_iterator_funcs::zf_new_iterator"]
3003 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_new_iterator) - 0usize];
3004 ["Offset of field: _zend_class_iterator_funcs::zf_valid"]
3005 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_valid) - 8usize];
3006 ["Offset of field: _zend_class_iterator_funcs::zf_current"]
3007 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_current) - 16usize];
3008 ["Offset of field: _zend_class_iterator_funcs::zf_key"]
3009 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_key) - 24usize];
3010 ["Offset of field: _zend_class_iterator_funcs::zf_next"]
3011 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_next) - 32usize];
3012 ["Offset of field: _zend_class_iterator_funcs::zf_rewind"]
3013 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_rewind) - 40usize];
3014};
3015pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
3016extern "C" {
3017 pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
3018}
3019extern "C" {
3020 pub fn zend_iterator_init(iter: *mut zend_object_iterator);
3021}
3022extern "C" {
3023 pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
3024}
3025extern "C" {
3026 pub fn zend_register_iterator_wrapper();
3027}
3028#[repr(C)]
3029#[derive(Debug, Copy, Clone)]
3030pub struct stat {
3031 pub st_dev: __dev_t,
3032 pub st_ino: __ino_t,
3033 pub st_nlink: __nlink_t,
3034 pub st_mode: __mode_t,
3035 pub st_uid: __uid_t,
3036 pub st_gid: __gid_t,
3037 pub __pad0: ::std::os::raw::c_int,
3038 pub st_rdev: __dev_t,
3039 pub st_size: __off_t,
3040 pub st_blksize: __blksize_t,
3041 pub st_blocks: __blkcnt_t,
3042 pub st_atim: timespec,
3043 pub st_mtim: timespec,
3044 pub st_ctim: timespec,
3045 pub __glibc_reserved: [__syscall_slong_t; 3usize],
3046}
3047#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3048const _: () = {
3049 ["Size of stat"][::std::mem::size_of::<stat>() - 144usize];
3050 ["Alignment of stat"][::std::mem::align_of::<stat>() - 8usize];
3051 ["Offset of field: stat::st_dev"][::std::mem::offset_of!(stat, st_dev) - 0usize];
3052 ["Offset of field: stat::st_ino"][::std::mem::offset_of!(stat, st_ino) - 8usize];
3053 ["Offset of field: stat::st_nlink"][::std::mem::offset_of!(stat, st_nlink) - 16usize];
3054 ["Offset of field: stat::st_mode"][::std::mem::offset_of!(stat, st_mode) - 24usize];
3055 ["Offset of field: stat::st_uid"][::std::mem::offset_of!(stat, st_uid) - 28usize];
3056 ["Offset of field: stat::st_gid"][::std::mem::offset_of!(stat, st_gid) - 32usize];
3057 ["Offset of field: stat::__pad0"][::std::mem::offset_of!(stat, __pad0) - 36usize];
3058 ["Offset of field: stat::st_rdev"][::std::mem::offset_of!(stat, st_rdev) - 40usize];
3059 ["Offset of field: stat::st_size"][::std::mem::offset_of!(stat, st_size) - 48usize];
3060 ["Offset of field: stat::st_blksize"][::std::mem::offset_of!(stat, st_blksize) - 56usize];
3061 ["Offset of field: stat::st_blocks"][::std::mem::offset_of!(stat, st_blocks) - 64usize];
3062 ["Offset of field: stat::st_atim"][::std::mem::offset_of!(stat, st_atim) - 72usize];
3063 ["Offset of field: stat::st_mtim"][::std::mem::offset_of!(stat, st_mtim) - 88usize];
3064 ["Offset of field: stat::st_ctim"][::std::mem::offset_of!(stat, st_ctim) - 104usize];
3065 ["Offset of field: stat::__glibc_reserved"]
3066 [::std::mem::offset_of!(stat, __glibc_reserved) - 120usize];
3067};
3068pub type zend_stream_fsizer_t =
3069 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> usize>;
3070pub type zend_stream_reader_t = ::std::option::Option<
3071 unsafe extern "C" fn(
3072 handle: *mut ::std::os::raw::c_void,
3073 buf: *mut ::std::os::raw::c_char,
3074 len: usize,
3075 ) -> isize,
3076>;
3077pub type zend_stream_closer_t =
3078 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
3079pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
3080pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 1;
3081pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 2;
3082pub type zend_stream_type = ::std::os::raw::c_uint;
3083#[repr(C)]
3084#[derive(Debug, Copy, Clone)]
3085pub struct _zend_stream {
3086 pub handle: *mut ::std::os::raw::c_void,
3087 pub isatty: ::std::os::raw::c_int,
3088 pub reader: zend_stream_reader_t,
3089 pub fsizer: zend_stream_fsizer_t,
3090 pub closer: zend_stream_closer_t,
3091}
3092#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3093const _: () = {
3094 ["Size of _zend_stream"][::std::mem::size_of::<_zend_stream>() - 40usize];
3095 ["Alignment of _zend_stream"][::std::mem::align_of::<_zend_stream>() - 8usize];
3096 ["Offset of field: _zend_stream::handle"]
3097 [::std::mem::offset_of!(_zend_stream, handle) - 0usize];
3098 ["Offset of field: _zend_stream::isatty"]
3099 [::std::mem::offset_of!(_zend_stream, isatty) - 8usize];
3100 ["Offset of field: _zend_stream::reader"]
3101 [::std::mem::offset_of!(_zend_stream, reader) - 16usize];
3102 ["Offset of field: _zend_stream::fsizer"]
3103 [::std::mem::offset_of!(_zend_stream, fsizer) - 24usize];
3104 ["Offset of field: _zend_stream::closer"]
3105 [::std::mem::offset_of!(_zend_stream, closer) - 32usize];
3106};
3107pub type zend_stream = _zend_stream;
3108#[repr(C)]
3109#[derive(Copy, Clone)]
3110pub struct _zend_file_handle {
3111 pub handle: _zend_file_handle__bindgen_ty_1,
3112 pub filename: *mut zend_string,
3113 pub opened_path: *mut zend_string,
3114 pub type_: zend_uchar,
3115 pub primary_script: bool,
3116 pub in_list: bool,
3117 pub buf: *mut ::std::os::raw::c_char,
3118 pub len: usize,
3119}
3120#[repr(C)]
3121#[derive(Copy, Clone)]
3122pub union _zend_file_handle__bindgen_ty_1 {
3123 pub fp: *mut FILE,
3124 pub stream: zend_stream,
3125}
3126#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3127const _: () = {
3128 ["Size of _zend_file_handle__bindgen_ty_1"]
3129 [::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>() - 40usize];
3130 ["Alignment of _zend_file_handle__bindgen_ty_1"]
3131 [::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>() - 8usize];
3132 ["Offset of field: _zend_file_handle__bindgen_ty_1::fp"]
3133 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fp) - 0usize];
3134 ["Offset of field: _zend_file_handle__bindgen_ty_1::stream"]
3135 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, stream) - 0usize];
3136};
3137#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3138const _: () = {
3139 ["Size of _zend_file_handle"][::std::mem::size_of::<_zend_file_handle>() - 80usize];
3140 ["Alignment of _zend_file_handle"][::std::mem::align_of::<_zend_file_handle>() - 8usize];
3141 ["Offset of field: _zend_file_handle::handle"]
3142 [::std::mem::offset_of!(_zend_file_handle, handle) - 0usize];
3143 ["Offset of field: _zend_file_handle::filename"]
3144 [::std::mem::offset_of!(_zend_file_handle, filename) - 40usize];
3145 ["Offset of field: _zend_file_handle::opened_path"]
3146 [::std::mem::offset_of!(_zend_file_handle, opened_path) - 48usize];
3147 ["Offset of field: _zend_file_handle::type_"]
3148 [::std::mem::offset_of!(_zend_file_handle, type_) - 56usize];
3149 ["Offset of field: _zend_file_handle::primary_script"]
3150 [::std::mem::offset_of!(_zend_file_handle, primary_script) - 57usize];
3151 ["Offset of field: _zend_file_handle::in_list"]
3152 [::std::mem::offset_of!(_zend_file_handle, in_list) - 58usize];
3153 ["Offset of field: _zend_file_handle::buf"]
3154 [::std::mem::offset_of!(_zend_file_handle, buf) - 64usize];
3155 ["Offset of field: _zend_file_handle::len"]
3156 [::std::mem::offset_of!(_zend_file_handle, len) - 72usize];
3157};
3158pub type zend_file_handle = _zend_file_handle;
3159extern "C" {
3160 pub fn zend_stream_init_fp(
3161 handle: *mut zend_file_handle,
3162 fp: *mut FILE,
3163 filename: *const ::std::os::raw::c_char,
3164 );
3165}
3166extern "C" {
3167 pub fn zend_stream_init_filename(
3168 handle: *mut zend_file_handle,
3169 filename: *const ::std::os::raw::c_char,
3170 );
3171}
3172extern "C" {
3173 pub fn zend_stream_init_filename_ex(handle: *mut zend_file_handle, filename: *mut zend_string);
3174}
3175extern "C" {
3176 pub fn zend_stream_open(handle: *mut zend_file_handle) -> zend_result;
3177}
3178extern "C" {
3179 pub fn zend_stream_fixup(
3180 file_handle: *mut zend_file_handle,
3181 buf: *mut *mut ::std::os::raw::c_char,
3182 len: *mut usize,
3183 ) -> zend_result;
3184}
3185extern "C" {
3186 pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
3187}
3188extern "C" {
3189 pub fn zend_stream_init();
3190}
3191extern "C" {
3192 pub fn zend_stream_shutdown();
3193}
3194pub type zend_stat_t = stat;
3195#[repr(C)]
3196#[derive(Debug, Copy, Clone)]
3197pub struct smart_str {
3198 pub s: *mut zend_string,
3199 pub a: usize,
3200}
3201#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3202const _: () = {
3203 ["Size of smart_str"][::std::mem::size_of::<smart_str>() - 16usize];
3204 ["Alignment of smart_str"][::std::mem::align_of::<smart_str>() - 8usize];
3205 ["Offset of field: smart_str::s"][::std::mem::offset_of!(smart_str, s) - 0usize];
3206 ["Offset of field: smart_str::a"][::std::mem::offset_of!(smart_str, a) - 8usize];
3207};
3208#[repr(C)]
3209#[derive(Debug, Copy, Clone)]
3210pub struct smart_string {
3211 pub c: *mut ::std::os::raw::c_char,
3212 pub len: usize,
3213 pub a: usize,
3214}
3215#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3216const _: () = {
3217 ["Size of smart_string"][::std::mem::size_of::<smart_string>() - 24usize];
3218 ["Alignment of smart_string"][::std::mem::align_of::<smart_string>() - 8usize];
3219 ["Offset of field: smart_string::c"][::std::mem::offset_of!(smart_string, c) - 0usize];
3220 ["Offset of field: smart_string::len"][::std::mem::offset_of!(smart_string, len) - 8usize];
3221 ["Offset of field: smart_string::a"][::std::mem::offset_of!(smart_string, a) - 16usize];
3222};
3223#[repr(C)]
3224#[derive(Copy, Clone)]
3225pub union sigval {
3226 pub sival_int: ::std::os::raw::c_int,
3227 pub sival_ptr: *mut ::std::os::raw::c_void,
3228}
3229#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3230const _: () = {
3231 ["Size of sigval"][::std::mem::size_of::<sigval>() - 8usize];
3232 ["Alignment of sigval"][::std::mem::align_of::<sigval>() - 8usize];
3233 ["Offset of field: sigval::sival_int"][::std::mem::offset_of!(sigval, sival_int) - 0usize];
3234 ["Offset of field: sigval::sival_ptr"][::std::mem::offset_of!(sigval, sival_ptr) - 0usize];
3235};
3236pub type __sigval_t = sigval;
3237#[repr(C)]
3238#[derive(Copy, Clone)]
3239pub struct siginfo_t {
3240 pub si_signo: ::std::os::raw::c_int,
3241 pub si_errno: ::std::os::raw::c_int,
3242 pub si_code: ::std::os::raw::c_int,
3243 pub __pad0: ::std::os::raw::c_int,
3244 pub _sifields: siginfo_t__bindgen_ty_1,
3245}
3246#[repr(C)]
3247#[derive(Copy, Clone)]
3248pub union siginfo_t__bindgen_ty_1 {
3249 pub _pad: [::std::os::raw::c_int; 28usize],
3250 pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1,
3251 pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2,
3252 pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3,
3253 pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4,
3254 pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5,
3255 pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6,
3256 pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7,
3257}
3258#[repr(C)]
3259#[derive(Debug, Copy, Clone)]
3260pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 {
3261 pub si_pid: __pid_t,
3262 pub si_uid: __uid_t,
3263}
3264#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3265const _: () = {
3266 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
3267 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 8usize];
3268 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
3269 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 4usize];
3270 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_pid"]
3271 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_pid) - 0usize];
3272 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_uid"]
3273 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_uid) - 4usize];
3274};
3275#[repr(C)]
3276#[derive(Copy, Clone)]
3277pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 {
3278 pub si_tid: ::std::os::raw::c_int,
3279 pub si_overrun: ::std::os::raw::c_int,
3280 pub si_sigval: __sigval_t,
3281}
3282#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3283const _: () = {
3284 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
3285 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 16usize];
3286 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
3287 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 8usize];
3288 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_tid"]
3289 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_tid) - 0usize];
3290 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_overrun"]
3291 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_overrun) - 4usize];
3292 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_sigval"]
3293 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_sigval) - 8usize];
3294};
3295#[repr(C)]
3296#[derive(Copy, Clone)]
3297pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 {
3298 pub si_pid: __pid_t,
3299 pub si_uid: __uid_t,
3300 pub si_sigval: __sigval_t,
3301}
3302#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3303const _: () = {
3304 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
3305 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 16usize];
3306 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
3307 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 8usize];
3308 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_pid"]
3309 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_pid) - 0usize];
3310 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_uid"]
3311 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_uid) - 4usize];
3312 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_sigval"]
3313 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_sigval) - 8usize];
3314};
3315#[repr(C)]
3316#[derive(Debug, Copy, Clone)]
3317pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 {
3318 pub si_pid: __pid_t,
3319 pub si_uid: __uid_t,
3320 pub si_status: ::std::os::raw::c_int,
3321 pub si_utime: __clock_t,
3322 pub si_stime: __clock_t,
3323}
3324#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3325const _: () = {
3326 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
3327 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 32usize];
3328 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
3329 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 8usize];
3330 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_pid"]
3331 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_pid) - 0usize];
3332 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_uid"]
3333 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_uid) - 4usize];
3334 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_status"]
3335 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_status) - 8usize];
3336 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_utime"]
3337 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_utime) - 16usize];
3338 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_stime"]
3339 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_stime) - 24usize];
3340};
3341#[repr(C)]
3342#[derive(Copy, Clone)]
3343pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 {
3344 pub si_addr: *mut ::std::os::raw::c_void,
3345 pub si_addr_lsb: ::std::os::raw::c_short,
3346 pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3347}
3348#[repr(C)]
3349#[derive(Copy, Clone)]
3350pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
3351 pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
3352 pub _pkey: __uint32_t,
3353}
3354#[repr(C)]
3355#[derive(Debug, Copy, Clone)]
3356pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
3357 pub _lower: *mut ::std::os::raw::c_void,
3358 pub _upper: *mut ::std::os::raw::c_void,
3359}
3360#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3361const _: () = {
3362 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
3363 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
3364 ) - 16usize];
3365 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
3366 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
3367 ) - 8usize];
3368 ["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] ;
3369 ["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] ;
3370};
3371#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3372const _: () = {
3373 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
3374 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 16usize];
3375 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
3376 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 8usize];
3377 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_addr_bnd"][::std::mem::offset_of!(
3378 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3379 _addr_bnd
3380 ) - 0usize];
3381 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_pkey"][::std::mem::offset_of!(
3382 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3383 _pkey
3384 ) - 0usize];
3385};
3386#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3387const _: () = {
3388 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
3389 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 32usize];
3390 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
3391 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 8usize];
3392 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr"]
3393 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr) - 0usize];
3394 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr_lsb"]
3395 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr_lsb) - 8usize];
3396 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::_bounds"]
3397 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, _bounds) - 16usize];
3398};
3399#[repr(C)]
3400#[derive(Debug, Copy, Clone)]
3401pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 {
3402 pub si_band: ::std::os::raw::c_long,
3403 pub si_fd: ::std::os::raw::c_int,
3404}
3405#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3406const _: () = {
3407 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
3408 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 16usize];
3409 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
3410 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 8usize];
3411 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_band"]
3412 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_band) - 0usize];
3413 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_fd"]
3414 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_fd) - 8usize];
3415};
3416#[repr(C)]
3417#[derive(Debug, Copy, Clone)]
3418pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 {
3419 pub _call_addr: *mut ::std::os::raw::c_void,
3420 pub _syscall: ::std::os::raw::c_int,
3421 pub _arch: ::std::os::raw::c_uint,
3422}
3423#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3424const _: () = {
3425 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
3426 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 16usize];
3427 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
3428 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 8usize];
3429 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_call_addr"]
3430 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _call_addr) - 0usize];
3431 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_syscall"]
3432 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _syscall) - 8usize];
3433 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_arch"]
3434 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _arch) - 12usize];
3435};
3436#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3437const _: () = {
3438 ["Size of siginfo_t__bindgen_ty_1"]
3439 [::std::mem::size_of::<siginfo_t__bindgen_ty_1>() - 112usize];
3440 ["Alignment of siginfo_t__bindgen_ty_1"]
3441 [::std::mem::align_of::<siginfo_t__bindgen_ty_1>() - 8usize];
3442 ["Offset of field: siginfo_t__bindgen_ty_1::_pad"]
3443 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _pad) - 0usize];
3444 ["Offset of field: siginfo_t__bindgen_ty_1::_kill"]
3445 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _kill) - 0usize];
3446 ["Offset of field: siginfo_t__bindgen_ty_1::_timer"]
3447 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _timer) - 0usize];
3448 ["Offset of field: siginfo_t__bindgen_ty_1::_rt"]
3449 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _rt) - 0usize];
3450 ["Offset of field: siginfo_t__bindgen_ty_1::_sigchld"]
3451 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigchld) - 0usize];
3452 ["Offset of field: siginfo_t__bindgen_ty_1::_sigfault"]
3453 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigfault) - 0usize];
3454 ["Offset of field: siginfo_t__bindgen_ty_1::_sigpoll"]
3455 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigpoll) - 0usize];
3456 ["Offset of field: siginfo_t__bindgen_ty_1::_sigsys"]
3457 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigsys) - 0usize];
3458};
3459#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3460const _: () = {
3461 ["Size of siginfo_t"][::std::mem::size_of::<siginfo_t>() - 128usize];
3462 ["Alignment of siginfo_t"][::std::mem::align_of::<siginfo_t>() - 8usize];
3463 ["Offset of field: siginfo_t::si_signo"][::std::mem::offset_of!(siginfo_t, si_signo) - 0usize];
3464 ["Offset of field: siginfo_t::si_errno"][::std::mem::offset_of!(siginfo_t, si_errno) - 4usize];
3465 ["Offset of field: siginfo_t::si_code"][::std::mem::offset_of!(siginfo_t, si_code) - 8usize];
3466 ["Offset of field: siginfo_t::__pad0"][::std::mem::offset_of!(siginfo_t, __pad0) - 12usize];
3467 ["Offset of field: siginfo_t::_sifields"]
3468 [::std::mem::offset_of!(siginfo_t, _sifields) - 16usize];
3469};
3470pub type __sighandler_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
3471#[repr(C)]
3472#[derive(Copy, Clone)]
3473pub struct sigaction {
3474 pub __sigaction_handler: sigaction__bindgen_ty_1,
3475 pub sa_mask: __sigset_t,
3476 pub sa_flags: ::std::os::raw::c_int,
3477 pub sa_restorer: ::std::option::Option<unsafe extern "C" fn()>,
3478}
3479#[repr(C)]
3480#[derive(Copy, Clone)]
3481pub union sigaction__bindgen_ty_1 {
3482 pub sa_handler: __sighandler_t,
3483 pub sa_sigaction: ::std::option::Option<
3484 unsafe extern "C" fn(
3485 arg1: ::std::os::raw::c_int,
3486 arg2: *mut siginfo_t,
3487 arg3: *mut ::std::os::raw::c_void,
3488 ),
3489 >,
3490}
3491#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3492const _: () = {
3493 ["Size of sigaction__bindgen_ty_1"][::std::mem::size_of::<sigaction__bindgen_ty_1>() - 8usize];
3494 ["Alignment of sigaction__bindgen_ty_1"]
3495 [::std::mem::align_of::<sigaction__bindgen_ty_1>() - 8usize];
3496 ["Offset of field: sigaction__bindgen_ty_1::sa_handler"]
3497 [::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_handler) - 0usize];
3498 ["Offset of field: sigaction__bindgen_ty_1::sa_sigaction"]
3499 [::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_sigaction) - 0usize];
3500};
3501#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3502const _: () = {
3503 ["Size of sigaction"][::std::mem::size_of::<sigaction>() - 152usize];
3504 ["Alignment of sigaction"][::std::mem::align_of::<sigaction>() - 8usize];
3505 ["Offset of field: sigaction::__sigaction_handler"]
3506 [::std::mem::offset_of!(sigaction, __sigaction_handler) - 0usize];
3507 ["Offset of field: sigaction::sa_mask"][::std::mem::offset_of!(sigaction, sa_mask) - 8usize];
3508 ["Offset of field: sigaction::sa_flags"]
3509 [::std::mem::offset_of!(sigaction, sa_flags) - 136usize];
3510 ["Offset of field: sigaction::sa_restorer"]
3511 [::std::mem::offset_of!(sigaction, sa_restorer) - 144usize];
3512};
3513pub type socklen_t = __socklen_t;
3514#[repr(C)]
3515#[derive(Debug, Copy, Clone)]
3516pub struct _zend_signal_entry_t {
3517 pub flags: ::std::os::raw::c_int,
3518 pub handler: *mut ::std::os::raw::c_void,
3519}
3520#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3521const _: () = {
3522 ["Size of _zend_signal_entry_t"][::std::mem::size_of::<_zend_signal_entry_t>() - 16usize];
3523 ["Alignment of _zend_signal_entry_t"][::std::mem::align_of::<_zend_signal_entry_t>() - 8usize];
3524 ["Offset of field: _zend_signal_entry_t::flags"]
3525 [::std::mem::offset_of!(_zend_signal_entry_t, flags) - 0usize];
3526 ["Offset of field: _zend_signal_entry_t::handler"]
3527 [::std::mem::offset_of!(_zend_signal_entry_t, handler) - 8usize];
3528};
3529pub type zend_signal_entry_t = _zend_signal_entry_t;
3530#[repr(C)]
3531#[derive(Debug, Copy, Clone)]
3532pub struct _zend_signal_t {
3533 pub signo: ::std::os::raw::c_int,
3534 pub siginfo: *mut siginfo_t,
3535 pub context: *mut ::std::os::raw::c_void,
3536}
3537#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3538const _: () = {
3539 ["Size of _zend_signal_t"][::std::mem::size_of::<_zend_signal_t>() - 24usize];
3540 ["Alignment of _zend_signal_t"][::std::mem::align_of::<_zend_signal_t>() - 8usize];
3541 ["Offset of field: _zend_signal_t::signo"]
3542 [::std::mem::offset_of!(_zend_signal_t, signo) - 0usize];
3543 ["Offset of field: _zend_signal_t::siginfo"]
3544 [::std::mem::offset_of!(_zend_signal_t, siginfo) - 8usize];
3545 ["Offset of field: _zend_signal_t::context"]
3546 [::std::mem::offset_of!(_zend_signal_t, context) - 16usize];
3547};
3548pub type zend_signal_t = _zend_signal_t;
3549#[repr(C)]
3550#[derive(Debug, Copy, Clone)]
3551pub struct _zend_signal_queue_t {
3552 pub zend_signal: zend_signal_t,
3553 pub next: *mut _zend_signal_queue_t,
3554}
3555#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3556const _: () = {
3557 ["Size of _zend_signal_queue_t"][::std::mem::size_of::<_zend_signal_queue_t>() - 32usize];
3558 ["Alignment of _zend_signal_queue_t"][::std::mem::align_of::<_zend_signal_queue_t>() - 8usize];
3559 ["Offset of field: _zend_signal_queue_t::zend_signal"]
3560 [::std::mem::offset_of!(_zend_signal_queue_t, zend_signal) - 0usize];
3561 ["Offset of field: _zend_signal_queue_t::next"]
3562 [::std::mem::offset_of!(_zend_signal_queue_t, next) - 24usize];
3563};
3564pub type zend_signal_queue_t = _zend_signal_queue_t;
3565#[repr(C)]
3566#[derive(Debug, Copy, Clone)]
3567pub struct _zend_signal_globals_t {
3568 pub depth: ::std::os::raw::c_int,
3569 pub blocked: ::std::os::raw::c_int,
3570 pub running: ::std::os::raw::c_int,
3571 pub active: ::std::os::raw::c_int,
3572 pub check: bool,
3573 pub reset: bool,
3574 pub handlers: [zend_signal_entry_t; 65usize],
3575 pub pstorage: [zend_signal_queue_t; 64usize],
3576 pub phead: *mut zend_signal_queue_t,
3577 pub ptail: *mut zend_signal_queue_t,
3578 pub pavail: *mut zend_signal_queue_t,
3579}
3580#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3581const _: () = {
3582 ["Size of _zend_signal_globals_t"][::std::mem::size_of::<_zend_signal_globals_t>() - 3136usize];
3583 ["Alignment of _zend_signal_globals_t"]
3584 [::std::mem::align_of::<_zend_signal_globals_t>() - 8usize];
3585 ["Offset of field: _zend_signal_globals_t::depth"]
3586 [::std::mem::offset_of!(_zend_signal_globals_t, depth) - 0usize];
3587 ["Offset of field: _zend_signal_globals_t::blocked"]
3588 [::std::mem::offset_of!(_zend_signal_globals_t, blocked) - 4usize];
3589 ["Offset of field: _zend_signal_globals_t::running"]
3590 [::std::mem::offset_of!(_zend_signal_globals_t, running) - 8usize];
3591 ["Offset of field: _zend_signal_globals_t::active"]
3592 [::std::mem::offset_of!(_zend_signal_globals_t, active) - 12usize];
3593 ["Offset of field: _zend_signal_globals_t::check"]
3594 [::std::mem::offset_of!(_zend_signal_globals_t, check) - 16usize];
3595 ["Offset of field: _zend_signal_globals_t::reset"]
3596 [::std::mem::offset_of!(_zend_signal_globals_t, reset) - 17usize];
3597 ["Offset of field: _zend_signal_globals_t::handlers"]
3598 [::std::mem::offset_of!(_zend_signal_globals_t, handlers) - 24usize];
3599 ["Offset of field: _zend_signal_globals_t::pstorage"]
3600 [::std::mem::offset_of!(_zend_signal_globals_t, pstorage) - 1064usize];
3601 ["Offset of field: _zend_signal_globals_t::phead"]
3602 [::std::mem::offset_of!(_zend_signal_globals_t, phead) - 3112usize];
3603 ["Offset of field: _zend_signal_globals_t::ptail"]
3604 [::std::mem::offset_of!(_zend_signal_globals_t, ptail) - 3120usize];
3605 ["Offset of field: _zend_signal_globals_t::pavail"]
3606 [::std::mem::offset_of!(_zend_signal_globals_t, pavail) - 3128usize];
3607};
3608pub type zend_signal_globals_t = _zend_signal_globals_t;
3609extern "C" {
3610 pub static mut zend_signal_globals: zend_signal_globals_t;
3611}
3612extern "C" {
3613 pub fn zend_signal_handler_unblock();
3614}
3615extern "C" {
3616 pub fn zend_signal_activate();
3617}
3618extern "C" {
3619 pub fn zend_signal_deactivate();
3620}
3621extern "C" {
3622 pub fn zend_signal_startup();
3623}
3624extern "C" {
3625 pub fn zend_signal_init();
3626}
3627extern "C" {
3628 pub fn zend_signal(
3629 signo: ::std::os::raw::c_int,
3630 handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
3631 );
3632}
3633extern "C" {
3634 pub fn zend_sigaction(
3635 signo: ::std::os::raw::c_int,
3636 act: *const sigaction,
3637 oldact: *mut sigaction,
3638 );
3639}
3640#[repr(C)]
3641#[derive(Debug, Copy, Clone)]
3642pub struct _zend_serialize_data {
3643 _unused: [u8; 0],
3644}
3645#[repr(C)]
3646#[derive(Debug, Copy, Clone)]
3647pub struct _zend_unserialize_data {
3648 _unused: [u8; 0],
3649}
3650pub type zend_serialize_data = _zend_serialize_data;
3651pub type zend_unserialize_data = _zend_unserialize_data;
3652#[repr(C)]
3653#[derive(Debug, Copy, Clone)]
3654pub struct _zend_class_name {
3655 pub name: *mut zend_string,
3656 pub lc_name: *mut zend_string,
3657}
3658#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3659const _: () = {
3660 ["Size of _zend_class_name"][::std::mem::size_of::<_zend_class_name>() - 16usize];
3661 ["Alignment of _zend_class_name"][::std::mem::align_of::<_zend_class_name>() - 8usize];
3662 ["Offset of field: _zend_class_name::name"]
3663 [::std::mem::offset_of!(_zend_class_name, name) - 0usize];
3664 ["Offset of field: _zend_class_name::lc_name"]
3665 [::std::mem::offset_of!(_zend_class_name, lc_name) - 8usize];
3666};
3667pub type zend_class_name = _zend_class_name;
3668#[repr(C)]
3669#[derive(Debug, Copy, Clone)]
3670pub struct _zend_trait_method_reference {
3671 pub method_name: *mut zend_string,
3672 pub class_name: *mut zend_string,
3673}
3674#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3675const _: () = {
3676 ["Size of _zend_trait_method_reference"]
3677 [::std::mem::size_of::<_zend_trait_method_reference>() - 16usize];
3678 ["Alignment of _zend_trait_method_reference"]
3679 [::std::mem::align_of::<_zend_trait_method_reference>() - 8usize];
3680 ["Offset of field: _zend_trait_method_reference::method_name"]
3681 [::std::mem::offset_of!(_zend_trait_method_reference, method_name) - 0usize];
3682 ["Offset of field: _zend_trait_method_reference::class_name"]
3683 [::std::mem::offset_of!(_zend_trait_method_reference, class_name) - 8usize];
3684};
3685pub type zend_trait_method_reference = _zend_trait_method_reference;
3686#[repr(C)]
3687#[derive(Debug, Copy, Clone)]
3688pub struct _zend_trait_precedence {
3689 pub trait_method: zend_trait_method_reference,
3690 pub num_excludes: u32,
3691 pub exclude_class_names: [*mut zend_string; 1usize],
3692}
3693#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3694const _: () = {
3695 ["Size of _zend_trait_precedence"][::std::mem::size_of::<_zend_trait_precedence>() - 32usize];
3696 ["Alignment of _zend_trait_precedence"]
3697 [::std::mem::align_of::<_zend_trait_precedence>() - 8usize];
3698 ["Offset of field: _zend_trait_precedence::trait_method"]
3699 [::std::mem::offset_of!(_zend_trait_precedence, trait_method) - 0usize];
3700 ["Offset of field: _zend_trait_precedence::num_excludes"]
3701 [::std::mem::offset_of!(_zend_trait_precedence, num_excludes) - 16usize];
3702 ["Offset of field: _zend_trait_precedence::exclude_class_names"]
3703 [::std::mem::offset_of!(_zend_trait_precedence, exclude_class_names) - 24usize];
3704};
3705pub type zend_trait_precedence = _zend_trait_precedence;
3706#[repr(C)]
3707#[derive(Debug, Copy, Clone)]
3708pub struct _zend_trait_alias {
3709 pub trait_method: zend_trait_method_reference,
3710 #[doc = " name for method to be added"]
3711 pub alias: *mut zend_string,
3712 #[doc = " modifiers to be set on trait method"]
3713 pub modifiers: u32,
3714}
3715#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3716const _: () = {
3717 ["Size of _zend_trait_alias"][::std::mem::size_of::<_zend_trait_alias>() - 32usize];
3718 ["Alignment of _zend_trait_alias"][::std::mem::align_of::<_zend_trait_alias>() - 8usize];
3719 ["Offset of field: _zend_trait_alias::trait_method"]
3720 [::std::mem::offset_of!(_zend_trait_alias, trait_method) - 0usize];
3721 ["Offset of field: _zend_trait_alias::alias"]
3722 [::std::mem::offset_of!(_zend_trait_alias, alias) - 16usize];
3723 ["Offset of field: _zend_trait_alias::modifiers"]
3724 [::std::mem::offset_of!(_zend_trait_alias, modifiers) - 24usize];
3725};
3726pub type zend_trait_alias = _zend_trait_alias;
3727#[repr(C)]
3728#[derive(Debug, Copy, Clone)]
3729pub struct _zend_class_mutable_data {
3730 pub default_properties_table: *mut zval,
3731 pub constants_table: *mut HashTable,
3732 pub ce_flags: u32,
3733}
3734#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3735const _: () = {
3736 ["Size of _zend_class_mutable_data"]
3737 [::std::mem::size_of::<_zend_class_mutable_data>() - 24usize];
3738 ["Alignment of _zend_class_mutable_data"]
3739 [::std::mem::align_of::<_zend_class_mutable_data>() - 8usize];
3740 ["Offset of field: _zend_class_mutable_data::default_properties_table"]
3741 [::std::mem::offset_of!(_zend_class_mutable_data, default_properties_table) - 0usize];
3742 ["Offset of field: _zend_class_mutable_data::constants_table"]
3743 [::std::mem::offset_of!(_zend_class_mutable_data, constants_table) - 8usize];
3744 ["Offset of field: _zend_class_mutable_data::ce_flags"]
3745 [::std::mem::offset_of!(_zend_class_mutable_data, ce_flags) - 16usize];
3746};
3747pub type zend_class_mutable_data = _zend_class_mutable_data;
3748#[repr(C)]
3749#[derive(Debug, Copy, Clone)]
3750pub struct _zend_class_dependency {
3751 pub name: *mut zend_string,
3752 pub ce: *mut zend_class_entry,
3753}
3754#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3755const _: () = {
3756 ["Size of _zend_class_dependency"][::std::mem::size_of::<_zend_class_dependency>() - 16usize];
3757 ["Alignment of _zend_class_dependency"]
3758 [::std::mem::align_of::<_zend_class_dependency>() - 8usize];
3759 ["Offset of field: _zend_class_dependency::name"]
3760 [::std::mem::offset_of!(_zend_class_dependency, name) - 0usize];
3761 ["Offset of field: _zend_class_dependency::ce"]
3762 [::std::mem::offset_of!(_zend_class_dependency, ce) - 8usize];
3763};
3764pub type zend_class_dependency = _zend_class_dependency;
3765pub type zend_inheritance_cache_entry = _zend_inheritance_cache_entry;
3766#[repr(C)]
3767#[derive(Debug, Copy, Clone)]
3768pub struct _zend_error_info {
3769 pub type_: ::std::os::raw::c_int,
3770 pub lineno: u32,
3771 pub filename: *mut zend_string,
3772 pub message: *mut zend_string,
3773}
3774#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3775const _: () = {
3776 ["Size of _zend_error_info"][::std::mem::size_of::<_zend_error_info>() - 24usize];
3777 ["Alignment of _zend_error_info"][::std::mem::align_of::<_zend_error_info>() - 8usize];
3778 ["Offset of field: _zend_error_info::type_"]
3779 [::std::mem::offset_of!(_zend_error_info, type_) - 0usize];
3780 ["Offset of field: _zend_error_info::lineno"]
3781 [::std::mem::offset_of!(_zend_error_info, lineno) - 4usize];
3782 ["Offset of field: _zend_error_info::filename"]
3783 [::std::mem::offset_of!(_zend_error_info, filename) - 8usize];
3784 ["Offset of field: _zend_error_info::message"]
3785 [::std::mem::offset_of!(_zend_error_info, message) - 16usize];
3786};
3787pub type zend_error_info = _zend_error_info;
3788#[repr(C)]
3789#[derive(Debug, Copy, Clone)]
3790pub struct _zend_inheritance_cache_entry {
3791 pub next: *mut zend_inheritance_cache_entry,
3792 pub ce: *mut zend_class_entry,
3793 pub parent: *mut zend_class_entry,
3794 pub dependencies: *mut zend_class_dependency,
3795 pub dependencies_count: u32,
3796 pub num_warnings: u32,
3797 pub warnings: *mut *mut zend_error_info,
3798 pub traits_and_interfaces: [*mut zend_class_entry; 1usize],
3799}
3800#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3801const _: () = {
3802 ["Size of _zend_inheritance_cache_entry"]
3803 [::std::mem::size_of::<_zend_inheritance_cache_entry>() - 56usize];
3804 ["Alignment of _zend_inheritance_cache_entry"]
3805 [::std::mem::align_of::<_zend_inheritance_cache_entry>() - 8usize];
3806 ["Offset of field: _zend_inheritance_cache_entry::next"]
3807 [::std::mem::offset_of!(_zend_inheritance_cache_entry, next) - 0usize];
3808 ["Offset of field: _zend_inheritance_cache_entry::ce"]
3809 [::std::mem::offset_of!(_zend_inheritance_cache_entry, ce) - 8usize];
3810 ["Offset of field: _zend_inheritance_cache_entry::parent"]
3811 [::std::mem::offset_of!(_zend_inheritance_cache_entry, parent) - 16usize];
3812 ["Offset of field: _zend_inheritance_cache_entry::dependencies"]
3813 [::std::mem::offset_of!(_zend_inheritance_cache_entry, dependencies) - 24usize];
3814 ["Offset of field: _zend_inheritance_cache_entry::dependencies_count"]
3815 [::std::mem::offset_of!(_zend_inheritance_cache_entry, dependencies_count) - 32usize];
3816 ["Offset of field: _zend_inheritance_cache_entry::num_warnings"]
3817 [::std::mem::offset_of!(_zend_inheritance_cache_entry, num_warnings) - 36usize];
3818 ["Offset of field: _zend_inheritance_cache_entry::warnings"]
3819 [::std::mem::offset_of!(_zend_inheritance_cache_entry, warnings) - 40usize];
3820 ["Offset of field: _zend_inheritance_cache_entry::traits_and_interfaces"]
3821 [::std::mem::offset_of!(_zend_inheritance_cache_entry, traits_and_interfaces) - 48usize];
3822};
3823#[repr(C)]
3824#[derive(Copy, Clone)]
3825pub struct _zend_class_entry {
3826 pub type_: ::std::os::raw::c_char,
3827 pub name: *mut zend_string,
3828 pub __bindgen_anon_1: _zend_class_entry__bindgen_ty_1,
3829 pub refcount: ::std::os::raw::c_int,
3830 pub ce_flags: u32,
3831 pub default_properties_count: ::std::os::raw::c_int,
3832 pub default_static_members_count: ::std::os::raw::c_int,
3833 pub default_properties_table: *mut zval,
3834 pub default_static_members_table: *mut zval,
3835 pub static_members_table__ptr: *mut *mut zval,
3836 pub function_table: HashTable,
3837 pub properties_info: HashTable,
3838 pub constants_table: HashTable,
3839 pub mutable_data__ptr: *mut *mut zend_class_mutable_data,
3840 pub inheritance_cache: *mut zend_inheritance_cache_entry,
3841 pub properties_info_table: *mut *mut _zend_property_info,
3842 pub constructor: *mut zend_function,
3843 pub destructor: *mut zend_function,
3844 pub clone: *mut zend_function,
3845 pub __get: *mut zend_function,
3846 pub __set: *mut zend_function,
3847 pub __unset: *mut zend_function,
3848 pub __isset: *mut zend_function,
3849 pub __call: *mut zend_function,
3850 pub __callstatic: *mut zend_function,
3851 pub __tostring: *mut zend_function,
3852 pub __debugInfo: *mut zend_function,
3853 pub __serialize: *mut zend_function,
3854 pub __unserialize: *mut zend_function,
3855 pub iterator_funcs_ptr: *mut zend_class_iterator_funcs,
3856 pub __bindgen_anon_2: _zend_class_entry__bindgen_ty_2,
3857 pub get_iterator: ::std::option::Option<
3858 unsafe extern "C" fn(
3859 ce: *mut zend_class_entry,
3860 object: *mut zval,
3861 by_ref: ::std::os::raw::c_int,
3862 ) -> *mut zend_object_iterator,
3863 >,
3864 pub get_static_method: ::std::option::Option<
3865 unsafe extern "C" fn(
3866 ce: *mut zend_class_entry,
3867 method: *mut zend_string,
3868 ) -> *mut zend_function,
3869 >,
3870 pub serialize: ::std::option::Option<
3871 unsafe extern "C" fn(
3872 object: *mut zval,
3873 buffer: *mut *mut ::std::os::raw::c_uchar,
3874 buf_len: *mut usize,
3875 data: *mut zend_serialize_data,
3876 ) -> ::std::os::raw::c_int,
3877 >,
3878 pub unserialize: ::std::option::Option<
3879 unsafe extern "C" fn(
3880 object: *mut zval,
3881 ce: *mut zend_class_entry,
3882 buf: *const ::std::os::raw::c_uchar,
3883 buf_len: usize,
3884 data: *mut zend_unserialize_data,
3885 ) -> ::std::os::raw::c_int,
3886 >,
3887 pub num_interfaces: u32,
3888 pub num_traits: u32,
3889 pub __bindgen_anon_3: _zend_class_entry__bindgen_ty_3,
3890 pub trait_names: *mut zend_class_name,
3891 pub trait_aliases: *mut *mut zend_trait_alias,
3892 pub trait_precedences: *mut *mut zend_trait_precedence,
3893 pub attributes: *mut HashTable,
3894 pub enum_backing_type: u32,
3895 pub backed_enum_table: *mut HashTable,
3896 pub info: _zend_class_entry__bindgen_ty_4,
3897}
3898#[repr(C)]
3899#[derive(Copy, Clone)]
3900pub union _zend_class_entry__bindgen_ty_1 {
3901 pub parent: *mut zend_class_entry,
3902 pub parent_name: *mut zend_string,
3903}
3904#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3905const _: () = {
3906 ["Size of _zend_class_entry__bindgen_ty_1"]
3907 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
3908 ["Alignment of _zend_class_entry__bindgen_ty_1"]
3909 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
3910 ["Offset of field: _zend_class_entry__bindgen_ty_1::parent"]
3911 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, parent) - 0usize];
3912 ["Offset of field: _zend_class_entry__bindgen_ty_1::parent_name"]
3913 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, parent_name) - 0usize];
3914};
3915#[repr(C)]
3916#[derive(Copy, Clone)]
3917pub union _zend_class_entry__bindgen_ty_2 {
3918 pub create_object: ::std::option::Option<
3919 unsafe extern "C" fn(class_type: *mut zend_class_entry) -> *mut zend_object,
3920 >,
3921 pub interface_gets_implemented: ::std::option::Option<
3922 unsafe extern "C" fn(
3923 iface: *mut zend_class_entry,
3924 class_type: *mut zend_class_entry,
3925 ) -> ::std::os::raw::c_int,
3926 >,
3927}
3928#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3929const _: () = {
3930 ["Size of _zend_class_entry__bindgen_ty_2"]
3931 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_2>() - 8usize];
3932 ["Alignment of _zend_class_entry__bindgen_ty_2"]
3933 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_2>() - 8usize];
3934 ["Offset of field: _zend_class_entry__bindgen_ty_2::create_object"]
3935 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_2, create_object) - 0usize];
3936 ["Offset of field: _zend_class_entry__bindgen_ty_2::interface_gets_implemented"][::std::mem::offset_of!(
3937 _zend_class_entry__bindgen_ty_2,
3938 interface_gets_implemented
3939 ) - 0usize];
3940};
3941#[repr(C)]
3942#[derive(Copy, Clone)]
3943pub union _zend_class_entry__bindgen_ty_3 {
3944 pub interfaces: *mut *mut zend_class_entry,
3945 pub interface_names: *mut zend_class_name,
3946}
3947#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3948const _: () = {
3949 ["Size of _zend_class_entry__bindgen_ty_3"]
3950 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_3>() - 8usize];
3951 ["Alignment of _zend_class_entry__bindgen_ty_3"]
3952 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_3>() - 8usize];
3953 ["Offset of field: _zend_class_entry__bindgen_ty_3::interfaces"]
3954 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_3, interfaces) - 0usize];
3955 ["Offset of field: _zend_class_entry__bindgen_ty_3::interface_names"]
3956 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_3, interface_names) - 0usize];
3957};
3958#[repr(C)]
3959#[derive(Copy, Clone)]
3960pub union _zend_class_entry__bindgen_ty_4 {
3961 pub user: _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
3962 pub internal: _zend_class_entry__bindgen_ty_4__bindgen_ty_2,
3963}
3964#[repr(C)]
3965#[derive(Debug, Copy, Clone)]
3966pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_1 {
3967 pub filename: *mut zend_string,
3968 pub line_start: u32,
3969 pub line_end: u32,
3970 pub doc_comment: *mut zend_string,
3971}
3972#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3973const _: () = {
3974 ["Size of _zend_class_entry__bindgen_ty_4__bindgen_ty_1"]
3975 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>() - 24usize];
3976 ["Alignment of _zend_class_entry__bindgen_ty_4__bindgen_ty_1"]
3977 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>() - 8usize];
3978 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::filename"]
3979 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1, filename) - 0usize];
3980 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::line_start"][::std::mem::offset_of!(
3981 _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
3982 line_start
3983 ) - 8usize];
3984 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::line_end"]
3985 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1, line_end) - 12usize];
3986 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::doc_comment"][::std::mem::offset_of!(
3987 _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
3988 doc_comment
3989 ) - 16usize];
3990};
3991#[repr(C)]
3992#[derive(Debug, Copy, Clone)]
3993pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_2 {
3994 pub builtin_functions: *const _zend_function_entry,
3995 pub module: *mut _zend_module_entry,
3996}
3997#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3998const _: () = {
3999 ["Size of _zend_class_entry__bindgen_ty_4__bindgen_ty_2"]
4000 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>() - 16usize];
4001 ["Alignment of _zend_class_entry__bindgen_ty_4__bindgen_ty_2"]
4002 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>() - 8usize];
4003 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_2::builtin_functions"][::std::mem::offset_of!(
4004 _zend_class_entry__bindgen_ty_4__bindgen_ty_2,
4005 builtin_functions
4006 )
4007 - 0usize];
4008 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_2::module"]
4009 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_2, module) - 8usize];
4010};
4011#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4012const _: () = {
4013 ["Size of _zend_class_entry__bindgen_ty_4"]
4014 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4>() - 24usize];
4015 ["Alignment of _zend_class_entry__bindgen_ty_4"]
4016 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4>() - 8usize];
4017 ["Offset of field: _zend_class_entry__bindgen_ty_4::user"]
4018 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4, user) - 0usize];
4019 ["Offset of field: _zend_class_entry__bindgen_ty_4::internal"]
4020 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4, internal) - 0usize];
4021};
4022#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4023const _: () = {
4024 ["Size of _zend_class_entry"][::std::mem::size_of::<_zend_class_entry>() - 496usize];
4025 ["Alignment of _zend_class_entry"][::std::mem::align_of::<_zend_class_entry>() - 8usize];
4026 ["Offset of field: _zend_class_entry::type_"]
4027 [::std::mem::offset_of!(_zend_class_entry, type_) - 0usize];
4028 ["Offset of field: _zend_class_entry::name"]
4029 [::std::mem::offset_of!(_zend_class_entry, name) - 8usize];
4030 ["Offset of field: _zend_class_entry::refcount"]
4031 [::std::mem::offset_of!(_zend_class_entry, refcount) - 24usize];
4032 ["Offset of field: _zend_class_entry::ce_flags"]
4033 [::std::mem::offset_of!(_zend_class_entry, ce_flags) - 28usize];
4034 ["Offset of field: _zend_class_entry::default_properties_count"]
4035 [::std::mem::offset_of!(_zend_class_entry, default_properties_count) - 32usize];
4036 ["Offset of field: _zend_class_entry::default_static_members_count"]
4037 [::std::mem::offset_of!(_zend_class_entry, default_static_members_count) - 36usize];
4038 ["Offset of field: _zend_class_entry::default_properties_table"]
4039 [::std::mem::offset_of!(_zend_class_entry, default_properties_table) - 40usize];
4040 ["Offset of field: _zend_class_entry::default_static_members_table"]
4041 [::std::mem::offset_of!(_zend_class_entry, default_static_members_table) - 48usize];
4042 ["Offset of field: _zend_class_entry::static_members_table__ptr"]
4043 [::std::mem::offset_of!(_zend_class_entry, static_members_table__ptr) - 56usize];
4044 ["Offset of field: _zend_class_entry::function_table"]
4045 [::std::mem::offset_of!(_zend_class_entry, function_table) - 64usize];
4046 ["Offset of field: _zend_class_entry::properties_info"]
4047 [::std::mem::offset_of!(_zend_class_entry, properties_info) - 120usize];
4048 ["Offset of field: _zend_class_entry::constants_table"]
4049 [::std::mem::offset_of!(_zend_class_entry, constants_table) - 176usize];
4050 ["Offset of field: _zend_class_entry::mutable_data__ptr"]
4051 [::std::mem::offset_of!(_zend_class_entry, mutable_data__ptr) - 232usize];
4052 ["Offset of field: _zend_class_entry::inheritance_cache"]
4053 [::std::mem::offset_of!(_zend_class_entry, inheritance_cache) - 240usize];
4054 ["Offset of field: _zend_class_entry::properties_info_table"]
4055 [::std::mem::offset_of!(_zend_class_entry, properties_info_table) - 248usize];
4056 ["Offset of field: _zend_class_entry::constructor"]
4057 [::std::mem::offset_of!(_zend_class_entry, constructor) - 256usize];
4058 ["Offset of field: _zend_class_entry::destructor"]
4059 [::std::mem::offset_of!(_zend_class_entry, destructor) - 264usize];
4060 ["Offset of field: _zend_class_entry::clone"]
4061 [::std::mem::offset_of!(_zend_class_entry, clone) - 272usize];
4062 ["Offset of field: _zend_class_entry::__get"]
4063 [::std::mem::offset_of!(_zend_class_entry, __get) - 280usize];
4064 ["Offset of field: _zend_class_entry::__set"]
4065 [::std::mem::offset_of!(_zend_class_entry, __set) - 288usize];
4066 ["Offset of field: _zend_class_entry::__unset"]
4067 [::std::mem::offset_of!(_zend_class_entry, __unset) - 296usize];
4068 ["Offset of field: _zend_class_entry::__isset"]
4069 [::std::mem::offset_of!(_zend_class_entry, __isset) - 304usize];
4070 ["Offset of field: _zend_class_entry::__call"]
4071 [::std::mem::offset_of!(_zend_class_entry, __call) - 312usize];
4072 ["Offset of field: _zend_class_entry::__callstatic"]
4073 [::std::mem::offset_of!(_zend_class_entry, __callstatic) - 320usize];
4074 ["Offset of field: _zend_class_entry::__tostring"]
4075 [::std::mem::offset_of!(_zend_class_entry, __tostring) - 328usize];
4076 ["Offset of field: _zend_class_entry::__debugInfo"]
4077 [::std::mem::offset_of!(_zend_class_entry, __debugInfo) - 336usize];
4078 ["Offset of field: _zend_class_entry::__serialize"]
4079 [::std::mem::offset_of!(_zend_class_entry, __serialize) - 344usize];
4080 ["Offset of field: _zend_class_entry::__unserialize"]
4081 [::std::mem::offset_of!(_zend_class_entry, __unserialize) - 352usize];
4082 ["Offset of field: _zend_class_entry::iterator_funcs_ptr"]
4083 [::std::mem::offset_of!(_zend_class_entry, iterator_funcs_ptr) - 360usize];
4084 ["Offset of field: _zend_class_entry::get_iterator"]
4085 [::std::mem::offset_of!(_zend_class_entry, get_iterator) - 376usize];
4086 ["Offset of field: _zend_class_entry::get_static_method"]
4087 [::std::mem::offset_of!(_zend_class_entry, get_static_method) - 384usize];
4088 ["Offset of field: _zend_class_entry::serialize"]
4089 [::std::mem::offset_of!(_zend_class_entry, serialize) - 392usize];
4090 ["Offset of field: _zend_class_entry::unserialize"]
4091 [::std::mem::offset_of!(_zend_class_entry, unserialize) - 400usize];
4092 ["Offset of field: _zend_class_entry::num_interfaces"]
4093 [::std::mem::offset_of!(_zend_class_entry, num_interfaces) - 408usize];
4094 ["Offset of field: _zend_class_entry::num_traits"]
4095 [::std::mem::offset_of!(_zend_class_entry, num_traits) - 412usize];
4096 ["Offset of field: _zend_class_entry::trait_names"]
4097 [::std::mem::offset_of!(_zend_class_entry, trait_names) - 424usize];
4098 ["Offset of field: _zend_class_entry::trait_aliases"]
4099 [::std::mem::offset_of!(_zend_class_entry, trait_aliases) - 432usize];
4100 ["Offset of field: _zend_class_entry::trait_precedences"]
4101 [::std::mem::offset_of!(_zend_class_entry, trait_precedences) - 440usize];
4102 ["Offset of field: _zend_class_entry::attributes"]
4103 [::std::mem::offset_of!(_zend_class_entry, attributes) - 448usize];
4104 ["Offset of field: _zend_class_entry::enum_backing_type"]
4105 [::std::mem::offset_of!(_zend_class_entry, enum_backing_type) - 456usize];
4106 ["Offset of field: _zend_class_entry::backed_enum_table"]
4107 [::std::mem::offset_of!(_zend_class_entry, backed_enum_table) - 464usize];
4108 ["Offset of field: _zend_class_entry::info"]
4109 [::std::mem::offset_of!(_zend_class_entry, info) - 472usize];
4110};
4111#[repr(C)]
4112#[derive(Debug, Copy, Clone)]
4113pub struct _zend_utility_functions {
4114 pub error_function: ::std::option::Option<
4115 unsafe extern "C" fn(
4116 type_: ::std::os::raw::c_int,
4117 error_filename: *mut zend_string,
4118 error_lineno: u32,
4119 message: *mut zend_string,
4120 ),
4121 >,
4122 pub printf_function: ::std::option::Option<
4123 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
4124 >,
4125 pub write_function: ::std::option::Option<
4126 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
4127 >,
4128 pub fopen_function: ::std::option::Option<
4129 unsafe extern "C" fn(
4130 filename: *mut zend_string,
4131 opened_path: *mut *mut zend_string,
4132 ) -> *mut FILE,
4133 >,
4134 pub message_handler: ::std::option::Option<
4135 unsafe extern "C" fn(message: zend_long, data: *const ::std::os::raw::c_void),
4136 >,
4137 pub get_configuration_directive:
4138 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
4139 pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
4140 pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
4141 pub stream_open_function:
4142 ::std::option::Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>,
4143 pub printf_to_smart_string_function: ::std::option::Option<
4144 unsafe extern "C" fn(
4145 buf: *mut smart_string,
4146 format: *const ::std::os::raw::c_char,
4147 ap: *mut __va_list_tag,
4148 ),
4149 >,
4150 pub printf_to_smart_str_function: ::std::option::Option<
4151 unsafe extern "C" fn(
4152 buf: *mut smart_str,
4153 format: *const ::std::os::raw::c_char,
4154 ap: *mut __va_list_tag,
4155 ),
4156 >,
4157 pub getenv_function: ::std::option::Option<
4158 unsafe extern "C" fn(
4159 name: *const ::std::os::raw::c_char,
4160 name_len: usize,
4161 ) -> *mut ::std::os::raw::c_char,
4162 >,
4163 pub resolve_path_function:
4164 ::std::option::Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>,
4165}
4166#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4167const _: () = {
4168 ["Size of _zend_utility_functions"]
4169 [::std::mem::size_of::<_zend_utility_functions>() - 104usize];
4170 ["Alignment of _zend_utility_functions"]
4171 [::std::mem::align_of::<_zend_utility_functions>() - 8usize];
4172 ["Offset of field: _zend_utility_functions::error_function"]
4173 [::std::mem::offset_of!(_zend_utility_functions, error_function) - 0usize];
4174 ["Offset of field: _zend_utility_functions::printf_function"]
4175 [::std::mem::offset_of!(_zend_utility_functions, printf_function) - 8usize];
4176 ["Offset of field: _zend_utility_functions::write_function"]
4177 [::std::mem::offset_of!(_zend_utility_functions, write_function) - 16usize];
4178 ["Offset of field: _zend_utility_functions::fopen_function"]
4179 [::std::mem::offset_of!(_zend_utility_functions, fopen_function) - 24usize];
4180 ["Offset of field: _zend_utility_functions::message_handler"]
4181 [::std::mem::offset_of!(_zend_utility_functions, message_handler) - 32usize];
4182 ["Offset of field: _zend_utility_functions::get_configuration_directive"]
4183 [::std::mem::offset_of!(_zend_utility_functions, get_configuration_directive) - 40usize];
4184 ["Offset of field: _zend_utility_functions::ticks_function"]
4185 [::std::mem::offset_of!(_zend_utility_functions, ticks_function) - 48usize];
4186 ["Offset of field: _zend_utility_functions::on_timeout"]
4187 [::std::mem::offset_of!(_zend_utility_functions, on_timeout) - 56usize];
4188 ["Offset of field: _zend_utility_functions::stream_open_function"]
4189 [::std::mem::offset_of!(_zend_utility_functions, stream_open_function) - 64usize];
4190 ["Offset of field: _zend_utility_functions::printf_to_smart_string_function"][::std::mem::offset_of!(
4191 _zend_utility_functions,
4192 printf_to_smart_string_function
4193 ) - 72usize];
4194 ["Offset of field: _zend_utility_functions::printf_to_smart_str_function"]
4195 [::std::mem::offset_of!(_zend_utility_functions, printf_to_smart_str_function) - 80usize];
4196 ["Offset of field: _zend_utility_functions::getenv_function"]
4197 [::std::mem::offset_of!(_zend_utility_functions, getenv_function) - 88usize];
4198 ["Offset of field: _zend_utility_functions::resolve_path_function"]
4199 [::std::mem::offset_of!(_zend_utility_functions, resolve_path_function) - 96usize];
4200};
4201pub type zend_utility_functions = _zend_utility_functions;
4202#[repr(C)]
4203#[derive(Debug, Copy, Clone)]
4204pub struct _zend_utility_values {
4205 pub html_errors: bool,
4206}
4207#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4208const _: () = {
4209 ["Size of _zend_utility_values"][::std::mem::size_of::<_zend_utility_values>() - 1usize];
4210 ["Alignment of _zend_utility_values"][::std::mem::align_of::<_zend_utility_values>() - 1usize];
4211 ["Offset of field: _zend_utility_values::html_errors"]
4212 [::std::mem::offset_of!(_zend_utility_values, html_errors) - 0usize];
4213};
4214pub type zend_utility_values = _zend_utility_values;
4215pub type zend_write_func_t = ::std::option::Option<
4216 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
4217>;
4218extern "C" {
4219 pub fn zend_startup(utility_functions: *mut zend_utility_functions);
4220}
4221extern "C" {
4222 pub fn zend_shutdown();
4223}
4224extern "C" {
4225 pub fn zend_register_standard_ini_entries();
4226}
4227extern "C" {
4228 pub fn zend_post_startup() -> zend_result;
4229}
4230extern "C" {
4231 pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
4232}
4233extern "C" {
4234 pub fn _zend_bailout(filename: *const ::std::os::raw::c_char, lineno: u32) -> !;
4235}
4236extern "C" {
4237 pub fn zend_get_page_size() -> usize;
4238}
4239extern "C" {
4240 pub fn zend_vspprintf(
4241 pbuf: *mut *mut ::std::os::raw::c_char,
4242 max_len: usize,
4243 format: *const ::std::os::raw::c_char,
4244 ap: *mut __va_list_tag,
4245 ) -> usize;
4246}
4247extern "C" {
4248 pub fn zend_spprintf(
4249 message: *mut *mut ::std::os::raw::c_char,
4250 max_len: usize,
4251 format: *const ::std::os::raw::c_char,
4252 ...
4253 ) -> usize;
4254}
4255extern "C" {
4256 pub fn zend_vstrpprintf(
4257 max_len: usize,
4258 format: *const ::std::os::raw::c_char,
4259 ap: *mut __va_list_tag,
4260 ) -> *mut zend_string;
4261}
4262extern "C" {
4263 pub fn zend_strpprintf(
4264 max_len: usize,
4265 format: *const ::std::os::raw::c_char,
4266 ...
4267 ) -> *mut zend_string;
4268}
4269extern "C" {
4270 pub fn zend_spprintf_unchecked(
4271 message: *mut *mut ::std::os::raw::c_char,
4272 max_len: usize,
4273 format: *const ::std::os::raw::c_char,
4274 ...
4275 ) -> usize;
4276}
4277extern "C" {
4278 pub fn zend_strpprintf_unchecked(
4279 max_len: usize,
4280 format: *const ::std::os::raw::c_char,
4281 ...
4282 ) -> *mut zend_string;
4283}
4284extern "C" {
4285 pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval) -> bool;
4286}
4287extern "C" {
4288 pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> usize;
4289}
4290extern "C" {
4291 pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
4292}
4293extern "C" {
4294 pub fn zend_print_zval_r_to_str(
4295 expr: *mut zval,
4296 indent: ::std::os::raw::c_int,
4297 ) -> *mut zend_string;
4298}
4299extern "C" {
4300 pub fn zend_print_flat_zval_r(expr: *mut zval);
4301}
4302extern "C" {
4303 pub fn zend_print_flat_zval_r_to_buf(str_: *mut smart_str, expr: *mut zval);
4304}
4305extern "C" {
4306 pub fn zend_output_debug_string(
4307 trigger_break: bool,
4308 format: *const ::std::os::raw::c_char,
4309 ...
4310 );
4311}
4312extern "C" {
4313 pub fn zend_activate();
4314}
4315extern "C" {
4316 pub fn zend_deactivate();
4317}
4318extern "C" {
4319 pub fn zend_call_destructors();
4320}
4321extern "C" {
4322 pub fn zend_activate_modules();
4323}
4324extern "C" {
4325 pub fn zend_deactivate_modules();
4326}
4327extern "C" {
4328 pub fn zend_post_deactivate_modules();
4329}
4330extern "C" {
4331 pub static mut zend_printf: ::std::option::Option<
4332 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
4333 >;
4334}
4335extern "C" {
4336 pub static mut zend_write: zend_write_func_t;
4337}
4338extern "C" {
4339 pub static mut zend_fopen: ::std::option::Option<
4340 unsafe extern "C" fn(
4341 filename: *mut zend_string,
4342 opened_path: *mut *mut zend_string,
4343 ) -> *mut FILE,
4344 >;
4345}
4346extern "C" {
4347 pub static mut zend_ticks_function:
4348 ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
4349}
4350extern "C" {
4351 pub static mut zend_interrupt_function:
4352 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
4353}
4354extern "C" {
4355 pub static mut zend_error_cb: ::std::option::Option<
4356 unsafe extern "C" fn(
4357 type_: ::std::os::raw::c_int,
4358 error_filename: *mut zend_string,
4359 error_lineno: u32,
4360 message: *mut zend_string,
4361 ),
4362 >;
4363}
4364extern "C" {
4365 pub static mut zend_on_timeout:
4366 ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
4367}
4368extern "C" {
4369 pub static mut zend_stream_open_function:
4370 ::std::option::Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>;
4371}
4372extern "C" {
4373 pub static mut zend_printf_to_smart_string: ::std::option::Option<
4374 unsafe extern "C" fn(
4375 buf: *mut smart_string,
4376 format: *const ::std::os::raw::c_char,
4377 ap: *mut __va_list_tag,
4378 ),
4379 >;
4380}
4381extern "C" {
4382 pub static mut zend_printf_to_smart_str: ::std::option::Option<
4383 unsafe extern "C" fn(
4384 buf: *mut smart_str,
4385 format: *const ::std::os::raw::c_char,
4386 ap: *mut __va_list_tag,
4387 ),
4388 >;
4389}
4390extern "C" {
4391 pub static mut zend_getenv: ::std::option::Option<
4392 unsafe extern "C" fn(
4393 name: *const ::std::os::raw::c_char,
4394 name_len: usize,
4395 ) -> *mut ::std::os::raw::c_char,
4396 >;
4397}
4398extern "C" {
4399 pub static mut zend_resolve_path:
4400 ::std::option::Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>;
4401}
4402extern "C" {
4403 pub static mut zend_post_startup_cb:
4404 ::std::option::Option<unsafe extern "C" fn() -> zend_result>;
4405}
4406extern "C" {
4407 pub static mut zend_post_shutdown_cb: ::std::option::Option<unsafe extern "C" fn()>;
4408}
4409extern "C" {
4410 pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
4411}
4412extern "C" {
4413 pub fn zend_error_noreturn(
4414 type_: ::std::os::raw::c_int,
4415 format: *const ::std::os::raw::c_char,
4416 ...
4417 ) -> !;
4418}
4419extern "C" {
4420 pub fn zend_error_unchecked(
4421 type_: ::std::os::raw::c_int,
4422 format: *const ::std::os::raw::c_char,
4423 ...
4424 );
4425}
4426extern "C" {
4427 pub fn zend_error_at(
4428 type_: ::std::os::raw::c_int,
4429 filename: *mut zend_string,
4430 lineno: u32,
4431 format: *const ::std::os::raw::c_char,
4432 ...
4433 );
4434}
4435extern "C" {
4436 pub fn zend_error_at_noreturn(
4437 type_: ::std::os::raw::c_int,
4438 filename: *mut zend_string,
4439 lineno: u32,
4440 format: *const ::std::os::raw::c_char,
4441 ...
4442 ) -> !;
4443}
4444extern "C" {
4445 pub fn zend_error_zstr(type_: ::std::os::raw::c_int, message: *mut zend_string);
4446}
4447extern "C" {
4448 pub fn zend_error_zstr_at(
4449 type_: ::std::os::raw::c_int,
4450 filename: *mut zend_string,
4451 lineno: u32,
4452 message: *mut zend_string,
4453 );
4454}
4455extern "C" {
4456 pub fn zend_throw_error(
4457 exception_ce: *mut zend_class_entry,
4458 format: *const ::std::os::raw::c_char,
4459 ...
4460 );
4461}
4462extern "C" {
4463 pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
4464}
4465extern "C" {
4466 pub fn zend_argument_count_error(format: *const ::std::os::raw::c_char, ...);
4467}
4468extern "C" {
4469 pub fn zend_value_error(format: *const ::std::os::raw::c_char, ...);
4470}
4471extern "C" {
4472 pub fn zenderror(error: *const ::std::os::raw::c_char);
4473}
4474extern "C" {
4475 pub fn zend_strerror_noreturn(
4476 type_: ::std::os::raw::c_int,
4477 errn: ::std::os::raw::c_int,
4478 message: *const ::std::os::raw::c_char,
4479 ) -> !;
4480}
4481extern "C" {
4482 pub static mut zend_standard_class_def: *mut zend_class_entry;
4483}
4484extern "C" {
4485 pub static mut zend_uv: zend_utility_values;
4486}
4487extern "C" {
4488 pub static mut zend_dtrace_enabled: bool;
4489}
4490extern "C" {
4491 pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
4492}
4493extern "C" {
4494 pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
4495}
4496pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
4497pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 1;
4498pub type zend_error_handling_t = ::std::os::raw::c_uint;
4499#[repr(C)]
4500#[derive(Debug, Copy, Clone)]
4501pub struct zend_error_handling {
4502 pub handling: zend_error_handling_t,
4503 pub exception: *mut zend_class_entry,
4504}
4505#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4506const _: () = {
4507 ["Size of zend_error_handling"][::std::mem::size_of::<zend_error_handling>() - 16usize];
4508 ["Alignment of zend_error_handling"][::std::mem::align_of::<zend_error_handling>() - 8usize];
4509 ["Offset of field: zend_error_handling::handling"]
4510 [::std::mem::offset_of!(zend_error_handling, handling) - 0usize];
4511 ["Offset of field: zend_error_handling::exception"]
4512 [::std::mem::offset_of!(zend_error_handling, exception) - 8usize];
4513};
4514extern "C" {
4515 pub fn zend_save_error_handling(current: *mut zend_error_handling);
4516}
4517extern "C" {
4518 pub fn zend_replace_error_handling(
4519 error_handling: zend_error_handling_t,
4520 exception_class: *mut zend_class_entry,
4521 current: *mut zend_error_handling,
4522 );
4523}
4524extern "C" {
4525 pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
4526}
4527extern "C" {
4528 pub fn zend_begin_record_errors();
4529}
4530extern "C" {
4531 pub fn zend_emit_recorded_errors();
4532}
4533extern "C" {
4534 pub fn zend_free_recorded_errors();
4535}
4536pub type zend_object_read_property_t = ::std::option::Option<
4537 unsafe extern "C" fn(
4538 object: *mut zend_object,
4539 member: *mut zend_string,
4540 type_: ::std::os::raw::c_int,
4541 cache_slot: *mut *mut ::std::os::raw::c_void,
4542 rv: *mut zval,
4543 ) -> *mut zval,
4544>;
4545pub type zend_object_read_dimension_t = ::std::option::Option<
4546 unsafe extern "C" fn(
4547 object: *mut zend_object,
4548 offset: *mut zval,
4549 type_: ::std::os::raw::c_int,
4550 rv: *mut zval,
4551 ) -> *mut zval,
4552>;
4553pub type zend_object_write_property_t = ::std::option::Option<
4554 unsafe extern "C" fn(
4555 object: *mut zend_object,
4556 member: *mut zend_string,
4557 value: *mut zval,
4558 cache_slot: *mut *mut ::std::os::raw::c_void,
4559 ) -> *mut zval,
4560>;
4561pub type zend_object_write_dimension_t = ::std::option::Option<
4562 unsafe extern "C" fn(object: *mut zend_object, offset: *mut zval, value: *mut zval),
4563>;
4564pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
4565 unsafe extern "C" fn(
4566 object: *mut zend_object,
4567 member: *mut zend_string,
4568 type_: ::std::os::raw::c_int,
4569 cache_slot: *mut *mut ::std::os::raw::c_void,
4570 ) -> *mut zval,
4571>;
4572pub type zend_object_has_property_t = ::std::option::Option<
4573 unsafe extern "C" fn(
4574 object: *mut zend_object,
4575 member: *mut zend_string,
4576 has_set_exists: ::std::os::raw::c_int,
4577 cache_slot: *mut *mut ::std::os::raw::c_void,
4578 ) -> ::std::os::raw::c_int,
4579>;
4580pub type zend_object_has_dimension_t = ::std::option::Option<
4581 unsafe extern "C" fn(
4582 object: *mut zend_object,
4583 member: *mut zval,
4584 check_empty: ::std::os::raw::c_int,
4585 ) -> ::std::os::raw::c_int,
4586>;
4587pub type zend_object_unset_property_t = ::std::option::Option<
4588 unsafe extern "C" fn(
4589 object: *mut zend_object,
4590 member: *mut zend_string,
4591 cache_slot: *mut *mut ::std::os::raw::c_void,
4592 ),
4593>;
4594pub type zend_object_unset_dimension_t =
4595 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object, offset: *mut zval)>;
4596pub type zend_object_get_properties_t =
4597 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut HashTable>;
4598pub type zend_object_get_debug_info_t = ::std::option::Option<
4599 unsafe extern "C" fn(
4600 object: *mut zend_object,
4601 is_temp: *mut ::std::os::raw::c_int,
4602 ) -> *mut HashTable,
4603>;
4604pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_DEBUG: _zend_prop_purpose = 0;
4605pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_ARRAY_CAST: _zend_prop_purpose = 1;
4606pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_SERIALIZE: _zend_prop_purpose = 2;
4607pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_VAR_EXPORT: _zend_prop_purpose = 3;
4608pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_JSON: _zend_prop_purpose = 4;
4609pub const _zend_prop_purpose__ZEND_PROP_PURPOSE_NON_EXHAUSTIVE_ENUM: _zend_prop_purpose = 5;
4610pub type _zend_prop_purpose = ::std::os::raw::c_uint;
4611pub use self::_zend_prop_purpose as zend_prop_purpose;
4612pub type zend_object_get_properties_for_t = ::std::option::Option<
4613 unsafe extern "C" fn(object: *mut zend_object, purpose: zend_prop_purpose) -> *mut zend_array,
4614>;
4615pub type zend_object_get_method_t = ::std::option::Option<
4616 unsafe extern "C" fn(
4617 object: *mut *mut zend_object,
4618 method: *mut zend_string,
4619 key: *const zval,
4620 ) -> *mut zend_function,
4621>;
4622pub type zend_object_get_constructor_t =
4623 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_function>;
4624pub type zend_object_free_obj_t =
4625 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
4626pub type zend_object_dtor_obj_t =
4627 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
4628pub type zend_object_clone_obj_t =
4629 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_object>;
4630pub type zend_object_get_class_name_t =
4631 ::std::option::Option<unsafe extern "C" fn(object: *const zend_object) -> *mut zend_string>;
4632pub type zend_object_compare_t = ::std::option::Option<
4633 unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
4634>;
4635pub type zend_object_cast_t = ::std::option::Option<
4636 unsafe extern "C" fn(
4637 readobj: *mut zend_object,
4638 retval: *mut zval,
4639 type_: ::std::os::raw::c_int,
4640 ) -> ::std::os::raw::c_int,
4641>;
4642pub type zend_object_count_elements_t = ::std::option::Option<
4643 unsafe extern "C" fn(object: *mut zend_object, count: *mut zend_long) -> ::std::os::raw::c_int,
4644>;
4645pub type zend_object_get_closure_t = ::std::option::Option<
4646 unsafe extern "C" fn(
4647 obj: *mut zend_object,
4648 ce_ptr: *mut *mut zend_class_entry,
4649 fptr_ptr: *mut *mut zend_function,
4650 obj_ptr: *mut *mut zend_object,
4651 check_only: bool,
4652 ) -> ::std::os::raw::c_int,
4653>;
4654pub type zend_object_get_gc_t = ::std::option::Option<
4655 unsafe extern "C" fn(
4656 object: *mut zend_object,
4657 table: *mut *mut zval,
4658 n: *mut ::std::os::raw::c_int,
4659 ) -> *mut HashTable,
4660>;
4661pub type zend_object_do_operation_t = ::std::option::Option<
4662 unsafe extern "C" fn(
4663 opcode: zend_uchar,
4664 result: *mut zval,
4665 op1: *mut zval,
4666 op2: *mut zval,
4667 ) -> ::std::os::raw::c_int,
4668>;
4669#[repr(C)]
4670#[derive(Debug, Copy, Clone)]
4671pub struct _zend_object_handlers {
4672 pub offset: ::std::os::raw::c_int,
4673 pub free_obj: zend_object_free_obj_t,
4674 pub dtor_obj: zend_object_dtor_obj_t,
4675 pub clone_obj: zend_object_clone_obj_t,
4676 pub read_property: zend_object_read_property_t,
4677 pub write_property: zend_object_write_property_t,
4678 pub read_dimension: zend_object_read_dimension_t,
4679 pub write_dimension: zend_object_write_dimension_t,
4680 pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
4681 pub has_property: zend_object_has_property_t,
4682 pub unset_property: zend_object_unset_property_t,
4683 pub has_dimension: zend_object_has_dimension_t,
4684 pub unset_dimension: zend_object_unset_dimension_t,
4685 pub get_properties: zend_object_get_properties_t,
4686 pub get_method: zend_object_get_method_t,
4687 pub get_constructor: zend_object_get_constructor_t,
4688 pub get_class_name: zend_object_get_class_name_t,
4689 pub cast_object: zend_object_cast_t,
4690 pub count_elements: zend_object_count_elements_t,
4691 pub get_debug_info: zend_object_get_debug_info_t,
4692 pub get_closure: zend_object_get_closure_t,
4693 pub get_gc: zend_object_get_gc_t,
4694 pub do_operation: zend_object_do_operation_t,
4695 pub compare: zend_object_compare_t,
4696 pub get_properties_for: zend_object_get_properties_for_t,
4697}
4698#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4699const _: () = {
4700 ["Size of _zend_object_handlers"][::std::mem::size_of::<_zend_object_handlers>() - 200usize];
4701 ["Alignment of _zend_object_handlers"]
4702 [::std::mem::align_of::<_zend_object_handlers>() - 8usize];
4703 ["Offset of field: _zend_object_handlers::offset"]
4704 [::std::mem::offset_of!(_zend_object_handlers, offset) - 0usize];
4705 ["Offset of field: _zend_object_handlers::free_obj"]
4706 [::std::mem::offset_of!(_zend_object_handlers, free_obj) - 8usize];
4707 ["Offset of field: _zend_object_handlers::dtor_obj"]
4708 [::std::mem::offset_of!(_zend_object_handlers, dtor_obj) - 16usize];
4709 ["Offset of field: _zend_object_handlers::clone_obj"]
4710 [::std::mem::offset_of!(_zend_object_handlers, clone_obj) - 24usize];
4711 ["Offset of field: _zend_object_handlers::read_property"]
4712 [::std::mem::offset_of!(_zend_object_handlers, read_property) - 32usize];
4713 ["Offset of field: _zend_object_handlers::write_property"]
4714 [::std::mem::offset_of!(_zend_object_handlers, write_property) - 40usize];
4715 ["Offset of field: _zend_object_handlers::read_dimension"]
4716 [::std::mem::offset_of!(_zend_object_handlers, read_dimension) - 48usize];
4717 ["Offset of field: _zend_object_handlers::write_dimension"]
4718 [::std::mem::offset_of!(_zend_object_handlers, write_dimension) - 56usize];
4719 ["Offset of field: _zend_object_handlers::get_property_ptr_ptr"]
4720 [::std::mem::offset_of!(_zend_object_handlers, get_property_ptr_ptr) - 64usize];
4721 ["Offset of field: _zend_object_handlers::has_property"]
4722 [::std::mem::offset_of!(_zend_object_handlers, has_property) - 72usize];
4723 ["Offset of field: _zend_object_handlers::unset_property"]
4724 [::std::mem::offset_of!(_zend_object_handlers, unset_property) - 80usize];
4725 ["Offset of field: _zend_object_handlers::has_dimension"]
4726 [::std::mem::offset_of!(_zend_object_handlers, has_dimension) - 88usize];
4727 ["Offset of field: _zend_object_handlers::unset_dimension"]
4728 [::std::mem::offset_of!(_zend_object_handlers, unset_dimension) - 96usize];
4729 ["Offset of field: _zend_object_handlers::get_properties"]
4730 [::std::mem::offset_of!(_zend_object_handlers, get_properties) - 104usize];
4731 ["Offset of field: _zend_object_handlers::get_method"]
4732 [::std::mem::offset_of!(_zend_object_handlers, get_method) - 112usize];
4733 ["Offset of field: _zend_object_handlers::get_constructor"]
4734 [::std::mem::offset_of!(_zend_object_handlers, get_constructor) - 120usize];
4735 ["Offset of field: _zend_object_handlers::get_class_name"]
4736 [::std::mem::offset_of!(_zend_object_handlers, get_class_name) - 128usize];
4737 ["Offset of field: _zend_object_handlers::cast_object"]
4738 [::std::mem::offset_of!(_zend_object_handlers, cast_object) - 136usize];
4739 ["Offset of field: _zend_object_handlers::count_elements"]
4740 [::std::mem::offset_of!(_zend_object_handlers, count_elements) - 144usize];
4741 ["Offset of field: _zend_object_handlers::get_debug_info"]
4742 [::std::mem::offset_of!(_zend_object_handlers, get_debug_info) - 152usize];
4743 ["Offset of field: _zend_object_handlers::get_closure"]
4744 [::std::mem::offset_of!(_zend_object_handlers, get_closure) - 160usize];
4745 ["Offset of field: _zend_object_handlers::get_gc"]
4746 [::std::mem::offset_of!(_zend_object_handlers, get_gc) - 168usize];
4747 ["Offset of field: _zend_object_handlers::do_operation"]
4748 [::std::mem::offset_of!(_zend_object_handlers, do_operation) - 176usize];
4749 ["Offset of field: _zend_object_handlers::compare"]
4750 [::std::mem::offset_of!(_zend_object_handlers, compare) - 184usize];
4751 ["Offset of field: _zend_object_handlers::get_properties_for"]
4752 [::std::mem::offset_of!(_zend_object_handlers, get_properties_for) - 192usize];
4753};
4754extern "C" {
4755 pub static std_object_handlers: zend_object_handlers;
4756}
4757extern "C" {
4758 pub fn zend_class_init_statics(ce: *mut zend_class_entry);
4759}
4760extern "C" {
4761 pub fn zend_std_get_static_method(
4762 ce: *mut zend_class_entry,
4763 function_name_strval: *mut zend_string,
4764 key: *const zval,
4765 ) -> *mut zend_function;
4766}
4767extern "C" {
4768 pub fn zend_std_get_static_property_with_info(
4769 ce: *mut zend_class_entry,
4770 property_name: *mut zend_string,
4771 type_: ::std::os::raw::c_int,
4772 prop_info: *mut *mut _zend_property_info,
4773 ) -> *mut zval;
4774}
4775extern "C" {
4776 pub fn zend_std_get_static_property(
4777 ce: *mut zend_class_entry,
4778 property_name: *mut zend_string,
4779 type_: ::std::os::raw::c_int,
4780 ) -> *mut zval;
4781}
4782extern "C" {
4783 pub fn zend_std_unset_static_property(
4784 ce: *mut zend_class_entry,
4785 property_name: *mut zend_string,
4786 ) -> bool;
4787}
4788extern "C" {
4789 pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut zend_function;
4790}
4791extern "C" {
4792 pub fn zend_get_property_info(
4793 ce: *mut zend_class_entry,
4794 member: *mut zend_string,
4795 silent: ::std::os::raw::c_int,
4796 ) -> *mut _zend_property_info;
4797}
4798extern "C" {
4799 pub fn zend_std_get_properties(object: *mut zend_object) -> *mut HashTable;
4800}
4801extern "C" {
4802 pub fn zend_std_get_gc(
4803 object: *mut zend_object,
4804 table: *mut *mut zval,
4805 n: *mut ::std::os::raw::c_int,
4806 ) -> *mut HashTable;
4807}
4808extern "C" {
4809 pub fn zend_std_get_debug_info(
4810 object: *mut zend_object,
4811 is_temp: *mut ::std::os::raw::c_int,
4812 ) -> *mut HashTable;
4813}
4814extern "C" {
4815 pub fn zend_std_cast_object_tostring(
4816 object: *mut zend_object,
4817 writeobj: *mut zval,
4818 type_: ::std::os::raw::c_int,
4819 ) -> ::std::os::raw::c_int;
4820}
4821extern "C" {
4822 pub fn zend_std_get_property_ptr_ptr(
4823 object: *mut zend_object,
4824 member: *mut zend_string,
4825 type_: ::std::os::raw::c_int,
4826 cache_slot: *mut *mut ::std::os::raw::c_void,
4827 ) -> *mut zval;
4828}
4829extern "C" {
4830 pub fn zend_std_read_property(
4831 object: *mut zend_object,
4832 member: *mut zend_string,
4833 type_: ::std::os::raw::c_int,
4834 cache_slot: *mut *mut ::std::os::raw::c_void,
4835 rv: *mut zval,
4836 ) -> *mut zval;
4837}
4838extern "C" {
4839 pub fn zend_std_write_property(
4840 object: *mut zend_object,
4841 member: *mut zend_string,
4842 value: *mut zval,
4843 cache_slot: *mut *mut ::std::os::raw::c_void,
4844 ) -> *mut zval;
4845}
4846extern "C" {
4847 pub fn zend_std_has_property(
4848 object: *mut zend_object,
4849 member: *mut zend_string,
4850 has_set_exists: ::std::os::raw::c_int,
4851 cache_slot: *mut *mut ::std::os::raw::c_void,
4852 ) -> ::std::os::raw::c_int;
4853}
4854extern "C" {
4855 pub fn zend_std_unset_property(
4856 object: *mut zend_object,
4857 member: *mut zend_string,
4858 cache_slot: *mut *mut ::std::os::raw::c_void,
4859 );
4860}
4861extern "C" {
4862 pub fn zend_std_read_dimension(
4863 object: *mut zend_object,
4864 offset: *mut zval,
4865 type_: ::std::os::raw::c_int,
4866 rv: *mut zval,
4867 ) -> *mut zval;
4868}
4869extern "C" {
4870 pub fn zend_std_write_dimension(object: *mut zend_object, offset: *mut zval, value: *mut zval);
4871}
4872extern "C" {
4873 pub fn zend_std_has_dimension(
4874 object: *mut zend_object,
4875 offset: *mut zval,
4876 check_empty: ::std::os::raw::c_int,
4877 ) -> ::std::os::raw::c_int;
4878}
4879extern "C" {
4880 pub fn zend_std_unset_dimension(object: *mut zend_object, offset: *mut zval);
4881}
4882extern "C" {
4883 pub fn zend_std_get_method(
4884 obj_ptr: *mut *mut zend_object,
4885 method_name: *mut zend_string,
4886 key: *const zval,
4887 ) -> *mut zend_function;
4888}
4889extern "C" {
4890 pub fn zend_std_get_class_name(zobj: *const zend_object) -> *mut zend_string;
4891}
4892extern "C" {
4893 pub fn zend_std_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
4894}
4895extern "C" {
4896 pub fn zend_std_get_closure(
4897 obj: *mut zend_object,
4898 ce_ptr: *mut *mut zend_class_entry,
4899 fptr_ptr: *mut *mut zend_function,
4900 obj_ptr: *mut *mut zend_object,
4901 check_only: bool,
4902 ) -> ::std::os::raw::c_int;
4903}
4904extern "C" {
4905 pub fn zend_std_build_object_properties_array(zobj: *mut zend_object) -> *mut HashTable;
4906}
4907extern "C" {
4908 pub fn zend_objects_not_comparable(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
4909}
4910extern "C" {
4911 pub fn zend_check_protected(
4912 ce: *mut zend_class_entry,
4913 scope: *mut zend_class_entry,
4914 ) -> ::std::os::raw::c_int;
4915}
4916extern "C" {
4917 pub fn zend_check_property_access(
4918 zobj: *mut zend_object,
4919 prop_info_name: *mut zend_string,
4920 is_dynamic: bool,
4921 ) -> ::std::os::raw::c_int;
4922}
4923extern "C" {
4924 pub fn zend_get_call_trampoline_func(
4925 ce: *mut zend_class_entry,
4926 method_name: *mut zend_string,
4927 is_static: ::std::os::raw::c_int,
4928 ) -> *mut zend_function;
4929}
4930extern "C" {
4931 pub fn zend_get_property_guard(zobj: *mut zend_object, member: *mut zend_string) -> *mut u32;
4932}
4933extern "C" {
4934 pub fn zend_std_get_properties_for(
4935 obj: *mut zend_object,
4936 purpose: zend_prop_purpose,
4937 ) -> *mut HashTable;
4938}
4939extern "C" {
4940 pub fn zend_get_properties_for(obj: *mut zval, purpose: zend_prop_purpose) -> *mut HashTable;
4941}
4942extern "C" {
4943 pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
4944}
4945extern "C" {
4946 pub fn zend_dtoa(
4947 _d: f64,
4948 mode: ::std::os::raw::c_int,
4949 ndigits: ::std::os::raw::c_int,
4950 decpt: *mut ::std::os::raw::c_int,
4951 sign: *mut bool,
4952 rve: *mut *mut ::std::os::raw::c_char,
4953 ) -> *mut ::std::os::raw::c_char;
4954}
4955extern "C" {
4956 pub fn zend_gcvt(
4957 value: f64,
4958 ndigit: ::std::os::raw::c_int,
4959 dec_point: ::std::os::raw::c_char,
4960 exponent: ::std::os::raw::c_char,
4961 buf: *mut ::std::os::raw::c_char,
4962 ) -> *mut ::std::os::raw::c_char;
4963}
4964extern "C" {
4965 pub fn zend_strtod(
4966 s00: *const ::std::os::raw::c_char,
4967 se: *mut *const ::std::os::raw::c_char,
4968 ) -> f64;
4969}
4970extern "C" {
4971 pub fn zend_hex_strtod(
4972 str_: *const ::std::os::raw::c_char,
4973 endptr: *mut *const ::std::os::raw::c_char,
4974 ) -> f64;
4975}
4976extern "C" {
4977 pub fn zend_oct_strtod(
4978 str_: *const ::std::os::raw::c_char,
4979 endptr: *mut *const ::std::os::raw::c_char,
4980 ) -> f64;
4981}
4982extern "C" {
4983 pub fn zend_bin_strtod(
4984 str_: *const ::std::os::raw::c_char,
4985 endptr: *mut *const ::std::os::raw::c_char,
4986 ) -> f64;
4987}
4988extern "C" {
4989 pub fn zend_startup_strtod() -> ::std::os::raw::c_int;
4990}
4991extern "C" {
4992 pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
4993}
4994extern "C" {
4995 pub fn zend_is_identical(op1: *mut zval, op2: *mut zval) -> bool;
4996}
4997extern "C" {
4998 pub fn zend_class_implements_interface(
4999 class_ce: *const zend_class_entry,
5000 interface_ce: *const zend_class_entry,
5001 ) -> bool;
5002}
5003extern "C" {
5004 pub fn zend_memnstr_ex(
5005 haystack: *const ::std::os::raw::c_char,
5006 needle: *const ::std::os::raw::c_char,
5007 needle_len: usize,
5008 end: *const ::std::os::raw::c_char,
5009 ) -> *const ::std::os::raw::c_char;
5010}
5011extern "C" {
5012 pub fn zend_memnrstr_ex(
5013 haystack: *const ::std::os::raw::c_char,
5014 needle: *const ::std::os::raw::c_char,
5015 needle_len: usize,
5016 end: *const ::std::os::raw::c_char,
5017 ) -> *const ::std::os::raw::c_char;
5018}
5019extern "C" {
5020 pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
5021}
5022extern "C" {
5023 pub fn zend_incompatible_double_to_long_error(d: f64);
5024}
5025extern "C" {
5026 pub fn zend_incompatible_string_to_long_error(s: *const zend_string);
5027}
5028extern "C" {
5029 pub fn zend_is_true(op: *mut zval) -> ::std::os::raw::c_int;
5030}
5031extern "C" {
5032 pub fn zend_object_is_true(op: *mut zval) -> bool;
5033}
5034extern "C" {
5035 pub fn zend_compare(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
5036}
5037extern "C" {
5038 pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: usize);
5039}
5040extern "C" {
5041 pub fn zend_str_tolower_copy(
5042 dest: *mut ::std::os::raw::c_char,
5043 source: *const ::std::os::raw::c_char,
5044 length: usize,
5045 ) -> *mut ::std::os::raw::c_char;
5046}
5047extern "C" {
5048 pub fn zend_str_tolower_dup(
5049 source: *const ::std::os::raw::c_char,
5050 length: usize,
5051 ) -> *mut ::std::os::raw::c_char;
5052}
5053extern "C" {
5054 pub fn zend_str_tolower_dup_ex(
5055 source: *const ::std::os::raw::c_char,
5056 length: usize,
5057 ) -> *mut ::std::os::raw::c_char;
5058}
5059extern "C" {
5060 pub fn zend_string_tolower_ex(str_: *mut zend_string, persistent: bool) -> *mut zend_string;
5061}
5062extern "C" {
5063 pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
5064}
5065extern "C" {
5066 pub fn zend_binary_zval_strncmp(
5067 s1: *mut zval,
5068 s2: *mut zval,
5069 s3: *mut zval,
5070 ) -> ::std::os::raw::c_int;
5071}
5072extern "C" {
5073 pub fn zend_binary_zval_strcasecmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
5074}
5075extern "C" {
5076 pub fn zend_binary_zval_strncasecmp(
5077 s1: *mut zval,
5078 s2: *mut zval,
5079 s3: *mut zval,
5080 ) -> ::std::os::raw::c_int;
5081}
5082extern "C" {
5083 pub fn zend_binary_strcmp(
5084 s1: *const ::std::os::raw::c_char,
5085 len1: usize,
5086 s2: *const ::std::os::raw::c_char,
5087 len2: usize,
5088 ) -> ::std::os::raw::c_int;
5089}
5090extern "C" {
5091 pub fn zend_binary_strncmp(
5092 s1: *const ::std::os::raw::c_char,
5093 len1: usize,
5094 s2: *const ::std::os::raw::c_char,
5095 len2: usize,
5096 length: usize,
5097 ) -> ::std::os::raw::c_int;
5098}
5099extern "C" {
5100 pub fn zend_binary_strcasecmp(
5101 s1: *const ::std::os::raw::c_char,
5102 len1: usize,
5103 s2: *const ::std::os::raw::c_char,
5104 len2: usize,
5105 ) -> ::std::os::raw::c_int;
5106}
5107extern "C" {
5108 pub fn zend_binary_strncasecmp(
5109 s1: *const ::std::os::raw::c_char,
5110 len1: usize,
5111 s2: *const ::std::os::raw::c_char,
5112 len2: usize,
5113 length: usize,
5114 ) -> ::std::os::raw::c_int;
5115}
5116extern "C" {
5117 pub fn zend_binary_strcasecmp_l(
5118 s1: *const ::std::os::raw::c_char,
5119 len1: usize,
5120 s2: *const ::std::os::raw::c_char,
5121 len2: usize,
5122 ) -> ::std::os::raw::c_int;
5123}
5124extern "C" {
5125 pub fn zend_binary_strncasecmp_l(
5126 s1: *const ::std::os::raw::c_char,
5127 len1: usize,
5128 s2: *const ::std::os::raw::c_char,
5129 len2: usize,
5130 length: usize,
5131 ) -> ::std::os::raw::c_int;
5132}
5133extern "C" {
5134 pub fn zendi_smart_streq(s1: *mut zend_string, s2: *mut zend_string) -> bool;
5135}
5136extern "C" {
5137 pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> ::std::os::raw::c_int;
5138}
5139extern "C" {
5140 pub fn zend_compare_symbol_tables(
5141 ht1: *mut HashTable,
5142 ht2: *mut HashTable,
5143 ) -> ::std::os::raw::c_int;
5144}
5145extern "C" {
5146 pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
5147}
5148extern "C" {
5149 pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
5150}
5151extern "C" {
5152 pub fn zend_atoi(str_: *const ::std::os::raw::c_char, str_len: usize) -> ::std::os::raw::c_int;
5153}
5154extern "C" {
5155 pub fn zend_atol(str_: *const ::std::os::raw::c_char, str_len: usize) -> zend_long;
5156}
5157extern "C" {
5158 pub fn zend_update_current_locale();
5159}
5160extern "C" {
5161 pub fn zend_reset_lc_ctype_locale();
5162}
5163extern "C" {
5164 pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
5165}
5166extern "C" {
5167 pub fn zend_ulong_to_str(num: zend_ulong) -> *mut zend_string;
5168}
5169extern "C" {
5170 pub fn zend_u64_to_str(num: u64) -> *mut zend_string;
5171}
5172extern "C" {
5173 pub fn zend_i64_to_str(num: i64) -> *mut zend_string;
5174}
5175extern "C" {
5176 pub fn zend_double_to_str(num: f64) -> *mut zend_string;
5177}
5178extern "C" {
5179 pub fn zend_sort(
5180 base: *mut ::std::os::raw::c_void,
5181 nmemb: usize,
5182 siz: usize,
5183 cmp: compare_func_t,
5184 swp: swap_func_t,
5185 );
5186}
5187extern "C" {
5188 pub fn zend_insert_sort(
5189 base: *mut ::std::os::raw::c_void,
5190 nmemb: usize,
5191 siz: usize,
5192 cmp: compare_func_t,
5193 swp: swap_func_t,
5194 );
5195}
5196pub type zend_op_array = _zend_op_array;
5197pub type zend_op = _zend_op;
5198#[repr(C)]
5199#[derive(Copy, Clone)]
5200pub union _znode_op {
5201 pub constant: u32,
5202 pub var: u32,
5203 pub num: u32,
5204 pub opline_num: u32,
5205 pub jmp_offset: u32,
5206}
5207#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5208const _: () = {
5209 ["Size of _znode_op"][::std::mem::size_of::<_znode_op>() - 4usize];
5210 ["Alignment of _znode_op"][::std::mem::align_of::<_znode_op>() - 4usize];
5211 ["Offset of field: _znode_op::constant"][::std::mem::offset_of!(_znode_op, constant) - 0usize];
5212 ["Offset of field: _znode_op::var"][::std::mem::offset_of!(_znode_op, var) - 0usize];
5213 ["Offset of field: _znode_op::num"][::std::mem::offset_of!(_znode_op, num) - 0usize];
5214 ["Offset of field: _znode_op::opline_num"]
5215 [::std::mem::offset_of!(_znode_op, opline_num) - 0usize];
5216 ["Offset of field: _znode_op::jmp_offset"]
5217 [::std::mem::offset_of!(_znode_op, jmp_offset) - 0usize];
5218};
5219pub type znode_op = _znode_op;
5220#[repr(C)]
5221#[derive(Copy, Clone)]
5222pub struct _znode {
5223 pub op_type: zend_uchar,
5224 pub flag: zend_uchar,
5225 pub u: _znode__bindgen_ty_1,
5226}
5227#[repr(C)]
5228#[derive(Copy, Clone)]
5229pub union _znode__bindgen_ty_1 {
5230 pub op: znode_op,
5231 pub constant: zval,
5232}
5233#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5234const _: () = {
5235 ["Size of _znode__bindgen_ty_1"][::std::mem::size_of::<_znode__bindgen_ty_1>() - 16usize];
5236 ["Alignment of _znode__bindgen_ty_1"][::std::mem::align_of::<_znode__bindgen_ty_1>() - 8usize];
5237 ["Offset of field: _znode__bindgen_ty_1::op"]
5238 [::std::mem::offset_of!(_znode__bindgen_ty_1, op) - 0usize];
5239 ["Offset of field: _znode__bindgen_ty_1::constant"]
5240 [::std::mem::offset_of!(_znode__bindgen_ty_1, constant) - 0usize];
5241};
5242#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5243const _: () = {
5244 ["Size of _znode"][::std::mem::size_of::<_znode>() - 24usize];
5245 ["Alignment of _znode"][::std::mem::align_of::<_znode>() - 8usize];
5246 ["Offset of field: _znode::op_type"][::std::mem::offset_of!(_znode, op_type) - 0usize];
5247 ["Offset of field: _znode::flag"][::std::mem::offset_of!(_znode, flag) - 1usize];
5248 ["Offset of field: _znode::u"][::std::mem::offset_of!(_znode, u) - 8usize];
5249};
5250pub type znode = _znode;
5251#[repr(C)]
5252#[derive(Copy, Clone)]
5253pub struct _zend_ast_znode {
5254 pub kind: zend_ast_kind,
5255 pub attr: zend_ast_attr,
5256 pub lineno: u32,
5257 pub node: znode,
5258}
5259#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5260const _: () = {
5261 ["Size of _zend_ast_znode"][::std::mem::size_of::<_zend_ast_znode>() - 32usize];
5262 ["Alignment of _zend_ast_znode"][::std::mem::align_of::<_zend_ast_znode>() - 8usize];
5263 ["Offset of field: _zend_ast_znode::kind"]
5264 [::std::mem::offset_of!(_zend_ast_znode, kind) - 0usize];
5265 ["Offset of field: _zend_ast_znode::attr"]
5266 [::std::mem::offset_of!(_zend_ast_znode, attr) - 2usize];
5267 ["Offset of field: _zend_ast_znode::lineno"]
5268 [::std::mem::offset_of!(_zend_ast_znode, lineno) - 4usize];
5269 ["Offset of field: _zend_ast_znode::node"]
5270 [::std::mem::offset_of!(_zend_ast_znode, node) - 8usize];
5271};
5272pub type zend_ast_znode = _zend_ast_znode;
5273extern "C" {
5274 pub fn zend_ast_create_znode(node: *mut znode) -> *mut zend_ast;
5275}
5276#[repr(C)]
5277#[derive(Debug, Copy, Clone)]
5278pub struct _zend_declarables {
5279 pub ticks: zend_long,
5280}
5281#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5282const _: () = {
5283 ["Size of _zend_declarables"][::std::mem::size_of::<_zend_declarables>() - 8usize];
5284 ["Alignment of _zend_declarables"][::std::mem::align_of::<_zend_declarables>() - 8usize];
5285 ["Offset of field: _zend_declarables::ticks"]
5286 [::std::mem::offset_of!(_zend_declarables, ticks) - 0usize];
5287};
5288pub type zend_declarables = _zend_declarables;
5289#[repr(C)]
5290#[derive(Copy, Clone)]
5291pub struct _zend_file_context {
5292 pub declarables: zend_declarables,
5293 pub current_namespace: *mut zend_string,
5294 pub in_namespace: bool,
5295 pub has_bracketed_namespaces: bool,
5296 pub imports: *mut HashTable,
5297 pub imports_function: *mut HashTable,
5298 pub imports_const: *mut HashTable,
5299 pub seen_symbols: HashTable,
5300}
5301#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5302const _: () = {
5303 ["Size of _zend_file_context"][::std::mem::size_of::<_zend_file_context>() - 104usize];
5304 ["Alignment of _zend_file_context"][::std::mem::align_of::<_zend_file_context>() - 8usize];
5305 ["Offset of field: _zend_file_context::declarables"]
5306 [::std::mem::offset_of!(_zend_file_context, declarables) - 0usize];
5307 ["Offset of field: _zend_file_context::current_namespace"]
5308 [::std::mem::offset_of!(_zend_file_context, current_namespace) - 8usize];
5309 ["Offset of field: _zend_file_context::in_namespace"]
5310 [::std::mem::offset_of!(_zend_file_context, in_namespace) - 16usize];
5311 ["Offset of field: _zend_file_context::has_bracketed_namespaces"]
5312 [::std::mem::offset_of!(_zend_file_context, has_bracketed_namespaces) - 17usize];
5313 ["Offset of field: _zend_file_context::imports"]
5314 [::std::mem::offset_of!(_zend_file_context, imports) - 24usize];
5315 ["Offset of field: _zend_file_context::imports_function"]
5316 [::std::mem::offset_of!(_zend_file_context, imports_function) - 32usize];
5317 ["Offset of field: _zend_file_context::imports_const"]
5318 [::std::mem::offset_of!(_zend_file_context, imports_const) - 40usize];
5319 ["Offset of field: _zend_file_context::seen_symbols"]
5320 [::std::mem::offset_of!(_zend_file_context, seen_symbols) - 48usize];
5321};
5322pub type zend_file_context = _zend_file_context;
5323#[repr(C)]
5324#[derive(Copy, Clone)]
5325pub union _zend_parser_stack_elem {
5326 pub ast: *mut zend_ast,
5327 pub str_: *mut zend_string,
5328 pub num: zend_ulong,
5329 pub ptr: *mut ::std::os::raw::c_uchar,
5330 pub ident: *mut ::std::os::raw::c_uchar,
5331}
5332#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5333const _: () = {
5334 ["Size of _zend_parser_stack_elem"][::std::mem::size_of::<_zend_parser_stack_elem>() - 8usize];
5335 ["Alignment of _zend_parser_stack_elem"]
5336 [::std::mem::align_of::<_zend_parser_stack_elem>() - 8usize];
5337 ["Offset of field: _zend_parser_stack_elem::ast"]
5338 [::std::mem::offset_of!(_zend_parser_stack_elem, ast) - 0usize];
5339 ["Offset of field: _zend_parser_stack_elem::str_"]
5340 [::std::mem::offset_of!(_zend_parser_stack_elem, str_) - 0usize];
5341 ["Offset of field: _zend_parser_stack_elem::num"]
5342 [::std::mem::offset_of!(_zend_parser_stack_elem, num) - 0usize];
5343 ["Offset of field: _zend_parser_stack_elem::ptr"]
5344 [::std::mem::offset_of!(_zend_parser_stack_elem, ptr) - 0usize];
5345 ["Offset of field: _zend_parser_stack_elem::ident"]
5346 [::std::mem::offset_of!(_zend_parser_stack_elem, ident) - 0usize];
5347};
5348pub type zend_parser_stack_elem = _zend_parser_stack_elem;
5349extern "C" {
5350 pub fn zend_compile_top_stmt(ast: *mut zend_ast);
5351}
5352extern "C" {
5353 pub fn zend_const_expr_to_zval(
5354 result: *mut zval,
5355 ast_ptr: *mut *mut zend_ast,
5356 allow_dynamic: bool,
5357 );
5358}
5359pub type user_opcode_handler_t = ::std::option::Option<
5360 unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
5361>;
5362#[repr(C)]
5363#[derive(Copy, Clone)]
5364pub struct _zend_op {
5365 pub handler: *const ::std::os::raw::c_void,
5366 pub op1: znode_op,
5367 pub op2: znode_op,
5368 pub result: znode_op,
5369 pub extended_value: u32,
5370 pub lineno: u32,
5371 pub opcode: zend_uchar,
5372 pub op1_type: zend_uchar,
5373 pub op2_type: zend_uchar,
5374 pub result_type: zend_uchar,
5375}
5376#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5377const _: () = {
5378 ["Size of _zend_op"][::std::mem::size_of::<_zend_op>() - 32usize];
5379 ["Alignment of _zend_op"][::std::mem::align_of::<_zend_op>() - 8usize];
5380 ["Offset of field: _zend_op::handler"][::std::mem::offset_of!(_zend_op, handler) - 0usize];
5381 ["Offset of field: _zend_op::op1"][::std::mem::offset_of!(_zend_op, op1) - 8usize];
5382 ["Offset of field: _zend_op::op2"][::std::mem::offset_of!(_zend_op, op2) - 12usize];
5383 ["Offset of field: _zend_op::result"][::std::mem::offset_of!(_zend_op, result) - 16usize];
5384 ["Offset of field: _zend_op::extended_value"]
5385 [::std::mem::offset_of!(_zend_op, extended_value) - 20usize];
5386 ["Offset of field: _zend_op::lineno"][::std::mem::offset_of!(_zend_op, lineno) - 24usize];
5387 ["Offset of field: _zend_op::opcode"][::std::mem::offset_of!(_zend_op, opcode) - 28usize];
5388 ["Offset of field: _zend_op::op1_type"][::std::mem::offset_of!(_zend_op, op1_type) - 29usize];
5389 ["Offset of field: _zend_op::op2_type"][::std::mem::offset_of!(_zend_op, op2_type) - 30usize];
5390 ["Offset of field: _zend_op::result_type"]
5391 [::std::mem::offset_of!(_zend_op, result_type) - 31usize];
5392};
5393#[repr(C)]
5394#[derive(Debug, Copy, Clone)]
5395pub struct _zend_brk_cont_element {
5396 pub start: ::std::os::raw::c_int,
5397 pub cont: ::std::os::raw::c_int,
5398 pub brk: ::std::os::raw::c_int,
5399 pub parent: ::std::os::raw::c_int,
5400 pub is_switch: bool,
5401}
5402#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5403const _: () = {
5404 ["Size of _zend_brk_cont_element"][::std::mem::size_of::<_zend_brk_cont_element>() - 20usize];
5405 ["Alignment of _zend_brk_cont_element"]
5406 [::std::mem::align_of::<_zend_brk_cont_element>() - 4usize];
5407 ["Offset of field: _zend_brk_cont_element::start"]
5408 [::std::mem::offset_of!(_zend_brk_cont_element, start) - 0usize];
5409 ["Offset of field: _zend_brk_cont_element::cont"]
5410 [::std::mem::offset_of!(_zend_brk_cont_element, cont) - 4usize];
5411 ["Offset of field: _zend_brk_cont_element::brk"]
5412 [::std::mem::offset_of!(_zend_brk_cont_element, brk) - 8usize];
5413 ["Offset of field: _zend_brk_cont_element::parent"]
5414 [::std::mem::offset_of!(_zend_brk_cont_element, parent) - 12usize];
5415 ["Offset of field: _zend_brk_cont_element::is_switch"]
5416 [::std::mem::offset_of!(_zend_brk_cont_element, is_switch) - 16usize];
5417};
5418pub type zend_brk_cont_element = _zend_brk_cont_element;
5419#[repr(C)]
5420#[derive(Debug, Copy, Clone)]
5421pub struct _zend_label {
5422 pub brk_cont: ::std::os::raw::c_int,
5423 pub opline_num: u32,
5424}
5425#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5426const _: () = {
5427 ["Size of _zend_label"][::std::mem::size_of::<_zend_label>() - 8usize];
5428 ["Alignment of _zend_label"][::std::mem::align_of::<_zend_label>() - 4usize];
5429 ["Offset of field: _zend_label::brk_cont"]
5430 [::std::mem::offset_of!(_zend_label, brk_cont) - 0usize];
5431 ["Offset of field: _zend_label::opline_num"]
5432 [::std::mem::offset_of!(_zend_label, opline_num) - 4usize];
5433};
5434pub type zend_label = _zend_label;
5435#[repr(C)]
5436#[derive(Debug, Copy, Clone)]
5437pub struct _zend_try_catch_element {
5438 pub try_op: u32,
5439 pub catch_op: u32,
5440 pub finally_op: u32,
5441 pub finally_end: u32,
5442}
5443#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5444const _: () = {
5445 ["Size of _zend_try_catch_element"][::std::mem::size_of::<_zend_try_catch_element>() - 16usize];
5446 ["Alignment of _zend_try_catch_element"]
5447 [::std::mem::align_of::<_zend_try_catch_element>() - 4usize];
5448 ["Offset of field: _zend_try_catch_element::try_op"]
5449 [::std::mem::offset_of!(_zend_try_catch_element, try_op) - 0usize];
5450 ["Offset of field: _zend_try_catch_element::catch_op"]
5451 [::std::mem::offset_of!(_zend_try_catch_element, catch_op) - 4usize];
5452 ["Offset of field: _zend_try_catch_element::finally_op"]
5453 [::std::mem::offset_of!(_zend_try_catch_element, finally_op) - 8usize];
5454 ["Offset of field: _zend_try_catch_element::finally_end"]
5455 [::std::mem::offset_of!(_zend_try_catch_element, finally_end) - 12usize];
5456};
5457pub type zend_try_catch_element = _zend_try_catch_element;
5458#[repr(C)]
5459#[derive(Debug, Copy, Clone)]
5460pub struct _zend_live_range {
5461 pub var: u32,
5462 pub start: u32,
5463 pub end: u32,
5464}
5465#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5466const _: () = {
5467 ["Size of _zend_live_range"][::std::mem::size_of::<_zend_live_range>() - 12usize];
5468 ["Alignment of _zend_live_range"][::std::mem::align_of::<_zend_live_range>() - 4usize];
5469 ["Offset of field: _zend_live_range::var"]
5470 [::std::mem::offset_of!(_zend_live_range, var) - 0usize];
5471 ["Offset of field: _zend_live_range::start"]
5472 [::std::mem::offset_of!(_zend_live_range, start) - 4usize];
5473 ["Offset of field: _zend_live_range::end"]
5474 [::std::mem::offset_of!(_zend_live_range, end) - 8usize];
5475};
5476pub type zend_live_range = _zend_live_range;
5477#[repr(C)]
5478#[derive(Debug, Copy, Clone)]
5479pub struct _zend_oparray_context {
5480 pub opcodes_size: u32,
5481 pub vars_size: ::std::os::raw::c_int,
5482 pub literals_size: ::std::os::raw::c_int,
5483 pub fast_call_var: u32,
5484 pub try_catch_offset: u32,
5485 pub current_brk_cont: ::std::os::raw::c_int,
5486 pub last_brk_cont: ::std::os::raw::c_int,
5487 pub brk_cont_array: *mut zend_brk_cont_element,
5488 pub labels: *mut HashTable,
5489}
5490#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5491const _: () = {
5492 ["Size of _zend_oparray_context"][::std::mem::size_of::<_zend_oparray_context>() - 48usize];
5493 ["Alignment of _zend_oparray_context"]
5494 [::std::mem::align_of::<_zend_oparray_context>() - 8usize];
5495 ["Offset of field: _zend_oparray_context::opcodes_size"]
5496 [::std::mem::offset_of!(_zend_oparray_context, opcodes_size) - 0usize];
5497 ["Offset of field: _zend_oparray_context::vars_size"]
5498 [::std::mem::offset_of!(_zend_oparray_context, vars_size) - 4usize];
5499 ["Offset of field: _zend_oparray_context::literals_size"]
5500 [::std::mem::offset_of!(_zend_oparray_context, literals_size) - 8usize];
5501 ["Offset of field: _zend_oparray_context::fast_call_var"]
5502 [::std::mem::offset_of!(_zend_oparray_context, fast_call_var) - 12usize];
5503 ["Offset of field: _zend_oparray_context::try_catch_offset"]
5504 [::std::mem::offset_of!(_zend_oparray_context, try_catch_offset) - 16usize];
5505 ["Offset of field: _zend_oparray_context::current_brk_cont"]
5506 [::std::mem::offset_of!(_zend_oparray_context, current_brk_cont) - 20usize];
5507 ["Offset of field: _zend_oparray_context::last_brk_cont"]
5508 [::std::mem::offset_of!(_zend_oparray_context, last_brk_cont) - 24usize];
5509 ["Offset of field: _zend_oparray_context::brk_cont_array"]
5510 [::std::mem::offset_of!(_zend_oparray_context, brk_cont_array) - 32usize];
5511 ["Offset of field: _zend_oparray_context::labels"]
5512 [::std::mem::offset_of!(_zend_oparray_context, labels) - 40usize];
5513};
5514pub type zend_oparray_context = _zend_oparray_context;
5515extern "C" {
5516 pub fn zend_visibility_string(fn_flags: u32) -> *mut ::std::os::raw::c_char;
5517}
5518#[repr(C)]
5519#[derive(Debug, Copy, Clone)]
5520pub struct _zend_property_info {
5521 pub offset: u32,
5522 pub flags: u32,
5523 pub name: *mut zend_string,
5524 pub doc_comment: *mut zend_string,
5525 pub attributes: *mut HashTable,
5526 pub ce: *mut zend_class_entry,
5527 pub type_: zend_type,
5528}
5529#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5530const _: () = {
5531 ["Size of _zend_property_info"][::std::mem::size_of::<_zend_property_info>() - 56usize];
5532 ["Alignment of _zend_property_info"][::std::mem::align_of::<_zend_property_info>() - 8usize];
5533 ["Offset of field: _zend_property_info::offset"]
5534 [::std::mem::offset_of!(_zend_property_info, offset) - 0usize];
5535 ["Offset of field: _zend_property_info::flags"]
5536 [::std::mem::offset_of!(_zend_property_info, flags) - 4usize];
5537 ["Offset of field: _zend_property_info::name"]
5538 [::std::mem::offset_of!(_zend_property_info, name) - 8usize];
5539 ["Offset of field: _zend_property_info::doc_comment"]
5540 [::std::mem::offset_of!(_zend_property_info, doc_comment) - 16usize];
5541 ["Offset of field: _zend_property_info::attributes"]
5542 [::std::mem::offset_of!(_zend_property_info, attributes) - 24usize];
5543 ["Offset of field: _zend_property_info::ce"]
5544 [::std::mem::offset_of!(_zend_property_info, ce) - 32usize];
5545 ["Offset of field: _zend_property_info::type_"]
5546 [::std::mem::offset_of!(_zend_property_info, type_) - 40usize];
5547};
5548pub type zend_property_info = _zend_property_info;
5549#[repr(C)]
5550#[derive(Copy, Clone)]
5551pub struct _zend_class_constant {
5552 pub value: zval,
5553 pub doc_comment: *mut zend_string,
5554 pub attributes: *mut HashTable,
5555 pub ce: *mut zend_class_entry,
5556}
5557#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5558const _: () = {
5559 ["Size of _zend_class_constant"][::std::mem::size_of::<_zend_class_constant>() - 40usize];
5560 ["Alignment of _zend_class_constant"][::std::mem::align_of::<_zend_class_constant>() - 8usize];
5561 ["Offset of field: _zend_class_constant::value"]
5562 [::std::mem::offset_of!(_zend_class_constant, value) - 0usize];
5563 ["Offset of field: _zend_class_constant::doc_comment"]
5564 [::std::mem::offset_of!(_zend_class_constant, doc_comment) - 16usize];
5565 ["Offset of field: _zend_class_constant::attributes"]
5566 [::std::mem::offset_of!(_zend_class_constant, attributes) - 24usize];
5567 ["Offset of field: _zend_class_constant::ce"]
5568 [::std::mem::offset_of!(_zend_class_constant, ce) - 32usize];
5569};
5570pub type zend_class_constant = _zend_class_constant;
5571#[repr(C)]
5572#[derive(Debug, Copy, Clone)]
5573pub struct _zend_internal_arg_info {
5574 pub name: *const ::std::os::raw::c_char,
5575 pub type_: zend_type,
5576 pub default_value: *const ::std::os::raw::c_char,
5577}
5578#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5579const _: () = {
5580 ["Size of _zend_internal_arg_info"][::std::mem::size_of::<_zend_internal_arg_info>() - 32usize];
5581 ["Alignment of _zend_internal_arg_info"]
5582 [::std::mem::align_of::<_zend_internal_arg_info>() - 8usize];
5583 ["Offset of field: _zend_internal_arg_info::name"]
5584 [::std::mem::offset_of!(_zend_internal_arg_info, name) - 0usize];
5585 ["Offset of field: _zend_internal_arg_info::type_"]
5586 [::std::mem::offset_of!(_zend_internal_arg_info, type_) - 8usize];
5587 ["Offset of field: _zend_internal_arg_info::default_value"]
5588 [::std::mem::offset_of!(_zend_internal_arg_info, default_value) - 24usize];
5589};
5590pub type zend_internal_arg_info = _zend_internal_arg_info;
5591#[repr(C)]
5592#[derive(Debug, Copy, Clone)]
5593pub struct _zend_arg_info {
5594 pub name: *mut zend_string,
5595 pub type_: zend_type,
5596 pub default_value: *mut zend_string,
5597}
5598#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5599const _: () = {
5600 ["Size of _zend_arg_info"][::std::mem::size_of::<_zend_arg_info>() - 32usize];
5601 ["Alignment of _zend_arg_info"][::std::mem::align_of::<_zend_arg_info>() - 8usize];
5602 ["Offset of field: _zend_arg_info::name"]
5603 [::std::mem::offset_of!(_zend_arg_info, name) - 0usize];
5604 ["Offset of field: _zend_arg_info::type_"]
5605 [::std::mem::offset_of!(_zend_arg_info, type_) - 8usize];
5606 ["Offset of field: _zend_arg_info::default_value"]
5607 [::std::mem::offset_of!(_zend_arg_info, default_value) - 24usize];
5608};
5609pub type zend_arg_info = _zend_arg_info;
5610#[repr(C)]
5611#[derive(Debug, Copy, Clone)]
5612pub struct _zend_internal_function_info {
5613 pub required_num_args: zend_uintptr_t,
5614 pub type_: zend_type,
5615 pub default_value: *const ::std::os::raw::c_char,
5616}
5617#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5618const _: () = {
5619 ["Size of _zend_internal_function_info"]
5620 [::std::mem::size_of::<_zend_internal_function_info>() - 32usize];
5621 ["Alignment of _zend_internal_function_info"]
5622 [::std::mem::align_of::<_zend_internal_function_info>() - 8usize];
5623 ["Offset of field: _zend_internal_function_info::required_num_args"]
5624 [::std::mem::offset_of!(_zend_internal_function_info, required_num_args) - 0usize];
5625 ["Offset of field: _zend_internal_function_info::type_"]
5626 [::std::mem::offset_of!(_zend_internal_function_info, type_) - 8usize];
5627 ["Offset of field: _zend_internal_function_info::default_value"]
5628 [::std::mem::offset_of!(_zend_internal_function_info, default_value) - 24usize];
5629};
5630pub type zend_internal_function_info = _zend_internal_function_info;
5631#[repr(C)]
5632#[derive(Debug, Copy, Clone)]
5633pub struct _zend_op_array {
5634 pub type_: zend_uchar,
5635 pub arg_flags: [zend_uchar; 3usize],
5636 pub fn_flags: u32,
5637 pub function_name: *mut zend_string,
5638 pub scope: *mut zend_class_entry,
5639 pub prototype: *mut zend_function,
5640 pub num_args: u32,
5641 pub required_num_args: u32,
5642 pub arg_info: *mut zend_arg_info,
5643 pub attributes: *mut HashTable,
5644 pub cache_size: ::std::os::raw::c_int,
5645 pub last_var: ::std::os::raw::c_int,
5646 pub T: u32,
5647 pub last: u32,
5648 pub opcodes: *mut zend_op,
5649 pub run_time_cache__ptr: *mut *mut *mut ::std::os::raw::c_void,
5650 pub static_variables_ptr__ptr: *mut *mut HashTable,
5651 pub static_variables: *mut HashTable,
5652 pub vars: *mut *mut zend_string,
5653 pub refcount: *mut u32,
5654 pub last_live_range: ::std::os::raw::c_int,
5655 pub last_try_catch: ::std::os::raw::c_int,
5656 pub live_range: *mut zend_live_range,
5657 pub try_catch_array: *mut zend_try_catch_element,
5658 pub filename: *mut zend_string,
5659 pub line_start: u32,
5660 pub line_end: u32,
5661 pub doc_comment: *mut zend_string,
5662 pub last_literal: ::std::os::raw::c_int,
5663 pub num_dynamic_func_defs: u32,
5664 pub literals: *mut zval,
5665 pub dynamic_func_defs: *mut *mut zend_op_array,
5666 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
5667}
5668#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5669const _: () = {
5670 ["Size of _zend_op_array"][::std::mem::size_of::<_zend_op_array>() - 240usize];
5671 ["Alignment of _zend_op_array"][::std::mem::align_of::<_zend_op_array>() - 8usize];
5672 ["Offset of field: _zend_op_array::type_"]
5673 [::std::mem::offset_of!(_zend_op_array, type_) - 0usize];
5674 ["Offset of field: _zend_op_array::arg_flags"]
5675 [::std::mem::offset_of!(_zend_op_array, arg_flags) - 1usize];
5676 ["Offset of field: _zend_op_array::fn_flags"]
5677 [::std::mem::offset_of!(_zend_op_array, fn_flags) - 4usize];
5678 ["Offset of field: _zend_op_array::function_name"]
5679 [::std::mem::offset_of!(_zend_op_array, function_name) - 8usize];
5680 ["Offset of field: _zend_op_array::scope"]
5681 [::std::mem::offset_of!(_zend_op_array, scope) - 16usize];
5682 ["Offset of field: _zend_op_array::prototype"]
5683 [::std::mem::offset_of!(_zend_op_array, prototype) - 24usize];
5684 ["Offset of field: _zend_op_array::num_args"]
5685 [::std::mem::offset_of!(_zend_op_array, num_args) - 32usize];
5686 ["Offset of field: _zend_op_array::required_num_args"]
5687 [::std::mem::offset_of!(_zend_op_array, required_num_args) - 36usize];
5688 ["Offset of field: _zend_op_array::arg_info"]
5689 [::std::mem::offset_of!(_zend_op_array, arg_info) - 40usize];
5690 ["Offset of field: _zend_op_array::attributes"]
5691 [::std::mem::offset_of!(_zend_op_array, attributes) - 48usize];
5692 ["Offset of field: _zend_op_array::cache_size"]
5693 [::std::mem::offset_of!(_zend_op_array, cache_size) - 56usize];
5694 ["Offset of field: _zend_op_array::last_var"]
5695 [::std::mem::offset_of!(_zend_op_array, last_var) - 60usize];
5696 ["Offset of field: _zend_op_array::T"][::std::mem::offset_of!(_zend_op_array, T) - 64usize];
5697 ["Offset of field: _zend_op_array::last"]
5698 [::std::mem::offset_of!(_zend_op_array, last) - 68usize];
5699 ["Offset of field: _zend_op_array::opcodes"]
5700 [::std::mem::offset_of!(_zend_op_array, opcodes) - 72usize];
5701 ["Offset of field: _zend_op_array::run_time_cache__ptr"]
5702 [::std::mem::offset_of!(_zend_op_array, run_time_cache__ptr) - 80usize];
5703 ["Offset of field: _zend_op_array::static_variables_ptr__ptr"]
5704 [::std::mem::offset_of!(_zend_op_array, static_variables_ptr__ptr) - 88usize];
5705 ["Offset of field: _zend_op_array::static_variables"]
5706 [::std::mem::offset_of!(_zend_op_array, static_variables) - 96usize];
5707 ["Offset of field: _zend_op_array::vars"]
5708 [::std::mem::offset_of!(_zend_op_array, vars) - 104usize];
5709 ["Offset of field: _zend_op_array::refcount"]
5710 [::std::mem::offset_of!(_zend_op_array, refcount) - 112usize];
5711 ["Offset of field: _zend_op_array::last_live_range"]
5712 [::std::mem::offset_of!(_zend_op_array, last_live_range) - 120usize];
5713 ["Offset of field: _zend_op_array::last_try_catch"]
5714 [::std::mem::offset_of!(_zend_op_array, last_try_catch) - 124usize];
5715 ["Offset of field: _zend_op_array::live_range"]
5716 [::std::mem::offset_of!(_zend_op_array, live_range) - 128usize];
5717 ["Offset of field: _zend_op_array::try_catch_array"]
5718 [::std::mem::offset_of!(_zend_op_array, try_catch_array) - 136usize];
5719 ["Offset of field: _zend_op_array::filename"]
5720 [::std::mem::offset_of!(_zend_op_array, filename) - 144usize];
5721 ["Offset of field: _zend_op_array::line_start"]
5722 [::std::mem::offset_of!(_zend_op_array, line_start) - 152usize];
5723 ["Offset of field: _zend_op_array::line_end"]
5724 [::std::mem::offset_of!(_zend_op_array, line_end) - 156usize];
5725 ["Offset of field: _zend_op_array::doc_comment"]
5726 [::std::mem::offset_of!(_zend_op_array, doc_comment) - 160usize];
5727 ["Offset of field: _zend_op_array::last_literal"]
5728 [::std::mem::offset_of!(_zend_op_array, last_literal) - 168usize];
5729 ["Offset of field: _zend_op_array::num_dynamic_func_defs"]
5730 [::std::mem::offset_of!(_zend_op_array, num_dynamic_func_defs) - 172usize];
5731 ["Offset of field: _zend_op_array::literals"]
5732 [::std::mem::offset_of!(_zend_op_array, literals) - 176usize];
5733 ["Offset of field: _zend_op_array::dynamic_func_defs"]
5734 [::std::mem::offset_of!(_zend_op_array, dynamic_func_defs) - 184usize];
5735 ["Offset of field: _zend_op_array::reserved"]
5736 [::std::mem::offset_of!(_zend_op_array, reserved) - 192usize];
5737};
5738pub type zif_handler = ::std::option::Option<
5739 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
5740>;
5741#[repr(C)]
5742#[derive(Debug, Copy, Clone)]
5743pub struct _zend_internal_function {
5744 pub type_: zend_uchar,
5745 pub arg_flags: [zend_uchar; 3usize],
5746 pub fn_flags: u32,
5747 pub function_name: *mut zend_string,
5748 pub scope: *mut zend_class_entry,
5749 pub prototype: *mut zend_function,
5750 pub num_args: u32,
5751 pub required_num_args: u32,
5752 pub arg_info: *mut zend_internal_arg_info,
5753 pub attributes: *mut HashTable,
5754 pub handler: zif_handler,
5755 pub module: *mut _zend_module_entry,
5756 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
5757}
5758#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5759const _: () = {
5760 ["Size of _zend_internal_function"]
5761 [::std::mem::size_of::<_zend_internal_function>() - 120usize];
5762 ["Alignment of _zend_internal_function"]
5763 [::std::mem::align_of::<_zend_internal_function>() - 8usize];
5764 ["Offset of field: _zend_internal_function::type_"]
5765 [::std::mem::offset_of!(_zend_internal_function, type_) - 0usize];
5766 ["Offset of field: _zend_internal_function::arg_flags"]
5767 [::std::mem::offset_of!(_zend_internal_function, arg_flags) - 1usize];
5768 ["Offset of field: _zend_internal_function::fn_flags"]
5769 [::std::mem::offset_of!(_zend_internal_function, fn_flags) - 4usize];
5770 ["Offset of field: _zend_internal_function::function_name"]
5771 [::std::mem::offset_of!(_zend_internal_function, function_name) - 8usize];
5772 ["Offset of field: _zend_internal_function::scope"]
5773 [::std::mem::offset_of!(_zend_internal_function, scope) - 16usize];
5774 ["Offset of field: _zend_internal_function::prototype"]
5775 [::std::mem::offset_of!(_zend_internal_function, prototype) - 24usize];
5776 ["Offset of field: _zend_internal_function::num_args"]
5777 [::std::mem::offset_of!(_zend_internal_function, num_args) - 32usize];
5778 ["Offset of field: _zend_internal_function::required_num_args"]
5779 [::std::mem::offset_of!(_zend_internal_function, required_num_args) - 36usize];
5780 ["Offset of field: _zend_internal_function::arg_info"]
5781 [::std::mem::offset_of!(_zend_internal_function, arg_info) - 40usize];
5782 ["Offset of field: _zend_internal_function::attributes"]
5783 [::std::mem::offset_of!(_zend_internal_function, attributes) - 48usize];
5784 ["Offset of field: _zend_internal_function::handler"]
5785 [::std::mem::offset_of!(_zend_internal_function, handler) - 56usize];
5786 ["Offset of field: _zend_internal_function::module"]
5787 [::std::mem::offset_of!(_zend_internal_function, module) - 64usize];
5788 ["Offset of field: _zend_internal_function::reserved"]
5789 [::std::mem::offset_of!(_zend_internal_function, reserved) - 72usize];
5790};
5791pub type zend_internal_function = _zend_internal_function;
5792#[repr(C)]
5793#[derive(Copy, Clone)]
5794pub union _zend_function {
5795 pub type_: zend_uchar,
5796 pub quick_arg_flags: u32,
5797 pub common: _zend_function__bindgen_ty_1,
5798 pub op_array: zend_op_array,
5799 pub internal_function: zend_internal_function,
5800}
5801#[repr(C)]
5802#[derive(Debug, Copy, Clone)]
5803pub struct _zend_function__bindgen_ty_1 {
5804 pub type_: zend_uchar,
5805 pub arg_flags: [zend_uchar; 3usize],
5806 pub fn_flags: u32,
5807 pub function_name: *mut zend_string,
5808 pub scope: *mut zend_class_entry,
5809 pub prototype: *mut zend_function,
5810 pub num_args: u32,
5811 pub required_num_args: u32,
5812 pub arg_info: *mut zend_arg_info,
5813 pub attributes: *mut HashTable,
5814}
5815#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5816const _: () = {
5817 ["Size of _zend_function__bindgen_ty_1"]
5818 [::std::mem::size_of::<_zend_function__bindgen_ty_1>() - 56usize];
5819 ["Alignment of _zend_function__bindgen_ty_1"]
5820 [::std::mem::align_of::<_zend_function__bindgen_ty_1>() - 8usize];
5821 ["Offset of field: _zend_function__bindgen_ty_1::type_"]
5822 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, type_) - 0usize];
5823 ["Offset of field: _zend_function__bindgen_ty_1::arg_flags"]
5824 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_flags) - 1usize];
5825 ["Offset of field: _zend_function__bindgen_ty_1::fn_flags"]
5826 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, fn_flags) - 4usize];
5827 ["Offset of field: _zend_function__bindgen_ty_1::function_name"]
5828 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, function_name) - 8usize];
5829 ["Offset of field: _zend_function__bindgen_ty_1::scope"]
5830 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, scope) - 16usize];
5831 ["Offset of field: _zend_function__bindgen_ty_1::prototype"]
5832 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, prototype) - 24usize];
5833 ["Offset of field: _zend_function__bindgen_ty_1::num_args"]
5834 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, num_args) - 32usize];
5835 ["Offset of field: _zend_function__bindgen_ty_1::required_num_args"]
5836 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, required_num_args) - 36usize];
5837 ["Offset of field: _zend_function__bindgen_ty_1::arg_info"]
5838 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_info) - 40usize];
5839 ["Offset of field: _zend_function__bindgen_ty_1::attributes"]
5840 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, attributes) - 48usize];
5841};
5842#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5843const _: () = {
5844 ["Size of _zend_function"][::std::mem::size_of::<_zend_function>() - 240usize];
5845 ["Alignment of _zend_function"][::std::mem::align_of::<_zend_function>() - 8usize];
5846 ["Offset of field: _zend_function::type_"]
5847 [::std::mem::offset_of!(_zend_function, type_) - 0usize];
5848 ["Offset of field: _zend_function::quick_arg_flags"]
5849 [::std::mem::offset_of!(_zend_function, quick_arg_flags) - 0usize];
5850 ["Offset of field: _zend_function::common"]
5851 [::std::mem::offset_of!(_zend_function, common) - 0usize];
5852 ["Offset of field: _zend_function::op_array"]
5853 [::std::mem::offset_of!(_zend_function, op_array) - 0usize];
5854 ["Offset of field: _zend_function::internal_function"]
5855 [::std::mem::offset_of!(_zend_function, internal_function) - 0usize];
5856};
5857#[repr(C)]
5858#[derive(Copy, Clone)]
5859pub struct _zend_execute_data {
5860 pub opline: *const zend_op,
5861 pub call: *mut zend_execute_data,
5862 pub return_value: *mut zval,
5863 pub func: *mut zend_function,
5864 pub This: zval,
5865 pub prev_execute_data: *mut zend_execute_data,
5866 pub symbol_table: *mut zend_array,
5867 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
5868 pub extra_named_params: *mut zend_array,
5869}
5870#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5871const _: () = {
5872 ["Size of _zend_execute_data"][::std::mem::size_of::<_zend_execute_data>() - 80usize];
5873 ["Alignment of _zend_execute_data"][::std::mem::align_of::<_zend_execute_data>() - 8usize];
5874 ["Offset of field: _zend_execute_data::opline"]
5875 [::std::mem::offset_of!(_zend_execute_data, opline) - 0usize];
5876 ["Offset of field: _zend_execute_data::call"]
5877 [::std::mem::offset_of!(_zend_execute_data, call) - 8usize];
5878 ["Offset of field: _zend_execute_data::return_value"]
5879 [::std::mem::offset_of!(_zend_execute_data, return_value) - 16usize];
5880 ["Offset of field: _zend_execute_data::func"]
5881 [::std::mem::offset_of!(_zend_execute_data, func) - 24usize];
5882 ["Offset of field: _zend_execute_data::This"]
5883 [::std::mem::offset_of!(_zend_execute_data, This) - 32usize];
5884 ["Offset of field: _zend_execute_data::prev_execute_data"]
5885 [::std::mem::offset_of!(_zend_execute_data, prev_execute_data) - 48usize];
5886 ["Offset of field: _zend_execute_data::symbol_table"]
5887 [::std::mem::offset_of!(_zend_execute_data, symbol_table) - 56usize];
5888 ["Offset of field: _zend_execute_data::run_time_cache"]
5889 [::std::mem::offset_of!(_zend_execute_data, run_time_cache) - 64usize];
5890 ["Offset of field: _zend_execute_data::extra_named_params"]
5891 [::std::mem::offset_of!(_zend_execute_data, extra_named_params) - 72usize];
5892};
5893pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
5894#[repr(C)]
5895#[derive(Debug, Copy, Clone)]
5896pub struct __jmp_buf_tag {
5897 pub __jmpbuf: __jmp_buf,
5898 pub __mask_was_saved: ::std::os::raw::c_int,
5899 pub __saved_mask: __sigset_t,
5900}
5901#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5902const _: () = {
5903 ["Size of __jmp_buf_tag"][::std::mem::size_of::<__jmp_buf_tag>() - 200usize];
5904 ["Alignment of __jmp_buf_tag"][::std::mem::align_of::<__jmp_buf_tag>() - 8usize];
5905 ["Offset of field: __jmp_buf_tag::__jmpbuf"]
5906 [::std::mem::offset_of!(__jmp_buf_tag, __jmpbuf) - 0usize];
5907 ["Offset of field: __jmp_buf_tag::__mask_was_saved"]
5908 [::std::mem::offset_of!(__jmp_buf_tag, __mask_was_saved) - 64usize];
5909 ["Offset of field: __jmp_buf_tag::__saved_mask"]
5910 [::std::mem::offset_of!(__jmp_buf_tag, __saved_mask) - 72usize];
5911};
5912pub type jmp_buf = [__jmp_buf_tag; 1usize];
5913pub type zend_compiler_globals = _zend_compiler_globals;
5914pub type zend_executor_globals = _zend_executor_globals;
5915pub type zend_php_scanner_globals = _zend_php_scanner_globals;
5916pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
5917#[repr(C)]
5918#[derive(Copy, Clone)]
5919pub struct _zend_compiler_globals {
5920 pub loop_var_stack: zend_stack,
5921 pub active_class_entry: *mut zend_class_entry,
5922 pub compiled_filename: *mut zend_string,
5923 pub zend_lineno: ::std::os::raw::c_int,
5924 pub active_op_array: *mut zend_op_array,
5925 pub function_table: *mut HashTable,
5926 pub class_table: *mut HashTable,
5927 pub auto_globals: *mut HashTable,
5928 pub parse_error: zend_uchar,
5929 pub in_compilation: bool,
5930 pub short_tags: bool,
5931 pub unclean_shutdown: bool,
5932 pub ini_parser_unbuffered_errors: bool,
5933 pub open_files: zend_llist,
5934 pub ini_parser_param: *mut _zend_ini_parser_param,
5935 pub skip_shebang: bool,
5936 pub increment_lineno: bool,
5937 pub variable_width_locale: bool,
5938 pub ascii_compatible_locale: bool,
5939 pub doc_comment: *mut zend_string,
5940 pub extra_fn_flags: u32,
5941 pub compiler_options: u32,
5942 pub context: zend_oparray_context,
5943 pub file_context: zend_file_context,
5944 pub arena: *mut zend_arena,
5945 pub interned_strings: HashTable,
5946 pub script_encoding_list: *mut *const zend_encoding,
5947 pub script_encoding_list_size: usize,
5948 pub multibyte: bool,
5949 pub detect_unicode: bool,
5950 pub encoding_declared: bool,
5951 pub ast: *mut zend_ast,
5952 pub ast_arena: *mut zend_arena,
5953 pub delayed_oplines_stack: zend_stack,
5954 pub memoized_exprs: *mut HashTable,
5955 pub memoize_mode: ::std::os::raw::c_int,
5956 pub map_ptr_real_base: *mut ::std::os::raw::c_void,
5957 pub map_ptr_base: *mut ::std::os::raw::c_void,
5958 pub map_ptr_size: usize,
5959 pub map_ptr_last: usize,
5960 pub delayed_variance_obligations: *mut HashTable,
5961 pub delayed_autoloads: *mut HashTable,
5962 pub unlinked_uses: *mut HashTable,
5963 pub current_linking_class: *mut zend_class_entry,
5964 pub rtd_key_counter: u32,
5965 pub short_circuiting_opnums: zend_stack,
5966}
5967#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5968const _: () = {
5969 ["Size of _zend_compiler_globals"][::std::mem::size_of::<_zend_compiler_globals>() - 568usize];
5970 ["Alignment of _zend_compiler_globals"]
5971 [::std::mem::align_of::<_zend_compiler_globals>() - 8usize];
5972 ["Offset of field: _zend_compiler_globals::loop_var_stack"]
5973 [::std::mem::offset_of!(_zend_compiler_globals, loop_var_stack) - 0usize];
5974 ["Offset of field: _zend_compiler_globals::active_class_entry"]
5975 [::std::mem::offset_of!(_zend_compiler_globals, active_class_entry) - 24usize];
5976 ["Offset of field: _zend_compiler_globals::compiled_filename"]
5977 [::std::mem::offset_of!(_zend_compiler_globals, compiled_filename) - 32usize];
5978 ["Offset of field: _zend_compiler_globals::zend_lineno"]
5979 [::std::mem::offset_of!(_zend_compiler_globals, zend_lineno) - 40usize];
5980 ["Offset of field: _zend_compiler_globals::active_op_array"]
5981 [::std::mem::offset_of!(_zend_compiler_globals, active_op_array) - 48usize];
5982 ["Offset of field: _zend_compiler_globals::function_table"]
5983 [::std::mem::offset_of!(_zend_compiler_globals, function_table) - 56usize];
5984 ["Offset of field: _zend_compiler_globals::class_table"]
5985 [::std::mem::offset_of!(_zend_compiler_globals, class_table) - 64usize];
5986 ["Offset of field: _zend_compiler_globals::auto_globals"]
5987 [::std::mem::offset_of!(_zend_compiler_globals, auto_globals) - 72usize];
5988 ["Offset of field: _zend_compiler_globals::parse_error"]
5989 [::std::mem::offset_of!(_zend_compiler_globals, parse_error) - 80usize];
5990 ["Offset of field: _zend_compiler_globals::in_compilation"]
5991 [::std::mem::offset_of!(_zend_compiler_globals, in_compilation) - 81usize];
5992 ["Offset of field: _zend_compiler_globals::short_tags"]
5993 [::std::mem::offset_of!(_zend_compiler_globals, short_tags) - 82usize];
5994 ["Offset of field: _zend_compiler_globals::unclean_shutdown"]
5995 [::std::mem::offset_of!(_zend_compiler_globals, unclean_shutdown) - 83usize];
5996 ["Offset of field: _zend_compiler_globals::ini_parser_unbuffered_errors"]
5997 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_unbuffered_errors) - 84usize];
5998 ["Offset of field: _zend_compiler_globals::open_files"]
5999 [::std::mem::offset_of!(_zend_compiler_globals, open_files) - 88usize];
6000 ["Offset of field: _zend_compiler_globals::ini_parser_param"]
6001 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_param) - 144usize];
6002 ["Offset of field: _zend_compiler_globals::skip_shebang"]
6003 [::std::mem::offset_of!(_zend_compiler_globals, skip_shebang) - 152usize];
6004 ["Offset of field: _zend_compiler_globals::increment_lineno"]
6005 [::std::mem::offset_of!(_zend_compiler_globals, increment_lineno) - 153usize];
6006 ["Offset of field: _zend_compiler_globals::variable_width_locale"]
6007 [::std::mem::offset_of!(_zend_compiler_globals, variable_width_locale) - 154usize];
6008 ["Offset of field: _zend_compiler_globals::ascii_compatible_locale"]
6009 [::std::mem::offset_of!(_zend_compiler_globals, ascii_compatible_locale) - 155usize];
6010 ["Offset of field: _zend_compiler_globals::doc_comment"]
6011 [::std::mem::offset_of!(_zend_compiler_globals, doc_comment) - 160usize];
6012 ["Offset of field: _zend_compiler_globals::extra_fn_flags"]
6013 [::std::mem::offset_of!(_zend_compiler_globals, extra_fn_flags) - 168usize];
6014 ["Offset of field: _zend_compiler_globals::compiler_options"]
6015 [::std::mem::offset_of!(_zend_compiler_globals, compiler_options) - 172usize];
6016 ["Offset of field: _zend_compiler_globals::context"]
6017 [::std::mem::offset_of!(_zend_compiler_globals, context) - 176usize];
6018 ["Offset of field: _zend_compiler_globals::file_context"]
6019 [::std::mem::offset_of!(_zend_compiler_globals, file_context) - 224usize];
6020 ["Offset of field: _zend_compiler_globals::arena"]
6021 [::std::mem::offset_of!(_zend_compiler_globals, arena) - 328usize];
6022 ["Offset of field: _zend_compiler_globals::interned_strings"]
6023 [::std::mem::offset_of!(_zend_compiler_globals, interned_strings) - 336usize];
6024 ["Offset of field: _zend_compiler_globals::script_encoding_list"]
6025 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list) - 392usize];
6026 ["Offset of field: _zend_compiler_globals::script_encoding_list_size"]
6027 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list_size) - 400usize];
6028 ["Offset of field: _zend_compiler_globals::multibyte"]
6029 [::std::mem::offset_of!(_zend_compiler_globals, multibyte) - 408usize];
6030 ["Offset of field: _zend_compiler_globals::detect_unicode"]
6031 [::std::mem::offset_of!(_zend_compiler_globals, detect_unicode) - 409usize];
6032 ["Offset of field: _zend_compiler_globals::encoding_declared"]
6033 [::std::mem::offset_of!(_zend_compiler_globals, encoding_declared) - 410usize];
6034 ["Offset of field: _zend_compiler_globals::ast"]
6035 [::std::mem::offset_of!(_zend_compiler_globals, ast) - 416usize];
6036 ["Offset of field: _zend_compiler_globals::ast_arena"]
6037 [::std::mem::offset_of!(_zend_compiler_globals, ast_arena) - 424usize];
6038 ["Offset of field: _zend_compiler_globals::delayed_oplines_stack"]
6039 [::std::mem::offset_of!(_zend_compiler_globals, delayed_oplines_stack) - 432usize];
6040 ["Offset of field: _zend_compiler_globals::memoized_exprs"]
6041 [::std::mem::offset_of!(_zend_compiler_globals, memoized_exprs) - 456usize];
6042 ["Offset of field: _zend_compiler_globals::memoize_mode"]
6043 [::std::mem::offset_of!(_zend_compiler_globals, memoize_mode) - 464usize];
6044 ["Offset of field: _zend_compiler_globals::map_ptr_real_base"]
6045 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_real_base) - 472usize];
6046 ["Offset of field: _zend_compiler_globals::map_ptr_base"]
6047 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_base) - 480usize];
6048 ["Offset of field: _zend_compiler_globals::map_ptr_size"]
6049 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_size) - 488usize];
6050 ["Offset of field: _zend_compiler_globals::map_ptr_last"]
6051 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_last) - 496usize];
6052 ["Offset of field: _zend_compiler_globals::delayed_variance_obligations"]
6053 [::std::mem::offset_of!(_zend_compiler_globals, delayed_variance_obligations) - 504usize];
6054 ["Offset of field: _zend_compiler_globals::delayed_autoloads"]
6055 [::std::mem::offset_of!(_zend_compiler_globals, delayed_autoloads) - 512usize];
6056 ["Offset of field: _zend_compiler_globals::unlinked_uses"]
6057 [::std::mem::offset_of!(_zend_compiler_globals, unlinked_uses) - 520usize];
6058 ["Offset of field: _zend_compiler_globals::current_linking_class"]
6059 [::std::mem::offset_of!(_zend_compiler_globals, current_linking_class) - 528usize];
6060 ["Offset of field: _zend_compiler_globals::rtd_key_counter"]
6061 [::std::mem::offset_of!(_zend_compiler_globals, rtd_key_counter) - 536usize];
6062 ["Offset of field: _zend_compiler_globals::short_circuiting_opnums"]
6063 [::std::mem::offset_of!(_zend_compiler_globals, short_circuiting_opnums) - 544usize];
6064};
6065extern "C" {
6066 pub static mut compiler_globals: _zend_compiler_globals;
6067}
6068extern "C" {
6069 pub fn zendparse() -> ::std::os::raw::c_int;
6070}
6071extern "C" {
6072 pub static mut executor_globals: zend_executor_globals;
6073}
6074extern "C" {
6075 pub static mut language_scanner_globals: zend_php_scanner_globals;
6076}
6077extern "C" {
6078 pub static mut ini_scanner_globals: zend_ini_scanner_globals;
6079}
6080#[repr(C)]
6081#[derive(Debug, Copy, Clone)]
6082pub struct _zend_stack {
6083 pub size: ::std::os::raw::c_int,
6084 pub top: ::std::os::raw::c_int,
6085 pub max: ::std::os::raw::c_int,
6086 pub elements: *mut ::std::os::raw::c_void,
6087}
6088#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6089const _: () = {
6090 ["Size of _zend_stack"][::std::mem::size_of::<_zend_stack>() - 24usize];
6091 ["Alignment of _zend_stack"][::std::mem::align_of::<_zend_stack>() - 8usize];
6092 ["Offset of field: _zend_stack::size"][::std::mem::offset_of!(_zend_stack, size) - 0usize];
6093 ["Offset of field: _zend_stack::top"][::std::mem::offset_of!(_zend_stack, top) - 4usize];
6094 ["Offset of field: _zend_stack::max"][::std::mem::offset_of!(_zend_stack, max) - 8usize];
6095 ["Offset of field: _zend_stack::elements"]
6096 [::std::mem::offset_of!(_zend_stack, elements) - 16usize];
6097};
6098pub type zend_stack = _zend_stack;
6099extern "C" {
6100 pub fn zend_stack_init(stack: *mut zend_stack, size: ::std::os::raw::c_int);
6101}
6102extern "C" {
6103 pub fn zend_stack_push(
6104 stack: *mut zend_stack,
6105 element: *const ::std::os::raw::c_void,
6106 ) -> ::std::os::raw::c_int;
6107}
6108extern "C" {
6109 pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
6110}
6111extern "C" {
6112 pub fn zend_stack_del_top(stack: *mut zend_stack);
6113}
6114extern "C" {
6115 pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
6116}
6117extern "C" {
6118 pub fn zend_stack_is_empty(stack: *const zend_stack) -> bool;
6119}
6120extern "C" {
6121 pub fn zend_stack_destroy(stack: *mut zend_stack);
6122}
6123extern "C" {
6124 pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
6125}
6126extern "C" {
6127 pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
6128}
6129extern "C" {
6130 pub fn zend_stack_apply(
6131 stack: *mut zend_stack,
6132 type_: ::std::os::raw::c_int,
6133 apply_function: ::std::option::Option<
6134 unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
6135 >,
6136 );
6137}
6138extern "C" {
6139 pub fn zend_stack_apply_with_argument(
6140 stack: *mut zend_stack,
6141 type_: ::std::os::raw::c_int,
6142 apply_function: ::std::option::Option<
6143 unsafe extern "C" fn(
6144 element: *mut ::std::os::raw::c_void,
6145 arg: *mut ::std::os::raw::c_void,
6146 ) -> ::std::os::raw::c_int,
6147 >,
6148 arg: *mut ::std::os::raw::c_void,
6149 );
6150}
6151extern "C" {
6152 pub fn zend_stack_clean(
6153 stack: *mut zend_stack,
6154 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6155 free_elements: bool,
6156 );
6157}
6158#[repr(C)]
6159#[derive(Debug, Copy, Clone)]
6160pub struct _zend_ptr_stack {
6161 pub top: ::std::os::raw::c_int,
6162 pub max: ::std::os::raw::c_int,
6163 pub elements: *mut *mut ::std::os::raw::c_void,
6164 pub top_element: *mut *mut ::std::os::raw::c_void,
6165 pub persistent: bool,
6166}
6167#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6168const _: () = {
6169 ["Size of _zend_ptr_stack"][::std::mem::size_of::<_zend_ptr_stack>() - 32usize];
6170 ["Alignment of _zend_ptr_stack"][::std::mem::align_of::<_zend_ptr_stack>() - 8usize];
6171 ["Offset of field: _zend_ptr_stack::top"]
6172 [::std::mem::offset_of!(_zend_ptr_stack, top) - 0usize];
6173 ["Offset of field: _zend_ptr_stack::max"]
6174 [::std::mem::offset_of!(_zend_ptr_stack, max) - 4usize];
6175 ["Offset of field: _zend_ptr_stack::elements"]
6176 [::std::mem::offset_of!(_zend_ptr_stack, elements) - 8usize];
6177 ["Offset of field: _zend_ptr_stack::top_element"]
6178 [::std::mem::offset_of!(_zend_ptr_stack, top_element) - 16usize];
6179 ["Offset of field: _zend_ptr_stack::persistent"]
6180 [::std::mem::offset_of!(_zend_ptr_stack, persistent) - 24usize];
6181};
6182pub type zend_ptr_stack = _zend_ptr_stack;
6183extern "C" {
6184 pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
6185}
6186extern "C" {
6187 pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: bool);
6188}
6189extern "C" {
6190 pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
6191}
6192extern "C" {
6193 pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
6194}
6195extern "C" {
6196 pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
6197}
6198extern "C" {
6199 pub fn zend_ptr_stack_apply(
6200 stack: *mut zend_ptr_stack,
6201 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6202 );
6203}
6204extern "C" {
6205 pub fn zend_ptr_stack_reverse_apply(
6206 stack: *mut zend_ptr_stack,
6207 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6208 );
6209}
6210extern "C" {
6211 pub fn zend_ptr_stack_clean(
6212 stack: *mut zend_ptr_stack,
6213 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6214 free_elements: bool,
6215 );
6216}
6217extern "C" {
6218 pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
6219}
6220extern "C" {
6221 pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
6222}
6223extern "C" {
6224 pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
6225}
6226extern "C" {
6227 pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
6228}
6229extern "C" {
6230 pub fn zend_object_std_dtor(object: *mut zend_object);
6231}
6232extern "C" {
6233 pub fn zend_objects_destroy_object(object: *mut zend_object);
6234}
6235extern "C" {
6236 pub fn zend_objects_clone_obj(object: *mut zend_object) -> *mut zend_object;
6237}
6238#[repr(C)]
6239#[derive(Debug, Copy, Clone)]
6240pub struct _zend_objects_store {
6241 pub object_buckets: *mut *mut zend_object,
6242 pub top: u32,
6243 pub size: u32,
6244 pub free_list_head: ::std::os::raw::c_int,
6245}
6246#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6247const _: () = {
6248 ["Size of _zend_objects_store"][::std::mem::size_of::<_zend_objects_store>() - 24usize];
6249 ["Alignment of _zend_objects_store"][::std::mem::align_of::<_zend_objects_store>() - 8usize];
6250 ["Offset of field: _zend_objects_store::object_buckets"]
6251 [::std::mem::offset_of!(_zend_objects_store, object_buckets) - 0usize];
6252 ["Offset of field: _zend_objects_store::top"]
6253 [::std::mem::offset_of!(_zend_objects_store, top) - 8usize];
6254 ["Offset of field: _zend_objects_store::size"]
6255 [::std::mem::offset_of!(_zend_objects_store, size) - 12usize];
6256 ["Offset of field: _zend_objects_store::free_list_head"]
6257 [::std::mem::offset_of!(_zend_objects_store, free_list_head) - 16usize];
6258};
6259pub type zend_objects_store = _zend_objects_store;
6260extern "C" {
6261 pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
6262}
6263extern "C" {
6264 pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
6265}
6266extern "C" {
6267 pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
6268}
6269extern "C" {
6270 pub fn zend_objects_store_free_object_storage(
6271 objects: *mut zend_objects_store,
6272 fast_shutdown: bool,
6273 );
6274}
6275extern "C" {
6276 pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
6277}
6278extern "C" {
6279 pub fn zend_objects_store_put(object: *mut zend_object);
6280}
6281extern "C" {
6282 pub fn zend_objects_store_del(object: *mut zend_object);
6283}
6284extern "C" {
6285 pub fn zend_init_fpu();
6286}
6287extern "C" {
6288 pub fn zend_shutdown_fpu();
6289}
6290extern "C" {
6291 pub fn zend_ensure_fpu_mode();
6292}
6293#[repr(C)]
6294#[derive(Debug, Copy, Clone)]
6295pub struct _zend_encoding {
6296 _unused: [u8; 0],
6297}
6298pub type zend_encoding = _zend_encoding;
6299pub type zend_encoding_filter = ::std::option::Option<
6300 unsafe extern "C" fn(
6301 str_: *mut *mut ::std::os::raw::c_uchar,
6302 str_length: *mut usize,
6303 buf: *const ::std::os::raw::c_uchar,
6304 length: usize,
6305 ) -> usize,
6306>;
6307pub type zend_encoding_fetcher = ::std::option::Option<
6308 unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
6309>;
6310pub type zend_encoding_name_getter = ::std::option::Option<
6311 unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
6312>;
6313pub type zend_encoding_lexer_compatibility_checker =
6314 ::std::option::Option<unsafe extern "C" fn(encoding: *const zend_encoding) -> bool>;
6315pub type zend_encoding_detector = ::std::option::Option<
6316 unsafe extern "C" fn(
6317 string: *const ::std::os::raw::c_uchar,
6318 length: usize,
6319 list: *mut *const zend_encoding,
6320 list_size: usize,
6321 ) -> *const zend_encoding,
6322>;
6323pub type zend_encoding_converter = ::std::option::Option<
6324 unsafe extern "C" fn(
6325 to: *mut *mut ::std::os::raw::c_uchar,
6326 to_length: *mut usize,
6327 from: *const ::std::os::raw::c_uchar,
6328 from_length: usize,
6329 encoding_to: *const zend_encoding,
6330 encoding_from: *const zend_encoding,
6331 ) -> usize,
6332>;
6333pub type zend_encoding_list_parser = ::std::option::Option<
6334 unsafe extern "C" fn(
6335 encoding_list: *const ::std::os::raw::c_char,
6336 encoding_list_len: usize,
6337 return_list: *mut *mut *const zend_encoding,
6338 return_size: *mut usize,
6339 persistent: bool,
6340 ) -> zend_result,
6341>;
6342pub type zend_encoding_internal_encoding_getter =
6343 ::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
6344pub type zend_encoding_internal_encoding_setter =
6345 ::std::option::Option<unsafe extern "C" fn(encoding: *const zend_encoding) -> zend_result>;
6346#[repr(C)]
6347#[derive(Debug, Copy, Clone)]
6348pub struct _zend_multibyte_functions {
6349 pub provider_name: *const ::std::os::raw::c_char,
6350 pub encoding_fetcher: zend_encoding_fetcher,
6351 pub encoding_name_getter: zend_encoding_name_getter,
6352 pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
6353 pub encoding_detector: zend_encoding_detector,
6354 pub encoding_converter: zend_encoding_converter,
6355 pub encoding_list_parser: zend_encoding_list_parser,
6356 pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
6357 pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
6358}
6359#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6360const _: () = {
6361 ["Size of _zend_multibyte_functions"]
6362 [::std::mem::size_of::<_zend_multibyte_functions>() - 72usize];
6363 ["Alignment of _zend_multibyte_functions"]
6364 [::std::mem::align_of::<_zend_multibyte_functions>() - 8usize];
6365 ["Offset of field: _zend_multibyte_functions::provider_name"]
6366 [::std::mem::offset_of!(_zend_multibyte_functions, provider_name) - 0usize];
6367 ["Offset of field: _zend_multibyte_functions::encoding_fetcher"]
6368 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_fetcher) - 8usize];
6369 ["Offset of field: _zend_multibyte_functions::encoding_name_getter"]
6370 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_name_getter) - 16usize];
6371 ["Offset of field: _zend_multibyte_functions::lexer_compatibility_checker"]
6372 [::std::mem::offset_of!(_zend_multibyte_functions, lexer_compatibility_checker) - 24usize];
6373 ["Offset of field: _zend_multibyte_functions::encoding_detector"]
6374 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_detector) - 32usize];
6375 ["Offset of field: _zend_multibyte_functions::encoding_converter"]
6376 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_converter) - 40usize];
6377 ["Offset of field: _zend_multibyte_functions::encoding_list_parser"]
6378 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_list_parser) - 48usize];
6379 ["Offset of field: _zend_multibyte_functions::internal_encoding_getter"]
6380 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_getter) - 56usize];
6381 ["Offset of field: _zend_multibyte_functions::internal_encoding_setter"]
6382 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_setter) - 64usize];
6383};
6384pub type zend_multibyte_functions = _zend_multibyte_functions;
6385extern "C" {
6386 pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
6387}
6388extern "C" {
6389 pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
6390}
6391extern "C" {
6392 pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
6393}
6394extern "C" {
6395 pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
6396}
6397extern "C" {
6398 pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
6399}
6400extern "C" {
6401 pub fn zend_multibyte_set_functions(functions: *const zend_multibyte_functions) -> zend_result;
6402}
6403extern "C" {
6404 pub fn zend_multibyte_restore_functions();
6405}
6406extern "C" {
6407 pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
6408}
6409extern "C" {
6410 pub fn zend_multibyte_fetch_encoding(
6411 name: *const ::std::os::raw::c_char,
6412 ) -> *const zend_encoding;
6413}
6414extern "C" {
6415 pub fn zend_multibyte_get_encoding_name(
6416 encoding: *const zend_encoding,
6417 ) -> *const ::std::os::raw::c_char;
6418}
6419extern "C" {
6420 pub fn zend_multibyte_check_lexer_compatibility(
6421 encoding: *const zend_encoding,
6422 ) -> ::std::os::raw::c_int;
6423}
6424extern "C" {
6425 pub fn zend_multibyte_encoding_detector(
6426 string: *const ::std::os::raw::c_uchar,
6427 length: usize,
6428 list: *mut *const zend_encoding,
6429 list_size: usize,
6430 ) -> *const zend_encoding;
6431}
6432extern "C" {
6433 pub fn zend_multibyte_encoding_converter(
6434 to: *mut *mut ::std::os::raw::c_uchar,
6435 to_length: *mut usize,
6436 from: *const ::std::os::raw::c_uchar,
6437 from_length: usize,
6438 encoding_to: *const zend_encoding,
6439 encoding_from: *const zend_encoding,
6440 ) -> usize;
6441}
6442extern "C" {
6443 pub fn zend_multibyte_parse_encoding_list(
6444 encoding_list: *const ::std::os::raw::c_char,
6445 encoding_list_len: usize,
6446 return_list: *mut *mut *const zend_encoding,
6447 return_size: *mut usize,
6448 persistent: bool,
6449 ) -> ::std::os::raw::c_int;
6450}
6451extern "C" {
6452 pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
6453}
6454extern "C" {
6455 pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
6456}
6457extern "C" {
6458 pub fn zend_multibyte_set_script_encoding(
6459 encoding_list: *mut *const zend_encoding,
6460 encoding_list_size: usize,
6461 ) -> ::std::os::raw::c_int;
6462}
6463extern "C" {
6464 pub fn zend_multibyte_set_internal_encoding(
6465 encoding: *const zend_encoding,
6466 ) -> ::std::os::raw::c_int;
6467}
6468extern "C" {
6469 pub fn zend_multibyte_set_script_encoding_by_string(
6470 new_value: *const ::std::os::raw::c_char,
6471 new_value_length: usize,
6472 ) -> zend_result;
6473}
6474pub type zend_arena = _zend_arena;
6475#[repr(C)]
6476#[derive(Debug, Copy, Clone)]
6477pub struct _zend_arena {
6478 pub ptr: *mut ::std::os::raw::c_char,
6479 pub end: *mut ::std::os::raw::c_char,
6480 pub prev: *mut zend_arena,
6481}
6482#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6483const _: () = {
6484 ["Size of _zend_arena"][::std::mem::size_of::<_zend_arena>() - 24usize];
6485 ["Alignment of _zend_arena"][::std::mem::align_of::<_zend_arena>() - 8usize];
6486 ["Offset of field: _zend_arena::ptr"][::std::mem::offset_of!(_zend_arena, ptr) - 0usize];
6487 ["Offset of field: _zend_arena::end"][::std::mem::offset_of!(_zend_arena, end) - 8usize];
6488 ["Offset of field: _zend_arena::prev"][::std::mem::offset_of!(_zend_arena, prev) - 16usize];
6489};
6490pub type zend_vm_stack = *mut _zend_vm_stack;
6491pub type zend_ini_entry = _zend_ini_entry;
6492#[repr(C)]
6493#[derive(Debug, Copy, Clone)]
6494pub struct _zend_fiber_context {
6495 _unused: [u8; 0],
6496}
6497pub type zend_fiber_context = _zend_fiber_context;
6498#[repr(C)]
6499#[derive(Debug, Copy, Clone)]
6500pub struct _zend_fiber {
6501 _unused: [u8; 0],
6502}
6503pub type zend_fiber = _zend_fiber;
6504#[repr(C)]
6505#[derive(Copy, Clone)]
6506pub struct _zend_executor_globals {
6507 pub uninitialized_zval: zval,
6508 pub error_zval: zval,
6509 pub symtable_cache: [*mut zend_array; 32usize],
6510 pub symtable_cache_limit: *mut *mut zend_array,
6511 pub symtable_cache_ptr: *mut *mut zend_array,
6512 pub symbol_table: zend_array,
6513 pub included_files: HashTable,
6514 pub bailout: *mut jmp_buf,
6515 pub error_reporting: ::std::os::raw::c_int,
6516 pub exit_status: ::std::os::raw::c_int,
6517 pub function_table: *mut HashTable,
6518 pub class_table: *mut HashTable,
6519 pub zend_constants: *mut HashTable,
6520 pub vm_stack_top: *mut zval,
6521 pub vm_stack_end: *mut zval,
6522 pub vm_stack: zend_vm_stack,
6523 pub vm_stack_page_size: usize,
6524 pub current_execute_data: *mut _zend_execute_data,
6525 pub fake_scope: *mut zend_class_entry,
6526 pub jit_trace_num: u32,
6527 pub precision: zend_long,
6528 pub ticks_count: ::std::os::raw::c_int,
6529 pub persistent_constants_count: u32,
6530 pub persistent_functions_count: u32,
6531 pub persistent_classes_count: u32,
6532 pub in_autoload: *mut HashTable,
6533 pub full_tables_cleanup: bool,
6534 pub no_extensions: bool,
6535 pub vm_interrupt: bool,
6536 pub timed_out: bool,
6537 pub hard_timeout: zend_long,
6538 pub regular_list: HashTable,
6539 pub persistent_list: HashTable,
6540 pub user_error_handler_error_reporting: ::std::os::raw::c_int,
6541 pub user_error_handler: zval,
6542 pub user_exception_handler: zval,
6543 pub user_error_handlers_error_reporting: zend_stack,
6544 pub user_error_handlers: zend_stack,
6545 pub user_exception_handlers: zend_stack,
6546 pub error_handling: zend_error_handling_t,
6547 pub exception_class: *mut zend_class_entry,
6548 pub timeout_seconds: zend_long,
6549 pub capture_warnings_during_sccp: ::std::os::raw::c_int,
6550 pub ini_directives: *mut HashTable,
6551 pub modified_ini_directives: *mut HashTable,
6552 pub error_reporting_ini_entry: *mut zend_ini_entry,
6553 pub objects_store: zend_objects_store,
6554 pub exception: *mut zend_object,
6555 pub prev_exception: *mut zend_object,
6556 pub opline_before_exception: *const zend_op,
6557 pub exception_op: [zend_op; 3usize],
6558 pub current_module: *mut _zend_module_entry,
6559 pub active: bool,
6560 pub flags: zend_uchar,
6561 pub assertions: zend_long,
6562 pub ht_iterators_count: u32,
6563 pub ht_iterators_used: u32,
6564 pub ht_iterators: *mut HashTableIterator,
6565 pub ht_iterators_slots: [HashTableIterator; 16usize],
6566 pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
6567 pub trampoline: zend_function,
6568 pub call_trampoline_op: zend_op,
6569 pub weakrefs: HashTable,
6570 pub exception_ignore_args: bool,
6571 pub exception_string_param_max_len: zend_long,
6572 pub get_gc_buffer: zend_get_gc_buffer,
6573 pub main_fiber_context: *mut zend_fiber_context,
6574 pub current_fiber_context: *mut zend_fiber_context,
6575 pub active_fiber: *mut zend_fiber,
6576 pub fiber_stack_size: zend_long,
6577 pub record_errors: bool,
6578 pub num_errors: u32,
6579 pub errors: *mut *mut zend_error_info,
6580 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
6581}
6582#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6583const _: () = {
6584 ["Size of _zend_executor_globals"][::std::mem::size_of::<_zend_executor_globals>() - 1752usize];
6585 ["Alignment of _zend_executor_globals"]
6586 [::std::mem::align_of::<_zend_executor_globals>() - 8usize];
6587 ["Offset of field: _zend_executor_globals::uninitialized_zval"]
6588 [::std::mem::offset_of!(_zend_executor_globals, uninitialized_zval) - 0usize];
6589 ["Offset of field: _zend_executor_globals::error_zval"]
6590 [::std::mem::offset_of!(_zend_executor_globals, error_zval) - 16usize];
6591 ["Offset of field: _zend_executor_globals::symtable_cache"]
6592 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache) - 32usize];
6593 ["Offset of field: _zend_executor_globals::symtable_cache_limit"]
6594 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_limit) - 288usize];
6595 ["Offset of field: _zend_executor_globals::symtable_cache_ptr"]
6596 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_ptr) - 296usize];
6597 ["Offset of field: _zend_executor_globals::symbol_table"]
6598 [::std::mem::offset_of!(_zend_executor_globals, symbol_table) - 304usize];
6599 ["Offset of field: _zend_executor_globals::included_files"]
6600 [::std::mem::offset_of!(_zend_executor_globals, included_files) - 360usize];
6601 ["Offset of field: _zend_executor_globals::bailout"]
6602 [::std::mem::offset_of!(_zend_executor_globals, bailout) - 416usize];
6603 ["Offset of field: _zend_executor_globals::error_reporting"]
6604 [::std::mem::offset_of!(_zend_executor_globals, error_reporting) - 424usize];
6605 ["Offset of field: _zend_executor_globals::exit_status"]
6606 [::std::mem::offset_of!(_zend_executor_globals, exit_status) - 428usize];
6607 ["Offset of field: _zend_executor_globals::function_table"]
6608 [::std::mem::offset_of!(_zend_executor_globals, function_table) - 432usize];
6609 ["Offset of field: _zend_executor_globals::class_table"]
6610 [::std::mem::offset_of!(_zend_executor_globals, class_table) - 440usize];
6611 ["Offset of field: _zend_executor_globals::zend_constants"]
6612 [::std::mem::offset_of!(_zend_executor_globals, zend_constants) - 448usize];
6613 ["Offset of field: _zend_executor_globals::vm_stack_top"]
6614 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_top) - 456usize];
6615 ["Offset of field: _zend_executor_globals::vm_stack_end"]
6616 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_end) - 464usize];
6617 ["Offset of field: _zend_executor_globals::vm_stack"]
6618 [::std::mem::offset_of!(_zend_executor_globals, vm_stack) - 472usize];
6619 ["Offset of field: _zend_executor_globals::vm_stack_page_size"]
6620 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_page_size) - 480usize];
6621 ["Offset of field: _zend_executor_globals::current_execute_data"]
6622 [::std::mem::offset_of!(_zend_executor_globals, current_execute_data) - 488usize];
6623 ["Offset of field: _zend_executor_globals::fake_scope"]
6624 [::std::mem::offset_of!(_zend_executor_globals, fake_scope) - 496usize];
6625 ["Offset of field: _zend_executor_globals::jit_trace_num"]
6626 [::std::mem::offset_of!(_zend_executor_globals, jit_trace_num) - 504usize];
6627 ["Offset of field: _zend_executor_globals::precision"]
6628 [::std::mem::offset_of!(_zend_executor_globals, precision) - 512usize];
6629 ["Offset of field: _zend_executor_globals::ticks_count"]
6630 [::std::mem::offset_of!(_zend_executor_globals, ticks_count) - 520usize];
6631 ["Offset of field: _zend_executor_globals::persistent_constants_count"]
6632 [::std::mem::offset_of!(_zend_executor_globals, persistent_constants_count) - 524usize];
6633 ["Offset of field: _zend_executor_globals::persistent_functions_count"]
6634 [::std::mem::offset_of!(_zend_executor_globals, persistent_functions_count) - 528usize];
6635 ["Offset of field: _zend_executor_globals::persistent_classes_count"]
6636 [::std::mem::offset_of!(_zend_executor_globals, persistent_classes_count) - 532usize];
6637 ["Offset of field: _zend_executor_globals::in_autoload"]
6638 [::std::mem::offset_of!(_zend_executor_globals, in_autoload) - 536usize];
6639 ["Offset of field: _zend_executor_globals::full_tables_cleanup"]
6640 [::std::mem::offset_of!(_zend_executor_globals, full_tables_cleanup) - 544usize];
6641 ["Offset of field: _zend_executor_globals::no_extensions"]
6642 [::std::mem::offset_of!(_zend_executor_globals, no_extensions) - 545usize];
6643 ["Offset of field: _zend_executor_globals::vm_interrupt"]
6644 [::std::mem::offset_of!(_zend_executor_globals, vm_interrupt) - 546usize];
6645 ["Offset of field: _zend_executor_globals::timed_out"]
6646 [::std::mem::offset_of!(_zend_executor_globals, timed_out) - 547usize];
6647 ["Offset of field: _zend_executor_globals::hard_timeout"]
6648 [::std::mem::offset_of!(_zend_executor_globals, hard_timeout) - 552usize];
6649 ["Offset of field: _zend_executor_globals::regular_list"]
6650 [::std::mem::offset_of!(_zend_executor_globals, regular_list) - 560usize];
6651 ["Offset of field: _zend_executor_globals::persistent_list"]
6652 [::std::mem::offset_of!(_zend_executor_globals, persistent_list) - 616usize];
6653 ["Offset of field: _zend_executor_globals::user_error_handler_error_reporting"][::std::mem::offset_of!(
6654 _zend_executor_globals,
6655 user_error_handler_error_reporting
6656 ) - 672usize];
6657 ["Offset of field: _zend_executor_globals::user_error_handler"]
6658 [::std::mem::offset_of!(_zend_executor_globals, user_error_handler) - 680usize];
6659 ["Offset of field: _zend_executor_globals::user_exception_handler"]
6660 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handler) - 696usize];
6661 ["Offset of field: _zend_executor_globals::user_error_handlers_error_reporting"][::std::mem::offset_of!(
6662 _zend_executor_globals,
6663 user_error_handlers_error_reporting
6664 ) - 712usize];
6665 ["Offset of field: _zend_executor_globals::user_error_handlers"]
6666 [::std::mem::offset_of!(_zend_executor_globals, user_error_handlers) - 736usize];
6667 ["Offset of field: _zend_executor_globals::user_exception_handlers"]
6668 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handlers) - 760usize];
6669 ["Offset of field: _zend_executor_globals::error_handling"]
6670 [::std::mem::offset_of!(_zend_executor_globals, error_handling) - 784usize];
6671 ["Offset of field: _zend_executor_globals::exception_class"]
6672 [::std::mem::offset_of!(_zend_executor_globals, exception_class) - 792usize];
6673 ["Offset of field: _zend_executor_globals::timeout_seconds"]
6674 [::std::mem::offset_of!(_zend_executor_globals, timeout_seconds) - 800usize];
6675 ["Offset of field: _zend_executor_globals::capture_warnings_during_sccp"]
6676 [::std::mem::offset_of!(_zend_executor_globals, capture_warnings_during_sccp) - 808usize];
6677 ["Offset of field: _zend_executor_globals::ini_directives"]
6678 [::std::mem::offset_of!(_zend_executor_globals, ini_directives) - 816usize];
6679 ["Offset of field: _zend_executor_globals::modified_ini_directives"]
6680 [::std::mem::offset_of!(_zend_executor_globals, modified_ini_directives) - 824usize];
6681 ["Offset of field: _zend_executor_globals::error_reporting_ini_entry"]
6682 [::std::mem::offset_of!(_zend_executor_globals, error_reporting_ini_entry) - 832usize];
6683 ["Offset of field: _zend_executor_globals::objects_store"]
6684 [::std::mem::offset_of!(_zend_executor_globals, objects_store) - 840usize];
6685 ["Offset of field: _zend_executor_globals::exception"]
6686 [::std::mem::offset_of!(_zend_executor_globals, exception) - 864usize];
6687 ["Offset of field: _zend_executor_globals::prev_exception"]
6688 [::std::mem::offset_of!(_zend_executor_globals, prev_exception) - 872usize];
6689 ["Offset of field: _zend_executor_globals::opline_before_exception"]
6690 [::std::mem::offset_of!(_zend_executor_globals, opline_before_exception) - 880usize];
6691 ["Offset of field: _zend_executor_globals::exception_op"]
6692 [::std::mem::offset_of!(_zend_executor_globals, exception_op) - 888usize];
6693 ["Offset of field: _zend_executor_globals::current_module"]
6694 [::std::mem::offset_of!(_zend_executor_globals, current_module) - 984usize];
6695 ["Offset of field: _zend_executor_globals::active"]
6696 [::std::mem::offset_of!(_zend_executor_globals, active) - 992usize];
6697 ["Offset of field: _zend_executor_globals::flags"]
6698 [::std::mem::offset_of!(_zend_executor_globals, flags) - 993usize];
6699 ["Offset of field: _zend_executor_globals::assertions"]
6700 [::std::mem::offset_of!(_zend_executor_globals, assertions) - 1000usize];
6701 ["Offset of field: _zend_executor_globals::ht_iterators_count"]
6702 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_count) - 1008usize];
6703 ["Offset of field: _zend_executor_globals::ht_iterators_used"]
6704 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_used) - 1012usize];
6705 ["Offset of field: _zend_executor_globals::ht_iterators"]
6706 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators) - 1016usize];
6707 ["Offset of field: _zend_executor_globals::ht_iterators_slots"]
6708 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_slots) - 1024usize];
6709 ["Offset of field: _zend_executor_globals::saved_fpu_cw_ptr"]
6710 [::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw_ptr) - 1280usize];
6711 ["Offset of field: _zend_executor_globals::trampoline"]
6712 [::std::mem::offset_of!(_zend_executor_globals, trampoline) - 1288usize];
6713 ["Offset of field: _zend_executor_globals::call_trampoline_op"]
6714 [::std::mem::offset_of!(_zend_executor_globals, call_trampoline_op) - 1528usize];
6715 ["Offset of field: _zend_executor_globals::weakrefs"]
6716 [::std::mem::offset_of!(_zend_executor_globals, weakrefs) - 1560usize];
6717 ["Offset of field: _zend_executor_globals::exception_ignore_args"]
6718 [::std::mem::offset_of!(_zend_executor_globals, exception_ignore_args) - 1616usize];
6719 ["Offset of field: _zend_executor_globals::exception_string_param_max_len"][::std::mem::offset_of!(
6720 _zend_executor_globals,
6721 exception_string_param_max_len
6722 ) - 1624usize];
6723 ["Offset of field: _zend_executor_globals::get_gc_buffer"]
6724 [::std::mem::offset_of!(_zend_executor_globals, get_gc_buffer) - 1632usize];
6725 ["Offset of field: _zend_executor_globals::main_fiber_context"]
6726 [::std::mem::offset_of!(_zend_executor_globals, main_fiber_context) - 1656usize];
6727 ["Offset of field: _zend_executor_globals::current_fiber_context"]
6728 [::std::mem::offset_of!(_zend_executor_globals, current_fiber_context) - 1664usize];
6729 ["Offset of field: _zend_executor_globals::active_fiber"]
6730 [::std::mem::offset_of!(_zend_executor_globals, active_fiber) - 1672usize];
6731 ["Offset of field: _zend_executor_globals::fiber_stack_size"]
6732 [::std::mem::offset_of!(_zend_executor_globals, fiber_stack_size) - 1680usize];
6733 ["Offset of field: _zend_executor_globals::record_errors"]
6734 [::std::mem::offset_of!(_zend_executor_globals, record_errors) - 1688usize];
6735 ["Offset of field: _zend_executor_globals::num_errors"]
6736 [::std::mem::offset_of!(_zend_executor_globals, num_errors) - 1692usize];
6737 ["Offset of field: _zend_executor_globals::errors"]
6738 [::std::mem::offset_of!(_zend_executor_globals, errors) - 1696usize];
6739 ["Offset of field: _zend_executor_globals::reserved"]
6740 [::std::mem::offset_of!(_zend_executor_globals, reserved) - 1704usize];
6741};
6742#[repr(C)]
6743#[derive(Debug, Copy, Clone)]
6744pub struct _zend_ini_scanner_globals {
6745 pub yy_in: *mut zend_file_handle,
6746 pub yy_out: *mut zend_file_handle,
6747 pub yy_leng: ::std::os::raw::c_uint,
6748 pub yy_start: *mut ::std::os::raw::c_uchar,
6749 pub yy_text: *mut ::std::os::raw::c_uchar,
6750 pub yy_cursor: *mut ::std::os::raw::c_uchar,
6751 pub yy_marker: *mut ::std::os::raw::c_uchar,
6752 pub yy_limit: *mut ::std::os::raw::c_uchar,
6753 pub yy_state: ::std::os::raw::c_int,
6754 pub state_stack: zend_stack,
6755 pub filename: *mut zend_string,
6756 pub lineno: ::std::os::raw::c_int,
6757 pub scanner_mode: ::std::os::raw::c_int,
6758}
6759#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6760const _: () = {
6761 ["Size of _zend_ini_scanner_globals"]
6762 [::std::mem::size_of::<_zend_ini_scanner_globals>() - 112usize];
6763 ["Alignment of _zend_ini_scanner_globals"]
6764 [::std::mem::align_of::<_zend_ini_scanner_globals>() - 8usize];
6765 ["Offset of field: _zend_ini_scanner_globals::yy_in"]
6766 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_in) - 0usize];
6767 ["Offset of field: _zend_ini_scanner_globals::yy_out"]
6768 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_out) - 8usize];
6769 ["Offset of field: _zend_ini_scanner_globals::yy_leng"]
6770 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_leng) - 16usize];
6771 ["Offset of field: _zend_ini_scanner_globals::yy_start"]
6772 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_start) - 24usize];
6773 ["Offset of field: _zend_ini_scanner_globals::yy_text"]
6774 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_text) - 32usize];
6775 ["Offset of field: _zend_ini_scanner_globals::yy_cursor"]
6776 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_cursor) - 40usize];
6777 ["Offset of field: _zend_ini_scanner_globals::yy_marker"]
6778 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_marker) - 48usize];
6779 ["Offset of field: _zend_ini_scanner_globals::yy_limit"]
6780 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_limit) - 56usize];
6781 ["Offset of field: _zend_ini_scanner_globals::yy_state"]
6782 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_state) - 64usize];
6783 ["Offset of field: _zend_ini_scanner_globals::state_stack"]
6784 [::std::mem::offset_of!(_zend_ini_scanner_globals, state_stack) - 72usize];
6785 ["Offset of field: _zend_ini_scanner_globals::filename"]
6786 [::std::mem::offset_of!(_zend_ini_scanner_globals, filename) - 96usize];
6787 ["Offset of field: _zend_ini_scanner_globals::lineno"]
6788 [::std::mem::offset_of!(_zend_ini_scanner_globals, lineno) - 104usize];
6789 ["Offset of field: _zend_ini_scanner_globals::scanner_mode"]
6790 [::std::mem::offset_of!(_zend_ini_scanner_globals, scanner_mode) - 108usize];
6791};
6792pub const zend_php_scanner_event_ON_TOKEN: zend_php_scanner_event = 0;
6793pub const zend_php_scanner_event_ON_FEEDBACK: zend_php_scanner_event = 1;
6794pub const zend_php_scanner_event_ON_STOP: zend_php_scanner_event = 2;
6795pub type zend_php_scanner_event = ::std::os::raw::c_uint;
6796#[repr(C)]
6797#[derive(Debug, Copy, Clone)]
6798pub struct _zend_php_scanner_globals {
6799 pub yy_in: *mut zend_file_handle,
6800 pub yy_out: *mut zend_file_handle,
6801 pub yy_leng: ::std::os::raw::c_uint,
6802 pub yy_start: *mut ::std::os::raw::c_uchar,
6803 pub yy_text: *mut ::std::os::raw::c_uchar,
6804 pub yy_cursor: *mut ::std::os::raw::c_uchar,
6805 pub yy_marker: *mut ::std::os::raw::c_uchar,
6806 pub yy_limit: *mut ::std::os::raw::c_uchar,
6807 pub yy_state: ::std::os::raw::c_int,
6808 pub state_stack: zend_stack,
6809 pub heredoc_label_stack: zend_ptr_stack,
6810 pub nest_location_stack: zend_stack,
6811 pub heredoc_scan_ahead: bool,
6812 pub heredoc_indentation: ::std::os::raw::c_int,
6813 pub heredoc_indentation_uses_spaces: bool,
6814 pub script_org: *mut ::std::os::raw::c_uchar,
6815 pub script_org_size: usize,
6816 pub script_filtered: *mut ::std::os::raw::c_uchar,
6817 pub script_filtered_size: usize,
6818 pub input_filter: zend_encoding_filter,
6819 pub output_filter: zend_encoding_filter,
6820 pub script_encoding: *const zend_encoding,
6821 pub scanned_string_len: ::std::os::raw::c_int,
6822 pub on_event: ::std::option::Option<
6823 unsafe extern "C" fn(
6824 event: zend_php_scanner_event,
6825 token: ::std::os::raw::c_int,
6826 line: ::std::os::raw::c_int,
6827 text: *const ::std::os::raw::c_char,
6828 length: usize,
6829 context: *mut ::std::os::raw::c_void,
6830 ),
6831 >,
6832 pub on_event_context: *mut ::std::os::raw::c_void,
6833}
6834#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6835const _: () = {
6836 ["Size of _zend_php_scanner_globals"]
6837 [::std::mem::size_of::<_zend_php_scanner_globals>() - 248usize];
6838 ["Alignment of _zend_php_scanner_globals"]
6839 [::std::mem::align_of::<_zend_php_scanner_globals>() - 8usize];
6840 ["Offset of field: _zend_php_scanner_globals::yy_in"]
6841 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_in) - 0usize];
6842 ["Offset of field: _zend_php_scanner_globals::yy_out"]
6843 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_out) - 8usize];
6844 ["Offset of field: _zend_php_scanner_globals::yy_leng"]
6845 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_leng) - 16usize];
6846 ["Offset of field: _zend_php_scanner_globals::yy_start"]
6847 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_start) - 24usize];
6848 ["Offset of field: _zend_php_scanner_globals::yy_text"]
6849 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_text) - 32usize];
6850 ["Offset of field: _zend_php_scanner_globals::yy_cursor"]
6851 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_cursor) - 40usize];
6852 ["Offset of field: _zend_php_scanner_globals::yy_marker"]
6853 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_marker) - 48usize];
6854 ["Offset of field: _zend_php_scanner_globals::yy_limit"]
6855 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_limit) - 56usize];
6856 ["Offset of field: _zend_php_scanner_globals::yy_state"]
6857 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_state) - 64usize];
6858 ["Offset of field: _zend_php_scanner_globals::state_stack"]
6859 [::std::mem::offset_of!(_zend_php_scanner_globals, state_stack) - 72usize];
6860 ["Offset of field: _zend_php_scanner_globals::heredoc_label_stack"]
6861 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_label_stack) - 96usize];
6862 ["Offset of field: _zend_php_scanner_globals::nest_location_stack"]
6863 [::std::mem::offset_of!(_zend_php_scanner_globals, nest_location_stack) - 128usize];
6864 ["Offset of field: _zend_php_scanner_globals::heredoc_scan_ahead"]
6865 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_scan_ahead) - 152usize];
6866 ["Offset of field: _zend_php_scanner_globals::heredoc_indentation"]
6867 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_indentation) - 156usize];
6868 ["Offset of field: _zend_php_scanner_globals::heredoc_indentation_uses_spaces"][::std::mem::offset_of!(
6869 _zend_php_scanner_globals,
6870 heredoc_indentation_uses_spaces
6871 ) - 160usize];
6872 ["Offset of field: _zend_php_scanner_globals::script_org"]
6873 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org) - 168usize];
6874 ["Offset of field: _zend_php_scanner_globals::script_org_size"]
6875 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org_size) - 176usize];
6876 ["Offset of field: _zend_php_scanner_globals::script_filtered"]
6877 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered) - 184usize];
6878 ["Offset of field: _zend_php_scanner_globals::script_filtered_size"]
6879 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered_size) - 192usize];
6880 ["Offset of field: _zend_php_scanner_globals::input_filter"]
6881 [::std::mem::offset_of!(_zend_php_scanner_globals, input_filter) - 200usize];
6882 ["Offset of field: _zend_php_scanner_globals::output_filter"]
6883 [::std::mem::offset_of!(_zend_php_scanner_globals, output_filter) - 208usize];
6884 ["Offset of field: _zend_php_scanner_globals::script_encoding"]
6885 [::std::mem::offset_of!(_zend_php_scanner_globals, script_encoding) - 216usize];
6886 ["Offset of field: _zend_php_scanner_globals::scanned_string_len"]
6887 [::std::mem::offset_of!(_zend_php_scanner_globals, scanned_string_len) - 224usize];
6888 ["Offset of field: _zend_php_scanner_globals::on_event"]
6889 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event) - 232usize];
6890 ["Offset of field: _zend_php_scanner_globals::on_event_context"]
6891 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event_context) - 240usize];
6892};
6893extern "C" {
6894 pub fn zend_init_compiler_data_structures();
6895}
6896extern "C" {
6897 pub fn zend_oparray_context_begin(prev_context: *mut zend_oparray_context);
6898}
6899extern "C" {
6900 pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
6901}
6902extern "C" {
6903 pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
6904}
6905extern "C" {
6906 pub fn zend_file_context_end(prev_context: *mut zend_file_context);
6907}
6908extern "C" {
6909 pub static mut zend_compile_file: ::std::option::Option<
6910 unsafe extern "C" fn(
6911 file_handle: *mut zend_file_handle,
6912 type_: ::std::os::raw::c_int,
6913 ) -> *mut zend_op_array,
6914 >;
6915}
6916extern "C" {
6917 pub static mut zend_compile_string: ::std::option::Option<
6918 unsafe extern "C" fn(
6919 source_string: *mut zend_string,
6920 filename: *const ::std::os::raw::c_char,
6921 ) -> *mut zend_op_array,
6922 >;
6923}
6924extern "C" {
6925 pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
6926}
6927extern "C" {
6928 pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
6929}
6930extern "C" {
6931 pub fn zend_get_compiled_filename() -> *mut zend_string;
6932}
6933extern "C" {
6934 pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
6935}
6936extern "C" {
6937 pub fn zend_get_scanned_file_offset() -> usize;
6938}
6939extern "C" {
6940 pub fn zend_get_compiled_variable_name(
6941 op_array: *const zend_op_array,
6942 var: u32,
6943 ) -> *mut zend_string;
6944}
6945extern "C" {
6946 pub fn zend_stop_lexing();
6947}
6948extern "C" {
6949 pub fn zend_emit_final_return(return_one: bool);
6950}
6951extern "C" {
6952 pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
6953}
6954extern "C" {
6955 pub fn zend_negate_num_string(ast: *mut zend_ast) -> *mut zend_ast;
6956}
6957extern "C" {
6958 pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
6959}
6960extern "C" {
6961 pub fn zend_add_member_modifier(flags: u32, new_flag: u32) -> u32;
6962}
6963extern "C" {
6964 pub fn zend_handle_encoding_declaration(ast: *mut zend_ast) -> bool;
6965}
6966extern "C" {
6967 pub fn zend_bind_class_in_slot(
6968 class_table_slot: *mut zval,
6969 lcname: *mut zval,
6970 lc_parent_name: *mut zend_string,
6971 ) -> *mut zend_class_entry;
6972}
6973extern "C" {
6974 pub fn zend_build_delayed_early_binding_list(op_array: *const zend_op_array) -> u32;
6975}
6976extern "C" {
6977 pub fn zend_do_delayed_early_binding(
6978 op_array: *mut zend_op_array,
6979 first_early_binding_opline: u32,
6980 );
6981}
6982extern "C" {
6983 pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
6984}
6985extern "C" {
6986 pub fn zend_init_static_variables_map_ptr(op_array: *mut zend_op_array);
6987}
6988extern "C" {
6989 pub fn zend_compile_string_to_ast(
6990 code: *mut zend_string,
6991 ast_arena: *mut *mut _zend_arena,
6992 filename: *mut zend_string,
6993 ) -> *mut zend_ast;
6994}
6995extern "C" {
6996 pub fn zend_execute_scripts(
6997 type_: ::std::os::raw::c_int,
6998 retval: *mut zval,
6999 file_count: ::std::os::raw::c_int,
7000 ...
7001 ) -> ::std::os::raw::c_int;
7002}
7003extern "C" {
7004 pub fn zend_destroy_static_vars(op_array: *mut zend_op_array);
7005}
7006extern "C" {
7007 pub fn zend_cleanup_mutable_class_data(ce: *mut zend_class_entry);
7008}
7009extern "C" {
7010 pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
7011}
7012extern "C" {
7013 pub fn zend_type_release(type_: zend_type, persistent: bool);
7014}
7015extern "C" {
7016 pub fn zend_create_member_string(
7017 class_name: *mut zend_string,
7018 member_name: *mut zend_string,
7019 ) -> *mut zend_string;
7020}
7021extern "C" {
7022 pub fn zend_user_exception_handler();
7023}
7024extern "C" {
7025 pub fn zend_free_internal_arg_info(function: *mut zend_internal_function);
7026}
7027extern "C" {
7028 pub fn zend_function_dtor(zv: *mut zval);
7029}
7030extern "C" {
7031 pub fn zend_class_add_ref(zv: *mut zval);
7032}
7033extern "C" {
7034 pub fn zend_mangle_property_name(
7035 src1: *const ::std::os::raw::c_char,
7036 src1_length: usize,
7037 src2: *const ::std::os::raw::c_char,
7038 src2_length: usize,
7039 internal: bool,
7040 ) -> *mut zend_string;
7041}
7042extern "C" {
7043 pub fn zend_unmangle_property_name_ex(
7044 name: *const zend_string,
7045 class_name: *mut *const ::std::os::raw::c_char,
7046 prop_name: *mut *const ::std::os::raw::c_char,
7047 prop_len: *mut usize,
7048 ) -> zend_result;
7049}
7050pub type zend_needs_live_range_cb = ::std::option::Option<
7051 unsafe extern "C" fn(op_array: *mut zend_op_array, opline: *mut zend_op) -> bool,
7052>;
7053extern "C" {
7054 pub fn zend_recalc_live_ranges(
7055 op_array: *mut zend_op_array,
7056 needs_live_range: zend_needs_live_range_cb,
7057 );
7058}
7059extern "C" {
7060 pub fn zend_is_compiling() -> bool;
7061}
7062extern "C" {
7063 pub fn zend_make_compiled_string_description(
7064 name: *const ::std::os::raw::c_char,
7065 ) -> *mut ::std::os::raw::c_char;
7066}
7067extern "C" {
7068 pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: bool);
7069}
7070extern "C" {
7071 pub fn zend_get_class_fetch_type(name: *mut zend_string) -> u32;
7072}
7073extern "C" {
7074 pub fn zend_get_call_op(init_op: *const zend_op, fbc: *mut zend_function) -> zend_uchar;
7075}
7076extern "C" {
7077 pub fn zend_is_smart_branch(opline: *const zend_op) -> bool;
7078}
7079pub type zend_auto_global_callback =
7080 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> bool>;
7081#[repr(C)]
7082#[derive(Debug, Copy, Clone)]
7083pub struct _zend_auto_global {
7084 pub name: *mut zend_string,
7085 pub auto_global_callback: zend_auto_global_callback,
7086 pub jit: bool,
7087 pub armed: bool,
7088}
7089#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7090const _: () = {
7091 ["Size of _zend_auto_global"][::std::mem::size_of::<_zend_auto_global>() - 24usize];
7092 ["Alignment of _zend_auto_global"][::std::mem::align_of::<_zend_auto_global>() - 8usize];
7093 ["Offset of field: _zend_auto_global::name"]
7094 [::std::mem::offset_of!(_zend_auto_global, name) - 0usize];
7095 ["Offset of field: _zend_auto_global::auto_global_callback"]
7096 [::std::mem::offset_of!(_zend_auto_global, auto_global_callback) - 8usize];
7097 ["Offset of field: _zend_auto_global::jit"]
7098 [::std::mem::offset_of!(_zend_auto_global, jit) - 16usize];
7099 ["Offset of field: _zend_auto_global::armed"]
7100 [::std::mem::offset_of!(_zend_auto_global, armed) - 17usize];
7101};
7102pub type zend_auto_global = _zend_auto_global;
7103extern "C" {
7104 pub fn zend_register_auto_global(
7105 name: *mut zend_string,
7106 jit: bool,
7107 auto_global_callback: zend_auto_global_callback,
7108 ) -> zend_result;
7109}
7110extern "C" {
7111 pub fn zend_activate_auto_globals();
7112}
7113extern "C" {
7114 pub fn zend_is_auto_global(name: *mut zend_string) -> bool;
7115}
7116extern "C" {
7117 pub fn zend_is_auto_global_str(name: *const ::std::os::raw::c_char, len: usize) -> bool;
7118}
7119extern "C" {
7120 pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: usize) -> usize;
7121}
7122extern "C" {
7123 pub fn zend_set_function_arg_flags(func: *mut zend_function);
7124}
7125extern "C" {
7126 pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
7127}
7128extern "C" {
7129 pub fn zend_assert_valid_class_name(const_name: *const zend_string);
7130}
7131extern "C" {
7132 pub fn zend_type_to_string_resolved(
7133 type_: zend_type,
7134 scope: *mut zend_class_entry,
7135 ) -> *mut zend_string;
7136}
7137extern "C" {
7138 pub fn zend_type_to_string(type_: zend_type) -> *mut zend_string;
7139}
7140extern "C" {
7141 pub fn zend_get_opcode_name(opcode: zend_uchar) -> *const ::std::os::raw::c_char;
7142}
7143extern "C" {
7144 pub fn zend_get_opcode_flags(opcode: zend_uchar) -> u32;
7145}
7146extern "C" {
7147 pub fn zend_get_opcode_id(name: *const ::std::os::raw::c_char, length: usize) -> zend_uchar;
7148}
7149extern "C" {
7150 pub fn zend_is_op_long_compatible(op: *mut zval) -> bool;
7151}
7152extern "C" {
7153 pub fn zend_binary_op_produces_error(opcode: u32, op1: *mut zval, op2: *mut zval) -> bool;
7154}
7155extern "C" {
7156 pub fn zend_unary_op_produces_error(opcode: u32, op: *mut zval) -> bool;
7157}
7158pub type zend_module_entry = _zend_module_entry;
7159pub type zend_module_dep = _zend_module_dep;
7160#[repr(C)]
7161#[derive(Debug, Copy, Clone)]
7162pub struct _zend_module_entry {
7163 pub size: ::std::os::raw::c_ushort,
7164 pub zend_api: ::std::os::raw::c_uint,
7165 pub zend_debug: ::std::os::raw::c_uchar,
7166 pub zts: ::std::os::raw::c_uchar,
7167 pub ini_entry: *const _zend_ini_entry,
7168 pub deps: *const _zend_module_dep,
7169 pub name: *const ::std::os::raw::c_char,
7170 pub functions: *const _zend_function_entry,
7171 pub module_startup_func: ::std::option::Option<
7172 unsafe extern "C" fn(
7173 type_: ::std::os::raw::c_int,
7174 module_number: ::std::os::raw::c_int,
7175 ) -> zend_result,
7176 >,
7177 pub module_shutdown_func: ::std::option::Option<
7178 unsafe extern "C" fn(
7179 type_: ::std::os::raw::c_int,
7180 module_number: ::std::os::raw::c_int,
7181 ) -> zend_result,
7182 >,
7183 pub request_startup_func: ::std::option::Option<
7184 unsafe extern "C" fn(
7185 type_: ::std::os::raw::c_int,
7186 module_number: ::std::os::raw::c_int,
7187 ) -> zend_result,
7188 >,
7189 pub request_shutdown_func: ::std::option::Option<
7190 unsafe extern "C" fn(
7191 type_: ::std::os::raw::c_int,
7192 module_number: ::std::os::raw::c_int,
7193 ) -> zend_result,
7194 >,
7195 pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
7196 pub version: *const ::std::os::raw::c_char,
7197 pub globals_size: usize,
7198 pub globals_ptr: *mut ::std::os::raw::c_void,
7199 pub globals_ctor:
7200 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
7201 pub globals_dtor:
7202 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
7203 pub post_deactivate_func: ::std::option::Option<unsafe extern "C" fn() -> zend_result>,
7204 pub module_started: ::std::os::raw::c_int,
7205 pub type_: ::std::os::raw::c_uchar,
7206 pub handle: *mut ::std::os::raw::c_void,
7207 pub module_number: ::std::os::raw::c_int,
7208 pub build_id: *const ::std::os::raw::c_char,
7209}
7210#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7211const _: () = {
7212 ["Size of _zend_module_entry"][::std::mem::size_of::<_zend_module_entry>() - 168usize];
7213 ["Alignment of _zend_module_entry"][::std::mem::align_of::<_zend_module_entry>() - 8usize];
7214 ["Offset of field: _zend_module_entry::size"]
7215 [::std::mem::offset_of!(_zend_module_entry, size) - 0usize];
7216 ["Offset of field: _zend_module_entry::zend_api"]
7217 [::std::mem::offset_of!(_zend_module_entry, zend_api) - 4usize];
7218 ["Offset of field: _zend_module_entry::zend_debug"]
7219 [::std::mem::offset_of!(_zend_module_entry, zend_debug) - 8usize];
7220 ["Offset of field: _zend_module_entry::zts"]
7221 [::std::mem::offset_of!(_zend_module_entry, zts) - 9usize];
7222 ["Offset of field: _zend_module_entry::ini_entry"]
7223 [::std::mem::offset_of!(_zend_module_entry, ini_entry) - 16usize];
7224 ["Offset of field: _zend_module_entry::deps"]
7225 [::std::mem::offset_of!(_zend_module_entry, deps) - 24usize];
7226 ["Offset of field: _zend_module_entry::name"]
7227 [::std::mem::offset_of!(_zend_module_entry, name) - 32usize];
7228 ["Offset of field: _zend_module_entry::functions"]
7229 [::std::mem::offset_of!(_zend_module_entry, functions) - 40usize];
7230 ["Offset of field: _zend_module_entry::module_startup_func"]
7231 [::std::mem::offset_of!(_zend_module_entry, module_startup_func) - 48usize];
7232 ["Offset of field: _zend_module_entry::module_shutdown_func"]
7233 [::std::mem::offset_of!(_zend_module_entry, module_shutdown_func) - 56usize];
7234 ["Offset of field: _zend_module_entry::request_startup_func"]
7235 [::std::mem::offset_of!(_zend_module_entry, request_startup_func) - 64usize];
7236 ["Offset of field: _zend_module_entry::request_shutdown_func"]
7237 [::std::mem::offset_of!(_zend_module_entry, request_shutdown_func) - 72usize];
7238 ["Offset of field: _zend_module_entry::info_func"]
7239 [::std::mem::offset_of!(_zend_module_entry, info_func) - 80usize];
7240 ["Offset of field: _zend_module_entry::version"]
7241 [::std::mem::offset_of!(_zend_module_entry, version) - 88usize];
7242 ["Offset of field: _zend_module_entry::globals_size"]
7243 [::std::mem::offset_of!(_zend_module_entry, globals_size) - 96usize];
7244 ["Offset of field: _zend_module_entry::globals_ptr"]
7245 [::std::mem::offset_of!(_zend_module_entry, globals_ptr) - 104usize];
7246 ["Offset of field: _zend_module_entry::globals_ctor"]
7247 [::std::mem::offset_of!(_zend_module_entry, globals_ctor) - 112usize];
7248 ["Offset of field: _zend_module_entry::globals_dtor"]
7249 [::std::mem::offset_of!(_zend_module_entry, globals_dtor) - 120usize];
7250 ["Offset of field: _zend_module_entry::post_deactivate_func"]
7251 [::std::mem::offset_of!(_zend_module_entry, post_deactivate_func) - 128usize];
7252 ["Offset of field: _zend_module_entry::module_started"]
7253 [::std::mem::offset_of!(_zend_module_entry, module_started) - 136usize];
7254 ["Offset of field: _zend_module_entry::type_"]
7255 [::std::mem::offset_of!(_zend_module_entry, type_) - 140usize];
7256 ["Offset of field: _zend_module_entry::handle"]
7257 [::std::mem::offset_of!(_zend_module_entry, handle) - 144usize];
7258 ["Offset of field: _zend_module_entry::module_number"]
7259 [::std::mem::offset_of!(_zend_module_entry, module_number) - 152usize];
7260 ["Offset of field: _zend_module_entry::build_id"]
7261 [::std::mem::offset_of!(_zend_module_entry, build_id) - 160usize];
7262};
7263#[repr(C)]
7264#[derive(Debug, Copy, Clone)]
7265pub struct _zend_module_dep {
7266 pub name: *const ::std::os::raw::c_char,
7267 pub rel: *const ::std::os::raw::c_char,
7268 pub version: *const ::std::os::raw::c_char,
7269 pub type_: ::std::os::raw::c_uchar,
7270}
7271#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7272const _: () = {
7273 ["Size of _zend_module_dep"][::std::mem::size_of::<_zend_module_dep>() - 32usize];
7274 ["Alignment of _zend_module_dep"][::std::mem::align_of::<_zend_module_dep>() - 8usize];
7275 ["Offset of field: _zend_module_dep::name"]
7276 [::std::mem::offset_of!(_zend_module_dep, name) - 0usize];
7277 ["Offset of field: _zend_module_dep::rel"]
7278 [::std::mem::offset_of!(_zend_module_dep, rel) - 8usize];
7279 ["Offset of field: _zend_module_dep::version"]
7280 [::std::mem::offset_of!(_zend_module_dep, version) - 16usize];
7281 ["Offset of field: _zend_module_dep::type_"]
7282 [::std::mem::offset_of!(_zend_module_dep, type_) - 24usize];
7283};
7284extern "C" {
7285 pub static mut module_registry: HashTable;
7286}
7287pub type rsrc_dtor_func_t = ::std::option::Option<unsafe extern "C" fn(res: *mut zend_resource)>;
7288#[repr(C)]
7289#[derive(Debug, Copy, Clone)]
7290pub struct _zend_rsrc_list_dtors_entry {
7291 pub list_dtor_ex: rsrc_dtor_func_t,
7292 pub plist_dtor_ex: rsrc_dtor_func_t,
7293 pub type_name: *const ::std::os::raw::c_char,
7294 pub module_number: ::std::os::raw::c_int,
7295 pub resource_id: ::std::os::raw::c_int,
7296}
7297#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7298const _: () = {
7299 ["Size of _zend_rsrc_list_dtors_entry"]
7300 [::std::mem::size_of::<_zend_rsrc_list_dtors_entry>() - 32usize];
7301 ["Alignment of _zend_rsrc_list_dtors_entry"]
7302 [::std::mem::align_of::<_zend_rsrc_list_dtors_entry>() - 8usize];
7303 ["Offset of field: _zend_rsrc_list_dtors_entry::list_dtor_ex"]
7304 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, list_dtor_ex) - 0usize];
7305 ["Offset of field: _zend_rsrc_list_dtors_entry::plist_dtor_ex"]
7306 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, plist_dtor_ex) - 8usize];
7307 ["Offset of field: _zend_rsrc_list_dtors_entry::type_name"]
7308 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, type_name) - 16usize];
7309 ["Offset of field: _zend_rsrc_list_dtors_entry::module_number"]
7310 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, module_number) - 24usize];
7311 ["Offset of field: _zend_rsrc_list_dtors_entry::resource_id"]
7312 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, resource_id) - 28usize];
7313};
7314pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
7315extern "C" {
7316 pub fn zend_register_list_destructors_ex(
7317 ld: rsrc_dtor_func_t,
7318 pld: rsrc_dtor_func_t,
7319 type_name: *const ::std::os::raw::c_char,
7320 module_number: ::std::os::raw::c_int,
7321 ) -> ::std::os::raw::c_int;
7322}
7323extern "C" {
7324 pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
7325}
7326extern "C" {
7327 pub fn zend_init_rsrc_list();
7328}
7329extern "C" {
7330 pub fn zend_init_rsrc_plist();
7331}
7332extern "C" {
7333 pub fn zend_close_rsrc_list(ht: *mut HashTable);
7334}
7335extern "C" {
7336 pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
7337}
7338extern "C" {
7339 pub fn zend_init_rsrc_list_dtors();
7340}
7341extern "C" {
7342 pub fn zend_destroy_rsrc_list_dtors();
7343}
7344extern "C" {
7345 pub fn zend_list_insert(
7346 ptr: *mut ::std::os::raw::c_void,
7347 type_: ::std::os::raw::c_int,
7348 ) -> *mut zval;
7349}
7350extern "C" {
7351 pub fn zend_list_free(res: *mut zend_resource);
7352}
7353extern "C" {
7354 pub fn zend_list_delete(res: *mut zend_resource) -> ::std::os::raw::c_int;
7355}
7356extern "C" {
7357 pub fn zend_list_close(res: *mut zend_resource);
7358}
7359extern "C" {
7360 pub fn zend_register_resource(
7361 rsrc_pointer: *mut ::std::os::raw::c_void,
7362 rsrc_type: ::std::os::raw::c_int,
7363 ) -> *mut zend_resource;
7364}
7365extern "C" {
7366 pub fn zend_fetch_resource(
7367 res: *mut zend_resource,
7368 resource_type_name: *const ::std::os::raw::c_char,
7369 resource_type: ::std::os::raw::c_int,
7370 ) -> *mut ::std::os::raw::c_void;
7371}
7372extern "C" {
7373 pub fn zend_fetch_resource2(
7374 res: *mut zend_resource,
7375 resource_type_name: *const ::std::os::raw::c_char,
7376 resource_type: ::std::os::raw::c_int,
7377 resource_type2: ::std::os::raw::c_int,
7378 ) -> *mut ::std::os::raw::c_void;
7379}
7380extern "C" {
7381 pub fn zend_fetch_resource_ex(
7382 res: *mut zval,
7383 resource_type_name: *const ::std::os::raw::c_char,
7384 resource_type: ::std::os::raw::c_int,
7385 ) -> *mut ::std::os::raw::c_void;
7386}
7387extern "C" {
7388 pub fn zend_fetch_resource2_ex(
7389 res: *mut zval,
7390 resource_type_name: *const ::std::os::raw::c_char,
7391 resource_type: ::std::os::raw::c_int,
7392 resource_type2: ::std::os::raw::c_int,
7393 ) -> *mut ::std::os::raw::c_void;
7394}
7395extern "C" {
7396 pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
7397}
7398extern "C" {
7399 pub fn zend_fetch_list_dtor_id(
7400 type_name: *const ::std::os::raw::c_char,
7401 ) -> ::std::os::raw::c_int;
7402}
7403extern "C" {
7404 pub fn zend_register_persistent_resource(
7405 key: *const ::std::os::raw::c_char,
7406 key_len: usize,
7407 rsrc_pointer: *mut ::std::os::raw::c_void,
7408 rsrc_type: ::std::os::raw::c_int,
7409 ) -> *mut zend_resource;
7410}
7411extern "C" {
7412 pub fn zend_register_persistent_resource_ex(
7413 key: *mut zend_string,
7414 rsrc_pointer: *mut ::std::os::raw::c_void,
7415 rsrc_type: ::std::os::raw::c_int,
7416 ) -> *mut zend_resource;
7417}
7418extern "C" {
7419 pub static mut zend_execute_ex:
7420 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
7421}
7422extern "C" {
7423 pub static mut zend_execute_internal: ::std::option::Option<
7424 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
7425 >;
7426}
7427extern "C" {
7428 pub static mut zend_autoload: ::std::option::Option<
7429 unsafe extern "C" fn(
7430 name: *mut zend_string,
7431 lc_name: *mut zend_string,
7432 ) -> *mut zend_class_entry,
7433 >;
7434}
7435extern "C" {
7436 pub fn zend_shutdown_executor_values(fast_shutdown: bool);
7437}
7438extern "C" {
7439 pub fn zend_init_execute_data(
7440 execute_data: *mut zend_execute_data,
7441 op_array: *mut zend_op_array,
7442 return_value: *mut zval,
7443 );
7444}
7445extern "C" {
7446 pub fn zend_init_func_execute_data(
7447 execute_data: *mut zend_execute_data,
7448 op_array: *mut zend_op_array,
7449 return_value: *mut zval,
7450 );
7451}
7452extern "C" {
7453 pub fn zend_init_code_execute_data(
7454 execute_data: *mut zend_execute_data,
7455 op_array: *mut zend_op_array,
7456 return_value: *mut zval,
7457 );
7458}
7459extern "C" {
7460 pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
7461}
7462extern "C" {
7463 pub fn zend_is_valid_class_name(name: *mut zend_string) -> bool;
7464}
7465extern "C" {
7466 pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
7467}
7468extern "C" {
7469 pub fn zend_lookup_class_ex(
7470 name: *mut zend_string,
7471 lcname: *mut zend_string,
7472 flags: u32,
7473 ) -> *mut zend_class_entry;
7474}
7475extern "C" {
7476 pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
7477}
7478extern "C" {
7479 pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
7480}
7481extern "C" {
7482 pub fn zend_eval_string(
7483 str_: *const ::std::os::raw::c_char,
7484 retval_ptr: *mut zval,
7485 string_name: *const ::std::os::raw::c_char,
7486 ) -> zend_result;
7487}
7488extern "C" {
7489 pub fn zend_eval_stringl(
7490 str_: *const ::std::os::raw::c_char,
7491 str_len: usize,
7492 retval_ptr: *mut zval,
7493 string_name: *const ::std::os::raw::c_char,
7494 ) -> zend_result;
7495}
7496extern "C" {
7497 pub fn zend_eval_string_ex(
7498 str_: *const ::std::os::raw::c_char,
7499 retval_ptr: *mut zval,
7500 string_name: *const ::std::os::raw::c_char,
7501 handle_exceptions: bool,
7502 ) -> zend_result;
7503}
7504extern "C" {
7505 pub fn zend_eval_stringl_ex(
7506 str_: *const ::std::os::raw::c_char,
7507 str_len: usize,
7508 retval_ptr: *mut zval,
7509 string_name: *const ::std::os::raw::c_char,
7510 handle_exceptions: bool,
7511 ) -> zend_result;
7512}
7513extern "C" {
7514 pub static zend_pass_function: zend_internal_function;
7515}
7516extern "C" {
7517 pub fn zend_missing_arg_error(execute_data: *mut zend_execute_data);
7518}
7519extern "C" {
7520 pub fn zend_deprecated_function(fbc: *const zend_function);
7521}
7522extern "C" {
7523 pub fn zend_false_to_array_deprecated();
7524}
7525extern "C" {
7526 pub fn zend_param_must_be_ref(func: *const zend_function, arg_num: u32);
7527}
7528extern "C" {
7529 pub fn zend_use_resource_as_offset(dim: *const zval);
7530}
7531extern "C" {
7532 pub fn zend_verify_ref_assignable_zval(
7533 ref_: *mut zend_reference,
7534 zv: *mut zval,
7535 strict: bool,
7536 ) -> bool;
7537}
7538extern "C" {
7539 pub fn zend_verify_prop_assignable_by_ref(
7540 prop_info: *mut zend_property_info,
7541 orig_val: *mut zval,
7542 strict: bool,
7543 ) -> bool;
7544}
7545extern "C" {
7546 pub fn zend_throw_ref_type_error_zval(prop: *mut zend_property_info, zv: *mut zval);
7547}
7548extern "C" {
7549 pub fn zend_throw_ref_type_error_type(
7550 prop1: *mut zend_property_info,
7551 prop2: *mut zend_property_info,
7552 zv: *mut zval,
7553 );
7554}
7555extern "C" {
7556 pub fn zend_undefined_offset_write(ht: *mut HashTable, lval: zend_long) -> *mut zval;
7557}
7558extern "C" {
7559 pub fn zend_undefined_index_write(ht: *mut HashTable, offset: *mut zend_string) -> *mut zval;
7560}
7561extern "C" {
7562 pub fn zend_wrong_string_offset_error();
7563}
7564extern "C" {
7565 pub fn zend_readonly_property_modification_error(info: *mut zend_property_info);
7566}
7567extern "C" {
7568 pub fn zend_readonly_property_indirect_modification_error(info: *mut zend_property_info);
7569}
7570extern "C" {
7571 pub fn zend_cannot_add_element();
7572}
7573extern "C" {
7574 pub fn zend_verify_scalar_type_hint(
7575 type_mask: u32,
7576 arg: *mut zval,
7577 strict: bool,
7578 is_internal_arg: bool,
7579 ) -> bool;
7580}
7581extern "C" {
7582 pub fn zend_verify_arg_error(
7583 zf: *const zend_function,
7584 arg_info: *const zend_arg_info,
7585 arg_num: u32,
7586 value: *mut zval,
7587 );
7588}
7589extern "C" {
7590 pub fn zend_verify_return_error(zf: *const zend_function, value: *mut zval);
7591}
7592extern "C" {
7593 pub fn zend_verify_never_error(zf: *const zend_function);
7594}
7595extern "C" {
7596 pub fn zend_verify_ref_array_assignable(ref_: *mut zend_reference) -> bool;
7597}
7598extern "C" {
7599 pub fn zend_check_user_type_slow(
7600 type_: *mut zend_type,
7601 arg: *mut zval,
7602 ref_: *mut zend_reference,
7603 cache_slot: *mut *mut ::std::os::raw::c_void,
7604 is_return_type: bool,
7605 ) -> bool;
7606}
7607extern "C" {
7608 pub fn zend_ref_add_type_source(
7609 source_list: *mut zend_property_info_source_list,
7610 prop: *mut zend_property_info,
7611 );
7612}
7613extern "C" {
7614 pub fn zend_ref_del_type_source(
7615 source_list: *mut zend_property_info_source_list,
7616 prop: *mut zend_property_info,
7617 );
7618}
7619extern "C" {
7620 pub fn zend_assign_to_typed_ref(
7621 variable_ptr: *mut zval,
7622 value: *mut zval,
7623 value_type: zend_uchar,
7624 strict: bool,
7625 ) -> *mut zval;
7626}
7627#[repr(C)]
7628#[derive(Debug, Copy, Clone)]
7629pub struct _zend_vm_stack {
7630 pub top: *mut zval,
7631 pub end: *mut zval,
7632 pub prev: zend_vm_stack,
7633}
7634#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7635const _: () = {
7636 ["Size of _zend_vm_stack"][::std::mem::size_of::<_zend_vm_stack>() - 24usize];
7637 ["Alignment of _zend_vm_stack"][::std::mem::align_of::<_zend_vm_stack>() - 8usize];
7638 ["Offset of field: _zend_vm_stack::top"][::std::mem::offset_of!(_zend_vm_stack, top) - 0usize];
7639 ["Offset of field: _zend_vm_stack::end"][::std::mem::offset_of!(_zend_vm_stack, end) - 8usize];
7640 ["Offset of field: _zend_vm_stack::prev"]
7641 [::std::mem::offset_of!(_zend_vm_stack, prev) - 16usize];
7642};
7643extern "C" {
7644 pub fn zend_vm_stack_init();
7645}
7646extern "C" {
7647 pub fn zend_vm_stack_init_ex(page_size: usize);
7648}
7649extern "C" {
7650 pub fn zend_vm_stack_destroy();
7651}
7652extern "C" {
7653 pub fn zend_vm_stack_extend(size: usize) -> *mut ::std::os::raw::c_void;
7654}
7655extern "C" {
7656 pub fn zend_vm_stack_copy_call_frame(
7657 call: *mut zend_execute_data,
7658 passed_args: u32,
7659 additional_args: u32,
7660 ) -> *mut zend_execute_data;
7661}
7662extern "C" {
7663 pub fn zend_free_extra_named_params(extra_named_params: *mut zend_array);
7664}
7665extern "C" {
7666 pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
7667}
7668extern "C" {
7669 pub fn zend_get_executed_filename_ex() -> *mut zend_string;
7670}
7671extern "C" {
7672 pub fn zend_get_executed_lineno() -> u32;
7673}
7674extern "C" {
7675 pub fn zend_get_executed_scope() -> *mut zend_class_entry;
7676}
7677extern "C" {
7678 pub fn zend_is_executing() -> bool;
7679}
7680extern "C" {
7681 pub fn zend_cannot_pass_by_reference(arg_num: u32);
7682}
7683extern "C" {
7684 pub fn zend_set_timeout(seconds: zend_long, reset_signals: bool);
7685}
7686extern "C" {
7687 pub fn zend_unset_timeout();
7688}
7689extern "C" {
7690 pub fn zend_timeout() -> !;
7691}
7692extern "C" {
7693 pub fn zend_fetch_class(
7694 class_name: *mut zend_string,
7695 fetch_type: ::std::os::raw::c_int,
7696 ) -> *mut zend_class_entry;
7697}
7698extern "C" {
7699 pub fn zend_fetch_class_with_scope(
7700 class_name: *mut zend_string,
7701 fetch_type: ::std::os::raw::c_int,
7702 scope: *mut zend_class_entry,
7703 ) -> *mut zend_class_entry;
7704}
7705extern "C" {
7706 pub fn zend_fetch_class_by_name(
7707 class_name: *mut zend_string,
7708 lcname: *mut zend_string,
7709 fetch_type: ::std::os::raw::c_int,
7710 ) -> *mut zend_class_entry;
7711}
7712extern "C" {
7713 pub fn zend_fetch_function(name: *mut zend_string) -> *mut zend_function;
7714}
7715extern "C" {
7716 pub fn zend_fetch_function_str(
7717 name: *const ::std::os::raw::c_char,
7718 len: usize,
7719 ) -> *mut zend_function;
7720}
7721extern "C" {
7722 pub fn zend_init_func_run_time_cache(op_array: *mut zend_op_array);
7723}
7724extern "C" {
7725 pub fn zend_fetch_dimension_const(
7726 result: *mut zval,
7727 container: *mut zval,
7728 dim: *mut zval,
7729 type_: ::std::os::raw::c_int,
7730 );
7731}
7732extern "C" {
7733 pub fn zend_get_compiled_variable_value(
7734 execute_data_ptr: *const zend_execute_data,
7735 var: u32,
7736 ) -> *mut zval;
7737}
7738extern "C" {
7739 pub fn zend_set_user_opcode_handler(
7740 opcode: zend_uchar,
7741 handler: user_opcode_handler_t,
7742 ) -> ::std::os::raw::c_int;
7743}
7744extern "C" {
7745 pub fn zend_get_user_opcode_handler(opcode: zend_uchar) -> user_opcode_handler_t;
7746}
7747extern "C" {
7748 pub fn zend_get_zval_ptr(
7749 opline: *const zend_op,
7750 op_type: ::std::os::raw::c_int,
7751 node: *const znode_op,
7752 execute_data: *const zend_execute_data,
7753 ) -> *mut zval;
7754}
7755extern "C" {
7756 pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
7757}
7758extern "C" {
7759 pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
7760}
7761extern "C" {
7762 pub fn zend_unfinished_calls_gc(
7763 execute_data: *mut zend_execute_data,
7764 call: *mut zend_execute_data,
7765 op_num: u32,
7766 buf: *mut zend_get_gc_buffer,
7767 );
7768}
7769extern "C" {
7770 pub fn zend_cleanup_unfinished_execution(
7771 execute_data: *mut zend_execute_data,
7772 op_num: u32,
7773 catch_op_num: u32,
7774 );
7775}
7776extern "C" {
7777 pub fn zend_unfinished_execution_gc(
7778 execute_data: *mut zend_execute_data,
7779 call: *mut zend_execute_data,
7780 gc_buffer: *mut zend_get_gc_buffer,
7781 ) -> *mut HashTable;
7782}
7783extern "C" {
7784 pub fn zend_unfinished_execution_gc_ex(
7785 execute_data: *mut zend_execute_data,
7786 call: *mut zend_execute_data,
7787 gc_buffer: *mut zend_get_gc_buffer,
7788 suspended_by_yield: bool,
7789 ) -> *mut HashTable;
7790}
7791extern "C" {
7792 pub fn zend_handle_named_arg(
7793 call_ptr: *mut *mut zend_execute_data,
7794 arg_name: *mut zend_string,
7795 arg_num_ptr: *mut u32,
7796 cache_slot: *mut *mut ::std::os::raw::c_void,
7797 ) -> *mut zval;
7798}
7799extern "C" {
7800 pub fn zend_handle_undef_args(call: *mut zend_execute_data) -> ::std::os::raw::c_int;
7801}
7802extern "C" {
7803 pub fn zend_verify_property_type(
7804 info: *mut zend_property_info,
7805 property: *mut zval,
7806 strict: bool,
7807 ) -> bool;
7808}
7809extern "C" {
7810 pub fn zend_verify_property_type_error(info: *mut zend_property_info, property: *mut zval);
7811}
7812extern "C" {
7813 pub fn zend_match_unhandled_error(value: *mut zval);
7814}
7815#[repr(C)]
7816#[derive(Debug, Copy, Clone)]
7817pub struct _zend_function_entry {
7818 pub fname: *const ::std::os::raw::c_char,
7819 pub handler: zif_handler,
7820 pub arg_info: *const _zend_internal_arg_info,
7821 pub num_args: u32,
7822 pub flags: u32,
7823}
7824#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7825const _: () = {
7826 ["Size of _zend_function_entry"][::std::mem::size_of::<_zend_function_entry>() - 32usize];
7827 ["Alignment of _zend_function_entry"][::std::mem::align_of::<_zend_function_entry>() - 8usize];
7828 ["Offset of field: _zend_function_entry::fname"]
7829 [::std::mem::offset_of!(_zend_function_entry, fname) - 0usize];
7830 ["Offset of field: _zend_function_entry::handler"]
7831 [::std::mem::offset_of!(_zend_function_entry, handler) - 8usize];
7832 ["Offset of field: _zend_function_entry::arg_info"]
7833 [::std::mem::offset_of!(_zend_function_entry, arg_info) - 16usize];
7834 ["Offset of field: _zend_function_entry::num_args"]
7835 [::std::mem::offset_of!(_zend_function_entry, num_args) - 24usize];
7836 ["Offset of field: _zend_function_entry::flags"]
7837 [::std::mem::offset_of!(_zend_function_entry, flags) - 28usize];
7838};
7839pub type zend_function_entry = _zend_function_entry;
7840#[repr(C)]
7841#[derive(Copy, Clone)]
7842pub struct _zend_fcall_info {
7843 pub size: usize,
7844 pub function_name: zval,
7845 pub retval: *mut zval,
7846 pub params: *mut zval,
7847 pub object: *mut zend_object,
7848 pub param_count: u32,
7849 pub named_params: *mut HashTable,
7850}
7851#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7852const _: () = {
7853 ["Size of _zend_fcall_info"][::std::mem::size_of::<_zend_fcall_info>() - 64usize];
7854 ["Alignment of _zend_fcall_info"][::std::mem::align_of::<_zend_fcall_info>() - 8usize];
7855 ["Offset of field: _zend_fcall_info::size"]
7856 [::std::mem::offset_of!(_zend_fcall_info, size) - 0usize];
7857 ["Offset of field: _zend_fcall_info::function_name"]
7858 [::std::mem::offset_of!(_zend_fcall_info, function_name) - 8usize];
7859 ["Offset of field: _zend_fcall_info::retval"]
7860 [::std::mem::offset_of!(_zend_fcall_info, retval) - 24usize];
7861 ["Offset of field: _zend_fcall_info::params"]
7862 [::std::mem::offset_of!(_zend_fcall_info, params) - 32usize];
7863 ["Offset of field: _zend_fcall_info::object"]
7864 [::std::mem::offset_of!(_zend_fcall_info, object) - 40usize];
7865 ["Offset of field: _zend_fcall_info::param_count"]
7866 [::std::mem::offset_of!(_zend_fcall_info, param_count) - 48usize];
7867 ["Offset of field: _zend_fcall_info::named_params"]
7868 [::std::mem::offset_of!(_zend_fcall_info, named_params) - 56usize];
7869};
7870pub type zend_fcall_info = _zend_fcall_info;
7871#[repr(C)]
7872#[derive(Debug, Copy, Clone)]
7873pub struct _zend_fcall_info_cache {
7874 pub function_handler: *mut zend_function,
7875 pub calling_scope: *mut zend_class_entry,
7876 pub called_scope: *mut zend_class_entry,
7877 pub object: *mut zend_object,
7878}
7879#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7880const _: () = {
7881 ["Size of _zend_fcall_info_cache"][::std::mem::size_of::<_zend_fcall_info_cache>() - 32usize];
7882 ["Alignment of _zend_fcall_info_cache"]
7883 [::std::mem::align_of::<_zend_fcall_info_cache>() - 8usize];
7884 ["Offset of field: _zend_fcall_info_cache::function_handler"]
7885 [::std::mem::offset_of!(_zend_fcall_info_cache, function_handler) - 0usize];
7886 ["Offset of field: _zend_fcall_info_cache::calling_scope"]
7887 [::std::mem::offset_of!(_zend_fcall_info_cache, calling_scope) - 8usize];
7888 ["Offset of field: _zend_fcall_info_cache::called_scope"]
7889 [::std::mem::offset_of!(_zend_fcall_info_cache, called_scope) - 16usize];
7890 ["Offset of field: _zend_fcall_info_cache::object"]
7891 [::std::mem::offset_of!(_zend_fcall_info_cache, object) - 24usize];
7892};
7893pub type zend_fcall_info_cache = _zend_fcall_info_cache;
7894extern "C" {
7895 pub fn zend_next_free_module() -> ::std::os::raw::c_int;
7896}
7897extern "C" {
7898 pub fn _zend_get_parameters_array_ex(
7899 param_count: u32,
7900 argument_array: *mut zval,
7901 ) -> zend_result;
7902}
7903extern "C" {
7904 pub fn zend_copy_parameters_array(param_count: u32, argument_array: *mut zval) -> zend_result;
7905}
7906extern "C" {
7907 pub fn zend_parse_parameters(
7908 num_args: u32,
7909 type_spec: *const ::std::os::raw::c_char,
7910 ...
7911 ) -> zend_result;
7912}
7913extern "C" {
7914 pub fn zend_parse_parameters_ex(
7915 flags: ::std::os::raw::c_int,
7916 num_args: u32,
7917 type_spec: *const ::std::os::raw::c_char,
7918 ...
7919 ) -> zend_result;
7920}
7921extern "C" {
7922 pub fn zend_zval_type_name(arg: *const zval) -> *const ::std::os::raw::c_char;
7923}
7924extern "C" {
7925 pub fn zend_zval_get_legacy_type(arg: *const zval) -> *mut zend_string;
7926}
7927extern "C" {
7928 pub fn zend_parse_method_parameters(
7929 num_args: u32,
7930 this_ptr: *mut zval,
7931 type_spec: *const ::std::os::raw::c_char,
7932 ...
7933 ) -> zend_result;
7934}
7935extern "C" {
7936 pub fn zend_parse_method_parameters_ex(
7937 flags: ::std::os::raw::c_int,
7938 num_args: u32,
7939 this_ptr: *mut zval,
7940 type_spec: *const ::std::os::raw::c_char,
7941 ...
7942 ) -> zend_result;
7943}
7944extern "C" {
7945 pub fn zend_parse_parameter(
7946 flags: ::std::os::raw::c_int,
7947 arg_num: u32,
7948 arg: *mut zval,
7949 spec: *const ::std::os::raw::c_char,
7950 ...
7951 ) -> zend_result;
7952}
7953extern "C" {
7954 pub fn zend_register_functions(
7955 scope: *mut zend_class_entry,
7956 functions: *const zend_function_entry,
7957 function_table: *mut HashTable,
7958 type_: ::std::os::raw::c_int,
7959 ) -> zend_result;
7960}
7961extern "C" {
7962 pub fn zend_unregister_functions(
7963 functions: *const zend_function_entry,
7964 count: ::std::os::raw::c_int,
7965 function_table: *mut HashTable,
7966 );
7967}
7968extern "C" {
7969 pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> zend_result;
7970}
7971extern "C" {
7972 pub fn zend_register_internal_module(
7973 module_entry: *mut zend_module_entry,
7974 ) -> *mut zend_module_entry;
7975}
7976extern "C" {
7977 pub fn zend_register_module_ex(module: *mut zend_module_entry) -> *mut zend_module_entry;
7978}
7979extern "C" {
7980 pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> zend_result;
7981}
7982extern "C" {
7983 pub fn zend_startup_modules();
7984}
7985extern "C" {
7986 pub fn zend_collect_module_handlers();
7987}
7988extern "C" {
7989 pub fn zend_destroy_modules();
7990}
7991extern "C" {
7992 pub fn zend_check_magic_method_implementation(
7993 ce: *const zend_class_entry,
7994 fptr: *const zend_function,
7995 lcname: *mut zend_string,
7996 error_type: ::std::os::raw::c_int,
7997 );
7998}
7999extern "C" {
8000 pub fn zend_add_magic_method(
8001 ce: *mut zend_class_entry,
8002 fptr: *mut zend_function,
8003 lcname: *mut zend_string,
8004 );
8005}
8006extern "C" {
8007 pub fn zend_register_internal_class(
8008 class_entry: *mut zend_class_entry,
8009 ) -> *mut zend_class_entry;
8010}
8011extern "C" {
8012 pub fn zend_register_internal_class_ex(
8013 class_entry: *mut zend_class_entry,
8014 parent_ce: *mut zend_class_entry,
8015 ) -> *mut zend_class_entry;
8016}
8017extern "C" {
8018 pub fn zend_register_internal_interface(
8019 orig_class_entry: *mut zend_class_entry,
8020 ) -> *mut zend_class_entry;
8021}
8022extern "C" {
8023 pub fn zend_class_implements(
8024 class_entry: *mut zend_class_entry,
8025 num_interfaces: ::std::os::raw::c_int,
8026 ...
8027 );
8028}
8029extern "C" {
8030 pub fn zend_register_class_alias_ex(
8031 name: *const ::std::os::raw::c_char,
8032 name_len: usize,
8033 ce: *mut zend_class_entry,
8034 persistent: bool,
8035 ) -> zend_result;
8036}
8037extern "C" {
8038 pub fn zend_disable_functions(function_list: *const ::std::os::raw::c_char);
8039}
8040extern "C" {
8041 pub fn zend_disable_class(
8042 class_name: *const ::std::os::raw::c_char,
8043 class_name_length: usize,
8044 ) -> zend_result;
8045}
8046extern "C" {
8047 pub fn zend_wrong_param_count();
8048}
8049extern "C" {
8050 pub fn zend_release_fcall_info_cache(fcc: *mut zend_fcall_info_cache);
8051}
8052extern "C" {
8053 pub fn zend_get_callable_name_ex(
8054 callable: *mut zval,
8055 object: *mut zend_object,
8056 ) -> *mut zend_string;
8057}
8058extern "C" {
8059 pub fn zend_get_callable_name(callable: *mut zval) -> *mut zend_string;
8060}
8061extern "C" {
8062 pub fn zend_is_callable_at_frame(
8063 callable: *mut zval,
8064 object: *mut zend_object,
8065 frame: *mut zend_execute_data,
8066 check_flags: u32,
8067 fcc: *mut zend_fcall_info_cache,
8068 error: *mut *mut ::std::os::raw::c_char,
8069 ) -> bool;
8070}
8071extern "C" {
8072 pub fn zend_is_callable_ex(
8073 callable: *mut zval,
8074 object: *mut zend_object,
8075 check_flags: u32,
8076 callable_name: *mut *mut zend_string,
8077 fcc: *mut zend_fcall_info_cache,
8078 error: *mut *mut ::std::os::raw::c_char,
8079 ) -> bool;
8080}
8081extern "C" {
8082 pub fn zend_is_callable(
8083 callable: *mut zval,
8084 check_flags: u32,
8085 callable_name: *mut *mut zend_string,
8086 ) -> bool;
8087}
8088extern "C" {
8089 pub fn zend_make_callable(callable: *mut zval, callable_name: *mut *mut zend_string) -> bool;
8090}
8091extern "C" {
8092 pub fn zend_get_module_version(
8093 module_name: *const ::std::os::raw::c_char,
8094 ) -> *const ::std::os::raw::c_char;
8095}
8096extern "C" {
8097 pub fn zend_get_module_started(
8098 module_name: *const ::std::os::raw::c_char,
8099 ) -> ::std::os::raw::c_int;
8100}
8101extern "C" {
8102 pub fn zend_declare_typed_property(
8103 ce: *mut zend_class_entry,
8104 name: *mut zend_string,
8105 property: *mut zval,
8106 access_type: ::std::os::raw::c_int,
8107 doc_comment: *mut zend_string,
8108 type_: zend_type,
8109 ) -> *mut zend_property_info;
8110}
8111extern "C" {
8112 pub fn zend_declare_property_ex(
8113 ce: *mut zend_class_entry,
8114 name: *mut zend_string,
8115 property: *mut zval,
8116 access_type: ::std::os::raw::c_int,
8117 doc_comment: *mut zend_string,
8118 );
8119}
8120extern "C" {
8121 pub fn zend_declare_property(
8122 ce: *mut zend_class_entry,
8123 name: *const ::std::os::raw::c_char,
8124 name_length: usize,
8125 property: *mut zval,
8126 access_type: ::std::os::raw::c_int,
8127 );
8128}
8129extern "C" {
8130 pub fn zend_declare_property_null(
8131 ce: *mut zend_class_entry,
8132 name: *const ::std::os::raw::c_char,
8133 name_length: usize,
8134 access_type: ::std::os::raw::c_int,
8135 );
8136}
8137extern "C" {
8138 pub fn zend_declare_property_bool(
8139 ce: *mut zend_class_entry,
8140 name: *const ::std::os::raw::c_char,
8141 name_length: usize,
8142 value: zend_long,
8143 access_type: ::std::os::raw::c_int,
8144 );
8145}
8146extern "C" {
8147 pub fn zend_declare_property_long(
8148 ce: *mut zend_class_entry,
8149 name: *const ::std::os::raw::c_char,
8150 name_length: usize,
8151 value: zend_long,
8152 access_type: ::std::os::raw::c_int,
8153 );
8154}
8155extern "C" {
8156 pub fn zend_declare_property_double(
8157 ce: *mut zend_class_entry,
8158 name: *const ::std::os::raw::c_char,
8159 name_length: usize,
8160 value: f64,
8161 access_type: ::std::os::raw::c_int,
8162 );
8163}
8164extern "C" {
8165 pub fn zend_declare_property_string(
8166 ce: *mut zend_class_entry,
8167 name: *const ::std::os::raw::c_char,
8168 name_length: usize,
8169 value: *const ::std::os::raw::c_char,
8170 access_type: ::std::os::raw::c_int,
8171 );
8172}
8173extern "C" {
8174 pub fn zend_declare_property_stringl(
8175 ce: *mut zend_class_entry,
8176 name: *const ::std::os::raw::c_char,
8177 name_length: usize,
8178 value: *const ::std::os::raw::c_char,
8179 value_len: usize,
8180 access_type: ::std::os::raw::c_int,
8181 );
8182}
8183extern "C" {
8184 pub fn zend_declare_class_constant_ex(
8185 ce: *mut zend_class_entry,
8186 name: *mut zend_string,
8187 value: *mut zval,
8188 access_type: ::std::os::raw::c_int,
8189 doc_comment: *mut zend_string,
8190 ) -> *mut zend_class_constant;
8191}
8192extern "C" {
8193 pub fn zend_declare_class_constant(
8194 ce: *mut zend_class_entry,
8195 name: *const ::std::os::raw::c_char,
8196 name_length: usize,
8197 value: *mut zval,
8198 );
8199}
8200extern "C" {
8201 pub fn zend_declare_class_constant_null(
8202 ce: *mut zend_class_entry,
8203 name: *const ::std::os::raw::c_char,
8204 name_length: usize,
8205 );
8206}
8207extern "C" {
8208 pub fn zend_declare_class_constant_long(
8209 ce: *mut zend_class_entry,
8210 name: *const ::std::os::raw::c_char,
8211 name_length: usize,
8212 value: zend_long,
8213 );
8214}
8215extern "C" {
8216 pub fn zend_declare_class_constant_bool(
8217 ce: *mut zend_class_entry,
8218 name: *const ::std::os::raw::c_char,
8219 name_length: usize,
8220 value: bool,
8221 );
8222}
8223extern "C" {
8224 pub fn zend_declare_class_constant_double(
8225 ce: *mut zend_class_entry,
8226 name: *const ::std::os::raw::c_char,
8227 name_length: usize,
8228 value: f64,
8229 );
8230}
8231extern "C" {
8232 pub fn zend_declare_class_constant_stringl(
8233 ce: *mut zend_class_entry,
8234 name: *const ::std::os::raw::c_char,
8235 name_length: usize,
8236 value: *const ::std::os::raw::c_char,
8237 value_length: usize,
8238 );
8239}
8240extern "C" {
8241 pub fn zend_declare_class_constant_string(
8242 ce: *mut zend_class_entry,
8243 name: *const ::std::os::raw::c_char,
8244 name_length: usize,
8245 value: *const ::std::os::raw::c_char,
8246 );
8247}
8248extern "C" {
8249 pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> zend_result;
8250}
8251extern "C" {
8252 pub fn zend_separate_class_constants_table(class_type: *mut zend_class_entry)
8253 -> *mut HashTable;
8254}
8255extern "C" {
8256 pub fn zend_update_property_ex(
8257 scope: *mut zend_class_entry,
8258 object: *mut zend_object,
8259 name: *mut zend_string,
8260 value: *mut zval,
8261 );
8262}
8263extern "C" {
8264 pub fn zend_update_property(
8265 scope: *mut zend_class_entry,
8266 object: *mut zend_object,
8267 name: *const ::std::os::raw::c_char,
8268 name_length: usize,
8269 value: *mut zval,
8270 );
8271}
8272extern "C" {
8273 pub fn zend_update_property_null(
8274 scope: *mut zend_class_entry,
8275 object: *mut zend_object,
8276 name: *const ::std::os::raw::c_char,
8277 name_length: usize,
8278 );
8279}
8280extern "C" {
8281 pub fn zend_update_property_bool(
8282 scope: *mut zend_class_entry,
8283 object: *mut zend_object,
8284 name: *const ::std::os::raw::c_char,
8285 name_length: usize,
8286 value: zend_long,
8287 );
8288}
8289extern "C" {
8290 pub fn zend_update_property_long(
8291 scope: *mut zend_class_entry,
8292 object: *mut zend_object,
8293 name: *const ::std::os::raw::c_char,
8294 name_length: usize,
8295 value: zend_long,
8296 );
8297}
8298extern "C" {
8299 pub fn zend_update_property_double(
8300 scope: *mut zend_class_entry,
8301 object: *mut zend_object,
8302 name: *const ::std::os::raw::c_char,
8303 name_length: usize,
8304 value: f64,
8305 );
8306}
8307extern "C" {
8308 pub fn zend_update_property_str(
8309 scope: *mut zend_class_entry,
8310 object: *mut zend_object,
8311 name: *const ::std::os::raw::c_char,
8312 name_length: usize,
8313 value: *mut zend_string,
8314 );
8315}
8316extern "C" {
8317 pub fn zend_update_property_string(
8318 scope: *mut zend_class_entry,
8319 object: *mut zend_object,
8320 name: *const ::std::os::raw::c_char,
8321 name_length: usize,
8322 value: *const ::std::os::raw::c_char,
8323 );
8324}
8325extern "C" {
8326 pub fn zend_update_property_stringl(
8327 scope: *mut zend_class_entry,
8328 object: *mut zend_object,
8329 name: *const ::std::os::raw::c_char,
8330 name_length: usize,
8331 value: *const ::std::os::raw::c_char,
8332 value_length: usize,
8333 );
8334}
8335extern "C" {
8336 pub fn zend_unset_property(
8337 scope: *mut zend_class_entry,
8338 object: *mut zend_object,
8339 name: *const ::std::os::raw::c_char,
8340 name_length: usize,
8341 );
8342}
8343extern "C" {
8344 pub fn zend_update_static_property_ex(
8345 scope: *mut zend_class_entry,
8346 name: *mut zend_string,
8347 value: *mut zval,
8348 ) -> zend_result;
8349}
8350extern "C" {
8351 pub fn zend_update_static_property(
8352 scope: *mut zend_class_entry,
8353 name: *const ::std::os::raw::c_char,
8354 name_length: usize,
8355 value: *mut zval,
8356 ) -> zend_result;
8357}
8358extern "C" {
8359 pub fn zend_update_static_property_null(
8360 scope: *mut zend_class_entry,
8361 name: *const ::std::os::raw::c_char,
8362 name_length: usize,
8363 ) -> zend_result;
8364}
8365extern "C" {
8366 pub fn zend_update_static_property_bool(
8367 scope: *mut zend_class_entry,
8368 name: *const ::std::os::raw::c_char,
8369 name_length: usize,
8370 value: zend_long,
8371 ) -> zend_result;
8372}
8373extern "C" {
8374 pub fn zend_update_static_property_long(
8375 scope: *mut zend_class_entry,
8376 name: *const ::std::os::raw::c_char,
8377 name_length: usize,
8378 value: zend_long,
8379 ) -> zend_result;
8380}
8381extern "C" {
8382 pub fn zend_update_static_property_double(
8383 scope: *mut zend_class_entry,
8384 name: *const ::std::os::raw::c_char,
8385 name_length: usize,
8386 value: f64,
8387 ) -> zend_result;
8388}
8389extern "C" {
8390 pub fn zend_update_static_property_string(
8391 scope: *mut zend_class_entry,
8392 name: *const ::std::os::raw::c_char,
8393 name_length: usize,
8394 value: *const ::std::os::raw::c_char,
8395 ) -> zend_result;
8396}
8397extern "C" {
8398 pub fn zend_update_static_property_stringl(
8399 scope: *mut zend_class_entry,
8400 name: *const ::std::os::raw::c_char,
8401 name_length: usize,
8402 value: *const ::std::os::raw::c_char,
8403 value_length: usize,
8404 ) -> zend_result;
8405}
8406extern "C" {
8407 pub fn zend_read_property_ex(
8408 scope: *mut zend_class_entry,
8409 object: *mut zend_object,
8410 name: *mut zend_string,
8411 silent: bool,
8412 rv: *mut zval,
8413 ) -> *mut zval;
8414}
8415extern "C" {
8416 pub fn zend_read_property(
8417 scope: *mut zend_class_entry,
8418 object: *mut zend_object,
8419 name: *const ::std::os::raw::c_char,
8420 name_length: usize,
8421 silent: bool,
8422 rv: *mut zval,
8423 ) -> *mut zval;
8424}
8425extern "C" {
8426 pub fn zend_read_static_property_ex(
8427 scope: *mut zend_class_entry,
8428 name: *mut zend_string,
8429 silent: bool,
8430 ) -> *mut zval;
8431}
8432extern "C" {
8433 pub fn zend_read_static_property(
8434 scope: *mut zend_class_entry,
8435 name: *const ::std::os::raw::c_char,
8436 name_length: usize,
8437 silent: bool,
8438 ) -> *mut zval;
8439}
8440extern "C" {
8441 pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
8442}
8443extern "C" {
8444 pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
8445}
8446extern "C" {
8447 pub static empty_fcall_info: zend_fcall_info;
8448}
8449extern "C" {
8450 pub static empty_fcall_info_cache: zend_fcall_info_cache;
8451}
8452extern "C" {
8453 #[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."]
8454 pub fn zend_fcall_info_init(
8455 callable: *mut zval,
8456 check_flags: u32,
8457 fci: *mut zend_fcall_info,
8458 fcc: *mut zend_fcall_info_cache,
8459 callable_name: *mut *mut zend_string,
8460 error: *mut *mut ::std::os::raw::c_char,
8461 ) -> zend_result;
8462}
8463extern "C" {
8464 #[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"]
8465 pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: bool);
8466}
8467extern "C" {
8468 #[doc = " Save current arguments from zend_fcall_info *fci\n params array will be set to NULL"]
8469 pub fn zend_fcall_info_args_save(
8470 fci: *mut zend_fcall_info,
8471 param_count: *mut u32,
8472 params: *mut *mut zval,
8473 );
8474}
8475extern "C" {
8476 #[doc = " Free arguments connected with zend_fcall_info *fci and set back saved ones."]
8477 pub fn zend_fcall_info_args_restore(
8478 fci: *mut zend_fcall_info,
8479 param_count: u32,
8480 params: *mut zval,
8481 );
8482}
8483extern "C" {
8484 #[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."]
8485 pub fn zend_fcall_info_args(fci: *mut zend_fcall_info, args: *mut zval) -> zend_result;
8486}
8487extern "C" {
8488 pub fn zend_fcall_info_args_ex(
8489 fci: *mut zend_fcall_info,
8490 func: *mut zend_function,
8491 args: *mut zval,
8492 ) -> zend_result;
8493}
8494extern "C" {
8495 #[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."]
8496 pub fn zend_fcall_info_argp(fci: *mut zend_fcall_info, argc: u32, argv: *mut zval);
8497}
8498extern "C" {
8499 #[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."]
8500 pub fn zend_fcall_info_argv(fci: *mut zend_fcall_info, argc: u32, argv: *mut va_list);
8501}
8502extern "C" {
8503 #[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."]
8504 pub fn zend_fcall_info_argn(fci: *mut zend_fcall_info, argc: u32, ...);
8505}
8506extern "C" {
8507 #[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."]
8508 pub fn zend_fcall_info_call(
8509 fci: *mut zend_fcall_info,
8510 fcc: *mut zend_fcall_info_cache,
8511 retval: *mut zval,
8512 args: *mut zval,
8513 ) -> zend_result;
8514}
8515extern "C" {
8516 pub fn zend_call_function(
8517 fci: *mut zend_fcall_info,
8518 fci_cache: *mut zend_fcall_info_cache,
8519 ) -> zend_result;
8520}
8521extern "C" {
8522 pub fn zend_call_known_function(
8523 fn_: *mut zend_function,
8524 object: *mut zend_object,
8525 called_scope: *mut zend_class_entry,
8526 retval_ptr: *mut zval,
8527 param_count: u32,
8528 params: *mut zval,
8529 named_params: *mut HashTable,
8530 );
8531}
8532extern "C" {
8533 pub fn zend_call_known_instance_method_with_2_params(
8534 fn_: *mut zend_function,
8535 object: *mut zend_object,
8536 retval_ptr: *mut zval,
8537 param1: *mut zval,
8538 param2: *mut zval,
8539 );
8540}
8541extern "C" {
8542 pub fn zend_set_hash_symbol(
8543 symbol: *mut zval,
8544 name: *const ::std::os::raw::c_char,
8545 name_length: usize,
8546 is_ref: bool,
8547 num_symbol_tables: ::std::os::raw::c_int,
8548 ...
8549 ) -> zend_result;
8550}
8551extern "C" {
8552 pub fn zend_delete_global_variable(name: *mut zend_string) -> zend_result;
8553}
8554extern "C" {
8555 pub fn zend_rebuild_symbol_table() -> *mut zend_array;
8556}
8557extern "C" {
8558 pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
8559}
8560extern "C" {
8561 pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
8562}
8563extern "C" {
8564 pub fn zend_set_local_var(name: *mut zend_string, value: *mut zval, force: bool)
8565 -> zend_result;
8566}
8567extern "C" {
8568 pub fn zend_set_local_var_str(
8569 name: *const ::std::os::raw::c_char,
8570 len: usize,
8571 value: *mut zval,
8572 force: bool,
8573 ) -> zend_result;
8574}
8575extern "C" {
8576 pub fn zend_get_object_type(ce: *const zend_class_entry) -> *const ::std::os::raw::c_char;
8577}
8578extern "C" {
8579 pub fn zend_is_iterable(iterable: *mut zval) -> bool;
8580}
8581extern "C" {
8582 pub fn zend_is_countable(countable: *mut zval) -> bool;
8583}
8584extern "C" {
8585 pub fn zend_get_default_from_internal_arg_info(
8586 default_value_zval: *mut zval,
8587 arg_info: *mut zend_internal_arg_info,
8588 ) -> zend_result;
8589}
8590extern "C" {
8591 pub fn zend_try_assign_typed_ref_ex(
8592 ref_: *mut zend_reference,
8593 zv: *mut zval,
8594 strict: bool,
8595 ) -> zend_result;
8596}
8597extern "C" {
8598 pub fn zend_try_assign_typed_ref(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
8599}
8600extern "C" {
8601 pub fn zend_try_assign_typed_ref_null(ref_: *mut zend_reference) -> zend_result;
8602}
8603extern "C" {
8604 pub fn zend_try_assign_typed_ref_bool(ref_: *mut zend_reference, val: bool) -> zend_result;
8605}
8606extern "C" {
8607 pub fn zend_try_assign_typed_ref_long(
8608 ref_: *mut zend_reference,
8609 lval: zend_long,
8610 ) -> zend_result;
8611}
8612extern "C" {
8613 pub fn zend_try_assign_typed_ref_double(ref_: *mut zend_reference, dval: f64) -> zend_result;
8614}
8615extern "C" {
8616 pub fn zend_try_assign_typed_ref_empty_string(ref_: *mut zend_reference) -> zend_result;
8617}
8618extern "C" {
8619 pub fn zend_try_assign_typed_ref_str(
8620 ref_: *mut zend_reference,
8621 str_: *mut zend_string,
8622 ) -> zend_result;
8623}
8624extern "C" {
8625 pub fn zend_try_assign_typed_ref_string(
8626 ref_: *mut zend_reference,
8627 string: *const ::std::os::raw::c_char,
8628 ) -> zend_result;
8629}
8630extern "C" {
8631 pub fn zend_try_assign_typed_ref_stringl(
8632 ref_: *mut zend_reference,
8633 string: *const ::std::os::raw::c_char,
8634 len: usize,
8635 ) -> zend_result;
8636}
8637extern "C" {
8638 pub fn zend_try_assign_typed_ref_arr(
8639 ref_: *mut zend_reference,
8640 arr: *mut zend_array,
8641 ) -> zend_result;
8642}
8643extern "C" {
8644 pub fn zend_try_assign_typed_ref_res(
8645 ref_: *mut zend_reference,
8646 res: *mut zend_resource,
8647 ) -> zend_result;
8648}
8649extern "C" {
8650 pub fn zend_try_assign_typed_ref_zval(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
8651}
8652extern "C" {
8653 pub fn zend_try_assign_typed_ref_zval_ex(
8654 ref_: *mut zend_reference,
8655 zv: *mut zval,
8656 strict: bool,
8657 ) -> zend_result;
8658}
8659pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
8660pub const _zend_expected_type_Z_EXPECTED_LONG_OR_NULL: _zend_expected_type = 1;
8661pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 2;
8662pub const _zend_expected_type_Z_EXPECTED_BOOL_OR_NULL: _zend_expected_type = 3;
8663pub const _zend_expected_type_Z_EXPECTED_STRING: _zend_expected_type = 4;
8664pub const _zend_expected_type_Z_EXPECTED_STRING_OR_NULL: _zend_expected_type = 5;
8665pub const _zend_expected_type_Z_EXPECTED_ARRAY: _zend_expected_type = 6;
8666pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_NULL: _zend_expected_type = 7;
8667pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_LONG: _zend_expected_type = 8;
8668pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_LONG_OR_NULL: _zend_expected_type = 9;
8669pub const _zend_expected_type_Z_EXPECTED_ITERABLE: _zend_expected_type = 10;
8670pub const _zend_expected_type_Z_EXPECTED_ITERABLE_OR_NULL: _zend_expected_type = 11;
8671pub const _zend_expected_type_Z_EXPECTED_FUNC: _zend_expected_type = 12;
8672pub const _zend_expected_type_Z_EXPECTED_FUNC_OR_NULL: _zend_expected_type = 13;
8673pub const _zend_expected_type_Z_EXPECTED_RESOURCE: _zend_expected_type = 14;
8674pub const _zend_expected_type_Z_EXPECTED_RESOURCE_OR_NULL: _zend_expected_type = 15;
8675pub const _zend_expected_type_Z_EXPECTED_PATH: _zend_expected_type = 16;
8676pub const _zend_expected_type_Z_EXPECTED_PATH_OR_NULL: _zend_expected_type = 17;
8677pub const _zend_expected_type_Z_EXPECTED_OBJECT: _zend_expected_type = 18;
8678pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_NULL: _zend_expected_type = 19;
8679pub const _zend_expected_type_Z_EXPECTED_DOUBLE: _zend_expected_type = 20;
8680pub const _zend_expected_type_Z_EXPECTED_DOUBLE_OR_NULL: _zend_expected_type = 21;
8681pub const _zend_expected_type_Z_EXPECTED_NUMBER: _zend_expected_type = 22;
8682pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_NULL: _zend_expected_type = 23;
8683pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_STRING: _zend_expected_type = 24;
8684pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_STRING_OR_NULL: _zend_expected_type = 25;
8685pub const _zend_expected_type_Z_EXPECTED_STRING_OR_LONG: _zend_expected_type = 26;
8686pub const _zend_expected_type_Z_EXPECTED_STRING_OR_LONG_OR_NULL: _zend_expected_type = 27;
8687pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_CLASS_NAME: _zend_expected_type = 28;
8688pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_CLASS_NAME_OR_NULL: _zend_expected_type = 29;
8689pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_STRING: _zend_expected_type = 30;
8690pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_STRING_OR_NULL: _zend_expected_type = 31;
8691pub const _zend_expected_type_Z_EXPECTED_LAST: _zend_expected_type = 32;
8692pub type _zend_expected_type = ::std::os::raw::c_uint;
8693pub use self::_zend_expected_type as zend_expected_type;
8694extern "C" {
8695 pub fn zend_wrong_parameters_none_error();
8696}
8697extern "C" {
8698 pub fn zend_wrong_parameters_count_error(min_num_args: u32, max_num_args: u32);
8699}
8700extern "C" {
8701 pub fn zend_wrong_parameter_error(
8702 error_code: ::std::os::raw::c_int,
8703 num: u32,
8704 name: *mut ::std::os::raw::c_char,
8705 expected_type: zend_expected_type,
8706 arg: *mut zval,
8707 );
8708}
8709extern "C" {
8710 pub fn zend_wrong_parameter_type_error(
8711 num: u32,
8712 expected_type: zend_expected_type,
8713 arg: *mut zval,
8714 );
8715}
8716extern "C" {
8717 pub fn zend_wrong_parameter_class_error(
8718 num: u32,
8719 name: *const ::std::os::raw::c_char,
8720 arg: *mut zval,
8721 );
8722}
8723extern "C" {
8724 pub fn zend_wrong_parameter_class_or_null_error(
8725 num: u32,
8726 name: *const ::std::os::raw::c_char,
8727 arg: *mut zval,
8728 );
8729}
8730extern "C" {
8731 pub fn zend_wrong_parameter_class_or_long_error(
8732 num: u32,
8733 name: *const ::std::os::raw::c_char,
8734 arg: *mut zval,
8735 );
8736}
8737extern "C" {
8738 pub fn zend_wrong_parameter_class_or_long_or_null_error(
8739 num: u32,
8740 name: *const ::std::os::raw::c_char,
8741 arg: *mut zval,
8742 );
8743}
8744extern "C" {
8745 pub fn zend_wrong_parameter_class_or_string_error(
8746 num: u32,
8747 name: *const ::std::os::raw::c_char,
8748 arg: *mut zval,
8749 );
8750}
8751extern "C" {
8752 pub fn zend_wrong_parameter_class_or_string_or_null_error(
8753 num: u32,
8754 name: *const ::std::os::raw::c_char,
8755 arg: *mut zval,
8756 );
8757}
8758extern "C" {
8759 pub fn zend_wrong_callback_error(num: u32, error: *mut ::std::os::raw::c_char);
8760}
8761extern "C" {
8762 pub fn zend_wrong_callback_or_null_error(num: u32, error: *mut ::std::os::raw::c_char);
8763}
8764extern "C" {
8765 pub fn zend_unexpected_extra_named_error();
8766}
8767extern "C" {
8768 pub fn zend_argument_error_variadic(
8769 error_ce: *mut zend_class_entry,
8770 arg_num: u32,
8771 format: *const ::std::os::raw::c_char,
8772 va: *mut __va_list_tag,
8773 );
8774}
8775extern "C" {
8776 pub fn zend_argument_error(
8777 error_ce: *mut zend_class_entry,
8778 arg_num: u32,
8779 format: *const ::std::os::raw::c_char,
8780 ...
8781 );
8782}
8783extern "C" {
8784 pub fn zend_argument_type_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
8785}
8786extern "C" {
8787 pub fn zend_argument_value_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
8788}
8789extern "C" {
8790 pub fn zend_parse_arg_class(
8791 arg: *mut zval,
8792 pce: *mut *mut zend_class_entry,
8793 num: u32,
8794 check_null: bool,
8795 ) -> bool;
8796}
8797extern "C" {
8798 pub fn zend_parse_arg_bool_slow(arg: *mut zval, dest: *mut bool, arg_num: u32) -> bool;
8799}
8800extern "C" {
8801 pub fn zend_parse_arg_bool_weak(arg: *mut zval, dest: *mut bool, arg_num: u32) -> bool;
8802}
8803extern "C" {
8804 pub fn zend_parse_arg_long_slow(arg: *mut zval, dest: *mut zend_long, arg_num: u32) -> bool;
8805}
8806extern "C" {
8807 pub fn zend_parse_arg_long_weak(arg: *mut zval, dest: *mut zend_long, arg_num: u32) -> bool;
8808}
8809extern "C" {
8810 pub fn zend_parse_arg_double_slow(arg: *mut zval, dest: *mut f64, arg_num: u32) -> bool;
8811}
8812extern "C" {
8813 pub fn zend_parse_arg_double_weak(arg: *mut zval, dest: *mut f64, arg_num: u32) -> bool;
8814}
8815extern "C" {
8816 pub fn zend_parse_arg_str_slow(
8817 arg: *mut zval,
8818 dest: *mut *mut zend_string,
8819 arg_num: u32,
8820 ) -> bool;
8821}
8822extern "C" {
8823 pub fn zend_parse_arg_str_weak(
8824 arg: *mut zval,
8825 dest: *mut *mut zend_string,
8826 arg_num: u32,
8827 ) -> bool;
8828}
8829extern "C" {
8830 pub fn zend_parse_arg_number_slow(arg: *mut zval, dest: *mut *mut zval, arg_num: u32) -> bool;
8831}
8832extern "C" {
8833 pub fn zend_parse_arg_str_or_long_slow(
8834 arg: *mut zval,
8835 dest_str: *mut *mut zend_string,
8836 dest_long: *mut zend_long,
8837 arg_num: u32,
8838 ) -> bool;
8839}
8840extern "C" {
8841 pub fn php_strlcpy(
8842 dst: *mut ::std::os::raw::c_char,
8843 src: *const ::std::os::raw::c_char,
8844 siz: usize,
8845 ) -> usize;
8846}
8847extern "C" {
8848 pub fn php_strlcat(
8849 dst: *mut ::std::os::raw::c_char,
8850 src: *const ::std::os::raw::c_char,
8851 siz: usize,
8852 ) -> usize;
8853}
8854extern "C" {
8855 pub fn php_0cvt(
8856 value: f64,
8857 ndigit: ::std::os::raw::c_int,
8858 dec_point: ::std::os::raw::c_char,
8859 exponent: ::std::os::raw::c_char,
8860 buf: *mut ::std::os::raw::c_char,
8861 ) -> *mut ::std::os::raw::c_char;
8862}
8863extern "C" {
8864 pub fn php_conv_fp(
8865 format: ::std::os::raw::c_char,
8866 num: f64,
8867 add_dp: bool,
8868 precision: ::std::os::raw::c_int,
8869 dec_point: ::std::os::raw::c_char,
8870 is_negative: *mut bool,
8871 buf: *mut ::std::os::raw::c_char,
8872 len: *mut usize,
8873 ) -> *mut ::std::os::raw::c_char;
8874}
8875extern "C" {
8876 pub fn php_printf_to_smart_string(
8877 buf: *mut smart_string,
8878 format: *const ::std::os::raw::c_char,
8879 ap: *mut __va_list_tag,
8880 );
8881}
8882extern "C" {
8883 pub fn php_printf_to_smart_str(
8884 buf: *mut smart_str,
8885 format: *const ::std::os::raw::c_char,
8886 ap: *mut __va_list_tag,
8887 );
8888}
8889extern "C" {
8890 pub fn php_write(buf: *mut ::std::os::raw::c_void, size: usize) -> usize;
8891}
8892extern "C" {
8893 pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> usize;
8894}
8895extern "C" {
8896 pub fn php_printf_unchecked(format: *const ::std::os::raw::c_char, ...) -> usize;
8897}
8898extern "C" {
8899 pub fn php_during_module_startup() -> ::std::os::raw::c_int;
8900}
8901extern "C" {
8902 pub fn php_during_module_shutdown() -> ::std::os::raw::c_int;
8903}
8904extern "C" {
8905 pub fn php_get_module_initialized() -> ::std::os::raw::c_int;
8906}
8907extern "C" {
8908 pub fn php_syslog_str(priority: ::std::os::raw::c_int, message: *const zend_string);
8909}
8910extern "C" {
8911 pub fn php_syslog(arg1: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
8912}
8913extern "C" {
8914 pub fn php_openlog(
8915 arg1: *const ::std::os::raw::c_char,
8916 arg2: ::std::os::raw::c_int,
8917 arg3: ::std::os::raw::c_int,
8918 );
8919}
8920extern "C" {
8921 pub fn php_closelog();
8922}
8923extern "C" {
8924 pub fn php_log_err_with_severity(
8925 log_message: *const ::std::os::raw::c_char,
8926 syslog_type_int: ::std::os::raw::c_int,
8927 );
8928}
8929extern "C" {
8930 pub fn php_verror(
8931 docref: *const ::std::os::raw::c_char,
8932 params: *const ::std::os::raw::c_char,
8933 type_: ::std::os::raw::c_int,
8934 format: *const ::std::os::raw::c_char,
8935 args: *mut __va_list_tag,
8936 );
8937}
8938extern "C" {
8939 pub fn php_error_docref(
8940 docref: *const ::std::os::raw::c_char,
8941 type_: ::std::os::raw::c_int,
8942 format: *const ::std::os::raw::c_char,
8943 ...
8944 );
8945}
8946extern "C" {
8947 pub fn php_error_docref1(
8948 docref: *const ::std::os::raw::c_char,
8949 param1: *const ::std::os::raw::c_char,
8950 type_: ::std::os::raw::c_int,
8951 format: *const ::std::os::raw::c_char,
8952 ...
8953 );
8954}
8955extern "C" {
8956 pub fn php_error_docref2(
8957 docref: *const ::std::os::raw::c_char,
8958 param1: *const ::std::os::raw::c_char,
8959 param2: *const ::std::os::raw::c_char,
8960 type_: ::std::os::raw::c_int,
8961 format: *const ::std::os::raw::c_char,
8962 ...
8963 );
8964}
8965extern "C" {
8966 pub static mut php_register_internal_extensions_func:
8967 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
8968}
8969extern "C" {
8970 pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
8971}
8972extern "C" {
8973 pub fn php_register_pre_request_shutdown(
8974 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
8975 userdata: *mut ::std::os::raw::c_void,
8976 );
8977}
8978extern "C" {
8979 pub fn php_com_initialize();
8980}
8981extern "C" {
8982 pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
8983}
8984extern "C" {
8985 pub fn php_get_internal_encoding() -> *const ::std::os::raw::c_char;
8986}
8987extern "C" {
8988 pub fn php_get_input_encoding() -> *const ::std::os::raw::c_char;
8989}
8990extern "C" {
8991 pub fn php_get_output_encoding() -> *const ::std::os::raw::c_char;
8992}
8993extern "C" {
8994 pub static mut php_internal_encoding_changed: ::std::option::Option<unsafe extern "C" fn()>;
8995}
8996pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
8997 0;
8998pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
8999 1;
9000pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
9001 2;
9002pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
9003 3;
9004pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
9005 4;
9006pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
9007pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
9008pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
9009#[repr(C)]
9010#[derive(Debug, Copy, Clone)]
9011pub struct _php_output_buffer {
9012 pub data: *mut ::std::os::raw::c_char,
9013 pub size: usize,
9014 pub used: usize,
9015 pub _bitfield_align_1: [u32; 0],
9016 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
9017 pub __bindgen_padding_0: u32,
9018}
9019#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9020const _: () = {
9021 ["Size of _php_output_buffer"][::std::mem::size_of::<_php_output_buffer>() - 32usize];
9022 ["Alignment of _php_output_buffer"][::std::mem::align_of::<_php_output_buffer>() - 8usize];
9023 ["Offset of field: _php_output_buffer::data"]
9024 [::std::mem::offset_of!(_php_output_buffer, data) - 0usize];
9025 ["Offset of field: _php_output_buffer::size"]
9026 [::std::mem::offset_of!(_php_output_buffer, size) - 8usize];
9027 ["Offset of field: _php_output_buffer::used"]
9028 [::std::mem::offset_of!(_php_output_buffer, used) - 16usize];
9029};
9030impl _php_output_buffer {
9031 #[inline]
9032 pub fn free(&self) -> u32 {
9033 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
9034 }
9035 #[inline]
9036 pub fn set_free(&mut self, val: u32) {
9037 unsafe {
9038 let val: u32 = ::std::mem::transmute(val);
9039 self._bitfield_1.set(0usize, 1u8, val as u64)
9040 }
9041 }
9042 #[inline]
9043 pub fn _reserved(&self) -> u32 {
9044 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
9045 }
9046 #[inline]
9047 pub fn set__reserved(&mut self, val: u32) {
9048 unsafe {
9049 let val: u32 = ::std::mem::transmute(val);
9050 self._bitfield_1.set(1usize, 31u8, val as u64)
9051 }
9052 }
9053 #[inline]
9054 pub fn new_bitfield_1(free: u32, _reserved: u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
9055 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
9056 __bindgen_bitfield_unit.set(0usize, 1u8, {
9057 let free: u32 = unsafe { ::std::mem::transmute(free) };
9058 free as u64
9059 });
9060 __bindgen_bitfield_unit.set(1usize, 31u8, {
9061 let _reserved: u32 = unsafe { ::std::mem::transmute(_reserved) };
9062 _reserved as u64
9063 });
9064 __bindgen_bitfield_unit
9065 }
9066}
9067pub type php_output_buffer = _php_output_buffer;
9068#[repr(C)]
9069#[derive(Debug, Copy, Clone)]
9070pub struct _php_output_context {
9071 pub op: ::std::os::raw::c_int,
9072 pub in_: php_output_buffer,
9073 pub out: php_output_buffer,
9074}
9075#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9076const _: () = {
9077 ["Size of _php_output_context"][::std::mem::size_of::<_php_output_context>() - 72usize];
9078 ["Alignment of _php_output_context"][::std::mem::align_of::<_php_output_context>() - 8usize];
9079 ["Offset of field: _php_output_context::op"]
9080 [::std::mem::offset_of!(_php_output_context, op) - 0usize];
9081 ["Offset of field: _php_output_context::in_"]
9082 [::std::mem::offset_of!(_php_output_context, in_) - 8usize];
9083 ["Offset of field: _php_output_context::out"]
9084 [::std::mem::offset_of!(_php_output_context, out) - 40usize];
9085};
9086pub type php_output_context = _php_output_context;
9087pub type php_output_handler_func_t = ::std::option::Option<
9088 unsafe extern "C" fn(
9089 output: *mut ::std::os::raw::c_char,
9090 output_len: usize,
9091 handled_output: *mut *mut ::std::os::raw::c_char,
9092 handled_output_len: *mut usize,
9093 mode: ::std::os::raw::c_int,
9094 ),
9095>;
9096pub type php_output_handler_context_func_t = ::std::option::Option<
9097 unsafe extern "C" fn(
9098 handler_context: *mut *mut ::std::os::raw::c_void,
9099 output_context: *mut php_output_context,
9100 ) -> ::std::os::raw::c_int,
9101>;
9102pub type php_output_handler_conflict_check_t = ::std::option::Option<
9103 unsafe extern "C" fn(
9104 handler_name: *const ::std::os::raw::c_char,
9105 handler_name_len: usize,
9106 ) -> ::std::os::raw::c_int,
9107>;
9108pub type php_output_handler_alias_ctor_t = ::std::option::Option<
9109 unsafe extern "C" fn(
9110 handler_name: *const ::std::os::raw::c_char,
9111 handler_name_len: usize,
9112 chunk_size: usize,
9113 flags: ::std::os::raw::c_int,
9114 ) -> *mut _php_output_handler,
9115>;
9116#[repr(C)]
9117#[derive(Copy, Clone)]
9118pub struct _php_output_handler_user_func_t {
9119 pub fci: zend_fcall_info,
9120 pub fcc: zend_fcall_info_cache,
9121 pub zoh: zval,
9122}
9123#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9124const _: () = {
9125 ["Size of _php_output_handler_user_func_t"]
9126 [::std::mem::size_of::<_php_output_handler_user_func_t>() - 112usize];
9127 ["Alignment of _php_output_handler_user_func_t"]
9128 [::std::mem::align_of::<_php_output_handler_user_func_t>() - 8usize];
9129 ["Offset of field: _php_output_handler_user_func_t::fci"]
9130 [::std::mem::offset_of!(_php_output_handler_user_func_t, fci) - 0usize];
9131 ["Offset of field: _php_output_handler_user_func_t::fcc"]
9132 [::std::mem::offset_of!(_php_output_handler_user_func_t, fcc) - 64usize];
9133 ["Offset of field: _php_output_handler_user_func_t::zoh"]
9134 [::std::mem::offset_of!(_php_output_handler_user_func_t, zoh) - 96usize];
9135};
9136pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
9137#[repr(C)]
9138#[derive(Copy, Clone)]
9139pub struct _php_output_handler {
9140 pub name: *mut zend_string,
9141 pub flags: ::std::os::raw::c_int,
9142 pub level: ::std::os::raw::c_int,
9143 pub size: usize,
9144 pub buffer: php_output_buffer,
9145 pub opaq: *mut ::std::os::raw::c_void,
9146 pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
9147 pub func: _php_output_handler__bindgen_ty_1,
9148}
9149#[repr(C)]
9150#[derive(Copy, Clone)]
9151pub union _php_output_handler__bindgen_ty_1 {
9152 pub user: *mut php_output_handler_user_func_t,
9153 pub internal: php_output_handler_context_func_t,
9154}
9155#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9156const _: () = {
9157 ["Size of _php_output_handler__bindgen_ty_1"]
9158 [::std::mem::size_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
9159 ["Alignment of _php_output_handler__bindgen_ty_1"]
9160 [::std::mem::align_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
9161 ["Offset of field: _php_output_handler__bindgen_ty_1::user"]
9162 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, user) - 0usize];
9163 ["Offset of field: _php_output_handler__bindgen_ty_1::internal"]
9164 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, internal) - 0usize];
9165};
9166#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9167const _: () = {
9168 ["Size of _php_output_handler"][::std::mem::size_of::<_php_output_handler>() - 80usize];
9169 ["Alignment of _php_output_handler"][::std::mem::align_of::<_php_output_handler>() - 8usize];
9170 ["Offset of field: _php_output_handler::name"]
9171 [::std::mem::offset_of!(_php_output_handler, name) - 0usize];
9172 ["Offset of field: _php_output_handler::flags"]
9173 [::std::mem::offset_of!(_php_output_handler, flags) - 8usize];
9174 ["Offset of field: _php_output_handler::level"]
9175 [::std::mem::offset_of!(_php_output_handler, level) - 12usize];
9176 ["Offset of field: _php_output_handler::size"]
9177 [::std::mem::offset_of!(_php_output_handler, size) - 16usize];
9178 ["Offset of field: _php_output_handler::buffer"]
9179 [::std::mem::offset_of!(_php_output_handler, buffer) - 24usize];
9180 ["Offset of field: _php_output_handler::opaq"]
9181 [::std::mem::offset_of!(_php_output_handler, opaq) - 56usize];
9182 ["Offset of field: _php_output_handler::dtor"]
9183 [::std::mem::offset_of!(_php_output_handler, dtor) - 64usize];
9184 ["Offset of field: _php_output_handler::func"]
9185 [::std::mem::offset_of!(_php_output_handler, func) - 72usize];
9186};
9187pub type php_output_handler = _php_output_handler;
9188#[repr(C)]
9189#[derive(Debug, Copy, Clone)]
9190pub struct _zend_output_globals {
9191 pub handlers: zend_stack,
9192 pub active: *mut php_output_handler,
9193 pub running: *mut php_output_handler,
9194 pub output_start_filename: *mut zend_string,
9195 pub output_start_lineno: ::std::os::raw::c_int,
9196 pub flags: ::std::os::raw::c_int,
9197}
9198#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9199const _: () = {
9200 ["Size of _zend_output_globals"][::std::mem::size_of::<_zend_output_globals>() - 56usize];
9201 ["Alignment of _zend_output_globals"][::std::mem::align_of::<_zend_output_globals>() - 8usize];
9202 ["Offset of field: _zend_output_globals::handlers"]
9203 [::std::mem::offset_of!(_zend_output_globals, handlers) - 0usize];
9204 ["Offset of field: _zend_output_globals::active"]
9205 [::std::mem::offset_of!(_zend_output_globals, active) - 24usize];
9206 ["Offset of field: _zend_output_globals::running"]
9207 [::std::mem::offset_of!(_zend_output_globals, running) - 32usize];
9208 ["Offset of field: _zend_output_globals::output_start_filename"]
9209 [::std::mem::offset_of!(_zend_output_globals, output_start_filename) - 40usize];
9210 ["Offset of field: _zend_output_globals::output_start_lineno"]
9211 [::std::mem::offset_of!(_zend_output_globals, output_start_lineno) - 48usize];
9212 ["Offset of field: _zend_output_globals::flags"]
9213 [::std::mem::offset_of!(_zend_output_globals, flags) - 52usize];
9214};
9215pub type zend_output_globals = _zend_output_globals;
9216extern "C" {
9217 pub static mut output_globals: zend_output_globals;
9218}
9219extern "C" {
9220 pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
9221}
9222extern "C" {
9223 pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
9224}
9225extern "C" {
9226 pub fn php_output_startup();
9227}
9228extern "C" {
9229 pub fn php_output_shutdown();
9230}
9231extern "C" {
9232 pub fn php_output_register_constants();
9233}
9234extern "C" {
9235 pub fn php_output_activate() -> ::std::os::raw::c_int;
9236}
9237extern "C" {
9238 pub fn php_output_deactivate();
9239}
9240extern "C" {
9241 pub fn php_output_set_status(status: ::std::os::raw::c_int);
9242}
9243extern "C" {
9244 pub fn php_output_get_status() -> ::std::os::raw::c_int;
9245}
9246extern "C" {
9247 pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
9248}
9249extern "C" {
9250 pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
9251}
9252extern "C" {
9253 pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
9254}
9255extern "C" {
9256 pub fn php_output_write_unbuffered(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
9257}
9258extern "C" {
9259 pub fn php_output_write(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
9260}
9261extern "C" {
9262 pub fn php_output_flush() -> ::std::os::raw::c_int;
9263}
9264extern "C" {
9265 pub fn php_output_flush_all();
9266}
9267extern "C" {
9268 pub fn php_output_clean() -> ::std::os::raw::c_int;
9269}
9270extern "C" {
9271 pub fn php_output_clean_all();
9272}
9273extern "C" {
9274 pub fn php_output_end() -> ::std::os::raw::c_int;
9275}
9276extern "C" {
9277 pub fn php_output_end_all();
9278}
9279extern "C" {
9280 pub fn php_output_discard() -> ::std::os::raw::c_int;
9281}
9282extern "C" {
9283 pub fn php_output_discard_all();
9284}
9285extern "C" {
9286 pub fn php_output_get_contents(p: *mut zval) -> ::std::os::raw::c_int;
9287}
9288extern "C" {
9289 pub fn php_output_get_length(p: *mut zval) -> ::std::os::raw::c_int;
9290}
9291extern "C" {
9292 pub fn php_output_get_level() -> ::std::os::raw::c_int;
9293}
9294extern "C" {
9295 pub fn php_output_get_active_handler() -> *mut php_output_handler;
9296}
9297extern "C" {
9298 pub fn php_output_start_default() -> ::std::os::raw::c_int;
9299}
9300extern "C" {
9301 pub fn php_output_start_devnull() -> ::std::os::raw::c_int;
9302}
9303extern "C" {
9304 pub fn php_output_start_user(
9305 output_handler: *mut zval,
9306 chunk_size: usize,
9307 flags: ::std::os::raw::c_int,
9308 ) -> ::std::os::raw::c_int;
9309}
9310extern "C" {
9311 pub fn php_output_start_internal(
9312 name: *const ::std::os::raw::c_char,
9313 name_len: usize,
9314 output_handler: php_output_handler_func_t,
9315 chunk_size: usize,
9316 flags: ::std::os::raw::c_int,
9317 ) -> ::std::os::raw::c_int;
9318}
9319extern "C" {
9320 pub fn php_output_handler_create_user(
9321 handler: *mut zval,
9322 chunk_size: usize,
9323 flags: ::std::os::raw::c_int,
9324 ) -> *mut php_output_handler;
9325}
9326extern "C" {
9327 pub fn php_output_handler_create_internal(
9328 name: *const ::std::os::raw::c_char,
9329 name_len: usize,
9330 handler: php_output_handler_context_func_t,
9331 chunk_size: usize,
9332 flags: ::std::os::raw::c_int,
9333 ) -> *mut php_output_handler;
9334}
9335extern "C" {
9336 pub fn php_output_handler_set_context(
9337 handler: *mut php_output_handler,
9338 opaq: *mut ::std::os::raw::c_void,
9339 dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
9340 );
9341}
9342extern "C" {
9343 pub fn php_output_handler_start(handler: *mut php_output_handler) -> ::std::os::raw::c_int;
9344}
9345extern "C" {
9346 pub fn php_output_handler_started(
9347 name: *const ::std::os::raw::c_char,
9348 name_len: usize,
9349 ) -> ::std::os::raw::c_int;
9350}
9351extern "C" {
9352 pub fn php_output_handler_hook(
9353 type_: php_output_handler_hook_t,
9354 arg: *mut ::std::os::raw::c_void,
9355 ) -> ::std::os::raw::c_int;
9356}
9357extern "C" {
9358 pub fn php_output_handler_dtor(handler: *mut php_output_handler);
9359}
9360extern "C" {
9361 pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
9362}
9363extern "C" {
9364 pub fn php_output_handler_conflict(
9365 handler_new: *const ::std::os::raw::c_char,
9366 handler_new_len: usize,
9367 handler_set: *const ::std::os::raw::c_char,
9368 handler_set_len: usize,
9369 ) -> ::std::os::raw::c_int;
9370}
9371extern "C" {
9372 pub fn php_output_handler_conflict_register(
9373 handler_name: *const ::std::os::raw::c_char,
9374 handler_name_len: usize,
9375 check_func: php_output_handler_conflict_check_t,
9376 ) -> ::std::os::raw::c_int;
9377}
9378extern "C" {
9379 pub fn php_output_handler_reverse_conflict_register(
9380 handler_name: *const ::std::os::raw::c_char,
9381 handler_name_len: usize,
9382 check_func: php_output_handler_conflict_check_t,
9383 ) -> ::std::os::raw::c_int;
9384}
9385extern "C" {
9386 pub fn php_output_handler_alias(
9387 handler_name: *const ::std::os::raw::c_char,
9388 handler_name_len: usize,
9389 ) -> php_output_handler_alias_ctor_t;
9390}
9391extern "C" {
9392 pub fn php_output_handler_alias_register(
9393 handler_name: *const ::std::os::raw::c_char,
9394 handler_name_len: usize,
9395 func: php_output_handler_alias_ctor_t,
9396 ) -> ::std::os::raw::c_int;
9397}
9398extern "C" {
9399 pub fn php_file_le_stream() -> ::std::os::raw::c_int;
9400}
9401extern "C" {
9402 pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
9403}
9404extern "C" {
9405 pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
9406}
9407pub type php_stream = _php_stream;
9408pub type php_stream_wrapper = _php_stream_wrapper;
9409pub type php_stream_context = _php_stream_context;
9410pub type php_stream_filter = _php_stream_filter;
9411pub type php_stream_notification_func = ::std::option::Option<
9412 unsafe extern "C" fn(
9413 context: *mut php_stream_context,
9414 notifycode: ::std::os::raw::c_int,
9415 severity: ::std::os::raw::c_int,
9416 xmsg: *mut ::std::os::raw::c_char,
9417 xcode: ::std::os::raw::c_int,
9418 bytes_sofar: usize,
9419 bytes_max: usize,
9420 ptr: *mut ::std::os::raw::c_void,
9421 ),
9422>;
9423pub type php_stream_notifier = _php_stream_notifier;
9424#[repr(C)]
9425#[derive(Copy, Clone)]
9426pub struct _php_stream_notifier {
9427 pub func: php_stream_notification_func,
9428 pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
9429 pub ptr: zval,
9430 pub mask: ::std::os::raw::c_int,
9431 pub progress: usize,
9432 pub progress_max: usize,
9433}
9434#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9435const _: () = {
9436 ["Size of _php_stream_notifier"][::std::mem::size_of::<_php_stream_notifier>() - 56usize];
9437 ["Alignment of _php_stream_notifier"][::std::mem::align_of::<_php_stream_notifier>() - 8usize];
9438 ["Offset of field: _php_stream_notifier::func"]
9439 [::std::mem::offset_of!(_php_stream_notifier, func) - 0usize];
9440 ["Offset of field: _php_stream_notifier::dtor"]
9441 [::std::mem::offset_of!(_php_stream_notifier, dtor) - 8usize];
9442 ["Offset of field: _php_stream_notifier::ptr"]
9443 [::std::mem::offset_of!(_php_stream_notifier, ptr) - 16usize];
9444 ["Offset of field: _php_stream_notifier::mask"]
9445 [::std::mem::offset_of!(_php_stream_notifier, mask) - 32usize];
9446 ["Offset of field: _php_stream_notifier::progress"]
9447 [::std::mem::offset_of!(_php_stream_notifier, progress) - 40usize];
9448 ["Offset of field: _php_stream_notifier::progress_max"]
9449 [::std::mem::offset_of!(_php_stream_notifier, progress_max) - 48usize];
9450};
9451#[repr(C)]
9452#[derive(Copy, Clone)]
9453pub struct _php_stream_context {
9454 pub notifier: *mut php_stream_notifier,
9455 pub options: zval,
9456 pub res: *mut zend_resource,
9457}
9458#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9459const _: () = {
9460 ["Size of _php_stream_context"][::std::mem::size_of::<_php_stream_context>() - 32usize];
9461 ["Alignment of _php_stream_context"][::std::mem::align_of::<_php_stream_context>() - 8usize];
9462 ["Offset of field: _php_stream_context::notifier"]
9463 [::std::mem::offset_of!(_php_stream_context, notifier) - 0usize];
9464 ["Offset of field: _php_stream_context::options"]
9465 [::std::mem::offset_of!(_php_stream_context, options) - 8usize];
9466 ["Offset of field: _php_stream_context::res"]
9467 [::std::mem::offset_of!(_php_stream_context, res) - 24usize];
9468};
9469extern "C" {
9470 pub fn php_stream_context_free(context: *mut php_stream_context);
9471}
9472extern "C" {
9473 pub fn php_stream_context_alloc() -> *mut php_stream_context;
9474}
9475extern "C" {
9476 pub fn php_stream_context_get_option(
9477 context: *mut php_stream_context,
9478 wrappername: *const ::std::os::raw::c_char,
9479 optionname: *const ::std::os::raw::c_char,
9480 ) -> *mut zval;
9481}
9482extern "C" {
9483 pub fn php_stream_context_set_option(
9484 context: *mut php_stream_context,
9485 wrappername: *const ::std::os::raw::c_char,
9486 optionname: *const ::std::os::raw::c_char,
9487 optionvalue: *mut zval,
9488 ) -> ::std::os::raw::c_int;
9489}
9490extern "C" {
9491 pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
9492}
9493extern "C" {
9494 pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
9495}
9496extern "C" {
9497 pub fn php_stream_notification_notify(
9498 context: *mut php_stream_context,
9499 notifycode: ::std::os::raw::c_int,
9500 severity: ::std::os::raw::c_int,
9501 xmsg: *mut ::std::os::raw::c_char,
9502 xcode: ::std::os::raw::c_int,
9503 bytes_sofar: usize,
9504 bytes_max: usize,
9505 ptr: *mut ::std::os::raw::c_void,
9506 );
9507}
9508extern "C" {
9509 pub fn php_stream_context_set(
9510 stream: *mut php_stream,
9511 context: *mut php_stream_context,
9512 ) -> *mut php_stream_context;
9513}
9514pub type php_stream_bucket = _php_stream_bucket;
9515pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
9516#[repr(C)]
9517#[derive(Debug, Copy, Clone)]
9518pub struct _php_stream_bucket {
9519 pub next: *mut php_stream_bucket,
9520 pub prev: *mut php_stream_bucket,
9521 pub brigade: *mut php_stream_bucket_brigade,
9522 pub buf: *mut ::std::os::raw::c_char,
9523 pub buflen: usize,
9524 pub own_buf: u8,
9525 pub is_persistent: u8,
9526 pub refcount: ::std::os::raw::c_int,
9527}
9528#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9529const _: () = {
9530 ["Size of _php_stream_bucket"][::std::mem::size_of::<_php_stream_bucket>() - 48usize];
9531 ["Alignment of _php_stream_bucket"][::std::mem::align_of::<_php_stream_bucket>() - 8usize];
9532 ["Offset of field: _php_stream_bucket::next"]
9533 [::std::mem::offset_of!(_php_stream_bucket, next) - 0usize];
9534 ["Offset of field: _php_stream_bucket::prev"]
9535 [::std::mem::offset_of!(_php_stream_bucket, prev) - 8usize];
9536 ["Offset of field: _php_stream_bucket::brigade"]
9537 [::std::mem::offset_of!(_php_stream_bucket, brigade) - 16usize];
9538 ["Offset of field: _php_stream_bucket::buf"]
9539 [::std::mem::offset_of!(_php_stream_bucket, buf) - 24usize];
9540 ["Offset of field: _php_stream_bucket::buflen"]
9541 [::std::mem::offset_of!(_php_stream_bucket, buflen) - 32usize];
9542 ["Offset of field: _php_stream_bucket::own_buf"]
9543 [::std::mem::offset_of!(_php_stream_bucket, own_buf) - 40usize];
9544 ["Offset of field: _php_stream_bucket::is_persistent"]
9545 [::std::mem::offset_of!(_php_stream_bucket, is_persistent) - 41usize];
9546 ["Offset of field: _php_stream_bucket::refcount"]
9547 [::std::mem::offset_of!(_php_stream_bucket, refcount) - 44usize];
9548};
9549#[repr(C)]
9550#[derive(Debug, Copy, Clone)]
9551pub struct _php_stream_bucket_brigade {
9552 pub head: *mut php_stream_bucket,
9553 pub tail: *mut php_stream_bucket,
9554}
9555#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9556const _: () = {
9557 ["Size of _php_stream_bucket_brigade"]
9558 [::std::mem::size_of::<_php_stream_bucket_brigade>() - 16usize];
9559 ["Alignment of _php_stream_bucket_brigade"]
9560 [::std::mem::align_of::<_php_stream_bucket_brigade>() - 8usize];
9561 ["Offset of field: _php_stream_bucket_brigade::head"]
9562 [::std::mem::offset_of!(_php_stream_bucket_brigade, head) - 0usize];
9563 ["Offset of field: _php_stream_bucket_brigade::tail"]
9564 [::std::mem::offset_of!(_php_stream_bucket_brigade, tail) - 8usize];
9565};
9566pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
9567pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
9568pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
9569pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
9570extern "C" {
9571 pub fn php_stream_bucket_new(
9572 stream: *mut php_stream,
9573 buf: *mut ::std::os::raw::c_char,
9574 buflen: usize,
9575 own_buf: u8,
9576 buf_persistent: u8,
9577 ) -> *mut php_stream_bucket;
9578}
9579extern "C" {
9580 pub fn php_stream_bucket_split(
9581 in_: *mut php_stream_bucket,
9582 left: *mut *mut php_stream_bucket,
9583 right: *mut *mut php_stream_bucket,
9584 length: usize,
9585 ) -> ::std::os::raw::c_int;
9586}
9587extern "C" {
9588 pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
9589}
9590extern "C" {
9591 pub fn php_stream_bucket_prepend(
9592 brigade: *mut php_stream_bucket_brigade,
9593 bucket: *mut php_stream_bucket,
9594 );
9595}
9596extern "C" {
9597 pub fn php_stream_bucket_append(
9598 brigade: *mut php_stream_bucket_brigade,
9599 bucket: *mut php_stream_bucket,
9600 );
9601}
9602extern "C" {
9603 pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
9604}
9605extern "C" {
9606 pub fn php_stream_bucket_make_writeable(
9607 bucket: *mut php_stream_bucket,
9608 ) -> *mut php_stream_bucket;
9609}
9610#[repr(C)]
9611#[derive(Debug, Copy, Clone)]
9612pub struct _php_stream_filter_ops {
9613 pub filter: ::std::option::Option<
9614 unsafe extern "C" fn(
9615 stream: *mut php_stream,
9616 thisfilter: *mut php_stream_filter,
9617 buckets_in: *mut php_stream_bucket_brigade,
9618 buckets_out: *mut php_stream_bucket_brigade,
9619 bytes_consumed: *mut usize,
9620 flags: ::std::os::raw::c_int,
9621 ) -> php_stream_filter_status_t,
9622 >,
9623 pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
9624 pub label: *const ::std::os::raw::c_char,
9625}
9626#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9627const _: () = {
9628 ["Size of _php_stream_filter_ops"][::std::mem::size_of::<_php_stream_filter_ops>() - 24usize];
9629 ["Alignment of _php_stream_filter_ops"]
9630 [::std::mem::align_of::<_php_stream_filter_ops>() - 8usize];
9631 ["Offset of field: _php_stream_filter_ops::filter"]
9632 [::std::mem::offset_of!(_php_stream_filter_ops, filter) - 0usize];
9633 ["Offset of field: _php_stream_filter_ops::dtor"]
9634 [::std::mem::offset_of!(_php_stream_filter_ops, dtor) - 8usize];
9635 ["Offset of field: _php_stream_filter_ops::label"]
9636 [::std::mem::offset_of!(_php_stream_filter_ops, label) - 16usize];
9637};
9638pub type php_stream_filter_ops = _php_stream_filter_ops;
9639#[repr(C)]
9640#[derive(Debug, Copy, Clone)]
9641pub struct _php_stream_filter_chain {
9642 pub head: *mut php_stream_filter,
9643 pub tail: *mut php_stream_filter,
9644 pub stream: *mut php_stream,
9645}
9646#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9647const _: () = {
9648 ["Size of _php_stream_filter_chain"]
9649 [::std::mem::size_of::<_php_stream_filter_chain>() - 24usize];
9650 ["Alignment of _php_stream_filter_chain"]
9651 [::std::mem::align_of::<_php_stream_filter_chain>() - 8usize];
9652 ["Offset of field: _php_stream_filter_chain::head"]
9653 [::std::mem::offset_of!(_php_stream_filter_chain, head) - 0usize];
9654 ["Offset of field: _php_stream_filter_chain::tail"]
9655 [::std::mem::offset_of!(_php_stream_filter_chain, tail) - 8usize];
9656 ["Offset of field: _php_stream_filter_chain::stream"]
9657 [::std::mem::offset_of!(_php_stream_filter_chain, stream) - 16usize];
9658};
9659pub type php_stream_filter_chain = _php_stream_filter_chain;
9660#[repr(C)]
9661#[derive(Copy, Clone)]
9662pub struct _php_stream_filter {
9663 pub fops: *const php_stream_filter_ops,
9664 pub abstract_: zval,
9665 pub next: *mut php_stream_filter,
9666 pub prev: *mut php_stream_filter,
9667 pub is_persistent: ::std::os::raw::c_int,
9668 pub chain: *mut php_stream_filter_chain,
9669 pub buffer: php_stream_bucket_brigade,
9670 pub res: *mut zend_resource,
9671}
9672#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9673const _: () = {
9674 ["Size of _php_stream_filter"][::std::mem::size_of::<_php_stream_filter>() - 80usize];
9675 ["Alignment of _php_stream_filter"][::std::mem::align_of::<_php_stream_filter>() - 8usize];
9676 ["Offset of field: _php_stream_filter::fops"]
9677 [::std::mem::offset_of!(_php_stream_filter, fops) - 0usize];
9678 ["Offset of field: _php_stream_filter::abstract_"]
9679 [::std::mem::offset_of!(_php_stream_filter, abstract_) - 8usize];
9680 ["Offset of field: _php_stream_filter::next"]
9681 [::std::mem::offset_of!(_php_stream_filter, next) - 24usize];
9682 ["Offset of field: _php_stream_filter::prev"]
9683 [::std::mem::offset_of!(_php_stream_filter, prev) - 32usize];
9684 ["Offset of field: _php_stream_filter::is_persistent"]
9685 [::std::mem::offset_of!(_php_stream_filter, is_persistent) - 40usize];
9686 ["Offset of field: _php_stream_filter::chain"]
9687 [::std::mem::offset_of!(_php_stream_filter, chain) - 48usize];
9688 ["Offset of field: _php_stream_filter::buffer"]
9689 [::std::mem::offset_of!(_php_stream_filter, buffer) - 56usize];
9690 ["Offset of field: _php_stream_filter::res"]
9691 [::std::mem::offset_of!(_php_stream_filter, res) - 72usize];
9692};
9693extern "C" {
9694 pub fn php_stream_filter_prepend_ex(
9695 chain: *mut php_stream_filter_chain,
9696 filter: *mut php_stream_filter,
9697 ) -> ::std::os::raw::c_int;
9698}
9699extern "C" {
9700 pub fn php_stream_filter_append_ex(
9701 chain: *mut php_stream_filter_chain,
9702 filter: *mut php_stream_filter,
9703 ) -> ::std::os::raw::c_int;
9704}
9705extern "C" {
9706 pub fn php_stream_filter_remove(
9707 filter: *mut php_stream_filter,
9708 call_dtor: ::std::os::raw::c_int,
9709 ) -> *mut php_stream_filter;
9710}
9711extern "C" {
9712 pub fn php_stream_filter_free(filter: *mut php_stream_filter);
9713}
9714#[repr(C)]
9715#[derive(Debug, Copy, Clone)]
9716pub struct _php_stream_filter_factory {
9717 pub create_filter: ::std::option::Option<
9718 unsafe extern "C" fn(
9719 filtername: *const ::std::os::raw::c_char,
9720 filterparams: *mut zval,
9721 persistent: u8,
9722 ) -> *mut php_stream_filter,
9723 >,
9724}
9725#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9726const _: () = {
9727 ["Size of _php_stream_filter_factory"]
9728 [::std::mem::size_of::<_php_stream_filter_factory>() - 8usize];
9729 ["Alignment of _php_stream_filter_factory"]
9730 [::std::mem::align_of::<_php_stream_filter_factory>() - 8usize];
9731 ["Offset of field: _php_stream_filter_factory::create_filter"]
9732 [::std::mem::offset_of!(_php_stream_filter_factory, create_filter) - 0usize];
9733};
9734pub type php_stream_filter_factory = _php_stream_filter_factory;
9735extern "C" {
9736 pub fn php_stream_filter_register_factory(
9737 filterpattern: *const ::std::os::raw::c_char,
9738 factory: *const php_stream_filter_factory,
9739 ) -> ::std::os::raw::c_int;
9740}
9741extern "C" {
9742 pub fn php_stream_filter_unregister_factory(
9743 filterpattern: *const ::std::os::raw::c_char,
9744 ) -> ::std::os::raw::c_int;
9745}
9746extern "C" {
9747 pub fn php_stream_filter_register_factory_volatile(
9748 filterpattern: *mut zend_string,
9749 factory: *const php_stream_filter_factory,
9750 ) -> ::std::os::raw::c_int;
9751}
9752extern "C" {
9753 pub fn php_stream_filter_create(
9754 filtername: *const ::std::os::raw::c_char,
9755 filterparams: *mut zval,
9756 persistent: u8,
9757 ) -> *mut php_stream_filter;
9758}
9759#[repr(C)]
9760#[derive(Debug, Copy, Clone)]
9761pub struct _php_stream_statbuf {
9762 pub sb: zend_stat_t,
9763}
9764#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9765const _: () = {
9766 ["Size of _php_stream_statbuf"][::std::mem::size_of::<_php_stream_statbuf>() - 144usize];
9767 ["Alignment of _php_stream_statbuf"][::std::mem::align_of::<_php_stream_statbuf>() - 8usize];
9768 ["Offset of field: _php_stream_statbuf::sb"]
9769 [::std::mem::offset_of!(_php_stream_statbuf, sb) - 0usize];
9770};
9771pub type php_stream_statbuf = _php_stream_statbuf;
9772#[repr(C)]
9773#[derive(Debug, Copy, Clone)]
9774pub struct _php_stream_ops {
9775 pub write: ::std::option::Option<
9776 unsafe extern "C" fn(
9777 stream: *mut php_stream,
9778 buf: *const ::std::os::raw::c_char,
9779 count: usize,
9780 ) -> isize,
9781 >,
9782 pub read: ::std::option::Option<
9783 unsafe extern "C" fn(
9784 stream: *mut php_stream,
9785 buf: *mut ::std::os::raw::c_char,
9786 count: usize,
9787 ) -> isize,
9788 >,
9789 pub close: ::std::option::Option<
9790 unsafe extern "C" fn(
9791 stream: *mut php_stream,
9792 close_handle: ::std::os::raw::c_int,
9793 ) -> ::std::os::raw::c_int,
9794 >,
9795 pub flush: ::std::option::Option<
9796 unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
9797 >,
9798 pub label: *const ::std::os::raw::c_char,
9799 pub seek: ::std::option::Option<
9800 unsafe extern "C" fn(
9801 stream: *mut php_stream,
9802 offset: zend_off_t,
9803 whence: ::std::os::raw::c_int,
9804 newoffset: *mut zend_off_t,
9805 ) -> ::std::os::raw::c_int,
9806 >,
9807 pub cast: ::std::option::Option<
9808 unsafe extern "C" fn(
9809 stream: *mut php_stream,
9810 castas: ::std::os::raw::c_int,
9811 ret: *mut *mut ::std::os::raw::c_void,
9812 ) -> ::std::os::raw::c_int,
9813 >,
9814 pub stat: ::std::option::Option<
9815 unsafe extern "C" fn(
9816 stream: *mut php_stream,
9817 ssb: *mut php_stream_statbuf,
9818 ) -> ::std::os::raw::c_int,
9819 >,
9820 pub set_option: ::std::option::Option<
9821 unsafe extern "C" fn(
9822 stream: *mut php_stream,
9823 option: ::std::os::raw::c_int,
9824 value: ::std::os::raw::c_int,
9825 ptrparam: *mut ::std::os::raw::c_void,
9826 ) -> ::std::os::raw::c_int,
9827 >,
9828}
9829#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9830const _: () = {
9831 ["Size of _php_stream_ops"][::std::mem::size_of::<_php_stream_ops>() - 72usize];
9832 ["Alignment of _php_stream_ops"][::std::mem::align_of::<_php_stream_ops>() - 8usize];
9833 ["Offset of field: _php_stream_ops::write"]
9834 [::std::mem::offset_of!(_php_stream_ops, write) - 0usize];
9835 ["Offset of field: _php_stream_ops::read"]
9836 [::std::mem::offset_of!(_php_stream_ops, read) - 8usize];
9837 ["Offset of field: _php_stream_ops::close"]
9838 [::std::mem::offset_of!(_php_stream_ops, close) - 16usize];
9839 ["Offset of field: _php_stream_ops::flush"]
9840 [::std::mem::offset_of!(_php_stream_ops, flush) - 24usize];
9841 ["Offset of field: _php_stream_ops::label"]
9842 [::std::mem::offset_of!(_php_stream_ops, label) - 32usize];
9843 ["Offset of field: _php_stream_ops::seek"]
9844 [::std::mem::offset_of!(_php_stream_ops, seek) - 40usize];
9845 ["Offset of field: _php_stream_ops::cast"]
9846 [::std::mem::offset_of!(_php_stream_ops, cast) - 48usize];
9847 ["Offset of field: _php_stream_ops::stat"]
9848 [::std::mem::offset_of!(_php_stream_ops, stat) - 56usize];
9849 ["Offset of field: _php_stream_ops::set_option"]
9850 [::std::mem::offset_of!(_php_stream_ops, set_option) - 64usize];
9851};
9852pub type php_stream_ops = _php_stream_ops;
9853#[repr(C)]
9854#[derive(Debug, Copy, Clone)]
9855pub struct _php_stream_wrapper_ops {
9856 pub stream_opener: ::std::option::Option<
9857 unsafe extern "C" fn(
9858 wrapper: *mut php_stream_wrapper,
9859 filename: *const ::std::os::raw::c_char,
9860 mode: *const ::std::os::raw::c_char,
9861 options: ::std::os::raw::c_int,
9862 opened_path: *mut *mut zend_string,
9863 context: *mut php_stream_context,
9864 ) -> *mut php_stream,
9865 >,
9866 pub stream_closer: ::std::option::Option<
9867 unsafe extern "C" fn(
9868 wrapper: *mut php_stream_wrapper,
9869 stream: *mut php_stream,
9870 ) -> ::std::os::raw::c_int,
9871 >,
9872 pub stream_stat: ::std::option::Option<
9873 unsafe extern "C" fn(
9874 wrapper: *mut php_stream_wrapper,
9875 stream: *mut php_stream,
9876 ssb: *mut php_stream_statbuf,
9877 ) -> ::std::os::raw::c_int,
9878 >,
9879 pub url_stat: ::std::option::Option<
9880 unsafe extern "C" fn(
9881 wrapper: *mut php_stream_wrapper,
9882 url: *const ::std::os::raw::c_char,
9883 flags: ::std::os::raw::c_int,
9884 ssb: *mut php_stream_statbuf,
9885 context: *mut php_stream_context,
9886 ) -> ::std::os::raw::c_int,
9887 >,
9888 pub dir_opener: ::std::option::Option<
9889 unsafe extern "C" fn(
9890 wrapper: *mut php_stream_wrapper,
9891 filename: *const ::std::os::raw::c_char,
9892 mode: *const ::std::os::raw::c_char,
9893 options: ::std::os::raw::c_int,
9894 opened_path: *mut *mut zend_string,
9895 context: *mut php_stream_context,
9896 ) -> *mut php_stream,
9897 >,
9898 pub label: *const ::std::os::raw::c_char,
9899 pub unlink: ::std::option::Option<
9900 unsafe extern "C" fn(
9901 wrapper: *mut php_stream_wrapper,
9902 url: *const ::std::os::raw::c_char,
9903 options: ::std::os::raw::c_int,
9904 context: *mut php_stream_context,
9905 ) -> ::std::os::raw::c_int,
9906 >,
9907 pub rename: ::std::option::Option<
9908 unsafe extern "C" fn(
9909 wrapper: *mut php_stream_wrapper,
9910 url_from: *const ::std::os::raw::c_char,
9911 url_to: *const ::std::os::raw::c_char,
9912 options: ::std::os::raw::c_int,
9913 context: *mut php_stream_context,
9914 ) -> ::std::os::raw::c_int,
9915 >,
9916 pub stream_mkdir: ::std::option::Option<
9917 unsafe extern "C" fn(
9918 wrapper: *mut php_stream_wrapper,
9919 url: *const ::std::os::raw::c_char,
9920 mode: ::std::os::raw::c_int,
9921 options: ::std::os::raw::c_int,
9922 context: *mut php_stream_context,
9923 ) -> ::std::os::raw::c_int,
9924 >,
9925 pub stream_rmdir: ::std::option::Option<
9926 unsafe extern "C" fn(
9927 wrapper: *mut php_stream_wrapper,
9928 url: *const ::std::os::raw::c_char,
9929 options: ::std::os::raw::c_int,
9930 context: *mut php_stream_context,
9931 ) -> ::std::os::raw::c_int,
9932 >,
9933 pub stream_metadata: ::std::option::Option<
9934 unsafe extern "C" fn(
9935 wrapper: *mut php_stream_wrapper,
9936 url: *const ::std::os::raw::c_char,
9937 options: ::std::os::raw::c_int,
9938 value: *mut ::std::os::raw::c_void,
9939 context: *mut php_stream_context,
9940 ) -> ::std::os::raw::c_int,
9941 >,
9942}
9943#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9944const _: () = {
9945 ["Size of _php_stream_wrapper_ops"][::std::mem::size_of::<_php_stream_wrapper_ops>() - 88usize];
9946 ["Alignment of _php_stream_wrapper_ops"]
9947 [::std::mem::align_of::<_php_stream_wrapper_ops>() - 8usize];
9948 ["Offset of field: _php_stream_wrapper_ops::stream_opener"]
9949 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_opener) - 0usize];
9950 ["Offset of field: _php_stream_wrapper_ops::stream_closer"]
9951 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_closer) - 8usize];
9952 ["Offset of field: _php_stream_wrapper_ops::stream_stat"]
9953 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_stat) - 16usize];
9954 ["Offset of field: _php_stream_wrapper_ops::url_stat"]
9955 [::std::mem::offset_of!(_php_stream_wrapper_ops, url_stat) - 24usize];
9956 ["Offset of field: _php_stream_wrapper_ops::dir_opener"]
9957 [::std::mem::offset_of!(_php_stream_wrapper_ops, dir_opener) - 32usize];
9958 ["Offset of field: _php_stream_wrapper_ops::label"]
9959 [::std::mem::offset_of!(_php_stream_wrapper_ops, label) - 40usize];
9960 ["Offset of field: _php_stream_wrapper_ops::unlink"]
9961 [::std::mem::offset_of!(_php_stream_wrapper_ops, unlink) - 48usize];
9962 ["Offset of field: _php_stream_wrapper_ops::rename"]
9963 [::std::mem::offset_of!(_php_stream_wrapper_ops, rename) - 56usize];
9964 ["Offset of field: _php_stream_wrapper_ops::stream_mkdir"]
9965 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_mkdir) - 64usize];
9966 ["Offset of field: _php_stream_wrapper_ops::stream_rmdir"]
9967 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_rmdir) - 72usize];
9968 ["Offset of field: _php_stream_wrapper_ops::stream_metadata"]
9969 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_metadata) - 80usize];
9970};
9971pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
9972#[repr(C)]
9973#[derive(Debug, Copy, Clone)]
9974pub struct _php_stream_wrapper {
9975 pub wops: *const php_stream_wrapper_ops,
9976 pub abstract_: *mut ::std::os::raw::c_void,
9977 pub is_url: ::std::os::raw::c_int,
9978}
9979#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9980const _: () = {
9981 ["Size of _php_stream_wrapper"][::std::mem::size_of::<_php_stream_wrapper>() - 24usize];
9982 ["Alignment of _php_stream_wrapper"][::std::mem::align_of::<_php_stream_wrapper>() - 8usize];
9983 ["Offset of field: _php_stream_wrapper::wops"]
9984 [::std::mem::offset_of!(_php_stream_wrapper, wops) - 0usize];
9985 ["Offset of field: _php_stream_wrapper::abstract_"]
9986 [::std::mem::offset_of!(_php_stream_wrapper, abstract_) - 8usize];
9987 ["Offset of field: _php_stream_wrapper::is_url"]
9988 [::std::mem::offset_of!(_php_stream_wrapper, is_url) - 16usize];
9989};
9990#[repr(C)]
9991#[derive(Copy, Clone)]
9992pub struct _php_stream {
9993 pub ops: *const php_stream_ops,
9994 pub abstract_: *mut ::std::os::raw::c_void,
9995 pub readfilters: php_stream_filter_chain,
9996 pub writefilters: php_stream_filter_chain,
9997 pub wrapper: *mut php_stream_wrapper,
9998 pub wrapperthis: *mut ::std::os::raw::c_void,
9999 pub wrapperdata: zval,
10000 pub _bitfield_align_1: [u8; 0],
10001 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
10002 pub mode: [::std::os::raw::c_char; 16usize],
10003 pub flags: u32,
10004 pub res: *mut zend_resource,
10005 pub stdiocast: *mut FILE,
10006 pub orig_path: *mut ::std::os::raw::c_char,
10007 pub ctx: *mut zend_resource,
10008 pub position: zend_off_t,
10009 pub readbuf: *mut ::std::os::raw::c_uchar,
10010 pub readbuflen: usize,
10011 pub readpos: zend_off_t,
10012 pub writepos: zend_off_t,
10013 pub chunk_size: usize,
10014 pub enclosing_stream: *mut _php_stream,
10015}
10016#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10017const _: () = {
10018 ["Size of _php_stream"][::std::mem::size_of::<_php_stream>() - 208usize];
10019 ["Alignment of _php_stream"][::std::mem::align_of::<_php_stream>() - 8usize];
10020 ["Offset of field: _php_stream::ops"][::std::mem::offset_of!(_php_stream, ops) - 0usize];
10021 ["Offset of field: _php_stream::abstract_"]
10022 [::std::mem::offset_of!(_php_stream, abstract_) - 8usize];
10023 ["Offset of field: _php_stream::readfilters"]
10024 [::std::mem::offset_of!(_php_stream, readfilters) - 16usize];
10025 ["Offset of field: _php_stream::writefilters"]
10026 [::std::mem::offset_of!(_php_stream, writefilters) - 40usize];
10027 ["Offset of field: _php_stream::wrapper"]
10028 [::std::mem::offset_of!(_php_stream, wrapper) - 64usize];
10029 ["Offset of field: _php_stream::wrapperthis"]
10030 [::std::mem::offset_of!(_php_stream, wrapperthis) - 72usize];
10031 ["Offset of field: _php_stream::wrapperdata"]
10032 [::std::mem::offset_of!(_php_stream, wrapperdata) - 80usize];
10033 ["Offset of field: _php_stream::mode"][::std::mem::offset_of!(_php_stream, mode) - 97usize];
10034 ["Offset of field: _php_stream::flags"][::std::mem::offset_of!(_php_stream, flags) - 116usize];
10035 ["Offset of field: _php_stream::res"][::std::mem::offset_of!(_php_stream, res) - 120usize];
10036 ["Offset of field: _php_stream::stdiocast"]
10037 [::std::mem::offset_of!(_php_stream, stdiocast) - 128usize];
10038 ["Offset of field: _php_stream::orig_path"]
10039 [::std::mem::offset_of!(_php_stream, orig_path) - 136usize];
10040 ["Offset of field: _php_stream::ctx"][::std::mem::offset_of!(_php_stream, ctx) - 144usize];
10041 ["Offset of field: _php_stream::position"]
10042 [::std::mem::offset_of!(_php_stream, position) - 152usize];
10043 ["Offset of field: _php_stream::readbuf"]
10044 [::std::mem::offset_of!(_php_stream, readbuf) - 160usize];
10045 ["Offset of field: _php_stream::readbuflen"]
10046 [::std::mem::offset_of!(_php_stream, readbuflen) - 168usize];
10047 ["Offset of field: _php_stream::readpos"]
10048 [::std::mem::offset_of!(_php_stream, readpos) - 176usize];
10049 ["Offset of field: _php_stream::writepos"]
10050 [::std::mem::offset_of!(_php_stream, writepos) - 184usize];
10051 ["Offset of field: _php_stream::chunk_size"]
10052 [::std::mem::offset_of!(_php_stream, chunk_size) - 192usize];
10053 ["Offset of field: _php_stream::enclosing_stream"]
10054 [::std::mem::offset_of!(_php_stream, enclosing_stream) - 200usize];
10055};
10056impl _php_stream {
10057 #[inline]
10058 pub fn is_persistent(&self) -> u8 {
10059 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
10060 }
10061 #[inline]
10062 pub fn set_is_persistent(&mut self, val: u8) {
10063 unsafe {
10064 let val: u8 = ::std::mem::transmute(val);
10065 self._bitfield_1.set(0usize, 1u8, val as u64)
10066 }
10067 }
10068 #[inline]
10069 pub fn in_free(&self) -> u8 {
10070 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 2u8) as u8) }
10071 }
10072 #[inline]
10073 pub fn set_in_free(&mut self, val: u8) {
10074 unsafe {
10075 let val: u8 = ::std::mem::transmute(val);
10076 self._bitfield_1.set(1usize, 2u8, val as u64)
10077 }
10078 }
10079 #[inline]
10080 pub fn eof(&self) -> u8 {
10081 unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
10082 }
10083 #[inline]
10084 pub fn set_eof(&mut self, val: u8) {
10085 unsafe {
10086 let val: u8 = ::std::mem::transmute(val);
10087 self._bitfield_1.set(3usize, 1u8, val as u64)
10088 }
10089 }
10090 #[inline]
10091 pub fn __exposed(&self) -> u8 {
10092 unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) }
10093 }
10094 #[inline]
10095 pub fn set___exposed(&mut self, val: u8) {
10096 unsafe {
10097 let val: u8 = ::std::mem::transmute(val);
10098 self._bitfield_1.set(4usize, 1u8, val as u64)
10099 }
10100 }
10101 #[inline]
10102 pub fn fclose_stdiocast(&self) -> u8 {
10103 unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 2u8) as u8) }
10104 }
10105 #[inline]
10106 pub fn set_fclose_stdiocast(&mut self, val: u8) {
10107 unsafe {
10108 let val: u8 = ::std::mem::transmute(val);
10109 self._bitfield_1.set(5usize, 2u8, val as u64)
10110 }
10111 }
10112 #[inline]
10113 pub fn fclose_stdiocast_flush_in_progress(&self) -> u8 {
10114 unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u8) }
10115 }
10116 #[inline]
10117 pub fn set_fclose_stdiocast_flush_in_progress(&mut self, val: u8) {
10118 unsafe {
10119 let val: u8 = ::std::mem::transmute(val);
10120 self._bitfield_1.set(7usize, 1u8, val as u64)
10121 }
10122 }
10123 #[inline]
10124 pub fn new_bitfield_1(
10125 is_persistent: u8,
10126 in_free: u8,
10127 eof: u8,
10128 __exposed: u8,
10129 fclose_stdiocast: u8,
10130 fclose_stdiocast_flush_in_progress: u8,
10131 ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
10132 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
10133 __bindgen_bitfield_unit.set(0usize, 1u8, {
10134 let is_persistent: u8 = unsafe { ::std::mem::transmute(is_persistent) };
10135 is_persistent as u64
10136 });
10137 __bindgen_bitfield_unit.set(1usize, 2u8, {
10138 let in_free: u8 = unsafe { ::std::mem::transmute(in_free) };
10139 in_free as u64
10140 });
10141 __bindgen_bitfield_unit.set(3usize, 1u8, {
10142 let eof: u8 = unsafe { ::std::mem::transmute(eof) };
10143 eof as u64
10144 });
10145 __bindgen_bitfield_unit.set(4usize, 1u8, {
10146 let __exposed: u8 = unsafe { ::std::mem::transmute(__exposed) };
10147 __exposed as u64
10148 });
10149 __bindgen_bitfield_unit.set(5usize, 2u8, {
10150 let fclose_stdiocast: u8 = unsafe { ::std::mem::transmute(fclose_stdiocast) };
10151 fclose_stdiocast as u64
10152 });
10153 __bindgen_bitfield_unit.set(7usize, 1u8, {
10154 let fclose_stdiocast_flush_in_progress: u8 =
10155 unsafe { ::std::mem::transmute(fclose_stdiocast_flush_in_progress) };
10156 fclose_stdiocast_flush_in_progress as u64
10157 });
10158 __bindgen_bitfield_unit
10159 }
10160}
10161extern "C" {
10162 pub fn php_stream_encloses(
10163 enclosing: *mut php_stream,
10164 enclosed: *mut php_stream,
10165 ) -> *mut php_stream;
10166}
10167extern "C" {
10168 pub fn php_stream_from_persistent_id(
10169 persistent_id: *const ::std::os::raw::c_char,
10170 stream: *mut *mut php_stream,
10171 ) -> ::std::os::raw::c_int;
10172}
10173extern "C" {
10174 pub fn php_stream_read_to_str(stream: *mut php_stream, len: usize) -> *mut zend_string;
10175}
10176extern "C" {
10177 pub fn php_stream_get_record(
10178 stream: *mut php_stream,
10179 maxlen: usize,
10180 delim: *const ::std::os::raw::c_char,
10181 delim_len: usize,
10182 ) -> *mut zend_string;
10183}
10184extern "C" {
10185 pub fn php_stream_dirent_alphasort(
10186 a: *mut *const zend_string,
10187 b: *mut *const zend_string,
10188 ) -> ::std::os::raw::c_int;
10189}
10190extern "C" {
10191 pub fn php_stream_dirent_alphasortr(
10192 a: *mut *const zend_string,
10193 b: *mut *const zend_string,
10194 ) -> ::std::os::raw::c_int;
10195}
10196pub type php_stream_transport_factory_func = ::std::option::Option<
10197 unsafe extern "C" fn(
10198 proto: *const ::std::os::raw::c_char,
10199 protolen: usize,
10200 resourcename: *const ::std::os::raw::c_char,
10201 resourcenamelen: usize,
10202 persistent_id: *const ::std::os::raw::c_char,
10203 options: ::std::os::raw::c_int,
10204 flags: ::std::os::raw::c_int,
10205 timeout: *mut timeval,
10206 context: *mut php_stream_context,
10207 ) -> *mut php_stream,
10208>;
10209pub type php_stream_transport_factory = php_stream_transport_factory_func;
10210extern "C" {
10211 pub fn php_stream_xport_register(
10212 protocol: *const ::std::os::raw::c_char,
10213 factory: php_stream_transport_factory,
10214 ) -> ::std::os::raw::c_int;
10215}
10216extern "C" {
10217 pub fn php_stream_xport_unregister(
10218 protocol: *const ::std::os::raw::c_char,
10219 ) -> ::std::os::raw::c_int;
10220}
10221extern "C" {
10222 pub fn php_stream_xport_bind(
10223 stream: *mut php_stream,
10224 name: *const ::std::os::raw::c_char,
10225 namelen: usize,
10226 error_text: *mut *mut zend_string,
10227 ) -> ::std::os::raw::c_int;
10228}
10229extern "C" {
10230 pub fn php_stream_xport_connect(
10231 stream: *mut php_stream,
10232 name: *const ::std::os::raw::c_char,
10233 namelen: usize,
10234 asynchronous: ::std::os::raw::c_int,
10235 timeout: *mut timeval,
10236 error_text: *mut *mut zend_string,
10237 error_code: *mut ::std::os::raw::c_int,
10238 ) -> ::std::os::raw::c_int;
10239}
10240extern "C" {
10241 pub fn php_stream_xport_listen(
10242 stream: *mut php_stream,
10243 backlog: ::std::os::raw::c_int,
10244 error_text: *mut *mut zend_string,
10245 ) -> ::std::os::raw::c_int;
10246}
10247extern "C" {
10248 pub fn php_stream_xport_accept(
10249 stream: *mut php_stream,
10250 client: *mut *mut php_stream,
10251 textaddr: *mut *mut zend_string,
10252 addr: *mut *mut ::std::os::raw::c_void,
10253 addrlen: *mut socklen_t,
10254 timeout: *mut timeval,
10255 error_text: *mut *mut zend_string,
10256 ) -> ::std::os::raw::c_int;
10257}
10258extern "C" {
10259 pub fn php_stream_xport_get_name(
10260 stream: *mut php_stream,
10261 want_peer: ::std::os::raw::c_int,
10262 textaddr: *mut *mut zend_string,
10263 addr: *mut *mut ::std::os::raw::c_void,
10264 addrlen: *mut socklen_t,
10265 ) -> ::std::os::raw::c_int;
10266}
10267extern "C" {
10268 pub fn php_stream_xport_recvfrom(
10269 stream: *mut php_stream,
10270 buf: *mut ::std::os::raw::c_char,
10271 buflen: usize,
10272 flags: ::std::os::raw::c_int,
10273 addr: *mut *mut ::std::os::raw::c_void,
10274 addrlen: *mut socklen_t,
10275 textaddr: *mut *mut zend_string,
10276 ) -> ::std::os::raw::c_int;
10277}
10278extern "C" {
10279 pub fn php_stream_xport_sendto(
10280 stream: *mut php_stream,
10281 buf: *const ::std::os::raw::c_char,
10282 buflen: usize,
10283 flags: ::std::os::raw::c_int,
10284 addr: *mut ::std::os::raw::c_void,
10285 addrlen: socklen_t,
10286 ) -> ::std::os::raw::c_int;
10287}
10288pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
10289pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
10290pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
10291pub type stream_shutdown_t = ::std::os::raw::c_uint;
10292extern "C" {
10293 pub fn php_stream_xport_shutdown(
10294 stream: *mut php_stream,
10295 how: stream_shutdown_t,
10296 ) -> ::std::os::raw::c_int;
10297}
10298pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
10299 php_stream_xport_crypt_method_t = 3;
10300pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
10301 php_stream_xport_crypt_method_t = 5;
10302pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
10303 php_stream_xport_crypt_method_t = 57;
10304pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
10305 php_stream_xport_crypt_method_t = 9;
10306pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
10307 php_stream_xport_crypt_method_t = 17;
10308pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
10309 php_stream_xport_crypt_method_t = 33;
10310pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT:
10311 php_stream_xport_crypt_method_t = 65;
10312pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
10313 php_stream_xport_crypt_method_t = 121;
10314pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
10315 php_stream_xport_crypt_method_t = 121;
10316pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
10317 php_stream_xport_crypt_method_t = 127;
10318pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
10319 php_stream_xport_crypt_method_t = 2;
10320pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
10321 php_stream_xport_crypt_method_t = 4;
10322pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
10323 php_stream_xport_crypt_method_t = 120;
10324pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
10325 php_stream_xport_crypt_method_t = 8;
10326pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
10327 php_stream_xport_crypt_method_t = 16;
10328pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
10329 php_stream_xport_crypt_method_t = 32;
10330pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_SERVER:
10331 php_stream_xport_crypt_method_t = 64;
10332pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
10333 php_stream_xport_crypt_method_t = 120;
10334pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
10335 php_stream_xport_crypt_method_t = 120;
10336pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
10337 php_stream_xport_crypt_method_t = 126;
10338pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
10339extern "C" {
10340 pub fn php_stream_xport_crypto_setup(
10341 stream: *mut php_stream,
10342 crypto_method: php_stream_xport_crypt_method_t,
10343 session_stream: *mut php_stream,
10344 ) -> ::std::os::raw::c_int;
10345}
10346extern "C" {
10347 pub fn php_stream_xport_crypto_enable(
10348 stream: *mut php_stream,
10349 activate: ::std::os::raw::c_int,
10350 ) -> ::std::os::raw::c_int;
10351}
10352extern "C" {
10353 pub fn php_stream_xport_get_hash() -> *mut HashTable;
10354}
10355extern "C" {
10356 pub fn php_stream_generic_socket_factory(
10357 proto: *const ::std::os::raw::c_char,
10358 protolen: usize,
10359 resourcename: *const ::std::os::raw::c_char,
10360 resourcenamelen: usize,
10361 persistent_id: *const ::std::os::raw::c_char,
10362 options: ::std::os::raw::c_int,
10363 flags: ::std::os::raw::c_int,
10364 timeout: *mut timeval,
10365 context: *mut php_stream_context,
10366 ) -> *mut php_stream;
10367}
10368extern "C" {
10369 pub static mut php_stream_stdio_ops: php_stream_ops;
10370}
10371extern "C" {
10372 pub static mut php_plain_files_wrapper: php_stream_wrapper;
10373}
10374extern "C" {
10375 pub fn php_stream_parse_fopen_modes(
10376 mode: *const ::std::os::raw::c_char,
10377 open_flags: *mut ::std::os::raw::c_int,
10378 ) -> ::std::os::raw::c_int;
10379}
10380extern "C" {
10381 pub static php_glob_stream_wrapper: php_stream_wrapper;
10382}
10383extern "C" {
10384 pub static php_glob_stream_ops: php_stream_ops;
10385}
10386extern "C" {
10387 pub static php_stream_userspace_ops: php_stream_ops;
10388}
10389extern "C" {
10390 pub static php_stream_userspace_dir_ops: php_stream_ops;
10391}
10392extern "C" {
10393 pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
10394}
10395extern "C" {
10396 pub fn php_shutdown_stream_wrappers(
10397 module_number: ::std::os::raw::c_int,
10398 ) -> ::std::os::raw::c_int;
10399}
10400extern "C" {
10401 pub fn php_shutdown_stream_hashes();
10402}
10403extern "C" {
10404 pub fn php_register_url_stream_wrapper(
10405 protocol: *const ::std::os::raw::c_char,
10406 wrapper: *const php_stream_wrapper,
10407 ) -> ::std::os::raw::c_int;
10408}
10409extern "C" {
10410 pub fn php_unregister_url_stream_wrapper(
10411 protocol: *const ::std::os::raw::c_char,
10412 ) -> ::std::os::raw::c_int;
10413}
10414extern "C" {
10415 pub fn php_register_url_stream_wrapper_volatile(
10416 protocol: *mut zend_string,
10417 wrapper: *mut php_stream_wrapper,
10418 ) -> ::std::os::raw::c_int;
10419}
10420extern "C" {
10421 pub fn php_unregister_url_stream_wrapper_volatile(
10422 protocol: *mut zend_string,
10423 ) -> ::std::os::raw::c_int;
10424}
10425extern "C" {
10426 pub fn php_stream_locate_url_wrapper(
10427 path: *const ::std::os::raw::c_char,
10428 path_for_open: *mut *const ::std::os::raw::c_char,
10429 options: ::std::os::raw::c_int,
10430 ) -> *mut php_stream_wrapper;
10431}
10432extern "C" {
10433 pub fn php_stream_locate_eol(
10434 stream: *mut php_stream,
10435 buf: *mut zend_string,
10436 ) -> *const ::std::os::raw::c_char;
10437}
10438extern "C" {
10439 pub fn php_stream_wrapper_log_error(
10440 wrapper: *const php_stream_wrapper,
10441 options: ::std::os::raw::c_int,
10442 fmt: *const ::std::os::raw::c_char,
10443 ...
10444 );
10445}
10446extern "C" {
10447 pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
10448}
10449extern "C" {
10450 pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
10451}
10452extern "C" {
10453 pub static mut php_stream_user_wrapper_ops: *const php_stream_wrapper_ops;
10454}
10455extern "C" {
10456 pub fn php_stream_mode_from_str(mode: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
10457}
10458extern "C" {
10459 pub static php_stream_memory_ops: php_stream_ops;
10460}
10461extern "C" {
10462 pub static php_stream_temp_ops: php_stream_ops;
10463}
10464extern "C" {
10465 pub static php_stream_rfc2397_ops: php_stream_ops;
10466}
10467extern "C" {
10468 pub static php_stream_rfc2397_wrapper: php_stream_wrapper;
10469}
10470#[repr(C)]
10471#[derive(Copy, Clone)]
10472pub struct _php_core_globals {
10473 pub implicit_flush: bool,
10474 pub output_buffering: zend_long,
10475 pub enable_dl: bool,
10476 pub output_handler: *mut ::std::os::raw::c_char,
10477 pub unserialize_callback_func: *mut ::std::os::raw::c_char,
10478 pub serialize_precision: zend_long,
10479 pub memory_limit: zend_long,
10480 pub max_input_time: zend_long,
10481 pub display_errors: zend_uchar,
10482 pub display_startup_errors: bool,
10483 pub log_errors: bool,
10484 pub ignore_repeated_errors: bool,
10485 pub ignore_repeated_source: bool,
10486 pub report_memleaks: bool,
10487 pub error_log: *mut ::std::os::raw::c_char,
10488 pub doc_root: *mut ::std::os::raw::c_char,
10489 pub user_dir: *mut ::std::os::raw::c_char,
10490 pub include_path: *mut ::std::os::raw::c_char,
10491 pub open_basedir: *mut ::std::os::raw::c_char,
10492 pub extension_dir: *mut ::std::os::raw::c_char,
10493 pub php_binary: *mut ::std::os::raw::c_char,
10494 pub sys_temp_dir: *mut ::std::os::raw::c_char,
10495 pub upload_tmp_dir: *mut ::std::os::raw::c_char,
10496 pub upload_max_filesize: zend_long,
10497 pub error_append_string: *mut ::std::os::raw::c_char,
10498 pub error_prepend_string: *mut ::std::os::raw::c_char,
10499 pub auto_prepend_file: *mut ::std::os::raw::c_char,
10500 pub auto_append_file: *mut ::std::os::raw::c_char,
10501 pub input_encoding: *mut ::std::os::raw::c_char,
10502 pub internal_encoding: *mut ::std::os::raw::c_char,
10503 pub output_encoding: *mut ::std::os::raw::c_char,
10504 pub arg_separator: arg_separators,
10505 pub variables_order: *mut ::std::os::raw::c_char,
10506 pub rfc1867_protected_variables: HashTable,
10507 pub connection_status: ::std::os::raw::c_short,
10508 pub ignore_user_abort: bool,
10509 pub header_is_being_sent: ::std::os::raw::c_uchar,
10510 pub tick_functions: zend_llist,
10511 pub http_globals: [zval; 6usize],
10512 pub expose_php: bool,
10513 pub register_argc_argv: bool,
10514 pub auto_globals_jit: bool,
10515 pub docref_root: *mut ::std::os::raw::c_char,
10516 pub docref_ext: *mut ::std::os::raw::c_char,
10517 pub html_errors: bool,
10518 pub xmlrpc_errors: bool,
10519 pub xmlrpc_error_number: zend_long,
10520 pub activated_auto_globals: [bool; 8usize],
10521 pub modules_activated: bool,
10522 pub file_uploads: bool,
10523 pub during_request_startup: bool,
10524 pub allow_url_fopen: bool,
10525 pub enable_post_data_reading: bool,
10526 pub report_zend_debug: bool,
10527 pub last_error_type: ::std::os::raw::c_int,
10528 pub last_error_message: *mut zend_string,
10529 pub last_error_file: *mut zend_string,
10530 pub last_error_lineno: ::std::os::raw::c_int,
10531 pub php_sys_temp_dir: *mut ::std::os::raw::c_char,
10532 pub disable_classes: *mut ::std::os::raw::c_char,
10533 pub allow_url_include: bool,
10534 pub max_input_nesting_level: zend_long,
10535 pub max_input_vars: zend_long,
10536 pub in_user_include: bool,
10537 pub user_ini_filename: *mut ::std::os::raw::c_char,
10538 pub user_ini_cache_ttl: zend_long,
10539 pub request_order: *mut ::std::os::raw::c_char,
10540 pub mail_x_header: bool,
10541 pub mail_log: *mut ::std::os::raw::c_char,
10542 pub in_error_log: bool,
10543 pub syslog_facility: zend_long,
10544 pub syslog_ident: *mut ::std::os::raw::c_char,
10545 pub have_called_openlog: bool,
10546 pub syslog_filter: zend_long,
10547}
10548#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10549const _: () = {
10550 ["Size of _php_core_globals"][::std::mem::size_of::<_php_core_globals>() - 664usize];
10551 ["Alignment of _php_core_globals"][::std::mem::align_of::<_php_core_globals>() - 8usize];
10552 ["Offset of field: _php_core_globals::implicit_flush"]
10553 [::std::mem::offset_of!(_php_core_globals, implicit_flush) - 0usize];
10554 ["Offset of field: _php_core_globals::output_buffering"]
10555 [::std::mem::offset_of!(_php_core_globals, output_buffering) - 8usize];
10556 ["Offset of field: _php_core_globals::enable_dl"]
10557 [::std::mem::offset_of!(_php_core_globals, enable_dl) - 16usize];
10558 ["Offset of field: _php_core_globals::output_handler"]
10559 [::std::mem::offset_of!(_php_core_globals, output_handler) - 24usize];
10560 ["Offset of field: _php_core_globals::unserialize_callback_func"]
10561 [::std::mem::offset_of!(_php_core_globals, unserialize_callback_func) - 32usize];
10562 ["Offset of field: _php_core_globals::serialize_precision"]
10563 [::std::mem::offset_of!(_php_core_globals, serialize_precision) - 40usize];
10564 ["Offset of field: _php_core_globals::memory_limit"]
10565 [::std::mem::offset_of!(_php_core_globals, memory_limit) - 48usize];
10566 ["Offset of field: _php_core_globals::max_input_time"]
10567 [::std::mem::offset_of!(_php_core_globals, max_input_time) - 56usize];
10568 ["Offset of field: _php_core_globals::display_errors"]
10569 [::std::mem::offset_of!(_php_core_globals, display_errors) - 64usize];
10570 ["Offset of field: _php_core_globals::display_startup_errors"]
10571 [::std::mem::offset_of!(_php_core_globals, display_startup_errors) - 65usize];
10572 ["Offset of field: _php_core_globals::log_errors"]
10573 [::std::mem::offset_of!(_php_core_globals, log_errors) - 66usize];
10574 ["Offset of field: _php_core_globals::ignore_repeated_errors"]
10575 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_errors) - 67usize];
10576 ["Offset of field: _php_core_globals::ignore_repeated_source"]
10577 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_source) - 68usize];
10578 ["Offset of field: _php_core_globals::report_memleaks"]
10579 [::std::mem::offset_of!(_php_core_globals, report_memleaks) - 69usize];
10580 ["Offset of field: _php_core_globals::error_log"]
10581 [::std::mem::offset_of!(_php_core_globals, error_log) - 72usize];
10582 ["Offset of field: _php_core_globals::doc_root"]
10583 [::std::mem::offset_of!(_php_core_globals, doc_root) - 80usize];
10584 ["Offset of field: _php_core_globals::user_dir"]
10585 [::std::mem::offset_of!(_php_core_globals, user_dir) - 88usize];
10586 ["Offset of field: _php_core_globals::include_path"]
10587 [::std::mem::offset_of!(_php_core_globals, include_path) - 96usize];
10588 ["Offset of field: _php_core_globals::open_basedir"]
10589 [::std::mem::offset_of!(_php_core_globals, open_basedir) - 104usize];
10590 ["Offset of field: _php_core_globals::extension_dir"]
10591 [::std::mem::offset_of!(_php_core_globals, extension_dir) - 112usize];
10592 ["Offset of field: _php_core_globals::php_binary"]
10593 [::std::mem::offset_of!(_php_core_globals, php_binary) - 120usize];
10594 ["Offset of field: _php_core_globals::sys_temp_dir"]
10595 [::std::mem::offset_of!(_php_core_globals, sys_temp_dir) - 128usize];
10596 ["Offset of field: _php_core_globals::upload_tmp_dir"]
10597 [::std::mem::offset_of!(_php_core_globals, upload_tmp_dir) - 136usize];
10598 ["Offset of field: _php_core_globals::upload_max_filesize"]
10599 [::std::mem::offset_of!(_php_core_globals, upload_max_filesize) - 144usize];
10600 ["Offset of field: _php_core_globals::error_append_string"]
10601 [::std::mem::offset_of!(_php_core_globals, error_append_string) - 152usize];
10602 ["Offset of field: _php_core_globals::error_prepend_string"]
10603 [::std::mem::offset_of!(_php_core_globals, error_prepend_string) - 160usize];
10604 ["Offset of field: _php_core_globals::auto_prepend_file"]
10605 [::std::mem::offset_of!(_php_core_globals, auto_prepend_file) - 168usize];
10606 ["Offset of field: _php_core_globals::auto_append_file"]
10607 [::std::mem::offset_of!(_php_core_globals, auto_append_file) - 176usize];
10608 ["Offset of field: _php_core_globals::input_encoding"]
10609 [::std::mem::offset_of!(_php_core_globals, input_encoding) - 184usize];
10610 ["Offset of field: _php_core_globals::internal_encoding"]
10611 [::std::mem::offset_of!(_php_core_globals, internal_encoding) - 192usize];
10612 ["Offset of field: _php_core_globals::output_encoding"]
10613 [::std::mem::offset_of!(_php_core_globals, output_encoding) - 200usize];
10614 ["Offset of field: _php_core_globals::arg_separator"]
10615 [::std::mem::offset_of!(_php_core_globals, arg_separator) - 208usize];
10616 ["Offset of field: _php_core_globals::variables_order"]
10617 [::std::mem::offset_of!(_php_core_globals, variables_order) - 224usize];
10618 ["Offset of field: _php_core_globals::rfc1867_protected_variables"]
10619 [::std::mem::offset_of!(_php_core_globals, rfc1867_protected_variables) - 232usize];
10620 ["Offset of field: _php_core_globals::connection_status"]
10621 [::std::mem::offset_of!(_php_core_globals, connection_status) - 288usize];
10622 ["Offset of field: _php_core_globals::ignore_user_abort"]
10623 [::std::mem::offset_of!(_php_core_globals, ignore_user_abort) - 290usize];
10624 ["Offset of field: _php_core_globals::header_is_being_sent"]
10625 [::std::mem::offset_of!(_php_core_globals, header_is_being_sent) - 291usize];
10626 ["Offset of field: _php_core_globals::tick_functions"]
10627 [::std::mem::offset_of!(_php_core_globals, tick_functions) - 296usize];
10628 ["Offset of field: _php_core_globals::http_globals"]
10629 [::std::mem::offset_of!(_php_core_globals, http_globals) - 352usize];
10630 ["Offset of field: _php_core_globals::expose_php"]
10631 [::std::mem::offset_of!(_php_core_globals, expose_php) - 448usize];
10632 ["Offset of field: _php_core_globals::register_argc_argv"]
10633 [::std::mem::offset_of!(_php_core_globals, register_argc_argv) - 449usize];
10634 ["Offset of field: _php_core_globals::auto_globals_jit"]
10635 [::std::mem::offset_of!(_php_core_globals, auto_globals_jit) - 450usize];
10636 ["Offset of field: _php_core_globals::docref_root"]
10637 [::std::mem::offset_of!(_php_core_globals, docref_root) - 456usize];
10638 ["Offset of field: _php_core_globals::docref_ext"]
10639 [::std::mem::offset_of!(_php_core_globals, docref_ext) - 464usize];
10640 ["Offset of field: _php_core_globals::html_errors"]
10641 [::std::mem::offset_of!(_php_core_globals, html_errors) - 472usize];
10642 ["Offset of field: _php_core_globals::xmlrpc_errors"]
10643 [::std::mem::offset_of!(_php_core_globals, xmlrpc_errors) - 473usize];
10644 ["Offset of field: _php_core_globals::xmlrpc_error_number"]
10645 [::std::mem::offset_of!(_php_core_globals, xmlrpc_error_number) - 480usize];
10646 ["Offset of field: _php_core_globals::activated_auto_globals"]
10647 [::std::mem::offset_of!(_php_core_globals, activated_auto_globals) - 488usize];
10648 ["Offset of field: _php_core_globals::modules_activated"]
10649 [::std::mem::offset_of!(_php_core_globals, modules_activated) - 496usize];
10650 ["Offset of field: _php_core_globals::file_uploads"]
10651 [::std::mem::offset_of!(_php_core_globals, file_uploads) - 497usize];
10652 ["Offset of field: _php_core_globals::during_request_startup"]
10653 [::std::mem::offset_of!(_php_core_globals, during_request_startup) - 498usize];
10654 ["Offset of field: _php_core_globals::allow_url_fopen"]
10655 [::std::mem::offset_of!(_php_core_globals, allow_url_fopen) - 499usize];
10656 ["Offset of field: _php_core_globals::enable_post_data_reading"]
10657 [::std::mem::offset_of!(_php_core_globals, enable_post_data_reading) - 500usize];
10658 ["Offset of field: _php_core_globals::report_zend_debug"]
10659 [::std::mem::offset_of!(_php_core_globals, report_zend_debug) - 501usize];
10660 ["Offset of field: _php_core_globals::last_error_type"]
10661 [::std::mem::offset_of!(_php_core_globals, last_error_type) - 504usize];
10662 ["Offset of field: _php_core_globals::last_error_message"]
10663 [::std::mem::offset_of!(_php_core_globals, last_error_message) - 512usize];
10664 ["Offset of field: _php_core_globals::last_error_file"]
10665 [::std::mem::offset_of!(_php_core_globals, last_error_file) - 520usize];
10666 ["Offset of field: _php_core_globals::last_error_lineno"]
10667 [::std::mem::offset_of!(_php_core_globals, last_error_lineno) - 528usize];
10668 ["Offset of field: _php_core_globals::php_sys_temp_dir"]
10669 [::std::mem::offset_of!(_php_core_globals, php_sys_temp_dir) - 536usize];
10670 ["Offset of field: _php_core_globals::disable_classes"]
10671 [::std::mem::offset_of!(_php_core_globals, disable_classes) - 544usize];
10672 ["Offset of field: _php_core_globals::allow_url_include"]
10673 [::std::mem::offset_of!(_php_core_globals, allow_url_include) - 552usize];
10674 ["Offset of field: _php_core_globals::max_input_nesting_level"]
10675 [::std::mem::offset_of!(_php_core_globals, max_input_nesting_level) - 560usize];
10676 ["Offset of field: _php_core_globals::max_input_vars"]
10677 [::std::mem::offset_of!(_php_core_globals, max_input_vars) - 568usize];
10678 ["Offset of field: _php_core_globals::in_user_include"]
10679 [::std::mem::offset_of!(_php_core_globals, in_user_include) - 576usize];
10680 ["Offset of field: _php_core_globals::user_ini_filename"]
10681 [::std::mem::offset_of!(_php_core_globals, user_ini_filename) - 584usize];
10682 ["Offset of field: _php_core_globals::user_ini_cache_ttl"]
10683 [::std::mem::offset_of!(_php_core_globals, user_ini_cache_ttl) - 592usize];
10684 ["Offset of field: _php_core_globals::request_order"]
10685 [::std::mem::offset_of!(_php_core_globals, request_order) - 600usize];
10686 ["Offset of field: _php_core_globals::mail_x_header"]
10687 [::std::mem::offset_of!(_php_core_globals, mail_x_header) - 608usize];
10688 ["Offset of field: _php_core_globals::mail_log"]
10689 [::std::mem::offset_of!(_php_core_globals, mail_log) - 616usize];
10690 ["Offset of field: _php_core_globals::in_error_log"]
10691 [::std::mem::offset_of!(_php_core_globals, in_error_log) - 624usize];
10692 ["Offset of field: _php_core_globals::syslog_facility"]
10693 [::std::mem::offset_of!(_php_core_globals, syslog_facility) - 632usize];
10694 ["Offset of field: _php_core_globals::syslog_ident"]
10695 [::std::mem::offset_of!(_php_core_globals, syslog_ident) - 640usize];
10696 ["Offset of field: _php_core_globals::have_called_openlog"]
10697 [::std::mem::offset_of!(_php_core_globals, have_called_openlog) - 648usize];
10698 ["Offset of field: _php_core_globals::syslog_filter"]
10699 [::std::mem::offset_of!(_php_core_globals, syslog_filter) - 656usize];
10700};
10701extern "C" {
10702 pub static mut core_globals: _php_core_globals;
10703}
10704#[repr(C)]
10705#[derive(Debug, Copy, Clone)]
10706pub struct _arg_separators {
10707 pub output: *mut ::std::os::raw::c_char,
10708 pub input: *mut ::std::os::raw::c_char,
10709}
10710#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10711const _: () = {
10712 ["Size of _arg_separators"][::std::mem::size_of::<_arg_separators>() - 16usize];
10713 ["Alignment of _arg_separators"][::std::mem::align_of::<_arg_separators>() - 8usize];
10714 ["Offset of field: _arg_separators::output"]
10715 [::std::mem::offset_of!(_arg_separators, output) - 0usize];
10716 ["Offset of field: _arg_separators::input"]
10717 [::std::mem::offset_of!(_arg_separators, input) - 8usize];
10718};
10719pub type arg_separators = _arg_separators;
10720#[repr(C)]
10721#[derive(Debug, Copy, Clone)]
10722pub struct _zend_ini_entry_def {
10723 pub name: *const ::std::os::raw::c_char,
10724 pub on_modify: ::std::option::Option<
10725 unsafe extern "C" fn(
10726 entry: *mut zend_ini_entry,
10727 new_value: *mut zend_string,
10728 mh_arg1: *mut ::std::os::raw::c_void,
10729 mh_arg2: *mut ::std::os::raw::c_void,
10730 mh_arg3: *mut ::std::os::raw::c_void,
10731 stage: ::std::os::raw::c_int,
10732 ) -> ::std::os::raw::c_int,
10733 >,
10734 pub mh_arg1: *mut ::std::os::raw::c_void,
10735 pub mh_arg2: *mut ::std::os::raw::c_void,
10736 pub mh_arg3: *mut ::std::os::raw::c_void,
10737 pub value: *const ::std::os::raw::c_char,
10738 pub displayer: ::std::option::Option<
10739 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
10740 >,
10741 pub value_length: u32,
10742 pub name_length: u16,
10743 pub modifiable: u8,
10744}
10745#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10746const _: () = {
10747 ["Size of _zend_ini_entry_def"][::std::mem::size_of::<_zend_ini_entry_def>() - 64usize];
10748 ["Alignment of _zend_ini_entry_def"][::std::mem::align_of::<_zend_ini_entry_def>() - 8usize];
10749 ["Offset of field: _zend_ini_entry_def::name"]
10750 [::std::mem::offset_of!(_zend_ini_entry_def, name) - 0usize];
10751 ["Offset of field: _zend_ini_entry_def::on_modify"]
10752 [::std::mem::offset_of!(_zend_ini_entry_def, on_modify) - 8usize];
10753 ["Offset of field: _zend_ini_entry_def::mh_arg1"]
10754 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg1) - 16usize];
10755 ["Offset of field: _zend_ini_entry_def::mh_arg2"]
10756 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg2) - 24usize];
10757 ["Offset of field: _zend_ini_entry_def::mh_arg3"]
10758 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg3) - 32usize];
10759 ["Offset of field: _zend_ini_entry_def::value"]
10760 [::std::mem::offset_of!(_zend_ini_entry_def, value) - 40usize];
10761 ["Offset of field: _zend_ini_entry_def::displayer"]
10762 [::std::mem::offset_of!(_zend_ini_entry_def, displayer) - 48usize];
10763 ["Offset of field: _zend_ini_entry_def::value_length"]
10764 [::std::mem::offset_of!(_zend_ini_entry_def, value_length) - 56usize];
10765 ["Offset of field: _zend_ini_entry_def::name_length"]
10766 [::std::mem::offset_of!(_zend_ini_entry_def, name_length) - 60usize];
10767 ["Offset of field: _zend_ini_entry_def::modifiable"]
10768 [::std::mem::offset_of!(_zend_ini_entry_def, modifiable) - 62usize];
10769};
10770pub type zend_ini_entry_def = _zend_ini_entry_def;
10771#[repr(C)]
10772#[derive(Debug, Copy, Clone)]
10773pub struct _zend_ini_entry {
10774 pub name: *mut zend_string,
10775 pub on_modify: ::std::option::Option<
10776 unsafe extern "C" fn(
10777 entry: *mut zend_ini_entry,
10778 new_value: *mut zend_string,
10779 mh_arg1: *mut ::std::os::raw::c_void,
10780 mh_arg2: *mut ::std::os::raw::c_void,
10781 mh_arg3: *mut ::std::os::raw::c_void,
10782 stage: ::std::os::raw::c_int,
10783 ) -> ::std::os::raw::c_int,
10784 >,
10785 pub mh_arg1: *mut ::std::os::raw::c_void,
10786 pub mh_arg2: *mut ::std::os::raw::c_void,
10787 pub mh_arg3: *mut ::std::os::raw::c_void,
10788 pub value: *mut zend_string,
10789 pub orig_value: *mut zend_string,
10790 pub displayer: ::std::option::Option<
10791 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
10792 >,
10793 pub module_number: ::std::os::raw::c_int,
10794 pub modifiable: u8,
10795 pub orig_modifiable: u8,
10796 pub modified: u8,
10797}
10798#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10799const _: () = {
10800 ["Size of _zend_ini_entry"][::std::mem::size_of::<_zend_ini_entry>() - 72usize];
10801 ["Alignment of _zend_ini_entry"][::std::mem::align_of::<_zend_ini_entry>() - 8usize];
10802 ["Offset of field: _zend_ini_entry::name"]
10803 [::std::mem::offset_of!(_zend_ini_entry, name) - 0usize];
10804 ["Offset of field: _zend_ini_entry::on_modify"]
10805 [::std::mem::offset_of!(_zend_ini_entry, on_modify) - 8usize];
10806 ["Offset of field: _zend_ini_entry::mh_arg1"]
10807 [::std::mem::offset_of!(_zend_ini_entry, mh_arg1) - 16usize];
10808 ["Offset of field: _zend_ini_entry::mh_arg2"]
10809 [::std::mem::offset_of!(_zend_ini_entry, mh_arg2) - 24usize];
10810 ["Offset of field: _zend_ini_entry::mh_arg3"]
10811 [::std::mem::offset_of!(_zend_ini_entry, mh_arg3) - 32usize];
10812 ["Offset of field: _zend_ini_entry::value"]
10813 [::std::mem::offset_of!(_zend_ini_entry, value) - 40usize];
10814 ["Offset of field: _zend_ini_entry::orig_value"]
10815 [::std::mem::offset_of!(_zend_ini_entry, orig_value) - 48usize];
10816 ["Offset of field: _zend_ini_entry::displayer"]
10817 [::std::mem::offset_of!(_zend_ini_entry, displayer) - 56usize];
10818 ["Offset of field: _zend_ini_entry::module_number"]
10819 [::std::mem::offset_of!(_zend_ini_entry, module_number) - 64usize];
10820 ["Offset of field: _zend_ini_entry::modifiable"]
10821 [::std::mem::offset_of!(_zend_ini_entry, modifiable) - 68usize];
10822 ["Offset of field: _zend_ini_entry::orig_modifiable"]
10823 [::std::mem::offset_of!(_zend_ini_entry, orig_modifiable) - 69usize];
10824 ["Offset of field: _zend_ini_entry::modified"]
10825 [::std::mem::offset_of!(_zend_ini_entry, modified) - 70usize];
10826};
10827extern "C" {
10828 pub fn zend_ini_startup();
10829}
10830extern "C" {
10831 pub fn zend_ini_shutdown();
10832}
10833extern "C" {
10834 pub fn zend_ini_global_shutdown();
10835}
10836extern "C" {
10837 pub fn zend_ini_deactivate();
10838}
10839extern "C" {
10840 pub fn zend_ini_dtor(ini_directives: *mut HashTable);
10841}
10842extern "C" {
10843 pub fn zend_copy_ini_directives();
10844}
10845extern "C" {
10846 pub fn zend_ini_sort_entries();
10847}
10848extern "C" {
10849 pub fn zend_register_ini_entries(
10850 ini_entry: *const zend_ini_entry_def,
10851 module_number: ::std::os::raw::c_int,
10852 ) -> zend_result;
10853}
10854extern "C" {
10855 pub fn zend_register_ini_entries_ex(
10856 ini_entry: *const zend_ini_entry_def,
10857 module_number: ::std::os::raw::c_int,
10858 module_type: ::std::os::raw::c_int,
10859 ) -> zend_result;
10860}
10861extern "C" {
10862 pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
10863}
10864extern "C" {
10865 pub fn zend_unregister_ini_entries_ex(
10866 module_number: ::std::os::raw::c_int,
10867 module_type: ::std::os::raw::c_int,
10868 );
10869}
10870extern "C" {
10871 pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
10872}
10873extern "C" {
10874 pub fn zend_alter_ini_entry(
10875 name: *mut zend_string,
10876 new_value: *mut zend_string,
10877 modify_type: ::std::os::raw::c_int,
10878 stage: ::std::os::raw::c_int,
10879 ) -> zend_result;
10880}
10881extern "C" {
10882 pub fn zend_alter_ini_entry_ex(
10883 name: *mut zend_string,
10884 new_value: *mut zend_string,
10885 modify_type: ::std::os::raw::c_int,
10886 stage: ::std::os::raw::c_int,
10887 force_change: bool,
10888 ) -> zend_result;
10889}
10890extern "C" {
10891 pub fn zend_alter_ini_entry_chars(
10892 name: *mut zend_string,
10893 value: *const ::std::os::raw::c_char,
10894 value_length: usize,
10895 modify_type: ::std::os::raw::c_int,
10896 stage: ::std::os::raw::c_int,
10897 ) -> zend_result;
10898}
10899extern "C" {
10900 pub fn zend_alter_ini_entry_chars_ex(
10901 name: *mut zend_string,
10902 value: *const ::std::os::raw::c_char,
10903 value_length: usize,
10904 modify_type: ::std::os::raw::c_int,
10905 stage: ::std::os::raw::c_int,
10906 force_change: ::std::os::raw::c_int,
10907 ) -> zend_result;
10908}
10909extern "C" {
10910 pub fn zend_restore_ini_entry(
10911 name: *mut zend_string,
10912 stage: ::std::os::raw::c_int,
10913 ) -> zend_result;
10914}
10915extern "C" {
10916 pub fn zend_ini_long(
10917 name: *const ::std::os::raw::c_char,
10918 name_length: usize,
10919 orig: ::std::os::raw::c_int,
10920 ) -> zend_long;
10921}
10922extern "C" {
10923 pub fn zend_ini_double(
10924 name: *const ::std::os::raw::c_char,
10925 name_length: usize,
10926 orig: ::std::os::raw::c_int,
10927 ) -> f64;
10928}
10929extern "C" {
10930 pub fn zend_ini_string(
10931 name: *const ::std::os::raw::c_char,
10932 name_length: usize,
10933 orig: ::std::os::raw::c_int,
10934 ) -> *mut ::std::os::raw::c_char;
10935}
10936extern "C" {
10937 pub fn zend_ini_string_ex(
10938 name: *const ::std::os::raw::c_char,
10939 name_length: usize,
10940 orig: ::std::os::raw::c_int,
10941 exists: *mut bool,
10942 ) -> *mut ::std::os::raw::c_char;
10943}
10944extern "C" {
10945 pub fn zend_ini_get_value(name: *mut zend_string) -> *mut zend_string;
10946}
10947extern "C" {
10948 pub fn zend_ini_parse_bool(str_: *mut zend_string) -> bool;
10949}
10950extern "C" {
10951 pub fn zend_ini_register_displayer(
10952 name: *const ::std::os::raw::c_char,
10953 name_length: u32,
10954 displayer: ::std::option::Option<
10955 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
10956 >,
10957 ) -> zend_result;
10958}
10959extern "C" {
10960 pub fn zend_ini_boolean_displayer_cb(
10961 ini_entry: *mut zend_ini_entry,
10962 type_: ::std::os::raw::c_int,
10963 );
10964}
10965extern "C" {
10966 pub fn zend_ini_color_displayer_cb(
10967 ini_entry: *mut zend_ini_entry,
10968 type_: ::std::os::raw::c_int,
10969 );
10970}
10971pub type zend_ini_parser_cb_t = ::std::option::Option<
10972 unsafe extern "C" fn(
10973 arg1: *mut zval,
10974 arg2: *mut zval,
10975 arg3: *mut zval,
10976 callback_type: ::std::os::raw::c_int,
10977 arg: *mut ::std::os::raw::c_void,
10978 ),
10979>;
10980extern "C" {
10981 pub fn zend_parse_ini_file(
10982 fh: *mut zend_file_handle,
10983 unbuffered_errors: bool,
10984 scanner_mode: ::std::os::raw::c_int,
10985 ini_parser_cb: zend_ini_parser_cb_t,
10986 arg: *mut ::std::os::raw::c_void,
10987 ) -> ::std::os::raw::c_int;
10988}
10989extern "C" {
10990 pub fn zend_parse_ini_string(
10991 str_: *mut ::std::os::raw::c_char,
10992 unbuffered_errors: bool,
10993 scanner_mode: ::std::os::raw::c_int,
10994 ini_parser_cb: zend_ini_parser_cb_t,
10995 arg: *mut ::std::os::raw::c_void,
10996 ) -> ::std::os::raw::c_int;
10997}
10998#[repr(C)]
10999#[derive(Debug, Copy, Clone)]
11000pub struct _zend_ini_parser_param {
11001 pub ini_parser_cb: zend_ini_parser_cb_t,
11002 pub arg: *mut ::std::os::raw::c_void,
11003}
11004#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11005const _: () = {
11006 ["Size of _zend_ini_parser_param"][::std::mem::size_of::<_zend_ini_parser_param>() - 16usize];
11007 ["Alignment of _zend_ini_parser_param"]
11008 [::std::mem::align_of::<_zend_ini_parser_param>() - 8usize];
11009 ["Offset of field: _zend_ini_parser_param::ini_parser_cb"]
11010 [::std::mem::offset_of!(_zend_ini_parser_param, ini_parser_cb) - 0usize];
11011 ["Offset of field: _zend_ini_parser_param::arg"]
11012 [::std::mem::offset_of!(_zend_ini_parser_param, arg) - 8usize];
11013};
11014pub type zend_ini_parser_param = _zend_ini_parser_param;
11015extern "C" {
11016 pub fn php_init_config() -> ::std::os::raw::c_int;
11017}
11018extern "C" {
11019 pub fn php_shutdown_config() -> ::std::os::raw::c_int;
11020}
11021extern "C" {
11022 pub fn php_ini_register_extensions();
11023}
11024extern "C" {
11025 pub fn php_parse_user_ini_file(
11026 dirname: *const ::std::os::raw::c_char,
11027 ini_filename: *const ::std::os::raw::c_char,
11028 target_hash: *mut HashTable,
11029 ) -> ::std::os::raw::c_int;
11030}
11031extern "C" {
11032 pub fn php_ini_activate_config(
11033 source_hash: *mut HashTable,
11034 modify_type: ::std::os::raw::c_int,
11035 stage: ::std::os::raw::c_int,
11036 );
11037}
11038extern "C" {
11039 pub fn php_ini_has_per_dir_config() -> ::std::os::raw::c_int;
11040}
11041extern "C" {
11042 pub fn php_ini_has_per_host_config() -> ::std::os::raw::c_int;
11043}
11044extern "C" {
11045 pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: usize);
11046}
11047extern "C" {
11048 pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: usize);
11049}
11050extern "C" {
11051 pub fn php_ini_get_configuration_hash() -> *mut HashTable;
11052}
11053extern "C" {
11054 pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
11055}
11056extern "C" {
11057 pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
11058}
11059extern "C" {
11060 pub fn php_check_open_basedir_ex(
11061 path: *const ::std::os::raw::c_char,
11062 warn: ::std::os::raw::c_int,
11063 ) -> ::std::os::raw::c_int;
11064}
11065extern "C" {
11066 pub fn php_check_specific_open_basedir(
11067 basedir: *const ::std::os::raw::c_char,
11068 path: *const ::std::os::raw::c_char,
11069 ) -> ::std::os::raw::c_int;
11070}
11071extern "C" {
11072 pub fn php_check_safe_mode_include_dir(
11073 path: *const ::std::os::raw::c_char,
11074 ) -> ::std::os::raw::c_int;
11075}
11076extern "C" {
11077 pub fn php_resolve_path(
11078 filename: *const ::std::os::raw::c_char,
11079 filename_len: usize,
11080 path: *const ::std::os::raw::c_char,
11081 ) -> *mut zend_string;
11082}
11083extern "C" {
11084 pub fn php_fopen_with_path(
11085 filename: *const ::std::os::raw::c_char,
11086 mode: *const ::std::os::raw::c_char,
11087 path: *const ::std::os::raw::c_char,
11088 opened_path: *mut *mut zend_string,
11089 ) -> *mut FILE;
11090}
11091extern "C" {
11092 pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
11093}
11094#[repr(C)]
11095#[derive(Debug, Copy, Clone)]
11096pub struct _cwd_state {
11097 pub cwd: *mut ::std::os::raw::c_char,
11098 pub cwd_length: usize,
11099}
11100#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11101const _: () = {
11102 ["Size of _cwd_state"][::std::mem::size_of::<_cwd_state>() - 16usize];
11103 ["Alignment of _cwd_state"][::std::mem::align_of::<_cwd_state>() - 8usize];
11104 ["Offset of field: _cwd_state::cwd"][::std::mem::offset_of!(_cwd_state, cwd) - 0usize];
11105 ["Offset of field: _cwd_state::cwd_length"]
11106 [::std::mem::offset_of!(_cwd_state, cwd_length) - 8usize];
11107};
11108pub type cwd_state = _cwd_state;
11109#[repr(C)]
11110#[derive(Debug, Copy, Clone)]
11111pub struct _realpath_cache_bucket {
11112 pub key: zend_ulong,
11113 pub path: *mut ::std::os::raw::c_char,
11114 pub realpath: *mut ::std::os::raw::c_char,
11115 pub next: *mut _realpath_cache_bucket,
11116 pub expires: time_t,
11117 pub path_len: u16,
11118 pub realpath_len: u16,
11119 pub _bitfield_align_1: [u8; 0],
11120 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
11121 pub __bindgen_padding_0: [u8; 3usize],
11122}
11123#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11124const _: () = {
11125 ["Size of _realpath_cache_bucket"][::std::mem::size_of::<_realpath_cache_bucket>() - 48usize];
11126 ["Alignment of _realpath_cache_bucket"]
11127 [::std::mem::align_of::<_realpath_cache_bucket>() - 8usize];
11128 ["Offset of field: _realpath_cache_bucket::key"]
11129 [::std::mem::offset_of!(_realpath_cache_bucket, key) - 0usize];
11130 ["Offset of field: _realpath_cache_bucket::path"]
11131 [::std::mem::offset_of!(_realpath_cache_bucket, path) - 8usize];
11132 ["Offset of field: _realpath_cache_bucket::realpath"]
11133 [::std::mem::offset_of!(_realpath_cache_bucket, realpath) - 16usize];
11134 ["Offset of field: _realpath_cache_bucket::next"]
11135 [::std::mem::offset_of!(_realpath_cache_bucket, next) - 24usize];
11136 ["Offset of field: _realpath_cache_bucket::expires"]
11137 [::std::mem::offset_of!(_realpath_cache_bucket, expires) - 32usize];
11138 ["Offset of field: _realpath_cache_bucket::path_len"]
11139 [::std::mem::offset_of!(_realpath_cache_bucket, path_len) - 40usize];
11140 ["Offset of field: _realpath_cache_bucket::realpath_len"]
11141 [::std::mem::offset_of!(_realpath_cache_bucket, realpath_len) - 42usize];
11142};
11143impl _realpath_cache_bucket {
11144 #[inline]
11145 pub fn is_dir(&self) -> u8 {
11146 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
11147 }
11148 #[inline]
11149 pub fn set_is_dir(&mut self, val: u8) {
11150 unsafe {
11151 let val: u8 = ::std::mem::transmute(val);
11152 self._bitfield_1.set(0usize, 1u8, val as u64)
11153 }
11154 }
11155 #[inline]
11156 pub fn new_bitfield_1(is_dir: u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
11157 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
11158 __bindgen_bitfield_unit.set(0usize, 1u8, {
11159 let is_dir: u8 = unsafe { ::std::mem::transmute(is_dir) };
11160 is_dir as u64
11161 });
11162 __bindgen_bitfield_unit
11163 }
11164}
11165pub type realpath_cache_bucket = _realpath_cache_bucket;
11166#[repr(C)]
11167#[derive(Debug, Copy, Clone)]
11168pub struct _virtual_cwd_globals {
11169 pub cwd: cwd_state,
11170 pub realpath_cache_size: zend_long,
11171 pub realpath_cache_size_limit: zend_long,
11172 pub realpath_cache_ttl: zend_long,
11173 pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
11174}
11175#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11176const _: () = {
11177 ["Size of _virtual_cwd_globals"][::std::mem::size_of::<_virtual_cwd_globals>() - 8232usize];
11178 ["Alignment of _virtual_cwd_globals"][::std::mem::align_of::<_virtual_cwd_globals>() - 8usize];
11179 ["Offset of field: _virtual_cwd_globals::cwd"]
11180 [::std::mem::offset_of!(_virtual_cwd_globals, cwd) - 0usize];
11181 ["Offset of field: _virtual_cwd_globals::realpath_cache_size"]
11182 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size) - 16usize];
11183 ["Offset of field: _virtual_cwd_globals::realpath_cache_size_limit"]
11184 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size_limit) - 24usize];
11185 ["Offset of field: _virtual_cwd_globals::realpath_cache_ttl"]
11186 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_ttl) - 32usize];
11187 ["Offset of field: _virtual_cwd_globals::realpath_cache"]
11188 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache) - 40usize];
11189};
11190pub type virtual_cwd_globals = _virtual_cwd_globals;
11191extern "C" {
11192 pub static mut cwd_globals: virtual_cwd_globals;
11193}
11194#[repr(C)]
11195#[derive(Copy, Clone)]
11196pub struct _zend_constant {
11197 pub value: zval,
11198 pub name: *mut zend_string,
11199}
11200#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11201const _: () = {
11202 ["Size of _zend_constant"][::std::mem::size_of::<_zend_constant>() - 24usize];
11203 ["Alignment of _zend_constant"][::std::mem::align_of::<_zend_constant>() - 8usize];
11204 ["Offset of field: _zend_constant::value"]
11205 [::std::mem::offset_of!(_zend_constant, value) - 0usize];
11206 ["Offset of field: _zend_constant::name"]
11207 [::std::mem::offset_of!(_zend_constant, name) - 16usize];
11208};
11209pub type zend_constant = _zend_constant;
11210extern "C" {
11211 pub fn zend_startup_constants();
11212}
11213extern "C" {
11214 pub fn zend_shutdown_constants();
11215}
11216extern "C" {
11217 pub fn zend_register_standard_constants();
11218}
11219extern "C" {
11220 pub fn zend_verify_const_access(c: *mut zend_class_constant, ce: *mut zend_class_entry)
11221 -> bool;
11222}
11223extern "C" {
11224 pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
11225}
11226extern "C" {
11227 pub fn zend_get_constant_str(name: *const ::std::os::raw::c_char, name_len: usize)
11228 -> *mut zval;
11229}
11230extern "C" {
11231 pub fn zend_get_constant_ex(
11232 name: *mut zend_string,
11233 scope: *mut zend_class_entry,
11234 flags: u32,
11235 ) -> *mut zval;
11236}
11237extern "C" {
11238 pub fn zend_get_class_constant_ex(
11239 class_name: *mut zend_string,
11240 constant_name: *mut zend_string,
11241 scope: *mut zend_class_entry,
11242 flags: u32,
11243 ) -> *mut zval;
11244}
11245extern "C" {
11246 pub fn zend_register_bool_constant(
11247 name: *const ::std::os::raw::c_char,
11248 name_len: usize,
11249 bval: bool,
11250 flags: ::std::os::raw::c_int,
11251 module_number: ::std::os::raw::c_int,
11252 );
11253}
11254extern "C" {
11255 pub fn zend_register_null_constant(
11256 name: *const ::std::os::raw::c_char,
11257 name_len: usize,
11258 flags: ::std::os::raw::c_int,
11259 module_number: ::std::os::raw::c_int,
11260 );
11261}
11262extern "C" {
11263 pub fn zend_register_long_constant(
11264 name: *const ::std::os::raw::c_char,
11265 name_len: usize,
11266 lval: zend_long,
11267 flags: ::std::os::raw::c_int,
11268 module_number: ::std::os::raw::c_int,
11269 );
11270}
11271extern "C" {
11272 pub fn zend_register_double_constant(
11273 name: *const ::std::os::raw::c_char,
11274 name_len: usize,
11275 dval: f64,
11276 flags: ::std::os::raw::c_int,
11277 module_number: ::std::os::raw::c_int,
11278 );
11279}
11280extern "C" {
11281 pub fn zend_register_string_constant(
11282 name: *const ::std::os::raw::c_char,
11283 name_len: usize,
11284 strval: *const ::std::os::raw::c_char,
11285 flags: ::std::os::raw::c_int,
11286 module_number: ::std::os::raw::c_int,
11287 );
11288}
11289extern "C" {
11290 pub fn zend_register_stringl_constant(
11291 name: *const ::std::os::raw::c_char,
11292 name_len: usize,
11293 strval: *const ::std::os::raw::c_char,
11294 strlen: usize,
11295 flags: ::std::os::raw::c_int,
11296 module_number: ::std::os::raw::c_int,
11297 );
11298}
11299extern "C" {
11300 pub fn zend_register_constant(c: *mut zend_constant) -> zend_result;
11301}
11302extern "C" {
11303 pub fn _zend_get_special_const(
11304 name: *const ::std::os::raw::c_char,
11305 name_len: usize,
11306 ) -> *mut zend_constant;
11307}
11308extern "C" {
11309 pub fn php_info_html_esc(string: *const ::std::os::raw::c_char) -> *mut zend_string;
11310}
11311extern "C" {
11312 pub fn php_print_info_htmlhead();
11313}
11314extern "C" {
11315 pub fn php_print_info(flag: ::std::os::raw::c_int);
11316}
11317extern "C" {
11318 pub fn php_print_style();
11319}
11320extern "C" {
11321 pub fn php_info_print_style();
11322}
11323extern "C" {
11324 pub fn php_info_print_table_colspan_header(
11325 num_cols: ::std::os::raw::c_int,
11326 header: *const ::std::os::raw::c_char,
11327 );
11328}
11329extern "C" {
11330 pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
11331}
11332extern "C" {
11333 pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
11334}
11335extern "C" {
11336 pub fn php_info_print_table_row_ex(
11337 num_cols: ::std::os::raw::c_int,
11338 arg1: *const ::std::os::raw::c_char,
11339 ...
11340 );
11341}
11342extern "C" {
11343 pub fn php_info_print_table_start();
11344}
11345extern "C" {
11346 pub fn php_info_print_table_end();
11347}
11348extern "C" {
11349 pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
11350}
11351extern "C" {
11352 pub fn php_info_print_box_end();
11353}
11354extern "C" {
11355 pub fn php_info_print_hr();
11356}
11357extern "C" {
11358 pub fn php_info_print_module(module: *mut zend_module_entry);
11359}
11360extern "C" {
11361 pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
11362}
11363#[repr(C)]
11364#[derive(Debug, Copy, Clone)]
11365pub struct _zend_extension_version_info {
11366 pub zend_extension_api_no: ::std::os::raw::c_int,
11367 pub build_id: *const ::std::os::raw::c_char,
11368}
11369#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11370const _: () = {
11371 ["Size of _zend_extension_version_info"]
11372 [::std::mem::size_of::<_zend_extension_version_info>() - 16usize];
11373 ["Alignment of _zend_extension_version_info"]
11374 [::std::mem::align_of::<_zend_extension_version_info>() - 8usize];
11375 ["Offset of field: _zend_extension_version_info::zend_extension_api_no"]
11376 [::std::mem::offset_of!(_zend_extension_version_info, zend_extension_api_no) - 0usize];
11377 ["Offset of field: _zend_extension_version_info::build_id"]
11378 [::std::mem::offset_of!(_zend_extension_version_info, build_id) - 8usize];
11379};
11380pub type zend_extension_version_info = _zend_extension_version_info;
11381pub type zend_extension = _zend_extension;
11382pub type startup_func_t = ::std::option::Option<
11383 unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
11384>;
11385pub type shutdown_func_t =
11386 ::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
11387pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
11388pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
11389pub type message_handler_func_t = ::std::option::Option<
11390 unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
11391>;
11392pub type op_array_handler_func_t =
11393 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
11394pub type statement_handler_func_t =
11395 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
11396pub type fcall_begin_handler_func_t =
11397 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
11398pub type fcall_end_handler_func_t =
11399 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
11400pub type op_array_ctor_func_t =
11401 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
11402pub type op_array_dtor_func_t =
11403 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
11404pub type op_array_persist_calc_func_t =
11405 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array) -> usize>;
11406pub type op_array_persist_func_t = ::std::option::Option<
11407 unsafe extern "C" fn(op_array: *mut zend_op_array, mem: *mut ::std::os::raw::c_void) -> usize,
11408>;
11409#[repr(C)]
11410#[derive(Debug, Copy, Clone)]
11411pub struct _zend_extension {
11412 pub name: *const ::std::os::raw::c_char,
11413 pub version: *const ::std::os::raw::c_char,
11414 pub author: *const ::std::os::raw::c_char,
11415 pub URL: *const ::std::os::raw::c_char,
11416 pub copyright: *const ::std::os::raw::c_char,
11417 pub startup: startup_func_t,
11418 pub shutdown: shutdown_func_t,
11419 pub activate: activate_func_t,
11420 pub deactivate: deactivate_func_t,
11421 pub message_handler: message_handler_func_t,
11422 pub op_array_handler: op_array_handler_func_t,
11423 pub statement_handler: statement_handler_func_t,
11424 pub fcall_begin_handler: fcall_begin_handler_func_t,
11425 pub fcall_end_handler: fcall_end_handler_func_t,
11426 pub op_array_ctor: op_array_ctor_func_t,
11427 pub op_array_dtor: op_array_dtor_func_t,
11428 pub api_no_check: ::std::option::Option<
11429 unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
11430 >,
11431 pub build_id_check: ::std::option::Option<
11432 unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
11433 >,
11434 pub op_array_persist_calc: op_array_persist_calc_func_t,
11435 pub op_array_persist: op_array_persist_func_t,
11436 pub reserved5: *mut ::std::os::raw::c_void,
11437 pub reserved6: *mut ::std::os::raw::c_void,
11438 pub reserved7: *mut ::std::os::raw::c_void,
11439 pub reserved8: *mut ::std::os::raw::c_void,
11440 pub handle: *mut ::std::os::raw::c_void,
11441 pub resource_number: ::std::os::raw::c_int,
11442}
11443#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11444const _: () = {
11445 ["Size of _zend_extension"][::std::mem::size_of::<_zend_extension>() - 208usize];
11446 ["Alignment of _zend_extension"][::std::mem::align_of::<_zend_extension>() - 8usize];
11447 ["Offset of field: _zend_extension::name"]
11448 [::std::mem::offset_of!(_zend_extension, name) - 0usize];
11449 ["Offset of field: _zend_extension::version"]
11450 [::std::mem::offset_of!(_zend_extension, version) - 8usize];
11451 ["Offset of field: _zend_extension::author"]
11452 [::std::mem::offset_of!(_zend_extension, author) - 16usize];
11453 ["Offset of field: _zend_extension::URL"]
11454 [::std::mem::offset_of!(_zend_extension, URL) - 24usize];
11455 ["Offset of field: _zend_extension::copyright"]
11456 [::std::mem::offset_of!(_zend_extension, copyright) - 32usize];
11457 ["Offset of field: _zend_extension::startup"]
11458 [::std::mem::offset_of!(_zend_extension, startup) - 40usize];
11459 ["Offset of field: _zend_extension::shutdown"]
11460 [::std::mem::offset_of!(_zend_extension, shutdown) - 48usize];
11461 ["Offset of field: _zend_extension::activate"]
11462 [::std::mem::offset_of!(_zend_extension, activate) - 56usize];
11463 ["Offset of field: _zend_extension::deactivate"]
11464 [::std::mem::offset_of!(_zend_extension, deactivate) - 64usize];
11465 ["Offset of field: _zend_extension::message_handler"]
11466 [::std::mem::offset_of!(_zend_extension, message_handler) - 72usize];
11467 ["Offset of field: _zend_extension::op_array_handler"]
11468 [::std::mem::offset_of!(_zend_extension, op_array_handler) - 80usize];
11469 ["Offset of field: _zend_extension::statement_handler"]
11470 [::std::mem::offset_of!(_zend_extension, statement_handler) - 88usize];
11471 ["Offset of field: _zend_extension::fcall_begin_handler"]
11472 [::std::mem::offset_of!(_zend_extension, fcall_begin_handler) - 96usize];
11473 ["Offset of field: _zend_extension::fcall_end_handler"]
11474 [::std::mem::offset_of!(_zend_extension, fcall_end_handler) - 104usize];
11475 ["Offset of field: _zend_extension::op_array_ctor"]
11476 [::std::mem::offset_of!(_zend_extension, op_array_ctor) - 112usize];
11477 ["Offset of field: _zend_extension::op_array_dtor"]
11478 [::std::mem::offset_of!(_zend_extension, op_array_dtor) - 120usize];
11479 ["Offset of field: _zend_extension::api_no_check"]
11480 [::std::mem::offset_of!(_zend_extension, api_no_check) - 128usize];
11481 ["Offset of field: _zend_extension::build_id_check"]
11482 [::std::mem::offset_of!(_zend_extension, build_id_check) - 136usize];
11483 ["Offset of field: _zend_extension::op_array_persist_calc"]
11484 [::std::mem::offset_of!(_zend_extension, op_array_persist_calc) - 144usize];
11485 ["Offset of field: _zend_extension::op_array_persist"]
11486 [::std::mem::offset_of!(_zend_extension, op_array_persist) - 152usize];
11487 ["Offset of field: _zend_extension::reserved5"]
11488 [::std::mem::offset_of!(_zend_extension, reserved5) - 160usize];
11489 ["Offset of field: _zend_extension::reserved6"]
11490 [::std::mem::offset_of!(_zend_extension, reserved6) - 168usize];
11491 ["Offset of field: _zend_extension::reserved7"]
11492 [::std::mem::offset_of!(_zend_extension, reserved7) - 176usize];
11493 ["Offset of field: _zend_extension::reserved8"]
11494 [::std::mem::offset_of!(_zend_extension, reserved8) - 184usize];
11495 ["Offset of field: _zend_extension::handle"]
11496 [::std::mem::offset_of!(_zend_extension, handle) - 192usize];
11497 ["Offset of field: _zend_extension::resource_number"]
11498 [::std::mem::offset_of!(_zend_extension, resource_number) - 200usize];
11499};
11500extern "C" {
11501 pub static mut zend_op_array_extension_handles: ::std::os::raw::c_int;
11502}
11503extern "C" {
11504 pub fn zend_get_resource_handle(
11505 module_name: *const ::std::os::raw::c_char,
11506 ) -> ::std::os::raw::c_int;
11507}
11508extern "C" {
11509 pub fn zend_get_op_array_extension_handle(
11510 module_name: *const ::std::os::raw::c_char,
11511 ) -> ::std::os::raw::c_int;
11512}
11513extern "C" {
11514 pub fn zend_get_op_array_extension_handles(
11515 module_name: *const ::std::os::raw::c_char,
11516 handles: ::std::os::raw::c_int,
11517 ) -> ::std::os::raw::c_int;
11518}
11519extern "C" {
11520 pub fn zend_extension_dispatch_message(
11521 message: ::std::os::raw::c_int,
11522 arg: *mut ::std::os::raw::c_void,
11523 );
11524}
11525extern "C" {
11526 pub static mut zend_extensions: zend_llist;
11527}
11528extern "C" {
11529 pub static mut zend_extension_flags: u32;
11530}
11531extern "C" {
11532 pub fn zend_extension_dtor(extension: *mut zend_extension);
11533}
11534extern "C" {
11535 pub fn zend_append_version_info(extension: *const zend_extension);
11536}
11537extern "C" {
11538 pub fn zend_startup_extensions_mechanism();
11539}
11540extern "C" {
11541 pub fn zend_startup_extensions();
11542}
11543extern "C" {
11544 pub fn zend_shutdown_extensions();
11545}
11546extern "C" {
11547 pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> zend_result;
11548}
11549extern "C" {
11550 pub fn zend_load_extension_handle(
11551 handle: *mut ::std::os::raw::c_void,
11552 path: *const ::std::os::raw::c_char,
11553 ) -> zend_result;
11554}
11555extern "C" {
11556 pub fn zend_register_extension(
11557 new_extension: *mut zend_extension,
11558 handle: *mut ::std::os::raw::c_void,
11559 );
11560}
11561extern "C" {
11562 pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
11563 -> *mut zend_extension;
11564}
11565extern "C" {
11566 pub fn zend_extensions_op_array_persist_calc(op_array: *mut zend_op_array) -> usize;
11567}
11568extern "C" {
11569 pub fn zend_extensions_op_array_persist(
11570 op_array: *mut zend_op_array,
11571 mem: *mut ::std::os::raw::c_void,
11572 ) -> usize;
11573}
11574pub const ZEND_MODULE_BUILD_ID_: &[u8; 16] = b"API20210902,NTS\0";
11575pub type __builtin_va_list = [__va_list_tag; 1usize];
11576#[repr(C)]
11577#[derive(Debug, Copy, Clone)]
11578pub struct __va_list_tag {
11579 pub gp_offset: ::std::os::raw::c_uint,
11580 pub fp_offset: ::std::os::raw::c_uint,
11581 pub overflow_arg_area: *mut ::std::os::raw::c_void,
11582 pub reg_save_area: *mut ::std::os::raw::c_void,
11583}
11584#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11585const _: () = {
11586 ["Size of __va_list_tag"][::std::mem::size_of::<__va_list_tag>() - 24usize];
11587 ["Alignment of __va_list_tag"][::std::mem::align_of::<__va_list_tag>() - 8usize];
11588 ["Offset of field: __va_list_tag::gp_offset"]
11589 [::std::mem::offset_of!(__va_list_tag, gp_offset) - 0usize];
11590 ["Offset of field: __va_list_tag::fp_offset"]
11591 [::std::mem::offset_of!(__va_list_tag, fp_offset) - 4usize];
11592 ["Offset of field: __va_list_tag::overflow_arg_area"]
11593 [::std::mem::offset_of!(__va_list_tag, overflow_arg_area) - 8usize];
11594 ["Offset of field: __va_list_tag::reg_save_area"]
11595 [::std::mem::offset_of!(__va_list_tag, reg_save_area) - 16usize];
11596};