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 = 20230831;
92pub const PHP_DEFAULT_CHARSET: &[u8; 6] = b"UTF-8\0";
93pub const PHP_MAJOR_VERSION: u32 = 8;
94pub const PHP_MINOR_VERSION: u32 = 3;
95pub const PHP_RELEASE_VERSION: u32 = 32;
96pub const PHP_EXTRA_VERSION: &[u8; 1] = b"\0";
97pub const PHP_VERSION: &[u8; 7] = b"8.3.32\0";
98pub const PHP_VERSION_ID: u32 = 80332;
99pub const ZEND_VERSION: &[u8; 7] = b"4.3.32\0";
100pub const PHP_BUILD_PROVIDER: &[u8; 7] = b"Debian\0";
101pub const PHP_BUILD_SYSTEM: &[u8; 6] = b"Linux\0";
102pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
103pub const PHP_HAVE_AVX512_SUPPORTS: u32 = 1;
104pub const PHP_HAVE_AVX512_VBMI_SUPPORTS: u32 = 1;
105pub const PHP_HAVE_BUILTIN_CLZ: u32 = 1;
106pub const PHP_HAVE_BUILTIN_CLZL: u32 = 1;
107pub const PHP_HAVE_BUILTIN_CLZLL: u32 = 1;
108pub const PHP_HAVE_BUILTIN_CPU_INIT: u32 = 1;
109pub const PHP_HAVE_BUILTIN_CPU_SUPPORTS: u32 = 1;
110pub const PHP_HAVE_BUILTIN_CTZL: u32 = 1;
111pub const PHP_HAVE_BUILTIN_CTZLL: u32 = 1;
112pub const PHP_HAVE_BUILTIN_EXPECT: u32 = 1;
113pub const PHP_HAVE_BUILTIN_FRAME_ADDRESS: u32 = 1;
114pub const PHP_HAVE_BUILTIN_SADDLL_OVERFLOW: u32 = 1;
115pub const PHP_HAVE_BUILTIN_SADDL_OVERFLOW: u32 = 1;
116pub const PHP_HAVE_BUILTIN_SMULLL_OVERFLOW: u32 = 1;
117pub const PHP_HAVE_BUILTIN_SMULL_OVERFLOW: u32 = 1;
118pub const PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW: u32 = 1;
119pub const PHP_HAVE_BUILTIN_SSUBL_OVERFLOW: u32 = 1;
120pub const PHP_HAVE_BUILTIN_USUB_OVERFLOW: u32 = 1;
121pub const PHP_MHASH_BC: u32 = 1;
122pub const PHP_OS: &[u8; 6] = b"Linux\0";
123pub const PHP_SIGCHILD: u32 = 0;
124pub const PHP_UNAME: &[u8; 6] = b"Linux\0";
125pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
126pub const PHP_WRITE_STDOUT: u32 = 1;
127pub const ZEND_CHECK_STACK_LIMIT: u32 = 1;
128pub const ZEND_DEBUG: u32 = 0;
129pub const ZEND_FIBER_ASM: u32 = 1;
130pub const ZEND_MM_NEED_EIGHT_BYTE_REALIGNMENT: u32 = 0;
131pub const ZEND_SIGNALS: u32 = 1;
132pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
133pub const ZEND_ENABLE_ZVAL_LONG64: u32 = 1;
134pub const ZEND_LTOA_BUF_LEN: u32 = 65;
135pub const ZEND_LONG_FMT: &[u8; 4] = b"%ld\0";
136pub const ZEND_ULONG_FMT: &[u8; 4] = b"%lu\0";
137pub const ZEND_XLONG_FMT: &[u8; 4] = b"%lx\0";
138pub const ZEND_LONG_FMT_SPEC: &[u8; 3] = b"ld\0";
139pub const ZEND_ULONG_FMT_SPEC: &[u8; 3] = b"lu\0";
140pub const ZEND_ADDR_FMT: &[u8; 9] = b"0x%016zx\0";
141pub const ZEND_LONG_CAN_OVFL_INT: u32 = 1;
142pub const ZEND_LONG_CAN_OVFL_UINT: u32 = 1;
143pub const ZEND_SIZE_T_CAN_OVFL_UINT: u32 = 1;
144pub const PHP_RTLD_MODE: u32 = 1;
145pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
146pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
147pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 6;
148pub const ZEND_INTRIN_HAVE_IFUNC_TARGET: u32 = 1;
149pub const ZEND_INTRIN_SSSE3_RESOLVER: u32 = 1;
150pub const ZEND_INTRIN_SSSE3_FUNC_PROTO: u32 = 1;
151pub const ZEND_INTRIN_SSE4_2_RESOLVER: u32 = 1;
152pub const ZEND_INTRIN_SSE4_2_FUNC_PROTO: u32 = 1;
153pub const ZEND_INTRIN_PCLMUL_RESOLVER: u32 = 1;
154pub const ZEND_INTRIN_PCLMUL_FUNC_PTR: u32 = 1;
155pub const ZEND_INTRIN_SSE4_2_PCLMUL_RESOLVER: u32 = 1;
156pub const ZEND_INTRIN_SSE4_2_PCLMUL_FUNC_PTR: u32 = 1;
157pub const ZEND_INTRIN_AVX2_RESOLVER: u32 = 1;
158pub const ZEND_INTRIN_AVX2_FUNC_PROTO: u32 = 1;
159pub const ZEND_INTRIN_AVX512_RESOLVER: u32 = 1;
160pub const ZEND_INTRIN_AVX512_FUNC_PROTO: u32 = 1;
161pub const ZEND_INTRIN_AVX512_VBMI_RESOLVER: u32 = 1;
162pub const ZEND_INTRIN_AVX512_VBMI_FUNC_PROTO: u32 = 1;
163pub const ZEND_SIZE_MAX: i32 = -1;
164pub const _ZEND_TYPE_EXTRA_FLAGS_SHIFT: u32 = 25;
165pub const _ZEND_TYPE_MASK: u32 = 33554431;
166pub const _ZEND_TYPE_NAME_BIT: u32 = 16777216;
167pub const _ZEND_TYPE_LITERAL_NAME_BIT: u32 = 8388608;
168pub const _ZEND_TYPE_LIST_BIT: u32 = 4194304;
169pub const _ZEND_TYPE_KIND_MASK: u32 = 29360128;
170pub const _ZEND_TYPE_ITERABLE_BIT: u32 = 2097152;
171pub const _ZEND_TYPE_ARENA_BIT: u32 = 1048576;
172pub const _ZEND_TYPE_INTERSECTION_BIT: u32 = 524288;
173pub const _ZEND_TYPE_UNION_BIT: u32 = 262144;
174pub const _ZEND_TYPE_MAY_BE_MASK: u32 = 262143;
175pub const _ZEND_TYPE_NULLABLE_BIT: u32 = 2;
176pub const IS_UNDEF: u32 = 0;
177pub const IS_NULL: u32 = 1;
178pub const IS_FALSE: u32 = 2;
179pub const IS_TRUE: u32 = 3;
180pub const IS_LONG: u32 = 4;
181pub const IS_DOUBLE: u32 = 5;
182pub const IS_STRING: u32 = 6;
183pub const IS_ARRAY: u32 = 7;
184pub const IS_OBJECT: u32 = 8;
185pub const IS_RESOURCE: u32 = 9;
186pub const IS_REFERENCE: u32 = 10;
187pub const IS_CONSTANT_AST: u32 = 11;
188pub const IS_CALLABLE: u32 = 12;
189pub const IS_ITERABLE: u32 = 13;
190pub const IS_VOID: u32 = 14;
191pub const IS_STATIC: u32 = 15;
192pub const IS_MIXED: u32 = 16;
193pub const IS_NEVER: u32 = 17;
194pub const IS_INDIRECT: u32 = 12;
195pub const IS_PTR: u32 = 13;
196pub const IS_ALIAS_PTR: u32 = 14;
197pub const _IS_ERROR: u32 = 15;
198pub const _IS_BOOL: u32 = 18;
199pub const _IS_NUMBER: u32 = 19;
200pub const ZEND_GUARD_PROPERTY_GET: u32 = 1;
201pub const ZEND_GUARD_PROPERTY_SET: u32 = 2;
202pub const ZEND_GUARD_PROPERTY_UNSET: u32 = 4;
203pub const ZEND_GUARD_PROPERTY_ISSET: u32 = 8;
204pub const ZEND_GUARD_PROPERTY_MASK: u32 = 15;
205pub const ZEND_GUARD_RECURSION_DEBUG: u32 = 16;
206pub const ZEND_GUARD_RECURSION_EXPORT: u32 = 32;
207pub const ZEND_GUARD_RECURSION_JSON: u32 = 64;
208pub const Z_TYPE_MASK: u32 = 255;
209pub const Z_TYPE_FLAGS_MASK: u32 = 65280;
210pub const Z_TYPE_FLAGS_SHIFT: u32 = 8;
211pub const Z_TYPE_INFO_EXTRA_SHIFT: u32 = 16;
212pub const GC_TYPE_MASK: u32 = 15;
213pub const GC_FLAGS_MASK: u32 = 1008;
214pub const GC_INFO_MASK: u32 = 4294966272;
215pub const GC_FLAGS_SHIFT: u32 = 0;
216pub const GC_INFO_SHIFT: u32 = 10;
217pub const GC_NOT_COLLECTABLE: u32 = 16;
218pub const GC_PROTECTED: u32 = 32;
219pub const GC_IMMUTABLE: u32 = 64;
220pub const GC_PERSISTENT: u32 = 128;
221pub const GC_PERSISTENT_LOCAL: u32 = 256;
222pub const GC_NULL: u32 = 17;
223pub const GC_STRING: u32 = 22;
224pub const GC_ARRAY: u32 = 7;
225pub const GC_OBJECT: u32 = 8;
226pub const GC_RESOURCE: u32 = 25;
227pub const GC_REFERENCE: u32 = 26;
228pub const GC_CONSTANT_AST: u32 = 27;
229pub const IS_TYPE_REFCOUNTED: u32 = 1;
230pub const IS_TYPE_COLLECTABLE: u32 = 2;
231pub const IS_STATIC_VAR_UNINITIALIZED: u32 = 1;
232pub const IS_INTERNED_STRING_EX: u32 = 6;
233pub const IS_STRING_EX: u32 = 262;
234pub const IS_ARRAY_EX: u32 = 775;
235pub const IS_OBJECT_EX: u32 = 776;
236pub const IS_RESOURCE_EX: u32 = 265;
237pub const IS_REFERENCE_EX: u32 = 266;
238pub const IS_CONSTANT_AST_EX: u32 = 267;
239pub const IS_STR_CLASS_NAME_MAP_PTR: u32 = 32;
240pub const IS_STR_INTERNED: u32 = 64;
241pub const IS_STR_PERSISTENT: u32 = 128;
242pub const IS_STR_PERMANENT: u32 = 256;
243pub const IS_STR_VALID_UTF8: u32 = 512;
244pub const IS_ARRAY_IMMUTABLE: u32 = 64;
245pub const IS_ARRAY_PERSISTENT: u32 = 128;
246pub const IS_OBJ_WEAKLY_REFERENCED: u32 = 128;
247pub const IS_OBJ_DESTRUCTOR_CALLED: u32 = 256;
248pub const IS_OBJ_FREE_CALLED: u32 = 512;
249pub const ZEND_RC_DEBUG: u32 = 0;
250pub const IS_PROP_UNINIT: u32 = 1;
251pub const IS_PROP_REINITABLE: u32 = 2;
252pub const ZEND_MAP_PTR_KIND_PTR: u32 = 0;
253pub const ZEND_MAP_PTR_KIND_PTR_OR_OFFSET: u32 = 1;
254pub const ZEND_MAP_PTR_KIND: u32 = 1;
255pub const ZEND_MM_OVERHEAD: u32 = 0;
256pub const ZEND_MM_PAGE_SIZE: u32 = 4096;
257pub const ZEND_MM_FIRST_PAGE: u32 = 1;
258pub const ZEND_MM_MIN_SMALL_SIZE: u32 = 8;
259pub const ZEND_MM_MAX_SMALL_SIZE: u32 = 3072;
260pub const ZEND_MM_CUSTOM_HEAP_NONE: u32 = 0;
261pub const ZEND_MM_CUSTOM_HEAP_STD: u32 = 1;
262pub const ZEND_MM_CUSTOM_HEAP_DEBUG: u32 = 2;
263pub const HASH_KEY_IS_STRING: u32 = 1;
264pub const HASH_KEY_IS_LONG: u32 = 2;
265pub const HASH_KEY_NON_EXISTENT: u32 = 3;
266pub const HASH_UPDATE: u32 = 1;
267pub const HASH_ADD: u32 = 2;
268pub const HASH_UPDATE_INDIRECT: u32 = 4;
269pub const HASH_ADD_NEW: u32 = 8;
270pub const HASH_ADD_NEXT: u32 = 16;
271pub const HASH_LOOKUP: u32 = 32;
272pub const HASH_FLAG_CONSISTENCY: u32 = 3;
273pub const HASH_FLAG_PACKED: u32 = 4;
274pub const HASH_FLAG_UNINITIALIZED: u32 = 8;
275pub const HASH_FLAG_STATIC_KEYS: u32 = 16;
276pub const HASH_FLAG_HAS_EMPTY_IND: u32 = 32;
277pub const HASH_FLAG_ALLOW_COW_VIOLATION: u32 = 64;
278pub const HASH_FLAG_MASK: u32 = 255;
279pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
280pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
281pub const ZEND_HASH_APPLY_STOP: u32 = 2;
282pub const ZEND_AST_SPEC: u32 = 1;
283pub const ZEND_AST_SPECIAL_SHIFT: u32 = 6;
284pub const ZEND_AST_IS_LIST_SHIFT: u32 = 7;
285pub const ZEND_AST_NUM_CHILDREN_SHIFT: u32 = 8;
286pub const ZEND_HRTIME_PLATFORM_POSIX: u32 = 0;
287pub const ZEND_HRTIME_PLATFORM_WINDOWS: u32 = 0;
288pub const ZEND_HRTIME_PLATFORM_APPLE: u32 = 0;
289pub const ZEND_HRTIME_PLATFORM_HPUX: u32 = 0;
290pub const ZEND_HRTIME_PLATFORM_AIX: u32 = 0;
291pub const GC_BENCH: u32 = 0;
292pub const ZEND_MMAP_AHEAD: u32 = 32;
293pub const ZEND_SIGNAL_QUEUE_SIZE: u32 = 64;
294pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
295pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
296pub const ZEND_PROPERTY_ISSET: u32 = 0;
297pub const ZEND_PROPERTY_EXISTS: u32 = 2;
298pub const ZEND_UNCOMPARABLE: u32 = 1;
299pub const ZEND_USE_ASM_ARITHMETIC: u32 = 1;
300pub const ZEND_USE_ABS_JMP_ADDR: u32 = 0;
301pub const ZEND_USE_ABS_CONST_ADDR: u32 = 0;
302pub const ZEND_LIVE_TMPVAR: u32 = 0;
303pub const ZEND_LIVE_LOOP: u32 = 1;
304pub const ZEND_LIVE_SILENCE: u32 = 2;
305pub const ZEND_LIVE_ROPE: u32 = 3;
306pub const ZEND_LIVE_NEW: u32 = 4;
307pub const ZEND_LIVE_MASK: u32 = 7;
308pub const ZEND_ACC_PUBLIC: u32 = 1;
309pub const ZEND_ACC_PROTECTED: u32 = 2;
310pub const ZEND_ACC_PRIVATE: u32 = 4;
311pub const ZEND_ACC_CHANGED: u32 = 8;
312pub const ZEND_ACC_STATIC: u32 = 16;
313pub const ZEND_ACC_PROMOTED: u32 = 32;
314pub const ZEND_ACC_FINAL: u32 = 32;
315pub const ZEND_ACC_ABSTRACT: u32 = 64;
316pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 64;
317pub const ZEND_ACC_READONLY: u32 = 128;
318pub const ZEND_ACC_IMMUTABLE: u32 = 128;
319pub const ZEND_ACC_HAS_TYPE_HINTS: u32 = 256;
320pub const ZEND_ACC_TOP_LEVEL: u32 = 512;
321pub const ZEND_ACC_PRELOADED: u32 = 1024;
322pub const ZEND_CLASS_CONST_IS_CASE: u32 = 64;
323pub const ZEND_ACC_INTERFACE: u32 = 1;
324pub const ZEND_ACC_TRAIT: u32 = 2;
325pub const ZEND_ACC_ANON_CLASS: u32 = 4;
326pub const ZEND_ACC_ENUM: u32 = 268435456;
327pub const ZEND_ACC_LINKED: u32 = 8;
328pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
329pub const ZEND_ACC_USE_GUARDS: u32 = 2048;
330pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 4096;
331pub const ZEND_ACC_NO_DYNAMIC_PROPERTIES: u32 = 8192;
332pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 16384;
333pub const ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES: u32 = 32768;
334pub const ZEND_ACC_READONLY_CLASS: u32 = 65536;
335pub const ZEND_ACC_RESOLVED_PARENT: u32 = 131072;
336pub const ZEND_ACC_RESOLVED_INTERFACES: u32 = 262144;
337pub const ZEND_ACC_UNRESOLVED_VARIANCE: u32 = 524288;
338pub const ZEND_ACC_NEARLY_LINKED: u32 = 1048576;
339pub const ZEND_ACC_HAS_READONLY_PROPS: u32 = 2097152;
340pub const ZEND_ACC_CACHED: u32 = 4194304;
341pub const ZEND_ACC_CACHEABLE: u32 = 8388608;
342pub const ZEND_ACC_HAS_AST_CONSTANTS: u32 = 16777216;
343pub const ZEND_ACC_HAS_AST_PROPERTIES: u32 = 33554432;
344pub const ZEND_ACC_HAS_AST_STATICS: u32 = 67108864;
345pub const ZEND_ACC_FILE_CACHED: u32 = 134217728;
346pub const ZEND_ACC_NOT_SERIALIZABLE: u32 = 536870912;
347pub const ZEND_ACC_DEPRECATED: u32 = 2048;
348pub const ZEND_ACC_RETURN_REFERENCE: u32 = 4096;
349pub const ZEND_ACC_HAS_RETURN_TYPE: u32 = 8192;
350pub const ZEND_ACC_VARIADIC: u32 = 16384;
351pub const ZEND_ACC_HAS_FINALLY_BLOCK: u32 = 32768;
352pub const ZEND_ACC_EARLY_BINDING: u32 = 65536;
353pub const ZEND_ACC_USES_THIS: u32 = 131072;
354pub const ZEND_ACC_CALL_VIA_TRAMPOLINE: u32 = 262144;
355pub const ZEND_ACC_NEVER_CACHE: u32 = 524288;
356pub const ZEND_ACC_TRAIT_CLONE: u32 = 1048576;
357pub const ZEND_ACC_CTOR: u32 = 2097152;
358pub const ZEND_ACC_CLOSURE: u32 = 4194304;
359pub const ZEND_ACC_FAKE_CLOSURE: u32 = 8388608;
360pub const ZEND_ACC_GENERATOR: u32 = 16777216;
361pub const ZEND_ACC_DONE_PASS_TWO: u32 = 33554432;
362pub const ZEND_ACC_ARENA_ALLOCATED: u32 = 33554432;
363pub const ZEND_ACC_HEAP_RT_CACHE: u32 = 67108864;
364pub const ZEND_ACC_USER_ARG_INFO: u32 = 67108864;
365pub const ZEND_ACC_COMPILE_TIME_EVAL: u32 = 134217728;
366pub const ZEND_ACC_OVERRIDE: u32 = 268435456;
367pub const ZEND_ACC_STRICT_TYPES: u32 = 2147483648;
368pub const ZEND_ACC_PPP_MASK: u32 = 7;
369pub const ZEND_ACC_CALL_VIA_HANDLER: u32 = 262144;
370pub const ZEND_SHORT_CIRCUITING_CHAIN_MASK: u32 = 3;
371pub const ZEND_SHORT_CIRCUITING_CHAIN_EXPR: u32 = 0;
372pub const ZEND_SHORT_CIRCUITING_CHAIN_ISSET: u32 = 1;
373pub const ZEND_SHORT_CIRCUITING_CHAIN_EMPTY: u32 = 2;
374pub const ZEND_JMP_NULL_BP_VAR_IS: u32 = 4;
375pub const ZEND_RETURN_VALUE: u32 = 0;
376pub const ZEND_RETURN_REFERENCE: u32 = 1;
377pub const ZEND_CALL_HAS_THIS: u32 = 776;
378pub const ZEND_CALL_FUNCTION: u32 = 0;
379pub const ZEND_CALL_CODE: u32 = 65536;
380pub const ZEND_CALL_NESTED: u32 = 0;
381pub const ZEND_CALL_TOP: u32 = 131072;
382pub const ZEND_CALL_ALLOCATED: u32 = 262144;
383pub const ZEND_CALL_FREE_EXTRA_ARGS: u32 = 524288;
384pub const ZEND_CALL_HAS_SYMBOL_TABLE: u32 = 1048576;
385pub const ZEND_CALL_RELEASE_THIS: u32 = 2097152;
386pub const ZEND_CALL_CLOSURE: u32 = 4194304;
387pub const ZEND_CALL_FAKE_CLOSURE: u32 = 8388608;
388pub const ZEND_CALL_GENERATOR: u32 = 16777216;
389pub const ZEND_CALL_DYNAMIC: u32 = 33554432;
390pub const ZEND_CALL_MAY_HAVE_UNDEF: u32 = 67108864;
391pub const ZEND_CALL_HAS_EXTRA_NAMED_PARAMS: u32 = 134217728;
392pub const ZEND_CALL_OBSERVED: u32 = 268435456;
393pub const ZEND_CALL_JIT_RESERVED: u32 = 536870912;
394pub const ZEND_CALL_NEEDS_REATTACH: u32 = 1073741824;
395pub const ZEND_CALL_SEND_ARG_BY_REF: u32 = 2147483648;
396pub const ZEND_CALL_NESTED_FUNCTION: u32 = 0;
397pub const ZEND_CALL_NESTED_CODE: u32 = 65536;
398pub const ZEND_CALL_TOP_FUNCTION: u32 = 131072;
399pub const ZEND_CALL_TOP_CODE: u32 = 196608;
400pub const IS_UNUSED: u32 = 0;
401pub const IS_CONST: u32 = 1;
402pub const IS_TMP_VAR: u32 = 2;
403pub const IS_VAR: u32 = 4;
404pub const IS_CV: u32 = 8;
405pub const IS_SMART_BRANCH_JMPZ: u32 = 16;
406pub const IS_SMART_BRANCH_JMPNZ: u32 = 32;
407pub const ZEND_EXTRA_VALUE: u32 = 1;
408pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
409pub const ZEND_MAX_ALLOWED_STACK_SIZE_UNCHECKED: i32 = -1;
410pub const ZEND_MAX_ALLOWED_STACK_SIZE_DETECT: u32 = 0;
411pub const ZEND_VM_SPEC: u32 = 1;
412pub const ZEND_VM_LINES: u32 = 0;
413pub const ZEND_VM_KIND_CALL: u32 = 1;
414pub const ZEND_VM_KIND_SWITCH: u32 = 2;
415pub const ZEND_VM_KIND_GOTO: u32 = 3;
416pub const ZEND_VM_KIND_HYBRID: u32 = 4;
417pub const ZEND_VM_KIND: u32 = 4;
418pub const ZEND_VM_HYBRID_JIT_RED_ZONE_SIZE: u32 = 16;
419pub const ZEND_VM_OP_SPEC: u32 = 1;
420pub const ZEND_VM_OP_CONST: u32 = 2;
421pub const ZEND_VM_OP_TMPVAR: u32 = 4;
422pub const ZEND_VM_OP_TMPVARCV: u32 = 8;
423pub const ZEND_VM_OP_MASK: u32 = 240;
424pub const ZEND_VM_OP_NUM: u32 = 16;
425pub const ZEND_VM_OP_JMP_ADDR: u32 = 32;
426pub const ZEND_VM_OP_TRY_CATCH: u32 = 48;
427pub const ZEND_VM_OP_THIS: u32 = 80;
428pub const ZEND_VM_OP_NEXT: u32 = 96;
429pub const ZEND_VM_OP_CLASS_FETCH: u32 = 112;
430pub const ZEND_VM_OP_CONSTRUCTOR: u32 = 128;
431pub const ZEND_VM_OP_CONST_FETCH: u32 = 144;
432pub const ZEND_VM_OP_CACHE_SLOT: u32 = 160;
433pub const ZEND_VM_EXT_VAR_FETCH: u32 = 65536;
434pub const ZEND_VM_EXT_ISSET: u32 = 131072;
435pub const ZEND_VM_EXT_CACHE_SLOT: u32 = 262144;
436pub const ZEND_VM_EXT_ARRAY_INIT: u32 = 524288;
437pub const ZEND_VM_EXT_REF: u32 = 1048576;
438pub const ZEND_VM_EXT_FETCH_REF: u32 = 2097152;
439pub const ZEND_VM_EXT_DIM_WRITE: u32 = 4194304;
440pub const ZEND_VM_EXT_MASK: u32 = 251658240;
441pub const ZEND_VM_EXT_NUM: u32 = 16777216;
442pub const ZEND_VM_EXT_LAST_CATCH: u32 = 33554432;
443pub const ZEND_VM_EXT_JMP_ADDR: u32 = 50331648;
444pub const ZEND_VM_EXT_OP: u32 = 67108864;
445pub const ZEND_VM_EXT_TYPE: u32 = 117440512;
446pub const ZEND_VM_EXT_EVAL: u32 = 134217728;
447pub const ZEND_VM_EXT_TYPE_MASK: u32 = 150994944;
448pub const ZEND_VM_EXT_SRC: u32 = 184549376;
449pub const ZEND_VM_NO_CONST_CONST: u32 = 1073741824;
450pub const ZEND_VM_COMMUTATIVE: u32 = 2147483648;
451pub const ZEND_NOP: u32 = 0;
452pub const ZEND_ADD: u32 = 1;
453pub const ZEND_SUB: u32 = 2;
454pub const ZEND_MUL: u32 = 3;
455pub const ZEND_DIV: u32 = 4;
456pub const ZEND_MOD: u32 = 5;
457pub const ZEND_SL: u32 = 6;
458pub const ZEND_SR: u32 = 7;
459pub const ZEND_CONCAT: u32 = 8;
460pub const ZEND_BW_OR: u32 = 9;
461pub const ZEND_BW_AND: u32 = 10;
462pub const ZEND_BW_XOR: u32 = 11;
463pub const ZEND_POW: u32 = 12;
464pub const ZEND_BW_NOT: u32 = 13;
465pub const ZEND_BOOL_NOT: u32 = 14;
466pub const ZEND_BOOL_XOR: u32 = 15;
467pub const ZEND_IS_IDENTICAL: u32 = 16;
468pub const ZEND_IS_NOT_IDENTICAL: u32 = 17;
469pub const ZEND_IS_EQUAL: u32 = 18;
470pub const ZEND_IS_NOT_EQUAL: u32 = 19;
471pub const ZEND_IS_SMALLER: u32 = 20;
472pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 21;
473pub const ZEND_ASSIGN: u32 = 22;
474pub const ZEND_ASSIGN_DIM: u32 = 23;
475pub const ZEND_ASSIGN_OBJ: u32 = 24;
476pub const ZEND_ASSIGN_STATIC_PROP: u32 = 25;
477pub const ZEND_ASSIGN_OP: u32 = 26;
478pub const ZEND_ASSIGN_DIM_OP: u32 = 27;
479pub const ZEND_ASSIGN_OBJ_OP: u32 = 28;
480pub const ZEND_ASSIGN_STATIC_PROP_OP: u32 = 29;
481pub const ZEND_ASSIGN_REF: u32 = 30;
482pub const ZEND_QM_ASSIGN: u32 = 31;
483pub const ZEND_ASSIGN_OBJ_REF: u32 = 32;
484pub const ZEND_ASSIGN_STATIC_PROP_REF: u32 = 33;
485pub const ZEND_PRE_INC: u32 = 34;
486pub const ZEND_PRE_DEC: u32 = 35;
487pub const ZEND_POST_INC: u32 = 36;
488pub const ZEND_POST_DEC: u32 = 37;
489pub const ZEND_PRE_INC_STATIC_PROP: u32 = 38;
490pub const ZEND_PRE_DEC_STATIC_PROP: u32 = 39;
491pub const ZEND_POST_INC_STATIC_PROP: u32 = 40;
492pub const ZEND_POST_DEC_STATIC_PROP: u32 = 41;
493pub const ZEND_JMP: u32 = 42;
494pub const ZEND_JMPZ: u32 = 43;
495pub const ZEND_JMPNZ: u32 = 44;
496pub const ZEND_JMPZ_EX: u32 = 46;
497pub const ZEND_JMPNZ_EX: u32 = 47;
498pub const ZEND_CASE: u32 = 48;
499pub const ZEND_CHECK_VAR: u32 = 49;
500pub const ZEND_SEND_VAR_NO_REF_EX: u32 = 50;
501pub const ZEND_CAST: u32 = 51;
502pub const ZEND_BOOL: u32 = 52;
503pub const ZEND_FAST_CONCAT: u32 = 53;
504pub const ZEND_ROPE_INIT: u32 = 54;
505pub const ZEND_ROPE_ADD: u32 = 55;
506pub const ZEND_ROPE_END: u32 = 56;
507pub const ZEND_BEGIN_SILENCE: u32 = 57;
508pub const ZEND_END_SILENCE: u32 = 58;
509pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
510pub const ZEND_DO_FCALL: u32 = 60;
511pub const ZEND_INIT_FCALL: u32 = 61;
512pub const ZEND_RETURN: u32 = 62;
513pub const ZEND_RECV: u32 = 63;
514pub const ZEND_RECV_INIT: u32 = 64;
515pub const ZEND_SEND_VAL: u32 = 65;
516pub const ZEND_SEND_VAR_EX: u32 = 66;
517pub const ZEND_SEND_REF: u32 = 67;
518pub const ZEND_NEW: u32 = 68;
519pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
520pub const ZEND_FREE: u32 = 70;
521pub const ZEND_INIT_ARRAY: u32 = 71;
522pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
523pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
524pub const ZEND_UNSET_VAR: u32 = 74;
525pub const ZEND_UNSET_DIM: u32 = 75;
526pub const ZEND_UNSET_OBJ: u32 = 76;
527pub const ZEND_FE_RESET_R: u32 = 77;
528pub const ZEND_FE_FETCH_R: u32 = 78;
529pub const ZEND_EXIT: u32 = 79;
530pub const ZEND_FETCH_R: u32 = 80;
531pub const ZEND_FETCH_DIM_R: u32 = 81;
532pub const ZEND_FETCH_OBJ_R: u32 = 82;
533pub const ZEND_FETCH_W: u32 = 83;
534pub const ZEND_FETCH_DIM_W: u32 = 84;
535pub const ZEND_FETCH_OBJ_W: u32 = 85;
536pub const ZEND_FETCH_RW: u32 = 86;
537pub const ZEND_FETCH_DIM_RW: u32 = 87;
538pub const ZEND_FETCH_OBJ_RW: u32 = 88;
539pub const ZEND_FETCH_IS: u32 = 89;
540pub const ZEND_FETCH_DIM_IS: u32 = 90;
541pub const ZEND_FETCH_OBJ_IS: u32 = 91;
542pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
543pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
544pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
545pub const ZEND_FETCH_UNSET: u32 = 95;
546pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
547pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
548pub const ZEND_FETCH_LIST_R: u32 = 98;
549pub const ZEND_FETCH_CONSTANT: u32 = 99;
550pub const ZEND_CHECK_FUNC_ARG: u32 = 100;
551pub const ZEND_EXT_STMT: u32 = 101;
552pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
553pub const ZEND_EXT_FCALL_END: u32 = 103;
554pub const ZEND_EXT_NOP: u32 = 104;
555pub const ZEND_TICKS: u32 = 105;
556pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
557pub const ZEND_CATCH: u32 = 107;
558pub const ZEND_THROW: u32 = 108;
559pub const ZEND_FETCH_CLASS: u32 = 109;
560pub const ZEND_CLONE: u32 = 110;
561pub const ZEND_RETURN_BY_REF: u32 = 111;
562pub const ZEND_INIT_METHOD_CALL: u32 = 112;
563pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
564pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
565pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
566pub const ZEND_SEND_VAL_EX: u32 = 116;
567pub const ZEND_SEND_VAR: u32 = 117;
568pub const ZEND_INIT_USER_CALL: u32 = 118;
569pub const ZEND_SEND_ARRAY: u32 = 119;
570pub const ZEND_SEND_USER: u32 = 120;
571pub const ZEND_STRLEN: u32 = 121;
572pub const ZEND_DEFINED: u32 = 122;
573pub const ZEND_TYPE_CHECK: u32 = 123;
574pub const ZEND_VERIFY_RETURN_TYPE: u32 = 124;
575pub const ZEND_FE_RESET_RW: u32 = 125;
576pub const ZEND_FE_FETCH_RW: u32 = 126;
577pub const ZEND_FE_FREE: u32 = 127;
578pub const ZEND_INIT_DYNAMIC_CALL: u32 = 128;
579pub const ZEND_DO_ICALL: u32 = 129;
580pub const ZEND_DO_UCALL: u32 = 130;
581pub const ZEND_DO_FCALL_BY_NAME: u32 = 131;
582pub const ZEND_PRE_INC_OBJ: u32 = 132;
583pub const ZEND_PRE_DEC_OBJ: u32 = 133;
584pub const ZEND_POST_INC_OBJ: u32 = 134;
585pub const ZEND_POST_DEC_OBJ: u32 = 135;
586pub const ZEND_ECHO: u32 = 136;
587pub const ZEND_OP_DATA: u32 = 137;
588pub const ZEND_INSTANCEOF: u32 = 138;
589pub const ZEND_GENERATOR_CREATE: u32 = 139;
590pub const ZEND_MAKE_REF: u32 = 140;
591pub const ZEND_DECLARE_FUNCTION: u32 = 141;
592pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 142;
593pub const ZEND_DECLARE_CONST: u32 = 143;
594pub const ZEND_DECLARE_CLASS: u32 = 144;
595pub const ZEND_DECLARE_CLASS_DELAYED: u32 = 145;
596pub const ZEND_DECLARE_ANON_CLASS: u32 = 146;
597pub const ZEND_ADD_ARRAY_UNPACK: u32 = 147;
598pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
599pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
600pub const ZEND_USER_OPCODE: u32 = 150;
601pub const ZEND_ASSERT_CHECK: u32 = 151;
602pub const ZEND_JMP_SET: u32 = 152;
603pub const ZEND_UNSET_CV: u32 = 153;
604pub const ZEND_ISSET_ISEMPTY_CV: u32 = 154;
605pub const ZEND_FETCH_LIST_W: u32 = 155;
606pub const ZEND_SEPARATE: u32 = 156;
607pub const ZEND_FETCH_CLASS_NAME: u32 = 157;
608pub const ZEND_CALL_TRAMPOLINE: u32 = 158;
609pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
610pub const ZEND_YIELD: u32 = 160;
611pub const ZEND_GENERATOR_RETURN: u32 = 161;
612pub const ZEND_FAST_CALL: u32 = 162;
613pub const ZEND_FAST_RET: u32 = 163;
614pub const ZEND_RECV_VARIADIC: u32 = 164;
615pub const ZEND_SEND_UNPACK: u32 = 165;
616pub const ZEND_YIELD_FROM: u32 = 166;
617pub const ZEND_COPY_TMP: u32 = 167;
618pub const ZEND_BIND_GLOBAL: u32 = 168;
619pub const ZEND_COALESCE: u32 = 169;
620pub const ZEND_SPACESHIP: u32 = 170;
621pub const ZEND_FUNC_NUM_ARGS: u32 = 171;
622pub const ZEND_FUNC_GET_ARGS: u32 = 172;
623pub const ZEND_FETCH_STATIC_PROP_R: u32 = 173;
624pub const ZEND_FETCH_STATIC_PROP_W: u32 = 174;
625pub const ZEND_FETCH_STATIC_PROP_RW: u32 = 175;
626pub const ZEND_FETCH_STATIC_PROP_IS: u32 = 176;
627pub const ZEND_FETCH_STATIC_PROP_FUNC_ARG: u32 = 177;
628pub const ZEND_FETCH_STATIC_PROP_UNSET: u32 = 178;
629pub const ZEND_UNSET_STATIC_PROP: u32 = 179;
630pub const ZEND_ISSET_ISEMPTY_STATIC_PROP: u32 = 180;
631pub const ZEND_FETCH_CLASS_CONSTANT: u32 = 181;
632pub const ZEND_BIND_LEXICAL: u32 = 182;
633pub const ZEND_BIND_STATIC: u32 = 183;
634pub const ZEND_FETCH_THIS: u32 = 184;
635pub const ZEND_SEND_FUNC_ARG: u32 = 185;
636pub const ZEND_ISSET_ISEMPTY_THIS: u32 = 186;
637pub const ZEND_SWITCH_LONG: u32 = 187;
638pub const ZEND_SWITCH_STRING: u32 = 188;
639pub const ZEND_IN_ARRAY: u32 = 189;
640pub const ZEND_COUNT: u32 = 190;
641pub const ZEND_GET_CLASS: u32 = 191;
642pub const ZEND_GET_CALLED_CLASS: u32 = 192;
643pub const ZEND_GET_TYPE: u32 = 193;
644pub const ZEND_ARRAY_KEY_EXISTS: u32 = 194;
645pub const ZEND_MATCH: u32 = 195;
646pub const ZEND_CASE_STRICT: u32 = 196;
647pub const ZEND_MATCH_ERROR: u32 = 197;
648pub const ZEND_JMP_NULL: u32 = 198;
649pub const ZEND_CHECK_UNDEF_ARGS: u32 = 199;
650pub const ZEND_FETCH_GLOBALS: u32 = 200;
651pub const ZEND_VERIFY_NEVER_TYPE: u32 = 201;
652pub const ZEND_CALLABLE_CONVERT: u32 = 202;
653pub const ZEND_BIND_INIT_STATIC_OR_JMP: u32 = 203;
654pub const ZEND_VM_LAST_OPCODE: u32 = 203;
655pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
656pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
657pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
658pub const ZEND_FETCH_CLASS_STATIC: u32 = 3;
659pub const ZEND_FETCH_CLASS_AUTO: u32 = 4;
660pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 5;
661pub const ZEND_FETCH_CLASS_TRAIT: u32 = 6;
662pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
663pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
664pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
665pub const ZEND_FETCH_CLASS_EXCEPTION: u32 = 512;
666pub const ZEND_FETCH_CLASS_ALLOW_UNLINKED: u32 = 1024;
667pub const ZEND_FETCH_CLASS_ALLOW_NEARLY_LINKED: u32 = 2048;
668pub const ZEND_PARAM_REF: u32 = 8;
669pub const ZEND_PARAM_VARIADIC: u32 = 16;
670pub const ZEND_NAME_FQ: u32 = 0;
671pub const ZEND_NAME_NOT_FQ: u32 = 1;
672pub const ZEND_NAME_RELATIVE: u32 = 2;
673pub const ZEND_CONST_EXPR_NEW_FETCH_TYPE_SHIFT: u32 = 2;
674pub const ZEND_TYPE_NULLABLE: u32 = 256;
675pub const ZEND_ARRAY_SYNTAX_LIST: u32 = 1;
676pub const ZEND_ARRAY_SYNTAX_LONG: u32 = 2;
677pub const ZEND_ARRAY_SYNTAX_SHORT: u32 = 3;
678pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
679pub const ZEND_USER_FUNCTION: u32 = 2;
680pub const ZEND_EVAL_CODE: u32 = 4;
681pub const ZEND_INTERNAL_CLASS: u32 = 1;
682pub const ZEND_USER_CLASS: u32 = 2;
683pub const ZEND_EVAL: u32 = 1;
684pub const ZEND_INCLUDE: u32 = 2;
685pub const ZEND_INCLUDE_ONCE: u32 = 4;
686pub const ZEND_REQUIRE: u32 = 8;
687pub const ZEND_REQUIRE_ONCE: u32 = 16;
688pub const ZEND_FETCH_GLOBAL: u32 = 2;
689pub const ZEND_FETCH_LOCAL: u32 = 4;
690pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 8;
691pub const ZEND_FETCH_TYPE_MASK: u32 = 14;
692pub const ZEND_FETCH_REF: u32 = 1;
693pub const ZEND_FETCH_DIM_WRITE: u32 = 2;
694pub const ZEND_FETCH_OBJ_FLAGS: u32 = 3;
695pub const ZEND_FETCH_DIM_REF: u32 = 1;
696pub const ZEND_FETCH_DIM_DIM: u32 = 2;
697pub const ZEND_FETCH_DIM_OBJ: u32 = 3;
698pub const ZEND_FETCH_DIM_INCDEC: u32 = 4;
699pub const ZEND_ISEMPTY: u32 = 1;
700pub const ZEND_LAST_CATCH: u32 = 1;
701pub const ZEND_FREE_ON_RETURN: u32 = 1;
702pub const ZEND_FREE_SWITCH: u32 = 2;
703pub const ZEND_SEND_BY_VAL: u32 = 0;
704pub const ZEND_SEND_BY_REF: u32 = 1;
705pub const ZEND_SEND_PREFER_REF: u32 = 2;
706pub const ZEND_THROW_IS_EXPR: u32 = 1;
707pub const ZEND_FCALL_MAY_HAVE_EXTRA_NAMED_PARAMS: u32 = 1;
708pub const _ZEND_SEND_MODE_SHIFT: u32 = 25;
709pub const _ZEND_IS_VARIADIC_BIT: u32 = 134217728;
710pub const _ZEND_IS_PROMOTED_BIT: u32 = 268435456;
711pub const _ZEND_IS_TENTATIVE_BIT: u32 = 536870912;
712pub const ZEND_DIM_IS: u32 = 1;
713pub const ZEND_DIM_ALTERNATIVE_SYNTAX: u32 = 2;
714pub const ZEND_ENCAPS_VAR_DOLLAR_CURLY: u32 = 1;
715pub const ZEND_ENCAPS_VAR_DOLLAR_CURLY_VAR_VAR: u32 = 2;
716pub const IS_CONSTANT_CLASS: u32 = 1024;
717pub const IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE: u32 = 2048;
718pub const ZEND_RETURN_VAL: u32 = 0;
719pub const ZEND_RETURN_REF: u32 = 1;
720pub const ZEND_BIND_VAL: u32 = 0;
721pub const ZEND_BIND_REF: u32 = 1;
722pub const ZEND_BIND_IMPLICIT: u32 = 2;
723pub const ZEND_BIND_EXPLICIT: u32 = 4;
724pub const ZEND_RETURNS_FUNCTION: u32 = 1;
725pub const ZEND_RETURNS_VALUE: u32 = 2;
726pub const ZEND_ARRAY_ELEMENT_REF: u32 = 1;
727pub const ZEND_ARRAY_NOT_PACKED: u32 = 2;
728pub const ZEND_ARRAY_SIZE_SHIFT: u32 = 2;
729pub const ZEND_PARENTHESIZED_CONDITIONAL: u32 = 1;
730pub const ZEND_SYMBOL_CLASS: u32 = 1;
731pub const ZEND_SYMBOL_FUNCTION: u32 = 2;
732pub const ZEND_SYMBOL_CONST: u32 = 4;
733pub const ZEND_GOTO: u32 = 253;
734pub const ZEND_BRK: u32 = 254;
735pub const ZEND_CONT: u32 = 255;
736pub const ZEND_CLONE_FUNC_NAME: &[u8; 8] = b"__clone\0";
737pub const ZEND_CONSTRUCTOR_FUNC_NAME: &[u8; 12] = b"__construct\0";
738pub const ZEND_DESTRUCTOR_FUNC_NAME: &[u8; 11] = b"__destruct\0";
739pub const ZEND_GET_FUNC_NAME: &[u8; 6] = b"__get\0";
740pub const ZEND_SET_FUNC_NAME: &[u8; 6] = b"__set\0";
741pub const ZEND_UNSET_FUNC_NAME: &[u8; 8] = b"__unset\0";
742pub const ZEND_ISSET_FUNC_NAME: &[u8; 8] = b"__isset\0";
743pub const ZEND_CALL_FUNC_NAME: &[u8; 7] = b"__call\0";
744pub const ZEND_CALLSTATIC_FUNC_NAME: &[u8; 13] = b"__callstatic\0";
745pub const ZEND_TOSTRING_FUNC_NAME: &[u8; 11] = b"__tostring\0";
746pub const ZEND_INVOKE_FUNC_NAME: &[u8; 9] = b"__invoke\0";
747pub const ZEND_DEBUGINFO_FUNC_NAME: &[u8; 12] = b"__debuginfo\0";
748pub const ZEND_COMPILE_EXTENDED_STMT: u32 = 1;
749pub const ZEND_COMPILE_EXTENDED_FCALL: u32 = 2;
750pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 3;
751pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 4;
752pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 8;
753pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 16;
754pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 32;
755pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 64;
756pub const ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION: u32 = 256;
757pub const ZEND_COMPILE_IGNORE_USER_FUNCTIONS: u32 = 512;
758pub const ZEND_COMPILE_GUARDS: u32 = 1024;
759pub const ZEND_COMPILE_NO_BUILTINS: u32 = 2048;
760pub const ZEND_COMPILE_WITH_FILE_CACHE: u32 = 4096;
761pub const ZEND_COMPILE_IGNORE_OTHER_FILES: u32 = 8192;
762pub const ZEND_COMPILE_WITHOUT_EXECUTION: u32 = 16384;
763pub const ZEND_COMPILE_PRELOAD: u32 = 32768;
764pub const ZEND_COMPILE_NO_JUMPTABLES: u32 = 65536;
765pub const ZEND_COMPILE_PRELOAD_IN_CHILD: u32 = 131072;
766pub const ZEND_COMPILE_IGNORE_OBSERVER: u32 = 262144;
767pub const ZEND_COMPILE_DEFAULT: u32 = 4;
768pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
769pub const ZEND_BUILD_TS: &[u8; 5] = b",NTS\0";
770pub const ZEND_MODULE_API_NO: u32 = 20230831;
771pub const USING_ZTS: u32 = 0;
772pub const MODULE_PERSISTENT: u32 = 1;
773pub const MODULE_TEMPORARY: u32 = 2;
774pub const MODULE_DEP_REQUIRED: u32 = 1;
775pub const MODULE_DEP_CONFLICTS: u32 = 2;
776pub const MODULE_DEP_OPTIONAL: u32 = 3;
777pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
778pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
779pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
780pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
781pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
782pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
783pub const ZEND_PARSE_PARAMS_THROW: u32 = 0;
784pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
785pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
786pub const IS_CALLABLE_SUPPRESS_DEPRECATIONS: u32 = 2;
787pub const PHP_OS_FAMILY: &[u8; 6] = b"Linux\0";
788pub const PHP_DEBUG: u32 = 0;
789pub const PHP_DIR_SEPARATOR: u8 = 47u8;
790pub const PHP_EOL: &[u8; 2] = b"\n\0";
791pub const PHP_ODBC_CFLAGS: &[u8; 1] = b"\0";
792pub const PHP_ODBC_LFLAGS: &[u8; 1] = b"\0";
793pub const PHP_ODBC_LIBS: &[u8; 1] = b"\0";
794pub const PHP_ODBC_TYPE: &[u8; 1] = b"\0";
795pub const PHP_OCI8_DIR: &[u8; 1] = b"\0";
796pub const PHP_OCI8_ORACLE_VERSION: &[u8; 1] = b"\0";
797pub const PHP_PROG_SENDMAIL: &[u8; 19] = b"/usr/sbin/sendmail\0";
798pub const PHP_INCLUDE_PATH: &[u8; 17] = b".:/usr/share/php\0";
799pub const PHP_EXTENSION_DIR: &[u8; 22] = b"/usr/lib/php/20230831\0";
800pub const PHP_PREFIX: &[u8; 5] = b"/usr\0";
801pub const PHP_BINDIR: &[u8; 9] = b"/usr/bin\0";
802pub const PHP_SBINDIR: &[u8; 10] = b"/usr/sbin\0";
803pub const PHP_MANDIR: &[u8; 15] = b"/usr/share/man\0";
804pub const PHP_LIBDIR: &[u8; 13] = b"/usr/lib/php\0";
805pub const PHP_DATADIR: &[u8; 19] = b"/usr/share/php/8.3\0";
806pub const PHP_SYSCONFDIR: &[u8; 5] = b"/etc\0";
807pub const PHP_LOCALSTATEDIR: &[u8; 5] = b"/var\0";
808pub const PHP_CONFIG_FILE_PATH: &[u8; 17] = b"/etc/php/8.3/cli\0";
809pub const PHP_CONFIG_FILE_SCAN_DIR: &[u8; 24] = b"/etc/php/8.3/cli/conf.d\0";
810pub const PHP_SHLIB_SUFFIX: &[u8; 3] = b"so\0";
811pub const PHP_SHLIB_EXT_PREFIX: &[u8; 1] = b"\0";
812pub const PHP_MIME_TYPE: &[u8; 24] = b"application/x-httpd-php\0";
813pub const PHP_SYSLOG_FILTER_ALL: u32 = 0;
814pub const PHP_SYSLOG_FILTER_NO_CTRL: u32 = 1;
815pub const PHP_SYSLOG_FILTER_ASCII: u32 = 2;
816pub const PHP_SYSLOG_FILTER_RAW: u32 = 3;
817pub const PHP_OUTPUT_NEWAPI: u32 = 1;
818pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
819pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
820pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
821pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
822pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
823pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
824pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
825pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
826pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
827pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
828pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
829pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
830pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
831pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
832pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
833pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
834pub const PHP_OUTPUT_POP_TRY: u32 = 0;
835pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
836pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
837pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
838pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
839pub const PHP_OUTPUT_DISABLED: u32 = 2;
840pub const PHP_OUTPUT_WRITTEN: u32 = 4;
841pub const PHP_OUTPUT_SENT: u32 = 8;
842pub const PHP_OUTPUT_ACTIVE: u32 = 16;
843pub const PHP_OUTPUT_LOCKED: u32 = 32;
844pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
845pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
846pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
847pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
848pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
849pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
850pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
851pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
852pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
853pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
854pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
855pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
856pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
857pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
858pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
859pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
860pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
861pub const PHP_STREAM_FILTER_READ: u32 = 1;
862pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
863pub const PHP_STREAM_FILTER_ALL: u32 = 3;
864pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
865pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
866pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
867pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
868pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
869pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
870pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
871pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
872pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
873pub const PHP_STREAM_FLAG_SUPPRESS_ERRORS: u32 = 256;
874pub const PHP_STREAM_FLAG_NO_RSCR_DTOR_CLOSE: u32 = 512;
875pub const PHP_STREAM_FLAG_NO_IO: u32 = 1024;
876pub const PHP_STREAM_FLAG_WAS_WRITTEN: u32 = 2147483648;
877pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
878pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
879pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
880pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
881pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
882pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
883pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
884pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
885pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
886pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
887pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
888pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
889pub const PHP_STREAM_FREE_KEEP_RSRC: u32 = 64;
890pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
891pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
892pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
893pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
894pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
895pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
896pub const PHP_STREAM_URL_STAT_IGNORE_OPEN_BASEDIR: u32 = 4;
897pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
898pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
899pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
900pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
901pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
902pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
903pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
904pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
905pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
906pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
907pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
908pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
909pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
910pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
911pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
912pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
913pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
914pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
915pub const PHP_STREAM_OPTION_PIPE_BLOCKING: u32 = 13;
916pub const PHP_STREAM_OPTION_SYNC_API: u32 = 14;
917pub const PHP_STREAM_SYNC_SUPPORTED: u32 = 0;
918pub const PHP_STREAM_SYNC_FSYNC: u32 = 1;
919pub const PHP_STREAM_SYNC_FDSYNC: u32 = 2;
920pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
921pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
922pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
923pub const PHP_STREAM_MMAP_ALL: u32 = 0;
924pub const PHP_STREAM_MMAP_MAX: u32 = 536870912;
925pub const PHP_STREAM_AS_STDIO: u32 = 0;
926pub const PHP_STREAM_AS_FD: u32 = 1;
927pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
928pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
929pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
930pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
931pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
932pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
933pub const PHP_STREAM_UNCHANGED: u32 = 0;
934pub const PHP_STREAM_RELEASED: u32 = 1;
935pub const PHP_STREAM_FAILED: u32 = 2;
936pub const PHP_STREAM_CRITICAL: u32 = 3;
937pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
938pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
939pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
940pub const PHP_STREAM_IS_URL: u32 = 1;
941pub const PHP_STREAM_META_TOUCH: u32 = 1;
942pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
943pub const PHP_STREAM_META_OWNER: u32 = 3;
944pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
945pub const PHP_STREAM_META_GROUP: u32 = 5;
946pub const PHP_STREAM_META_ACCESS: u32 = 6;
947pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
948pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
949pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
950pub const ZEND_INI_USER: u32 = 1;
951pub const ZEND_INI_PERDIR: u32 = 2;
952pub const ZEND_INI_SYSTEM: u32 = 4;
953pub const ZEND_INI_ALL: u32 = 7;
954pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
955pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
956pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
957pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
958pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
959pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
960pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
961pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
962pub const ZEND_INI_STAGE_IN_REQUEST: u32 = 60;
963pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
964pub const ZEND_INI_PARSER_SECTION: u32 = 2;
965pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
966pub const PHP_INI_USER: u32 = 1;
967pub const PHP_INI_PERDIR: u32 = 2;
968pub const PHP_INI_SYSTEM: u32 = 4;
969pub const PHP_INI_ALL: u32 = 7;
970pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
971pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
972pub const PHP_INI_STAGE_STARTUP: u32 = 1;
973pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
974pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
975pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
976pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
977pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
978pub const PHP_USER_CONSTANT: u32 = 8388607;
979pub const PHP_CONNECTION_NORMAL: u32 = 0;
980pub const PHP_CONNECTION_ABORTED: u32 = 1;
981pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
982pub const PHP_ENTRY_NAME_COLOR: &[u8; 5] = b"#ccf\0";
983pub const PHP_CONTENTS_COLOR: &[u8; 5] = b"#ccc\0";
984pub const PHP_HEADER_COLOR: &[u8; 5] = b"#99c\0";
985pub const PHP_INFO_GENERAL: u32 = 1;
986pub const PHP_INFO_CREDITS: u32 = 2;
987pub const PHP_INFO_CONFIGURATION: u32 = 4;
988pub const PHP_INFO_MODULES: u32 = 8;
989pub const PHP_INFO_ENVIRONMENT: u32 = 16;
990pub const PHP_INFO_VARIABLES: u32 = 32;
991pub const PHP_INFO_LICENSE: u32 = 64;
992pub const PHP_INFO_ALL: u32 = 4294967295;
993pub const PHP_CREDITS_GROUP: u32 = 1;
994pub const PHP_CREDITS_GENERAL: u32 = 2;
995pub const PHP_CREDITS_SAPI: u32 = 4;
996pub const PHP_CREDITS_MODULES: u32 = 8;
997pub const PHP_CREDITS_DOCS: u32 = 16;
998pub const PHP_CREDITS_FULLPAGE: u32 = 32;
999pub const PHP_CREDITS_QA: u32 = 64;
1000pub const PHP_CREDITS_WEB: u32 = 128;
1001pub const PHP_CREDITS_PACKAGING: u32 = 256;
1002pub const PHP_CREDITS_ALL: u32 = 4294967295;
1003pub const PHP_LOGO_DATA_URI : & [u8 ; 5439] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAABACAYAAAA+j9gsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAD4BJREFUeNrsnXtwXFUdx8/dBGihmE21QCrQDY6oZZykon/gY5qizjgM2KQMfzFAOioOA5KEh+j4R9oZH7zT6MAMKrNphZFSQreKHRgZmspLHSCJ2Co6tBtJk7Zps7tJs5t95F5/33PvWU4293F29ybdlPzaM3df2XPv+Zzf4/zOuWc1tkjl+T0HQ3SQC6SBSlD6WKN4rusGm9F1ps/o5mPriOf8dd0YoNfi0nt4ntB1PT4zYwzQkf3kR9/sW4xtpS0CmE0SyPUFUJXFMIxZcM0jAZ4xrKMudQT7963HBF0n6EaUjkP0vI9K9OEHWqJLkNW1s8mC2WgVTwGAqWTafJzTWTKZmQuZ/k1MpAi2+eys6mpWfVaAPzcILu8EVKoCAaYFtPxrAXo8qyNwzZc7gSgzgN9Hx0Ecn3j8xr4lyHOhNrlpaJIgptM5DjCdzrJ0Jmce6bWFkOpqs0MErA4gXIBuAmY53gFmOPCcdaTXCbq+n16PPLXjewMfGcgEttECeouTpk5MplhyKsPBTiXNYyULtwIW7Cx1vlwuJyDLR9L0mQiVPb27fhA54yBbGttMpc1OWwF1cmKaH2FSF7vAjGezOZZJZ9j0dIZlMhnuRiToMO0c+N4X7oksasgEt9XS2KZCHzoem2Ixq5zpAuDTqTR14FMslZyepeEI4Ogj26n0vLj33uiigExgMWRpt+CGCsEePZqoePM738BPTaJzT7CpU0nu1yXpAXCC3VeRkCW4bfJYFZo6dmJyQTW2tvZc1nb719iyZWc5fmZ6Osu6H3uVzit52oBnMll2YizGxk8muFZLAshb/YKtzQdcaO3Y2CQ7eiy+YNGvLN+4+nJetm3bxhKJxJz316xZw1pbW9kLew+w1944XBEaPj6eYCeOx1gqNe07bK1MwIDbKcOFOR49GuePT5fcfOMX2drPXcQ0zf7y2tvbWVdXF/v1k2+yQ4dPVpQ5P0Um/NjoCX6UBMFZR6k+u7qMYVBYDIEqBW7eXAfPZX19zp2/oaGBHysNMGTFinPZik9fWggbI5Omb13zUDeB3lLsdwaK/YPeyAFU0i8Aw9/2Dwyx4SPjFQEYUlf3MTYw4Jx7CIVCbHR0oqIDNMD+FMG+ZE0dO/tsHlvAWnYS6H4qjfMC+Zld/wg92/tuv2WeeYT87j+H2aFDxysGLuSy+o/z49DQkONnmpqa2MjRyoYsZOXKGnb5Z+vZqlUrxUsAvI9At/oK+elnBpoNw+Dai9TekSMxDrgSh0KrSYshTprc2NhoRf1JtlikqirAVl98AddsSavDBDrsC+QdT7/TSoB344tzOZ39+70RbporVerqasyw1MEnC8iV6I9VTDi0uqbmfPFSq2W+gyUHXuEdb3WR5rab5jnD3i/BNMN8ChNaqsTiKa55KmBWX+Tuj0XQdQVF307nhTH0CPls+O0UPbaT5TQG/8qX68u6LpV67LQ6dNknaYgaYyPDx2TzvYGCsnhRkH8b/rsF2GDj1MCInkvxvRjOuCUlipWD/zrKx7ZOwBF0vfSSM2ShyaqAAOC1Nw+zt9/5YNbrN1zfwIdpfgnqebv/A6pnWAn4qlW1HPgHQ6OeoG3N9RO/+StMdDtmV2LxJPfBpQCGfwTgrVu38jFrKaW2tpZt2LCBdXR0sEgkwhv21u9cxQsyW3ZB1+DgoOM54btU6tu8eTPr6elhy5fr7IZNDey+e76e9/fCLcAllHpdKKinpaUlX8+111xB9VzNrYxqUAY/XVVVJYMOekLu2fFGM8VWYQRYiYkU9bD4vPlHFYnH4/zvkb1CgwACHgMoUpdyw3sFXcXUh4YHaNSHDqaxdL5jwVTXBpeXVY9oF3RcUQ+O09NT7Cayfld+4RJlP42gTIq8w66Qf/X4a6FTSSMMDcaE/NhYecMM+MdyG90OAhodWoAGkTUaSZByO5WdiA4GqwStrrM6k5vFKEXQserr63l7oR5V0NBojKctaSZtbneErOtGmFxwkGewjk0UzpCUlJSIRqMcjN8CkHLDqyRByq0PEGBBhDmdj7rQVujAaLfrrlk7xyW5gUaxpEtOmOQDr0e799NYmDVBi0+OT7FcbsaXxEQk8qprEBQMBm0vVKUBRcNjskFE8W71lSt79uzhda1d6w4ZGTUUp3NWAQ3TvW/fPvbVq+rZH/ceULOcF1/I06CY3QJohCCzNJnYdgEwwvpUKuNbUsLNpO3evZtfSGHp7+/nS2pw3LLFPVWLoA5yHQUtXvXFYjH+vU4F5yOibzsRUL38MTqC3XWh8GCWziMcDjt2BNEZUIfoUOpJkwvziT3S5ua8Jj/4yD5E0yERbPkhKv4RF4mhkN1wCMHN2rWfYZ2dnWz9+vXchNkJzBoaQ8Bxqg91wWo41YdO2dzczD+3bt06Rw0rBG4nOF8oi9M0Jsw9OgLqQ124BifLgeuHyVbN0NXUrODBmDWxgRR0pNrUYqMNgDOZGZbNzvgCuc4j0kX+GPJ2//CcMagQmKkbrm/knwVEp++SIXulM1+nhj9AY207QRDnpsnye24WA59DkuPlV/5j+z5eB2hE0W1tbTyQdNJmDpksRzFp2E9csFJAboRvDvz8gZdJgw2ek55KZphfAv+Inu8UdKnmkEUHQK93EjEZ4Rbkifq8JiactEpYAy9Nli2Gm6CjIZPn1qlKFWizleOG3BIwdKNZ+KRMxr9VHKvr1NKLXo2BhlAVFRPq1qlWW6MBr3NWyY2rTGXO5ySJlN9uDuiGsV7XTVPtl8CHYGizf/9+V5Om0hAwVV4ahuU8qia03HP26kyqFkMOTudDzjs/P/QKBUiBYa5ZNucfZJUkCG/0IhpCxYyqBF3lnLOII8q1GKqdStQ3rTh5MStwXX5O/nE1metGQzPHUH6JatA1OppQ8u1eUbpX44tO4GY5vM5Z9sduFgOfG1GwUOK6VFzaSAmrWCSfzGCuuT/O+bi6QwRdTtqXN2keJ4/ejgkJ5HedRARkbkGe6ARulgMWQ+Wc3cDAWohhoZdcue7ifJ7crfP6Me8dELd0Mv8U2begC2k9SHd3t+NnNm7cqKwRbiYUkykqvlZlmOYVLIq5bHRep46JzotOc9BhuFc0ZHGLph+CJIaXr1FZSIfxsdBiN1+LpALEK2By61Aqs0rwtV7DNBU3BMCYixYTLU6C8bM5hBwum0k1mesBpmPtlj+qXFenFsAgCVLon9DYeIxUnmh05HCdBIkCVRP6ussiepVZJZXIutCHwt2I0YGY2Kiz3AIyeG5aLNooVULQBbHy1/nAK2oEtEanheil+GO3aFg0FnwSilNC4q6OrXzywc0XCy1WMaFu/tgrCBLRuWpHuP+n1zqmRXFN0GAnwKgHeW1E1C/86UDJHFKptATZMPZTafbLXHtN3OPixKRC4ev4GwB2Gy6JxhQNEYul+KoKp79RMaGqKzy9ovzt27c7pidVZtYAGJMYOP7u6bdK1mLI1GQ+/ogSZBahwKuLO2jSZt0odw65xrUhAMNrZskLsGiIXz72F3bTjV+ixvtbWcMQr3NWCbog5VyXAIy63PLrqpJITIqHkcD9P7suSiYbG53wvTLKDbr8WBbjZqIF4F3PD3ItRn1eQd5CBF3lCM5RAIYfVp0/dgZ8SvbJ2/l8MmlvNw+8qJTjm+drWQwaAXO9KMuWncc1GBMXKkGeV/pU5ZxFIsTvzovOCu3HvDnOE7NTu3rLr+PE8fy6+IEX9947YM4n/+LbPT/88R8QqoYAuVSDrZLFKcYso2AcLBIeGDPu6h3M+yqvIE/4Y6w4LdUfi+jcr86L75KvC9+PcbVfd1hCi6U7Innwk1/+Q5rcoetsdyBg3s9aCmivBsNFifGfG9zCJUFiztmpEXAbqhMgr6SLWBPu9R1enRfm1ktrC6cVYWH+/Mqg43x6sYK1edaCex7vkRZHZkF+6P6NkXvvi/TpLNBUaqTtdcsoLtIrVTcem2EHDh7m2uq0ikMINBvafOmazzt+BkGMW9CF70DndPsOaJqb38Y1oXjdCYHOiqwbPofrKid6thMAlnxxPtMy6w4K0ubNhq73U5wd5PtVleCTd+50D2CEafLloqixyv0ufMcOGq64CVaMYN2119gfAdPpuscKOxWgCMDwxfm0pvzBhx9siRLoFt3ca7Ikf+x2yygaYzHdTSi7IT9y8fMJ2Lpdhg+ZCPA2+f05d1A88mBLHzQaoA1dL6ohVLJGi+1uQj8XQMyHIMgaGT6eDxuozMkD294LRaB7CPI27DLHQSskSFRvGa30O/zndF4fF0DMhwa//9//iZ2DcILqN7xBHn1oUweNn7eJ3WO9QHvdMlrMsphKEj8XQPgpuHVVMtGOgF0hC9CGTqbb2kHOzXx73aKiuiymEv2x22ICMYYeWSALBQ7RQ0fkoZIr4DnRtS3ohzf1dNzTG9d0PcwMLahZO8UyKTMm38wteratSVtkplq4oWj0PcfrEinPhYg14H+hvdIwCVs1bvb6O+UBMYFGl90d0LRGLRDgoHEUwYnXDniQStocTVUwfPLaKQGA/RoWOmkvtnsaG8unK+PWMKlH5e+Lznp03N27RdO0TkxmYNZKszYBlyfI3RpjsQkmMOo8ls4Wsx1EKcEVAEvayyNoeRzsO2RI+93PNRLesGYtNpBhL4l/prlgZz5ob0mbtZVFhWC301d0EuQgAHPgS7D9hssTHKyMbRfLptF213NBDRuoaqxNA2yh2VUBDnxJ1M1yRW6gOgt2x64gqXK7ht1yOWyW1+wl7bYXvhUygQXgit4KuVDuBGzSbA2bmmtayNzpRgJOGu7XosHFChZzvrGTiUKt5UMiVsmbmtsCb3+2lZmwm3hFNsA/CiYdKyfhYx3Aws8urp8nsJM72naGCG8zYwZMecjk/WHVVRbsMwU6tBVQsWJS2sNDlrgVTO0RE/vzKQtuN2+/85k5PxlUaL75D3BZwKss+JUqSFRAO/F7Eqlkmj+2gbrgYE8rZFluu+P3pOGsyWCG/Y9/GR8exC+vYfc5flxgzRdDGsDEz/8AJsxwQcBUKPCtmKOMFJO8OKMgF8r3b3sKkAm69TN+2OZCAm5ID/g9XPypwX29ufWgudq0urrKes/8nPkxgy1bdg6z/or/SFc2mzV/xs+6HwySTmdYJp2dpaWKEregYrVfn9/B0xkD2U6+e+sOaHqImTfLrycUOIZM1hJwC3oemPXbi/y5PnsrJ136bUa8pxu69BklmANWwDRkgR1wmwVaglyi3Nz6JLQ+ZG5NxQsgNdAhmIfJN7wxgoWg9fxzPQ+c/g9YAIXgeUKCyipJO4uR/wswAOIwB/5IgxvbAAAAAElFTkSuQmCC\0" ;
1004pub const PHP_EGG_LOGO_DATA_URI : & [u8 ; 8987] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAABACAMAAAAJUSgeAAADAFBMVEVHcExweqyBiLNHS42mqtBgY5dbXpVjd7tMTotISotMTo+VmrutsNanq9CusdaYnL6Tmb+qrMZKTIx0eK1hY6BISotITY+Ok8JmbqdvcauorMp8f7R9gKx3gaxecK1ISouTlsVZXHx3e7MBAQBISoszSacgKYQ6UrAvQqM9VbIdJn4hLIo4T60mNpYtPqQfKYcmNJ4sPpgzRp8pOpQpOaMzRqYnNZs1TKowRacyRqOustYlMZsqOoslMIkiLYYlMpYnNIwxRZstPpUcJYIxRasnN5AyR68lMpEkMY0wQpYqOpsvQZkfKZUmNZEkMHwZIHUsPpsvQacuPpI6ULU+Vr0wQ60uPp8wQp8pOacdJXs2S68kL3YjLY8tQZ4zSaMiLIEpOpgoN580SKsfKWwZIXseKJB+g7Y3TrIhL5RCWrhAV7QZIG0pN4crOp+DiLgsP6t6f7QhK3InNIA6Uro5TaosPqgqOpEfLY0dJXU9VLdyebAeJ4wlMoQ2S6cfK5EgK3kiMJkgLZotPI9BWr0aI18jMJ4VG2Y4TqQaJolvda2LkrmTl8U0SLIZJJGZncYiNaJrb6k1S54NDAYbGhFHYMA/PjptfLxNZscZK58cMZFEW8NNZLlHX7s8U6s2SrZddsgWJplXaK8oPZ9DWKpqesZHXbVZb8BiaqaMkMGlqc5YXpgSGFIUGVtTaL1QVJOeosyGjL48QVNmanoKCxAOE0crKytUa8knJR40N0Jjcq4iObA+UqE4SJUMHI+qrtNudqZJSUNshMYVHoN7gJIsQbX9/f5NT1JMT2KFl9BYWV9aX20xQo0dMadietZrcpFHYMwmMWYtZccLF4NXbdZ3iLtgb7l+jMctTrAGCC4wR7wWL7FJWp9LUnRxh9J8g6JLYatNhdk8d9FcaJ1lbqB3e4RUXYMIDUF6kt8bNZmpteoLE3YSFB9GdcKutL6Lj5d1dnUZS6lPZKQwPHXDx8+PlqudreVja4m/yuyKptoZIkODne/U2us5Usedoa8oL1YtYLdNAseBAAAAInRSTlMAq2nohiAy/EfPEE/pZ8E5/SCegWV7wMHI4w/MHpjVr9eBwELx9AAAFs9JREFUWMOs1XtUkmkeB/Bmxt1mtkybdrY9OzuX42uEGS8oSCQqIiiCECqgyKqJi3JxBQsFSSWMUFPRSREIvGAKocVoetI0b5nHMrVmTDtHy9qZmtPk6TJdpman086+XpqZ3bmcZmd+f8HLOXze7/P7Pc+zatXPlUfTwdhk1uatLPO7yw/We7i7ua2Dam1g4MBAS0tLW1vF+xs3bnTb8KqHx6rfsNyJfbGKuILsCGWJm7vbIvf9WqTbILqirMzpdLZLpelvv7PB46+/ifyOX98/8imZcRrf4QffehBWtlRSqbQdIj09KxarrMyzFNKl6VmvbPj9r5bfDevb/TckXZSXqN430NJW5mxP9/qu0qWlpaXtp5sbHA6Hy9okkdhdDkdDQ0OzcVr69q/T11wJ6tuxf29aiRKPLznwrZgFic729mmjy+7DUkGg1VorwYGpLDnbYNCKtWz5iMxnZk/WK6//f+x697WB1N3jQcf+DkMS6PqpVijjUshp42qHy2AwiIVk8DCNsE2yVWIwGVIzM0GxSVwrlojFYonGZraZC3oG3/zluPs6qKUtyL27xjOOJQjo+JTrPZA447DWimuhstrrJPa6AAQBgYgjq8QGk0UYp06LU/moxLXQO/nAURqR2tbf3zT42lu/+wXsX9wWp3igQloSUpSxqyj4VPGdeYdDYq1NLi5usttr7XZJdoHEZBDj4BIxLlWrFRsMZIIaD+aUk8FUKDObhSOIRBqRpt/c+Kn3Swdfdtvavbz2LGTs8B5/2Hr9uvfVK/ZalxiRskkCyWKJisUDVSaTxWAy8Xy0FnkMCBJEBEyELEeHj4lgsyLIeDUWROlQ9P7CQW/vP73+su5A2dIMtxZ9uLrB1fpwfLKj+kizw+powrBrodXUqthalgZVX681aYWpKpXFwqWr+Xw8P4KL0qjpmbwITA5GRAC5GIyGMjzV+uHL2O5LbtbyDPc0nu7SSogPTF0VPdB2cTU11LLYKqh4qUIxD68r5JMxWJxQxS7n6tR4FAYD8vEoPB4LCstlGBGKr0NxUVgGcmH8hre393s/22+Pdd+5XqVGKHDXnW8+Od13ZbWkydQ12bXNZeel4kB4ADyAR84E+RoNXQOm8oQxdF1hmgiMwYCyCA6HQxbK61F6rowOPcajIkMWxrOg2K+99dOwG9TfihfutNVqtZvO3fn4m10fXdkcdtDQ1TXpkliT46IRiJS4ABxIw4pEeDWdjsfGkPm6QjWCBmJy6stlEeWccra8Mg3PLSyk69NElMjQqStZRyD7jZ84XdZDgVuky6502sfHas8m+zism7cFNFn9g6KgrdM1WSu2KhhoNJoWB4fHiQiZhLy8Er1tpDcHm5YmwoIcWbmMw+Fyy1X1XB2dXqjT6PV5SmV4eP8Brz2tUOw//uiBtXZgoGzlkCo9VVngI+EdJtBEyJBE+uYmYqxi+2Yxm21RaetCQ8P9/KKTaCm0GLgIqdSBrkkLV5Sn12tQHI6Mi9HhwfKICA6Gri/U0bmGnP4SiiJYD0X6AIr95o+MFnTlrQQubaxEoAsKaEmHaQxf5JYFQV0d0Q/tFw3HlcvlOJZ/fqhfVHwSmhEdAI+haXrnH9195ujPy1scLlQOB6XByuo5MhBaaZuNe/nM4JfGYUqkbxP0x4ux3/jD/7a4raVtucOle3CfK9H+2WgSMpJGYVAEx4qKtxOJYX7xAalyi0XIyd5HDYvyj0IrwrZv3xQAjtwarbo/b8tEYUB8oYafg8Lzc2QcLgqS6baZUaDq+TNJfyQVnb7490d+QLtBN98KfBADD96piI9GCnwTwxHRNMHRY0lhQVGKsORtPJXloqmeR42lUqPCqAridv/s5LiR5m5gbHJudmTCpibwKyt1ZjNXJsPgC9P09N5Pq4HqmoovVfSog4zrUukPafeKtpUWlxZ/zvCFwUIoeSTYbj9ENA4rKCrKDxfko/38cTgW+6JJLqQGxYZRicT4JBo2E4ybNXYDZ27PNDc3OybMfPmlxYPt0sXe/pI0un7iRjXwJPDuV/M5FGLfwlSSsdTrg/+i11RUOFfgukPBJBLSt4TJhKn3/xvcBE8UMJlFuTtDFGh0EnQPWiwxPGqQIgVBiCtuajzSeJ08e6AaOD5aU1Mz1HF5tvlxR8f5jidPnng12IZLhvuNNcDVS4HnJl16RF0Qc7jfPOOEUr/37XbyrHix1MWHFUjf4DTB1TPnH/om/GtfKkgQMLcwizL2hqETaalCiCYLicE7/Wd6Wj87Ozo0NHbh4oPqKmC5huYvn1j+VNV9c9I2PDxl6gCG2Iav/mkspPj35ebD8mwTq9O9vV+cKRvLXsD+iDAGBUEY/uzuo7sdu4f37zgMqklMgS/z2NGgaCQFi2PJtUI5EXnqwlhN97JXfeBIFXDy/thYN9AJXDtXDXSeGBrqhn640DVVohkZrOo2zt+6M2POrDuYm5sA883r7zXe8F4+UtY4l+8Hr6xTh/aFpyAoU97Pnt59eu+jhaP5WAqSxNyihGUUUcNJSgScJ2fxVLHKrpOLaHcN5ABjjwHg/u2Gr69Bb3KtrAqoabl8qwWKXmM0p6EmmmuAe08/vmM0q7eJdxQxE3IFSPPciPHPS/L7zpUm7xkOT0lKQqjzH3fcDHx27+HCLjQi0ReWwfQNYYZSQ0mRtCV5ayzFDsknOnpmWjsB4OTjTuCs1TZ3rgao8rwGAGO35uYunQE6qwdH6GrNxTHgwtdfTDfbYMrsfZCckQEj6Mxz7I3rV6161elcXmvpIUZYEhyeMtw6CnQ+f9QxnsZgUCKVJGYRk0Txj1bAlCk4HguHyw46ZIXkm82VMvFZSD7TCZx3VY5ALT5xG/o+2sClz3pCuylrli4yW58/+OSLxnMyUkIIMTYXGpncBAoWpZvodUFddrYvw9HYqCQ4Dp6JPA6c6Hx873g8BsFgKJFbcjMySMnJ8X5IZcp/uC7XoKbSM46z9kOnsx+2/dKZjvuJeJJDLoSckJOckpOTkxhzOZsQUidHmuQkAWQjJAjZLFBIQFIx1pbJBIYtdKVcK6uOrtFVClhXhh1QVJDBRddVC15GHXa9bLvrZWztE+xuse9k8iEzmd/7/N/n/1zQje+iuUR0lTwzbsI238mQebxre9//AgyUfgK/zy7ktyw8AE0ujf0N//zju8uPUh9/2Mcv5uuixYVlZZWVGom/tXXL+ay3j3z06pUf38NYglAoisgV+NuNswd2lBAWt1TP5wsLaxOERyY1SgZUJegmzLujHwjT48xARRrUzZDF+XNwiZn7EOqtF11Xn56G2C90jf7+6dLL7u4917soN1+krS8WCgsrC70mKq8luSVr3ZFXIZffY1iOQBWE032F1z4zM4sNKBELgDUmoQZLKQmDXkQNbEQt76aiecPHee3XaDRvQwePd3SG13FnU9fCDK99zx6gP3+xcP82ZN7shUXgXn50c2XmRJtQL5KZhDavpri+WKMxhlpb/VlvHFntE+WJXIyFjo8SdveuldMPJ8fvKQUKu1XPF0n1OlkMwUxSUSB3YygEhaQIimLnzT7laCbFbx/njRzO7+s9zRu5fxQusv/Gg4eQ5lN3J67Pzz+6N/F1e3pfm15vlJtPSndbvVFSpJWEClrystZXrYrdkExxBKtACSUhaaJvjia6UaVASfj4IJHWQCN+Ti6SBnI3WSwl6sIIKHv21PDsaSDMzoK9Du8Y+6CD99cnaYiVt+rzqcXe3vn5y55LExMj6d42oci4u6H61snugNVnNVpCeS0tWVWr5CoORThCQaB2VhlDizYN4GxEKRYrffzCXV6zgQhYMblb2hhSWfyIelfkGq/9+FRnBjFz97uVY6dH27afejgy+S2kd+fISEfH8ckzL/Z9tfwS7HR1qGN6oamYNEgy2jZ8WdfqM4Ry81sas8qrMp4avYfFCKdCgVokTAwhVAqWjQgArfLwixk5J9lNc1ZpYwD3SUKEbddgmreyWiI7jx7y/POne/7V35Y/9O2p+w0dvKn7H1RXf7p4dyxnYhnsNNE1d4P33ZylkG9MrGpbnf24O+B05geAnOmbVTKDjCBgwoH+Y/CII6oSJYso4SCsiLHLORnbgxnr3BROUShmK4TUPjY9PX3n1ui4xBM7dGivxFJ0fmzzHBhrauHqZ19Ax0x+PjS/9HL0vbEznZ1D2518fqD/+7WsYRzfEcKbXpEbuuVsLMOxezy18ogA4Tj4xBAE7bZiJh3NRlK1Jr5UMiCxKuiwFcjtN3orFBKr3EHbcdzv9DmdVHJutp03faIPJpO8/OSh68tLyz/+88TDqSd/Spq0mu6G/22EwE7mZ60Hcvm4hxOLBQJxhCEIuQETKzNcjEMUCh8mN6UYu0dndEv5EqeVUtBq+1/SvPa0R+eIq2FGMNOs04nCVNZyIZPaC0ncZ6Goll+fWVpa6t3/j8lfLo5J+AbSvnb/rW4YTGa9UQ3kgR5xRAwngnExQibDIkoOQSBmtATBSCYhk9UaTI0ik9Fnoohz53QfQpH8d8LsiMfVMJwwGMGyuXhu8sTXkw/2/6GFshgbm97pmnj6cn55aeLMYu4OkpRJxteSs4cPDGetqy7P/t32QUFELAC5OYYWY3ImFuNiXI6AUykjHkOC1ulMIpNGapIYSScWVBv2ATmdommzOm5maNCJtTvtTr9i6PnzEy2NVF5BU1NjwWeLTyd6v5q49H5AK9LIJI/XgrMPbPhR1tuQbv2bcnIEghwxghC6eCwhq01FkFjYJXhPKU7JsITawZikGr5I4jNZS3ThoHZw8uztG2pHKhWPm2mMxgjCY7cTCrzvfF+b203l4ZRRZEluH/po8VJ/axNJksJayWvg7MOZ8Xd9dvmgOAfQYF8E8xjUiZjB3BPhdMFn3/y2p9baA2Stxusl3bhcYyGCNpdNO/xB/8mgw2GGD4NhYEgIm0VZiyQQcFN+HPfVuWEBOb9lS/Ida1BLktDrXhMbhjGYDdZll8d6cioqlDGxOEYzDpujh9FFEtyvYisXt2EkCWLXCoUak6kOt5IenS3qKrUJy8qEUbM57qB1DItBIsYIBRQhRZG/AMdDOG5xS0JuqdFiIb2kVktqRXVfVr8e8k8yk8EvqlUZskDBRTiadgSbz40zHJfYvPPZXMKhrU3J5AaTnm+yBii+tSTuCttqaprDYZstGIfMdtAYRiCQiyoVolAVFRWFQn4/sHHKTcJt+SC1Br7q+v8v5NWl9s1PVRUVoDbiwTiM0ambS1MROpX4zc6Lf0zJZTQj15JGGIStFo0whAZrXOFmVzgYjAfrm9UOtQPEBhOUICUqVYacm5vrp4xuihKJRHy9FOZnDV+vJesa1oAbDm/4+asJ8PHlCghZICDkarMublZXusbpVCqy85u9tIxJMXITaZVLpSKjV5qU19SUuuCl1eDl+vpmEuyMYVDuYlB4UZYocoZCeX63yF1XJwWyUC8s9mo0GlJjrnotsf87Af4MEmxbRQ64WVZvUwfV8WBlOGU+GXl2cW9Kx9C1coNW7pOK3HphU766tKa01OYKg5PV4frKZgdthu2OVWQOiqKWAEUFmgJbpdDXjUY+gIu9Xq9Wa1zrqeEfpt63BsUV27bliGMI660sLd1Z6nLVgGmDV1w9CZ3cXGuAA9qRZWUBu81VU1oTDofhfvFotLk+6mBkMkLBEpEIbPMhitpK4QV51O6tdbvdbr6wrFioiXo1DNbwGvj7Sf+tHkHmncUlCCEj6yt3Hvzk4MGL6fTxdNVJzmBgakmtmoT09BbqcXhlm+vVK+vM2mA46g3ClsMpYrFMxCi0HBzPz4dCEigokEpN0ozYUY2u5+/la7Prh+3mTXAziK1UYoxMF6zfdfCTK8+OZZr7fwoz39g06jCO709mjb4yW8xmMhM7gfb4Uw6OfwLXA46DQgtcj6OFtlw5mNdyxQ4olLa01JU1xRCtydS02UjUbG/ghTpiNDNZYlLf+Gbv1sQlvpmNie/cSxPjc2y23dZtP17w8nPPv+/ze57fzkcOL+F0yuWE2+31IOIKmk0GchLZZpMS22YbKAccOr9fBmG29PTwkYyBxxJa68WVfqPRq5yXyBznneu9dNjig7EKyGnQEZPOOUyUK+ut5l5bAl94sPPNb+P24rAckRN6tTqampxJZoEcyOXKNvD28EDcWZ5xOvwjFl4y2szTtNnMa7RGKzRy77gSZm9E3jeuu/7j0eBjJyQFA7Qh5C4Hks12e/fRcPRwp7s2by/aEU6O6ye50rx7DEoKyLYA1BOMkwOfDjidRYcfDUX8OnOPgeZjPE9mrEY6YlTKoRj6ECgqj2nf109P7iegP8JRyUJ6ghurtnfvf9Y5O/90v7/ldrpdUBV2vNQ3mUtmpezKzUg224owRussfrvbPxTyo8sSlVcJAp/pNxoiHiVMpB653E54er7+H/zMtqJDVqlkI1A+XAXID3cenfe6Lw2oiSHc7h5SinKfLQlZL51yGSQE3O1HJ5b1nFKP+tH4nEKQhJ9hFAafz6ce8iKIl7BDVUTSHxwY/NSG5oQJGpXJEEH1xEwlW91rP9qUf/yxFJetIYLACbuITPyazI4lIdCBSiVQJop+v1/niCtQCATqdMZVUrdbEEwmki1giQTv88zbZ4qTRT3/OLuO2kqdJsFkQyQUQolKNlnd+/ewxN7e2vLAQJeKSBYnq9XqenZ9XRSjCFd0OHTx2ARO+FG9RF5gFlQyk0BR9UaDauTDtLrMXZ4wL+47+tlN3HlKJV0yR4BcAqFo31984vagm5ryoLpctdpqNlvNVgvAwSg0KzlEeEKPB5GiE9UtLyuWDWZ+IRxmGo1GvU4xYRoKyzuxzz1q+whkk0oGw4UerwSA/EettngYXvv9+o2fkq323l4TTBZLCAJgl3LKGCLKiBgkLl8m4qp4yNvPbG+vhWkNhVkzJBUzZ3oUitpjPx+9cT1+D4pZZohb9NFKAHL7ndPnagA/xP5y2iFK4OZ6EsDRVCq1AQ2Y5PUcUrKPFHN3hx3q/pVBJpxnNINGDK6eGEnxwo1rn3fXIK+eu+kFMswxMovFy5UD2Wrz1WOvddgH8Nq0fr3VaoliqcLhrmDQpdZo6BiJmWMjhHO4kgsM+SThwlg2swqyjY3OsmRMmP7+5h3J3Odv1o/f6+2dsyzP9eBRLgBJ1EnAM2c3O/AOfVHmDYqiWClzHA4RVoIzKYon6dha2JJttbM+OnFxaWlJS2PaVavVemWUrbNCb/qLrnelvHr+dvlsLA3uNsT10WhlLLlefZz6p86c29zcrG0C/Y4fh35X4nAYpYPR8QhJa+AOQJI8s72Q3d0dM2eUPy8NDmq1VuuHV8DVLJwO+eSLHxLeBg1QzI2g0WClkkyKdw++8RWwXDp39FHEjiO4y5WKuuYxMhajaZKEv9jC1eqFW2OkcWkVsPBbxQqfjM4WCmw91pu+2vWy5zAB6llhUAajHIiEePeJ571TZ46f65DlStwll7tcUxmSZAErSMt9Jhz++69bOcqopepsIZHAsAIICaZNkAzTO32t662XkaFV9RrmUymuFMg9Re7Qzw+4oOcoXYhyaQmrxyi2zuTzULphhsnf/mWXKGhImqLYRIZk2Ua+MVvACvBh6fTLyGchwxRCT/8GRLHEHfb2/jm54VF7lX2QRSssRYJAhbfX8gLDkEwY/e6H6Fc0VZA0M6EpsCAj7CxLCQtMerrrjReTIbfTCplZ4/P2caWKOHYE+c0/J/uVuNq6sTGoqQtMHsBreYaJCWvh0INvgxqKEmgsYUwUsNGChtZgbD5PUYrpm6+/APsfPpGyoTDU6NQAAAAASUVORK5CYII=\0" ;
1005pub const ZEND_LOGO_DATA_URI : & [u8 ; 6083] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAAAvCAYAAADKH9ehAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAEWJJREFUeNrsXQl0VNUZvjNJSAgEAxHCGsNitSBFxB1l0boUW1pp3VAUrKLWKgUPUlEB13K0Yq1alaXWuh5EadWK1F0s1gJaoaCgQDRKBBJDVhKSzPR+zPfg5vLevCUzmZnwvnP+k8ybN3fevfff73/vBAJTHxc+khL5kr6T1ODk5nAgTRTWloghFVtEg/zfh2PkSvq9pJGSKiX9SdKittbJoD/PSYkrJD0vKeB4IsNNotfuUtHk/CM+IvijpF9KGiDpGEkLJZ3lC7qPeKKTpD9IWiDpUOfWPCi61ZeLvD2VIhTwp9QlTjK5NsIXdB/xxHmSpvD/OucWPSAyQw2+LfeG1SbXVra1Tqb785xUaNdMel0g7Iu5V1zPv6dJqpD0kKR/+ILuI55o8oeg1bFT0kWSOkraQxK+oPvw0TZR3ZY758foyQXf//ZxUFh0Q/GEfNf9gHkaJ6m7pHJJSyTt9tnXhxtBR2EGlnHCMbZMaHuHzX19JZ0u6VRJh0k6hM+BpMjnklZIelPSNhff3V5StkNlEWBMFm+3LcC+BW3GuZP2GvfmiEiCCMUzxZIKRGSt9zeML/fdGAW9JB3O8c6SlMZ+b5f0qaQiF7EpnieXY1auvZfG7zhSUk8RSS428F7M5xfsh1eAV/vxOzoq16sklZBqbdpo5H2qDPRQXoP3Ki0+20FSFyrZUgt+Rt/7KH2vZb8/t/iMG2Sy/0dI6sbvgHGoV8a3xErQb5Q0iTfHCplkzlkW7w+VNF3ST7QJUzFK0pVkDFiw+yV95uC7r5Z0k3CW2ApwIkrJ9B9IelfSh2SIlqC/pDFUZAVk0rQoMhk2GYswx+AtWvMKPtcyEckW37pPwsIHNAuBniDpYhEpBMmJwvibJL0gIlVh39r0C8UlczkXQ/mM6OtEzuf3RfPVAxUY47f5PStcGKPxpOMldbbxiBptPMavJX1PuQ/P/olyz12S7rD4PLyqBTQ8gyXVSOot6VK+dxR53wyl7POjkv7pkpcwpleJSCHP4eQjM0BB/ZuG4Hl9EO8mQx4ZQ0FfL+k+k+t4wNlULpkO24IGnSzpQklzKPDRAMvZ1eXz9uXfH/Pvx5Ie44C5zYQXUgDPj6LEnMCQ3AFkjjupjGF9/kJmxPw1oiquz+6dalXcCRSmYxwK0kDSRI71azb3Y+6GiMi6P/5ey3F3YpExjxdQoG61uX8gBetkh2OWFkUIVGUT1pS9yosZNu1nkl8uZH+mikhxkx1wz7mkB0WkXsKJFw1ZuSWKotY9wjNJS6mUy41JK5P0c2qCnBgIeQWZvEK7Dnf6WUljTT5TS7d0KwezkJShdWIeGeuKKJo7FktUQylcl0i6RtL/HH4OjP+wB0UTLTGHfubRDWyi1g7SaoZQ495z9w7RpaHKqHEfLeklEyWzk+7dl3TTu1KQCpV7+pBB4IWstFFAgvOpJnTL6DoW0xPbw3k/nIYkW+kbmHeXhUEABklazrBDBdzTDfyuBo5DPq1eoUk7ZbSk70l6n3MZjUdCDpQvMF/rezn7/hX7Xs8wsj/7rsrWdQxnZtrwwENUosJkDDZxTjOUkEH1ds6lzJyDZzGScRsonGNcMCIG+WgRKTRQ8Su2p7uRi/mlKjZKekREChS2KIOcTvfqp3RZDlM+cxnfv8Thc75Pt8kqo92VzNTbxBqcQlceivAdByHDIxbvFTMOLovyHAGGK3qc/jJDoDc4hpjABzBm4UAglBFqEAOqt8mB29ss4uJnNCHfSK/tVZMYEfMykt7Bcco1eDLDHCT8gmzzRdLHZL6wRSgzg6GIgVl8Xj2uhPA+oQn53yTdK2mVMC8NzuJ8zaSyM/ApxyzWCFJRvUQ3eQ29BTNFcRgt+FTl2g30zDZZtD/ZRMifE5ES6Y9MxqAHQ7XZikI9nd97j5p1f83GZTPr6Crt2sOcOB1zTYT8HrqjVRZx4wbSAt47SXn/YsZV9zp4zuvJgNGQRaszmoN1rBY6IH4dHiVHcA5dZd2zeIbPv8ZBkghYTQFTx/h1WvSz6c3kM5ewGG8Prvxc5DZWS2u+dypnM5Y3sIJMXmbxfXW0misZN56oxITnWsyl2fg+6+C+zWTefMWr68RwaYF271htHBZqCsKqL28wB/ACjYShrE9nUjfWmEU33A7woqbR4k5UlNk4yoYOzOHvtGs30KO1QgnlZC2VohGOIGn7WEvW0ZdoMeCHfBgdo8X++m3V+s2wEHKzJMblJom92+ne2SHDwT1gknUispPpJLrrVZqwLxTmy5F5jOdVS72F/b6UwlbrcEytrD00+a8l/ZUM82jEZd8peu8uNYS8JxNWqis5IYqQCy1rPUULh8Y7fOYal3zzmPb6aJN7zlf+32bBV9ESclNE85WUX4j4oNbl/fM1b2eoxX3jyXNqiDTP4Xe8Rm9ItfSjvAr6DM0d+o5MXW/CuHO0a7eZTLYT3KF9LktYZ/WdCI+IkoV+lFZ6l3J9OF14HdM0F3MrhXxFjJmqhh5FBera24XqxaCqL0UosK97Z2ku+yJaEqf4D62ByoROcjZuN78Xaa9zTBSzKvxvC+vlrmgWVPU2h4j4FCO5lZ+vNBnpYHHfOOX/PfR83eApTaGM8CLop5l88WSLWAOu4AiNme5owcBO1xhlLGO/eGAFkyYqrtFe5zKzqU7KBE5o/BAIiv7VJSK7qV4GhEF1XtSk0YseWl6lWYI+cXj6pigJLkH3Vk0qfebxe4q0JGOGSDxCWn/Nchk9qJgMfGKS87LDes1IHeVW0LszgaC6sPMYE5lBt4CzRcuy4lVMLKlWfWwcJ+YpxtcGjtOYfzRjTgNIlv0rnpyCveeHNFSJ/jUlonH/3nNYqyOU28qYhHOLbzVPqFc81JQDKxnQ5twLdmjfmQzlxU6eoZ/mma3y8D3VonlhUr6bElhMwJ81RseSxW+jfOYULdYGAw5s4WBtpeU0ijKwxnp/HCfn70piCNlMFEUU8/WpmnZe1Bq80r96m5yMkIwx9nnNHTWFs114q0ArM1HsiUY7j5/rKFIThdrrzR7agHyoy9vd3Ag64uEfKa+xjIKlLqtTUBB7FWgJrQ9joFl1d2cQ2wzHaeDXa6/ztO9Wx+OT+FrzSAKuV12ptOZp+ljnaVawk8uxDpnMZXYCGB3PXqe5sl7QQ5ubhhQR9B4mQpvjIR+gJgrbOxV0rK/rVUyXmyRWdI2a2YLEhVP3BwmN9sJ9BtQpKkxiSDOrUeUhaeQaPevKzKQ3oIVTSGatcynoRl29sIkh440a8pURNoz00Ab4Ts1obxCps1FKl8k5IpKbcmsgu6nz6ETQC+iSqoKKOPmVJBmYnDjHX4EozB9s7TgwykkyYS13URAHpmstYIloOP/HEi6Wx5a4+DwSpH2V18tTyHUPm3iQeS1s09ai4/0ntVgNRQmzHTRulGwaQNnei3FgHqPcMBEJlXrNioAaE8AcupKBd7ElBu1uTxCzg+dmKB4TahiQNX/OxssAb00Uzdeci4S3FYhEQdfkWCrc1cI2K+2EDhsP1OUxZGUnOWTmcgphV0UgZ4jUR1hLlBiuJfqJpb61CXimOrq8RqiEeu6TU3iMwdzYgWhUnWHDDKr0ptLar6USqmOfYYiGMMTUN/KgziGVTo+pNJHBBfF0zVAQc6N2DUL+tcO2Yc1Rk2ss+yBmOko43yCSCljJXAWA7PD4eAt6MBy2yiNACRvVVN05t40pPLYPsT+zlRDpOLG/Jt8OSGKhmnBpivV7q/Y6JkucVgkyWKb52rVZwl0tvNDi+AzRvKjfK1Dnjvpd1FhPEc1LBVsbqENXN35cFaPY2BIVGdlWYZKqgPPj/RythNtpcNycpoOxwAae0bGwhAkAQg01cfiDWDRqZtHhCqFQ5FAtOXKXh/Yh6Ci2N5YMUDW2SHg/N3scn02N++cnMIZCBdwS9gtApRxqDc6OlzWtSrdc8cJGlzP5fzZDri1tQNixISWL/5fSQvcVzfe/wzXfSG8Kuw03pHB/t5KMik+EYJ1EC1d0zCw6fofqRI2ZJwpvyxN4uPs0q/6UR2szyESobxatf3aa7jvfrT0DGPNpYV3H3CI0BYLGllQdy7TX14rUP/zzDHpuRp0EPLnJvH68Qij/RXnyIyku5Ea+5S3NO7s01q77eMY1qqY8T7Qs+4qtq+o2UWhjZO6HuWhjJBlZXWbAHvbFSTAxqMW+RbuG3VfviAP36tshujINh6Tr3kE0BNMl5x8Qq6+mVTdwrMlzpRrGaGPzVpw9NDNFngjoFZZzRCS/FRPXHRZT31X2MgfYTQYX1WE1moaaQJfKEFTs/camkXnUwt9YtNWPiuc67VmRlb0yiRgS/cAe7is0QXuTAm9kikM2DNc5OkeGRaMU8tq0TJHbUCOtezMeRfITiSv1PLLbGE5gb/NOB/1AuR1KlLETDltidyR4XIPasyEnc6eIbRa9kfNifFeXJOAnVJBiKfFCvobcLKccLHWojHJpIPH3iXQlpoNLrdcH44sucvmQOHHjZ9rDrGdbixVmbk/XGy4mtiKuoQDjmQpFJLs6wuSZvqKmL0ky6zOZLry+420UKUaue5ooyeqy9+iopgM989cp1Dcp16bSU1tOJbyFyjedTID5wOk6OAUFFXUDKFRLkmBM3xH7fzIJwPLsxexDMWP2b8g38DqN45ywCuH0VNuv+XmjwOYCjtUakbg6AkGlNoQGBMB5A9g8hh2g7zFE2U4F35FxfHfmwwbxcz3Yl32C/oAwPwDAS6UXdpOhXPZ27Trc9R/SLTla0zzGoXl2QAexnLVZJB/CZMpV7HthfL4lJIrb54u+tdv3/rCiSbw+k88yM9ZxXgKwlHmZycq13iSr0KeMHmUZw6r1VICrLT4D5fy4wq/5DAvfjaWC9oAd9KxwTNUJynUjL+EqpwSTME1zOWMBuIxmZ7p9RCsNq+NmdxW09I1MdNkJeYZNHsIt0qKEO2Z4kvmHadS+Xqv2cqzc93rpuhdl54tg2DISuJljBW3uZjMHrAPqHOYK6zPIM23G2+14Rts4cyLbdxo3Y667UskOo/W/m/PwRhQBwZFkT2vXzDbTtLMZCyfP1155bbfDrpjKZoYH41bO+d97jmEgMPVxFMF0iHESIkiNtDhKuwV058cw0dBZNP+lFsSU/6VWf0E4P/x+IF2eJnokr4uW/2jAKPYjjRb7Cxef70c3qsCl0im1Gj/Uu2eF6sWo0rUiTQq7zS+pYjywnXYwcyOZfI4mKgHj9N2ttHqbRfSlQXhjw5XXy4S7ZbzOovkxVRsphHp8ia3HlyleZS1zHcvoVrdjuNFdEe7edGHzSbpSria/WZ3+cxYV5DCx/4w7FUfyfTW0WO+i7x2YrzKUXZFw/sut+OxJDGkHUxEZPwgCquQcIgxZR9oXekDQk8FF60bqwocupaIoEz6EmaC3C+0Ro6Wgp4eb2tpPJqN+4xXFXQ3TfUfCc5PDNnLZDpLIV1NADKyjZa87mHgmWX57bYdIfIY3pdCGf43xQUXI62kBn3fZxi4SPC8crIjDQ4yzFAaz/XcPJn7xf03VRzIB5Z7qCbBzPQi5jga2E9bCD+ELug8ficEZCk/Cmj8Ro3aLtLxDR1/QffhIHNRTUZCf+S5G7SJBp2b7G31B9+EjcVAFEInZQ2LU7jiN1zf4gu7DR+KwTvkfO9bGx6BNnEQ8XXmN5cT3fEH34SNxwN4A9dgknIEwyWNbeRTwV7WYHBVwFQfbwKb7vOUjiYAiKVT1PczXqCLD/n5UbuLcNxTKoCgExSFNmsFCHI6iJBQFnUbqqbWPHyFceDAOrC/oPpIN+FVaVLrNUa6dLPbvoEQdO4pd1OUylBVkCutsOkqosbNvwcE6qL6g+0hG3MY4ejots1pT3kE4P9QDdfuLKeDfHswD6gu6j2TF2yQcLoqEGurre9EdP1QTfmxJRdn0NlrvD+jmY69Egz+UQvxfgAEALJ4EcRDa/toAAAAASUVORK5CYII=\0" ;
1006pub const ZEND_EXTENSION_API_NO: u32 = 420230831;
1007pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
1008pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_CTOR: u32 = 1;
1009pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_DTOR: u32 = 2;
1010pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_HANDLER: u32 = 4;
1011pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST_CALC: u32 = 8;
1012pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST: u32 = 16;
1013pub type __uint32_t = ::std::os::raw::c_uint;
1014pub type __dev_t = ::std::os::raw::c_ulong;
1015pub type __uid_t = ::std::os::raw::c_uint;
1016pub type __gid_t = ::std::os::raw::c_uint;
1017pub type __ino_t = ::std::os::raw::c_ulong;
1018pub type __mode_t = ::std::os::raw::c_uint;
1019pub type __nlink_t = ::std::os::raw::c_ulong;
1020pub type __off_t = ::std::os::raw::c_long;
1021pub type __off64_t = ::std::os::raw::c_long;
1022pub type __pid_t = ::std::os::raw::c_int;
1023pub type __clock_t = ::std::os::raw::c_long;
1024pub type __time_t = ::std::os::raw::c_long;
1025pub type __suseconds_t = ::std::os::raw::c_long;
1026pub type __blksize_t = ::std::os::raw::c_long;
1027pub type __blkcnt_t = ::std::os::raw::c_long;
1028pub type __syscall_slong_t = ::std::os::raw::c_long;
1029pub type __socklen_t = ::std::os::raw::c_uint;
1030pub type time_t = __time_t;
1031#[repr(C)]
1032#[derive(Debug, Copy, Clone)]
1033pub struct __sigset_t {
1034 pub __val: [::std::os::raw::c_ulong; 16usize],
1035}
1036#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1037const _: () = {
1038 ["Size of __sigset_t"][::std::mem::size_of::<__sigset_t>() - 128usize];
1039 ["Alignment of __sigset_t"][::std::mem::align_of::<__sigset_t>() - 8usize];
1040 ["Offset of field: __sigset_t::__val"][::std::mem::offset_of!(__sigset_t, __val) - 0usize];
1041};
1042#[repr(C)]
1043#[derive(Debug, Copy, Clone)]
1044pub struct timeval {
1045 pub tv_sec: __time_t,
1046 pub tv_usec: __suseconds_t,
1047}
1048#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1049const _: () = {
1050 ["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
1051 ["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
1052 ["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
1053 ["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
1054};
1055#[repr(C)]
1056#[derive(Debug, Copy, Clone)]
1057pub struct timespec {
1058 pub tv_sec: __time_t,
1059 pub tv_nsec: __syscall_slong_t,
1060}
1061#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1062const _: () = {
1063 ["Size of timespec"][::std::mem::size_of::<timespec>() - 16usize];
1064 ["Alignment of timespec"][::std::mem::align_of::<timespec>() - 8usize];
1065 ["Offset of field: timespec::tv_sec"][::std::mem::offset_of!(timespec, tv_sec) - 0usize];
1066 ["Offset of field: timespec::tv_nsec"][::std::mem::offset_of!(timespec, tv_nsec) - 8usize];
1067};
1068pub type va_list = __builtin_va_list;
1069pub type FILE = _IO_FILE;
1070#[repr(C)]
1071#[derive(Debug, Copy, Clone)]
1072pub struct _IO_marker {
1073 _unused: [u8; 0],
1074}
1075#[repr(C)]
1076#[derive(Debug, Copy, Clone)]
1077pub struct _IO_codecvt {
1078 _unused: [u8; 0],
1079}
1080#[repr(C)]
1081#[derive(Debug, Copy, Clone)]
1082pub struct _IO_wide_data {
1083 _unused: [u8; 0],
1084}
1085pub type _IO_lock_t = ::std::os::raw::c_void;
1086#[repr(C)]
1087#[derive(Debug, Copy, Clone)]
1088pub struct _IO_FILE {
1089 pub _flags: ::std::os::raw::c_int,
1090 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
1091 pub _IO_read_end: *mut ::std::os::raw::c_char,
1092 pub _IO_read_base: *mut ::std::os::raw::c_char,
1093 pub _IO_write_base: *mut ::std::os::raw::c_char,
1094 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
1095 pub _IO_write_end: *mut ::std::os::raw::c_char,
1096 pub _IO_buf_base: *mut ::std::os::raw::c_char,
1097 pub _IO_buf_end: *mut ::std::os::raw::c_char,
1098 pub _IO_save_base: *mut ::std::os::raw::c_char,
1099 pub _IO_backup_base: *mut ::std::os::raw::c_char,
1100 pub _IO_save_end: *mut ::std::os::raw::c_char,
1101 pub _markers: *mut _IO_marker,
1102 pub _chain: *mut _IO_FILE,
1103 pub _fileno: ::std::os::raw::c_int,
1104 pub _flags2: ::std::os::raw::c_int,
1105 pub _old_offset: __off_t,
1106 pub _cur_column: ::std::os::raw::c_ushort,
1107 pub _vtable_offset: ::std::os::raw::c_schar,
1108 pub _shortbuf: [::std::os::raw::c_char; 1usize],
1109 pub _lock: *mut _IO_lock_t,
1110 pub _offset: __off64_t,
1111 pub _codecvt: *mut _IO_codecvt,
1112 pub _wide_data: *mut _IO_wide_data,
1113 pub _freeres_list: *mut _IO_FILE,
1114 pub _freeres_buf: *mut ::std::os::raw::c_void,
1115 pub __pad5: usize,
1116 pub _mode: ::std::os::raw::c_int,
1117 pub _unused2: [::std::os::raw::c_char; 20usize],
1118}
1119#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1120const _: () = {
1121 ["Size of _IO_FILE"][::std::mem::size_of::<_IO_FILE>() - 216usize];
1122 ["Alignment of _IO_FILE"][::std::mem::align_of::<_IO_FILE>() - 8usize];
1123 ["Offset of field: _IO_FILE::_flags"][::std::mem::offset_of!(_IO_FILE, _flags) - 0usize];
1124 ["Offset of field: _IO_FILE::_IO_read_ptr"]
1125 [::std::mem::offset_of!(_IO_FILE, _IO_read_ptr) - 8usize];
1126 ["Offset of field: _IO_FILE::_IO_read_end"]
1127 [::std::mem::offset_of!(_IO_FILE, _IO_read_end) - 16usize];
1128 ["Offset of field: _IO_FILE::_IO_read_base"]
1129 [::std::mem::offset_of!(_IO_FILE, _IO_read_base) - 24usize];
1130 ["Offset of field: _IO_FILE::_IO_write_base"]
1131 [::std::mem::offset_of!(_IO_FILE, _IO_write_base) - 32usize];
1132 ["Offset of field: _IO_FILE::_IO_write_ptr"]
1133 [::std::mem::offset_of!(_IO_FILE, _IO_write_ptr) - 40usize];
1134 ["Offset of field: _IO_FILE::_IO_write_end"]
1135 [::std::mem::offset_of!(_IO_FILE, _IO_write_end) - 48usize];
1136 ["Offset of field: _IO_FILE::_IO_buf_base"]
1137 [::std::mem::offset_of!(_IO_FILE, _IO_buf_base) - 56usize];
1138 ["Offset of field: _IO_FILE::_IO_buf_end"]
1139 [::std::mem::offset_of!(_IO_FILE, _IO_buf_end) - 64usize];
1140 ["Offset of field: _IO_FILE::_IO_save_base"]
1141 [::std::mem::offset_of!(_IO_FILE, _IO_save_base) - 72usize];
1142 ["Offset of field: _IO_FILE::_IO_backup_base"]
1143 [::std::mem::offset_of!(_IO_FILE, _IO_backup_base) - 80usize];
1144 ["Offset of field: _IO_FILE::_IO_save_end"]
1145 [::std::mem::offset_of!(_IO_FILE, _IO_save_end) - 88usize];
1146 ["Offset of field: _IO_FILE::_markers"][::std::mem::offset_of!(_IO_FILE, _markers) - 96usize];
1147 ["Offset of field: _IO_FILE::_chain"][::std::mem::offset_of!(_IO_FILE, _chain) - 104usize];
1148 ["Offset of field: _IO_FILE::_fileno"][::std::mem::offset_of!(_IO_FILE, _fileno) - 112usize];
1149 ["Offset of field: _IO_FILE::_flags2"][::std::mem::offset_of!(_IO_FILE, _flags2) - 116usize];
1150 ["Offset of field: _IO_FILE::_old_offset"]
1151 [::std::mem::offset_of!(_IO_FILE, _old_offset) - 120usize];
1152 ["Offset of field: _IO_FILE::_cur_column"]
1153 [::std::mem::offset_of!(_IO_FILE, _cur_column) - 128usize];
1154 ["Offset of field: _IO_FILE::_vtable_offset"]
1155 [::std::mem::offset_of!(_IO_FILE, _vtable_offset) - 130usize];
1156 ["Offset of field: _IO_FILE::_shortbuf"]
1157 [::std::mem::offset_of!(_IO_FILE, _shortbuf) - 131usize];
1158 ["Offset of field: _IO_FILE::_lock"][::std::mem::offset_of!(_IO_FILE, _lock) - 136usize];
1159 ["Offset of field: _IO_FILE::_offset"][::std::mem::offset_of!(_IO_FILE, _offset) - 144usize];
1160 ["Offset of field: _IO_FILE::_codecvt"][::std::mem::offset_of!(_IO_FILE, _codecvt) - 152usize];
1161 ["Offset of field: _IO_FILE::_wide_data"]
1162 [::std::mem::offset_of!(_IO_FILE, _wide_data) - 160usize];
1163 ["Offset of field: _IO_FILE::_freeres_list"]
1164 [::std::mem::offset_of!(_IO_FILE, _freeres_list) - 168usize];
1165 ["Offset of field: _IO_FILE::_freeres_buf"]
1166 [::std::mem::offset_of!(_IO_FILE, _freeres_buf) - 176usize];
1167 ["Offset of field: _IO_FILE::__pad5"][::std::mem::offset_of!(_IO_FILE, __pad5) - 184usize];
1168 ["Offset of field: _IO_FILE::_mode"][::std::mem::offset_of!(_IO_FILE, _mode) - 192usize];
1169 ["Offset of field: _IO_FILE::_unused2"][::std::mem::offset_of!(_IO_FILE, _unused2) - 196usize];
1170};
1171pub type zend_long = i64;
1172pub type zend_ulong = u64;
1173pub type zend_off_t = i64;
1174pub type zend_uchar = ::std::os::raw::c_uchar;
1175pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
1176pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
1177pub type ZEND_RESULT_CODE = ::std::os::raw::c_int;
1178pub use self::ZEND_RESULT_CODE as zend_result;
1179pub type zend_object_handlers = _zend_object_handlers;
1180pub type zend_class_entry = _zend_class_entry;
1181pub type zend_function = _zend_function;
1182pub type zend_execute_data = _zend_execute_data;
1183pub type zval = _zval_struct;
1184pub type zend_refcounted = _zend_refcounted;
1185pub type zend_string = _zend_string;
1186pub type zend_array = _zend_array;
1187pub type zend_object = _zend_object;
1188pub type zend_resource = _zend_resource;
1189pub type zend_reference = _zend_reference;
1190pub type zend_ast_ref = _zend_ast_ref;
1191pub type zend_ast = _zend_ast;
1192pub type compare_func_t = ::std::option::Option<
1193 unsafe extern "C" fn(
1194 arg1: *const ::std::os::raw::c_void,
1195 arg2: *const ::std::os::raw::c_void,
1196 ) -> ::std::os::raw::c_int,
1197>;
1198pub type swap_func_t = ::std::option::Option<
1199 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void),
1200>;
1201pub type sort_func_t = ::std::option::Option<
1202 unsafe extern "C" fn(
1203 arg1: *mut ::std::os::raw::c_void,
1204 arg2: usize,
1205 arg3: usize,
1206 arg4: compare_func_t,
1207 arg5: swap_func_t,
1208 ),
1209>;
1210pub type dtor_func_t = ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval)>;
1211pub type copy_ctor_func_t = ::std::option::Option<unsafe extern "C" fn(pElement: *mut zval)>;
1212#[repr(C)]
1213#[derive(Debug, Copy, Clone)]
1214pub struct zend_type {
1215 pub ptr: *mut ::std::os::raw::c_void,
1216 pub type_mask: u32,
1217}
1218#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1219const _: () = {
1220 ["Size of zend_type"][::std::mem::size_of::<zend_type>() - 16usize];
1221 ["Alignment of zend_type"][::std::mem::align_of::<zend_type>() - 8usize];
1222 ["Offset of field: zend_type::ptr"][::std::mem::offset_of!(zend_type, ptr) - 0usize];
1223 ["Offset of field: zend_type::type_mask"]
1224 [::std::mem::offset_of!(zend_type, type_mask) - 8usize];
1225};
1226#[repr(C)]
1227#[derive(Debug, Copy, Clone)]
1228pub struct zend_type_list {
1229 pub num_types: u32,
1230 pub types: [zend_type; 1usize],
1231}
1232#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1233const _: () = {
1234 ["Size of zend_type_list"][::std::mem::size_of::<zend_type_list>() - 24usize];
1235 ["Alignment of zend_type_list"][::std::mem::align_of::<zend_type_list>() - 8usize];
1236 ["Offset of field: zend_type_list::num_types"]
1237 [::std::mem::offset_of!(zend_type_list, num_types) - 0usize];
1238 ["Offset of field: zend_type_list::types"]
1239 [::std::mem::offset_of!(zend_type_list, types) - 8usize];
1240};
1241#[repr(C)]
1242#[derive(Copy, Clone)]
1243pub union _zend_value {
1244 pub lval: zend_long,
1245 pub dval: f64,
1246 pub counted: *mut zend_refcounted,
1247 pub str_: *mut zend_string,
1248 pub arr: *mut zend_array,
1249 pub obj: *mut zend_object,
1250 pub res: *mut zend_resource,
1251 pub ref_: *mut zend_reference,
1252 pub ast: *mut zend_ast_ref,
1253 pub zv: *mut zval,
1254 pub ptr: *mut ::std::os::raw::c_void,
1255 pub ce: *mut zend_class_entry,
1256 pub func: *mut zend_function,
1257 pub ww: _zend_value__bindgen_ty_1,
1258}
1259#[repr(C)]
1260#[derive(Debug, Copy, Clone)]
1261pub struct _zend_value__bindgen_ty_1 {
1262 pub w1: u32,
1263 pub w2: u32,
1264}
1265#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1266const _: () = {
1267 ["Size of _zend_value__bindgen_ty_1"]
1268 [::std::mem::size_of::<_zend_value__bindgen_ty_1>() - 8usize];
1269 ["Alignment of _zend_value__bindgen_ty_1"]
1270 [::std::mem::align_of::<_zend_value__bindgen_ty_1>() - 4usize];
1271 ["Offset of field: _zend_value__bindgen_ty_1::w1"]
1272 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w1) - 0usize];
1273 ["Offset of field: _zend_value__bindgen_ty_1::w2"]
1274 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w2) - 4usize];
1275};
1276#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1277const _: () = {
1278 ["Size of _zend_value"][::std::mem::size_of::<_zend_value>() - 8usize];
1279 ["Alignment of _zend_value"][::std::mem::align_of::<_zend_value>() - 8usize];
1280 ["Offset of field: _zend_value::lval"][::std::mem::offset_of!(_zend_value, lval) - 0usize];
1281 ["Offset of field: _zend_value::dval"][::std::mem::offset_of!(_zend_value, dval) - 0usize];
1282 ["Offset of field: _zend_value::counted"]
1283 [::std::mem::offset_of!(_zend_value, counted) - 0usize];
1284 ["Offset of field: _zend_value::str_"][::std::mem::offset_of!(_zend_value, str_) - 0usize];
1285 ["Offset of field: _zend_value::arr"][::std::mem::offset_of!(_zend_value, arr) - 0usize];
1286 ["Offset of field: _zend_value::obj"][::std::mem::offset_of!(_zend_value, obj) - 0usize];
1287 ["Offset of field: _zend_value::res"][::std::mem::offset_of!(_zend_value, res) - 0usize];
1288 ["Offset of field: _zend_value::ref_"][::std::mem::offset_of!(_zend_value, ref_) - 0usize];
1289 ["Offset of field: _zend_value::ast"][::std::mem::offset_of!(_zend_value, ast) - 0usize];
1290 ["Offset of field: _zend_value::zv"][::std::mem::offset_of!(_zend_value, zv) - 0usize];
1291 ["Offset of field: _zend_value::ptr"][::std::mem::offset_of!(_zend_value, ptr) - 0usize];
1292 ["Offset of field: _zend_value::ce"][::std::mem::offset_of!(_zend_value, ce) - 0usize];
1293 ["Offset of field: _zend_value::func"][::std::mem::offset_of!(_zend_value, func) - 0usize];
1294 ["Offset of field: _zend_value::ww"][::std::mem::offset_of!(_zend_value, ww) - 0usize];
1295};
1296pub type zend_value = _zend_value;
1297#[repr(C)]
1298#[derive(Copy, Clone)]
1299pub struct _zval_struct {
1300 pub value: zend_value,
1301 pub u1: _zval_struct__bindgen_ty_1,
1302 pub u2: _zval_struct__bindgen_ty_2,
1303}
1304#[repr(C)]
1305#[derive(Copy, Clone)]
1306pub union _zval_struct__bindgen_ty_1 {
1307 pub type_info: u32,
1308 pub v: _zval_struct__bindgen_ty_1__bindgen_ty_1,
1309}
1310#[repr(C)]
1311#[derive(Copy, Clone)]
1312pub struct _zval_struct__bindgen_ty_1__bindgen_ty_1 {
1313 pub type_: u8,
1314 pub type_flags: u8,
1315 pub u: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
1316}
1317#[repr(C)]
1318#[derive(Copy, Clone)]
1319pub union _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
1320 pub extra: u16,
1321}
1322#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1323const _: () = {
1324 ["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1"]
1325 [::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1326 ["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1"]
1327 [::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1328 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1::extra"][::std::mem::offset_of!(
1329 _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
1330 extra
1331 ) - 0usize];
1332};
1333#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1334const _: () = {
1335 ["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1336 [::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1337 ["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1338 [::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1339 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_"]
1340 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_) - 0usize];
1341 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_flags"]
1342 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_flags) - 1usize];
1343 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::u"]
1344 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, u) - 2usize];
1345};
1346#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1347const _: () = {
1348 ["Size of _zval_struct__bindgen_ty_1"]
1349 [::std::mem::size_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1350 ["Alignment of _zval_struct__bindgen_ty_1"]
1351 [::std::mem::align_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1352 ["Offset of field: _zval_struct__bindgen_ty_1::type_info"]
1353 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, type_info) - 0usize];
1354 ["Offset of field: _zval_struct__bindgen_ty_1::v"]
1355 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, v) - 0usize];
1356};
1357#[repr(C)]
1358#[derive(Copy, Clone)]
1359pub union _zval_struct__bindgen_ty_2 {
1360 pub next: u32,
1361 pub cache_slot: u32,
1362 pub opline_num: u32,
1363 pub lineno: u32,
1364 pub num_args: u32,
1365 pub fe_pos: u32,
1366 pub fe_iter_idx: u32,
1367 pub guard: u32,
1368 pub constant_flags: u32,
1369 pub extra: u32,
1370}
1371#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1372const _: () = {
1373 ["Size of _zval_struct__bindgen_ty_2"]
1374 [::std::mem::size_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1375 ["Alignment of _zval_struct__bindgen_ty_2"]
1376 [::std::mem::align_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1377 ["Offset of field: _zval_struct__bindgen_ty_2::next"]
1378 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, next) - 0usize];
1379 ["Offset of field: _zval_struct__bindgen_ty_2::cache_slot"]
1380 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, cache_slot) - 0usize];
1381 ["Offset of field: _zval_struct__bindgen_ty_2::opline_num"]
1382 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, opline_num) - 0usize];
1383 ["Offset of field: _zval_struct__bindgen_ty_2::lineno"]
1384 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, lineno) - 0usize];
1385 ["Offset of field: _zval_struct__bindgen_ty_2::num_args"]
1386 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, num_args) - 0usize];
1387 ["Offset of field: _zval_struct__bindgen_ty_2::fe_pos"]
1388 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_pos) - 0usize];
1389 ["Offset of field: _zval_struct__bindgen_ty_2::fe_iter_idx"]
1390 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_iter_idx) - 0usize];
1391 ["Offset of field: _zval_struct__bindgen_ty_2::guard"]
1392 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, guard) - 0usize];
1393 ["Offset of field: _zval_struct__bindgen_ty_2::constant_flags"]
1394 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, constant_flags) - 0usize];
1395 ["Offset of field: _zval_struct__bindgen_ty_2::extra"]
1396 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, extra) - 0usize];
1397};
1398#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1399const _: () = {
1400 ["Size of _zval_struct"][::std::mem::size_of::<_zval_struct>() - 16usize];
1401 ["Alignment of _zval_struct"][::std::mem::align_of::<_zval_struct>() - 8usize];
1402 ["Offset of field: _zval_struct::value"][::std::mem::offset_of!(_zval_struct, value) - 0usize];
1403 ["Offset of field: _zval_struct::u1"][::std::mem::offset_of!(_zval_struct, u1) - 8usize];
1404 ["Offset of field: _zval_struct::u2"][::std::mem::offset_of!(_zval_struct, u2) - 12usize];
1405};
1406#[repr(C)]
1407#[derive(Copy, Clone)]
1408pub struct _zend_refcounted_h {
1409 pub refcount: u32,
1410 pub u: _zend_refcounted_h__bindgen_ty_1,
1411}
1412#[repr(C)]
1413#[derive(Copy, Clone)]
1414pub union _zend_refcounted_h__bindgen_ty_1 {
1415 pub type_info: u32,
1416}
1417#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1418const _: () = {
1419 ["Size of _zend_refcounted_h__bindgen_ty_1"]
1420 [::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1421 ["Alignment of _zend_refcounted_h__bindgen_ty_1"]
1422 [::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1423 ["Offset of field: _zend_refcounted_h__bindgen_ty_1::type_info"]
1424 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1, type_info) - 0usize];
1425};
1426#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1427const _: () = {
1428 ["Size of _zend_refcounted_h"][::std::mem::size_of::<_zend_refcounted_h>() - 8usize];
1429 ["Alignment of _zend_refcounted_h"][::std::mem::align_of::<_zend_refcounted_h>() - 4usize];
1430 ["Offset of field: _zend_refcounted_h::refcount"]
1431 [::std::mem::offset_of!(_zend_refcounted_h, refcount) - 0usize];
1432 ["Offset of field: _zend_refcounted_h::u"]
1433 [::std::mem::offset_of!(_zend_refcounted_h, u) - 4usize];
1434};
1435pub type zend_refcounted_h = _zend_refcounted_h;
1436#[repr(C)]
1437#[derive(Copy, Clone)]
1438pub struct _zend_refcounted {
1439 pub gc: zend_refcounted_h,
1440}
1441#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1442const _: () = {
1443 ["Size of _zend_refcounted"][::std::mem::size_of::<_zend_refcounted>() - 8usize];
1444 ["Alignment of _zend_refcounted"][::std::mem::align_of::<_zend_refcounted>() - 4usize];
1445 ["Offset of field: _zend_refcounted::gc"]
1446 [::std::mem::offset_of!(_zend_refcounted, gc) - 0usize];
1447};
1448#[repr(C)]
1449#[derive(Copy, Clone)]
1450pub struct _zend_string {
1451 pub gc: zend_refcounted_h,
1452 pub h: zend_ulong,
1453 pub len: usize,
1454 pub val: [::std::os::raw::c_char; 1usize],
1455}
1456#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1457const _: () = {
1458 ["Size of _zend_string"][::std::mem::size_of::<_zend_string>() - 32usize];
1459 ["Alignment of _zend_string"][::std::mem::align_of::<_zend_string>() - 8usize];
1460 ["Offset of field: _zend_string::gc"][::std::mem::offset_of!(_zend_string, gc) - 0usize];
1461 ["Offset of field: _zend_string::h"][::std::mem::offset_of!(_zend_string, h) - 8usize];
1462 ["Offset of field: _zend_string::len"][::std::mem::offset_of!(_zend_string, len) - 16usize];
1463 ["Offset of field: _zend_string::val"][::std::mem::offset_of!(_zend_string, val) - 24usize];
1464};
1465#[repr(C)]
1466#[derive(Copy, Clone)]
1467pub struct _Bucket {
1468 pub val: zval,
1469 pub h: zend_ulong,
1470 pub key: *mut zend_string,
1471}
1472#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1473const _: () = {
1474 ["Size of _Bucket"][::std::mem::size_of::<_Bucket>() - 32usize];
1475 ["Alignment of _Bucket"][::std::mem::align_of::<_Bucket>() - 8usize];
1476 ["Offset of field: _Bucket::val"][::std::mem::offset_of!(_Bucket, val) - 0usize];
1477 ["Offset of field: _Bucket::h"][::std::mem::offset_of!(_Bucket, h) - 16usize];
1478 ["Offset of field: _Bucket::key"][::std::mem::offset_of!(_Bucket, key) - 24usize];
1479};
1480pub type Bucket = _Bucket;
1481pub type HashTable = _zend_array;
1482#[repr(C)]
1483#[derive(Copy, Clone)]
1484pub struct _zend_array {
1485 pub gc: zend_refcounted_h,
1486 pub u: _zend_array__bindgen_ty_1,
1487 pub nTableMask: u32,
1488 pub __bindgen_anon_1: _zend_array__bindgen_ty_2,
1489 pub nNumUsed: u32,
1490 pub nNumOfElements: u32,
1491 pub nTableSize: u32,
1492 pub nInternalPointer: u32,
1493 pub nNextFreeElement: zend_long,
1494 pub pDestructor: dtor_func_t,
1495}
1496#[repr(C)]
1497#[derive(Copy, Clone)]
1498pub union _zend_array__bindgen_ty_1 {
1499 pub v: _zend_array__bindgen_ty_1__bindgen_ty_1,
1500 pub flags: u32,
1501}
1502#[repr(C)]
1503#[derive(Debug, Copy, Clone)]
1504pub struct _zend_array__bindgen_ty_1__bindgen_ty_1 {
1505 pub flags: u8,
1506 pub _unused: u8,
1507 pub nIteratorsCount: u8,
1508 pub _unused2: u8,
1509}
1510#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1511const _: () = {
1512 ["Size of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1513 [::std::mem::size_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1514 ["Alignment of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1515 [::std::mem::align_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 1usize];
1516 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::flags"]
1517 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, flags) - 0usize];
1518 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::_unused"]
1519 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, _unused) - 1usize];
1520 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::nIteratorsCount"]
1521 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, nIteratorsCount) - 2usize];
1522 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::_unused2"]
1523 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, _unused2) - 3usize];
1524};
1525#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1526const _: () = {
1527 ["Size of _zend_array__bindgen_ty_1"]
1528 [::std::mem::size_of::<_zend_array__bindgen_ty_1>() - 4usize];
1529 ["Alignment of _zend_array__bindgen_ty_1"]
1530 [::std::mem::align_of::<_zend_array__bindgen_ty_1>() - 4usize];
1531 ["Offset of field: _zend_array__bindgen_ty_1::v"]
1532 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, v) - 0usize];
1533 ["Offset of field: _zend_array__bindgen_ty_1::flags"]
1534 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, flags) - 0usize];
1535};
1536#[repr(C)]
1537#[derive(Copy, Clone)]
1538pub union _zend_array__bindgen_ty_2 {
1539 pub arHash: *mut u32,
1540 pub arData: *mut Bucket,
1541 pub arPacked: *mut zval,
1542}
1543#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1544const _: () = {
1545 ["Size of _zend_array__bindgen_ty_2"]
1546 [::std::mem::size_of::<_zend_array__bindgen_ty_2>() - 8usize];
1547 ["Alignment of _zend_array__bindgen_ty_2"]
1548 [::std::mem::align_of::<_zend_array__bindgen_ty_2>() - 8usize];
1549 ["Offset of field: _zend_array__bindgen_ty_2::arHash"]
1550 [::std::mem::offset_of!(_zend_array__bindgen_ty_2, arHash) - 0usize];
1551 ["Offset of field: _zend_array__bindgen_ty_2::arData"]
1552 [::std::mem::offset_of!(_zend_array__bindgen_ty_2, arData) - 0usize];
1553 ["Offset of field: _zend_array__bindgen_ty_2::arPacked"]
1554 [::std::mem::offset_of!(_zend_array__bindgen_ty_2, arPacked) - 0usize];
1555};
1556#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1557const _: () = {
1558 ["Size of _zend_array"][::std::mem::size_of::<_zend_array>() - 56usize];
1559 ["Alignment of _zend_array"][::std::mem::align_of::<_zend_array>() - 8usize];
1560 ["Offset of field: _zend_array::gc"][::std::mem::offset_of!(_zend_array, gc) - 0usize];
1561 ["Offset of field: _zend_array::u"][::std::mem::offset_of!(_zend_array, u) - 8usize];
1562 ["Offset of field: _zend_array::nTableMask"]
1563 [::std::mem::offset_of!(_zend_array, nTableMask) - 12usize];
1564 ["Offset of field: _zend_array::nNumUsed"]
1565 [::std::mem::offset_of!(_zend_array, nNumUsed) - 24usize];
1566 ["Offset of field: _zend_array::nNumOfElements"]
1567 [::std::mem::offset_of!(_zend_array, nNumOfElements) - 28usize];
1568 ["Offset of field: _zend_array::nTableSize"]
1569 [::std::mem::offset_of!(_zend_array, nTableSize) - 32usize];
1570 ["Offset of field: _zend_array::nInternalPointer"]
1571 [::std::mem::offset_of!(_zend_array, nInternalPointer) - 36usize];
1572 ["Offset of field: _zend_array::nNextFreeElement"]
1573 [::std::mem::offset_of!(_zend_array, nNextFreeElement) - 40usize];
1574 ["Offset of field: _zend_array::pDestructor"]
1575 [::std::mem::offset_of!(_zend_array, pDestructor) - 48usize];
1576};
1577pub type HashPosition = u32;
1578#[repr(C)]
1579#[derive(Debug, Copy, Clone)]
1580pub struct _HashTableIterator {
1581 pub ht: *mut HashTable,
1582 pub pos: HashPosition,
1583 pub next_copy: u32,
1584}
1585#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1586const _: () = {
1587 ["Size of _HashTableIterator"][::std::mem::size_of::<_HashTableIterator>() - 16usize];
1588 ["Alignment of _HashTableIterator"][::std::mem::align_of::<_HashTableIterator>() - 8usize];
1589 ["Offset of field: _HashTableIterator::ht"]
1590 [::std::mem::offset_of!(_HashTableIterator, ht) - 0usize];
1591 ["Offset of field: _HashTableIterator::pos"]
1592 [::std::mem::offset_of!(_HashTableIterator, pos) - 8usize];
1593 ["Offset of field: _HashTableIterator::next_copy"]
1594 [::std::mem::offset_of!(_HashTableIterator, next_copy) - 12usize];
1595};
1596pub type HashTableIterator = _HashTableIterator;
1597#[repr(C)]
1598#[derive(Copy, Clone)]
1599pub struct _zend_object {
1600 pub gc: zend_refcounted_h,
1601 pub handle: u32,
1602 pub ce: *mut zend_class_entry,
1603 pub handlers: *const zend_object_handlers,
1604 pub properties: *mut HashTable,
1605 pub properties_table: [zval; 1usize],
1606}
1607#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1608const _: () = {
1609 ["Size of _zend_object"][::std::mem::size_of::<_zend_object>() - 56usize];
1610 ["Alignment of _zend_object"][::std::mem::align_of::<_zend_object>() - 8usize];
1611 ["Offset of field: _zend_object::gc"][::std::mem::offset_of!(_zend_object, gc) - 0usize];
1612 ["Offset of field: _zend_object::handle"]
1613 [::std::mem::offset_of!(_zend_object, handle) - 8usize];
1614 ["Offset of field: _zend_object::ce"][::std::mem::offset_of!(_zend_object, ce) - 16usize];
1615 ["Offset of field: _zend_object::handlers"]
1616 [::std::mem::offset_of!(_zend_object, handlers) - 24usize];
1617 ["Offset of field: _zend_object::properties"]
1618 [::std::mem::offset_of!(_zend_object, properties) - 32usize];
1619 ["Offset of field: _zend_object::properties_table"]
1620 [::std::mem::offset_of!(_zend_object, properties_table) - 40usize];
1621};
1622#[repr(C)]
1623#[derive(Copy, Clone)]
1624pub struct _zend_resource {
1625 pub gc: zend_refcounted_h,
1626 pub handle: zend_long,
1627 pub type_: ::std::os::raw::c_int,
1628 pub ptr: *mut ::std::os::raw::c_void,
1629}
1630#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1631const _: () = {
1632 ["Size of _zend_resource"][::std::mem::size_of::<_zend_resource>() - 32usize];
1633 ["Alignment of _zend_resource"][::std::mem::align_of::<_zend_resource>() - 8usize];
1634 ["Offset of field: _zend_resource::gc"][::std::mem::offset_of!(_zend_resource, gc) - 0usize];
1635 ["Offset of field: _zend_resource::handle"]
1636 [::std::mem::offset_of!(_zend_resource, handle) - 8usize];
1637 ["Offset of field: _zend_resource::type_"]
1638 [::std::mem::offset_of!(_zend_resource, type_) - 16usize];
1639 ["Offset of field: _zend_resource::ptr"][::std::mem::offset_of!(_zend_resource, ptr) - 24usize];
1640};
1641#[repr(C)]
1642#[derive(Debug, Copy, Clone)]
1643pub struct zend_property_info_list {
1644 pub num: usize,
1645 pub num_allocated: usize,
1646 pub ptr: [*mut _zend_property_info; 1usize],
1647}
1648#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1649const _: () = {
1650 ["Size of zend_property_info_list"][::std::mem::size_of::<zend_property_info_list>() - 24usize];
1651 ["Alignment of zend_property_info_list"]
1652 [::std::mem::align_of::<zend_property_info_list>() - 8usize];
1653 ["Offset of field: zend_property_info_list::num"]
1654 [::std::mem::offset_of!(zend_property_info_list, num) - 0usize];
1655 ["Offset of field: zend_property_info_list::num_allocated"]
1656 [::std::mem::offset_of!(zend_property_info_list, num_allocated) - 8usize];
1657 ["Offset of field: zend_property_info_list::ptr"]
1658 [::std::mem::offset_of!(zend_property_info_list, ptr) - 16usize];
1659};
1660#[repr(C)]
1661#[derive(Copy, Clone)]
1662pub union zend_property_info_source_list {
1663 pub ptr: *mut _zend_property_info,
1664 pub list: usize,
1665}
1666#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1667const _: () = {
1668 ["Size of zend_property_info_source_list"]
1669 [::std::mem::size_of::<zend_property_info_source_list>() - 8usize];
1670 ["Alignment of zend_property_info_source_list"]
1671 [::std::mem::align_of::<zend_property_info_source_list>() - 8usize];
1672 ["Offset of field: zend_property_info_source_list::ptr"]
1673 [::std::mem::offset_of!(zend_property_info_source_list, ptr) - 0usize];
1674 ["Offset of field: zend_property_info_source_list::list"]
1675 [::std::mem::offset_of!(zend_property_info_source_list, list) - 0usize];
1676};
1677#[repr(C)]
1678#[derive(Copy, Clone)]
1679pub struct _zend_reference {
1680 pub gc: zend_refcounted_h,
1681 pub val: zval,
1682 pub sources: zend_property_info_source_list,
1683}
1684#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1685const _: () = {
1686 ["Size of _zend_reference"][::std::mem::size_of::<_zend_reference>() - 32usize];
1687 ["Alignment of _zend_reference"][::std::mem::align_of::<_zend_reference>() - 8usize];
1688 ["Offset of field: _zend_reference::gc"][::std::mem::offset_of!(_zend_reference, gc) - 0usize];
1689 ["Offset of field: _zend_reference::val"]
1690 [::std::mem::offset_of!(_zend_reference, val) - 8usize];
1691 ["Offset of field: _zend_reference::sources"]
1692 [::std::mem::offset_of!(_zend_reference, sources) - 24usize];
1693};
1694#[repr(C)]
1695#[derive(Copy, Clone)]
1696pub struct _zend_ast_ref {
1697 pub gc: zend_refcounted_h,
1698}
1699#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1700const _: () = {
1701 ["Size of _zend_ast_ref"][::std::mem::size_of::<_zend_ast_ref>() - 8usize];
1702 ["Alignment of _zend_ast_ref"][::std::mem::align_of::<_zend_ast_ref>() - 4usize];
1703 ["Offset of field: _zend_ast_ref::gc"][::std::mem::offset_of!(_zend_ast_ref, gc) - 0usize];
1704};
1705extern "C" {
1706 pub fn zend_map_ptr_reset();
1707}
1708extern "C" {
1709 pub fn zend_map_ptr_new() -> *mut ::std::os::raw::c_void;
1710}
1711extern "C" {
1712 pub fn zend_map_ptr_extend(last: usize);
1713}
1714extern "C" {
1715 pub fn zend_alloc_ce_cache(type_name: *mut zend_string);
1716}
1717#[repr(C)]
1718#[derive(Debug, Copy, Clone)]
1719pub struct _zend_leak_info {
1720 pub addr: *mut ::std::os::raw::c_void,
1721 pub size: usize,
1722 pub filename: *const ::std::os::raw::c_char,
1723 pub orig_filename: *const ::std::os::raw::c_char,
1724 pub lineno: u32,
1725 pub orig_lineno: u32,
1726}
1727#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1728const _: () = {
1729 ["Size of _zend_leak_info"][::std::mem::size_of::<_zend_leak_info>() - 40usize];
1730 ["Alignment of _zend_leak_info"][::std::mem::align_of::<_zend_leak_info>() - 8usize];
1731 ["Offset of field: _zend_leak_info::addr"]
1732 [::std::mem::offset_of!(_zend_leak_info, addr) - 0usize];
1733 ["Offset of field: _zend_leak_info::size"]
1734 [::std::mem::offset_of!(_zend_leak_info, size) - 8usize];
1735 ["Offset of field: _zend_leak_info::filename"]
1736 [::std::mem::offset_of!(_zend_leak_info, filename) - 16usize];
1737 ["Offset of field: _zend_leak_info::orig_filename"]
1738 [::std::mem::offset_of!(_zend_leak_info, orig_filename) - 24usize];
1739 ["Offset of field: _zend_leak_info::lineno"]
1740 [::std::mem::offset_of!(_zend_leak_info, lineno) - 32usize];
1741 ["Offset of field: _zend_leak_info::orig_lineno"]
1742 [::std::mem::offset_of!(_zend_leak_info, orig_lineno) - 36usize];
1743};
1744pub type zend_leak_info = _zend_leak_info;
1745extern "C" {
1746 pub fn zend_strndup(
1747 s: *const ::std::os::raw::c_char,
1748 length: usize,
1749 ) -> *mut ::std::os::raw::c_char;
1750}
1751extern "C" {
1752 pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> usize;
1753}
1754extern "C" {
1755 pub fn zend_set_memory_limit(memory_limit: usize) -> zend_result;
1756}
1757extern "C" {
1758 pub fn zend_alloc_in_memory_limit_error_reporting() -> bool;
1759}
1760extern "C" {
1761 pub fn zend_memory_usage(real_usage: bool) -> usize;
1762}
1763extern "C" {
1764 pub fn zend_memory_peak_usage(real_usage: bool) -> usize;
1765}
1766extern "C" {
1767 pub fn zend_memory_reset_peak_usage();
1768}
1769#[repr(C)]
1770#[derive(Debug, Copy, Clone)]
1771pub struct _zend_mm_heap {
1772 _unused: [u8; 0],
1773}
1774pub type zend_mm_heap = _zend_mm_heap;
1775extern "C" {
1776 pub fn zend_mm_startup() -> *mut zend_mm_heap;
1777}
1778extern "C" {
1779 pub fn zend_mm_shutdown(heap: *mut zend_mm_heap, full_shutdown: bool, silent: bool);
1780}
1781extern "C" {
1782 pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: usize) -> *mut ::std::os::raw::c_void;
1783}
1784extern "C" {
1785 pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
1786}
1787extern "C" {
1788 pub fn _zend_mm_realloc(
1789 heap: *mut zend_mm_heap,
1790 p: *mut ::std::os::raw::c_void,
1791 size: usize,
1792 ) -> *mut ::std::os::raw::c_void;
1793}
1794extern "C" {
1795 pub fn _zend_mm_realloc2(
1796 heap: *mut zend_mm_heap,
1797 p: *mut ::std::os::raw::c_void,
1798 size: usize,
1799 copy_size: usize,
1800 ) -> *mut ::std::os::raw::c_void;
1801}
1802extern "C" {
1803 pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> usize;
1804}
1805extern "C" {
1806 pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
1807}
1808extern "C" {
1809 pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
1810}
1811extern "C" {
1812 pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> usize;
1813}
1814extern "C" {
1815 pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> bool;
1816}
1817extern "C" {
1818 pub fn zend_mm_set_custom_handlers(
1819 heap: *mut zend_mm_heap,
1820 _malloc: ::std::option::Option<
1821 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1822 >,
1823 _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1824 _realloc: ::std::option::Option<
1825 unsafe extern "C" fn(
1826 arg1: *mut ::std::os::raw::c_void,
1827 arg2: usize,
1828 ) -> *mut ::std::os::raw::c_void,
1829 >,
1830 );
1831}
1832extern "C" {
1833 pub fn zend_mm_get_custom_handlers(
1834 heap: *mut zend_mm_heap,
1835 _malloc: *mut ::std::option::Option<
1836 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1837 >,
1838 _free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1839 _realloc: *mut ::std::option::Option<
1840 unsafe extern "C" fn(
1841 arg1: *mut ::std::os::raw::c_void,
1842 arg2: usize,
1843 ) -> *mut ::std::os::raw::c_void,
1844 >,
1845 );
1846}
1847pub type zend_mm_storage = _zend_mm_storage;
1848pub type zend_mm_chunk_alloc_t = ::std::option::Option<
1849 unsafe extern "C" fn(
1850 storage: *mut zend_mm_storage,
1851 size: usize,
1852 alignment: usize,
1853 ) -> *mut ::std::os::raw::c_void,
1854>;
1855pub type zend_mm_chunk_free_t = ::std::option::Option<
1856 unsafe extern "C" fn(
1857 storage: *mut zend_mm_storage,
1858 chunk: *mut ::std::os::raw::c_void,
1859 size: usize,
1860 ),
1861>;
1862pub type zend_mm_chunk_truncate_t = ::std::option::Option<
1863 unsafe extern "C" fn(
1864 storage: *mut zend_mm_storage,
1865 chunk: *mut ::std::os::raw::c_void,
1866 old_size: usize,
1867 new_size: usize,
1868 ) -> bool,
1869>;
1870pub type zend_mm_chunk_extend_t = ::std::option::Option<
1871 unsafe extern "C" fn(
1872 storage: *mut zend_mm_storage,
1873 chunk: *mut ::std::os::raw::c_void,
1874 old_size: usize,
1875 new_size: usize,
1876 ) -> bool,
1877>;
1878#[repr(C)]
1879#[derive(Debug, Copy, Clone)]
1880pub struct _zend_mm_handlers {
1881 pub chunk_alloc: zend_mm_chunk_alloc_t,
1882 pub chunk_free: zend_mm_chunk_free_t,
1883 pub chunk_truncate: zend_mm_chunk_truncate_t,
1884 pub chunk_extend: zend_mm_chunk_extend_t,
1885}
1886#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1887const _: () = {
1888 ["Size of _zend_mm_handlers"][::std::mem::size_of::<_zend_mm_handlers>() - 32usize];
1889 ["Alignment of _zend_mm_handlers"][::std::mem::align_of::<_zend_mm_handlers>() - 8usize];
1890 ["Offset of field: _zend_mm_handlers::chunk_alloc"]
1891 [::std::mem::offset_of!(_zend_mm_handlers, chunk_alloc) - 0usize];
1892 ["Offset of field: _zend_mm_handlers::chunk_free"]
1893 [::std::mem::offset_of!(_zend_mm_handlers, chunk_free) - 8usize];
1894 ["Offset of field: _zend_mm_handlers::chunk_truncate"]
1895 [::std::mem::offset_of!(_zend_mm_handlers, chunk_truncate) - 16usize];
1896 ["Offset of field: _zend_mm_handlers::chunk_extend"]
1897 [::std::mem::offset_of!(_zend_mm_handlers, chunk_extend) - 24usize];
1898};
1899pub type zend_mm_handlers = _zend_mm_handlers;
1900#[repr(C)]
1901#[derive(Debug, Copy, Clone)]
1902pub struct _zend_mm_storage {
1903 pub handlers: zend_mm_handlers,
1904 pub data: *mut ::std::os::raw::c_void,
1905}
1906#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1907const _: () = {
1908 ["Size of _zend_mm_storage"][::std::mem::size_of::<_zend_mm_storage>() - 40usize];
1909 ["Alignment of _zend_mm_storage"][::std::mem::align_of::<_zend_mm_storage>() - 8usize];
1910 ["Offset of field: _zend_mm_storage::handlers"]
1911 [::std::mem::offset_of!(_zend_mm_storage, handlers) - 0usize];
1912 ["Offset of field: _zend_mm_storage::data"]
1913 [::std::mem::offset_of!(_zend_mm_storage, data) - 32usize];
1914};
1915extern "C" {
1916 pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
1917}
1918extern "C" {
1919 pub fn zend_mm_startup_ex(
1920 handlers: *const zend_mm_handlers,
1921 data: *mut ::std::os::raw::c_void,
1922 data_size: usize,
1923 ) -> *mut zend_mm_heap;
1924}
1925#[repr(C)]
1926#[derive(Debug, Copy, Clone)]
1927pub struct _zend_llist_element {
1928 pub next: *mut _zend_llist_element,
1929 pub prev: *mut _zend_llist_element,
1930 pub data: [::std::os::raw::c_char; 1usize],
1931}
1932#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1933const _: () = {
1934 ["Size of _zend_llist_element"][::std::mem::size_of::<_zend_llist_element>() - 24usize];
1935 ["Alignment of _zend_llist_element"][::std::mem::align_of::<_zend_llist_element>() - 8usize];
1936 ["Offset of field: _zend_llist_element::next"]
1937 [::std::mem::offset_of!(_zend_llist_element, next) - 0usize];
1938 ["Offset of field: _zend_llist_element::prev"]
1939 [::std::mem::offset_of!(_zend_llist_element, prev) - 8usize];
1940 ["Offset of field: _zend_llist_element::data"]
1941 [::std::mem::offset_of!(_zend_llist_element, data) - 16usize];
1942};
1943pub type zend_llist_element = _zend_llist_element;
1944pub type llist_dtor_func_t =
1945 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1946pub type llist_compare_func_t = ::std::option::Option<
1947 unsafe extern "C" fn(
1948 arg1: *mut *const zend_llist_element,
1949 arg2: *mut *const zend_llist_element,
1950 ) -> ::std::os::raw::c_int,
1951>;
1952pub type llist_apply_with_args_func_t = ::std::option::Option<
1953 unsafe extern "C" fn(
1954 data: *mut ::std::os::raw::c_void,
1955 num_args: ::std::os::raw::c_int,
1956 args: *mut __va_list_tag,
1957 ),
1958>;
1959pub type llist_apply_with_arg_func_t = ::std::option::Option<
1960 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
1961>;
1962pub type llist_apply_func_t =
1963 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1964#[repr(C)]
1965#[derive(Debug, Copy, Clone)]
1966pub struct _zend_llist {
1967 pub head: *mut zend_llist_element,
1968 pub tail: *mut zend_llist_element,
1969 pub count: usize,
1970 pub size: usize,
1971 pub dtor: llist_dtor_func_t,
1972 pub persistent: ::std::os::raw::c_uchar,
1973 pub traverse_ptr: *mut zend_llist_element,
1974}
1975#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1976const _: () = {
1977 ["Size of _zend_llist"][::std::mem::size_of::<_zend_llist>() - 56usize];
1978 ["Alignment of _zend_llist"][::std::mem::align_of::<_zend_llist>() - 8usize];
1979 ["Offset of field: _zend_llist::head"][::std::mem::offset_of!(_zend_llist, head) - 0usize];
1980 ["Offset of field: _zend_llist::tail"][::std::mem::offset_of!(_zend_llist, tail) - 8usize];
1981 ["Offset of field: _zend_llist::count"][::std::mem::offset_of!(_zend_llist, count) - 16usize];
1982 ["Offset of field: _zend_llist::size"][::std::mem::offset_of!(_zend_llist, size) - 24usize];
1983 ["Offset of field: _zend_llist::dtor"][::std::mem::offset_of!(_zend_llist, dtor) - 32usize];
1984 ["Offset of field: _zend_llist::persistent"]
1985 [::std::mem::offset_of!(_zend_llist, persistent) - 40usize];
1986 ["Offset of field: _zend_llist::traverse_ptr"]
1987 [::std::mem::offset_of!(_zend_llist, traverse_ptr) - 48usize];
1988};
1989pub type zend_llist = _zend_llist;
1990pub type zend_llist_position = *mut zend_llist_element;
1991extern "C" {
1992 pub fn zend_llist_init(
1993 l: *mut zend_llist,
1994 size: usize,
1995 dtor: llist_dtor_func_t,
1996 persistent: ::std::os::raw::c_uchar,
1997 );
1998}
1999extern "C" {
2000 pub fn zend_llist_add_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
2001}
2002extern "C" {
2003 pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
2004}
2005extern "C" {
2006 pub fn zend_llist_del_element(
2007 l: *mut zend_llist,
2008 element: *mut ::std::os::raw::c_void,
2009 compare: ::std::option::Option<
2010 unsafe extern "C" fn(
2011 element1: *mut ::std::os::raw::c_void,
2012 element2: *mut ::std::os::raw::c_void,
2013 ) -> ::std::os::raw::c_int,
2014 >,
2015 );
2016}
2017extern "C" {
2018 pub fn zend_llist_destroy(l: *mut zend_llist);
2019}
2020extern "C" {
2021 pub fn zend_llist_clean(l: *mut zend_llist);
2022}
2023extern "C" {
2024 pub fn zend_llist_remove_tail(l: *mut zend_llist);
2025}
2026extern "C" {
2027 pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
2028}
2029extern "C" {
2030 pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
2031}
2032extern "C" {
2033 pub fn zend_llist_apply_with_del(
2034 l: *mut zend_llist,
2035 func: ::std::option::Option<
2036 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
2037 >,
2038 );
2039}
2040extern "C" {
2041 pub fn zend_llist_apply_with_argument(
2042 l: *mut zend_llist,
2043 func: llist_apply_with_arg_func_t,
2044 arg: *mut ::std::os::raw::c_void,
2045 );
2046}
2047extern "C" {
2048 pub fn zend_llist_apply_with_arguments(
2049 l: *mut zend_llist,
2050 func: llist_apply_with_args_func_t,
2051 num_args: ::std::os::raw::c_int,
2052 ...
2053 );
2054}
2055extern "C" {
2056 pub fn zend_llist_count(l: *mut zend_llist) -> usize;
2057}
2058extern "C" {
2059 pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
2060}
2061extern "C" {
2062 pub fn zend_llist_get_first_ex(
2063 l: *mut zend_llist,
2064 pos: *mut zend_llist_position,
2065 ) -> *mut ::std::os::raw::c_void;
2066}
2067extern "C" {
2068 pub fn zend_llist_get_last_ex(
2069 l: *mut zend_llist,
2070 pos: *mut zend_llist_position,
2071 ) -> *mut ::std::os::raw::c_void;
2072}
2073extern "C" {
2074 pub fn zend_llist_get_next_ex(
2075 l: *mut zend_llist,
2076 pos: *mut zend_llist_position,
2077 ) -> *mut ::std::os::raw::c_void;
2078}
2079extern "C" {
2080 pub fn zend_llist_get_prev_ex(
2081 l: *mut zend_llist,
2082 pos: *mut zend_llist_position,
2083 ) -> *mut ::std::os::raw::c_void;
2084}
2085pub type zend_string_copy_storage_func_t = ::std::option::Option<unsafe extern "C" fn()>;
2086pub type zend_new_interned_string_func_t =
2087 ::std::option::Option<unsafe extern "C" fn(str_: *mut zend_string) -> *mut zend_string>;
2088pub type zend_string_init_interned_func_t = ::std::option::Option<
2089 unsafe extern "C" fn(
2090 str_: *const ::std::os::raw::c_char,
2091 size: usize,
2092 permanent: bool,
2093 ) -> *mut zend_string,
2094>;
2095pub type zend_string_init_existing_interned_func_t = ::std::option::Option<
2096 unsafe extern "C" fn(
2097 str_: *const ::std::os::raw::c_char,
2098 size: usize,
2099 permanent: bool,
2100 ) -> *mut zend_string,
2101>;
2102extern "C" {
2103 pub static mut zend_new_interned_string: zend_new_interned_string_func_t;
2104}
2105extern "C" {
2106 pub static mut zend_string_init_interned: zend_string_init_interned_func_t;
2107}
2108extern "C" {
2109 pub static mut zend_string_init_existing_interned: zend_string_init_existing_interned_func_t;
2110}
2111extern "C" {
2112 pub fn zend_string_hash_func(str_: *mut zend_string) -> zend_ulong;
2113}
2114extern "C" {
2115 pub fn zend_hash_func(str_: *const ::std::os::raw::c_char, len: usize) -> zend_ulong;
2116}
2117extern "C" {
2118 pub fn zend_interned_string_find_permanent(str_: *mut zend_string) -> *mut zend_string;
2119}
2120extern "C" {
2121 pub fn zend_string_concat2(
2122 str1: *const ::std::os::raw::c_char,
2123 str1_len: usize,
2124 str2: *const ::std::os::raw::c_char,
2125 str2_len: usize,
2126 ) -> *mut zend_string;
2127}
2128extern "C" {
2129 pub fn zend_string_concat3(
2130 str1: *const ::std::os::raw::c_char,
2131 str1_len: usize,
2132 str2: *const ::std::os::raw::c_char,
2133 str2_len: usize,
2134 str3: *const ::std::os::raw::c_char,
2135 str3_len: usize,
2136 ) -> *mut zend_string;
2137}
2138extern "C" {
2139 pub fn zend_interned_strings_init();
2140}
2141extern "C" {
2142 pub fn zend_interned_strings_dtor();
2143}
2144extern "C" {
2145 pub fn zend_interned_strings_activate();
2146}
2147extern "C" {
2148 pub fn zend_interned_strings_deactivate();
2149}
2150extern "C" {
2151 pub fn zend_interned_strings_set_request_storage_handlers(
2152 handler: zend_new_interned_string_func_t,
2153 init_handler: zend_string_init_interned_func_t,
2154 init_existing_handler: zend_string_init_existing_interned_func_t,
2155 );
2156}
2157extern "C" {
2158 pub fn zend_interned_strings_switch_storage(request: bool);
2159}
2160extern "C" {
2161 pub static mut zend_empty_string: *mut zend_string;
2162}
2163extern "C" {
2164 pub static mut zend_one_char_string: [*mut zend_string; 256usize];
2165}
2166extern "C" {
2167 pub static mut zend_known_strings: *mut *mut zend_string;
2168}
2169extern "C" {
2170 pub fn zend_string_equal_val(s1: *const zend_string, s2: *const zend_string) -> bool;
2171}
2172pub const _zend_known_string_id_ZEND_STR_FILE: _zend_known_string_id = 0;
2173pub const _zend_known_string_id_ZEND_STR_LINE: _zend_known_string_id = 1;
2174pub const _zend_known_string_id_ZEND_STR_FUNCTION: _zend_known_string_id = 2;
2175pub const _zend_known_string_id_ZEND_STR_CLASS: _zend_known_string_id = 3;
2176pub const _zend_known_string_id_ZEND_STR_OBJECT: _zend_known_string_id = 4;
2177pub const _zend_known_string_id_ZEND_STR_TYPE: _zend_known_string_id = 5;
2178pub const _zend_known_string_id_ZEND_STR_OBJECT_OPERATOR: _zend_known_string_id = 6;
2179pub const _zend_known_string_id_ZEND_STR_PAAMAYIM_NEKUDOTAYIM: _zend_known_string_id = 7;
2180pub const _zend_known_string_id_ZEND_STR_ARGS: _zend_known_string_id = 8;
2181pub const _zend_known_string_id_ZEND_STR_UNKNOWN: _zend_known_string_id = 9;
2182pub const _zend_known_string_id_ZEND_STR_UNKNOWN_CAPITALIZED: _zend_known_string_id = 10;
2183pub const _zend_known_string_id_ZEND_STR_EVAL: _zend_known_string_id = 11;
2184pub const _zend_known_string_id_ZEND_STR_INCLUDE: _zend_known_string_id = 12;
2185pub const _zend_known_string_id_ZEND_STR_REQUIRE: _zend_known_string_id = 13;
2186pub const _zend_known_string_id_ZEND_STR_INCLUDE_ONCE: _zend_known_string_id = 14;
2187pub const _zend_known_string_id_ZEND_STR_REQUIRE_ONCE: _zend_known_string_id = 15;
2188pub const _zend_known_string_id_ZEND_STR_SCALAR: _zend_known_string_id = 16;
2189pub const _zend_known_string_id_ZEND_STR_ERROR_REPORTING: _zend_known_string_id = 17;
2190pub const _zend_known_string_id_ZEND_STR_STATIC: _zend_known_string_id = 18;
2191pub const _zend_known_string_id_ZEND_STR_THIS: _zend_known_string_id = 19;
2192pub const _zend_known_string_id_ZEND_STR_VALUE: _zend_known_string_id = 20;
2193pub const _zend_known_string_id_ZEND_STR_KEY: _zend_known_string_id = 21;
2194pub const _zend_known_string_id_ZEND_STR_MAGIC_INVOKE: _zend_known_string_id = 22;
2195pub const _zend_known_string_id_ZEND_STR_PREVIOUS: _zend_known_string_id = 23;
2196pub const _zend_known_string_id_ZEND_STR_CODE: _zend_known_string_id = 24;
2197pub const _zend_known_string_id_ZEND_STR_MESSAGE: _zend_known_string_id = 25;
2198pub const _zend_known_string_id_ZEND_STR_SEVERITY: _zend_known_string_id = 26;
2199pub const _zend_known_string_id_ZEND_STR_STRING: _zend_known_string_id = 27;
2200pub const _zend_known_string_id_ZEND_STR_TRACE: _zend_known_string_id = 28;
2201pub const _zend_known_string_id_ZEND_STR_SCHEME: _zend_known_string_id = 29;
2202pub const _zend_known_string_id_ZEND_STR_HOST: _zend_known_string_id = 30;
2203pub const _zend_known_string_id_ZEND_STR_PORT: _zend_known_string_id = 31;
2204pub const _zend_known_string_id_ZEND_STR_USER: _zend_known_string_id = 32;
2205pub const _zend_known_string_id_ZEND_STR_PASS: _zend_known_string_id = 33;
2206pub const _zend_known_string_id_ZEND_STR_PATH: _zend_known_string_id = 34;
2207pub const _zend_known_string_id_ZEND_STR_QUERY: _zend_known_string_id = 35;
2208pub const _zend_known_string_id_ZEND_STR_FRAGMENT: _zend_known_string_id = 36;
2209pub const _zend_known_string_id_ZEND_STR_NULL: _zend_known_string_id = 37;
2210pub const _zend_known_string_id_ZEND_STR_BOOLEAN: _zend_known_string_id = 38;
2211pub const _zend_known_string_id_ZEND_STR_INTEGER: _zend_known_string_id = 39;
2212pub const _zend_known_string_id_ZEND_STR_DOUBLE: _zend_known_string_id = 40;
2213pub const _zend_known_string_id_ZEND_STR_ARRAY: _zend_known_string_id = 41;
2214pub const _zend_known_string_id_ZEND_STR_RESOURCE: _zend_known_string_id = 42;
2215pub const _zend_known_string_id_ZEND_STR_CLOSED_RESOURCE: _zend_known_string_id = 43;
2216pub const _zend_known_string_id_ZEND_STR_NAME: _zend_known_string_id = 44;
2217pub const _zend_known_string_id_ZEND_STR_ARGV: _zend_known_string_id = 45;
2218pub const _zend_known_string_id_ZEND_STR_ARGC: _zend_known_string_id = 46;
2219pub const _zend_known_string_id_ZEND_STR_ARRAY_CAPITALIZED: _zend_known_string_id = 47;
2220pub const _zend_known_string_id_ZEND_STR_BOOL: _zend_known_string_id = 48;
2221pub const _zend_known_string_id_ZEND_STR_INT: _zend_known_string_id = 49;
2222pub const _zend_known_string_id_ZEND_STR_FLOAT: _zend_known_string_id = 50;
2223pub const _zend_known_string_id_ZEND_STR_CALLABLE: _zend_known_string_id = 51;
2224pub const _zend_known_string_id_ZEND_STR_ITERABLE: _zend_known_string_id = 52;
2225pub const _zend_known_string_id_ZEND_STR_VOID: _zend_known_string_id = 53;
2226pub const _zend_known_string_id_ZEND_STR_NEVER: _zend_known_string_id = 54;
2227pub const _zend_known_string_id_ZEND_STR_FALSE: _zend_known_string_id = 55;
2228pub const _zend_known_string_id_ZEND_STR_TRUE: _zend_known_string_id = 56;
2229pub const _zend_known_string_id_ZEND_STR_NULL_LOWERCASE: _zend_known_string_id = 57;
2230pub const _zend_known_string_id_ZEND_STR_MIXED: _zend_known_string_id = 58;
2231pub const _zend_known_string_id_ZEND_STR_TRAVERSABLE: _zend_known_string_id = 59;
2232pub const _zend_known_string_id_ZEND_STR_SLEEP: _zend_known_string_id = 60;
2233pub const _zend_known_string_id_ZEND_STR_WAKEUP: _zend_known_string_id = 61;
2234pub const _zend_known_string_id_ZEND_STR_CASES: _zend_known_string_id = 62;
2235pub const _zend_known_string_id_ZEND_STR_FROM: _zend_known_string_id = 63;
2236pub const _zend_known_string_id_ZEND_STR_TRYFROM: _zend_known_string_id = 64;
2237pub const _zend_known_string_id_ZEND_STR_TRYFROM_LOWERCASE: _zend_known_string_id = 65;
2238pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_SERVER: _zend_known_string_id = 66;
2239pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_ENV: _zend_known_string_id = 67;
2240pub const _zend_known_string_id_ZEND_STR_AUTOGLOBAL_REQUEST: _zend_known_string_id = 68;
2241pub const _zend_known_string_id_ZEND_STR_COUNT: _zend_known_string_id = 69;
2242pub const _zend_known_string_id_ZEND_STR_SENSITIVEPARAMETER: _zend_known_string_id = 70;
2243pub const _zend_known_string_id_ZEND_STR_CONST_EXPR_PLACEHOLDER: _zend_known_string_id = 71;
2244pub const _zend_known_string_id_ZEND_STR_LAST_KNOWN: _zend_known_string_id = 72;
2245pub type _zend_known_string_id = ::std::os::raw::c_uint;
2246pub use self::_zend_known_string_id as zend_known_string_id;
2247extern "C" {
2248 pub fn zend_sort(
2249 base: *mut ::std::os::raw::c_void,
2250 nmemb: usize,
2251 siz: usize,
2252 cmp: compare_func_t,
2253 swp: swap_func_t,
2254 );
2255}
2256extern "C" {
2257 pub fn zend_insert_sort(
2258 base: *mut ::std::os::raw::c_void,
2259 nmemb: usize,
2260 siz: usize,
2261 cmp: compare_func_t,
2262 swp: swap_func_t,
2263 );
2264}
2265extern "C" {
2266 pub static zend_empty_array: HashTable;
2267}
2268#[repr(C)]
2269#[derive(Debug, Copy, Clone)]
2270pub struct _zend_hash_key {
2271 pub h: zend_ulong,
2272 pub key: *mut zend_string,
2273}
2274#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2275const _: () = {
2276 ["Size of _zend_hash_key"][::std::mem::size_of::<_zend_hash_key>() - 16usize];
2277 ["Alignment of _zend_hash_key"][::std::mem::align_of::<_zend_hash_key>() - 8usize];
2278 ["Offset of field: _zend_hash_key::h"][::std::mem::offset_of!(_zend_hash_key, h) - 0usize];
2279 ["Offset of field: _zend_hash_key::key"][::std::mem::offset_of!(_zend_hash_key, key) - 8usize];
2280};
2281pub type zend_hash_key = _zend_hash_key;
2282pub type merge_checker_func_t = ::std::option::Option<
2283 unsafe extern "C" fn(
2284 target_ht: *mut HashTable,
2285 source_data: *mut zval,
2286 hash_key: *mut zend_hash_key,
2287 pParam: *mut ::std::os::raw::c_void,
2288 ) -> bool,
2289>;
2290extern "C" {
2291 pub fn _zend_hash_init(
2292 ht: *mut HashTable,
2293 nSize: u32,
2294 pDestructor: dtor_func_t,
2295 persistent: bool,
2296 );
2297}
2298extern "C" {
2299 pub fn zend_hash_destroy(ht: *mut HashTable);
2300}
2301extern "C" {
2302 pub fn zend_hash_clean(ht: *mut HashTable);
2303}
2304extern "C" {
2305 pub fn zend_hash_real_init(ht: *mut HashTable, packed: bool);
2306}
2307extern "C" {
2308 pub fn zend_hash_real_init_packed(ht: *mut HashTable);
2309}
2310extern "C" {
2311 pub fn zend_hash_real_init_mixed(ht: *mut HashTable);
2312}
2313extern "C" {
2314 pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
2315}
2316extern "C" {
2317 pub fn zend_hash_to_packed(ht: *mut HashTable);
2318}
2319extern "C" {
2320 pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: bool);
2321}
2322extern "C" {
2323 pub fn zend_hash_discard(ht: *mut HashTable, nNumUsed: u32);
2324}
2325extern "C" {
2326 pub fn zend_hash_packed_grow(ht: *mut HashTable);
2327}
2328extern "C" {
2329 pub fn zend_hash_add_or_update(
2330 ht: *mut HashTable,
2331 key: *mut zend_string,
2332 pData: *mut zval,
2333 flag: u32,
2334 ) -> *mut zval;
2335}
2336extern "C" {
2337 pub fn zend_hash_update(
2338 ht: *mut HashTable,
2339 key: *mut zend_string,
2340 pData: *mut zval,
2341 ) -> *mut zval;
2342}
2343extern "C" {
2344 pub fn zend_hash_update_ind(
2345 ht: *mut HashTable,
2346 key: *mut zend_string,
2347 pData: *mut zval,
2348 ) -> *mut zval;
2349}
2350extern "C" {
2351 pub fn zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval) -> *mut zval;
2352}
2353extern "C" {
2354 pub fn zend_hash_add_new(
2355 ht: *mut HashTable,
2356 key: *mut zend_string,
2357 pData: *mut zval,
2358 ) -> *mut zval;
2359}
2360extern "C" {
2361 pub fn zend_hash_str_add_or_update(
2362 ht: *mut HashTable,
2363 key: *const ::std::os::raw::c_char,
2364 len: usize,
2365 pData: *mut zval,
2366 flag: u32,
2367 ) -> *mut zval;
2368}
2369extern "C" {
2370 pub fn zend_hash_str_update(
2371 ht: *mut HashTable,
2372 key: *const ::std::os::raw::c_char,
2373 len: usize,
2374 pData: *mut zval,
2375 ) -> *mut zval;
2376}
2377extern "C" {
2378 pub fn zend_hash_str_update_ind(
2379 ht: *mut HashTable,
2380 key: *const ::std::os::raw::c_char,
2381 len: usize,
2382 pData: *mut zval,
2383 ) -> *mut zval;
2384}
2385extern "C" {
2386 pub fn zend_hash_str_add(
2387 ht: *mut HashTable,
2388 key: *const ::std::os::raw::c_char,
2389 len: usize,
2390 pData: *mut zval,
2391 ) -> *mut zval;
2392}
2393extern "C" {
2394 pub fn zend_hash_str_add_new(
2395 ht: *mut HashTable,
2396 key: *const ::std::os::raw::c_char,
2397 len: usize,
2398 pData: *mut zval,
2399 ) -> *mut zval;
2400}
2401extern "C" {
2402 pub fn zend_hash_index_add_or_update(
2403 ht: *mut HashTable,
2404 h: zend_ulong,
2405 pData: *mut zval,
2406 flag: u32,
2407 ) -> *mut zval;
2408}
2409extern "C" {
2410 pub fn zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
2411}
2412extern "C" {
2413 pub fn zend_hash_index_add_new(
2414 ht: *mut HashTable,
2415 h: zend_ulong,
2416 pData: *mut zval,
2417 ) -> *mut zval;
2418}
2419extern "C" {
2420 pub fn zend_hash_index_update(ht: *mut HashTable, h: zend_ulong, pData: *mut zval)
2421 -> *mut zval;
2422}
2423extern "C" {
2424 pub fn zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2425}
2426extern "C" {
2427 pub fn zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2428}
2429extern "C" {
2430 pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
2431}
2432extern "C" {
2433 pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
2434}
2435extern "C" {
2436 pub fn zend_hash_str_add_empty_element(
2437 ht: *mut HashTable,
2438 key: *const ::std::os::raw::c_char,
2439 len: usize,
2440 ) -> *mut zval;
2441}
2442extern "C" {
2443 pub fn zend_hash_set_bucket_key(
2444 ht: *mut HashTable,
2445 p: *mut Bucket,
2446 key: *mut zend_string,
2447 ) -> *mut zval;
2448}
2449pub type apply_func_t =
2450 ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval) -> ::std::os::raw::c_int>;
2451pub type apply_func_arg_t = ::std::option::Option<
2452 unsafe extern "C" fn(
2453 pDest: *mut zval,
2454 argument: *mut ::std::os::raw::c_void,
2455 ) -> ::std::os::raw::c_int,
2456>;
2457pub type apply_func_args_t = ::std::option::Option<
2458 unsafe extern "C" fn(
2459 pDest: *mut zval,
2460 num_args: ::std::os::raw::c_int,
2461 args: *mut __va_list_tag,
2462 hash_key: *mut zend_hash_key,
2463 ) -> ::std::os::raw::c_int,
2464>;
2465extern "C" {
2466 pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
2467}
2468extern "C" {
2469 pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
2470}
2471extern "C" {
2472 pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
2473}
2474extern "C" {
2475 pub fn zend_hash_apply_with_argument(
2476 ht: *mut HashTable,
2477 apply_func: apply_func_arg_t,
2478 arg1: *mut ::std::os::raw::c_void,
2479 );
2480}
2481extern "C" {
2482 pub fn zend_hash_apply_with_arguments(
2483 ht: *mut HashTable,
2484 apply_func: apply_func_args_t,
2485 arg1: ::std::os::raw::c_int,
2486 ...
2487 );
2488}
2489extern "C" {
2490 pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
2491}
2492extern "C" {
2493 pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
2494}
2495extern "C" {
2496 pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
2497}
2498extern "C" {
2499 pub fn zend_hash_str_del(
2500 ht: *mut HashTable,
2501 key: *const ::std::os::raw::c_char,
2502 len: usize,
2503 ) -> zend_result;
2504}
2505extern "C" {
2506 pub fn zend_hash_str_del_ind(
2507 ht: *mut HashTable,
2508 key: *const ::std::os::raw::c_char,
2509 len: usize,
2510 ) -> zend_result;
2511}
2512extern "C" {
2513 pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> zend_result;
2514}
2515extern "C" {
2516 pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
2517}
2518extern "C" {
2519 pub fn zend_hash_packed_del_val(ht: *mut HashTable, zv: *mut zval);
2520}
2521extern "C" {
2522 pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
2523}
2524extern "C" {
2525 pub fn zend_hash_str_find(
2526 ht: *const HashTable,
2527 key: *const ::std::os::raw::c_char,
2528 len: usize,
2529 ) -> *mut zval;
2530}
2531extern "C" {
2532 pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2533}
2534extern "C" {
2535 pub fn _zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2536}
2537extern "C" {
2538 pub fn zend_hash_find_known_hash(ht: *const HashTable, key: *const zend_string) -> *mut zval;
2539}
2540extern "C" {
2541 pub fn zend_hash_lookup(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
2542}
2543extern "C" {
2544 pub fn zend_hash_index_lookup(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
2545}
2546extern "C" {
2547 pub fn zend_hash_get_current_pos(ht: *const HashTable) -> HashPosition;
2548}
2549extern "C" {
2550 pub fn zend_hash_move_forward_ex(ht: *mut HashTable, pos: *mut HashPosition) -> zend_result;
2551}
2552extern "C" {
2553 pub fn zend_hash_move_backwards_ex(ht: *mut HashTable, pos: *mut HashPosition) -> zend_result;
2554}
2555extern "C" {
2556 pub fn zend_hash_get_current_key_ex(
2557 ht: *const HashTable,
2558 str_index: *mut *mut zend_string,
2559 num_index: *mut zend_ulong,
2560 pos: *const HashPosition,
2561 ) -> ::std::os::raw::c_int;
2562}
2563extern "C" {
2564 pub fn zend_hash_get_current_key_zval_ex(
2565 ht: *const HashTable,
2566 key: *mut zval,
2567 pos: *const HashPosition,
2568 );
2569}
2570extern "C" {
2571 pub fn zend_hash_get_current_key_type_ex(
2572 ht: *mut HashTable,
2573 pos: *mut HashPosition,
2574 ) -> ::std::os::raw::c_int;
2575}
2576extern "C" {
2577 pub fn zend_hash_get_current_data_ex(ht: *mut HashTable, pos: *mut HashPosition) -> *mut zval;
2578}
2579extern "C" {
2580 pub fn zend_hash_internal_pointer_reset_ex(ht: *mut HashTable, pos: *mut HashPosition);
2581}
2582extern "C" {
2583 pub fn zend_hash_internal_pointer_end_ex(ht: *mut HashTable, pos: *mut HashPosition);
2584}
2585extern "C" {
2586 pub fn zend_hash_copy(
2587 target: *mut HashTable,
2588 source: *mut HashTable,
2589 pCopyConstructor: copy_ctor_func_t,
2590 );
2591}
2592extern "C" {
2593 pub fn zend_hash_merge(
2594 target: *mut HashTable,
2595 source: *mut HashTable,
2596 pCopyConstructor: copy_ctor_func_t,
2597 overwrite: bool,
2598 );
2599}
2600extern "C" {
2601 pub fn zend_hash_merge_ex(
2602 target: *mut HashTable,
2603 source: *mut HashTable,
2604 pCopyConstructor: copy_ctor_func_t,
2605 pMergeSource: merge_checker_func_t,
2606 pParam: *mut ::std::os::raw::c_void,
2607 );
2608}
2609extern "C" {
2610 pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
2611}
2612extern "C" {
2613 pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
2614}
2615extern "C" {
2616 pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
2617}
2618pub type bucket_compare_func_t = ::std::option::Option<
2619 unsafe extern "C" fn(a: *mut Bucket, b: *mut Bucket) -> ::std::os::raw::c_int,
2620>;
2621extern "C" {
2622 pub fn zend_hash_compare(
2623 ht1: *mut HashTable,
2624 ht2: *mut HashTable,
2625 compar: compare_func_t,
2626 ordered: bool,
2627 ) -> ::std::os::raw::c_int;
2628}
2629extern "C" {
2630 pub fn zend_hash_sort_ex(
2631 ht: *mut HashTable,
2632 sort_func: sort_func_t,
2633 compare_func: bucket_compare_func_t,
2634 renumber: bool,
2635 );
2636}
2637extern "C" {
2638 pub fn zend_array_sort_ex(
2639 ht: *mut HashTable,
2640 sort_func: sort_func_t,
2641 compare_func: bucket_compare_func_t,
2642 renumber: bool,
2643 );
2644}
2645extern "C" {
2646 pub fn zend_hash_minmax(ht: *const HashTable, compar: compare_func_t, flag: u32) -> *mut zval;
2647}
2648extern "C" {
2649 pub fn zend_hash_rehash(ht: *mut HashTable);
2650}
2651extern "C" {
2652 pub fn _zend_new_array_0() -> *mut HashTable;
2653}
2654extern "C" {
2655 pub fn _zend_new_array(size: u32) -> *mut HashTable;
2656}
2657extern "C" {
2658 pub fn zend_new_pair(val1: *mut zval, val2: *mut zval) -> *mut HashTable;
2659}
2660extern "C" {
2661 pub fn zend_array_count(ht: *mut HashTable) -> u32;
2662}
2663extern "C" {
2664 pub fn zend_array_dup(source: *mut HashTable) -> *mut HashTable;
2665}
2666extern "C" {
2667 pub fn zend_array_destroy(ht: *mut HashTable);
2668}
2669extern "C" {
2670 pub fn zend_array_to_list(source: *mut HashTable) -> *mut HashTable;
2671}
2672extern "C" {
2673 pub fn zend_symtable_clean(ht: *mut HashTable);
2674}
2675extern "C" {
2676 pub fn zend_symtable_to_proptable(ht: *mut HashTable) -> *mut HashTable;
2677}
2678extern "C" {
2679 pub fn zend_proptable_to_symtable(ht: *mut HashTable, always_duplicate: bool)
2680 -> *mut HashTable;
2681}
2682extern "C" {
2683 pub fn _zend_handle_numeric_str_ex(
2684 key: *const ::std::os::raw::c_char,
2685 length: usize,
2686 idx: *mut zend_ulong,
2687 ) -> bool;
2688}
2689extern "C" {
2690 pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
2691}
2692extern "C" {
2693 pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
2694}
2695extern "C" {
2696 pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
2697}
2698extern "C" {
2699 pub fn zend_hash_iterator_del(idx: u32);
2700}
2701extern "C" {
2702 pub fn zend_hash_iterators_lower_pos(ht: *mut HashTable, start: HashPosition) -> HashPosition;
2703}
2704extern "C" {
2705 pub fn _zend_hash_iterators_update(ht: *mut HashTable, from: HashPosition, to: HashPosition);
2706}
2707extern "C" {
2708 pub fn zend_hash_iterators_advance(ht: *mut HashTable, step: HashPosition);
2709}
2710extern "C" {
2711 pub fn zend_hash_str_find_ptr_lc(
2712 ht: *const HashTable,
2713 str_: *const ::std::os::raw::c_char,
2714 len: usize,
2715 ) -> *mut ::std::os::raw::c_void;
2716}
2717extern "C" {
2718 pub fn zend_hash_find_ptr_lc(
2719 ht: *const HashTable,
2720 key: *mut zend_string,
2721 ) -> *mut ::std::os::raw::c_void;
2722}
2723pub type zend_ast_kind = u16;
2724pub type zend_ast_attr = u16;
2725#[repr(C)]
2726#[derive(Debug, Copy, Clone)]
2727pub struct _zend_ast {
2728 pub kind: zend_ast_kind,
2729 pub attr: zend_ast_attr,
2730 pub lineno: u32,
2731 pub child: [*mut zend_ast; 1usize],
2732}
2733#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2734const _: () = {
2735 ["Size of _zend_ast"][::std::mem::size_of::<_zend_ast>() - 16usize];
2736 ["Alignment of _zend_ast"][::std::mem::align_of::<_zend_ast>() - 8usize];
2737 ["Offset of field: _zend_ast::kind"][::std::mem::offset_of!(_zend_ast, kind) - 0usize];
2738 ["Offset of field: _zend_ast::attr"][::std::mem::offset_of!(_zend_ast, attr) - 2usize];
2739 ["Offset of field: _zend_ast::lineno"][::std::mem::offset_of!(_zend_ast, lineno) - 4usize];
2740 ["Offset of field: _zend_ast::child"][::std::mem::offset_of!(_zend_ast, child) - 8usize];
2741};
2742#[repr(C)]
2743#[derive(Debug, Copy, Clone)]
2744pub struct _zend_ast_list {
2745 pub kind: zend_ast_kind,
2746 pub attr: zend_ast_attr,
2747 pub lineno: u32,
2748 pub children: u32,
2749 pub child: [*mut zend_ast; 1usize],
2750}
2751#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2752const _: () = {
2753 ["Size of _zend_ast_list"][::std::mem::size_of::<_zend_ast_list>() - 24usize];
2754 ["Alignment of _zend_ast_list"][::std::mem::align_of::<_zend_ast_list>() - 8usize];
2755 ["Offset of field: _zend_ast_list::kind"]
2756 [::std::mem::offset_of!(_zend_ast_list, kind) - 0usize];
2757 ["Offset of field: _zend_ast_list::attr"]
2758 [::std::mem::offset_of!(_zend_ast_list, attr) - 2usize];
2759 ["Offset of field: _zend_ast_list::lineno"]
2760 [::std::mem::offset_of!(_zend_ast_list, lineno) - 4usize];
2761 ["Offset of field: _zend_ast_list::children"]
2762 [::std::mem::offset_of!(_zend_ast_list, children) - 8usize];
2763 ["Offset of field: _zend_ast_list::child"]
2764 [::std::mem::offset_of!(_zend_ast_list, child) - 16usize];
2765};
2766pub type zend_ast_list = _zend_ast_list;
2767#[repr(C)]
2768#[derive(Copy, Clone)]
2769pub struct _zend_ast_zval {
2770 pub kind: zend_ast_kind,
2771 pub attr: zend_ast_attr,
2772 pub val: zval,
2773}
2774#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2775const _: () = {
2776 ["Size of _zend_ast_zval"][::std::mem::size_of::<_zend_ast_zval>() - 24usize];
2777 ["Alignment of _zend_ast_zval"][::std::mem::align_of::<_zend_ast_zval>() - 8usize];
2778 ["Offset of field: _zend_ast_zval::kind"]
2779 [::std::mem::offset_of!(_zend_ast_zval, kind) - 0usize];
2780 ["Offset of field: _zend_ast_zval::attr"]
2781 [::std::mem::offset_of!(_zend_ast_zval, attr) - 2usize];
2782 ["Offset of field: _zend_ast_zval::val"][::std::mem::offset_of!(_zend_ast_zval, val) - 8usize];
2783};
2784pub type zend_ast_zval = _zend_ast_zval;
2785#[repr(C)]
2786#[derive(Debug, Copy, Clone)]
2787pub struct _zend_ast_decl {
2788 pub kind: zend_ast_kind,
2789 pub attr: zend_ast_attr,
2790 pub start_lineno: u32,
2791 pub end_lineno: u32,
2792 pub flags: u32,
2793 pub doc_comment: *mut zend_string,
2794 pub name: *mut zend_string,
2795 pub child: [*mut zend_ast; 5usize],
2796}
2797#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2798const _: () = {
2799 ["Size of _zend_ast_decl"][::std::mem::size_of::<_zend_ast_decl>() - 72usize];
2800 ["Alignment of _zend_ast_decl"][::std::mem::align_of::<_zend_ast_decl>() - 8usize];
2801 ["Offset of field: _zend_ast_decl::kind"]
2802 [::std::mem::offset_of!(_zend_ast_decl, kind) - 0usize];
2803 ["Offset of field: _zend_ast_decl::attr"]
2804 [::std::mem::offset_of!(_zend_ast_decl, attr) - 2usize];
2805 ["Offset of field: _zend_ast_decl::start_lineno"]
2806 [::std::mem::offset_of!(_zend_ast_decl, start_lineno) - 4usize];
2807 ["Offset of field: _zend_ast_decl::end_lineno"]
2808 [::std::mem::offset_of!(_zend_ast_decl, end_lineno) - 8usize];
2809 ["Offset of field: _zend_ast_decl::flags"]
2810 [::std::mem::offset_of!(_zend_ast_decl, flags) - 12usize];
2811 ["Offset of field: _zend_ast_decl::doc_comment"]
2812 [::std::mem::offset_of!(_zend_ast_decl, doc_comment) - 16usize];
2813 ["Offset of field: _zend_ast_decl::name"]
2814 [::std::mem::offset_of!(_zend_ast_decl, name) - 24usize];
2815 ["Offset of field: _zend_ast_decl::child"]
2816 [::std::mem::offset_of!(_zend_ast_decl, child) - 32usize];
2817};
2818pub type zend_ast_decl = _zend_ast_decl;
2819pub type zend_ast_process_t = ::std::option::Option<unsafe extern "C" fn(ast: *mut zend_ast)>;
2820extern "C" {
2821 pub static mut zend_ast_process: zend_ast_process_t;
2822}
2823extern "C" {
2824 pub fn zend_ast_create_zval_with_lineno(zv: *mut zval, lineno: u32) -> *mut zend_ast;
2825}
2826extern "C" {
2827 pub fn zend_ast_create_zval_ex(zv: *mut zval, attr: zend_ast_attr) -> *mut zend_ast;
2828}
2829extern "C" {
2830 pub fn zend_ast_create_zval(zv: *mut zval) -> *mut zend_ast;
2831}
2832extern "C" {
2833 pub fn zend_ast_create_zval_from_str(str_: *mut zend_string) -> *mut zend_ast;
2834}
2835extern "C" {
2836 pub fn zend_ast_create_zval_from_long(lval: zend_long) -> *mut zend_ast;
2837}
2838extern "C" {
2839 pub fn zend_ast_create_constant(name: *mut zend_string, attr: zend_ast_attr) -> *mut zend_ast;
2840}
2841extern "C" {
2842 pub fn zend_ast_create_class_const_or_name(
2843 class_name: *mut zend_ast,
2844 name: *mut zend_ast,
2845 ) -> *mut zend_ast;
2846}
2847extern "C" {
2848 pub fn zend_ast_create_0(kind: zend_ast_kind) -> *mut zend_ast;
2849}
2850extern "C" {
2851 pub fn zend_ast_create_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
2852}
2853extern "C" {
2854 pub fn zend_ast_create_2(
2855 kind: zend_ast_kind,
2856 child1: *mut zend_ast,
2857 child2: *mut zend_ast,
2858 ) -> *mut zend_ast;
2859}
2860extern "C" {
2861 pub fn zend_ast_create_3(
2862 kind: zend_ast_kind,
2863 child1: *mut zend_ast,
2864 child2: *mut zend_ast,
2865 child3: *mut zend_ast,
2866 ) -> *mut zend_ast;
2867}
2868extern "C" {
2869 pub fn zend_ast_create_4(
2870 kind: zend_ast_kind,
2871 child1: *mut zend_ast,
2872 child2: *mut zend_ast,
2873 child3: *mut zend_ast,
2874 child4: *mut zend_ast,
2875 ) -> *mut zend_ast;
2876}
2877extern "C" {
2878 pub fn zend_ast_create_5(
2879 kind: zend_ast_kind,
2880 child1: *mut zend_ast,
2881 child2: *mut zend_ast,
2882 child3: *mut zend_ast,
2883 child4: *mut zend_ast,
2884 child5: *mut zend_ast,
2885 ) -> *mut zend_ast;
2886}
2887extern "C" {
2888 pub fn zend_ast_create_list_0(kind: zend_ast_kind) -> *mut zend_ast;
2889}
2890extern "C" {
2891 pub fn zend_ast_create_list_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
2892}
2893extern "C" {
2894 pub fn zend_ast_create_list_2(
2895 kind: zend_ast_kind,
2896 child1: *mut zend_ast,
2897 child2: *mut zend_ast,
2898 ) -> *mut zend_ast;
2899}
2900extern "C" {
2901 pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
2902}
2903extern "C" {
2904 pub fn zend_ast_create_decl(
2905 kind: zend_ast_kind,
2906 flags: u32,
2907 start_lineno: u32,
2908 doc_comment: *mut zend_string,
2909 name: *mut zend_string,
2910 child0: *mut zend_ast,
2911 child1: *mut zend_ast,
2912 child2: *mut zend_ast,
2913 child3: *mut zend_ast,
2914 child4: *mut zend_ast,
2915 ) -> *mut zend_ast;
2916}
2917#[repr(C)]
2918#[derive(Debug, Copy, Clone)]
2919pub struct zend_ast_evaluate_ctx {
2920 pub had_side_effects: bool,
2921}
2922#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2923const _: () = {
2924 ["Size of zend_ast_evaluate_ctx"][::std::mem::size_of::<zend_ast_evaluate_ctx>() - 1usize];
2925 ["Alignment of zend_ast_evaluate_ctx"]
2926 [::std::mem::align_of::<zend_ast_evaluate_ctx>() - 1usize];
2927 ["Offset of field: zend_ast_evaluate_ctx::had_side_effects"]
2928 [::std::mem::offset_of!(zend_ast_evaluate_ctx, had_side_effects) - 0usize];
2929};
2930extern "C" {
2931 pub fn zend_ast_evaluate(
2932 result: *mut zval,
2933 ast: *mut zend_ast,
2934 scope: *mut zend_class_entry,
2935 ) -> zend_result;
2936}
2937extern "C" {
2938 pub fn zend_ast_evaluate_ex(
2939 result: *mut zval,
2940 ast: *mut zend_ast,
2941 scope: *mut zend_class_entry,
2942 short_circuited_ptr: *mut bool,
2943 ctx: *mut zend_ast_evaluate_ctx,
2944 ) -> zend_result;
2945}
2946extern "C" {
2947 pub fn zend_ast_export(
2948 prefix: *const ::std::os::raw::c_char,
2949 ast: *mut zend_ast,
2950 suffix: *const ::std::os::raw::c_char,
2951 ) -> *mut zend_string;
2952}
2953extern "C" {
2954 pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast_ref;
2955}
2956extern "C" {
2957 pub fn zend_ast_destroy(ast: *mut zend_ast);
2958}
2959extern "C" {
2960 pub fn zend_ast_ref_destroy(ast: *mut zend_ast_ref);
2961}
2962pub type zend_ast_apply_func = ::std::option::Option<
2963 unsafe extern "C" fn(ast_ptr: *mut *mut zend_ast, context: *mut ::std::os::raw::c_void),
2964>;
2965extern "C" {
2966 pub fn zend_ast_apply(
2967 ast: *mut zend_ast,
2968 fn_: zend_ast_apply_func,
2969 context: *mut ::std::os::raw::c_void,
2970 );
2971}
2972extern "C" {
2973 pub fn zend_ast_create_concat_op(op0: *mut zend_ast, op1: *mut zend_ast) -> *mut zend_ast;
2974}
2975extern "C" {
2976 pub fn zend_ast_with_attributes(ast: *mut zend_ast, attr: *mut zend_ast) -> *mut zend_ast;
2977}
2978pub type socklen_t = __socklen_t;
2979pub type zend_hrtime_t = u64;
2980extern "C" {
2981 pub fn zend_startup_hrtime();
2982}
2983#[repr(C)]
2984#[derive(Debug, Copy, Clone)]
2985pub struct _zend_gc_status {
2986 pub active: bool,
2987 pub gc_protected: bool,
2988 pub full: bool,
2989 pub runs: u32,
2990 pub collected: u32,
2991 pub threshold: u32,
2992 pub buf_size: u32,
2993 pub num_roots: u32,
2994 pub application_time: zend_hrtime_t,
2995 pub collector_time: zend_hrtime_t,
2996 pub dtor_time: zend_hrtime_t,
2997 pub free_time: zend_hrtime_t,
2998}
2999#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3000const _: () = {
3001 ["Size of _zend_gc_status"][::std::mem::size_of::<_zend_gc_status>() - 56usize];
3002 ["Alignment of _zend_gc_status"][::std::mem::align_of::<_zend_gc_status>() - 8usize];
3003 ["Offset of field: _zend_gc_status::active"]
3004 [::std::mem::offset_of!(_zend_gc_status, active) - 0usize];
3005 ["Offset of field: _zend_gc_status::gc_protected"]
3006 [::std::mem::offset_of!(_zend_gc_status, gc_protected) - 1usize];
3007 ["Offset of field: _zend_gc_status::full"]
3008 [::std::mem::offset_of!(_zend_gc_status, full) - 2usize];
3009 ["Offset of field: _zend_gc_status::runs"]
3010 [::std::mem::offset_of!(_zend_gc_status, runs) - 4usize];
3011 ["Offset of field: _zend_gc_status::collected"]
3012 [::std::mem::offset_of!(_zend_gc_status, collected) - 8usize];
3013 ["Offset of field: _zend_gc_status::threshold"]
3014 [::std::mem::offset_of!(_zend_gc_status, threshold) - 12usize];
3015 ["Offset of field: _zend_gc_status::buf_size"]
3016 [::std::mem::offset_of!(_zend_gc_status, buf_size) - 16usize];
3017 ["Offset of field: _zend_gc_status::num_roots"]
3018 [::std::mem::offset_of!(_zend_gc_status, num_roots) - 20usize];
3019 ["Offset of field: _zend_gc_status::application_time"]
3020 [::std::mem::offset_of!(_zend_gc_status, application_time) - 24usize];
3021 ["Offset of field: _zend_gc_status::collector_time"]
3022 [::std::mem::offset_of!(_zend_gc_status, collector_time) - 32usize];
3023 ["Offset of field: _zend_gc_status::dtor_time"]
3024 [::std::mem::offset_of!(_zend_gc_status, dtor_time) - 40usize];
3025 ["Offset of field: _zend_gc_status::free_time"]
3026 [::std::mem::offset_of!(_zend_gc_status, free_time) - 48usize];
3027};
3028pub type zend_gc_status = _zend_gc_status;
3029extern "C" {
3030 pub static mut gc_collect_cycles:
3031 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
3032}
3033extern "C" {
3034 pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
3035}
3036extern "C" {
3037 pub fn zend_gc_get_status(status: *mut zend_gc_status);
3038}
3039#[repr(C)]
3040#[derive(Debug, Copy, Clone)]
3041pub struct zend_get_gc_buffer {
3042 pub cur: *mut zval,
3043 pub end: *mut zval,
3044 pub start: *mut zval,
3045}
3046#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3047const _: () = {
3048 ["Size of zend_get_gc_buffer"][::std::mem::size_of::<zend_get_gc_buffer>() - 24usize];
3049 ["Alignment of zend_get_gc_buffer"][::std::mem::align_of::<zend_get_gc_buffer>() - 8usize];
3050 ["Offset of field: zend_get_gc_buffer::cur"]
3051 [::std::mem::offset_of!(zend_get_gc_buffer, cur) - 0usize];
3052 ["Offset of field: zend_get_gc_buffer::end"]
3053 [::std::mem::offset_of!(zend_get_gc_buffer, end) - 8usize];
3054 ["Offset of field: zend_get_gc_buffer::start"]
3055 [::std::mem::offset_of!(zend_get_gc_buffer, start) - 16usize];
3056};
3057extern "C" {
3058 pub fn zend_get_gc_buffer_create() -> *mut zend_get_gc_buffer;
3059}
3060extern "C" {
3061 pub fn zend_get_gc_buffer_grow(gc_buffer: *mut zend_get_gc_buffer);
3062}
3063pub type zend_object_iterator = _zend_object_iterator;
3064#[repr(C)]
3065#[derive(Debug, Copy, Clone)]
3066pub struct _zend_object_iterator_funcs {
3067 pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3068 pub valid: ::std::option::Option<
3069 unsafe extern "C" fn(iter: *mut zend_object_iterator) -> ::std::os::raw::c_int,
3070 >,
3071 pub get_current_data:
3072 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
3073 pub get_current_key: ::std::option::Option<
3074 unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
3075 >,
3076 pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3077 pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3078 pub invalidate_current:
3079 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3080 pub get_gc: ::std::option::Option<
3081 unsafe extern "C" fn(
3082 iter: *mut zend_object_iterator,
3083 table: *mut *mut zval,
3084 n: *mut ::std::os::raw::c_int,
3085 ) -> *mut HashTable,
3086 >,
3087}
3088#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3089const _: () = {
3090 ["Size of _zend_object_iterator_funcs"]
3091 [::std::mem::size_of::<_zend_object_iterator_funcs>() - 64usize];
3092 ["Alignment of _zend_object_iterator_funcs"]
3093 [::std::mem::align_of::<_zend_object_iterator_funcs>() - 8usize];
3094 ["Offset of field: _zend_object_iterator_funcs::dtor"]
3095 [::std::mem::offset_of!(_zend_object_iterator_funcs, dtor) - 0usize];
3096 ["Offset of field: _zend_object_iterator_funcs::valid"]
3097 [::std::mem::offset_of!(_zend_object_iterator_funcs, valid) - 8usize];
3098 ["Offset of field: _zend_object_iterator_funcs::get_current_data"]
3099 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_data) - 16usize];
3100 ["Offset of field: _zend_object_iterator_funcs::get_current_key"]
3101 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_key) - 24usize];
3102 ["Offset of field: _zend_object_iterator_funcs::move_forward"]
3103 [::std::mem::offset_of!(_zend_object_iterator_funcs, move_forward) - 32usize];
3104 ["Offset of field: _zend_object_iterator_funcs::rewind"]
3105 [::std::mem::offset_of!(_zend_object_iterator_funcs, rewind) - 40usize];
3106 ["Offset of field: _zend_object_iterator_funcs::invalidate_current"]
3107 [::std::mem::offset_of!(_zend_object_iterator_funcs, invalidate_current) - 48usize];
3108 ["Offset of field: _zend_object_iterator_funcs::get_gc"]
3109 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_gc) - 56usize];
3110};
3111pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
3112#[repr(C)]
3113#[derive(Copy, Clone)]
3114pub struct _zend_object_iterator {
3115 pub std: zend_object,
3116 pub data: zval,
3117 pub funcs: *const zend_object_iterator_funcs,
3118 pub index: zend_ulong,
3119}
3120#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3121const _: () = {
3122 ["Size of _zend_object_iterator"][::std::mem::size_of::<_zend_object_iterator>() - 88usize];
3123 ["Alignment of _zend_object_iterator"]
3124 [::std::mem::align_of::<_zend_object_iterator>() - 8usize];
3125 ["Offset of field: _zend_object_iterator::std"]
3126 [::std::mem::offset_of!(_zend_object_iterator, std) - 0usize];
3127 ["Offset of field: _zend_object_iterator::data"]
3128 [::std::mem::offset_of!(_zend_object_iterator, data) - 56usize];
3129 ["Offset of field: _zend_object_iterator::funcs"]
3130 [::std::mem::offset_of!(_zend_object_iterator, funcs) - 72usize];
3131 ["Offset of field: _zend_object_iterator::index"]
3132 [::std::mem::offset_of!(_zend_object_iterator, index) - 80usize];
3133};
3134#[repr(C)]
3135#[derive(Debug, Copy, Clone)]
3136pub struct _zend_class_iterator_funcs {
3137 pub zf_new_iterator: *mut zend_function,
3138 pub zf_valid: *mut zend_function,
3139 pub zf_current: *mut zend_function,
3140 pub zf_key: *mut zend_function,
3141 pub zf_next: *mut zend_function,
3142 pub zf_rewind: *mut zend_function,
3143}
3144#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3145const _: () = {
3146 ["Size of _zend_class_iterator_funcs"]
3147 [::std::mem::size_of::<_zend_class_iterator_funcs>() - 48usize];
3148 ["Alignment of _zend_class_iterator_funcs"]
3149 [::std::mem::align_of::<_zend_class_iterator_funcs>() - 8usize];
3150 ["Offset of field: _zend_class_iterator_funcs::zf_new_iterator"]
3151 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_new_iterator) - 0usize];
3152 ["Offset of field: _zend_class_iterator_funcs::zf_valid"]
3153 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_valid) - 8usize];
3154 ["Offset of field: _zend_class_iterator_funcs::zf_current"]
3155 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_current) - 16usize];
3156 ["Offset of field: _zend_class_iterator_funcs::zf_key"]
3157 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_key) - 24usize];
3158 ["Offset of field: _zend_class_iterator_funcs::zf_next"]
3159 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_next) - 32usize];
3160 ["Offset of field: _zend_class_iterator_funcs::zf_rewind"]
3161 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_rewind) - 40usize];
3162};
3163pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
3164#[repr(C)]
3165#[derive(Debug, Copy, Clone)]
3166pub struct _zend_class_arrayaccess_funcs {
3167 pub zf_offsetget: *mut zend_function,
3168 pub zf_offsetexists: *mut zend_function,
3169 pub zf_offsetset: *mut zend_function,
3170 pub zf_offsetunset: *mut zend_function,
3171}
3172#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3173const _: () = {
3174 ["Size of _zend_class_arrayaccess_funcs"]
3175 [::std::mem::size_of::<_zend_class_arrayaccess_funcs>() - 32usize];
3176 ["Alignment of _zend_class_arrayaccess_funcs"]
3177 [::std::mem::align_of::<_zend_class_arrayaccess_funcs>() - 8usize];
3178 ["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetget"]
3179 [::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetget) - 0usize];
3180 ["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetexists"]
3181 [::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetexists) - 8usize];
3182 ["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetset"]
3183 [::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetset) - 16usize];
3184 ["Offset of field: _zend_class_arrayaccess_funcs::zf_offsetunset"]
3185 [::std::mem::offset_of!(_zend_class_arrayaccess_funcs, zf_offsetunset) - 24usize];
3186};
3187pub type zend_class_arrayaccess_funcs = _zend_class_arrayaccess_funcs;
3188extern "C" {
3189 pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
3190}
3191extern "C" {
3192 pub fn zend_iterator_init(iter: *mut zend_object_iterator);
3193}
3194extern "C" {
3195 pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
3196}
3197extern "C" {
3198 pub fn zend_register_iterator_wrapper();
3199}
3200#[repr(C)]
3201#[derive(Debug, Copy, Clone)]
3202pub struct stat {
3203 pub st_dev: __dev_t,
3204 pub st_ino: __ino_t,
3205 pub st_nlink: __nlink_t,
3206 pub st_mode: __mode_t,
3207 pub st_uid: __uid_t,
3208 pub st_gid: __gid_t,
3209 pub __pad0: ::std::os::raw::c_int,
3210 pub st_rdev: __dev_t,
3211 pub st_size: __off_t,
3212 pub st_blksize: __blksize_t,
3213 pub st_blocks: __blkcnt_t,
3214 pub st_atim: timespec,
3215 pub st_mtim: timespec,
3216 pub st_ctim: timespec,
3217 pub __glibc_reserved: [__syscall_slong_t; 3usize],
3218}
3219#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3220const _: () = {
3221 ["Size of stat"][::std::mem::size_of::<stat>() - 144usize];
3222 ["Alignment of stat"][::std::mem::align_of::<stat>() - 8usize];
3223 ["Offset of field: stat::st_dev"][::std::mem::offset_of!(stat, st_dev) - 0usize];
3224 ["Offset of field: stat::st_ino"][::std::mem::offset_of!(stat, st_ino) - 8usize];
3225 ["Offset of field: stat::st_nlink"][::std::mem::offset_of!(stat, st_nlink) - 16usize];
3226 ["Offset of field: stat::st_mode"][::std::mem::offset_of!(stat, st_mode) - 24usize];
3227 ["Offset of field: stat::st_uid"][::std::mem::offset_of!(stat, st_uid) - 28usize];
3228 ["Offset of field: stat::st_gid"][::std::mem::offset_of!(stat, st_gid) - 32usize];
3229 ["Offset of field: stat::__pad0"][::std::mem::offset_of!(stat, __pad0) - 36usize];
3230 ["Offset of field: stat::st_rdev"][::std::mem::offset_of!(stat, st_rdev) - 40usize];
3231 ["Offset of field: stat::st_size"][::std::mem::offset_of!(stat, st_size) - 48usize];
3232 ["Offset of field: stat::st_blksize"][::std::mem::offset_of!(stat, st_blksize) - 56usize];
3233 ["Offset of field: stat::st_blocks"][::std::mem::offset_of!(stat, st_blocks) - 64usize];
3234 ["Offset of field: stat::st_atim"][::std::mem::offset_of!(stat, st_atim) - 72usize];
3235 ["Offset of field: stat::st_mtim"][::std::mem::offset_of!(stat, st_mtim) - 88usize];
3236 ["Offset of field: stat::st_ctim"][::std::mem::offset_of!(stat, st_ctim) - 104usize];
3237 ["Offset of field: stat::__glibc_reserved"]
3238 [::std::mem::offset_of!(stat, __glibc_reserved) - 120usize];
3239};
3240pub type zend_stream_fsizer_t =
3241 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> usize>;
3242pub type zend_stream_reader_t = ::std::option::Option<
3243 unsafe extern "C" fn(
3244 handle: *mut ::std::os::raw::c_void,
3245 buf: *mut ::std::os::raw::c_char,
3246 len: usize,
3247 ) -> isize,
3248>;
3249pub type zend_stream_closer_t =
3250 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
3251pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
3252pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 1;
3253pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 2;
3254pub type zend_stream_type = ::std::os::raw::c_uint;
3255#[repr(C)]
3256#[derive(Debug, Copy, Clone)]
3257pub struct _zend_stream {
3258 pub handle: *mut ::std::os::raw::c_void,
3259 pub isatty: ::std::os::raw::c_int,
3260 pub reader: zend_stream_reader_t,
3261 pub fsizer: zend_stream_fsizer_t,
3262 pub closer: zend_stream_closer_t,
3263}
3264#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3265const _: () = {
3266 ["Size of _zend_stream"][::std::mem::size_of::<_zend_stream>() - 40usize];
3267 ["Alignment of _zend_stream"][::std::mem::align_of::<_zend_stream>() - 8usize];
3268 ["Offset of field: _zend_stream::handle"]
3269 [::std::mem::offset_of!(_zend_stream, handle) - 0usize];
3270 ["Offset of field: _zend_stream::isatty"]
3271 [::std::mem::offset_of!(_zend_stream, isatty) - 8usize];
3272 ["Offset of field: _zend_stream::reader"]
3273 [::std::mem::offset_of!(_zend_stream, reader) - 16usize];
3274 ["Offset of field: _zend_stream::fsizer"]
3275 [::std::mem::offset_of!(_zend_stream, fsizer) - 24usize];
3276 ["Offset of field: _zend_stream::closer"]
3277 [::std::mem::offset_of!(_zend_stream, closer) - 32usize];
3278};
3279pub type zend_stream = _zend_stream;
3280#[repr(C)]
3281#[derive(Copy, Clone)]
3282pub struct _zend_file_handle {
3283 pub handle: _zend_file_handle__bindgen_ty_1,
3284 pub filename: *mut zend_string,
3285 pub opened_path: *mut zend_string,
3286 pub type_: u8,
3287 pub primary_script: bool,
3288 pub in_list: bool,
3289 pub buf: *mut ::std::os::raw::c_char,
3290 pub len: usize,
3291}
3292#[repr(C)]
3293#[derive(Copy, Clone)]
3294pub union _zend_file_handle__bindgen_ty_1 {
3295 pub fp: *mut FILE,
3296 pub stream: zend_stream,
3297}
3298#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3299const _: () = {
3300 ["Size of _zend_file_handle__bindgen_ty_1"]
3301 [::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>() - 40usize];
3302 ["Alignment of _zend_file_handle__bindgen_ty_1"]
3303 [::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>() - 8usize];
3304 ["Offset of field: _zend_file_handle__bindgen_ty_1::fp"]
3305 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fp) - 0usize];
3306 ["Offset of field: _zend_file_handle__bindgen_ty_1::stream"]
3307 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, stream) - 0usize];
3308};
3309#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3310const _: () = {
3311 ["Size of _zend_file_handle"][::std::mem::size_of::<_zend_file_handle>() - 80usize];
3312 ["Alignment of _zend_file_handle"][::std::mem::align_of::<_zend_file_handle>() - 8usize];
3313 ["Offset of field: _zend_file_handle::handle"]
3314 [::std::mem::offset_of!(_zend_file_handle, handle) - 0usize];
3315 ["Offset of field: _zend_file_handle::filename"]
3316 [::std::mem::offset_of!(_zend_file_handle, filename) - 40usize];
3317 ["Offset of field: _zend_file_handle::opened_path"]
3318 [::std::mem::offset_of!(_zend_file_handle, opened_path) - 48usize];
3319 ["Offset of field: _zend_file_handle::type_"]
3320 [::std::mem::offset_of!(_zend_file_handle, type_) - 56usize];
3321 ["Offset of field: _zend_file_handle::primary_script"]
3322 [::std::mem::offset_of!(_zend_file_handle, primary_script) - 57usize];
3323 ["Offset of field: _zend_file_handle::in_list"]
3324 [::std::mem::offset_of!(_zend_file_handle, in_list) - 58usize];
3325 ["Offset of field: _zend_file_handle::buf"]
3326 [::std::mem::offset_of!(_zend_file_handle, buf) - 64usize];
3327 ["Offset of field: _zend_file_handle::len"]
3328 [::std::mem::offset_of!(_zend_file_handle, len) - 72usize];
3329};
3330pub type zend_file_handle = _zend_file_handle;
3331extern "C" {
3332 pub fn zend_stream_init_fp(
3333 handle: *mut zend_file_handle,
3334 fp: *mut FILE,
3335 filename: *const ::std::os::raw::c_char,
3336 );
3337}
3338extern "C" {
3339 pub fn zend_stream_init_filename(
3340 handle: *mut zend_file_handle,
3341 filename: *const ::std::os::raw::c_char,
3342 );
3343}
3344extern "C" {
3345 pub fn zend_stream_init_filename_ex(handle: *mut zend_file_handle, filename: *mut zend_string);
3346}
3347extern "C" {
3348 pub fn zend_stream_open(handle: *mut zend_file_handle) -> zend_result;
3349}
3350extern "C" {
3351 pub fn zend_stream_fixup(
3352 file_handle: *mut zend_file_handle,
3353 buf: *mut *mut ::std::os::raw::c_char,
3354 len: *mut usize,
3355 ) -> zend_result;
3356}
3357extern "C" {
3358 pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
3359}
3360extern "C" {
3361 pub fn zend_stream_init();
3362}
3363extern "C" {
3364 pub fn zend_stream_shutdown();
3365}
3366pub type zend_stat_t = stat;
3367#[repr(C)]
3368#[derive(Debug, Copy, Clone)]
3369pub struct smart_str {
3370 #[doc = " See smart_str_extract()"]
3371 pub s: *mut zend_string,
3372 pub a: usize,
3373}
3374#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3375const _: () = {
3376 ["Size of smart_str"][::std::mem::size_of::<smart_str>() - 16usize];
3377 ["Alignment of smart_str"][::std::mem::align_of::<smart_str>() - 8usize];
3378 ["Offset of field: smart_str::s"][::std::mem::offset_of!(smart_str, s) - 0usize];
3379 ["Offset of field: smart_str::a"][::std::mem::offset_of!(smart_str, a) - 8usize];
3380};
3381#[repr(C)]
3382#[derive(Debug, Copy, Clone)]
3383pub struct smart_string {
3384 pub c: *mut ::std::os::raw::c_char,
3385 pub len: usize,
3386 pub a: usize,
3387}
3388#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3389const _: () = {
3390 ["Size of smart_string"][::std::mem::size_of::<smart_string>() - 24usize];
3391 ["Alignment of smart_string"][::std::mem::align_of::<smart_string>() - 8usize];
3392 ["Offset of field: smart_string::c"][::std::mem::offset_of!(smart_string, c) - 0usize];
3393 ["Offset of field: smart_string::len"][::std::mem::offset_of!(smart_string, len) - 8usize];
3394 ["Offset of field: smart_string::a"][::std::mem::offset_of!(smart_string, a) - 16usize];
3395};
3396#[repr(C)]
3397#[derive(Copy, Clone)]
3398pub union sigval {
3399 pub sival_int: ::std::os::raw::c_int,
3400 pub sival_ptr: *mut ::std::os::raw::c_void,
3401}
3402#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3403const _: () = {
3404 ["Size of sigval"][::std::mem::size_of::<sigval>() - 8usize];
3405 ["Alignment of sigval"][::std::mem::align_of::<sigval>() - 8usize];
3406 ["Offset of field: sigval::sival_int"][::std::mem::offset_of!(sigval, sival_int) - 0usize];
3407 ["Offset of field: sigval::sival_ptr"][::std::mem::offset_of!(sigval, sival_ptr) - 0usize];
3408};
3409pub type __sigval_t = sigval;
3410#[repr(C)]
3411#[derive(Copy, Clone)]
3412pub struct siginfo_t {
3413 pub si_signo: ::std::os::raw::c_int,
3414 pub si_errno: ::std::os::raw::c_int,
3415 pub si_code: ::std::os::raw::c_int,
3416 pub __pad0: ::std::os::raw::c_int,
3417 pub _sifields: siginfo_t__bindgen_ty_1,
3418}
3419#[repr(C)]
3420#[derive(Copy, Clone)]
3421pub union siginfo_t__bindgen_ty_1 {
3422 pub _pad: [::std::os::raw::c_int; 28usize],
3423 pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1,
3424 pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2,
3425 pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3,
3426 pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4,
3427 pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5,
3428 pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6,
3429 pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7,
3430}
3431#[repr(C)]
3432#[derive(Debug, Copy, Clone)]
3433pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 {
3434 pub si_pid: __pid_t,
3435 pub si_uid: __uid_t,
3436}
3437#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3438const _: () = {
3439 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
3440 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 8usize];
3441 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
3442 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 4usize];
3443 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_pid"]
3444 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_pid) - 0usize];
3445 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_uid"]
3446 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_uid) - 4usize];
3447};
3448#[repr(C)]
3449#[derive(Copy, Clone)]
3450pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 {
3451 pub si_tid: ::std::os::raw::c_int,
3452 pub si_overrun: ::std::os::raw::c_int,
3453 pub si_sigval: __sigval_t,
3454}
3455#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3456const _: () = {
3457 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
3458 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 16usize];
3459 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
3460 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 8usize];
3461 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_tid"]
3462 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_tid) - 0usize];
3463 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_overrun"]
3464 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_overrun) - 4usize];
3465 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_sigval"]
3466 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_sigval) - 8usize];
3467};
3468#[repr(C)]
3469#[derive(Copy, Clone)]
3470pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 {
3471 pub si_pid: __pid_t,
3472 pub si_uid: __uid_t,
3473 pub si_sigval: __sigval_t,
3474}
3475#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3476const _: () = {
3477 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
3478 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 16usize];
3479 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
3480 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 8usize];
3481 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_pid"]
3482 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_pid) - 0usize];
3483 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_uid"]
3484 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_uid) - 4usize];
3485 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_sigval"]
3486 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_sigval) - 8usize];
3487};
3488#[repr(C)]
3489#[derive(Debug, Copy, Clone)]
3490pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 {
3491 pub si_pid: __pid_t,
3492 pub si_uid: __uid_t,
3493 pub si_status: ::std::os::raw::c_int,
3494 pub si_utime: __clock_t,
3495 pub si_stime: __clock_t,
3496}
3497#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3498const _: () = {
3499 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
3500 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 32usize];
3501 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
3502 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 8usize];
3503 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_pid"]
3504 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_pid) - 0usize];
3505 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_uid"]
3506 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_uid) - 4usize];
3507 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_status"]
3508 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_status) - 8usize];
3509 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_utime"]
3510 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_utime) - 16usize];
3511 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_stime"]
3512 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_stime) - 24usize];
3513};
3514#[repr(C)]
3515#[derive(Copy, Clone)]
3516pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 {
3517 pub si_addr: *mut ::std::os::raw::c_void,
3518 pub si_addr_lsb: ::std::os::raw::c_short,
3519 pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3520}
3521#[repr(C)]
3522#[derive(Copy, Clone)]
3523pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
3524 pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
3525 pub _pkey: __uint32_t,
3526}
3527#[repr(C)]
3528#[derive(Debug, Copy, Clone)]
3529pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
3530 pub _lower: *mut ::std::os::raw::c_void,
3531 pub _upper: *mut ::std::os::raw::c_void,
3532}
3533#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3534const _: () = {
3535 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
3536 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
3537 ) - 16usize];
3538 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
3539 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
3540 ) - 8usize];
3541 ["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] ;
3542 ["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] ;
3543};
3544#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3545const _: () = {
3546 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
3547 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 16usize];
3548 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
3549 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 8usize];
3550 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_addr_bnd"][::std::mem::offset_of!(
3551 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3552 _addr_bnd
3553 ) - 0usize];
3554 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_pkey"][::std::mem::offset_of!(
3555 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3556 _pkey
3557 ) - 0usize];
3558};
3559#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3560const _: () = {
3561 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
3562 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 32usize];
3563 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
3564 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 8usize];
3565 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr"]
3566 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr) - 0usize];
3567 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr_lsb"]
3568 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr_lsb) - 8usize];
3569 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::_bounds"]
3570 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, _bounds) - 16usize];
3571};
3572#[repr(C)]
3573#[derive(Debug, Copy, Clone)]
3574pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 {
3575 pub si_band: ::std::os::raw::c_long,
3576 pub si_fd: ::std::os::raw::c_int,
3577}
3578#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3579const _: () = {
3580 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
3581 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 16usize];
3582 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
3583 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 8usize];
3584 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_band"]
3585 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_band) - 0usize];
3586 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_fd"]
3587 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_fd) - 8usize];
3588};
3589#[repr(C)]
3590#[derive(Debug, Copy, Clone)]
3591pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 {
3592 pub _call_addr: *mut ::std::os::raw::c_void,
3593 pub _syscall: ::std::os::raw::c_int,
3594 pub _arch: ::std::os::raw::c_uint,
3595}
3596#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3597const _: () = {
3598 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
3599 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 16usize];
3600 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
3601 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 8usize];
3602 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_call_addr"]
3603 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _call_addr) - 0usize];
3604 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_syscall"]
3605 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _syscall) - 8usize];
3606 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_arch"]
3607 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _arch) - 12usize];
3608};
3609#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3610const _: () = {
3611 ["Size of siginfo_t__bindgen_ty_1"]
3612 [::std::mem::size_of::<siginfo_t__bindgen_ty_1>() - 112usize];
3613 ["Alignment of siginfo_t__bindgen_ty_1"]
3614 [::std::mem::align_of::<siginfo_t__bindgen_ty_1>() - 8usize];
3615 ["Offset of field: siginfo_t__bindgen_ty_1::_pad"]
3616 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _pad) - 0usize];
3617 ["Offset of field: siginfo_t__bindgen_ty_1::_kill"]
3618 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _kill) - 0usize];
3619 ["Offset of field: siginfo_t__bindgen_ty_1::_timer"]
3620 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _timer) - 0usize];
3621 ["Offset of field: siginfo_t__bindgen_ty_1::_rt"]
3622 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _rt) - 0usize];
3623 ["Offset of field: siginfo_t__bindgen_ty_1::_sigchld"]
3624 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigchld) - 0usize];
3625 ["Offset of field: siginfo_t__bindgen_ty_1::_sigfault"]
3626 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigfault) - 0usize];
3627 ["Offset of field: siginfo_t__bindgen_ty_1::_sigpoll"]
3628 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigpoll) - 0usize];
3629 ["Offset of field: siginfo_t__bindgen_ty_1::_sigsys"]
3630 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigsys) - 0usize];
3631};
3632#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3633const _: () = {
3634 ["Size of siginfo_t"][::std::mem::size_of::<siginfo_t>() - 128usize];
3635 ["Alignment of siginfo_t"][::std::mem::align_of::<siginfo_t>() - 8usize];
3636 ["Offset of field: siginfo_t::si_signo"][::std::mem::offset_of!(siginfo_t, si_signo) - 0usize];
3637 ["Offset of field: siginfo_t::si_errno"][::std::mem::offset_of!(siginfo_t, si_errno) - 4usize];
3638 ["Offset of field: siginfo_t::si_code"][::std::mem::offset_of!(siginfo_t, si_code) - 8usize];
3639 ["Offset of field: siginfo_t::__pad0"][::std::mem::offset_of!(siginfo_t, __pad0) - 12usize];
3640 ["Offset of field: siginfo_t::_sifields"]
3641 [::std::mem::offset_of!(siginfo_t, _sifields) - 16usize];
3642};
3643pub type __sighandler_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
3644#[repr(C)]
3645#[derive(Copy, Clone)]
3646pub struct sigaction {
3647 pub __sigaction_handler: sigaction__bindgen_ty_1,
3648 pub sa_mask: __sigset_t,
3649 pub sa_flags: ::std::os::raw::c_int,
3650 pub sa_restorer: ::std::option::Option<unsafe extern "C" fn()>,
3651}
3652#[repr(C)]
3653#[derive(Copy, Clone)]
3654pub union sigaction__bindgen_ty_1 {
3655 pub sa_handler: __sighandler_t,
3656 pub sa_sigaction: ::std::option::Option<
3657 unsafe extern "C" fn(
3658 arg1: ::std::os::raw::c_int,
3659 arg2: *mut siginfo_t,
3660 arg3: *mut ::std::os::raw::c_void,
3661 ),
3662 >,
3663}
3664#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3665const _: () = {
3666 ["Size of sigaction__bindgen_ty_1"][::std::mem::size_of::<sigaction__bindgen_ty_1>() - 8usize];
3667 ["Alignment of sigaction__bindgen_ty_1"]
3668 [::std::mem::align_of::<sigaction__bindgen_ty_1>() - 8usize];
3669 ["Offset of field: sigaction__bindgen_ty_1::sa_handler"]
3670 [::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_handler) - 0usize];
3671 ["Offset of field: sigaction__bindgen_ty_1::sa_sigaction"]
3672 [::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_sigaction) - 0usize];
3673};
3674#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3675const _: () = {
3676 ["Size of sigaction"][::std::mem::size_of::<sigaction>() - 152usize];
3677 ["Alignment of sigaction"][::std::mem::align_of::<sigaction>() - 8usize];
3678 ["Offset of field: sigaction::__sigaction_handler"]
3679 [::std::mem::offset_of!(sigaction, __sigaction_handler) - 0usize];
3680 ["Offset of field: sigaction::sa_mask"][::std::mem::offset_of!(sigaction, sa_mask) - 8usize];
3681 ["Offset of field: sigaction::sa_flags"]
3682 [::std::mem::offset_of!(sigaction, sa_flags) - 136usize];
3683 ["Offset of field: sigaction::sa_restorer"]
3684 [::std::mem::offset_of!(sigaction, sa_restorer) - 144usize];
3685};
3686#[repr(C)]
3687#[derive(Debug, Copy, Clone)]
3688pub struct _zend_signal_entry_t {
3689 pub flags: ::std::os::raw::c_int,
3690 pub handler: *mut ::std::os::raw::c_void,
3691}
3692#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3693const _: () = {
3694 ["Size of _zend_signal_entry_t"][::std::mem::size_of::<_zend_signal_entry_t>() - 16usize];
3695 ["Alignment of _zend_signal_entry_t"][::std::mem::align_of::<_zend_signal_entry_t>() - 8usize];
3696 ["Offset of field: _zend_signal_entry_t::flags"]
3697 [::std::mem::offset_of!(_zend_signal_entry_t, flags) - 0usize];
3698 ["Offset of field: _zend_signal_entry_t::handler"]
3699 [::std::mem::offset_of!(_zend_signal_entry_t, handler) - 8usize];
3700};
3701pub type zend_signal_entry_t = _zend_signal_entry_t;
3702#[repr(C)]
3703#[derive(Debug, Copy, Clone)]
3704pub struct _zend_signal_t {
3705 pub signo: ::std::os::raw::c_int,
3706 pub siginfo: *mut siginfo_t,
3707 pub context: *mut ::std::os::raw::c_void,
3708}
3709#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3710const _: () = {
3711 ["Size of _zend_signal_t"][::std::mem::size_of::<_zend_signal_t>() - 24usize];
3712 ["Alignment of _zend_signal_t"][::std::mem::align_of::<_zend_signal_t>() - 8usize];
3713 ["Offset of field: _zend_signal_t::signo"]
3714 [::std::mem::offset_of!(_zend_signal_t, signo) - 0usize];
3715 ["Offset of field: _zend_signal_t::siginfo"]
3716 [::std::mem::offset_of!(_zend_signal_t, siginfo) - 8usize];
3717 ["Offset of field: _zend_signal_t::context"]
3718 [::std::mem::offset_of!(_zend_signal_t, context) - 16usize];
3719};
3720pub type zend_signal_t = _zend_signal_t;
3721#[repr(C)]
3722#[derive(Debug, Copy, Clone)]
3723pub struct _zend_signal_queue_t {
3724 pub zend_signal: zend_signal_t,
3725 pub next: *mut _zend_signal_queue_t,
3726}
3727#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3728const _: () = {
3729 ["Size of _zend_signal_queue_t"][::std::mem::size_of::<_zend_signal_queue_t>() - 32usize];
3730 ["Alignment of _zend_signal_queue_t"][::std::mem::align_of::<_zend_signal_queue_t>() - 8usize];
3731 ["Offset of field: _zend_signal_queue_t::zend_signal"]
3732 [::std::mem::offset_of!(_zend_signal_queue_t, zend_signal) - 0usize];
3733 ["Offset of field: _zend_signal_queue_t::next"]
3734 [::std::mem::offset_of!(_zend_signal_queue_t, next) - 24usize];
3735};
3736pub type zend_signal_queue_t = _zend_signal_queue_t;
3737#[repr(C)]
3738#[derive(Debug, Copy, Clone)]
3739pub struct _zend_signal_globals_t {
3740 pub depth: ::std::os::raw::c_int,
3741 pub blocked: ::std::os::raw::c_int,
3742 pub running: ::std::os::raw::c_int,
3743 pub active: ::std::os::raw::c_int,
3744 pub check: bool,
3745 pub reset: bool,
3746 pub handlers: [zend_signal_entry_t; 65usize],
3747 pub pstorage: [zend_signal_queue_t; 64usize],
3748 pub phead: *mut zend_signal_queue_t,
3749 pub ptail: *mut zend_signal_queue_t,
3750 pub pavail: *mut zend_signal_queue_t,
3751}
3752#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3753const _: () = {
3754 ["Size of _zend_signal_globals_t"][::std::mem::size_of::<_zend_signal_globals_t>() - 3136usize];
3755 ["Alignment of _zend_signal_globals_t"]
3756 [::std::mem::align_of::<_zend_signal_globals_t>() - 8usize];
3757 ["Offset of field: _zend_signal_globals_t::depth"]
3758 [::std::mem::offset_of!(_zend_signal_globals_t, depth) - 0usize];
3759 ["Offset of field: _zend_signal_globals_t::blocked"]
3760 [::std::mem::offset_of!(_zend_signal_globals_t, blocked) - 4usize];
3761 ["Offset of field: _zend_signal_globals_t::running"]
3762 [::std::mem::offset_of!(_zend_signal_globals_t, running) - 8usize];
3763 ["Offset of field: _zend_signal_globals_t::active"]
3764 [::std::mem::offset_of!(_zend_signal_globals_t, active) - 12usize];
3765 ["Offset of field: _zend_signal_globals_t::check"]
3766 [::std::mem::offset_of!(_zend_signal_globals_t, check) - 16usize];
3767 ["Offset of field: _zend_signal_globals_t::reset"]
3768 [::std::mem::offset_of!(_zend_signal_globals_t, reset) - 17usize];
3769 ["Offset of field: _zend_signal_globals_t::handlers"]
3770 [::std::mem::offset_of!(_zend_signal_globals_t, handlers) - 24usize];
3771 ["Offset of field: _zend_signal_globals_t::pstorage"]
3772 [::std::mem::offset_of!(_zend_signal_globals_t, pstorage) - 1064usize];
3773 ["Offset of field: _zend_signal_globals_t::phead"]
3774 [::std::mem::offset_of!(_zend_signal_globals_t, phead) - 3112usize];
3775 ["Offset of field: _zend_signal_globals_t::ptail"]
3776 [::std::mem::offset_of!(_zend_signal_globals_t, ptail) - 3120usize];
3777 ["Offset of field: _zend_signal_globals_t::pavail"]
3778 [::std::mem::offset_of!(_zend_signal_globals_t, pavail) - 3128usize];
3779};
3780pub type zend_signal_globals_t = _zend_signal_globals_t;
3781extern "C" {
3782 pub static mut zend_signal_globals: zend_signal_globals_t;
3783}
3784extern "C" {
3785 pub fn zend_signal_handler_unblock();
3786}
3787extern "C" {
3788 pub fn zend_signal_activate();
3789}
3790extern "C" {
3791 pub fn zend_signal_deactivate();
3792}
3793extern "C" {
3794 pub fn zend_signal_startup();
3795}
3796extern "C" {
3797 pub fn zend_signal_init();
3798}
3799extern "C" {
3800 pub fn zend_signal(
3801 signo: ::std::os::raw::c_int,
3802 handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
3803 );
3804}
3805extern "C" {
3806 pub fn zend_sigaction(
3807 signo: ::std::os::raw::c_int,
3808 act: *const sigaction,
3809 oldact: *mut sigaction,
3810 );
3811}
3812#[repr(C)]
3813#[derive(Debug, Copy, Clone)]
3814pub struct _zend_serialize_data {
3815 _unused: [u8; 0],
3816}
3817#[repr(C)]
3818#[derive(Debug, Copy, Clone)]
3819pub struct _zend_unserialize_data {
3820 _unused: [u8; 0],
3821}
3822pub type zend_serialize_data = _zend_serialize_data;
3823pub type zend_unserialize_data = _zend_unserialize_data;
3824#[repr(C)]
3825#[derive(Debug, Copy, Clone)]
3826pub struct _zend_class_name {
3827 pub name: *mut zend_string,
3828 pub lc_name: *mut zend_string,
3829}
3830#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3831const _: () = {
3832 ["Size of _zend_class_name"][::std::mem::size_of::<_zend_class_name>() - 16usize];
3833 ["Alignment of _zend_class_name"][::std::mem::align_of::<_zend_class_name>() - 8usize];
3834 ["Offset of field: _zend_class_name::name"]
3835 [::std::mem::offset_of!(_zend_class_name, name) - 0usize];
3836 ["Offset of field: _zend_class_name::lc_name"]
3837 [::std::mem::offset_of!(_zend_class_name, lc_name) - 8usize];
3838};
3839pub type zend_class_name = _zend_class_name;
3840#[repr(C)]
3841#[derive(Debug, Copy, Clone)]
3842pub struct _zend_trait_method_reference {
3843 pub method_name: *mut zend_string,
3844 pub class_name: *mut zend_string,
3845}
3846#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3847const _: () = {
3848 ["Size of _zend_trait_method_reference"]
3849 [::std::mem::size_of::<_zend_trait_method_reference>() - 16usize];
3850 ["Alignment of _zend_trait_method_reference"]
3851 [::std::mem::align_of::<_zend_trait_method_reference>() - 8usize];
3852 ["Offset of field: _zend_trait_method_reference::method_name"]
3853 [::std::mem::offset_of!(_zend_trait_method_reference, method_name) - 0usize];
3854 ["Offset of field: _zend_trait_method_reference::class_name"]
3855 [::std::mem::offset_of!(_zend_trait_method_reference, class_name) - 8usize];
3856};
3857pub type zend_trait_method_reference = _zend_trait_method_reference;
3858#[repr(C)]
3859#[derive(Debug, Copy, Clone)]
3860pub struct _zend_trait_precedence {
3861 pub trait_method: zend_trait_method_reference,
3862 pub num_excludes: u32,
3863 pub exclude_class_names: [*mut zend_string; 1usize],
3864}
3865#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3866const _: () = {
3867 ["Size of _zend_trait_precedence"][::std::mem::size_of::<_zend_trait_precedence>() - 32usize];
3868 ["Alignment of _zend_trait_precedence"]
3869 [::std::mem::align_of::<_zend_trait_precedence>() - 8usize];
3870 ["Offset of field: _zend_trait_precedence::trait_method"]
3871 [::std::mem::offset_of!(_zend_trait_precedence, trait_method) - 0usize];
3872 ["Offset of field: _zend_trait_precedence::num_excludes"]
3873 [::std::mem::offset_of!(_zend_trait_precedence, num_excludes) - 16usize];
3874 ["Offset of field: _zend_trait_precedence::exclude_class_names"]
3875 [::std::mem::offset_of!(_zend_trait_precedence, exclude_class_names) - 24usize];
3876};
3877pub type zend_trait_precedence = _zend_trait_precedence;
3878#[repr(C)]
3879#[derive(Debug, Copy, Clone)]
3880pub struct _zend_trait_alias {
3881 pub trait_method: zend_trait_method_reference,
3882 #[doc = " name for method to be added"]
3883 pub alias: *mut zend_string,
3884 #[doc = " modifiers to be set on trait method"]
3885 pub modifiers: u32,
3886}
3887#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3888const _: () = {
3889 ["Size of _zend_trait_alias"][::std::mem::size_of::<_zend_trait_alias>() - 32usize];
3890 ["Alignment of _zend_trait_alias"][::std::mem::align_of::<_zend_trait_alias>() - 8usize];
3891 ["Offset of field: _zend_trait_alias::trait_method"]
3892 [::std::mem::offset_of!(_zend_trait_alias, trait_method) - 0usize];
3893 ["Offset of field: _zend_trait_alias::alias"]
3894 [::std::mem::offset_of!(_zend_trait_alias, alias) - 16usize];
3895 ["Offset of field: _zend_trait_alias::modifiers"]
3896 [::std::mem::offset_of!(_zend_trait_alias, modifiers) - 24usize];
3897};
3898pub type zend_trait_alias = _zend_trait_alias;
3899#[repr(C)]
3900#[derive(Debug, Copy, Clone)]
3901pub struct _zend_class_mutable_data {
3902 pub default_properties_table: *mut zval,
3903 pub constants_table: *mut HashTable,
3904 pub ce_flags: u32,
3905 pub backed_enum_table: *mut HashTable,
3906}
3907#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3908const _: () = {
3909 ["Size of _zend_class_mutable_data"]
3910 [::std::mem::size_of::<_zend_class_mutable_data>() - 32usize];
3911 ["Alignment of _zend_class_mutable_data"]
3912 [::std::mem::align_of::<_zend_class_mutable_data>() - 8usize];
3913 ["Offset of field: _zend_class_mutable_data::default_properties_table"]
3914 [::std::mem::offset_of!(_zend_class_mutable_data, default_properties_table) - 0usize];
3915 ["Offset of field: _zend_class_mutable_data::constants_table"]
3916 [::std::mem::offset_of!(_zend_class_mutable_data, constants_table) - 8usize];
3917 ["Offset of field: _zend_class_mutable_data::ce_flags"]
3918 [::std::mem::offset_of!(_zend_class_mutable_data, ce_flags) - 16usize];
3919 ["Offset of field: _zend_class_mutable_data::backed_enum_table"]
3920 [::std::mem::offset_of!(_zend_class_mutable_data, backed_enum_table) - 24usize];
3921};
3922pub type zend_class_mutable_data = _zend_class_mutable_data;
3923#[repr(C)]
3924#[derive(Debug, Copy, Clone)]
3925pub struct _zend_class_dependency {
3926 pub name: *mut zend_string,
3927 pub ce: *mut zend_class_entry,
3928}
3929#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3930const _: () = {
3931 ["Size of _zend_class_dependency"][::std::mem::size_of::<_zend_class_dependency>() - 16usize];
3932 ["Alignment of _zend_class_dependency"]
3933 [::std::mem::align_of::<_zend_class_dependency>() - 8usize];
3934 ["Offset of field: _zend_class_dependency::name"]
3935 [::std::mem::offset_of!(_zend_class_dependency, name) - 0usize];
3936 ["Offset of field: _zend_class_dependency::ce"]
3937 [::std::mem::offset_of!(_zend_class_dependency, ce) - 8usize];
3938};
3939pub type zend_class_dependency = _zend_class_dependency;
3940pub type zend_inheritance_cache_entry = _zend_inheritance_cache_entry;
3941#[repr(C)]
3942#[derive(Debug, Copy, Clone)]
3943pub struct _zend_error_info {
3944 pub type_: ::std::os::raw::c_int,
3945 pub lineno: u32,
3946 pub filename: *mut zend_string,
3947 pub message: *mut zend_string,
3948}
3949#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3950const _: () = {
3951 ["Size of _zend_error_info"][::std::mem::size_of::<_zend_error_info>() - 24usize];
3952 ["Alignment of _zend_error_info"][::std::mem::align_of::<_zend_error_info>() - 8usize];
3953 ["Offset of field: _zend_error_info::type_"]
3954 [::std::mem::offset_of!(_zend_error_info, type_) - 0usize];
3955 ["Offset of field: _zend_error_info::lineno"]
3956 [::std::mem::offset_of!(_zend_error_info, lineno) - 4usize];
3957 ["Offset of field: _zend_error_info::filename"]
3958 [::std::mem::offset_of!(_zend_error_info, filename) - 8usize];
3959 ["Offset of field: _zend_error_info::message"]
3960 [::std::mem::offset_of!(_zend_error_info, message) - 16usize];
3961};
3962pub type zend_error_info = _zend_error_info;
3963#[repr(C)]
3964#[derive(Debug, Copy, Clone)]
3965pub struct _zend_inheritance_cache_entry {
3966 pub next: *mut zend_inheritance_cache_entry,
3967 pub ce: *mut zend_class_entry,
3968 pub parent: *mut zend_class_entry,
3969 pub dependencies: *mut zend_class_dependency,
3970 pub dependencies_count: u32,
3971 pub num_warnings: u32,
3972 pub warnings: *mut *mut zend_error_info,
3973 pub traits_and_interfaces: [*mut zend_class_entry; 1usize],
3974}
3975#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3976const _: () = {
3977 ["Size of _zend_inheritance_cache_entry"]
3978 [::std::mem::size_of::<_zend_inheritance_cache_entry>() - 56usize];
3979 ["Alignment of _zend_inheritance_cache_entry"]
3980 [::std::mem::align_of::<_zend_inheritance_cache_entry>() - 8usize];
3981 ["Offset of field: _zend_inheritance_cache_entry::next"]
3982 [::std::mem::offset_of!(_zend_inheritance_cache_entry, next) - 0usize];
3983 ["Offset of field: _zend_inheritance_cache_entry::ce"]
3984 [::std::mem::offset_of!(_zend_inheritance_cache_entry, ce) - 8usize];
3985 ["Offset of field: _zend_inheritance_cache_entry::parent"]
3986 [::std::mem::offset_of!(_zend_inheritance_cache_entry, parent) - 16usize];
3987 ["Offset of field: _zend_inheritance_cache_entry::dependencies"]
3988 [::std::mem::offset_of!(_zend_inheritance_cache_entry, dependencies) - 24usize];
3989 ["Offset of field: _zend_inheritance_cache_entry::dependencies_count"]
3990 [::std::mem::offset_of!(_zend_inheritance_cache_entry, dependencies_count) - 32usize];
3991 ["Offset of field: _zend_inheritance_cache_entry::num_warnings"]
3992 [::std::mem::offset_of!(_zend_inheritance_cache_entry, num_warnings) - 36usize];
3993 ["Offset of field: _zend_inheritance_cache_entry::warnings"]
3994 [::std::mem::offset_of!(_zend_inheritance_cache_entry, warnings) - 40usize];
3995 ["Offset of field: _zend_inheritance_cache_entry::traits_and_interfaces"]
3996 [::std::mem::offset_of!(_zend_inheritance_cache_entry, traits_and_interfaces) - 48usize];
3997};
3998#[repr(C)]
3999#[derive(Copy, Clone)]
4000pub struct _zend_class_entry {
4001 pub type_: ::std::os::raw::c_char,
4002 pub name: *mut zend_string,
4003 pub __bindgen_anon_1: _zend_class_entry__bindgen_ty_1,
4004 pub refcount: ::std::os::raw::c_int,
4005 pub ce_flags: u32,
4006 pub default_properties_count: ::std::os::raw::c_int,
4007 pub default_static_members_count: ::std::os::raw::c_int,
4008 pub default_properties_table: *mut zval,
4009 pub default_static_members_table: *mut zval,
4010 pub static_members_table__ptr: *mut zval,
4011 pub function_table: HashTable,
4012 pub properties_info: HashTable,
4013 pub constants_table: HashTable,
4014 pub mutable_data__ptr: *mut zend_class_mutable_data,
4015 pub inheritance_cache: *mut zend_inheritance_cache_entry,
4016 pub properties_info_table: *mut *mut _zend_property_info,
4017 pub constructor: *mut zend_function,
4018 pub destructor: *mut zend_function,
4019 pub clone: *mut zend_function,
4020 pub __get: *mut zend_function,
4021 pub __set: *mut zend_function,
4022 pub __unset: *mut zend_function,
4023 pub __isset: *mut zend_function,
4024 pub __call: *mut zend_function,
4025 pub __callstatic: *mut zend_function,
4026 pub __tostring: *mut zend_function,
4027 pub __debugInfo: *mut zend_function,
4028 pub __serialize: *mut zend_function,
4029 pub __unserialize: *mut zend_function,
4030 pub default_object_handlers: *const zend_object_handlers,
4031 pub iterator_funcs_ptr: *mut zend_class_iterator_funcs,
4032 pub arrayaccess_funcs_ptr: *mut zend_class_arrayaccess_funcs,
4033 pub __bindgen_anon_2: _zend_class_entry__bindgen_ty_2,
4034 pub get_iterator: ::std::option::Option<
4035 unsafe extern "C" fn(
4036 ce: *mut zend_class_entry,
4037 object: *mut zval,
4038 by_ref: ::std::os::raw::c_int,
4039 ) -> *mut zend_object_iterator,
4040 >,
4041 pub get_static_method: ::std::option::Option<
4042 unsafe extern "C" fn(
4043 ce: *mut zend_class_entry,
4044 method: *mut zend_string,
4045 ) -> *mut zend_function,
4046 >,
4047 pub serialize: ::std::option::Option<
4048 unsafe extern "C" fn(
4049 object: *mut zval,
4050 buffer: *mut *mut ::std::os::raw::c_uchar,
4051 buf_len: *mut usize,
4052 data: *mut zend_serialize_data,
4053 ) -> ::std::os::raw::c_int,
4054 >,
4055 pub unserialize: ::std::option::Option<
4056 unsafe extern "C" fn(
4057 object: *mut zval,
4058 ce: *mut zend_class_entry,
4059 buf: *const ::std::os::raw::c_uchar,
4060 buf_len: usize,
4061 data: *mut zend_unserialize_data,
4062 ) -> ::std::os::raw::c_int,
4063 >,
4064 pub num_interfaces: u32,
4065 pub num_traits: u32,
4066 pub __bindgen_anon_3: _zend_class_entry__bindgen_ty_3,
4067 pub trait_names: *mut zend_class_name,
4068 pub trait_aliases: *mut *mut zend_trait_alias,
4069 pub trait_precedences: *mut *mut zend_trait_precedence,
4070 pub attributes: *mut HashTable,
4071 pub enum_backing_type: u32,
4072 pub backed_enum_table: *mut HashTable,
4073 pub info: _zend_class_entry__bindgen_ty_4,
4074}
4075#[repr(C)]
4076#[derive(Copy, Clone)]
4077pub union _zend_class_entry__bindgen_ty_1 {
4078 pub parent: *mut zend_class_entry,
4079 pub parent_name: *mut zend_string,
4080}
4081#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4082const _: () = {
4083 ["Size of _zend_class_entry__bindgen_ty_1"]
4084 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
4085 ["Alignment of _zend_class_entry__bindgen_ty_1"]
4086 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
4087 ["Offset of field: _zend_class_entry__bindgen_ty_1::parent"]
4088 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, parent) - 0usize];
4089 ["Offset of field: _zend_class_entry__bindgen_ty_1::parent_name"]
4090 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, parent_name) - 0usize];
4091};
4092#[repr(C)]
4093#[derive(Copy, Clone)]
4094pub union _zend_class_entry__bindgen_ty_2 {
4095 pub create_object: ::std::option::Option<
4096 unsafe extern "C" fn(class_type: *mut zend_class_entry) -> *mut zend_object,
4097 >,
4098 pub interface_gets_implemented: ::std::option::Option<
4099 unsafe extern "C" fn(
4100 iface: *mut zend_class_entry,
4101 class_type: *mut zend_class_entry,
4102 ) -> ::std::os::raw::c_int,
4103 >,
4104}
4105#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4106const _: () = {
4107 ["Size of _zend_class_entry__bindgen_ty_2"]
4108 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_2>() - 8usize];
4109 ["Alignment of _zend_class_entry__bindgen_ty_2"]
4110 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_2>() - 8usize];
4111 ["Offset of field: _zend_class_entry__bindgen_ty_2::create_object"]
4112 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_2, create_object) - 0usize];
4113 ["Offset of field: _zend_class_entry__bindgen_ty_2::interface_gets_implemented"][::std::mem::offset_of!(
4114 _zend_class_entry__bindgen_ty_2,
4115 interface_gets_implemented
4116 ) - 0usize];
4117};
4118#[repr(C)]
4119#[derive(Copy, Clone)]
4120pub union _zend_class_entry__bindgen_ty_3 {
4121 pub interfaces: *mut *mut zend_class_entry,
4122 pub interface_names: *mut zend_class_name,
4123}
4124#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4125const _: () = {
4126 ["Size of _zend_class_entry__bindgen_ty_3"]
4127 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_3>() - 8usize];
4128 ["Alignment of _zend_class_entry__bindgen_ty_3"]
4129 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_3>() - 8usize];
4130 ["Offset of field: _zend_class_entry__bindgen_ty_3::interfaces"]
4131 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_3, interfaces) - 0usize];
4132 ["Offset of field: _zend_class_entry__bindgen_ty_3::interface_names"]
4133 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_3, interface_names) - 0usize];
4134};
4135#[repr(C)]
4136#[derive(Copy, Clone)]
4137pub union _zend_class_entry__bindgen_ty_4 {
4138 pub user: _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
4139 pub internal: _zend_class_entry__bindgen_ty_4__bindgen_ty_2,
4140}
4141#[repr(C)]
4142#[derive(Debug, Copy, Clone)]
4143pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_1 {
4144 pub filename: *mut zend_string,
4145 pub line_start: u32,
4146 pub line_end: u32,
4147 pub doc_comment: *mut zend_string,
4148}
4149#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4150const _: () = {
4151 ["Size of _zend_class_entry__bindgen_ty_4__bindgen_ty_1"]
4152 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>() - 24usize];
4153 ["Alignment of _zend_class_entry__bindgen_ty_4__bindgen_ty_1"]
4154 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>() - 8usize];
4155 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::filename"]
4156 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1, filename) - 0usize];
4157 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::line_start"][::std::mem::offset_of!(
4158 _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
4159 line_start
4160 ) - 8usize];
4161 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::line_end"]
4162 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1, line_end) - 12usize];
4163 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::doc_comment"][::std::mem::offset_of!(
4164 _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
4165 doc_comment
4166 ) - 16usize];
4167};
4168#[repr(C)]
4169#[derive(Debug, Copy, Clone)]
4170pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_2 {
4171 pub builtin_functions: *const _zend_function_entry,
4172 pub module: *mut _zend_module_entry,
4173}
4174#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4175const _: () = {
4176 ["Size of _zend_class_entry__bindgen_ty_4__bindgen_ty_2"]
4177 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>() - 16usize];
4178 ["Alignment of _zend_class_entry__bindgen_ty_4__bindgen_ty_2"]
4179 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>() - 8usize];
4180 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_2::builtin_functions"][::std::mem::offset_of!(
4181 _zend_class_entry__bindgen_ty_4__bindgen_ty_2,
4182 builtin_functions
4183 )
4184 - 0usize];
4185 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_2::module"]
4186 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_2, module) - 8usize];
4187};
4188#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4189const _: () = {
4190 ["Size of _zend_class_entry__bindgen_ty_4"]
4191 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4>() - 24usize];
4192 ["Alignment of _zend_class_entry__bindgen_ty_4"]
4193 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4>() - 8usize];
4194 ["Offset of field: _zend_class_entry__bindgen_ty_4::user"]
4195 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4, user) - 0usize];
4196 ["Offset of field: _zend_class_entry__bindgen_ty_4::internal"]
4197 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4, internal) - 0usize];
4198};
4199#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4200const _: () = {
4201 ["Size of _zend_class_entry"][::std::mem::size_of::<_zend_class_entry>() - 512usize];
4202 ["Alignment of _zend_class_entry"][::std::mem::align_of::<_zend_class_entry>() - 8usize];
4203 ["Offset of field: _zend_class_entry::type_"]
4204 [::std::mem::offset_of!(_zend_class_entry, type_) - 0usize];
4205 ["Offset of field: _zend_class_entry::name"]
4206 [::std::mem::offset_of!(_zend_class_entry, name) - 8usize];
4207 ["Offset of field: _zend_class_entry::refcount"]
4208 [::std::mem::offset_of!(_zend_class_entry, refcount) - 24usize];
4209 ["Offset of field: _zend_class_entry::ce_flags"]
4210 [::std::mem::offset_of!(_zend_class_entry, ce_flags) - 28usize];
4211 ["Offset of field: _zend_class_entry::default_properties_count"]
4212 [::std::mem::offset_of!(_zend_class_entry, default_properties_count) - 32usize];
4213 ["Offset of field: _zend_class_entry::default_static_members_count"]
4214 [::std::mem::offset_of!(_zend_class_entry, default_static_members_count) - 36usize];
4215 ["Offset of field: _zend_class_entry::default_properties_table"]
4216 [::std::mem::offset_of!(_zend_class_entry, default_properties_table) - 40usize];
4217 ["Offset of field: _zend_class_entry::default_static_members_table"]
4218 [::std::mem::offset_of!(_zend_class_entry, default_static_members_table) - 48usize];
4219 ["Offset of field: _zend_class_entry::static_members_table__ptr"]
4220 [::std::mem::offset_of!(_zend_class_entry, static_members_table__ptr) - 56usize];
4221 ["Offset of field: _zend_class_entry::function_table"]
4222 [::std::mem::offset_of!(_zend_class_entry, function_table) - 64usize];
4223 ["Offset of field: _zend_class_entry::properties_info"]
4224 [::std::mem::offset_of!(_zend_class_entry, properties_info) - 120usize];
4225 ["Offset of field: _zend_class_entry::constants_table"]
4226 [::std::mem::offset_of!(_zend_class_entry, constants_table) - 176usize];
4227 ["Offset of field: _zend_class_entry::mutable_data__ptr"]
4228 [::std::mem::offset_of!(_zend_class_entry, mutable_data__ptr) - 232usize];
4229 ["Offset of field: _zend_class_entry::inheritance_cache"]
4230 [::std::mem::offset_of!(_zend_class_entry, inheritance_cache) - 240usize];
4231 ["Offset of field: _zend_class_entry::properties_info_table"]
4232 [::std::mem::offset_of!(_zend_class_entry, properties_info_table) - 248usize];
4233 ["Offset of field: _zend_class_entry::constructor"]
4234 [::std::mem::offset_of!(_zend_class_entry, constructor) - 256usize];
4235 ["Offset of field: _zend_class_entry::destructor"]
4236 [::std::mem::offset_of!(_zend_class_entry, destructor) - 264usize];
4237 ["Offset of field: _zend_class_entry::clone"]
4238 [::std::mem::offset_of!(_zend_class_entry, clone) - 272usize];
4239 ["Offset of field: _zend_class_entry::__get"]
4240 [::std::mem::offset_of!(_zend_class_entry, __get) - 280usize];
4241 ["Offset of field: _zend_class_entry::__set"]
4242 [::std::mem::offset_of!(_zend_class_entry, __set) - 288usize];
4243 ["Offset of field: _zend_class_entry::__unset"]
4244 [::std::mem::offset_of!(_zend_class_entry, __unset) - 296usize];
4245 ["Offset of field: _zend_class_entry::__isset"]
4246 [::std::mem::offset_of!(_zend_class_entry, __isset) - 304usize];
4247 ["Offset of field: _zend_class_entry::__call"]
4248 [::std::mem::offset_of!(_zend_class_entry, __call) - 312usize];
4249 ["Offset of field: _zend_class_entry::__callstatic"]
4250 [::std::mem::offset_of!(_zend_class_entry, __callstatic) - 320usize];
4251 ["Offset of field: _zend_class_entry::__tostring"]
4252 [::std::mem::offset_of!(_zend_class_entry, __tostring) - 328usize];
4253 ["Offset of field: _zend_class_entry::__debugInfo"]
4254 [::std::mem::offset_of!(_zend_class_entry, __debugInfo) - 336usize];
4255 ["Offset of field: _zend_class_entry::__serialize"]
4256 [::std::mem::offset_of!(_zend_class_entry, __serialize) - 344usize];
4257 ["Offset of field: _zend_class_entry::__unserialize"]
4258 [::std::mem::offset_of!(_zend_class_entry, __unserialize) - 352usize];
4259 ["Offset of field: _zend_class_entry::default_object_handlers"]
4260 [::std::mem::offset_of!(_zend_class_entry, default_object_handlers) - 360usize];
4261 ["Offset of field: _zend_class_entry::iterator_funcs_ptr"]
4262 [::std::mem::offset_of!(_zend_class_entry, iterator_funcs_ptr) - 368usize];
4263 ["Offset of field: _zend_class_entry::arrayaccess_funcs_ptr"]
4264 [::std::mem::offset_of!(_zend_class_entry, arrayaccess_funcs_ptr) - 376usize];
4265 ["Offset of field: _zend_class_entry::get_iterator"]
4266 [::std::mem::offset_of!(_zend_class_entry, get_iterator) - 392usize];
4267 ["Offset of field: _zend_class_entry::get_static_method"]
4268 [::std::mem::offset_of!(_zend_class_entry, get_static_method) - 400usize];
4269 ["Offset of field: _zend_class_entry::serialize"]
4270 [::std::mem::offset_of!(_zend_class_entry, serialize) - 408usize];
4271 ["Offset of field: _zend_class_entry::unserialize"]
4272 [::std::mem::offset_of!(_zend_class_entry, unserialize) - 416usize];
4273 ["Offset of field: _zend_class_entry::num_interfaces"]
4274 [::std::mem::offset_of!(_zend_class_entry, num_interfaces) - 424usize];
4275 ["Offset of field: _zend_class_entry::num_traits"]
4276 [::std::mem::offset_of!(_zend_class_entry, num_traits) - 428usize];
4277 ["Offset of field: _zend_class_entry::trait_names"]
4278 [::std::mem::offset_of!(_zend_class_entry, trait_names) - 440usize];
4279 ["Offset of field: _zend_class_entry::trait_aliases"]
4280 [::std::mem::offset_of!(_zend_class_entry, trait_aliases) - 448usize];
4281 ["Offset of field: _zend_class_entry::trait_precedences"]
4282 [::std::mem::offset_of!(_zend_class_entry, trait_precedences) - 456usize];
4283 ["Offset of field: _zend_class_entry::attributes"]
4284 [::std::mem::offset_of!(_zend_class_entry, attributes) - 464usize];
4285 ["Offset of field: _zend_class_entry::enum_backing_type"]
4286 [::std::mem::offset_of!(_zend_class_entry, enum_backing_type) - 472usize];
4287 ["Offset of field: _zend_class_entry::backed_enum_table"]
4288 [::std::mem::offset_of!(_zend_class_entry, backed_enum_table) - 480usize];
4289 ["Offset of field: _zend_class_entry::info"]
4290 [::std::mem::offset_of!(_zend_class_entry, info) - 488usize];
4291};
4292#[repr(C)]
4293#[derive(Debug, Copy, Clone)]
4294pub struct _zend_utility_functions {
4295 pub error_function: ::std::option::Option<
4296 unsafe extern "C" fn(
4297 type_: ::std::os::raw::c_int,
4298 error_filename: *mut zend_string,
4299 error_lineno: u32,
4300 message: *mut zend_string,
4301 ),
4302 >,
4303 pub printf_function: ::std::option::Option<
4304 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
4305 >,
4306 pub write_function: ::std::option::Option<
4307 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
4308 >,
4309 pub fopen_function: ::std::option::Option<
4310 unsafe extern "C" fn(
4311 filename: *mut zend_string,
4312 opened_path: *mut *mut zend_string,
4313 ) -> *mut FILE,
4314 >,
4315 pub message_handler: ::std::option::Option<
4316 unsafe extern "C" fn(message: zend_long, data: *const ::std::os::raw::c_void),
4317 >,
4318 pub get_configuration_directive:
4319 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
4320 pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
4321 pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
4322 pub stream_open_function:
4323 ::std::option::Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>,
4324 pub printf_to_smart_string_function: ::std::option::Option<
4325 unsafe extern "C" fn(
4326 buf: *mut smart_string,
4327 format: *const ::std::os::raw::c_char,
4328 ap: *mut __va_list_tag,
4329 ),
4330 >,
4331 pub printf_to_smart_str_function: ::std::option::Option<
4332 unsafe extern "C" fn(
4333 buf: *mut smart_str,
4334 format: *const ::std::os::raw::c_char,
4335 ap: *mut __va_list_tag,
4336 ),
4337 >,
4338 pub getenv_function: ::std::option::Option<
4339 unsafe extern "C" fn(
4340 name: *const ::std::os::raw::c_char,
4341 name_len: usize,
4342 ) -> *mut ::std::os::raw::c_char,
4343 >,
4344 pub resolve_path_function:
4345 ::std::option::Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>,
4346}
4347#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4348const _: () = {
4349 ["Size of _zend_utility_functions"]
4350 [::std::mem::size_of::<_zend_utility_functions>() - 104usize];
4351 ["Alignment of _zend_utility_functions"]
4352 [::std::mem::align_of::<_zend_utility_functions>() - 8usize];
4353 ["Offset of field: _zend_utility_functions::error_function"]
4354 [::std::mem::offset_of!(_zend_utility_functions, error_function) - 0usize];
4355 ["Offset of field: _zend_utility_functions::printf_function"]
4356 [::std::mem::offset_of!(_zend_utility_functions, printf_function) - 8usize];
4357 ["Offset of field: _zend_utility_functions::write_function"]
4358 [::std::mem::offset_of!(_zend_utility_functions, write_function) - 16usize];
4359 ["Offset of field: _zend_utility_functions::fopen_function"]
4360 [::std::mem::offset_of!(_zend_utility_functions, fopen_function) - 24usize];
4361 ["Offset of field: _zend_utility_functions::message_handler"]
4362 [::std::mem::offset_of!(_zend_utility_functions, message_handler) - 32usize];
4363 ["Offset of field: _zend_utility_functions::get_configuration_directive"]
4364 [::std::mem::offset_of!(_zend_utility_functions, get_configuration_directive) - 40usize];
4365 ["Offset of field: _zend_utility_functions::ticks_function"]
4366 [::std::mem::offset_of!(_zend_utility_functions, ticks_function) - 48usize];
4367 ["Offset of field: _zend_utility_functions::on_timeout"]
4368 [::std::mem::offset_of!(_zend_utility_functions, on_timeout) - 56usize];
4369 ["Offset of field: _zend_utility_functions::stream_open_function"]
4370 [::std::mem::offset_of!(_zend_utility_functions, stream_open_function) - 64usize];
4371 ["Offset of field: _zend_utility_functions::printf_to_smart_string_function"][::std::mem::offset_of!(
4372 _zend_utility_functions,
4373 printf_to_smart_string_function
4374 ) - 72usize];
4375 ["Offset of field: _zend_utility_functions::printf_to_smart_str_function"]
4376 [::std::mem::offset_of!(_zend_utility_functions, printf_to_smart_str_function) - 80usize];
4377 ["Offset of field: _zend_utility_functions::getenv_function"]
4378 [::std::mem::offset_of!(_zend_utility_functions, getenv_function) - 88usize];
4379 ["Offset of field: _zend_utility_functions::resolve_path_function"]
4380 [::std::mem::offset_of!(_zend_utility_functions, resolve_path_function) - 96usize];
4381};
4382pub type zend_utility_functions = _zend_utility_functions;
4383#[repr(C)]
4384#[derive(Debug, Copy, Clone)]
4385pub struct _zend_utility_values {
4386 pub html_errors: bool,
4387}
4388#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4389const _: () = {
4390 ["Size of _zend_utility_values"][::std::mem::size_of::<_zend_utility_values>() - 1usize];
4391 ["Alignment of _zend_utility_values"][::std::mem::align_of::<_zend_utility_values>() - 1usize];
4392 ["Offset of field: _zend_utility_values::html_errors"]
4393 [::std::mem::offset_of!(_zend_utility_values, html_errors) - 0usize];
4394};
4395pub type zend_utility_values = _zend_utility_values;
4396pub type zend_write_func_t = ::std::option::Option<
4397 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
4398>;
4399extern "C" {
4400 pub fn zend_startup(utility_functions: *mut zend_utility_functions);
4401}
4402extern "C" {
4403 pub fn zend_shutdown();
4404}
4405extern "C" {
4406 pub fn zend_register_standard_ini_entries();
4407}
4408extern "C" {
4409 pub fn zend_post_startup() -> zend_result;
4410}
4411extern "C" {
4412 pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
4413}
4414extern "C" {
4415 pub fn zend_unload_modules();
4416}
4417extern "C" {
4418 pub fn _zend_bailout(filename: *const ::std::os::raw::c_char, lineno: u32) -> !;
4419}
4420extern "C" {
4421 pub fn zend_get_page_size() -> usize;
4422}
4423extern "C" {
4424 pub fn zend_vspprintf(
4425 pbuf: *mut *mut ::std::os::raw::c_char,
4426 max_len: usize,
4427 format: *const ::std::os::raw::c_char,
4428 ap: *mut __va_list_tag,
4429 ) -> usize;
4430}
4431extern "C" {
4432 pub fn zend_spprintf(
4433 message: *mut *mut ::std::os::raw::c_char,
4434 max_len: usize,
4435 format: *const ::std::os::raw::c_char,
4436 ...
4437 ) -> usize;
4438}
4439extern "C" {
4440 pub fn zend_vstrpprintf(
4441 max_len: usize,
4442 format: *const ::std::os::raw::c_char,
4443 ap: *mut __va_list_tag,
4444 ) -> *mut zend_string;
4445}
4446extern "C" {
4447 pub fn zend_strpprintf(
4448 max_len: usize,
4449 format: *const ::std::os::raw::c_char,
4450 ...
4451 ) -> *mut zend_string;
4452}
4453extern "C" {
4454 pub fn zend_spprintf_unchecked(
4455 message: *mut *mut ::std::os::raw::c_char,
4456 max_len: usize,
4457 format: *const ::std::os::raw::c_char,
4458 ...
4459 ) -> usize;
4460}
4461extern "C" {
4462 pub fn zend_strpprintf_unchecked(
4463 max_len: usize,
4464 format: *const ::std::os::raw::c_char,
4465 ...
4466 ) -> *mut zend_string;
4467}
4468extern "C" {
4469 pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval) -> bool;
4470}
4471extern "C" {
4472 pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> usize;
4473}
4474extern "C" {
4475 pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
4476}
4477extern "C" {
4478 pub fn zend_print_zval_r_to_str(
4479 expr: *mut zval,
4480 indent: ::std::os::raw::c_int,
4481 ) -> *mut zend_string;
4482}
4483extern "C" {
4484 pub fn zend_print_flat_zval_r(expr: *mut zval);
4485}
4486extern "C" {
4487 pub fn zend_print_flat_zval_r_to_buf(str_: *mut smart_str, expr: *mut zval);
4488}
4489extern "C" {
4490 pub fn zend_output_debug_string(
4491 trigger_break: bool,
4492 format: *const ::std::os::raw::c_char,
4493 ...
4494 );
4495}
4496extern "C" {
4497 pub fn zend_activate();
4498}
4499extern "C" {
4500 pub fn zend_deactivate();
4501}
4502extern "C" {
4503 pub fn zend_call_destructors();
4504}
4505extern "C" {
4506 pub fn zend_activate_modules();
4507}
4508extern "C" {
4509 pub fn zend_deactivate_modules();
4510}
4511extern "C" {
4512 pub fn zend_post_deactivate_modules();
4513}
4514extern "C" {
4515 pub static mut zend_printf: ::std::option::Option<
4516 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
4517 >;
4518}
4519extern "C" {
4520 pub static mut zend_write: zend_write_func_t;
4521}
4522extern "C" {
4523 pub static mut zend_fopen: ::std::option::Option<
4524 unsafe extern "C" fn(
4525 filename: *mut zend_string,
4526 opened_path: *mut *mut zend_string,
4527 ) -> *mut FILE,
4528 >;
4529}
4530extern "C" {
4531 pub static mut zend_ticks_function:
4532 ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
4533}
4534extern "C" {
4535 pub static mut zend_interrupt_function:
4536 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
4537}
4538extern "C" {
4539 pub static mut zend_error_cb: ::std::option::Option<
4540 unsafe extern "C" fn(
4541 type_: ::std::os::raw::c_int,
4542 error_filename: *mut zend_string,
4543 error_lineno: u32,
4544 message: *mut zend_string,
4545 ),
4546 >;
4547}
4548extern "C" {
4549 pub static mut zend_on_timeout:
4550 ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
4551}
4552extern "C" {
4553 pub static mut zend_stream_open_function:
4554 ::std::option::Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>;
4555}
4556extern "C" {
4557 pub static mut zend_printf_to_smart_string: ::std::option::Option<
4558 unsafe extern "C" fn(
4559 buf: *mut smart_string,
4560 format: *const ::std::os::raw::c_char,
4561 ap: *mut __va_list_tag,
4562 ),
4563 >;
4564}
4565extern "C" {
4566 pub static mut zend_printf_to_smart_str: ::std::option::Option<
4567 unsafe extern "C" fn(
4568 buf: *mut smart_str,
4569 format: *const ::std::os::raw::c_char,
4570 ap: *mut __va_list_tag,
4571 ),
4572 >;
4573}
4574extern "C" {
4575 pub static mut zend_getenv: ::std::option::Option<
4576 unsafe extern "C" fn(
4577 name: *const ::std::os::raw::c_char,
4578 name_len: usize,
4579 ) -> *mut ::std::os::raw::c_char,
4580 >;
4581}
4582extern "C" {
4583 pub static mut zend_resolve_path:
4584 ::std::option::Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>;
4585}
4586extern "C" {
4587 pub static mut zend_post_startup_cb:
4588 ::std::option::Option<unsafe extern "C" fn() -> zend_result>;
4589}
4590extern "C" {
4591 pub static mut zend_post_shutdown_cb: ::std::option::Option<unsafe extern "C" fn()>;
4592}
4593extern "C" {
4594 pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
4595}
4596extern "C" {
4597 pub fn zend_error_noreturn(
4598 type_: ::std::os::raw::c_int,
4599 format: *const ::std::os::raw::c_char,
4600 ...
4601 ) -> !;
4602}
4603extern "C" {
4604 pub fn zend_error_unchecked(
4605 type_: ::std::os::raw::c_int,
4606 format: *const ::std::os::raw::c_char,
4607 ...
4608 );
4609}
4610extern "C" {
4611 pub fn zend_error_at(
4612 type_: ::std::os::raw::c_int,
4613 filename: *mut zend_string,
4614 lineno: u32,
4615 format: *const ::std::os::raw::c_char,
4616 ...
4617 );
4618}
4619extern "C" {
4620 pub fn zend_error_at_noreturn(
4621 type_: ::std::os::raw::c_int,
4622 filename: *mut zend_string,
4623 lineno: u32,
4624 format: *const ::std::os::raw::c_char,
4625 ...
4626 ) -> !;
4627}
4628extern "C" {
4629 pub fn zend_error_zstr(type_: ::std::os::raw::c_int, message: *mut zend_string);
4630}
4631extern "C" {
4632 pub fn zend_error_zstr_at(
4633 type_: ::std::os::raw::c_int,
4634 filename: *mut zend_string,
4635 lineno: u32,
4636 message: *mut zend_string,
4637 );
4638}
4639extern "C" {
4640 pub fn zend_throw_error(
4641 exception_ce: *mut zend_class_entry,
4642 format: *const ::std::os::raw::c_char,
4643 ...
4644 );
4645}
4646extern "C" {
4647 pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
4648}
4649extern "C" {
4650 pub fn zend_argument_count_error(format: *const ::std::os::raw::c_char, ...);
4651}
4652extern "C" {
4653 pub fn zend_value_error(format: *const ::std::os::raw::c_char, ...);
4654}
4655extern "C" {
4656 pub fn zend_illegal_container_offset(
4657 container: *const zend_string,
4658 offset: *const zval,
4659 type_: ::std::os::raw::c_int,
4660 );
4661}
4662extern "C" {
4663 pub fn zenderror(error: *const ::std::os::raw::c_char);
4664}
4665extern "C" {
4666 pub fn zend_strerror_noreturn(
4667 type_: ::std::os::raw::c_int,
4668 errn: ::std::os::raw::c_int,
4669 message: *const ::std::os::raw::c_char,
4670 ) -> !;
4671}
4672extern "C" {
4673 pub static mut zend_standard_class_def: *mut zend_class_entry;
4674}
4675extern "C" {
4676 pub static mut zend_uv: zend_utility_values;
4677}
4678extern "C" {
4679 pub static mut zend_dtrace_enabled: bool;
4680}
4681extern "C" {
4682 pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
4683}
4684extern "C" {
4685 pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
4686}
4687pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
4688pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 1;
4689pub type zend_error_handling_t = ::std::os::raw::c_uint;
4690#[repr(C)]
4691#[derive(Debug, Copy, Clone)]
4692pub struct zend_error_handling {
4693 pub handling: zend_error_handling_t,
4694 pub exception: *mut zend_class_entry,
4695}
4696#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4697const _: () = {
4698 ["Size of zend_error_handling"][::std::mem::size_of::<zend_error_handling>() - 16usize];
4699 ["Alignment of zend_error_handling"][::std::mem::align_of::<zend_error_handling>() - 8usize];
4700 ["Offset of field: zend_error_handling::handling"]
4701 [::std::mem::offset_of!(zend_error_handling, handling) - 0usize];
4702 ["Offset of field: zend_error_handling::exception"]
4703 [::std::mem::offset_of!(zend_error_handling, exception) - 8usize];
4704};
4705extern "C" {
4706 pub fn zend_save_error_handling(current: *mut zend_error_handling);
4707}
4708extern "C" {
4709 pub fn zend_replace_error_handling(
4710 error_handling: zend_error_handling_t,
4711 exception_class: *mut zend_class_entry,
4712 current: *mut zend_error_handling,
4713 );
4714}
4715extern "C" {
4716 pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
4717}
4718extern "C" {
4719 pub fn zend_begin_record_errors();
4720}
4721extern "C" {
4722 pub fn zend_emit_recorded_errors();
4723}
4724extern "C" {
4725 pub fn zend_free_recorded_errors();
4726}
4727pub type zend_object_read_property_t = ::std::option::Option<
4728 unsafe extern "C" fn(
4729 object: *mut zend_object,
4730 member: *mut zend_string,
4731 type_: ::std::os::raw::c_int,
4732 cache_slot: *mut *mut ::std::os::raw::c_void,
4733 rv: *mut zval,
4734 ) -> *mut zval,
4735>;
4736pub type zend_object_read_dimension_t = ::std::option::Option<
4737 unsafe extern "C" fn(
4738 object: *mut zend_object,
4739 offset: *mut zval,
4740 type_: ::std::os::raw::c_int,
4741 rv: *mut zval,
4742 ) -> *mut zval,
4743>;
4744pub type zend_object_write_property_t = ::std::option::Option<
4745 unsafe extern "C" fn(
4746 object: *mut zend_object,
4747 member: *mut zend_string,
4748 value: *mut zval,
4749 cache_slot: *mut *mut ::std::os::raw::c_void,
4750 ) -> *mut zval,
4751>;
4752pub type zend_object_write_dimension_t = ::std::option::Option<
4753 unsafe extern "C" fn(object: *mut zend_object, offset: *mut zval, value: *mut zval),
4754>;
4755pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
4756 unsafe extern "C" fn(
4757 object: *mut zend_object,
4758 member: *mut zend_string,
4759 type_: ::std::os::raw::c_int,
4760 cache_slot: *mut *mut ::std::os::raw::c_void,
4761 ) -> *mut zval,
4762>;
4763pub type zend_object_has_property_t = ::std::option::Option<
4764 unsafe extern "C" fn(
4765 object: *mut zend_object,
4766 member: *mut zend_string,
4767 has_set_exists: ::std::os::raw::c_int,
4768 cache_slot: *mut *mut ::std::os::raw::c_void,
4769 ) -> ::std::os::raw::c_int,
4770>;
4771pub type zend_object_has_dimension_t = ::std::option::Option<
4772 unsafe extern "C" fn(
4773 object: *mut zend_object,
4774 member: *mut zval,
4775 check_empty: ::std::os::raw::c_int,
4776 ) -> ::std::os::raw::c_int,
4777>;
4778pub type zend_object_unset_property_t = ::std::option::Option<
4779 unsafe extern "C" fn(
4780 object: *mut zend_object,
4781 member: *mut zend_string,
4782 cache_slot: *mut *mut ::std::os::raw::c_void,
4783 ),
4784>;
4785pub type zend_object_unset_dimension_t =
4786 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object, offset: *mut zval)>;
4787pub type zend_object_get_properties_t =
4788 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut HashTable>;
4789pub type zend_object_get_debug_info_t = ::std::option::Option<
4790 unsafe extern "C" fn(
4791 object: *mut zend_object,
4792 is_temp: *mut ::std::os::raw::c_int,
4793 ) -> *mut HashTable,
4794>;
4795pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_DEBUG: _zend_prop_purpose = 0;
4796pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_ARRAY_CAST: _zend_prop_purpose = 1;
4797pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_SERIALIZE: _zend_prop_purpose = 2;
4798pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_VAR_EXPORT: _zend_prop_purpose = 3;
4799pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_JSON: _zend_prop_purpose = 4;
4800pub const _zend_prop_purpose__ZEND_PROP_PURPOSE_NON_EXHAUSTIVE_ENUM: _zend_prop_purpose = 5;
4801pub type _zend_prop_purpose = ::std::os::raw::c_uint;
4802pub use self::_zend_prop_purpose as zend_prop_purpose;
4803pub type zend_object_get_properties_for_t = ::std::option::Option<
4804 unsafe extern "C" fn(object: *mut zend_object, purpose: zend_prop_purpose) -> *mut zend_array,
4805>;
4806pub type zend_object_get_method_t = ::std::option::Option<
4807 unsafe extern "C" fn(
4808 object: *mut *mut zend_object,
4809 method: *mut zend_string,
4810 key: *const zval,
4811 ) -> *mut zend_function,
4812>;
4813pub type zend_object_get_constructor_t =
4814 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_function>;
4815pub type zend_object_free_obj_t =
4816 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
4817pub type zend_object_dtor_obj_t =
4818 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
4819pub type zend_object_clone_obj_t =
4820 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_object>;
4821pub type zend_object_get_class_name_t =
4822 ::std::option::Option<unsafe extern "C" fn(object: *const zend_object) -> *mut zend_string>;
4823pub type zend_object_compare_t = ::std::option::Option<
4824 unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
4825>;
4826pub type zend_object_cast_t = ::std::option::Option<
4827 unsafe extern "C" fn(
4828 readobj: *mut zend_object,
4829 retval: *mut zval,
4830 type_: ::std::os::raw::c_int,
4831 ) -> zend_result,
4832>;
4833pub type zend_object_count_elements_t = ::std::option::Option<
4834 unsafe extern "C" fn(object: *mut zend_object, count: *mut zend_long) -> zend_result,
4835>;
4836pub type zend_object_get_closure_t = ::std::option::Option<
4837 unsafe extern "C" fn(
4838 obj: *mut zend_object,
4839 ce_ptr: *mut *mut zend_class_entry,
4840 fptr_ptr: *mut *mut zend_function,
4841 obj_ptr: *mut *mut zend_object,
4842 check_only: bool,
4843 ) -> zend_result,
4844>;
4845pub type zend_object_get_gc_t = ::std::option::Option<
4846 unsafe extern "C" fn(
4847 object: *mut zend_object,
4848 table: *mut *mut zval,
4849 n: *mut ::std::os::raw::c_int,
4850 ) -> *mut HashTable,
4851>;
4852pub type zend_object_do_operation_t = ::std::option::Option<
4853 unsafe extern "C" fn(
4854 opcode: u8,
4855 result: *mut zval,
4856 op1: *mut zval,
4857 op2: *mut zval,
4858 ) -> zend_result,
4859>;
4860#[repr(C)]
4861#[derive(Debug, Copy, Clone)]
4862pub struct _zend_object_handlers {
4863 pub offset: ::std::os::raw::c_int,
4864 pub free_obj: zend_object_free_obj_t,
4865 pub dtor_obj: zend_object_dtor_obj_t,
4866 pub clone_obj: zend_object_clone_obj_t,
4867 pub read_property: zend_object_read_property_t,
4868 pub write_property: zend_object_write_property_t,
4869 pub read_dimension: zend_object_read_dimension_t,
4870 pub write_dimension: zend_object_write_dimension_t,
4871 pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
4872 pub has_property: zend_object_has_property_t,
4873 pub unset_property: zend_object_unset_property_t,
4874 pub has_dimension: zend_object_has_dimension_t,
4875 pub unset_dimension: zend_object_unset_dimension_t,
4876 pub get_properties: zend_object_get_properties_t,
4877 pub get_method: zend_object_get_method_t,
4878 pub get_constructor: zend_object_get_constructor_t,
4879 pub get_class_name: zend_object_get_class_name_t,
4880 pub cast_object: zend_object_cast_t,
4881 pub count_elements: zend_object_count_elements_t,
4882 pub get_debug_info: zend_object_get_debug_info_t,
4883 pub get_closure: zend_object_get_closure_t,
4884 pub get_gc: zend_object_get_gc_t,
4885 pub do_operation: zend_object_do_operation_t,
4886 pub compare: zend_object_compare_t,
4887 pub get_properties_for: zend_object_get_properties_for_t,
4888}
4889#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4890const _: () = {
4891 ["Size of _zend_object_handlers"][::std::mem::size_of::<_zend_object_handlers>() - 200usize];
4892 ["Alignment of _zend_object_handlers"]
4893 [::std::mem::align_of::<_zend_object_handlers>() - 8usize];
4894 ["Offset of field: _zend_object_handlers::offset"]
4895 [::std::mem::offset_of!(_zend_object_handlers, offset) - 0usize];
4896 ["Offset of field: _zend_object_handlers::free_obj"]
4897 [::std::mem::offset_of!(_zend_object_handlers, free_obj) - 8usize];
4898 ["Offset of field: _zend_object_handlers::dtor_obj"]
4899 [::std::mem::offset_of!(_zend_object_handlers, dtor_obj) - 16usize];
4900 ["Offset of field: _zend_object_handlers::clone_obj"]
4901 [::std::mem::offset_of!(_zend_object_handlers, clone_obj) - 24usize];
4902 ["Offset of field: _zend_object_handlers::read_property"]
4903 [::std::mem::offset_of!(_zend_object_handlers, read_property) - 32usize];
4904 ["Offset of field: _zend_object_handlers::write_property"]
4905 [::std::mem::offset_of!(_zend_object_handlers, write_property) - 40usize];
4906 ["Offset of field: _zend_object_handlers::read_dimension"]
4907 [::std::mem::offset_of!(_zend_object_handlers, read_dimension) - 48usize];
4908 ["Offset of field: _zend_object_handlers::write_dimension"]
4909 [::std::mem::offset_of!(_zend_object_handlers, write_dimension) - 56usize];
4910 ["Offset of field: _zend_object_handlers::get_property_ptr_ptr"]
4911 [::std::mem::offset_of!(_zend_object_handlers, get_property_ptr_ptr) - 64usize];
4912 ["Offset of field: _zend_object_handlers::has_property"]
4913 [::std::mem::offset_of!(_zend_object_handlers, has_property) - 72usize];
4914 ["Offset of field: _zend_object_handlers::unset_property"]
4915 [::std::mem::offset_of!(_zend_object_handlers, unset_property) - 80usize];
4916 ["Offset of field: _zend_object_handlers::has_dimension"]
4917 [::std::mem::offset_of!(_zend_object_handlers, has_dimension) - 88usize];
4918 ["Offset of field: _zend_object_handlers::unset_dimension"]
4919 [::std::mem::offset_of!(_zend_object_handlers, unset_dimension) - 96usize];
4920 ["Offset of field: _zend_object_handlers::get_properties"]
4921 [::std::mem::offset_of!(_zend_object_handlers, get_properties) - 104usize];
4922 ["Offset of field: _zend_object_handlers::get_method"]
4923 [::std::mem::offset_of!(_zend_object_handlers, get_method) - 112usize];
4924 ["Offset of field: _zend_object_handlers::get_constructor"]
4925 [::std::mem::offset_of!(_zend_object_handlers, get_constructor) - 120usize];
4926 ["Offset of field: _zend_object_handlers::get_class_name"]
4927 [::std::mem::offset_of!(_zend_object_handlers, get_class_name) - 128usize];
4928 ["Offset of field: _zend_object_handlers::cast_object"]
4929 [::std::mem::offset_of!(_zend_object_handlers, cast_object) - 136usize];
4930 ["Offset of field: _zend_object_handlers::count_elements"]
4931 [::std::mem::offset_of!(_zend_object_handlers, count_elements) - 144usize];
4932 ["Offset of field: _zend_object_handlers::get_debug_info"]
4933 [::std::mem::offset_of!(_zend_object_handlers, get_debug_info) - 152usize];
4934 ["Offset of field: _zend_object_handlers::get_closure"]
4935 [::std::mem::offset_of!(_zend_object_handlers, get_closure) - 160usize];
4936 ["Offset of field: _zend_object_handlers::get_gc"]
4937 [::std::mem::offset_of!(_zend_object_handlers, get_gc) - 168usize];
4938 ["Offset of field: _zend_object_handlers::do_operation"]
4939 [::std::mem::offset_of!(_zend_object_handlers, do_operation) - 176usize];
4940 ["Offset of field: _zend_object_handlers::compare"]
4941 [::std::mem::offset_of!(_zend_object_handlers, compare) - 184usize];
4942 ["Offset of field: _zend_object_handlers::get_properties_for"]
4943 [::std::mem::offset_of!(_zend_object_handlers, get_properties_for) - 192usize];
4944};
4945extern "C" {
4946 pub static std_object_handlers: zend_object_handlers;
4947}
4948extern "C" {
4949 pub fn zend_class_init_statics(ce: *mut zend_class_entry);
4950}
4951extern "C" {
4952 pub fn zend_std_get_static_method(
4953 ce: *mut zend_class_entry,
4954 function_name_strval: *mut zend_string,
4955 key: *const zval,
4956 ) -> *mut zend_function;
4957}
4958extern "C" {
4959 pub fn zend_std_get_static_property_with_info(
4960 ce: *mut zend_class_entry,
4961 property_name: *mut zend_string,
4962 type_: ::std::os::raw::c_int,
4963 prop_info: *mut *mut _zend_property_info,
4964 ) -> *mut zval;
4965}
4966extern "C" {
4967 pub fn zend_std_get_static_property(
4968 ce: *mut zend_class_entry,
4969 property_name: *mut zend_string,
4970 type_: ::std::os::raw::c_int,
4971 ) -> *mut zval;
4972}
4973extern "C" {
4974 pub fn zend_std_unset_static_property(
4975 ce: *mut zend_class_entry,
4976 property_name: *mut zend_string,
4977 ) -> bool;
4978}
4979extern "C" {
4980 pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut zend_function;
4981}
4982extern "C" {
4983 pub fn zend_get_property_info(
4984 ce: *const zend_class_entry,
4985 member: *mut zend_string,
4986 silent: ::std::os::raw::c_int,
4987 ) -> *mut _zend_property_info;
4988}
4989extern "C" {
4990 pub fn zend_std_get_properties(object: *mut zend_object) -> *mut HashTable;
4991}
4992extern "C" {
4993 pub fn zend_std_get_gc(
4994 object: *mut zend_object,
4995 table: *mut *mut zval,
4996 n: *mut ::std::os::raw::c_int,
4997 ) -> *mut HashTable;
4998}
4999extern "C" {
5000 pub fn zend_std_get_debug_info(
5001 object: *mut zend_object,
5002 is_temp: *mut ::std::os::raw::c_int,
5003 ) -> *mut HashTable;
5004}
5005extern "C" {
5006 pub fn zend_std_cast_object_tostring(
5007 object: *mut zend_object,
5008 writeobj: *mut zval,
5009 type_: ::std::os::raw::c_int,
5010 ) -> zend_result;
5011}
5012extern "C" {
5013 pub fn zend_std_get_property_ptr_ptr(
5014 object: *mut zend_object,
5015 member: *mut zend_string,
5016 type_: ::std::os::raw::c_int,
5017 cache_slot: *mut *mut ::std::os::raw::c_void,
5018 ) -> *mut zval;
5019}
5020extern "C" {
5021 pub fn zend_std_read_property(
5022 object: *mut zend_object,
5023 member: *mut zend_string,
5024 type_: ::std::os::raw::c_int,
5025 cache_slot: *mut *mut ::std::os::raw::c_void,
5026 rv: *mut zval,
5027 ) -> *mut zval;
5028}
5029extern "C" {
5030 pub fn zend_std_write_property(
5031 object: *mut zend_object,
5032 member: *mut zend_string,
5033 value: *mut zval,
5034 cache_slot: *mut *mut ::std::os::raw::c_void,
5035 ) -> *mut zval;
5036}
5037extern "C" {
5038 pub fn zend_std_has_property(
5039 object: *mut zend_object,
5040 member: *mut zend_string,
5041 has_set_exists: ::std::os::raw::c_int,
5042 cache_slot: *mut *mut ::std::os::raw::c_void,
5043 ) -> ::std::os::raw::c_int;
5044}
5045extern "C" {
5046 pub fn zend_std_unset_property(
5047 object: *mut zend_object,
5048 member: *mut zend_string,
5049 cache_slot: *mut *mut ::std::os::raw::c_void,
5050 );
5051}
5052extern "C" {
5053 pub fn zend_std_read_dimension(
5054 object: *mut zend_object,
5055 offset: *mut zval,
5056 type_: ::std::os::raw::c_int,
5057 rv: *mut zval,
5058 ) -> *mut zval;
5059}
5060extern "C" {
5061 pub fn zend_std_write_dimension(object: *mut zend_object, offset: *mut zval, value: *mut zval);
5062}
5063extern "C" {
5064 pub fn zend_std_has_dimension(
5065 object: *mut zend_object,
5066 offset: *mut zval,
5067 check_empty: ::std::os::raw::c_int,
5068 ) -> ::std::os::raw::c_int;
5069}
5070extern "C" {
5071 pub fn zend_std_unset_dimension(object: *mut zend_object, offset: *mut zval);
5072}
5073extern "C" {
5074 pub fn zend_std_get_method(
5075 obj_ptr: *mut *mut zend_object,
5076 method_name: *mut zend_string,
5077 key: *const zval,
5078 ) -> *mut zend_function;
5079}
5080extern "C" {
5081 pub fn zend_std_get_class_name(zobj: *const zend_object) -> *mut zend_string;
5082}
5083extern "C" {
5084 pub fn zend_std_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
5085}
5086extern "C" {
5087 pub fn zend_std_get_closure(
5088 obj: *mut zend_object,
5089 ce_ptr: *mut *mut zend_class_entry,
5090 fptr_ptr: *mut *mut zend_function,
5091 obj_ptr: *mut *mut zend_object,
5092 check_only: bool,
5093 ) -> zend_result;
5094}
5095extern "C" {
5096 pub fn zend_std_build_object_properties_array(zobj: *mut zend_object) -> *mut HashTable;
5097}
5098extern "C" {
5099 pub fn zend_objects_not_comparable(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
5100}
5101extern "C" {
5102 pub fn zend_check_protected(
5103 ce: *const zend_class_entry,
5104 scope: *const zend_class_entry,
5105 ) -> bool;
5106}
5107extern "C" {
5108 pub fn zend_check_property_access(
5109 zobj: *const zend_object,
5110 prop_info_name: *mut zend_string,
5111 is_dynamic: bool,
5112 ) -> zend_result;
5113}
5114extern "C" {
5115 pub fn zend_get_call_trampoline_func(
5116 ce: *const zend_class_entry,
5117 method_name: *mut zend_string,
5118 is_static: bool,
5119 ) -> *mut zend_function;
5120}
5121extern "C" {
5122 pub fn zend_get_property_guard(zobj: *mut zend_object, member: *mut zend_string) -> *mut u32;
5123}
5124extern "C" {
5125 pub fn zend_get_recursion_guard(zobj: *mut zend_object) -> *mut u32;
5126}
5127extern "C" {
5128 pub fn zend_std_get_properties_for(
5129 obj: *mut zend_object,
5130 purpose: zend_prop_purpose,
5131 ) -> *mut HashTable;
5132}
5133extern "C" {
5134 pub fn zend_get_properties_for(obj: *mut zval, purpose: zend_prop_purpose) -> *mut HashTable;
5135}
5136extern "C" {
5137 pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
5138}
5139extern "C" {
5140 pub fn zend_dtoa(
5141 _d: f64,
5142 mode: ::std::os::raw::c_int,
5143 ndigits: ::std::os::raw::c_int,
5144 decpt: *mut ::std::os::raw::c_int,
5145 sign: *mut bool,
5146 rve: *mut *mut ::std::os::raw::c_char,
5147 ) -> *mut ::std::os::raw::c_char;
5148}
5149extern "C" {
5150 pub fn zend_gcvt(
5151 value: f64,
5152 ndigit: ::std::os::raw::c_int,
5153 dec_point: ::std::os::raw::c_char,
5154 exponent: ::std::os::raw::c_char,
5155 buf: *mut ::std::os::raw::c_char,
5156 ) -> *mut ::std::os::raw::c_char;
5157}
5158extern "C" {
5159 pub fn zend_strtod(
5160 s00: *const ::std::os::raw::c_char,
5161 se: *mut *const ::std::os::raw::c_char,
5162 ) -> f64;
5163}
5164extern "C" {
5165 pub fn zend_hex_strtod(
5166 str_: *const ::std::os::raw::c_char,
5167 endptr: *mut *const ::std::os::raw::c_char,
5168 ) -> f64;
5169}
5170extern "C" {
5171 pub fn zend_oct_strtod(
5172 str_: *const ::std::os::raw::c_char,
5173 endptr: *mut *const ::std::os::raw::c_char,
5174 ) -> f64;
5175}
5176extern "C" {
5177 pub fn zend_bin_strtod(
5178 str_: *const ::std::os::raw::c_char,
5179 endptr: *mut *const ::std::os::raw::c_char,
5180 ) -> f64;
5181}
5182extern "C" {
5183 pub fn zend_startup_strtod() -> ::std::os::raw::c_int;
5184}
5185extern "C" {
5186 pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
5187}
5188extern "C" {
5189 pub fn zend_is_identical(op1: *const zval, op2: *const zval) -> bool;
5190}
5191extern "C" {
5192 pub fn zend_class_implements_interface(
5193 class_ce: *const zend_class_entry,
5194 interface_ce: *const zend_class_entry,
5195 ) -> bool;
5196}
5197extern "C" {
5198 pub fn zend_string_only_has_ascii_alphanumeric(str_: *const zend_string) -> bool;
5199}
5200extern "C" {
5201 pub fn zend_memnstr_ex(
5202 haystack: *const ::std::os::raw::c_char,
5203 needle: *const ::std::os::raw::c_char,
5204 needle_len: usize,
5205 end: *const ::std::os::raw::c_char,
5206 ) -> *const ::std::os::raw::c_char;
5207}
5208extern "C" {
5209 pub fn zend_memnrstr_ex(
5210 haystack: *const ::std::os::raw::c_char,
5211 needle: *const ::std::os::raw::c_char,
5212 needle_len: usize,
5213 end: *const ::std::os::raw::c_char,
5214 ) -> *const ::std::os::raw::c_char;
5215}
5216extern "C" {
5217 pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
5218}
5219extern "C" {
5220 pub fn zend_incompatible_double_to_long_error(d: f64);
5221}
5222extern "C" {
5223 pub fn zend_incompatible_string_to_long_error(s: *const zend_string);
5224}
5225extern "C" {
5226 pub fn zend_is_true(op: *const zval) -> ::std::os::raw::c_int;
5227}
5228extern "C" {
5229 pub fn zend_object_is_true(op: *const zval) -> bool;
5230}
5231extern "C" {
5232 pub fn zend_compare(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
5233}
5234extern "C" {
5235 pub static zend_tolower_map: [::std::os::raw::c_uchar; 256usize];
5236}
5237extern "C" {
5238 pub static zend_toupper_map: [::std::os::raw::c_uchar; 256usize];
5239}
5240extern "C" {
5241 pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: usize);
5242}
5243extern "C" {
5244 pub fn zend_str_toupper(str_: *mut ::std::os::raw::c_char, length: usize);
5245}
5246extern "C" {
5247 pub fn zend_str_tolower_copy(
5248 dest: *mut ::std::os::raw::c_char,
5249 source: *const ::std::os::raw::c_char,
5250 length: usize,
5251 ) -> *mut ::std::os::raw::c_char;
5252}
5253extern "C" {
5254 pub fn zend_str_toupper_copy(
5255 dest: *mut ::std::os::raw::c_char,
5256 source: *const ::std::os::raw::c_char,
5257 length: usize,
5258 ) -> *mut ::std::os::raw::c_char;
5259}
5260extern "C" {
5261 pub fn zend_str_tolower_dup(
5262 source: *const ::std::os::raw::c_char,
5263 length: usize,
5264 ) -> *mut ::std::os::raw::c_char;
5265}
5266extern "C" {
5267 pub fn zend_str_toupper_dup(
5268 source: *const ::std::os::raw::c_char,
5269 length: usize,
5270 ) -> *mut ::std::os::raw::c_char;
5271}
5272extern "C" {
5273 pub fn zend_str_tolower_dup_ex(
5274 source: *const ::std::os::raw::c_char,
5275 length: usize,
5276 ) -> *mut ::std::os::raw::c_char;
5277}
5278extern "C" {
5279 pub fn zend_str_toupper_dup_ex(
5280 source: *const ::std::os::raw::c_char,
5281 length: usize,
5282 ) -> *mut ::std::os::raw::c_char;
5283}
5284extern "C" {
5285 pub fn zend_string_tolower_ex(str_: *mut zend_string, persistent: bool) -> *mut zend_string;
5286}
5287extern "C" {
5288 pub fn zend_string_toupper_ex(str_: *mut zend_string, persistent: bool) -> *mut zend_string;
5289}
5290extern "C" {
5291 pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
5292}
5293extern "C" {
5294 pub fn zend_binary_zval_strncmp(
5295 s1: *mut zval,
5296 s2: *mut zval,
5297 s3: *mut zval,
5298 ) -> ::std::os::raw::c_int;
5299}
5300extern "C" {
5301 pub fn zend_binary_strcmp(
5302 s1: *const ::std::os::raw::c_char,
5303 len1: usize,
5304 s2: *const ::std::os::raw::c_char,
5305 len2: usize,
5306 ) -> ::std::os::raw::c_int;
5307}
5308extern "C" {
5309 pub fn zend_binary_strncmp(
5310 s1: *const ::std::os::raw::c_char,
5311 len1: usize,
5312 s2: *const ::std::os::raw::c_char,
5313 len2: usize,
5314 length: usize,
5315 ) -> ::std::os::raw::c_int;
5316}
5317extern "C" {
5318 pub fn zend_binary_strcasecmp(
5319 s1: *const ::std::os::raw::c_char,
5320 len1: usize,
5321 s2: *const ::std::os::raw::c_char,
5322 len2: usize,
5323 ) -> ::std::os::raw::c_int;
5324}
5325extern "C" {
5326 pub fn zend_binary_strncasecmp(
5327 s1: *const ::std::os::raw::c_char,
5328 len1: usize,
5329 s2: *const ::std::os::raw::c_char,
5330 len2: usize,
5331 length: usize,
5332 ) -> ::std::os::raw::c_int;
5333}
5334extern "C" {
5335 pub fn zend_binary_strcasecmp_l(
5336 s1: *const ::std::os::raw::c_char,
5337 len1: usize,
5338 s2: *const ::std::os::raw::c_char,
5339 len2: usize,
5340 ) -> ::std::os::raw::c_int;
5341}
5342extern "C" {
5343 pub fn zend_binary_strncasecmp_l(
5344 s1: *const ::std::os::raw::c_char,
5345 len1: usize,
5346 s2: *const ::std::os::raw::c_char,
5347 len2: usize,
5348 length: usize,
5349 ) -> ::std::os::raw::c_int;
5350}
5351extern "C" {
5352 pub fn zendi_smart_streq(s1: *mut zend_string, s2: *mut zend_string) -> bool;
5353}
5354extern "C" {
5355 pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> ::std::os::raw::c_int;
5356}
5357extern "C" {
5358 pub fn zend_compare_symbol_tables(
5359 ht1: *mut HashTable,
5360 ht2: *mut HashTable,
5361 ) -> ::std::os::raw::c_int;
5362}
5363extern "C" {
5364 pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
5365}
5366extern "C" {
5367 pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
5368}
5369extern "C" {
5370 #[doc = " Deprecatd in favor of ZEND_STRTOL()"]
5371 pub fn zend_atoi(str_: *const ::std::os::raw::c_char, str_len: usize) -> ::std::os::raw::c_int;
5372}
5373extern "C" {
5374 #[doc = " Deprecatd in favor of ZEND_STRTOL()"]
5375 pub fn zend_atol(str_: *const ::std::os::raw::c_char, str_len: usize) -> zend_long;
5376}
5377extern "C" {
5378 pub fn zend_update_current_locale();
5379}
5380extern "C" {
5381 pub fn zend_reset_lc_ctype_locale();
5382}
5383extern "C" {
5384 pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
5385}
5386extern "C" {
5387 pub fn zend_ulong_to_str(num: zend_ulong) -> *mut zend_string;
5388}
5389extern "C" {
5390 pub fn zend_u64_to_str(num: u64) -> *mut zend_string;
5391}
5392extern "C" {
5393 pub fn zend_i64_to_str(num: i64) -> *mut zend_string;
5394}
5395extern "C" {
5396 pub fn zend_double_to_str(num: f64) -> *mut zend_string;
5397}
5398pub type zend_op_array = _zend_op_array;
5399pub type zend_op = _zend_op;
5400#[repr(C)]
5401#[derive(Copy, Clone)]
5402pub union _znode_op {
5403 pub constant: u32,
5404 pub var: u32,
5405 pub num: u32,
5406 pub opline_num: u32,
5407 pub jmp_offset: u32,
5408}
5409#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5410const _: () = {
5411 ["Size of _znode_op"][::std::mem::size_of::<_znode_op>() - 4usize];
5412 ["Alignment of _znode_op"][::std::mem::align_of::<_znode_op>() - 4usize];
5413 ["Offset of field: _znode_op::constant"][::std::mem::offset_of!(_znode_op, constant) - 0usize];
5414 ["Offset of field: _znode_op::var"][::std::mem::offset_of!(_znode_op, var) - 0usize];
5415 ["Offset of field: _znode_op::num"][::std::mem::offset_of!(_znode_op, num) - 0usize];
5416 ["Offset of field: _znode_op::opline_num"]
5417 [::std::mem::offset_of!(_znode_op, opline_num) - 0usize];
5418 ["Offset of field: _znode_op::jmp_offset"]
5419 [::std::mem::offset_of!(_znode_op, jmp_offset) - 0usize];
5420};
5421pub type znode_op = _znode_op;
5422#[repr(C)]
5423#[derive(Copy, Clone)]
5424pub struct _znode {
5425 pub op_type: u8,
5426 pub flag: u8,
5427 pub u: _znode__bindgen_ty_1,
5428}
5429#[repr(C)]
5430#[derive(Copy, Clone)]
5431pub union _znode__bindgen_ty_1 {
5432 pub op: znode_op,
5433 pub constant: zval,
5434}
5435#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5436const _: () = {
5437 ["Size of _znode__bindgen_ty_1"][::std::mem::size_of::<_znode__bindgen_ty_1>() - 16usize];
5438 ["Alignment of _znode__bindgen_ty_1"][::std::mem::align_of::<_znode__bindgen_ty_1>() - 8usize];
5439 ["Offset of field: _znode__bindgen_ty_1::op"]
5440 [::std::mem::offset_of!(_znode__bindgen_ty_1, op) - 0usize];
5441 ["Offset of field: _znode__bindgen_ty_1::constant"]
5442 [::std::mem::offset_of!(_znode__bindgen_ty_1, constant) - 0usize];
5443};
5444#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5445const _: () = {
5446 ["Size of _znode"][::std::mem::size_of::<_znode>() - 24usize];
5447 ["Alignment of _znode"][::std::mem::align_of::<_znode>() - 8usize];
5448 ["Offset of field: _znode::op_type"][::std::mem::offset_of!(_znode, op_type) - 0usize];
5449 ["Offset of field: _znode::flag"][::std::mem::offset_of!(_znode, flag) - 1usize];
5450 ["Offset of field: _znode::u"][::std::mem::offset_of!(_znode, u) - 8usize];
5451};
5452pub type znode = _znode;
5453#[repr(C)]
5454#[derive(Copy, Clone)]
5455pub struct _zend_ast_znode {
5456 pub kind: zend_ast_kind,
5457 pub attr: zend_ast_attr,
5458 pub lineno: u32,
5459 pub node: znode,
5460}
5461#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5462const _: () = {
5463 ["Size of _zend_ast_znode"][::std::mem::size_of::<_zend_ast_znode>() - 32usize];
5464 ["Alignment of _zend_ast_znode"][::std::mem::align_of::<_zend_ast_znode>() - 8usize];
5465 ["Offset of field: _zend_ast_znode::kind"]
5466 [::std::mem::offset_of!(_zend_ast_znode, kind) - 0usize];
5467 ["Offset of field: _zend_ast_znode::attr"]
5468 [::std::mem::offset_of!(_zend_ast_znode, attr) - 2usize];
5469 ["Offset of field: _zend_ast_znode::lineno"]
5470 [::std::mem::offset_of!(_zend_ast_znode, lineno) - 4usize];
5471 ["Offset of field: _zend_ast_znode::node"]
5472 [::std::mem::offset_of!(_zend_ast_znode, node) - 8usize];
5473};
5474pub type zend_ast_znode = _zend_ast_znode;
5475extern "C" {
5476 pub fn zend_ast_create_znode(node: *mut znode) -> *mut zend_ast;
5477}
5478#[repr(C)]
5479#[derive(Debug, Copy, Clone)]
5480pub struct _zend_declarables {
5481 pub ticks: zend_long,
5482}
5483#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5484const _: () = {
5485 ["Size of _zend_declarables"][::std::mem::size_of::<_zend_declarables>() - 8usize];
5486 ["Alignment of _zend_declarables"][::std::mem::align_of::<_zend_declarables>() - 8usize];
5487 ["Offset of field: _zend_declarables::ticks"]
5488 [::std::mem::offset_of!(_zend_declarables, ticks) - 0usize];
5489};
5490pub type zend_declarables = _zend_declarables;
5491#[repr(C)]
5492#[derive(Copy, Clone)]
5493pub struct _zend_file_context {
5494 pub declarables: zend_declarables,
5495 pub current_namespace: *mut zend_string,
5496 pub in_namespace: bool,
5497 pub has_bracketed_namespaces: bool,
5498 pub imports: *mut HashTable,
5499 pub imports_function: *mut HashTable,
5500 pub imports_const: *mut HashTable,
5501 pub seen_symbols: HashTable,
5502}
5503#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5504const _: () = {
5505 ["Size of _zend_file_context"][::std::mem::size_of::<_zend_file_context>() - 104usize];
5506 ["Alignment of _zend_file_context"][::std::mem::align_of::<_zend_file_context>() - 8usize];
5507 ["Offset of field: _zend_file_context::declarables"]
5508 [::std::mem::offset_of!(_zend_file_context, declarables) - 0usize];
5509 ["Offset of field: _zend_file_context::current_namespace"]
5510 [::std::mem::offset_of!(_zend_file_context, current_namespace) - 8usize];
5511 ["Offset of field: _zend_file_context::in_namespace"]
5512 [::std::mem::offset_of!(_zend_file_context, in_namespace) - 16usize];
5513 ["Offset of field: _zend_file_context::has_bracketed_namespaces"]
5514 [::std::mem::offset_of!(_zend_file_context, has_bracketed_namespaces) - 17usize];
5515 ["Offset of field: _zend_file_context::imports"]
5516 [::std::mem::offset_of!(_zend_file_context, imports) - 24usize];
5517 ["Offset of field: _zend_file_context::imports_function"]
5518 [::std::mem::offset_of!(_zend_file_context, imports_function) - 32usize];
5519 ["Offset of field: _zend_file_context::imports_const"]
5520 [::std::mem::offset_of!(_zend_file_context, imports_const) - 40usize];
5521 ["Offset of field: _zend_file_context::seen_symbols"]
5522 [::std::mem::offset_of!(_zend_file_context, seen_symbols) - 48usize];
5523};
5524pub type zend_file_context = _zend_file_context;
5525#[repr(C)]
5526#[derive(Copy, Clone)]
5527pub union _zend_parser_stack_elem {
5528 pub ast: *mut zend_ast,
5529 pub str_: *mut zend_string,
5530 pub num: zend_ulong,
5531 pub ptr: *mut ::std::os::raw::c_uchar,
5532 pub ident: *mut ::std::os::raw::c_uchar,
5533}
5534#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5535const _: () = {
5536 ["Size of _zend_parser_stack_elem"][::std::mem::size_of::<_zend_parser_stack_elem>() - 8usize];
5537 ["Alignment of _zend_parser_stack_elem"]
5538 [::std::mem::align_of::<_zend_parser_stack_elem>() - 8usize];
5539 ["Offset of field: _zend_parser_stack_elem::ast"]
5540 [::std::mem::offset_of!(_zend_parser_stack_elem, ast) - 0usize];
5541 ["Offset of field: _zend_parser_stack_elem::str_"]
5542 [::std::mem::offset_of!(_zend_parser_stack_elem, str_) - 0usize];
5543 ["Offset of field: _zend_parser_stack_elem::num"]
5544 [::std::mem::offset_of!(_zend_parser_stack_elem, num) - 0usize];
5545 ["Offset of field: _zend_parser_stack_elem::ptr"]
5546 [::std::mem::offset_of!(_zend_parser_stack_elem, ptr) - 0usize];
5547 ["Offset of field: _zend_parser_stack_elem::ident"]
5548 [::std::mem::offset_of!(_zend_parser_stack_elem, ident) - 0usize];
5549};
5550pub type zend_parser_stack_elem = _zend_parser_stack_elem;
5551extern "C" {
5552 pub fn zend_compile_top_stmt(ast: *mut zend_ast);
5553}
5554extern "C" {
5555 pub fn zend_const_expr_to_zval(
5556 result: *mut zval,
5557 ast_ptr: *mut *mut zend_ast,
5558 allow_dynamic: bool,
5559 );
5560}
5561pub type user_opcode_handler_t = ::std::option::Option<
5562 unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
5563>;
5564#[repr(C)]
5565#[derive(Copy, Clone)]
5566pub struct _zend_op {
5567 pub handler: *const ::std::os::raw::c_void,
5568 pub op1: znode_op,
5569 pub op2: znode_op,
5570 pub result: znode_op,
5571 pub extended_value: u32,
5572 pub lineno: u32,
5573 pub opcode: u8,
5574 pub op1_type: u8,
5575 pub op2_type: u8,
5576 pub result_type: u8,
5577}
5578#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5579const _: () = {
5580 ["Size of _zend_op"][::std::mem::size_of::<_zend_op>() - 32usize];
5581 ["Alignment of _zend_op"][::std::mem::align_of::<_zend_op>() - 8usize];
5582 ["Offset of field: _zend_op::handler"][::std::mem::offset_of!(_zend_op, handler) - 0usize];
5583 ["Offset of field: _zend_op::op1"][::std::mem::offset_of!(_zend_op, op1) - 8usize];
5584 ["Offset of field: _zend_op::op2"][::std::mem::offset_of!(_zend_op, op2) - 12usize];
5585 ["Offset of field: _zend_op::result"][::std::mem::offset_of!(_zend_op, result) - 16usize];
5586 ["Offset of field: _zend_op::extended_value"]
5587 [::std::mem::offset_of!(_zend_op, extended_value) - 20usize];
5588 ["Offset of field: _zend_op::lineno"][::std::mem::offset_of!(_zend_op, lineno) - 24usize];
5589 ["Offset of field: _zend_op::opcode"][::std::mem::offset_of!(_zend_op, opcode) - 28usize];
5590 ["Offset of field: _zend_op::op1_type"][::std::mem::offset_of!(_zend_op, op1_type) - 29usize];
5591 ["Offset of field: _zend_op::op2_type"][::std::mem::offset_of!(_zend_op, op2_type) - 30usize];
5592 ["Offset of field: _zend_op::result_type"]
5593 [::std::mem::offset_of!(_zend_op, result_type) - 31usize];
5594};
5595#[repr(C)]
5596#[derive(Debug, Copy, Clone)]
5597pub struct _zend_brk_cont_element {
5598 pub start: ::std::os::raw::c_int,
5599 pub cont: ::std::os::raw::c_int,
5600 pub brk: ::std::os::raw::c_int,
5601 pub parent: ::std::os::raw::c_int,
5602 pub is_switch: bool,
5603}
5604#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5605const _: () = {
5606 ["Size of _zend_brk_cont_element"][::std::mem::size_of::<_zend_brk_cont_element>() - 20usize];
5607 ["Alignment of _zend_brk_cont_element"]
5608 [::std::mem::align_of::<_zend_brk_cont_element>() - 4usize];
5609 ["Offset of field: _zend_brk_cont_element::start"]
5610 [::std::mem::offset_of!(_zend_brk_cont_element, start) - 0usize];
5611 ["Offset of field: _zend_brk_cont_element::cont"]
5612 [::std::mem::offset_of!(_zend_brk_cont_element, cont) - 4usize];
5613 ["Offset of field: _zend_brk_cont_element::brk"]
5614 [::std::mem::offset_of!(_zend_brk_cont_element, brk) - 8usize];
5615 ["Offset of field: _zend_brk_cont_element::parent"]
5616 [::std::mem::offset_of!(_zend_brk_cont_element, parent) - 12usize];
5617 ["Offset of field: _zend_brk_cont_element::is_switch"]
5618 [::std::mem::offset_of!(_zend_brk_cont_element, is_switch) - 16usize];
5619};
5620pub type zend_brk_cont_element = _zend_brk_cont_element;
5621#[repr(C)]
5622#[derive(Debug, Copy, Clone)]
5623pub struct _zend_label {
5624 pub brk_cont: ::std::os::raw::c_int,
5625 pub opline_num: u32,
5626}
5627#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5628const _: () = {
5629 ["Size of _zend_label"][::std::mem::size_of::<_zend_label>() - 8usize];
5630 ["Alignment of _zend_label"][::std::mem::align_of::<_zend_label>() - 4usize];
5631 ["Offset of field: _zend_label::brk_cont"]
5632 [::std::mem::offset_of!(_zend_label, brk_cont) - 0usize];
5633 ["Offset of field: _zend_label::opline_num"]
5634 [::std::mem::offset_of!(_zend_label, opline_num) - 4usize];
5635};
5636pub type zend_label = _zend_label;
5637#[repr(C)]
5638#[derive(Debug, Copy, Clone)]
5639pub struct _zend_try_catch_element {
5640 pub try_op: u32,
5641 pub catch_op: u32,
5642 pub finally_op: u32,
5643 pub finally_end: u32,
5644}
5645#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5646const _: () = {
5647 ["Size of _zend_try_catch_element"][::std::mem::size_of::<_zend_try_catch_element>() - 16usize];
5648 ["Alignment of _zend_try_catch_element"]
5649 [::std::mem::align_of::<_zend_try_catch_element>() - 4usize];
5650 ["Offset of field: _zend_try_catch_element::try_op"]
5651 [::std::mem::offset_of!(_zend_try_catch_element, try_op) - 0usize];
5652 ["Offset of field: _zend_try_catch_element::catch_op"]
5653 [::std::mem::offset_of!(_zend_try_catch_element, catch_op) - 4usize];
5654 ["Offset of field: _zend_try_catch_element::finally_op"]
5655 [::std::mem::offset_of!(_zend_try_catch_element, finally_op) - 8usize];
5656 ["Offset of field: _zend_try_catch_element::finally_end"]
5657 [::std::mem::offset_of!(_zend_try_catch_element, finally_end) - 12usize];
5658};
5659pub type zend_try_catch_element = _zend_try_catch_element;
5660#[repr(C)]
5661#[derive(Debug, Copy, Clone)]
5662pub struct _zend_live_range {
5663 pub var: u32,
5664 pub start: u32,
5665 pub end: u32,
5666}
5667#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5668const _: () = {
5669 ["Size of _zend_live_range"][::std::mem::size_of::<_zend_live_range>() - 12usize];
5670 ["Alignment of _zend_live_range"][::std::mem::align_of::<_zend_live_range>() - 4usize];
5671 ["Offset of field: _zend_live_range::var"]
5672 [::std::mem::offset_of!(_zend_live_range, var) - 0usize];
5673 ["Offset of field: _zend_live_range::start"]
5674 [::std::mem::offset_of!(_zend_live_range, start) - 4usize];
5675 ["Offset of field: _zend_live_range::end"]
5676 [::std::mem::offset_of!(_zend_live_range, end) - 8usize];
5677};
5678pub type zend_live_range = _zend_live_range;
5679#[repr(C)]
5680#[derive(Debug, Copy, Clone)]
5681pub struct _zend_oparray_context {
5682 pub opcodes_size: u32,
5683 pub vars_size: ::std::os::raw::c_int,
5684 pub literals_size: ::std::os::raw::c_int,
5685 pub fast_call_var: u32,
5686 pub try_catch_offset: u32,
5687 pub current_brk_cont: ::std::os::raw::c_int,
5688 pub last_brk_cont: ::std::os::raw::c_int,
5689 pub brk_cont_array: *mut zend_brk_cont_element,
5690 pub labels: *mut HashTable,
5691}
5692#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5693const _: () = {
5694 ["Size of _zend_oparray_context"][::std::mem::size_of::<_zend_oparray_context>() - 48usize];
5695 ["Alignment of _zend_oparray_context"]
5696 [::std::mem::align_of::<_zend_oparray_context>() - 8usize];
5697 ["Offset of field: _zend_oparray_context::opcodes_size"]
5698 [::std::mem::offset_of!(_zend_oparray_context, opcodes_size) - 0usize];
5699 ["Offset of field: _zend_oparray_context::vars_size"]
5700 [::std::mem::offset_of!(_zend_oparray_context, vars_size) - 4usize];
5701 ["Offset of field: _zend_oparray_context::literals_size"]
5702 [::std::mem::offset_of!(_zend_oparray_context, literals_size) - 8usize];
5703 ["Offset of field: _zend_oparray_context::fast_call_var"]
5704 [::std::mem::offset_of!(_zend_oparray_context, fast_call_var) - 12usize];
5705 ["Offset of field: _zend_oparray_context::try_catch_offset"]
5706 [::std::mem::offset_of!(_zend_oparray_context, try_catch_offset) - 16usize];
5707 ["Offset of field: _zend_oparray_context::current_brk_cont"]
5708 [::std::mem::offset_of!(_zend_oparray_context, current_brk_cont) - 20usize];
5709 ["Offset of field: _zend_oparray_context::last_brk_cont"]
5710 [::std::mem::offset_of!(_zend_oparray_context, last_brk_cont) - 24usize];
5711 ["Offset of field: _zend_oparray_context::brk_cont_array"]
5712 [::std::mem::offset_of!(_zend_oparray_context, brk_cont_array) - 32usize];
5713 ["Offset of field: _zend_oparray_context::labels"]
5714 [::std::mem::offset_of!(_zend_oparray_context, labels) - 40usize];
5715};
5716pub type zend_oparray_context = _zend_oparray_context;
5717extern "C" {
5718 pub fn zend_visibility_string(fn_flags: u32) -> *mut ::std::os::raw::c_char;
5719}
5720#[repr(C)]
5721#[derive(Debug, Copy, Clone)]
5722pub struct _zend_property_info {
5723 pub offset: u32,
5724 pub flags: u32,
5725 pub name: *mut zend_string,
5726 pub doc_comment: *mut zend_string,
5727 pub attributes: *mut HashTable,
5728 pub ce: *mut zend_class_entry,
5729 pub type_: zend_type,
5730}
5731#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5732const _: () = {
5733 ["Size of _zend_property_info"][::std::mem::size_of::<_zend_property_info>() - 56usize];
5734 ["Alignment of _zend_property_info"][::std::mem::align_of::<_zend_property_info>() - 8usize];
5735 ["Offset of field: _zend_property_info::offset"]
5736 [::std::mem::offset_of!(_zend_property_info, offset) - 0usize];
5737 ["Offset of field: _zend_property_info::flags"]
5738 [::std::mem::offset_of!(_zend_property_info, flags) - 4usize];
5739 ["Offset of field: _zend_property_info::name"]
5740 [::std::mem::offset_of!(_zend_property_info, name) - 8usize];
5741 ["Offset of field: _zend_property_info::doc_comment"]
5742 [::std::mem::offset_of!(_zend_property_info, doc_comment) - 16usize];
5743 ["Offset of field: _zend_property_info::attributes"]
5744 [::std::mem::offset_of!(_zend_property_info, attributes) - 24usize];
5745 ["Offset of field: _zend_property_info::ce"]
5746 [::std::mem::offset_of!(_zend_property_info, ce) - 32usize];
5747 ["Offset of field: _zend_property_info::type_"]
5748 [::std::mem::offset_of!(_zend_property_info, type_) - 40usize];
5749};
5750pub type zend_property_info = _zend_property_info;
5751#[repr(C)]
5752#[derive(Copy, Clone)]
5753pub struct _zend_class_constant {
5754 pub value: zval,
5755 pub doc_comment: *mut zend_string,
5756 pub attributes: *mut HashTable,
5757 pub ce: *mut zend_class_entry,
5758 pub type_: zend_type,
5759}
5760#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5761const _: () = {
5762 ["Size of _zend_class_constant"][::std::mem::size_of::<_zend_class_constant>() - 56usize];
5763 ["Alignment of _zend_class_constant"][::std::mem::align_of::<_zend_class_constant>() - 8usize];
5764 ["Offset of field: _zend_class_constant::value"]
5765 [::std::mem::offset_of!(_zend_class_constant, value) - 0usize];
5766 ["Offset of field: _zend_class_constant::doc_comment"]
5767 [::std::mem::offset_of!(_zend_class_constant, doc_comment) - 16usize];
5768 ["Offset of field: _zend_class_constant::attributes"]
5769 [::std::mem::offset_of!(_zend_class_constant, attributes) - 24usize];
5770 ["Offset of field: _zend_class_constant::ce"]
5771 [::std::mem::offset_of!(_zend_class_constant, ce) - 32usize];
5772 ["Offset of field: _zend_class_constant::type_"]
5773 [::std::mem::offset_of!(_zend_class_constant, type_) - 40usize];
5774};
5775pub type zend_class_constant = _zend_class_constant;
5776#[repr(C)]
5777#[derive(Debug, Copy, Clone)]
5778pub struct _zend_internal_arg_info {
5779 pub name: *const ::std::os::raw::c_char,
5780 pub type_: zend_type,
5781 pub default_value: *const ::std::os::raw::c_char,
5782}
5783#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5784const _: () = {
5785 ["Size of _zend_internal_arg_info"][::std::mem::size_of::<_zend_internal_arg_info>() - 32usize];
5786 ["Alignment of _zend_internal_arg_info"]
5787 [::std::mem::align_of::<_zend_internal_arg_info>() - 8usize];
5788 ["Offset of field: _zend_internal_arg_info::name"]
5789 [::std::mem::offset_of!(_zend_internal_arg_info, name) - 0usize];
5790 ["Offset of field: _zend_internal_arg_info::type_"]
5791 [::std::mem::offset_of!(_zend_internal_arg_info, type_) - 8usize];
5792 ["Offset of field: _zend_internal_arg_info::default_value"]
5793 [::std::mem::offset_of!(_zend_internal_arg_info, default_value) - 24usize];
5794};
5795pub type zend_internal_arg_info = _zend_internal_arg_info;
5796#[repr(C)]
5797#[derive(Debug, Copy, Clone)]
5798pub struct _zend_arg_info {
5799 pub name: *mut zend_string,
5800 pub type_: zend_type,
5801 pub default_value: *mut zend_string,
5802}
5803#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5804const _: () = {
5805 ["Size of _zend_arg_info"][::std::mem::size_of::<_zend_arg_info>() - 32usize];
5806 ["Alignment of _zend_arg_info"][::std::mem::align_of::<_zend_arg_info>() - 8usize];
5807 ["Offset of field: _zend_arg_info::name"]
5808 [::std::mem::offset_of!(_zend_arg_info, name) - 0usize];
5809 ["Offset of field: _zend_arg_info::type_"]
5810 [::std::mem::offset_of!(_zend_arg_info, type_) - 8usize];
5811 ["Offset of field: _zend_arg_info::default_value"]
5812 [::std::mem::offset_of!(_zend_arg_info, default_value) - 24usize];
5813};
5814pub type zend_arg_info = _zend_arg_info;
5815#[repr(C)]
5816#[derive(Debug, Copy, Clone)]
5817pub struct _zend_internal_function_info {
5818 pub required_num_args: usize,
5819 pub type_: zend_type,
5820 pub default_value: *const ::std::os::raw::c_char,
5821}
5822#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5823const _: () = {
5824 ["Size of _zend_internal_function_info"]
5825 [::std::mem::size_of::<_zend_internal_function_info>() - 32usize];
5826 ["Alignment of _zend_internal_function_info"]
5827 [::std::mem::align_of::<_zend_internal_function_info>() - 8usize];
5828 ["Offset of field: _zend_internal_function_info::required_num_args"]
5829 [::std::mem::offset_of!(_zend_internal_function_info, required_num_args) - 0usize];
5830 ["Offset of field: _zend_internal_function_info::type_"]
5831 [::std::mem::offset_of!(_zend_internal_function_info, type_) - 8usize];
5832 ["Offset of field: _zend_internal_function_info::default_value"]
5833 [::std::mem::offset_of!(_zend_internal_function_info, default_value) - 24usize];
5834};
5835pub type zend_internal_function_info = _zend_internal_function_info;
5836#[repr(C)]
5837#[derive(Debug, Copy, Clone)]
5838pub struct _zend_op_array {
5839 pub type_: u8,
5840 pub arg_flags: [u8; 3usize],
5841 pub fn_flags: u32,
5842 pub function_name: *mut zend_string,
5843 pub scope: *mut zend_class_entry,
5844 pub prototype: *mut zend_function,
5845 pub num_args: u32,
5846 pub required_num_args: u32,
5847 pub arg_info: *mut zend_arg_info,
5848 pub attributes: *mut HashTable,
5849 pub run_time_cache__ptr: *mut *mut ::std::os::raw::c_void,
5850 pub T: u32,
5851 pub cache_size: ::std::os::raw::c_int,
5852 pub last_var: ::std::os::raw::c_int,
5853 pub last: u32,
5854 pub opcodes: *mut zend_op,
5855 pub static_variables_ptr__ptr: *mut HashTable,
5856 pub static_variables: *mut HashTable,
5857 pub vars: *mut *mut zend_string,
5858 pub refcount: *mut u32,
5859 pub last_live_range: ::std::os::raw::c_int,
5860 pub last_try_catch: ::std::os::raw::c_int,
5861 pub live_range: *mut zend_live_range,
5862 pub try_catch_array: *mut zend_try_catch_element,
5863 pub filename: *mut zend_string,
5864 pub line_start: u32,
5865 pub line_end: u32,
5866 pub doc_comment: *mut zend_string,
5867 pub last_literal: ::std::os::raw::c_int,
5868 pub num_dynamic_func_defs: u32,
5869 pub literals: *mut zval,
5870 pub dynamic_func_defs: *mut *mut zend_op_array,
5871 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
5872}
5873#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5874const _: () = {
5875 ["Size of _zend_op_array"][::std::mem::size_of::<_zend_op_array>() - 240usize];
5876 ["Alignment of _zend_op_array"][::std::mem::align_of::<_zend_op_array>() - 8usize];
5877 ["Offset of field: _zend_op_array::type_"]
5878 [::std::mem::offset_of!(_zend_op_array, type_) - 0usize];
5879 ["Offset of field: _zend_op_array::arg_flags"]
5880 [::std::mem::offset_of!(_zend_op_array, arg_flags) - 1usize];
5881 ["Offset of field: _zend_op_array::fn_flags"]
5882 [::std::mem::offset_of!(_zend_op_array, fn_flags) - 4usize];
5883 ["Offset of field: _zend_op_array::function_name"]
5884 [::std::mem::offset_of!(_zend_op_array, function_name) - 8usize];
5885 ["Offset of field: _zend_op_array::scope"]
5886 [::std::mem::offset_of!(_zend_op_array, scope) - 16usize];
5887 ["Offset of field: _zend_op_array::prototype"]
5888 [::std::mem::offset_of!(_zend_op_array, prototype) - 24usize];
5889 ["Offset of field: _zend_op_array::num_args"]
5890 [::std::mem::offset_of!(_zend_op_array, num_args) - 32usize];
5891 ["Offset of field: _zend_op_array::required_num_args"]
5892 [::std::mem::offset_of!(_zend_op_array, required_num_args) - 36usize];
5893 ["Offset of field: _zend_op_array::arg_info"]
5894 [::std::mem::offset_of!(_zend_op_array, arg_info) - 40usize];
5895 ["Offset of field: _zend_op_array::attributes"]
5896 [::std::mem::offset_of!(_zend_op_array, attributes) - 48usize];
5897 ["Offset of field: _zend_op_array::run_time_cache__ptr"]
5898 [::std::mem::offset_of!(_zend_op_array, run_time_cache__ptr) - 56usize];
5899 ["Offset of field: _zend_op_array::T"][::std::mem::offset_of!(_zend_op_array, T) - 64usize];
5900 ["Offset of field: _zend_op_array::cache_size"]
5901 [::std::mem::offset_of!(_zend_op_array, cache_size) - 68usize];
5902 ["Offset of field: _zend_op_array::last_var"]
5903 [::std::mem::offset_of!(_zend_op_array, last_var) - 72usize];
5904 ["Offset of field: _zend_op_array::last"]
5905 [::std::mem::offset_of!(_zend_op_array, last) - 76usize];
5906 ["Offset of field: _zend_op_array::opcodes"]
5907 [::std::mem::offset_of!(_zend_op_array, opcodes) - 80usize];
5908 ["Offset of field: _zend_op_array::static_variables_ptr__ptr"]
5909 [::std::mem::offset_of!(_zend_op_array, static_variables_ptr__ptr) - 88usize];
5910 ["Offset of field: _zend_op_array::static_variables"]
5911 [::std::mem::offset_of!(_zend_op_array, static_variables) - 96usize];
5912 ["Offset of field: _zend_op_array::vars"]
5913 [::std::mem::offset_of!(_zend_op_array, vars) - 104usize];
5914 ["Offset of field: _zend_op_array::refcount"]
5915 [::std::mem::offset_of!(_zend_op_array, refcount) - 112usize];
5916 ["Offset of field: _zend_op_array::last_live_range"]
5917 [::std::mem::offset_of!(_zend_op_array, last_live_range) - 120usize];
5918 ["Offset of field: _zend_op_array::last_try_catch"]
5919 [::std::mem::offset_of!(_zend_op_array, last_try_catch) - 124usize];
5920 ["Offset of field: _zend_op_array::live_range"]
5921 [::std::mem::offset_of!(_zend_op_array, live_range) - 128usize];
5922 ["Offset of field: _zend_op_array::try_catch_array"]
5923 [::std::mem::offset_of!(_zend_op_array, try_catch_array) - 136usize];
5924 ["Offset of field: _zend_op_array::filename"]
5925 [::std::mem::offset_of!(_zend_op_array, filename) - 144usize];
5926 ["Offset of field: _zend_op_array::line_start"]
5927 [::std::mem::offset_of!(_zend_op_array, line_start) - 152usize];
5928 ["Offset of field: _zend_op_array::line_end"]
5929 [::std::mem::offset_of!(_zend_op_array, line_end) - 156usize];
5930 ["Offset of field: _zend_op_array::doc_comment"]
5931 [::std::mem::offset_of!(_zend_op_array, doc_comment) - 160usize];
5932 ["Offset of field: _zend_op_array::last_literal"]
5933 [::std::mem::offset_of!(_zend_op_array, last_literal) - 168usize];
5934 ["Offset of field: _zend_op_array::num_dynamic_func_defs"]
5935 [::std::mem::offset_of!(_zend_op_array, num_dynamic_func_defs) - 172usize];
5936 ["Offset of field: _zend_op_array::literals"]
5937 [::std::mem::offset_of!(_zend_op_array, literals) - 176usize];
5938 ["Offset of field: _zend_op_array::dynamic_func_defs"]
5939 [::std::mem::offset_of!(_zend_op_array, dynamic_func_defs) - 184usize];
5940 ["Offset of field: _zend_op_array::reserved"]
5941 [::std::mem::offset_of!(_zend_op_array, reserved) - 192usize];
5942};
5943pub type zif_handler = ::std::option::Option<
5944 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
5945>;
5946#[repr(C)]
5947#[derive(Debug, Copy, Clone)]
5948pub struct _zend_internal_function {
5949 pub type_: u8,
5950 pub arg_flags: [u8; 3usize],
5951 pub fn_flags: u32,
5952 pub function_name: *mut zend_string,
5953 pub scope: *mut zend_class_entry,
5954 pub prototype: *mut zend_function,
5955 pub num_args: u32,
5956 pub required_num_args: u32,
5957 pub arg_info: *mut zend_internal_arg_info,
5958 pub attributes: *mut HashTable,
5959 pub run_time_cache__ptr: *mut *mut ::std::os::raw::c_void,
5960 pub T: u32,
5961 pub handler: zif_handler,
5962 pub module: *mut _zend_module_entry,
5963 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
5964}
5965#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5966const _: () = {
5967 ["Size of _zend_internal_function"]
5968 [::std::mem::size_of::<_zend_internal_function>() - 136usize];
5969 ["Alignment of _zend_internal_function"]
5970 [::std::mem::align_of::<_zend_internal_function>() - 8usize];
5971 ["Offset of field: _zend_internal_function::type_"]
5972 [::std::mem::offset_of!(_zend_internal_function, type_) - 0usize];
5973 ["Offset of field: _zend_internal_function::arg_flags"]
5974 [::std::mem::offset_of!(_zend_internal_function, arg_flags) - 1usize];
5975 ["Offset of field: _zend_internal_function::fn_flags"]
5976 [::std::mem::offset_of!(_zend_internal_function, fn_flags) - 4usize];
5977 ["Offset of field: _zend_internal_function::function_name"]
5978 [::std::mem::offset_of!(_zend_internal_function, function_name) - 8usize];
5979 ["Offset of field: _zend_internal_function::scope"]
5980 [::std::mem::offset_of!(_zend_internal_function, scope) - 16usize];
5981 ["Offset of field: _zend_internal_function::prototype"]
5982 [::std::mem::offset_of!(_zend_internal_function, prototype) - 24usize];
5983 ["Offset of field: _zend_internal_function::num_args"]
5984 [::std::mem::offset_of!(_zend_internal_function, num_args) - 32usize];
5985 ["Offset of field: _zend_internal_function::required_num_args"]
5986 [::std::mem::offset_of!(_zend_internal_function, required_num_args) - 36usize];
5987 ["Offset of field: _zend_internal_function::arg_info"]
5988 [::std::mem::offset_of!(_zend_internal_function, arg_info) - 40usize];
5989 ["Offset of field: _zend_internal_function::attributes"]
5990 [::std::mem::offset_of!(_zend_internal_function, attributes) - 48usize];
5991 ["Offset of field: _zend_internal_function::run_time_cache__ptr"]
5992 [::std::mem::offset_of!(_zend_internal_function, run_time_cache__ptr) - 56usize];
5993 ["Offset of field: _zend_internal_function::T"]
5994 [::std::mem::offset_of!(_zend_internal_function, T) - 64usize];
5995 ["Offset of field: _zend_internal_function::handler"]
5996 [::std::mem::offset_of!(_zend_internal_function, handler) - 72usize];
5997 ["Offset of field: _zend_internal_function::module"]
5998 [::std::mem::offset_of!(_zend_internal_function, module) - 80usize];
5999 ["Offset of field: _zend_internal_function::reserved"]
6000 [::std::mem::offset_of!(_zend_internal_function, reserved) - 88usize];
6001};
6002pub type zend_internal_function = _zend_internal_function;
6003#[repr(C)]
6004#[derive(Copy, Clone)]
6005pub union _zend_function {
6006 pub type_: u8,
6007 pub quick_arg_flags: u32,
6008 pub common: _zend_function__bindgen_ty_1,
6009 pub op_array: zend_op_array,
6010 pub internal_function: zend_internal_function,
6011}
6012#[repr(C)]
6013#[derive(Debug, Copy, Clone)]
6014pub struct _zend_function__bindgen_ty_1 {
6015 pub type_: u8,
6016 pub arg_flags: [u8; 3usize],
6017 pub fn_flags: u32,
6018 pub function_name: *mut zend_string,
6019 pub scope: *mut zend_class_entry,
6020 pub prototype: *mut zend_function,
6021 pub num_args: u32,
6022 pub required_num_args: u32,
6023 pub arg_info: *mut zend_arg_info,
6024 pub attributes: *mut HashTable,
6025 pub run_time_cache__ptr: *mut *mut ::std::os::raw::c_void,
6026 pub T: u32,
6027}
6028#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6029const _: () = {
6030 ["Size of _zend_function__bindgen_ty_1"]
6031 [::std::mem::size_of::<_zend_function__bindgen_ty_1>() - 72usize];
6032 ["Alignment of _zend_function__bindgen_ty_1"]
6033 [::std::mem::align_of::<_zend_function__bindgen_ty_1>() - 8usize];
6034 ["Offset of field: _zend_function__bindgen_ty_1::type_"]
6035 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, type_) - 0usize];
6036 ["Offset of field: _zend_function__bindgen_ty_1::arg_flags"]
6037 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_flags) - 1usize];
6038 ["Offset of field: _zend_function__bindgen_ty_1::fn_flags"]
6039 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, fn_flags) - 4usize];
6040 ["Offset of field: _zend_function__bindgen_ty_1::function_name"]
6041 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, function_name) - 8usize];
6042 ["Offset of field: _zend_function__bindgen_ty_1::scope"]
6043 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, scope) - 16usize];
6044 ["Offset of field: _zend_function__bindgen_ty_1::prototype"]
6045 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, prototype) - 24usize];
6046 ["Offset of field: _zend_function__bindgen_ty_1::num_args"]
6047 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, num_args) - 32usize];
6048 ["Offset of field: _zend_function__bindgen_ty_1::required_num_args"]
6049 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, required_num_args) - 36usize];
6050 ["Offset of field: _zend_function__bindgen_ty_1::arg_info"]
6051 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_info) - 40usize];
6052 ["Offset of field: _zend_function__bindgen_ty_1::attributes"]
6053 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, attributes) - 48usize];
6054 ["Offset of field: _zend_function__bindgen_ty_1::run_time_cache__ptr"]
6055 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, run_time_cache__ptr) - 56usize];
6056 ["Offset of field: _zend_function__bindgen_ty_1::T"]
6057 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, T) - 64usize];
6058};
6059#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6060const _: () = {
6061 ["Size of _zend_function"][::std::mem::size_of::<_zend_function>() - 240usize];
6062 ["Alignment of _zend_function"][::std::mem::align_of::<_zend_function>() - 8usize];
6063 ["Offset of field: _zend_function::type_"]
6064 [::std::mem::offset_of!(_zend_function, type_) - 0usize];
6065 ["Offset of field: _zend_function::quick_arg_flags"]
6066 [::std::mem::offset_of!(_zend_function, quick_arg_flags) - 0usize];
6067 ["Offset of field: _zend_function::common"]
6068 [::std::mem::offset_of!(_zend_function, common) - 0usize];
6069 ["Offset of field: _zend_function::op_array"]
6070 [::std::mem::offset_of!(_zend_function, op_array) - 0usize];
6071 ["Offset of field: _zend_function::internal_function"]
6072 [::std::mem::offset_of!(_zend_function, internal_function) - 0usize];
6073};
6074#[repr(C)]
6075#[derive(Copy, Clone)]
6076pub struct _zend_execute_data {
6077 pub opline: *const zend_op,
6078 pub call: *mut zend_execute_data,
6079 pub return_value: *mut zval,
6080 pub func: *mut zend_function,
6081 pub This: zval,
6082 pub prev_execute_data: *mut zend_execute_data,
6083 pub symbol_table: *mut zend_array,
6084 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
6085 pub extra_named_params: *mut zend_array,
6086}
6087#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6088const _: () = {
6089 ["Size of _zend_execute_data"][::std::mem::size_of::<_zend_execute_data>() - 80usize];
6090 ["Alignment of _zend_execute_data"][::std::mem::align_of::<_zend_execute_data>() - 8usize];
6091 ["Offset of field: _zend_execute_data::opline"]
6092 [::std::mem::offset_of!(_zend_execute_data, opline) - 0usize];
6093 ["Offset of field: _zend_execute_data::call"]
6094 [::std::mem::offset_of!(_zend_execute_data, call) - 8usize];
6095 ["Offset of field: _zend_execute_data::return_value"]
6096 [::std::mem::offset_of!(_zend_execute_data, return_value) - 16usize];
6097 ["Offset of field: _zend_execute_data::func"]
6098 [::std::mem::offset_of!(_zend_execute_data, func) - 24usize];
6099 ["Offset of field: _zend_execute_data::This"]
6100 [::std::mem::offset_of!(_zend_execute_data, This) - 32usize];
6101 ["Offset of field: _zend_execute_data::prev_execute_data"]
6102 [::std::mem::offset_of!(_zend_execute_data, prev_execute_data) - 48usize];
6103 ["Offset of field: _zend_execute_data::symbol_table"]
6104 [::std::mem::offset_of!(_zend_execute_data, symbol_table) - 56usize];
6105 ["Offset of field: _zend_execute_data::run_time_cache"]
6106 [::std::mem::offset_of!(_zend_execute_data, run_time_cache) - 64usize];
6107 ["Offset of field: _zend_execute_data::extra_named_params"]
6108 [::std::mem::offset_of!(_zend_execute_data, extra_named_params) - 72usize];
6109};
6110pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
6111#[repr(C)]
6112#[derive(Debug, Copy, Clone)]
6113pub struct __jmp_buf_tag {
6114 pub __jmpbuf: __jmp_buf,
6115 pub __mask_was_saved: ::std::os::raw::c_int,
6116 pub __saved_mask: __sigset_t,
6117}
6118#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6119const _: () = {
6120 ["Size of __jmp_buf_tag"][::std::mem::size_of::<__jmp_buf_tag>() - 200usize];
6121 ["Alignment of __jmp_buf_tag"][::std::mem::align_of::<__jmp_buf_tag>() - 8usize];
6122 ["Offset of field: __jmp_buf_tag::__jmpbuf"]
6123 [::std::mem::offset_of!(__jmp_buf_tag, __jmpbuf) - 0usize];
6124 ["Offset of field: __jmp_buf_tag::__mask_was_saved"]
6125 [::std::mem::offset_of!(__jmp_buf_tag, __mask_was_saved) - 64usize];
6126 ["Offset of field: __jmp_buf_tag::__saved_mask"]
6127 [::std::mem::offset_of!(__jmp_buf_tag, __saved_mask) - 72usize];
6128};
6129pub type jmp_buf = [__jmp_buf_tag; 1usize];
6130pub type zend_compiler_globals = _zend_compiler_globals;
6131pub type zend_executor_globals = _zend_executor_globals;
6132pub type zend_php_scanner_globals = _zend_php_scanner_globals;
6133pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
6134#[repr(C)]
6135#[derive(Copy, Clone)]
6136pub struct _zend_compiler_globals {
6137 pub loop_var_stack: zend_stack,
6138 pub active_class_entry: *mut zend_class_entry,
6139 pub compiled_filename: *mut zend_string,
6140 pub zend_lineno: ::std::os::raw::c_int,
6141 pub active_op_array: *mut zend_op_array,
6142 pub function_table: *mut HashTable,
6143 pub class_table: *mut HashTable,
6144 pub auto_globals: *mut HashTable,
6145 pub parse_error: u8,
6146 pub in_compilation: bool,
6147 pub short_tags: bool,
6148 pub unclean_shutdown: bool,
6149 pub ini_parser_unbuffered_errors: bool,
6150 pub open_files: zend_llist,
6151 pub ini_parser_param: *mut _zend_ini_parser_param,
6152 pub skip_shebang: bool,
6153 pub increment_lineno: bool,
6154 pub variable_width_locale: bool,
6155 pub ascii_compatible_locale: bool,
6156 pub doc_comment: *mut zend_string,
6157 pub extra_fn_flags: u32,
6158 pub compiler_options: u32,
6159 pub context: zend_oparray_context,
6160 pub file_context: zend_file_context,
6161 pub arena: *mut zend_arena,
6162 pub interned_strings: HashTable,
6163 pub script_encoding_list: *mut *const zend_encoding,
6164 pub script_encoding_list_size: usize,
6165 pub multibyte: bool,
6166 pub detect_unicode: bool,
6167 pub encoding_declared: bool,
6168 pub ast: *mut zend_ast,
6169 pub ast_arena: *mut zend_arena,
6170 pub delayed_oplines_stack: zend_stack,
6171 pub memoized_exprs: *mut HashTable,
6172 pub memoize_mode: zend_memoize_mode,
6173 pub map_ptr_real_base: *mut ::std::os::raw::c_void,
6174 pub map_ptr_base: *mut ::std::os::raw::c_void,
6175 pub map_ptr_size: usize,
6176 pub map_ptr_last: usize,
6177 pub delayed_variance_obligations: *mut HashTable,
6178 pub delayed_autoloads: *mut HashTable,
6179 pub unlinked_uses: *mut HashTable,
6180 pub current_linking_class: *mut zend_class_entry,
6181 pub rtd_key_counter: u32,
6182 pub short_circuiting_opnums: zend_stack,
6183}
6184#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6185const _: () = {
6186 ["Size of _zend_compiler_globals"][::std::mem::size_of::<_zend_compiler_globals>() - 568usize];
6187 ["Alignment of _zend_compiler_globals"]
6188 [::std::mem::align_of::<_zend_compiler_globals>() - 8usize];
6189 ["Offset of field: _zend_compiler_globals::loop_var_stack"]
6190 [::std::mem::offset_of!(_zend_compiler_globals, loop_var_stack) - 0usize];
6191 ["Offset of field: _zend_compiler_globals::active_class_entry"]
6192 [::std::mem::offset_of!(_zend_compiler_globals, active_class_entry) - 24usize];
6193 ["Offset of field: _zend_compiler_globals::compiled_filename"]
6194 [::std::mem::offset_of!(_zend_compiler_globals, compiled_filename) - 32usize];
6195 ["Offset of field: _zend_compiler_globals::zend_lineno"]
6196 [::std::mem::offset_of!(_zend_compiler_globals, zend_lineno) - 40usize];
6197 ["Offset of field: _zend_compiler_globals::active_op_array"]
6198 [::std::mem::offset_of!(_zend_compiler_globals, active_op_array) - 48usize];
6199 ["Offset of field: _zend_compiler_globals::function_table"]
6200 [::std::mem::offset_of!(_zend_compiler_globals, function_table) - 56usize];
6201 ["Offset of field: _zend_compiler_globals::class_table"]
6202 [::std::mem::offset_of!(_zend_compiler_globals, class_table) - 64usize];
6203 ["Offset of field: _zend_compiler_globals::auto_globals"]
6204 [::std::mem::offset_of!(_zend_compiler_globals, auto_globals) - 72usize];
6205 ["Offset of field: _zend_compiler_globals::parse_error"]
6206 [::std::mem::offset_of!(_zend_compiler_globals, parse_error) - 80usize];
6207 ["Offset of field: _zend_compiler_globals::in_compilation"]
6208 [::std::mem::offset_of!(_zend_compiler_globals, in_compilation) - 81usize];
6209 ["Offset of field: _zend_compiler_globals::short_tags"]
6210 [::std::mem::offset_of!(_zend_compiler_globals, short_tags) - 82usize];
6211 ["Offset of field: _zend_compiler_globals::unclean_shutdown"]
6212 [::std::mem::offset_of!(_zend_compiler_globals, unclean_shutdown) - 83usize];
6213 ["Offset of field: _zend_compiler_globals::ini_parser_unbuffered_errors"]
6214 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_unbuffered_errors) - 84usize];
6215 ["Offset of field: _zend_compiler_globals::open_files"]
6216 [::std::mem::offset_of!(_zend_compiler_globals, open_files) - 88usize];
6217 ["Offset of field: _zend_compiler_globals::ini_parser_param"]
6218 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_param) - 144usize];
6219 ["Offset of field: _zend_compiler_globals::skip_shebang"]
6220 [::std::mem::offset_of!(_zend_compiler_globals, skip_shebang) - 152usize];
6221 ["Offset of field: _zend_compiler_globals::increment_lineno"]
6222 [::std::mem::offset_of!(_zend_compiler_globals, increment_lineno) - 153usize];
6223 ["Offset of field: _zend_compiler_globals::variable_width_locale"]
6224 [::std::mem::offset_of!(_zend_compiler_globals, variable_width_locale) - 154usize];
6225 ["Offset of field: _zend_compiler_globals::ascii_compatible_locale"]
6226 [::std::mem::offset_of!(_zend_compiler_globals, ascii_compatible_locale) - 155usize];
6227 ["Offset of field: _zend_compiler_globals::doc_comment"]
6228 [::std::mem::offset_of!(_zend_compiler_globals, doc_comment) - 160usize];
6229 ["Offset of field: _zend_compiler_globals::extra_fn_flags"]
6230 [::std::mem::offset_of!(_zend_compiler_globals, extra_fn_flags) - 168usize];
6231 ["Offset of field: _zend_compiler_globals::compiler_options"]
6232 [::std::mem::offset_of!(_zend_compiler_globals, compiler_options) - 172usize];
6233 ["Offset of field: _zend_compiler_globals::context"]
6234 [::std::mem::offset_of!(_zend_compiler_globals, context) - 176usize];
6235 ["Offset of field: _zend_compiler_globals::file_context"]
6236 [::std::mem::offset_of!(_zend_compiler_globals, file_context) - 224usize];
6237 ["Offset of field: _zend_compiler_globals::arena"]
6238 [::std::mem::offset_of!(_zend_compiler_globals, arena) - 328usize];
6239 ["Offset of field: _zend_compiler_globals::interned_strings"]
6240 [::std::mem::offset_of!(_zend_compiler_globals, interned_strings) - 336usize];
6241 ["Offset of field: _zend_compiler_globals::script_encoding_list"]
6242 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list) - 392usize];
6243 ["Offset of field: _zend_compiler_globals::script_encoding_list_size"]
6244 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list_size) - 400usize];
6245 ["Offset of field: _zend_compiler_globals::multibyte"]
6246 [::std::mem::offset_of!(_zend_compiler_globals, multibyte) - 408usize];
6247 ["Offset of field: _zend_compiler_globals::detect_unicode"]
6248 [::std::mem::offset_of!(_zend_compiler_globals, detect_unicode) - 409usize];
6249 ["Offset of field: _zend_compiler_globals::encoding_declared"]
6250 [::std::mem::offset_of!(_zend_compiler_globals, encoding_declared) - 410usize];
6251 ["Offset of field: _zend_compiler_globals::ast"]
6252 [::std::mem::offset_of!(_zend_compiler_globals, ast) - 416usize];
6253 ["Offset of field: _zend_compiler_globals::ast_arena"]
6254 [::std::mem::offset_of!(_zend_compiler_globals, ast_arena) - 424usize];
6255 ["Offset of field: _zend_compiler_globals::delayed_oplines_stack"]
6256 [::std::mem::offset_of!(_zend_compiler_globals, delayed_oplines_stack) - 432usize];
6257 ["Offset of field: _zend_compiler_globals::memoized_exprs"]
6258 [::std::mem::offset_of!(_zend_compiler_globals, memoized_exprs) - 456usize];
6259 ["Offset of field: _zend_compiler_globals::memoize_mode"]
6260 [::std::mem::offset_of!(_zend_compiler_globals, memoize_mode) - 464usize];
6261 ["Offset of field: _zend_compiler_globals::map_ptr_real_base"]
6262 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_real_base) - 472usize];
6263 ["Offset of field: _zend_compiler_globals::map_ptr_base"]
6264 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_base) - 480usize];
6265 ["Offset of field: _zend_compiler_globals::map_ptr_size"]
6266 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_size) - 488usize];
6267 ["Offset of field: _zend_compiler_globals::map_ptr_last"]
6268 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_last) - 496usize];
6269 ["Offset of field: _zend_compiler_globals::delayed_variance_obligations"]
6270 [::std::mem::offset_of!(_zend_compiler_globals, delayed_variance_obligations) - 504usize];
6271 ["Offset of field: _zend_compiler_globals::delayed_autoloads"]
6272 [::std::mem::offset_of!(_zend_compiler_globals, delayed_autoloads) - 512usize];
6273 ["Offset of field: _zend_compiler_globals::unlinked_uses"]
6274 [::std::mem::offset_of!(_zend_compiler_globals, unlinked_uses) - 520usize];
6275 ["Offset of field: _zend_compiler_globals::current_linking_class"]
6276 [::std::mem::offset_of!(_zend_compiler_globals, current_linking_class) - 528usize];
6277 ["Offset of field: _zend_compiler_globals::rtd_key_counter"]
6278 [::std::mem::offset_of!(_zend_compiler_globals, rtd_key_counter) - 536usize];
6279 ["Offset of field: _zend_compiler_globals::short_circuiting_opnums"]
6280 [::std::mem::offset_of!(_zend_compiler_globals, short_circuiting_opnums) - 544usize];
6281};
6282extern "C" {
6283 pub static mut compiler_globals: _zend_compiler_globals;
6284}
6285extern "C" {
6286 pub fn zendparse() -> ::std::os::raw::c_int;
6287}
6288extern "C" {
6289 pub static mut executor_globals: zend_executor_globals;
6290}
6291extern "C" {
6292 pub static mut language_scanner_globals: zend_php_scanner_globals;
6293}
6294extern "C" {
6295 pub static mut ini_scanner_globals: zend_ini_scanner_globals;
6296}
6297#[repr(C)]
6298#[derive(Debug, Copy, Clone)]
6299pub struct zend_atomic_bool_s {
6300 pub value: u8,
6301}
6302#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6303const _: () = {
6304 ["Size of zend_atomic_bool_s"][::std::mem::size_of::<zend_atomic_bool_s>() - 1usize];
6305 ["Alignment of zend_atomic_bool_s"][::std::mem::align_of::<zend_atomic_bool_s>() - 1usize];
6306 ["Offset of field: zend_atomic_bool_s::value"]
6307 [::std::mem::offset_of!(zend_atomic_bool_s, value) - 0usize];
6308};
6309pub type zend_atomic_bool = zend_atomic_bool_s;
6310extern "C" {
6311 pub fn zend_atomic_bool_init(obj: *mut zend_atomic_bool, desired: bool);
6312}
6313extern "C" {
6314 pub fn zend_atomic_bool_exchange(obj: *mut zend_atomic_bool, desired: bool) -> bool;
6315}
6316extern "C" {
6317 pub fn zend_atomic_bool_store(obj: *mut zend_atomic_bool, desired: bool);
6318}
6319extern "C" {
6320 pub fn zend_atomic_bool_load(obj: *const zend_atomic_bool) -> bool;
6321}
6322#[repr(C)]
6323#[derive(Debug, Copy, Clone)]
6324pub struct _zend_stack {
6325 pub size: ::std::os::raw::c_int,
6326 pub top: ::std::os::raw::c_int,
6327 pub max: ::std::os::raw::c_int,
6328 pub elements: *mut ::std::os::raw::c_void,
6329}
6330#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6331const _: () = {
6332 ["Size of _zend_stack"][::std::mem::size_of::<_zend_stack>() - 24usize];
6333 ["Alignment of _zend_stack"][::std::mem::align_of::<_zend_stack>() - 8usize];
6334 ["Offset of field: _zend_stack::size"][::std::mem::offset_of!(_zend_stack, size) - 0usize];
6335 ["Offset of field: _zend_stack::top"][::std::mem::offset_of!(_zend_stack, top) - 4usize];
6336 ["Offset of field: _zend_stack::max"][::std::mem::offset_of!(_zend_stack, max) - 8usize];
6337 ["Offset of field: _zend_stack::elements"]
6338 [::std::mem::offset_of!(_zend_stack, elements) - 16usize];
6339};
6340pub type zend_stack = _zend_stack;
6341pub const zend_stack_apply_direction_ZEND_STACK_APPLY_TOPDOWN: zend_stack_apply_direction = 0;
6342pub const zend_stack_apply_direction_ZEND_STACK_APPLY_BOTTOMUP: zend_stack_apply_direction = 1;
6343pub type zend_stack_apply_direction = ::std::os::raw::c_uint;
6344extern "C" {
6345 pub fn zend_stack_init(stack: *mut zend_stack, size: ::std::os::raw::c_int);
6346}
6347extern "C" {
6348 pub fn zend_stack_push(
6349 stack: *mut zend_stack,
6350 element: *const ::std::os::raw::c_void,
6351 ) -> ::std::os::raw::c_int;
6352}
6353extern "C" {
6354 pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
6355}
6356extern "C" {
6357 pub fn zend_stack_del_top(stack: *mut zend_stack);
6358}
6359extern "C" {
6360 pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
6361}
6362extern "C" {
6363 pub fn zend_stack_is_empty(stack: *const zend_stack) -> bool;
6364}
6365extern "C" {
6366 pub fn zend_stack_destroy(stack: *mut zend_stack);
6367}
6368extern "C" {
6369 pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
6370}
6371extern "C" {
6372 pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
6373}
6374extern "C" {
6375 pub fn zend_stack_apply(
6376 stack: *mut zend_stack,
6377 type_: ::std::os::raw::c_int,
6378 apply_function: ::std::option::Option<
6379 unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
6380 >,
6381 );
6382}
6383extern "C" {
6384 pub fn zend_stack_apply_with_argument(
6385 stack: *mut zend_stack,
6386 type_: zend_stack_apply_direction,
6387 apply_function: ::std::option::Option<
6388 unsafe extern "C" fn(
6389 element: *mut ::std::os::raw::c_void,
6390 arg: *mut ::std::os::raw::c_void,
6391 ) -> ::std::os::raw::c_int,
6392 >,
6393 arg: *mut ::std::os::raw::c_void,
6394 );
6395}
6396extern "C" {
6397 pub fn zend_stack_clean(
6398 stack: *mut zend_stack,
6399 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6400 free_elements: bool,
6401 );
6402}
6403#[repr(C)]
6404#[derive(Debug, Copy, Clone)]
6405pub struct _zend_ptr_stack {
6406 pub top: ::std::os::raw::c_int,
6407 pub max: ::std::os::raw::c_int,
6408 pub elements: *mut *mut ::std::os::raw::c_void,
6409 pub top_element: *mut *mut ::std::os::raw::c_void,
6410 pub persistent: bool,
6411}
6412#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6413const _: () = {
6414 ["Size of _zend_ptr_stack"][::std::mem::size_of::<_zend_ptr_stack>() - 32usize];
6415 ["Alignment of _zend_ptr_stack"][::std::mem::align_of::<_zend_ptr_stack>() - 8usize];
6416 ["Offset of field: _zend_ptr_stack::top"]
6417 [::std::mem::offset_of!(_zend_ptr_stack, top) - 0usize];
6418 ["Offset of field: _zend_ptr_stack::max"]
6419 [::std::mem::offset_of!(_zend_ptr_stack, max) - 4usize];
6420 ["Offset of field: _zend_ptr_stack::elements"]
6421 [::std::mem::offset_of!(_zend_ptr_stack, elements) - 8usize];
6422 ["Offset of field: _zend_ptr_stack::top_element"]
6423 [::std::mem::offset_of!(_zend_ptr_stack, top_element) - 16usize];
6424 ["Offset of field: _zend_ptr_stack::persistent"]
6425 [::std::mem::offset_of!(_zend_ptr_stack, persistent) - 24usize];
6426};
6427pub type zend_ptr_stack = _zend_ptr_stack;
6428extern "C" {
6429 pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
6430}
6431extern "C" {
6432 pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: bool);
6433}
6434extern "C" {
6435 pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
6436}
6437extern "C" {
6438 pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
6439}
6440extern "C" {
6441 pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
6442}
6443extern "C" {
6444 pub fn zend_ptr_stack_apply(
6445 stack: *mut zend_ptr_stack,
6446 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6447 );
6448}
6449extern "C" {
6450 pub fn zend_ptr_stack_reverse_apply(
6451 stack: *mut zend_ptr_stack,
6452 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6453 );
6454}
6455extern "C" {
6456 pub fn zend_ptr_stack_clean(
6457 stack: *mut zend_ptr_stack,
6458 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6459 free_elements: bool,
6460 );
6461}
6462extern "C" {
6463 pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
6464}
6465extern "C" {
6466 pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
6467}
6468extern "C" {
6469 pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
6470}
6471extern "C" {
6472 pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
6473}
6474extern "C" {
6475 pub fn zend_object_std_dtor(object: *mut zend_object);
6476}
6477extern "C" {
6478 pub fn zend_objects_destroy_object(object: *mut zend_object);
6479}
6480extern "C" {
6481 pub fn zend_objects_clone_obj(object: *mut zend_object) -> *mut zend_object;
6482}
6483#[repr(C)]
6484#[derive(Debug, Copy, Clone)]
6485pub struct _zend_objects_store {
6486 pub object_buckets: *mut *mut zend_object,
6487 pub top: u32,
6488 pub size: u32,
6489 pub free_list_head: ::std::os::raw::c_int,
6490}
6491#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6492const _: () = {
6493 ["Size of _zend_objects_store"][::std::mem::size_of::<_zend_objects_store>() - 24usize];
6494 ["Alignment of _zend_objects_store"][::std::mem::align_of::<_zend_objects_store>() - 8usize];
6495 ["Offset of field: _zend_objects_store::object_buckets"]
6496 [::std::mem::offset_of!(_zend_objects_store, object_buckets) - 0usize];
6497 ["Offset of field: _zend_objects_store::top"]
6498 [::std::mem::offset_of!(_zend_objects_store, top) - 8usize];
6499 ["Offset of field: _zend_objects_store::size"]
6500 [::std::mem::offset_of!(_zend_objects_store, size) - 12usize];
6501 ["Offset of field: _zend_objects_store::free_list_head"]
6502 [::std::mem::offset_of!(_zend_objects_store, free_list_head) - 16usize];
6503};
6504pub type zend_objects_store = _zend_objects_store;
6505extern "C" {
6506 pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
6507}
6508extern "C" {
6509 pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
6510}
6511extern "C" {
6512 pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
6513}
6514extern "C" {
6515 pub fn zend_objects_store_free_object_storage(
6516 objects: *mut zend_objects_store,
6517 fast_shutdown: bool,
6518 );
6519}
6520extern "C" {
6521 pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
6522}
6523extern "C" {
6524 pub fn zend_objects_store_put(object: *mut zend_object);
6525}
6526extern "C" {
6527 pub fn zend_objects_store_del(object: *mut zend_object);
6528}
6529extern "C" {
6530 pub fn zend_init_fpu();
6531}
6532extern "C" {
6533 pub fn zend_shutdown_fpu();
6534}
6535extern "C" {
6536 pub fn zend_ensure_fpu_mode();
6537}
6538#[repr(C)]
6539#[derive(Debug, Copy, Clone)]
6540pub struct _zend_encoding {
6541 _unused: [u8; 0],
6542}
6543pub type zend_encoding = _zend_encoding;
6544pub type zend_encoding_filter = ::std::option::Option<
6545 unsafe extern "C" fn(
6546 str_: *mut *mut ::std::os::raw::c_uchar,
6547 str_length: *mut usize,
6548 buf: *const ::std::os::raw::c_uchar,
6549 length: usize,
6550 ) -> usize,
6551>;
6552pub type zend_encoding_fetcher = ::std::option::Option<
6553 unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
6554>;
6555pub type zend_encoding_name_getter = ::std::option::Option<
6556 unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
6557>;
6558pub type zend_encoding_lexer_compatibility_checker =
6559 ::std::option::Option<unsafe extern "C" fn(encoding: *const zend_encoding) -> bool>;
6560pub type zend_encoding_detector = ::std::option::Option<
6561 unsafe extern "C" fn(
6562 string: *const ::std::os::raw::c_uchar,
6563 length: usize,
6564 list: *mut *const zend_encoding,
6565 list_size: usize,
6566 ) -> *const zend_encoding,
6567>;
6568pub type zend_encoding_converter = ::std::option::Option<
6569 unsafe extern "C" fn(
6570 to: *mut *mut ::std::os::raw::c_uchar,
6571 to_length: *mut usize,
6572 from: *const ::std::os::raw::c_uchar,
6573 from_length: usize,
6574 encoding_to: *const zend_encoding,
6575 encoding_from: *const zend_encoding,
6576 ) -> usize,
6577>;
6578pub type zend_encoding_list_parser = ::std::option::Option<
6579 unsafe extern "C" fn(
6580 encoding_list: *const ::std::os::raw::c_char,
6581 encoding_list_len: usize,
6582 return_list: *mut *mut *const zend_encoding,
6583 return_size: *mut usize,
6584 persistent: bool,
6585 ) -> zend_result,
6586>;
6587pub type zend_encoding_internal_encoding_getter =
6588 ::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
6589pub type zend_encoding_internal_encoding_setter =
6590 ::std::option::Option<unsafe extern "C" fn(encoding: *const zend_encoding) -> zend_result>;
6591#[repr(C)]
6592#[derive(Debug, Copy, Clone)]
6593pub struct _zend_multibyte_functions {
6594 pub provider_name: *const ::std::os::raw::c_char,
6595 pub encoding_fetcher: zend_encoding_fetcher,
6596 pub encoding_name_getter: zend_encoding_name_getter,
6597 pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
6598 pub encoding_detector: zend_encoding_detector,
6599 pub encoding_converter: zend_encoding_converter,
6600 pub encoding_list_parser: zend_encoding_list_parser,
6601 pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
6602 pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
6603}
6604#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6605const _: () = {
6606 ["Size of _zend_multibyte_functions"]
6607 [::std::mem::size_of::<_zend_multibyte_functions>() - 72usize];
6608 ["Alignment of _zend_multibyte_functions"]
6609 [::std::mem::align_of::<_zend_multibyte_functions>() - 8usize];
6610 ["Offset of field: _zend_multibyte_functions::provider_name"]
6611 [::std::mem::offset_of!(_zend_multibyte_functions, provider_name) - 0usize];
6612 ["Offset of field: _zend_multibyte_functions::encoding_fetcher"]
6613 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_fetcher) - 8usize];
6614 ["Offset of field: _zend_multibyte_functions::encoding_name_getter"]
6615 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_name_getter) - 16usize];
6616 ["Offset of field: _zend_multibyte_functions::lexer_compatibility_checker"]
6617 [::std::mem::offset_of!(_zend_multibyte_functions, lexer_compatibility_checker) - 24usize];
6618 ["Offset of field: _zend_multibyte_functions::encoding_detector"]
6619 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_detector) - 32usize];
6620 ["Offset of field: _zend_multibyte_functions::encoding_converter"]
6621 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_converter) - 40usize];
6622 ["Offset of field: _zend_multibyte_functions::encoding_list_parser"]
6623 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_list_parser) - 48usize];
6624 ["Offset of field: _zend_multibyte_functions::internal_encoding_getter"]
6625 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_getter) - 56usize];
6626 ["Offset of field: _zend_multibyte_functions::internal_encoding_setter"]
6627 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_setter) - 64usize];
6628};
6629pub type zend_multibyte_functions = _zend_multibyte_functions;
6630extern "C" {
6631 pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
6632}
6633extern "C" {
6634 pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
6635}
6636extern "C" {
6637 pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
6638}
6639extern "C" {
6640 pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
6641}
6642extern "C" {
6643 pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
6644}
6645extern "C" {
6646 pub fn zend_multibyte_set_functions(functions: *const zend_multibyte_functions) -> zend_result;
6647}
6648extern "C" {
6649 pub fn zend_multibyte_restore_functions();
6650}
6651extern "C" {
6652 pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
6653}
6654extern "C" {
6655 pub fn zend_multibyte_fetch_encoding(
6656 name: *const ::std::os::raw::c_char,
6657 ) -> *const zend_encoding;
6658}
6659extern "C" {
6660 pub fn zend_multibyte_get_encoding_name(
6661 encoding: *const zend_encoding,
6662 ) -> *const ::std::os::raw::c_char;
6663}
6664extern "C" {
6665 pub fn zend_multibyte_check_lexer_compatibility(
6666 encoding: *const zend_encoding,
6667 ) -> ::std::os::raw::c_int;
6668}
6669extern "C" {
6670 pub fn zend_multibyte_encoding_detector(
6671 string: *const ::std::os::raw::c_uchar,
6672 length: usize,
6673 list: *mut *const zend_encoding,
6674 list_size: usize,
6675 ) -> *const zend_encoding;
6676}
6677extern "C" {
6678 pub fn zend_multibyte_encoding_converter(
6679 to: *mut *mut ::std::os::raw::c_uchar,
6680 to_length: *mut usize,
6681 from: *const ::std::os::raw::c_uchar,
6682 from_length: usize,
6683 encoding_to: *const zend_encoding,
6684 encoding_from: *const zend_encoding,
6685 ) -> usize;
6686}
6687extern "C" {
6688 pub fn zend_multibyte_parse_encoding_list(
6689 encoding_list: *const ::std::os::raw::c_char,
6690 encoding_list_len: usize,
6691 return_list: *mut *mut *const zend_encoding,
6692 return_size: *mut usize,
6693 persistent: bool,
6694 ) -> zend_result;
6695}
6696extern "C" {
6697 pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
6698}
6699extern "C" {
6700 pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
6701}
6702extern "C" {
6703 pub fn zend_multibyte_set_script_encoding(
6704 encoding_list: *mut *const zend_encoding,
6705 encoding_list_size: usize,
6706 ) -> ::std::os::raw::c_int;
6707}
6708extern "C" {
6709 pub fn zend_multibyte_set_internal_encoding(encoding: *const zend_encoding) -> zend_result;
6710}
6711extern "C" {
6712 pub fn zend_multibyte_set_script_encoding_by_string(
6713 new_value: *const ::std::os::raw::c_char,
6714 new_value_length: usize,
6715 ) -> zend_result;
6716}
6717pub type zend_arena = _zend_arena;
6718#[repr(C)]
6719#[derive(Debug, Copy, Clone)]
6720pub struct _zend_arena {
6721 pub ptr: *mut ::std::os::raw::c_char,
6722 pub end: *mut ::std::os::raw::c_char,
6723 pub prev: *mut zend_arena,
6724}
6725#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6726const _: () = {
6727 ["Size of _zend_arena"][::std::mem::size_of::<_zend_arena>() - 24usize];
6728 ["Alignment of _zend_arena"][::std::mem::align_of::<_zend_arena>() - 8usize];
6729 ["Offset of field: _zend_arena::ptr"][::std::mem::offset_of!(_zend_arena, ptr) - 0usize];
6730 ["Offset of field: _zend_arena::end"][::std::mem::offset_of!(_zend_arena, end) - 8usize];
6731 ["Offset of field: _zend_arena::prev"][::std::mem::offset_of!(_zend_arena, prev) - 16usize];
6732};
6733#[repr(C)]
6734#[derive(Debug, Copy, Clone)]
6735pub struct _zend_call_stack {
6736 pub base: *mut ::std::os::raw::c_void,
6737 pub max_size: usize,
6738}
6739#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6740const _: () = {
6741 ["Size of _zend_call_stack"][::std::mem::size_of::<_zend_call_stack>() - 16usize];
6742 ["Alignment of _zend_call_stack"][::std::mem::align_of::<_zend_call_stack>() - 8usize];
6743 ["Offset of field: _zend_call_stack::base"]
6744 [::std::mem::offset_of!(_zend_call_stack, base) - 0usize];
6745 ["Offset of field: _zend_call_stack::max_size"]
6746 [::std::mem::offset_of!(_zend_call_stack, max_size) - 8usize];
6747};
6748pub type zend_call_stack = _zend_call_stack;
6749extern "C" {
6750 pub fn zend_call_stack_init();
6751}
6752extern "C" {
6753 pub fn zend_call_stack_get(stack: *mut zend_call_stack) -> bool;
6754}
6755pub type zend_vm_stack = *mut _zend_vm_stack;
6756pub type zend_ini_entry = _zend_ini_entry;
6757#[repr(C)]
6758#[derive(Debug, Copy, Clone)]
6759pub struct _zend_fiber_context {
6760 _unused: [u8; 0],
6761}
6762pub type zend_fiber_context = _zend_fiber_context;
6763#[repr(C)]
6764#[derive(Debug, Copy, Clone)]
6765pub struct _zend_fiber {
6766 _unused: [u8; 0],
6767}
6768pub type zend_fiber = _zend_fiber;
6769pub const zend_memoize_mode_ZEND_MEMOIZE_NONE: zend_memoize_mode = 0;
6770pub const zend_memoize_mode_ZEND_MEMOIZE_COMPILE: zend_memoize_mode = 1;
6771pub const zend_memoize_mode_ZEND_MEMOIZE_FETCH: zend_memoize_mode = 2;
6772pub type zend_memoize_mode = ::std::os::raw::c_uint;
6773#[repr(C)]
6774#[derive(Copy, Clone)]
6775pub struct _zend_executor_globals {
6776 pub uninitialized_zval: zval,
6777 pub error_zval: zval,
6778 pub symtable_cache: [*mut zend_array; 32usize],
6779 pub symtable_cache_limit: *mut *mut zend_array,
6780 pub symtable_cache_ptr: *mut *mut zend_array,
6781 pub symbol_table: zend_array,
6782 pub included_files: HashTable,
6783 pub bailout: *mut jmp_buf,
6784 pub error_reporting: ::std::os::raw::c_int,
6785 pub exit_status: ::std::os::raw::c_int,
6786 pub function_table: *mut HashTable,
6787 pub class_table: *mut HashTable,
6788 pub zend_constants: *mut HashTable,
6789 pub vm_stack_top: *mut zval,
6790 pub vm_stack_end: *mut zval,
6791 pub vm_stack: zend_vm_stack,
6792 pub vm_stack_page_size: usize,
6793 pub current_execute_data: *mut _zend_execute_data,
6794 pub fake_scope: *mut zend_class_entry,
6795 pub jit_trace_num: u32,
6796 pub ticks_count: ::std::os::raw::c_int,
6797 pub precision: zend_long,
6798 pub persistent_constants_count: u32,
6799 pub persistent_functions_count: u32,
6800 pub persistent_classes_count: u32,
6801 pub no_extensions: bool,
6802 pub full_tables_cleanup: bool,
6803 pub vm_interrupt: zend_atomic_bool,
6804 pub timed_out: zend_atomic_bool,
6805 pub in_autoload: *mut HashTable,
6806 pub hard_timeout: zend_long,
6807 pub stack_base: *mut ::std::os::raw::c_void,
6808 pub stack_limit: *mut ::std::os::raw::c_void,
6809 pub regular_list: HashTable,
6810 pub persistent_list: HashTable,
6811 pub user_error_handler_error_reporting: ::std::os::raw::c_int,
6812 pub exception_ignore_args: bool,
6813 pub user_error_handler: zval,
6814 pub user_exception_handler: zval,
6815 pub user_error_handlers_error_reporting: zend_stack,
6816 pub user_error_handlers: zend_stack,
6817 pub user_exception_handlers: zend_stack,
6818 pub exception_class: *mut zend_class_entry,
6819 pub error_handling: zend_error_handling_t,
6820 pub capture_warnings_during_sccp: ::std::os::raw::c_int,
6821 pub timeout_seconds: zend_long,
6822 pub ini_directives: *mut HashTable,
6823 pub modified_ini_directives: *mut HashTable,
6824 pub error_reporting_ini_entry: *mut zend_ini_entry,
6825 pub objects_store: zend_objects_store,
6826 pub exception: *mut zend_object,
6827 pub prev_exception: *mut zend_object,
6828 pub opline_before_exception: *const zend_op,
6829 pub exception_op: [zend_op; 3usize],
6830 pub current_module: *mut _zend_module_entry,
6831 pub active: bool,
6832 pub flags: u8,
6833 pub assertions: zend_long,
6834 pub ht_iterators_count: u32,
6835 pub ht_iterators_used: u32,
6836 pub ht_iterators: *mut HashTableIterator,
6837 pub ht_iterators_slots: [HashTableIterator; 16usize],
6838 pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
6839 pub trampoline: zend_function,
6840 pub call_trampoline_op: zend_op,
6841 pub weakrefs: HashTable,
6842 pub exception_string_param_max_len: zend_long,
6843 pub get_gc_buffer: zend_get_gc_buffer,
6844 pub main_fiber_context: *mut zend_fiber_context,
6845 pub current_fiber_context: *mut zend_fiber_context,
6846 pub active_fiber: *mut zend_fiber,
6847 pub fiber_stack_size: usize,
6848 pub record_errors: bool,
6849 pub num_errors: u32,
6850 pub errors: *mut *mut zend_error_info,
6851 pub filename_override: *mut zend_string,
6852 pub lineno_override: zend_long,
6853 pub call_stack: zend_call_stack,
6854 pub max_allowed_stack_size: zend_long,
6855 pub reserved_stack_size: zend_ulong,
6856 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
6857}
6858#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6859const _: () = {
6860 ["Size of _zend_executor_globals"][::std::mem::size_of::<_zend_executor_globals>() - 1792usize];
6861 ["Alignment of _zend_executor_globals"]
6862 [::std::mem::align_of::<_zend_executor_globals>() - 8usize];
6863 ["Offset of field: _zend_executor_globals::uninitialized_zval"]
6864 [::std::mem::offset_of!(_zend_executor_globals, uninitialized_zval) - 0usize];
6865 ["Offset of field: _zend_executor_globals::error_zval"]
6866 [::std::mem::offset_of!(_zend_executor_globals, error_zval) - 16usize];
6867 ["Offset of field: _zend_executor_globals::symtable_cache"]
6868 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache) - 32usize];
6869 ["Offset of field: _zend_executor_globals::symtable_cache_limit"]
6870 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_limit) - 288usize];
6871 ["Offset of field: _zend_executor_globals::symtable_cache_ptr"]
6872 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_ptr) - 296usize];
6873 ["Offset of field: _zend_executor_globals::symbol_table"]
6874 [::std::mem::offset_of!(_zend_executor_globals, symbol_table) - 304usize];
6875 ["Offset of field: _zend_executor_globals::included_files"]
6876 [::std::mem::offset_of!(_zend_executor_globals, included_files) - 360usize];
6877 ["Offset of field: _zend_executor_globals::bailout"]
6878 [::std::mem::offset_of!(_zend_executor_globals, bailout) - 416usize];
6879 ["Offset of field: _zend_executor_globals::error_reporting"]
6880 [::std::mem::offset_of!(_zend_executor_globals, error_reporting) - 424usize];
6881 ["Offset of field: _zend_executor_globals::exit_status"]
6882 [::std::mem::offset_of!(_zend_executor_globals, exit_status) - 428usize];
6883 ["Offset of field: _zend_executor_globals::function_table"]
6884 [::std::mem::offset_of!(_zend_executor_globals, function_table) - 432usize];
6885 ["Offset of field: _zend_executor_globals::class_table"]
6886 [::std::mem::offset_of!(_zend_executor_globals, class_table) - 440usize];
6887 ["Offset of field: _zend_executor_globals::zend_constants"]
6888 [::std::mem::offset_of!(_zend_executor_globals, zend_constants) - 448usize];
6889 ["Offset of field: _zend_executor_globals::vm_stack_top"]
6890 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_top) - 456usize];
6891 ["Offset of field: _zend_executor_globals::vm_stack_end"]
6892 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_end) - 464usize];
6893 ["Offset of field: _zend_executor_globals::vm_stack"]
6894 [::std::mem::offset_of!(_zend_executor_globals, vm_stack) - 472usize];
6895 ["Offset of field: _zend_executor_globals::vm_stack_page_size"]
6896 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_page_size) - 480usize];
6897 ["Offset of field: _zend_executor_globals::current_execute_data"]
6898 [::std::mem::offset_of!(_zend_executor_globals, current_execute_data) - 488usize];
6899 ["Offset of field: _zend_executor_globals::fake_scope"]
6900 [::std::mem::offset_of!(_zend_executor_globals, fake_scope) - 496usize];
6901 ["Offset of field: _zend_executor_globals::jit_trace_num"]
6902 [::std::mem::offset_of!(_zend_executor_globals, jit_trace_num) - 504usize];
6903 ["Offset of field: _zend_executor_globals::ticks_count"]
6904 [::std::mem::offset_of!(_zend_executor_globals, ticks_count) - 508usize];
6905 ["Offset of field: _zend_executor_globals::precision"]
6906 [::std::mem::offset_of!(_zend_executor_globals, precision) - 512usize];
6907 ["Offset of field: _zend_executor_globals::persistent_constants_count"]
6908 [::std::mem::offset_of!(_zend_executor_globals, persistent_constants_count) - 520usize];
6909 ["Offset of field: _zend_executor_globals::persistent_functions_count"]
6910 [::std::mem::offset_of!(_zend_executor_globals, persistent_functions_count) - 524usize];
6911 ["Offset of field: _zend_executor_globals::persistent_classes_count"]
6912 [::std::mem::offset_of!(_zend_executor_globals, persistent_classes_count) - 528usize];
6913 ["Offset of field: _zend_executor_globals::no_extensions"]
6914 [::std::mem::offset_of!(_zend_executor_globals, no_extensions) - 532usize];
6915 ["Offset of field: _zend_executor_globals::full_tables_cleanup"]
6916 [::std::mem::offset_of!(_zend_executor_globals, full_tables_cleanup) - 533usize];
6917 ["Offset of field: _zend_executor_globals::vm_interrupt"]
6918 [::std::mem::offset_of!(_zend_executor_globals, vm_interrupt) - 534usize];
6919 ["Offset of field: _zend_executor_globals::timed_out"]
6920 [::std::mem::offset_of!(_zend_executor_globals, timed_out) - 535usize];
6921 ["Offset of field: _zend_executor_globals::in_autoload"]
6922 [::std::mem::offset_of!(_zend_executor_globals, in_autoload) - 536usize];
6923 ["Offset of field: _zend_executor_globals::hard_timeout"]
6924 [::std::mem::offset_of!(_zend_executor_globals, hard_timeout) - 544usize];
6925 ["Offset of field: _zend_executor_globals::stack_base"]
6926 [::std::mem::offset_of!(_zend_executor_globals, stack_base) - 552usize];
6927 ["Offset of field: _zend_executor_globals::stack_limit"]
6928 [::std::mem::offset_of!(_zend_executor_globals, stack_limit) - 560usize];
6929 ["Offset of field: _zend_executor_globals::regular_list"]
6930 [::std::mem::offset_of!(_zend_executor_globals, regular_list) - 568usize];
6931 ["Offset of field: _zend_executor_globals::persistent_list"]
6932 [::std::mem::offset_of!(_zend_executor_globals, persistent_list) - 624usize];
6933 ["Offset of field: _zend_executor_globals::user_error_handler_error_reporting"][::std::mem::offset_of!(
6934 _zend_executor_globals,
6935 user_error_handler_error_reporting
6936 ) - 680usize];
6937 ["Offset of field: _zend_executor_globals::exception_ignore_args"]
6938 [::std::mem::offset_of!(_zend_executor_globals, exception_ignore_args) - 684usize];
6939 ["Offset of field: _zend_executor_globals::user_error_handler"]
6940 [::std::mem::offset_of!(_zend_executor_globals, user_error_handler) - 688usize];
6941 ["Offset of field: _zend_executor_globals::user_exception_handler"]
6942 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handler) - 704usize];
6943 ["Offset of field: _zend_executor_globals::user_error_handlers_error_reporting"][::std::mem::offset_of!(
6944 _zend_executor_globals,
6945 user_error_handlers_error_reporting
6946 ) - 720usize];
6947 ["Offset of field: _zend_executor_globals::user_error_handlers"]
6948 [::std::mem::offset_of!(_zend_executor_globals, user_error_handlers) - 744usize];
6949 ["Offset of field: _zend_executor_globals::user_exception_handlers"]
6950 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handlers) - 768usize];
6951 ["Offset of field: _zend_executor_globals::exception_class"]
6952 [::std::mem::offset_of!(_zend_executor_globals, exception_class) - 792usize];
6953 ["Offset of field: _zend_executor_globals::error_handling"]
6954 [::std::mem::offset_of!(_zend_executor_globals, error_handling) - 800usize];
6955 ["Offset of field: _zend_executor_globals::capture_warnings_during_sccp"]
6956 [::std::mem::offset_of!(_zend_executor_globals, capture_warnings_during_sccp) - 804usize];
6957 ["Offset of field: _zend_executor_globals::timeout_seconds"]
6958 [::std::mem::offset_of!(_zend_executor_globals, timeout_seconds) - 808usize];
6959 ["Offset of field: _zend_executor_globals::ini_directives"]
6960 [::std::mem::offset_of!(_zend_executor_globals, ini_directives) - 816usize];
6961 ["Offset of field: _zend_executor_globals::modified_ini_directives"]
6962 [::std::mem::offset_of!(_zend_executor_globals, modified_ini_directives) - 824usize];
6963 ["Offset of field: _zend_executor_globals::error_reporting_ini_entry"]
6964 [::std::mem::offset_of!(_zend_executor_globals, error_reporting_ini_entry) - 832usize];
6965 ["Offset of field: _zend_executor_globals::objects_store"]
6966 [::std::mem::offset_of!(_zend_executor_globals, objects_store) - 840usize];
6967 ["Offset of field: _zend_executor_globals::exception"]
6968 [::std::mem::offset_of!(_zend_executor_globals, exception) - 864usize];
6969 ["Offset of field: _zend_executor_globals::prev_exception"]
6970 [::std::mem::offset_of!(_zend_executor_globals, prev_exception) - 872usize];
6971 ["Offset of field: _zend_executor_globals::opline_before_exception"]
6972 [::std::mem::offset_of!(_zend_executor_globals, opline_before_exception) - 880usize];
6973 ["Offset of field: _zend_executor_globals::exception_op"]
6974 [::std::mem::offset_of!(_zend_executor_globals, exception_op) - 888usize];
6975 ["Offset of field: _zend_executor_globals::current_module"]
6976 [::std::mem::offset_of!(_zend_executor_globals, current_module) - 984usize];
6977 ["Offset of field: _zend_executor_globals::active"]
6978 [::std::mem::offset_of!(_zend_executor_globals, active) - 992usize];
6979 ["Offset of field: _zend_executor_globals::flags"]
6980 [::std::mem::offset_of!(_zend_executor_globals, flags) - 993usize];
6981 ["Offset of field: _zend_executor_globals::assertions"]
6982 [::std::mem::offset_of!(_zend_executor_globals, assertions) - 1000usize];
6983 ["Offset of field: _zend_executor_globals::ht_iterators_count"]
6984 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_count) - 1008usize];
6985 ["Offset of field: _zend_executor_globals::ht_iterators_used"]
6986 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_used) - 1012usize];
6987 ["Offset of field: _zend_executor_globals::ht_iterators"]
6988 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators) - 1016usize];
6989 ["Offset of field: _zend_executor_globals::ht_iterators_slots"]
6990 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_slots) - 1024usize];
6991 ["Offset of field: _zend_executor_globals::saved_fpu_cw_ptr"]
6992 [::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw_ptr) - 1280usize];
6993 ["Offset of field: _zend_executor_globals::trampoline"]
6994 [::std::mem::offset_of!(_zend_executor_globals, trampoline) - 1288usize];
6995 ["Offset of field: _zend_executor_globals::call_trampoline_op"]
6996 [::std::mem::offset_of!(_zend_executor_globals, call_trampoline_op) - 1528usize];
6997 ["Offset of field: _zend_executor_globals::weakrefs"]
6998 [::std::mem::offset_of!(_zend_executor_globals, weakrefs) - 1560usize];
6999 ["Offset of field: _zend_executor_globals::exception_string_param_max_len"][::std::mem::offset_of!(
7000 _zend_executor_globals,
7001 exception_string_param_max_len
7002 ) - 1616usize];
7003 ["Offset of field: _zend_executor_globals::get_gc_buffer"]
7004 [::std::mem::offset_of!(_zend_executor_globals, get_gc_buffer) - 1624usize];
7005 ["Offset of field: _zend_executor_globals::main_fiber_context"]
7006 [::std::mem::offset_of!(_zend_executor_globals, main_fiber_context) - 1648usize];
7007 ["Offset of field: _zend_executor_globals::current_fiber_context"]
7008 [::std::mem::offset_of!(_zend_executor_globals, current_fiber_context) - 1656usize];
7009 ["Offset of field: _zend_executor_globals::active_fiber"]
7010 [::std::mem::offset_of!(_zend_executor_globals, active_fiber) - 1664usize];
7011 ["Offset of field: _zend_executor_globals::fiber_stack_size"]
7012 [::std::mem::offset_of!(_zend_executor_globals, fiber_stack_size) - 1672usize];
7013 ["Offset of field: _zend_executor_globals::record_errors"]
7014 [::std::mem::offset_of!(_zend_executor_globals, record_errors) - 1680usize];
7015 ["Offset of field: _zend_executor_globals::num_errors"]
7016 [::std::mem::offset_of!(_zend_executor_globals, num_errors) - 1684usize];
7017 ["Offset of field: _zend_executor_globals::errors"]
7018 [::std::mem::offset_of!(_zend_executor_globals, errors) - 1688usize];
7019 ["Offset of field: _zend_executor_globals::filename_override"]
7020 [::std::mem::offset_of!(_zend_executor_globals, filename_override) - 1696usize];
7021 ["Offset of field: _zend_executor_globals::lineno_override"]
7022 [::std::mem::offset_of!(_zend_executor_globals, lineno_override) - 1704usize];
7023 ["Offset of field: _zend_executor_globals::call_stack"]
7024 [::std::mem::offset_of!(_zend_executor_globals, call_stack) - 1712usize];
7025 ["Offset of field: _zend_executor_globals::max_allowed_stack_size"]
7026 [::std::mem::offset_of!(_zend_executor_globals, max_allowed_stack_size) - 1728usize];
7027 ["Offset of field: _zend_executor_globals::reserved_stack_size"]
7028 [::std::mem::offset_of!(_zend_executor_globals, reserved_stack_size) - 1736usize];
7029 ["Offset of field: _zend_executor_globals::reserved"]
7030 [::std::mem::offset_of!(_zend_executor_globals, reserved) - 1744usize];
7031};
7032#[repr(C)]
7033#[derive(Debug, Copy, Clone)]
7034pub struct _zend_ini_scanner_globals {
7035 pub yy_in: *mut zend_file_handle,
7036 pub yy_out: *mut zend_file_handle,
7037 pub yy_leng: ::std::os::raw::c_uint,
7038 pub yy_start: *const ::std::os::raw::c_uchar,
7039 pub yy_text: *const ::std::os::raw::c_uchar,
7040 pub yy_cursor: *const ::std::os::raw::c_uchar,
7041 pub yy_marker: *const ::std::os::raw::c_uchar,
7042 pub yy_limit: *const ::std::os::raw::c_uchar,
7043 pub yy_state: ::std::os::raw::c_int,
7044 pub state_stack: zend_stack,
7045 pub filename: *mut zend_string,
7046 pub lineno: ::std::os::raw::c_int,
7047 pub scanner_mode: ::std::os::raw::c_int,
7048}
7049#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7050const _: () = {
7051 ["Size of _zend_ini_scanner_globals"]
7052 [::std::mem::size_of::<_zend_ini_scanner_globals>() - 112usize];
7053 ["Alignment of _zend_ini_scanner_globals"]
7054 [::std::mem::align_of::<_zend_ini_scanner_globals>() - 8usize];
7055 ["Offset of field: _zend_ini_scanner_globals::yy_in"]
7056 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_in) - 0usize];
7057 ["Offset of field: _zend_ini_scanner_globals::yy_out"]
7058 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_out) - 8usize];
7059 ["Offset of field: _zend_ini_scanner_globals::yy_leng"]
7060 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_leng) - 16usize];
7061 ["Offset of field: _zend_ini_scanner_globals::yy_start"]
7062 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_start) - 24usize];
7063 ["Offset of field: _zend_ini_scanner_globals::yy_text"]
7064 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_text) - 32usize];
7065 ["Offset of field: _zend_ini_scanner_globals::yy_cursor"]
7066 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_cursor) - 40usize];
7067 ["Offset of field: _zend_ini_scanner_globals::yy_marker"]
7068 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_marker) - 48usize];
7069 ["Offset of field: _zend_ini_scanner_globals::yy_limit"]
7070 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_limit) - 56usize];
7071 ["Offset of field: _zend_ini_scanner_globals::yy_state"]
7072 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_state) - 64usize];
7073 ["Offset of field: _zend_ini_scanner_globals::state_stack"]
7074 [::std::mem::offset_of!(_zend_ini_scanner_globals, state_stack) - 72usize];
7075 ["Offset of field: _zend_ini_scanner_globals::filename"]
7076 [::std::mem::offset_of!(_zend_ini_scanner_globals, filename) - 96usize];
7077 ["Offset of field: _zend_ini_scanner_globals::lineno"]
7078 [::std::mem::offset_of!(_zend_ini_scanner_globals, lineno) - 104usize];
7079 ["Offset of field: _zend_ini_scanner_globals::scanner_mode"]
7080 [::std::mem::offset_of!(_zend_ini_scanner_globals, scanner_mode) - 108usize];
7081};
7082pub const zend_php_scanner_event_ON_TOKEN: zend_php_scanner_event = 0;
7083pub const zend_php_scanner_event_ON_FEEDBACK: zend_php_scanner_event = 1;
7084pub const zend_php_scanner_event_ON_STOP: zend_php_scanner_event = 2;
7085pub type zend_php_scanner_event = ::std::os::raw::c_uint;
7086#[repr(C)]
7087#[derive(Debug, Copy, Clone)]
7088pub struct _zend_php_scanner_globals {
7089 pub yy_in: *mut zend_file_handle,
7090 pub yy_out: *mut zend_file_handle,
7091 pub yy_leng: ::std::os::raw::c_uint,
7092 pub yy_start: *mut ::std::os::raw::c_uchar,
7093 pub yy_text: *mut ::std::os::raw::c_uchar,
7094 pub yy_cursor: *mut ::std::os::raw::c_uchar,
7095 pub yy_marker: *mut ::std::os::raw::c_uchar,
7096 pub yy_limit: *mut ::std::os::raw::c_uchar,
7097 pub yy_state: ::std::os::raw::c_int,
7098 pub state_stack: zend_stack,
7099 pub heredoc_label_stack: zend_ptr_stack,
7100 pub nest_location_stack: zend_stack,
7101 pub heredoc_scan_ahead: bool,
7102 pub heredoc_indentation: ::std::os::raw::c_int,
7103 pub heredoc_indentation_uses_spaces: bool,
7104 pub script_org: *mut ::std::os::raw::c_uchar,
7105 pub script_org_size: usize,
7106 pub script_filtered: *mut ::std::os::raw::c_uchar,
7107 pub script_filtered_size: usize,
7108 pub input_filter: zend_encoding_filter,
7109 pub output_filter: zend_encoding_filter,
7110 pub script_encoding: *const zend_encoding,
7111 pub scanned_string_len: ::std::os::raw::c_int,
7112 pub on_event: ::std::option::Option<
7113 unsafe extern "C" fn(
7114 event: zend_php_scanner_event,
7115 token: ::std::os::raw::c_int,
7116 line: ::std::os::raw::c_int,
7117 text: *const ::std::os::raw::c_char,
7118 length: usize,
7119 context: *mut ::std::os::raw::c_void,
7120 ),
7121 >,
7122 pub on_event_context: *mut ::std::os::raw::c_void,
7123}
7124#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7125const _: () = {
7126 ["Size of _zend_php_scanner_globals"]
7127 [::std::mem::size_of::<_zend_php_scanner_globals>() - 248usize];
7128 ["Alignment of _zend_php_scanner_globals"]
7129 [::std::mem::align_of::<_zend_php_scanner_globals>() - 8usize];
7130 ["Offset of field: _zend_php_scanner_globals::yy_in"]
7131 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_in) - 0usize];
7132 ["Offset of field: _zend_php_scanner_globals::yy_out"]
7133 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_out) - 8usize];
7134 ["Offset of field: _zend_php_scanner_globals::yy_leng"]
7135 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_leng) - 16usize];
7136 ["Offset of field: _zend_php_scanner_globals::yy_start"]
7137 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_start) - 24usize];
7138 ["Offset of field: _zend_php_scanner_globals::yy_text"]
7139 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_text) - 32usize];
7140 ["Offset of field: _zend_php_scanner_globals::yy_cursor"]
7141 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_cursor) - 40usize];
7142 ["Offset of field: _zend_php_scanner_globals::yy_marker"]
7143 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_marker) - 48usize];
7144 ["Offset of field: _zend_php_scanner_globals::yy_limit"]
7145 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_limit) - 56usize];
7146 ["Offset of field: _zend_php_scanner_globals::yy_state"]
7147 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_state) - 64usize];
7148 ["Offset of field: _zend_php_scanner_globals::state_stack"]
7149 [::std::mem::offset_of!(_zend_php_scanner_globals, state_stack) - 72usize];
7150 ["Offset of field: _zend_php_scanner_globals::heredoc_label_stack"]
7151 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_label_stack) - 96usize];
7152 ["Offset of field: _zend_php_scanner_globals::nest_location_stack"]
7153 [::std::mem::offset_of!(_zend_php_scanner_globals, nest_location_stack) - 128usize];
7154 ["Offset of field: _zend_php_scanner_globals::heredoc_scan_ahead"]
7155 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_scan_ahead) - 152usize];
7156 ["Offset of field: _zend_php_scanner_globals::heredoc_indentation"]
7157 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_indentation) - 156usize];
7158 ["Offset of field: _zend_php_scanner_globals::heredoc_indentation_uses_spaces"][::std::mem::offset_of!(
7159 _zend_php_scanner_globals,
7160 heredoc_indentation_uses_spaces
7161 ) - 160usize];
7162 ["Offset of field: _zend_php_scanner_globals::script_org"]
7163 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org) - 168usize];
7164 ["Offset of field: _zend_php_scanner_globals::script_org_size"]
7165 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org_size) - 176usize];
7166 ["Offset of field: _zend_php_scanner_globals::script_filtered"]
7167 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered) - 184usize];
7168 ["Offset of field: _zend_php_scanner_globals::script_filtered_size"]
7169 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered_size) - 192usize];
7170 ["Offset of field: _zend_php_scanner_globals::input_filter"]
7171 [::std::mem::offset_of!(_zend_php_scanner_globals, input_filter) - 200usize];
7172 ["Offset of field: _zend_php_scanner_globals::output_filter"]
7173 [::std::mem::offset_of!(_zend_php_scanner_globals, output_filter) - 208usize];
7174 ["Offset of field: _zend_php_scanner_globals::script_encoding"]
7175 [::std::mem::offset_of!(_zend_php_scanner_globals, script_encoding) - 216usize];
7176 ["Offset of field: _zend_php_scanner_globals::scanned_string_len"]
7177 [::std::mem::offset_of!(_zend_php_scanner_globals, scanned_string_len) - 224usize];
7178 ["Offset of field: _zend_php_scanner_globals::on_event"]
7179 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event) - 232usize];
7180 ["Offset of field: _zend_php_scanner_globals::on_event_context"]
7181 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event_context) - 240usize];
7182};
7183pub const _zend_compile_position_ZEND_COMPILE_POSITION_AT_SHEBANG: _zend_compile_position = 0;
7184pub const _zend_compile_position_ZEND_COMPILE_POSITION_AT_OPEN_TAG: _zend_compile_position = 1;
7185pub const _zend_compile_position_ZEND_COMPILE_POSITION_AFTER_OPEN_TAG: _zend_compile_position = 2;
7186pub type _zend_compile_position = ::std::os::raw::c_uint;
7187pub use self::_zend_compile_position as zend_compile_position;
7188extern "C" {
7189 pub fn zend_init_compiler_data_structures();
7190}
7191extern "C" {
7192 pub fn zend_oparray_context_begin(prev_context: *mut zend_oparray_context);
7193}
7194extern "C" {
7195 pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
7196}
7197extern "C" {
7198 pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
7199}
7200extern "C" {
7201 pub fn zend_file_context_end(prev_context: *mut zend_file_context);
7202}
7203extern "C" {
7204 pub static mut zend_compile_file: ::std::option::Option<
7205 unsafe extern "C" fn(
7206 file_handle: *mut zend_file_handle,
7207 type_: ::std::os::raw::c_int,
7208 ) -> *mut zend_op_array,
7209 >;
7210}
7211extern "C" {
7212 pub static mut zend_compile_string: ::std::option::Option<
7213 unsafe extern "C" fn(
7214 source_string: *mut zend_string,
7215 filename: *const ::std::os::raw::c_char,
7216 position: zend_compile_position,
7217 ) -> *mut zend_op_array,
7218 >;
7219}
7220extern "C" {
7221 pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
7222}
7223extern "C" {
7224 pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
7225}
7226extern "C" {
7227 pub fn zend_get_compiled_filename() -> *mut zend_string;
7228}
7229extern "C" {
7230 pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
7231}
7232extern "C" {
7233 pub fn zend_get_scanned_file_offset() -> usize;
7234}
7235extern "C" {
7236 pub fn zend_get_compiled_variable_name(
7237 op_array: *const zend_op_array,
7238 var: u32,
7239 ) -> *mut zend_string;
7240}
7241extern "C" {
7242 pub fn zend_stop_lexing();
7243}
7244extern "C" {
7245 pub fn zend_emit_final_return(return_one: bool);
7246}
7247pub const zend_modifier_target_ZEND_MODIFIER_TARGET_PROPERTY: zend_modifier_target = 0;
7248pub const zend_modifier_target_ZEND_MODIFIER_TARGET_METHOD: zend_modifier_target = 1;
7249pub const zend_modifier_target_ZEND_MODIFIER_TARGET_CONSTANT: zend_modifier_target = 2;
7250pub const zend_modifier_target_ZEND_MODIFIER_TARGET_CPP: zend_modifier_target = 3;
7251pub type zend_modifier_target = ::std::os::raw::c_uint;
7252extern "C" {
7253 pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
7254}
7255extern "C" {
7256 pub fn zend_negate_num_string(ast: *mut zend_ast) -> *mut zend_ast;
7257}
7258extern "C" {
7259 pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
7260}
7261extern "C" {
7262 pub fn zend_add_anonymous_class_modifier(flags: u32, new_flag: u32) -> u32;
7263}
7264extern "C" {
7265 pub fn zend_add_member_modifier(flags: u32, new_flag: u32, target: zend_modifier_target)
7266 -> u32;
7267}
7268extern "C" {
7269 pub fn zend_modifier_token_to_flag(target: zend_modifier_target, flags: u32) -> u32;
7270}
7271extern "C" {
7272 pub fn zend_modifier_list_to_flags(
7273 target: zend_modifier_target,
7274 modifiers: *mut zend_ast,
7275 ) -> u32;
7276}
7277extern "C" {
7278 pub fn zend_handle_encoding_declaration(ast: *mut zend_ast) -> bool;
7279}
7280extern "C" {
7281 pub fn zend_bind_class_in_slot(
7282 class_table_slot: *mut zval,
7283 lcname: *mut zval,
7284 lc_parent_name: *mut zend_string,
7285 ) -> *mut zend_class_entry;
7286}
7287extern "C" {
7288 pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
7289}
7290extern "C" {
7291 pub fn zend_compile_string_to_ast(
7292 code: *mut zend_string,
7293 ast_arena: *mut *mut _zend_arena,
7294 filename: *mut zend_string,
7295 ) -> *mut zend_ast;
7296}
7297extern "C" {
7298 pub fn zend_execute_scripts(
7299 type_: ::std::os::raw::c_int,
7300 retval: *mut zval,
7301 file_count: ::std::os::raw::c_int,
7302 ...
7303 ) -> zend_result;
7304}
7305extern "C" {
7306 pub fn zend_destroy_static_vars(op_array: *mut zend_op_array);
7307}
7308extern "C" {
7309 pub fn zend_cleanup_mutable_class_data(ce: *mut zend_class_entry);
7310}
7311extern "C" {
7312 pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
7313}
7314extern "C" {
7315 pub fn zend_type_release(type_: zend_type, persistent: bool);
7316}
7317extern "C" {
7318 pub fn zend_create_member_string(
7319 class_name: *mut zend_string,
7320 member_name: *mut zend_string,
7321 ) -> *mut zend_string;
7322}
7323extern "C" {
7324 pub fn zend_user_exception_handler();
7325}
7326extern "C" {
7327 pub fn zend_free_internal_arg_info(function: *mut zend_internal_function);
7328}
7329extern "C" {
7330 pub fn zend_function_dtor(zv: *mut zval);
7331}
7332extern "C" {
7333 pub fn zend_class_add_ref(zv: *mut zval);
7334}
7335extern "C" {
7336 pub fn zend_mangle_property_name(
7337 src1: *const ::std::os::raw::c_char,
7338 src1_length: usize,
7339 src2: *const ::std::os::raw::c_char,
7340 src2_length: usize,
7341 internal: bool,
7342 ) -> *mut zend_string;
7343}
7344extern "C" {
7345 pub fn zend_unmangle_property_name_ex(
7346 name: *const zend_string,
7347 class_name: *mut *const ::std::os::raw::c_char,
7348 prop_name: *mut *const ::std::os::raw::c_char,
7349 prop_len: *mut usize,
7350 ) -> zend_result;
7351}
7352pub type zend_needs_live_range_cb = ::std::option::Option<
7353 unsafe extern "C" fn(op_array: *mut zend_op_array, opline: *mut zend_op) -> bool,
7354>;
7355extern "C" {
7356 pub fn zend_recalc_live_ranges(
7357 op_array: *mut zend_op_array,
7358 needs_live_range: zend_needs_live_range_cb,
7359 );
7360}
7361extern "C" {
7362 pub fn zend_is_compiling() -> bool;
7363}
7364extern "C" {
7365 pub fn zend_make_compiled_string_description(
7366 name: *const ::std::os::raw::c_char,
7367 ) -> *mut ::std::os::raw::c_char;
7368}
7369extern "C" {
7370 pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: bool);
7371}
7372extern "C" {
7373 pub fn zend_get_class_fetch_type(name: *const zend_string) -> u32;
7374}
7375extern "C" {
7376 pub fn zend_get_call_op(init_op: *const zend_op, fbc: *mut zend_function) -> u8;
7377}
7378extern "C" {
7379 pub fn zend_is_smart_branch(opline: *const zend_op) -> bool;
7380}
7381pub type zend_auto_global_callback =
7382 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> bool>;
7383#[repr(C)]
7384#[derive(Debug, Copy, Clone)]
7385pub struct _zend_auto_global {
7386 pub name: *mut zend_string,
7387 pub auto_global_callback: zend_auto_global_callback,
7388 pub jit: bool,
7389 pub armed: bool,
7390}
7391#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7392const _: () = {
7393 ["Size of _zend_auto_global"][::std::mem::size_of::<_zend_auto_global>() - 24usize];
7394 ["Alignment of _zend_auto_global"][::std::mem::align_of::<_zend_auto_global>() - 8usize];
7395 ["Offset of field: _zend_auto_global::name"]
7396 [::std::mem::offset_of!(_zend_auto_global, name) - 0usize];
7397 ["Offset of field: _zend_auto_global::auto_global_callback"]
7398 [::std::mem::offset_of!(_zend_auto_global, auto_global_callback) - 8usize];
7399 ["Offset of field: _zend_auto_global::jit"]
7400 [::std::mem::offset_of!(_zend_auto_global, jit) - 16usize];
7401 ["Offset of field: _zend_auto_global::armed"]
7402 [::std::mem::offset_of!(_zend_auto_global, armed) - 17usize];
7403};
7404pub type zend_auto_global = _zend_auto_global;
7405extern "C" {
7406 pub fn zend_register_auto_global(
7407 name: *mut zend_string,
7408 jit: bool,
7409 auto_global_callback: zend_auto_global_callback,
7410 ) -> zend_result;
7411}
7412extern "C" {
7413 pub fn zend_activate_auto_globals();
7414}
7415extern "C" {
7416 pub fn zend_is_auto_global(name: *mut zend_string) -> bool;
7417}
7418extern "C" {
7419 pub fn zend_is_auto_global_str(name: *const ::std::os::raw::c_char, len: usize) -> bool;
7420}
7421extern "C" {
7422 pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: usize) -> usize;
7423}
7424extern "C" {
7425 pub fn zend_set_function_arg_flags(func: *mut zend_function);
7426}
7427extern "C" {
7428 pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
7429}
7430extern "C" {
7431 pub fn zend_assert_valid_class_name(const_name: *const zend_string);
7432}
7433extern "C" {
7434 pub fn zend_type_to_string_resolved(
7435 type_: zend_type,
7436 scope: *mut zend_class_entry,
7437 ) -> *mut zend_string;
7438}
7439extern "C" {
7440 pub fn zend_type_to_string(type_: zend_type) -> *mut zend_string;
7441}
7442extern "C" {
7443 pub fn zend_get_opcode_name(opcode: u8) -> *const ::std::os::raw::c_char;
7444}
7445extern "C" {
7446 pub fn zend_get_opcode_flags(opcode: u8) -> u32;
7447}
7448extern "C" {
7449 pub fn zend_get_opcode_id(name: *const ::std::os::raw::c_char, length: usize) -> u8;
7450}
7451extern "C" {
7452 pub fn zend_is_op_long_compatible(op: *const zval) -> bool;
7453}
7454extern "C" {
7455 pub fn zend_binary_op_produces_error(opcode: u32, op1: *const zval, op2: *const zval) -> bool;
7456}
7457extern "C" {
7458 pub fn zend_unary_op_produces_error(opcode: u32, op: *const zval) -> bool;
7459}
7460pub type zend_module_entry = _zend_module_entry;
7461pub type zend_module_dep = _zend_module_dep;
7462#[repr(C)]
7463#[derive(Debug, Copy, Clone)]
7464pub struct _zend_module_entry {
7465 pub size: ::std::os::raw::c_ushort,
7466 pub zend_api: ::std::os::raw::c_uint,
7467 pub zend_debug: ::std::os::raw::c_uchar,
7468 pub zts: ::std::os::raw::c_uchar,
7469 pub ini_entry: *const _zend_ini_entry,
7470 pub deps: *const _zend_module_dep,
7471 pub name: *const ::std::os::raw::c_char,
7472 pub functions: *const _zend_function_entry,
7473 pub module_startup_func: ::std::option::Option<
7474 unsafe extern "C" fn(
7475 type_: ::std::os::raw::c_int,
7476 module_number: ::std::os::raw::c_int,
7477 ) -> zend_result,
7478 >,
7479 pub module_shutdown_func: ::std::option::Option<
7480 unsafe extern "C" fn(
7481 type_: ::std::os::raw::c_int,
7482 module_number: ::std::os::raw::c_int,
7483 ) -> zend_result,
7484 >,
7485 pub request_startup_func: ::std::option::Option<
7486 unsafe extern "C" fn(
7487 type_: ::std::os::raw::c_int,
7488 module_number: ::std::os::raw::c_int,
7489 ) -> zend_result,
7490 >,
7491 pub request_shutdown_func: ::std::option::Option<
7492 unsafe extern "C" fn(
7493 type_: ::std::os::raw::c_int,
7494 module_number: ::std::os::raw::c_int,
7495 ) -> zend_result,
7496 >,
7497 pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
7498 pub version: *const ::std::os::raw::c_char,
7499 pub globals_size: usize,
7500 pub globals_ptr: *mut ::std::os::raw::c_void,
7501 pub globals_ctor:
7502 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
7503 pub globals_dtor:
7504 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
7505 pub post_deactivate_func: ::std::option::Option<unsafe extern "C" fn() -> zend_result>,
7506 pub module_started: ::std::os::raw::c_int,
7507 pub type_: ::std::os::raw::c_uchar,
7508 pub handle: *mut ::std::os::raw::c_void,
7509 pub module_number: ::std::os::raw::c_int,
7510 pub build_id: *const ::std::os::raw::c_char,
7511}
7512#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7513const _: () = {
7514 ["Size of _zend_module_entry"][::std::mem::size_of::<_zend_module_entry>() - 168usize];
7515 ["Alignment of _zend_module_entry"][::std::mem::align_of::<_zend_module_entry>() - 8usize];
7516 ["Offset of field: _zend_module_entry::size"]
7517 [::std::mem::offset_of!(_zend_module_entry, size) - 0usize];
7518 ["Offset of field: _zend_module_entry::zend_api"]
7519 [::std::mem::offset_of!(_zend_module_entry, zend_api) - 4usize];
7520 ["Offset of field: _zend_module_entry::zend_debug"]
7521 [::std::mem::offset_of!(_zend_module_entry, zend_debug) - 8usize];
7522 ["Offset of field: _zend_module_entry::zts"]
7523 [::std::mem::offset_of!(_zend_module_entry, zts) - 9usize];
7524 ["Offset of field: _zend_module_entry::ini_entry"]
7525 [::std::mem::offset_of!(_zend_module_entry, ini_entry) - 16usize];
7526 ["Offset of field: _zend_module_entry::deps"]
7527 [::std::mem::offset_of!(_zend_module_entry, deps) - 24usize];
7528 ["Offset of field: _zend_module_entry::name"]
7529 [::std::mem::offset_of!(_zend_module_entry, name) - 32usize];
7530 ["Offset of field: _zend_module_entry::functions"]
7531 [::std::mem::offset_of!(_zend_module_entry, functions) - 40usize];
7532 ["Offset of field: _zend_module_entry::module_startup_func"]
7533 [::std::mem::offset_of!(_zend_module_entry, module_startup_func) - 48usize];
7534 ["Offset of field: _zend_module_entry::module_shutdown_func"]
7535 [::std::mem::offset_of!(_zend_module_entry, module_shutdown_func) - 56usize];
7536 ["Offset of field: _zend_module_entry::request_startup_func"]
7537 [::std::mem::offset_of!(_zend_module_entry, request_startup_func) - 64usize];
7538 ["Offset of field: _zend_module_entry::request_shutdown_func"]
7539 [::std::mem::offset_of!(_zend_module_entry, request_shutdown_func) - 72usize];
7540 ["Offset of field: _zend_module_entry::info_func"]
7541 [::std::mem::offset_of!(_zend_module_entry, info_func) - 80usize];
7542 ["Offset of field: _zend_module_entry::version"]
7543 [::std::mem::offset_of!(_zend_module_entry, version) - 88usize];
7544 ["Offset of field: _zend_module_entry::globals_size"]
7545 [::std::mem::offset_of!(_zend_module_entry, globals_size) - 96usize];
7546 ["Offset of field: _zend_module_entry::globals_ptr"]
7547 [::std::mem::offset_of!(_zend_module_entry, globals_ptr) - 104usize];
7548 ["Offset of field: _zend_module_entry::globals_ctor"]
7549 [::std::mem::offset_of!(_zend_module_entry, globals_ctor) - 112usize];
7550 ["Offset of field: _zend_module_entry::globals_dtor"]
7551 [::std::mem::offset_of!(_zend_module_entry, globals_dtor) - 120usize];
7552 ["Offset of field: _zend_module_entry::post_deactivate_func"]
7553 [::std::mem::offset_of!(_zend_module_entry, post_deactivate_func) - 128usize];
7554 ["Offset of field: _zend_module_entry::module_started"]
7555 [::std::mem::offset_of!(_zend_module_entry, module_started) - 136usize];
7556 ["Offset of field: _zend_module_entry::type_"]
7557 [::std::mem::offset_of!(_zend_module_entry, type_) - 140usize];
7558 ["Offset of field: _zend_module_entry::handle"]
7559 [::std::mem::offset_of!(_zend_module_entry, handle) - 144usize];
7560 ["Offset of field: _zend_module_entry::module_number"]
7561 [::std::mem::offset_of!(_zend_module_entry, module_number) - 152usize];
7562 ["Offset of field: _zend_module_entry::build_id"]
7563 [::std::mem::offset_of!(_zend_module_entry, build_id) - 160usize];
7564};
7565#[repr(C)]
7566#[derive(Debug, Copy, Clone)]
7567pub struct _zend_module_dep {
7568 pub name: *const ::std::os::raw::c_char,
7569 pub rel: *const ::std::os::raw::c_char,
7570 pub version: *const ::std::os::raw::c_char,
7571 pub type_: ::std::os::raw::c_uchar,
7572}
7573#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7574const _: () = {
7575 ["Size of _zend_module_dep"][::std::mem::size_of::<_zend_module_dep>() - 32usize];
7576 ["Alignment of _zend_module_dep"][::std::mem::align_of::<_zend_module_dep>() - 8usize];
7577 ["Offset of field: _zend_module_dep::name"]
7578 [::std::mem::offset_of!(_zend_module_dep, name) - 0usize];
7579 ["Offset of field: _zend_module_dep::rel"]
7580 [::std::mem::offset_of!(_zend_module_dep, rel) - 8usize];
7581 ["Offset of field: _zend_module_dep::version"]
7582 [::std::mem::offset_of!(_zend_module_dep, version) - 16usize];
7583 ["Offset of field: _zend_module_dep::type_"]
7584 [::std::mem::offset_of!(_zend_module_dep, type_) - 24usize];
7585};
7586extern "C" {
7587 pub static mut module_registry: HashTable;
7588}
7589pub type rsrc_dtor_func_t = ::std::option::Option<unsafe extern "C" fn(res: *mut zend_resource)>;
7590#[repr(C)]
7591#[derive(Debug, Copy, Clone)]
7592pub struct _zend_rsrc_list_dtors_entry {
7593 pub list_dtor_ex: rsrc_dtor_func_t,
7594 pub plist_dtor_ex: rsrc_dtor_func_t,
7595 pub type_name: *const ::std::os::raw::c_char,
7596 pub module_number: ::std::os::raw::c_int,
7597 pub resource_id: ::std::os::raw::c_int,
7598}
7599#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7600const _: () = {
7601 ["Size of _zend_rsrc_list_dtors_entry"]
7602 [::std::mem::size_of::<_zend_rsrc_list_dtors_entry>() - 32usize];
7603 ["Alignment of _zend_rsrc_list_dtors_entry"]
7604 [::std::mem::align_of::<_zend_rsrc_list_dtors_entry>() - 8usize];
7605 ["Offset of field: _zend_rsrc_list_dtors_entry::list_dtor_ex"]
7606 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, list_dtor_ex) - 0usize];
7607 ["Offset of field: _zend_rsrc_list_dtors_entry::plist_dtor_ex"]
7608 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, plist_dtor_ex) - 8usize];
7609 ["Offset of field: _zend_rsrc_list_dtors_entry::type_name"]
7610 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, type_name) - 16usize];
7611 ["Offset of field: _zend_rsrc_list_dtors_entry::module_number"]
7612 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, module_number) - 24usize];
7613 ["Offset of field: _zend_rsrc_list_dtors_entry::resource_id"]
7614 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, resource_id) - 28usize];
7615};
7616pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
7617extern "C" {
7618 pub fn zend_register_list_destructors_ex(
7619 ld: rsrc_dtor_func_t,
7620 pld: rsrc_dtor_func_t,
7621 type_name: *const ::std::os::raw::c_char,
7622 module_number: ::std::os::raw::c_int,
7623 ) -> ::std::os::raw::c_int;
7624}
7625extern "C" {
7626 pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
7627}
7628extern "C" {
7629 pub fn zend_init_rsrc_list();
7630}
7631extern "C" {
7632 pub fn zend_init_rsrc_plist();
7633}
7634extern "C" {
7635 pub fn zend_close_rsrc_list(ht: *mut HashTable);
7636}
7637extern "C" {
7638 pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
7639}
7640extern "C" {
7641 pub fn zend_init_rsrc_list_dtors();
7642}
7643extern "C" {
7644 pub fn zend_destroy_rsrc_list_dtors();
7645}
7646extern "C" {
7647 pub fn zend_list_insert(
7648 ptr: *mut ::std::os::raw::c_void,
7649 type_: ::std::os::raw::c_int,
7650 ) -> *mut zval;
7651}
7652extern "C" {
7653 pub fn zend_list_free(res: *mut zend_resource);
7654}
7655extern "C" {
7656 pub fn zend_list_delete(res: *mut zend_resource) -> zend_result;
7657}
7658extern "C" {
7659 pub fn zend_list_close(res: *mut zend_resource);
7660}
7661extern "C" {
7662 pub fn zend_register_resource(
7663 rsrc_pointer: *mut ::std::os::raw::c_void,
7664 rsrc_type: ::std::os::raw::c_int,
7665 ) -> *mut zend_resource;
7666}
7667extern "C" {
7668 pub fn zend_fetch_resource(
7669 res: *mut zend_resource,
7670 resource_type_name: *const ::std::os::raw::c_char,
7671 resource_type: ::std::os::raw::c_int,
7672 ) -> *mut ::std::os::raw::c_void;
7673}
7674extern "C" {
7675 pub fn zend_fetch_resource2(
7676 res: *mut zend_resource,
7677 resource_type_name: *const ::std::os::raw::c_char,
7678 resource_type: ::std::os::raw::c_int,
7679 resource_type2: ::std::os::raw::c_int,
7680 ) -> *mut ::std::os::raw::c_void;
7681}
7682extern "C" {
7683 pub fn zend_fetch_resource_ex(
7684 res: *mut zval,
7685 resource_type_name: *const ::std::os::raw::c_char,
7686 resource_type: ::std::os::raw::c_int,
7687 ) -> *mut ::std::os::raw::c_void;
7688}
7689extern "C" {
7690 pub fn zend_fetch_resource2_ex(
7691 res: *mut zval,
7692 resource_type_name: *const ::std::os::raw::c_char,
7693 resource_type: ::std::os::raw::c_int,
7694 resource_type2: ::std::os::raw::c_int,
7695 ) -> *mut ::std::os::raw::c_void;
7696}
7697extern "C" {
7698 pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
7699}
7700extern "C" {
7701 pub fn zend_fetch_list_dtor_id(
7702 type_name: *const ::std::os::raw::c_char,
7703 ) -> ::std::os::raw::c_int;
7704}
7705extern "C" {
7706 pub fn zend_register_persistent_resource(
7707 key: *const ::std::os::raw::c_char,
7708 key_len: usize,
7709 rsrc_pointer: *mut ::std::os::raw::c_void,
7710 rsrc_type: ::std::os::raw::c_int,
7711 ) -> *mut zend_resource;
7712}
7713extern "C" {
7714 pub fn zend_register_persistent_resource_ex(
7715 key: *mut zend_string,
7716 rsrc_pointer: *mut ::std::os::raw::c_void,
7717 rsrc_type: ::std::os::raw::c_int,
7718 ) -> *mut zend_resource;
7719}
7720extern "C" {
7721 pub static mut zend_execute_ex:
7722 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
7723}
7724extern "C" {
7725 pub static mut zend_execute_internal: ::std::option::Option<
7726 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
7727 >;
7728}
7729extern "C" {
7730 pub static mut zend_autoload: ::std::option::Option<
7731 unsafe extern "C" fn(
7732 name: *mut zend_string,
7733 lc_name: *mut zend_string,
7734 ) -> *mut zend_class_entry,
7735 >;
7736}
7737extern "C" {
7738 pub fn zend_shutdown_executor_values(fast_shutdown: bool);
7739}
7740extern "C" {
7741 pub fn zend_init_execute_data(
7742 execute_data: *mut zend_execute_data,
7743 op_array: *mut zend_op_array,
7744 return_value: *mut zval,
7745 );
7746}
7747extern "C" {
7748 pub fn zend_init_func_execute_data(
7749 execute_data: *mut zend_execute_data,
7750 op_array: *mut zend_op_array,
7751 return_value: *mut zval,
7752 );
7753}
7754extern "C" {
7755 pub fn zend_init_code_execute_data(
7756 execute_data: *mut zend_execute_data,
7757 op_array: *mut zend_op_array,
7758 return_value: *mut zval,
7759 );
7760}
7761extern "C" {
7762 pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
7763}
7764extern "C" {
7765 pub fn zend_is_valid_class_name(name: *mut zend_string) -> bool;
7766}
7767extern "C" {
7768 pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
7769}
7770extern "C" {
7771 pub fn zend_lookup_class_ex(
7772 name: *mut zend_string,
7773 lcname: *mut zend_string,
7774 flags: u32,
7775 ) -> *mut zend_class_entry;
7776}
7777extern "C" {
7778 pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
7779}
7780extern "C" {
7781 pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
7782}
7783extern "C" {
7784 pub fn zend_eval_string(
7785 str_: *const ::std::os::raw::c_char,
7786 retval_ptr: *mut zval,
7787 string_name: *const ::std::os::raw::c_char,
7788 ) -> zend_result;
7789}
7790extern "C" {
7791 pub fn zend_eval_stringl(
7792 str_: *const ::std::os::raw::c_char,
7793 str_len: usize,
7794 retval_ptr: *mut zval,
7795 string_name: *const ::std::os::raw::c_char,
7796 ) -> zend_result;
7797}
7798extern "C" {
7799 pub fn zend_eval_string_ex(
7800 str_: *const ::std::os::raw::c_char,
7801 retval_ptr: *mut zval,
7802 string_name: *const ::std::os::raw::c_char,
7803 handle_exceptions: bool,
7804 ) -> zend_result;
7805}
7806extern "C" {
7807 pub fn zend_eval_stringl_ex(
7808 str_: *const ::std::os::raw::c_char,
7809 str_len: usize,
7810 retval_ptr: *mut zval,
7811 string_name: *const ::std::os::raw::c_char,
7812 handle_exceptions: bool,
7813 ) -> zend_result;
7814}
7815extern "C" {
7816 pub static zend_pass_function: zend_internal_function;
7817}
7818extern "C" {
7819 pub fn zend_missing_arg_error(execute_data: *mut zend_execute_data);
7820}
7821extern "C" {
7822 pub fn zend_deprecated_function(fbc: *const zend_function);
7823}
7824extern "C" {
7825 pub fn zend_false_to_array_deprecated();
7826}
7827extern "C" {
7828 pub fn zend_param_must_be_ref(func: *const zend_function, arg_num: u32);
7829}
7830extern "C" {
7831 pub fn zend_use_resource_as_offset(dim: *const zval);
7832}
7833extern "C" {
7834 pub fn zend_verify_ref_assignable_zval(
7835 ref_: *mut zend_reference,
7836 zv: *mut zval,
7837 strict: bool,
7838 ) -> bool;
7839}
7840pub const zend_verify_prop_assignable_by_ref_context_ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_ASSIGNMENT : zend_verify_prop_assignable_by_ref_context = 0 ;
7841pub const zend_verify_prop_assignable_by_ref_context_ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_MAGIC_GET : zend_verify_prop_assignable_by_ref_context = 1 ;
7842pub type zend_verify_prop_assignable_by_ref_context = ::std::os::raw::c_uint;
7843extern "C" {
7844 pub fn zend_verify_prop_assignable_by_ref_ex(
7845 prop_info: *const zend_property_info,
7846 orig_val: *mut zval,
7847 strict: bool,
7848 context: zend_verify_prop_assignable_by_ref_context,
7849 ) -> bool;
7850}
7851extern "C" {
7852 pub fn zend_verify_prop_assignable_by_ref(
7853 prop_info: *const zend_property_info,
7854 orig_val: *mut zval,
7855 strict: bool,
7856 ) -> bool;
7857}
7858extern "C" {
7859 pub fn zend_throw_ref_type_error_zval(prop: *const zend_property_info, zv: *const zval);
7860}
7861extern "C" {
7862 pub fn zend_throw_ref_type_error_type(
7863 prop1: *const zend_property_info,
7864 prop2: *const zend_property_info,
7865 zv: *const zval,
7866 );
7867}
7868extern "C" {
7869 pub fn zend_undefined_offset_write(ht: *mut HashTable, lval: zend_long) -> *mut zval;
7870}
7871extern "C" {
7872 pub fn zend_undefined_index_write(ht: *mut HashTable, offset: *mut zend_string) -> *mut zval;
7873}
7874extern "C" {
7875 pub fn zend_wrong_string_offset_error();
7876}
7877extern "C" {
7878 pub fn zend_readonly_property_modification_error(info: *const zend_property_info);
7879}
7880extern "C" {
7881 pub fn zend_readonly_property_indirect_modification_error(info: *const zend_property_info);
7882}
7883extern "C" {
7884 pub fn zend_invalid_class_constant_type_error(type_: u8);
7885}
7886extern "C" {
7887 pub fn zend_object_released_while_assigning_to_property_error(info: *const zend_property_info);
7888}
7889extern "C" {
7890 pub fn zend_cannot_add_element();
7891}
7892extern "C" {
7893 pub fn zend_verify_scalar_type_hint(
7894 type_mask: u32,
7895 arg: *mut zval,
7896 strict: bool,
7897 is_internal_arg: bool,
7898 ) -> bool;
7899}
7900extern "C" {
7901 pub fn zend_verify_arg_error(
7902 zf: *const zend_function,
7903 arg_info: *const zend_arg_info,
7904 arg_num: u32,
7905 value: *mut zval,
7906 );
7907}
7908extern "C" {
7909 pub fn zend_verify_return_error(zf: *const zend_function, value: *mut zval);
7910}
7911extern "C" {
7912 pub fn zend_verify_never_error(zf: *const zend_function);
7913}
7914extern "C" {
7915 pub fn zend_verify_ref_array_assignable(ref_: *mut zend_reference) -> bool;
7916}
7917extern "C" {
7918 pub fn zend_check_user_type_slow(
7919 type_: *mut zend_type,
7920 arg: *mut zval,
7921 ref_: *mut zend_reference,
7922 cache_slot: *mut *mut ::std::os::raw::c_void,
7923 is_return_type: bool,
7924 ) -> bool;
7925}
7926extern "C" {
7927 pub fn zend_ref_add_type_source(
7928 source_list: *mut zend_property_info_source_list,
7929 prop: *mut zend_property_info,
7930 );
7931}
7932extern "C" {
7933 pub fn zend_ref_del_type_source(
7934 source_list: *mut zend_property_info_source_list,
7935 prop: *const zend_property_info,
7936 );
7937}
7938extern "C" {
7939 pub fn zend_assign_to_typed_ref(
7940 variable_ptr: *mut zval,
7941 value: *mut zval,
7942 value_type: u8,
7943 strict: bool,
7944 ) -> *mut zval;
7945}
7946extern "C" {
7947 pub fn zend_assign_to_typed_ref_ex(
7948 variable_ptr: *mut zval,
7949 value: *mut zval,
7950 value_type: u8,
7951 strict: bool,
7952 garbage_ptr: *mut *mut zend_refcounted,
7953 ) -> *mut zval;
7954}
7955#[repr(C)]
7956#[derive(Debug, Copy, Clone)]
7957pub struct _zend_vm_stack {
7958 pub top: *mut zval,
7959 pub end: *mut zval,
7960 pub prev: zend_vm_stack,
7961}
7962#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7963const _: () = {
7964 ["Size of _zend_vm_stack"][::std::mem::size_of::<_zend_vm_stack>() - 24usize];
7965 ["Alignment of _zend_vm_stack"][::std::mem::align_of::<_zend_vm_stack>() - 8usize];
7966 ["Offset of field: _zend_vm_stack::top"][::std::mem::offset_of!(_zend_vm_stack, top) - 0usize];
7967 ["Offset of field: _zend_vm_stack::end"][::std::mem::offset_of!(_zend_vm_stack, end) - 8usize];
7968 ["Offset of field: _zend_vm_stack::prev"]
7969 [::std::mem::offset_of!(_zend_vm_stack, prev) - 16usize];
7970};
7971extern "C" {
7972 pub fn zend_vm_stack_init();
7973}
7974extern "C" {
7975 pub fn zend_vm_stack_init_ex(page_size: usize);
7976}
7977extern "C" {
7978 pub fn zend_vm_stack_destroy();
7979}
7980extern "C" {
7981 pub fn zend_vm_stack_extend(size: usize) -> *mut ::std::os::raw::c_void;
7982}
7983extern "C" {
7984 pub fn zend_vm_stack_copy_call_frame(
7985 call: *mut zend_execute_data,
7986 passed_args: u32,
7987 additional_args: u32,
7988 ) -> *mut zend_execute_data;
7989}
7990extern "C" {
7991 pub fn zend_free_extra_named_params(extra_named_params: *mut zend_array);
7992}
7993extern "C" {
7994 pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
7995}
7996extern "C" {
7997 pub fn zend_get_executed_filename_ex() -> *mut zend_string;
7998}
7999extern "C" {
8000 pub fn zend_get_executed_lineno() -> u32;
8001}
8002extern "C" {
8003 pub fn zend_get_executed_scope() -> *mut zend_class_entry;
8004}
8005extern "C" {
8006 pub fn zend_is_executing() -> bool;
8007}
8008extern "C" {
8009 pub fn zend_cannot_pass_by_reference(arg_num: u32);
8010}
8011extern "C" {
8012 pub fn zend_set_timeout(seconds: zend_long, reset_signals: bool);
8013}
8014extern "C" {
8015 pub fn zend_unset_timeout();
8016}
8017extern "C" {
8018 pub fn zend_timeout() -> !;
8019}
8020extern "C" {
8021 pub fn zend_fetch_class(class_name: *mut zend_string, fetch_type: u32)
8022 -> *mut zend_class_entry;
8023}
8024extern "C" {
8025 pub fn zend_fetch_class_with_scope(
8026 class_name: *mut zend_string,
8027 fetch_type: u32,
8028 scope: *mut zend_class_entry,
8029 ) -> *mut zend_class_entry;
8030}
8031extern "C" {
8032 pub fn zend_fetch_class_by_name(
8033 class_name: *mut zend_string,
8034 lcname: *mut zend_string,
8035 fetch_type: u32,
8036 ) -> *mut zend_class_entry;
8037}
8038extern "C" {
8039 pub fn zend_fetch_function(name: *mut zend_string) -> *mut zend_function;
8040}
8041extern "C" {
8042 pub fn zend_fetch_function_str(
8043 name: *const ::std::os::raw::c_char,
8044 len: usize,
8045 ) -> *mut zend_function;
8046}
8047extern "C" {
8048 pub fn zend_init_func_run_time_cache(op_array: *mut zend_op_array);
8049}
8050extern "C" {
8051 pub fn zend_fetch_dimension_const(
8052 result: *mut zval,
8053 container: *mut zval,
8054 dim: *mut zval,
8055 type_: ::std::os::raw::c_int,
8056 );
8057}
8058extern "C" {
8059 pub fn zend_get_compiled_variable_value(
8060 execute_data_ptr: *const zend_execute_data,
8061 var: u32,
8062 ) -> *mut zval;
8063}
8064extern "C" {
8065 pub fn zend_gcc_global_regs() -> bool;
8066}
8067extern "C" {
8068 pub fn zend_set_user_opcode_handler(opcode: u8, handler: user_opcode_handler_t) -> zend_result;
8069}
8070extern "C" {
8071 pub fn zend_get_user_opcode_handler(opcode: u8) -> user_opcode_handler_t;
8072}
8073extern "C" {
8074 pub fn zend_get_zval_ptr(
8075 opline: *const zend_op,
8076 op_type: ::std::os::raw::c_int,
8077 node: *const znode_op,
8078 execute_data: *const zend_execute_data,
8079 ) -> *mut zval;
8080}
8081extern "C" {
8082 pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
8083}
8084extern "C" {
8085 pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
8086}
8087extern "C" {
8088 pub fn zend_unfinished_calls_gc(
8089 execute_data: *mut zend_execute_data,
8090 call: *mut zend_execute_data,
8091 op_num: u32,
8092 buf: *mut zend_get_gc_buffer,
8093 );
8094}
8095extern "C" {
8096 pub fn zend_cleanup_unfinished_execution(
8097 execute_data: *mut zend_execute_data,
8098 op_num: u32,
8099 catch_op_num: u32,
8100 );
8101}
8102extern "C" {
8103 pub fn zend_unfinished_execution_gc(
8104 execute_data: *mut zend_execute_data,
8105 call: *mut zend_execute_data,
8106 gc_buffer: *mut zend_get_gc_buffer,
8107 ) -> *mut HashTable;
8108}
8109extern "C" {
8110 pub fn zend_unfinished_execution_gc_ex(
8111 execute_data: *mut zend_execute_data,
8112 call: *mut zend_execute_data,
8113 gc_buffer: *mut zend_get_gc_buffer,
8114 suspended_by_yield: bool,
8115 ) -> *mut HashTable;
8116}
8117extern "C" {
8118 pub fn zend_handle_named_arg(
8119 call_ptr: *mut *mut zend_execute_data,
8120 arg_name: *mut zend_string,
8121 arg_num_ptr: *mut u32,
8122 cache_slot: *mut *mut ::std::os::raw::c_void,
8123 ) -> *mut zval;
8124}
8125extern "C" {
8126 pub fn zend_handle_undef_args(call: *mut zend_execute_data) -> zend_result;
8127}
8128extern "C" {
8129 pub fn zend_verify_class_constant_type(
8130 c: *mut zend_class_constant,
8131 name: *const zend_string,
8132 constant: *mut zval,
8133 ) -> bool;
8134}
8135extern "C" {
8136 pub fn zend_verify_class_constant_type_error(
8137 c: *const zend_class_constant,
8138 name: *const zend_string,
8139 constant: *const zval,
8140 );
8141}
8142extern "C" {
8143 pub fn zend_verify_property_type(
8144 info: *const zend_property_info,
8145 property: *mut zval,
8146 strict: bool,
8147 ) -> bool;
8148}
8149extern "C" {
8150 pub fn zend_verify_property_type_error(info: *const zend_property_info, property: *const zval);
8151}
8152extern "C" {
8153 pub fn zend_magic_get_property_type_inconsistency_error(
8154 info: *const zend_property_info,
8155 property: *const zval,
8156 );
8157}
8158extern "C" {
8159 pub fn zend_match_unhandled_error(value: *const zval);
8160}
8161#[repr(C)]
8162#[derive(Debug, Copy, Clone)]
8163pub struct _zend_function_entry {
8164 pub fname: *const ::std::os::raw::c_char,
8165 pub handler: zif_handler,
8166 pub arg_info: *const _zend_internal_arg_info,
8167 pub num_args: u32,
8168 pub flags: u32,
8169}
8170#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8171const _: () = {
8172 ["Size of _zend_function_entry"][::std::mem::size_of::<_zend_function_entry>() - 32usize];
8173 ["Alignment of _zend_function_entry"][::std::mem::align_of::<_zend_function_entry>() - 8usize];
8174 ["Offset of field: _zend_function_entry::fname"]
8175 [::std::mem::offset_of!(_zend_function_entry, fname) - 0usize];
8176 ["Offset of field: _zend_function_entry::handler"]
8177 [::std::mem::offset_of!(_zend_function_entry, handler) - 8usize];
8178 ["Offset of field: _zend_function_entry::arg_info"]
8179 [::std::mem::offset_of!(_zend_function_entry, arg_info) - 16usize];
8180 ["Offset of field: _zend_function_entry::num_args"]
8181 [::std::mem::offset_of!(_zend_function_entry, num_args) - 24usize];
8182 ["Offset of field: _zend_function_entry::flags"]
8183 [::std::mem::offset_of!(_zend_function_entry, flags) - 28usize];
8184};
8185pub type zend_function_entry = _zend_function_entry;
8186#[repr(C)]
8187#[derive(Copy, Clone)]
8188pub struct _zend_fcall_info {
8189 pub size: usize,
8190 pub function_name: zval,
8191 pub retval: *mut zval,
8192 pub params: *mut zval,
8193 pub object: *mut zend_object,
8194 pub param_count: u32,
8195 pub named_params: *mut HashTable,
8196}
8197#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8198const _: () = {
8199 ["Size of _zend_fcall_info"][::std::mem::size_of::<_zend_fcall_info>() - 64usize];
8200 ["Alignment of _zend_fcall_info"][::std::mem::align_of::<_zend_fcall_info>() - 8usize];
8201 ["Offset of field: _zend_fcall_info::size"]
8202 [::std::mem::offset_of!(_zend_fcall_info, size) - 0usize];
8203 ["Offset of field: _zend_fcall_info::function_name"]
8204 [::std::mem::offset_of!(_zend_fcall_info, function_name) - 8usize];
8205 ["Offset of field: _zend_fcall_info::retval"]
8206 [::std::mem::offset_of!(_zend_fcall_info, retval) - 24usize];
8207 ["Offset of field: _zend_fcall_info::params"]
8208 [::std::mem::offset_of!(_zend_fcall_info, params) - 32usize];
8209 ["Offset of field: _zend_fcall_info::object"]
8210 [::std::mem::offset_of!(_zend_fcall_info, object) - 40usize];
8211 ["Offset of field: _zend_fcall_info::param_count"]
8212 [::std::mem::offset_of!(_zend_fcall_info, param_count) - 48usize];
8213 ["Offset of field: _zend_fcall_info::named_params"]
8214 [::std::mem::offset_of!(_zend_fcall_info, named_params) - 56usize];
8215};
8216pub type zend_fcall_info = _zend_fcall_info;
8217#[repr(C)]
8218#[derive(Debug, Copy, Clone)]
8219pub struct _zend_fcall_info_cache {
8220 pub function_handler: *mut zend_function,
8221 pub calling_scope: *mut zend_class_entry,
8222 pub called_scope: *mut zend_class_entry,
8223 pub object: *mut zend_object,
8224 pub closure: *mut zend_object,
8225}
8226#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8227const _: () = {
8228 ["Size of _zend_fcall_info_cache"][::std::mem::size_of::<_zend_fcall_info_cache>() - 40usize];
8229 ["Alignment of _zend_fcall_info_cache"]
8230 [::std::mem::align_of::<_zend_fcall_info_cache>() - 8usize];
8231 ["Offset of field: _zend_fcall_info_cache::function_handler"]
8232 [::std::mem::offset_of!(_zend_fcall_info_cache, function_handler) - 0usize];
8233 ["Offset of field: _zend_fcall_info_cache::calling_scope"]
8234 [::std::mem::offset_of!(_zend_fcall_info_cache, calling_scope) - 8usize];
8235 ["Offset of field: _zend_fcall_info_cache::called_scope"]
8236 [::std::mem::offset_of!(_zend_fcall_info_cache, called_scope) - 16usize];
8237 ["Offset of field: _zend_fcall_info_cache::object"]
8238 [::std::mem::offset_of!(_zend_fcall_info_cache, object) - 24usize];
8239 ["Offset of field: _zend_fcall_info_cache::closure"]
8240 [::std::mem::offset_of!(_zend_fcall_info_cache, closure) - 32usize];
8241};
8242pub type zend_fcall_info_cache = _zend_fcall_info_cache;
8243extern "C" {
8244 pub fn zend_next_free_module() -> ::std::os::raw::c_int;
8245}
8246extern "C" {
8247 pub fn zend_get_parameters_array_ex(param_count: u32, argument_array: *mut zval)
8248 -> zend_result;
8249}
8250extern "C" {
8251 pub fn zend_copy_parameters_array(param_count: u32, argument_array: *mut zval) -> zend_result;
8252}
8253extern "C" {
8254 pub fn zend_parse_parameters(
8255 num_args: u32,
8256 type_spec: *const ::std::os::raw::c_char,
8257 ...
8258 ) -> zend_result;
8259}
8260extern "C" {
8261 pub fn zend_parse_parameters_ex(
8262 flags: ::std::os::raw::c_int,
8263 num_args: u32,
8264 type_spec: *const ::std::os::raw::c_char,
8265 ...
8266 ) -> zend_result;
8267}
8268extern "C" {
8269 pub fn zend_zval_type_name(arg: *const zval) -> *const ::std::os::raw::c_char;
8270}
8271extern "C" {
8272 pub fn zend_zval_value_name(arg: *const zval) -> *const ::std::os::raw::c_char;
8273}
8274extern "C" {
8275 pub fn zend_zval_get_legacy_type(arg: *const zval) -> *mut zend_string;
8276}
8277extern "C" {
8278 pub fn zend_parse_method_parameters(
8279 num_args: u32,
8280 this_ptr: *mut zval,
8281 type_spec: *const ::std::os::raw::c_char,
8282 ...
8283 ) -> zend_result;
8284}
8285extern "C" {
8286 pub fn zend_parse_method_parameters_ex(
8287 flags: ::std::os::raw::c_int,
8288 num_args: u32,
8289 this_ptr: *mut zval,
8290 type_spec: *const ::std::os::raw::c_char,
8291 ...
8292 ) -> zend_result;
8293}
8294extern "C" {
8295 pub fn zend_parse_parameter(
8296 flags: ::std::os::raw::c_int,
8297 arg_num: u32,
8298 arg: *mut zval,
8299 spec: *const ::std::os::raw::c_char,
8300 ...
8301 ) -> zend_result;
8302}
8303extern "C" {
8304 pub fn zend_register_functions(
8305 scope: *mut zend_class_entry,
8306 functions: *const zend_function_entry,
8307 function_table: *mut HashTable,
8308 type_: ::std::os::raw::c_int,
8309 ) -> zend_result;
8310}
8311extern "C" {
8312 pub fn zend_unregister_functions(
8313 functions: *const zend_function_entry,
8314 count: ::std::os::raw::c_int,
8315 function_table: *mut HashTable,
8316 );
8317}
8318extern "C" {
8319 pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> zend_result;
8320}
8321extern "C" {
8322 pub fn zend_register_internal_module(
8323 module_entry: *mut zend_module_entry,
8324 ) -> *mut zend_module_entry;
8325}
8326extern "C" {
8327 pub fn zend_register_module_ex(module: *mut zend_module_entry) -> *mut zend_module_entry;
8328}
8329extern "C" {
8330 pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> zend_result;
8331}
8332extern "C" {
8333 pub fn zend_startup_modules();
8334}
8335extern "C" {
8336 pub fn zend_collect_module_handlers();
8337}
8338extern "C" {
8339 pub fn zend_destroy_modules();
8340}
8341extern "C" {
8342 pub fn zend_check_magic_method_implementation(
8343 ce: *const zend_class_entry,
8344 fptr: *const zend_function,
8345 lcname: *mut zend_string,
8346 error_type: ::std::os::raw::c_int,
8347 );
8348}
8349extern "C" {
8350 pub fn zend_add_magic_method(
8351 ce: *mut zend_class_entry,
8352 fptr: *mut zend_function,
8353 lcname: *mut zend_string,
8354 );
8355}
8356extern "C" {
8357 pub fn zend_register_internal_class(
8358 class_entry: *mut zend_class_entry,
8359 ) -> *mut zend_class_entry;
8360}
8361extern "C" {
8362 pub fn zend_register_internal_class_ex(
8363 class_entry: *mut zend_class_entry,
8364 parent_ce: *mut zend_class_entry,
8365 ) -> *mut zend_class_entry;
8366}
8367extern "C" {
8368 pub fn zend_register_internal_interface(
8369 orig_class_entry: *mut zend_class_entry,
8370 ) -> *mut zend_class_entry;
8371}
8372extern "C" {
8373 pub fn zend_class_implements(
8374 class_entry: *mut zend_class_entry,
8375 num_interfaces: ::std::os::raw::c_int,
8376 ...
8377 );
8378}
8379extern "C" {
8380 pub fn zend_register_class_alias_ex(
8381 name: *const ::std::os::raw::c_char,
8382 name_len: usize,
8383 ce: *mut zend_class_entry,
8384 persistent: bool,
8385 ) -> zend_result;
8386}
8387extern "C" {
8388 pub fn zend_disable_functions(function_list: *const ::std::os::raw::c_char);
8389}
8390extern "C" {
8391 pub fn zend_disable_class(
8392 class_name: *const ::std::os::raw::c_char,
8393 class_name_length: usize,
8394 ) -> zend_result;
8395}
8396extern "C" {
8397 pub fn zend_wrong_param_count();
8398}
8399extern "C" {
8400 pub fn zend_wrong_property_read(object: *mut zval, property: *mut zval);
8401}
8402extern "C" {
8403 pub fn zend_release_fcall_info_cache(fcc: *mut zend_fcall_info_cache);
8404}
8405extern "C" {
8406 pub fn zend_get_callable_name_ex(
8407 callable: *mut zval,
8408 object: *mut zend_object,
8409 ) -> *mut zend_string;
8410}
8411extern "C" {
8412 pub fn zend_get_callable_name(callable: *mut zval) -> *mut zend_string;
8413}
8414extern "C" {
8415 pub fn zend_is_callable_at_frame(
8416 callable: *mut zval,
8417 object: *mut zend_object,
8418 frame: *mut zend_execute_data,
8419 check_flags: u32,
8420 fcc: *mut zend_fcall_info_cache,
8421 error: *mut *mut ::std::os::raw::c_char,
8422 ) -> bool;
8423}
8424extern "C" {
8425 pub fn zend_is_callable_ex(
8426 callable: *mut zval,
8427 object: *mut zend_object,
8428 check_flags: u32,
8429 callable_name: *mut *mut zend_string,
8430 fcc: *mut zend_fcall_info_cache,
8431 error: *mut *mut ::std::os::raw::c_char,
8432 ) -> bool;
8433}
8434extern "C" {
8435 pub fn zend_is_callable(
8436 callable: *mut zval,
8437 check_flags: u32,
8438 callable_name: *mut *mut zend_string,
8439 ) -> bool;
8440}
8441extern "C" {
8442 pub fn zend_make_callable(callable: *mut zval, callable_name: *mut *mut zend_string) -> bool;
8443}
8444extern "C" {
8445 pub fn zend_get_module_version(
8446 module_name: *const ::std::os::raw::c_char,
8447 ) -> *const ::std::os::raw::c_char;
8448}
8449extern "C" {
8450 pub fn zend_get_module_started(module_name: *const ::std::os::raw::c_char) -> zend_result;
8451}
8452extern "C" {
8453 pub fn zend_declare_typed_property(
8454 ce: *mut zend_class_entry,
8455 name: *mut zend_string,
8456 property: *mut zval,
8457 access_type: ::std::os::raw::c_int,
8458 doc_comment: *mut zend_string,
8459 type_: zend_type,
8460 ) -> *mut zend_property_info;
8461}
8462extern "C" {
8463 pub fn zend_declare_property_ex(
8464 ce: *mut zend_class_entry,
8465 name: *mut zend_string,
8466 property: *mut zval,
8467 access_type: ::std::os::raw::c_int,
8468 doc_comment: *mut zend_string,
8469 );
8470}
8471extern "C" {
8472 pub fn zend_declare_property(
8473 ce: *mut zend_class_entry,
8474 name: *const ::std::os::raw::c_char,
8475 name_length: usize,
8476 property: *mut zval,
8477 access_type: ::std::os::raw::c_int,
8478 );
8479}
8480extern "C" {
8481 pub fn zend_declare_property_null(
8482 ce: *mut zend_class_entry,
8483 name: *const ::std::os::raw::c_char,
8484 name_length: usize,
8485 access_type: ::std::os::raw::c_int,
8486 );
8487}
8488extern "C" {
8489 pub fn zend_declare_property_bool(
8490 ce: *mut zend_class_entry,
8491 name: *const ::std::os::raw::c_char,
8492 name_length: usize,
8493 value: zend_long,
8494 access_type: ::std::os::raw::c_int,
8495 );
8496}
8497extern "C" {
8498 pub fn zend_declare_property_long(
8499 ce: *mut zend_class_entry,
8500 name: *const ::std::os::raw::c_char,
8501 name_length: usize,
8502 value: zend_long,
8503 access_type: ::std::os::raw::c_int,
8504 );
8505}
8506extern "C" {
8507 pub fn zend_declare_property_double(
8508 ce: *mut zend_class_entry,
8509 name: *const ::std::os::raw::c_char,
8510 name_length: usize,
8511 value: f64,
8512 access_type: ::std::os::raw::c_int,
8513 );
8514}
8515extern "C" {
8516 pub fn zend_declare_property_string(
8517 ce: *mut zend_class_entry,
8518 name: *const ::std::os::raw::c_char,
8519 name_length: usize,
8520 value: *const ::std::os::raw::c_char,
8521 access_type: ::std::os::raw::c_int,
8522 );
8523}
8524extern "C" {
8525 pub fn zend_declare_property_stringl(
8526 ce: *mut zend_class_entry,
8527 name: *const ::std::os::raw::c_char,
8528 name_length: usize,
8529 value: *const ::std::os::raw::c_char,
8530 value_len: usize,
8531 access_type: ::std::os::raw::c_int,
8532 );
8533}
8534extern "C" {
8535 pub fn zend_declare_typed_class_constant(
8536 ce: *mut zend_class_entry,
8537 name: *mut zend_string,
8538 value: *mut zval,
8539 access_type: ::std::os::raw::c_int,
8540 doc_comment: *mut zend_string,
8541 type_: zend_type,
8542 ) -> *mut zend_class_constant;
8543}
8544extern "C" {
8545 pub fn zend_declare_class_constant_ex(
8546 ce: *mut zend_class_entry,
8547 name: *mut zend_string,
8548 value: *mut zval,
8549 access_type: ::std::os::raw::c_int,
8550 doc_comment: *mut zend_string,
8551 ) -> *mut zend_class_constant;
8552}
8553extern "C" {
8554 pub fn zend_declare_class_constant(
8555 ce: *mut zend_class_entry,
8556 name: *const ::std::os::raw::c_char,
8557 name_length: usize,
8558 value: *mut zval,
8559 );
8560}
8561extern "C" {
8562 pub fn zend_declare_class_constant_null(
8563 ce: *mut zend_class_entry,
8564 name: *const ::std::os::raw::c_char,
8565 name_length: usize,
8566 );
8567}
8568extern "C" {
8569 pub fn zend_declare_class_constant_long(
8570 ce: *mut zend_class_entry,
8571 name: *const ::std::os::raw::c_char,
8572 name_length: usize,
8573 value: zend_long,
8574 );
8575}
8576extern "C" {
8577 pub fn zend_declare_class_constant_bool(
8578 ce: *mut zend_class_entry,
8579 name: *const ::std::os::raw::c_char,
8580 name_length: usize,
8581 value: bool,
8582 );
8583}
8584extern "C" {
8585 pub fn zend_declare_class_constant_double(
8586 ce: *mut zend_class_entry,
8587 name: *const ::std::os::raw::c_char,
8588 name_length: usize,
8589 value: f64,
8590 );
8591}
8592extern "C" {
8593 pub fn zend_declare_class_constant_stringl(
8594 ce: *mut zend_class_entry,
8595 name: *const ::std::os::raw::c_char,
8596 name_length: usize,
8597 value: *const ::std::os::raw::c_char,
8598 value_length: usize,
8599 );
8600}
8601extern "C" {
8602 pub fn zend_declare_class_constant_string(
8603 ce: *mut zend_class_entry,
8604 name: *const ::std::os::raw::c_char,
8605 name_length: usize,
8606 value: *const ::std::os::raw::c_char,
8607 );
8608}
8609extern "C" {
8610 pub fn zend_update_class_constant(
8611 c: *mut zend_class_constant,
8612 name: *const zend_string,
8613 scope: *mut zend_class_entry,
8614 ) -> zend_result;
8615}
8616extern "C" {
8617 pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> zend_result;
8618}
8619extern "C" {
8620 pub fn zend_separate_class_constants_table(class_type: *mut zend_class_entry)
8621 -> *mut HashTable;
8622}
8623extern "C" {
8624 pub fn zend_update_property_ex(
8625 scope: *mut zend_class_entry,
8626 object: *mut zend_object,
8627 name: *mut zend_string,
8628 value: *mut zval,
8629 );
8630}
8631extern "C" {
8632 pub fn zend_update_property(
8633 scope: *mut zend_class_entry,
8634 object: *mut zend_object,
8635 name: *const ::std::os::raw::c_char,
8636 name_length: usize,
8637 value: *mut zval,
8638 );
8639}
8640extern "C" {
8641 pub fn zend_update_property_null(
8642 scope: *mut zend_class_entry,
8643 object: *mut zend_object,
8644 name: *const ::std::os::raw::c_char,
8645 name_length: usize,
8646 );
8647}
8648extern "C" {
8649 pub fn zend_update_property_bool(
8650 scope: *mut zend_class_entry,
8651 object: *mut zend_object,
8652 name: *const ::std::os::raw::c_char,
8653 name_length: usize,
8654 value: zend_long,
8655 );
8656}
8657extern "C" {
8658 pub fn zend_update_property_long(
8659 scope: *mut zend_class_entry,
8660 object: *mut zend_object,
8661 name: *const ::std::os::raw::c_char,
8662 name_length: usize,
8663 value: zend_long,
8664 );
8665}
8666extern "C" {
8667 pub fn zend_update_property_double(
8668 scope: *mut zend_class_entry,
8669 object: *mut zend_object,
8670 name: *const ::std::os::raw::c_char,
8671 name_length: usize,
8672 value: f64,
8673 );
8674}
8675extern "C" {
8676 pub fn zend_update_property_str(
8677 scope: *mut zend_class_entry,
8678 object: *mut zend_object,
8679 name: *const ::std::os::raw::c_char,
8680 name_length: usize,
8681 value: *mut zend_string,
8682 );
8683}
8684extern "C" {
8685 pub fn zend_update_property_string(
8686 scope: *mut zend_class_entry,
8687 object: *mut zend_object,
8688 name: *const ::std::os::raw::c_char,
8689 name_length: usize,
8690 value: *const ::std::os::raw::c_char,
8691 );
8692}
8693extern "C" {
8694 pub fn zend_update_property_stringl(
8695 scope: *mut zend_class_entry,
8696 object: *mut zend_object,
8697 name: *const ::std::os::raw::c_char,
8698 name_length: usize,
8699 value: *const ::std::os::raw::c_char,
8700 value_length: usize,
8701 );
8702}
8703extern "C" {
8704 pub fn zend_unset_property(
8705 scope: *mut zend_class_entry,
8706 object: *mut zend_object,
8707 name: *const ::std::os::raw::c_char,
8708 name_length: usize,
8709 );
8710}
8711extern "C" {
8712 pub fn zend_update_static_property_ex(
8713 scope: *mut zend_class_entry,
8714 name: *mut zend_string,
8715 value: *mut zval,
8716 ) -> zend_result;
8717}
8718extern "C" {
8719 pub fn zend_update_static_property(
8720 scope: *mut zend_class_entry,
8721 name: *const ::std::os::raw::c_char,
8722 name_length: usize,
8723 value: *mut zval,
8724 ) -> zend_result;
8725}
8726extern "C" {
8727 pub fn zend_update_static_property_null(
8728 scope: *mut zend_class_entry,
8729 name: *const ::std::os::raw::c_char,
8730 name_length: usize,
8731 ) -> zend_result;
8732}
8733extern "C" {
8734 pub fn zend_update_static_property_bool(
8735 scope: *mut zend_class_entry,
8736 name: *const ::std::os::raw::c_char,
8737 name_length: usize,
8738 value: zend_long,
8739 ) -> zend_result;
8740}
8741extern "C" {
8742 pub fn zend_update_static_property_long(
8743 scope: *mut zend_class_entry,
8744 name: *const ::std::os::raw::c_char,
8745 name_length: usize,
8746 value: zend_long,
8747 ) -> zend_result;
8748}
8749extern "C" {
8750 pub fn zend_update_static_property_double(
8751 scope: *mut zend_class_entry,
8752 name: *const ::std::os::raw::c_char,
8753 name_length: usize,
8754 value: f64,
8755 ) -> zend_result;
8756}
8757extern "C" {
8758 pub fn zend_update_static_property_string(
8759 scope: *mut zend_class_entry,
8760 name: *const ::std::os::raw::c_char,
8761 name_length: usize,
8762 value: *const ::std::os::raw::c_char,
8763 ) -> zend_result;
8764}
8765extern "C" {
8766 pub fn zend_update_static_property_stringl(
8767 scope: *mut zend_class_entry,
8768 name: *const ::std::os::raw::c_char,
8769 name_length: usize,
8770 value: *const ::std::os::raw::c_char,
8771 value_length: usize,
8772 ) -> zend_result;
8773}
8774extern "C" {
8775 pub fn zend_read_property_ex(
8776 scope: *mut zend_class_entry,
8777 object: *mut zend_object,
8778 name: *mut zend_string,
8779 silent: bool,
8780 rv: *mut zval,
8781 ) -> *mut zval;
8782}
8783extern "C" {
8784 pub fn zend_read_property(
8785 scope: *mut zend_class_entry,
8786 object: *mut zend_object,
8787 name: *const ::std::os::raw::c_char,
8788 name_length: usize,
8789 silent: bool,
8790 rv: *mut zval,
8791 ) -> *mut zval;
8792}
8793extern "C" {
8794 pub fn zend_read_static_property_ex(
8795 scope: *mut zend_class_entry,
8796 name: *mut zend_string,
8797 silent: bool,
8798 ) -> *mut zval;
8799}
8800extern "C" {
8801 pub fn zend_read_static_property(
8802 scope: *mut zend_class_entry,
8803 name: *const ::std::os::raw::c_char,
8804 name_length: usize,
8805 silent: bool,
8806 ) -> *mut zval;
8807}
8808extern "C" {
8809 pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
8810}
8811extern "C" {
8812 pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
8813}
8814extern "C" {
8815 pub static empty_fcall_info: zend_fcall_info;
8816}
8817extern "C" {
8818 pub static empty_fcall_info_cache: zend_fcall_info_cache;
8819}
8820extern "C" {
8821 #[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."]
8822 pub fn zend_fcall_info_init(
8823 callable: *mut zval,
8824 check_flags: u32,
8825 fci: *mut zend_fcall_info,
8826 fcc: *mut zend_fcall_info_cache,
8827 callable_name: *mut *mut zend_string,
8828 error: *mut *mut ::std::os::raw::c_char,
8829 ) -> zend_result;
8830}
8831extern "C" {
8832 #[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"]
8833 pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: bool);
8834}
8835extern "C" {
8836 #[doc = " Save current arguments from zend_fcall_info *fci\n params array will be set to NULL"]
8837 pub fn zend_fcall_info_args_save(
8838 fci: *mut zend_fcall_info,
8839 param_count: *mut u32,
8840 params: *mut *mut zval,
8841 );
8842}
8843extern "C" {
8844 #[doc = " Free arguments connected with zend_fcall_info *fci and set back saved ones."]
8845 pub fn zend_fcall_info_args_restore(
8846 fci: *mut zend_fcall_info,
8847 param_count: u32,
8848 params: *mut zval,
8849 );
8850}
8851extern "C" {
8852 #[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."]
8853 pub fn zend_fcall_info_args(fci: *mut zend_fcall_info, args: *mut zval) -> zend_result;
8854}
8855extern "C" {
8856 pub fn zend_fcall_info_args_ex(
8857 fci: *mut zend_fcall_info,
8858 func: *mut zend_function,
8859 args: *mut zval,
8860 ) -> zend_result;
8861}
8862extern "C" {
8863 #[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."]
8864 pub fn zend_fcall_info_argp(fci: *mut zend_fcall_info, argc: u32, argv: *mut zval);
8865}
8866extern "C" {
8867 #[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."]
8868 pub fn zend_fcall_info_argv(fci: *mut zend_fcall_info, argc: u32, argv: *mut va_list);
8869}
8870extern "C" {
8871 #[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."]
8872 pub fn zend_fcall_info_argn(fci: *mut zend_fcall_info, argc: u32, ...);
8873}
8874extern "C" {
8875 #[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."]
8876 pub fn zend_fcall_info_call(
8877 fci: *mut zend_fcall_info,
8878 fcc: *mut zend_fcall_info_cache,
8879 retval: *mut zval,
8880 args: *mut zval,
8881 ) -> zend_result;
8882}
8883extern "C" {
8884 pub fn zend_get_callable_zval_from_fcc(fcc: *const zend_fcall_info_cache, callable: *mut zval);
8885}
8886extern "C" {
8887 pub fn zend_call_function(
8888 fci: *mut zend_fcall_info,
8889 fci_cache: *mut zend_fcall_info_cache,
8890 ) -> zend_result;
8891}
8892extern "C" {
8893 pub fn zend_call_known_function(
8894 fn_: *mut zend_function,
8895 object: *mut zend_object,
8896 called_scope: *mut zend_class_entry,
8897 retval_ptr: *mut zval,
8898 param_count: u32,
8899 params: *mut zval,
8900 named_params: *mut HashTable,
8901 );
8902}
8903extern "C" {
8904 pub fn zend_call_known_instance_method_with_2_params(
8905 fn_: *mut zend_function,
8906 object: *mut zend_object,
8907 retval_ptr: *mut zval,
8908 param1: *mut zval,
8909 param2: *mut zval,
8910 );
8911}
8912extern "C" {
8913 pub fn zend_call_method_if_exists(
8914 object: *mut zend_object,
8915 method_name: *mut zend_string,
8916 retval: *mut zval,
8917 param_count: u32,
8918 params: *mut zval,
8919 ) -> zend_result;
8920}
8921extern "C" {
8922 pub fn zend_set_hash_symbol(
8923 symbol: *mut zval,
8924 name: *const ::std::os::raw::c_char,
8925 name_length: usize,
8926 is_ref: bool,
8927 num_symbol_tables: ::std::os::raw::c_int,
8928 ...
8929 ) -> zend_result;
8930}
8931extern "C" {
8932 pub fn zend_delete_global_variable(name: *mut zend_string) -> zend_result;
8933}
8934extern "C" {
8935 pub fn zend_rebuild_symbol_table() -> *mut zend_array;
8936}
8937extern "C" {
8938 pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
8939}
8940extern "C" {
8941 pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
8942}
8943extern "C" {
8944 pub fn zend_set_local_var(name: *mut zend_string, value: *mut zval, force: bool)
8945 -> zend_result;
8946}
8947extern "C" {
8948 pub fn zend_set_local_var_str(
8949 name: *const ::std::os::raw::c_char,
8950 len: usize,
8951 value: *mut zval,
8952 force: bool,
8953 ) -> zend_result;
8954}
8955extern "C" {
8956 pub fn zend_get_object_type_case(
8957 ce: *const zend_class_entry,
8958 upper_case: bool,
8959 ) -> *const ::std::os::raw::c_char;
8960}
8961extern "C" {
8962 pub fn zend_is_iterable(iterable: *const zval) -> bool;
8963}
8964extern "C" {
8965 pub fn zend_is_countable(countable: *const zval) -> bool;
8966}
8967extern "C" {
8968 pub fn zend_get_default_from_internal_arg_info(
8969 default_value_zval: *mut zval,
8970 arg_info: *mut zend_internal_arg_info,
8971 ) -> zend_result;
8972}
8973extern "C" {
8974 pub fn zend_try_assign_typed_ref_ex(
8975 ref_: *mut zend_reference,
8976 zv: *mut zval,
8977 strict: bool,
8978 ) -> zend_result;
8979}
8980extern "C" {
8981 pub fn zend_try_assign_typed_ref(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
8982}
8983extern "C" {
8984 pub fn zend_try_assign_typed_ref_null(ref_: *mut zend_reference) -> zend_result;
8985}
8986extern "C" {
8987 pub fn zend_try_assign_typed_ref_bool(ref_: *mut zend_reference, val: bool) -> zend_result;
8988}
8989extern "C" {
8990 pub fn zend_try_assign_typed_ref_long(
8991 ref_: *mut zend_reference,
8992 lval: zend_long,
8993 ) -> zend_result;
8994}
8995extern "C" {
8996 pub fn zend_try_assign_typed_ref_double(ref_: *mut zend_reference, dval: f64) -> zend_result;
8997}
8998extern "C" {
8999 pub fn zend_try_assign_typed_ref_empty_string(ref_: *mut zend_reference) -> zend_result;
9000}
9001extern "C" {
9002 pub fn zend_try_assign_typed_ref_str(
9003 ref_: *mut zend_reference,
9004 str_: *mut zend_string,
9005 ) -> zend_result;
9006}
9007extern "C" {
9008 pub fn zend_try_assign_typed_ref_string(
9009 ref_: *mut zend_reference,
9010 string: *const ::std::os::raw::c_char,
9011 ) -> zend_result;
9012}
9013extern "C" {
9014 pub fn zend_try_assign_typed_ref_stringl(
9015 ref_: *mut zend_reference,
9016 string: *const ::std::os::raw::c_char,
9017 len: usize,
9018 ) -> zend_result;
9019}
9020extern "C" {
9021 pub fn zend_try_assign_typed_ref_arr(
9022 ref_: *mut zend_reference,
9023 arr: *mut zend_array,
9024 ) -> zend_result;
9025}
9026extern "C" {
9027 pub fn zend_try_assign_typed_ref_res(
9028 ref_: *mut zend_reference,
9029 res: *mut zend_resource,
9030 ) -> zend_result;
9031}
9032extern "C" {
9033 pub fn zend_try_assign_typed_ref_zval(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
9034}
9035extern "C" {
9036 pub fn zend_try_assign_typed_ref_zval_ex(
9037 ref_: *mut zend_reference,
9038 zv: *mut zval,
9039 strict: bool,
9040 ) -> zend_result;
9041}
9042pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
9043pub const _zend_expected_type_Z_EXPECTED_LONG_OR_NULL: _zend_expected_type = 1;
9044pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 2;
9045pub const _zend_expected_type_Z_EXPECTED_BOOL_OR_NULL: _zend_expected_type = 3;
9046pub const _zend_expected_type_Z_EXPECTED_STRING: _zend_expected_type = 4;
9047pub const _zend_expected_type_Z_EXPECTED_STRING_OR_NULL: _zend_expected_type = 5;
9048pub const _zend_expected_type_Z_EXPECTED_ARRAY: _zend_expected_type = 6;
9049pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_NULL: _zend_expected_type = 7;
9050pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_LONG: _zend_expected_type = 8;
9051pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_LONG_OR_NULL: _zend_expected_type = 9;
9052pub const _zend_expected_type_Z_EXPECTED_ITERABLE: _zend_expected_type = 10;
9053pub const _zend_expected_type_Z_EXPECTED_ITERABLE_OR_NULL: _zend_expected_type = 11;
9054pub const _zend_expected_type_Z_EXPECTED_FUNC: _zend_expected_type = 12;
9055pub const _zend_expected_type_Z_EXPECTED_FUNC_OR_NULL: _zend_expected_type = 13;
9056pub const _zend_expected_type_Z_EXPECTED_RESOURCE: _zend_expected_type = 14;
9057pub const _zend_expected_type_Z_EXPECTED_RESOURCE_OR_NULL: _zend_expected_type = 15;
9058pub const _zend_expected_type_Z_EXPECTED_PATH: _zend_expected_type = 16;
9059pub const _zend_expected_type_Z_EXPECTED_PATH_OR_NULL: _zend_expected_type = 17;
9060pub const _zend_expected_type_Z_EXPECTED_OBJECT: _zend_expected_type = 18;
9061pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_NULL: _zend_expected_type = 19;
9062pub const _zend_expected_type_Z_EXPECTED_DOUBLE: _zend_expected_type = 20;
9063pub const _zend_expected_type_Z_EXPECTED_DOUBLE_OR_NULL: _zend_expected_type = 21;
9064pub const _zend_expected_type_Z_EXPECTED_NUMBER: _zend_expected_type = 22;
9065pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_NULL: _zend_expected_type = 23;
9066pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_STRING: _zend_expected_type = 24;
9067pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_STRING_OR_NULL: _zend_expected_type = 25;
9068pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_STRING: _zend_expected_type = 26;
9069pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_STRING_OR_NULL: _zend_expected_type = 27;
9070pub const _zend_expected_type_Z_EXPECTED_STRING_OR_LONG: _zend_expected_type = 28;
9071pub const _zend_expected_type_Z_EXPECTED_STRING_OR_LONG_OR_NULL: _zend_expected_type = 29;
9072pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_CLASS_NAME: _zend_expected_type = 30;
9073pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_CLASS_NAME_OR_NULL: _zend_expected_type = 31;
9074pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_STRING: _zend_expected_type = 32;
9075pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_STRING_OR_NULL: _zend_expected_type = 33;
9076pub const _zend_expected_type_Z_EXPECTED_LAST: _zend_expected_type = 34;
9077pub type _zend_expected_type = ::std::os::raw::c_uint;
9078pub use self::_zend_expected_type as zend_expected_type;
9079extern "C" {
9080 pub fn zend_wrong_parameters_none_error();
9081}
9082extern "C" {
9083 pub fn zend_wrong_parameters_count_error(min_num_args: u32, max_num_args: u32);
9084}
9085extern "C" {
9086 pub fn zend_wrong_parameter_error(
9087 error_code: ::std::os::raw::c_int,
9088 num: u32,
9089 name: *mut ::std::os::raw::c_char,
9090 expected_type: zend_expected_type,
9091 arg: *mut zval,
9092 );
9093}
9094extern "C" {
9095 pub fn zend_wrong_parameter_type_error(
9096 num: u32,
9097 expected_type: zend_expected_type,
9098 arg: *mut zval,
9099 );
9100}
9101extern "C" {
9102 pub fn zend_wrong_parameter_class_error(
9103 num: u32,
9104 name: *const ::std::os::raw::c_char,
9105 arg: *mut zval,
9106 );
9107}
9108extern "C" {
9109 pub fn zend_wrong_parameter_class_or_null_error(
9110 num: u32,
9111 name: *const ::std::os::raw::c_char,
9112 arg: *mut zval,
9113 );
9114}
9115extern "C" {
9116 pub fn zend_wrong_parameter_class_or_long_error(
9117 num: u32,
9118 name: *const ::std::os::raw::c_char,
9119 arg: *mut zval,
9120 );
9121}
9122extern "C" {
9123 pub fn zend_wrong_parameter_class_or_long_or_null_error(
9124 num: u32,
9125 name: *const ::std::os::raw::c_char,
9126 arg: *mut zval,
9127 );
9128}
9129extern "C" {
9130 pub fn zend_wrong_parameter_class_or_string_error(
9131 num: u32,
9132 name: *const ::std::os::raw::c_char,
9133 arg: *mut zval,
9134 );
9135}
9136extern "C" {
9137 pub fn zend_wrong_parameter_class_or_string_or_null_error(
9138 num: u32,
9139 name: *const ::std::os::raw::c_char,
9140 arg: *mut zval,
9141 );
9142}
9143extern "C" {
9144 pub fn zend_wrong_callback_error(num: u32, error: *mut ::std::os::raw::c_char);
9145}
9146extern "C" {
9147 pub fn zend_wrong_callback_or_null_error(num: u32, error: *mut ::std::os::raw::c_char);
9148}
9149extern "C" {
9150 pub fn zend_unexpected_extra_named_error();
9151}
9152extern "C" {
9153 pub fn zend_argument_error_variadic(
9154 error_ce: *mut zend_class_entry,
9155 arg_num: u32,
9156 format: *const ::std::os::raw::c_char,
9157 va: *mut __va_list_tag,
9158 );
9159}
9160extern "C" {
9161 pub fn zend_argument_error(
9162 error_ce: *mut zend_class_entry,
9163 arg_num: u32,
9164 format: *const ::std::os::raw::c_char,
9165 ...
9166 );
9167}
9168extern "C" {
9169 pub fn zend_argument_type_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
9170}
9171extern "C" {
9172 pub fn zend_argument_value_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
9173}
9174extern "C" {
9175 pub fn zend_parse_arg_class(
9176 arg: *mut zval,
9177 pce: *mut *mut zend_class_entry,
9178 num: u32,
9179 check_null: bool,
9180 ) -> bool;
9181}
9182extern "C" {
9183 pub fn zend_parse_arg_bool_slow(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
9184}
9185extern "C" {
9186 pub fn zend_parse_arg_bool_weak(arg: *const zval, dest: *mut bool, arg_num: u32) -> bool;
9187}
9188extern "C" {
9189 pub fn zend_parse_arg_long_slow(arg: *const zval, dest: *mut zend_long, arg_num: u32) -> bool;
9190}
9191extern "C" {
9192 pub fn zend_parse_arg_long_weak(arg: *const zval, dest: *mut zend_long, arg_num: u32) -> bool;
9193}
9194extern "C" {
9195 pub fn zend_parse_arg_double_slow(arg: *const zval, dest: *mut f64, arg_num: u32) -> bool;
9196}
9197extern "C" {
9198 pub fn zend_parse_arg_double_weak(arg: *const zval, dest: *mut f64, arg_num: u32) -> bool;
9199}
9200extern "C" {
9201 pub fn zend_parse_arg_str_slow(
9202 arg: *mut zval,
9203 dest: *mut *mut zend_string,
9204 arg_num: u32,
9205 ) -> bool;
9206}
9207extern "C" {
9208 pub fn zend_parse_arg_str_weak(
9209 arg: *mut zval,
9210 dest: *mut *mut zend_string,
9211 arg_num: u32,
9212 ) -> bool;
9213}
9214extern "C" {
9215 pub fn zend_parse_arg_number_slow(arg: *mut zval, dest: *mut *mut zval, arg_num: u32) -> bool;
9216}
9217extern "C" {
9218 pub fn zend_parse_arg_number_or_str_slow(
9219 arg: *mut zval,
9220 dest: *mut *mut zval,
9221 arg_num: u32,
9222 ) -> bool;
9223}
9224extern "C" {
9225 pub fn zend_parse_arg_str_or_long_slow(
9226 arg: *mut zval,
9227 dest_str: *mut *mut zend_string,
9228 dest_long: *mut zend_long,
9229 arg_num: u32,
9230 ) -> bool;
9231}
9232extern "C" {
9233 pub fn php_strlcpy(
9234 dst: *mut ::std::os::raw::c_char,
9235 src: *const ::std::os::raw::c_char,
9236 siz: usize,
9237 ) -> usize;
9238}
9239extern "C" {
9240 pub fn php_strlcat(
9241 dst: *mut ::std::os::raw::c_char,
9242 src: *const ::std::os::raw::c_char,
9243 siz: usize,
9244 ) -> usize;
9245}
9246extern "C" {
9247 pub fn php_safe_bcmp(a: *const zend_string, b: *const zend_string) -> ::std::os::raw::c_int;
9248}
9249extern "C" {
9250 pub fn php_0cvt(
9251 value: f64,
9252 ndigit: ::std::os::raw::c_int,
9253 dec_point: ::std::os::raw::c_char,
9254 exponent: ::std::os::raw::c_char,
9255 buf: *mut ::std::os::raw::c_char,
9256 ) -> *mut ::std::os::raw::c_char;
9257}
9258extern "C" {
9259 pub fn php_conv_fp(
9260 format: ::std::os::raw::c_char,
9261 num: f64,
9262 add_dp: bool,
9263 precision: ::std::os::raw::c_int,
9264 dec_point: ::std::os::raw::c_char,
9265 is_negative: *mut bool,
9266 buf: *mut ::std::os::raw::c_char,
9267 len: *mut usize,
9268 ) -> *mut ::std::os::raw::c_char;
9269}
9270extern "C" {
9271 pub fn php_printf_to_smart_string(
9272 buf: *mut smart_string,
9273 format: *const ::std::os::raw::c_char,
9274 ap: *mut __va_list_tag,
9275 );
9276}
9277extern "C" {
9278 pub fn php_printf_to_smart_str(
9279 buf: *mut smart_str,
9280 format: *const ::std::os::raw::c_char,
9281 ap: *mut __va_list_tag,
9282 );
9283}
9284extern "C" {
9285 pub fn php_write(buf: *mut ::std::os::raw::c_void, size: usize) -> usize;
9286}
9287extern "C" {
9288 pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> usize;
9289}
9290extern "C" {
9291 pub fn php_printf_unchecked(format: *const ::std::os::raw::c_char, ...) -> usize;
9292}
9293extern "C" {
9294 pub fn php_during_module_startup() -> bool;
9295}
9296extern "C" {
9297 pub fn php_during_module_shutdown() -> bool;
9298}
9299extern "C" {
9300 pub fn php_get_module_initialized() -> bool;
9301}
9302extern "C" {
9303 pub fn php_syslog_str(priority: ::std::os::raw::c_int, message: *const zend_string);
9304}
9305extern "C" {
9306 pub fn php_syslog(arg1: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
9307}
9308extern "C" {
9309 pub fn php_openlog(
9310 arg1: *const ::std::os::raw::c_char,
9311 arg2: ::std::os::raw::c_int,
9312 arg3: ::std::os::raw::c_int,
9313 );
9314}
9315extern "C" {
9316 pub fn php_closelog();
9317}
9318extern "C" {
9319 pub fn php_log_err_with_severity(
9320 log_message: *const ::std::os::raw::c_char,
9321 syslog_type_int: ::std::os::raw::c_int,
9322 );
9323}
9324extern "C" {
9325 pub fn php_verror(
9326 docref: *const ::std::os::raw::c_char,
9327 params: *const ::std::os::raw::c_char,
9328 type_: ::std::os::raw::c_int,
9329 format: *const ::std::os::raw::c_char,
9330 args: *mut __va_list_tag,
9331 );
9332}
9333extern "C" {
9334 pub fn php_error_docref(
9335 docref: *const ::std::os::raw::c_char,
9336 type_: ::std::os::raw::c_int,
9337 format: *const ::std::os::raw::c_char,
9338 ...
9339 );
9340}
9341extern "C" {
9342 pub fn php_error_docref1(
9343 docref: *const ::std::os::raw::c_char,
9344 param1: *const ::std::os::raw::c_char,
9345 type_: ::std::os::raw::c_int,
9346 format: *const ::std::os::raw::c_char,
9347 ...
9348 );
9349}
9350extern "C" {
9351 pub fn php_error_docref2(
9352 docref: *const ::std::os::raw::c_char,
9353 param1: *const ::std::os::raw::c_char,
9354 param2: *const ::std::os::raw::c_char,
9355 type_: ::std::os::raw::c_int,
9356 format: *const ::std::os::raw::c_char,
9357 ...
9358 );
9359}
9360extern "C" {
9361 pub static mut php_register_internal_extensions_func:
9362 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
9363}
9364extern "C" {
9365 pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
9366}
9367extern "C" {
9368 pub fn php_register_pre_request_shutdown(
9369 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
9370 userdata: *mut ::std::os::raw::c_void,
9371 );
9372}
9373extern "C" {
9374 pub fn php_com_initialize();
9375}
9376extern "C" {
9377 pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
9378}
9379extern "C" {
9380 pub fn php_get_internal_encoding() -> *const ::std::os::raw::c_char;
9381}
9382extern "C" {
9383 pub fn php_get_input_encoding() -> *const ::std::os::raw::c_char;
9384}
9385extern "C" {
9386 pub fn php_get_output_encoding() -> *const ::std::os::raw::c_char;
9387}
9388extern "C" {
9389 pub static mut php_internal_encoding_changed: ::std::option::Option<unsafe extern "C" fn()>;
9390}
9391pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
9392 0;
9393pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
9394 1;
9395pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
9396 2;
9397pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
9398 3;
9399pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
9400 4;
9401pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
9402pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
9403pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
9404#[repr(C)]
9405#[derive(Debug, Copy, Clone)]
9406pub struct _php_output_buffer {
9407 pub data: *mut ::std::os::raw::c_char,
9408 pub size: usize,
9409 pub used: usize,
9410 pub _bitfield_align_1: [u32; 0],
9411 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
9412 pub __bindgen_padding_0: u32,
9413}
9414#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9415const _: () = {
9416 ["Size of _php_output_buffer"][::std::mem::size_of::<_php_output_buffer>() - 32usize];
9417 ["Alignment of _php_output_buffer"][::std::mem::align_of::<_php_output_buffer>() - 8usize];
9418 ["Offset of field: _php_output_buffer::data"]
9419 [::std::mem::offset_of!(_php_output_buffer, data) - 0usize];
9420 ["Offset of field: _php_output_buffer::size"]
9421 [::std::mem::offset_of!(_php_output_buffer, size) - 8usize];
9422 ["Offset of field: _php_output_buffer::used"]
9423 [::std::mem::offset_of!(_php_output_buffer, used) - 16usize];
9424};
9425impl _php_output_buffer {
9426 #[inline]
9427 pub fn free(&self) -> u32 {
9428 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
9429 }
9430 #[inline]
9431 pub fn set_free(&mut self, val: u32) {
9432 unsafe {
9433 let val: u32 = ::std::mem::transmute(val);
9434 self._bitfield_1.set(0usize, 1u8, val as u64)
9435 }
9436 }
9437 #[inline]
9438 pub fn _reserved(&self) -> u32 {
9439 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
9440 }
9441 #[inline]
9442 pub fn set__reserved(&mut self, val: u32) {
9443 unsafe {
9444 let val: u32 = ::std::mem::transmute(val);
9445 self._bitfield_1.set(1usize, 31u8, val as u64)
9446 }
9447 }
9448 #[inline]
9449 pub fn new_bitfield_1(free: u32, _reserved: u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
9450 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
9451 __bindgen_bitfield_unit.set(0usize, 1u8, {
9452 let free: u32 = unsafe { ::std::mem::transmute(free) };
9453 free as u64
9454 });
9455 __bindgen_bitfield_unit.set(1usize, 31u8, {
9456 let _reserved: u32 = unsafe { ::std::mem::transmute(_reserved) };
9457 _reserved as u64
9458 });
9459 __bindgen_bitfield_unit
9460 }
9461}
9462pub type php_output_buffer = _php_output_buffer;
9463#[repr(C)]
9464#[derive(Debug, Copy, Clone)]
9465pub struct _php_output_context {
9466 pub op: ::std::os::raw::c_int,
9467 pub in_: php_output_buffer,
9468 pub out: php_output_buffer,
9469}
9470#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9471const _: () = {
9472 ["Size of _php_output_context"][::std::mem::size_of::<_php_output_context>() - 72usize];
9473 ["Alignment of _php_output_context"][::std::mem::align_of::<_php_output_context>() - 8usize];
9474 ["Offset of field: _php_output_context::op"]
9475 [::std::mem::offset_of!(_php_output_context, op) - 0usize];
9476 ["Offset of field: _php_output_context::in_"]
9477 [::std::mem::offset_of!(_php_output_context, in_) - 8usize];
9478 ["Offset of field: _php_output_context::out"]
9479 [::std::mem::offset_of!(_php_output_context, out) - 40usize];
9480};
9481pub type php_output_context = _php_output_context;
9482pub type php_output_handler_func_t = ::std::option::Option<
9483 unsafe extern "C" fn(
9484 output: *mut ::std::os::raw::c_char,
9485 output_len: usize,
9486 handled_output: *mut *mut ::std::os::raw::c_char,
9487 handled_output_len: *mut usize,
9488 mode: ::std::os::raw::c_int,
9489 ),
9490>;
9491pub type php_output_handler_context_func_t = ::std::option::Option<
9492 unsafe extern "C" fn(
9493 handler_context: *mut *mut ::std::os::raw::c_void,
9494 output_context: *mut php_output_context,
9495 ) -> ::std::os::raw::c_int,
9496>;
9497pub type php_output_handler_conflict_check_t = ::std::option::Option<
9498 unsafe extern "C" fn(
9499 handler_name: *const ::std::os::raw::c_char,
9500 handler_name_len: usize,
9501 ) -> ::std::os::raw::c_int,
9502>;
9503pub type php_output_handler_alias_ctor_t = ::std::option::Option<
9504 unsafe extern "C" fn(
9505 handler_name: *const ::std::os::raw::c_char,
9506 handler_name_len: usize,
9507 chunk_size: usize,
9508 flags: ::std::os::raw::c_int,
9509 ) -> *mut _php_output_handler,
9510>;
9511#[repr(C)]
9512#[derive(Copy, Clone)]
9513pub struct _php_output_handler_user_func_t {
9514 pub fci: zend_fcall_info,
9515 pub fcc: zend_fcall_info_cache,
9516 pub zoh: zval,
9517}
9518#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9519const _: () = {
9520 ["Size of _php_output_handler_user_func_t"]
9521 [::std::mem::size_of::<_php_output_handler_user_func_t>() - 120usize];
9522 ["Alignment of _php_output_handler_user_func_t"]
9523 [::std::mem::align_of::<_php_output_handler_user_func_t>() - 8usize];
9524 ["Offset of field: _php_output_handler_user_func_t::fci"]
9525 [::std::mem::offset_of!(_php_output_handler_user_func_t, fci) - 0usize];
9526 ["Offset of field: _php_output_handler_user_func_t::fcc"]
9527 [::std::mem::offset_of!(_php_output_handler_user_func_t, fcc) - 64usize];
9528 ["Offset of field: _php_output_handler_user_func_t::zoh"]
9529 [::std::mem::offset_of!(_php_output_handler_user_func_t, zoh) - 104usize];
9530};
9531pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
9532#[repr(C)]
9533#[derive(Copy, Clone)]
9534pub struct _php_output_handler {
9535 pub name: *mut zend_string,
9536 pub flags: ::std::os::raw::c_int,
9537 pub level: ::std::os::raw::c_int,
9538 pub size: usize,
9539 pub buffer: php_output_buffer,
9540 pub opaq: *mut ::std::os::raw::c_void,
9541 pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
9542 pub func: _php_output_handler__bindgen_ty_1,
9543}
9544#[repr(C)]
9545#[derive(Copy, Clone)]
9546pub union _php_output_handler__bindgen_ty_1 {
9547 pub user: *mut php_output_handler_user_func_t,
9548 pub internal: php_output_handler_context_func_t,
9549}
9550#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9551const _: () = {
9552 ["Size of _php_output_handler__bindgen_ty_1"]
9553 [::std::mem::size_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
9554 ["Alignment of _php_output_handler__bindgen_ty_1"]
9555 [::std::mem::align_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
9556 ["Offset of field: _php_output_handler__bindgen_ty_1::user"]
9557 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, user) - 0usize];
9558 ["Offset of field: _php_output_handler__bindgen_ty_1::internal"]
9559 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, internal) - 0usize];
9560};
9561#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9562const _: () = {
9563 ["Size of _php_output_handler"][::std::mem::size_of::<_php_output_handler>() - 80usize];
9564 ["Alignment of _php_output_handler"][::std::mem::align_of::<_php_output_handler>() - 8usize];
9565 ["Offset of field: _php_output_handler::name"]
9566 [::std::mem::offset_of!(_php_output_handler, name) - 0usize];
9567 ["Offset of field: _php_output_handler::flags"]
9568 [::std::mem::offset_of!(_php_output_handler, flags) - 8usize];
9569 ["Offset of field: _php_output_handler::level"]
9570 [::std::mem::offset_of!(_php_output_handler, level) - 12usize];
9571 ["Offset of field: _php_output_handler::size"]
9572 [::std::mem::offset_of!(_php_output_handler, size) - 16usize];
9573 ["Offset of field: _php_output_handler::buffer"]
9574 [::std::mem::offset_of!(_php_output_handler, buffer) - 24usize];
9575 ["Offset of field: _php_output_handler::opaq"]
9576 [::std::mem::offset_of!(_php_output_handler, opaq) - 56usize];
9577 ["Offset of field: _php_output_handler::dtor"]
9578 [::std::mem::offset_of!(_php_output_handler, dtor) - 64usize];
9579 ["Offset of field: _php_output_handler::func"]
9580 [::std::mem::offset_of!(_php_output_handler, func) - 72usize];
9581};
9582pub type php_output_handler = _php_output_handler;
9583#[repr(C)]
9584#[derive(Debug, Copy, Clone)]
9585pub struct _zend_output_globals {
9586 pub handlers: zend_stack,
9587 pub active: *mut php_output_handler,
9588 pub running: *mut php_output_handler,
9589 pub output_start_filename: *mut zend_string,
9590 pub output_start_lineno: ::std::os::raw::c_int,
9591 pub flags: ::std::os::raw::c_int,
9592}
9593#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9594const _: () = {
9595 ["Size of _zend_output_globals"][::std::mem::size_of::<_zend_output_globals>() - 56usize];
9596 ["Alignment of _zend_output_globals"][::std::mem::align_of::<_zend_output_globals>() - 8usize];
9597 ["Offset of field: _zend_output_globals::handlers"]
9598 [::std::mem::offset_of!(_zend_output_globals, handlers) - 0usize];
9599 ["Offset of field: _zend_output_globals::active"]
9600 [::std::mem::offset_of!(_zend_output_globals, active) - 24usize];
9601 ["Offset of field: _zend_output_globals::running"]
9602 [::std::mem::offset_of!(_zend_output_globals, running) - 32usize];
9603 ["Offset of field: _zend_output_globals::output_start_filename"]
9604 [::std::mem::offset_of!(_zend_output_globals, output_start_filename) - 40usize];
9605 ["Offset of field: _zend_output_globals::output_start_lineno"]
9606 [::std::mem::offset_of!(_zend_output_globals, output_start_lineno) - 48usize];
9607 ["Offset of field: _zend_output_globals::flags"]
9608 [::std::mem::offset_of!(_zend_output_globals, flags) - 52usize];
9609};
9610pub type zend_output_globals = _zend_output_globals;
9611extern "C" {
9612 pub static mut output_globals: zend_output_globals;
9613}
9614extern "C" {
9615 pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
9616}
9617extern "C" {
9618 pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
9619}
9620extern "C" {
9621 pub fn php_output_startup();
9622}
9623extern "C" {
9624 pub fn php_output_shutdown();
9625}
9626extern "C" {
9627 pub fn php_output_activate() -> ::std::os::raw::c_int;
9628}
9629extern "C" {
9630 pub fn php_output_deactivate();
9631}
9632extern "C" {
9633 pub fn php_output_set_status(status: ::std::os::raw::c_int);
9634}
9635extern "C" {
9636 pub fn php_output_get_status() -> ::std::os::raw::c_int;
9637}
9638extern "C" {
9639 pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
9640}
9641extern "C" {
9642 pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
9643}
9644extern "C" {
9645 pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
9646}
9647extern "C" {
9648 pub fn php_output_write_unbuffered(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
9649}
9650extern "C" {
9651 pub fn php_output_write(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
9652}
9653extern "C" {
9654 pub fn php_output_flush() -> ::std::os::raw::c_int;
9655}
9656extern "C" {
9657 pub fn php_output_flush_all();
9658}
9659extern "C" {
9660 pub fn php_output_clean() -> ::std::os::raw::c_int;
9661}
9662extern "C" {
9663 pub fn php_output_clean_all();
9664}
9665extern "C" {
9666 pub fn php_output_end() -> ::std::os::raw::c_int;
9667}
9668extern "C" {
9669 pub fn php_output_end_all();
9670}
9671extern "C" {
9672 pub fn php_output_discard() -> ::std::os::raw::c_int;
9673}
9674extern "C" {
9675 pub fn php_output_discard_all();
9676}
9677extern "C" {
9678 pub fn php_output_get_contents(p: *mut zval) -> ::std::os::raw::c_int;
9679}
9680extern "C" {
9681 pub fn php_output_get_length(p: *mut zval) -> ::std::os::raw::c_int;
9682}
9683extern "C" {
9684 pub fn php_output_get_level() -> ::std::os::raw::c_int;
9685}
9686extern "C" {
9687 pub fn php_output_get_active_handler() -> *mut php_output_handler;
9688}
9689extern "C" {
9690 pub fn php_output_start_default() -> ::std::os::raw::c_int;
9691}
9692extern "C" {
9693 pub fn php_output_start_devnull() -> ::std::os::raw::c_int;
9694}
9695extern "C" {
9696 pub fn php_output_start_user(
9697 output_handler: *mut zval,
9698 chunk_size: usize,
9699 flags: ::std::os::raw::c_int,
9700 ) -> ::std::os::raw::c_int;
9701}
9702extern "C" {
9703 pub fn php_output_start_internal(
9704 name: *const ::std::os::raw::c_char,
9705 name_len: usize,
9706 output_handler: php_output_handler_func_t,
9707 chunk_size: usize,
9708 flags: ::std::os::raw::c_int,
9709 ) -> ::std::os::raw::c_int;
9710}
9711extern "C" {
9712 pub fn php_output_handler_create_user(
9713 handler: *mut zval,
9714 chunk_size: usize,
9715 flags: ::std::os::raw::c_int,
9716 ) -> *mut php_output_handler;
9717}
9718extern "C" {
9719 pub fn php_output_handler_create_internal(
9720 name: *const ::std::os::raw::c_char,
9721 name_len: usize,
9722 handler: php_output_handler_context_func_t,
9723 chunk_size: usize,
9724 flags: ::std::os::raw::c_int,
9725 ) -> *mut php_output_handler;
9726}
9727extern "C" {
9728 pub fn php_output_handler_set_context(
9729 handler: *mut php_output_handler,
9730 opaq: *mut ::std::os::raw::c_void,
9731 dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
9732 );
9733}
9734extern "C" {
9735 pub fn php_output_handler_start(handler: *mut php_output_handler) -> ::std::os::raw::c_int;
9736}
9737extern "C" {
9738 pub fn php_output_handler_started(
9739 name: *const ::std::os::raw::c_char,
9740 name_len: usize,
9741 ) -> ::std::os::raw::c_int;
9742}
9743extern "C" {
9744 pub fn php_output_handler_hook(
9745 type_: php_output_handler_hook_t,
9746 arg: *mut ::std::os::raw::c_void,
9747 ) -> ::std::os::raw::c_int;
9748}
9749extern "C" {
9750 pub fn php_output_handler_dtor(handler: *mut php_output_handler);
9751}
9752extern "C" {
9753 pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
9754}
9755extern "C" {
9756 pub fn php_output_handler_conflict(
9757 handler_new: *const ::std::os::raw::c_char,
9758 handler_new_len: usize,
9759 handler_set: *const ::std::os::raw::c_char,
9760 handler_set_len: usize,
9761 ) -> ::std::os::raw::c_int;
9762}
9763extern "C" {
9764 pub fn php_output_handler_conflict_register(
9765 handler_name: *const ::std::os::raw::c_char,
9766 handler_name_len: usize,
9767 check_func: php_output_handler_conflict_check_t,
9768 ) -> ::std::os::raw::c_int;
9769}
9770extern "C" {
9771 pub fn php_output_handler_reverse_conflict_register(
9772 handler_name: *const ::std::os::raw::c_char,
9773 handler_name_len: usize,
9774 check_func: php_output_handler_conflict_check_t,
9775 ) -> ::std::os::raw::c_int;
9776}
9777extern "C" {
9778 pub fn php_output_handler_alias(
9779 handler_name: *const ::std::os::raw::c_char,
9780 handler_name_len: usize,
9781 ) -> php_output_handler_alias_ctor_t;
9782}
9783extern "C" {
9784 pub fn php_output_handler_alias_register(
9785 handler_name: *const ::std::os::raw::c_char,
9786 handler_name_len: usize,
9787 func: php_output_handler_alias_ctor_t,
9788 ) -> ::std::os::raw::c_int;
9789}
9790extern "C" {
9791 pub fn php_file_le_stream() -> ::std::os::raw::c_int;
9792}
9793extern "C" {
9794 pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
9795}
9796extern "C" {
9797 pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
9798}
9799pub type php_stream = _php_stream;
9800pub type php_stream_wrapper = _php_stream_wrapper;
9801pub type php_stream_context = _php_stream_context;
9802pub type php_stream_filter = _php_stream_filter;
9803pub type php_stream_notification_func = ::std::option::Option<
9804 unsafe extern "C" fn(
9805 context: *mut php_stream_context,
9806 notifycode: ::std::os::raw::c_int,
9807 severity: ::std::os::raw::c_int,
9808 xmsg: *mut ::std::os::raw::c_char,
9809 xcode: ::std::os::raw::c_int,
9810 bytes_sofar: usize,
9811 bytes_max: usize,
9812 ptr: *mut ::std::os::raw::c_void,
9813 ),
9814>;
9815pub type php_stream_notifier = _php_stream_notifier;
9816#[repr(C)]
9817#[derive(Copy, Clone)]
9818pub struct _php_stream_notifier {
9819 pub func: php_stream_notification_func,
9820 pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
9821 pub ptr: zval,
9822 pub mask: ::std::os::raw::c_int,
9823 pub progress: usize,
9824 pub progress_max: usize,
9825}
9826#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9827const _: () = {
9828 ["Size of _php_stream_notifier"][::std::mem::size_of::<_php_stream_notifier>() - 56usize];
9829 ["Alignment of _php_stream_notifier"][::std::mem::align_of::<_php_stream_notifier>() - 8usize];
9830 ["Offset of field: _php_stream_notifier::func"]
9831 [::std::mem::offset_of!(_php_stream_notifier, func) - 0usize];
9832 ["Offset of field: _php_stream_notifier::dtor"]
9833 [::std::mem::offset_of!(_php_stream_notifier, dtor) - 8usize];
9834 ["Offset of field: _php_stream_notifier::ptr"]
9835 [::std::mem::offset_of!(_php_stream_notifier, ptr) - 16usize];
9836 ["Offset of field: _php_stream_notifier::mask"]
9837 [::std::mem::offset_of!(_php_stream_notifier, mask) - 32usize];
9838 ["Offset of field: _php_stream_notifier::progress"]
9839 [::std::mem::offset_of!(_php_stream_notifier, progress) - 40usize];
9840 ["Offset of field: _php_stream_notifier::progress_max"]
9841 [::std::mem::offset_of!(_php_stream_notifier, progress_max) - 48usize];
9842};
9843#[repr(C)]
9844#[derive(Copy, Clone)]
9845pub struct _php_stream_context {
9846 pub notifier: *mut php_stream_notifier,
9847 pub options: zval,
9848 pub res: *mut zend_resource,
9849}
9850#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9851const _: () = {
9852 ["Size of _php_stream_context"][::std::mem::size_of::<_php_stream_context>() - 32usize];
9853 ["Alignment of _php_stream_context"][::std::mem::align_of::<_php_stream_context>() - 8usize];
9854 ["Offset of field: _php_stream_context::notifier"]
9855 [::std::mem::offset_of!(_php_stream_context, notifier) - 0usize];
9856 ["Offset of field: _php_stream_context::options"]
9857 [::std::mem::offset_of!(_php_stream_context, options) - 8usize];
9858 ["Offset of field: _php_stream_context::res"]
9859 [::std::mem::offset_of!(_php_stream_context, res) - 24usize];
9860};
9861extern "C" {
9862 pub fn php_stream_context_free(context: *mut php_stream_context);
9863}
9864extern "C" {
9865 pub fn php_stream_context_alloc() -> *mut php_stream_context;
9866}
9867extern "C" {
9868 pub fn php_stream_context_get_option(
9869 context: *mut php_stream_context,
9870 wrappername: *const ::std::os::raw::c_char,
9871 optionname: *const ::std::os::raw::c_char,
9872 ) -> *mut zval;
9873}
9874extern "C" {
9875 pub fn php_stream_context_set_option(
9876 context: *mut php_stream_context,
9877 wrappername: *const ::std::os::raw::c_char,
9878 optionname: *const ::std::os::raw::c_char,
9879 optionvalue: *mut zval,
9880 );
9881}
9882extern "C" {
9883 pub fn php_stream_context_unset_option(
9884 context: *mut php_stream_context,
9885 wrappername: *const ::std::os::raw::c_char,
9886 optionname: *const ::std::os::raw::c_char,
9887 );
9888}
9889extern "C" {
9890 pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
9891}
9892extern "C" {
9893 pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
9894}
9895extern "C" {
9896 pub fn php_stream_notification_notify(
9897 context: *mut php_stream_context,
9898 notifycode: ::std::os::raw::c_int,
9899 severity: ::std::os::raw::c_int,
9900 xmsg: *mut ::std::os::raw::c_char,
9901 xcode: ::std::os::raw::c_int,
9902 bytes_sofar: usize,
9903 bytes_max: usize,
9904 ptr: *mut ::std::os::raw::c_void,
9905 );
9906}
9907extern "C" {
9908 pub fn php_stream_context_set(
9909 stream: *mut php_stream,
9910 context: *mut php_stream_context,
9911 ) -> *mut php_stream_context;
9912}
9913pub type php_stream_bucket = _php_stream_bucket;
9914pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
9915#[repr(C)]
9916#[derive(Debug, Copy, Clone)]
9917pub struct _php_stream_bucket {
9918 pub next: *mut php_stream_bucket,
9919 pub prev: *mut php_stream_bucket,
9920 pub brigade: *mut php_stream_bucket_brigade,
9921 pub buf: *mut ::std::os::raw::c_char,
9922 pub buflen: usize,
9923 pub own_buf: u8,
9924 pub is_persistent: u8,
9925 pub refcount: ::std::os::raw::c_int,
9926}
9927#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9928const _: () = {
9929 ["Size of _php_stream_bucket"][::std::mem::size_of::<_php_stream_bucket>() - 48usize];
9930 ["Alignment of _php_stream_bucket"][::std::mem::align_of::<_php_stream_bucket>() - 8usize];
9931 ["Offset of field: _php_stream_bucket::next"]
9932 [::std::mem::offset_of!(_php_stream_bucket, next) - 0usize];
9933 ["Offset of field: _php_stream_bucket::prev"]
9934 [::std::mem::offset_of!(_php_stream_bucket, prev) - 8usize];
9935 ["Offset of field: _php_stream_bucket::brigade"]
9936 [::std::mem::offset_of!(_php_stream_bucket, brigade) - 16usize];
9937 ["Offset of field: _php_stream_bucket::buf"]
9938 [::std::mem::offset_of!(_php_stream_bucket, buf) - 24usize];
9939 ["Offset of field: _php_stream_bucket::buflen"]
9940 [::std::mem::offset_of!(_php_stream_bucket, buflen) - 32usize];
9941 ["Offset of field: _php_stream_bucket::own_buf"]
9942 [::std::mem::offset_of!(_php_stream_bucket, own_buf) - 40usize];
9943 ["Offset of field: _php_stream_bucket::is_persistent"]
9944 [::std::mem::offset_of!(_php_stream_bucket, is_persistent) - 41usize];
9945 ["Offset of field: _php_stream_bucket::refcount"]
9946 [::std::mem::offset_of!(_php_stream_bucket, refcount) - 44usize];
9947};
9948#[repr(C)]
9949#[derive(Debug, Copy, Clone)]
9950pub struct _php_stream_bucket_brigade {
9951 pub head: *mut php_stream_bucket,
9952 pub tail: *mut php_stream_bucket,
9953}
9954#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9955const _: () = {
9956 ["Size of _php_stream_bucket_brigade"]
9957 [::std::mem::size_of::<_php_stream_bucket_brigade>() - 16usize];
9958 ["Alignment of _php_stream_bucket_brigade"]
9959 [::std::mem::align_of::<_php_stream_bucket_brigade>() - 8usize];
9960 ["Offset of field: _php_stream_bucket_brigade::head"]
9961 [::std::mem::offset_of!(_php_stream_bucket_brigade, head) - 0usize];
9962 ["Offset of field: _php_stream_bucket_brigade::tail"]
9963 [::std::mem::offset_of!(_php_stream_bucket_brigade, tail) - 8usize];
9964};
9965pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
9966pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
9967pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
9968pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
9969extern "C" {
9970 pub fn php_stream_bucket_new(
9971 stream: *mut php_stream,
9972 buf: *mut ::std::os::raw::c_char,
9973 buflen: usize,
9974 own_buf: u8,
9975 buf_persistent: u8,
9976 ) -> *mut php_stream_bucket;
9977}
9978extern "C" {
9979 pub fn php_stream_bucket_split(
9980 in_: *mut php_stream_bucket,
9981 left: *mut *mut php_stream_bucket,
9982 right: *mut *mut php_stream_bucket,
9983 length: usize,
9984 ) -> ::std::os::raw::c_int;
9985}
9986extern "C" {
9987 pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
9988}
9989extern "C" {
9990 pub fn php_stream_bucket_prepend(
9991 brigade: *mut php_stream_bucket_brigade,
9992 bucket: *mut php_stream_bucket,
9993 );
9994}
9995extern "C" {
9996 pub fn php_stream_bucket_append(
9997 brigade: *mut php_stream_bucket_brigade,
9998 bucket: *mut php_stream_bucket,
9999 );
10000}
10001extern "C" {
10002 pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
10003}
10004extern "C" {
10005 pub fn php_stream_bucket_make_writeable(
10006 bucket: *mut php_stream_bucket,
10007 ) -> *mut php_stream_bucket;
10008}
10009#[repr(C)]
10010#[derive(Debug, Copy, Clone)]
10011pub struct _php_stream_filter_ops {
10012 pub filter: ::std::option::Option<
10013 unsafe extern "C" fn(
10014 stream: *mut php_stream,
10015 thisfilter: *mut php_stream_filter,
10016 buckets_in: *mut php_stream_bucket_brigade,
10017 buckets_out: *mut php_stream_bucket_brigade,
10018 bytes_consumed: *mut usize,
10019 flags: ::std::os::raw::c_int,
10020 ) -> php_stream_filter_status_t,
10021 >,
10022 pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
10023 pub label: *const ::std::os::raw::c_char,
10024}
10025#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10026const _: () = {
10027 ["Size of _php_stream_filter_ops"][::std::mem::size_of::<_php_stream_filter_ops>() - 24usize];
10028 ["Alignment of _php_stream_filter_ops"]
10029 [::std::mem::align_of::<_php_stream_filter_ops>() - 8usize];
10030 ["Offset of field: _php_stream_filter_ops::filter"]
10031 [::std::mem::offset_of!(_php_stream_filter_ops, filter) - 0usize];
10032 ["Offset of field: _php_stream_filter_ops::dtor"]
10033 [::std::mem::offset_of!(_php_stream_filter_ops, dtor) - 8usize];
10034 ["Offset of field: _php_stream_filter_ops::label"]
10035 [::std::mem::offset_of!(_php_stream_filter_ops, label) - 16usize];
10036};
10037pub type php_stream_filter_ops = _php_stream_filter_ops;
10038#[repr(C)]
10039#[derive(Debug, Copy, Clone)]
10040pub struct _php_stream_filter_chain {
10041 pub head: *mut php_stream_filter,
10042 pub tail: *mut php_stream_filter,
10043 pub stream: *mut php_stream,
10044}
10045#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10046const _: () = {
10047 ["Size of _php_stream_filter_chain"]
10048 [::std::mem::size_of::<_php_stream_filter_chain>() - 24usize];
10049 ["Alignment of _php_stream_filter_chain"]
10050 [::std::mem::align_of::<_php_stream_filter_chain>() - 8usize];
10051 ["Offset of field: _php_stream_filter_chain::head"]
10052 [::std::mem::offset_of!(_php_stream_filter_chain, head) - 0usize];
10053 ["Offset of field: _php_stream_filter_chain::tail"]
10054 [::std::mem::offset_of!(_php_stream_filter_chain, tail) - 8usize];
10055 ["Offset of field: _php_stream_filter_chain::stream"]
10056 [::std::mem::offset_of!(_php_stream_filter_chain, stream) - 16usize];
10057};
10058pub type php_stream_filter_chain = _php_stream_filter_chain;
10059#[repr(C)]
10060#[derive(Copy, Clone)]
10061pub struct _php_stream_filter {
10062 pub fops: *const php_stream_filter_ops,
10063 pub abstract_: zval,
10064 pub next: *mut php_stream_filter,
10065 pub prev: *mut php_stream_filter,
10066 pub is_persistent: ::std::os::raw::c_int,
10067 pub chain: *mut php_stream_filter_chain,
10068 pub buffer: php_stream_bucket_brigade,
10069 pub res: *mut zend_resource,
10070}
10071#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10072const _: () = {
10073 ["Size of _php_stream_filter"][::std::mem::size_of::<_php_stream_filter>() - 80usize];
10074 ["Alignment of _php_stream_filter"][::std::mem::align_of::<_php_stream_filter>() - 8usize];
10075 ["Offset of field: _php_stream_filter::fops"]
10076 [::std::mem::offset_of!(_php_stream_filter, fops) - 0usize];
10077 ["Offset of field: _php_stream_filter::abstract_"]
10078 [::std::mem::offset_of!(_php_stream_filter, abstract_) - 8usize];
10079 ["Offset of field: _php_stream_filter::next"]
10080 [::std::mem::offset_of!(_php_stream_filter, next) - 24usize];
10081 ["Offset of field: _php_stream_filter::prev"]
10082 [::std::mem::offset_of!(_php_stream_filter, prev) - 32usize];
10083 ["Offset of field: _php_stream_filter::is_persistent"]
10084 [::std::mem::offset_of!(_php_stream_filter, is_persistent) - 40usize];
10085 ["Offset of field: _php_stream_filter::chain"]
10086 [::std::mem::offset_of!(_php_stream_filter, chain) - 48usize];
10087 ["Offset of field: _php_stream_filter::buffer"]
10088 [::std::mem::offset_of!(_php_stream_filter, buffer) - 56usize];
10089 ["Offset of field: _php_stream_filter::res"]
10090 [::std::mem::offset_of!(_php_stream_filter, res) - 72usize];
10091};
10092extern "C" {
10093 pub fn php_stream_filter_prepend_ex(
10094 chain: *mut php_stream_filter_chain,
10095 filter: *mut php_stream_filter,
10096 ) -> ::std::os::raw::c_int;
10097}
10098extern "C" {
10099 pub fn php_stream_filter_append_ex(
10100 chain: *mut php_stream_filter_chain,
10101 filter: *mut php_stream_filter,
10102 ) -> ::std::os::raw::c_int;
10103}
10104extern "C" {
10105 pub fn php_stream_filter_remove(
10106 filter: *mut php_stream_filter,
10107 call_dtor: ::std::os::raw::c_int,
10108 ) -> *mut php_stream_filter;
10109}
10110extern "C" {
10111 pub fn php_stream_filter_free(filter: *mut php_stream_filter);
10112}
10113#[repr(C)]
10114#[derive(Debug, Copy, Clone)]
10115pub struct _php_stream_filter_factory {
10116 pub create_filter: ::std::option::Option<
10117 unsafe extern "C" fn(
10118 filtername: *const ::std::os::raw::c_char,
10119 filterparams: *mut zval,
10120 persistent: u8,
10121 ) -> *mut php_stream_filter,
10122 >,
10123}
10124#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10125const _: () = {
10126 ["Size of _php_stream_filter_factory"]
10127 [::std::mem::size_of::<_php_stream_filter_factory>() - 8usize];
10128 ["Alignment of _php_stream_filter_factory"]
10129 [::std::mem::align_of::<_php_stream_filter_factory>() - 8usize];
10130 ["Offset of field: _php_stream_filter_factory::create_filter"]
10131 [::std::mem::offset_of!(_php_stream_filter_factory, create_filter) - 0usize];
10132};
10133pub type php_stream_filter_factory = _php_stream_filter_factory;
10134extern "C" {
10135 pub fn php_stream_filter_register_factory(
10136 filterpattern: *const ::std::os::raw::c_char,
10137 factory: *const php_stream_filter_factory,
10138 ) -> ::std::os::raw::c_int;
10139}
10140extern "C" {
10141 pub fn php_stream_filter_unregister_factory(
10142 filterpattern: *const ::std::os::raw::c_char,
10143 ) -> ::std::os::raw::c_int;
10144}
10145extern "C" {
10146 pub fn php_stream_filter_register_factory_volatile(
10147 filterpattern: *mut zend_string,
10148 factory: *const php_stream_filter_factory,
10149 ) -> ::std::os::raw::c_int;
10150}
10151extern "C" {
10152 pub fn php_stream_filter_create(
10153 filtername: *const ::std::os::raw::c_char,
10154 filterparams: *mut zval,
10155 persistent: u8,
10156 ) -> *mut php_stream_filter;
10157}
10158#[repr(C)]
10159#[derive(Debug, Copy, Clone)]
10160pub struct _php_stream_statbuf {
10161 pub sb: zend_stat_t,
10162}
10163#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10164const _: () = {
10165 ["Size of _php_stream_statbuf"][::std::mem::size_of::<_php_stream_statbuf>() - 144usize];
10166 ["Alignment of _php_stream_statbuf"][::std::mem::align_of::<_php_stream_statbuf>() - 8usize];
10167 ["Offset of field: _php_stream_statbuf::sb"]
10168 [::std::mem::offset_of!(_php_stream_statbuf, sb) - 0usize];
10169};
10170pub type php_stream_statbuf = _php_stream_statbuf;
10171#[repr(C)]
10172#[derive(Debug, Copy, Clone)]
10173pub struct _php_stream_ops {
10174 pub write: ::std::option::Option<
10175 unsafe extern "C" fn(
10176 stream: *mut php_stream,
10177 buf: *const ::std::os::raw::c_char,
10178 count: usize,
10179 ) -> isize,
10180 >,
10181 pub read: ::std::option::Option<
10182 unsafe extern "C" fn(
10183 stream: *mut php_stream,
10184 buf: *mut ::std::os::raw::c_char,
10185 count: usize,
10186 ) -> isize,
10187 >,
10188 pub close: ::std::option::Option<
10189 unsafe extern "C" fn(
10190 stream: *mut php_stream,
10191 close_handle: ::std::os::raw::c_int,
10192 ) -> ::std::os::raw::c_int,
10193 >,
10194 pub flush: ::std::option::Option<
10195 unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
10196 >,
10197 pub label: *const ::std::os::raw::c_char,
10198 pub seek: ::std::option::Option<
10199 unsafe extern "C" fn(
10200 stream: *mut php_stream,
10201 offset: zend_off_t,
10202 whence: ::std::os::raw::c_int,
10203 newoffset: *mut zend_off_t,
10204 ) -> ::std::os::raw::c_int,
10205 >,
10206 pub cast: ::std::option::Option<
10207 unsafe extern "C" fn(
10208 stream: *mut php_stream,
10209 castas: ::std::os::raw::c_int,
10210 ret: *mut *mut ::std::os::raw::c_void,
10211 ) -> ::std::os::raw::c_int,
10212 >,
10213 pub stat: ::std::option::Option<
10214 unsafe extern "C" fn(
10215 stream: *mut php_stream,
10216 ssb: *mut php_stream_statbuf,
10217 ) -> ::std::os::raw::c_int,
10218 >,
10219 pub set_option: ::std::option::Option<
10220 unsafe extern "C" fn(
10221 stream: *mut php_stream,
10222 option: ::std::os::raw::c_int,
10223 value: ::std::os::raw::c_int,
10224 ptrparam: *mut ::std::os::raw::c_void,
10225 ) -> ::std::os::raw::c_int,
10226 >,
10227}
10228#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10229const _: () = {
10230 ["Size of _php_stream_ops"][::std::mem::size_of::<_php_stream_ops>() - 72usize];
10231 ["Alignment of _php_stream_ops"][::std::mem::align_of::<_php_stream_ops>() - 8usize];
10232 ["Offset of field: _php_stream_ops::write"]
10233 [::std::mem::offset_of!(_php_stream_ops, write) - 0usize];
10234 ["Offset of field: _php_stream_ops::read"]
10235 [::std::mem::offset_of!(_php_stream_ops, read) - 8usize];
10236 ["Offset of field: _php_stream_ops::close"]
10237 [::std::mem::offset_of!(_php_stream_ops, close) - 16usize];
10238 ["Offset of field: _php_stream_ops::flush"]
10239 [::std::mem::offset_of!(_php_stream_ops, flush) - 24usize];
10240 ["Offset of field: _php_stream_ops::label"]
10241 [::std::mem::offset_of!(_php_stream_ops, label) - 32usize];
10242 ["Offset of field: _php_stream_ops::seek"]
10243 [::std::mem::offset_of!(_php_stream_ops, seek) - 40usize];
10244 ["Offset of field: _php_stream_ops::cast"]
10245 [::std::mem::offset_of!(_php_stream_ops, cast) - 48usize];
10246 ["Offset of field: _php_stream_ops::stat"]
10247 [::std::mem::offset_of!(_php_stream_ops, stat) - 56usize];
10248 ["Offset of field: _php_stream_ops::set_option"]
10249 [::std::mem::offset_of!(_php_stream_ops, set_option) - 64usize];
10250};
10251pub type php_stream_ops = _php_stream_ops;
10252#[repr(C)]
10253#[derive(Debug, Copy, Clone)]
10254pub struct _php_stream_wrapper_ops {
10255 pub stream_opener: ::std::option::Option<
10256 unsafe extern "C" fn(
10257 wrapper: *mut php_stream_wrapper,
10258 filename: *const ::std::os::raw::c_char,
10259 mode: *const ::std::os::raw::c_char,
10260 options: ::std::os::raw::c_int,
10261 opened_path: *mut *mut zend_string,
10262 context: *mut php_stream_context,
10263 ) -> *mut php_stream,
10264 >,
10265 pub stream_closer: ::std::option::Option<
10266 unsafe extern "C" fn(
10267 wrapper: *mut php_stream_wrapper,
10268 stream: *mut php_stream,
10269 ) -> ::std::os::raw::c_int,
10270 >,
10271 pub stream_stat: ::std::option::Option<
10272 unsafe extern "C" fn(
10273 wrapper: *mut php_stream_wrapper,
10274 stream: *mut php_stream,
10275 ssb: *mut php_stream_statbuf,
10276 ) -> ::std::os::raw::c_int,
10277 >,
10278 pub url_stat: ::std::option::Option<
10279 unsafe extern "C" fn(
10280 wrapper: *mut php_stream_wrapper,
10281 url: *const ::std::os::raw::c_char,
10282 flags: ::std::os::raw::c_int,
10283 ssb: *mut php_stream_statbuf,
10284 context: *mut php_stream_context,
10285 ) -> ::std::os::raw::c_int,
10286 >,
10287 pub dir_opener: ::std::option::Option<
10288 unsafe extern "C" fn(
10289 wrapper: *mut php_stream_wrapper,
10290 filename: *const ::std::os::raw::c_char,
10291 mode: *const ::std::os::raw::c_char,
10292 options: ::std::os::raw::c_int,
10293 opened_path: *mut *mut zend_string,
10294 context: *mut php_stream_context,
10295 ) -> *mut php_stream,
10296 >,
10297 pub label: *const ::std::os::raw::c_char,
10298 pub unlink: ::std::option::Option<
10299 unsafe extern "C" fn(
10300 wrapper: *mut php_stream_wrapper,
10301 url: *const ::std::os::raw::c_char,
10302 options: ::std::os::raw::c_int,
10303 context: *mut php_stream_context,
10304 ) -> ::std::os::raw::c_int,
10305 >,
10306 pub rename: ::std::option::Option<
10307 unsafe extern "C" fn(
10308 wrapper: *mut php_stream_wrapper,
10309 url_from: *const ::std::os::raw::c_char,
10310 url_to: *const ::std::os::raw::c_char,
10311 options: ::std::os::raw::c_int,
10312 context: *mut php_stream_context,
10313 ) -> ::std::os::raw::c_int,
10314 >,
10315 pub stream_mkdir: ::std::option::Option<
10316 unsafe extern "C" fn(
10317 wrapper: *mut php_stream_wrapper,
10318 url: *const ::std::os::raw::c_char,
10319 mode: ::std::os::raw::c_int,
10320 options: ::std::os::raw::c_int,
10321 context: *mut php_stream_context,
10322 ) -> ::std::os::raw::c_int,
10323 >,
10324 pub stream_rmdir: ::std::option::Option<
10325 unsafe extern "C" fn(
10326 wrapper: *mut php_stream_wrapper,
10327 url: *const ::std::os::raw::c_char,
10328 options: ::std::os::raw::c_int,
10329 context: *mut php_stream_context,
10330 ) -> ::std::os::raw::c_int,
10331 >,
10332 pub stream_metadata: ::std::option::Option<
10333 unsafe extern "C" fn(
10334 wrapper: *mut php_stream_wrapper,
10335 url: *const ::std::os::raw::c_char,
10336 options: ::std::os::raw::c_int,
10337 value: *mut ::std::os::raw::c_void,
10338 context: *mut php_stream_context,
10339 ) -> ::std::os::raw::c_int,
10340 >,
10341}
10342#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10343const _: () = {
10344 ["Size of _php_stream_wrapper_ops"][::std::mem::size_of::<_php_stream_wrapper_ops>() - 88usize];
10345 ["Alignment of _php_stream_wrapper_ops"]
10346 [::std::mem::align_of::<_php_stream_wrapper_ops>() - 8usize];
10347 ["Offset of field: _php_stream_wrapper_ops::stream_opener"]
10348 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_opener) - 0usize];
10349 ["Offset of field: _php_stream_wrapper_ops::stream_closer"]
10350 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_closer) - 8usize];
10351 ["Offset of field: _php_stream_wrapper_ops::stream_stat"]
10352 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_stat) - 16usize];
10353 ["Offset of field: _php_stream_wrapper_ops::url_stat"]
10354 [::std::mem::offset_of!(_php_stream_wrapper_ops, url_stat) - 24usize];
10355 ["Offset of field: _php_stream_wrapper_ops::dir_opener"]
10356 [::std::mem::offset_of!(_php_stream_wrapper_ops, dir_opener) - 32usize];
10357 ["Offset of field: _php_stream_wrapper_ops::label"]
10358 [::std::mem::offset_of!(_php_stream_wrapper_ops, label) - 40usize];
10359 ["Offset of field: _php_stream_wrapper_ops::unlink"]
10360 [::std::mem::offset_of!(_php_stream_wrapper_ops, unlink) - 48usize];
10361 ["Offset of field: _php_stream_wrapper_ops::rename"]
10362 [::std::mem::offset_of!(_php_stream_wrapper_ops, rename) - 56usize];
10363 ["Offset of field: _php_stream_wrapper_ops::stream_mkdir"]
10364 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_mkdir) - 64usize];
10365 ["Offset of field: _php_stream_wrapper_ops::stream_rmdir"]
10366 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_rmdir) - 72usize];
10367 ["Offset of field: _php_stream_wrapper_ops::stream_metadata"]
10368 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_metadata) - 80usize];
10369};
10370pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
10371#[repr(C)]
10372#[derive(Debug, Copy, Clone)]
10373pub struct _php_stream_wrapper {
10374 pub wops: *const php_stream_wrapper_ops,
10375 pub abstract_: *mut ::std::os::raw::c_void,
10376 pub is_url: ::std::os::raw::c_int,
10377}
10378#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10379const _: () = {
10380 ["Size of _php_stream_wrapper"][::std::mem::size_of::<_php_stream_wrapper>() - 24usize];
10381 ["Alignment of _php_stream_wrapper"][::std::mem::align_of::<_php_stream_wrapper>() - 8usize];
10382 ["Offset of field: _php_stream_wrapper::wops"]
10383 [::std::mem::offset_of!(_php_stream_wrapper, wops) - 0usize];
10384 ["Offset of field: _php_stream_wrapper::abstract_"]
10385 [::std::mem::offset_of!(_php_stream_wrapper, abstract_) - 8usize];
10386 ["Offset of field: _php_stream_wrapper::is_url"]
10387 [::std::mem::offset_of!(_php_stream_wrapper, is_url) - 16usize];
10388};
10389#[repr(C)]
10390#[derive(Copy, Clone)]
10391pub struct _php_stream {
10392 pub ops: *const php_stream_ops,
10393 pub abstract_: *mut ::std::os::raw::c_void,
10394 pub readfilters: php_stream_filter_chain,
10395 pub writefilters: php_stream_filter_chain,
10396 pub wrapper: *mut php_stream_wrapper,
10397 pub wrapperthis: *mut ::std::os::raw::c_void,
10398 pub wrapperdata: zval,
10399 pub _bitfield_align_1: [u8; 0],
10400 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
10401 pub mode: [::std::os::raw::c_char; 16usize],
10402 pub flags: u32,
10403 pub res: *mut zend_resource,
10404 pub stdiocast: *mut FILE,
10405 pub orig_path: *mut ::std::os::raw::c_char,
10406 pub ctx: *mut zend_resource,
10407 pub position: zend_off_t,
10408 pub readbuf: *mut ::std::os::raw::c_uchar,
10409 pub readbuflen: usize,
10410 pub readpos: zend_off_t,
10411 pub writepos: zend_off_t,
10412 pub chunk_size: usize,
10413 pub enclosing_stream: *mut _php_stream,
10414}
10415#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10416const _: () = {
10417 ["Size of _php_stream"][::std::mem::size_of::<_php_stream>() - 208usize];
10418 ["Alignment of _php_stream"][::std::mem::align_of::<_php_stream>() - 8usize];
10419 ["Offset of field: _php_stream::ops"][::std::mem::offset_of!(_php_stream, ops) - 0usize];
10420 ["Offset of field: _php_stream::abstract_"]
10421 [::std::mem::offset_of!(_php_stream, abstract_) - 8usize];
10422 ["Offset of field: _php_stream::readfilters"]
10423 [::std::mem::offset_of!(_php_stream, readfilters) - 16usize];
10424 ["Offset of field: _php_stream::writefilters"]
10425 [::std::mem::offset_of!(_php_stream, writefilters) - 40usize];
10426 ["Offset of field: _php_stream::wrapper"]
10427 [::std::mem::offset_of!(_php_stream, wrapper) - 64usize];
10428 ["Offset of field: _php_stream::wrapperthis"]
10429 [::std::mem::offset_of!(_php_stream, wrapperthis) - 72usize];
10430 ["Offset of field: _php_stream::wrapperdata"]
10431 [::std::mem::offset_of!(_php_stream, wrapperdata) - 80usize];
10432 ["Offset of field: _php_stream::mode"][::std::mem::offset_of!(_php_stream, mode) - 98usize];
10433 ["Offset of field: _php_stream::flags"][::std::mem::offset_of!(_php_stream, flags) - 116usize];
10434 ["Offset of field: _php_stream::res"][::std::mem::offset_of!(_php_stream, res) - 120usize];
10435 ["Offset of field: _php_stream::stdiocast"]
10436 [::std::mem::offset_of!(_php_stream, stdiocast) - 128usize];
10437 ["Offset of field: _php_stream::orig_path"]
10438 [::std::mem::offset_of!(_php_stream, orig_path) - 136usize];
10439 ["Offset of field: _php_stream::ctx"][::std::mem::offset_of!(_php_stream, ctx) - 144usize];
10440 ["Offset of field: _php_stream::position"]
10441 [::std::mem::offset_of!(_php_stream, position) - 152usize];
10442 ["Offset of field: _php_stream::readbuf"]
10443 [::std::mem::offset_of!(_php_stream, readbuf) - 160usize];
10444 ["Offset of field: _php_stream::readbuflen"]
10445 [::std::mem::offset_of!(_php_stream, readbuflen) - 168usize];
10446 ["Offset of field: _php_stream::readpos"]
10447 [::std::mem::offset_of!(_php_stream, readpos) - 176usize];
10448 ["Offset of field: _php_stream::writepos"]
10449 [::std::mem::offset_of!(_php_stream, writepos) - 184usize];
10450 ["Offset of field: _php_stream::chunk_size"]
10451 [::std::mem::offset_of!(_php_stream, chunk_size) - 192usize];
10452 ["Offset of field: _php_stream::enclosing_stream"]
10453 [::std::mem::offset_of!(_php_stream, enclosing_stream) - 200usize];
10454};
10455impl _php_stream {
10456 #[inline]
10457 pub fn is_persistent(&self) -> u16 {
10458 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) }
10459 }
10460 #[inline]
10461 pub fn set_is_persistent(&mut self, val: u16) {
10462 unsafe {
10463 let val: u16 = ::std::mem::transmute(val);
10464 self._bitfield_1.set(0usize, 1u8, val as u64)
10465 }
10466 }
10467 #[inline]
10468 pub fn in_free(&self) -> u16 {
10469 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 2u8) as u16) }
10470 }
10471 #[inline]
10472 pub fn set_in_free(&mut self, val: u16) {
10473 unsafe {
10474 let val: u16 = ::std::mem::transmute(val);
10475 self._bitfield_1.set(1usize, 2u8, val as u64)
10476 }
10477 }
10478 #[inline]
10479 pub fn eof(&self) -> u16 {
10480 unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u16) }
10481 }
10482 #[inline]
10483 pub fn set_eof(&mut self, val: u16) {
10484 unsafe {
10485 let val: u16 = ::std::mem::transmute(val);
10486 self._bitfield_1.set(3usize, 1u8, val as u64)
10487 }
10488 }
10489 #[inline]
10490 pub fn __exposed(&self) -> u16 {
10491 unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u16) }
10492 }
10493 #[inline]
10494 pub fn set___exposed(&mut self, val: u16) {
10495 unsafe {
10496 let val: u16 = ::std::mem::transmute(val);
10497 self._bitfield_1.set(4usize, 1u8, val as u64)
10498 }
10499 }
10500 #[inline]
10501 pub fn fclose_stdiocast(&self) -> u16 {
10502 unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 2u8) as u16) }
10503 }
10504 #[inline]
10505 pub fn set_fclose_stdiocast(&mut self, val: u16) {
10506 unsafe {
10507 let val: u16 = ::std::mem::transmute(val);
10508 self._bitfield_1.set(5usize, 2u8, val as u64)
10509 }
10510 }
10511 #[inline]
10512 pub fn has_buffered_data(&self) -> u16 {
10513 unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u16) }
10514 }
10515 #[inline]
10516 pub fn set_has_buffered_data(&mut self, val: u16) {
10517 unsafe {
10518 let val: u16 = ::std::mem::transmute(val);
10519 self._bitfield_1.set(7usize, 1u8, val as u64)
10520 }
10521 }
10522 #[inline]
10523 pub fn fclose_stdiocast_flush_in_progress(&self) -> u16 {
10524 unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u16) }
10525 }
10526 #[inline]
10527 pub fn set_fclose_stdiocast_flush_in_progress(&mut self, val: u16) {
10528 unsafe {
10529 let val: u16 = ::std::mem::transmute(val);
10530 self._bitfield_1.set(8usize, 1u8, val as u64)
10531 }
10532 }
10533 #[inline]
10534 pub fn fatal_error(&self) -> u16 {
10535 unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u16) }
10536 }
10537 #[inline]
10538 pub fn set_fatal_error(&mut self, val: u16) {
10539 unsafe {
10540 let val: u16 = ::std::mem::transmute(val);
10541 self._bitfield_1.set(9usize, 1u8, val as u64)
10542 }
10543 }
10544 #[inline]
10545 pub fn new_bitfield_1(
10546 is_persistent: u16,
10547 in_free: u16,
10548 eof: u16,
10549 __exposed: u16,
10550 fclose_stdiocast: u16,
10551 has_buffered_data: u16,
10552 fclose_stdiocast_flush_in_progress: u16,
10553 fatal_error: u16,
10554 ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
10555 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
10556 __bindgen_bitfield_unit.set(0usize, 1u8, {
10557 let is_persistent: u16 = unsafe { ::std::mem::transmute(is_persistent) };
10558 is_persistent as u64
10559 });
10560 __bindgen_bitfield_unit.set(1usize, 2u8, {
10561 let in_free: u16 = unsafe { ::std::mem::transmute(in_free) };
10562 in_free as u64
10563 });
10564 __bindgen_bitfield_unit.set(3usize, 1u8, {
10565 let eof: u16 = unsafe { ::std::mem::transmute(eof) };
10566 eof as u64
10567 });
10568 __bindgen_bitfield_unit.set(4usize, 1u8, {
10569 let __exposed: u16 = unsafe { ::std::mem::transmute(__exposed) };
10570 __exposed as u64
10571 });
10572 __bindgen_bitfield_unit.set(5usize, 2u8, {
10573 let fclose_stdiocast: u16 = unsafe { ::std::mem::transmute(fclose_stdiocast) };
10574 fclose_stdiocast as u64
10575 });
10576 __bindgen_bitfield_unit.set(7usize, 1u8, {
10577 let has_buffered_data: u16 = unsafe { ::std::mem::transmute(has_buffered_data) };
10578 has_buffered_data as u64
10579 });
10580 __bindgen_bitfield_unit.set(8usize, 1u8, {
10581 let fclose_stdiocast_flush_in_progress: u16 =
10582 unsafe { ::std::mem::transmute(fclose_stdiocast_flush_in_progress) };
10583 fclose_stdiocast_flush_in_progress as u64
10584 });
10585 __bindgen_bitfield_unit.set(9usize, 1u8, {
10586 let fatal_error: u16 = unsafe { ::std::mem::transmute(fatal_error) };
10587 fatal_error as u64
10588 });
10589 __bindgen_bitfield_unit
10590 }
10591}
10592extern "C" {
10593 pub fn php_stream_encloses(
10594 enclosing: *mut php_stream,
10595 enclosed: *mut php_stream,
10596 ) -> *mut php_stream;
10597}
10598extern "C" {
10599 pub fn php_stream_from_persistent_id(
10600 persistent_id: *const ::std::os::raw::c_char,
10601 stream: *mut *mut php_stream,
10602 ) -> ::std::os::raw::c_int;
10603}
10604extern "C" {
10605 pub fn php_stream_read_to_str(stream: *mut php_stream, len: usize) -> *mut zend_string;
10606}
10607extern "C" {
10608 pub fn php_stream_get_record(
10609 stream: *mut php_stream,
10610 maxlen: usize,
10611 delim: *const ::std::os::raw::c_char,
10612 delim_len: usize,
10613 ) -> *mut zend_string;
10614}
10615extern "C" {
10616 pub fn php_stream_dirent_alphasort(
10617 a: *mut *const zend_string,
10618 b: *mut *const zend_string,
10619 ) -> ::std::os::raw::c_int;
10620}
10621extern "C" {
10622 pub fn php_stream_dirent_alphasortr(
10623 a: *mut *const zend_string,
10624 b: *mut *const zend_string,
10625 ) -> ::std::os::raw::c_int;
10626}
10627pub type php_stream_transport_factory_func = ::std::option::Option<
10628 unsafe extern "C" fn(
10629 proto: *const ::std::os::raw::c_char,
10630 protolen: usize,
10631 resourcename: *const ::std::os::raw::c_char,
10632 resourcenamelen: usize,
10633 persistent_id: *const ::std::os::raw::c_char,
10634 options: ::std::os::raw::c_int,
10635 flags: ::std::os::raw::c_int,
10636 timeout: *mut timeval,
10637 context: *mut php_stream_context,
10638 ) -> *mut php_stream,
10639>;
10640pub type php_stream_transport_factory = php_stream_transport_factory_func;
10641extern "C" {
10642 pub fn php_stream_xport_register(
10643 protocol: *const ::std::os::raw::c_char,
10644 factory: php_stream_transport_factory,
10645 ) -> ::std::os::raw::c_int;
10646}
10647extern "C" {
10648 pub fn php_stream_xport_unregister(
10649 protocol: *const ::std::os::raw::c_char,
10650 ) -> ::std::os::raw::c_int;
10651}
10652extern "C" {
10653 pub fn php_stream_xport_bind(
10654 stream: *mut php_stream,
10655 name: *const ::std::os::raw::c_char,
10656 namelen: usize,
10657 error_text: *mut *mut zend_string,
10658 ) -> ::std::os::raw::c_int;
10659}
10660extern "C" {
10661 pub fn php_stream_xport_connect(
10662 stream: *mut php_stream,
10663 name: *const ::std::os::raw::c_char,
10664 namelen: usize,
10665 asynchronous: ::std::os::raw::c_int,
10666 timeout: *mut timeval,
10667 error_text: *mut *mut zend_string,
10668 error_code: *mut ::std::os::raw::c_int,
10669 ) -> ::std::os::raw::c_int;
10670}
10671extern "C" {
10672 pub fn php_stream_xport_listen(
10673 stream: *mut php_stream,
10674 backlog: ::std::os::raw::c_int,
10675 error_text: *mut *mut zend_string,
10676 ) -> ::std::os::raw::c_int;
10677}
10678extern "C" {
10679 pub fn php_stream_xport_accept(
10680 stream: *mut php_stream,
10681 client: *mut *mut php_stream,
10682 textaddr: *mut *mut zend_string,
10683 addr: *mut *mut ::std::os::raw::c_void,
10684 addrlen: *mut socklen_t,
10685 timeout: *mut timeval,
10686 error_text: *mut *mut zend_string,
10687 ) -> ::std::os::raw::c_int;
10688}
10689extern "C" {
10690 pub fn php_stream_xport_get_name(
10691 stream: *mut php_stream,
10692 want_peer: ::std::os::raw::c_int,
10693 textaddr: *mut *mut zend_string,
10694 addr: *mut *mut ::std::os::raw::c_void,
10695 addrlen: *mut socklen_t,
10696 ) -> ::std::os::raw::c_int;
10697}
10698extern "C" {
10699 pub fn php_stream_xport_recvfrom(
10700 stream: *mut php_stream,
10701 buf: *mut ::std::os::raw::c_char,
10702 buflen: usize,
10703 flags: ::std::os::raw::c_int,
10704 addr: *mut *mut ::std::os::raw::c_void,
10705 addrlen: *mut socklen_t,
10706 textaddr: *mut *mut zend_string,
10707 ) -> ::std::os::raw::c_int;
10708}
10709extern "C" {
10710 pub fn php_stream_xport_sendto(
10711 stream: *mut php_stream,
10712 buf: *const ::std::os::raw::c_char,
10713 buflen: usize,
10714 flags: ::std::os::raw::c_int,
10715 addr: *mut ::std::os::raw::c_void,
10716 addrlen: socklen_t,
10717 ) -> ::std::os::raw::c_int;
10718}
10719pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
10720pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
10721pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
10722pub type stream_shutdown_t = ::std::os::raw::c_uint;
10723extern "C" {
10724 pub fn php_stream_xport_shutdown(
10725 stream: *mut php_stream,
10726 how: stream_shutdown_t,
10727 ) -> ::std::os::raw::c_int;
10728}
10729pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
10730 php_stream_xport_crypt_method_t = 3;
10731pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
10732 php_stream_xport_crypt_method_t = 5;
10733pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
10734 php_stream_xport_crypt_method_t = 57;
10735pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
10736 php_stream_xport_crypt_method_t = 9;
10737pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
10738 php_stream_xport_crypt_method_t = 17;
10739pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
10740 php_stream_xport_crypt_method_t = 33;
10741pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT:
10742 php_stream_xport_crypt_method_t = 65;
10743pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
10744 php_stream_xport_crypt_method_t = 121;
10745pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
10746 php_stream_xport_crypt_method_t = 121;
10747pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
10748 php_stream_xport_crypt_method_t = 127;
10749pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
10750 php_stream_xport_crypt_method_t = 2;
10751pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
10752 php_stream_xport_crypt_method_t = 4;
10753pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
10754 php_stream_xport_crypt_method_t = 120;
10755pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
10756 php_stream_xport_crypt_method_t = 8;
10757pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
10758 php_stream_xport_crypt_method_t = 16;
10759pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
10760 php_stream_xport_crypt_method_t = 32;
10761pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_SERVER:
10762 php_stream_xport_crypt_method_t = 64;
10763pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
10764 php_stream_xport_crypt_method_t = 120;
10765pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
10766 php_stream_xport_crypt_method_t = 120;
10767pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
10768 php_stream_xport_crypt_method_t = 126;
10769pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
10770extern "C" {
10771 pub fn php_stream_xport_crypto_setup(
10772 stream: *mut php_stream,
10773 crypto_method: php_stream_xport_crypt_method_t,
10774 session_stream: *mut php_stream,
10775 ) -> ::std::os::raw::c_int;
10776}
10777extern "C" {
10778 pub fn php_stream_xport_crypto_enable(
10779 stream: *mut php_stream,
10780 activate: ::std::os::raw::c_int,
10781 ) -> ::std::os::raw::c_int;
10782}
10783extern "C" {
10784 pub fn php_stream_xport_get_hash() -> *mut HashTable;
10785}
10786extern "C" {
10787 pub fn php_stream_generic_socket_factory(
10788 proto: *const ::std::os::raw::c_char,
10789 protolen: usize,
10790 resourcename: *const ::std::os::raw::c_char,
10791 resourcenamelen: usize,
10792 persistent_id: *const ::std::os::raw::c_char,
10793 options: ::std::os::raw::c_int,
10794 flags: ::std::os::raw::c_int,
10795 timeout: *mut timeval,
10796 context: *mut php_stream_context,
10797 ) -> *mut php_stream;
10798}
10799extern "C" {
10800 pub static mut php_stream_stdio_ops: php_stream_ops;
10801}
10802extern "C" {
10803 pub static mut php_plain_files_wrapper: php_stream_wrapper;
10804}
10805extern "C" {
10806 pub fn php_stream_parse_fopen_modes(
10807 mode: *const ::std::os::raw::c_char,
10808 open_flags: *mut ::std::os::raw::c_int,
10809 ) -> ::std::os::raw::c_int;
10810}
10811extern "C" {
10812 pub static php_glob_stream_wrapper: php_stream_wrapper;
10813}
10814extern "C" {
10815 pub static php_glob_stream_ops: php_stream_ops;
10816}
10817extern "C" {
10818 pub static php_stream_userspace_ops: php_stream_ops;
10819}
10820extern "C" {
10821 pub static php_stream_userspace_dir_ops: php_stream_ops;
10822}
10823extern "C" {
10824 pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
10825}
10826extern "C" {
10827 pub fn php_shutdown_stream_wrappers(module_number: ::std::os::raw::c_int);
10828}
10829extern "C" {
10830 pub fn php_shutdown_stream_hashes();
10831}
10832extern "C" {
10833 pub fn php_register_url_stream_wrapper(
10834 protocol: *const ::std::os::raw::c_char,
10835 wrapper: *const php_stream_wrapper,
10836 ) -> zend_result;
10837}
10838extern "C" {
10839 pub fn php_unregister_url_stream_wrapper(
10840 protocol: *const ::std::os::raw::c_char,
10841 ) -> zend_result;
10842}
10843extern "C" {
10844 pub fn php_register_url_stream_wrapper_volatile(
10845 protocol: *mut zend_string,
10846 wrapper: *mut php_stream_wrapper,
10847 ) -> zend_result;
10848}
10849extern "C" {
10850 pub fn php_unregister_url_stream_wrapper_volatile(protocol: *mut zend_string) -> zend_result;
10851}
10852extern "C" {
10853 pub fn php_stream_locate_url_wrapper(
10854 path: *const ::std::os::raw::c_char,
10855 path_for_open: *mut *const ::std::os::raw::c_char,
10856 options: ::std::os::raw::c_int,
10857 ) -> *mut php_stream_wrapper;
10858}
10859extern "C" {
10860 pub fn php_stream_locate_eol(
10861 stream: *mut php_stream,
10862 buf: *mut zend_string,
10863 ) -> *const ::std::os::raw::c_char;
10864}
10865extern "C" {
10866 pub fn php_stream_wrapper_log_error(
10867 wrapper: *const php_stream_wrapper,
10868 options: ::std::os::raw::c_int,
10869 fmt: *const ::std::os::raw::c_char,
10870 ...
10871 );
10872}
10873extern "C" {
10874 pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
10875}
10876extern "C" {
10877 pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
10878}
10879extern "C" {
10880 pub static mut php_stream_user_wrapper_ops: *const php_stream_wrapper_ops;
10881}
10882extern "C" {
10883 pub fn php_stream_mode_from_str(mode: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
10884}
10885extern "C" {
10886 pub static php_stream_memory_ops: php_stream_ops;
10887}
10888extern "C" {
10889 pub static php_stream_temp_ops: php_stream_ops;
10890}
10891extern "C" {
10892 pub static php_stream_rfc2397_ops: php_stream_ops;
10893}
10894extern "C" {
10895 pub static php_stream_rfc2397_wrapper: php_stream_wrapper;
10896}
10897#[repr(C)]
10898#[derive(Copy, Clone)]
10899pub struct _php_core_globals {
10900 pub output_buffering: zend_long,
10901 pub implicit_flush: bool,
10902 pub enable_dl: bool,
10903 pub display_errors: u8,
10904 pub display_startup_errors: bool,
10905 pub log_errors: bool,
10906 pub ignore_repeated_errors: bool,
10907 pub ignore_repeated_source: bool,
10908 pub report_memleaks: bool,
10909 pub output_handler: *mut ::std::os::raw::c_char,
10910 pub unserialize_callback_func: *mut ::std::os::raw::c_char,
10911 pub serialize_precision: zend_long,
10912 pub memory_limit: zend_long,
10913 pub max_input_time: zend_long,
10914 pub error_log: *mut ::std::os::raw::c_char,
10915 pub doc_root: *mut ::std::os::raw::c_char,
10916 pub user_dir: *mut ::std::os::raw::c_char,
10917 pub include_path: *mut ::std::os::raw::c_char,
10918 pub open_basedir: *mut ::std::os::raw::c_char,
10919 pub open_basedir_modified: bool,
10920 pub extension_dir: *mut ::std::os::raw::c_char,
10921 pub php_binary: *mut ::std::os::raw::c_char,
10922 pub sys_temp_dir: *mut ::std::os::raw::c_char,
10923 pub upload_tmp_dir: *mut ::std::os::raw::c_char,
10924 pub upload_max_filesize: zend_long,
10925 pub error_append_string: *mut ::std::os::raw::c_char,
10926 pub error_prepend_string: *mut ::std::os::raw::c_char,
10927 pub auto_prepend_file: *mut ::std::os::raw::c_char,
10928 pub auto_append_file: *mut ::std::os::raw::c_char,
10929 pub input_encoding: *mut ::std::os::raw::c_char,
10930 pub internal_encoding: *mut ::std::os::raw::c_char,
10931 pub output_encoding: *mut ::std::os::raw::c_char,
10932 pub arg_separator: arg_separators,
10933 pub variables_order: *mut ::std::os::raw::c_char,
10934 pub rfc1867_protected_variables: HashTable,
10935 pub connection_status: ::std::os::raw::c_short,
10936 pub ignore_user_abort: bool,
10937 pub header_is_being_sent: ::std::os::raw::c_uchar,
10938 pub tick_functions: zend_llist,
10939 pub http_globals: [zval; 6usize],
10940 pub expose_php: bool,
10941 pub register_argc_argv: bool,
10942 pub auto_globals_jit: bool,
10943 pub html_errors: bool,
10944 pub xmlrpc_errors: bool,
10945 pub docref_root: *mut ::std::os::raw::c_char,
10946 pub docref_ext: *mut ::std::os::raw::c_char,
10947 pub xmlrpc_error_number: zend_long,
10948 pub activated_auto_globals: [bool; 8usize],
10949 pub modules_activated: bool,
10950 pub file_uploads: bool,
10951 pub during_request_startup: bool,
10952 pub allow_url_fopen: bool,
10953 pub enable_post_data_reading: bool,
10954 pub report_zend_debug: bool,
10955 pub last_error_type: ::std::os::raw::c_int,
10956 pub last_error_lineno: ::std::os::raw::c_int,
10957 pub last_error_message: *mut zend_string,
10958 pub last_error_file: *mut zend_string,
10959 pub php_sys_temp_dir: *mut ::std::os::raw::c_char,
10960 pub disable_classes: *mut ::std::os::raw::c_char,
10961 pub max_input_nesting_level: zend_long,
10962 pub max_input_vars: zend_long,
10963 pub user_ini_filename: *mut ::std::os::raw::c_char,
10964 pub user_ini_cache_ttl: zend_long,
10965 pub request_order: *mut ::std::os::raw::c_char,
10966 pub mail_log: *mut ::std::os::raw::c_char,
10967 pub mail_x_header: bool,
10968 pub mail_mixed_lf_and_crlf: bool,
10969 pub in_error_log: bool,
10970 pub allow_url_include: bool,
10971 pub in_user_include: bool,
10972 pub have_called_openlog: bool,
10973 pub syslog_facility: zend_long,
10974 pub syslog_ident: *mut ::std::os::raw::c_char,
10975 pub syslog_filter: zend_long,
10976 pub error_log_mode: zend_long,
10977}
10978#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10979const _: () = {
10980 ["Size of _php_core_globals"][::std::mem::size_of::<_php_core_globals>() - 616usize];
10981 ["Alignment of _php_core_globals"][::std::mem::align_of::<_php_core_globals>() - 8usize];
10982 ["Offset of field: _php_core_globals::output_buffering"]
10983 [::std::mem::offset_of!(_php_core_globals, output_buffering) - 0usize];
10984 ["Offset of field: _php_core_globals::implicit_flush"]
10985 [::std::mem::offset_of!(_php_core_globals, implicit_flush) - 8usize];
10986 ["Offset of field: _php_core_globals::enable_dl"]
10987 [::std::mem::offset_of!(_php_core_globals, enable_dl) - 9usize];
10988 ["Offset of field: _php_core_globals::display_errors"]
10989 [::std::mem::offset_of!(_php_core_globals, display_errors) - 10usize];
10990 ["Offset of field: _php_core_globals::display_startup_errors"]
10991 [::std::mem::offset_of!(_php_core_globals, display_startup_errors) - 11usize];
10992 ["Offset of field: _php_core_globals::log_errors"]
10993 [::std::mem::offset_of!(_php_core_globals, log_errors) - 12usize];
10994 ["Offset of field: _php_core_globals::ignore_repeated_errors"]
10995 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_errors) - 13usize];
10996 ["Offset of field: _php_core_globals::ignore_repeated_source"]
10997 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_source) - 14usize];
10998 ["Offset of field: _php_core_globals::report_memleaks"]
10999 [::std::mem::offset_of!(_php_core_globals, report_memleaks) - 15usize];
11000 ["Offset of field: _php_core_globals::output_handler"]
11001 [::std::mem::offset_of!(_php_core_globals, output_handler) - 16usize];
11002 ["Offset of field: _php_core_globals::unserialize_callback_func"]
11003 [::std::mem::offset_of!(_php_core_globals, unserialize_callback_func) - 24usize];
11004 ["Offset of field: _php_core_globals::serialize_precision"]
11005 [::std::mem::offset_of!(_php_core_globals, serialize_precision) - 32usize];
11006 ["Offset of field: _php_core_globals::memory_limit"]
11007 [::std::mem::offset_of!(_php_core_globals, memory_limit) - 40usize];
11008 ["Offset of field: _php_core_globals::max_input_time"]
11009 [::std::mem::offset_of!(_php_core_globals, max_input_time) - 48usize];
11010 ["Offset of field: _php_core_globals::error_log"]
11011 [::std::mem::offset_of!(_php_core_globals, error_log) - 56usize];
11012 ["Offset of field: _php_core_globals::doc_root"]
11013 [::std::mem::offset_of!(_php_core_globals, doc_root) - 64usize];
11014 ["Offset of field: _php_core_globals::user_dir"]
11015 [::std::mem::offset_of!(_php_core_globals, user_dir) - 72usize];
11016 ["Offset of field: _php_core_globals::include_path"]
11017 [::std::mem::offset_of!(_php_core_globals, include_path) - 80usize];
11018 ["Offset of field: _php_core_globals::open_basedir"]
11019 [::std::mem::offset_of!(_php_core_globals, open_basedir) - 88usize];
11020 ["Offset of field: _php_core_globals::open_basedir_modified"]
11021 [::std::mem::offset_of!(_php_core_globals, open_basedir_modified) - 96usize];
11022 ["Offset of field: _php_core_globals::extension_dir"]
11023 [::std::mem::offset_of!(_php_core_globals, extension_dir) - 104usize];
11024 ["Offset of field: _php_core_globals::php_binary"]
11025 [::std::mem::offset_of!(_php_core_globals, php_binary) - 112usize];
11026 ["Offset of field: _php_core_globals::sys_temp_dir"]
11027 [::std::mem::offset_of!(_php_core_globals, sys_temp_dir) - 120usize];
11028 ["Offset of field: _php_core_globals::upload_tmp_dir"]
11029 [::std::mem::offset_of!(_php_core_globals, upload_tmp_dir) - 128usize];
11030 ["Offset of field: _php_core_globals::upload_max_filesize"]
11031 [::std::mem::offset_of!(_php_core_globals, upload_max_filesize) - 136usize];
11032 ["Offset of field: _php_core_globals::error_append_string"]
11033 [::std::mem::offset_of!(_php_core_globals, error_append_string) - 144usize];
11034 ["Offset of field: _php_core_globals::error_prepend_string"]
11035 [::std::mem::offset_of!(_php_core_globals, error_prepend_string) - 152usize];
11036 ["Offset of field: _php_core_globals::auto_prepend_file"]
11037 [::std::mem::offset_of!(_php_core_globals, auto_prepend_file) - 160usize];
11038 ["Offset of field: _php_core_globals::auto_append_file"]
11039 [::std::mem::offset_of!(_php_core_globals, auto_append_file) - 168usize];
11040 ["Offset of field: _php_core_globals::input_encoding"]
11041 [::std::mem::offset_of!(_php_core_globals, input_encoding) - 176usize];
11042 ["Offset of field: _php_core_globals::internal_encoding"]
11043 [::std::mem::offset_of!(_php_core_globals, internal_encoding) - 184usize];
11044 ["Offset of field: _php_core_globals::output_encoding"]
11045 [::std::mem::offset_of!(_php_core_globals, output_encoding) - 192usize];
11046 ["Offset of field: _php_core_globals::arg_separator"]
11047 [::std::mem::offset_of!(_php_core_globals, arg_separator) - 200usize];
11048 ["Offset of field: _php_core_globals::variables_order"]
11049 [::std::mem::offset_of!(_php_core_globals, variables_order) - 216usize];
11050 ["Offset of field: _php_core_globals::rfc1867_protected_variables"]
11051 [::std::mem::offset_of!(_php_core_globals, rfc1867_protected_variables) - 224usize];
11052 ["Offset of field: _php_core_globals::connection_status"]
11053 [::std::mem::offset_of!(_php_core_globals, connection_status) - 280usize];
11054 ["Offset of field: _php_core_globals::ignore_user_abort"]
11055 [::std::mem::offset_of!(_php_core_globals, ignore_user_abort) - 282usize];
11056 ["Offset of field: _php_core_globals::header_is_being_sent"]
11057 [::std::mem::offset_of!(_php_core_globals, header_is_being_sent) - 283usize];
11058 ["Offset of field: _php_core_globals::tick_functions"]
11059 [::std::mem::offset_of!(_php_core_globals, tick_functions) - 288usize];
11060 ["Offset of field: _php_core_globals::http_globals"]
11061 [::std::mem::offset_of!(_php_core_globals, http_globals) - 344usize];
11062 ["Offset of field: _php_core_globals::expose_php"]
11063 [::std::mem::offset_of!(_php_core_globals, expose_php) - 440usize];
11064 ["Offset of field: _php_core_globals::register_argc_argv"]
11065 [::std::mem::offset_of!(_php_core_globals, register_argc_argv) - 441usize];
11066 ["Offset of field: _php_core_globals::auto_globals_jit"]
11067 [::std::mem::offset_of!(_php_core_globals, auto_globals_jit) - 442usize];
11068 ["Offset of field: _php_core_globals::html_errors"]
11069 [::std::mem::offset_of!(_php_core_globals, html_errors) - 443usize];
11070 ["Offset of field: _php_core_globals::xmlrpc_errors"]
11071 [::std::mem::offset_of!(_php_core_globals, xmlrpc_errors) - 444usize];
11072 ["Offset of field: _php_core_globals::docref_root"]
11073 [::std::mem::offset_of!(_php_core_globals, docref_root) - 448usize];
11074 ["Offset of field: _php_core_globals::docref_ext"]
11075 [::std::mem::offset_of!(_php_core_globals, docref_ext) - 456usize];
11076 ["Offset of field: _php_core_globals::xmlrpc_error_number"]
11077 [::std::mem::offset_of!(_php_core_globals, xmlrpc_error_number) - 464usize];
11078 ["Offset of field: _php_core_globals::activated_auto_globals"]
11079 [::std::mem::offset_of!(_php_core_globals, activated_auto_globals) - 472usize];
11080 ["Offset of field: _php_core_globals::modules_activated"]
11081 [::std::mem::offset_of!(_php_core_globals, modules_activated) - 480usize];
11082 ["Offset of field: _php_core_globals::file_uploads"]
11083 [::std::mem::offset_of!(_php_core_globals, file_uploads) - 481usize];
11084 ["Offset of field: _php_core_globals::during_request_startup"]
11085 [::std::mem::offset_of!(_php_core_globals, during_request_startup) - 482usize];
11086 ["Offset of field: _php_core_globals::allow_url_fopen"]
11087 [::std::mem::offset_of!(_php_core_globals, allow_url_fopen) - 483usize];
11088 ["Offset of field: _php_core_globals::enable_post_data_reading"]
11089 [::std::mem::offset_of!(_php_core_globals, enable_post_data_reading) - 484usize];
11090 ["Offset of field: _php_core_globals::report_zend_debug"]
11091 [::std::mem::offset_of!(_php_core_globals, report_zend_debug) - 485usize];
11092 ["Offset of field: _php_core_globals::last_error_type"]
11093 [::std::mem::offset_of!(_php_core_globals, last_error_type) - 488usize];
11094 ["Offset of field: _php_core_globals::last_error_lineno"]
11095 [::std::mem::offset_of!(_php_core_globals, last_error_lineno) - 492usize];
11096 ["Offset of field: _php_core_globals::last_error_message"]
11097 [::std::mem::offset_of!(_php_core_globals, last_error_message) - 496usize];
11098 ["Offset of field: _php_core_globals::last_error_file"]
11099 [::std::mem::offset_of!(_php_core_globals, last_error_file) - 504usize];
11100 ["Offset of field: _php_core_globals::php_sys_temp_dir"]
11101 [::std::mem::offset_of!(_php_core_globals, php_sys_temp_dir) - 512usize];
11102 ["Offset of field: _php_core_globals::disable_classes"]
11103 [::std::mem::offset_of!(_php_core_globals, disable_classes) - 520usize];
11104 ["Offset of field: _php_core_globals::max_input_nesting_level"]
11105 [::std::mem::offset_of!(_php_core_globals, max_input_nesting_level) - 528usize];
11106 ["Offset of field: _php_core_globals::max_input_vars"]
11107 [::std::mem::offset_of!(_php_core_globals, max_input_vars) - 536usize];
11108 ["Offset of field: _php_core_globals::user_ini_filename"]
11109 [::std::mem::offset_of!(_php_core_globals, user_ini_filename) - 544usize];
11110 ["Offset of field: _php_core_globals::user_ini_cache_ttl"]
11111 [::std::mem::offset_of!(_php_core_globals, user_ini_cache_ttl) - 552usize];
11112 ["Offset of field: _php_core_globals::request_order"]
11113 [::std::mem::offset_of!(_php_core_globals, request_order) - 560usize];
11114 ["Offset of field: _php_core_globals::mail_log"]
11115 [::std::mem::offset_of!(_php_core_globals, mail_log) - 568usize];
11116 ["Offset of field: _php_core_globals::mail_x_header"]
11117 [::std::mem::offset_of!(_php_core_globals, mail_x_header) - 576usize];
11118 ["Offset of field: _php_core_globals::mail_mixed_lf_and_crlf"]
11119 [::std::mem::offset_of!(_php_core_globals, mail_mixed_lf_and_crlf) - 577usize];
11120 ["Offset of field: _php_core_globals::in_error_log"]
11121 [::std::mem::offset_of!(_php_core_globals, in_error_log) - 578usize];
11122 ["Offset of field: _php_core_globals::allow_url_include"]
11123 [::std::mem::offset_of!(_php_core_globals, allow_url_include) - 579usize];
11124 ["Offset of field: _php_core_globals::in_user_include"]
11125 [::std::mem::offset_of!(_php_core_globals, in_user_include) - 580usize];
11126 ["Offset of field: _php_core_globals::have_called_openlog"]
11127 [::std::mem::offset_of!(_php_core_globals, have_called_openlog) - 581usize];
11128 ["Offset of field: _php_core_globals::syslog_facility"]
11129 [::std::mem::offset_of!(_php_core_globals, syslog_facility) - 584usize];
11130 ["Offset of field: _php_core_globals::syslog_ident"]
11131 [::std::mem::offset_of!(_php_core_globals, syslog_ident) - 592usize];
11132 ["Offset of field: _php_core_globals::syslog_filter"]
11133 [::std::mem::offset_of!(_php_core_globals, syslog_filter) - 600usize];
11134 ["Offset of field: _php_core_globals::error_log_mode"]
11135 [::std::mem::offset_of!(_php_core_globals, error_log_mode) - 608usize];
11136};
11137extern "C" {
11138 pub static mut core_globals: _php_core_globals;
11139}
11140#[repr(C)]
11141#[derive(Debug, Copy, Clone)]
11142pub struct _arg_separators {
11143 pub output: *mut ::std::os::raw::c_char,
11144 pub input: *mut ::std::os::raw::c_char,
11145}
11146#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11147const _: () = {
11148 ["Size of _arg_separators"][::std::mem::size_of::<_arg_separators>() - 16usize];
11149 ["Alignment of _arg_separators"][::std::mem::align_of::<_arg_separators>() - 8usize];
11150 ["Offset of field: _arg_separators::output"]
11151 [::std::mem::offset_of!(_arg_separators, output) - 0usize];
11152 ["Offset of field: _arg_separators::input"]
11153 [::std::mem::offset_of!(_arg_separators, input) - 8usize];
11154};
11155pub type arg_separators = _arg_separators;
11156#[repr(C)]
11157#[derive(Debug, Copy, Clone)]
11158pub struct _zend_ini_entry_def {
11159 pub name: *const ::std::os::raw::c_char,
11160 pub on_modify: ::std::option::Option<
11161 unsafe extern "C" fn(
11162 entry: *mut zend_ini_entry,
11163 new_value: *mut zend_string,
11164 mh_arg1: *mut ::std::os::raw::c_void,
11165 mh_arg2: *mut ::std::os::raw::c_void,
11166 mh_arg3: *mut ::std::os::raw::c_void,
11167 stage: ::std::os::raw::c_int,
11168 ) -> ::std::os::raw::c_int,
11169 >,
11170 pub mh_arg1: *mut ::std::os::raw::c_void,
11171 pub mh_arg2: *mut ::std::os::raw::c_void,
11172 pub mh_arg3: *mut ::std::os::raw::c_void,
11173 pub value: *const ::std::os::raw::c_char,
11174 pub displayer: ::std::option::Option<
11175 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
11176 >,
11177 pub value_length: u32,
11178 pub name_length: u16,
11179 pub modifiable: u8,
11180}
11181#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11182const _: () = {
11183 ["Size of _zend_ini_entry_def"][::std::mem::size_of::<_zend_ini_entry_def>() - 64usize];
11184 ["Alignment of _zend_ini_entry_def"][::std::mem::align_of::<_zend_ini_entry_def>() - 8usize];
11185 ["Offset of field: _zend_ini_entry_def::name"]
11186 [::std::mem::offset_of!(_zend_ini_entry_def, name) - 0usize];
11187 ["Offset of field: _zend_ini_entry_def::on_modify"]
11188 [::std::mem::offset_of!(_zend_ini_entry_def, on_modify) - 8usize];
11189 ["Offset of field: _zend_ini_entry_def::mh_arg1"]
11190 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg1) - 16usize];
11191 ["Offset of field: _zend_ini_entry_def::mh_arg2"]
11192 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg2) - 24usize];
11193 ["Offset of field: _zend_ini_entry_def::mh_arg3"]
11194 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg3) - 32usize];
11195 ["Offset of field: _zend_ini_entry_def::value"]
11196 [::std::mem::offset_of!(_zend_ini_entry_def, value) - 40usize];
11197 ["Offset of field: _zend_ini_entry_def::displayer"]
11198 [::std::mem::offset_of!(_zend_ini_entry_def, displayer) - 48usize];
11199 ["Offset of field: _zend_ini_entry_def::value_length"]
11200 [::std::mem::offset_of!(_zend_ini_entry_def, value_length) - 56usize];
11201 ["Offset of field: _zend_ini_entry_def::name_length"]
11202 [::std::mem::offset_of!(_zend_ini_entry_def, name_length) - 60usize];
11203 ["Offset of field: _zend_ini_entry_def::modifiable"]
11204 [::std::mem::offset_of!(_zend_ini_entry_def, modifiable) - 62usize];
11205};
11206pub type zend_ini_entry_def = _zend_ini_entry_def;
11207#[repr(C)]
11208#[derive(Debug, Copy, Clone)]
11209pub struct _zend_ini_entry {
11210 pub name: *mut zend_string,
11211 pub on_modify: ::std::option::Option<
11212 unsafe extern "C" fn(
11213 entry: *mut zend_ini_entry,
11214 new_value: *mut zend_string,
11215 mh_arg1: *mut ::std::os::raw::c_void,
11216 mh_arg2: *mut ::std::os::raw::c_void,
11217 mh_arg3: *mut ::std::os::raw::c_void,
11218 stage: ::std::os::raw::c_int,
11219 ) -> ::std::os::raw::c_int,
11220 >,
11221 pub mh_arg1: *mut ::std::os::raw::c_void,
11222 pub mh_arg2: *mut ::std::os::raw::c_void,
11223 pub mh_arg3: *mut ::std::os::raw::c_void,
11224 pub value: *mut zend_string,
11225 pub orig_value: *mut zend_string,
11226 pub displayer: ::std::option::Option<
11227 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
11228 >,
11229 pub module_number: ::std::os::raw::c_int,
11230 pub modifiable: u8,
11231 pub orig_modifiable: u8,
11232 pub modified: u8,
11233}
11234#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11235const _: () = {
11236 ["Size of _zend_ini_entry"][::std::mem::size_of::<_zend_ini_entry>() - 72usize];
11237 ["Alignment of _zend_ini_entry"][::std::mem::align_of::<_zend_ini_entry>() - 8usize];
11238 ["Offset of field: _zend_ini_entry::name"]
11239 [::std::mem::offset_of!(_zend_ini_entry, name) - 0usize];
11240 ["Offset of field: _zend_ini_entry::on_modify"]
11241 [::std::mem::offset_of!(_zend_ini_entry, on_modify) - 8usize];
11242 ["Offset of field: _zend_ini_entry::mh_arg1"]
11243 [::std::mem::offset_of!(_zend_ini_entry, mh_arg1) - 16usize];
11244 ["Offset of field: _zend_ini_entry::mh_arg2"]
11245 [::std::mem::offset_of!(_zend_ini_entry, mh_arg2) - 24usize];
11246 ["Offset of field: _zend_ini_entry::mh_arg3"]
11247 [::std::mem::offset_of!(_zend_ini_entry, mh_arg3) - 32usize];
11248 ["Offset of field: _zend_ini_entry::value"]
11249 [::std::mem::offset_of!(_zend_ini_entry, value) - 40usize];
11250 ["Offset of field: _zend_ini_entry::orig_value"]
11251 [::std::mem::offset_of!(_zend_ini_entry, orig_value) - 48usize];
11252 ["Offset of field: _zend_ini_entry::displayer"]
11253 [::std::mem::offset_of!(_zend_ini_entry, displayer) - 56usize];
11254 ["Offset of field: _zend_ini_entry::module_number"]
11255 [::std::mem::offset_of!(_zend_ini_entry, module_number) - 64usize];
11256 ["Offset of field: _zend_ini_entry::modifiable"]
11257 [::std::mem::offset_of!(_zend_ini_entry, modifiable) - 68usize];
11258 ["Offset of field: _zend_ini_entry::orig_modifiable"]
11259 [::std::mem::offset_of!(_zend_ini_entry, orig_modifiable) - 69usize];
11260 ["Offset of field: _zend_ini_entry::modified"]
11261 [::std::mem::offset_of!(_zend_ini_entry, modified) - 70usize];
11262};
11263extern "C" {
11264 pub fn zend_ini_startup();
11265}
11266extern "C" {
11267 pub fn zend_ini_shutdown();
11268}
11269extern "C" {
11270 pub fn zend_ini_global_shutdown();
11271}
11272extern "C" {
11273 pub fn zend_ini_deactivate();
11274}
11275extern "C" {
11276 pub fn zend_ini_dtor(ini_directives: *mut HashTable);
11277}
11278extern "C" {
11279 pub fn zend_copy_ini_directives();
11280}
11281extern "C" {
11282 pub fn zend_ini_sort_entries();
11283}
11284extern "C" {
11285 pub fn zend_register_ini_entries(
11286 ini_entry: *const zend_ini_entry_def,
11287 module_number: ::std::os::raw::c_int,
11288 ) -> zend_result;
11289}
11290extern "C" {
11291 pub fn zend_register_ini_entries_ex(
11292 ini_entry: *const zend_ini_entry_def,
11293 module_number: ::std::os::raw::c_int,
11294 module_type: ::std::os::raw::c_int,
11295 ) -> zend_result;
11296}
11297extern "C" {
11298 pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
11299}
11300extern "C" {
11301 pub fn zend_unregister_ini_entries_ex(
11302 module_number: ::std::os::raw::c_int,
11303 module_type: ::std::os::raw::c_int,
11304 );
11305}
11306extern "C" {
11307 pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
11308}
11309extern "C" {
11310 pub fn zend_alter_ini_entry(
11311 name: *mut zend_string,
11312 new_value: *mut zend_string,
11313 modify_type: ::std::os::raw::c_int,
11314 stage: ::std::os::raw::c_int,
11315 ) -> zend_result;
11316}
11317extern "C" {
11318 pub fn zend_alter_ini_entry_ex(
11319 name: *mut zend_string,
11320 new_value: *mut zend_string,
11321 modify_type: ::std::os::raw::c_int,
11322 stage: ::std::os::raw::c_int,
11323 force_change: bool,
11324 ) -> zend_result;
11325}
11326extern "C" {
11327 pub fn zend_alter_ini_entry_chars(
11328 name: *mut zend_string,
11329 value: *const ::std::os::raw::c_char,
11330 value_length: usize,
11331 modify_type: ::std::os::raw::c_int,
11332 stage: ::std::os::raw::c_int,
11333 ) -> zend_result;
11334}
11335extern "C" {
11336 pub fn zend_alter_ini_entry_chars_ex(
11337 name: *mut zend_string,
11338 value: *const ::std::os::raw::c_char,
11339 value_length: usize,
11340 modify_type: ::std::os::raw::c_int,
11341 stage: ::std::os::raw::c_int,
11342 force_change: ::std::os::raw::c_int,
11343 ) -> zend_result;
11344}
11345extern "C" {
11346 pub fn zend_restore_ini_entry(
11347 name: *mut zend_string,
11348 stage: ::std::os::raw::c_int,
11349 ) -> zend_result;
11350}
11351extern "C" {
11352 pub fn zend_ini_long(
11353 name: *const ::std::os::raw::c_char,
11354 name_length: usize,
11355 orig: ::std::os::raw::c_int,
11356 ) -> zend_long;
11357}
11358extern "C" {
11359 pub fn zend_ini_double(
11360 name: *const ::std::os::raw::c_char,
11361 name_length: usize,
11362 orig: ::std::os::raw::c_int,
11363 ) -> f64;
11364}
11365extern "C" {
11366 pub fn zend_ini_string(
11367 name: *const ::std::os::raw::c_char,
11368 name_length: usize,
11369 orig: ::std::os::raw::c_int,
11370 ) -> *mut ::std::os::raw::c_char;
11371}
11372extern "C" {
11373 pub fn zend_ini_string_ex(
11374 name: *const ::std::os::raw::c_char,
11375 name_length: usize,
11376 orig: ::std::os::raw::c_int,
11377 exists: *mut bool,
11378 ) -> *mut ::std::os::raw::c_char;
11379}
11380extern "C" {
11381 pub fn zend_ini_str(
11382 name: *const ::std::os::raw::c_char,
11383 name_length: usize,
11384 orig: bool,
11385 ) -> *mut zend_string;
11386}
11387extern "C" {
11388 pub fn zend_ini_str_ex(
11389 name: *const ::std::os::raw::c_char,
11390 name_length: usize,
11391 orig: bool,
11392 exists: *mut bool,
11393 ) -> *mut zend_string;
11394}
11395extern "C" {
11396 pub fn zend_ini_get_value(name: *mut zend_string) -> *mut zend_string;
11397}
11398extern "C" {
11399 pub fn zend_ini_parse_bool(str_: *mut zend_string) -> bool;
11400}
11401extern "C" {
11402 #[doc = " Parses an ini quantity\n\n The value parameter must be a string in the form\n\n sign? digits ws* multiplier?\n\n with\n\n sign: [+-]\n digit: [0-9]\n digits: digit+\n ws: [ \\t\\n\\r\\v\\f]\n multiplier: [KMG]\n\n Leading and trailing whitespaces are ignored.\n\n If the string is empty or consists only of only whitespaces, 0 is returned.\n\n Digits is parsed as decimal unless the first digit is '0', in which case\n digits is parsed as octal.\n\n The multiplier is case-insensitive. K, M, and G multiply the quantity by\n 2**10, 2**20, and 2**30, respectively.\n\n For backwards compatibility, ill-formatted values are handled as follows:\n - No leading digits: value is treated as '0'\n - Invalid multiplier: multiplier is ignored\n - Invalid characters between digits and multiplier: invalid characters are\n ignored\n - Integer overflow: The result of the overflow is returned\n\n In any of these cases an error string is stored in *errstr (caller must\n release it), otherwise *errstr is set to NULL."]
11403 pub fn zend_ini_parse_quantity(
11404 value: *mut zend_string,
11405 errstr: *mut *mut zend_string,
11406 ) -> zend_long;
11407}
11408extern "C" {
11409 #[doc = " Unsigned variant of zend_ini_parse_quantity"]
11410 pub fn zend_ini_parse_uquantity(
11411 value: *mut zend_string,
11412 errstr: *mut *mut zend_string,
11413 ) -> zend_ulong;
11414}
11415extern "C" {
11416 pub fn zend_ini_parse_quantity_warn(
11417 value: *mut zend_string,
11418 setting: *mut zend_string,
11419 ) -> zend_long;
11420}
11421extern "C" {
11422 pub fn zend_ini_parse_uquantity_warn(
11423 value: *mut zend_string,
11424 setting: *mut zend_string,
11425 ) -> zend_ulong;
11426}
11427extern "C" {
11428 pub fn zend_ini_register_displayer(
11429 name: *const ::std::os::raw::c_char,
11430 name_length: u32,
11431 displayer: ::std::option::Option<
11432 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
11433 >,
11434 ) -> zend_result;
11435}
11436extern "C" {
11437 pub fn zend_ini_boolean_displayer_cb(
11438 ini_entry: *mut zend_ini_entry,
11439 type_: ::std::os::raw::c_int,
11440 );
11441}
11442extern "C" {
11443 pub fn zend_ini_color_displayer_cb(
11444 ini_entry: *mut zend_ini_entry,
11445 type_: ::std::os::raw::c_int,
11446 );
11447}
11448pub type zend_ini_parser_cb_t = ::std::option::Option<
11449 unsafe extern "C" fn(
11450 arg1: *mut zval,
11451 arg2: *mut zval,
11452 arg3: *mut zval,
11453 callback_type: ::std::os::raw::c_int,
11454 arg: *mut ::std::os::raw::c_void,
11455 ),
11456>;
11457extern "C" {
11458 pub fn zend_parse_ini_file(
11459 fh: *mut zend_file_handle,
11460 unbuffered_errors: bool,
11461 scanner_mode: ::std::os::raw::c_int,
11462 ini_parser_cb: zend_ini_parser_cb_t,
11463 arg: *mut ::std::os::raw::c_void,
11464 ) -> zend_result;
11465}
11466extern "C" {
11467 pub fn zend_parse_ini_string(
11468 str_: *const ::std::os::raw::c_char,
11469 unbuffered_errors: bool,
11470 scanner_mode: ::std::os::raw::c_int,
11471 ini_parser_cb: zend_ini_parser_cb_t,
11472 arg: *mut ::std::os::raw::c_void,
11473 ) -> zend_result;
11474}
11475#[repr(C)]
11476#[derive(Debug, Copy, Clone)]
11477pub struct _zend_ini_parser_param {
11478 pub ini_parser_cb: zend_ini_parser_cb_t,
11479 pub arg: *mut ::std::os::raw::c_void,
11480}
11481#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11482const _: () = {
11483 ["Size of _zend_ini_parser_param"][::std::mem::size_of::<_zend_ini_parser_param>() - 16usize];
11484 ["Alignment of _zend_ini_parser_param"]
11485 [::std::mem::align_of::<_zend_ini_parser_param>() - 8usize];
11486 ["Offset of field: _zend_ini_parser_param::ini_parser_cb"]
11487 [::std::mem::offset_of!(_zend_ini_parser_param, ini_parser_cb) - 0usize];
11488 ["Offset of field: _zend_ini_parser_param::arg"]
11489 [::std::mem::offset_of!(_zend_ini_parser_param, arg) - 8usize];
11490};
11491pub type zend_ini_parser_param = _zend_ini_parser_param;
11492extern "C" {
11493 pub fn php_init_config() -> ::std::os::raw::c_int;
11494}
11495extern "C" {
11496 pub fn php_shutdown_config() -> ::std::os::raw::c_int;
11497}
11498extern "C" {
11499 pub fn php_ini_register_extensions();
11500}
11501extern "C" {
11502 pub fn php_parse_user_ini_file(
11503 dirname: *const ::std::os::raw::c_char,
11504 ini_filename: *const ::std::os::raw::c_char,
11505 target_hash: *mut HashTable,
11506 ) -> ::std::os::raw::c_int;
11507}
11508extern "C" {
11509 pub fn php_ini_activate_config(
11510 source_hash: *mut HashTable,
11511 modify_type: ::std::os::raw::c_int,
11512 stage: ::std::os::raw::c_int,
11513 );
11514}
11515extern "C" {
11516 pub fn php_ini_has_per_dir_config() -> ::std::os::raw::c_int;
11517}
11518extern "C" {
11519 pub fn php_ini_has_per_host_config() -> ::std::os::raw::c_int;
11520}
11521extern "C" {
11522 pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: usize);
11523}
11524extern "C" {
11525 pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: usize);
11526}
11527extern "C" {
11528 pub fn php_ini_get_configuration_hash() -> *mut HashTable;
11529}
11530extern "C" {
11531 pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
11532}
11533extern "C" {
11534 pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
11535}
11536extern "C" {
11537 pub fn php_check_open_basedir_ex(
11538 path: *const ::std::os::raw::c_char,
11539 warn: ::std::os::raw::c_int,
11540 ) -> ::std::os::raw::c_int;
11541}
11542extern "C" {
11543 pub fn php_check_specific_open_basedir(
11544 basedir: *const ::std::os::raw::c_char,
11545 path: *const ::std::os::raw::c_char,
11546 ) -> ::std::os::raw::c_int;
11547}
11548extern "C" {
11549 pub fn php_check_safe_mode_include_dir(
11550 path: *const ::std::os::raw::c_char,
11551 ) -> ::std::os::raw::c_int;
11552}
11553extern "C" {
11554 pub fn php_resolve_path(
11555 filename: *const ::std::os::raw::c_char,
11556 filename_len: usize,
11557 path: *const ::std::os::raw::c_char,
11558 ) -> *mut zend_string;
11559}
11560extern "C" {
11561 pub fn php_fopen_with_path(
11562 filename: *const ::std::os::raw::c_char,
11563 mode: *const ::std::os::raw::c_char,
11564 path: *const ::std::os::raw::c_char,
11565 opened_path: *mut *mut zend_string,
11566 ) -> *mut FILE;
11567}
11568extern "C" {
11569 pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
11570}
11571#[repr(C)]
11572#[derive(Debug, Copy, Clone)]
11573pub struct _cwd_state {
11574 pub cwd: *mut ::std::os::raw::c_char,
11575 pub cwd_length: usize,
11576}
11577#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11578const _: () = {
11579 ["Size of _cwd_state"][::std::mem::size_of::<_cwd_state>() - 16usize];
11580 ["Alignment of _cwd_state"][::std::mem::align_of::<_cwd_state>() - 8usize];
11581 ["Offset of field: _cwd_state::cwd"][::std::mem::offset_of!(_cwd_state, cwd) - 0usize];
11582 ["Offset of field: _cwd_state::cwd_length"]
11583 [::std::mem::offset_of!(_cwd_state, cwd_length) - 8usize];
11584};
11585pub type cwd_state = _cwd_state;
11586#[repr(C)]
11587#[derive(Debug, Copy, Clone)]
11588pub struct _realpath_cache_bucket {
11589 pub key: zend_ulong,
11590 pub path: *mut ::std::os::raw::c_char,
11591 pub realpath: *mut ::std::os::raw::c_char,
11592 pub next: *mut _realpath_cache_bucket,
11593 pub expires: time_t,
11594 pub path_len: u16,
11595 pub realpath_len: u16,
11596 pub _bitfield_align_1: [u8; 0],
11597 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
11598 pub __bindgen_padding_0: [u8; 3usize],
11599}
11600#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11601const _: () = {
11602 ["Size of _realpath_cache_bucket"][::std::mem::size_of::<_realpath_cache_bucket>() - 48usize];
11603 ["Alignment of _realpath_cache_bucket"]
11604 [::std::mem::align_of::<_realpath_cache_bucket>() - 8usize];
11605 ["Offset of field: _realpath_cache_bucket::key"]
11606 [::std::mem::offset_of!(_realpath_cache_bucket, key) - 0usize];
11607 ["Offset of field: _realpath_cache_bucket::path"]
11608 [::std::mem::offset_of!(_realpath_cache_bucket, path) - 8usize];
11609 ["Offset of field: _realpath_cache_bucket::realpath"]
11610 [::std::mem::offset_of!(_realpath_cache_bucket, realpath) - 16usize];
11611 ["Offset of field: _realpath_cache_bucket::next"]
11612 [::std::mem::offset_of!(_realpath_cache_bucket, next) - 24usize];
11613 ["Offset of field: _realpath_cache_bucket::expires"]
11614 [::std::mem::offset_of!(_realpath_cache_bucket, expires) - 32usize];
11615 ["Offset of field: _realpath_cache_bucket::path_len"]
11616 [::std::mem::offset_of!(_realpath_cache_bucket, path_len) - 40usize];
11617 ["Offset of field: _realpath_cache_bucket::realpath_len"]
11618 [::std::mem::offset_of!(_realpath_cache_bucket, realpath_len) - 42usize];
11619};
11620impl _realpath_cache_bucket {
11621 #[inline]
11622 pub fn is_dir(&self) -> u8 {
11623 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
11624 }
11625 #[inline]
11626 pub fn set_is_dir(&mut self, val: u8) {
11627 unsafe {
11628 let val: u8 = ::std::mem::transmute(val);
11629 self._bitfield_1.set(0usize, 1u8, val as u64)
11630 }
11631 }
11632 #[inline]
11633 pub fn new_bitfield_1(is_dir: u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
11634 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
11635 __bindgen_bitfield_unit.set(0usize, 1u8, {
11636 let is_dir: u8 = unsafe { ::std::mem::transmute(is_dir) };
11637 is_dir as u64
11638 });
11639 __bindgen_bitfield_unit
11640 }
11641}
11642pub type realpath_cache_bucket = _realpath_cache_bucket;
11643#[repr(C)]
11644#[derive(Debug, Copy, Clone)]
11645pub struct _virtual_cwd_globals {
11646 pub cwd: cwd_state,
11647 pub realpath_cache_size: zend_long,
11648 pub realpath_cache_size_limit: zend_long,
11649 pub realpath_cache_ttl: zend_long,
11650 pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
11651}
11652#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11653const _: () = {
11654 ["Size of _virtual_cwd_globals"][::std::mem::size_of::<_virtual_cwd_globals>() - 8232usize];
11655 ["Alignment of _virtual_cwd_globals"][::std::mem::align_of::<_virtual_cwd_globals>() - 8usize];
11656 ["Offset of field: _virtual_cwd_globals::cwd"]
11657 [::std::mem::offset_of!(_virtual_cwd_globals, cwd) - 0usize];
11658 ["Offset of field: _virtual_cwd_globals::realpath_cache_size"]
11659 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size) - 16usize];
11660 ["Offset of field: _virtual_cwd_globals::realpath_cache_size_limit"]
11661 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size_limit) - 24usize];
11662 ["Offset of field: _virtual_cwd_globals::realpath_cache_ttl"]
11663 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_ttl) - 32usize];
11664 ["Offset of field: _virtual_cwd_globals::realpath_cache"]
11665 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache) - 40usize];
11666};
11667pub type virtual_cwd_globals = _virtual_cwd_globals;
11668extern "C" {
11669 pub static mut cwd_globals: virtual_cwd_globals;
11670}
11671#[repr(C)]
11672#[derive(Copy, Clone)]
11673pub struct _zend_constant {
11674 pub value: zval,
11675 pub name: *mut zend_string,
11676}
11677#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11678const _: () = {
11679 ["Size of _zend_constant"][::std::mem::size_of::<_zend_constant>() - 24usize];
11680 ["Alignment of _zend_constant"][::std::mem::align_of::<_zend_constant>() - 8usize];
11681 ["Offset of field: _zend_constant::value"]
11682 [::std::mem::offset_of!(_zend_constant, value) - 0usize];
11683 ["Offset of field: _zend_constant::name"]
11684 [::std::mem::offset_of!(_zend_constant, name) - 16usize];
11685};
11686pub type zend_constant = _zend_constant;
11687extern "C" {
11688 pub fn zend_startup_constants();
11689}
11690extern "C" {
11691 pub fn zend_shutdown_constants();
11692}
11693extern "C" {
11694 pub fn zend_register_standard_constants();
11695}
11696extern "C" {
11697 pub fn zend_verify_const_access(c: *mut zend_class_constant, ce: *mut zend_class_entry)
11698 -> bool;
11699}
11700extern "C" {
11701 pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
11702}
11703extern "C" {
11704 pub fn zend_get_constant_str(name: *const ::std::os::raw::c_char, name_len: usize)
11705 -> *mut zval;
11706}
11707extern "C" {
11708 pub fn zend_get_constant_ex(
11709 name: *mut zend_string,
11710 scope: *mut zend_class_entry,
11711 flags: u32,
11712 ) -> *mut zval;
11713}
11714extern "C" {
11715 pub fn zend_get_class_constant_ex(
11716 class_name: *mut zend_string,
11717 constant_name: *mut zend_string,
11718 scope: *mut zend_class_entry,
11719 flags: u32,
11720 ) -> *mut zval;
11721}
11722extern "C" {
11723 pub fn zend_register_bool_constant(
11724 name: *const ::std::os::raw::c_char,
11725 name_len: usize,
11726 bval: bool,
11727 flags: ::std::os::raw::c_int,
11728 module_number: ::std::os::raw::c_int,
11729 );
11730}
11731extern "C" {
11732 pub fn zend_register_null_constant(
11733 name: *const ::std::os::raw::c_char,
11734 name_len: usize,
11735 flags: ::std::os::raw::c_int,
11736 module_number: ::std::os::raw::c_int,
11737 );
11738}
11739extern "C" {
11740 pub fn zend_register_long_constant(
11741 name: *const ::std::os::raw::c_char,
11742 name_len: usize,
11743 lval: zend_long,
11744 flags: ::std::os::raw::c_int,
11745 module_number: ::std::os::raw::c_int,
11746 );
11747}
11748extern "C" {
11749 pub fn zend_register_double_constant(
11750 name: *const ::std::os::raw::c_char,
11751 name_len: usize,
11752 dval: f64,
11753 flags: ::std::os::raw::c_int,
11754 module_number: ::std::os::raw::c_int,
11755 );
11756}
11757extern "C" {
11758 pub fn zend_register_string_constant(
11759 name: *const ::std::os::raw::c_char,
11760 name_len: usize,
11761 strval: *const ::std::os::raw::c_char,
11762 flags: ::std::os::raw::c_int,
11763 module_number: ::std::os::raw::c_int,
11764 );
11765}
11766extern "C" {
11767 pub fn zend_register_stringl_constant(
11768 name: *const ::std::os::raw::c_char,
11769 name_len: usize,
11770 strval: *const ::std::os::raw::c_char,
11771 strlen: usize,
11772 flags: ::std::os::raw::c_int,
11773 module_number: ::std::os::raw::c_int,
11774 );
11775}
11776extern "C" {
11777 pub fn zend_register_constant(c: *mut zend_constant) -> zend_result;
11778}
11779extern "C" {
11780 pub fn _zend_get_special_const(
11781 name: *const ::std::os::raw::c_char,
11782 name_len: usize,
11783 ) -> *mut zend_constant;
11784}
11785pub type zend_bool = bool;
11786pub type zend_intptr_t = isize;
11787pub type zend_uintptr_t = usize;
11788extern "C" {
11789 pub fn php_info_html_esc(string: *const ::std::os::raw::c_char) -> *mut zend_string;
11790}
11791extern "C" {
11792 pub fn php_print_info_htmlhead();
11793}
11794extern "C" {
11795 pub fn php_print_info(flag: ::std::os::raw::c_int);
11796}
11797extern "C" {
11798 pub fn php_print_style();
11799}
11800extern "C" {
11801 pub fn php_info_print_style();
11802}
11803extern "C" {
11804 pub fn php_info_print_table_colspan_header(
11805 num_cols: ::std::os::raw::c_int,
11806 header: *const ::std::os::raw::c_char,
11807 );
11808}
11809extern "C" {
11810 pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
11811}
11812extern "C" {
11813 pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
11814}
11815extern "C" {
11816 pub fn php_info_print_table_row_ex(
11817 num_cols: ::std::os::raw::c_int,
11818 arg1: *const ::std::os::raw::c_char,
11819 ...
11820 );
11821}
11822extern "C" {
11823 pub fn php_info_print_table_start();
11824}
11825extern "C" {
11826 pub fn php_info_print_table_end();
11827}
11828extern "C" {
11829 pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
11830}
11831extern "C" {
11832 pub fn php_info_print_box_end();
11833}
11834extern "C" {
11835 pub fn php_info_print_hr();
11836}
11837extern "C" {
11838 pub fn php_info_print_module(module: *mut zend_module_entry);
11839}
11840extern "C" {
11841 pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
11842}
11843#[repr(C)]
11844#[derive(Debug, Copy, Clone)]
11845pub struct _zend_extension_version_info {
11846 pub zend_extension_api_no: ::std::os::raw::c_int,
11847 pub build_id: *const ::std::os::raw::c_char,
11848}
11849#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11850const _: () = {
11851 ["Size of _zend_extension_version_info"]
11852 [::std::mem::size_of::<_zend_extension_version_info>() - 16usize];
11853 ["Alignment of _zend_extension_version_info"]
11854 [::std::mem::align_of::<_zend_extension_version_info>() - 8usize];
11855 ["Offset of field: _zend_extension_version_info::zend_extension_api_no"]
11856 [::std::mem::offset_of!(_zend_extension_version_info, zend_extension_api_no) - 0usize];
11857 ["Offset of field: _zend_extension_version_info::build_id"]
11858 [::std::mem::offset_of!(_zend_extension_version_info, build_id) - 8usize];
11859};
11860pub type zend_extension_version_info = _zend_extension_version_info;
11861pub type zend_extension = _zend_extension;
11862pub type startup_func_t = ::std::option::Option<
11863 unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
11864>;
11865pub type shutdown_func_t =
11866 ::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
11867pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
11868pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
11869pub type message_handler_func_t = ::std::option::Option<
11870 unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
11871>;
11872pub type op_array_handler_func_t =
11873 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
11874pub type statement_handler_func_t =
11875 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
11876pub type fcall_begin_handler_func_t =
11877 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
11878pub type fcall_end_handler_func_t =
11879 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
11880pub type op_array_ctor_func_t =
11881 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
11882pub type op_array_dtor_func_t =
11883 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
11884pub type op_array_persist_calc_func_t =
11885 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array) -> usize>;
11886pub type op_array_persist_func_t = ::std::option::Option<
11887 unsafe extern "C" fn(op_array: *mut zend_op_array, mem: *mut ::std::os::raw::c_void) -> usize,
11888>;
11889#[repr(C)]
11890#[derive(Debug, Copy, Clone)]
11891pub struct _zend_extension {
11892 pub name: *const ::std::os::raw::c_char,
11893 pub version: *const ::std::os::raw::c_char,
11894 pub author: *const ::std::os::raw::c_char,
11895 pub URL: *const ::std::os::raw::c_char,
11896 pub copyright: *const ::std::os::raw::c_char,
11897 pub startup: startup_func_t,
11898 pub shutdown: shutdown_func_t,
11899 pub activate: activate_func_t,
11900 pub deactivate: deactivate_func_t,
11901 pub message_handler: message_handler_func_t,
11902 pub op_array_handler: op_array_handler_func_t,
11903 pub statement_handler: statement_handler_func_t,
11904 pub fcall_begin_handler: fcall_begin_handler_func_t,
11905 pub fcall_end_handler: fcall_end_handler_func_t,
11906 pub op_array_ctor: op_array_ctor_func_t,
11907 pub op_array_dtor: op_array_dtor_func_t,
11908 pub api_no_check: ::std::option::Option<
11909 unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
11910 >,
11911 pub build_id_check: ::std::option::Option<
11912 unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
11913 >,
11914 pub op_array_persist_calc: op_array_persist_calc_func_t,
11915 pub op_array_persist: op_array_persist_func_t,
11916 pub reserved5: *mut ::std::os::raw::c_void,
11917 pub reserved6: *mut ::std::os::raw::c_void,
11918 pub reserved7: *mut ::std::os::raw::c_void,
11919 pub reserved8: *mut ::std::os::raw::c_void,
11920 pub handle: *mut ::std::os::raw::c_void,
11921 pub resource_number: ::std::os::raw::c_int,
11922}
11923#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11924const _: () = {
11925 ["Size of _zend_extension"][::std::mem::size_of::<_zend_extension>() - 208usize];
11926 ["Alignment of _zend_extension"][::std::mem::align_of::<_zend_extension>() - 8usize];
11927 ["Offset of field: _zend_extension::name"]
11928 [::std::mem::offset_of!(_zend_extension, name) - 0usize];
11929 ["Offset of field: _zend_extension::version"]
11930 [::std::mem::offset_of!(_zend_extension, version) - 8usize];
11931 ["Offset of field: _zend_extension::author"]
11932 [::std::mem::offset_of!(_zend_extension, author) - 16usize];
11933 ["Offset of field: _zend_extension::URL"]
11934 [::std::mem::offset_of!(_zend_extension, URL) - 24usize];
11935 ["Offset of field: _zend_extension::copyright"]
11936 [::std::mem::offset_of!(_zend_extension, copyright) - 32usize];
11937 ["Offset of field: _zend_extension::startup"]
11938 [::std::mem::offset_of!(_zend_extension, startup) - 40usize];
11939 ["Offset of field: _zend_extension::shutdown"]
11940 [::std::mem::offset_of!(_zend_extension, shutdown) - 48usize];
11941 ["Offset of field: _zend_extension::activate"]
11942 [::std::mem::offset_of!(_zend_extension, activate) - 56usize];
11943 ["Offset of field: _zend_extension::deactivate"]
11944 [::std::mem::offset_of!(_zend_extension, deactivate) - 64usize];
11945 ["Offset of field: _zend_extension::message_handler"]
11946 [::std::mem::offset_of!(_zend_extension, message_handler) - 72usize];
11947 ["Offset of field: _zend_extension::op_array_handler"]
11948 [::std::mem::offset_of!(_zend_extension, op_array_handler) - 80usize];
11949 ["Offset of field: _zend_extension::statement_handler"]
11950 [::std::mem::offset_of!(_zend_extension, statement_handler) - 88usize];
11951 ["Offset of field: _zend_extension::fcall_begin_handler"]
11952 [::std::mem::offset_of!(_zend_extension, fcall_begin_handler) - 96usize];
11953 ["Offset of field: _zend_extension::fcall_end_handler"]
11954 [::std::mem::offset_of!(_zend_extension, fcall_end_handler) - 104usize];
11955 ["Offset of field: _zend_extension::op_array_ctor"]
11956 [::std::mem::offset_of!(_zend_extension, op_array_ctor) - 112usize];
11957 ["Offset of field: _zend_extension::op_array_dtor"]
11958 [::std::mem::offset_of!(_zend_extension, op_array_dtor) - 120usize];
11959 ["Offset of field: _zend_extension::api_no_check"]
11960 [::std::mem::offset_of!(_zend_extension, api_no_check) - 128usize];
11961 ["Offset of field: _zend_extension::build_id_check"]
11962 [::std::mem::offset_of!(_zend_extension, build_id_check) - 136usize];
11963 ["Offset of field: _zend_extension::op_array_persist_calc"]
11964 [::std::mem::offset_of!(_zend_extension, op_array_persist_calc) - 144usize];
11965 ["Offset of field: _zend_extension::op_array_persist"]
11966 [::std::mem::offset_of!(_zend_extension, op_array_persist) - 152usize];
11967 ["Offset of field: _zend_extension::reserved5"]
11968 [::std::mem::offset_of!(_zend_extension, reserved5) - 160usize];
11969 ["Offset of field: _zend_extension::reserved6"]
11970 [::std::mem::offset_of!(_zend_extension, reserved6) - 168usize];
11971 ["Offset of field: _zend_extension::reserved7"]
11972 [::std::mem::offset_of!(_zend_extension, reserved7) - 176usize];
11973 ["Offset of field: _zend_extension::reserved8"]
11974 [::std::mem::offset_of!(_zend_extension, reserved8) - 184usize];
11975 ["Offset of field: _zend_extension::handle"]
11976 [::std::mem::offset_of!(_zend_extension, handle) - 192usize];
11977 ["Offset of field: _zend_extension::resource_number"]
11978 [::std::mem::offset_of!(_zend_extension, resource_number) - 200usize];
11979};
11980extern "C" {
11981 pub static mut zend_op_array_extension_handles: ::std::os::raw::c_int;
11982}
11983extern "C" {
11984 pub fn zend_get_resource_handle(
11985 module_name: *const ::std::os::raw::c_char,
11986 ) -> ::std::os::raw::c_int;
11987}
11988extern "C" {
11989 pub fn zend_get_op_array_extension_handle(
11990 module_name: *const ::std::os::raw::c_char,
11991 ) -> ::std::os::raw::c_int;
11992}
11993extern "C" {
11994 pub fn zend_get_op_array_extension_handles(
11995 module_name: *const ::std::os::raw::c_char,
11996 handles: ::std::os::raw::c_int,
11997 ) -> ::std::os::raw::c_int;
11998}
11999extern "C" {
12000 pub fn zend_extension_dispatch_message(
12001 message: ::std::os::raw::c_int,
12002 arg: *mut ::std::os::raw::c_void,
12003 );
12004}
12005extern "C" {
12006 pub static mut zend_extensions: zend_llist;
12007}
12008extern "C" {
12009 pub static mut zend_extension_flags: u32;
12010}
12011extern "C" {
12012 pub fn zend_extension_dtor(extension: *mut zend_extension);
12013}
12014extern "C" {
12015 pub fn zend_append_version_info(extension: *const zend_extension);
12016}
12017extern "C" {
12018 pub fn zend_startup_extensions_mechanism();
12019}
12020extern "C" {
12021 pub fn zend_startup_extensions();
12022}
12023extern "C" {
12024 pub fn zend_shutdown_extensions();
12025}
12026extern "C" {
12027 pub fn zend_internal_run_time_cache_reserved_size() -> usize;
12028}
12029extern "C" {
12030 pub fn zend_init_internal_run_time_cache();
12031}
12032extern "C" {
12033 pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> zend_result;
12034}
12035extern "C" {
12036 pub fn zend_load_extension_handle(
12037 handle: *mut ::std::os::raw::c_void,
12038 path: *const ::std::os::raw::c_char,
12039 ) -> zend_result;
12040}
12041extern "C" {
12042 pub fn zend_register_extension(
12043 new_extension: *mut zend_extension,
12044 handle: *mut ::std::os::raw::c_void,
12045 );
12046}
12047extern "C" {
12048 pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
12049 -> *mut zend_extension;
12050}
12051extern "C" {
12052 pub fn zend_extensions_op_array_persist_calc(op_array: *mut zend_op_array) -> usize;
12053}
12054extern "C" {
12055 pub fn zend_extensions_op_array_persist(
12056 op_array: *mut zend_op_array,
12057 mem: *mut ::std::os::raw::c_void,
12058 ) -> usize;
12059}
12060pub const ZEND_MODULE_BUILD_ID_: &[u8; 16] = b"API20230831,NTS\0";
12061pub type __builtin_va_list = [__va_list_tag; 1usize];
12062#[repr(C)]
12063#[derive(Debug, Copy, Clone)]
12064pub struct __va_list_tag {
12065 pub gp_offset: ::std::os::raw::c_uint,
12066 pub fp_offset: ::std::os::raw::c_uint,
12067 pub overflow_arg_area: *mut ::std::os::raw::c_void,
12068 pub reg_save_area: *mut ::std::os::raw::c_void,
12069}
12070#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12071const _: () = {
12072 ["Size of __va_list_tag"][::std::mem::size_of::<__va_list_tag>() - 24usize];
12073 ["Alignment of __va_list_tag"][::std::mem::align_of::<__va_list_tag>() - 8usize];
12074 ["Offset of field: __va_list_tag::gp_offset"]
12075 [::std::mem::offset_of!(__va_list_tag, gp_offset) - 0usize];
12076 ["Offset of field: __va_list_tag::fp_offset"]
12077 [::std::mem::offset_of!(__va_list_tag, fp_offset) - 4usize];
12078 ["Offset of field: __va_list_tag::overflow_arg_area"]
12079 [::std::mem::offset_of!(__va_list_tag, overflow_arg_area) - 8usize];
12080 ["Offset of field: __va_list_tag::reg_save_area"]
12081 [::std::mem::offset_of!(__va_list_tag, reg_save_area) - 16usize];
12082};