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 = 20200930;
92pub const PHP_DEFAULT_CHARSET: &[u8; 6] = b"UTF-8\0";
93pub const PHP_BUILD_SYSTEM: &[u8; 6] = b"Linux\0";
94pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
95pub const PHP_HAVE_BUILTIN_CLZ: u32 = 1;
96pub const PHP_HAVE_BUILTIN_CLZL: u32 = 1;
97pub const PHP_HAVE_BUILTIN_CLZLL: u32 = 1;
98pub const PHP_HAVE_BUILTIN_CPU_INIT: u32 = 1;
99pub const PHP_HAVE_BUILTIN_CPU_SUPPORTS: u32 = 1;
100pub const PHP_HAVE_BUILTIN_CTZL: u32 = 1;
101pub const PHP_HAVE_BUILTIN_CTZLL: u32 = 1;
102pub const PHP_HAVE_BUILTIN_EXPECT: u32 = 1;
103pub const PHP_HAVE_BUILTIN_SADDLL_OVERFLOW: u32 = 1;
104pub const PHP_HAVE_BUILTIN_SADDL_OVERFLOW: u32 = 1;
105pub const PHP_HAVE_BUILTIN_SMULLL_OVERFLOW: u32 = 1;
106pub const PHP_HAVE_BUILTIN_SMULL_OVERFLOW: u32 = 1;
107pub const PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW: u32 = 1;
108pub const PHP_HAVE_BUILTIN_SSUBL_OVERFLOW: u32 = 1;
109pub const PHP_MHASH_BC: u32 = 1;
110pub const PHP_OS: &[u8; 6] = b"Linux\0";
111pub const PHP_SIGCHILD: u32 = 0;
112pub const PHP_UNAME: &[u8; 6] = b"Linux\0";
113pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
114pub const PHP_WRITE_STDOUT: u32 = 1;
115pub const ZEND_DEBUG: u32 = 0;
116pub const ZEND_MM_ALIGNMENT: u32 = 8;
117pub const ZEND_MM_ALIGNMENT_LOG2: u32 = 3;
118pub const ZEND_SIGNALS: u32 = 1;
119pub const PHP_MAJOR_VERSION: u32 = 8;
120pub const PHP_MINOR_VERSION: u32 = 0;
121pub const PHP_RELEASE_VERSION: u32 = 2;
122pub const PHP_EXTRA_VERSION: &[u8; 1] = b"\0";
123pub const PHP_VERSION: &[u8; 6] = b"8.0.2\0";
124pub const PHP_VERSION_ID: u32 = 80002;
125pub const ZEND_VERSION: &[u8; 6] = b"4.0.2\0";
126pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
127pub const ZEND_ENABLE_ZVAL_LONG64: u32 = 1;
128pub const ZEND_LTOA_BUF_LEN: u32 = 65;
129pub const ZEND_LONG_FMT: &[u8; 4] = b"%ld\0";
130pub const ZEND_ULONG_FMT: &[u8; 4] = b"%lu\0";
131pub const ZEND_XLONG_FMT: &[u8; 4] = b"%lx\0";
132pub const ZEND_LONG_FMT_SPEC: &[u8; 3] = b"ld\0";
133pub const ZEND_ULONG_FMT_SPEC: &[u8; 3] = b"lu\0";
134pub const ZEND_ADDR_FMT: &[u8; 9] = b"0x%016zx\0";
135pub const ZEND_LONG_CAN_OVFL_INT: u32 = 1;
136pub const ZEND_LONG_CAN_OVFL_UINT: u32 = 1;
137pub const ZEND_SIZE_T_CAN_OVFL_UINT: u32 = 1;
138pub const PHP_RTLD_MODE: u32 = 1;
139pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
140pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
141pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 6;
142pub const ZEND_SIZE_MAX: i32 = -1;
143pub const _ZEND_TYPE_EXTRA_FLAGS_SHIFT: u32 = 24;
144pub const _ZEND_TYPE_MASK: u32 = 16777215;
145pub const _ZEND_TYPE_NAME_BIT: u32 = 8388608;
146pub const _ZEND_TYPE_CE_BIT: u32 = 4194304;
147pub const _ZEND_TYPE_LIST_BIT: u32 = 2097152;
148pub const _ZEND_TYPE_KIND_MASK: u32 = 14680064;
149pub const _ZEND_TYPE_ARENA_BIT: u32 = 1048576;
150pub const _ZEND_TYPE_MAY_BE_MASK: u32 = 1048575;
151pub const _ZEND_TYPE_NULLABLE_BIT: u32 = 2;
152pub const IS_UNDEF: u32 = 0;
153pub const IS_NULL: u32 = 1;
154pub const IS_FALSE: u32 = 2;
155pub const IS_TRUE: u32 = 3;
156pub const IS_LONG: u32 = 4;
157pub const IS_DOUBLE: u32 = 5;
158pub const IS_STRING: u32 = 6;
159pub const IS_ARRAY: u32 = 7;
160pub const IS_OBJECT: u32 = 8;
161pub const IS_RESOURCE: u32 = 9;
162pub const IS_REFERENCE: u32 = 10;
163pub const IS_CONSTANT_AST: u32 = 11;
164pub const IS_CALLABLE: u32 = 12;
165pub const IS_ITERABLE: u32 = 13;
166pub const IS_VOID: u32 = 14;
167pub const IS_STATIC: u32 = 15;
168pub const IS_MIXED: u32 = 16;
169pub const IS_INDIRECT: u32 = 12;
170pub const IS_PTR: u32 = 13;
171pub const IS_ALIAS_PTR: u32 = 14;
172pub const _IS_ERROR: u32 = 15;
173pub const _IS_BOOL: u32 = 17;
174pub const _IS_NUMBER: u32 = 18;
175pub const Z_TYPE_MASK: u32 = 255;
176pub const Z_TYPE_FLAGS_MASK: u32 = 65280;
177pub const Z_TYPE_FLAGS_SHIFT: u32 = 8;
178pub const GC_TYPE_MASK: u32 = 15;
179pub const GC_FLAGS_MASK: u32 = 1008;
180pub const GC_INFO_MASK: u32 = 4294966272;
181pub const GC_FLAGS_SHIFT: u32 = 0;
182pub const GC_INFO_SHIFT: u32 = 10;
183pub const GC_NOT_COLLECTABLE: u32 = 16;
184pub const GC_PROTECTED: u32 = 32;
185pub const GC_IMMUTABLE: u32 = 64;
186pub const GC_PERSISTENT: u32 = 128;
187pub const GC_PERSISTENT_LOCAL: u32 = 256;
188pub const GC_NULL: u32 = 17;
189pub const GC_STRING: u32 = 22;
190pub const GC_ARRAY: u32 = 7;
191pub const GC_OBJECT: u32 = 8;
192pub const GC_RESOURCE: u32 = 25;
193pub const GC_REFERENCE: u32 = 26;
194pub const GC_CONSTANT_AST: u32 = 27;
195pub const IS_TYPE_REFCOUNTED: u32 = 1;
196pub const IS_TYPE_COLLECTABLE: u32 = 2;
197pub const IS_INTERNED_STRING_EX: u32 = 6;
198pub const IS_STRING_EX: u32 = 262;
199pub const IS_ARRAY_EX: u32 = 775;
200pub const IS_OBJECT_EX: u32 = 776;
201pub const IS_RESOURCE_EX: u32 = 265;
202pub const IS_REFERENCE_EX: u32 = 266;
203pub const IS_CONSTANT_AST_EX: u32 = 267;
204pub const IS_STR_INTERNED: u32 = 64;
205pub const IS_STR_PERSISTENT: u32 = 128;
206pub const IS_STR_PERMANENT: u32 = 256;
207pub const IS_STR_VALID_UTF8: u32 = 512;
208pub const IS_ARRAY_IMMUTABLE: u32 = 64;
209pub const IS_ARRAY_PERSISTENT: u32 = 128;
210pub const IS_OBJ_WEAKLY_REFERENCED: u32 = 128;
211pub const IS_OBJ_DESTRUCTOR_CALLED: u32 = 256;
212pub const IS_OBJ_FREE_CALLED: u32 = 512;
213pub const ZEND_RC_DEBUG: u32 = 0;
214pub const IS_PROP_UNINIT: u32 = 1;
215pub const ZEND_MAP_PTR_KIND_PTR: u32 = 0;
216pub const ZEND_MAP_PTR_KIND_PTR_OR_OFFSET: u32 = 1;
217pub const ZEND_MAP_PTR_KIND: u32 = 1;
218pub const ZEND_MM_ALIGNMENT_MASK: i32 = -8;
219pub const ZEND_MM_OVERHEAD: u32 = 0;
220pub const ZEND_MM_CHUNK_SIZE: u32 = 2097152;
221pub const ZEND_MM_PAGE_SIZE: u32 = 4096;
222pub const ZEND_MM_PAGES: u32 = 512;
223pub const ZEND_MM_FIRST_PAGE: u32 = 1;
224pub const ZEND_MM_MIN_SMALL_SIZE: u32 = 8;
225pub const ZEND_MM_MAX_SMALL_SIZE: u32 = 3072;
226pub const ZEND_MM_MAX_LARGE_SIZE: u32 = 2093056;
227pub const ZEND_MM_CUSTOM_HEAP_NONE: u32 = 0;
228pub const ZEND_MM_CUSTOM_HEAP_STD: u32 = 1;
229pub const ZEND_MM_CUSTOM_HEAP_DEBUG: u32 = 2;
230pub const HASH_KEY_IS_STRING: u32 = 1;
231pub const HASH_KEY_IS_LONG: u32 = 2;
232pub const HASH_KEY_NON_EXISTENT: u32 = 3;
233pub const HASH_UPDATE: u32 = 1;
234pub const HASH_ADD: u32 = 2;
235pub const HASH_UPDATE_INDIRECT: u32 = 4;
236pub const HASH_ADD_NEW: u32 = 8;
237pub const HASH_ADD_NEXT: u32 = 16;
238pub const HASH_FLAG_CONSISTENCY: u32 = 3;
239pub const HASH_FLAG_PACKED: u32 = 4;
240pub const HASH_FLAG_UNINITIALIZED: u32 = 8;
241pub const HASH_FLAG_STATIC_KEYS: u32 = 16;
242pub const HASH_FLAG_HAS_EMPTY_IND: u32 = 32;
243pub const HASH_FLAG_ALLOW_COW_VIOLATION: u32 = 64;
244pub const HASH_FLAG_MASK: u32 = 255;
245pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
246pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
247pub const ZEND_HASH_APPLY_STOP: u32 = 2;
248pub const ZEND_AST_SPEC: u32 = 1;
249pub const ZEND_AST_SPECIAL_SHIFT: u32 = 6;
250pub const ZEND_AST_IS_LIST_SHIFT: u32 = 7;
251pub const ZEND_AST_NUM_CHILDREN_SHIFT: u32 = 8;
252pub const ZEND_MMAP_AHEAD: u32 = 32;
253pub const ZEND_SIGNAL_QUEUE_SIZE: u32 = 64;
254pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
255pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
256pub const ZEND_PROPERTY_ISSET: u32 = 0;
257pub const ZEND_PROPERTY_EXISTS: u32 = 2;
258pub const ZEND_UNCOMPARABLE: u32 = 1;
259pub const ZEND_USE_ASM_ARITHMETIC: u32 = 1;
260pub const ZEND_USE_ABS_JMP_ADDR: u32 = 0;
261pub const ZEND_USE_ABS_CONST_ADDR: u32 = 0;
262pub const ZEND_LIVE_TMPVAR: u32 = 0;
263pub const ZEND_LIVE_LOOP: u32 = 1;
264pub const ZEND_LIVE_SILENCE: u32 = 2;
265pub const ZEND_LIVE_ROPE: u32 = 3;
266pub const ZEND_LIVE_NEW: u32 = 4;
267pub const ZEND_LIVE_MASK: u32 = 7;
268pub const ZEND_ACC_PUBLIC: u32 = 1;
269pub const ZEND_ACC_PROTECTED: u32 = 2;
270pub const ZEND_ACC_PRIVATE: u32 = 4;
271pub const ZEND_ACC_CHANGED: u32 = 8;
272pub const ZEND_ACC_STATIC: u32 = 16;
273pub const ZEND_ACC_PROMOTED: u32 = 32;
274pub const ZEND_ACC_FINAL: u32 = 32;
275pub const ZEND_ACC_ABSTRACT: u32 = 64;
276pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 64;
277pub const ZEND_ACC_IMMUTABLE: u32 = 128;
278pub const ZEND_ACC_HAS_TYPE_HINTS: u32 = 256;
279pub const ZEND_ACC_TOP_LEVEL: u32 = 512;
280pub const ZEND_ACC_PRELOADED: u32 = 1024;
281pub const ZEND_ACC_INTERFACE: u32 = 1;
282pub const ZEND_ACC_TRAIT: u32 = 2;
283pub const ZEND_ACC_ANON_CLASS: u32 = 4;
284pub const ZEND_ACC_LINKED: u32 = 8;
285pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
286pub const ZEND_ACC_USE_GUARDS: u32 = 2048;
287pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 4096;
288pub const ZEND_ACC_NO_DYNAMIC_PROPERTIES: u32 = 8192;
289pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 16384;
290pub const ZEND_ACC_PROPERTY_TYPES_RESOLVED: u32 = 32768;
291pub const ZEND_ACC_REUSE_GET_ITERATOR: u32 = 65536;
292pub const ZEND_ACC_RESOLVED_PARENT: u32 = 131072;
293pub const ZEND_ACC_RESOLVED_INTERFACES: u32 = 262144;
294pub const ZEND_ACC_UNRESOLVED_VARIANCE: u32 = 524288;
295pub const ZEND_ACC_NEARLY_LINKED: u32 = 1048576;
296pub const ZEND_ACC_HAS_UNLINKED_USES: u32 = 2097152;
297pub const ZEND_ACC_DEPRECATED: u32 = 2048;
298pub const ZEND_ACC_RETURN_REFERENCE: u32 = 4096;
299pub const ZEND_ACC_HAS_RETURN_TYPE: u32 = 8192;
300pub const ZEND_ACC_VARIADIC: u32 = 16384;
301pub const ZEND_ACC_HAS_FINALLY_BLOCK: u32 = 32768;
302pub const ZEND_ACC_EARLY_BINDING: u32 = 65536;
303pub const ZEND_ACC_USES_THIS: u32 = 131072;
304pub const ZEND_ACC_CALL_VIA_TRAMPOLINE: u32 = 262144;
305pub const ZEND_ACC_NEVER_CACHE: u32 = 524288;
306pub const ZEND_ACC_TRAIT_CLONE: u32 = 1048576;
307pub const ZEND_ACC_CTOR: u32 = 2097152;
308pub const ZEND_ACC_CLOSURE: u32 = 4194304;
309pub const ZEND_ACC_FAKE_CLOSURE: u32 = 8388608;
310pub const ZEND_ACC_GENERATOR: u32 = 16777216;
311pub const ZEND_ACC_DONE_PASS_TWO: u32 = 33554432;
312pub const ZEND_ACC_ARENA_ALLOCATED: u32 = 33554432;
313pub const ZEND_ACC_HEAP_RT_CACHE: u32 = 67108864;
314pub const ZEND_ACC_USER_ARG_INFO: u32 = 67108864;
315pub const ZEND_ACC_STRICT_TYPES: u32 = 2147483648;
316pub const ZEND_ACC_PPP_MASK: u32 = 7;
317pub const ZEND_ACC_CALL_VIA_HANDLER: u32 = 262144;
318pub const ZEND_SHORT_CIRCUITING_CHAIN_EXPR: u32 = 0;
319pub const ZEND_SHORT_CIRCUITING_CHAIN_ISSET: u32 = 1;
320pub const ZEND_SHORT_CIRCUITING_CHAIN_EMPTY: u32 = 2;
321pub const ZEND_RETURN_VALUE: u32 = 0;
322pub const ZEND_RETURN_REFERENCE: u32 = 1;
323pub const ZEND_CALL_HAS_THIS: u32 = 776;
324pub const ZEND_CALL_FUNCTION: u32 = 0;
325pub const ZEND_CALL_CODE: u32 = 65536;
326pub const ZEND_CALL_NESTED: u32 = 0;
327pub const ZEND_CALL_TOP: u32 = 131072;
328pub const ZEND_CALL_ALLOCATED: u32 = 262144;
329pub const ZEND_CALL_FREE_EXTRA_ARGS: u32 = 524288;
330pub const ZEND_CALL_HAS_SYMBOL_TABLE: u32 = 1048576;
331pub const ZEND_CALL_RELEASE_THIS: u32 = 2097152;
332pub const ZEND_CALL_CLOSURE: u32 = 4194304;
333pub const ZEND_CALL_FAKE_CLOSURE: u32 = 8388608;
334pub const ZEND_CALL_GENERATOR: u32 = 16777216;
335pub const ZEND_CALL_DYNAMIC: u32 = 33554432;
336pub const ZEND_CALL_MAY_HAVE_UNDEF: u32 = 67108864;
337pub const ZEND_CALL_HAS_EXTRA_NAMED_PARAMS: u32 = 134217728;
338pub const ZEND_CALL_SEND_ARG_BY_REF: u32 = 2147483648;
339pub const ZEND_CALL_NESTED_FUNCTION: u32 = 0;
340pub const ZEND_CALL_NESTED_CODE: u32 = 65536;
341pub const ZEND_CALL_TOP_FUNCTION: u32 = 131072;
342pub const ZEND_CALL_TOP_CODE: u32 = 196608;
343pub const IS_UNUSED: u32 = 0;
344pub const IS_CONST: u32 = 1;
345pub const IS_TMP_VAR: u32 = 2;
346pub const IS_VAR: u32 = 4;
347pub const IS_CV: u32 = 8;
348pub const IS_SMART_BRANCH_JMPZ: u32 = 16;
349pub const IS_SMART_BRANCH_JMPNZ: u32 = 32;
350pub const ZEND_EXTRA_VALUE: u32 = 1;
351pub const ZEND_STACK_APPLY_TOPDOWN: u32 = 1;
352pub const ZEND_STACK_APPLY_BOTTOMUP: u32 = 2;
353pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
354pub const ZEND_VM_SPEC: u32 = 1;
355pub const ZEND_VM_LINES: u32 = 0;
356pub const ZEND_VM_KIND_CALL: u32 = 1;
357pub const ZEND_VM_KIND_SWITCH: u32 = 2;
358pub const ZEND_VM_KIND_GOTO: u32 = 3;
359pub const ZEND_VM_KIND_HYBRID: u32 = 4;
360pub const ZEND_VM_KIND: u32 = 4;
361pub const ZEND_VM_HYBRID_JIT_RED_ZONE_SIZE: u32 = 16;
362pub const ZEND_VM_OP_SPEC: u32 = 1;
363pub const ZEND_VM_OP_CONST: u32 = 2;
364pub const ZEND_VM_OP_TMPVAR: u32 = 4;
365pub const ZEND_VM_OP_TMPVARCV: u32 = 8;
366pub const ZEND_VM_OP_MASK: u32 = 240;
367pub const ZEND_VM_OP_NUM: u32 = 16;
368pub const ZEND_VM_OP_JMP_ADDR: u32 = 32;
369pub const ZEND_VM_OP_TRY_CATCH: u32 = 48;
370pub const ZEND_VM_OP_THIS: u32 = 80;
371pub const ZEND_VM_OP_NEXT: u32 = 96;
372pub const ZEND_VM_OP_CLASS_FETCH: u32 = 112;
373pub const ZEND_VM_OP_CONSTRUCTOR: u32 = 128;
374pub const ZEND_VM_OP_CONST_FETCH: u32 = 144;
375pub const ZEND_VM_OP_CACHE_SLOT: u32 = 160;
376pub const ZEND_VM_EXT_VAR_FETCH: u32 = 65536;
377pub const ZEND_VM_EXT_ISSET: u32 = 131072;
378pub const ZEND_VM_EXT_CACHE_SLOT: u32 = 262144;
379pub const ZEND_VM_EXT_ARRAY_INIT: u32 = 524288;
380pub const ZEND_VM_EXT_REF: u32 = 1048576;
381pub const ZEND_VM_EXT_FETCH_REF: u32 = 2097152;
382pub const ZEND_VM_EXT_DIM_WRITE: u32 = 4194304;
383pub const ZEND_VM_EXT_MASK: u32 = 251658240;
384pub const ZEND_VM_EXT_NUM: u32 = 16777216;
385pub const ZEND_VM_EXT_LAST_CATCH: u32 = 33554432;
386pub const ZEND_VM_EXT_JMP_ADDR: u32 = 50331648;
387pub const ZEND_VM_EXT_OP: u32 = 67108864;
388pub const ZEND_VM_EXT_TYPE: u32 = 117440512;
389pub const ZEND_VM_EXT_EVAL: u32 = 134217728;
390pub const ZEND_VM_EXT_TYPE_MASK: u32 = 150994944;
391pub const ZEND_VM_EXT_SRC: u32 = 184549376;
392pub const ZEND_VM_NO_CONST_CONST: u32 = 1073741824;
393pub const ZEND_VM_COMMUTATIVE: u32 = 2147483648;
394pub const ZEND_NOP: u32 = 0;
395pub const ZEND_ADD: u32 = 1;
396pub const ZEND_SUB: u32 = 2;
397pub const ZEND_MUL: u32 = 3;
398pub const ZEND_DIV: u32 = 4;
399pub const ZEND_MOD: u32 = 5;
400pub const ZEND_SL: u32 = 6;
401pub const ZEND_SR: u32 = 7;
402pub const ZEND_CONCAT: u32 = 8;
403pub const ZEND_BW_OR: u32 = 9;
404pub const ZEND_BW_AND: u32 = 10;
405pub const ZEND_BW_XOR: u32 = 11;
406pub const ZEND_POW: u32 = 12;
407pub const ZEND_BW_NOT: u32 = 13;
408pub const ZEND_BOOL_NOT: u32 = 14;
409pub const ZEND_BOOL_XOR: u32 = 15;
410pub const ZEND_IS_IDENTICAL: u32 = 16;
411pub const ZEND_IS_NOT_IDENTICAL: u32 = 17;
412pub const ZEND_IS_EQUAL: u32 = 18;
413pub const ZEND_IS_NOT_EQUAL: u32 = 19;
414pub const ZEND_IS_SMALLER: u32 = 20;
415pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 21;
416pub const ZEND_ASSIGN: u32 = 22;
417pub const ZEND_ASSIGN_DIM: u32 = 23;
418pub const ZEND_ASSIGN_OBJ: u32 = 24;
419pub const ZEND_ASSIGN_STATIC_PROP: u32 = 25;
420pub const ZEND_ASSIGN_OP: u32 = 26;
421pub const ZEND_ASSIGN_DIM_OP: u32 = 27;
422pub const ZEND_ASSIGN_OBJ_OP: u32 = 28;
423pub const ZEND_ASSIGN_STATIC_PROP_OP: u32 = 29;
424pub const ZEND_ASSIGN_REF: u32 = 30;
425pub const ZEND_QM_ASSIGN: u32 = 31;
426pub const ZEND_ASSIGN_OBJ_REF: u32 = 32;
427pub const ZEND_ASSIGN_STATIC_PROP_REF: u32 = 33;
428pub const ZEND_PRE_INC: u32 = 34;
429pub const ZEND_PRE_DEC: u32 = 35;
430pub const ZEND_POST_INC: u32 = 36;
431pub const ZEND_POST_DEC: u32 = 37;
432pub const ZEND_PRE_INC_STATIC_PROP: u32 = 38;
433pub const ZEND_PRE_DEC_STATIC_PROP: u32 = 39;
434pub const ZEND_POST_INC_STATIC_PROP: u32 = 40;
435pub const ZEND_POST_DEC_STATIC_PROP: u32 = 41;
436pub const ZEND_JMP: u32 = 42;
437pub const ZEND_JMPZ: u32 = 43;
438pub const ZEND_JMPNZ: u32 = 44;
439pub const ZEND_JMPZNZ: u32 = 45;
440pub const ZEND_JMPZ_EX: u32 = 46;
441pub const ZEND_JMPNZ_EX: u32 = 47;
442pub const ZEND_CASE: u32 = 48;
443pub const ZEND_CHECK_VAR: u32 = 49;
444pub const ZEND_SEND_VAR_NO_REF_EX: u32 = 50;
445pub const ZEND_CAST: u32 = 51;
446pub const ZEND_BOOL: u32 = 52;
447pub const ZEND_FAST_CONCAT: u32 = 53;
448pub const ZEND_ROPE_INIT: u32 = 54;
449pub const ZEND_ROPE_ADD: u32 = 55;
450pub const ZEND_ROPE_END: u32 = 56;
451pub const ZEND_BEGIN_SILENCE: u32 = 57;
452pub const ZEND_END_SILENCE: u32 = 58;
453pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
454pub const ZEND_DO_FCALL: u32 = 60;
455pub const ZEND_INIT_FCALL: u32 = 61;
456pub const ZEND_RETURN: u32 = 62;
457pub const ZEND_RECV: u32 = 63;
458pub const ZEND_RECV_INIT: u32 = 64;
459pub const ZEND_SEND_VAL: u32 = 65;
460pub const ZEND_SEND_VAR_EX: u32 = 66;
461pub const ZEND_SEND_REF: u32 = 67;
462pub const ZEND_NEW: u32 = 68;
463pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
464pub const ZEND_FREE: u32 = 70;
465pub const ZEND_INIT_ARRAY: u32 = 71;
466pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
467pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
468pub const ZEND_UNSET_VAR: u32 = 74;
469pub const ZEND_UNSET_DIM: u32 = 75;
470pub const ZEND_UNSET_OBJ: u32 = 76;
471pub const ZEND_FE_RESET_R: u32 = 77;
472pub const ZEND_FE_FETCH_R: u32 = 78;
473pub const ZEND_EXIT: u32 = 79;
474pub const ZEND_FETCH_R: u32 = 80;
475pub const ZEND_FETCH_DIM_R: u32 = 81;
476pub const ZEND_FETCH_OBJ_R: u32 = 82;
477pub const ZEND_FETCH_W: u32 = 83;
478pub const ZEND_FETCH_DIM_W: u32 = 84;
479pub const ZEND_FETCH_OBJ_W: u32 = 85;
480pub const ZEND_FETCH_RW: u32 = 86;
481pub const ZEND_FETCH_DIM_RW: u32 = 87;
482pub const ZEND_FETCH_OBJ_RW: u32 = 88;
483pub const ZEND_FETCH_IS: u32 = 89;
484pub const ZEND_FETCH_DIM_IS: u32 = 90;
485pub const ZEND_FETCH_OBJ_IS: u32 = 91;
486pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
487pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
488pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
489pub const ZEND_FETCH_UNSET: u32 = 95;
490pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
491pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
492pub const ZEND_FETCH_LIST_R: u32 = 98;
493pub const ZEND_FETCH_CONSTANT: u32 = 99;
494pub const ZEND_CHECK_FUNC_ARG: u32 = 100;
495pub const ZEND_EXT_STMT: u32 = 101;
496pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
497pub const ZEND_EXT_FCALL_END: u32 = 103;
498pub const ZEND_EXT_NOP: u32 = 104;
499pub const ZEND_TICKS: u32 = 105;
500pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
501pub const ZEND_CATCH: u32 = 107;
502pub const ZEND_THROW: u32 = 108;
503pub const ZEND_FETCH_CLASS: u32 = 109;
504pub const ZEND_CLONE: u32 = 110;
505pub const ZEND_RETURN_BY_REF: u32 = 111;
506pub const ZEND_INIT_METHOD_CALL: u32 = 112;
507pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
508pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
509pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
510pub const ZEND_SEND_VAL_EX: u32 = 116;
511pub const ZEND_SEND_VAR: u32 = 117;
512pub const ZEND_INIT_USER_CALL: u32 = 118;
513pub const ZEND_SEND_ARRAY: u32 = 119;
514pub const ZEND_SEND_USER: u32 = 120;
515pub const ZEND_STRLEN: u32 = 121;
516pub const ZEND_DEFINED: u32 = 122;
517pub const ZEND_TYPE_CHECK: u32 = 123;
518pub const ZEND_VERIFY_RETURN_TYPE: u32 = 124;
519pub const ZEND_FE_RESET_RW: u32 = 125;
520pub const ZEND_FE_FETCH_RW: u32 = 126;
521pub const ZEND_FE_FREE: u32 = 127;
522pub const ZEND_INIT_DYNAMIC_CALL: u32 = 128;
523pub const ZEND_DO_ICALL: u32 = 129;
524pub const ZEND_DO_UCALL: u32 = 130;
525pub const ZEND_DO_FCALL_BY_NAME: u32 = 131;
526pub const ZEND_PRE_INC_OBJ: u32 = 132;
527pub const ZEND_PRE_DEC_OBJ: u32 = 133;
528pub const ZEND_POST_INC_OBJ: u32 = 134;
529pub const ZEND_POST_DEC_OBJ: u32 = 135;
530pub const ZEND_ECHO: u32 = 136;
531pub const ZEND_OP_DATA: u32 = 137;
532pub const ZEND_INSTANCEOF: u32 = 138;
533pub const ZEND_GENERATOR_CREATE: u32 = 139;
534pub const ZEND_MAKE_REF: u32 = 140;
535pub const ZEND_DECLARE_FUNCTION: u32 = 141;
536pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 142;
537pub const ZEND_DECLARE_CONST: u32 = 143;
538pub const ZEND_DECLARE_CLASS: u32 = 144;
539pub const ZEND_DECLARE_CLASS_DELAYED: u32 = 145;
540pub const ZEND_DECLARE_ANON_CLASS: u32 = 146;
541pub const ZEND_ADD_ARRAY_UNPACK: u32 = 147;
542pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
543pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
544pub const ZEND_USER_OPCODE: u32 = 150;
545pub const ZEND_ASSERT_CHECK: u32 = 151;
546pub const ZEND_JMP_SET: u32 = 152;
547pub const ZEND_UNSET_CV: u32 = 153;
548pub const ZEND_ISSET_ISEMPTY_CV: u32 = 154;
549pub const ZEND_FETCH_LIST_W: u32 = 155;
550pub const ZEND_SEPARATE: u32 = 156;
551pub const ZEND_FETCH_CLASS_NAME: u32 = 157;
552pub const ZEND_CALL_TRAMPOLINE: u32 = 158;
553pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
554pub const ZEND_YIELD: u32 = 160;
555pub const ZEND_GENERATOR_RETURN: u32 = 161;
556pub const ZEND_FAST_CALL: u32 = 162;
557pub const ZEND_FAST_RET: u32 = 163;
558pub const ZEND_RECV_VARIADIC: u32 = 164;
559pub const ZEND_SEND_UNPACK: u32 = 165;
560pub const ZEND_YIELD_FROM: u32 = 166;
561pub const ZEND_COPY_TMP: u32 = 167;
562pub const ZEND_BIND_GLOBAL: u32 = 168;
563pub const ZEND_COALESCE: u32 = 169;
564pub const ZEND_SPACESHIP: u32 = 170;
565pub const ZEND_FUNC_NUM_ARGS: u32 = 171;
566pub const ZEND_FUNC_GET_ARGS: u32 = 172;
567pub const ZEND_FETCH_STATIC_PROP_R: u32 = 173;
568pub const ZEND_FETCH_STATIC_PROP_W: u32 = 174;
569pub const ZEND_FETCH_STATIC_PROP_RW: u32 = 175;
570pub const ZEND_FETCH_STATIC_PROP_IS: u32 = 176;
571pub const ZEND_FETCH_STATIC_PROP_FUNC_ARG: u32 = 177;
572pub const ZEND_FETCH_STATIC_PROP_UNSET: u32 = 178;
573pub const ZEND_UNSET_STATIC_PROP: u32 = 179;
574pub const ZEND_ISSET_ISEMPTY_STATIC_PROP: u32 = 180;
575pub const ZEND_FETCH_CLASS_CONSTANT: u32 = 181;
576pub const ZEND_BIND_LEXICAL: u32 = 182;
577pub const ZEND_BIND_STATIC: u32 = 183;
578pub const ZEND_FETCH_THIS: u32 = 184;
579pub const ZEND_SEND_FUNC_ARG: u32 = 185;
580pub const ZEND_ISSET_ISEMPTY_THIS: u32 = 186;
581pub const ZEND_SWITCH_LONG: u32 = 187;
582pub const ZEND_SWITCH_STRING: u32 = 188;
583pub const ZEND_IN_ARRAY: u32 = 189;
584pub const ZEND_COUNT: u32 = 190;
585pub const ZEND_GET_CLASS: u32 = 191;
586pub const ZEND_GET_CALLED_CLASS: u32 = 192;
587pub const ZEND_GET_TYPE: u32 = 193;
588pub const ZEND_ARRAY_KEY_EXISTS: u32 = 194;
589pub const ZEND_MATCH: u32 = 195;
590pub const ZEND_CASE_STRICT: u32 = 196;
591pub const ZEND_MATCH_ERROR: u32 = 197;
592pub const ZEND_JMP_NULL: u32 = 198;
593pub const ZEND_CHECK_UNDEF_ARGS: u32 = 199;
594pub const ZEND_VM_LAST_OPCODE: u32 = 199;
595pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
596pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
597pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
598pub const ZEND_FETCH_CLASS_STATIC: u32 = 3;
599pub const ZEND_FETCH_CLASS_AUTO: u32 = 4;
600pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 5;
601pub const ZEND_FETCH_CLASS_TRAIT: u32 = 6;
602pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
603pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
604pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
605pub const ZEND_FETCH_CLASS_EXCEPTION: u32 = 512;
606pub const ZEND_FETCH_CLASS_ALLOW_UNLINKED: u32 = 1024;
607pub const ZEND_FETCH_CLASS_ALLOW_NEARLY_LINKED: u32 = 2048;
608pub const ZEND_PARAM_REF: u32 = 8;
609pub const ZEND_PARAM_VARIADIC: u32 = 16;
610pub const ZEND_NAME_FQ: u32 = 0;
611pub const ZEND_NAME_NOT_FQ: u32 = 1;
612pub const ZEND_NAME_RELATIVE: u32 = 2;
613pub const ZEND_TYPE_NULLABLE: u32 = 256;
614pub const ZEND_ARRAY_SYNTAX_LIST: u32 = 1;
615pub const ZEND_ARRAY_SYNTAX_LONG: u32 = 2;
616pub const ZEND_ARRAY_SYNTAX_SHORT: u32 = 3;
617pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
618pub const ZEND_USER_FUNCTION: u32 = 2;
619pub const ZEND_EVAL_CODE: u32 = 4;
620pub const ZEND_INTERNAL_CLASS: u32 = 1;
621pub const ZEND_USER_CLASS: u32 = 2;
622pub const ZEND_EVAL: u32 = 1;
623pub const ZEND_INCLUDE: u32 = 2;
624pub const ZEND_INCLUDE_ONCE: u32 = 4;
625pub const ZEND_REQUIRE: u32 = 8;
626pub const ZEND_REQUIRE_ONCE: u32 = 16;
627pub const ZEND_FETCH_GLOBAL: u32 = 2;
628pub const ZEND_FETCH_LOCAL: u32 = 4;
629pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 8;
630pub const ZEND_FETCH_TYPE_MASK: u32 = 14;
631pub const ZEND_FETCH_REF: u32 = 1;
632pub const ZEND_FETCH_DIM_WRITE: u32 = 2;
633pub const ZEND_FETCH_OBJ_FLAGS: u32 = 3;
634pub const ZEND_ISEMPTY: u32 = 1;
635pub const ZEND_LAST_CATCH: u32 = 1;
636pub const ZEND_FREE_ON_RETURN: u32 = 1;
637pub const ZEND_FREE_SWITCH: u32 = 2;
638pub const ZEND_SEND_BY_VAL: u32 = 0;
639pub const ZEND_SEND_BY_REF: u32 = 1;
640pub const ZEND_SEND_PREFER_REF: u32 = 2;
641pub const ZEND_THROW_IS_EXPR: u32 = 1;
642pub const ZEND_FCALL_MAY_HAVE_EXTRA_NAMED_PARAMS: u32 = 1;
643pub const _ZEND_SEND_MODE_SHIFT: u32 = 24;
644pub const _ZEND_IS_VARIADIC_BIT: u32 = 67108864;
645pub const _ZEND_IS_PROMOTED_BIT: u32 = 134217728;
646pub const ZEND_DIM_IS: u32 = 1;
647pub const ZEND_DIM_ALTERNATIVE_SYNTAX: u32 = 2;
648pub const IS_CONSTANT_CLASS: u32 = 1024;
649pub const IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE: u32 = 2048;
650pub const ZEND_RETURN_VAL: u32 = 0;
651pub const ZEND_RETURN_REF: u32 = 1;
652pub const ZEND_BIND_VAL: u32 = 0;
653pub const ZEND_BIND_REF: u32 = 1;
654pub const ZEND_BIND_IMPLICIT: u32 = 2;
655pub const ZEND_RETURNS_FUNCTION: u32 = 1;
656pub const ZEND_RETURNS_VALUE: u32 = 2;
657pub const ZEND_ARRAY_ELEMENT_REF: u32 = 1;
658pub const ZEND_ARRAY_NOT_PACKED: u32 = 2;
659pub const ZEND_ARRAY_SIZE_SHIFT: u32 = 2;
660pub const ZEND_PARENTHESIZED_CONDITIONAL: u32 = 1;
661pub const ZEND_SYMBOL_CLASS: u32 = 1;
662pub const ZEND_SYMBOL_FUNCTION: u32 = 2;
663pub const ZEND_SYMBOL_CONST: u32 = 4;
664pub const ZEND_GOTO: u32 = 253;
665pub const ZEND_BRK: u32 = 254;
666pub const ZEND_CONT: u32 = 255;
667pub const ZEND_CLONE_FUNC_NAME: &[u8; 8] = b"__clone\0";
668pub const ZEND_CONSTRUCTOR_FUNC_NAME: &[u8; 12] = b"__construct\0";
669pub const ZEND_DESTRUCTOR_FUNC_NAME: &[u8; 11] = b"__destruct\0";
670pub const ZEND_GET_FUNC_NAME: &[u8; 6] = b"__get\0";
671pub const ZEND_SET_FUNC_NAME: &[u8; 6] = b"__set\0";
672pub const ZEND_UNSET_FUNC_NAME: &[u8; 8] = b"__unset\0";
673pub const ZEND_ISSET_FUNC_NAME: &[u8; 8] = b"__isset\0";
674pub const ZEND_CALL_FUNC_NAME: &[u8; 7] = b"__call\0";
675pub const ZEND_CALLSTATIC_FUNC_NAME: &[u8; 13] = b"__callstatic\0";
676pub const ZEND_TOSTRING_FUNC_NAME: &[u8; 11] = b"__tostring\0";
677pub const ZEND_INVOKE_FUNC_NAME: &[u8; 9] = b"__invoke\0";
678pub const ZEND_DEBUGINFO_FUNC_NAME: &[u8; 12] = b"__debuginfo\0";
679pub const ZEND_COMPILE_EXTENDED_STMT: u32 = 1;
680pub const ZEND_COMPILE_EXTENDED_FCALL: u32 = 2;
681pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 3;
682pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 4;
683pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 8;
684pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 16;
685pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 32;
686pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 64;
687pub const ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION: u32 = 256;
688pub const ZEND_COMPILE_IGNORE_USER_FUNCTIONS: u32 = 512;
689pub const ZEND_COMPILE_GUARDS: u32 = 1024;
690pub const ZEND_COMPILE_NO_BUILTINS: u32 = 2048;
691pub const ZEND_COMPILE_WITH_FILE_CACHE: u32 = 4096;
692pub const ZEND_COMPILE_IGNORE_OTHER_FILES: u32 = 8192;
693pub const ZEND_COMPILE_WITHOUT_EXECUTION: u32 = 16384;
694pub const ZEND_COMPILE_PRELOAD: u32 = 32768;
695pub const ZEND_COMPILE_NO_JUMPTABLES: u32 = 65536;
696pub const ZEND_COMPILE_PRELOAD_IN_CHILD: u32 = 131072;
697pub const ZEND_COMPILE_DEFAULT: u32 = 4;
698pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
699pub const ZEND_BUILD_TS: &[u8; 5] = b",NTS\0";
700pub const ZEND_MODULE_API_NO: u32 = 20200930;
701pub const USING_ZTS: u32 = 0;
702pub const MODULE_PERSISTENT: u32 = 1;
703pub const MODULE_TEMPORARY: u32 = 2;
704pub const MODULE_DEP_REQUIRED: u32 = 1;
705pub const MODULE_DEP_CONFLICTS: u32 = 2;
706pub const MODULE_DEP_OPTIONAL: u32 = 3;
707pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
708pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
709pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
710pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
711pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
712pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
713pub const ZEND_PARSE_PARAMS_THROW: u32 = 0;
714pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
715pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
716pub const IS_CALLABLE_CHECK_SILENT: u32 = 8;
717pub const PHP_OS_FAMILY: &[u8; 6] = b"Linux\0";
718pub const PHP_DEBUG: u32 = 0;
719pub const PHP_DIR_SEPARATOR: u8 = 47u8;
720pub const PHP_EOL: &[u8; 2] = b"\n\0";
721pub const PHP_ODBC_CFLAGS: &[u8; 1] = b"\0";
722pub const PHP_ODBC_LFLAGS: &[u8; 1] = b"\0";
723pub const PHP_ODBC_LIBS: &[u8; 1] = b"\0";
724pub const PHP_ODBC_TYPE: &[u8; 1] = b"\0";
725pub const PHP_OCI8_DIR: &[u8; 1] = b"\0";
726pub const PHP_OCI8_ORACLE_VERSION: &[u8; 1] = b"\0";
727pub const PHP_PROG_SENDMAIL: &[u8; 19] = b"/usr/sbin/sendmail\0";
728pub const PHP_INCLUDE_PATH: &[u8; 17] = b".:/usr/share/php\0";
729pub const PHP_EXTENSION_DIR: &[u8; 22] = b"/usr/lib/php/20200930\0";
730pub const PHP_PREFIX: &[u8; 5] = b"/usr\0";
731pub const PHP_BINDIR: &[u8; 9] = b"/usr/bin\0";
732pub const PHP_SBINDIR: &[u8; 10] = b"/usr/sbin\0";
733pub const PHP_MANDIR: &[u8; 15] = b"/usr/share/man\0";
734pub const PHP_LIBDIR: &[u8; 13] = b"/usr/lib/php\0";
735pub const PHP_DATADIR: &[u8; 19] = b"/usr/share/php/8.0\0";
736pub const PHP_SYSCONFDIR: &[u8; 5] = b"/etc\0";
737pub const PHP_LOCALSTATEDIR: &[u8; 5] = b"/var\0";
738pub const PHP_CONFIG_FILE_PATH: &[u8; 17] = b"/etc/php/8.0/cli\0";
739pub const PHP_CONFIG_FILE_SCAN_DIR: &[u8; 24] = b"/etc/php/8.0/cli/conf.d\0";
740pub const PHP_SHLIB_SUFFIX: &[u8; 3] = b"so\0";
741pub const PHP_SHLIB_EXT_PREFIX: &[u8; 1] = b"\0";
742pub const PHP_MIME_TYPE: &[u8; 24] = b"application/x-httpd-php\0";
743pub const PHP_SYSLOG_FILTER_ALL: u32 = 0;
744pub const PHP_SYSLOG_FILTER_NO_CTRL: u32 = 1;
745pub const PHP_SYSLOG_FILTER_ASCII: u32 = 2;
746pub const PHP_SYSLOG_FILTER_RAW: u32 = 3;
747pub const PHP_OUTPUT_NEWAPI: u32 = 1;
748pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
749pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
750pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
751pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
752pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
753pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
754pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
755pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
756pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
757pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
758pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
759pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
760pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
761pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
762pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
763pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
764pub const PHP_OUTPUT_POP_TRY: u32 = 0;
765pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
766pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
767pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
768pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
769pub const PHP_OUTPUT_DISABLED: u32 = 2;
770pub const PHP_OUTPUT_WRITTEN: u32 = 4;
771pub const PHP_OUTPUT_SENT: u32 = 8;
772pub const PHP_OUTPUT_ACTIVE: u32 = 16;
773pub const PHP_OUTPUT_LOCKED: u32 = 32;
774pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
775pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
776pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
777pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
778pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
779pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
780pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
781pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
782pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
783pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
784pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
785pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
786pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
787pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
788pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
789pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
790pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
791pub const PHP_STREAM_FILTER_READ: u32 = 1;
792pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
793pub const PHP_STREAM_FILTER_ALL: u32 = 3;
794pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
795pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
796pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
797pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
798pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
799pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
800pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
801pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
802pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
803pub const PHP_STREAM_FLAG_SUPPRESS_ERRORS: u32 = 256;
804pub const PHP_STREAM_FLAG_WAS_WRITTEN: u32 = 2147483648;
805pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
806pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
807pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
808pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
809pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
810pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
811pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
812pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
813pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
814pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
815pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
816pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
817pub const PHP_STREAM_FREE_KEEP_RSRC: u32 = 64;
818pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
819pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
820pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
821pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
822pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
823pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
824pub const PHP_STREAM_URL_STAT_NOCACHE: u32 = 4;
825pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
826pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
827pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
828pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
829pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
830pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
831pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
832pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
833pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
834pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
835pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
836pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
837pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
838pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
839pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
840pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
841pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
842pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
843pub const PHP_STREAM_OPTION_PIPE_BLOCKING: u32 = 13;
844pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
845pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
846pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
847pub const PHP_STREAM_MMAP_ALL: u32 = 0;
848pub const PHP_STREAM_MMAP_MAX: u32 = 536870912;
849pub const PHP_STREAM_AS_STDIO: u32 = 0;
850pub const PHP_STREAM_AS_FD: u32 = 1;
851pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
852pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
853pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
854pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
855pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
856pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
857pub const PHP_STREAM_UNCHANGED: u32 = 0;
858pub const PHP_STREAM_RELEASED: u32 = 1;
859pub const PHP_STREAM_FAILED: u32 = 2;
860pub const PHP_STREAM_CRITICAL: u32 = 3;
861pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
862pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
863pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
864pub const PHP_STREAM_IS_URL: u32 = 1;
865pub const PHP_STREAM_META_TOUCH: u32 = 1;
866pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
867pub const PHP_STREAM_META_OWNER: u32 = 3;
868pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
869pub const PHP_STREAM_META_GROUP: u32 = 5;
870pub const PHP_STREAM_META_ACCESS: u32 = 6;
871pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
872pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
873pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
874pub const ZEND_INI_USER: u32 = 1;
875pub const ZEND_INI_PERDIR: u32 = 2;
876pub const ZEND_INI_SYSTEM: u32 = 4;
877pub const ZEND_INI_ALL: u32 = 7;
878pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
879pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
880pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
881pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
882pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
883pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
884pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
885pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
886pub const ZEND_INI_STAGE_IN_REQUEST: u32 = 60;
887pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
888pub const ZEND_INI_PARSER_SECTION: u32 = 2;
889pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
890pub const PHP_INI_USER: u32 = 1;
891pub const PHP_INI_PERDIR: u32 = 2;
892pub const PHP_INI_SYSTEM: u32 = 4;
893pub const PHP_INI_ALL: u32 = 7;
894pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
895pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
896pub const PHP_INI_STAGE_STARTUP: u32 = 1;
897pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
898pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
899pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
900pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
901pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
902pub const PHP_USER_CONSTANT: u32 = 8388607;
903pub const PHP_CONNECTION_NORMAL: u32 = 0;
904pub const PHP_CONNECTION_ABORTED: u32 = 1;
905pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
906pub const PHP_ENTRY_NAME_COLOR: &[u8; 5] = b"#ccf\0";
907pub const PHP_CONTENTS_COLOR: &[u8; 5] = b"#ccc\0";
908pub const PHP_HEADER_COLOR: &[u8; 5] = b"#99c\0";
909pub const PHP_INFO_GENERAL: u32 = 1;
910pub const PHP_INFO_CREDITS: u32 = 2;
911pub const PHP_INFO_CONFIGURATION: u32 = 4;
912pub const PHP_INFO_MODULES: u32 = 8;
913pub const PHP_INFO_ENVIRONMENT: u32 = 16;
914pub const PHP_INFO_VARIABLES: u32 = 32;
915pub const PHP_INFO_LICENSE: u32 = 64;
916pub const PHP_INFO_ALL: u32 = 4294967295;
917pub const PHP_CREDITS_GROUP: u32 = 1;
918pub const PHP_CREDITS_GENERAL: u32 = 2;
919pub const PHP_CREDITS_SAPI: u32 = 4;
920pub const PHP_CREDITS_MODULES: u32 = 8;
921pub const PHP_CREDITS_DOCS: u32 = 16;
922pub const PHP_CREDITS_FULLPAGE: u32 = 32;
923pub const PHP_CREDITS_QA: u32 = 64;
924pub const PHP_CREDITS_WEB: u32 = 128;
925pub const PHP_CREDITS_PACKAGING: u32 = 256;
926pub const PHP_CREDITS_ALL: u32 = 4294967295;
927pub const PHP_LOGO_DATA_URI : & [u8 ; 5439] = b"data:image/png;base64,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\0" ;
928pub const PHP_EGG_LOGO_DATA_URI : & [u8 ; 8231] = b"data:image/png;base64,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\0" ;
929pub const ZEND_LOGO_DATA_URI : & [u8 ; 6083] = b"data:image/png;base64,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\0" ;
930pub const ZEND_EXTENSION_API_NO: u32 = 420200930;
931pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
932pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_CTOR: u32 = 1;
933pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_DTOR: u32 = 2;
934pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_HANDLER: u32 = 4;
935pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST_CALC: u32 = 8;
936pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST: u32 = 16;
937pub type __uint32_t = ::std::os::raw::c_uint;
938pub type __dev_t = ::std::os::raw::c_ulong;
939pub type __uid_t = ::std::os::raw::c_uint;
940pub type __gid_t = ::std::os::raw::c_uint;
941pub type __ino_t = ::std::os::raw::c_ulong;
942pub type __mode_t = ::std::os::raw::c_uint;
943pub type __nlink_t = ::std::os::raw::c_ulong;
944pub type __off_t = ::std::os::raw::c_long;
945pub type __off64_t = ::std::os::raw::c_long;
946pub type __pid_t = ::std::os::raw::c_int;
947pub type __clock_t = ::std::os::raw::c_long;
948pub type __time_t = ::std::os::raw::c_long;
949pub type __suseconds_t = ::std::os::raw::c_long;
950pub type __blksize_t = ::std::os::raw::c_long;
951pub type __blkcnt_t = ::std::os::raw::c_long;
952pub type __syscall_slong_t = ::std::os::raw::c_long;
953pub type __socklen_t = ::std::os::raw::c_uint;
954pub type time_t = __time_t;
955#[repr(C)]
956#[derive(Debug, Copy, Clone)]
957pub struct __sigset_t {
958 pub __val: [::std::os::raw::c_ulong; 16usize],
959}
960#[allow(clippy::unnecessary_operation, clippy::identity_op)]
961const _: () = {
962 ["Size of __sigset_t"][::std::mem::size_of::<__sigset_t>() - 128usize];
963 ["Alignment of __sigset_t"][::std::mem::align_of::<__sigset_t>() - 8usize];
964 ["Offset of field: __sigset_t::__val"][::std::mem::offset_of!(__sigset_t, __val) - 0usize];
965};
966#[repr(C)]
967#[derive(Debug, Copy, Clone)]
968pub struct timeval {
969 pub tv_sec: __time_t,
970 pub tv_usec: __suseconds_t,
971}
972#[allow(clippy::unnecessary_operation, clippy::identity_op)]
973const _: () = {
974 ["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
975 ["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
976 ["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
977 ["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
978};
979#[repr(C)]
980#[derive(Debug, Copy, Clone)]
981pub struct timespec {
982 pub tv_sec: __time_t,
983 pub tv_nsec: __syscall_slong_t,
984}
985#[allow(clippy::unnecessary_operation, clippy::identity_op)]
986const _: () = {
987 ["Size of timespec"][::std::mem::size_of::<timespec>() - 16usize];
988 ["Alignment of timespec"][::std::mem::align_of::<timespec>() - 8usize];
989 ["Offset of field: timespec::tv_sec"][::std::mem::offset_of!(timespec, tv_sec) - 0usize];
990 ["Offset of field: timespec::tv_nsec"][::std::mem::offset_of!(timespec, tv_nsec) - 8usize];
991};
992pub type va_list = __builtin_va_list;
993pub type FILE = _IO_FILE;
994#[repr(C)]
995#[derive(Debug, Copy, Clone)]
996pub struct _IO_marker {
997 _unused: [u8; 0],
998}
999#[repr(C)]
1000#[derive(Debug, Copy, Clone)]
1001pub struct _IO_codecvt {
1002 _unused: [u8; 0],
1003}
1004#[repr(C)]
1005#[derive(Debug, Copy, Clone)]
1006pub struct _IO_wide_data {
1007 _unused: [u8; 0],
1008}
1009pub type _IO_lock_t = ::std::os::raw::c_void;
1010#[repr(C)]
1011#[derive(Debug, Copy, Clone)]
1012pub struct _IO_FILE {
1013 pub _flags: ::std::os::raw::c_int,
1014 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
1015 pub _IO_read_end: *mut ::std::os::raw::c_char,
1016 pub _IO_read_base: *mut ::std::os::raw::c_char,
1017 pub _IO_write_base: *mut ::std::os::raw::c_char,
1018 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
1019 pub _IO_write_end: *mut ::std::os::raw::c_char,
1020 pub _IO_buf_base: *mut ::std::os::raw::c_char,
1021 pub _IO_buf_end: *mut ::std::os::raw::c_char,
1022 pub _IO_save_base: *mut ::std::os::raw::c_char,
1023 pub _IO_backup_base: *mut ::std::os::raw::c_char,
1024 pub _IO_save_end: *mut ::std::os::raw::c_char,
1025 pub _markers: *mut _IO_marker,
1026 pub _chain: *mut _IO_FILE,
1027 pub _fileno: ::std::os::raw::c_int,
1028 pub _flags2: ::std::os::raw::c_int,
1029 pub _old_offset: __off_t,
1030 pub _cur_column: ::std::os::raw::c_ushort,
1031 pub _vtable_offset: ::std::os::raw::c_schar,
1032 pub _shortbuf: [::std::os::raw::c_char; 1usize],
1033 pub _lock: *mut _IO_lock_t,
1034 pub _offset: __off64_t,
1035 pub _codecvt: *mut _IO_codecvt,
1036 pub _wide_data: *mut _IO_wide_data,
1037 pub _freeres_list: *mut _IO_FILE,
1038 pub _freeres_buf: *mut ::std::os::raw::c_void,
1039 pub __pad5: usize,
1040 pub _mode: ::std::os::raw::c_int,
1041 pub _unused2: [::std::os::raw::c_char; 20usize],
1042}
1043#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1044const _: () = {
1045 ["Size of _IO_FILE"][::std::mem::size_of::<_IO_FILE>() - 216usize];
1046 ["Alignment of _IO_FILE"][::std::mem::align_of::<_IO_FILE>() - 8usize];
1047 ["Offset of field: _IO_FILE::_flags"][::std::mem::offset_of!(_IO_FILE, _flags) - 0usize];
1048 ["Offset of field: _IO_FILE::_IO_read_ptr"]
1049 [::std::mem::offset_of!(_IO_FILE, _IO_read_ptr) - 8usize];
1050 ["Offset of field: _IO_FILE::_IO_read_end"]
1051 [::std::mem::offset_of!(_IO_FILE, _IO_read_end) - 16usize];
1052 ["Offset of field: _IO_FILE::_IO_read_base"]
1053 [::std::mem::offset_of!(_IO_FILE, _IO_read_base) - 24usize];
1054 ["Offset of field: _IO_FILE::_IO_write_base"]
1055 [::std::mem::offset_of!(_IO_FILE, _IO_write_base) - 32usize];
1056 ["Offset of field: _IO_FILE::_IO_write_ptr"]
1057 [::std::mem::offset_of!(_IO_FILE, _IO_write_ptr) - 40usize];
1058 ["Offset of field: _IO_FILE::_IO_write_end"]
1059 [::std::mem::offset_of!(_IO_FILE, _IO_write_end) - 48usize];
1060 ["Offset of field: _IO_FILE::_IO_buf_base"]
1061 [::std::mem::offset_of!(_IO_FILE, _IO_buf_base) - 56usize];
1062 ["Offset of field: _IO_FILE::_IO_buf_end"]
1063 [::std::mem::offset_of!(_IO_FILE, _IO_buf_end) - 64usize];
1064 ["Offset of field: _IO_FILE::_IO_save_base"]
1065 [::std::mem::offset_of!(_IO_FILE, _IO_save_base) - 72usize];
1066 ["Offset of field: _IO_FILE::_IO_backup_base"]
1067 [::std::mem::offset_of!(_IO_FILE, _IO_backup_base) - 80usize];
1068 ["Offset of field: _IO_FILE::_IO_save_end"]
1069 [::std::mem::offset_of!(_IO_FILE, _IO_save_end) - 88usize];
1070 ["Offset of field: _IO_FILE::_markers"][::std::mem::offset_of!(_IO_FILE, _markers) - 96usize];
1071 ["Offset of field: _IO_FILE::_chain"][::std::mem::offset_of!(_IO_FILE, _chain) - 104usize];
1072 ["Offset of field: _IO_FILE::_fileno"][::std::mem::offset_of!(_IO_FILE, _fileno) - 112usize];
1073 ["Offset of field: _IO_FILE::_flags2"][::std::mem::offset_of!(_IO_FILE, _flags2) - 116usize];
1074 ["Offset of field: _IO_FILE::_old_offset"]
1075 [::std::mem::offset_of!(_IO_FILE, _old_offset) - 120usize];
1076 ["Offset of field: _IO_FILE::_cur_column"]
1077 [::std::mem::offset_of!(_IO_FILE, _cur_column) - 128usize];
1078 ["Offset of field: _IO_FILE::_vtable_offset"]
1079 [::std::mem::offset_of!(_IO_FILE, _vtable_offset) - 130usize];
1080 ["Offset of field: _IO_FILE::_shortbuf"]
1081 [::std::mem::offset_of!(_IO_FILE, _shortbuf) - 131usize];
1082 ["Offset of field: _IO_FILE::_lock"][::std::mem::offset_of!(_IO_FILE, _lock) - 136usize];
1083 ["Offset of field: _IO_FILE::_offset"][::std::mem::offset_of!(_IO_FILE, _offset) - 144usize];
1084 ["Offset of field: _IO_FILE::_codecvt"][::std::mem::offset_of!(_IO_FILE, _codecvt) - 152usize];
1085 ["Offset of field: _IO_FILE::_wide_data"]
1086 [::std::mem::offset_of!(_IO_FILE, _wide_data) - 160usize];
1087 ["Offset of field: _IO_FILE::_freeres_list"]
1088 [::std::mem::offset_of!(_IO_FILE, _freeres_list) - 168usize];
1089 ["Offset of field: _IO_FILE::_freeres_buf"]
1090 [::std::mem::offset_of!(_IO_FILE, _freeres_buf) - 176usize];
1091 ["Offset of field: _IO_FILE::__pad5"][::std::mem::offset_of!(_IO_FILE, __pad5) - 184usize];
1092 ["Offset of field: _IO_FILE::_mode"][::std::mem::offset_of!(_IO_FILE, _mode) - 192usize];
1093 ["Offset of field: _IO_FILE::_unused2"][::std::mem::offset_of!(_IO_FILE, _unused2) - 196usize];
1094};
1095pub type zend_long = i64;
1096pub type zend_ulong = u64;
1097pub type zend_off_t = i64;
1098pub type zend_bool = bool;
1099pub type zend_uchar = ::std::os::raw::c_uchar;
1100pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
1101pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
1102pub type ZEND_RESULT_CODE = ::std::os::raw::c_int;
1103pub use self::ZEND_RESULT_CODE as zend_result;
1104pub type zend_intptr_t = isize;
1105pub type zend_uintptr_t = usize;
1106pub type zend_object_handlers = _zend_object_handlers;
1107pub type zend_class_entry = _zend_class_entry;
1108pub type zend_function = _zend_function;
1109pub type zend_execute_data = _zend_execute_data;
1110pub type zval = _zval_struct;
1111pub type zend_refcounted = _zend_refcounted;
1112pub type zend_string = _zend_string;
1113pub type zend_array = _zend_array;
1114pub type zend_object = _zend_object;
1115pub type zend_resource = _zend_resource;
1116pub type zend_reference = _zend_reference;
1117pub type zend_ast_ref = _zend_ast_ref;
1118pub type zend_ast = _zend_ast;
1119pub type compare_func_t = ::std::option::Option<
1120 unsafe extern "C" fn(
1121 arg1: *const ::std::os::raw::c_void,
1122 arg2: *const ::std::os::raw::c_void,
1123 ) -> ::std::os::raw::c_int,
1124>;
1125pub type swap_func_t = ::std::option::Option<
1126 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void),
1127>;
1128pub type sort_func_t = ::std::option::Option<
1129 unsafe extern "C" fn(
1130 arg1: *mut ::std::os::raw::c_void,
1131 arg2: usize,
1132 arg3: usize,
1133 arg4: compare_func_t,
1134 arg5: swap_func_t,
1135 ),
1136>;
1137pub type dtor_func_t = ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval)>;
1138pub type copy_ctor_func_t = ::std::option::Option<unsafe extern "C" fn(pElement: *mut zval)>;
1139#[repr(C)]
1140#[derive(Debug, Copy, Clone)]
1141pub struct zend_type {
1142 pub ptr: *mut ::std::os::raw::c_void,
1143 pub type_mask: u32,
1144}
1145#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1146const _: () = {
1147 ["Size of zend_type"][::std::mem::size_of::<zend_type>() - 16usize];
1148 ["Alignment of zend_type"][::std::mem::align_of::<zend_type>() - 8usize];
1149 ["Offset of field: zend_type::ptr"][::std::mem::offset_of!(zend_type, ptr) - 0usize];
1150 ["Offset of field: zend_type::type_mask"]
1151 [::std::mem::offset_of!(zend_type, type_mask) - 8usize];
1152};
1153#[repr(C)]
1154#[derive(Debug, Copy, Clone)]
1155pub struct zend_type_list {
1156 pub num_types: u32,
1157 pub types: [zend_type; 1usize],
1158}
1159#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1160const _: () = {
1161 ["Size of zend_type_list"][::std::mem::size_of::<zend_type_list>() - 24usize];
1162 ["Alignment of zend_type_list"][::std::mem::align_of::<zend_type_list>() - 8usize];
1163 ["Offset of field: zend_type_list::num_types"]
1164 [::std::mem::offset_of!(zend_type_list, num_types) - 0usize];
1165 ["Offset of field: zend_type_list::types"]
1166 [::std::mem::offset_of!(zend_type_list, types) - 8usize];
1167};
1168#[repr(C)]
1169#[derive(Copy, Clone)]
1170pub union _zend_value {
1171 pub lval: zend_long,
1172 pub dval: f64,
1173 pub counted: *mut zend_refcounted,
1174 pub str_: *mut zend_string,
1175 pub arr: *mut zend_array,
1176 pub obj: *mut zend_object,
1177 pub res: *mut zend_resource,
1178 pub ref_: *mut zend_reference,
1179 pub ast: *mut zend_ast_ref,
1180 pub zv: *mut zval,
1181 pub ptr: *mut ::std::os::raw::c_void,
1182 pub ce: *mut zend_class_entry,
1183 pub func: *mut zend_function,
1184 pub ww: _zend_value__bindgen_ty_1,
1185}
1186#[repr(C)]
1187#[derive(Debug, Copy, Clone)]
1188pub struct _zend_value__bindgen_ty_1 {
1189 pub w1: u32,
1190 pub w2: u32,
1191}
1192#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1193const _: () = {
1194 ["Size of _zend_value__bindgen_ty_1"]
1195 [::std::mem::size_of::<_zend_value__bindgen_ty_1>() - 8usize];
1196 ["Alignment of _zend_value__bindgen_ty_1"]
1197 [::std::mem::align_of::<_zend_value__bindgen_ty_1>() - 4usize];
1198 ["Offset of field: _zend_value__bindgen_ty_1::w1"]
1199 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w1) - 0usize];
1200 ["Offset of field: _zend_value__bindgen_ty_1::w2"]
1201 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w2) - 4usize];
1202};
1203#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1204const _: () = {
1205 ["Size of _zend_value"][::std::mem::size_of::<_zend_value>() - 8usize];
1206 ["Alignment of _zend_value"][::std::mem::align_of::<_zend_value>() - 8usize];
1207 ["Offset of field: _zend_value::lval"][::std::mem::offset_of!(_zend_value, lval) - 0usize];
1208 ["Offset of field: _zend_value::dval"][::std::mem::offset_of!(_zend_value, dval) - 0usize];
1209 ["Offset of field: _zend_value::counted"]
1210 [::std::mem::offset_of!(_zend_value, counted) - 0usize];
1211 ["Offset of field: _zend_value::str_"][::std::mem::offset_of!(_zend_value, str_) - 0usize];
1212 ["Offset of field: _zend_value::arr"][::std::mem::offset_of!(_zend_value, arr) - 0usize];
1213 ["Offset of field: _zend_value::obj"][::std::mem::offset_of!(_zend_value, obj) - 0usize];
1214 ["Offset of field: _zend_value::res"][::std::mem::offset_of!(_zend_value, res) - 0usize];
1215 ["Offset of field: _zend_value::ref_"][::std::mem::offset_of!(_zend_value, ref_) - 0usize];
1216 ["Offset of field: _zend_value::ast"][::std::mem::offset_of!(_zend_value, ast) - 0usize];
1217 ["Offset of field: _zend_value::zv"][::std::mem::offset_of!(_zend_value, zv) - 0usize];
1218 ["Offset of field: _zend_value::ptr"][::std::mem::offset_of!(_zend_value, ptr) - 0usize];
1219 ["Offset of field: _zend_value::ce"][::std::mem::offset_of!(_zend_value, ce) - 0usize];
1220 ["Offset of field: _zend_value::func"][::std::mem::offset_of!(_zend_value, func) - 0usize];
1221 ["Offset of field: _zend_value::ww"][::std::mem::offset_of!(_zend_value, ww) - 0usize];
1222};
1223pub type zend_value = _zend_value;
1224#[repr(C)]
1225#[derive(Copy, Clone)]
1226pub struct _zval_struct {
1227 pub value: zend_value,
1228 pub u1: _zval_struct__bindgen_ty_1,
1229 pub u2: _zval_struct__bindgen_ty_2,
1230}
1231#[repr(C)]
1232#[derive(Copy, Clone)]
1233pub union _zval_struct__bindgen_ty_1 {
1234 pub type_info: u32,
1235 pub v: _zval_struct__bindgen_ty_1__bindgen_ty_1,
1236}
1237#[repr(C)]
1238#[derive(Copy, Clone)]
1239pub struct _zval_struct__bindgen_ty_1__bindgen_ty_1 {
1240 pub type_: zend_uchar,
1241 pub type_flags: zend_uchar,
1242 pub u: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
1243}
1244#[repr(C)]
1245#[derive(Copy, Clone)]
1246pub union _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
1247 pub extra: u16,
1248}
1249#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1250const _: () = {
1251 ["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1"]
1252 [::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1253 ["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1"]
1254 [::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1255 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1::extra"][::std::mem::offset_of!(
1256 _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
1257 extra
1258 ) - 0usize];
1259};
1260#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1261const _: () = {
1262 ["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1263 [::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1264 ["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1265 [::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1266 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_"]
1267 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_) - 0usize];
1268 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_flags"]
1269 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_flags) - 1usize];
1270 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::u"]
1271 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, u) - 2usize];
1272};
1273#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1274const _: () = {
1275 ["Size of _zval_struct__bindgen_ty_1"]
1276 [::std::mem::size_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1277 ["Alignment of _zval_struct__bindgen_ty_1"]
1278 [::std::mem::align_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1279 ["Offset of field: _zval_struct__bindgen_ty_1::type_info"]
1280 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, type_info) - 0usize];
1281 ["Offset of field: _zval_struct__bindgen_ty_1::v"]
1282 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, v) - 0usize];
1283};
1284#[repr(C)]
1285#[derive(Copy, Clone)]
1286pub union _zval_struct__bindgen_ty_2 {
1287 pub next: u32,
1288 pub cache_slot: u32,
1289 pub opline_num: u32,
1290 pub lineno: u32,
1291 pub num_args: u32,
1292 pub fe_pos: u32,
1293 pub fe_iter_idx: u32,
1294 pub access_flags: u32,
1295 pub property_guard: u32,
1296 pub constant_flags: u32,
1297 pub extra: u32,
1298}
1299#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1300const _: () = {
1301 ["Size of _zval_struct__bindgen_ty_2"]
1302 [::std::mem::size_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1303 ["Alignment of _zval_struct__bindgen_ty_2"]
1304 [::std::mem::align_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1305 ["Offset of field: _zval_struct__bindgen_ty_2::next"]
1306 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, next) - 0usize];
1307 ["Offset of field: _zval_struct__bindgen_ty_2::cache_slot"]
1308 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, cache_slot) - 0usize];
1309 ["Offset of field: _zval_struct__bindgen_ty_2::opline_num"]
1310 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, opline_num) - 0usize];
1311 ["Offset of field: _zval_struct__bindgen_ty_2::lineno"]
1312 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, lineno) - 0usize];
1313 ["Offset of field: _zval_struct__bindgen_ty_2::num_args"]
1314 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, num_args) - 0usize];
1315 ["Offset of field: _zval_struct__bindgen_ty_2::fe_pos"]
1316 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_pos) - 0usize];
1317 ["Offset of field: _zval_struct__bindgen_ty_2::fe_iter_idx"]
1318 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_iter_idx) - 0usize];
1319 ["Offset of field: _zval_struct__bindgen_ty_2::access_flags"]
1320 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, access_flags) - 0usize];
1321 ["Offset of field: _zval_struct__bindgen_ty_2::property_guard"]
1322 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, property_guard) - 0usize];
1323 ["Offset of field: _zval_struct__bindgen_ty_2::constant_flags"]
1324 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, constant_flags) - 0usize];
1325 ["Offset of field: _zval_struct__bindgen_ty_2::extra"]
1326 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, extra) - 0usize];
1327};
1328#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1329const _: () = {
1330 ["Size of _zval_struct"][::std::mem::size_of::<_zval_struct>() - 16usize];
1331 ["Alignment of _zval_struct"][::std::mem::align_of::<_zval_struct>() - 8usize];
1332 ["Offset of field: _zval_struct::value"][::std::mem::offset_of!(_zval_struct, value) - 0usize];
1333 ["Offset of field: _zval_struct::u1"][::std::mem::offset_of!(_zval_struct, u1) - 8usize];
1334 ["Offset of field: _zval_struct::u2"][::std::mem::offset_of!(_zval_struct, u2) - 12usize];
1335};
1336#[repr(C)]
1337#[derive(Copy, Clone)]
1338pub struct _zend_refcounted_h {
1339 pub refcount: u32,
1340 pub u: _zend_refcounted_h__bindgen_ty_1,
1341}
1342#[repr(C)]
1343#[derive(Copy, Clone)]
1344pub union _zend_refcounted_h__bindgen_ty_1 {
1345 pub type_info: u32,
1346}
1347#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1348const _: () = {
1349 ["Size of _zend_refcounted_h__bindgen_ty_1"]
1350 [::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1351 ["Alignment of _zend_refcounted_h__bindgen_ty_1"]
1352 [::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1353 ["Offset of field: _zend_refcounted_h__bindgen_ty_1::type_info"]
1354 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1, type_info) - 0usize];
1355};
1356#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1357const _: () = {
1358 ["Size of _zend_refcounted_h"][::std::mem::size_of::<_zend_refcounted_h>() - 8usize];
1359 ["Alignment of _zend_refcounted_h"][::std::mem::align_of::<_zend_refcounted_h>() - 4usize];
1360 ["Offset of field: _zend_refcounted_h::refcount"]
1361 [::std::mem::offset_of!(_zend_refcounted_h, refcount) - 0usize];
1362 ["Offset of field: _zend_refcounted_h::u"]
1363 [::std::mem::offset_of!(_zend_refcounted_h, u) - 4usize];
1364};
1365pub type zend_refcounted_h = _zend_refcounted_h;
1366#[repr(C)]
1367#[derive(Copy, Clone)]
1368pub struct _zend_refcounted {
1369 pub gc: zend_refcounted_h,
1370}
1371#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1372const _: () = {
1373 ["Size of _zend_refcounted"][::std::mem::size_of::<_zend_refcounted>() - 8usize];
1374 ["Alignment of _zend_refcounted"][::std::mem::align_of::<_zend_refcounted>() - 4usize];
1375 ["Offset of field: _zend_refcounted::gc"]
1376 [::std::mem::offset_of!(_zend_refcounted, gc) - 0usize];
1377};
1378#[repr(C)]
1379#[derive(Copy, Clone)]
1380pub struct _zend_string {
1381 pub gc: zend_refcounted_h,
1382 pub h: zend_ulong,
1383 pub len: usize,
1384 pub val: [::std::os::raw::c_char; 1usize],
1385}
1386#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1387const _: () = {
1388 ["Size of _zend_string"][::std::mem::size_of::<_zend_string>() - 32usize];
1389 ["Alignment of _zend_string"][::std::mem::align_of::<_zend_string>() - 8usize];
1390 ["Offset of field: _zend_string::gc"][::std::mem::offset_of!(_zend_string, gc) - 0usize];
1391 ["Offset of field: _zend_string::h"][::std::mem::offset_of!(_zend_string, h) - 8usize];
1392 ["Offset of field: _zend_string::len"][::std::mem::offset_of!(_zend_string, len) - 16usize];
1393 ["Offset of field: _zend_string::val"][::std::mem::offset_of!(_zend_string, val) - 24usize];
1394};
1395#[repr(C)]
1396#[derive(Copy, Clone)]
1397pub struct _Bucket {
1398 pub val: zval,
1399 pub h: zend_ulong,
1400 pub key: *mut zend_string,
1401}
1402#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1403const _: () = {
1404 ["Size of _Bucket"][::std::mem::size_of::<_Bucket>() - 32usize];
1405 ["Alignment of _Bucket"][::std::mem::align_of::<_Bucket>() - 8usize];
1406 ["Offset of field: _Bucket::val"][::std::mem::offset_of!(_Bucket, val) - 0usize];
1407 ["Offset of field: _Bucket::h"][::std::mem::offset_of!(_Bucket, h) - 16usize];
1408 ["Offset of field: _Bucket::key"][::std::mem::offset_of!(_Bucket, key) - 24usize];
1409};
1410pub type Bucket = _Bucket;
1411pub type HashTable = _zend_array;
1412#[repr(C)]
1413#[derive(Copy, Clone)]
1414pub struct _zend_array {
1415 pub gc: zend_refcounted_h,
1416 pub u: _zend_array__bindgen_ty_1,
1417 pub nTableMask: u32,
1418 pub arData: *mut Bucket,
1419 pub nNumUsed: u32,
1420 pub nNumOfElements: u32,
1421 pub nTableSize: u32,
1422 pub nInternalPointer: u32,
1423 pub nNextFreeElement: zend_long,
1424 pub pDestructor: dtor_func_t,
1425}
1426#[repr(C)]
1427#[derive(Copy, Clone)]
1428pub union _zend_array__bindgen_ty_1 {
1429 pub v: _zend_array__bindgen_ty_1__bindgen_ty_1,
1430 pub flags: u32,
1431}
1432#[repr(C)]
1433#[derive(Debug, Copy, Clone)]
1434pub struct _zend_array__bindgen_ty_1__bindgen_ty_1 {
1435 pub flags: zend_uchar,
1436 pub _unused: zend_uchar,
1437 pub nIteratorsCount: zend_uchar,
1438 pub _unused2: zend_uchar,
1439}
1440#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1441const _: () = {
1442 ["Size of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1443 [::std::mem::size_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1444 ["Alignment of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1445 [::std::mem::align_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 1usize];
1446 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::flags"]
1447 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, flags) - 0usize];
1448 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::_unused"]
1449 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, _unused) - 1usize];
1450 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::nIteratorsCount"]
1451 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, nIteratorsCount) - 2usize];
1452 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::_unused2"]
1453 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, _unused2) - 3usize];
1454};
1455#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1456const _: () = {
1457 ["Size of _zend_array__bindgen_ty_1"]
1458 [::std::mem::size_of::<_zend_array__bindgen_ty_1>() - 4usize];
1459 ["Alignment of _zend_array__bindgen_ty_1"]
1460 [::std::mem::align_of::<_zend_array__bindgen_ty_1>() - 4usize];
1461 ["Offset of field: _zend_array__bindgen_ty_1::v"]
1462 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, v) - 0usize];
1463 ["Offset of field: _zend_array__bindgen_ty_1::flags"]
1464 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, flags) - 0usize];
1465};
1466#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1467const _: () = {
1468 ["Size of _zend_array"][::std::mem::size_of::<_zend_array>() - 56usize];
1469 ["Alignment of _zend_array"][::std::mem::align_of::<_zend_array>() - 8usize];
1470 ["Offset of field: _zend_array::gc"][::std::mem::offset_of!(_zend_array, gc) - 0usize];
1471 ["Offset of field: _zend_array::u"][::std::mem::offset_of!(_zend_array, u) - 8usize];
1472 ["Offset of field: _zend_array::nTableMask"]
1473 [::std::mem::offset_of!(_zend_array, nTableMask) - 12usize];
1474 ["Offset of field: _zend_array::arData"][::std::mem::offset_of!(_zend_array, arData) - 16usize];
1475 ["Offset of field: _zend_array::nNumUsed"]
1476 [::std::mem::offset_of!(_zend_array, nNumUsed) - 24usize];
1477 ["Offset of field: _zend_array::nNumOfElements"]
1478 [::std::mem::offset_of!(_zend_array, nNumOfElements) - 28usize];
1479 ["Offset of field: _zend_array::nTableSize"]
1480 [::std::mem::offset_of!(_zend_array, nTableSize) - 32usize];
1481 ["Offset of field: _zend_array::nInternalPointer"]
1482 [::std::mem::offset_of!(_zend_array, nInternalPointer) - 36usize];
1483 ["Offset of field: _zend_array::nNextFreeElement"]
1484 [::std::mem::offset_of!(_zend_array, nNextFreeElement) - 40usize];
1485 ["Offset of field: _zend_array::pDestructor"]
1486 [::std::mem::offset_of!(_zend_array, pDestructor) - 48usize];
1487};
1488pub type HashPosition = u32;
1489#[repr(C)]
1490#[derive(Debug, Copy, Clone)]
1491pub struct _HashTableIterator {
1492 pub ht: *mut HashTable,
1493 pub pos: HashPosition,
1494}
1495#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1496const _: () = {
1497 ["Size of _HashTableIterator"][::std::mem::size_of::<_HashTableIterator>() - 16usize];
1498 ["Alignment of _HashTableIterator"][::std::mem::align_of::<_HashTableIterator>() - 8usize];
1499 ["Offset of field: _HashTableIterator::ht"]
1500 [::std::mem::offset_of!(_HashTableIterator, ht) - 0usize];
1501 ["Offset of field: _HashTableIterator::pos"]
1502 [::std::mem::offset_of!(_HashTableIterator, pos) - 8usize];
1503};
1504pub type HashTableIterator = _HashTableIterator;
1505#[repr(C)]
1506#[derive(Copy, Clone)]
1507pub struct _zend_object {
1508 pub gc: zend_refcounted_h,
1509 pub handle: u32,
1510 pub ce: *mut zend_class_entry,
1511 pub handlers: *const zend_object_handlers,
1512 pub properties: *mut HashTable,
1513 pub properties_table: [zval; 1usize],
1514}
1515#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1516const _: () = {
1517 ["Size of _zend_object"][::std::mem::size_of::<_zend_object>() - 56usize];
1518 ["Alignment of _zend_object"][::std::mem::align_of::<_zend_object>() - 8usize];
1519 ["Offset of field: _zend_object::gc"][::std::mem::offset_of!(_zend_object, gc) - 0usize];
1520 ["Offset of field: _zend_object::handle"]
1521 [::std::mem::offset_of!(_zend_object, handle) - 8usize];
1522 ["Offset of field: _zend_object::ce"][::std::mem::offset_of!(_zend_object, ce) - 16usize];
1523 ["Offset of field: _zend_object::handlers"]
1524 [::std::mem::offset_of!(_zend_object, handlers) - 24usize];
1525 ["Offset of field: _zend_object::properties"]
1526 [::std::mem::offset_of!(_zend_object, properties) - 32usize];
1527 ["Offset of field: _zend_object::properties_table"]
1528 [::std::mem::offset_of!(_zend_object, properties_table) - 40usize];
1529};
1530#[repr(C)]
1531#[derive(Copy, Clone)]
1532pub struct _zend_resource {
1533 pub gc: zend_refcounted_h,
1534 pub handle: ::std::os::raw::c_int,
1535 pub type_: ::std::os::raw::c_int,
1536 pub ptr: *mut ::std::os::raw::c_void,
1537}
1538#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1539const _: () = {
1540 ["Size of _zend_resource"][::std::mem::size_of::<_zend_resource>() - 24usize];
1541 ["Alignment of _zend_resource"][::std::mem::align_of::<_zend_resource>() - 8usize];
1542 ["Offset of field: _zend_resource::gc"][::std::mem::offset_of!(_zend_resource, gc) - 0usize];
1543 ["Offset of field: _zend_resource::handle"]
1544 [::std::mem::offset_of!(_zend_resource, handle) - 8usize];
1545 ["Offset of field: _zend_resource::type_"]
1546 [::std::mem::offset_of!(_zend_resource, type_) - 12usize];
1547 ["Offset of field: _zend_resource::ptr"][::std::mem::offset_of!(_zend_resource, ptr) - 16usize];
1548};
1549#[repr(C)]
1550#[derive(Debug, Copy, Clone)]
1551pub struct zend_property_info_list {
1552 pub num: usize,
1553 pub num_allocated: usize,
1554 pub ptr: [*mut _zend_property_info; 1usize],
1555}
1556#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1557const _: () = {
1558 ["Size of zend_property_info_list"][::std::mem::size_of::<zend_property_info_list>() - 24usize];
1559 ["Alignment of zend_property_info_list"]
1560 [::std::mem::align_of::<zend_property_info_list>() - 8usize];
1561 ["Offset of field: zend_property_info_list::num"]
1562 [::std::mem::offset_of!(zend_property_info_list, num) - 0usize];
1563 ["Offset of field: zend_property_info_list::num_allocated"]
1564 [::std::mem::offset_of!(zend_property_info_list, num_allocated) - 8usize];
1565 ["Offset of field: zend_property_info_list::ptr"]
1566 [::std::mem::offset_of!(zend_property_info_list, ptr) - 16usize];
1567};
1568#[repr(C)]
1569#[derive(Copy, Clone)]
1570pub union zend_property_info_source_list {
1571 pub ptr: *mut _zend_property_info,
1572 pub list: usize,
1573}
1574#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1575const _: () = {
1576 ["Size of zend_property_info_source_list"]
1577 [::std::mem::size_of::<zend_property_info_source_list>() - 8usize];
1578 ["Alignment of zend_property_info_source_list"]
1579 [::std::mem::align_of::<zend_property_info_source_list>() - 8usize];
1580 ["Offset of field: zend_property_info_source_list::ptr"]
1581 [::std::mem::offset_of!(zend_property_info_source_list, ptr) - 0usize];
1582 ["Offset of field: zend_property_info_source_list::list"]
1583 [::std::mem::offset_of!(zend_property_info_source_list, list) - 0usize];
1584};
1585#[repr(C)]
1586#[derive(Copy, Clone)]
1587pub struct _zend_reference {
1588 pub gc: zend_refcounted_h,
1589 pub val: zval,
1590 pub sources: zend_property_info_source_list,
1591}
1592#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1593const _: () = {
1594 ["Size of _zend_reference"][::std::mem::size_of::<_zend_reference>() - 32usize];
1595 ["Alignment of _zend_reference"][::std::mem::align_of::<_zend_reference>() - 8usize];
1596 ["Offset of field: _zend_reference::gc"][::std::mem::offset_of!(_zend_reference, gc) - 0usize];
1597 ["Offset of field: _zend_reference::val"]
1598 [::std::mem::offset_of!(_zend_reference, val) - 8usize];
1599 ["Offset of field: _zend_reference::sources"]
1600 [::std::mem::offset_of!(_zend_reference, sources) - 24usize];
1601};
1602#[repr(C)]
1603#[derive(Copy, Clone)]
1604pub struct _zend_ast_ref {
1605 pub gc: zend_refcounted_h,
1606}
1607#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1608const _: () = {
1609 ["Size of _zend_ast_ref"][::std::mem::size_of::<_zend_ast_ref>() - 8usize];
1610 ["Alignment of _zend_ast_ref"][::std::mem::align_of::<_zend_ast_ref>() - 4usize];
1611 ["Offset of field: _zend_ast_ref::gc"][::std::mem::offset_of!(_zend_ast_ref, gc) - 0usize];
1612};
1613extern "C" {
1614 pub fn zend_map_ptr_reset();
1615}
1616extern "C" {
1617 pub fn zend_map_ptr_new() -> *mut ::std::os::raw::c_void;
1618}
1619extern "C" {
1620 pub fn zend_map_ptr_extend(last: usize);
1621}
1622#[repr(C)]
1623#[derive(Debug, Copy, Clone)]
1624pub struct _zend_leak_info {
1625 pub addr: *mut ::std::os::raw::c_void,
1626 pub size: usize,
1627 pub filename: *const ::std::os::raw::c_char,
1628 pub orig_filename: *const ::std::os::raw::c_char,
1629 pub lineno: u32,
1630 pub orig_lineno: u32,
1631}
1632#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1633const _: () = {
1634 ["Size of _zend_leak_info"][::std::mem::size_of::<_zend_leak_info>() - 40usize];
1635 ["Alignment of _zend_leak_info"][::std::mem::align_of::<_zend_leak_info>() - 8usize];
1636 ["Offset of field: _zend_leak_info::addr"]
1637 [::std::mem::offset_of!(_zend_leak_info, addr) - 0usize];
1638 ["Offset of field: _zend_leak_info::size"]
1639 [::std::mem::offset_of!(_zend_leak_info, size) - 8usize];
1640 ["Offset of field: _zend_leak_info::filename"]
1641 [::std::mem::offset_of!(_zend_leak_info, filename) - 16usize];
1642 ["Offset of field: _zend_leak_info::orig_filename"]
1643 [::std::mem::offset_of!(_zend_leak_info, orig_filename) - 24usize];
1644 ["Offset of field: _zend_leak_info::lineno"]
1645 [::std::mem::offset_of!(_zend_leak_info, lineno) - 32usize];
1646 ["Offset of field: _zend_leak_info::orig_lineno"]
1647 [::std::mem::offset_of!(_zend_leak_info, orig_lineno) - 36usize];
1648};
1649pub type zend_leak_info = _zend_leak_info;
1650extern "C" {
1651 pub fn zend_strndup(
1652 s: *const ::std::os::raw::c_char,
1653 length: usize,
1654 ) -> *mut ::std::os::raw::c_char;
1655}
1656extern "C" {
1657 pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> usize;
1658}
1659extern "C" {
1660 pub fn zend_set_memory_limit(memory_limit: usize);
1661}
1662extern "C" {
1663 pub fn zend_memory_usage(real_usage: bool) -> usize;
1664}
1665extern "C" {
1666 pub fn zend_memory_peak_usage(real_usage: bool) -> usize;
1667}
1668#[repr(C)]
1669#[derive(Debug, Copy, Clone)]
1670pub struct _zend_mm_heap {
1671 _unused: [u8; 0],
1672}
1673pub type zend_mm_heap = _zend_mm_heap;
1674extern "C" {
1675 pub fn zend_mm_startup() -> *mut zend_mm_heap;
1676}
1677extern "C" {
1678 pub fn zend_mm_shutdown(heap: *mut zend_mm_heap, full_shutdown: bool, silent: bool);
1679}
1680extern "C" {
1681 pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: usize) -> *mut ::std::os::raw::c_void;
1682}
1683extern "C" {
1684 pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
1685}
1686extern "C" {
1687 pub fn _zend_mm_realloc(
1688 heap: *mut zend_mm_heap,
1689 p: *mut ::std::os::raw::c_void,
1690 size: usize,
1691 ) -> *mut ::std::os::raw::c_void;
1692}
1693extern "C" {
1694 pub fn _zend_mm_realloc2(
1695 heap: *mut zend_mm_heap,
1696 p: *mut ::std::os::raw::c_void,
1697 size: usize,
1698 copy_size: usize,
1699 ) -> *mut ::std::os::raw::c_void;
1700}
1701extern "C" {
1702 pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> usize;
1703}
1704extern "C" {
1705 pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
1706}
1707extern "C" {
1708 pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
1709}
1710extern "C" {
1711 pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> usize;
1712}
1713extern "C" {
1714 pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> bool;
1715}
1716extern "C" {
1717 pub fn zend_mm_set_custom_handlers(
1718 heap: *mut zend_mm_heap,
1719 _malloc: ::std::option::Option<
1720 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1721 >,
1722 _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1723 _realloc: ::std::option::Option<
1724 unsafe extern "C" fn(
1725 arg1: *mut ::std::os::raw::c_void,
1726 arg2: usize,
1727 ) -> *mut ::std::os::raw::c_void,
1728 >,
1729 );
1730}
1731extern "C" {
1732 pub fn zend_mm_get_custom_handlers(
1733 heap: *mut zend_mm_heap,
1734 _malloc: *mut ::std::option::Option<
1735 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1736 >,
1737 _free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1738 _realloc: *mut ::std::option::Option<
1739 unsafe extern "C" fn(
1740 arg1: *mut ::std::os::raw::c_void,
1741 arg2: usize,
1742 ) -> *mut ::std::os::raw::c_void,
1743 >,
1744 );
1745}
1746pub type zend_mm_storage = _zend_mm_storage;
1747pub type zend_mm_chunk_alloc_t = ::std::option::Option<
1748 unsafe extern "C" fn(
1749 storage: *mut zend_mm_storage,
1750 size: usize,
1751 alignment: usize,
1752 ) -> *mut ::std::os::raw::c_void,
1753>;
1754pub type zend_mm_chunk_free_t = ::std::option::Option<
1755 unsafe extern "C" fn(
1756 storage: *mut zend_mm_storage,
1757 chunk: *mut ::std::os::raw::c_void,
1758 size: usize,
1759 ),
1760>;
1761pub type zend_mm_chunk_truncate_t = ::std::option::Option<
1762 unsafe extern "C" fn(
1763 storage: *mut zend_mm_storage,
1764 chunk: *mut ::std::os::raw::c_void,
1765 old_size: usize,
1766 new_size: usize,
1767 ) -> bool,
1768>;
1769pub type zend_mm_chunk_extend_t = ::std::option::Option<
1770 unsafe extern "C" fn(
1771 storage: *mut zend_mm_storage,
1772 chunk: *mut ::std::os::raw::c_void,
1773 old_size: usize,
1774 new_size: usize,
1775 ) -> bool,
1776>;
1777#[repr(C)]
1778#[derive(Debug, Copy, Clone)]
1779pub struct _zend_mm_handlers {
1780 pub chunk_alloc: zend_mm_chunk_alloc_t,
1781 pub chunk_free: zend_mm_chunk_free_t,
1782 pub chunk_truncate: zend_mm_chunk_truncate_t,
1783 pub chunk_extend: zend_mm_chunk_extend_t,
1784}
1785#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1786const _: () = {
1787 ["Size of _zend_mm_handlers"][::std::mem::size_of::<_zend_mm_handlers>() - 32usize];
1788 ["Alignment of _zend_mm_handlers"][::std::mem::align_of::<_zend_mm_handlers>() - 8usize];
1789 ["Offset of field: _zend_mm_handlers::chunk_alloc"]
1790 [::std::mem::offset_of!(_zend_mm_handlers, chunk_alloc) - 0usize];
1791 ["Offset of field: _zend_mm_handlers::chunk_free"]
1792 [::std::mem::offset_of!(_zend_mm_handlers, chunk_free) - 8usize];
1793 ["Offset of field: _zend_mm_handlers::chunk_truncate"]
1794 [::std::mem::offset_of!(_zend_mm_handlers, chunk_truncate) - 16usize];
1795 ["Offset of field: _zend_mm_handlers::chunk_extend"]
1796 [::std::mem::offset_of!(_zend_mm_handlers, chunk_extend) - 24usize];
1797};
1798pub type zend_mm_handlers = _zend_mm_handlers;
1799#[repr(C)]
1800#[derive(Debug, Copy, Clone)]
1801pub struct _zend_mm_storage {
1802 pub handlers: zend_mm_handlers,
1803 pub data: *mut ::std::os::raw::c_void,
1804}
1805#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1806const _: () = {
1807 ["Size of _zend_mm_storage"][::std::mem::size_of::<_zend_mm_storage>() - 40usize];
1808 ["Alignment of _zend_mm_storage"][::std::mem::align_of::<_zend_mm_storage>() - 8usize];
1809 ["Offset of field: _zend_mm_storage::handlers"]
1810 [::std::mem::offset_of!(_zend_mm_storage, handlers) - 0usize];
1811 ["Offset of field: _zend_mm_storage::data"]
1812 [::std::mem::offset_of!(_zend_mm_storage, data) - 32usize];
1813};
1814extern "C" {
1815 pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
1816}
1817extern "C" {
1818 pub fn zend_mm_startup_ex(
1819 handlers: *const zend_mm_handlers,
1820 data: *mut ::std::os::raw::c_void,
1821 data_size: usize,
1822 ) -> *mut zend_mm_heap;
1823}
1824#[repr(C)]
1825#[derive(Debug, Copy, Clone)]
1826pub struct _zend_llist_element {
1827 pub next: *mut _zend_llist_element,
1828 pub prev: *mut _zend_llist_element,
1829 pub data: [::std::os::raw::c_char; 1usize],
1830}
1831#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1832const _: () = {
1833 ["Size of _zend_llist_element"][::std::mem::size_of::<_zend_llist_element>() - 24usize];
1834 ["Alignment of _zend_llist_element"][::std::mem::align_of::<_zend_llist_element>() - 8usize];
1835 ["Offset of field: _zend_llist_element::next"]
1836 [::std::mem::offset_of!(_zend_llist_element, next) - 0usize];
1837 ["Offset of field: _zend_llist_element::prev"]
1838 [::std::mem::offset_of!(_zend_llist_element, prev) - 8usize];
1839 ["Offset of field: _zend_llist_element::data"]
1840 [::std::mem::offset_of!(_zend_llist_element, data) - 16usize];
1841};
1842pub type zend_llist_element = _zend_llist_element;
1843pub type llist_dtor_func_t =
1844 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1845pub type llist_compare_func_t = ::std::option::Option<
1846 unsafe extern "C" fn(
1847 arg1: *mut *const zend_llist_element,
1848 arg2: *mut *const zend_llist_element,
1849 ) -> ::std::os::raw::c_int,
1850>;
1851pub type llist_apply_with_args_func_t = ::std::option::Option<
1852 unsafe extern "C" fn(
1853 data: *mut ::std::os::raw::c_void,
1854 num_args: ::std::os::raw::c_int,
1855 args: *mut __va_list_tag,
1856 ),
1857>;
1858pub type llist_apply_with_arg_func_t = ::std::option::Option<
1859 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
1860>;
1861pub type llist_apply_func_t =
1862 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1863#[repr(C)]
1864#[derive(Debug, Copy, Clone)]
1865pub struct _zend_llist {
1866 pub head: *mut zend_llist_element,
1867 pub tail: *mut zend_llist_element,
1868 pub count: usize,
1869 pub size: usize,
1870 pub dtor: llist_dtor_func_t,
1871 pub persistent: ::std::os::raw::c_uchar,
1872 pub traverse_ptr: *mut zend_llist_element,
1873}
1874#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1875const _: () = {
1876 ["Size of _zend_llist"][::std::mem::size_of::<_zend_llist>() - 56usize];
1877 ["Alignment of _zend_llist"][::std::mem::align_of::<_zend_llist>() - 8usize];
1878 ["Offset of field: _zend_llist::head"][::std::mem::offset_of!(_zend_llist, head) - 0usize];
1879 ["Offset of field: _zend_llist::tail"][::std::mem::offset_of!(_zend_llist, tail) - 8usize];
1880 ["Offset of field: _zend_llist::count"][::std::mem::offset_of!(_zend_llist, count) - 16usize];
1881 ["Offset of field: _zend_llist::size"][::std::mem::offset_of!(_zend_llist, size) - 24usize];
1882 ["Offset of field: _zend_llist::dtor"][::std::mem::offset_of!(_zend_llist, dtor) - 32usize];
1883 ["Offset of field: _zend_llist::persistent"]
1884 [::std::mem::offset_of!(_zend_llist, persistent) - 40usize];
1885 ["Offset of field: _zend_llist::traverse_ptr"]
1886 [::std::mem::offset_of!(_zend_llist, traverse_ptr) - 48usize];
1887};
1888pub type zend_llist = _zend_llist;
1889pub type zend_llist_position = *mut zend_llist_element;
1890extern "C" {
1891 pub fn zend_llist_init(
1892 l: *mut zend_llist,
1893 size: usize,
1894 dtor: llist_dtor_func_t,
1895 persistent: ::std::os::raw::c_uchar,
1896 );
1897}
1898extern "C" {
1899 pub fn zend_llist_add_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
1900}
1901extern "C" {
1902 pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *const ::std::os::raw::c_void);
1903}
1904extern "C" {
1905 pub fn zend_llist_del_element(
1906 l: *mut zend_llist,
1907 element: *mut ::std::os::raw::c_void,
1908 compare: ::std::option::Option<
1909 unsafe extern "C" fn(
1910 element1: *mut ::std::os::raw::c_void,
1911 element2: *mut ::std::os::raw::c_void,
1912 ) -> ::std::os::raw::c_int,
1913 >,
1914 );
1915}
1916extern "C" {
1917 pub fn zend_llist_destroy(l: *mut zend_llist);
1918}
1919extern "C" {
1920 pub fn zend_llist_clean(l: *mut zend_llist);
1921}
1922extern "C" {
1923 pub fn zend_llist_remove_tail(l: *mut zend_llist);
1924}
1925extern "C" {
1926 pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
1927}
1928extern "C" {
1929 pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
1930}
1931extern "C" {
1932 pub fn zend_llist_apply_with_del(
1933 l: *mut zend_llist,
1934 func: ::std::option::Option<
1935 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1936 >,
1937 );
1938}
1939extern "C" {
1940 pub fn zend_llist_apply_with_argument(
1941 l: *mut zend_llist,
1942 func: llist_apply_with_arg_func_t,
1943 arg: *mut ::std::os::raw::c_void,
1944 );
1945}
1946extern "C" {
1947 pub fn zend_llist_apply_with_arguments(
1948 l: *mut zend_llist,
1949 func: llist_apply_with_args_func_t,
1950 num_args: ::std::os::raw::c_int,
1951 ...
1952 );
1953}
1954extern "C" {
1955 pub fn zend_llist_count(l: *mut zend_llist) -> usize;
1956}
1957extern "C" {
1958 pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
1959}
1960extern "C" {
1961 pub fn zend_llist_get_first_ex(
1962 l: *mut zend_llist,
1963 pos: *mut zend_llist_position,
1964 ) -> *mut ::std::os::raw::c_void;
1965}
1966extern "C" {
1967 pub fn zend_llist_get_last_ex(
1968 l: *mut zend_llist,
1969 pos: *mut zend_llist_position,
1970 ) -> *mut ::std::os::raw::c_void;
1971}
1972extern "C" {
1973 pub fn zend_llist_get_next_ex(
1974 l: *mut zend_llist,
1975 pos: *mut zend_llist_position,
1976 ) -> *mut ::std::os::raw::c_void;
1977}
1978extern "C" {
1979 pub fn zend_llist_get_prev_ex(
1980 l: *mut zend_llist,
1981 pos: *mut zend_llist_position,
1982 ) -> *mut ::std::os::raw::c_void;
1983}
1984pub type zend_string_copy_storage_func_t = ::std::option::Option<unsafe extern "C" fn()>;
1985pub type zend_new_interned_string_func_t =
1986 ::std::option::Option<unsafe extern "C" fn(str_: *mut zend_string) -> *mut zend_string>;
1987pub type zend_string_init_interned_func_t = ::std::option::Option<
1988 unsafe extern "C" fn(
1989 str_: *const ::std::os::raw::c_char,
1990 size: usize,
1991 permanent: bool,
1992 ) -> *mut zend_string,
1993>;
1994extern "C" {
1995 pub static mut zend_new_interned_string: zend_new_interned_string_func_t;
1996}
1997extern "C" {
1998 pub static mut zend_string_init_interned: zend_string_init_interned_func_t;
1999}
2000extern "C" {
2001 pub fn zend_string_hash_func(str_: *mut zend_string) -> zend_ulong;
2002}
2003extern "C" {
2004 pub fn zend_hash_func(str_: *const ::std::os::raw::c_char, len: usize) -> zend_ulong;
2005}
2006extern "C" {
2007 pub fn zend_interned_string_find_permanent(str_: *mut zend_string) -> *mut zend_string;
2008}
2009extern "C" {
2010 pub fn zend_string_concat2(
2011 str1: *const ::std::os::raw::c_char,
2012 str1_len: usize,
2013 str2: *const ::std::os::raw::c_char,
2014 str2_len: usize,
2015 ) -> *mut zend_string;
2016}
2017extern "C" {
2018 pub fn zend_string_concat3(
2019 str1: *const ::std::os::raw::c_char,
2020 str1_len: usize,
2021 str2: *const ::std::os::raw::c_char,
2022 str2_len: usize,
2023 str3: *const ::std::os::raw::c_char,
2024 str3_len: usize,
2025 ) -> *mut zend_string;
2026}
2027extern "C" {
2028 pub fn zend_interned_strings_init();
2029}
2030extern "C" {
2031 pub fn zend_interned_strings_dtor();
2032}
2033extern "C" {
2034 pub fn zend_interned_strings_activate();
2035}
2036extern "C" {
2037 pub fn zend_interned_strings_deactivate();
2038}
2039extern "C" {
2040 pub fn zend_interned_strings_set_request_storage_handlers(
2041 handler: zend_new_interned_string_func_t,
2042 init_handler: zend_string_init_interned_func_t,
2043 );
2044}
2045extern "C" {
2046 pub fn zend_interned_strings_switch_storage(request: zend_bool);
2047}
2048extern "C" {
2049 pub static mut zend_empty_string: *mut zend_string;
2050}
2051extern "C" {
2052 pub static mut zend_one_char_string: [*mut zend_string; 256usize];
2053}
2054extern "C" {
2055 pub static mut zend_known_strings: *mut *mut zend_string;
2056}
2057extern "C" {
2058 pub fn zend_string_equal_val(s1: *mut zend_string, s2: *mut zend_string) -> zend_bool;
2059}
2060pub const _zend_known_string_id_ZEND_STR_FILE: _zend_known_string_id = 0;
2061pub const _zend_known_string_id_ZEND_STR_LINE: _zend_known_string_id = 1;
2062pub const _zend_known_string_id_ZEND_STR_FUNCTION: _zend_known_string_id = 2;
2063pub const _zend_known_string_id_ZEND_STR_CLASS: _zend_known_string_id = 3;
2064pub const _zend_known_string_id_ZEND_STR_OBJECT: _zend_known_string_id = 4;
2065pub const _zend_known_string_id_ZEND_STR_TYPE: _zend_known_string_id = 5;
2066pub const _zend_known_string_id_ZEND_STR_OBJECT_OPERATOR: _zend_known_string_id = 6;
2067pub const _zend_known_string_id_ZEND_STR_PAAMAYIM_NEKUDOTAYIM: _zend_known_string_id = 7;
2068pub const _zend_known_string_id_ZEND_STR_ARGS: _zend_known_string_id = 8;
2069pub const _zend_known_string_id_ZEND_STR_UNKNOWN: _zend_known_string_id = 9;
2070pub const _zend_known_string_id_ZEND_STR_EVAL: _zend_known_string_id = 10;
2071pub const _zend_known_string_id_ZEND_STR_INCLUDE: _zend_known_string_id = 11;
2072pub const _zend_known_string_id_ZEND_STR_REQUIRE: _zend_known_string_id = 12;
2073pub const _zend_known_string_id_ZEND_STR_INCLUDE_ONCE: _zend_known_string_id = 13;
2074pub const _zend_known_string_id_ZEND_STR_REQUIRE_ONCE: _zend_known_string_id = 14;
2075pub const _zend_known_string_id_ZEND_STR_SCALAR: _zend_known_string_id = 15;
2076pub const _zend_known_string_id_ZEND_STR_ERROR_REPORTING: _zend_known_string_id = 16;
2077pub const _zend_known_string_id_ZEND_STR_STATIC: _zend_known_string_id = 17;
2078pub const _zend_known_string_id_ZEND_STR_THIS: _zend_known_string_id = 18;
2079pub const _zend_known_string_id_ZEND_STR_VALUE: _zend_known_string_id = 19;
2080pub const _zend_known_string_id_ZEND_STR_KEY: _zend_known_string_id = 20;
2081pub const _zend_known_string_id_ZEND_STR_MAGIC_INVOKE: _zend_known_string_id = 21;
2082pub const _zend_known_string_id_ZEND_STR_PREVIOUS: _zend_known_string_id = 22;
2083pub const _zend_known_string_id_ZEND_STR_CODE: _zend_known_string_id = 23;
2084pub const _zend_known_string_id_ZEND_STR_MESSAGE: _zend_known_string_id = 24;
2085pub const _zend_known_string_id_ZEND_STR_SEVERITY: _zend_known_string_id = 25;
2086pub const _zend_known_string_id_ZEND_STR_STRING: _zend_known_string_id = 26;
2087pub const _zend_known_string_id_ZEND_STR_TRACE: _zend_known_string_id = 27;
2088pub const _zend_known_string_id_ZEND_STR_SCHEME: _zend_known_string_id = 28;
2089pub const _zend_known_string_id_ZEND_STR_HOST: _zend_known_string_id = 29;
2090pub const _zend_known_string_id_ZEND_STR_PORT: _zend_known_string_id = 30;
2091pub const _zend_known_string_id_ZEND_STR_USER: _zend_known_string_id = 31;
2092pub const _zend_known_string_id_ZEND_STR_PASS: _zend_known_string_id = 32;
2093pub const _zend_known_string_id_ZEND_STR_PATH: _zend_known_string_id = 33;
2094pub const _zend_known_string_id_ZEND_STR_QUERY: _zend_known_string_id = 34;
2095pub const _zend_known_string_id_ZEND_STR_FRAGMENT: _zend_known_string_id = 35;
2096pub const _zend_known_string_id_ZEND_STR_NULL: _zend_known_string_id = 36;
2097pub const _zend_known_string_id_ZEND_STR_BOOLEAN: _zend_known_string_id = 37;
2098pub const _zend_known_string_id_ZEND_STR_INTEGER: _zend_known_string_id = 38;
2099pub const _zend_known_string_id_ZEND_STR_DOUBLE: _zend_known_string_id = 39;
2100pub const _zend_known_string_id_ZEND_STR_ARRAY: _zend_known_string_id = 40;
2101pub const _zend_known_string_id_ZEND_STR_RESOURCE: _zend_known_string_id = 41;
2102pub const _zend_known_string_id_ZEND_STR_CLOSED_RESOURCE: _zend_known_string_id = 42;
2103pub const _zend_known_string_id_ZEND_STR_NAME: _zend_known_string_id = 43;
2104pub const _zend_known_string_id_ZEND_STR_ARGV: _zend_known_string_id = 44;
2105pub const _zend_known_string_id_ZEND_STR_ARGC: _zend_known_string_id = 45;
2106pub const _zend_known_string_id_ZEND_STR_ARRAY_CAPITALIZED: _zend_known_string_id = 46;
2107pub const _zend_known_string_id_ZEND_STR_BOOL: _zend_known_string_id = 47;
2108pub const _zend_known_string_id_ZEND_STR_INT: _zend_known_string_id = 48;
2109pub const _zend_known_string_id_ZEND_STR_FLOAT: _zend_known_string_id = 49;
2110pub const _zend_known_string_id_ZEND_STR_CALLABLE: _zend_known_string_id = 50;
2111pub const _zend_known_string_id_ZEND_STR_ITERABLE: _zend_known_string_id = 51;
2112pub const _zend_known_string_id_ZEND_STR_VOID: _zend_known_string_id = 52;
2113pub const _zend_known_string_id_ZEND_STR_FALSE: _zend_known_string_id = 53;
2114pub const _zend_known_string_id_ZEND_STR_NULL_LOWERCASE: _zend_known_string_id = 54;
2115pub const _zend_known_string_id_ZEND_STR_MIXED: _zend_known_string_id = 55;
2116pub const _zend_known_string_id_ZEND_STR_LAST_KNOWN: _zend_known_string_id = 56;
2117pub type _zend_known_string_id = ::std::os::raw::c_uint;
2118pub use self::_zend_known_string_id as zend_known_string_id;
2119extern "C" {
2120 pub static zend_empty_array: HashTable;
2121}
2122#[repr(C)]
2123#[derive(Debug, Copy, Clone)]
2124pub struct _zend_hash_key {
2125 pub h: zend_ulong,
2126 pub key: *mut zend_string,
2127}
2128#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2129const _: () = {
2130 ["Size of _zend_hash_key"][::std::mem::size_of::<_zend_hash_key>() - 16usize];
2131 ["Alignment of _zend_hash_key"][::std::mem::align_of::<_zend_hash_key>() - 8usize];
2132 ["Offset of field: _zend_hash_key::h"][::std::mem::offset_of!(_zend_hash_key, h) - 0usize];
2133 ["Offset of field: _zend_hash_key::key"][::std::mem::offset_of!(_zend_hash_key, key) - 8usize];
2134};
2135pub type zend_hash_key = _zend_hash_key;
2136pub type merge_checker_func_t = ::std::option::Option<
2137 unsafe extern "C" fn(
2138 target_ht: *mut HashTable,
2139 source_data: *mut zval,
2140 hash_key: *mut zend_hash_key,
2141 pParam: *mut ::std::os::raw::c_void,
2142 ) -> zend_bool,
2143>;
2144extern "C" {
2145 pub fn _zend_hash_init(
2146 ht: *mut HashTable,
2147 nSize: u32,
2148 pDestructor: dtor_func_t,
2149 persistent: zend_bool,
2150 );
2151}
2152extern "C" {
2153 pub fn zend_hash_destroy(ht: *mut HashTable);
2154}
2155extern "C" {
2156 pub fn zend_hash_clean(ht: *mut HashTable);
2157}
2158extern "C" {
2159 pub fn zend_hash_real_init(ht: *mut HashTable, packed: zend_bool);
2160}
2161extern "C" {
2162 pub fn zend_hash_real_init_packed(ht: *mut HashTable);
2163}
2164extern "C" {
2165 pub fn zend_hash_real_init_mixed(ht: *mut HashTable);
2166}
2167extern "C" {
2168 pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
2169}
2170extern "C" {
2171 pub fn zend_hash_to_packed(ht: *mut HashTable);
2172}
2173extern "C" {
2174 pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: zend_bool);
2175}
2176extern "C" {
2177 pub fn zend_hash_discard(ht: *mut HashTable, nNumUsed: u32);
2178}
2179extern "C" {
2180 pub fn zend_hash_add_or_update(
2181 ht: *mut HashTable,
2182 key: *mut zend_string,
2183 pData: *mut zval,
2184 flag: u32,
2185 ) -> *mut zval;
2186}
2187extern "C" {
2188 pub fn zend_hash_update(
2189 ht: *mut HashTable,
2190 key: *mut zend_string,
2191 pData: *mut zval,
2192 ) -> *mut zval;
2193}
2194extern "C" {
2195 pub fn zend_hash_update_ind(
2196 ht: *mut HashTable,
2197 key: *mut zend_string,
2198 pData: *mut zval,
2199 ) -> *mut zval;
2200}
2201extern "C" {
2202 pub fn zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval) -> *mut zval;
2203}
2204extern "C" {
2205 pub fn zend_hash_add_new(
2206 ht: *mut HashTable,
2207 key: *mut zend_string,
2208 pData: *mut zval,
2209 ) -> *mut zval;
2210}
2211extern "C" {
2212 pub fn zend_hash_str_add_or_update(
2213 ht: *mut HashTable,
2214 key: *const ::std::os::raw::c_char,
2215 len: usize,
2216 pData: *mut zval,
2217 flag: u32,
2218 ) -> *mut zval;
2219}
2220extern "C" {
2221 pub fn zend_hash_str_update(
2222 ht: *mut HashTable,
2223 key: *const ::std::os::raw::c_char,
2224 len: usize,
2225 pData: *mut zval,
2226 ) -> *mut zval;
2227}
2228extern "C" {
2229 pub fn zend_hash_str_update_ind(
2230 ht: *mut HashTable,
2231 key: *const ::std::os::raw::c_char,
2232 len: usize,
2233 pData: *mut zval,
2234 ) -> *mut zval;
2235}
2236extern "C" {
2237 pub fn zend_hash_str_add(
2238 ht: *mut HashTable,
2239 key: *const ::std::os::raw::c_char,
2240 len: usize,
2241 pData: *mut zval,
2242 ) -> *mut zval;
2243}
2244extern "C" {
2245 pub fn zend_hash_str_add_new(
2246 ht: *mut HashTable,
2247 key: *const ::std::os::raw::c_char,
2248 len: usize,
2249 pData: *mut zval,
2250 ) -> *mut zval;
2251}
2252extern "C" {
2253 pub fn zend_hash_index_add_or_update(
2254 ht: *mut HashTable,
2255 h: zend_ulong,
2256 pData: *mut zval,
2257 flag: u32,
2258 ) -> *mut zval;
2259}
2260extern "C" {
2261 pub fn zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
2262}
2263extern "C" {
2264 pub fn zend_hash_index_add_new(
2265 ht: *mut HashTable,
2266 h: zend_ulong,
2267 pData: *mut zval,
2268 ) -> *mut zval;
2269}
2270extern "C" {
2271 pub fn zend_hash_index_update(ht: *mut HashTable, h: zend_ulong, pData: *mut zval)
2272 -> *mut zval;
2273}
2274extern "C" {
2275 pub fn zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2276}
2277extern "C" {
2278 pub fn zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2279}
2280extern "C" {
2281 pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
2282}
2283extern "C" {
2284 pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
2285}
2286extern "C" {
2287 pub fn zend_hash_str_add_empty_element(
2288 ht: *mut HashTable,
2289 key: *const ::std::os::raw::c_char,
2290 len: usize,
2291 ) -> *mut zval;
2292}
2293extern "C" {
2294 pub fn zend_hash_set_bucket_key(
2295 ht: *mut HashTable,
2296 p: *mut Bucket,
2297 key: *mut zend_string,
2298 ) -> *mut zval;
2299}
2300pub type apply_func_t =
2301 ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval) -> ::std::os::raw::c_int>;
2302pub type apply_func_arg_t = ::std::option::Option<
2303 unsafe extern "C" fn(
2304 pDest: *mut zval,
2305 argument: *mut ::std::os::raw::c_void,
2306 ) -> ::std::os::raw::c_int,
2307>;
2308pub type apply_func_args_t = ::std::option::Option<
2309 unsafe extern "C" fn(
2310 pDest: *mut zval,
2311 num_args: ::std::os::raw::c_int,
2312 args: *mut __va_list_tag,
2313 hash_key: *mut zend_hash_key,
2314 ) -> ::std::os::raw::c_int,
2315>;
2316extern "C" {
2317 pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
2318}
2319extern "C" {
2320 pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
2321}
2322extern "C" {
2323 pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
2324}
2325extern "C" {
2326 pub fn zend_hash_apply_with_argument(
2327 ht: *mut HashTable,
2328 apply_func: apply_func_arg_t,
2329 arg1: *mut ::std::os::raw::c_void,
2330 );
2331}
2332extern "C" {
2333 pub fn zend_hash_apply_with_arguments(
2334 ht: *mut HashTable,
2335 apply_func: apply_func_args_t,
2336 arg1: ::std::os::raw::c_int,
2337 ...
2338 );
2339}
2340extern "C" {
2341 pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
2342}
2343extern "C" {
2344 pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
2345}
2346extern "C" {
2347 pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> zend_result;
2348}
2349extern "C" {
2350 pub fn zend_hash_str_del(
2351 ht: *mut HashTable,
2352 key: *const ::std::os::raw::c_char,
2353 len: usize,
2354 ) -> zend_result;
2355}
2356extern "C" {
2357 pub fn zend_hash_str_del_ind(
2358 ht: *mut HashTable,
2359 key: *const ::std::os::raw::c_char,
2360 len: usize,
2361 ) -> zend_result;
2362}
2363extern "C" {
2364 pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> zend_result;
2365}
2366extern "C" {
2367 pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
2368}
2369extern "C" {
2370 pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
2371}
2372extern "C" {
2373 pub fn zend_hash_str_find(
2374 ht: *const HashTable,
2375 key: *const ::std::os::raw::c_char,
2376 len: usize,
2377 ) -> *mut zval;
2378}
2379extern "C" {
2380 pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2381}
2382extern "C" {
2383 pub fn _zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2384}
2385extern "C" {
2386 pub fn _zend_hash_find_known_hash(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
2387}
2388extern "C" {
2389 pub fn zend_hash_get_current_pos(ht: *const HashTable) -> HashPosition;
2390}
2391extern "C" {
2392 pub fn zend_hash_move_forward_ex(ht: *mut HashTable, pos: *mut HashPosition) -> zend_result;
2393}
2394extern "C" {
2395 pub fn zend_hash_move_backwards_ex(ht: *mut HashTable, pos: *mut HashPosition) -> zend_result;
2396}
2397extern "C" {
2398 pub fn zend_hash_get_current_key_ex(
2399 ht: *const HashTable,
2400 str_index: *mut *mut zend_string,
2401 num_index: *mut zend_ulong,
2402 pos: *mut HashPosition,
2403 ) -> ::std::os::raw::c_int;
2404}
2405extern "C" {
2406 pub fn zend_hash_get_current_key_zval_ex(
2407 ht: *const HashTable,
2408 key: *mut zval,
2409 pos: *mut HashPosition,
2410 );
2411}
2412extern "C" {
2413 pub fn zend_hash_get_current_key_type_ex(
2414 ht: *mut HashTable,
2415 pos: *mut HashPosition,
2416 ) -> ::std::os::raw::c_int;
2417}
2418extern "C" {
2419 pub fn zend_hash_get_current_data_ex(ht: *mut HashTable, pos: *mut HashPosition) -> *mut zval;
2420}
2421extern "C" {
2422 pub fn zend_hash_internal_pointer_reset_ex(ht: *mut HashTable, pos: *mut HashPosition);
2423}
2424extern "C" {
2425 pub fn zend_hash_internal_pointer_end_ex(ht: *mut HashTable, pos: *mut HashPosition);
2426}
2427extern "C" {
2428 pub fn zend_hash_copy(
2429 target: *mut HashTable,
2430 source: *mut HashTable,
2431 pCopyConstructor: copy_ctor_func_t,
2432 );
2433}
2434extern "C" {
2435 pub fn zend_hash_merge(
2436 target: *mut HashTable,
2437 source: *mut HashTable,
2438 pCopyConstructor: copy_ctor_func_t,
2439 overwrite: zend_bool,
2440 );
2441}
2442extern "C" {
2443 pub fn zend_hash_merge_ex(
2444 target: *mut HashTable,
2445 source: *mut HashTable,
2446 pCopyConstructor: copy_ctor_func_t,
2447 pMergeSource: merge_checker_func_t,
2448 pParam: *mut ::std::os::raw::c_void,
2449 );
2450}
2451extern "C" {
2452 pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
2453}
2454extern "C" {
2455 pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
2456}
2457extern "C" {
2458 pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
2459}
2460pub type bucket_compare_func_t = ::std::option::Option<
2461 unsafe extern "C" fn(a: *mut Bucket, b: *mut Bucket) -> ::std::os::raw::c_int,
2462>;
2463extern "C" {
2464 pub fn zend_hash_compare(
2465 ht1: *mut HashTable,
2466 ht2: *mut HashTable,
2467 compar: compare_func_t,
2468 ordered: zend_bool,
2469 ) -> ::std::os::raw::c_int;
2470}
2471extern "C" {
2472 pub fn zend_hash_sort_ex(
2473 ht: *mut HashTable,
2474 sort_func: sort_func_t,
2475 compare_func: bucket_compare_func_t,
2476 renumber: zend_bool,
2477 );
2478}
2479extern "C" {
2480 pub fn zend_hash_minmax(
2481 ht: *const HashTable,
2482 compar: bucket_compare_func_t,
2483 flag: u32,
2484 ) -> *mut zval;
2485}
2486extern "C" {
2487 pub fn zend_hash_rehash(ht: *mut HashTable);
2488}
2489extern "C" {
2490 pub fn _zend_new_array_0() -> *mut HashTable;
2491}
2492extern "C" {
2493 pub fn _zend_new_array(size: u32) -> *mut HashTable;
2494}
2495extern "C" {
2496 pub fn zend_new_pair(val1: *mut zval, val2: *mut zval) -> *mut HashTable;
2497}
2498extern "C" {
2499 pub fn zend_array_count(ht: *mut HashTable) -> u32;
2500}
2501extern "C" {
2502 pub fn zend_array_dup(source: *mut HashTable) -> *mut HashTable;
2503}
2504extern "C" {
2505 pub fn zend_array_destroy(ht: *mut HashTable);
2506}
2507extern "C" {
2508 pub fn zend_symtable_clean(ht: *mut HashTable);
2509}
2510extern "C" {
2511 pub fn zend_symtable_to_proptable(ht: *mut HashTable) -> *mut HashTable;
2512}
2513extern "C" {
2514 pub fn zend_proptable_to_symtable(
2515 ht: *mut HashTable,
2516 always_duplicate: zend_bool,
2517 ) -> *mut HashTable;
2518}
2519extern "C" {
2520 pub fn _zend_handle_numeric_str_ex(
2521 key: *const ::std::os::raw::c_char,
2522 length: usize,
2523 idx: *mut zend_ulong,
2524 ) -> bool;
2525}
2526extern "C" {
2527 pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
2528}
2529extern "C" {
2530 pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
2531}
2532extern "C" {
2533 pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
2534}
2535extern "C" {
2536 pub fn zend_hash_iterator_del(idx: u32);
2537}
2538extern "C" {
2539 pub fn zend_hash_iterators_lower_pos(ht: *mut HashTable, start: HashPosition) -> HashPosition;
2540}
2541extern "C" {
2542 pub fn _zend_hash_iterators_update(ht: *mut HashTable, from: HashPosition, to: HashPosition);
2543}
2544extern "C" {
2545 pub fn zend_hash_iterators_advance(ht: *mut HashTable, step: HashPosition);
2546}
2547extern "C" {
2548 pub fn zend_hash_str_find_ptr_lc(
2549 ht: *const HashTable,
2550 str_: *const ::std::os::raw::c_char,
2551 len: usize,
2552 ) -> *mut ::std::os::raw::c_void;
2553}
2554extern "C" {
2555 pub fn zend_hash_find_ptr_lc(
2556 ht: *const HashTable,
2557 key: *mut zend_string,
2558 ) -> *mut ::std::os::raw::c_void;
2559}
2560pub type zend_ast_kind = u16;
2561pub type zend_ast_attr = u16;
2562#[repr(C)]
2563#[derive(Debug, Copy, Clone)]
2564pub struct _zend_ast {
2565 pub kind: zend_ast_kind,
2566 pub attr: zend_ast_attr,
2567 pub lineno: u32,
2568 pub child: [*mut zend_ast; 1usize],
2569}
2570#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2571const _: () = {
2572 ["Size of _zend_ast"][::std::mem::size_of::<_zend_ast>() - 16usize];
2573 ["Alignment of _zend_ast"][::std::mem::align_of::<_zend_ast>() - 8usize];
2574 ["Offset of field: _zend_ast::kind"][::std::mem::offset_of!(_zend_ast, kind) - 0usize];
2575 ["Offset of field: _zend_ast::attr"][::std::mem::offset_of!(_zend_ast, attr) - 2usize];
2576 ["Offset of field: _zend_ast::lineno"][::std::mem::offset_of!(_zend_ast, lineno) - 4usize];
2577 ["Offset of field: _zend_ast::child"][::std::mem::offset_of!(_zend_ast, child) - 8usize];
2578};
2579#[repr(C)]
2580#[derive(Debug, Copy, Clone)]
2581pub struct _zend_ast_list {
2582 pub kind: zend_ast_kind,
2583 pub attr: zend_ast_attr,
2584 pub lineno: u32,
2585 pub children: u32,
2586 pub child: [*mut zend_ast; 1usize],
2587}
2588#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2589const _: () = {
2590 ["Size of _zend_ast_list"][::std::mem::size_of::<_zend_ast_list>() - 24usize];
2591 ["Alignment of _zend_ast_list"][::std::mem::align_of::<_zend_ast_list>() - 8usize];
2592 ["Offset of field: _zend_ast_list::kind"]
2593 [::std::mem::offset_of!(_zend_ast_list, kind) - 0usize];
2594 ["Offset of field: _zend_ast_list::attr"]
2595 [::std::mem::offset_of!(_zend_ast_list, attr) - 2usize];
2596 ["Offset of field: _zend_ast_list::lineno"]
2597 [::std::mem::offset_of!(_zend_ast_list, lineno) - 4usize];
2598 ["Offset of field: _zend_ast_list::children"]
2599 [::std::mem::offset_of!(_zend_ast_list, children) - 8usize];
2600 ["Offset of field: _zend_ast_list::child"]
2601 [::std::mem::offset_of!(_zend_ast_list, child) - 16usize];
2602};
2603pub type zend_ast_list = _zend_ast_list;
2604#[repr(C)]
2605#[derive(Copy, Clone)]
2606pub struct _zend_ast_zval {
2607 pub kind: zend_ast_kind,
2608 pub attr: zend_ast_attr,
2609 pub val: zval,
2610}
2611#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2612const _: () = {
2613 ["Size of _zend_ast_zval"][::std::mem::size_of::<_zend_ast_zval>() - 24usize];
2614 ["Alignment of _zend_ast_zval"][::std::mem::align_of::<_zend_ast_zval>() - 8usize];
2615 ["Offset of field: _zend_ast_zval::kind"]
2616 [::std::mem::offset_of!(_zend_ast_zval, kind) - 0usize];
2617 ["Offset of field: _zend_ast_zval::attr"]
2618 [::std::mem::offset_of!(_zend_ast_zval, attr) - 2usize];
2619 ["Offset of field: _zend_ast_zval::val"][::std::mem::offset_of!(_zend_ast_zval, val) - 8usize];
2620};
2621pub type zend_ast_zval = _zend_ast_zval;
2622#[repr(C)]
2623#[derive(Debug, Copy, Clone)]
2624pub struct _zend_ast_decl {
2625 pub kind: zend_ast_kind,
2626 pub attr: zend_ast_attr,
2627 pub start_lineno: u32,
2628 pub end_lineno: u32,
2629 pub flags: u32,
2630 pub lex_pos: *mut ::std::os::raw::c_uchar,
2631 pub doc_comment: *mut zend_string,
2632 pub name: *mut zend_string,
2633 pub child: [*mut zend_ast; 5usize],
2634}
2635#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2636const _: () = {
2637 ["Size of _zend_ast_decl"][::std::mem::size_of::<_zend_ast_decl>() - 80usize];
2638 ["Alignment of _zend_ast_decl"][::std::mem::align_of::<_zend_ast_decl>() - 8usize];
2639 ["Offset of field: _zend_ast_decl::kind"]
2640 [::std::mem::offset_of!(_zend_ast_decl, kind) - 0usize];
2641 ["Offset of field: _zend_ast_decl::attr"]
2642 [::std::mem::offset_of!(_zend_ast_decl, attr) - 2usize];
2643 ["Offset of field: _zend_ast_decl::start_lineno"]
2644 [::std::mem::offset_of!(_zend_ast_decl, start_lineno) - 4usize];
2645 ["Offset of field: _zend_ast_decl::end_lineno"]
2646 [::std::mem::offset_of!(_zend_ast_decl, end_lineno) - 8usize];
2647 ["Offset of field: _zend_ast_decl::flags"]
2648 [::std::mem::offset_of!(_zend_ast_decl, flags) - 12usize];
2649 ["Offset of field: _zend_ast_decl::lex_pos"]
2650 [::std::mem::offset_of!(_zend_ast_decl, lex_pos) - 16usize];
2651 ["Offset of field: _zend_ast_decl::doc_comment"]
2652 [::std::mem::offset_of!(_zend_ast_decl, doc_comment) - 24usize];
2653 ["Offset of field: _zend_ast_decl::name"]
2654 [::std::mem::offset_of!(_zend_ast_decl, name) - 32usize];
2655 ["Offset of field: _zend_ast_decl::child"]
2656 [::std::mem::offset_of!(_zend_ast_decl, child) - 40usize];
2657};
2658pub type zend_ast_decl = _zend_ast_decl;
2659pub type zend_ast_process_t = ::std::option::Option<unsafe extern "C" fn(ast: *mut zend_ast)>;
2660extern "C" {
2661 pub static mut zend_ast_process: zend_ast_process_t;
2662}
2663extern "C" {
2664 pub fn zend_ast_create_zval_with_lineno(zv: *mut zval, lineno: u32) -> *mut zend_ast;
2665}
2666extern "C" {
2667 pub fn zend_ast_create_zval_ex(zv: *mut zval, attr: zend_ast_attr) -> *mut zend_ast;
2668}
2669extern "C" {
2670 pub fn zend_ast_create_zval(zv: *mut zval) -> *mut zend_ast;
2671}
2672extern "C" {
2673 pub fn zend_ast_create_zval_from_str(str_: *mut zend_string) -> *mut zend_ast;
2674}
2675extern "C" {
2676 pub fn zend_ast_create_zval_from_long(lval: zend_long) -> *mut zend_ast;
2677}
2678extern "C" {
2679 pub fn zend_ast_create_constant(name: *mut zend_string, attr: zend_ast_attr) -> *mut zend_ast;
2680}
2681extern "C" {
2682 pub fn zend_ast_create_class_const_or_name(
2683 class_name: *mut zend_ast,
2684 name: *mut zend_ast,
2685 ) -> *mut zend_ast;
2686}
2687extern "C" {
2688 pub fn zend_ast_create_0(kind: zend_ast_kind) -> *mut zend_ast;
2689}
2690extern "C" {
2691 pub fn zend_ast_create_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
2692}
2693extern "C" {
2694 pub fn zend_ast_create_2(
2695 kind: zend_ast_kind,
2696 child1: *mut zend_ast,
2697 child2: *mut zend_ast,
2698 ) -> *mut zend_ast;
2699}
2700extern "C" {
2701 pub fn zend_ast_create_3(
2702 kind: zend_ast_kind,
2703 child1: *mut zend_ast,
2704 child2: *mut zend_ast,
2705 child3: *mut zend_ast,
2706 ) -> *mut zend_ast;
2707}
2708extern "C" {
2709 pub fn zend_ast_create_4(
2710 kind: zend_ast_kind,
2711 child1: *mut zend_ast,
2712 child2: *mut zend_ast,
2713 child3: *mut zend_ast,
2714 child4: *mut zend_ast,
2715 ) -> *mut zend_ast;
2716}
2717extern "C" {
2718 pub fn zend_ast_create_5(
2719 kind: zend_ast_kind,
2720 child1: *mut zend_ast,
2721 child2: *mut zend_ast,
2722 child3: *mut zend_ast,
2723 child4: *mut zend_ast,
2724 child5: *mut zend_ast,
2725 ) -> *mut zend_ast;
2726}
2727extern "C" {
2728 pub fn zend_ast_create_list_0(kind: zend_ast_kind) -> *mut zend_ast;
2729}
2730extern "C" {
2731 pub fn zend_ast_create_list_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
2732}
2733extern "C" {
2734 pub fn zend_ast_create_list_2(
2735 kind: zend_ast_kind,
2736 child1: *mut zend_ast,
2737 child2: *mut zend_ast,
2738 ) -> *mut zend_ast;
2739}
2740extern "C" {
2741 pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
2742}
2743extern "C" {
2744 pub fn zend_ast_create_decl(
2745 kind: zend_ast_kind,
2746 flags: u32,
2747 start_lineno: u32,
2748 doc_comment: *mut zend_string,
2749 name: *mut zend_string,
2750 child0: *mut zend_ast,
2751 child1: *mut zend_ast,
2752 child2: *mut zend_ast,
2753 child3: *mut zend_ast,
2754 child4: *mut zend_ast,
2755 ) -> *mut zend_ast;
2756}
2757extern "C" {
2758 pub fn zend_ast_evaluate(
2759 result: *mut zval,
2760 ast: *mut zend_ast,
2761 scope: *mut zend_class_entry,
2762 ) -> zend_result;
2763}
2764extern "C" {
2765 pub fn zend_ast_export(
2766 prefix: *const ::std::os::raw::c_char,
2767 ast: *mut zend_ast,
2768 suffix: *const ::std::os::raw::c_char,
2769 ) -> *mut zend_string;
2770}
2771extern "C" {
2772 pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast_ref;
2773}
2774extern "C" {
2775 pub fn zend_ast_destroy(ast: *mut zend_ast);
2776}
2777extern "C" {
2778 pub fn zend_ast_ref_destroy(ast: *mut zend_ast_ref);
2779}
2780pub type zend_ast_apply_func =
2781 ::std::option::Option<unsafe extern "C" fn(ast_ptr: *mut *mut zend_ast)>;
2782extern "C" {
2783 pub fn zend_ast_apply(ast: *mut zend_ast, fn_: zend_ast_apply_func);
2784}
2785extern "C" {
2786 pub fn zend_ast_with_attributes(ast: *mut zend_ast, attr: *mut zend_ast) -> *mut zend_ast;
2787}
2788#[repr(C)]
2789#[derive(Debug, Copy, Clone)]
2790pub struct _zend_gc_status {
2791 pub runs: u32,
2792 pub collected: u32,
2793 pub threshold: u32,
2794 pub num_roots: u32,
2795}
2796#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2797const _: () = {
2798 ["Size of _zend_gc_status"][::std::mem::size_of::<_zend_gc_status>() - 16usize];
2799 ["Alignment of _zend_gc_status"][::std::mem::align_of::<_zend_gc_status>() - 4usize];
2800 ["Offset of field: _zend_gc_status::runs"]
2801 [::std::mem::offset_of!(_zend_gc_status, runs) - 0usize];
2802 ["Offset of field: _zend_gc_status::collected"]
2803 [::std::mem::offset_of!(_zend_gc_status, collected) - 4usize];
2804 ["Offset of field: _zend_gc_status::threshold"]
2805 [::std::mem::offset_of!(_zend_gc_status, threshold) - 8usize];
2806 ["Offset of field: _zend_gc_status::num_roots"]
2807 [::std::mem::offset_of!(_zend_gc_status, num_roots) - 12usize];
2808};
2809pub type zend_gc_status = _zend_gc_status;
2810extern "C" {
2811 pub static mut gc_collect_cycles:
2812 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2813}
2814extern "C" {
2815 pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
2816}
2817extern "C" {
2818 pub fn zend_gc_get_status(status: *mut zend_gc_status);
2819}
2820#[repr(C)]
2821#[derive(Debug, Copy, Clone)]
2822pub struct zend_get_gc_buffer {
2823 pub cur: *mut zval,
2824 pub end: *mut zval,
2825 pub start: *mut zval,
2826}
2827#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2828const _: () = {
2829 ["Size of zend_get_gc_buffer"][::std::mem::size_of::<zend_get_gc_buffer>() - 24usize];
2830 ["Alignment of zend_get_gc_buffer"][::std::mem::align_of::<zend_get_gc_buffer>() - 8usize];
2831 ["Offset of field: zend_get_gc_buffer::cur"]
2832 [::std::mem::offset_of!(zend_get_gc_buffer, cur) - 0usize];
2833 ["Offset of field: zend_get_gc_buffer::end"]
2834 [::std::mem::offset_of!(zend_get_gc_buffer, end) - 8usize];
2835 ["Offset of field: zend_get_gc_buffer::start"]
2836 [::std::mem::offset_of!(zend_get_gc_buffer, start) - 16usize];
2837};
2838extern "C" {
2839 pub fn zend_get_gc_buffer_create() -> *mut zend_get_gc_buffer;
2840}
2841extern "C" {
2842 pub fn zend_get_gc_buffer_grow(gc_buffer: *mut zend_get_gc_buffer);
2843}
2844pub type zend_object_iterator = _zend_object_iterator;
2845#[repr(C)]
2846#[derive(Debug, Copy, Clone)]
2847pub struct _zend_object_iterator_funcs {
2848 pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2849 pub valid: ::std::option::Option<
2850 unsafe extern "C" fn(iter: *mut zend_object_iterator) -> ::std::os::raw::c_int,
2851 >,
2852 pub get_current_data:
2853 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
2854 pub get_current_key: ::std::option::Option<
2855 unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
2856 >,
2857 pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2858 pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2859 pub invalidate_current:
2860 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2861 pub get_gc: ::std::option::Option<
2862 unsafe extern "C" fn(
2863 iter: *mut zend_object_iterator,
2864 table: *mut *mut zval,
2865 n: *mut ::std::os::raw::c_int,
2866 ) -> *mut HashTable,
2867 >,
2868}
2869#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2870const _: () = {
2871 ["Size of _zend_object_iterator_funcs"]
2872 [::std::mem::size_of::<_zend_object_iterator_funcs>() - 64usize];
2873 ["Alignment of _zend_object_iterator_funcs"]
2874 [::std::mem::align_of::<_zend_object_iterator_funcs>() - 8usize];
2875 ["Offset of field: _zend_object_iterator_funcs::dtor"]
2876 [::std::mem::offset_of!(_zend_object_iterator_funcs, dtor) - 0usize];
2877 ["Offset of field: _zend_object_iterator_funcs::valid"]
2878 [::std::mem::offset_of!(_zend_object_iterator_funcs, valid) - 8usize];
2879 ["Offset of field: _zend_object_iterator_funcs::get_current_data"]
2880 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_data) - 16usize];
2881 ["Offset of field: _zend_object_iterator_funcs::get_current_key"]
2882 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_key) - 24usize];
2883 ["Offset of field: _zend_object_iterator_funcs::move_forward"]
2884 [::std::mem::offset_of!(_zend_object_iterator_funcs, move_forward) - 32usize];
2885 ["Offset of field: _zend_object_iterator_funcs::rewind"]
2886 [::std::mem::offset_of!(_zend_object_iterator_funcs, rewind) - 40usize];
2887 ["Offset of field: _zend_object_iterator_funcs::invalidate_current"]
2888 [::std::mem::offset_of!(_zend_object_iterator_funcs, invalidate_current) - 48usize];
2889 ["Offset of field: _zend_object_iterator_funcs::get_gc"]
2890 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_gc) - 56usize];
2891};
2892pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
2893#[repr(C)]
2894#[derive(Copy, Clone)]
2895pub struct _zend_object_iterator {
2896 pub std: zend_object,
2897 pub data: zval,
2898 pub funcs: *const zend_object_iterator_funcs,
2899 pub index: zend_ulong,
2900}
2901#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2902const _: () = {
2903 ["Size of _zend_object_iterator"][::std::mem::size_of::<_zend_object_iterator>() - 88usize];
2904 ["Alignment of _zend_object_iterator"]
2905 [::std::mem::align_of::<_zend_object_iterator>() - 8usize];
2906 ["Offset of field: _zend_object_iterator::std"]
2907 [::std::mem::offset_of!(_zend_object_iterator, std) - 0usize];
2908 ["Offset of field: _zend_object_iterator::data"]
2909 [::std::mem::offset_of!(_zend_object_iterator, data) - 56usize];
2910 ["Offset of field: _zend_object_iterator::funcs"]
2911 [::std::mem::offset_of!(_zend_object_iterator, funcs) - 72usize];
2912 ["Offset of field: _zend_object_iterator::index"]
2913 [::std::mem::offset_of!(_zend_object_iterator, index) - 80usize];
2914};
2915#[repr(C)]
2916#[derive(Debug, Copy, Clone)]
2917pub struct _zend_class_iterator_funcs {
2918 pub zf_new_iterator: *mut zend_function,
2919 pub zf_valid: *mut zend_function,
2920 pub zf_current: *mut zend_function,
2921 pub zf_key: *mut zend_function,
2922 pub zf_next: *mut zend_function,
2923 pub zf_rewind: *mut zend_function,
2924}
2925#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2926const _: () = {
2927 ["Size of _zend_class_iterator_funcs"]
2928 [::std::mem::size_of::<_zend_class_iterator_funcs>() - 48usize];
2929 ["Alignment of _zend_class_iterator_funcs"]
2930 [::std::mem::align_of::<_zend_class_iterator_funcs>() - 8usize];
2931 ["Offset of field: _zend_class_iterator_funcs::zf_new_iterator"]
2932 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_new_iterator) - 0usize];
2933 ["Offset of field: _zend_class_iterator_funcs::zf_valid"]
2934 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_valid) - 8usize];
2935 ["Offset of field: _zend_class_iterator_funcs::zf_current"]
2936 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_current) - 16usize];
2937 ["Offset of field: _zend_class_iterator_funcs::zf_key"]
2938 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_key) - 24usize];
2939 ["Offset of field: _zend_class_iterator_funcs::zf_next"]
2940 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_next) - 32usize];
2941 ["Offset of field: _zend_class_iterator_funcs::zf_rewind"]
2942 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_rewind) - 40usize];
2943};
2944pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
2945extern "C" {
2946 pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
2947}
2948extern "C" {
2949 pub fn zend_iterator_init(iter: *mut zend_object_iterator);
2950}
2951extern "C" {
2952 pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
2953}
2954extern "C" {
2955 pub fn zend_register_iterator_wrapper();
2956}
2957#[repr(C)]
2958#[derive(Debug, Copy, Clone)]
2959pub struct stat {
2960 pub st_dev: __dev_t,
2961 pub st_ino: __ino_t,
2962 pub st_nlink: __nlink_t,
2963 pub st_mode: __mode_t,
2964 pub st_uid: __uid_t,
2965 pub st_gid: __gid_t,
2966 pub __pad0: ::std::os::raw::c_int,
2967 pub st_rdev: __dev_t,
2968 pub st_size: __off_t,
2969 pub st_blksize: __blksize_t,
2970 pub st_blocks: __blkcnt_t,
2971 pub st_atim: timespec,
2972 pub st_mtim: timespec,
2973 pub st_ctim: timespec,
2974 pub __glibc_reserved: [__syscall_slong_t; 3usize],
2975}
2976#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2977const _: () = {
2978 ["Size of stat"][::std::mem::size_of::<stat>() - 144usize];
2979 ["Alignment of stat"][::std::mem::align_of::<stat>() - 8usize];
2980 ["Offset of field: stat::st_dev"][::std::mem::offset_of!(stat, st_dev) - 0usize];
2981 ["Offset of field: stat::st_ino"][::std::mem::offset_of!(stat, st_ino) - 8usize];
2982 ["Offset of field: stat::st_nlink"][::std::mem::offset_of!(stat, st_nlink) - 16usize];
2983 ["Offset of field: stat::st_mode"][::std::mem::offset_of!(stat, st_mode) - 24usize];
2984 ["Offset of field: stat::st_uid"][::std::mem::offset_of!(stat, st_uid) - 28usize];
2985 ["Offset of field: stat::st_gid"][::std::mem::offset_of!(stat, st_gid) - 32usize];
2986 ["Offset of field: stat::__pad0"][::std::mem::offset_of!(stat, __pad0) - 36usize];
2987 ["Offset of field: stat::st_rdev"][::std::mem::offset_of!(stat, st_rdev) - 40usize];
2988 ["Offset of field: stat::st_size"][::std::mem::offset_of!(stat, st_size) - 48usize];
2989 ["Offset of field: stat::st_blksize"][::std::mem::offset_of!(stat, st_blksize) - 56usize];
2990 ["Offset of field: stat::st_blocks"][::std::mem::offset_of!(stat, st_blocks) - 64usize];
2991 ["Offset of field: stat::st_atim"][::std::mem::offset_of!(stat, st_atim) - 72usize];
2992 ["Offset of field: stat::st_mtim"][::std::mem::offset_of!(stat, st_mtim) - 88usize];
2993 ["Offset of field: stat::st_ctim"][::std::mem::offset_of!(stat, st_ctim) - 104usize];
2994 ["Offset of field: stat::__glibc_reserved"]
2995 [::std::mem::offset_of!(stat, __glibc_reserved) - 120usize];
2996};
2997pub type zend_stream_fsizer_t =
2998 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> usize>;
2999pub type zend_stream_reader_t = ::std::option::Option<
3000 unsafe extern "C" fn(
3001 handle: *mut ::std::os::raw::c_void,
3002 buf: *mut ::std::os::raw::c_char,
3003 len: usize,
3004 ) -> isize,
3005>;
3006pub type zend_stream_closer_t =
3007 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
3008pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
3009pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 1;
3010pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 2;
3011pub type zend_stream_type = ::std::os::raw::c_uint;
3012#[repr(C)]
3013#[derive(Debug, Copy, Clone)]
3014pub struct _zend_stream {
3015 pub handle: *mut ::std::os::raw::c_void,
3016 pub isatty: ::std::os::raw::c_int,
3017 pub reader: zend_stream_reader_t,
3018 pub fsizer: zend_stream_fsizer_t,
3019 pub closer: zend_stream_closer_t,
3020}
3021#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3022const _: () = {
3023 ["Size of _zend_stream"][::std::mem::size_of::<_zend_stream>() - 40usize];
3024 ["Alignment of _zend_stream"][::std::mem::align_of::<_zend_stream>() - 8usize];
3025 ["Offset of field: _zend_stream::handle"]
3026 [::std::mem::offset_of!(_zend_stream, handle) - 0usize];
3027 ["Offset of field: _zend_stream::isatty"]
3028 [::std::mem::offset_of!(_zend_stream, isatty) - 8usize];
3029 ["Offset of field: _zend_stream::reader"]
3030 [::std::mem::offset_of!(_zend_stream, reader) - 16usize];
3031 ["Offset of field: _zend_stream::fsizer"]
3032 [::std::mem::offset_of!(_zend_stream, fsizer) - 24usize];
3033 ["Offset of field: _zend_stream::closer"]
3034 [::std::mem::offset_of!(_zend_stream, closer) - 32usize];
3035};
3036pub type zend_stream = _zend_stream;
3037#[repr(C)]
3038#[derive(Copy, Clone)]
3039pub struct _zend_file_handle {
3040 pub handle: _zend_file_handle__bindgen_ty_1,
3041 pub filename: *const ::std::os::raw::c_char,
3042 pub opened_path: *mut zend_string,
3043 pub type_: zend_stream_type,
3044 pub free_filename: zend_bool,
3045 pub buf: *mut ::std::os::raw::c_char,
3046 pub len: usize,
3047}
3048#[repr(C)]
3049#[derive(Copy, Clone)]
3050pub union _zend_file_handle__bindgen_ty_1 {
3051 pub fp: *mut FILE,
3052 pub stream: zend_stream,
3053}
3054#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3055const _: () = {
3056 ["Size of _zend_file_handle__bindgen_ty_1"]
3057 [::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>() - 40usize];
3058 ["Alignment of _zend_file_handle__bindgen_ty_1"]
3059 [::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>() - 8usize];
3060 ["Offset of field: _zend_file_handle__bindgen_ty_1::fp"]
3061 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fp) - 0usize];
3062 ["Offset of field: _zend_file_handle__bindgen_ty_1::stream"]
3063 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, stream) - 0usize];
3064};
3065#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3066const _: () = {
3067 ["Size of _zend_file_handle"][::std::mem::size_of::<_zend_file_handle>() - 80usize];
3068 ["Alignment of _zend_file_handle"][::std::mem::align_of::<_zend_file_handle>() - 8usize];
3069 ["Offset of field: _zend_file_handle::handle"]
3070 [::std::mem::offset_of!(_zend_file_handle, handle) - 0usize];
3071 ["Offset of field: _zend_file_handle::filename"]
3072 [::std::mem::offset_of!(_zend_file_handle, filename) - 40usize];
3073 ["Offset of field: _zend_file_handle::opened_path"]
3074 [::std::mem::offset_of!(_zend_file_handle, opened_path) - 48usize];
3075 ["Offset of field: _zend_file_handle::type_"]
3076 [::std::mem::offset_of!(_zend_file_handle, type_) - 56usize];
3077 ["Offset of field: _zend_file_handle::free_filename"]
3078 [::std::mem::offset_of!(_zend_file_handle, free_filename) - 60usize];
3079 ["Offset of field: _zend_file_handle::buf"]
3080 [::std::mem::offset_of!(_zend_file_handle, buf) - 64usize];
3081 ["Offset of field: _zend_file_handle::len"]
3082 [::std::mem::offset_of!(_zend_file_handle, len) - 72usize];
3083};
3084pub type zend_file_handle = _zend_file_handle;
3085extern "C" {
3086 pub fn zend_stream_init_fp(
3087 handle: *mut zend_file_handle,
3088 fp: *mut FILE,
3089 filename: *const ::std::os::raw::c_char,
3090 );
3091}
3092extern "C" {
3093 pub fn zend_stream_init_filename(
3094 handle: *mut zend_file_handle,
3095 filename: *const ::std::os::raw::c_char,
3096 );
3097}
3098extern "C" {
3099 pub fn zend_stream_open(
3100 filename: *const ::std::os::raw::c_char,
3101 handle: *mut zend_file_handle,
3102 ) -> zend_result;
3103}
3104extern "C" {
3105 pub fn zend_stream_fixup(
3106 file_handle: *mut zend_file_handle,
3107 buf: *mut *mut ::std::os::raw::c_char,
3108 len: *mut usize,
3109 ) -> zend_result;
3110}
3111extern "C" {
3112 pub fn zend_file_handle_dtor(fh: *mut zend_file_handle);
3113}
3114extern "C" {
3115 pub fn zend_compare_file_handles(
3116 fh1: *mut zend_file_handle,
3117 fh2: *mut zend_file_handle,
3118 ) -> ::std::os::raw::c_int;
3119}
3120pub type zend_stat_t = stat;
3121#[repr(C)]
3122#[derive(Debug, Copy, Clone)]
3123pub struct smart_str {
3124 pub s: *mut zend_string,
3125 pub a: usize,
3126}
3127#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3128const _: () = {
3129 ["Size of smart_str"][::std::mem::size_of::<smart_str>() - 16usize];
3130 ["Alignment of smart_str"][::std::mem::align_of::<smart_str>() - 8usize];
3131 ["Offset of field: smart_str::s"][::std::mem::offset_of!(smart_str, s) - 0usize];
3132 ["Offset of field: smart_str::a"][::std::mem::offset_of!(smart_str, a) - 8usize];
3133};
3134#[repr(C)]
3135#[derive(Debug, Copy, Clone)]
3136pub struct smart_string {
3137 pub c: *mut ::std::os::raw::c_char,
3138 pub len: usize,
3139 pub a: usize,
3140}
3141#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3142const _: () = {
3143 ["Size of smart_string"][::std::mem::size_of::<smart_string>() - 24usize];
3144 ["Alignment of smart_string"][::std::mem::align_of::<smart_string>() - 8usize];
3145 ["Offset of field: smart_string::c"][::std::mem::offset_of!(smart_string, c) - 0usize];
3146 ["Offset of field: smart_string::len"][::std::mem::offset_of!(smart_string, len) - 8usize];
3147 ["Offset of field: smart_string::a"][::std::mem::offset_of!(smart_string, a) - 16usize];
3148};
3149#[repr(C)]
3150#[derive(Copy, Clone)]
3151pub union sigval {
3152 pub sival_int: ::std::os::raw::c_int,
3153 pub sival_ptr: *mut ::std::os::raw::c_void,
3154}
3155#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3156const _: () = {
3157 ["Size of sigval"][::std::mem::size_of::<sigval>() - 8usize];
3158 ["Alignment of sigval"][::std::mem::align_of::<sigval>() - 8usize];
3159 ["Offset of field: sigval::sival_int"][::std::mem::offset_of!(sigval, sival_int) - 0usize];
3160 ["Offset of field: sigval::sival_ptr"][::std::mem::offset_of!(sigval, sival_ptr) - 0usize];
3161};
3162pub type __sigval_t = sigval;
3163#[repr(C)]
3164#[derive(Copy, Clone)]
3165pub struct siginfo_t {
3166 pub si_signo: ::std::os::raw::c_int,
3167 pub si_errno: ::std::os::raw::c_int,
3168 pub si_code: ::std::os::raw::c_int,
3169 pub __pad0: ::std::os::raw::c_int,
3170 pub _sifields: siginfo_t__bindgen_ty_1,
3171}
3172#[repr(C)]
3173#[derive(Copy, Clone)]
3174pub union siginfo_t__bindgen_ty_1 {
3175 pub _pad: [::std::os::raw::c_int; 28usize],
3176 pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1,
3177 pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2,
3178 pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3,
3179 pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4,
3180 pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5,
3181 pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6,
3182 pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7,
3183}
3184#[repr(C)]
3185#[derive(Debug, Copy, Clone)]
3186pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 {
3187 pub si_pid: __pid_t,
3188 pub si_uid: __uid_t,
3189}
3190#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3191const _: () = {
3192 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
3193 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 8usize];
3194 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
3195 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 4usize];
3196 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_pid"]
3197 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_pid) - 0usize];
3198 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_uid"]
3199 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_uid) - 4usize];
3200};
3201#[repr(C)]
3202#[derive(Copy, Clone)]
3203pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 {
3204 pub si_tid: ::std::os::raw::c_int,
3205 pub si_overrun: ::std::os::raw::c_int,
3206 pub si_sigval: __sigval_t,
3207}
3208#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3209const _: () = {
3210 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
3211 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 16usize];
3212 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
3213 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 8usize];
3214 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_tid"]
3215 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_tid) - 0usize];
3216 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_overrun"]
3217 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_overrun) - 4usize];
3218 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_sigval"]
3219 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_sigval) - 8usize];
3220};
3221#[repr(C)]
3222#[derive(Copy, Clone)]
3223pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 {
3224 pub si_pid: __pid_t,
3225 pub si_uid: __uid_t,
3226 pub si_sigval: __sigval_t,
3227}
3228#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3229const _: () = {
3230 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
3231 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 16usize];
3232 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
3233 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 8usize];
3234 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_pid"]
3235 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_pid) - 0usize];
3236 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_uid"]
3237 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_uid) - 4usize];
3238 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_sigval"]
3239 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_sigval) - 8usize];
3240};
3241#[repr(C)]
3242#[derive(Debug, Copy, Clone)]
3243pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 {
3244 pub si_pid: __pid_t,
3245 pub si_uid: __uid_t,
3246 pub si_status: ::std::os::raw::c_int,
3247 pub si_utime: __clock_t,
3248 pub si_stime: __clock_t,
3249}
3250#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3251const _: () = {
3252 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
3253 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 32usize];
3254 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
3255 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 8usize];
3256 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_pid"]
3257 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_pid) - 0usize];
3258 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_uid"]
3259 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_uid) - 4usize];
3260 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_status"]
3261 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_status) - 8usize];
3262 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_utime"]
3263 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_utime) - 16usize];
3264 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_stime"]
3265 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_stime) - 24usize];
3266};
3267#[repr(C)]
3268#[derive(Copy, Clone)]
3269pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 {
3270 pub si_addr: *mut ::std::os::raw::c_void,
3271 pub si_addr_lsb: ::std::os::raw::c_short,
3272 pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3273}
3274#[repr(C)]
3275#[derive(Copy, Clone)]
3276pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
3277 pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
3278 pub _pkey: __uint32_t,
3279}
3280#[repr(C)]
3281#[derive(Debug, Copy, Clone)]
3282pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
3283 pub _lower: *mut ::std::os::raw::c_void,
3284 pub _upper: *mut ::std::os::raw::c_void,
3285}
3286#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3287const _: () = {
3288 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
3289 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
3290 ) - 16usize];
3291 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
3292 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
3293 ) - 8usize];
3294 ["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] ;
3295 ["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] ;
3296};
3297#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3298const _: () = {
3299 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
3300 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 16usize];
3301 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
3302 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 8usize];
3303 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_addr_bnd"][::std::mem::offset_of!(
3304 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3305 _addr_bnd
3306 ) - 0usize];
3307 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_pkey"][::std::mem::offset_of!(
3308 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3309 _pkey
3310 ) - 0usize];
3311};
3312#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3313const _: () = {
3314 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
3315 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 32usize];
3316 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
3317 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 8usize];
3318 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr"]
3319 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr) - 0usize];
3320 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr_lsb"]
3321 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr_lsb) - 8usize];
3322 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::_bounds"]
3323 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, _bounds) - 16usize];
3324};
3325#[repr(C)]
3326#[derive(Debug, Copy, Clone)]
3327pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 {
3328 pub si_band: ::std::os::raw::c_long,
3329 pub si_fd: ::std::os::raw::c_int,
3330}
3331#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3332const _: () = {
3333 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
3334 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 16usize];
3335 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
3336 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 8usize];
3337 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_band"]
3338 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_band) - 0usize];
3339 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_fd"]
3340 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_fd) - 8usize];
3341};
3342#[repr(C)]
3343#[derive(Debug, Copy, Clone)]
3344pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 {
3345 pub _call_addr: *mut ::std::os::raw::c_void,
3346 pub _syscall: ::std::os::raw::c_int,
3347 pub _arch: ::std::os::raw::c_uint,
3348}
3349#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3350const _: () = {
3351 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
3352 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 16usize];
3353 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
3354 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 8usize];
3355 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_call_addr"]
3356 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _call_addr) - 0usize];
3357 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_syscall"]
3358 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _syscall) - 8usize];
3359 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_arch"]
3360 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _arch) - 12usize];
3361};
3362#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3363const _: () = {
3364 ["Size of siginfo_t__bindgen_ty_1"]
3365 [::std::mem::size_of::<siginfo_t__bindgen_ty_1>() - 112usize];
3366 ["Alignment of siginfo_t__bindgen_ty_1"]
3367 [::std::mem::align_of::<siginfo_t__bindgen_ty_1>() - 8usize];
3368 ["Offset of field: siginfo_t__bindgen_ty_1::_pad"]
3369 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _pad) - 0usize];
3370 ["Offset of field: siginfo_t__bindgen_ty_1::_kill"]
3371 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _kill) - 0usize];
3372 ["Offset of field: siginfo_t__bindgen_ty_1::_timer"]
3373 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _timer) - 0usize];
3374 ["Offset of field: siginfo_t__bindgen_ty_1::_rt"]
3375 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _rt) - 0usize];
3376 ["Offset of field: siginfo_t__bindgen_ty_1::_sigchld"]
3377 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigchld) - 0usize];
3378 ["Offset of field: siginfo_t__bindgen_ty_1::_sigfault"]
3379 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigfault) - 0usize];
3380 ["Offset of field: siginfo_t__bindgen_ty_1::_sigpoll"]
3381 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigpoll) - 0usize];
3382 ["Offset of field: siginfo_t__bindgen_ty_1::_sigsys"]
3383 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigsys) - 0usize];
3384};
3385#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3386const _: () = {
3387 ["Size of siginfo_t"][::std::mem::size_of::<siginfo_t>() - 128usize];
3388 ["Alignment of siginfo_t"][::std::mem::align_of::<siginfo_t>() - 8usize];
3389 ["Offset of field: siginfo_t::si_signo"][::std::mem::offset_of!(siginfo_t, si_signo) - 0usize];
3390 ["Offset of field: siginfo_t::si_errno"][::std::mem::offset_of!(siginfo_t, si_errno) - 4usize];
3391 ["Offset of field: siginfo_t::si_code"][::std::mem::offset_of!(siginfo_t, si_code) - 8usize];
3392 ["Offset of field: siginfo_t::__pad0"][::std::mem::offset_of!(siginfo_t, __pad0) - 12usize];
3393 ["Offset of field: siginfo_t::_sifields"]
3394 [::std::mem::offset_of!(siginfo_t, _sifields) - 16usize];
3395};
3396pub type __sighandler_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
3397#[repr(C)]
3398#[derive(Copy, Clone)]
3399pub struct sigaction {
3400 pub __sigaction_handler: sigaction__bindgen_ty_1,
3401 pub sa_mask: __sigset_t,
3402 pub sa_flags: ::std::os::raw::c_int,
3403 pub sa_restorer: ::std::option::Option<unsafe extern "C" fn()>,
3404}
3405#[repr(C)]
3406#[derive(Copy, Clone)]
3407pub union sigaction__bindgen_ty_1 {
3408 pub sa_handler: __sighandler_t,
3409 pub sa_sigaction: ::std::option::Option<
3410 unsafe extern "C" fn(
3411 arg1: ::std::os::raw::c_int,
3412 arg2: *mut siginfo_t,
3413 arg3: *mut ::std::os::raw::c_void,
3414 ),
3415 >,
3416}
3417#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3418const _: () = {
3419 ["Size of sigaction__bindgen_ty_1"][::std::mem::size_of::<sigaction__bindgen_ty_1>() - 8usize];
3420 ["Alignment of sigaction__bindgen_ty_1"]
3421 [::std::mem::align_of::<sigaction__bindgen_ty_1>() - 8usize];
3422 ["Offset of field: sigaction__bindgen_ty_1::sa_handler"]
3423 [::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_handler) - 0usize];
3424 ["Offset of field: sigaction__bindgen_ty_1::sa_sigaction"]
3425 [::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_sigaction) - 0usize];
3426};
3427#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3428const _: () = {
3429 ["Size of sigaction"][::std::mem::size_of::<sigaction>() - 152usize];
3430 ["Alignment of sigaction"][::std::mem::align_of::<sigaction>() - 8usize];
3431 ["Offset of field: sigaction::__sigaction_handler"]
3432 [::std::mem::offset_of!(sigaction, __sigaction_handler) - 0usize];
3433 ["Offset of field: sigaction::sa_mask"][::std::mem::offset_of!(sigaction, sa_mask) - 8usize];
3434 ["Offset of field: sigaction::sa_flags"]
3435 [::std::mem::offset_of!(sigaction, sa_flags) - 136usize];
3436 ["Offset of field: sigaction::sa_restorer"]
3437 [::std::mem::offset_of!(sigaction, sa_restorer) - 144usize];
3438};
3439pub type socklen_t = __socklen_t;
3440#[repr(C)]
3441#[derive(Debug, Copy, Clone)]
3442pub struct _zend_signal_entry_t {
3443 pub flags: ::std::os::raw::c_int,
3444 pub handler: *mut ::std::os::raw::c_void,
3445}
3446#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3447const _: () = {
3448 ["Size of _zend_signal_entry_t"][::std::mem::size_of::<_zend_signal_entry_t>() - 16usize];
3449 ["Alignment of _zend_signal_entry_t"][::std::mem::align_of::<_zend_signal_entry_t>() - 8usize];
3450 ["Offset of field: _zend_signal_entry_t::flags"]
3451 [::std::mem::offset_of!(_zend_signal_entry_t, flags) - 0usize];
3452 ["Offset of field: _zend_signal_entry_t::handler"]
3453 [::std::mem::offset_of!(_zend_signal_entry_t, handler) - 8usize];
3454};
3455pub type zend_signal_entry_t = _zend_signal_entry_t;
3456#[repr(C)]
3457#[derive(Debug, Copy, Clone)]
3458pub struct _zend_signal_t {
3459 pub signo: ::std::os::raw::c_int,
3460 pub siginfo: *mut siginfo_t,
3461 pub context: *mut ::std::os::raw::c_void,
3462}
3463#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3464const _: () = {
3465 ["Size of _zend_signal_t"][::std::mem::size_of::<_zend_signal_t>() - 24usize];
3466 ["Alignment of _zend_signal_t"][::std::mem::align_of::<_zend_signal_t>() - 8usize];
3467 ["Offset of field: _zend_signal_t::signo"]
3468 [::std::mem::offset_of!(_zend_signal_t, signo) - 0usize];
3469 ["Offset of field: _zend_signal_t::siginfo"]
3470 [::std::mem::offset_of!(_zend_signal_t, siginfo) - 8usize];
3471 ["Offset of field: _zend_signal_t::context"]
3472 [::std::mem::offset_of!(_zend_signal_t, context) - 16usize];
3473};
3474pub type zend_signal_t = _zend_signal_t;
3475#[repr(C)]
3476#[derive(Debug, Copy, Clone)]
3477pub struct _zend_signal_queue_t {
3478 pub zend_signal: zend_signal_t,
3479 pub next: *mut _zend_signal_queue_t,
3480}
3481#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3482const _: () = {
3483 ["Size of _zend_signal_queue_t"][::std::mem::size_of::<_zend_signal_queue_t>() - 32usize];
3484 ["Alignment of _zend_signal_queue_t"][::std::mem::align_of::<_zend_signal_queue_t>() - 8usize];
3485 ["Offset of field: _zend_signal_queue_t::zend_signal"]
3486 [::std::mem::offset_of!(_zend_signal_queue_t, zend_signal) - 0usize];
3487 ["Offset of field: _zend_signal_queue_t::next"]
3488 [::std::mem::offset_of!(_zend_signal_queue_t, next) - 24usize];
3489};
3490pub type zend_signal_queue_t = _zend_signal_queue_t;
3491#[repr(C)]
3492#[derive(Debug, Copy, Clone)]
3493pub struct _zend_signal_globals_t {
3494 pub depth: ::std::os::raw::c_int,
3495 pub blocked: ::std::os::raw::c_int,
3496 pub running: ::std::os::raw::c_int,
3497 pub active: ::std::os::raw::c_int,
3498 pub check: zend_bool,
3499 pub reset: zend_bool,
3500 pub handlers: [zend_signal_entry_t; 65usize],
3501 pub pstorage: [zend_signal_queue_t; 64usize],
3502 pub phead: *mut zend_signal_queue_t,
3503 pub ptail: *mut zend_signal_queue_t,
3504 pub pavail: *mut zend_signal_queue_t,
3505}
3506#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3507const _: () = {
3508 ["Size of _zend_signal_globals_t"][::std::mem::size_of::<_zend_signal_globals_t>() - 3136usize];
3509 ["Alignment of _zend_signal_globals_t"]
3510 [::std::mem::align_of::<_zend_signal_globals_t>() - 8usize];
3511 ["Offset of field: _zend_signal_globals_t::depth"]
3512 [::std::mem::offset_of!(_zend_signal_globals_t, depth) - 0usize];
3513 ["Offset of field: _zend_signal_globals_t::blocked"]
3514 [::std::mem::offset_of!(_zend_signal_globals_t, blocked) - 4usize];
3515 ["Offset of field: _zend_signal_globals_t::running"]
3516 [::std::mem::offset_of!(_zend_signal_globals_t, running) - 8usize];
3517 ["Offset of field: _zend_signal_globals_t::active"]
3518 [::std::mem::offset_of!(_zend_signal_globals_t, active) - 12usize];
3519 ["Offset of field: _zend_signal_globals_t::check"]
3520 [::std::mem::offset_of!(_zend_signal_globals_t, check) - 16usize];
3521 ["Offset of field: _zend_signal_globals_t::reset"]
3522 [::std::mem::offset_of!(_zend_signal_globals_t, reset) - 17usize];
3523 ["Offset of field: _zend_signal_globals_t::handlers"]
3524 [::std::mem::offset_of!(_zend_signal_globals_t, handlers) - 24usize];
3525 ["Offset of field: _zend_signal_globals_t::pstorage"]
3526 [::std::mem::offset_of!(_zend_signal_globals_t, pstorage) - 1064usize];
3527 ["Offset of field: _zend_signal_globals_t::phead"]
3528 [::std::mem::offset_of!(_zend_signal_globals_t, phead) - 3112usize];
3529 ["Offset of field: _zend_signal_globals_t::ptail"]
3530 [::std::mem::offset_of!(_zend_signal_globals_t, ptail) - 3120usize];
3531 ["Offset of field: _zend_signal_globals_t::pavail"]
3532 [::std::mem::offset_of!(_zend_signal_globals_t, pavail) - 3128usize];
3533};
3534pub type zend_signal_globals_t = _zend_signal_globals_t;
3535extern "C" {
3536 pub static mut zend_signal_globals: zend_signal_globals_t;
3537}
3538extern "C" {
3539 pub fn zend_signal_handler_unblock();
3540}
3541extern "C" {
3542 pub fn zend_signal_activate();
3543}
3544extern "C" {
3545 pub fn zend_signal_deactivate();
3546}
3547extern "C" {
3548 pub fn zend_signal_startup();
3549}
3550extern "C" {
3551 pub fn zend_signal_init();
3552}
3553extern "C" {
3554 pub fn zend_signal(
3555 signo: ::std::os::raw::c_int,
3556 handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
3557 );
3558}
3559extern "C" {
3560 pub fn zend_sigaction(
3561 signo: ::std::os::raw::c_int,
3562 act: *const sigaction,
3563 oldact: *mut sigaction,
3564 );
3565}
3566#[repr(C)]
3567#[derive(Debug, Copy, Clone)]
3568pub struct _zend_serialize_data {
3569 _unused: [u8; 0],
3570}
3571#[repr(C)]
3572#[derive(Debug, Copy, Clone)]
3573pub struct _zend_unserialize_data {
3574 _unused: [u8; 0],
3575}
3576pub type zend_serialize_data = _zend_serialize_data;
3577pub type zend_unserialize_data = _zend_unserialize_data;
3578#[repr(C)]
3579#[derive(Debug, Copy, Clone)]
3580pub struct _zend_class_name {
3581 pub name: *mut zend_string,
3582 pub lc_name: *mut zend_string,
3583}
3584#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3585const _: () = {
3586 ["Size of _zend_class_name"][::std::mem::size_of::<_zend_class_name>() - 16usize];
3587 ["Alignment of _zend_class_name"][::std::mem::align_of::<_zend_class_name>() - 8usize];
3588 ["Offset of field: _zend_class_name::name"]
3589 [::std::mem::offset_of!(_zend_class_name, name) - 0usize];
3590 ["Offset of field: _zend_class_name::lc_name"]
3591 [::std::mem::offset_of!(_zend_class_name, lc_name) - 8usize];
3592};
3593pub type zend_class_name = _zend_class_name;
3594#[repr(C)]
3595#[derive(Debug, Copy, Clone)]
3596pub struct _zend_trait_method_reference {
3597 pub method_name: *mut zend_string,
3598 pub class_name: *mut zend_string,
3599}
3600#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3601const _: () = {
3602 ["Size of _zend_trait_method_reference"]
3603 [::std::mem::size_of::<_zend_trait_method_reference>() - 16usize];
3604 ["Alignment of _zend_trait_method_reference"]
3605 [::std::mem::align_of::<_zend_trait_method_reference>() - 8usize];
3606 ["Offset of field: _zend_trait_method_reference::method_name"]
3607 [::std::mem::offset_of!(_zend_trait_method_reference, method_name) - 0usize];
3608 ["Offset of field: _zend_trait_method_reference::class_name"]
3609 [::std::mem::offset_of!(_zend_trait_method_reference, class_name) - 8usize];
3610};
3611pub type zend_trait_method_reference = _zend_trait_method_reference;
3612#[repr(C)]
3613#[derive(Debug, Copy, Clone)]
3614pub struct _zend_trait_precedence {
3615 pub trait_method: zend_trait_method_reference,
3616 pub num_excludes: u32,
3617 pub exclude_class_names: [*mut zend_string; 1usize],
3618}
3619#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3620const _: () = {
3621 ["Size of _zend_trait_precedence"][::std::mem::size_of::<_zend_trait_precedence>() - 32usize];
3622 ["Alignment of _zend_trait_precedence"]
3623 [::std::mem::align_of::<_zend_trait_precedence>() - 8usize];
3624 ["Offset of field: _zend_trait_precedence::trait_method"]
3625 [::std::mem::offset_of!(_zend_trait_precedence, trait_method) - 0usize];
3626 ["Offset of field: _zend_trait_precedence::num_excludes"]
3627 [::std::mem::offset_of!(_zend_trait_precedence, num_excludes) - 16usize];
3628 ["Offset of field: _zend_trait_precedence::exclude_class_names"]
3629 [::std::mem::offset_of!(_zend_trait_precedence, exclude_class_names) - 24usize];
3630};
3631pub type zend_trait_precedence = _zend_trait_precedence;
3632#[repr(C)]
3633#[derive(Debug, Copy, Clone)]
3634pub struct _zend_trait_alias {
3635 pub trait_method: zend_trait_method_reference,
3636 #[doc = " name for method to be added"]
3637 pub alias: *mut zend_string,
3638 #[doc = " modifiers to be set on trait method"]
3639 pub modifiers: u32,
3640}
3641#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3642const _: () = {
3643 ["Size of _zend_trait_alias"][::std::mem::size_of::<_zend_trait_alias>() - 32usize];
3644 ["Alignment of _zend_trait_alias"][::std::mem::align_of::<_zend_trait_alias>() - 8usize];
3645 ["Offset of field: _zend_trait_alias::trait_method"]
3646 [::std::mem::offset_of!(_zend_trait_alias, trait_method) - 0usize];
3647 ["Offset of field: _zend_trait_alias::alias"]
3648 [::std::mem::offset_of!(_zend_trait_alias, alias) - 16usize];
3649 ["Offset of field: _zend_trait_alias::modifiers"]
3650 [::std::mem::offset_of!(_zend_trait_alias, modifiers) - 24usize];
3651};
3652pub type zend_trait_alias = _zend_trait_alias;
3653#[repr(C)]
3654#[derive(Copy, Clone)]
3655pub struct _zend_class_entry {
3656 pub type_: ::std::os::raw::c_char,
3657 pub name: *mut zend_string,
3658 pub __bindgen_anon_1: _zend_class_entry__bindgen_ty_1,
3659 pub refcount: ::std::os::raw::c_int,
3660 pub ce_flags: u32,
3661 pub default_properties_count: ::std::os::raw::c_int,
3662 pub default_static_members_count: ::std::os::raw::c_int,
3663 pub default_properties_table: *mut zval,
3664 pub default_static_members_table: *mut zval,
3665 pub static_members_table__ptr: *mut *mut zval,
3666 pub function_table: HashTable,
3667 pub properties_info: HashTable,
3668 pub constants_table: HashTable,
3669 pub properties_info_table: *mut *mut _zend_property_info,
3670 pub constructor: *mut zend_function,
3671 pub destructor: *mut zend_function,
3672 pub clone: *mut zend_function,
3673 pub __get: *mut zend_function,
3674 pub __set: *mut zend_function,
3675 pub __unset: *mut zend_function,
3676 pub __isset: *mut zend_function,
3677 pub __call: *mut zend_function,
3678 pub __callstatic: *mut zend_function,
3679 pub __tostring: *mut zend_function,
3680 pub __debugInfo: *mut zend_function,
3681 pub __serialize: *mut zend_function,
3682 pub __unserialize: *mut zend_function,
3683 pub iterator_funcs_ptr: *mut zend_class_iterator_funcs,
3684 pub __bindgen_anon_2: _zend_class_entry__bindgen_ty_2,
3685 pub get_iterator: ::std::option::Option<
3686 unsafe extern "C" fn(
3687 ce: *mut zend_class_entry,
3688 object: *mut zval,
3689 by_ref: ::std::os::raw::c_int,
3690 ) -> *mut zend_object_iterator,
3691 >,
3692 pub get_static_method: ::std::option::Option<
3693 unsafe extern "C" fn(
3694 ce: *mut zend_class_entry,
3695 method: *mut zend_string,
3696 ) -> *mut zend_function,
3697 >,
3698 pub serialize: ::std::option::Option<
3699 unsafe extern "C" fn(
3700 object: *mut zval,
3701 buffer: *mut *mut ::std::os::raw::c_uchar,
3702 buf_len: *mut usize,
3703 data: *mut zend_serialize_data,
3704 ) -> ::std::os::raw::c_int,
3705 >,
3706 pub unserialize: ::std::option::Option<
3707 unsafe extern "C" fn(
3708 object: *mut zval,
3709 ce: *mut zend_class_entry,
3710 buf: *const ::std::os::raw::c_uchar,
3711 buf_len: usize,
3712 data: *mut zend_unserialize_data,
3713 ) -> ::std::os::raw::c_int,
3714 >,
3715 pub num_interfaces: u32,
3716 pub num_traits: u32,
3717 pub __bindgen_anon_3: _zend_class_entry__bindgen_ty_3,
3718 pub trait_names: *mut zend_class_name,
3719 pub trait_aliases: *mut *mut zend_trait_alias,
3720 pub trait_precedences: *mut *mut zend_trait_precedence,
3721 pub attributes: *mut HashTable,
3722 pub info: _zend_class_entry__bindgen_ty_4,
3723}
3724#[repr(C)]
3725#[derive(Copy, Clone)]
3726pub union _zend_class_entry__bindgen_ty_1 {
3727 pub parent: *mut zend_class_entry,
3728 pub parent_name: *mut zend_string,
3729}
3730#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3731const _: () = {
3732 ["Size of _zend_class_entry__bindgen_ty_1"]
3733 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
3734 ["Alignment of _zend_class_entry__bindgen_ty_1"]
3735 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
3736 ["Offset of field: _zend_class_entry__bindgen_ty_1::parent"]
3737 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, parent) - 0usize];
3738 ["Offset of field: _zend_class_entry__bindgen_ty_1::parent_name"]
3739 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, parent_name) - 0usize];
3740};
3741#[repr(C)]
3742#[derive(Copy, Clone)]
3743pub union _zend_class_entry__bindgen_ty_2 {
3744 pub create_object: ::std::option::Option<
3745 unsafe extern "C" fn(class_type: *mut zend_class_entry) -> *mut zend_object,
3746 >,
3747 pub interface_gets_implemented: ::std::option::Option<
3748 unsafe extern "C" fn(
3749 iface: *mut zend_class_entry,
3750 class_type: *mut zend_class_entry,
3751 ) -> ::std::os::raw::c_int,
3752 >,
3753}
3754#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3755const _: () = {
3756 ["Size of _zend_class_entry__bindgen_ty_2"]
3757 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_2>() - 8usize];
3758 ["Alignment of _zend_class_entry__bindgen_ty_2"]
3759 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_2>() - 8usize];
3760 ["Offset of field: _zend_class_entry__bindgen_ty_2::create_object"]
3761 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_2, create_object) - 0usize];
3762 ["Offset of field: _zend_class_entry__bindgen_ty_2::interface_gets_implemented"][::std::mem::offset_of!(
3763 _zend_class_entry__bindgen_ty_2,
3764 interface_gets_implemented
3765 ) - 0usize];
3766};
3767#[repr(C)]
3768#[derive(Copy, Clone)]
3769pub union _zend_class_entry__bindgen_ty_3 {
3770 pub interfaces: *mut *mut zend_class_entry,
3771 pub interface_names: *mut zend_class_name,
3772}
3773#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3774const _: () = {
3775 ["Size of _zend_class_entry__bindgen_ty_3"]
3776 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_3>() - 8usize];
3777 ["Alignment of _zend_class_entry__bindgen_ty_3"]
3778 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_3>() - 8usize];
3779 ["Offset of field: _zend_class_entry__bindgen_ty_3::interfaces"]
3780 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_3, interfaces) - 0usize];
3781 ["Offset of field: _zend_class_entry__bindgen_ty_3::interface_names"]
3782 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_3, interface_names) - 0usize];
3783};
3784#[repr(C)]
3785#[derive(Copy, Clone)]
3786pub union _zend_class_entry__bindgen_ty_4 {
3787 pub user: _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
3788 pub internal: _zend_class_entry__bindgen_ty_4__bindgen_ty_2,
3789}
3790#[repr(C)]
3791#[derive(Debug, Copy, Clone)]
3792pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_1 {
3793 pub filename: *mut zend_string,
3794 pub line_start: u32,
3795 pub line_end: u32,
3796 pub doc_comment: *mut zend_string,
3797}
3798#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3799const _: () = {
3800 ["Size of _zend_class_entry__bindgen_ty_4__bindgen_ty_1"]
3801 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>() - 24usize];
3802 ["Alignment of _zend_class_entry__bindgen_ty_4__bindgen_ty_1"]
3803 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>() - 8usize];
3804 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::filename"]
3805 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1, filename) - 0usize];
3806 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::line_start"][::std::mem::offset_of!(
3807 _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
3808 line_start
3809 ) - 8usize];
3810 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::line_end"]
3811 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1, line_end) - 12usize];
3812 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_1::doc_comment"][::std::mem::offset_of!(
3813 _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
3814 doc_comment
3815 ) - 16usize];
3816};
3817#[repr(C)]
3818#[derive(Debug, Copy, Clone)]
3819pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_2 {
3820 pub builtin_functions: *const _zend_function_entry,
3821 pub module: *mut _zend_module_entry,
3822}
3823#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3824const _: () = {
3825 ["Size of _zend_class_entry__bindgen_ty_4__bindgen_ty_2"]
3826 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>() - 16usize];
3827 ["Alignment of _zend_class_entry__bindgen_ty_4__bindgen_ty_2"]
3828 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>() - 8usize];
3829 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_2::builtin_functions"][::std::mem::offset_of!(
3830 _zend_class_entry__bindgen_ty_4__bindgen_ty_2,
3831 builtin_functions
3832 )
3833 - 0usize];
3834 ["Offset of field: _zend_class_entry__bindgen_ty_4__bindgen_ty_2::module"]
3835 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4__bindgen_ty_2, module) - 8usize];
3836};
3837#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3838const _: () = {
3839 ["Size of _zend_class_entry__bindgen_ty_4"]
3840 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_4>() - 24usize];
3841 ["Alignment of _zend_class_entry__bindgen_ty_4"]
3842 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_4>() - 8usize];
3843 ["Offset of field: _zend_class_entry__bindgen_ty_4::user"]
3844 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4, user) - 0usize];
3845 ["Offset of field: _zend_class_entry__bindgen_ty_4::internal"]
3846 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_4, internal) - 0usize];
3847};
3848#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3849const _: () = {
3850 ["Size of _zend_class_entry"][::std::mem::size_of::<_zend_class_entry>() - 464usize];
3851 ["Alignment of _zend_class_entry"][::std::mem::align_of::<_zend_class_entry>() - 8usize];
3852 ["Offset of field: _zend_class_entry::type_"]
3853 [::std::mem::offset_of!(_zend_class_entry, type_) - 0usize];
3854 ["Offset of field: _zend_class_entry::name"]
3855 [::std::mem::offset_of!(_zend_class_entry, name) - 8usize];
3856 ["Offset of field: _zend_class_entry::refcount"]
3857 [::std::mem::offset_of!(_zend_class_entry, refcount) - 24usize];
3858 ["Offset of field: _zend_class_entry::ce_flags"]
3859 [::std::mem::offset_of!(_zend_class_entry, ce_flags) - 28usize];
3860 ["Offset of field: _zend_class_entry::default_properties_count"]
3861 [::std::mem::offset_of!(_zend_class_entry, default_properties_count) - 32usize];
3862 ["Offset of field: _zend_class_entry::default_static_members_count"]
3863 [::std::mem::offset_of!(_zend_class_entry, default_static_members_count) - 36usize];
3864 ["Offset of field: _zend_class_entry::default_properties_table"]
3865 [::std::mem::offset_of!(_zend_class_entry, default_properties_table) - 40usize];
3866 ["Offset of field: _zend_class_entry::default_static_members_table"]
3867 [::std::mem::offset_of!(_zend_class_entry, default_static_members_table) - 48usize];
3868 ["Offset of field: _zend_class_entry::static_members_table__ptr"]
3869 [::std::mem::offset_of!(_zend_class_entry, static_members_table__ptr) - 56usize];
3870 ["Offset of field: _zend_class_entry::function_table"]
3871 [::std::mem::offset_of!(_zend_class_entry, function_table) - 64usize];
3872 ["Offset of field: _zend_class_entry::properties_info"]
3873 [::std::mem::offset_of!(_zend_class_entry, properties_info) - 120usize];
3874 ["Offset of field: _zend_class_entry::constants_table"]
3875 [::std::mem::offset_of!(_zend_class_entry, constants_table) - 176usize];
3876 ["Offset of field: _zend_class_entry::properties_info_table"]
3877 [::std::mem::offset_of!(_zend_class_entry, properties_info_table) - 232usize];
3878 ["Offset of field: _zend_class_entry::constructor"]
3879 [::std::mem::offset_of!(_zend_class_entry, constructor) - 240usize];
3880 ["Offset of field: _zend_class_entry::destructor"]
3881 [::std::mem::offset_of!(_zend_class_entry, destructor) - 248usize];
3882 ["Offset of field: _zend_class_entry::clone"]
3883 [::std::mem::offset_of!(_zend_class_entry, clone) - 256usize];
3884 ["Offset of field: _zend_class_entry::__get"]
3885 [::std::mem::offset_of!(_zend_class_entry, __get) - 264usize];
3886 ["Offset of field: _zend_class_entry::__set"]
3887 [::std::mem::offset_of!(_zend_class_entry, __set) - 272usize];
3888 ["Offset of field: _zend_class_entry::__unset"]
3889 [::std::mem::offset_of!(_zend_class_entry, __unset) - 280usize];
3890 ["Offset of field: _zend_class_entry::__isset"]
3891 [::std::mem::offset_of!(_zend_class_entry, __isset) - 288usize];
3892 ["Offset of field: _zend_class_entry::__call"]
3893 [::std::mem::offset_of!(_zend_class_entry, __call) - 296usize];
3894 ["Offset of field: _zend_class_entry::__callstatic"]
3895 [::std::mem::offset_of!(_zend_class_entry, __callstatic) - 304usize];
3896 ["Offset of field: _zend_class_entry::__tostring"]
3897 [::std::mem::offset_of!(_zend_class_entry, __tostring) - 312usize];
3898 ["Offset of field: _zend_class_entry::__debugInfo"]
3899 [::std::mem::offset_of!(_zend_class_entry, __debugInfo) - 320usize];
3900 ["Offset of field: _zend_class_entry::__serialize"]
3901 [::std::mem::offset_of!(_zend_class_entry, __serialize) - 328usize];
3902 ["Offset of field: _zend_class_entry::__unserialize"]
3903 [::std::mem::offset_of!(_zend_class_entry, __unserialize) - 336usize];
3904 ["Offset of field: _zend_class_entry::iterator_funcs_ptr"]
3905 [::std::mem::offset_of!(_zend_class_entry, iterator_funcs_ptr) - 344usize];
3906 ["Offset of field: _zend_class_entry::get_iterator"]
3907 [::std::mem::offset_of!(_zend_class_entry, get_iterator) - 360usize];
3908 ["Offset of field: _zend_class_entry::get_static_method"]
3909 [::std::mem::offset_of!(_zend_class_entry, get_static_method) - 368usize];
3910 ["Offset of field: _zend_class_entry::serialize"]
3911 [::std::mem::offset_of!(_zend_class_entry, serialize) - 376usize];
3912 ["Offset of field: _zend_class_entry::unserialize"]
3913 [::std::mem::offset_of!(_zend_class_entry, unserialize) - 384usize];
3914 ["Offset of field: _zend_class_entry::num_interfaces"]
3915 [::std::mem::offset_of!(_zend_class_entry, num_interfaces) - 392usize];
3916 ["Offset of field: _zend_class_entry::num_traits"]
3917 [::std::mem::offset_of!(_zend_class_entry, num_traits) - 396usize];
3918 ["Offset of field: _zend_class_entry::trait_names"]
3919 [::std::mem::offset_of!(_zend_class_entry, trait_names) - 408usize];
3920 ["Offset of field: _zend_class_entry::trait_aliases"]
3921 [::std::mem::offset_of!(_zend_class_entry, trait_aliases) - 416usize];
3922 ["Offset of field: _zend_class_entry::trait_precedences"]
3923 [::std::mem::offset_of!(_zend_class_entry, trait_precedences) - 424usize];
3924 ["Offset of field: _zend_class_entry::attributes"]
3925 [::std::mem::offset_of!(_zend_class_entry, attributes) - 432usize];
3926 ["Offset of field: _zend_class_entry::info"]
3927 [::std::mem::offset_of!(_zend_class_entry, info) - 440usize];
3928};
3929#[repr(C)]
3930#[derive(Debug, Copy, Clone)]
3931pub struct _zend_utility_functions {
3932 pub error_function: ::std::option::Option<
3933 unsafe extern "C" fn(
3934 type_: ::std::os::raw::c_int,
3935 error_filename: *const ::std::os::raw::c_char,
3936 error_lineno: u32,
3937 message: *mut zend_string,
3938 ),
3939 >,
3940 pub printf_function: ::std::option::Option<
3941 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
3942 >,
3943 pub write_function: ::std::option::Option<
3944 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
3945 >,
3946 pub fopen_function: ::std::option::Option<
3947 unsafe extern "C" fn(
3948 filename: *const ::std::os::raw::c_char,
3949 opened_path: *mut *mut zend_string,
3950 ) -> *mut FILE,
3951 >,
3952 pub message_handler: ::std::option::Option<
3953 unsafe extern "C" fn(message: zend_long, data: *const ::std::os::raw::c_void),
3954 >,
3955 pub get_configuration_directive:
3956 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
3957 pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
3958 pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
3959 pub stream_open_function: ::std::option::Option<
3960 unsafe extern "C" fn(
3961 filename: *const ::std::os::raw::c_char,
3962 handle: *mut zend_file_handle,
3963 ) -> zend_result,
3964 >,
3965 pub printf_to_smart_string_function: ::std::option::Option<
3966 unsafe extern "C" fn(
3967 buf: *mut smart_string,
3968 format: *const ::std::os::raw::c_char,
3969 ap: *mut __va_list_tag,
3970 ),
3971 >,
3972 pub printf_to_smart_str_function: ::std::option::Option<
3973 unsafe extern "C" fn(
3974 buf: *mut smart_str,
3975 format: *const ::std::os::raw::c_char,
3976 ap: *mut __va_list_tag,
3977 ),
3978 >,
3979 pub getenv_function: ::std::option::Option<
3980 unsafe extern "C" fn(
3981 name: *const ::std::os::raw::c_char,
3982 name_len: usize,
3983 ) -> *mut ::std::os::raw::c_char,
3984 >,
3985 pub resolve_path_function: ::std::option::Option<
3986 unsafe extern "C" fn(
3987 filename: *const ::std::os::raw::c_char,
3988 filename_len: usize,
3989 ) -> *mut zend_string,
3990 >,
3991}
3992#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3993const _: () = {
3994 ["Size of _zend_utility_functions"]
3995 [::std::mem::size_of::<_zend_utility_functions>() - 104usize];
3996 ["Alignment of _zend_utility_functions"]
3997 [::std::mem::align_of::<_zend_utility_functions>() - 8usize];
3998 ["Offset of field: _zend_utility_functions::error_function"]
3999 [::std::mem::offset_of!(_zend_utility_functions, error_function) - 0usize];
4000 ["Offset of field: _zend_utility_functions::printf_function"]
4001 [::std::mem::offset_of!(_zend_utility_functions, printf_function) - 8usize];
4002 ["Offset of field: _zend_utility_functions::write_function"]
4003 [::std::mem::offset_of!(_zend_utility_functions, write_function) - 16usize];
4004 ["Offset of field: _zend_utility_functions::fopen_function"]
4005 [::std::mem::offset_of!(_zend_utility_functions, fopen_function) - 24usize];
4006 ["Offset of field: _zend_utility_functions::message_handler"]
4007 [::std::mem::offset_of!(_zend_utility_functions, message_handler) - 32usize];
4008 ["Offset of field: _zend_utility_functions::get_configuration_directive"]
4009 [::std::mem::offset_of!(_zend_utility_functions, get_configuration_directive) - 40usize];
4010 ["Offset of field: _zend_utility_functions::ticks_function"]
4011 [::std::mem::offset_of!(_zend_utility_functions, ticks_function) - 48usize];
4012 ["Offset of field: _zend_utility_functions::on_timeout"]
4013 [::std::mem::offset_of!(_zend_utility_functions, on_timeout) - 56usize];
4014 ["Offset of field: _zend_utility_functions::stream_open_function"]
4015 [::std::mem::offset_of!(_zend_utility_functions, stream_open_function) - 64usize];
4016 ["Offset of field: _zend_utility_functions::printf_to_smart_string_function"][::std::mem::offset_of!(
4017 _zend_utility_functions,
4018 printf_to_smart_string_function
4019 ) - 72usize];
4020 ["Offset of field: _zend_utility_functions::printf_to_smart_str_function"]
4021 [::std::mem::offset_of!(_zend_utility_functions, printf_to_smart_str_function) - 80usize];
4022 ["Offset of field: _zend_utility_functions::getenv_function"]
4023 [::std::mem::offset_of!(_zend_utility_functions, getenv_function) - 88usize];
4024 ["Offset of field: _zend_utility_functions::resolve_path_function"]
4025 [::std::mem::offset_of!(_zend_utility_functions, resolve_path_function) - 96usize];
4026};
4027pub type zend_utility_functions = _zend_utility_functions;
4028#[repr(C)]
4029#[derive(Debug, Copy, Clone)]
4030pub struct _zend_utility_values {
4031 pub html_errors: zend_bool,
4032}
4033#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4034const _: () = {
4035 ["Size of _zend_utility_values"][::std::mem::size_of::<_zend_utility_values>() - 1usize];
4036 ["Alignment of _zend_utility_values"][::std::mem::align_of::<_zend_utility_values>() - 1usize];
4037 ["Offset of field: _zend_utility_values::html_errors"]
4038 [::std::mem::offset_of!(_zend_utility_values, html_errors) - 0usize];
4039};
4040pub type zend_utility_values = _zend_utility_values;
4041pub type zend_write_func_t = ::std::option::Option<
4042 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
4043>;
4044extern "C" {
4045 pub fn zend_startup(utility_functions: *mut zend_utility_functions);
4046}
4047extern "C" {
4048 pub fn zend_shutdown();
4049}
4050extern "C" {
4051 pub fn zend_register_standard_ini_entries();
4052}
4053extern "C" {
4054 pub fn zend_post_startup() -> zend_result;
4055}
4056extern "C" {
4057 pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
4058}
4059extern "C" {
4060 pub fn _zend_bailout(filename: *const ::std::os::raw::c_char, lineno: u32) -> !;
4061}
4062extern "C" {
4063 pub fn zend_vspprintf(
4064 pbuf: *mut *mut ::std::os::raw::c_char,
4065 max_len: usize,
4066 format: *const ::std::os::raw::c_char,
4067 ap: *mut __va_list_tag,
4068 ) -> usize;
4069}
4070extern "C" {
4071 pub fn zend_spprintf(
4072 message: *mut *mut ::std::os::raw::c_char,
4073 max_len: usize,
4074 format: *const ::std::os::raw::c_char,
4075 ...
4076 ) -> usize;
4077}
4078extern "C" {
4079 pub fn zend_vstrpprintf(
4080 max_len: usize,
4081 format: *const ::std::os::raw::c_char,
4082 ap: *mut __va_list_tag,
4083 ) -> *mut zend_string;
4084}
4085extern "C" {
4086 pub fn zend_strpprintf(
4087 max_len: usize,
4088 format: *const ::std::os::raw::c_char,
4089 ...
4090 ) -> *mut zend_string;
4091}
4092extern "C" {
4093 pub fn zend_spprintf_unchecked(
4094 message: *mut *mut ::std::os::raw::c_char,
4095 max_len: usize,
4096 format: *const ::std::os::raw::c_char,
4097 ...
4098 ) -> usize;
4099}
4100extern "C" {
4101 pub fn zend_strpprintf_unchecked(
4102 max_len: usize,
4103 format: *const ::std::os::raw::c_char,
4104 ...
4105 ) -> *mut zend_string;
4106}
4107extern "C" {
4108 pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval) -> bool;
4109}
4110extern "C" {
4111 pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> usize;
4112}
4113extern "C" {
4114 pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
4115}
4116extern "C" {
4117 pub fn zend_print_zval_r_to_str(
4118 expr: *mut zval,
4119 indent: ::std::os::raw::c_int,
4120 ) -> *mut zend_string;
4121}
4122extern "C" {
4123 pub fn zend_print_flat_zval_r(expr: *mut zval);
4124}
4125extern "C" {
4126 pub fn zend_output_debug_string(
4127 trigger_break: zend_bool,
4128 format: *const ::std::os::raw::c_char,
4129 ...
4130 );
4131}
4132extern "C" {
4133 pub fn zend_activate();
4134}
4135extern "C" {
4136 pub fn zend_deactivate();
4137}
4138extern "C" {
4139 pub fn zend_call_destructors();
4140}
4141extern "C" {
4142 pub fn zend_activate_modules();
4143}
4144extern "C" {
4145 pub fn zend_deactivate_modules();
4146}
4147extern "C" {
4148 pub fn zend_post_deactivate_modules();
4149}
4150extern "C" {
4151 pub static mut zend_printf: ::std::option::Option<
4152 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
4153 >;
4154}
4155extern "C" {
4156 pub static mut zend_write: zend_write_func_t;
4157}
4158extern "C" {
4159 pub static mut zend_fopen: ::std::option::Option<
4160 unsafe extern "C" fn(
4161 filename: *const ::std::os::raw::c_char,
4162 opened_path: *mut *mut zend_string,
4163 ) -> *mut FILE,
4164 >;
4165}
4166extern "C" {
4167 pub static mut zend_ticks_function:
4168 ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
4169}
4170extern "C" {
4171 pub static mut zend_interrupt_function:
4172 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
4173}
4174extern "C" {
4175 pub static mut zend_error_cb: ::std::option::Option<
4176 unsafe extern "C" fn(
4177 type_: ::std::os::raw::c_int,
4178 error_filename: *const ::std::os::raw::c_char,
4179 error_lineno: u32,
4180 message: *mut zend_string,
4181 ),
4182 >;
4183}
4184extern "C" {
4185 pub static mut zend_on_timeout:
4186 ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
4187}
4188extern "C" {
4189 pub static mut zend_stream_open_function: ::std::option::Option<
4190 unsafe extern "C" fn(
4191 filename: *const ::std::os::raw::c_char,
4192 handle: *mut zend_file_handle,
4193 ) -> zend_result,
4194 >;
4195}
4196extern "C" {
4197 pub static mut zend_printf_to_smart_string: ::std::option::Option<
4198 unsafe extern "C" fn(
4199 buf: *mut smart_string,
4200 format: *const ::std::os::raw::c_char,
4201 ap: *mut __va_list_tag,
4202 ),
4203 >;
4204}
4205extern "C" {
4206 pub static mut zend_printf_to_smart_str: ::std::option::Option<
4207 unsafe extern "C" fn(
4208 buf: *mut smart_str,
4209 format: *const ::std::os::raw::c_char,
4210 ap: *mut __va_list_tag,
4211 ),
4212 >;
4213}
4214extern "C" {
4215 pub static mut zend_getenv: ::std::option::Option<
4216 unsafe extern "C" fn(
4217 name: *const ::std::os::raw::c_char,
4218 name_len: usize,
4219 ) -> *mut ::std::os::raw::c_char,
4220 >;
4221}
4222extern "C" {
4223 pub static mut zend_resolve_path: ::std::option::Option<
4224 unsafe extern "C" fn(
4225 filename: *const ::std::os::raw::c_char,
4226 filename_len: usize,
4227 ) -> *mut zend_string,
4228 >;
4229}
4230extern "C" {
4231 pub static mut zend_post_startup_cb:
4232 ::std::option::Option<unsafe extern "C" fn() -> zend_result>;
4233}
4234extern "C" {
4235 pub static mut zend_post_shutdown_cb: ::std::option::Option<unsafe extern "C" fn()>;
4236}
4237extern "C" {
4238 pub static mut zend_preload_autoload:
4239 ::std::option::Option<unsafe extern "C" fn(filename: *mut zend_string) -> zend_result>;
4240}
4241extern "C" {
4242 pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
4243}
4244extern "C" {
4245 pub fn zend_error_noreturn(
4246 type_: ::std::os::raw::c_int,
4247 format: *const ::std::os::raw::c_char,
4248 ...
4249 ) -> !;
4250}
4251extern "C" {
4252 pub fn zend_error_at(
4253 type_: ::std::os::raw::c_int,
4254 filename: *const ::std::os::raw::c_char,
4255 lineno: u32,
4256 format: *const ::std::os::raw::c_char,
4257 ...
4258 );
4259}
4260extern "C" {
4261 pub fn zend_error_at_noreturn(
4262 type_: ::std::os::raw::c_int,
4263 filename: *const ::std::os::raw::c_char,
4264 lineno: u32,
4265 format: *const ::std::os::raw::c_char,
4266 ...
4267 ) -> !;
4268}
4269extern "C" {
4270 pub fn zend_error_zstr(type_: ::std::os::raw::c_int, message: *mut zend_string);
4271}
4272extern "C" {
4273 pub fn zend_throw_error(
4274 exception_ce: *mut zend_class_entry,
4275 format: *const ::std::os::raw::c_char,
4276 ...
4277 );
4278}
4279extern "C" {
4280 pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
4281}
4282extern "C" {
4283 pub fn zend_argument_count_error(format: *const ::std::os::raw::c_char, ...);
4284}
4285extern "C" {
4286 pub fn zend_value_error(format: *const ::std::os::raw::c_char, ...);
4287}
4288extern "C" {
4289 pub fn zenderror(error: *const ::std::os::raw::c_char);
4290}
4291extern "C" {
4292 pub static mut zend_standard_class_def: *mut zend_class_entry;
4293}
4294extern "C" {
4295 pub static mut zend_uv: zend_utility_values;
4296}
4297extern "C" {
4298 pub static mut zend_dtrace_enabled: zend_bool;
4299}
4300extern "C" {
4301 pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
4302}
4303extern "C" {
4304 pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
4305}
4306pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
4307pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 1;
4308pub type zend_error_handling_t = ::std::os::raw::c_uint;
4309#[repr(C)]
4310#[derive(Debug, Copy, Clone)]
4311pub struct zend_error_handling {
4312 pub handling: zend_error_handling_t,
4313 pub exception: *mut zend_class_entry,
4314}
4315#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4316const _: () = {
4317 ["Size of zend_error_handling"][::std::mem::size_of::<zend_error_handling>() - 16usize];
4318 ["Alignment of zend_error_handling"][::std::mem::align_of::<zend_error_handling>() - 8usize];
4319 ["Offset of field: zend_error_handling::handling"]
4320 [::std::mem::offset_of!(zend_error_handling, handling) - 0usize];
4321 ["Offset of field: zend_error_handling::exception"]
4322 [::std::mem::offset_of!(zend_error_handling, exception) - 8usize];
4323};
4324extern "C" {
4325 pub fn zend_save_error_handling(current: *mut zend_error_handling);
4326}
4327extern "C" {
4328 pub fn zend_replace_error_handling(
4329 error_handling: zend_error_handling_t,
4330 exception_class: *mut zend_class_entry,
4331 current: *mut zend_error_handling,
4332 );
4333}
4334extern "C" {
4335 pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
4336}
4337pub type zend_object_read_property_t = ::std::option::Option<
4338 unsafe extern "C" fn(
4339 object: *mut zend_object,
4340 member: *mut zend_string,
4341 type_: ::std::os::raw::c_int,
4342 cache_slot: *mut *mut ::std::os::raw::c_void,
4343 rv: *mut zval,
4344 ) -> *mut zval,
4345>;
4346pub type zend_object_read_dimension_t = ::std::option::Option<
4347 unsafe extern "C" fn(
4348 object: *mut zend_object,
4349 offset: *mut zval,
4350 type_: ::std::os::raw::c_int,
4351 rv: *mut zval,
4352 ) -> *mut zval,
4353>;
4354pub type zend_object_write_property_t = ::std::option::Option<
4355 unsafe extern "C" fn(
4356 object: *mut zend_object,
4357 member: *mut zend_string,
4358 value: *mut zval,
4359 cache_slot: *mut *mut ::std::os::raw::c_void,
4360 ) -> *mut zval,
4361>;
4362pub type zend_object_write_dimension_t = ::std::option::Option<
4363 unsafe extern "C" fn(object: *mut zend_object, offset: *mut zval, value: *mut zval),
4364>;
4365pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
4366 unsafe extern "C" fn(
4367 object: *mut zend_object,
4368 member: *mut zend_string,
4369 type_: ::std::os::raw::c_int,
4370 cache_slot: *mut *mut ::std::os::raw::c_void,
4371 ) -> *mut zval,
4372>;
4373pub type zend_object_has_property_t = ::std::option::Option<
4374 unsafe extern "C" fn(
4375 object: *mut zend_object,
4376 member: *mut zend_string,
4377 has_set_exists: ::std::os::raw::c_int,
4378 cache_slot: *mut *mut ::std::os::raw::c_void,
4379 ) -> ::std::os::raw::c_int,
4380>;
4381pub type zend_object_has_dimension_t = ::std::option::Option<
4382 unsafe extern "C" fn(
4383 object: *mut zend_object,
4384 member: *mut zval,
4385 check_empty: ::std::os::raw::c_int,
4386 ) -> ::std::os::raw::c_int,
4387>;
4388pub type zend_object_unset_property_t = ::std::option::Option<
4389 unsafe extern "C" fn(
4390 object: *mut zend_object,
4391 member: *mut zend_string,
4392 cache_slot: *mut *mut ::std::os::raw::c_void,
4393 ),
4394>;
4395pub type zend_object_unset_dimension_t =
4396 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object, offset: *mut zval)>;
4397pub type zend_object_get_properties_t =
4398 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut HashTable>;
4399pub type zend_object_get_debug_info_t = ::std::option::Option<
4400 unsafe extern "C" fn(
4401 object: *mut zend_object,
4402 is_temp: *mut ::std::os::raw::c_int,
4403 ) -> *mut HashTable,
4404>;
4405pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_DEBUG: _zend_prop_purpose = 0;
4406pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_ARRAY_CAST: _zend_prop_purpose = 1;
4407pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_SERIALIZE: _zend_prop_purpose = 2;
4408pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_VAR_EXPORT: _zend_prop_purpose = 3;
4409pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_JSON: _zend_prop_purpose = 4;
4410pub const _zend_prop_purpose__ZEND_PROP_PURPOSE_NON_EXHAUSTIVE_ENUM: _zend_prop_purpose = 5;
4411pub type _zend_prop_purpose = ::std::os::raw::c_uint;
4412pub use self::_zend_prop_purpose as zend_prop_purpose;
4413pub type zend_object_get_properties_for_t = ::std::option::Option<
4414 unsafe extern "C" fn(object: *mut zend_object, purpose: zend_prop_purpose) -> *mut zend_array,
4415>;
4416pub type zend_object_get_method_t = ::std::option::Option<
4417 unsafe extern "C" fn(
4418 object: *mut *mut zend_object,
4419 method: *mut zend_string,
4420 key: *const zval,
4421 ) -> *mut zend_function,
4422>;
4423pub type zend_object_get_constructor_t =
4424 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_function>;
4425pub type zend_object_dtor_obj_t =
4426 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
4427pub type zend_object_free_obj_t =
4428 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
4429pub type zend_object_clone_obj_t =
4430 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_object>;
4431pub type zend_object_get_class_name_t =
4432 ::std::option::Option<unsafe extern "C" fn(object: *const zend_object) -> *mut zend_string>;
4433pub type zend_object_compare_t = ::std::option::Option<
4434 unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
4435>;
4436pub type zend_object_cast_t = ::std::option::Option<
4437 unsafe extern "C" fn(
4438 readobj: *mut zend_object,
4439 retval: *mut zval,
4440 type_: ::std::os::raw::c_int,
4441 ) -> ::std::os::raw::c_int,
4442>;
4443pub type zend_object_count_elements_t = ::std::option::Option<
4444 unsafe extern "C" fn(object: *mut zend_object, count: *mut zend_long) -> ::std::os::raw::c_int,
4445>;
4446pub type zend_object_get_closure_t = ::std::option::Option<
4447 unsafe extern "C" fn(
4448 obj: *mut zend_object,
4449 ce_ptr: *mut *mut zend_class_entry,
4450 fptr_ptr: *mut *mut zend_function,
4451 obj_ptr: *mut *mut zend_object,
4452 check_only: zend_bool,
4453 ) -> ::std::os::raw::c_int,
4454>;
4455pub type zend_object_get_gc_t = ::std::option::Option<
4456 unsafe extern "C" fn(
4457 object: *mut zend_object,
4458 table: *mut *mut zval,
4459 n: *mut ::std::os::raw::c_int,
4460 ) -> *mut HashTable,
4461>;
4462pub type zend_object_do_operation_t = ::std::option::Option<
4463 unsafe extern "C" fn(
4464 opcode: zend_uchar,
4465 result: *mut zval,
4466 op1: *mut zval,
4467 op2: *mut zval,
4468 ) -> ::std::os::raw::c_int,
4469>;
4470#[repr(C)]
4471#[derive(Debug, Copy, Clone)]
4472pub struct _zend_object_handlers {
4473 pub offset: ::std::os::raw::c_int,
4474 pub free_obj: zend_object_free_obj_t,
4475 pub dtor_obj: zend_object_dtor_obj_t,
4476 pub clone_obj: zend_object_clone_obj_t,
4477 pub read_property: zend_object_read_property_t,
4478 pub write_property: zend_object_write_property_t,
4479 pub read_dimension: zend_object_read_dimension_t,
4480 pub write_dimension: zend_object_write_dimension_t,
4481 pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
4482 pub has_property: zend_object_has_property_t,
4483 pub unset_property: zend_object_unset_property_t,
4484 pub has_dimension: zend_object_has_dimension_t,
4485 pub unset_dimension: zend_object_unset_dimension_t,
4486 pub get_properties: zend_object_get_properties_t,
4487 pub get_method: zend_object_get_method_t,
4488 pub get_constructor: zend_object_get_constructor_t,
4489 pub get_class_name: zend_object_get_class_name_t,
4490 pub cast_object: zend_object_cast_t,
4491 pub count_elements: zend_object_count_elements_t,
4492 pub get_debug_info: zend_object_get_debug_info_t,
4493 pub get_closure: zend_object_get_closure_t,
4494 pub get_gc: zend_object_get_gc_t,
4495 pub do_operation: zend_object_do_operation_t,
4496 pub compare: zend_object_compare_t,
4497 pub get_properties_for: zend_object_get_properties_for_t,
4498}
4499#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4500const _: () = {
4501 ["Size of _zend_object_handlers"][::std::mem::size_of::<_zend_object_handlers>() - 200usize];
4502 ["Alignment of _zend_object_handlers"]
4503 [::std::mem::align_of::<_zend_object_handlers>() - 8usize];
4504 ["Offset of field: _zend_object_handlers::offset"]
4505 [::std::mem::offset_of!(_zend_object_handlers, offset) - 0usize];
4506 ["Offset of field: _zend_object_handlers::free_obj"]
4507 [::std::mem::offset_of!(_zend_object_handlers, free_obj) - 8usize];
4508 ["Offset of field: _zend_object_handlers::dtor_obj"]
4509 [::std::mem::offset_of!(_zend_object_handlers, dtor_obj) - 16usize];
4510 ["Offset of field: _zend_object_handlers::clone_obj"]
4511 [::std::mem::offset_of!(_zend_object_handlers, clone_obj) - 24usize];
4512 ["Offset of field: _zend_object_handlers::read_property"]
4513 [::std::mem::offset_of!(_zend_object_handlers, read_property) - 32usize];
4514 ["Offset of field: _zend_object_handlers::write_property"]
4515 [::std::mem::offset_of!(_zend_object_handlers, write_property) - 40usize];
4516 ["Offset of field: _zend_object_handlers::read_dimension"]
4517 [::std::mem::offset_of!(_zend_object_handlers, read_dimension) - 48usize];
4518 ["Offset of field: _zend_object_handlers::write_dimension"]
4519 [::std::mem::offset_of!(_zend_object_handlers, write_dimension) - 56usize];
4520 ["Offset of field: _zend_object_handlers::get_property_ptr_ptr"]
4521 [::std::mem::offset_of!(_zend_object_handlers, get_property_ptr_ptr) - 64usize];
4522 ["Offset of field: _zend_object_handlers::has_property"]
4523 [::std::mem::offset_of!(_zend_object_handlers, has_property) - 72usize];
4524 ["Offset of field: _zend_object_handlers::unset_property"]
4525 [::std::mem::offset_of!(_zend_object_handlers, unset_property) - 80usize];
4526 ["Offset of field: _zend_object_handlers::has_dimension"]
4527 [::std::mem::offset_of!(_zend_object_handlers, has_dimension) - 88usize];
4528 ["Offset of field: _zend_object_handlers::unset_dimension"]
4529 [::std::mem::offset_of!(_zend_object_handlers, unset_dimension) - 96usize];
4530 ["Offset of field: _zend_object_handlers::get_properties"]
4531 [::std::mem::offset_of!(_zend_object_handlers, get_properties) - 104usize];
4532 ["Offset of field: _zend_object_handlers::get_method"]
4533 [::std::mem::offset_of!(_zend_object_handlers, get_method) - 112usize];
4534 ["Offset of field: _zend_object_handlers::get_constructor"]
4535 [::std::mem::offset_of!(_zend_object_handlers, get_constructor) - 120usize];
4536 ["Offset of field: _zend_object_handlers::get_class_name"]
4537 [::std::mem::offset_of!(_zend_object_handlers, get_class_name) - 128usize];
4538 ["Offset of field: _zend_object_handlers::cast_object"]
4539 [::std::mem::offset_of!(_zend_object_handlers, cast_object) - 136usize];
4540 ["Offset of field: _zend_object_handlers::count_elements"]
4541 [::std::mem::offset_of!(_zend_object_handlers, count_elements) - 144usize];
4542 ["Offset of field: _zend_object_handlers::get_debug_info"]
4543 [::std::mem::offset_of!(_zend_object_handlers, get_debug_info) - 152usize];
4544 ["Offset of field: _zend_object_handlers::get_closure"]
4545 [::std::mem::offset_of!(_zend_object_handlers, get_closure) - 160usize];
4546 ["Offset of field: _zend_object_handlers::get_gc"]
4547 [::std::mem::offset_of!(_zend_object_handlers, get_gc) - 168usize];
4548 ["Offset of field: _zend_object_handlers::do_operation"]
4549 [::std::mem::offset_of!(_zend_object_handlers, do_operation) - 176usize];
4550 ["Offset of field: _zend_object_handlers::compare"]
4551 [::std::mem::offset_of!(_zend_object_handlers, compare) - 184usize];
4552 ["Offset of field: _zend_object_handlers::get_properties_for"]
4553 [::std::mem::offset_of!(_zend_object_handlers, get_properties_for) - 192usize];
4554};
4555extern "C" {
4556 pub static std_object_handlers: zend_object_handlers;
4557}
4558extern "C" {
4559 pub fn zend_class_init_statics(ce: *mut zend_class_entry);
4560}
4561extern "C" {
4562 pub fn zend_std_get_static_method(
4563 ce: *mut zend_class_entry,
4564 function_name_strval: *mut zend_string,
4565 key: *const zval,
4566 ) -> *mut zend_function;
4567}
4568extern "C" {
4569 pub fn zend_std_get_static_property_with_info(
4570 ce: *mut zend_class_entry,
4571 property_name: *mut zend_string,
4572 type_: ::std::os::raw::c_int,
4573 prop_info: *mut *mut _zend_property_info,
4574 ) -> *mut zval;
4575}
4576extern "C" {
4577 pub fn zend_std_get_static_property(
4578 ce: *mut zend_class_entry,
4579 property_name: *mut zend_string,
4580 type_: ::std::os::raw::c_int,
4581 ) -> *mut zval;
4582}
4583extern "C" {
4584 pub fn zend_std_unset_static_property(
4585 ce: *mut zend_class_entry,
4586 property_name: *mut zend_string,
4587 ) -> zend_bool;
4588}
4589extern "C" {
4590 pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut zend_function;
4591}
4592extern "C" {
4593 pub fn zend_get_property_info(
4594 ce: *mut zend_class_entry,
4595 member: *mut zend_string,
4596 silent: ::std::os::raw::c_int,
4597 ) -> *mut _zend_property_info;
4598}
4599extern "C" {
4600 pub fn zend_std_get_properties(object: *mut zend_object) -> *mut HashTable;
4601}
4602extern "C" {
4603 pub fn zend_std_get_gc(
4604 object: *mut zend_object,
4605 table: *mut *mut zval,
4606 n: *mut ::std::os::raw::c_int,
4607 ) -> *mut HashTable;
4608}
4609extern "C" {
4610 pub fn zend_std_get_debug_info(
4611 object: *mut zend_object,
4612 is_temp: *mut ::std::os::raw::c_int,
4613 ) -> *mut HashTable;
4614}
4615extern "C" {
4616 pub fn zend_std_cast_object_tostring(
4617 object: *mut zend_object,
4618 writeobj: *mut zval,
4619 type_: ::std::os::raw::c_int,
4620 ) -> ::std::os::raw::c_int;
4621}
4622extern "C" {
4623 pub fn zend_std_get_property_ptr_ptr(
4624 object: *mut zend_object,
4625 member: *mut zend_string,
4626 type_: ::std::os::raw::c_int,
4627 cache_slot: *mut *mut ::std::os::raw::c_void,
4628 ) -> *mut zval;
4629}
4630extern "C" {
4631 pub fn zend_std_read_property(
4632 object: *mut zend_object,
4633 member: *mut zend_string,
4634 type_: ::std::os::raw::c_int,
4635 cache_slot: *mut *mut ::std::os::raw::c_void,
4636 rv: *mut zval,
4637 ) -> *mut zval;
4638}
4639extern "C" {
4640 pub fn zend_std_write_property(
4641 object: *mut zend_object,
4642 member: *mut zend_string,
4643 value: *mut zval,
4644 cache_slot: *mut *mut ::std::os::raw::c_void,
4645 ) -> *mut zval;
4646}
4647extern "C" {
4648 pub fn zend_std_has_property(
4649 object: *mut zend_object,
4650 member: *mut zend_string,
4651 has_set_exists: ::std::os::raw::c_int,
4652 cache_slot: *mut *mut ::std::os::raw::c_void,
4653 ) -> ::std::os::raw::c_int;
4654}
4655extern "C" {
4656 pub fn zend_std_unset_property(
4657 object: *mut zend_object,
4658 member: *mut zend_string,
4659 cache_slot: *mut *mut ::std::os::raw::c_void,
4660 );
4661}
4662extern "C" {
4663 pub fn zend_std_read_dimension(
4664 object: *mut zend_object,
4665 offset: *mut zval,
4666 type_: ::std::os::raw::c_int,
4667 rv: *mut zval,
4668 ) -> *mut zval;
4669}
4670extern "C" {
4671 pub fn zend_std_write_dimension(object: *mut zend_object, offset: *mut zval, value: *mut zval);
4672}
4673extern "C" {
4674 pub fn zend_std_has_dimension(
4675 object: *mut zend_object,
4676 offset: *mut zval,
4677 check_empty: ::std::os::raw::c_int,
4678 ) -> ::std::os::raw::c_int;
4679}
4680extern "C" {
4681 pub fn zend_std_unset_dimension(object: *mut zend_object, offset: *mut zval);
4682}
4683extern "C" {
4684 pub fn zend_std_get_method(
4685 obj_ptr: *mut *mut zend_object,
4686 method_name: *mut zend_string,
4687 key: *const zval,
4688 ) -> *mut zend_function;
4689}
4690extern "C" {
4691 pub fn zend_std_get_class_name(zobj: *const zend_object) -> *mut zend_string;
4692}
4693extern "C" {
4694 pub fn zend_std_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
4695}
4696extern "C" {
4697 pub fn zend_std_get_closure(
4698 obj: *mut zend_object,
4699 ce_ptr: *mut *mut zend_class_entry,
4700 fptr_ptr: *mut *mut zend_function,
4701 obj_ptr: *mut *mut zend_object,
4702 check_only: zend_bool,
4703 ) -> ::std::os::raw::c_int;
4704}
4705extern "C" {
4706 pub fn zend_check_protected(
4707 ce: *mut zend_class_entry,
4708 scope: *mut zend_class_entry,
4709 ) -> ::std::os::raw::c_int;
4710}
4711extern "C" {
4712 pub fn zend_check_property_access(
4713 zobj: *mut zend_object,
4714 prop_info_name: *mut zend_string,
4715 is_dynamic: zend_bool,
4716 ) -> ::std::os::raw::c_int;
4717}
4718extern "C" {
4719 pub fn zend_get_call_trampoline_func(
4720 ce: *mut zend_class_entry,
4721 method_name: *mut zend_string,
4722 is_static: ::std::os::raw::c_int,
4723 ) -> *mut zend_function;
4724}
4725extern "C" {
4726 pub fn zend_get_property_guard(zobj: *mut zend_object, member: *mut zend_string) -> *mut u32;
4727}
4728extern "C" {
4729 pub fn zend_std_get_properties_for(
4730 obj: *mut zend_object,
4731 purpose: zend_prop_purpose,
4732 ) -> *mut HashTable;
4733}
4734extern "C" {
4735 pub fn zend_get_properties_for(obj: *mut zval, purpose: zend_prop_purpose) -> *mut HashTable;
4736}
4737extern "C" {
4738 pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
4739}
4740extern "C" {
4741 pub fn zend_dtoa(
4742 _d: f64,
4743 mode: ::std::os::raw::c_int,
4744 ndigits: ::std::os::raw::c_int,
4745 decpt: *mut ::std::os::raw::c_int,
4746 sign: *mut ::std::os::raw::c_int,
4747 rve: *mut *mut ::std::os::raw::c_char,
4748 ) -> *mut ::std::os::raw::c_char;
4749}
4750extern "C" {
4751 pub fn zend_strtod(
4752 s00: *const ::std::os::raw::c_char,
4753 se: *mut *const ::std::os::raw::c_char,
4754 ) -> f64;
4755}
4756extern "C" {
4757 pub fn zend_hex_strtod(
4758 str_: *const ::std::os::raw::c_char,
4759 endptr: *mut *const ::std::os::raw::c_char,
4760 ) -> f64;
4761}
4762extern "C" {
4763 pub fn zend_oct_strtod(
4764 str_: *const ::std::os::raw::c_char,
4765 endptr: *mut *const ::std::os::raw::c_char,
4766 ) -> f64;
4767}
4768extern "C" {
4769 pub fn zend_bin_strtod(
4770 str_: *const ::std::os::raw::c_char,
4771 endptr: *mut *const ::std::os::raw::c_char,
4772 ) -> f64;
4773}
4774extern "C" {
4775 pub fn zend_startup_strtod() -> ::std::os::raw::c_int;
4776}
4777extern "C" {
4778 pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
4779}
4780extern "C" {
4781 pub fn zend_is_identical(op1: *mut zval, op2: *mut zval) -> zend_bool;
4782}
4783extern "C" {
4784 pub fn zend_class_implements_interface(
4785 class_ce: *const zend_class_entry,
4786 interface_ce: *const zend_class_entry,
4787 ) -> zend_bool;
4788}
4789extern "C" {
4790 pub fn zend_memnstr_ex(
4791 haystack: *const ::std::os::raw::c_char,
4792 needle: *const ::std::os::raw::c_char,
4793 needle_len: usize,
4794 end: *const ::std::os::raw::c_char,
4795 ) -> *const ::std::os::raw::c_char;
4796}
4797extern "C" {
4798 pub fn zend_memnrstr_ex(
4799 haystack: *const ::std::os::raw::c_char,
4800 needle: *const ::std::os::raw::c_char,
4801 needle_len: usize,
4802 end: *const ::std::os::raw::c_char,
4803 ) -> *const ::std::os::raw::c_char;
4804}
4805extern "C" {
4806 pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
4807}
4808extern "C" {
4809 pub fn zend_is_true(op: *mut zval) -> ::std::os::raw::c_int;
4810}
4811extern "C" {
4812 pub fn zend_object_is_true(op: *mut zval) -> bool;
4813}
4814extern "C" {
4815 pub fn zend_compare(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
4816}
4817extern "C" {
4818 pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: usize);
4819}
4820extern "C" {
4821 pub fn zend_str_tolower_copy(
4822 dest: *mut ::std::os::raw::c_char,
4823 source: *const ::std::os::raw::c_char,
4824 length: usize,
4825 ) -> *mut ::std::os::raw::c_char;
4826}
4827extern "C" {
4828 pub fn zend_str_tolower_dup(
4829 source: *const ::std::os::raw::c_char,
4830 length: usize,
4831 ) -> *mut ::std::os::raw::c_char;
4832}
4833extern "C" {
4834 pub fn zend_str_tolower_dup_ex(
4835 source: *const ::std::os::raw::c_char,
4836 length: usize,
4837 ) -> *mut ::std::os::raw::c_char;
4838}
4839extern "C" {
4840 pub fn zend_string_tolower_ex(str_: *mut zend_string, persistent: bool) -> *mut zend_string;
4841}
4842extern "C" {
4843 pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
4844}
4845extern "C" {
4846 pub fn zend_binary_zval_strncmp(
4847 s1: *mut zval,
4848 s2: *mut zval,
4849 s3: *mut zval,
4850 ) -> ::std::os::raw::c_int;
4851}
4852extern "C" {
4853 pub fn zend_binary_zval_strcasecmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
4854}
4855extern "C" {
4856 pub fn zend_binary_zval_strncasecmp(
4857 s1: *mut zval,
4858 s2: *mut zval,
4859 s3: *mut zval,
4860 ) -> ::std::os::raw::c_int;
4861}
4862extern "C" {
4863 pub fn zend_binary_strcmp(
4864 s1: *const ::std::os::raw::c_char,
4865 len1: usize,
4866 s2: *const ::std::os::raw::c_char,
4867 len2: usize,
4868 ) -> ::std::os::raw::c_int;
4869}
4870extern "C" {
4871 pub fn zend_binary_strncmp(
4872 s1: *const ::std::os::raw::c_char,
4873 len1: usize,
4874 s2: *const ::std::os::raw::c_char,
4875 len2: usize,
4876 length: usize,
4877 ) -> ::std::os::raw::c_int;
4878}
4879extern "C" {
4880 pub fn zend_binary_strcasecmp(
4881 s1: *const ::std::os::raw::c_char,
4882 len1: usize,
4883 s2: *const ::std::os::raw::c_char,
4884 len2: usize,
4885 ) -> ::std::os::raw::c_int;
4886}
4887extern "C" {
4888 pub fn zend_binary_strncasecmp(
4889 s1: *const ::std::os::raw::c_char,
4890 len1: usize,
4891 s2: *const ::std::os::raw::c_char,
4892 len2: usize,
4893 length: usize,
4894 ) -> ::std::os::raw::c_int;
4895}
4896extern "C" {
4897 pub fn zend_binary_strcasecmp_l(
4898 s1: *const ::std::os::raw::c_char,
4899 len1: usize,
4900 s2: *const ::std::os::raw::c_char,
4901 len2: usize,
4902 ) -> ::std::os::raw::c_int;
4903}
4904extern "C" {
4905 pub fn zend_binary_strncasecmp_l(
4906 s1: *const ::std::os::raw::c_char,
4907 len1: usize,
4908 s2: *const ::std::os::raw::c_char,
4909 len2: usize,
4910 length: usize,
4911 ) -> ::std::os::raw::c_int;
4912}
4913extern "C" {
4914 pub fn zendi_smart_streq(s1: *mut zend_string, s2: *mut zend_string) -> bool;
4915}
4916extern "C" {
4917 pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> ::std::os::raw::c_int;
4918}
4919extern "C" {
4920 pub fn zend_compare_symbol_tables(
4921 ht1: *mut HashTable,
4922 ht2: *mut HashTable,
4923 ) -> ::std::os::raw::c_int;
4924}
4925extern "C" {
4926 pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
4927}
4928extern "C" {
4929 pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
4930}
4931extern "C" {
4932 pub fn zend_atoi(str_: *const ::std::os::raw::c_char, str_len: usize) -> ::std::os::raw::c_int;
4933}
4934extern "C" {
4935 pub fn zend_atol(str_: *const ::std::os::raw::c_char, str_len: usize) -> zend_long;
4936}
4937extern "C" {
4938 pub fn zend_locale_sprintf_double(op: *mut zval);
4939}
4940extern "C" {
4941 pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
4942}
4943extern "C" {
4944 pub fn zend_sort(
4945 base: *mut ::std::os::raw::c_void,
4946 nmemb: usize,
4947 siz: usize,
4948 cmp: compare_func_t,
4949 swp: swap_func_t,
4950 );
4951}
4952extern "C" {
4953 pub fn zend_insert_sort(
4954 base: *mut ::std::os::raw::c_void,
4955 nmemb: usize,
4956 siz: usize,
4957 cmp: compare_func_t,
4958 swp: swap_func_t,
4959 );
4960}
4961pub type zend_op_array = _zend_op_array;
4962pub type zend_op = _zend_op;
4963#[repr(C)]
4964#[derive(Copy, Clone)]
4965pub union _znode_op {
4966 pub constant: u32,
4967 pub var: u32,
4968 pub num: u32,
4969 pub opline_num: u32,
4970 pub jmp_offset: u32,
4971}
4972#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4973const _: () = {
4974 ["Size of _znode_op"][::std::mem::size_of::<_znode_op>() - 4usize];
4975 ["Alignment of _znode_op"][::std::mem::align_of::<_znode_op>() - 4usize];
4976 ["Offset of field: _znode_op::constant"][::std::mem::offset_of!(_znode_op, constant) - 0usize];
4977 ["Offset of field: _znode_op::var"][::std::mem::offset_of!(_znode_op, var) - 0usize];
4978 ["Offset of field: _znode_op::num"][::std::mem::offset_of!(_znode_op, num) - 0usize];
4979 ["Offset of field: _znode_op::opline_num"]
4980 [::std::mem::offset_of!(_znode_op, opline_num) - 0usize];
4981 ["Offset of field: _znode_op::jmp_offset"]
4982 [::std::mem::offset_of!(_znode_op, jmp_offset) - 0usize];
4983};
4984pub type znode_op = _znode_op;
4985#[repr(C)]
4986#[derive(Copy, Clone)]
4987pub struct _znode {
4988 pub op_type: zend_uchar,
4989 pub flag: zend_uchar,
4990 pub u: _znode__bindgen_ty_1,
4991}
4992#[repr(C)]
4993#[derive(Copy, Clone)]
4994pub union _znode__bindgen_ty_1 {
4995 pub op: znode_op,
4996 pub constant: zval,
4997}
4998#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4999const _: () = {
5000 ["Size of _znode__bindgen_ty_1"][::std::mem::size_of::<_znode__bindgen_ty_1>() - 16usize];
5001 ["Alignment of _znode__bindgen_ty_1"][::std::mem::align_of::<_znode__bindgen_ty_1>() - 8usize];
5002 ["Offset of field: _znode__bindgen_ty_1::op"]
5003 [::std::mem::offset_of!(_znode__bindgen_ty_1, op) - 0usize];
5004 ["Offset of field: _znode__bindgen_ty_1::constant"]
5005 [::std::mem::offset_of!(_znode__bindgen_ty_1, constant) - 0usize];
5006};
5007#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5008const _: () = {
5009 ["Size of _znode"][::std::mem::size_of::<_znode>() - 24usize];
5010 ["Alignment of _znode"][::std::mem::align_of::<_znode>() - 8usize];
5011 ["Offset of field: _znode::op_type"][::std::mem::offset_of!(_znode, op_type) - 0usize];
5012 ["Offset of field: _znode::flag"][::std::mem::offset_of!(_znode, flag) - 1usize];
5013 ["Offset of field: _znode::u"][::std::mem::offset_of!(_znode, u) - 8usize];
5014};
5015pub type znode = _znode;
5016#[repr(C)]
5017#[derive(Copy, Clone)]
5018pub struct _zend_ast_znode {
5019 pub kind: zend_ast_kind,
5020 pub attr: zend_ast_attr,
5021 pub lineno: u32,
5022 pub node: znode,
5023}
5024#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5025const _: () = {
5026 ["Size of _zend_ast_znode"][::std::mem::size_of::<_zend_ast_znode>() - 32usize];
5027 ["Alignment of _zend_ast_znode"][::std::mem::align_of::<_zend_ast_znode>() - 8usize];
5028 ["Offset of field: _zend_ast_znode::kind"]
5029 [::std::mem::offset_of!(_zend_ast_znode, kind) - 0usize];
5030 ["Offset of field: _zend_ast_znode::attr"]
5031 [::std::mem::offset_of!(_zend_ast_znode, attr) - 2usize];
5032 ["Offset of field: _zend_ast_znode::lineno"]
5033 [::std::mem::offset_of!(_zend_ast_znode, lineno) - 4usize];
5034 ["Offset of field: _zend_ast_znode::node"]
5035 [::std::mem::offset_of!(_zend_ast_znode, node) - 8usize];
5036};
5037pub type zend_ast_znode = _zend_ast_znode;
5038extern "C" {
5039 pub fn zend_ast_create_znode(node: *mut znode) -> *mut zend_ast;
5040}
5041#[repr(C)]
5042#[derive(Debug, Copy, Clone)]
5043pub struct _zend_declarables {
5044 pub ticks: zend_long,
5045}
5046#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5047const _: () = {
5048 ["Size of _zend_declarables"][::std::mem::size_of::<_zend_declarables>() - 8usize];
5049 ["Alignment of _zend_declarables"][::std::mem::align_of::<_zend_declarables>() - 8usize];
5050 ["Offset of field: _zend_declarables::ticks"]
5051 [::std::mem::offset_of!(_zend_declarables, ticks) - 0usize];
5052};
5053pub type zend_declarables = _zend_declarables;
5054#[repr(C)]
5055#[derive(Copy, Clone)]
5056pub struct _zend_file_context {
5057 pub declarables: zend_declarables,
5058 pub current_namespace: *mut zend_string,
5059 pub in_namespace: zend_bool,
5060 pub has_bracketed_namespaces: zend_bool,
5061 pub imports: *mut HashTable,
5062 pub imports_function: *mut HashTable,
5063 pub imports_const: *mut HashTable,
5064 pub seen_symbols: HashTable,
5065}
5066#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5067const _: () = {
5068 ["Size of _zend_file_context"][::std::mem::size_of::<_zend_file_context>() - 104usize];
5069 ["Alignment of _zend_file_context"][::std::mem::align_of::<_zend_file_context>() - 8usize];
5070 ["Offset of field: _zend_file_context::declarables"]
5071 [::std::mem::offset_of!(_zend_file_context, declarables) - 0usize];
5072 ["Offset of field: _zend_file_context::current_namespace"]
5073 [::std::mem::offset_of!(_zend_file_context, current_namespace) - 8usize];
5074 ["Offset of field: _zend_file_context::in_namespace"]
5075 [::std::mem::offset_of!(_zend_file_context, in_namespace) - 16usize];
5076 ["Offset of field: _zend_file_context::has_bracketed_namespaces"]
5077 [::std::mem::offset_of!(_zend_file_context, has_bracketed_namespaces) - 17usize];
5078 ["Offset of field: _zend_file_context::imports"]
5079 [::std::mem::offset_of!(_zend_file_context, imports) - 24usize];
5080 ["Offset of field: _zend_file_context::imports_function"]
5081 [::std::mem::offset_of!(_zend_file_context, imports_function) - 32usize];
5082 ["Offset of field: _zend_file_context::imports_const"]
5083 [::std::mem::offset_of!(_zend_file_context, imports_const) - 40usize];
5084 ["Offset of field: _zend_file_context::seen_symbols"]
5085 [::std::mem::offset_of!(_zend_file_context, seen_symbols) - 48usize];
5086};
5087pub type zend_file_context = _zend_file_context;
5088#[repr(C)]
5089#[derive(Debug, Copy, Clone)]
5090pub struct zend_lexer_ident_ref {
5091 pub offset: u32,
5092 pub len: u32,
5093}
5094#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5095const _: () = {
5096 ["Size of zend_lexer_ident_ref"][::std::mem::size_of::<zend_lexer_ident_ref>() - 8usize];
5097 ["Alignment of zend_lexer_ident_ref"][::std::mem::align_of::<zend_lexer_ident_ref>() - 4usize];
5098 ["Offset of field: zend_lexer_ident_ref::offset"]
5099 [::std::mem::offset_of!(zend_lexer_ident_ref, offset) - 0usize];
5100 ["Offset of field: zend_lexer_ident_ref::len"]
5101 [::std::mem::offset_of!(zend_lexer_ident_ref, len) - 4usize];
5102};
5103#[repr(C)]
5104#[derive(Copy, Clone)]
5105pub union _zend_parser_stack_elem {
5106 pub ast: *mut zend_ast,
5107 pub str_: *mut zend_string,
5108 pub num: zend_ulong,
5109 pub ptr: *mut ::std::os::raw::c_uchar,
5110 pub ident: zend_lexer_ident_ref,
5111}
5112#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5113const _: () = {
5114 ["Size of _zend_parser_stack_elem"][::std::mem::size_of::<_zend_parser_stack_elem>() - 8usize];
5115 ["Alignment of _zend_parser_stack_elem"]
5116 [::std::mem::align_of::<_zend_parser_stack_elem>() - 8usize];
5117 ["Offset of field: _zend_parser_stack_elem::ast"]
5118 [::std::mem::offset_of!(_zend_parser_stack_elem, ast) - 0usize];
5119 ["Offset of field: _zend_parser_stack_elem::str_"]
5120 [::std::mem::offset_of!(_zend_parser_stack_elem, str_) - 0usize];
5121 ["Offset of field: _zend_parser_stack_elem::num"]
5122 [::std::mem::offset_of!(_zend_parser_stack_elem, num) - 0usize];
5123 ["Offset of field: _zend_parser_stack_elem::ptr"]
5124 [::std::mem::offset_of!(_zend_parser_stack_elem, ptr) - 0usize];
5125 ["Offset of field: _zend_parser_stack_elem::ident"]
5126 [::std::mem::offset_of!(_zend_parser_stack_elem, ident) - 0usize];
5127};
5128pub type zend_parser_stack_elem = _zend_parser_stack_elem;
5129extern "C" {
5130 pub fn zend_compile_top_stmt(ast: *mut zend_ast);
5131}
5132extern "C" {
5133 pub fn zend_compile_stmt(ast: *mut zend_ast);
5134}
5135extern "C" {
5136 pub fn zend_compile_expr(node: *mut znode, ast: *mut zend_ast);
5137}
5138extern "C" {
5139 pub fn zend_compile_var(
5140 node: *mut znode,
5141 ast: *mut zend_ast,
5142 type_: u32,
5143 by_ref: bool,
5144 ) -> *mut zend_op;
5145}
5146extern "C" {
5147 pub fn zend_eval_const_expr(ast_ptr: *mut *mut zend_ast);
5148}
5149extern "C" {
5150 pub fn zend_const_expr_to_zval(result: *mut zval, ast_ptr: *mut *mut zend_ast);
5151}
5152pub type user_opcode_handler_t = ::std::option::Option<
5153 unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
5154>;
5155#[repr(C)]
5156#[derive(Copy, Clone)]
5157pub struct _zend_op {
5158 pub handler: *const ::std::os::raw::c_void,
5159 pub op1: znode_op,
5160 pub op2: znode_op,
5161 pub result: znode_op,
5162 pub extended_value: u32,
5163 pub lineno: u32,
5164 pub opcode: zend_uchar,
5165 pub op1_type: zend_uchar,
5166 pub op2_type: zend_uchar,
5167 pub result_type: zend_uchar,
5168}
5169#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5170const _: () = {
5171 ["Size of _zend_op"][::std::mem::size_of::<_zend_op>() - 32usize];
5172 ["Alignment of _zend_op"][::std::mem::align_of::<_zend_op>() - 8usize];
5173 ["Offset of field: _zend_op::handler"][::std::mem::offset_of!(_zend_op, handler) - 0usize];
5174 ["Offset of field: _zend_op::op1"][::std::mem::offset_of!(_zend_op, op1) - 8usize];
5175 ["Offset of field: _zend_op::op2"][::std::mem::offset_of!(_zend_op, op2) - 12usize];
5176 ["Offset of field: _zend_op::result"][::std::mem::offset_of!(_zend_op, result) - 16usize];
5177 ["Offset of field: _zend_op::extended_value"]
5178 [::std::mem::offset_of!(_zend_op, extended_value) - 20usize];
5179 ["Offset of field: _zend_op::lineno"][::std::mem::offset_of!(_zend_op, lineno) - 24usize];
5180 ["Offset of field: _zend_op::opcode"][::std::mem::offset_of!(_zend_op, opcode) - 28usize];
5181 ["Offset of field: _zend_op::op1_type"][::std::mem::offset_of!(_zend_op, op1_type) - 29usize];
5182 ["Offset of field: _zend_op::op2_type"][::std::mem::offset_of!(_zend_op, op2_type) - 30usize];
5183 ["Offset of field: _zend_op::result_type"]
5184 [::std::mem::offset_of!(_zend_op, result_type) - 31usize];
5185};
5186#[repr(C)]
5187#[derive(Debug, Copy, Clone)]
5188pub struct _zend_brk_cont_element {
5189 pub start: ::std::os::raw::c_int,
5190 pub cont: ::std::os::raw::c_int,
5191 pub brk: ::std::os::raw::c_int,
5192 pub parent: ::std::os::raw::c_int,
5193 pub is_switch: zend_bool,
5194}
5195#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5196const _: () = {
5197 ["Size of _zend_brk_cont_element"][::std::mem::size_of::<_zend_brk_cont_element>() - 20usize];
5198 ["Alignment of _zend_brk_cont_element"]
5199 [::std::mem::align_of::<_zend_brk_cont_element>() - 4usize];
5200 ["Offset of field: _zend_brk_cont_element::start"]
5201 [::std::mem::offset_of!(_zend_brk_cont_element, start) - 0usize];
5202 ["Offset of field: _zend_brk_cont_element::cont"]
5203 [::std::mem::offset_of!(_zend_brk_cont_element, cont) - 4usize];
5204 ["Offset of field: _zend_brk_cont_element::brk"]
5205 [::std::mem::offset_of!(_zend_brk_cont_element, brk) - 8usize];
5206 ["Offset of field: _zend_brk_cont_element::parent"]
5207 [::std::mem::offset_of!(_zend_brk_cont_element, parent) - 12usize];
5208 ["Offset of field: _zend_brk_cont_element::is_switch"]
5209 [::std::mem::offset_of!(_zend_brk_cont_element, is_switch) - 16usize];
5210};
5211pub type zend_brk_cont_element = _zend_brk_cont_element;
5212#[repr(C)]
5213#[derive(Debug, Copy, Clone)]
5214pub struct _zend_label {
5215 pub brk_cont: ::std::os::raw::c_int,
5216 pub opline_num: u32,
5217}
5218#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5219const _: () = {
5220 ["Size of _zend_label"][::std::mem::size_of::<_zend_label>() - 8usize];
5221 ["Alignment of _zend_label"][::std::mem::align_of::<_zend_label>() - 4usize];
5222 ["Offset of field: _zend_label::brk_cont"]
5223 [::std::mem::offset_of!(_zend_label, brk_cont) - 0usize];
5224 ["Offset of field: _zend_label::opline_num"]
5225 [::std::mem::offset_of!(_zend_label, opline_num) - 4usize];
5226};
5227pub type zend_label = _zend_label;
5228#[repr(C)]
5229#[derive(Debug, Copy, Clone)]
5230pub struct _zend_try_catch_element {
5231 pub try_op: u32,
5232 pub catch_op: u32,
5233 pub finally_op: u32,
5234 pub finally_end: u32,
5235}
5236#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5237const _: () = {
5238 ["Size of _zend_try_catch_element"][::std::mem::size_of::<_zend_try_catch_element>() - 16usize];
5239 ["Alignment of _zend_try_catch_element"]
5240 [::std::mem::align_of::<_zend_try_catch_element>() - 4usize];
5241 ["Offset of field: _zend_try_catch_element::try_op"]
5242 [::std::mem::offset_of!(_zend_try_catch_element, try_op) - 0usize];
5243 ["Offset of field: _zend_try_catch_element::catch_op"]
5244 [::std::mem::offset_of!(_zend_try_catch_element, catch_op) - 4usize];
5245 ["Offset of field: _zend_try_catch_element::finally_op"]
5246 [::std::mem::offset_of!(_zend_try_catch_element, finally_op) - 8usize];
5247 ["Offset of field: _zend_try_catch_element::finally_end"]
5248 [::std::mem::offset_of!(_zend_try_catch_element, finally_end) - 12usize];
5249};
5250pub type zend_try_catch_element = _zend_try_catch_element;
5251#[repr(C)]
5252#[derive(Debug, Copy, Clone)]
5253pub struct _zend_live_range {
5254 pub var: u32,
5255 pub start: u32,
5256 pub end: u32,
5257}
5258#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5259const _: () = {
5260 ["Size of _zend_live_range"][::std::mem::size_of::<_zend_live_range>() - 12usize];
5261 ["Alignment of _zend_live_range"][::std::mem::align_of::<_zend_live_range>() - 4usize];
5262 ["Offset of field: _zend_live_range::var"]
5263 [::std::mem::offset_of!(_zend_live_range, var) - 0usize];
5264 ["Offset of field: _zend_live_range::start"]
5265 [::std::mem::offset_of!(_zend_live_range, start) - 4usize];
5266 ["Offset of field: _zend_live_range::end"]
5267 [::std::mem::offset_of!(_zend_live_range, end) - 8usize];
5268};
5269pub type zend_live_range = _zend_live_range;
5270#[repr(C)]
5271#[derive(Debug, Copy, Clone)]
5272pub struct _zend_oparray_context {
5273 pub opcodes_size: u32,
5274 pub vars_size: ::std::os::raw::c_int,
5275 pub literals_size: ::std::os::raw::c_int,
5276 pub fast_call_var: u32,
5277 pub try_catch_offset: u32,
5278 pub current_brk_cont: ::std::os::raw::c_int,
5279 pub last_brk_cont: ::std::os::raw::c_int,
5280 pub brk_cont_array: *mut zend_brk_cont_element,
5281 pub labels: *mut HashTable,
5282}
5283#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5284const _: () = {
5285 ["Size of _zend_oparray_context"][::std::mem::size_of::<_zend_oparray_context>() - 48usize];
5286 ["Alignment of _zend_oparray_context"]
5287 [::std::mem::align_of::<_zend_oparray_context>() - 8usize];
5288 ["Offset of field: _zend_oparray_context::opcodes_size"]
5289 [::std::mem::offset_of!(_zend_oparray_context, opcodes_size) - 0usize];
5290 ["Offset of field: _zend_oparray_context::vars_size"]
5291 [::std::mem::offset_of!(_zend_oparray_context, vars_size) - 4usize];
5292 ["Offset of field: _zend_oparray_context::literals_size"]
5293 [::std::mem::offset_of!(_zend_oparray_context, literals_size) - 8usize];
5294 ["Offset of field: _zend_oparray_context::fast_call_var"]
5295 [::std::mem::offset_of!(_zend_oparray_context, fast_call_var) - 12usize];
5296 ["Offset of field: _zend_oparray_context::try_catch_offset"]
5297 [::std::mem::offset_of!(_zend_oparray_context, try_catch_offset) - 16usize];
5298 ["Offset of field: _zend_oparray_context::current_brk_cont"]
5299 [::std::mem::offset_of!(_zend_oparray_context, current_brk_cont) - 20usize];
5300 ["Offset of field: _zend_oparray_context::last_brk_cont"]
5301 [::std::mem::offset_of!(_zend_oparray_context, last_brk_cont) - 24usize];
5302 ["Offset of field: _zend_oparray_context::brk_cont_array"]
5303 [::std::mem::offset_of!(_zend_oparray_context, brk_cont_array) - 32usize];
5304 ["Offset of field: _zend_oparray_context::labels"]
5305 [::std::mem::offset_of!(_zend_oparray_context, labels) - 40usize];
5306};
5307pub type zend_oparray_context = _zend_oparray_context;
5308extern "C" {
5309 pub fn zend_visibility_string(fn_flags: u32) -> *mut ::std::os::raw::c_char;
5310}
5311#[repr(C)]
5312#[derive(Debug, Copy, Clone)]
5313pub struct _zend_property_info {
5314 pub offset: u32,
5315 pub flags: u32,
5316 pub name: *mut zend_string,
5317 pub doc_comment: *mut zend_string,
5318 pub attributes: *mut HashTable,
5319 pub ce: *mut zend_class_entry,
5320 pub type_: zend_type,
5321}
5322#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5323const _: () = {
5324 ["Size of _zend_property_info"][::std::mem::size_of::<_zend_property_info>() - 56usize];
5325 ["Alignment of _zend_property_info"][::std::mem::align_of::<_zend_property_info>() - 8usize];
5326 ["Offset of field: _zend_property_info::offset"]
5327 [::std::mem::offset_of!(_zend_property_info, offset) - 0usize];
5328 ["Offset of field: _zend_property_info::flags"]
5329 [::std::mem::offset_of!(_zend_property_info, flags) - 4usize];
5330 ["Offset of field: _zend_property_info::name"]
5331 [::std::mem::offset_of!(_zend_property_info, name) - 8usize];
5332 ["Offset of field: _zend_property_info::doc_comment"]
5333 [::std::mem::offset_of!(_zend_property_info, doc_comment) - 16usize];
5334 ["Offset of field: _zend_property_info::attributes"]
5335 [::std::mem::offset_of!(_zend_property_info, attributes) - 24usize];
5336 ["Offset of field: _zend_property_info::ce"]
5337 [::std::mem::offset_of!(_zend_property_info, ce) - 32usize];
5338 ["Offset of field: _zend_property_info::type_"]
5339 [::std::mem::offset_of!(_zend_property_info, type_) - 40usize];
5340};
5341pub type zend_property_info = _zend_property_info;
5342#[repr(C)]
5343#[derive(Copy, Clone)]
5344pub struct _zend_class_constant {
5345 pub value: zval,
5346 pub doc_comment: *mut zend_string,
5347 pub attributes: *mut HashTable,
5348 pub ce: *mut zend_class_entry,
5349}
5350#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5351const _: () = {
5352 ["Size of _zend_class_constant"][::std::mem::size_of::<_zend_class_constant>() - 40usize];
5353 ["Alignment of _zend_class_constant"][::std::mem::align_of::<_zend_class_constant>() - 8usize];
5354 ["Offset of field: _zend_class_constant::value"]
5355 [::std::mem::offset_of!(_zend_class_constant, value) - 0usize];
5356 ["Offset of field: _zend_class_constant::doc_comment"]
5357 [::std::mem::offset_of!(_zend_class_constant, doc_comment) - 16usize];
5358 ["Offset of field: _zend_class_constant::attributes"]
5359 [::std::mem::offset_of!(_zend_class_constant, attributes) - 24usize];
5360 ["Offset of field: _zend_class_constant::ce"]
5361 [::std::mem::offset_of!(_zend_class_constant, ce) - 32usize];
5362};
5363pub type zend_class_constant = _zend_class_constant;
5364#[repr(C)]
5365#[derive(Debug, Copy, Clone)]
5366pub struct _zend_internal_arg_info {
5367 pub name: *const ::std::os::raw::c_char,
5368 pub type_: zend_type,
5369 pub default_value: *const ::std::os::raw::c_char,
5370}
5371#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5372const _: () = {
5373 ["Size of _zend_internal_arg_info"][::std::mem::size_of::<_zend_internal_arg_info>() - 32usize];
5374 ["Alignment of _zend_internal_arg_info"]
5375 [::std::mem::align_of::<_zend_internal_arg_info>() - 8usize];
5376 ["Offset of field: _zend_internal_arg_info::name"]
5377 [::std::mem::offset_of!(_zend_internal_arg_info, name) - 0usize];
5378 ["Offset of field: _zend_internal_arg_info::type_"]
5379 [::std::mem::offset_of!(_zend_internal_arg_info, type_) - 8usize];
5380 ["Offset of field: _zend_internal_arg_info::default_value"]
5381 [::std::mem::offset_of!(_zend_internal_arg_info, default_value) - 24usize];
5382};
5383pub type zend_internal_arg_info = _zend_internal_arg_info;
5384#[repr(C)]
5385#[derive(Debug, Copy, Clone)]
5386pub struct _zend_arg_info {
5387 pub name: *mut zend_string,
5388 pub type_: zend_type,
5389 pub default_value: *mut zend_string,
5390}
5391#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5392const _: () = {
5393 ["Size of _zend_arg_info"][::std::mem::size_of::<_zend_arg_info>() - 32usize];
5394 ["Alignment of _zend_arg_info"][::std::mem::align_of::<_zend_arg_info>() - 8usize];
5395 ["Offset of field: _zend_arg_info::name"]
5396 [::std::mem::offset_of!(_zend_arg_info, name) - 0usize];
5397 ["Offset of field: _zend_arg_info::type_"]
5398 [::std::mem::offset_of!(_zend_arg_info, type_) - 8usize];
5399 ["Offset of field: _zend_arg_info::default_value"]
5400 [::std::mem::offset_of!(_zend_arg_info, default_value) - 24usize];
5401};
5402pub type zend_arg_info = _zend_arg_info;
5403#[repr(C)]
5404#[derive(Debug, Copy, Clone)]
5405pub struct _zend_internal_function_info {
5406 pub required_num_args: zend_uintptr_t,
5407 pub type_: zend_type,
5408 pub default_value: *const ::std::os::raw::c_char,
5409}
5410#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5411const _: () = {
5412 ["Size of _zend_internal_function_info"]
5413 [::std::mem::size_of::<_zend_internal_function_info>() - 32usize];
5414 ["Alignment of _zend_internal_function_info"]
5415 [::std::mem::align_of::<_zend_internal_function_info>() - 8usize];
5416 ["Offset of field: _zend_internal_function_info::required_num_args"]
5417 [::std::mem::offset_of!(_zend_internal_function_info, required_num_args) - 0usize];
5418 ["Offset of field: _zend_internal_function_info::type_"]
5419 [::std::mem::offset_of!(_zend_internal_function_info, type_) - 8usize];
5420 ["Offset of field: _zend_internal_function_info::default_value"]
5421 [::std::mem::offset_of!(_zend_internal_function_info, default_value) - 24usize];
5422};
5423pub type zend_internal_function_info = _zend_internal_function_info;
5424#[repr(C)]
5425#[derive(Debug, Copy, Clone)]
5426pub struct _zend_op_array {
5427 pub type_: zend_uchar,
5428 pub arg_flags: [zend_uchar; 3usize],
5429 pub fn_flags: u32,
5430 pub function_name: *mut zend_string,
5431 pub scope: *mut zend_class_entry,
5432 pub prototype: *mut zend_function,
5433 pub num_args: u32,
5434 pub required_num_args: u32,
5435 pub arg_info: *mut zend_arg_info,
5436 pub attributes: *mut HashTable,
5437 pub cache_size: ::std::os::raw::c_int,
5438 pub last_var: ::std::os::raw::c_int,
5439 pub T: u32,
5440 pub last: u32,
5441 pub opcodes: *mut zend_op,
5442 pub run_time_cache__ptr: *mut *mut *mut ::std::os::raw::c_void,
5443 pub static_variables_ptr__ptr: *mut *mut HashTable,
5444 pub static_variables: *mut HashTable,
5445 pub vars: *mut *mut zend_string,
5446 pub refcount: *mut u32,
5447 pub last_live_range: ::std::os::raw::c_int,
5448 pub last_try_catch: ::std::os::raw::c_int,
5449 pub live_range: *mut zend_live_range,
5450 pub try_catch_array: *mut zend_try_catch_element,
5451 pub filename: *mut zend_string,
5452 pub line_start: u32,
5453 pub line_end: u32,
5454 pub doc_comment: *mut zend_string,
5455 pub last_literal: ::std::os::raw::c_int,
5456 pub literals: *mut zval,
5457 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
5458}
5459#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5460const _: () = {
5461 ["Size of _zend_op_array"][::std::mem::size_of::<_zend_op_array>() - 232usize];
5462 ["Alignment of _zend_op_array"][::std::mem::align_of::<_zend_op_array>() - 8usize];
5463 ["Offset of field: _zend_op_array::type_"]
5464 [::std::mem::offset_of!(_zend_op_array, type_) - 0usize];
5465 ["Offset of field: _zend_op_array::arg_flags"]
5466 [::std::mem::offset_of!(_zend_op_array, arg_flags) - 1usize];
5467 ["Offset of field: _zend_op_array::fn_flags"]
5468 [::std::mem::offset_of!(_zend_op_array, fn_flags) - 4usize];
5469 ["Offset of field: _zend_op_array::function_name"]
5470 [::std::mem::offset_of!(_zend_op_array, function_name) - 8usize];
5471 ["Offset of field: _zend_op_array::scope"]
5472 [::std::mem::offset_of!(_zend_op_array, scope) - 16usize];
5473 ["Offset of field: _zend_op_array::prototype"]
5474 [::std::mem::offset_of!(_zend_op_array, prototype) - 24usize];
5475 ["Offset of field: _zend_op_array::num_args"]
5476 [::std::mem::offset_of!(_zend_op_array, num_args) - 32usize];
5477 ["Offset of field: _zend_op_array::required_num_args"]
5478 [::std::mem::offset_of!(_zend_op_array, required_num_args) - 36usize];
5479 ["Offset of field: _zend_op_array::arg_info"]
5480 [::std::mem::offset_of!(_zend_op_array, arg_info) - 40usize];
5481 ["Offset of field: _zend_op_array::attributes"]
5482 [::std::mem::offset_of!(_zend_op_array, attributes) - 48usize];
5483 ["Offset of field: _zend_op_array::cache_size"]
5484 [::std::mem::offset_of!(_zend_op_array, cache_size) - 56usize];
5485 ["Offset of field: _zend_op_array::last_var"]
5486 [::std::mem::offset_of!(_zend_op_array, last_var) - 60usize];
5487 ["Offset of field: _zend_op_array::T"][::std::mem::offset_of!(_zend_op_array, T) - 64usize];
5488 ["Offset of field: _zend_op_array::last"]
5489 [::std::mem::offset_of!(_zend_op_array, last) - 68usize];
5490 ["Offset of field: _zend_op_array::opcodes"]
5491 [::std::mem::offset_of!(_zend_op_array, opcodes) - 72usize];
5492 ["Offset of field: _zend_op_array::run_time_cache__ptr"]
5493 [::std::mem::offset_of!(_zend_op_array, run_time_cache__ptr) - 80usize];
5494 ["Offset of field: _zend_op_array::static_variables_ptr__ptr"]
5495 [::std::mem::offset_of!(_zend_op_array, static_variables_ptr__ptr) - 88usize];
5496 ["Offset of field: _zend_op_array::static_variables"]
5497 [::std::mem::offset_of!(_zend_op_array, static_variables) - 96usize];
5498 ["Offset of field: _zend_op_array::vars"]
5499 [::std::mem::offset_of!(_zend_op_array, vars) - 104usize];
5500 ["Offset of field: _zend_op_array::refcount"]
5501 [::std::mem::offset_of!(_zend_op_array, refcount) - 112usize];
5502 ["Offset of field: _zend_op_array::last_live_range"]
5503 [::std::mem::offset_of!(_zend_op_array, last_live_range) - 120usize];
5504 ["Offset of field: _zend_op_array::last_try_catch"]
5505 [::std::mem::offset_of!(_zend_op_array, last_try_catch) - 124usize];
5506 ["Offset of field: _zend_op_array::live_range"]
5507 [::std::mem::offset_of!(_zend_op_array, live_range) - 128usize];
5508 ["Offset of field: _zend_op_array::try_catch_array"]
5509 [::std::mem::offset_of!(_zend_op_array, try_catch_array) - 136usize];
5510 ["Offset of field: _zend_op_array::filename"]
5511 [::std::mem::offset_of!(_zend_op_array, filename) - 144usize];
5512 ["Offset of field: _zend_op_array::line_start"]
5513 [::std::mem::offset_of!(_zend_op_array, line_start) - 152usize];
5514 ["Offset of field: _zend_op_array::line_end"]
5515 [::std::mem::offset_of!(_zend_op_array, line_end) - 156usize];
5516 ["Offset of field: _zend_op_array::doc_comment"]
5517 [::std::mem::offset_of!(_zend_op_array, doc_comment) - 160usize];
5518 ["Offset of field: _zend_op_array::last_literal"]
5519 [::std::mem::offset_of!(_zend_op_array, last_literal) - 168usize];
5520 ["Offset of field: _zend_op_array::literals"]
5521 [::std::mem::offset_of!(_zend_op_array, literals) - 176usize];
5522 ["Offset of field: _zend_op_array::reserved"]
5523 [::std::mem::offset_of!(_zend_op_array, reserved) - 184usize];
5524};
5525pub type zif_handler = ::std::option::Option<
5526 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
5527>;
5528#[repr(C)]
5529#[derive(Debug, Copy, Clone)]
5530pub struct _zend_internal_function {
5531 pub type_: zend_uchar,
5532 pub arg_flags: [zend_uchar; 3usize],
5533 pub fn_flags: u32,
5534 pub function_name: *mut zend_string,
5535 pub scope: *mut zend_class_entry,
5536 pub prototype: *mut zend_function,
5537 pub num_args: u32,
5538 pub required_num_args: u32,
5539 pub arg_info: *mut zend_internal_arg_info,
5540 pub attributes: *mut HashTable,
5541 pub handler: zif_handler,
5542 pub module: *mut _zend_module_entry,
5543 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
5544}
5545#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5546const _: () = {
5547 ["Size of _zend_internal_function"]
5548 [::std::mem::size_of::<_zend_internal_function>() - 120usize];
5549 ["Alignment of _zend_internal_function"]
5550 [::std::mem::align_of::<_zend_internal_function>() - 8usize];
5551 ["Offset of field: _zend_internal_function::type_"]
5552 [::std::mem::offset_of!(_zend_internal_function, type_) - 0usize];
5553 ["Offset of field: _zend_internal_function::arg_flags"]
5554 [::std::mem::offset_of!(_zend_internal_function, arg_flags) - 1usize];
5555 ["Offset of field: _zend_internal_function::fn_flags"]
5556 [::std::mem::offset_of!(_zend_internal_function, fn_flags) - 4usize];
5557 ["Offset of field: _zend_internal_function::function_name"]
5558 [::std::mem::offset_of!(_zend_internal_function, function_name) - 8usize];
5559 ["Offset of field: _zend_internal_function::scope"]
5560 [::std::mem::offset_of!(_zend_internal_function, scope) - 16usize];
5561 ["Offset of field: _zend_internal_function::prototype"]
5562 [::std::mem::offset_of!(_zend_internal_function, prototype) - 24usize];
5563 ["Offset of field: _zend_internal_function::num_args"]
5564 [::std::mem::offset_of!(_zend_internal_function, num_args) - 32usize];
5565 ["Offset of field: _zend_internal_function::required_num_args"]
5566 [::std::mem::offset_of!(_zend_internal_function, required_num_args) - 36usize];
5567 ["Offset of field: _zend_internal_function::arg_info"]
5568 [::std::mem::offset_of!(_zend_internal_function, arg_info) - 40usize];
5569 ["Offset of field: _zend_internal_function::attributes"]
5570 [::std::mem::offset_of!(_zend_internal_function, attributes) - 48usize];
5571 ["Offset of field: _zend_internal_function::handler"]
5572 [::std::mem::offset_of!(_zend_internal_function, handler) - 56usize];
5573 ["Offset of field: _zend_internal_function::module"]
5574 [::std::mem::offset_of!(_zend_internal_function, module) - 64usize];
5575 ["Offset of field: _zend_internal_function::reserved"]
5576 [::std::mem::offset_of!(_zend_internal_function, reserved) - 72usize];
5577};
5578pub type zend_internal_function = _zend_internal_function;
5579#[repr(C)]
5580#[derive(Copy, Clone)]
5581pub union _zend_function {
5582 pub type_: zend_uchar,
5583 pub quick_arg_flags: u32,
5584 pub common: _zend_function__bindgen_ty_1,
5585 pub op_array: zend_op_array,
5586 pub internal_function: zend_internal_function,
5587}
5588#[repr(C)]
5589#[derive(Debug, Copy, Clone)]
5590pub struct _zend_function__bindgen_ty_1 {
5591 pub type_: zend_uchar,
5592 pub arg_flags: [zend_uchar; 3usize],
5593 pub fn_flags: u32,
5594 pub function_name: *mut zend_string,
5595 pub scope: *mut zend_class_entry,
5596 pub prototype: *mut zend_function,
5597 pub num_args: u32,
5598 pub required_num_args: u32,
5599 pub arg_info: *mut zend_arg_info,
5600 pub attributes: *mut HashTable,
5601}
5602#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5603const _: () = {
5604 ["Size of _zend_function__bindgen_ty_1"]
5605 [::std::mem::size_of::<_zend_function__bindgen_ty_1>() - 56usize];
5606 ["Alignment of _zend_function__bindgen_ty_1"]
5607 [::std::mem::align_of::<_zend_function__bindgen_ty_1>() - 8usize];
5608 ["Offset of field: _zend_function__bindgen_ty_1::type_"]
5609 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, type_) - 0usize];
5610 ["Offset of field: _zend_function__bindgen_ty_1::arg_flags"]
5611 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_flags) - 1usize];
5612 ["Offset of field: _zend_function__bindgen_ty_1::fn_flags"]
5613 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, fn_flags) - 4usize];
5614 ["Offset of field: _zend_function__bindgen_ty_1::function_name"]
5615 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, function_name) - 8usize];
5616 ["Offset of field: _zend_function__bindgen_ty_1::scope"]
5617 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, scope) - 16usize];
5618 ["Offset of field: _zend_function__bindgen_ty_1::prototype"]
5619 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, prototype) - 24usize];
5620 ["Offset of field: _zend_function__bindgen_ty_1::num_args"]
5621 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, num_args) - 32usize];
5622 ["Offset of field: _zend_function__bindgen_ty_1::required_num_args"]
5623 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, required_num_args) - 36usize];
5624 ["Offset of field: _zend_function__bindgen_ty_1::arg_info"]
5625 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_info) - 40usize];
5626 ["Offset of field: _zend_function__bindgen_ty_1::attributes"]
5627 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, attributes) - 48usize];
5628};
5629#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5630const _: () = {
5631 ["Size of _zend_function"][::std::mem::size_of::<_zend_function>() - 232usize];
5632 ["Alignment of _zend_function"][::std::mem::align_of::<_zend_function>() - 8usize];
5633 ["Offset of field: _zend_function::type_"]
5634 [::std::mem::offset_of!(_zend_function, type_) - 0usize];
5635 ["Offset of field: _zend_function::quick_arg_flags"]
5636 [::std::mem::offset_of!(_zend_function, quick_arg_flags) - 0usize];
5637 ["Offset of field: _zend_function::common"]
5638 [::std::mem::offset_of!(_zend_function, common) - 0usize];
5639 ["Offset of field: _zend_function::op_array"]
5640 [::std::mem::offset_of!(_zend_function, op_array) - 0usize];
5641 ["Offset of field: _zend_function::internal_function"]
5642 [::std::mem::offset_of!(_zend_function, internal_function) - 0usize];
5643};
5644#[repr(C)]
5645#[derive(Copy, Clone)]
5646pub struct _zend_execute_data {
5647 pub opline: *const zend_op,
5648 pub call: *mut zend_execute_data,
5649 pub return_value: *mut zval,
5650 pub func: *mut zend_function,
5651 pub This: zval,
5652 pub prev_execute_data: *mut zend_execute_data,
5653 pub symbol_table: *mut zend_array,
5654 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
5655 pub extra_named_params: *mut zend_array,
5656}
5657#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5658const _: () = {
5659 ["Size of _zend_execute_data"][::std::mem::size_of::<_zend_execute_data>() - 80usize];
5660 ["Alignment of _zend_execute_data"][::std::mem::align_of::<_zend_execute_data>() - 8usize];
5661 ["Offset of field: _zend_execute_data::opline"]
5662 [::std::mem::offset_of!(_zend_execute_data, opline) - 0usize];
5663 ["Offset of field: _zend_execute_data::call"]
5664 [::std::mem::offset_of!(_zend_execute_data, call) - 8usize];
5665 ["Offset of field: _zend_execute_data::return_value"]
5666 [::std::mem::offset_of!(_zend_execute_data, return_value) - 16usize];
5667 ["Offset of field: _zend_execute_data::func"]
5668 [::std::mem::offset_of!(_zend_execute_data, func) - 24usize];
5669 ["Offset of field: _zend_execute_data::This"]
5670 [::std::mem::offset_of!(_zend_execute_data, This) - 32usize];
5671 ["Offset of field: _zend_execute_data::prev_execute_data"]
5672 [::std::mem::offset_of!(_zend_execute_data, prev_execute_data) - 48usize];
5673 ["Offset of field: _zend_execute_data::symbol_table"]
5674 [::std::mem::offset_of!(_zend_execute_data, symbol_table) - 56usize];
5675 ["Offset of field: _zend_execute_data::run_time_cache"]
5676 [::std::mem::offset_of!(_zend_execute_data, run_time_cache) - 64usize];
5677 ["Offset of field: _zend_execute_data::extra_named_params"]
5678 [::std::mem::offset_of!(_zend_execute_data, extra_named_params) - 72usize];
5679};
5680pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
5681#[repr(C)]
5682#[derive(Debug, Copy, Clone)]
5683pub struct __jmp_buf_tag {
5684 pub __jmpbuf: __jmp_buf,
5685 pub __mask_was_saved: ::std::os::raw::c_int,
5686 pub __saved_mask: __sigset_t,
5687}
5688#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5689const _: () = {
5690 ["Size of __jmp_buf_tag"][::std::mem::size_of::<__jmp_buf_tag>() - 200usize];
5691 ["Alignment of __jmp_buf_tag"][::std::mem::align_of::<__jmp_buf_tag>() - 8usize];
5692 ["Offset of field: __jmp_buf_tag::__jmpbuf"]
5693 [::std::mem::offset_of!(__jmp_buf_tag, __jmpbuf) - 0usize];
5694 ["Offset of field: __jmp_buf_tag::__mask_was_saved"]
5695 [::std::mem::offset_of!(__jmp_buf_tag, __mask_was_saved) - 64usize];
5696 ["Offset of field: __jmp_buf_tag::__saved_mask"]
5697 [::std::mem::offset_of!(__jmp_buf_tag, __saved_mask) - 72usize];
5698};
5699pub type jmp_buf = [__jmp_buf_tag; 1usize];
5700pub type zend_compiler_globals = _zend_compiler_globals;
5701pub type zend_executor_globals = _zend_executor_globals;
5702pub type zend_php_scanner_globals = _zend_php_scanner_globals;
5703pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
5704#[repr(C)]
5705#[derive(Copy, Clone)]
5706pub struct _zend_compiler_globals {
5707 pub loop_var_stack: zend_stack,
5708 pub active_class_entry: *mut zend_class_entry,
5709 pub compiled_filename: *mut zend_string,
5710 pub zend_lineno: ::std::os::raw::c_int,
5711 pub active_op_array: *mut zend_op_array,
5712 pub function_table: *mut HashTable,
5713 pub class_table: *mut HashTable,
5714 pub auto_globals: *mut HashTable,
5715 pub parse_error: zend_uchar,
5716 pub in_compilation: zend_bool,
5717 pub short_tags: zend_bool,
5718 pub unclean_shutdown: zend_bool,
5719 pub ini_parser_unbuffered_errors: zend_bool,
5720 pub open_files: zend_llist,
5721 pub ini_parser_param: *mut _zend_ini_parser_param,
5722 pub skip_shebang: zend_bool,
5723 pub increment_lineno: zend_bool,
5724 pub doc_comment: *mut zend_string,
5725 pub extra_fn_flags: u32,
5726 pub compiler_options: u32,
5727 pub context: zend_oparray_context,
5728 pub file_context: zend_file_context,
5729 pub arena: *mut zend_arena,
5730 pub interned_strings: HashTable,
5731 pub script_encoding_list: *mut *const zend_encoding,
5732 pub script_encoding_list_size: usize,
5733 pub multibyte: zend_bool,
5734 pub detect_unicode: zend_bool,
5735 pub encoding_declared: zend_bool,
5736 pub ast: *mut zend_ast,
5737 pub ast_arena: *mut zend_arena,
5738 pub delayed_oplines_stack: zend_stack,
5739 pub memoized_exprs: *mut HashTable,
5740 pub memoize_mode: ::std::os::raw::c_int,
5741 pub map_ptr_base: *mut ::std::os::raw::c_void,
5742 pub map_ptr_size: usize,
5743 pub map_ptr_last: usize,
5744 pub delayed_variance_obligations: *mut HashTable,
5745 pub delayed_autoloads: *mut HashTable,
5746 pub rtd_key_counter: u32,
5747 pub short_circuiting_opnums: zend_stack,
5748}
5749#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5750const _: () = {
5751 ["Size of _zend_compiler_globals"][::std::mem::size_of::<_zend_compiler_globals>() - 544usize];
5752 ["Alignment of _zend_compiler_globals"]
5753 [::std::mem::align_of::<_zend_compiler_globals>() - 8usize];
5754 ["Offset of field: _zend_compiler_globals::loop_var_stack"]
5755 [::std::mem::offset_of!(_zend_compiler_globals, loop_var_stack) - 0usize];
5756 ["Offset of field: _zend_compiler_globals::active_class_entry"]
5757 [::std::mem::offset_of!(_zend_compiler_globals, active_class_entry) - 24usize];
5758 ["Offset of field: _zend_compiler_globals::compiled_filename"]
5759 [::std::mem::offset_of!(_zend_compiler_globals, compiled_filename) - 32usize];
5760 ["Offset of field: _zend_compiler_globals::zend_lineno"]
5761 [::std::mem::offset_of!(_zend_compiler_globals, zend_lineno) - 40usize];
5762 ["Offset of field: _zend_compiler_globals::active_op_array"]
5763 [::std::mem::offset_of!(_zend_compiler_globals, active_op_array) - 48usize];
5764 ["Offset of field: _zend_compiler_globals::function_table"]
5765 [::std::mem::offset_of!(_zend_compiler_globals, function_table) - 56usize];
5766 ["Offset of field: _zend_compiler_globals::class_table"]
5767 [::std::mem::offset_of!(_zend_compiler_globals, class_table) - 64usize];
5768 ["Offset of field: _zend_compiler_globals::auto_globals"]
5769 [::std::mem::offset_of!(_zend_compiler_globals, auto_globals) - 72usize];
5770 ["Offset of field: _zend_compiler_globals::parse_error"]
5771 [::std::mem::offset_of!(_zend_compiler_globals, parse_error) - 80usize];
5772 ["Offset of field: _zend_compiler_globals::in_compilation"]
5773 [::std::mem::offset_of!(_zend_compiler_globals, in_compilation) - 81usize];
5774 ["Offset of field: _zend_compiler_globals::short_tags"]
5775 [::std::mem::offset_of!(_zend_compiler_globals, short_tags) - 82usize];
5776 ["Offset of field: _zend_compiler_globals::unclean_shutdown"]
5777 [::std::mem::offset_of!(_zend_compiler_globals, unclean_shutdown) - 83usize];
5778 ["Offset of field: _zend_compiler_globals::ini_parser_unbuffered_errors"]
5779 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_unbuffered_errors) - 84usize];
5780 ["Offset of field: _zend_compiler_globals::open_files"]
5781 [::std::mem::offset_of!(_zend_compiler_globals, open_files) - 88usize];
5782 ["Offset of field: _zend_compiler_globals::ini_parser_param"]
5783 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_param) - 144usize];
5784 ["Offset of field: _zend_compiler_globals::skip_shebang"]
5785 [::std::mem::offset_of!(_zend_compiler_globals, skip_shebang) - 152usize];
5786 ["Offset of field: _zend_compiler_globals::increment_lineno"]
5787 [::std::mem::offset_of!(_zend_compiler_globals, increment_lineno) - 153usize];
5788 ["Offset of field: _zend_compiler_globals::doc_comment"]
5789 [::std::mem::offset_of!(_zend_compiler_globals, doc_comment) - 160usize];
5790 ["Offset of field: _zend_compiler_globals::extra_fn_flags"]
5791 [::std::mem::offset_of!(_zend_compiler_globals, extra_fn_flags) - 168usize];
5792 ["Offset of field: _zend_compiler_globals::compiler_options"]
5793 [::std::mem::offset_of!(_zend_compiler_globals, compiler_options) - 172usize];
5794 ["Offset of field: _zend_compiler_globals::context"]
5795 [::std::mem::offset_of!(_zend_compiler_globals, context) - 176usize];
5796 ["Offset of field: _zend_compiler_globals::file_context"]
5797 [::std::mem::offset_of!(_zend_compiler_globals, file_context) - 224usize];
5798 ["Offset of field: _zend_compiler_globals::arena"]
5799 [::std::mem::offset_of!(_zend_compiler_globals, arena) - 328usize];
5800 ["Offset of field: _zend_compiler_globals::interned_strings"]
5801 [::std::mem::offset_of!(_zend_compiler_globals, interned_strings) - 336usize];
5802 ["Offset of field: _zend_compiler_globals::script_encoding_list"]
5803 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list) - 392usize];
5804 ["Offset of field: _zend_compiler_globals::script_encoding_list_size"]
5805 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list_size) - 400usize];
5806 ["Offset of field: _zend_compiler_globals::multibyte"]
5807 [::std::mem::offset_of!(_zend_compiler_globals, multibyte) - 408usize];
5808 ["Offset of field: _zend_compiler_globals::detect_unicode"]
5809 [::std::mem::offset_of!(_zend_compiler_globals, detect_unicode) - 409usize];
5810 ["Offset of field: _zend_compiler_globals::encoding_declared"]
5811 [::std::mem::offset_of!(_zend_compiler_globals, encoding_declared) - 410usize];
5812 ["Offset of field: _zend_compiler_globals::ast"]
5813 [::std::mem::offset_of!(_zend_compiler_globals, ast) - 416usize];
5814 ["Offset of field: _zend_compiler_globals::ast_arena"]
5815 [::std::mem::offset_of!(_zend_compiler_globals, ast_arena) - 424usize];
5816 ["Offset of field: _zend_compiler_globals::delayed_oplines_stack"]
5817 [::std::mem::offset_of!(_zend_compiler_globals, delayed_oplines_stack) - 432usize];
5818 ["Offset of field: _zend_compiler_globals::memoized_exprs"]
5819 [::std::mem::offset_of!(_zend_compiler_globals, memoized_exprs) - 456usize];
5820 ["Offset of field: _zend_compiler_globals::memoize_mode"]
5821 [::std::mem::offset_of!(_zend_compiler_globals, memoize_mode) - 464usize];
5822 ["Offset of field: _zend_compiler_globals::map_ptr_base"]
5823 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_base) - 472usize];
5824 ["Offset of field: _zend_compiler_globals::map_ptr_size"]
5825 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_size) - 480usize];
5826 ["Offset of field: _zend_compiler_globals::map_ptr_last"]
5827 [::std::mem::offset_of!(_zend_compiler_globals, map_ptr_last) - 488usize];
5828 ["Offset of field: _zend_compiler_globals::delayed_variance_obligations"]
5829 [::std::mem::offset_of!(_zend_compiler_globals, delayed_variance_obligations) - 496usize];
5830 ["Offset of field: _zend_compiler_globals::delayed_autoloads"]
5831 [::std::mem::offset_of!(_zend_compiler_globals, delayed_autoloads) - 504usize];
5832 ["Offset of field: _zend_compiler_globals::rtd_key_counter"]
5833 [::std::mem::offset_of!(_zend_compiler_globals, rtd_key_counter) - 512usize];
5834 ["Offset of field: _zend_compiler_globals::short_circuiting_opnums"]
5835 [::std::mem::offset_of!(_zend_compiler_globals, short_circuiting_opnums) - 520usize];
5836};
5837extern "C" {
5838 pub static mut compiler_globals: _zend_compiler_globals;
5839}
5840extern "C" {
5841 pub fn zendparse() -> ::std::os::raw::c_int;
5842}
5843extern "C" {
5844 pub static mut executor_globals: zend_executor_globals;
5845}
5846extern "C" {
5847 pub static mut language_scanner_globals: zend_php_scanner_globals;
5848}
5849extern "C" {
5850 pub static mut ini_scanner_globals: zend_ini_scanner_globals;
5851}
5852#[repr(C)]
5853#[derive(Debug, Copy, Clone)]
5854pub struct _zend_stack {
5855 pub size: ::std::os::raw::c_int,
5856 pub top: ::std::os::raw::c_int,
5857 pub max: ::std::os::raw::c_int,
5858 pub elements: *mut ::std::os::raw::c_void,
5859}
5860#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5861const _: () = {
5862 ["Size of _zend_stack"][::std::mem::size_of::<_zend_stack>() - 24usize];
5863 ["Alignment of _zend_stack"][::std::mem::align_of::<_zend_stack>() - 8usize];
5864 ["Offset of field: _zend_stack::size"][::std::mem::offset_of!(_zend_stack, size) - 0usize];
5865 ["Offset of field: _zend_stack::top"][::std::mem::offset_of!(_zend_stack, top) - 4usize];
5866 ["Offset of field: _zend_stack::max"][::std::mem::offset_of!(_zend_stack, max) - 8usize];
5867 ["Offset of field: _zend_stack::elements"]
5868 [::std::mem::offset_of!(_zend_stack, elements) - 16usize];
5869};
5870pub type zend_stack = _zend_stack;
5871extern "C" {
5872 pub fn zend_stack_init(stack: *mut zend_stack, size: ::std::os::raw::c_int);
5873}
5874extern "C" {
5875 pub fn zend_stack_push(
5876 stack: *mut zend_stack,
5877 element: *const ::std::os::raw::c_void,
5878 ) -> ::std::os::raw::c_int;
5879}
5880extern "C" {
5881 pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
5882}
5883extern "C" {
5884 pub fn zend_stack_del_top(stack: *mut zend_stack);
5885}
5886extern "C" {
5887 pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
5888}
5889extern "C" {
5890 pub fn zend_stack_is_empty(stack: *const zend_stack) -> bool;
5891}
5892extern "C" {
5893 pub fn zend_stack_destroy(stack: *mut zend_stack);
5894}
5895extern "C" {
5896 pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
5897}
5898extern "C" {
5899 pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
5900}
5901extern "C" {
5902 pub fn zend_stack_apply(
5903 stack: *mut zend_stack,
5904 type_: ::std::os::raw::c_int,
5905 apply_function: ::std::option::Option<
5906 unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
5907 >,
5908 );
5909}
5910extern "C" {
5911 pub fn zend_stack_apply_with_argument(
5912 stack: *mut zend_stack,
5913 type_: ::std::os::raw::c_int,
5914 apply_function: ::std::option::Option<
5915 unsafe extern "C" fn(
5916 element: *mut ::std::os::raw::c_void,
5917 arg: *mut ::std::os::raw::c_void,
5918 ) -> ::std::os::raw::c_int,
5919 >,
5920 arg: *mut ::std::os::raw::c_void,
5921 );
5922}
5923extern "C" {
5924 pub fn zend_stack_clean(
5925 stack: *mut zend_stack,
5926 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5927 free_elements: zend_bool,
5928 );
5929}
5930#[repr(C)]
5931#[derive(Debug, Copy, Clone)]
5932pub struct _zend_ptr_stack {
5933 pub top: ::std::os::raw::c_int,
5934 pub max: ::std::os::raw::c_int,
5935 pub elements: *mut *mut ::std::os::raw::c_void,
5936 pub top_element: *mut *mut ::std::os::raw::c_void,
5937 pub persistent: zend_bool,
5938}
5939#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5940const _: () = {
5941 ["Size of _zend_ptr_stack"][::std::mem::size_of::<_zend_ptr_stack>() - 32usize];
5942 ["Alignment of _zend_ptr_stack"][::std::mem::align_of::<_zend_ptr_stack>() - 8usize];
5943 ["Offset of field: _zend_ptr_stack::top"]
5944 [::std::mem::offset_of!(_zend_ptr_stack, top) - 0usize];
5945 ["Offset of field: _zend_ptr_stack::max"]
5946 [::std::mem::offset_of!(_zend_ptr_stack, max) - 4usize];
5947 ["Offset of field: _zend_ptr_stack::elements"]
5948 [::std::mem::offset_of!(_zend_ptr_stack, elements) - 8usize];
5949 ["Offset of field: _zend_ptr_stack::top_element"]
5950 [::std::mem::offset_of!(_zend_ptr_stack, top_element) - 16usize];
5951 ["Offset of field: _zend_ptr_stack::persistent"]
5952 [::std::mem::offset_of!(_zend_ptr_stack, persistent) - 24usize];
5953};
5954pub type zend_ptr_stack = _zend_ptr_stack;
5955extern "C" {
5956 pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
5957}
5958extern "C" {
5959 pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: zend_bool);
5960}
5961extern "C" {
5962 pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
5963}
5964extern "C" {
5965 pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
5966}
5967extern "C" {
5968 pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
5969}
5970extern "C" {
5971 pub fn zend_ptr_stack_apply(
5972 stack: *mut zend_ptr_stack,
5973 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5974 );
5975}
5976extern "C" {
5977 pub fn zend_ptr_stack_reverse_apply(
5978 stack: *mut zend_ptr_stack,
5979 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5980 );
5981}
5982extern "C" {
5983 pub fn zend_ptr_stack_clean(
5984 stack: *mut zend_ptr_stack,
5985 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5986 free_elements: zend_bool,
5987 );
5988}
5989extern "C" {
5990 pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
5991}
5992extern "C" {
5993 pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
5994}
5995extern "C" {
5996 pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
5997}
5998extern "C" {
5999 pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
6000}
6001extern "C" {
6002 pub fn zend_object_std_dtor(object: *mut zend_object);
6003}
6004extern "C" {
6005 pub fn zend_objects_destroy_object(object: *mut zend_object);
6006}
6007extern "C" {
6008 pub fn zend_objects_clone_obj(object: *mut zend_object) -> *mut zend_object;
6009}
6010#[repr(C)]
6011#[derive(Debug, Copy, Clone)]
6012pub struct _zend_objects_store {
6013 pub object_buckets: *mut *mut zend_object,
6014 pub top: u32,
6015 pub size: u32,
6016 pub free_list_head: ::std::os::raw::c_int,
6017}
6018#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6019const _: () = {
6020 ["Size of _zend_objects_store"][::std::mem::size_of::<_zend_objects_store>() - 24usize];
6021 ["Alignment of _zend_objects_store"][::std::mem::align_of::<_zend_objects_store>() - 8usize];
6022 ["Offset of field: _zend_objects_store::object_buckets"]
6023 [::std::mem::offset_of!(_zend_objects_store, object_buckets) - 0usize];
6024 ["Offset of field: _zend_objects_store::top"]
6025 [::std::mem::offset_of!(_zend_objects_store, top) - 8usize];
6026 ["Offset of field: _zend_objects_store::size"]
6027 [::std::mem::offset_of!(_zend_objects_store, size) - 12usize];
6028 ["Offset of field: _zend_objects_store::free_list_head"]
6029 [::std::mem::offset_of!(_zend_objects_store, free_list_head) - 16usize];
6030};
6031pub type zend_objects_store = _zend_objects_store;
6032extern "C" {
6033 pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
6034}
6035extern "C" {
6036 pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
6037}
6038extern "C" {
6039 pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
6040}
6041extern "C" {
6042 pub fn zend_objects_store_free_object_storage(
6043 objects: *mut zend_objects_store,
6044 fast_shutdown: zend_bool,
6045 );
6046}
6047extern "C" {
6048 pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
6049}
6050extern "C" {
6051 pub fn zend_objects_store_put(object: *mut zend_object);
6052}
6053extern "C" {
6054 pub fn zend_objects_store_del(object: *mut zend_object);
6055}
6056extern "C" {
6057 pub fn zend_init_fpu();
6058}
6059extern "C" {
6060 pub fn zend_shutdown_fpu();
6061}
6062extern "C" {
6063 pub fn zend_ensure_fpu_mode();
6064}
6065#[repr(C)]
6066#[derive(Debug, Copy, Clone)]
6067pub struct _zend_encoding {
6068 _unused: [u8; 0],
6069}
6070pub type zend_encoding = _zend_encoding;
6071pub type zend_encoding_filter = ::std::option::Option<
6072 unsafe extern "C" fn(
6073 str_: *mut *mut ::std::os::raw::c_uchar,
6074 str_length: *mut usize,
6075 buf: *const ::std::os::raw::c_uchar,
6076 length: usize,
6077 ) -> usize,
6078>;
6079pub type zend_encoding_fetcher = ::std::option::Option<
6080 unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
6081>;
6082pub type zend_encoding_name_getter = ::std::option::Option<
6083 unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
6084>;
6085pub type zend_encoding_lexer_compatibility_checker =
6086 ::std::option::Option<unsafe extern "C" fn(encoding: *const zend_encoding) -> bool>;
6087pub type zend_encoding_detector = ::std::option::Option<
6088 unsafe extern "C" fn(
6089 string: *const ::std::os::raw::c_uchar,
6090 length: usize,
6091 list: *mut *const zend_encoding,
6092 list_size: usize,
6093 ) -> *const zend_encoding,
6094>;
6095pub type zend_encoding_converter = ::std::option::Option<
6096 unsafe extern "C" fn(
6097 to: *mut *mut ::std::os::raw::c_uchar,
6098 to_length: *mut usize,
6099 from: *const ::std::os::raw::c_uchar,
6100 from_length: usize,
6101 encoding_to: *const zend_encoding,
6102 encoding_from: *const zend_encoding,
6103 ) -> usize,
6104>;
6105pub type zend_encoding_list_parser = ::std::option::Option<
6106 unsafe extern "C" fn(
6107 encoding_list: *const ::std::os::raw::c_char,
6108 encoding_list_len: usize,
6109 return_list: *mut *mut *const zend_encoding,
6110 return_size: *mut usize,
6111 persistent: bool,
6112 ) -> zend_result,
6113>;
6114pub type zend_encoding_internal_encoding_getter =
6115 ::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
6116pub type zend_encoding_internal_encoding_setter =
6117 ::std::option::Option<unsafe extern "C" fn(encoding: *const zend_encoding) -> zend_result>;
6118#[repr(C)]
6119#[derive(Debug, Copy, Clone)]
6120pub struct _zend_multibyte_functions {
6121 pub provider_name: *const ::std::os::raw::c_char,
6122 pub encoding_fetcher: zend_encoding_fetcher,
6123 pub encoding_name_getter: zend_encoding_name_getter,
6124 pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
6125 pub encoding_detector: zend_encoding_detector,
6126 pub encoding_converter: zend_encoding_converter,
6127 pub encoding_list_parser: zend_encoding_list_parser,
6128 pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
6129 pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
6130}
6131#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6132const _: () = {
6133 ["Size of _zend_multibyte_functions"]
6134 [::std::mem::size_of::<_zend_multibyte_functions>() - 72usize];
6135 ["Alignment of _zend_multibyte_functions"]
6136 [::std::mem::align_of::<_zend_multibyte_functions>() - 8usize];
6137 ["Offset of field: _zend_multibyte_functions::provider_name"]
6138 [::std::mem::offset_of!(_zend_multibyte_functions, provider_name) - 0usize];
6139 ["Offset of field: _zend_multibyte_functions::encoding_fetcher"]
6140 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_fetcher) - 8usize];
6141 ["Offset of field: _zend_multibyte_functions::encoding_name_getter"]
6142 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_name_getter) - 16usize];
6143 ["Offset of field: _zend_multibyte_functions::lexer_compatibility_checker"]
6144 [::std::mem::offset_of!(_zend_multibyte_functions, lexer_compatibility_checker) - 24usize];
6145 ["Offset of field: _zend_multibyte_functions::encoding_detector"]
6146 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_detector) - 32usize];
6147 ["Offset of field: _zend_multibyte_functions::encoding_converter"]
6148 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_converter) - 40usize];
6149 ["Offset of field: _zend_multibyte_functions::encoding_list_parser"]
6150 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_list_parser) - 48usize];
6151 ["Offset of field: _zend_multibyte_functions::internal_encoding_getter"]
6152 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_getter) - 56usize];
6153 ["Offset of field: _zend_multibyte_functions::internal_encoding_setter"]
6154 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_setter) - 64usize];
6155};
6156pub type zend_multibyte_functions = _zend_multibyte_functions;
6157extern "C" {
6158 pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
6159}
6160extern "C" {
6161 pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
6162}
6163extern "C" {
6164 pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
6165}
6166extern "C" {
6167 pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
6168}
6169extern "C" {
6170 pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
6171}
6172extern "C" {
6173 pub fn zend_multibyte_set_functions(functions: *const zend_multibyte_functions) -> zend_result;
6174}
6175extern "C" {
6176 pub fn zend_multibyte_restore_functions();
6177}
6178extern "C" {
6179 pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
6180}
6181extern "C" {
6182 pub fn zend_multibyte_fetch_encoding(
6183 name: *const ::std::os::raw::c_char,
6184 ) -> *const zend_encoding;
6185}
6186extern "C" {
6187 pub fn zend_multibyte_get_encoding_name(
6188 encoding: *const zend_encoding,
6189 ) -> *const ::std::os::raw::c_char;
6190}
6191extern "C" {
6192 pub fn zend_multibyte_check_lexer_compatibility(
6193 encoding: *const zend_encoding,
6194 ) -> ::std::os::raw::c_int;
6195}
6196extern "C" {
6197 pub fn zend_multibyte_encoding_detector(
6198 string: *const ::std::os::raw::c_uchar,
6199 length: usize,
6200 list: *mut *const zend_encoding,
6201 list_size: usize,
6202 ) -> *const zend_encoding;
6203}
6204extern "C" {
6205 pub fn zend_multibyte_encoding_converter(
6206 to: *mut *mut ::std::os::raw::c_uchar,
6207 to_length: *mut usize,
6208 from: *const ::std::os::raw::c_uchar,
6209 from_length: usize,
6210 encoding_to: *const zend_encoding,
6211 encoding_from: *const zend_encoding,
6212 ) -> usize;
6213}
6214extern "C" {
6215 pub fn zend_multibyte_parse_encoding_list(
6216 encoding_list: *const ::std::os::raw::c_char,
6217 encoding_list_len: usize,
6218 return_list: *mut *mut *const zend_encoding,
6219 return_size: *mut usize,
6220 persistent: bool,
6221 ) -> ::std::os::raw::c_int;
6222}
6223extern "C" {
6224 pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
6225}
6226extern "C" {
6227 pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
6228}
6229extern "C" {
6230 pub fn zend_multibyte_set_script_encoding(
6231 encoding_list: *mut *const zend_encoding,
6232 encoding_list_size: usize,
6233 ) -> ::std::os::raw::c_int;
6234}
6235extern "C" {
6236 pub fn zend_multibyte_set_internal_encoding(
6237 encoding: *const zend_encoding,
6238 ) -> ::std::os::raw::c_int;
6239}
6240extern "C" {
6241 pub fn zend_multibyte_set_script_encoding_by_string(
6242 new_value: *const ::std::os::raw::c_char,
6243 new_value_length: usize,
6244 ) -> zend_result;
6245}
6246pub type zend_arena = _zend_arena;
6247#[repr(C)]
6248#[derive(Debug, Copy, Clone)]
6249pub struct _zend_arena {
6250 pub ptr: *mut ::std::os::raw::c_char,
6251 pub end: *mut ::std::os::raw::c_char,
6252 pub prev: *mut zend_arena,
6253}
6254#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6255const _: () = {
6256 ["Size of _zend_arena"][::std::mem::size_of::<_zend_arena>() - 24usize];
6257 ["Alignment of _zend_arena"][::std::mem::align_of::<_zend_arena>() - 8usize];
6258 ["Offset of field: _zend_arena::ptr"][::std::mem::offset_of!(_zend_arena, ptr) - 0usize];
6259 ["Offset of field: _zend_arena::end"][::std::mem::offset_of!(_zend_arena, end) - 8usize];
6260 ["Offset of field: _zend_arena::prev"][::std::mem::offset_of!(_zend_arena, prev) - 16usize];
6261};
6262pub type zend_vm_stack = *mut _zend_vm_stack;
6263pub type zend_ini_entry = _zend_ini_entry;
6264#[repr(C)]
6265#[derive(Copy, Clone)]
6266pub struct _zend_executor_globals {
6267 pub uninitialized_zval: zval,
6268 pub error_zval: zval,
6269 pub symtable_cache: [*mut zend_array; 32usize],
6270 pub symtable_cache_limit: *mut *mut zend_array,
6271 pub symtable_cache_ptr: *mut *mut zend_array,
6272 pub symbol_table: zend_array,
6273 pub included_files: HashTable,
6274 pub bailout: *mut jmp_buf,
6275 pub error_reporting: ::std::os::raw::c_int,
6276 pub exit_status: ::std::os::raw::c_int,
6277 pub function_table: *mut HashTable,
6278 pub class_table: *mut HashTable,
6279 pub zend_constants: *mut HashTable,
6280 pub vm_stack_top: *mut zval,
6281 pub vm_stack_end: *mut zval,
6282 pub vm_stack: zend_vm_stack,
6283 pub vm_stack_page_size: usize,
6284 pub current_execute_data: *mut _zend_execute_data,
6285 pub fake_scope: *mut zend_class_entry,
6286 pub jit_trace_num: u32,
6287 pub precision: zend_long,
6288 pub ticks_count: ::std::os::raw::c_int,
6289 pub persistent_constants_count: u32,
6290 pub persistent_functions_count: u32,
6291 pub persistent_classes_count: u32,
6292 pub in_autoload: *mut HashTable,
6293 pub full_tables_cleanup: zend_bool,
6294 pub no_extensions: zend_bool,
6295 pub vm_interrupt: zend_bool,
6296 pub timed_out: zend_bool,
6297 pub hard_timeout: zend_long,
6298 pub regular_list: HashTable,
6299 pub persistent_list: HashTable,
6300 pub user_error_handler_error_reporting: ::std::os::raw::c_int,
6301 pub user_error_handler: zval,
6302 pub user_exception_handler: zval,
6303 pub user_error_handlers_error_reporting: zend_stack,
6304 pub user_error_handlers: zend_stack,
6305 pub user_exception_handlers: zend_stack,
6306 pub error_handling: zend_error_handling_t,
6307 pub exception_class: *mut zend_class_entry,
6308 pub timeout_seconds: zend_long,
6309 pub lambda_count: ::std::os::raw::c_int,
6310 pub ini_directives: *mut HashTable,
6311 pub modified_ini_directives: *mut HashTable,
6312 pub error_reporting_ini_entry: *mut zend_ini_entry,
6313 pub objects_store: zend_objects_store,
6314 pub exception: *mut zend_object,
6315 pub prev_exception: *mut zend_object,
6316 pub opline_before_exception: *const zend_op,
6317 pub exception_op: [zend_op; 3usize],
6318 pub current_module: *mut _zend_module_entry,
6319 pub active: zend_bool,
6320 pub flags: zend_uchar,
6321 pub assertions: zend_long,
6322 pub ht_iterators_count: u32,
6323 pub ht_iterators_used: u32,
6324 pub ht_iterators: *mut HashTableIterator,
6325 pub ht_iterators_slots: [HashTableIterator; 16usize],
6326 pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
6327 pub trampoline: zend_function,
6328 pub call_trampoline_op: zend_op,
6329 pub weakrefs: HashTable,
6330 pub exception_ignore_args: zend_bool,
6331 pub exception_string_param_max_len: zend_long,
6332 pub get_gc_buffer: zend_get_gc_buffer,
6333 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
6334}
6335#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6336const _: () = {
6337 ["Size of _zend_executor_globals"][::std::mem::size_of::<_zend_executor_globals>() - 1696usize];
6338 ["Alignment of _zend_executor_globals"]
6339 [::std::mem::align_of::<_zend_executor_globals>() - 8usize];
6340 ["Offset of field: _zend_executor_globals::uninitialized_zval"]
6341 [::std::mem::offset_of!(_zend_executor_globals, uninitialized_zval) - 0usize];
6342 ["Offset of field: _zend_executor_globals::error_zval"]
6343 [::std::mem::offset_of!(_zend_executor_globals, error_zval) - 16usize];
6344 ["Offset of field: _zend_executor_globals::symtable_cache"]
6345 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache) - 32usize];
6346 ["Offset of field: _zend_executor_globals::symtable_cache_limit"]
6347 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_limit) - 288usize];
6348 ["Offset of field: _zend_executor_globals::symtable_cache_ptr"]
6349 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_ptr) - 296usize];
6350 ["Offset of field: _zend_executor_globals::symbol_table"]
6351 [::std::mem::offset_of!(_zend_executor_globals, symbol_table) - 304usize];
6352 ["Offset of field: _zend_executor_globals::included_files"]
6353 [::std::mem::offset_of!(_zend_executor_globals, included_files) - 360usize];
6354 ["Offset of field: _zend_executor_globals::bailout"]
6355 [::std::mem::offset_of!(_zend_executor_globals, bailout) - 416usize];
6356 ["Offset of field: _zend_executor_globals::error_reporting"]
6357 [::std::mem::offset_of!(_zend_executor_globals, error_reporting) - 424usize];
6358 ["Offset of field: _zend_executor_globals::exit_status"]
6359 [::std::mem::offset_of!(_zend_executor_globals, exit_status) - 428usize];
6360 ["Offset of field: _zend_executor_globals::function_table"]
6361 [::std::mem::offset_of!(_zend_executor_globals, function_table) - 432usize];
6362 ["Offset of field: _zend_executor_globals::class_table"]
6363 [::std::mem::offset_of!(_zend_executor_globals, class_table) - 440usize];
6364 ["Offset of field: _zend_executor_globals::zend_constants"]
6365 [::std::mem::offset_of!(_zend_executor_globals, zend_constants) - 448usize];
6366 ["Offset of field: _zend_executor_globals::vm_stack_top"]
6367 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_top) - 456usize];
6368 ["Offset of field: _zend_executor_globals::vm_stack_end"]
6369 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_end) - 464usize];
6370 ["Offset of field: _zend_executor_globals::vm_stack"]
6371 [::std::mem::offset_of!(_zend_executor_globals, vm_stack) - 472usize];
6372 ["Offset of field: _zend_executor_globals::vm_stack_page_size"]
6373 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_page_size) - 480usize];
6374 ["Offset of field: _zend_executor_globals::current_execute_data"]
6375 [::std::mem::offset_of!(_zend_executor_globals, current_execute_data) - 488usize];
6376 ["Offset of field: _zend_executor_globals::fake_scope"]
6377 [::std::mem::offset_of!(_zend_executor_globals, fake_scope) - 496usize];
6378 ["Offset of field: _zend_executor_globals::jit_trace_num"]
6379 [::std::mem::offset_of!(_zend_executor_globals, jit_trace_num) - 504usize];
6380 ["Offset of field: _zend_executor_globals::precision"]
6381 [::std::mem::offset_of!(_zend_executor_globals, precision) - 512usize];
6382 ["Offset of field: _zend_executor_globals::ticks_count"]
6383 [::std::mem::offset_of!(_zend_executor_globals, ticks_count) - 520usize];
6384 ["Offset of field: _zend_executor_globals::persistent_constants_count"]
6385 [::std::mem::offset_of!(_zend_executor_globals, persistent_constants_count) - 524usize];
6386 ["Offset of field: _zend_executor_globals::persistent_functions_count"]
6387 [::std::mem::offset_of!(_zend_executor_globals, persistent_functions_count) - 528usize];
6388 ["Offset of field: _zend_executor_globals::persistent_classes_count"]
6389 [::std::mem::offset_of!(_zend_executor_globals, persistent_classes_count) - 532usize];
6390 ["Offset of field: _zend_executor_globals::in_autoload"]
6391 [::std::mem::offset_of!(_zend_executor_globals, in_autoload) - 536usize];
6392 ["Offset of field: _zend_executor_globals::full_tables_cleanup"]
6393 [::std::mem::offset_of!(_zend_executor_globals, full_tables_cleanup) - 544usize];
6394 ["Offset of field: _zend_executor_globals::no_extensions"]
6395 [::std::mem::offset_of!(_zend_executor_globals, no_extensions) - 545usize];
6396 ["Offset of field: _zend_executor_globals::vm_interrupt"]
6397 [::std::mem::offset_of!(_zend_executor_globals, vm_interrupt) - 546usize];
6398 ["Offset of field: _zend_executor_globals::timed_out"]
6399 [::std::mem::offset_of!(_zend_executor_globals, timed_out) - 547usize];
6400 ["Offset of field: _zend_executor_globals::hard_timeout"]
6401 [::std::mem::offset_of!(_zend_executor_globals, hard_timeout) - 552usize];
6402 ["Offset of field: _zend_executor_globals::regular_list"]
6403 [::std::mem::offset_of!(_zend_executor_globals, regular_list) - 560usize];
6404 ["Offset of field: _zend_executor_globals::persistent_list"]
6405 [::std::mem::offset_of!(_zend_executor_globals, persistent_list) - 616usize];
6406 ["Offset of field: _zend_executor_globals::user_error_handler_error_reporting"][::std::mem::offset_of!(
6407 _zend_executor_globals,
6408 user_error_handler_error_reporting
6409 ) - 672usize];
6410 ["Offset of field: _zend_executor_globals::user_error_handler"]
6411 [::std::mem::offset_of!(_zend_executor_globals, user_error_handler) - 680usize];
6412 ["Offset of field: _zend_executor_globals::user_exception_handler"]
6413 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handler) - 696usize];
6414 ["Offset of field: _zend_executor_globals::user_error_handlers_error_reporting"][::std::mem::offset_of!(
6415 _zend_executor_globals,
6416 user_error_handlers_error_reporting
6417 ) - 712usize];
6418 ["Offset of field: _zend_executor_globals::user_error_handlers"]
6419 [::std::mem::offset_of!(_zend_executor_globals, user_error_handlers) - 736usize];
6420 ["Offset of field: _zend_executor_globals::user_exception_handlers"]
6421 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handlers) - 760usize];
6422 ["Offset of field: _zend_executor_globals::error_handling"]
6423 [::std::mem::offset_of!(_zend_executor_globals, error_handling) - 784usize];
6424 ["Offset of field: _zend_executor_globals::exception_class"]
6425 [::std::mem::offset_of!(_zend_executor_globals, exception_class) - 792usize];
6426 ["Offset of field: _zend_executor_globals::timeout_seconds"]
6427 [::std::mem::offset_of!(_zend_executor_globals, timeout_seconds) - 800usize];
6428 ["Offset of field: _zend_executor_globals::lambda_count"]
6429 [::std::mem::offset_of!(_zend_executor_globals, lambda_count) - 808usize];
6430 ["Offset of field: _zend_executor_globals::ini_directives"]
6431 [::std::mem::offset_of!(_zend_executor_globals, ini_directives) - 816usize];
6432 ["Offset of field: _zend_executor_globals::modified_ini_directives"]
6433 [::std::mem::offset_of!(_zend_executor_globals, modified_ini_directives) - 824usize];
6434 ["Offset of field: _zend_executor_globals::error_reporting_ini_entry"]
6435 [::std::mem::offset_of!(_zend_executor_globals, error_reporting_ini_entry) - 832usize];
6436 ["Offset of field: _zend_executor_globals::objects_store"]
6437 [::std::mem::offset_of!(_zend_executor_globals, objects_store) - 840usize];
6438 ["Offset of field: _zend_executor_globals::exception"]
6439 [::std::mem::offset_of!(_zend_executor_globals, exception) - 864usize];
6440 ["Offset of field: _zend_executor_globals::prev_exception"]
6441 [::std::mem::offset_of!(_zend_executor_globals, prev_exception) - 872usize];
6442 ["Offset of field: _zend_executor_globals::opline_before_exception"]
6443 [::std::mem::offset_of!(_zend_executor_globals, opline_before_exception) - 880usize];
6444 ["Offset of field: _zend_executor_globals::exception_op"]
6445 [::std::mem::offset_of!(_zend_executor_globals, exception_op) - 888usize];
6446 ["Offset of field: _zend_executor_globals::current_module"]
6447 [::std::mem::offset_of!(_zend_executor_globals, current_module) - 984usize];
6448 ["Offset of field: _zend_executor_globals::active"]
6449 [::std::mem::offset_of!(_zend_executor_globals, active) - 992usize];
6450 ["Offset of field: _zend_executor_globals::flags"]
6451 [::std::mem::offset_of!(_zend_executor_globals, flags) - 993usize];
6452 ["Offset of field: _zend_executor_globals::assertions"]
6453 [::std::mem::offset_of!(_zend_executor_globals, assertions) - 1000usize];
6454 ["Offset of field: _zend_executor_globals::ht_iterators_count"]
6455 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_count) - 1008usize];
6456 ["Offset of field: _zend_executor_globals::ht_iterators_used"]
6457 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_used) - 1012usize];
6458 ["Offset of field: _zend_executor_globals::ht_iterators"]
6459 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators) - 1016usize];
6460 ["Offset of field: _zend_executor_globals::ht_iterators_slots"]
6461 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_slots) - 1024usize];
6462 ["Offset of field: _zend_executor_globals::saved_fpu_cw_ptr"]
6463 [::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw_ptr) - 1280usize];
6464 ["Offset of field: _zend_executor_globals::trampoline"]
6465 [::std::mem::offset_of!(_zend_executor_globals, trampoline) - 1288usize];
6466 ["Offset of field: _zend_executor_globals::call_trampoline_op"]
6467 [::std::mem::offset_of!(_zend_executor_globals, call_trampoline_op) - 1520usize];
6468 ["Offset of field: _zend_executor_globals::weakrefs"]
6469 [::std::mem::offset_of!(_zend_executor_globals, weakrefs) - 1552usize];
6470 ["Offset of field: _zend_executor_globals::exception_ignore_args"]
6471 [::std::mem::offset_of!(_zend_executor_globals, exception_ignore_args) - 1608usize];
6472 ["Offset of field: _zend_executor_globals::exception_string_param_max_len"][::std::mem::offset_of!(
6473 _zend_executor_globals,
6474 exception_string_param_max_len
6475 ) - 1616usize];
6476 ["Offset of field: _zend_executor_globals::get_gc_buffer"]
6477 [::std::mem::offset_of!(_zend_executor_globals, get_gc_buffer) - 1624usize];
6478 ["Offset of field: _zend_executor_globals::reserved"]
6479 [::std::mem::offset_of!(_zend_executor_globals, reserved) - 1648usize];
6480};
6481#[repr(C)]
6482#[derive(Debug, Copy, Clone)]
6483pub struct _zend_ini_scanner_globals {
6484 pub yy_in: *mut zend_file_handle,
6485 pub yy_out: *mut zend_file_handle,
6486 pub yy_leng: ::std::os::raw::c_uint,
6487 pub yy_start: *mut ::std::os::raw::c_uchar,
6488 pub yy_text: *mut ::std::os::raw::c_uchar,
6489 pub yy_cursor: *mut ::std::os::raw::c_uchar,
6490 pub yy_marker: *mut ::std::os::raw::c_uchar,
6491 pub yy_limit: *mut ::std::os::raw::c_uchar,
6492 pub yy_state: ::std::os::raw::c_int,
6493 pub state_stack: zend_stack,
6494 pub filename: *mut ::std::os::raw::c_char,
6495 pub lineno: ::std::os::raw::c_int,
6496 pub scanner_mode: ::std::os::raw::c_int,
6497}
6498#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6499const _: () = {
6500 ["Size of _zend_ini_scanner_globals"]
6501 [::std::mem::size_of::<_zend_ini_scanner_globals>() - 112usize];
6502 ["Alignment of _zend_ini_scanner_globals"]
6503 [::std::mem::align_of::<_zend_ini_scanner_globals>() - 8usize];
6504 ["Offset of field: _zend_ini_scanner_globals::yy_in"]
6505 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_in) - 0usize];
6506 ["Offset of field: _zend_ini_scanner_globals::yy_out"]
6507 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_out) - 8usize];
6508 ["Offset of field: _zend_ini_scanner_globals::yy_leng"]
6509 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_leng) - 16usize];
6510 ["Offset of field: _zend_ini_scanner_globals::yy_start"]
6511 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_start) - 24usize];
6512 ["Offset of field: _zend_ini_scanner_globals::yy_text"]
6513 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_text) - 32usize];
6514 ["Offset of field: _zend_ini_scanner_globals::yy_cursor"]
6515 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_cursor) - 40usize];
6516 ["Offset of field: _zend_ini_scanner_globals::yy_marker"]
6517 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_marker) - 48usize];
6518 ["Offset of field: _zend_ini_scanner_globals::yy_limit"]
6519 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_limit) - 56usize];
6520 ["Offset of field: _zend_ini_scanner_globals::yy_state"]
6521 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_state) - 64usize];
6522 ["Offset of field: _zend_ini_scanner_globals::state_stack"]
6523 [::std::mem::offset_of!(_zend_ini_scanner_globals, state_stack) - 72usize];
6524 ["Offset of field: _zend_ini_scanner_globals::filename"]
6525 [::std::mem::offset_of!(_zend_ini_scanner_globals, filename) - 96usize];
6526 ["Offset of field: _zend_ini_scanner_globals::lineno"]
6527 [::std::mem::offset_of!(_zend_ini_scanner_globals, lineno) - 104usize];
6528 ["Offset of field: _zend_ini_scanner_globals::scanner_mode"]
6529 [::std::mem::offset_of!(_zend_ini_scanner_globals, scanner_mode) - 108usize];
6530};
6531pub const zend_php_scanner_event_ON_TOKEN: zend_php_scanner_event = 0;
6532pub const zend_php_scanner_event_ON_FEEDBACK: zend_php_scanner_event = 1;
6533pub const zend_php_scanner_event_ON_STOP: zend_php_scanner_event = 2;
6534pub type zend_php_scanner_event = ::std::os::raw::c_uint;
6535#[repr(C)]
6536#[derive(Debug, Copy, Clone)]
6537pub struct _zend_php_scanner_globals {
6538 pub yy_in: *mut zend_file_handle,
6539 pub yy_out: *mut zend_file_handle,
6540 pub yy_leng: ::std::os::raw::c_uint,
6541 pub yy_start: *mut ::std::os::raw::c_uchar,
6542 pub yy_text: *mut ::std::os::raw::c_uchar,
6543 pub yy_cursor: *mut ::std::os::raw::c_uchar,
6544 pub yy_marker: *mut ::std::os::raw::c_uchar,
6545 pub yy_limit: *mut ::std::os::raw::c_uchar,
6546 pub yy_state: ::std::os::raw::c_int,
6547 pub state_stack: zend_stack,
6548 pub heredoc_label_stack: zend_ptr_stack,
6549 pub nest_location_stack: zend_stack,
6550 pub heredoc_scan_ahead: zend_bool,
6551 pub heredoc_indentation: ::std::os::raw::c_int,
6552 pub heredoc_indentation_uses_spaces: zend_bool,
6553 pub script_org: *mut ::std::os::raw::c_uchar,
6554 pub script_org_size: usize,
6555 pub script_filtered: *mut ::std::os::raw::c_uchar,
6556 pub script_filtered_size: usize,
6557 pub input_filter: zend_encoding_filter,
6558 pub output_filter: zend_encoding_filter,
6559 pub script_encoding: *const zend_encoding,
6560 pub scanned_string_len: ::std::os::raw::c_int,
6561 pub on_event: ::std::option::Option<
6562 unsafe extern "C" fn(
6563 event: zend_php_scanner_event,
6564 token: ::std::os::raw::c_int,
6565 line: ::std::os::raw::c_int,
6566 text: *const ::std::os::raw::c_char,
6567 length: usize,
6568 context: *mut ::std::os::raw::c_void,
6569 ),
6570 >,
6571 pub on_event_context: *mut ::std::os::raw::c_void,
6572}
6573#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6574const _: () = {
6575 ["Size of _zend_php_scanner_globals"]
6576 [::std::mem::size_of::<_zend_php_scanner_globals>() - 248usize];
6577 ["Alignment of _zend_php_scanner_globals"]
6578 [::std::mem::align_of::<_zend_php_scanner_globals>() - 8usize];
6579 ["Offset of field: _zend_php_scanner_globals::yy_in"]
6580 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_in) - 0usize];
6581 ["Offset of field: _zend_php_scanner_globals::yy_out"]
6582 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_out) - 8usize];
6583 ["Offset of field: _zend_php_scanner_globals::yy_leng"]
6584 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_leng) - 16usize];
6585 ["Offset of field: _zend_php_scanner_globals::yy_start"]
6586 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_start) - 24usize];
6587 ["Offset of field: _zend_php_scanner_globals::yy_text"]
6588 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_text) - 32usize];
6589 ["Offset of field: _zend_php_scanner_globals::yy_cursor"]
6590 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_cursor) - 40usize];
6591 ["Offset of field: _zend_php_scanner_globals::yy_marker"]
6592 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_marker) - 48usize];
6593 ["Offset of field: _zend_php_scanner_globals::yy_limit"]
6594 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_limit) - 56usize];
6595 ["Offset of field: _zend_php_scanner_globals::yy_state"]
6596 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_state) - 64usize];
6597 ["Offset of field: _zend_php_scanner_globals::state_stack"]
6598 [::std::mem::offset_of!(_zend_php_scanner_globals, state_stack) - 72usize];
6599 ["Offset of field: _zend_php_scanner_globals::heredoc_label_stack"]
6600 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_label_stack) - 96usize];
6601 ["Offset of field: _zend_php_scanner_globals::nest_location_stack"]
6602 [::std::mem::offset_of!(_zend_php_scanner_globals, nest_location_stack) - 128usize];
6603 ["Offset of field: _zend_php_scanner_globals::heredoc_scan_ahead"]
6604 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_scan_ahead) - 152usize];
6605 ["Offset of field: _zend_php_scanner_globals::heredoc_indentation"]
6606 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_indentation) - 156usize];
6607 ["Offset of field: _zend_php_scanner_globals::heredoc_indentation_uses_spaces"][::std::mem::offset_of!(
6608 _zend_php_scanner_globals,
6609 heredoc_indentation_uses_spaces
6610 ) - 160usize];
6611 ["Offset of field: _zend_php_scanner_globals::script_org"]
6612 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org) - 168usize];
6613 ["Offset of field: _zend_php_scanner_globals::script_org_size"]
6614 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org_size) - 176usize];
6615 ["Offset of field: _zend_php_scanner_globals::script_filtered"]
6616 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered) - 184usize];
6617 ["Offset of field: _zend_php_scanner_globals::script_filtered_size"]
6618 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered_size) - 192usize];
6619 ["Offset of field: _zend_php_scanner_globals::input_filter"]
6620 [::std::mem::offset_of!(_zend_php_scanner_globals, input_filter) - 200usize];
6621 ["Offset of field: _zend_php_scanner_globals::output_filter"]
6622 [::std::mem::offset_of!(_zend_php_scanner_globals, output_filter) - 208usize];
6623 ["Offset of field: _zend_php_scanner_globals::script_encoding"]
6624 [::std::mem::offset_of!(_zend_php_scanner_globals, script_encoding) - 216usize];
6625 ["Offset of field: _zend_php_scanner_globals::scanned_string_len"]
6626 [::std::mem::offset_of!(_zend_php_scanner_globals, scanned_string_len) - 224usize];
6627 ["Offset of field: _zend_php_scanner_globals::on_event"]
6628 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event) - 232usize];
6629 ["Offset of field: _zend_php_scanner_globals::on_event_context"]
6630 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event_context) - 240usize];
6631};
6632extern "C" {
6633 pub fn zend_init_compiler_data_structures();
6634}
6635extern "C" {
6636 pub fn zend_oparray_context_begin(prev_context: *mut zend_oparray_context);
6637}
6638extern "C" {
6639 pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
6640}
6641extern "C" {
6642 pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
6643}
6644extern "C" {
6645 pub fn zend_file_context_end(prev_context: *mut zend_file_context);
6646}
6647extern "C" {
6648 pub static mut zend_compile_file: ::std::option::Option<
6649 unsafe extern "C" fn(
6650 file_handle: *mut zend_file_handle,
6651 type_: ::std::os::raw::c_int,
6652 ) -> *mut zend_op_array,
6653 >;
6654}
6655extern "C" {
6656 pub static mut zend_compile_string: ::std::option::Option<
6657 unsafe extern "C" fn(
6658 source_string: *mut zend_string,
6659 filename: *const ::std::os::raw::c_char,
6660 ) -> *mut zend_op_array,
6661 >;
6662}
6663extern "C" {
6664 pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
6665}
6666extern "C" {
6667 pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
6668}
6669extern "C" {
6670 pub fn zend_get_compiled_filename() -> *mut zend_string;
6671}
6672extern "C" {
6673 pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
6674}
6675extern "C" {
6676 pub fn zend_get_scanned_file_offset() -> usize;
6677}
6678extern "C" {
6679 pub fn zend_get_compiled_variable_name(
6680 op_array: *const zend_op_array,
6681 var: u32,
6682 ) -> *mut zend_string;
6683}
6684extern "C" {
6685 pub fn zend_stop_lexing();
6686}
6687extern "C" {
6688 pub fn zend_emit_final_return(return_one: bool);
6689}
6690extern "C" {
6691 pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
6692}
6693extern "C" {
6694 pub fn zend_negate_num_string(ast: *mut zend_ast) -> *mut zend_ast;
6695}
6696extern "C" {
6697 pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
6698}
6699extern "C" {
6700 pub fn zend_add_member_modifier(flags: u32, new_flag: u32) -> u32;
6701}
6702extern "C" {
6703 pub fn zend_handle_encoding_declaration(ast: *mut zend_ast) -> zend_bool;
6704}
6705extern "C" {
6706 pub fn zend_do_free(op1: *mut znode);
6707}
6708extern "C" {
6709 pub fn zend_build_delayed_early_binding_list(op_array: *const zend_op_array) -> u32;
6710}
6711extern "C" {
6712 pub fn zend_do_delayed_early_binding(
6713 op_array: *mut zend_op_array,
6714 first_early_binding_opline: u32,
6715 );
6716}
6717extern "C" {
6718 pub fn zend_do_extended_info();
6719}
6720extern "C" {
6721 pub fn zend_do_extended_fcall_begin();
6722}
6723extern "C" {
6724 pub fn zend_do_extended_fcall_end();
6725}
6726extern "C" {
6727 pub fn zend_verify_namespace();
6728}
6729extern "C" {
6730 pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
6731}
6732extern "C" {
6733 pub fn zend_compile_string_to_ast(
6734 code: *mut zend_string,
6735 ast_arena: *mut *mut _zend_arena,
6736 filename: *const ::std::os::raw::c_char,
6737 ) -> *mut zend_ast;
6738}
6739extern "C" {
6740 pub fn zend_execute_scripts(
6741 type_: ::std::os::raw::c_int,
6742 retval: *mut zval,
6743 file_count: ::std::os::raw::c_int,
6744 ...
6745 ) -> ::std::os::raw::c_int;
6746}
6747extern "C" {
6748 pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
6749}
6750extern "C" {
6751 pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
6752}
6753extern "C" {
6754 pub fn zend_cleanup_internal_classes();
6755}
6756extern "C" {
6757 pub fn zend_type_release(type_: zend_type, persistent: zend_bool);
6758}
6759extern "C" {
6760 pub fn zend_create_member_string(
6761 class_name: *mut zend_string,
6762 member_name: *mut zend_string,
6763 ) -> *mut zend_string;
6764}
6765extern "C" {
6766 pub fn zend_user_exception_handler();
6767}
6768extern "C" {
6769 pub fn zend_free_internal_arg_info(function: *mut zend_internal_function);
6770}
6771extern "C" {
6772 pub fn zend_function_dtor(zv: *mut zval);
6773}
6774extern "C" {
6775 pub fn zend_class_add_ref(zv: *mut zval);
6776}
6777extern "C" {
6778 pub fn zend_mangle_property_name(
6779 src1: *const ::std::os::raw::c_char,
6780 src1_length: usize,
6781 src2: *const ::std::os::raw::c_char,
6782 src2_length: usize,
6783 internal: bool,
6784 ) -> *mut zend_string;
6785}
6786extern "C" {
6787 pub fn zend_unmangle_property_name_ex(
6788 name: *const zend_string,
6789 class_name: *mut *const ::std::os::raw::c_char,
6790 prop_name: *mut *const ::std::os::raw::c_char,
6791 prop_len: *mut usize,
6792 ) -> zend_result;
6793}
6794pub type zend_needs_live_range_cb = ::std::option::Option<
6795 unsafe extern "C" fn(op_array: *mut zend_op_array, opline: *mut zend_op) -> zend_bool,
6796>;
6797extern "C" {
6798 pub fn zend_recalc_live_ranges(
6799 op_array: *mut zend_op_array,
6800 needs_live_range: zend_needs_live_range_cb,
6801 );
6802}
6803extern "C" {
6804 pub fn zend_is_compiling() -> zend_bool;
6805}
6806extern "C" {
6807 pub fn zend_make_compiled_string_description(
6808 name: *const ::std::os::raw::c_char,
6809 ) -> *mut ::std::os::raw::c_char;
6810}
6811extern "C" {
6812 pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: zend_bool);
6813}
6814extern "C" {
6815 pub fn zend_get_class_fetch_type(name: *mut zend_string) -> u32;
6816}
6817extern "C" {
6818 pub fn zend_get_call_op(init_op: *const zend_op, fbc: *mut zend_function) -> zend_uchar;
6819}
6820extern "C" {
6821 pub fn zend_is_smart_branch(opline: *const zend_op) -> bool;
6822}
6823pub type zend_auto_global_callback =
6824 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> zend_bool>;
6825#[repr(C)]
6826#[derive(Debug, Copy, Clone)]
6827pub struct _zend_auto_global {
6828 pub name: *mut zend_string,
6829 pub auto_global_callback: zend_auto_global_callback,
6830 pub jit: zend_bool,
6831 pub armed: zend_bool,
6832}
6833#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6834const _: () = {
6835 ["Size of _zend_auto_global"][::std::mem::size_of::<_zend_auto_global>() - 24usize];
6836 ["Alignment of _zend_auto_global"][::std::mem::align_of::<_zend_auto_global>() - 8usize];
6837 ["Offset of field: _zend_auto_global::name"]
6838 [::std::mem::offset_of!(_zend_auto_global, name) - 0usize];
6839 ["Offset of field: _zend_auto_global::auto_global_callback"]
6840 [::std::mem::offset_of!(_zend_auto_global, auto_global_callback) - 8usize];
6841 ["Offset of field: _zend_auto_global::jit"]
6842 [::std::mem::offset_of!(_zend_auto_global, jit) - 16usize];
6843 ["Offset of field: _zend_auto_global::armed"]
6844 [::std::mem::offset_of!(_zend_auto_global, armed) - 17usize];
6845};
6846pub type zend_auto_global = _zend_auto_global;
6847extern "C" {
6848 pub fn zend_register_auto_global(
6849 name: *mut zend_string,
6850 jit: zend_bool,
6851 auto_global_callback: zend_auto_global_callback,
6852 ) -> zend_result;
6853}
6854extern "C" {
6855 pub fn zend_activate_auto_globals();
6856}
6857extern "C" {
6858 pub fn zend_is_auto_global(name: *mut zend_string) -> zend_bool;
6859}
6860extern "C" {
6861 pub fn zend_is_auto_global_str(name: *const ::std::os::raw::c_char, len: usize) -> zend_bool;
6862}
6863extern "C" {
6864 pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: usize) -> usize;
6865}
6866extern "C" {
6867 pub fn zend_set_function_arg_flags(func: *mut zend_function);
6868}
6869extern "C" {
6870 pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
6871}
6872extern "C" {
6873 pub fn zend_assert_valid_class_name(const_name: *const zend_string);
6874}
6875extern "C" {
6876 pub fn zend_type_to_string_resolved(
6877 type_: zend_type,
6878 scope: *mut zend_class_entry,
6879 ) -> *mut zend_string;
6880}
6881extern "C" {
6882 pub fn zend_type_to_string(type_: zend_type) -> *mut zend_string;
6883}
6884extern "C" {
6885 pub fn zend_get_opcode_name(opcode: zend_uchar) -> *const ::std::os::raw::c_char;
6886}
6887extern "C" {
6888 pub fn zend_get_opcode_flags(opcode: zend_uchar) -> u32;
6889}
6890extern "C" {
6891 pub fn zend_binary_op_produces_error(opcode: u32, op1: *mut zval, op2: *mut zval) -> zend_bool;
6892}
6893pub type zend_module_entry = _zend_module_entry;
6894pub type zend_module_dep = _zend_module_dep;
6895#[repr(C)]
6896#[derive(Debug, Copy, Clone)]
6897pub struct _zend_module_entry {
6898 pub size: ::std::os::raw::c_ushort,
6899 pub zend_api: ::std::os::raw::c_uint,
6900 pub zend_debug: ::std::os::raw::c_uchar,
6901 pub zts: ::std::os::raw::c_uchar,
6902 pub ini_entry: *const _zend_ini_entry,
6903 pub deps: *const _zend_module_dep,
6904 pub name: *const ::std::os::raw::c_char,
6905 pub functions: *const _zend_function_entry,
6906 pub module_startup_func: ::std::option::Option<
6907 unsafe extern "C" fn(
6908 type_: ::std::os::raw::c_int,
6909 module_number: ::std::os::raw::c_int,
6910 ) -> zend_result,
6911 >,
6912 pub module_shutdown_func: ::std::option::Option<
6913 unsafe extern "C" fn(
6914 type_: ::std::os::raw::c_int,
6915 module_number: ::std::os::raw::c_int,
6916 ) -> zend_result,
6917 >,
6918 pub request_startup_func: ::std::option::Option<
6919 unsafe extern "C" fn(
6920 type_: ::std::os::raw::c_int,
6921 module_number: ::std::os::raw::c_int,
6922 ) -> zend_result,
6923 >,
6924 pub request_shutdown_func: ::std::option::Option<
6925 unsafe extern "C" fn(
6926 type_: ::std::os::raw::c_int,
6927 module_number: ::std::os::raw::c_int,
6928 ) -> zend_result,
6929 >,
6930 pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
6931 pub version: *const ::std::os::raw::c_char,
6932 pub globals_size: usize,
6933 pub globals_ptr: *mut ::std::os::raw::c_void,
6934 pub globals_ctor:
6935 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
6936 pub globals_dtor:
6937 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
6938 pub post_deactivate_func: ::std::option::Option<unsafe extern "C" fn() -> zend_result>,
6939 pub module_started: ::std::os::raw::c_int,
6940 pub type_: ::std::os::raw::c_uchar,
6941 pub handle: *mut ::std::os::raw::c_void,
6942 pub module_number: ::std::os::raw::c_int,
6943 pub build_id: *const ::std::os::raw::c_char,
6944}
6945#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6946const _: () = {
6947 ["Size of _zend_module_entry"][::std::mem::size_of::<_zend_module_entry>() - 168usize];
6948 ["Alignment of _zend_module_entry"][::std::mem::align_of::<_zend_module_entry>() - 8usize];
6949 ["Offset of field: _zend_module_entry::size"]
6950 [::std::mem::offset_of!(_zend_module_entry, size) - 0usize];
6951 ["Offset of field: _zend_module_entry::zend_api"]
6952 [::std::mem::offset_of!(_zend_module_entry, zend_api) - 4usize];
6953 ["Offset of field: _zend_module_entry::zend_debug"]
6954 [::std::mem::offset_of!(_zend_module_entry, zend_debug) - 8usize];
6955 ["Offset of field: _zend_module_entry::zts"]
6956 [::std::mem::offset_of!(_zend_module_entry, zts) - 9usize];
6957 ["Offset of field: _zend_module_entry::ini_entry"]
6958 [::std::mem::offset_of!(_zend_module_entry, ini_entry) - 16usize];
6959 ["Offset of field: _zend_module_entry::deps"]
6960 [::std::mem::offset_of!(_zend_module_entry, deps) - 24usize];
6961 ["Offset of field: _zend_module_entry::name"]
6962 [::std::mem::offset_of!(_zend_module_entry, name) - 32usize];
6963 ["Offset of field: _zend_module_entry::functions"]
6964 [::std::mem::offset_of!(_zend_module_entry, functions) - 40usize];
6965 ["Offset of field: _zend_module_entry::module_startup_func"]
6966 [::std::mem::offset_of!(_zend_module_entry, module_startup_func) - 48usize];
6967 ["Offset of field: _zend_module_entry::module_shutdown_func"]
6968 [::std::mem::offset_of!(_zend_module_entry, module_shutdown_func) - 56usize];
6969 ["Offset of field: _zend_module_entry::request_startup_func"]
6970 [::std::mem::offset_of!(_zend_module_entry, request_startup_func) - 64usize];
6971 ["Offset of field: _zend_module_entry::request_shutdown_func"]
6972 [::std::mem::offset_of!(_zend_module_entry, request_shutdown_func) - 72usize];
6973 ["Offset of field: _zend_module_entry::info_func"]
6974 [::std::mem::offset_of!(_zend_module_entry, info_func) - 80usize];
6975 ["Offset of field: _zend_module_entry::version"]
6976 [::std::mem::offset_of!(_zend_module_entry, version) - 88usize];
6977 ["Offset of field: _zend_module_entry::globals_size"]
6978 [::std::mem::offset_of!(_zend_module_entry, globals_size) - 96usize];
6979 ["Offset of field: _zend_module_entry::globals_ptr"]
6980 [::std::mem::offset_of!(_zend_module_entry, globals_ptr) - 104usize];
6981 ["Offset of field: _zend_module_entry::globals_ctor"]
6982 [::std::mem::offset_of!(_zend_module_entry, globals_ctor) - 112usize];
6983 ["Offset of field: _zend_module_entry::globals_dtor"]
6984 [::std::mem::offset_of!(_zend_module_entry, globals_dtor) - 120usize];
6985 ["Offset of field: _zend_module_entry::post_deactivate_func"]
6986 [::std::mem::offset_of!(_zend_module_entry, post_deactivate_func) - 128usize];
6987 ["Offset of field: _zend_module_entry::module_started"]
6988 [::std::mem::offset_of!(_zend_module_entry, module_started) - 136usize];
6989 ["Offset of field: _zend_module_entry::type_"]
6990 [::std::mem::offset_of!(_zend_module_entry, type_) - 140usize];
6991 ["Offset of field: _zend_module_entry::handle"]
6992 [::std::mem::offset_of!(_zend_module_entry, handle) - 144usize];
6993 ["Offset of field: _zend_module_entry::module_number"]
6994 [::std::mem::offset_of!(_zend_module_entry, module_number) - 152usize];
6995 ["Offset of field: _zend_module_entry::build_id"]
6996 [::std::mem::offset_of!(_zend_module_entry, build_id) - 160usize];
6997};
6998#[repr(C)]
6999#[derive(Debug, Copy, Clone)]
7000pub struct _zend_module_dep {
7001 pub name: *const ::std::os::raw::c_char,
7002 pub rel: *const ::std::os::raw::c_char,
7003 pub version: *const ::std::os::raw::c_char,
7004 pub type_: ::std::os::raw::c_uchar,
7005}
7006#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7007const _: () = {
7008 ["Size of _zend_module_dep"][::std::mem::size_of::<_zend_module_dep>() - 32usize];
7009 ["Alignment of _zend_module_dep"][::std::mem::align_of::<_zend_module_dep>() - 8usize];
7010 ["Offset of field: _zend_module_dep::name"]
7011 [::std::mem::offset_of!(_zend_module_dep, name) - 0usize];
7012 ["Offset of field: _zend_module_dep::rel"]
7013 [::std::mem::offset_of!(_zend_module_dep, rel) - 8usize];
7014 ["Offset of field: _zend_module_dep::version"]
7015 [::std::mem::offset_of!(_zend_module_dep, version) - 16usize];
7016 ["Offset of field: _zend_module_dep::type_"]
7017 [::std::mem::offset_of!(_zend_module_dep, type_) - 24usize];
7018};
7019extern "C" {
7020 pub static mut module_registry: HashTable;
7021}
7022pub type rsrc_dtor_func_t = ::std::option::Option<unsafe extern "C" fn(res: *mut zend_resource)>;
7023#[repr(C)]
7024#[derive(Debug, Copy, Clone)]
7025pub struct _zend_rsrc_list_dtors_entry {
7026 pub list_dtor_ex: rsrc_dtor_func_t,
7027 pub plist_dtor_ex: rsrc_dtor_func_t,
7028 pub type_name: *const ::std::os::raw::c_char,
7029 pub module_number: ::std::os::raw::c_int,
7030 pub resource_id: ::std::os::raw::c_int,
7031}
7032#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7033const _: () = {
7034 ["Size of _zend_rsrc_list_dtors_entry"]
7035 [::std::mem::size_of::<_zend_rsrc_list_dtors_entry>() - 32usize];
7036 ["Alignment of _zend_rsrc_list_dtors_entry"]
7037 [::std::mem::align_of::<_zend_rsrc_list_dtors_entry>() - 8usize];
7038 ["Offset of field: _zend_rsrc_list_dtors_entry::list_dtor_ex"]
7039 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, list_dtor_ex) - 0usize];
7040 ["Offset of field: _zend_rsrc_list_dtors_entry::plist_dtor_ex"]
7041 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, plist_dtor_ex) - 8usize];
7042 ["Offset of field: _zend_rsrc_list_dtors_entry::type_name"]
7043 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, type_name) - 16usize];
7044 ["Offset of field: _zend_rsrc_list_dtors_entry::module_number"]
7045 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, module_number) - 24usize];
7046 ["Offset of field: _zend_rsrc_list_dtors_entry::resource_id"]
7047 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, resource_id) - 28usize];
7048};
7049pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
7050extern "C" {
7051 pub fn zend_register_list_destructors_ex(
7052 ld: rsrc_dtor_func_t,
7053 pld: rsrc_dtor_func_t,
7054 type_name: *const ::std::os::raw::c_char,
7055 module_number: ::std::os::raw::c_int,
7056 ) -> ::std::os::raw::c_int;
7057}
7058extern "C" {
7059 pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
7060}
7061extern "C" {
7062 pub fn zend_init_rsrc_list();
7063}
7064extern "C" {
7065 pub fn zend_init_rsrc_plist();
7066}
7067extern "C" {
7068 pub fn zend_close_rsrc_list(ht: *mut HashTable);
7069}
7070extern "C" {
7071 pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
7072}
7073extern "C" {
7074 pub fn zend_init_rsrc_list_dtors();
7075}
7076extern "C" {
7077 pub fn zend_destroy_rsrc_list_dtors();
7078}
7079extern "C" {
7080 pub fn zend_list_insert(
7081 ptr: *mut ::std::os::raw::c_void,
7082 type_: ::std::os::raw::c_int,
7083 ) -> *mut zval;
7084}
7085extern "C" {
7086 pub fn zend_list_free(res: *mut zend_resource);
7087}
7088extern "C" {
7089 pub fn zend_list_delete(res: *mut zend_resource) -> ::std::os::raw::c_int;
7090}
7091extern "C" {
7092 pub fn zend_list_close(res: *mut zend_resource);
7093}
7094extern "C" {
7095 pub fn zend_register_resource(
7096 rsrc_pointer: *mut ::std::os::raw::c_void,
7097 rsrc_type: ::std::os::raw::c_int,
7098 ) -> *mut zend_resource;
7099}
7100extern "C" {
7101 pub fn zend_fetch_resource(
7102 res: *mut zend_resource,
7103 resource_type_name: *const ::std::os::raw::c_char,
7104 resource_type: ::std::os::raw::c_int,
7105 ) -> *mut ::std::os::raw::c_void;
7106}
7107extern "C" {
7108 pub fn zend_fetch_resource2(
7109 res: *mut zend_resource,
7110 resource_type_name: *const ::std::os::raw::c_char,
7111 resource_type: ::std::os::raw::c_int,
7112 resource_type2: ::std::os::raw::c_int,
7113 ) -> *mut ::std::os::raw::c_void;
7114}
7115extern "C" {
7116 pub fn zend_fetch_resource_ex(
7117 res: *mut zval,
7118 resource_type_name: *const ::std::os::raw::c_char,
7119 resource_type: ::std::os::raw::c_int,
7120 ) -> *mut ::std::os::raw::c_void;
7121}
7122extern "C" {
7123 pub fn zend_fetch_resource2_ex(
7124 res: *mut zval,
7125 resource_type_name: *const ::std::os::raw::c_char,
7126 resource_type: ::std::os::raw::c_int,
7127 resource_type2: ::std::os::raw::c_int,
7128 ) -> *mut ::std::os::raw::c_void;
7129}
7130extern "C" {
7131 pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
7132}
7133extern "C" {
7134 pub fn zend_fetch_list_dtor_id(
7135 type_name: *const ::std::os::raw::c_char,
7136 ) -> ::std::os::raw::c_int;
7137}
7138extern "C" {
7139 pub fn zend_register_persistent_resource(
7140 key: *const ::std::os::raw::c_char,
7141 key_len: usize,
7142 rsrc_pointer: *mut ::std::os::raw::c_void,
7143 rsrc_type: ::std::os::raw::c_int,
7144 ) -> *mut zend_resource;
7145}
7146extern "C" {
7147 pub fn zend_register_persistent_resource_ex(
7148 key: *mut zend_string,
7149 rsrc_pointer: *mut ::std::os::raw::c_void,
7150 rsrc_type: ::std::os::raw::c_int,
7151 ) -> *mut zend_resource;
7152}
7153extern "C" {
7154 pub static mut zend_execute_ex:
7155 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
7156}
7157extern "C" {
7158 pub static mut zend_execute_internal: ::std::option::Option<
7159 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
7160 >;
7161}
7162extern "C" {
7163 pub static mut zend_autoload: ::std::option::Option<
7164 unsafe extern "C" fn(
7165 name: *mut zend_string,
7166 lc_name: *mut zend_string,
7167 ) -> *mut zend_class_entry,
7168 >;
7169}
7170extern "C" {
7171 pub fn zend_init_execute_data(
7172 execute_data: *mut zend_execute_data,
7173 op_array: *mut zend_op_array,
7174 return_value: *mut zval,
7175 );
7176}
7177extern "C" {
7178 pub fn zend_init_func_execute_data(
7179 execute_data: *mut zend_execute_data,
7180 op_array: *mut zend_op_array,
7181 return_value: *mut zval,
7182 );
7183}
7184extern "C" {
7185 pub fn zend_init_code_execute_data(
7186 execute_data: *mut zend_execute_data,
7187 op_array: *mut zend_op_array,
7188 return_value: *mut zval,
7189 );
7190}
7191extern "C" {
7192 pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
7193}
7194extern "C" {
7195 pub fn zend_is_valid_class_name(name: *mut zend_string) -> zend_bool;
7196}
7197extern "C" {
7198 pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
7199}
7200extern "C" {
7201 pub fn zend_lookup_class_ex(
7202 name: *mut zend_string,
7203 lcname: *mut zend_string,
7204 flags: u32,
7205 ) -> *mut zend_class_entry;
7206}
7207extern "C" {
7208 pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
7209}
7210extern "C" {
7211 pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
7212}
7213extern "C" {
7214 pub fn zend_eval_string(
7215 str_: *const ::std::os::raw::c_char,
7216 retval_ptr: *mut zval,
7217 string_name: *const ::std::os::raw::c_char,
7218 ) -> zend_result;
7219}
7220extern "C" {
7221 pub fn zend_eval_stringl(
7222 str_: *const ::std::os::raw::c_char,
7223 str_len: usize,
7224 retval_ptr: *mut zval,
7225 string_name: *const ::std::os::raw::c_char,
7226 ) -> zend_result;
7227}
7228extern "C" {
7229 pub fn zend_eval_string_ex(
7230 str_: *const ::std::os::raw::c_char,
7231 retval_ptr: *mut zval,
7232 string_name: *const ::std::os::raw::c_char,
7233 handle_exceptions: bool,
7234 ) -> zend_result;
7235}
7236extern "C" {
7237 pub fn zend_eval_stringl_ex(
7238 str_: *const ::std::os::raw::c_char,
7239 str_len: usize,
7240 retval_ptr: *mut zval,
7241 string_name: *const ::std::os::raw::c_char,
7242 handle_exceptions: bool,
7243 ) -> zend_result;
7244}
7245extern "C" {
7246 pub static zend_pass_function: zend_internal_function;
7247}
7248extern "C" {
7249 pub fn zend_missing_arg_error(execute_data: *mut zend_execute_data);
7250}
7251extern "C" {
7252 pub fn zend_deprecated_function(fbc: *const zend_function);
7253}
7254extern "C" {
7255 pub fn zend_param_must_be_ref(func: *const zend_function, arg_num: u32);
7256}
7257extern "C" {
7258 pub fn zend_verify_ref_assignable_zval(
7259 ref_: *mut zend_reference,
7260 zv: *mut zval,
7261 strict: zend_bool,
7262 ) -> zend_bool;
7263}
7264extern "C" {
7265 pub fn zend_verify_prop_assignable_by_ref(
7266 prop_info: *mut zend_property_info,
7267 orig_val: *mut zval,
7268 strict: zend_bool,
7269 ) -> zend_bool;
7270}
7271extern "C" {
7272 pub fn zend_throw_ref_type_error_zval(prop: *mut zend_property_info, zv: *mut zval);
7273}
7274extern "C" {
7275 pub fn zend_throw_ref_type_error_type(
7276 prop1: *mut zend_property_info,
7277 prop2: *mut zend_property_info,
7278 zv: *mut zval,
7279 );
7280}
7281extern "C" {
7282 pub fn zend_undefined_offset_write(ht: *mut HashTable, lval: zend_long) -> zend_result;
7283}
7284extern "C" {
7285 pub fn zend_undefined_index_write(ht: *mut HashTable, offset: *mut zend_string) -> zend_result;
7286}
7287extern "C" {
7288 pub fn zend_verify_scalar_type_hint(
7289 type_mask: u32,
7290 arg: *mut zval,
7291 strict: zend_bool,
7292 is_internal_arg: zend_bool,
7293 ) -> zend_bool;
7294}
7295extern "C" {
7296 pub fn zend_verify_arg_error(
7297 zf: *const zend_function,
7298 arg_info: *const zend_arg_info,
7299 arg_num: ::std::os::raw::c_int,
7300 value: *mut zval,
7301 );
7302}
7303extern "C" {
7304 pub fn zend_verify_return_error(zf: *const zend_function, value: *mut zval);
7305}
7306extern "C" {
7307 pub fn zend_verify_ref_array_assignable(ref_: *mut zend_reference) -> zend_bool;
7308}
7309extern "C" {
7310 pub fn zend_value_instanceof_static(zv: *mut zval) -> zend_bool;
7311}
7312extern "C" {
7313 pub fn zend_ref_add_type_source(
7314 source_list: *mut zend_property_info_source_list,
7315 prop: *mut zend_property_info,
7316 );
7317}
7318extern "C" {
7319 pub fn zend_ref_del_type_source(
7320 source_list: *mut zend_property_info_source_list,
7321 prop: *mut zend_property_info,
7322 );
7323}
7324extern "C" {
7325 pub fn zend_assign_to_typed_ref(
7326 variable_ptr: *mut zval,
7327 value: *mut zval,
7328 value_type: zend_uchar,
7329 strict: zend_bool,
7330 ) -> *mut zval;
7331}
7332#[repr(C)]
7333#[derive(Debug, Copy, Clone)]
7334pub struct _zend_vm_stack {
7335 pub top: *mut zval,
7336 pub end: *mut zval,
7337 pub prev: zend_vm_stack,
7338}
7339#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7340const _: () = {
7341 ["Size of _zend_vm_stack"][::std::mem::size_of::<_zend_vm_stack>() - 24usize];
7342 ["Alignment of _zend_vm_stack"][::std::mem::align_of::<_zend_vm_stack>() - 8usize];
7343 ["Offset of field: _zend_vm_stack::top"][::std::mem::offset_of!(_zend_vm_stack, top) - 0usize];
7344 ["Offset of field: _zend_vm_stack::end"][::std::mem::offset_of!(_zend_vm_stack, end) - 8usize];
7345 ["Offset of field: _zend_vm_stack::prev"]
7346 [::std::mem::offset_of!(_zend_vm_stack, prev) - 16usize];
7347};
7348extern "C" {
7349 pub fn zend_vm_stack_init();
7350}
7351extern "C" {
7352 pub fn zend_vm_stack_init_ex(page_size: usize);
7353}
7354extern "C" {
7355 pub fn zend_vm_stack_destroy();
7356}
7357extern "C" {
7358 pub fn zend_vm_stack_extend(size: usize) -> *mut ::std::os::raw::c_void;
7359}
7360extern "C" {
7361 pub fn zend_vm_stack_copy_call_frame(
7362 call: *mut zend_execute_data,
7363 passed_args: u32,
7364 additional_args: u32,
7365 ) -> *mut zend_execute_data;
7366}
7367extern "C" {
7368 pub fn zend_free_extra_named_params(extra_named_params: *mut zend_array);
7369}
7370extern "C" {
7371 pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
7372}
7373extern "C" {
7374 pub fn zend_get_executed_filename_ex() -> *mut zend_string;
7375}
7376extern "C" {
7377 pub fn zend_get_executed_lineno() -> u32;
7378}
7379extern "C" {
7380 pub fn zend_get_executed_scope() -> *mut zend_class_entry;
7381}
7382extern "C" {
7383 pub fn zend_is_executing() -> zend_bool;
7384}
7385extern "C" {
7386 pub fn zend_cannot_pass_by_reference(arg_num: u32);
7387}
7388extern "C" {
7389 pub fn zend_set_timeout(seconds: zend_long, reset_signals: bool);
7390}
7391extern "C" {
7392 pub fn zend_unset_timeout();
7393}
7394extern "C" {
7395 pub fn zend_timeout() -> !;
7396}
7397extern "C" {
7398 pub fn zend_fetch_class(
7399 class_name: *mut zend_string,
7400 fetch_type: ::std::os::raw::c_int,
7401 ) -> *mut zend_class_entry;
7402}
7403extern "C" {
7404 pub fn zend_fetch_class_by_name(
7405 class_name: *mut zend_string,
7406 lcname: *mut zend_string,
7407 fetch_type: ::std::os::raw::c_int,
7408 ) -> *mut zend_class_entry;
7409}
7410extern "C" {
7411 pub fn zend_fetch_function(name: *mut zend_string) -> *mut zend_function;
7412}
7413extern "C" {
7414 pub fn zend_fetch_function_str(
7415 name: *const ::std::os::raw::c_char,
7416 len: usize,
7417 ) -> *mut zend_function;
7418}
7419extern "C" {
7420 pub fn zend_init_func_run_time_cache(op_array: *mut zend_op_array);
7421}
7422extern "C" {
7423 pub fn zend_fetch_dimension_const(
7424 result: *mut zval,
7425 container: *mut zval,
7426 dim: *mut zval,
7427 type_: ::std::os::raw::c_int,
7428 );
7429}
7430extern "C" {
7431 pub fn zend_get_compiled_variable_value(
7432 execute_data_ptr: *const zend_execute_data,
7433 var: u32,
7434 ) -> *mut zval;
7435}
7436extern "C" {
7437 pub fn zend_set_user_opcode_handler(
7438 opcode: zend_uchar,
7439 handler: user_opcode_handler_t,
7440 ) -> ::std::os::raw::c_int;
7441}
7442extern "C" {
7443 pub fn zend_get_user_opcode_handler(opcode: zend_uchar) -> user_opcode_handler_t;
7444}
7445extern "C" {
7446 pub fn zend_get_zval_ptr(
7447 opline: *const zend_op,
7448 op_type: ::std::os::raw::c_int,
7449 node: *const znode_op,
7450 execute_data: *const zend_execute_data,
7451 ) -> *mut zval;
7452}
7453extern "C" {
7454 pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
7455}
7456extern "C" {
7457 pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
7458}
7459extern "C" {
7460 pub fn zend_cleanup_unfinished_execution(
7461 execute_data: *mut zend_execute_data,
7462 op_num: u32,
7463 catch_op_num: u32,
7464 );
7465}
7466extern "C" {
7467 pub fn zend_handle_named_arg(
7468 call_ptr: *mut *mut zend_execute_data,
7469 arg_name: *mut zend_string,
7470 arg_num_ptr: *mut u32,
7471 cache_slot: *mut *mut ::std::os::raw::c_void,
7472 ) -> *mut zval;
7473}
7474extern "C" {
7475 pub fn zend_handle_undef_args(call: *mut zend_execute_data) -> ::std::os::raw::c_int;
7476}
7477extern "C" {
7478 pub fn zend_verify_property_type(
7479 info: *mut zend_property_info,
7480 property: *mut zval,
7481 strict: zend_bool,
7482 ) -> zend_bool;
7483}
7484extern "C" {
7485 pub fn zend_verify_property_type_error(info: *mut zend_property_info, property: *mut zval);
7486}
7487#[repr(C)]
7488#[derive(Debug, Copy, Clone)]
7489pub struct _zend_function_entry {
7490 pub fname: *const ::std::os::raw::c_char,
7491 pub handler: zif_handler,
7492 pub arg_info: *const _zend_internal_arg_info,
7493 pub num_args: u32,
7494 pub flags: u32,
7495}
7496#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7497const _: () = {
7498 ["Size of _zend_function_entry"][::std::mem::size_of::<_zend_function_entry>() - 32usize];
7499 ["Alignment of _zend_function_entry"][::std::mem::align_of::<_zend_function_entry>() - 8usize];
7500 ["Offset of field: _zend_function_entry::fname"]
7501 [::std::mem::offset_of!(_zend_function_entry, fname) - 0usize];
7502 ["Offset of field: _zend_function_entry::handler"]
7503 [::std::mem::offset_of!(_zend_function_entry, handler) - 8usize];
7504 ["Offset of field: _zend_function_entry::arg_info"]
7505 [::std::mem::offset_of!(_zend_function_entry, arg_info) - 16usize];
7506 ["Offset of field: _zend_function_entry::num_args"]
7507 [::std::mem::offset_of!(_zend_function_entry, num_args) - 24usize];
7508 ["Offset of field: _zend_function_entry::flags"]
7509 [::std::mem::offset_of!(_zend_function_entry, flags) - 28usize];
7510};
7511pub type zend_function_entry = _zend_function_entry;
7512#[repr(C)]
7513#[derive(Copy, Clone)]
7514pub struct _zend_fcall_info {
7515 pub size: usize,
7516 pub function_name: zval,
7517 pub retval: *mut zval,
7518 pub params: *mut zval,
7519 pub object: *mut zend_object,
7520 pub param_count: u32,
7521 pub named_params: *mut HashTable,
7522}
7523#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7524const _: () = {
7525 ["Size of _zend_fcall_info"][::std::mem::size_of::<_zend_fcall_info>() - 64usize];
7526 ["Alignment of _zend_fcall_info"][::std::mem::align_of::<_zend_fcall_info>() - 8usize];
7527 ["Offset of field: _zend_fcall_info::size"]
7528 [::std::mem::offset_of!(_zend_fcall_info, size) - 0usize];
7529 ["Offset of field: _zend_fcall_info::function_name"]
7530 [::std::mem::offset_of!(_zend_fcall_info, function_name) - 8usize];
7531 ["Offset of field: _zend_fcall_info::retval"]
7532 [::std::mem::offset_of!(_zend_fcall_info, retval) - 24usize];
7533 ["Offset of field: _zend_fcall_info::params"]
7534 [::std::mem::offset_of!(_zend_fcall_info, params) - 32usize];
7535 ["Offset of field: _zend_fcall_info::object"]
7536 [::std::mem::offset_of!(_zend_fcall_info, object) - 40usize];
7537 ["Offset of field: _zend_fcall_info::param_count"]
7538 [::std::mem::offset_of!(_zend_fcall_info, param_count) - 48usize];
7539 ["Offset of field: _zend_fcall_info::named_params"]
7540 [::std::mem::offset_of!(_zend_fcall_info, named_params) - 56usize];
7541};
7542pub type zend_fcall_info = _zend_fcall_info;
7543#[repr(C)]
7544#[derive(Debug, Copy, Clone)]
7545pub struct _zend_fcall_info_cache {
7546 pub function_handler: *mut zend_function,
7547 pub calling_scope: *mut zend_class_entry,
7548 pub called_scope: *mut zend_class_entry,
7549 pub object: *mut zend_object,
7550}
7551#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7552const _: () = {
7553 ["Size of _zend_fcall_info_cache"][::std::mem::size_of::<_zend_fcall_info_cache>() - 32usize];
7554 ["Alignment of _zend_fcall_info_cache"]
7555 [::std::mem::align_of::<_zend_fcall_info_cache>() - 8usize];
7556 ["Offset of field: _zend_fcall_info_cache::function_handler"]
7557 [::std::mem::offset_of!(_zend_fcall_info_cache, function_handler) - 0usize];
7558 ["Offset of field: _zend_fcall_info_cache::calling_scope"]
7559 [::std::mem::offset_of!(_zend_fcall_info_cache, calling_scope) - 8usize];
7560 ["Offset of field: _zend_fcall_info_cache::called_scope"]
7561 [::std::mem::offset_of!(_zend_fcall_info_cache, called_scope) - 16usize];
7562 ["Offset of field: _zend_fcall_info_cache::object"]
7563 [::std::mem::offset_of!(_zend_fcall_info_cache, object) - 24usize];
7564};
7565pub type zend_fcall_info_cache = _zend_fcall_info_cache;
7566extern "C" {
7567 pub fn zend_next_free_module() -> ::std::os::raw::c_int;
7568}
7569extern "C" {
7570 pub fn _zend_get_parameters_array_ex(
7571 param_count: u32,
7572 argument_array: *mut zval,
7573 ) -> zend_result;
7574}
7575extern "C" {
7576 pub fn zend_copy_parameters_array(param_count: u32, argument_array: *mut zval) -> zend_result;
7577}
7578extern "C" {
7579 pub fn zend_parse_parameters(
7580 num_args: u32,
7581 type_spec: *const ::std::os::raw::c_char,
7582 ...
7583 ) -> zend_result;
7584}
7585extern "C" {
7586 pub fn zend_parse_parameters_ex(
7587 flags: ::std::os::raw::c_int,
7588 num_args: u32,
7589 type_spec: *const ::std::os::raw::c_char,
7590 ...
7591 ) -> zend_result;
7592}
7593extern "C" {
7594 pub fn zend_zval_type_name(arg: *const zval) -> *const ::std::os::raw::c_char;
7595}
7596extern "C" {
7597 pub fn zend_zval_get_legacy_type(arg: *const zval) -> *mut zend_string;
7598}
7599extern "C" {
7600 pub fn zend_parse_method_parameters(
7601 num_args: u32,
7602 this_ptr: *mut zval,
7603 type_spec: *const ::std::os::raw::c_char,
7604 ...
7605 ) -> zend_result;
7606}
7607extern "C" {
7608 pub fn zend_parse_method_parameters_ex(
7609 flags: ::std::os::raw::c_int,
7610 num_args: u32,
7611 this_ptr: *mut zval,
7612 type_spec: *const ::std::os::raw::c_char,
7613 ...
7614 ) -> zend_result;
7615}
7616extern "C" {
7617 pub fn zend_parse_parameter(
7618 flags: ::std::os::raw::c_int,
7619 arg_num: u32,
7620 arg: *mut zval,
7621 spec: *const ::std::os::raw::c_char,
7622 ...
7623 ) -> zend_result;
7624}
7625extern "C" {
7626 pub fn zend_register_functions(
7627 scope: *mut zend_class_entry,
7628 functions: *const zend_function_entry,
7629 function_table: *mut HashTable,
7630 type_: ::std::os::raw::c_int,
7631 ) -> zend_result;
7632}
7633extern "C" {
7634 pub fn zend_unregister_functions(
7635 functions: *const zend_function_entry,
7636 count: ::std::os::raw::c_int,
7637 function_table: *mut HashTable,
7638 );
7639}
7640extern "C" {
7641 pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> zend_result;
7642}
7643extern "C" {
7644 pub fn zend_register_internal_module(
7645 module_entry: *mut zend_module_entry,
7646 ) -> *mut zend_module_entry;
7647}
7648extern "C" {
7649 pub fn zend_register_module_ex(module: *mut zend_module_entry) -> *mut zend_module_entry;
7650}
7651extern "C" {
7652 pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> zend_result;
7653}
7654extern "C" {
7655 pub fn zend_startup_modules();
7656}
7657extern "C" {
7658 pub fn zend_collect_module_handlers();
7659}
7660extern "C" {
7661 pub fn zend_destroy_modules();
7662}
7663extern "C" {
7664 pub fn zend_check_magic_method_implementation(
7665 ce: *const zend_class_entry,
7666 fptr: *const zend_function,
7667 lcname: *mut zend_string,
7668 error_type: ::std::os::raw::c_int,
7669 );
7670}
7671extern "C" {
7672 pub fn zend_add_magic_method(
7673 ce: *mut zend_class_entry,
7674 fptr: *mut zend_function,
7675 lcname: *mut zend_string,
7676 );
7677}
7678extern "C" {
7679 pub fn zend_register_internal_class(
7680 class_entry: *mut zend_class_entry,
7681 ) -> *mut zend_class_entry;
7682}
7683extern "C" {
7684 pub fn zend_register_internal_class_ex(
7685 class_entry: *mut zend_class_entry,
7686 parent_ce: *mut zend_class_entry,
7687 ) -> *mut zend_class_entry;
7688}
7689extern "C" {
7690 pub fn zend_register_internal_interface(
7691 orig_class_entry: *mut zend_class_entry,
7692 ) -> *mut zend_class_entry;
7693}
7694extern "C" {
7695 pub fn zend_class_implements(
7696 class_entry: *mut zend_class_entry,
7697 num_interfaces: ::std::os::raw::c_int,
7698 ...
7699 );
7700}
7701extern "C" {
7702 pub fn zend_register_class_alias_ex(
7703 name: *const ::std::os::raw::c_char,
7704 name_len: usize,
7705 ce: *mut zend_class_entry,
7706 persistent: bool,
7707 ) -> zend_result;
7708}
7709extern "C" {
7710 pub fn zend_disable_functions(function_list: *const ::std::os::raw::c_char);
7711}
7712extern "C" {
7713 pub fn zend_disable_class(
7714 class_name: *const ::std::os::raw::c_char,
7715 class_name_length: usize,
7716 ) -> zend_result;
7717}
7718extern "C" {
7719 pub fn zend_wrong_param_count();
7720}
7721extern "C" {
7722 pub fn zend_release_fcall_info_cache(fcc: *mut zend_fcall_info_cache);
7723}
7724extern "C" {
7725 pub fn zend_get_callable_name_ex(
7726 callable: *mut zval,
7727 object: *mut zend_object,
7728 ) -> *mut zend_string;
7729}
7730extern "C" {
7731 pub fn zend_get_callable_name(callable: *mut zval) -> *mut zend_string;
7732}
7733extern "C" {
7734 pub fn zend_is_callable_at_frame(
7735 callable: *mut zval,
7736 object: *mut zend_object,
7737 frame: *mut zend_execute_data,
7738 check_flags: u32,
7739 fcc: *mut zend_fcall_info_cache,
7740 error: *mut *mut ::std::os::raw::c_char,
7741 ) -> zend_bool;
7742}
7743extern "C" {
7744 pub fn zend_is_callable_ex(
7745 callable: *mut zval,
7746 object: *mut zend_object,
7747 check_flags: u32,
7748 callable_name: *mut *mut zend_string,
7749 fcc: *mut zend_fcall_info_cache,
7750 error: *mut *mut ::std::os::raw::c_char,
7751 ) -> zend_bool;
7752}
7753extern "C" {
7754 pub fn zend_is_callable(
7755 callable: *mut zval,
7756 check_flags: u32,
7757 callable_name: *mut *mut zend_string,
7758 ) -> zend_bool;
7759}
7760extern "C" {
7761 pub fn zend_make_callable(
7762 callable: *mut zval,
7763 callable_name: *mut *mut zend_string,
7764 ) -> zend_bool;
7765}
7766extern "C" {
7767 pub fn zend_get_module_version(
7768 module_name: *const ::std::os::raw::c_char,
7769 ) -> *const ::std::os::raw::c_char;
7770}
7771extern "C" {
7772 pub fn zend_get_module_started(
7773 module_name: *const ::std::os::raw::c_char,
7774 ) -> ::std::os::raw::c_int;
7775}
7776extern "C" {
7777 pub fn zend_declare_typed_property(
7778 ce: *mut zend_class_entry,
7779 name: *mut zend_string,
7780 property: *mut zval,
7781 access_type: ::std::os::raw::c_int,
7782 doc_comment: *mut zend_string,
7783 type_: zend_type,
7784 ) -> *mut zend_property_info;
7785}
7786extern "C" {
7787 pub fn zend_declare_property_ex(
7788 ce: *mut zend_class_entry,
7789 name: *mut zend_string,
7790 property: *mut zval,
7791 access_type: ::std::os::raw::c_int,
7792 doc_comment: *mut zend_string,
7793 );
7794}
7795extern "C" {
7796 pub fn zend_declare_property(
7797 ce: *mut zend_class_entry,
7798 name: *const ::std::os::raw::c_char,
7799 name_length: usize,
7800 property: *mut zval,
7801 access_type: ::std::os::raw::c_int,
7802 );
7803}
7804extern "C" {
7805 pub fn zend_declare_property_null(
7806 ce: *mut zend_class_entry,
7807 name: *const ::std::os::raw::c_char,
7808 name_length: usize,
7809 access_type: ::std::os::raw::c_int,
7810 );
7811}
7812extern "C" {
7813 pub fn zend_declare_property_bool(
7814 ce: *mut zend_class_entry,
7815 name: *const ::std::os::raw::c_char,
7816 name_length: usize,
7817 value: zend_long,
7818 access_type: ::std::os::raw::c_int,
7819 );
7820}
7821extern "C" {
7822 pub fn zend_declare_property_long(
7823 ce: *mut zend_class_entry,
7824 name: *const ::std::os::raw::c_char,
7825 name_length: usize,
7826 value: zend_long,
7827 access_type: ::std::os::raw::c_int,
7828 );
7829}
7830extern "C" {
7831 pub fn zend_declare_property_double(
7832 ce: *mut zend_class_entry,
7833 name: *const ::std::os::raw::c_char,
7834 name_length: usize,
7835 value: f64,
7836 access_type: ::std::os::raw::c_int,
7837 );
7838}
7839extern "C" {
7840 pub fn zend_declare_property_string(
7841 ce: *mut zend_class_entry,
7842 name: *const ::std::os::raw::c_char,
7843 name_length: usize,
7844 value: *const ::std::os::raw::c_char,
7845 access_type: ::std::os::raw::c_int,
7846 );
7847}
7848extern "C" {
7849 pub fn zend_declare_property_stringl(
7850 ce: *mut zend_class_entry,
7851 name: *const ::std::os::raw::c_char,
7852 name_length: usize,
7853 value: *const ::std::os::raw::c_char,
7854 value_len: usize,
7855 access_type: ::std::os::raw::c_int,
7856 );
7857}
7858extern "C" {
7859 pub fn zend_declare_class_constant_ex(
7860 ce: *mut zend_class_entry,
7861 name: *mut zend_string,
7862 value: *mut zval,
7863 access_type: ::std::os::raw::c_int,
7864 doc_comment: *mut zend_string,
7865 ) -> *mut zend_class_constant;
7866}
7867extern "C" {
7868 pub fn zend_declare_class_constant(
7869 ce: *mut zend_class_entry,
7870 name: *const ::std::os::raw::c_char,
7871 name_length: usize,
7872 value: *mut zval,
7873 );
7874}
7875extern "C" {
7876 pub fn zend_declare_class_constant_null(
7877 ce: *mut zend_class_entry,
7878 name: *const ::std::os::raw::c_char,
7879 name_length: usize,
7880 );
7881}
7882extern "C" {
7883 pub fn zend_declare_class_constant_long(
7884 ce: *mut zend_class_entry,
7885 name: *const ::std::os::raw::c_char,
7886 name_length: usize,
7887 value: zend_long,
7888 );
7889}
7890extern "C" {
7891 pub fn zend_declare_class_constant_bool(
7892 ce: *mut zend_class_entry,
7893 name: *const ::std::os::raw::c_char,
7894 name_length: usize,
7895 value: zend_bool,
7896 );
7897}
7898extern "C" {
7899 pub fn zend_declare_class_constant_double(
7900 ce: *mut zend_class_entry,
7901 name: *const ::std::os::raw::c_char,
7902 name_length: usize,
7903 value: f64,
7904 );
7905}
7906extern "C" {
7907 pub fn zend_declare_class_constant_stringl(
7908 ce: *mut zend_class_entry,
7909 name: *const ::std::os::raw::c_char,
7910 name_length: usize,
7911 value: *const ::std::os::raw::c_char,
7912 value_length: usize,
7913 );
7914}
7915extern "C" {
7916 pub fn zend_declare_class_constant_string(
7917 ce: *mut zend_class_entry,
7918 name: *const ::std::os::raw::c_char,
7919 name_length: usize,
7920 value: *const ::std::os::raw::c_char,
7921 );
7922}
7923extern "C" {
7924 pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> zend_result;
7925}
7926extern "C" {
7927 pub fn zend_update_property_ex(
7928 scope: *mut zend_class_entry,
7929 object: *mut zend_object,
7930 name: *mut zend_string,
7931 value: *mut zval,
7932 );
7933}
7934extern "C" {
7935 pub fn zend_update_property(
7936 scope: *mut zend_class_entry,
7937 object: *mut zend_object,
7938 name: *const ::std::os::raw::c_char,
7939 name_length: usize,
7940 value: *mut zval,
7941 );
7942}
7943extern "C" {
7944 pub fn zend_update_property_null(
7945 scope: *mut zend_class_entry,
7946 object: *mut zend_object,
7947 name: *const ::std::os::raw::c_char,
7948 name_length: usize,
7949 );
7950}
7951extern "C" {
7952 pub fn zend_update_property_bool(
7953 scope: *mut zend_class_entry,
7954 object: *mut zend_object,
7955 name: *const ::std::os::raw::c_char,
7956 name_length: usize,
7957 value: zend_long,
7958 );
7959}
7960extern "C" {
7961 pub fn zend_update_property_long(
7962 scope: *mut zend_class_entry,
7963 object: *mut zend_object,
7964 name: *const ::std::os::raw::c_char,
7965 name_length: usize,
7966 value: zend_long,
7967 );
7968}
7969extern "C" {
7970 pub fn zend_update_property_double(
7971 scope: *mut zend_class_entry,
7972 object: *mut zend_object,
7973 name: *const ::std::os::raw::c_char,
7974 name_length: usize,
7975 value: f64,
7976 );
7977}
7978extern "C" {
7979 pub fn zend_update_property_str(
7980 scope: *mut zend_class_entry,
7981 object: *mut zend_object,
7982 name: *const ::std::os::raw::c_char,
7983 name_length: usize,
7984 value: *mut zend_string,
7985 );
7986}
7987extern "C" {
7988 pub fn zend_update_property_string(
7989 scope: *mut zend_class_entry,
7990 object: *mut zend_object,
7991 name: *const ::std::os::raw::c_char,
7992 name_length: usize,
7993 value: *const ::std::os::raw::c_char,
7994 );
7995}
7996extern "C" {
7997 pub fn zend_update_property_stringl(
7998 scope: *mut zend_class_entry,
7999 object: *mut zend_object,
8000 name: *const ::std::os::raw::c_char,
8001 name_length: usize,
8002 value: *const ::std::os::raw::c_char,
8003 value_length: usize,
8004 );
8005}
8006extern "C" {
8007 pub fn zend_unset_property(
8008 scope: *mut zend_class_entry,
8009 object: *mut zend_object,
8010 name: *const ::std::os::raw::c_char,
8011 name_length: usize,
8012 );
8013}
8014extern "C" {
8015 pub fn zend_update_static_property_ex(
8016 scope: *mut zend_class_entry,
8017 name: *mut zend_string,
8018 value: *mut zval,
8019 ) -> zend_result;
8020}
8021extern "C" {
8022 pub fn zend_update_static_property(
8023 scope: *mut zend_class_entry,
8024 name: *const ::std::os::raw::c_char,
8025 name_length: usize,
8026 value: *mut zval,
8027 ) -> zend_result;
8028}
8029extern "C" {
8030 pub fn zend_update_static_property_null(
8031 scope: *mut zend_class_entry,
8032 name: *const ::std::os::raw::c_char,
8033 name_length: usize,
8034 ) -> zend_result;
8035}
8036extern "C" {
8037 pub fn zend_update_static_property_bool(
8038 scope: *mut zend_class_entry,
8039 name: *const ::std::os::raw::c_char,
8040 name_length: usize,
8041 value: zend_long,
8042 ) -> zend_result;
8043}
8044extern "C" {
8045 pub fn zend_update_static_property_long(
8046 scope: *mut zend_class_entry,
8047 name: *const ::std::os::raw::c_char,
8048 name_length: usize,
8049 value: zend_long,
8050 ) -> zend_result;
8051}
8052extern "C" {
8053 pub fn zend_update_static_property_double(
8054 scope: *mut zend_class_entry,
8055 name: *const ::std::os::raw::c_char,
8056 name_length: usize,
8057 value: f64,
8058 ) -> zend_result;
8059}
8060extern "C" {
8061 pub fn zend_update_static_property_string(
8062 scope: *mut zend_class_entry,
8063 name: *const ::std::os::raw::c_char,
8064 name_length: usize,
8065 value: *const ::std::os::raw::c_char,
8066 ) -> zend_result;
8067}
8068extern "C" {
8069 pub fn zend_update_static_property_stringl(
8070 scope: *mut zend_class_entry,
8071 name: *const ::std::os::raw::c_char,
8072 name_length: usize,
8073 value: *const ::std::os::raw::c_char,
8074 value_length: usize,
8075 ) -> zend_result;
8076}
8077extern "C" {
8078 pub fn zend_read_property_ex(
8079 scope: *mut zend_class_entry,
8080 object: *mut zend_object,
8081 name: *mut zend_string,
8082 silent: zend_bool,
8083 rv: *mut zval,
8084 ) -> *mut zval;
8085}
8086extern "C" {
8087 pub fn zend_read_property(
8088 scope: *mut zend_class_entry,
8089 object: *mut zend_object,
8090 name: *const ::std::os::raw::c_char,
8091 name_length: usize,
8092 silent: zend_bool,
8093 rv: *mut zval,
8094 ) -> *mut zval;
8095}
8096extern "C" {
8097 pub fn zend_read_static_property_ex(
8098 scope: *mut zend_class_entry,
8099 name: *mut zend_string,
8100 silent: zend_bool,
8101 ) -> *mut zval;
8102}
8103extern "C" {
8104 pub fn zend_read_static_property(
8105 scope: *mut zend_class_entry,
8106 name: *const ::std::os::raw::c_char,
8107 name_length: usize,
8108 silent: zend_bool,
8109 ) -> *mut zval;
8110}
8111extern "C" {
8112 pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
8113}
8114extern "C" {
8115 pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
8116}
8117extern "C" {
8118 pub static empty_fcall_info: zend_fcall_info;
8119}
8120extern "C" {
8121 pub static empty_fcall_info_cache: zend_fcall_info_cache;
8122}
8123extern "C" {
8124 #[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."]
8125 pub fn zend_fcall_info_init(
8126 callable: *mut zval,
8127 check_flags: u32,
8128 fci: *mut zend_fcall_info,
8129 fcc: *mut zend_fcall_info_cache,
8130 callable_name: *mut *mut zend_string,
8131 error: *mut *mut ::std::os::raw::c_char,
8132 ) -> zend_result;
8133}
8134extern "C" {
8135 #[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"]
8136 pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: bool);
8137}
8138extern "C" {
8139 #[doc = " Save current arguments from zend_fcall_info *fci\n params array will be set to NULL"]
8140 pub fn zend_fcall_info_args_save(
8141 fci: *mut zend_fcall_info,
8142 param_count: *mut u32,
8143 params: *mut *mut zval,
8144 );
8145}
8146extern "C" {
8147 #[doc = " Free arguments connected with zend_fcall_info *fci andset back saved ones."]
8148 pub fn zend_fcall_info_args_restore(
8149 fci: *mut zend_fcall_info,
8150 param_count: u32,
8151 params: *mut zval,
8152 );
8153}
8154extern "C" {
8155 #[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."]
8156 pub fn zend_fcall_info_args(fci: *mut zend_fcall_info, args: *mut zval) -> zend_result;
8157}
8158extern "C" {
8159 pub fn zend_fcall_info_args_ex(
8160 fci: *mut zend_fcall_info,
8161 func: *mut zend_function,
8162 args: *mut zval,
8163 ) -> zend_result;
8164}
8165extern "C" {
8166 #[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."]
8167 pub fn zend_fcall_info_argp(fci: *mut zend_fcall_info, argc: u32, argv: *mut zval);
8168}
8169extern "C" {
8170 #[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."]
8171 pub fn zend_fcall_info_argv(fci: *mut zend_fcall_info, argc: u32, argv: *mut va_list);
8172}
8173extern "C" {
8174 #[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."]
8175 pub fn zend_fcall_info_argn(fci: *mut zend_fcall_info, argc: u32, ...);
8176}
8177extern "C" {
8178 #[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."]
8179 pub fn zend_fcall_info_call(
8180 fci: *mut zend_fcall_info,
8181 fcc: *mut zend_fcall_info_cache,
8182 retval: *mut zval,
8183 args: *mut zval,
8184 ) -> zend_result;
8185}
8186extern "C" {
8187 pub fn zend_call_function(
8188 fci: *mut zend_fcall_info,
8189 fci_cache: *mut zend_fcall_info_cache,
8190 ) -> zend_result;
8191}
8192extern "C" {
8193 pub fn zend_call_known_function(
8194 fn_: *mut zend_function,
8195 object: *mut zend_object,
8196 called_scope: *mut zend_class_entry,
8197 retval_ptr: *mut zval,
8198 param_count: u32,
8199 params: *mut zval,
8200 named_params: *mut HashTable,
8201 );
8202}
8203extern "C" {
8204 pub fn zend_call_known_instance_method_with_2_params(
8205 fn_: *mut zend_function,
8206 object: *mut zend_object,
8207 retval_ptr: *mut zval,
8208 param1: *mut zval,
8209 param2: *mut zval,
8210 );
8211}
8212extern "C" {
8213 pub fn zend_set_hash_symbol(
8214 symbol: *mut zval,
8215 name: *const ::std::os::raw::c_char,
8216 name_length: usize,
8217 is_ref: zend_bool,
8218 num_symbol_tables: ::std::os::raw::c_int,
8219 ...
8220 ) -> zend_result;
8221}
8222extern "C" {
8223 pub fn zend_delete_global_variable(name: *mut zend_string) -> zend_result;
8224}
8225extern "C" {
8226 pub fn zend_rebuild_symbol_table() -> *mut zend_array;
8227}
8228extern "C" {
8229 pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
8230}
8231extern "C" {
8232 pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
8233}
8234extern "C" {
8235 pub fn zend_set_local_var(name: *mut zend_string, value: *mut zval, force: bool)
8236 -> zend_result;
8237}
8238extern "C" {
8239 pub fn zend_set_local_var_str(
8240 name: *const ::std::os::raw::c_char,
8241 len: usize,
8242 value: *mut zval,
8243 force: bool,
8244 ) -> zend_result;
8245}
8246extern "C" {
8247 pub fn zend_get_object_type(ce: *const zend_class_entry) -> *const ::std::os::raw::c_char;
8248}
8249extern "C" {
8250 pub fn zend_is_iterable(iterable: *mut zval) -> zend_bool;
8251}
8252extern "C" {
8253 pub fn zend_is_countable(countable: *mut zval) -> zend_bool;
8254}
8255extern "C" {
8256 pub fn zend_get_default_from_internal_arg_info(
8257 default_value_zval: *mut zval,
8258 arg_info: *mut zend_internal_arg_info,
8259 ) -> zend_result;
8260}
8261extern "C" {
8262 pub fn zend_try_assign_typed_ref_ex(
8263 ref_: *mut zend_reference,
8264 zv: *mut zval,
8265 strict: zend_bool,
8266 ) -> zend_result;
8267}
8268extern "C" {
8269 pub fn zend_try_assign_typed_ref(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
8270}
8271extern "C" {
8272 pub fn zend_try_assign_typed_ref_null(ref_: *mut zend_reference) -> zend_result;
8273}
8274extern "C" {
8275 pub fn zend_try_assign_typed_ref_bool(ref_: *mut zend_reference, val: zend_bool)
8276 -> zend_result;
8277}
8278extern "C" {
8279 pub fn zend_try_assign_typed_ref_long(
8280 ref_: *mut zend_reference,
8281 lval: zend_long,
8282 ) -> zend_result;
8283}
8284extern "C" {
8285 pub fn zend_try_assign_typed_ref_double(ref_: *mut zend_reference, dval: f64) -> zend_result;
8286}
8287extern "C" {
8288 pub fn zend_try_assign_typed_ref_empty_string(ref_: *mut zend_reference) -> zend_result;
8289}
8290extern "C" {
8291 pub fn zend_try_assign_typed_ref_str(
8292 ref_: *mut zend_reference,
8293 str_: *mut zend_string,
8294 ) -> zend_result;
8295}
8296extern "C" {
8297 pub fn zend_try_assign_typed_ref_string(
8298 ref_: *mut zend_reference,
8299 string: *const ::std::os::raw::c_char,
8300 ) -> zend_result;
8301}
8302extern "C" {
8303 pub fn zend_try_assign_typed_ref_stringl(
8304 ref_: *mut zend_reference,
8305 string: *const ::std::os::raw::c_char,
8306 len: usize,
8307 ) -> zend_result;
8308}
8309extern "C" {
8310 pub fn zend_try_assign_typed_ref_arr(
8311 ref_: *mut zend_reference,
8312 arr: *mut zend_array,
8313 ) -> zend_result;
8314}
8315extern "C" {
8316 pub fn zend_try_assign_typed_ref_res(
8317 ref_: *mut zend_reference,
8318 res: *mut zend_resource,
8319 ) -> zend_result;
8320}
8321extern "C" {
8322 pub fn zend_try_assign_typed_ref_zval(ref_: *mut zend_reference, zv: *mut zval) -> zend_result;
8323}
8324extern "C" {
8325 pub fn zend_try_assign_typed_ref_zval_ex(
8326 ref_: *mut zend_reference,
8327 zv: *mut zval,
8328 strict: zend_bool,
8329 ) -> zend_result;
8330}
8331pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
8332pub const _zend_expected_type_Z_EXPECTED_LONG_OR_NULL: _zend_expected_type = 1;
8333pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 2;
8334pub const _zend_expected_type_Z_EXPECTED_BOOL_OR_NULL: _zend_expected_type = 3;
8335pub const _zend_expected_type_Z_EXPECTED_STRING: _zend_expected_type = 4;
8336pub const _zend_expected_type_Z_EXPECTED_STRING_OR_NULL: _zend_expected_type = 5;
8337pub const _zend_expected_type_Z_EXPECTED_ARRAY: _zend_expected_type = 6;
8338pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_NULL: _zend_expected_type = 7;
8339pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_LONG: _zend_expected_type = 8;
8340pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_LONG_OR_NULL: _zend_expected_type = 9;
8341pub const _zend_expected_type_Z_EXPECTED_ITERABLE: _zend_expected_type = 10;
8342pub const _zend_expected_type_Z_EXPECTED_ITERABLE_OR_NULL: _zend_expected_type = 11;
8343pub const _zend_expected_type_Z_EXPECTED_FUNC: _zend_expected_type = 12;
8344pub const _zend_expected_type_Z_EXPECTED_FUNC_OR_NULL: _zend_expected_type = 13;
8345pub const _zend_expected_type_Z_EXPECTED_RESOURCE: _zend_expected_type = 14;
8346pub const _zend_expected_type_Z_EXPECTED_RESOURCE_OR_NULL: _zend_expected_type = 15;
8347pub const _zend_expected_type_Z_EXPECTED_PATH: _zend_expected_type = 16;
8348pub const _zend_expected_type_Z_EXPECTED_PATH_OR_NULL: _zend_expected_type = 17;
8349pub const _zend_expected_type_Z_EXPECTED_OBJECT: _zend_expected_type = 18;
8350pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_NULL: _zend_expected_type = 19;
8351pub const _zend_expected_type_Z_EXPECTED_DOUBLE: _zend_expected_type = 20;
8352pub const _zend_expected_type_Z_EXPECTED_DOUBLE_OR_NULL: _zend_expected_type = 21;
8353pub const _zend_expected_type_Z_EXPECTED_NUMBER: _zend_expected_type = 22;
8354pub const _zend_expected_type_Z_EXPECTED_NUMBER_OR_NULL: _zend_expected_type = 23;
8355pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_STRING: _zend_expected_type = 24;
8356pub const _zend_expected_type_Z_EXPECTED_ARRAY_OR_STRING_OR_NULL: _zend_expected_type = 25;
8357pub const _zend_expected_type_Z_EXPECTED_STRING_OR_LONG: _zend_expected_type = 26;
8358pub const _zend_expected_type_Z_EXPECTED_STRING_OR_LONG_OR_NULL: _zend_expected_type = 27;
8359pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_CLASS_NAME: _zend_expected_type = 28;
8360pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_CLASS_NAME_OR_NULL: _zend_expected_type = 29;
8361pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_STRING: _zend_expected_type = 30;
8362pub const _zend_expected_type_Z_EXPECTED_OBJECT_OR_STRING_OR_NULL: _zend_expected_type = 31;
8363pub const _zend_expected_type_Z_EXPECTED_LAST: _zend_expected_type = 32;
8364pub type _zend_expected_type = ::std::os::raw::c_uint;
8365pub use self::_zend_expected_type as zend_expected_type;
8366extern "C" {
8367 pub fn zend_wrong_parameters_none_error();
8368}
8369extern "C" {
8370 pub fn zend_wrong_parameters_count_error(min_num_args: u32, max_num_args: u32);
8371}
8372extern "C" {
8373 pub fn zend_wrong_parameter_error(
8374 error_code: ::std::os::raw::c_int,
8375 num: u32,
8376 name: *mut ::std::os::raw::c_char,
8377 expected_type: zend_expected_type,
8378 arg: *mut zval,
8379 );
8380}
8381extern "C" {
8382 pub fn zend_wrong_parameter_type_error(
8383 num: u32,
8384 expected_type: zend_expected_type,
8385 arg: *mut zval,
8386 );
8387}
8388extern "C" {
8389 pub fn zend_wrong_parameter_class_error(
8390 num: u32,
8391 name: *const ::std::os::raw::c_char,
8392 arg: *mut zval,
8393 );
8394}
8395extern "C" {
8396 pub fn zend_wrong_parameter_class_or_null_error(
8397 num: u32,
8398 name: *const ::std::os::raw::c_char,
8399 arg: *mut zval,
8400 );
8401}
8402extern "C" {
8403 pub fn zend_wrong_parameter_class_or_long_error(
8404 num: u32,
8405 name: *const ::std::os::raw::c_char,
8406 arg: *mut zval,
8407 );
8408}
8409extern "C" {
8410 pub fn zend_wrong_parameter_class_or_long_or_null_error(
8411 num: u32,
8412 name: *const ::std::os::raw::c_char,
8413 arg: *mut zval,
8414 );
8415}
8416extern "C" {
8417 pub fn zend_wrong_parameter_class_or_string_error(
8418 num: u32,
8419 name: *const ::std::os::raw::c_char,
8420 arg: *mut zval,
8421 );
8422}
8423extern "C" {
8424 pub fn zend_wrong_parameter_class_or_string_or_null_error(
8425 num: u32,
8426 name: *const ::std::os::raw::c_char,
8427 arg: *mut zval,
8428 );
8429}
8430extern "C" {
8431 pub fn zend_wrong_callback_error(num: u32, error: *mut ::std::os::raw::c_char);
8432}
8433extern "C" {
8434 pub fn zend_unexpected_extra_named_error();
8435}
8436extern "C" {
8437 pub fn zend_argument_error(
8438 error_ce: *mut zend_class_entry,
8439 arg_num: u32,
8440 format: *const ::std::os::raw::c_char,
8441 ...
8442 );
8443}
8444extern "C" {
8445 pub fn zend_argument_type_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
8446}
8447extern "C" {
8448 pub fn zend_argument_value_error(arg_num: u32, format: *const ::std::os::raw::c_char, ...);
8449}
8450extern "C" {
8451 pub fn zend_parse_arg_class(
8452 arg: *mut zval,
8453 pce: *mut *mut zend_class_entry,
8454 num: u32,
8455 check_null: bool,
8456 ) -> bool;
8457}
8458extern "C" {
8459 pub fn zend_parse_arg_bool_slow(arg: *mut zval, dest: *mut zend_bool) -> bool;
8460}
8461extern "C" {
8462 pub fn zend_parse_arg_bool_weak(arg: *mut zval, dest: *mut zend_bool) -> bool;
8463}
8464extern "C" {
8465 pub fn zend_parse_arg_long_slow(arg: *mut zval, dest: *mut zend_long) -> bool;
8466}
8467extern "C" {
8468 pub fn zend_parse_arg_long_weak(arg: *mut zval, dest: *mut zend_long) -> bool;
8469}
8470extern "C" {
8471 pub fn zend_parse_arg_double_slow(arg: *mut zval, dest: *mut f64) -> bool;
8472}
8473extern "C" {
8474 pub fn zend_parse_arg_double_weak(arg: *mut zval, dest: *mut f64) -> bool;
8475}
8476extern "C" {
8477 pub fn zend_parse_arg_str_slow(arg: *mut zval, dest: *mut *mut zend_string) -> bool;
8478}
8479extern "C" {
8480 pub fn zend_parse_arg_str_weak(arg: *mut zval, dest: *mut *mut zend_string) -> bool;
8481}
8482extern "C" {
8483 pub fn zend_parse_arg_number_slow(arg: *mut zval, dest: *mut *mut zval) -> bool;
8484}
8485extern "C" {
8486 pub fn zend_parse_arg_str_or_long_slow(
8487 arg: *mut zval,
8488 dest_str: *mut *mut zend_string,
8489 dest_long: *mut zend_long,
8490 ) -> bool;
8491}
8492extern "C" {
8493 pub fn php_strlcpy(
8494 dst: *mut ::std::os::raw::c_char,
8495 src: *const ::std::os::raw::c_char,
8496 siz: usize,
8497 ) -> usize;
8498}
8499extern "C" {
8500 pub fn php_strlcat(
8501 dst: *mut ::std::os::raw::c_char,
8502 src: *const ::std::os::raw::c_char,
8503 siz: usize,
8504 ) -> usize;
8505}
8506extern "C" {
8507 pub fn php_explicit_bzero(dst: *mut ::std::os::raw::c_void, siz: usize);
8508}
8509pub type bool_int = ::std::os::raw::c_int;
8510pub const boolean_e_NO: boolean_e = 0;
8511pub const boolean_e_YES: boolean_e = 1;
8512pub type boolean_e = ::std::os::raw::c_uint;
8513extern "C" {
8514 pub fn php_gcvt(
8515 value: f64,
8516 ndigit: ::std::os::raw::c_int,
8517 dec_point: ::std::os::raw::c_char,
8518 exponent: ::std::os::raw::c_char,
8519 buf: *mut ::std::os::raw::c_char,
8520 ) -> *mut ::std::os::raw::c_char;
8521}
8522extern "C" {
8523 pub fn php_0cvt(
8524 value: f64,
8525 ndigit: ::std::os::raw::c_int,
8526 dec_point: ::std::os::raw::c_char,
8527 exponent: ::std::os::raw::c_char,
8528 buf: *mut ::std::os::raw::c_char,
8529 ) -> *mut ::std::os::raw::c_char;
8530}
8531extern "C" {
8532 pub fn php_conv_fp(
8533 format: ::std::os::raw::c_char,
8534 num: f64,
8535 add_dp: boolean_e,
8536 precision: ::std::os::raw::c_int,
8537 dec_point: ::std::os::raw::c_char,
8538 is_negative: *mut bool_int,
8539 buf: *mut ::std::os::raw::c_char,
8540 len: *mut usize,
8541 ) -> *mut ::std::os::raw::c_char;
8542}
8543extern "C" {
8544 pub fn php_printf_to_smart_string(
8545 buf: *mut smart_string,
8546 format: *const ::std::os::raw::c_char,
8547 ap: *mut __va_list_tag,
8548 );
8549}
8550extern "C" {
8551 pub fn php_printf_to_smart_str(
8552 buf: *mut smart_str,
8553 format: *const ::std::os::raw::c_char,
8554 ap: *mut __va_list_tag,
8555 );
8556}
8557extern "C" {
8558 pub fn php_write(buf: *mut ::std::os::raw::c_void, size: usize) -> usize;
8559}
8560extern "C" {
8561 pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> usize;
8562}
8563extern "C" {
8564 pub fn php_printf_unchecked(format: *const ::std::os::raw::c_char, ...) -> usize;
8565}
8566extern "C" {
8567 pub fn php_during_module_startup() -> ::std::os::raw::c_int;
8568}
8569extern "C" {
8570 pub fn php_during_module_shutdown() -> ::std::os::raw::c_int;
8571}
8572extern "C" {
8573 pub fn php_get_module_initialized() -> ::std::os::raw::c_int;
8574}
8575extern "C" {
8576 pub fn php_syslog(arg1: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
8577}
8578extern "C" {
8579 pub fn php_openlog(
8580 arg1: *const ::std::os::raw::c_char,
8581 arg2: ::std::os::raw::c_int,
8582 arg3: ::std::os::raw::c_int,
8583 );
8584}
8585extern "C" {
8586 pub fn php_log_err_with_severity(
8587 log_message: *const ::std::os::raw::c_char,
8588 syslog_type_int: ::std::os::raw::c_int,
8589 );
8590}
8591extern "C" {
8592 pub fn php_verror(
8593 docref: *const ::std::os::raw::c_char,
8594 params: *const ::std::os::raw::c_char,
8595 type_: ::std::os::raw::c_int,
8596 format: *const ::std::os::raw::c_char,
8597 args: *mut __va_list_tag,
8598 );
8599}
8600extern "C" {
8601 pub fn php_error_docref(
8602 docref: *const ::std::os::raw::c_char,
8603 type_: ::std::os::raw::c_int,
8604 format: *const ::std::os::raw::c_char,
8605 ...
8606 );
8607}
8608extern "C" {
8609 pub fn php_error_docref1(
8610 docref: *const ::std::os::raw::c_char,
8611 param1: *const ::std::os::raw::c_char,
8612 type_: ::std::os::raw::c_int,
8613 format: *const ::std::os::raw::c_char,
8614 ...
8615 );
8616}
8617extern "C" {
8618 pub fn php_error_docref2(
8619 docref: *const ::std::os::raw::c_char,
8620 param1: *const ::std::os::raw::c_char,
8621 param2: *const ::std::os::raw::c_char,
8622 type_: ::std::os::raw::c_int,
8623 format: *const ::std::os::raw::c_char,
8624 ...
8625 );
8626}
8627extern "C" {
8628 pub static mut php_register_internal_extensions_func:
8629 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
8630}
8631extern "C" {
8632 pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
8633}
8634extern "C" {
8635 pub fn php_register_pre_request_shutdown(
8636 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
8637 userdata: *mut ::std::os::raw::c_void,
8638 );
8639}
8640extern "C" {
8641 pub fn php_com_initialize();
8642}
8643extern "C" {
8644 pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
8645}
8646extern "C" {
8647 pub fn php_get_internal_encoding() -> *const ::std::os::raw::c_char;
8648}
8649extern "C" {
8650 pub fn php_get_input_encoding() -> *const ::std::os::raw::c_char;
8651}
8652extern "C" {
8653 pub fn php_get_output_encoding() -> *const ::std::os::raw::c_char;
8654}
8655extern "C" {
8656 pub static mut php_internal_encoding_changed: ::std::option::Option<unsafe extern "C" fn()>;
8657}
8658pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
8659 0;
8660pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
8661 1;
8662pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
8663 2;
8664pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
8665 3;
8666pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
8667 4;
8668pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
8669pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
8670pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
8671#[repr(C)]
8672#[derive(Debug, Copy, Clone)]
8673pub struct _php_output_buffer {
8674 pub data: *mut ::std::os::raw::c_char,
8675 pub size: usize,
8676 pub used: usize,
8677 pub _bitfield_align_1: [u32; 0],
8678 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
8679 pub __bindgen_padding_0: u32,
8680}
8681#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8682const _: () = {
8683 ["Size of _php_output_buffer"][::std::mem::size_of::<_php_output_buffer>() - 32usize];
8684 ["Alignment of _php_output_buffer"][::std::mem::align_of::<_php_output_buffer>() - 8usize];
8685 ["Offset of field: _php_output_buffer::data"]
8686 [::std::mem::offset_of!(_php_output_buffer, data) - 0usize];
8687 ["Offset of field: _php_output_buffer::size"]
8688 [::std::mem::offset_of!(_php_output_buffer, size) - 8usize];
8689 ["Offset of field: _php_output_buffer::used"]
8690 [::std::mem::offset_of!(_php_output_buffer, used) - 16usize];
8691};
8692impl _php_output_buffer {
8693 #[inline]
8694 pub fn free(&self) -> u32 {
8695 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
8696 }
8697 #[inline]
8698 pub fn set_free(&mut self, val: u32) {
8699 unsafe {
8700 let val: u32 = ::std::mem::transmute(val);
8701 self._bitfield_1.set(0usize, 1u8, val as u64)
8702 }
8703 }
8704 #[inline]
8705 pub fn _reserved(&self) -> u32 {
8706 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
8707 }
8708 #[inline]
8709 pub fn set__reserved(&mut self, val: u32) {
8710 unsafe {
8711 let val: u32 = ::std::mem::transmute(val);
8712 self._bitfield_1.set(1usize, 31u8, val as u64)
8713 }
8714 }
8715 #[inline]
8716 pub fn new_bitfield_1(free: u32, _reserved: u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
8717 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
8718 __bindgen_bitfield_unit.set(0usize, 1u8, {
8719 let free: u32 = unsafe { ::std::mem::transmute(free) };
8720 free as u64
8721 });
8722 __bindgen_bitfield_unit.set(1usize, 31u8, {
8723 let _reserved: u32 = unsafe { ::std::mem::transmute(_reserved) };
8724 _reserved as u64
8725 });
8726 __bindgen_bitfield_unit
8727 }
8728}
8729pub type php_output_buffer = _php_output_buffer;
8730#[repr(C)]
8731#[derive(Debug, Copy, Clone)]
8732pub struct _php_output_context {
8733 pub op: ::std::os::raw::c_int,
8734 pub in_: php_output_buffer,
8735 pub out: php_output_buffer,
8736}
8737#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8738const _: () = {
8739 ["Size of _php_output_context"][::std::mem::size_of::<_php_output_context>() - 72usize];
8740 ["Alignment of _php_output_context"][::std::mem::align_of::<_php_output_context>() - 8usize];
8741 ["Offset of field: _php_output_context::op"]
8742 [::std::mem::offset_of!(_php_output_context, op) - 0usize];
8743 ["Offset of field: _php_output_context::in_"]
8744 [::std::mem::offset_of!(_php_output_context, in_) - 8usize];
8745 ["Offset of field: _php_output_context::out"]
8746 [::std::mem::offset_of!(_php_output_context, out) - 40usize];
8747};
8748pub type php_output_context = _php_output_context;
8749pub type php_output_handler_func_t = ::std::option::Option<
8750 unsafe extern "C" fn(
8751 output: *mut ::std::os::raw::c_char,
8752 output_len: usize,
8753 handled_output: *mut *mut ::std::os::raw::c_char,
8754 handled_output_len: *mut usize,
8755 mode: ::std::os::raw::c_int,
8756 ),
8757>;
8758pub type php_output_handler_context_func_t = ::std::option::Option<
8759 unsafe extern "C" fn(
8760 handler_context: *mut *mut ::std::os::raw::c_void,
8761 output_context: *mut php_output_context,
8762 ) -> ::std::os::raw::c_int,
8763>;
8764pub type php_output_handler_conflict_check_t = ::std::option::Option<
8765 unsafe extern "C" fn(
8766 handler_name: *const ::std::os::raw::c_char,
8767 handler_name_len: usize,
8768 ) -> ::std::os::raw::c_int,
8769>;
8770pub type php_output_handler_alias_ctor_t = ::std::option::Option<
8771 unsafe extern "C" fn(
8772 handler_name: *const ::std::os::raw::c_char,
8773 handler_name_len: usize,
8774 chunk_size: usize,
8775 flags: ::std::os::raw::c_int,
8776 ) -> *mut _php_output_handler,
8777>;
8778#[repr(C)]
8779#[derive(Copy, Clone)]
8780pub struct _php_output_handler_user_func_t {
8781 pub fci: zend_fcall_info,
8782 pub fcc: zend_fcall_info_cache,
8783 pub zoh: zval,
8784}
8785#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8786const _: () = {
8787 ["Size of _php_output_handler_user_func_t"]
8788 [::std::mem::size_of::<_php_output_handler_user_func_t>() - 112usize];
8789 ["Alignment of _php_output_handler_user_func_t"]
8790 [::std::mem::align_of::<_php_output_handler_user_func_t>() - 8usize];
8791 ["Offset of field: _php_output_handler_user_func_t::fci"]
8792 [::std::mem::offset_of!(_php_output_handler_user_func_t, fci) - 0usize];
8793 ["Offset of field: _php_output_handler_user_func_t::fcc"]
8794 [::std::mem::offset_of!(_php_output_handler_user_func_t, fcc) - 64usize];
8795 ["Offset of field: _php_output_handler_user_func_t::zoh"]
8796 [::std::mem::offset_of!(_php_output_handler_user_func_t, zoh) - 96usize];
8797};
8798pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
8799#[repr(C)]
8800#[derive(Copy, Clone)]
8801pub struct _php_output_handler {
8802 pub name: *mut zend_string,
8803 pub flags: ::std::os::raw::c_int,
8804 pub level: ::std::os::raw::c_int,
8805 pub size: usize,
8806 pub buffer: php_output_buffer,
8807 pub opaq: *mut ::std::os::raw::c_void,
8808 pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
8809 pub func: _php_output_handler__bindgen_ty_1,
8810}
8811#[repr(C)]
8812#[derive(Copy, Clone)]
8813pub union _php_output_handler__bindgen_ty_1 {
8814 pub user: *mut php_output_handler_user_func_t,
8815 pub internal: php_output_handler_context_func_t,
8816}
8817#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8818const _: () = {
8819 ["Size of _php_output_handler__bindgen_ty_1"]
8820 [::std::mem::size_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
8821 ["Alignment of _php_output_handler__bindgen_ty_1"]
8822 [::std::mem::align_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
8823 ["Offset of field: _php_output_handler__bindgen_ty_1::user"]
8824 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, user) - 0usize];
8825 ["Offset of field: _php_output_handler__bindgen_ty_1::internal"]
8826 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, internal) - 0usize];
8827};
8828#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8829const _: () = {
8830 ["Size of _php_output_handler"][::std::mem::size_of::<_php_output_handler>() - 80usize];
8831 ["Alignment of _php_output_handler"][::std::mem::align_of::<_php_output_handler>() - 8usize];
8832 ["Offset of field: _php_output_handler::name"]
8833 [::std::mem::offset_of!(_php_output_handler, name) - 0usize];
8834 ["Offset of field: _php_output_handler::flags"]
8835 [::std::mem::offset_of!(_php_output_handler, flags) - 8usize];
8836 ["Offset of field: _php_output_handler::level"]
8837 [::std::mem::offset_of!(_php_output_handler, level) - 12usize];
8838 ["Offset of field: _php_output_handler::size"]
8839 [::std::mem::offset_of!(_php_output_handler, size) - 16usize];
8840 ["Offset of field: _php_output_handler::buffer"]
8841 [::std::mem::offset_of!(_php_output_handler, buffer) - 24usize];
8842 ["Offset of field: _php_output_handler::opaq"]
8843 [::std::mem::offset_of!(_php_output_handler, opaq) - 56usize];
8844 ["Offset of field: _php_output_handler::dtor"]
8845 [::std::mem::offset_of!(_php_output_handler, dtor) - 64usize];
8846 ["Offset of field: _php_output_handler::func"]
8847 [::std::mem::offset_of!(_php_output_handler, func) - 72usize];
8848};
8849pub type php_output_handler = _php_output_handler;
8850#[repr(C)]
8851#[derive(Debug, Copy, Clone)]
8852pub struct _zend_output_globals {
8853 pub handlers: zend_stack,
8854 pub active: *mut php_output_handler,
8855 pub running: *mut php_output_handler,
8856 pub output_start_filename: *const ::std::os::raw::c_char,
8857 pub output_start_lineno: ::std::os::raw::c_int,
8858 pub flags: ::std::os::raw::c_int,
8859 pub output_start_filename_str: *mut zend_string,
8860}
8861#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8862const _: () = {
8863 ["Size of _zend_output_globals"][::std::mem::size_of::<_zend_output_globals>() - 64usize];
8864 ["Alignment of _zend_output_globals"][::std::mem::align_of::<_zend_output_globals>() - 8usize];
8865 ["Offset of field: _zend_output_globals::handlers"]
8866 [::std::mem::offset_of!(_zend_output_globals, handlers) - 0usize];
8867 ["Offset of field: _zend_output_globals::active"]
8868 [::std::mem::offset_of!(_zend_output_globals, active) - 24usize];
8869 ["Offset of field: _zend_output_globals::running"]
8870 [::std::mem::offset_of!(_zend_output_globals, running) - 32usize];
8871 ["Offset of field: _zend_output_globals::output_start_filename"]
8872 [::std::mem::offset_of!(_zend_output_globals, output_start_filename) - 40usize];
8873 ["Offset of field: _zend_output_globals::output_start_lineno"]
8874 [::std::mem::offset_of!(_zend_output_globals, output_start_lineno) - 48usize];
8875 ["Offset of field: _zend_output_globals::flags"]
8876 [::std::mem::offset_of!(_zend_output_globals, flags) - 52usize];
8877 ["Offset of field: _zend_output_globals::output_start_filename_str"]
8878 [::std::mem::offset_of!(_zend_output_globals, output_start_filename_str) - 56usize];
8879};
8880pub type zend_output_globals = _zend_output_globals;
8881extern "C" {
8882 pub static mut output_globals: zend_output_globals;
8883}
8884extern "C" {
8885 pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
8886}
8887extern "C" {
8888 pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
8889}
8890extern "C" {
8891 pub fn php_output_startup();
8892}
8893extern "C" {
8894 pub fn php_output_shutdown();
8895}
8896extern "C" {
8897 pub fn php_output_register_constants();
8898}
8899extern "C" {
8900 pub fn php_output_activate() -> ::std::os::raw::c_int;
8901}
8902extern "C" {
8903 pub fn php_output_deactivate();
8904}
8905extern "C" {
8906 pub fn php_output_set_status(status: ::std::os::raw::c_int);
8907}
8908extern "C" {
8909 pub fn php_output_get_status() -> ::std::os::raw::c_int;
8910}
8911extern "C" {
8912 pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
8913}
8914extern "C" {
8915 pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
8916}
8917extern "C" {
8918 pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
8919}
8920extern "C" {
8921 pub fn php_output_write_unbuffered(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
8922}
8923extern "C" {
8924 pub fn php_output_write(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
8925}
8926extern "C" {
8927 pub fn php_output_flush() -> ::std::os::raw::c_int;
8928}
8929extern "C" {
8930 pub fn php_output_flush_all();
8931}
8932extern "C" {
8933 pub fn php_output_clean() -> ::std::os::raw::c_int;
8934}
8935extern "C" {
8936 pub fn php_output_clean_all();
8937}
8938extern "C" {
8939 pub fn php_output_end() -> ::std::os::raw::c_int;
8940}
8941extern "C" {
8942 pub fn php_output_end_all();
8943}
8944extern "C" {
8945 pub fn php_output_discard() -> ::std::os::raw::c_int;
8946}
8947extern "C" {
8948 pub fn php_output_discard_all();
8949}
8950extern "C" {
8951 pub fn php_output_get_contents(p: *mut zval) -> ::std::os::raw::c_int;
8952}
8953extern "C" {
8954 pub fn php_output_get_length(p: *mut zval) -> ::std::os::raw::c_int;
8955}
8956extern "C" {
8957 pub fn php_output_get_level() -> ::std::os::raw::c_int;
8958}
8959extern "C" {
8960 pub fn php_output_get_active_handler() -> *mut php_output_handler;
8961}
8962extern "C" {
8963 pub fn php_output_start_default() -> ::std::os::raw::c_int;
8964}
8965extern "C" {
8966 pub fn php_output_start_devnull() -> ::std::os::raw::c_int;
8967}
8968extern "C" {
8969 pub fn php_output_start_user(
8970 output_handler: *mut zval,
8971 chunk_size: usize,
8972 flags: ::std::os::raw::c_int,
8973 ) -> ::std::os::raw::c_int;
8974}
8975extern "C" {
8976 pub fn php_output_start_internal(
8977 name: *const ::std::os::raw::c_char,
8978 name_len: usize,
8979 output_handler: php_output_handler_func_t,
8980 chunk_size: usize,
8981 flags: ::std::os::raw::c_int,
8982 ) -> ::std::os::raw::c_int;
8983}
8984extern "C" {
8985 pub fn php_output_handler_create_user(
8986 handler: *mut zval,
8987 chunk_size: usize,
8988 flags: ::std::os::raw::c_int,
8989 ) -> *mut php_output_handler;
8990}
8991extern "C" {
8992 pub fn php_output_handler_create_internal(
8993 name: *const ::std::os::raw::c_char,
8994 name_len: usize,
8995 handler: php_output_handler_context_func_t,
8996 chunk_size: usize,
8997 flags: ::std::os::raw::c_int,
8998 ) -> *mut php_output_handler;
8999}
9000extern "C" {
9001 pub fn php_output_handler_set_context(
9002 handler: *mut php_output_handler,
9003 opaq: *mut ::std::os::raw::c_void,
9004 dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
9005 );
9006}
9007extern "C" {
9008 pub fn php_output_handler_start(handler: *mut php_output_handler) -> ::std::os::raw::c_int;
9009}
9010extern "C" {
9011 pub fn php_output_handler_started(
9012 name: *const ::std::os::raw::c_char,
9013 name_len: usize,
9014 ) -> ::std::os::raw::c_int;
9015}
9016extern "C" {
9017 pub fn php_output_handler_hook(
9018 type_: php_output_handler_hook_t,
9019 arg: *mut ::std::os::raw::c_void,
9020 ) -> ::std::os::raw::c_int;
9021}
9022extern "C" {
9023 pub fn php_output_handler_dtor(handler: *mut php_output_handler);
9024}
9025extern "C" {
9026 pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
9027}
9028extern "C" {
9029 pub fn php_output_handler_conflict(
9030 handler_new: *const ::std::os::raw::c_char,
9031 handler_new_len: usize,
9032 handler_set: *const ::std::os::raw::c_char,
9033 handler_set_len: usize,
9034 ) -> ::std::os::raw::c_int;
9035}
9036extern "C" {
9037 pub fn php_output_handler_conflict_register(
9038 handler_name: *const ::std::os::raw::c_char,
9039 handler_name_len: usize,
9040 check_func: php_output_handler_conflict_check_t,
9041 ) -> ::std::os::raw::c_int;
9042}
9043extern "C" {
9044 pub fn php_output_handler_reverse_conflict_register(
9045 handler_name: *const ::std::os::raw::c_char,
9046 handler_name_len: usize,
9047 check_func: php_output_handler_conflict_check_t,
9048 ) -> ::std::os::raw::c_int;
9049}
9050extern "C" {
9051 pub fn php_output_handler_alias(
9052 handler_name: *const ::std::os::raw::c_char,
9053 handler_name_len: usize,
9054 ) -> php_output_handler_alias_ctor_t;
9055}
9056extern "C" {
9057 pub fn php_output_handler_alias_register(
9058 handler_name: *const ::std::os::raw::c_char,
9059 handler_name_len: usize,
9060 func: php_output_handler_alias_ctor_t,
9061 ) -> ::std::os::raw::c_int;
9062}
9063extern "C" {
9064 pub fn php_file_le_stream() -> ::std::os::raw::c_int;
9065}
9066extern "C" {
9067 pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
9068}
9069extern "C" {
9070 pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
9071}
9072pub type php_stream = _php_stream;
9073pub type php_stream_wrapper = _php_stream_wrapper;
9074pub type php_stream_context = _php_stream_context;
9075pub type php_stream_filter = _php_stream_filter;
9076pub type php_stream_notification_func = ::std::option::Option<
9077 unsafe extern "C" fn(
9078 context: *mut php_stream_context,
9079 notifycode: ::std::os::raw::c_int,
9080 severity: ::std::os::raw::c_int,
9081 xmsg: *mut ::std::os::raw::c_char,
9082 xcode: ::std::os::raw::c_int,
9083 bytes_sofar: usize,
9084 bytes_max: usize,
9085 ptr: *mut ::std::os::raw::c_void,
9086 ),
9087>;
9088pub type php_stream_notifier = _php_stream_notifier;
9089#[repr(C)]
9090#[derive(Copy, Clone)]
9091pub struct _php_stream_notifier {
9092 pub func: php_stream_notification_func,
9093 pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
9094 pub ptr: zval,
9095 pub mask: ::std::os::raw::c_int,
9096 pub progress: usize,
9097 pub progress_max: usize,
9098}
9099#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9100const _: () = {
9101 ["Size of _php_stream_notifier"][::std::mem::size_of::<_php_stream_notifier>() - 56usize];
9102 ["Alignment of _php_stream_notifier"][::std::mem::align_of::<_php_stream_notifier>() - 8usize];
9103 ["Offset of field: _php_stream_notifier::func"]
9104 [::std::mem::offset_of!(_php_stream_notifier, func) - 0usize];
9105 ["Offset of field: _php_stream_notifier::dtor"]
9106 [::std::mem::offset_of!(_php_stream_notifier, dtor) - 8usize];
9107 ["Offset of field: _php_stream_notifier::ptr"]
9108 [::std::mem::offset_of!(_php_stream_notifier, ptr) - 16usize];
9109 ["Offset of field: _php_stream_notifier::mask"]
9110 [::std::mem::offset_of!(_php_stream_notifier, mask) - 32usize];
9111 ["Offset of field: _php_stream_notifier::progress"]
9112 [::std::mem::offset_of!(_php_stream_notifier, progress) - 40usize];
9113 ["Offset of field: _php_stream_notifier::progress_max"]
9114 [::std::mem::offset_of!(_php_stream_notifier, progress_max) - 48usize];
9115};
9116#[repr(C)]
9117#[derive(Copy, Clone)]
9118pub struct _php_stream_context {
9119 pub notifier: *mut php_stream_notifier,
9120 pub options: zval,
9121 pub res: *mut zend_resource,
9122}
9123#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9124const _: () = {
9125 ["Size of _php_stream_context"][::std::mem::size_of::<_php_stream_context>() - 32usize];
9126 ["Alignment of _php_stream_context"][::std::mem::align_of::<_php_stream_context>() - 8usize];
9127 ["Offset of field: _php_stream_context::notifier"]
9128 [::std::mem::offset_of!(_php_stream_context, notifier) - 0usize];
9129 ["Offset of field: _php_stream_context::options"]
9130 [::std::mem::offset_of!(_php_stream_context, options) - 8usize];
9131 ["Offset of field: _php_stream_context::res"]
9132 [::std::mem::offset_of!(_php_stream_context, res) - 24usize];
9133};
9134extern "C" {
9135 pub fn php_stream_context_free(context: *mut php_stream_context);
9136}
9137extern "C" {
9138 pub fn php_stream_context_alloc() -> *mut php_stream_context;
9139}
9140extern "C" {
9141 pub fn php_stream_context_get_option(
9142 context: *mut php_stream_context,
9143 wrappername: *const ::std::os::raw::c_char,
9144 optionname: *const ::std::os::raw::c_char,
9145 ) -> *mut zval;
9146}
9147extern "C" {
9148 pub fn php_stream_context_set_option(
9149 context: *mut php_stream_context,
9150 wrappername: *const ::std::os::raw::c_char,
9151 optionname: *const ::std::os::raw::c_char,
9152 optionvalue: *mut zval,
9153 ) -> ::std::os::raw::c_int;
9154}
9155extern "C" {
9156 pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
9157}
9158extern "C" {
9159 pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
9160}
9161extern "C" {
9162 pub fn php_stream_notification_notify(
9163 context: *mut php_stream_context,
9164 notifycode: ::std::os::raw::c_int,
9165 severity: ::std::os::raw::c_int,
9166 xmsg: *mut ::std::os::raw::c_char,
9167 xcode: ::std::os::raw::c_int,
9168 bytes_sofar: usize,
9169 bytes_max: usize,
9170 ptr: *mut ::std::os::raw::c_void,
9171 );
9172}
9173extern "C" {
9174 pub fn php_stream_context_set(
9175 stream: *mut php_stream,
9176 context: *mut php_stream_context,
9177 ) -> *mut php_stream_context;
9178}
9179pub type php_stream_bucket = _php_stream_bucket;
9180pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
9181#[repr(C)]
9182#[derive(Debug, Copy, Clone)]
9183pub struct _php_stream_bucket {
9184 pub next: *mut php_stream_bucket,
9185 pub prev: *mut php_stream_bucket,
9186 pub brigade: *mut php_stream_bucket_brigade,
9187 pub buf: *mut ::std::os::raw::c_char,
9188 pub buflen: usize,
9189 pub own_buf: u8,
9190 pub is_persistent: u8,
9191 pub refcount: ::std::os::raw::c_int,
9192}
9193#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9194const _: () = {
9195 ["Size of _php_stream_bucket"][::std::mem::size_of::<_php_stream_bucket>() - 48usize];
9196 ["Alignment of _php_stream_bucket"][::std::mem::align_of::<_php_stream_bucket>() - 8usize];
9197 ["Offset of field: _php_stream_bucket::next"]
9198 [::std::mem::offset_of!(_php_stream_bucket, next) - 0usize];
9199 ["Offset of field: _php_stream_bucket::prev"]
9200 [::std::mem::offset_of!(_php_stream_bucket, prev) - 8usize];
9201 ["Offset of field: _php_stream_bucket::brigade"]
9202 [::std::mem::offset_of!(_php_stream_bucket, brigade) - 16usize];
9203 ["Offset of field: _php_stream_bucket::buf"]
9204 [::std::mem::offset_of!(_php_stream_bucket, buf) - 24usize];
9205 ["Offset of field: _php_stream_bucket::buflen"]
9206 [::std::mem::offset_of!(_php_stream_bucket, buflen) - 32usize];
9207 ["Offset of field: _php_stream_bucket::own_buf"]
9208 [::std::mem::offset_of!(_php_stream_bucket, own_buf) - 40usize];
9209 ["Offset of field: _php_stream_bucket::is_persistent"]
9210 [::std::mem::offset_of!(_php_stream_bucket, is_persistent) - 41usize];
9211 ["Offset of field: _php_stream_bucket::refcount"]
9212 [::std::mem::offset_of!(_php_stream_bucket, refcount) - 44usize];
9213};
9214#[repr(C)]
9215#[derive(Debug, Copy, Clone)]
9216pub struct _php_stream_bucket_brigade {
9217 pub head: *mut php_stream_bucket,
9218 pub tail: *mut php_stream_bucket,
9219}
9220#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9221const _: () = {
9222 ["Size of _php_stream_bucket_brigade"]
9223 [::std::mem::size_of::<_php_stream_bucket_brigade>() - 16usize];
9224 ["Alignment of _php_stream_bucket_brigade"]
9225 [::std::mem::align_of::<_php_stream_bucket_brigade>() - 8usize];
9226 ["Offset of field: _php_stream_bucket_brigade::head"]
9227 [::std::mem::offset_of!(_php_stream_bucket_brigade, head) - 0usize];
9228 ["Offset of field: _php_stream_bucket_brigade::tail"]
9229 [::std::mem::offset_of!(_php_stream_bucket_brigade, tail) - 8usize];
9230};
9231pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
9232pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
9233pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
9234pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
9235extern "C" {
9236 pub fn php_stream_bucket_new(
9237 stream: *mut php_stream,
9238 buf: *mut ::std::os::raw::c_char,
9239 buflen: usize,
9240 own_buf: u8,
9241 buf_persistent: u8,
9242 ) -> *mut php_stream_bucket;
9243}
9244extern "C" {
9245 pub fn php_stream_bucket_split(
9246 in_: *mut php_stream_bucket,
9247 left: *mut *mut php_stream_bucket,
9248 right: *mut *mut php_stream_bucket,
9249 length: usize,
9250 ) -> ::std::os::raw::c_int;
9251}
9252extern "C" {
9253 pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
9254}
9255extern "C" {
9256 pub fn php_stream_bucket_prepend(
9257 brigade: *mut php_stream_bucket_brigade,
9258 bucket: *mut php_stream_bucket,
9259 );
9260}
9261extern "C" {
9262 pub fn php_stream_bucket_append(
9263 brigade: *mut php_stream_bucket_brigade,
9264 bucket: *mut php_stream_bucket,
9265 );
9266}
9267extern "C" {
9268 pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
9269}
9270extern "C" {
9271 pub fn php_stream_bucket_make_writeable(
9272 bucket: *mut php_stream_bucket,
9273 ) -> *mut php_stream_bucket;
9274}
9275#[repr(C)]
9276#[derive(Debug, Copy, Clone)]
9277pub struct _php_stream_filter_ops {
9278 pub filter: ::std::option::Option<
9279 unsafe extern "C" fn(
9280 stream: *mut php_stream,
9281 thisfilter: *mut php_stream_filter,
9282 buckets_in: *mut php_stream_bucket_brigade,
9283 buckets_out: *mut php_stream_bucket_brigade,
9284 bytes_consumed: *mut usize,
9285 flags: ::std::os::raw::c_int,
9286 ) -> php_stream_filter_status_t,
9287 >,
9288 pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
9289 pub label: *const ::std::os::raw::c_char,
9290}
9291#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9292const _: () = {
9293 ["Size of _php_stream_filter_ops"][::std::mem::size_of::<_php_stream_filter_ops>() - 24usize];
9294 ["Alignment of _php_stream_filter_ops"]
9295 [::std::mem::align_of::<_php_stream_filter_ops>() - 8usize];
9296 ["Offset of field: _php_stream_filter_ops::filter"]
9297 [::std::mem::offset_of!(_php_stream_filter_ops, filter) - 0usize];
9298 ["Offset of field: _php_stream_filter_ops::dtor"]
9299 [::std::mem::offset_of!(_php_stream_filter_ops, dtor) - 8usize];
9300 ["Offset of field: _php_stream_filter_ops::label"]
9301 [::std::mem::offset_of!(_php_stream_filter_ops, label) - 16usize];
9302};
9303pub type php_stream_filter_ops = _php_stream_filter_ops;
9304#[repr(C)]
9305#[derive(Debug, Copy, Clone)]
9306pub struct _php_stream_filter_chain {
9307 pub head: *mut php_stream_filter,
9308 pub tail: *mut php_stream_filter,
9309 pub stream: *mut php_stream,
9310}
9311#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9312const _: () = {
9313 ["Size of _php_stream_filter_chain"]
9314 [::std::mem::size_of::<_php_stream_filter_chain>() - 24usize];
9315 ["Alignment of _php_stream_filter_chain"]
9316 [::std::mem::align_of::<_php_stream_filter_chain>() - 8usize];
9317 ["Offset of field: _php_stream_filter_chain::head"]
9318 [::std::mem::offset_of!(_php_stream_filter_chain, head) - 0usize];
9319 ["Offset of field: _php_stream_filter_chain::tail"]
9320 [::std::mem::offset_of!(_php_stream_filter_chain, tail) - 8usize];
9321 ["Offset of field: _php_stream_filter_chain::stream"]
9322 [::std::mem::offset_of!(_php_stream_filter_chain, stream) - 16usize];
9323};
9324pub type php_stream_filter_chain = _php_stream_filter_chain;
9325#[repr(C)]
9326#[derive(Copy, Clone)]
9327pub struct _php_stream_filter {
9328 pub fops: *const php_stream_filter_ops,
9329 pub abstract_: zval,
9330 pub next: *mut php_stream_filter,
9331 pub prev: *mut php_stream_filter,
9332 pub is_persistent: ::std::os::raw::c_int,
9333 pub chain: *mut php_stream_filter_chain,
9334 pub buffer: php_stream_bucket_brigade,
9335 pub res: *mut zend_resource,
9336}
9337#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9338const _: () = {
9339 ["Size of _php_stream_filter"][::std::mem::size_of::<_php_stream_filter>() - 80usize];
9340 ["Alignment of _php_stream_filter"][::std::mem::align_of::<_php_stream_filter>() - 8usize];
9341 ["Offset of field: _php_stream_filter::fops"]
9342 [::std::mem::offset_of!(_php_stream_filter, fops) - 0usize];
9343 ["Offset of field: _php_stream_filter::abstract_"]
9344 [::std::mem::offset_of!(_php_stream_filter, abstract_) - 8usize];
9345 ["Offset of field: _php_stream_filter::next"]
9346 [::std::mem::offset_of!(_php_stream_filter, next) - 24usize];
9347 ["Offset of field: _php_stream_filter::prev"]
9348 [::std::mem::offset_of!(_php_stream_filter, prev) - 32usize];
9349 ["Offset of field: _php_stream_filter::is_persistent"]
9350 [::std::mem::offset_of!(_php_stream_filter, is_persistent) - 40usize];
9351 ["Offset of field: _php_stream_filter::chain"]
9352 [::std::mem::offset_of!(_php_stream_filter, chain) - 48usize];
9353 ["Offset of field: _php_stream_filter::buffer"]
9354 [::std::mem::offset_of!(_php_stream_filter, buffer) - 56usize];
9355 ["Offset of field: _php_stream_filter::res"]
9356 [::std::mem::offset_of!(_php_stream_filter, res) - 72usize];
9357};
9358extern "C" {
9359 pub fn php_stream_filter_prepend_ex(
9360 chain: *mut php_stream_filter_chain,
9361 filter: *mut php_stream_filter,
9362 ) -> ::std::os::raw::c_int;
9363}
9364extern "C" {
9365 pub fn php_stream_filter_append_ex(
9366 chain: *mut php_stream_filter_chain,
9367 filter: *mut php_stream_filter,
9368 ) -> ::std::os::raw::c_int;
9369}
9370extern "C" {
9371 pub fn php_stream_filter_remove(
9372 filter: *mut php_stream_filter,
9373 call_dtor: ::std::os::raw::c_int,
9374 ) -> *mut php_stream_filter;
9375}
9376extern "C" {
9377 pub fn php_stream_filter_free(filter: *mut php_stream_filter);
9378}
9379#[repr(C)]
9380#[derive(Debug, Copy, Clone)]
9381pub struct _php_stream_filter_factory {
9382 pub create_filter: ::std::option::Option<
9383 unsafe extern "C" fn(
9384 filtername: *const ::std::os::raw::c_char,
9385 filterparams: *mut zval,
9386 persistent: u8,
9387 ) -> *mut php_stream_filter,
9388 >,
9389}
9390#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9391const _: () = {
9392 ["Size of _php_stream_filter_factory"]
9393 [::std::mem::size_of::<_php_stream_filter_factory>() - 8usize];
9394 ["Alignment of _php_stream_filter_factory"]
9395 [::std::mem::align_of::<_php_stream_filter_factory>() - 8usize];
9396 ["Offset of field: _php_stream_filter_factory::create_filter"]
9397 [::std::mem::offset_of!(_php_stream_filter_factory, create_filter) - 0usize];
9398};
9399pub type php_stream_filter_factory = _php_stream_filter_factory;
9400extern "C" {
9401 pub fn php_stream_filter_register_factory(
9402 filterpattern: *const ::std::os::raw::c_char,
9403 factory: *const php_stream_filter_factory,
9404 ) -> ::std::os::raw::c_int;
9405}
9406extern "C" {
9407 pub fn php_stream_filter_unregister_factory(
9408 filterpattern: *const ::std::os::raw::c_char,
9409 ) -> ::std::os::raw::c_int;
9410}
9411extern "C" {
9412 pub fn php_stream_filter_register_factory_volatile(
9413 filterpattern: *mut zend_string,
9414 factory: *const php_stream_filter_factory,
9415 ) -> ::std::os::raw::c_int;
9416}
9417extern "C" {
9418 pub fn php_stream_filter_create(
9419 filtername: *const ::std::os::raw::c_char,
9420 filterparams: *mut zval,
9421 persistent: u8,
9422 ) -> *mut php_stream_filter;
9423}
9424#[repr(C)]
9425#[derive(Debug, Copy, Clone)]
9426pub struct _php_stream_statbuf {
9427 pub sb: zend_stat_t,
9428}
9429#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9430const _: () = {
9431 ["Size of _php_stream_statbuf"][::std::mem::size_of::<_php_stream_statbuf>() - 144usize];
9432 ["Alignment of _php_stream_statbuf"][::std::mem::align_of::<_php_stream_statbuf>() - 8usize];
9433 ["Offset of field: _php_stream_statbuf::sb"]
9434 [::std::mem::offset_of!(_php_stream_statbuf, sb) - 0usize];
9435};
9436pub type php_stream_statbuf = _php_stream_statbuf;
9437#[repr(C)]
9438#[derive(Debug, Copy, Clone)]
9439pub struct _php_stream_ops {
9440 pub write: ::std::option::Option<
9441 unsafe extern "C" fn(
9442 stream: *mut php_stream,
9443 buf: *const ::std::os::raw::c_char,
9444 count: usize,
9445 ) -> isize,
9446 >,
9447 pub read: ::std::option::Option<
9448 unsafe extern "C" fn(
9449 stream: *mut php_stream,
9450 buf: *mut ::std::os::raw::c_char,
9451 count: usize,
9452 ) -> isize,
9453 >,
9454 pub close: ::std::option::Option<
9455 unsafe extern "C" fn(
9456 stream: *mut php_stream,
9457 close_handle: ::std::os::raw::c_int,
9458 ) -> ::std::os::raw::c_int,
9459 >,
9460 pub flush: ::std::option::Option<
9461 unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
9462 >,
9463 pub label: *const ::std::os::raw::c_char,
9464 pub seek: ::std::option::Option<
9465 unsafe extern "C" fn(
9466 stream: *mut php_stream,
9467 offset: zend_off_t,
9468 whence: ::std::os::raw::c_int,
9469 newoffset: *mut zend_off_t,
9470 ) -> ::std::os::raw::c_int,
9471 >,
9472 pub cast: ::std::option::Option<
9473 unsafe extern "C" fn(
9474 stream: *mut php_stream,
9475 castas: ::std::os::raw::c_int,
9476 ret: *mut *mut ::std::os::raw::c_void,
9477 ) -> ::std::os::raw::c_int,
9478 >,
9479 pub stat: ::std::option::Option<
9480 unsafe extern "C" fn(
9481 stream: *mut php_stream,
9482 ssb: *mut php_stream_statbuf,
9483 ) -> ::std::os::raw::c_int,
9484 >,
9485 pub set_option: ::std::option::Option<
9486 unsafe extern "C" fn(
9487 stream: *mut php_stream,
9488 option: ::std::os::raw::c_int,
9489 value: ::std::os::raw::c_int,
9490 ptrparam: *mut ::std::os::raw::c_void,
9491 ) -> ::std::os::raw::c_int,
9492 >,
9493}
9494#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9495const _: () = {
9496 ["Size of _php_stream_ops"][::std::mem::size_of::<_php_stream_ops>() - 72usize];
9497 ["Alignment of _php_stream_ops"][::std::mem::align_of::<_php_stream_ops>() - 8usize];
9498 ["Offset of field: _php_stream_ops::write"]
9499 [::std::mem::offset_of!(_php_stream_ops, write) - 0usize];
9500 ["Offset of field: _php_stream_ops::read"]
9501 [::std::mem::offset_of!(_php_stream_ops, read) - 8usize];
9502 ["Offset of field: _php_stream_ops::close"]
9503 [::std::mem::offset_of!(_php_stream_ops, close) - 16usize];
9504 ["Offset of field: _php_stream_ops::flush"]
9505 [::std::mem::offset_of!(_php_stream_ops, flush) - 24usize];
9506 ["Offset of field: _php_stream_ops::label"]
9507 [::std::mem::offset_of!(_php_stream_ops, label) - 32usize];
9508 ["Offset of field: _php_stream_ops::seek"]
9509 [::std::mem::offset_of!(_php_stream_ops, seek) - 40usize];
9510 ["Offset of field: _php_stream_ops::cast"]
9511 [::std::mem::offset_of!(_php_stream_ops, cast) - 48usize];
9512 ["Offset of field: _php_stream_ops::stat"]
9513 [::std::mem::offset_of!(_php_stream_ops, stat) - 56usize];
9514 ["Offset of field: _php_stream_ops::set_option"]
9515 [::std::mem::offset_of!(_php_stream_ops, set_option) - 64usize];
9516};
9517pub type php_stream_ops = _php_stream_ops;
9518#[repr(C)]
9519#[derive(Debug, Copy, Clone)]
9520pub struct _php_stream_wrapper_ops {
9521 pub stream_opener: ::std::option::Option<
9522 unsafe extern "C" fn(
9523 wrapper: *mut php_stream_wrapper,
9524 filename: *const ::std::os::raw::c_char,
9525 mode: *const ::std::os::raw::c_char,
9526 options: ::std::os::raw::c_int,
9527 opened_path: *mut *mut zend_string,
9528 context: *mut php_stream_context,
9529 ) -> *mut php_stream,
9530 >,
9531 pub stream_closer: ::std::option::Option<
9532 unsafe extern "C" fn(
9533 wrapper: *mut php_stream_wrapper,
9534 stream: *mut php_stream,
9535 ) -> ::std::os::raw::c_int,
9536 >,
9537 pub stream_stat: ::std::option::Option<
9538 unsafe extern "C" fn(
9539 wrapper: *mut php_stream_wrapper,
9540 stream: *mut php_stream,
9541 ssb: *mut php_stream_statbuf,
9542 ) -> ::std::os::raw::c_int,
9543 >,
9544 pub url_stat: ::std::option::Option<
9545 unsafe extern "C" fn(
9546 wrapper: *mut php_stream_wrapper,
9547 url: *const ::std::os::raw::c_char,
9548 flags: ::std::os::raw::c_int,
9549 ssb: *mut php_stream_statbuf,
9550 context: *mut php_stream_context,
9551 ) -> ::std::os::raw::c_int,
9552 >,
9553 pub dir_opener: ::std::option::Option<
9554 unsafe extern "C" fn(
9555 wrapper: *mut php_stream_wrapper,
9556 filename: *const ::std::os::raw::c_char,
9557 mode: *const ::std::os::raw::c_char,
9558 options: ::std::os::raw::c_int,
9559 opened_path: *mut *mut zend_string,
9560 context: *mut php_stream_context,
9561 ) -> *mut php_stream,
9562 >,
9563 pub label: *const ::std::os::raw::c_char,
9564 pub unlink: ::std::option::Option<
9565 unsafe extern "C" fn(
9566 wrapper: *mut php_stream_wrapper,
9567 url: *const ::std::os::raw::c_char,
9568 options: ::std::os::raw::c_int,
9569 context: *mut php_stream_context,
9570 ) -> ::std::os::raw::c_int,
9571 >,
9572 pub rename: ::std::option::Option<
9573 unsafe extern "C" fn(
9574 wrapper: *mut php_stream_wrapper,
9575 url_from: *const ::std::os::raw::c_char,
9576 url_to: *const ::std::os::raw::c_char,
9577 options: ::std::os::raw::c_int,
9578 context: *mut php_stream_context,
9579 ) -> ::std::os::raw::c_int,
9580 >,
9581 pub stream_mkdir: ::std::option::Option<
9582 unsafe extern "C" fn(
9583 wrapper: *mut php_stream_wrapper,
9584 url: *const ::std::os::raw::c_char,
9585 mode: ::std::os::raw::c_int,
9586 options: ::std::os::raw::c_int,
9587 context: *mut php_stream_context,
9588 ) -> ::std::os::raw::c_int,
9589 >,
9590 pub stream_rmdir: ::std::option::Option<
9591 unsafe extern "C" fn(
9592 wrapper: *mut php_stream_wrapper,
9593 url: *const ::std::os::raw::c_char,
9594 options: ::std::os::raw::c_int,
9595 context: *mut php_stream_context,
9596 ) -> ::std::os::raw::c_int,
9597 >,
9598 pub stream_metadata: ::std::option::Option<
9599 unsafe extern "C" fn(
9600 wrapper: *mut php_stream_wrapper,
9601 url: *const ::std::os::raw::c_char,
9602 options: ::std::os::raw::c_int,
9603 value: *mut ::std::os::raw::c_void,
9604 context: *mut php_stream_context,
9605 ) -> ::std::os::raw::c_int,
9606 >,
9607}
9608#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9609const _: () = {
9610 ["Size of _php_stream_wrapper_ops"][::std::mem::size_of::<_php_stream_wrapper_ops>() - 88usize];
9611 ["Alignment of _php_stream_wrapper_ops"]
9612 [::std::mem::align_of::<_php_stream_wrapper_ops>() - 8usize];
9613 ["Offset of field: _php_stream_wrapper_ops::stream_opener"]
9614 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_opener) - 0usize];
9615 ["Offset of field: _php_stream_wrapper_ops::stream_closer"]
9616 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_closer) - 8usize];
9617 ["Offset of field: _php_stream_wrapper_ops::stream_stat"]
9618 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_stat) - 16usize];
9619 ["Offset of field: _php_stream_wrapper_ops::url_stat"]
9620 [::std::mem::offset_of!(_php_stream_wrapper_ops, url_stat) - 24usize];
9621 ["Offset of field: _php_stream_wrapper_ops::dir_opener"]
9622 [::std::mem::offset_of!(_php_stream_wrapper_ops, dir_opener) - 32usize];
9623 ["Offset of field: _php_stream_wrapper_ops::label"]
9624 [::std::mem::offset_of!(_php_stream_wrapper_ops, label) - 40usize];
9625 ["Offset of field: _php_stream_wrapper_ops::unlink"]
9626 [::std::mem::offset_of!(_php_stream_wrapper_ops, unlink) - 48usize];
9627 ["Offset of field: _php_stream_wrapper_ops::rename"]
9628 [::std::mem::offset_of!(_php_stream_wrapper_ops, rename) - 56usize];
9629 ["Offset of field: _php_stream_wrapper_ops::stream_mkdir"]
9630 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_mkdir) - 64usize];
9631 ["Offset of field: _php_stream_wrapper_ops::stream_rmdir"]
9632 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_rmdir) - 72usize];
9633 ["Offset of field: _php_stream_wrapper_ops::stream_metadata"]
9634 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_metadata) - 80usize];
9635};
9636pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
9637#[repr(C)]
9638#[derive(Debug, Copy, Clone)]
9639pub struct _php_stream_wrapper {
9640 pub wops: *const php_stream_wrapper_ops,
9641 pub abstract_: *mut ::std::os::raw::c_void,
9642 pub is_url: ::std::os::raw::c_int,
9643}
9644#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9645const _: () = {
9646 ["Size of _php_stream_wrapper"][::std::mem::size_of::<_php_stream_wrapper>() - 24usize];
9647 ["Alignment of _php_stream_wrapper"][::std::mem::align_of::<_php_stream_wrapper>() - 8usize];
9648 ["Offset of field: _php_stream_wrapper::wops"]
9649 [::std::mem::offset_of!(_php_stream_wrapper, wops) - 0usize];
9650 ["Offset of field: _php_stream_wrapper::abstract_"]
9651 [::std::mem::offset_of!(_php_stream_wrapper, abstract_) - 8usize];
9652 ["Offset of field: _php_stream_wrapper::is_url"]
9653 [::std::mem::offset_of!(_php_stream_wrapper, is_url) - 16usize];
9654};
9655#[repr(C)]
9656#[derive(Copy, Clone)]
9657pub struct _php_stream {
9658 pub ops: *const php_stream_ops,
9659 pub abstract_: *mut ::std::os::raw::c_void,
9660 pub readfilters: php_stream_filter_chain,
9661 pub writefilters: php_stream_filter_chain,
9662 pub wrapper: *mut php_stream_wrapper,
9663 pub wrapperthis: *mut ::std::os::raw::c_void,
9664 pub wrapperdata: zval,
9665 pub _bitfield_align_1: [u8; 0],
9666 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
9667 pub fgetss_state: u8,
9668 pub mode: [::std::os::raw::c_char; 16usize],
9669 pub flags: u32,
9670 pub res: *mut zend_resource,
9671 pub stdiocast: *mut FILE,
9672 pub orig_path: *mut ::std::os::raw::c_char,
9673 pub ctx: *mut zend_resource,
9674 pub position: zend_off_t,
9675 pub readbuf: *mut ::std::os::raw::c_uchar,
9676 pub readbuflen: usize,
9677 pub readpos: zend_off_t,
9678 pub writepos: zend_off_t,
9679 pub chunk_size: usize,
9680 pub enclosing_stream: *mut _php_stream,
9681}
9682#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9683const _: () = {
9684 ["Size of _php_stream"][::std::mem::size_of::<_php_stream>() - 208usize];
9685 ["Alignment of _php_stream"][::std::mem::align_of::<_php_stream>() - 8usize];
9686 ["Offset of field: _php_stream::ops"][::std::mem::offset_of!(_php_stream, ops) - 0usize];
9687 ["Offset of field: _php_stream::abstract_"]
9688 [::std::mem::offset_of!(_php_stream, abstract_) - 8usize];
9689 ["Offset of field: _php_stream::readfilters"]
9690 [::std::mem::offset_of!(_php_stream, readfilters) - 16usize];
9691 ["Offset of field: _php_stream::writefilters"]
9692 [::std::mem::offset_of!(_php_stream, writefilters) - 40usize];
9693 ["Offset of field: _php_stream::wrapper"]
9694 [::std::mem::offset_of!(_php_stream, wrapper) - 64usize];
9695 ["Offset of field: _php_stream::wrapperthis"]
9696 [::std::mem::offset_of!(_php_stream, wrapperthis) - 72usize];
9697 ["Offset of field: _php_stream::wrapperdata"]
9698 [::std::mem::offset_of!(_php_stream, wrapperdata) - 80usize];
9699 ["Offset of field: _php_stream::fgetss_state"]
9700 [::std::mem::offset_of!(_php_stream, fgetss_state) - 97usize];
9701 ["Offset of field: _php_stream::mode"][::std::mem::offset_of!(_php_stream, mode) - 98usize];
9702 ["Offset of field: _php_stream::flags"][::std::mem::offset_of!(_php_stream, flags) - 116usize];
9703 ["Offset of field: _php_stream::res"][::std::mem::offset_of!(_php_stream, res) - 120usize];
9704 ["Offset of field: _php_stream::stdiocast"]
9705 [::std::mem::offset_of!(_php_stream, stdiocast) - 128usize];
9706 ["Offset of field: _php_stream::orig_path"]
9707 [::std::mem::offset_of!(_php_stream, orig_path) - 136usize];
9708 ["Offset of field: _php_stream::ctx"][::std::mem::offset_of!(_php_stream, ctx) - 144usize];
9709 ["Offset of field: _php_stream::position"]
9710 [::std::mem::offset_of!(_php_stream, position) - 152usize];
9711 ["Offset of field: _php_stream::readbuf"]
9712 [::std::mem::offset_of!(_php_stream, readbuf) - 160usize];
9713 ["Offset of field: _php_stream::readbuflen"]
9714 [::std::mem::offset_of!(_php_stream, readbuflen) - 168usize];
9715 ["Offset of field: _php_stream::readpos"]
9716 [::std::mem::offset_of!(_php_stream, readpos) - 176usize];
9717 ["Offset of field: _php_stream::writepos"]
9718 [::std::mem::offset_of!(_php_stream, writepos) - 184usize];
9719 ["Offset of field: _php_stream::chunk_size"]
9720 [::std::mem::offset_of!(_php_stream, chunk_size) - 192usize];
9721 ["Offset of field: _php_stream::enclosing_stream"]
9722 [::std::mem::offset_of!(_php_stream, enclosing_stream) - 200usize];
9723};
9724impl _php_stream {
9725 #[inline]
9726 pub fn is_persistent(&self) -> u8 {
9727 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
9728 }
9729 #[inline]
9730 pub fn set_is_persistent(&mut self, val: u8) {
9731 unsafe {
9732 let val: u8 = ::std::mem::transmute(val);
9733 self._bitfield_1.set(0usize, 1u8, val as u64)
9734 }
9735 }
9736 #[inline]
9737 pub fn in_free(&self) -> u8 {
9738 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 2u8) as u8) }
9739 }
9740 #[inline]
9741 pub fn set_in_free(&mut self, val: u8) {
9742 unsafe {
9743 let val: u8 = ::std::mem::transmute(val);
9744 self._bitfield_1.set(1usize, 2u8, val as u64)
9745 }
9746 }
9747 #[inline]
9748 pub fn eof(&self) -> u8 {
9749 unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
9750 }
9751 #[inline]
9752 pub fn set_eof(&mut self, val: u8) {
9753 unsafe {
9754 let val: u8 = ::std::mem::transmute(val);
9755 self._bitfield_1.set(3usize, 1u8, val as u64)
9756 }
9757 }
9758 #[inline]
9759 pub fn __exposed(&self) -> u8 {
9760 unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) }
9761 }
9762 #[inline]
9763 pub fn set___exposed(&mut self, val: u8) {
9764 unsafe {
9765 let val: u8 = ::std::mem::transmute(val);
9766 self._bitfield_1.set(4usize, 1u8, val as u64)
9767 }
9768 }
9769 #[inline]
9770 pub fn fclose_stdiocast(&self) -> u8 {
9771 unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 2u8) as u8) }
9772 }
9773 #[inline]
9774 pub fn set_fclose_stdiocast(&mut self, val: u8) {
9775 unsafe {
9776 let val: u8 = ::std::mem::transmute(val);
9777 self._bitfield_1.set(5usize, 2u8, val as u64)
9778 }
9779 }
9780 #[inline]
9781 pub fn new_bitfield_1(
9782 is_persistent: u8,
9783 in_free: u8,
9784 eof: u8,
9785 __exposed: u8,
9786 fclose_stdiocast: u8,
9787 ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
9788 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
9789 __bindgen_bitfield_unit.set(0usize, 1u8, {
9790 let is_persistent: u8 = unsafe { ::std::mem::transmute(is_persistent) };
9791 is_persistent as u64
9792 });
9793 __bindgen_bitfield_unit.set(1usize, 2u8, {
9794 let in_free: u8 = unsafe { ::std::mem::transmute(in_free) };
9795 in_free as u64
9796 });
9797 __bindgen_bitfield_unit.set(3usize, 1u8, {
9798 let eof: u8 = unsafe { ::std::mem::transmute(eof) };
9799 eof as u64
9800 });
9801 __bindgen_bitfield_unit.set(4usize, 1u8, {
9802 let __exposed: u8 = unsafe { ::std::mem::transmute(__exposed) };
9803 __exposed as u64
9804 });
9805 __bindgen_bitfield_unit.set(5usize, 2u8, {
9806 let fclose_stdiocast: u8 = unsafe { ::std::mem::transmute(fclose_stdiocast) };
9807 fclose_stdiocast as u64
9808 });
9809 __bindgen_bitfield_unit
9810 }
9811}
9812extern "C" {
9813 pub fn php_stream_encloses(
9814 enclosing: *mut php_stream,
9815 enclosed: *mut php_stream,
9816 ) -> *mut php_stream;
9817}
9818extern "C" {
9819 pub fn php_stream_from_persistent_id(
9820 persistent_id: *const ::std::os::raw::c_char,
9821 stream: *mut *mut php_stream,
9822 ) -> ::std::os::raw::c_int;
9823}
9824extern "C" {
9825 pub fn php_stream_read_to_str(stream: *mut php_stream, len: usize) -> *mut zend_string;
9826}
9827extern "C" {
9828 pub fn php_stream_get_record(
9829 stream: *mut php_stream,
9830 maxlen: usize,
9831 delim: *const ::std::os::raw::c_char,
9832 delim_len: usize,
9833 ) -> *mut zend_string;
9834}
9835extern "C" {
9836 pub fn php_stream_dirent_alphasort(
9837 a: *mut *const zend_string,
9838 b: *mut *const zend_string,
9839 ) -> ::std::os::raw::c_int;
9840}
9841extern "C" {
9842 pub fn php_stream_dirent_alphasortr(
9843 a: *mut *const zend_string,
9844 b: *mut *const zend_string,
9845 ) -> ::std::os::raw::c_int;
9846}
9847pub type php_stream_transport_factory_func = ::std::option::Option<
9848 unsafe extern "C" fn(
9849 proto: *const ::std::os::raw::c_char,
9850 protolen: usize,
9851 resourcename: *const ::std::os::raw::c_char,
9852 resourcenamelen: usize,
9853 persistent_id: *const ::std::os::raw::c_char,
9854 options: ::std::os::raw::c_int,
9855 flags: ::std::os::raw::c_int,
9856 timeout: *mut timeval,
9857 context: *mut php_stream_context,
9858 ) -> *mut php_stream,
9859>;
9860pub type php_stream_transport_factory = php_stream_transport_factory_func;
9861extern "C" {
9862 pub fn php_stream_xport_register(
9863 protocol: *const ::std::os::raw::c_char,
9864 factory: php_stream_transport_factory,
9865 ) -> ::std::os::raw::c_int;
9866}
9867extern "C" {
9868 pub fn php_stream_xport_unregister(
9869 protocol: *const ::std::os::raw::c_char,
9870 ) -> ::std::os::raw::c_int;
9871}
9872extern "C" {
9873 pub fn php_stream_xport_bind(
9874 stream: *mut php_stream,
9875 name: *const ::std::os::raw::c_char,
9876 namelen: usize,
9877 error_text: *mut *mut zend_string,
9878 ) -> ::std::os::raw::c_int;
9879}
9880extern "C" {
9881 pub fn php_stream_xport_connect(
9882 stream: *mut php_stream,
9883 name: *const ::std::os::raw::c_char,
9884 namelen: usize,
9885 asynchronous: ::std::os::raw::c_int,
9886 timeout: *mut timeval,
9887 error_text: *mut *mut zend_string,
9888 error_code: *mut ::std::os::raw::c_int,
9889 ) -> ::std::os::raw::c_int;
9890}
9891extern "C" {
9892 pub fn php_stream_xport_listen(
9893 stream: *mut php_stream,
9894 backlog: ::std::os::raw::c_int,
9895 error_text: *mut *mut zend_string,
9896 ) -> ::std::os::raw::c_int;
9897}
9898extern "C" {
9899 pub fn php_stream_xport_accept(
9900 stream: *mut php_stream,
9901 client: *mut *mut php_stream,
9902 textaddr: *mut *mut zend_string,
9903 addr: *mut *mut ::std::os::raw::c_void,
9904 addrlen: *mut socklen_t,
9905 timeout: *mut timeval,
9906 error_text: *mut *mut zend_string,
9907 ) -> ::std::os::raw::c_int;
9908}
9909extern "C" {
9910 pub fn php_stream_xport_get_name(
9911 stream: *mut php_stream,
9912 want_peer: ::std::os::raw::c_int,
9913 textaddr: *mut *mut zend_string,
9914 addr: *mut *mut ::std::os::raw::c_void,
9915 addrlen: *mut socklen_t,
9916 ) -> ::std::os::raw::c_int;
9917}
9918extern "C" {
9919 pub fn php_stream_xport_recvfrom(
9920 stream: *mut php_stream,
9921 buf: *mut ::std::os::raw::c_char,
9922 buflen: usize,
9923 flags: ::std::os::raw::c_int,
9924 addr: *mut *mut ::std::os::raw::c_void,
9925 addrlen: *mut socklen_t,
9926 textaddr: *mut *mut zend_string,
9927 ) -> ::std::os::raw::c_int;
9928}
9929extern "C" {
9930 pub fn php_stream_xport_sendto(
9931 stream: *mut php_stream,
9932 buf: *const ::std::os::raw::c_char,
9933 buflen: usize,
9934 flags: ::std::os::raw::c_int,
9935 addr: *mut ::std::os::raw::c_void,
9936 addrlen: socklen_t,
9937 ) -> ::std::os::raw::c_int;
9938}
9939pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
9940pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
9941pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
9942pub type stream_shutdown_t = ::std::os::raw::c_uint;
9943extern "C" {
9944 pub fn php_stream_xport_shutdown(
9945 stream: *mut php_stream,
9946 how: stream_shutdown_t,
9947 ) -> ::std::os::raw::c_int;
9948}
9949pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
9950 php_stream_xport_crypt_method_t = 3;
9951pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
9952 php_stream_xport_crypt_method_t = 5;
9953pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
9954 php_stream_xport_crypt_method_t = 57;
9955pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
9956 php_stream_xport_crypt_method_t = 9;
9957pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
9958 php_stream_xport_crypt_method_t = 17;
9959pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
9960 php_stream_xport_crypt_method_t = 33;
9961pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT:
9962 php_stream_xport_crypt_method_t = 65;
9963pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
9964 php_stream_xport_crypt_method_t = 121;
9965pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
9966 php_stream_xport_crypt_method_t = 121;
9967pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
9968 php_stream_xport_crypt_method_t = 127;
9969pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
9970 php_stream_xport_crypt_method_t = 2;
9971pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
9972 php_stream_xport_crypt_method_t = 4;
9973pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
9974 php_stream_xport_crypt_method_t = 120;
9975pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
9976 php_stream_xport_crypt_method_t = 8;
9977pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
9978 php_stream_xport_crypt_method_t = 16;
9979pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
9980 php_stream_xport_crypt_method_t = 32;
9981pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_SERVER:
9982 php_stream_xport_crypt_method_t = 64;
9983pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
9984 php_stream_xport_crypt_method_t = 120;
9985pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
9986 php_stream_xport_crypt_method_t = 120;
9987pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
9988 php_stream_xport_crypt_method_t = 126;
9989pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
9990extern "C" {
9991 pub fn php_stream_xport_crypto_setup(
9992 stream: *mut php_stream,
9993 crypto_method: php_stream_xport_crypt_method_t,
9994 session_stream: *mut php_stream,
9995 ) -> ::std::os::raw::c_int;
9996}
9997extern "C" {
9998 pub fn php_stream_xport_crypto_enable(
9999 stream: *mut php_stream,
10000 activate: ::std::os::raw::c_int,
10001 ) -> ::std::os::raw::c_int;
10002}
10003extern "C" {
10004 pub fn php_stream_xport_get_hash() -> *mut HashTable;
10005}
10006extern "C" {
10007 pub fn php_stream_generic_socket_factory(
10008 proto: *const ::std::os::raw::c_char,
10009 protolen: usize,
10010 resourcename: *const ::std::os::raw::c_char,
10011 resourcenamelen: usize,
10012 persistent_id: *const ::std::os::raw::c_char,
10013 options: ::std::os::raw::c_int,
10014 flags: ::std::os::raw::c_int,
10015 timeout: *mut timeval,
10016 context: *mut php_stream_context,
10017 ) -> *mut php_stream;
10018}
10019extern "C" {
10020 pub static mut php_stream_stdio_ops: php_stream_ops;
10021}
10022extern "C" {
10023 pub static mut php_plain_files_wrapper: php_stream_wrapper;
10024}
10025extern "C" {
10026 pub fn php_stream_parse_fopen_modes(
10027 mode: *const ::std::os::raw::c_char,
10028 open_flags: *mut ::std::os::raw::c_int,
10029 ) -> ::std::os::raw::c_int;
10030}
10031extern "C" {
10032 pub static php_glob_stream_wrapper: php_stream_wrapper;
10033}
10034extern "C" {
10035 pub static php_glob_stream_ops: php_stream_ops;
10036}
10037extern "C" {
10038 pub static php_stream_userspace_ops: php_stream_ops;
10039}
10040extern "C" {
10041 pub static php_stream_userspace_dir_ops: php_stream_ops;
10042}
10043extern "C" {
10044 pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
10045}
10046extern "C" {
10047 pub fn php_shutdown_stream_wrappers(
10048 module_number: ::std::os::raw::c_int,
10049 ) -> ::std::os::raw::c_int;
10050}
10051extern "C" {
10052 pub fn php_shutdown_stream_hashes();
10053}
10054extern "C" {
10055 pub fn php_register_url_stream_wrapper(
10056 protocol: *const ::std::os::raw::c_char,
10057 wrapper: *const php_stream_wrapper,
10058 ) -> ::std::os::raw::c_int;
10059}
10060extern "C" {
10061 pub fn php_unregister_url_stream_wrapper(
10062 protocol: *const ::std::os::raw::c_char,
10063 ) -> ::std::os::raw::c_int;
10064}
10065extern "C" {
10066 pub fn php_register_url_stream_wrapper_volatile(
10067 protocol: *mut zend_string,
10068 wrapper: *mut php_stream_wrapper,
10069 ) -> ::std::os::raw::c_int;
10070}
10071extern "C" {
10072 pub fn php_unregister_url_stream_wrapper_volatile(
10073 protocol: *mut zend_string,
10074 ) -> ::std::os::raw::c_int;
10075}
10076extern "C" {
10077 pub fn php_stream_locate_url_wrapper(
10078 path: *const ::std::os::raw::c_char,
10079 path_for_open: *mut *const ::std::os::raw::c_char,
10080 options: ::std::os::raw::c_int,
10081 ) -> *mut php_stream_wrapper;
10082}
10083extern "C" {
10084 pub fn php_stream_locate_eol(
10085 stream: *mut php_stream,
10086 buf: *mut zend_string,
10087 ) -> *const ::std::os::raw::c_char;
10088}
10089extern "C" {
10090 pub fn php_stream_wrapper_log_error(
10091 wrapper: *const php_stream_wrapper,
10092 options: ::std::os::raw::c_int,
10093 fmt: *const ::std::os::raw::c_char,
10094 ...
10095 );
10096}
10097extern "C" {
10098 pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
10099}
10100extern "C" {
10101 pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
10102}
10103extern "C" {
10104 pub static mut php_stream_user_wrapper_ops: *const php_stream_wrapper_ops;
10105}
10106extern "C" {
10107 pub fn php_stream_mode_from_str(mode: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
10108}
10109extern "C" {
10110 pub static php_stream_memory_ops: php_stream_ops;
10111}
10112extern "C" {
10113 pub static php_stream_temp_ops: php_stream_ops;
10114}
10115extern "C" {
10116 pub static php_stream_rfc2397_ops: php_stream_ops;
10117}
10118extern "C" {
10119 pub static php_stream_rfc2397_wrapper: php_stream_wrapper;
10120}
10121#[repr(C)]
10122#[derive(Copy, Clone)]
10123pub struct _php_core_globals {
10124 pub implicit_flush: zend_bool,
10125 pub output_buffering: zend_long,
10126 pub enable_dl: zend_bool,
10127 pub output_handler: *mut ::std::os::raw::c_char,
10128 pub unserialize_callback_func: *mut ::std::os::raw::c_char,
10129 pub serialize_precision: zend_long,
10130 pub memory_limit: zend_long,
10131 pub max_input_time: zend_long,
10132 pub display_errors: zend_uchar,
10133 pub display_startup_errors: zend_bool,
10134 pub log_errors: zend_bool,
10135 pub log_errors_max_len: zend_long,
10136 pub ignore_repeated_errors: zend_bool,
10137 pub ignore_repeated_source: zend_bool,
10138 pub report_memleaks: zend_bool,
10139 pub error_log: *mut ::std::os::raw::c_char,
10140 pub doc_root: *mut ::std::os::raw::c_char,
10141 pub user_dir: *mut ::std::os::raw::c_char,
10142 pub include_path: *mut ::std::os::raw::c_char,
10143 pub open_basedir: *mut ::std::os::raw::c_char,
10144 pub extension_dir: *mut ::std::os::raw::c_char,
10145 pub php_binary: *mut ::std::os::raw::c_char,
10146 pub sys_temp_dir: *mut ::std::os::raw::c_char,
10147 pub upload_tmp_dir: *mut ::std::os::raw::c_char,
10148 pub upload_max_filesize: zend_long,
10149 pub error_append_string: *mut ::std::os::raw::c_char,
10150 pub error_prepend_string: *mut ::std::os::raw::c_char,
10151 pub auto_prepend_file: *mut ::std::os::raw::c_char,
10152 pub auto_append_file: *mut ::std::os::raw::c_char,
10153 pub input_encoding: *mut ::std::os::raw::c_char,
10154 pub internal_encoding: *mut ::std::os::raw::c_char,
10155 pub output_encoding: *mut ::std::os::raw::c_char,
10156 pub arg_separator: arg_separators,
10157 pub variables_order: *mut ::std::os::raw::c_char,
10158 pub rfc1867_protected_variables: HashTable,
10159 pub connection_status: ::std::os::raw::c_short,
10160 pub ignore_user_abort: zend_bool,
10161 pub header_is_being_sent: ::std::os::raw::c_uchar,
10162 pub tick_functions: zend_llist,
10163 pub http_globals: [zval; 6usize],
10164 pub expose_php: zend_bool,
10165 pub register_argc_argv: zend_bool,
10166 pub auto_globals_jit: zend_bool,
10167 pub docref_root: *mut ::std::os::raw::c_char,
10168 pub docref_ext: *mut ::std::os::raw::c_char,
10169 pub html_errors: zend_bool,
10170 pub xmlrpc_errors: zend_bool,
10171 pub xmlrpc_error_number: zend_long,
10172 pub activated_auto_globals: [zend_bool; 8usize],
10173 pub modules_activated: zend_bool,
10174 pub file_uploads: zend_bool,
10175 pub during_request_startup: zend_bool,
10176 pub allow_url_fopen: zend_bool,
10177 pub enable_post_data_reading: zend_bool,
10178 pub report_zend_debug: zend_bool,
10179 pub last_error_type: ::std::os::raw::c_int,
10180 pub last_error_message: *mut zend_string,
10181 pub last_error_file: *mut ::std::os::raw::c_char,
10182 pub last_error_lineno: ::std::os::raw::c_int,
10183 pub php_sys_temp_dir: *mut ::std::os::raw::c_char,
10184 pub disable_classes: *mut ::std::os::raw::c_char,
10185 pub allow_url_include: zend_bool,
10186 pub max_input_nesting_level: zend_long,
10187 pub max_input_vars: zend_long,
10188 pub in_user_include: zend_bool,
10189 pub user_ini_filename: *mut ::std::os::raw::c_char,
10190 pub user_ini_cache_ttl: zend_long,
10191 pub request_order: *mut ::std::os::raw::c_char,
10192 pub mail_x_header: zend_bool,
10193 pub mail_log: *mut ::std::os::raw::c_char,
10194 pub in_error_log: zend_bool,
10195 pub syslog_facility: zend_long,
10196 pub syslog_ident: *mut ::std::os::raw::c_char,
10197 pub have_called_openlog: zend_bool,
10198 pub syslog_filter: zend_long,
10199}
10200#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10201const _: () = {
10202 ["Size of _php_core_globals"][::std::mem::size_of::<_php_core_globals>() - 680usize];
10203 ["Alignment of _php_core_globals"][::std::mem::align_of::<_php_core_globals>() - 8usize];
10204 ["Offset of field: _php_core_globals::implicit_flush"]
10205 [::std::mem::offset_of!(_php_core_globals, implicit_flush) - 0usize];
10206 ["Offset of field: _php_core_globals::output_buffering"]
10207 [::std::mem::offset_of!(_php_core_globals, output_buffering) - 8usize];
10208 ["Offset of field: _php_core_globals::enable_dl"]
10209 [::std::mem::offset_of!(_php_core_globals, enable_dl) - 16usize];
10210 ["Offset of field: _php_core_globals::output_handler"]
10211 [::std::mem::offset_of!(_php_core_globals, output_handler) - 24usize];
10212 ["Offset of field: _php_core_globals::unserialize_callback_func"]
10213 [::std::mem::offset_of!(_php_core_globals, unserialize_callback_func) - 32usize];
10214 ["Offset of field: _php_core_globals::serialize_precision"]
10215 [::std::mem::offset_of!(_php_core_globals, serialize_precision) - 40usize];
10216 ["Offset of field: _php_core_globals::memory_limit"]
10217 [::std::mem::offset_of!(_php_core_globals, memory_limit) - 48usize];
10218 ["Offset of field: _php_core_globals::max_input_time"]
10219 [::std::mem::offset_of!(_php_core_globals, max_input_time) - 56usize];
10220 ["Offset of field: _php_core_globals::display_errors"]
10221 [::std::mem::offset_of!(_php_core_globals, display_errors) - 64usize];
10222 ["Offset of field: _php_core_globals::display_startup_errors"]
10223 [::std::mem::offset_of!(_php_core_globals, display_startup_errors) - 65usize];
10224 ["Offset of field: _php_core_globals::log_errors"]
10225 [::std::mem::offset_of!(_php_core_globals, log_errors) - 66usize];
10226 ["Offset of field: _php_core_globals::log_errors_max_len"]
10227 [::std::mem::offset_of!(_php_core_globals, log_errors_max_len) - 72usize];
10228 ["Offset of field: _php_core_globals::ignore_repeated_errors"]
10229 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_errors) - 80usize];
10230 ["Offset of field: _php_core_globals::ignore_repeated_source"]
10231 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_source) - 81usize];
10232 ["Offset of field: _php_core_globals::report_memleaks"]
10233 [::std::mem::offset_of!(_php_core_globals, report_memleaks) - 82usize];
10234 ["Offset of field: _php_core_globals::error_log"]
10235 [::std::mem::offset_of!(_php_core_globals, error_log) - 88usize];
10236 ["Offset of field: _php_core_globals::doc_root"]
10237 [::std::mem::offset_of!(_php_core_globals, doc_root) - 96usize];
10238 ["Offset of field: _php_core_globals::user_dir"]
10239 [::std::mem::offset_of!(_php_core_globals, user_dir) - 104usize];
10240 ["Offset of field: _php_core_globals::include_path"]
10241 [::std::mem::offset_of!(_php_core_globals, include_path) - 112usize];
10242 ["Offset of field: _php_core_globals::open_basedir"]
10243 [::std::mem::offset_of!(_php_core_globals, open_basedir) - 120usize];
10244 ["Offset of field: _php_core_globals::extension_dir"]
10245 [::std::mem::offset_of!(_php_core_globals, extension_dir) - 128usize];
10246 ["Offset of field: _php_core_globals::php_binary"]
10247 [::std::mem::offset_of!(_php_core_globals, php_binary) - 136usize];
10248 ["Offset of field: _php_core_globals::sys_temp_dir"]
10249 [::std::mem::offset_of!(_php_core_globals, sys_temp_dir) - 144usize];
10250 ["Offset of field: _php_core_globals::upload_tmp_dir"]
10251 [::std::mem::offset_of!(_php_core_globals, upload_tmp_dir) - 152usize];
10252 ["Offset of field: _php_core_globals::upload_max_filesize"]
10253 [::std::mem::offset_of!(_php_core_globals, upload_max_filesize) - 160usize];
10254 ["Offset of field: _php_core_globals::error_append_string"]
10255 [::std::mem::offset_of!(_php_core_globals, error_append_string) - 168usize];
10256 ["Offset of field: _php_core_globals::error_prepend_string"]
10257 [::std::mem::offset_of!(_php_core_globals, error_prepend_string) - 176usize];
10258 ["Offset of field: _php_core_globals::auto_prepend_file"]
10259 [::std::mem::offset_of!(_php_core_globals, auto_prepend_file) - 184usize];
10260 ["Offset of field: _php_core_globals::auto_append_file"]
10261 [::std::mem::offset_of!(_php_core_globals, auto_append_file) - 192usize];
10262 ["Offset of field: _php_core_globals::input_encoding"]
10263 [::std::mem::offset_of!(_php_core_globals, input_encoding) - 200usize];
10264 ["Offset of field: _php_core_globals::internal_encoding"]
10265 [::std::mem::offset_of!(_php_core_globals, internal_encoding) - 208usize];
10266 ["Offset of field: _php_core_globals::output_encoding"]
10267 [::std::mem::offset_of!(_php_core_globals, output_encoding) - 216usize];
10268 ["Offset of field: _php_core_globals::arg_separator"]
10269 [::std::mem::offset_of!(_php_core_globals, arg_separator) - 224usize];
10270 ["Offset of field: _php_core_globals::variables_order"]
10271 [::std::mem::offset_of!(_php_core_globals, variables_order) - 240usize];
10272 ["Offset of field: _php_core_globals::rfc1867_protected_variables"]
10273 [::std::mem::offset_of!(_php_core_globals, rfc1867_protected_variables) - 248usize];
10274 ["Offset of field: _php_core_globals::connection_status"]
10275 [::std::mem::offset_of!(_php_core_globals, connection_status) - 304usize];
10276 ["Offset of field: _php_core_globals::ignore_user_abort"]
10277 [::std::mem::offset_of!(_php_core_globals, ignore_user_abort) - 306usize];
10278 ["Offset of field: _php_core_globals::header_is_being_sent"]
10279 [::std::mem::offset_of!(_php_core_globals, header_is_being_sent) - 307usize];
10280 ["Offset of field: _php_core_globals::tick_functions"]
10281 [::std::mem::offset_of!(_php_core_globals, tick_functions) - 312usize];
10282 ["Offset of field: _php_core_globals::http_globals"]
10283 [::std::mem::offset_of!(_php_core_globals, http_globals) - 368usize];
10284 ["Offset of field: _php_core_globals::expose_php"]
10285 [::std::mem::offset_of!(_php_core_globals, expose_php) - 464usize];
10286 ["Offset of field: _php_core_globals::register_argc_argv"]
10287 [::std::mem::offset_of!(_php_core_globals, register_argc_argv) - 465usize];
10288 ["Offset of field: _php_core_globals::auto_globals_jit"]
10289 [::std::mem::offset_of!(_php_core_globals, auto_globals_jit) - 466usize];
10290 ["Offset of field: _php_core_globals::docref_root"]
10291 [::std::mem::offset_of!(_php_core_globals, docref_root) - 472usize];
10292 ["Offset of field: _php_core_globals::docref_ext"]
10293 [::std::mem::offset_of!(_php_core_globals, docref_ext) - 480usize];
10294 ["Offset of field: _php_core_globals::html_errors"]
10295 [::std::mem::offset_of!(_php_core_globals, html_errors) - 488usize];
10296 ["Offset of field: _php_core_globals::xmlrpc_errors"]
10297 [::std::mem::offset_of!(_php_core_globals, xmlrpc_errors) - 489usize];
10298 ["Offset of field: _php_core_globals::xmlrpc_error_number"]
10299 [::std::mem::offset_of!(_php_core_globals, xmlrpc_error_number) - 496usize];
10300 ["Offset of field: _php_core_globals::activated_auto_globals"]
10301 [::std::mem::offset_of!(_php_core_globals, activated_auto_globals) - 504usize];
10302 ["Offset of field: _php_core_globals::modules_activated"]
10303 [::std::mem::offset_of!(_php_core_globals, modules_activated) - 512usize];
10304 ["Offset of field: _php_core_globals::file_uploads"]
10305 [::std::mem::offset_of!(_php_core_globals, file_uploads) - 513usize];
10306 ["Offset of field: _php_core_globals::during_request_startup"]
10307 [::std::mem::offset_of!(_php_core_globals, during_request_startup) - 514usize];
10308 ["Offset of field: _php_core_globals::allow_url_fopen"]
10309 [::std::mem::offset_of!(_php_core_globals, allow_url_fopen) - 515usize];
10310 ["Offset of field: _php_core_globals::enable_post_data_reading"]
10311 [::std::mem::offset_of!(_php_core_globals, enable_post_data_reading) - 516usize];
10312 ["Offset of field: _php_core_globals::report_zend_debug"]
10313 [::std::mem::offset_of!(_php_core_globals, report_zend_debug) - 517usize];
10314 ["Offset of field: _php_core_globals::last_error_type"]
10315 [::std::mem::offset_of!(_php_core_globals, last_error_type) - 520usize];
10316 ["Offset of field: _php_core_globals::last_error_message"]
10317 [::std::mem::offset_of!(_php_core_globals, last_error_message) - 528usize];
10318 ["Offset of field: _php_core_globals::last_error_file"]
10319 [::std::mem::offset_of!(_php_core_globals, last_error_file) - 536usize];
10320 ["Offset of field: _php_core_globals::last_error_lineno"]
10321 [::std::mem::offset_of!(_php_core_globals, last_error_lineno) - 544usize];
10322 ["Offset of field: _php_core_globals::php_sys_temp_dir"]
10323 [::std::mem::offset_of!(_php_core_globals, php_sys_temp_dir) - 552usize];
10324 ["Offset of field: _php_core_globals::disable_classes"]
10325 [::std::mem::offset_of!(_php_core_globals, disable_classes) - 560usize];
10326 ["Offset of field: _php_core_globals::allow_url_include"]
10327 [::std::mem::offset_of!(_php_core_globals, allow_url_include) - 568usize];
10328 ["Offset of field: _php_core_globals::max_input_nesting_level"]
10329 [::std::mem::offset_of!(_php_core_globals, max_input_nesting_level) - 576usize];
10330 ["Offset of field: _php_core_globals::max_input_vars"]
10331 [::std::mem::offset_of!(_php_core_globals, max_input_vars) - 584usize];
10332 ["Offset of field: _php_core_globals::in_user_include"]
10333 [::std::mem::offset_of!(_php_core_globals, in_user_include) - 592usize];
10334 ["Offset of field: _php_core_globals::user_ini_filename"]
10335 [::std::mem::offset_of!(_php_core_globals, user_ini_filename) - 600usize];
10336 ["Offset of field: _php_core_globals::user_ini_cache_ttl"]
10337 [::std::mem::offset_of!(_php_core_globals, user_ini_cache_ttl) - 608usize];
10338 ["Offset of field: _php_core_globals::request_order"]
10339 [::std::mem::offset_of!(_php_core_globals, request_order) - 616usize];
10340 ["Offset of field: _php_core_globals::mail_x_header"]
10341 [::std::mem::offset_of!(_php_core_globals, mail_x_header) - 624usize];
10342 ["Offset of field: _php_core_globals::mail_log"]
10343 [::std::mem::offset_of!(_php_core_globals, mail_log) - 632usize];
10344 ["Offset of field: _php_core_globals::in_error_log"]
10345 [::std::mem::offset_of!(_php_core_globals, in_error_log) - 640usize];
10346 ["Offset of field: _php_core_globals::syslog_facility"]
10347 [::std::mem::offset_of!(_php_core_globals, syslog_facility) - 648usize];
10348 ["Offset of field: _php_core_globals::syslog_ident"]
10349 [::std::mem::offset_of!(_php_core_globals, syslog_ident) - 656usize];
10350 ["Offset of field: _php_core_globals::have_called_openlog"]
10351 [::std::mem::offset_of!(_php_core_globals, have_called_openlog) - 664usize];
10352 ["Offset of field: _php_core_globals::syslog_filter"]
10353 [::std::mem::offset_of!(_php_core_globals, syslog_filter) - 672usize];
10354};
10355extern "C" {
10356 pub static mut core_globals: _php_core_globals;
10357}
10358#[repr(C)]
10359#[derive(Debug, Copy, Clone)]
10360pub struct _arg_separators {
10361 pub output: *mut ::std::os::raw::c_char,
10362 pub input: *mut ::std::os::raw::c_char,
10363}
10364#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10365const _: () = {
10366 ["Size of _arg_separators"][::std::mem::size_of::<_arg_separators>() - 16usize];
10367 ["Alignment of _arg_separators"][::std::mem::align_of::<_arg_separators>() - 8usize];
10368 ["Offset of field: _arg_separators::output"]
10369 [::std::mem::offset_of!(_arg_separators, output) - 0usize];
10370 ["Offset of field: _arg_separators::input"]
10371 [::std::mem::offset_of!(_arg_separators, input) - 8usize];
10372};
10373pub type arg_separators = _arg_separators;
10374#[repr(C)]
10375#[derive(Debug, Copy, Clone)]
10376pub struct _zend_ini_entry_def {
10377 pub name: *const ::std::os::raw::c_char,
10378 pub on_modify: ::std::option::Option<
10379 unsafe extern "C" fn(
10380 entry: *mut zend_ini_entry,
10381 new_value: *mut zend_string,
10382 mh_arg1: *mut ::std::os::raw::c_void,
10383 mh_arg2: *mut ::std::os::raw::c_void,
10384 mh_arg3: *mut ::std::os::raw::c_void,
10385 stage: ::std::os::raw::c_int,
10386 ) -> ::std::os::raw::c_int,
10387 >,
10388 pub mh_arg1: *mut ::std::os::raw::c_void,
10389 pub mh_arg2: *mut ::std::os::raw::c_void,
10390 pub mh_arg3: *mut ::std::os::raw::c_void,
10391 pub value: *const ::std::os::raw::c_char,
10392 pub displayer: ::std::option::Option<
10393 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
10394 >,
10395 pub value_length: u32,
10396 pub name_length: u16,
10397 pub modifiable: u8,
10398}
10399#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10400const _: () = {
10401 ["Size of _zend_ini_entry_def"][::std::mem::size_of::<_zend_ini_entry_def>() - 64usize];
10402 ["Alignment of _zend_ini_entry_def"][::std::mem::align_of::<_zend_ini_entry_def>() - 8usize];
10403 ["Offset of field: _zend_ini_entry_def::name"]
10404 [::std::mem::offset_of!(_zend_ini_entry_def, name) - 0usize];
10405 ["Offset of field: _zend_ini_entry_def::on_modify"]
10406 [::std::mem::offset_of!(_zend_ini_entry_def, on_modify) - 8usize];
10407 ["Offset of field: _zend_ini_entry_def::mh_arg1"]
10408 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg1) - 16usize];
10409 ["Offset of field: _zend_ini_entry_def::mh_arg2"]
10410 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg2) - 24usize];
10411 ["Offset of field: _zend_ini_entry_def::mh_arg3"]
10412 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg3) - 32usize];
10413 ["Offset of field: _zend_ini_entry_def::value"]
10414 [::std::mem::offset_of!(_zend_ini_entry_def, value) - 40usize];
10415 ["Offset of field: _zend_ini_entry_def::displayer"]
10416 [::std::mem::offset_of!(_zend_ini_entry_def, displayer) - 48usize];
10417 ["Offset of field: _zend_ini_entry_def::value_length"]
10418 [::std::mem::offset_of!(_zend_ini_entry_def, value_length) - 56usize];
10419 ["Offset of field: _zend_ini_entry_def::name_length"]
10420 [::std::mem::offset_of!(_zend_ini_entry_def, name_length) - 60usize];
10421 ["Offset of field: _zend_ini_entry_def::modifiable"]
10422 [::std::mem::offset_of!(_zend_ini_entry_def, modifiable) - 62usize];
10423};
10424pub type zend_ini_entry_def = _zend_ini_entry_def;
10425#[repr(C)]
10426#[derive(Debug, Copy, Clone)]
10427pub struct _zend_ini_entry {
10428 pub name: *mut zend_string,
10429 pub on_modify: ::std::option::Option<
10430 unsafe extern "C" fn(
10431 entry: *mut zend_ini_entry,
10432 new_value: *mut zend_string,
10433 mh_arg1: *mut ::std::os::raw::c_void,
10434 mh_arg2: *mut ::std::os::raw::c_void,
10435 mh_arg3: *mut ::std::os::raw::c_void,
10436 stage: ::std::os::raw::c_int,
10437 ) -> ::std::os::raw::c_int,
10438 >,
10439 pub mh_arg1: *mut ::std::os::raw::c_void,
10440 pub mh_arg2: *mut ::std::os::raw::c_void,
10441 pub mh_arg3: *mut ::std::os::raw::c_void,
10442 pub value: *mut zend_string,
10443 pub orig_value: *mut zend_string,
10444 pub displayer: ::std::option::Option<
10445 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
10446 >,
10447 pub module_number: ::std::os::raw::c_int,
10448 pub modifiable: u8,
10449 pub orig_modifiable: u8,
10450 pub modified: u8,
10451}
10452#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10453const _: () = {
10454 ["Size of _zend_ini_entry"][::std::mem::size_of::<_zend_ini_entry>() - 72usize];
10455 ["Alignment of _zend_ini_entry"][::std::mem::align_of::<_zend_ini_entry>() - 8usize];
10456 ["Offset of field: _zend_ini_entry::name"]
10457 [::std::mem::offset_of!(_zend_ini_entry, name) - 0usize];
10458 ["Offset of field: _zend_ini_entry::on_modify"]
10459 [::std::mem::offset_of!(_zend_ini_entry, on_modify) - 8usize];
10460 ["Offset of field: _zend_ini_entry::mh_arg1"]
10461 [::std::mem::offset_of!(_zend_ini_entry, mh_arg1) - 16usize];
10462 ["Offset of field: _zend_ini_entry::mh_arg2"]
10463 [::std::mem::offset_of!(_zend_ini_entry, mh_arg2) - 24usize];
10464 ["Offset of field: _zend_ini_entry::mh_arg3"]
10465 [::std::mem::offset_of!(_zend_ini_entry, mh_arg3) - 32usize];
10466 ["Offset of field: _zend_ini_entry::value"]
10467 [::std::mem::offset_of!(_zend_ini_entry, value) - 40usize];
10468 ["Offset of field: _zend_ini_entry::orig_value"]
10469 [::std::mem::offset_of!(_zend_ini_entry, orig_value) - 48usize];
10470 ["Offset of field: _zend_ini_entry::displayer"]
10471 [::std::mem::offset_of!(_zend_ini_entry, displayer) - 56usize];
10472 ["Offset of field: _zend_ini_entry::module_number"]
10473 [::std::mem::offset_of!(_zend_ini_entry, module_number) - 64usize];
10474 ["Offset of field: _zend_ini_entry::modifiable"]
10475 [::std::mem::offset_of!(_zend_ini_entry, modifiable) - 68usize];
10476 ["Offset of field: _zend_ini_entry::orig_modifiable"]
10477 [::std::mem::offset_of!(_zend_ini_entry, orig_modifiable) - 69usize];
10478 ["Offset of field: _zend_ini_entry::modified"]
10479 [::std::mem::offset_of!(_zend_ini_entry, modified) - 70usize];
10480};
10481extern "C" {
10482 pub fn zend_ini_startup();
10483}
10484extern "C" {
10485 pub fn zend_ini_shutdown();
10486}
10487extern "C" {
10488 pub fn zend_ini_global_shutdown();
10489}
10490extern "C" {
10491 pub fn zend_ini_deactivate();
10492}
10493extern "C" {
10494 pub fn zend_ini_dtor(ini_directives: *mut HashTable);
10495}
10496extern "C" {
10497 pub fn zend_copy_ini_directives();
10498}
10499extern "C" {
10500 pub fn zend_ini_sort_entries();
10501}
10502extern "C" {
10503 pub fn zend_register_ini_entries(
10504 ini_entry: *const zend_ini_entry_def,
10505 module_number: ::std::os::raw::c_int,
10506 ) -> zend_result;
10507}
10508extern "C" {
10509 pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
10510}
10511extern "C" {
10512 pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
10513}
10514extern "C" {
10515 pub fn zend_alter_ini_entry(
10516 name: *mut zend_string,
10517 new_value: *mut zend_string,
10518 modify_type: ::std::os::raw::c_int,
10519 stage: ::std::os::raw::c_int,
10520 ) -> zend_result;
10521}
10522extern "C" {
10523 pub fn zend_alter_ini_entry_ex(
10524 name: *mut zend_string,
10525 new_value: *mut zend_string,
10526 modify_type: ::std::os::raw::c_int,
10527 stage: ::std::os::raw::c_int,
10528 force_change: bool,
10529 ) -> zend_result;
10530}
10531extern "C" {
10532 pub fn zend_alter_ini_entry_chars(
10533 name: *mut zend_string,
10534 value: *const ::std::os::raw::c_char,
10535 value_length: usize,
10536 modify_type: ::std::os::raw::c_int,
10537 stage: ::std::os::raw::c_int,
10538 ) -> zend_result;
10539}
10540extern "C" {
10541 pub fn zend_alter_ini_entry_chars_ex(
10542 name: *mut zend_string,
10543 value: *const ::std::os::raw::c_char,
10544 value_length: usize,
10545 modify_type: ::std::os::raw::c_int,
10546 stage: ::std::os::raw::c_int,
10547 force_change: ::std::os::raw::c_int,
10548 ) -> zend_result;
10549}
10550extern "C" {
10551 pub fn zend_restore_ini_entry(
10552 name: *mut zend_string,
10553 stage: ::std::os::raw::c_int,
10554 ) -> zend_result;
10555}
10556extern "C" {
10557 pub fn zend_ini_long(
10558 name: *const ::std::os::raw::c_char,
10559 name_length: usize,
10560 orig: ::std::os::raw::c_int,
10561 ) -> zend_long;
10562}
10563extern "C" {
10564 pub fn zend_ini_double(
10565 name: *const ::std::os::raw::c_char,
10566 name_length: usize,
10567 orig: ::std::os::raw::c_int,
10568 ) -> f64;
10569}
10570extern "C" {
10571 pub fn zend_ini_string(
10572 name: *const ::std::os::raw::c_char,
10573 name_length: usize,
10574 orig: ::std::os::raw::c_int,
10575 ) -> *mut ::std::os::raw::c_char;
10576}
10577extern "C" {
10578 pub fn zend_ini_string_ex(
10579 name: *const ::std::os::raw::c_char,
10580 name_length: usize,
10581 orig: ::std::os::raw::c_int,
10582 exists: *mut zend_bool,
10583 ) -> *mut ::std::os::raw::c_char;
10584}
10585extern "C" {
10586 pub fn zend_ini_get_value(name: *mut zend_string) -> *mut zend_string;
10587}
10588extern "C" {
10589 pub fn zend_ini_parse_bool(str_: *mut zend_string) -> zend_bool;
10590}
10591extern "C" {
10592 pub fn zend_ini_register_displayer(
10593 name: *const ::std::os::raw::c_char,
10594 name_length: u32,
10595 displayer: ::std::option::Option<
10596 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
10597 >,
10598 ) -> zend_result;
10599}
10600extern "C" {
10601 pub fn zend_ini_boolean_displayer_cb(
10602 ini_entry: *mut zend_ini_entry,
10603 type_: ::std::os::raw::c_int,
10604 );
10605}
10606extern "C" {
10607 pub fn zend_ini_color_displayer_cb(
10608 ini_entry: *mut zend_ini_entry,
10609 type_: ::std::os::raw::c_int,
10610 );
10611}
10612pub type zend_ini_parser_cb_t = ::std::option::Option<
10613 unsafe extern "C" fn(
10614 arg1: *mut zval,
10615 arg2: *mut zval,
10616 arg3: *mut zval,
10617 callback_type: ::std::os::raw::c_int,
10618 arg: *mut ::std::os::raw::c_void,
10619 ),
10620>;
10621extern "C" {
10622 pub fn zend_parse_ini_file(
10623 fh: *mut zend_file_handle,
10624 unbuffered_errors: zend_bool,
10625 scanner_mode: ::std::os::raw::c_int,
10626 ini_parser_cb: zend_ini_parser_cb_t,
10627 arg: *mut ::std::os::raw::c_void,
10628 ) -> ::std::os::raw::c_int;
10629}
10630extern "C" {
10631 pub fn zend_parse_ini_string(
10632 str_: *mut ::std::os::raw::c_char,
10633 unbuffered_errors: zend_bool,
10634 scanner_mode: ::std::os::raw::c_int,
10635 ini_parser_cb: zend_ini_parser_cb_t,
10636 arg: *mut ::std::os::raw::c_void,
10637 ) -> ::std::os::raw::c_int;
10638}
10639#[repr(C)]
10640#[derive(Debug, Copy, Clone)]
10641pub struct _zend_ini_parser_param {
10642 pub ini_parser_cb: zend_ini_parser_cb_t,
10643 pub arg: *mut ::std::os::raw::c_void,
10644}
10645#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10646const _: () = {
10647 ["Size of _zend_ini_parser_param"][::std::mem::size_of::<_zend_ini_parser_param>() - 16usize];
10648 ["Alignment of _zend_ini_parser_param"]
10649 [::std::mem::align_of::<_zend_ini_parser_param>() - 8usize];
10650 ["Offset of field: _zend_ini_parser_param::ini_parser_cb"]
10651 [::std::mem::offset_of!(_zend_ini_parser_param, ini_parser_cb) - 0usize];
10652 ["Offset of field: _zend_ini_parser_param::arg"]
10653 [::std::mem::offset_of!(_zend_ini_parser_param, arg) - 8usize];
10654};
10655pub type zend_ini_parser_param = _zend_ini_parser_param;
10656extern "C" {
10657 pub fn php_init_config() -> ::std::os::raw::c_int;
10658}
10659extern "C" {
10660 pub fn php_shutdown_config() -> ::std::os::raw::c_int;
10661}
10662extern "C" {
10663 pub fn php_ini_register_extensions();
10664}
10665extern "C" {
10666 pub fn php_parse_user_ini_file(
10667 dirname: *const ::std::os::raw::c_char,
10668 ini_filename: *const ::std::os::raw::c_char,
10669 target_hash: *mut HashTable,
10670 ) -> ::std::os::raw::c_int;
10671}
10672extern "C" {
10673 pub fn php_ini_activate_config(
10674 source_hash: *mut HashTable,
10675 modify_type: ::std::os::raw::c_int,
10676 stage: ::std::os::raw::c_int,
10677 );
10678}
10679extern "C" {
10680 pub fn php_ini_has_per_dir_config() -> ::std::os::raw::c_int;
10681}
10682extern "C" {
10683 pub fn php_ini_has_per_host_config() -> ::std::os::raw::c_int;
10684}
10685extern "C" {
10686 pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: usize);
10687}
10688extern "C" {
10689 pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: usize);
10690}
10691extern "C" {
10692 pub fn php_ini_get_configuration_hash() -> *mut HashTable;
10693}
10694extern "C" {
10695 pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
10696}
10697extern "C" {
10698 pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
10699}
10700extern "C" {
10701 pub fn php_check_open_basedir_ex(
10702 path: *const ::std::os::raw::c_char,
10703 warn: ::std::os::raw::c_int,
10704 ) -> ::std::os::raw::c_int;
10705}
10706extern "C" {
10707 pub fn php_check_specific_open_basedir(
10708 basedir: *const ::std::os::raw::c_char,
10709 path: *const ::std::os::raw::c_char,
10710 ) -> ::std::os::raw::c_int;
10711}
10712extern "C" {
10713 pub fn php_check_safe_mode_include_dir(
10714 path: *const ::std::os::raw::c_char,
10715 ) -> ::std::os::raw::c_int;
10716}
10717extern "C" {
10718 pub fn php_resolve_path(
10719 filename: *const ::std::os::raw::c_char,
10720 filename_len: usize,
10721 path: *const ::std::os::raw::c_char,
10722 ) -> *mut zend_string;
10723}
10724extern "C" {
10725 pub fn php_fopen_with_path(
10726 filename: *const ::std::os::raw::c_char,
10727 mode: *const ::std::os::raw::c_char,
10728 path: *const ::std::os::raw::c_char,
10729 opened_path: *mut *mut zend_string,
10730 ) -> *mut FILE;
10731}
10732extern "C" {
10733 pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
10734}
10735#[repr(C)]
10736#[derive(Debug, Copy, Clone)]
10737pub struct _cwd_state {
10738 pub cwd: *mut ::std::os::raw::c_char,
10739 pub cwd_length: usize,
10740}
10741#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10742const _: () = {
10743 ["Size of _cwd_state"][::std::mem::size_of::<_cwd_state>() - 16usize];
10744 ["Alignment of _cwd_state"][::std::mem::align_of::<_cwd_state>() - 8usize];
10745 ["Offset of field: _cwd_state::cwd"][::std::mem::offset_of!(_cwd_state, cwd) - 0usize];
10746 ["Offset of field: _cwd_state::cwd_length"]
10747 [::std::mem::offset_of!(_cwd_state, cwd_length) - 8usize];
10748};
10749pub type cwd_state = _cwd_state;
10750#[repr(C)]
10751#[derive(Debug, Copy, Clone)]
10752pub struct _realpath_cache_bucket {
10753 pub key: zend_ulong,
10754 pub path: *mut ::std::os::raw::c_char,
10755 pub realpath: *mut ::std::os::raw::c_char,
10756 pub next: *mut _realpath_cache_bucket,
10757 pub expires: time_t,
10758 pub path_len: u16,
10759 pub realpath_len: u16,
10760 pub _bitfield_align_1: [u8; 0],
10761 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
10762 pub __bindgen_padding_0: [u8; 3usize],
10763}
10764#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10765const _: () = {
10766 ["Size of _realpath_cache_bucket"][::std::mem::size_of::<_realpath_cache_bucket>() - 48usize];
10767 ["Alignment of _realpath_cache_bucket"]
10768 [::std::mem::align_of::<_realpath_cache_bucket>() - 8usize];
10769 ["Offset of field: _realpath_cache_bucket::key"]
10770 [::std::mem::offset_of!(_realpath_cache_bucket, key) - 0usize];
10771 ["Offset of field: _realpath_cache_bucket::path"]
10772 [::std::mem::offset_of!(_realpath_cache_bucket, path) - 8usize];
10773 ["Offset of field: _realpath_cache_bucket::realpath"]
10774 [::std::mem::offset_of!(_realpath_cache_bucket, realpath) - 16usize];
10775 ["Offset of field: _realpath_cache_bucket::next"]
10776 [::std::mem::offset_of!(_realpath_cache_bucket, next) - 24usize];
10777 ["Offset of field: _realpath_cache_bucket::expires"]
10778 [::std::mem::offset_of!(_realpath_cache_bucket, expires) - 32usize];
10779 ["Offset of field: _realpath_cache_bucket::path_len"]
10780 [::std::mem::offset_of!(_realpath_cache_bucket, path_len) - 40usize];
10781 ["Offset of field: _realpath_cache_bucket::realpath_len"]
10782 [::std::mem::offset_of!(_realpath_cache_bucket, realpath_len) - 42usize];
10783};
10784impl _realpath_cache_bucket {
10785 #[inline]
10786 pub fn is_dir(&self) -> u8 {
10787 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
10788 }
10789 #[inline]
10790 pub fn set_is_dir(&mut self, val: u8) {
10791 unsafe {
10792 let val: u8 = ::std::mem::transmute(val);
10793 self._bitfield_1.set(0usize, 1u8, val as u64)
10794 }
10795 }
10796 #[inline]
10797 pub fn new_bitfield_1(is_dir: u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
10798 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
10799 __bindgen_bitfield_unit.set(0usize, 1u8, {
10800 let is_dir: u8 = unsafe { ::std::mem::transmute(is_dir) };
10801 is_dir as u64
10802 });
10803 __bindgen_bitfield_unit
10804 }
10805}
10806pub type realpath_cache_bucket = _realpath_cache_bucket;
10807#[repr(C)]
10808#[derive(Debug, Copy, Clone)]
10809pub struct _virtual_cwd_globals {
10810 pub cwd: cwd_state,
10811 pub realpath_cache_size: zend_long,
10812 pub realpath_cache_size_limit: zend_long,
10813 pub realpath_cache_ttl: zend_long,
10814 pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
10815}
10816#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10817const _: () = {
10818 ["Size of _virtual_cwd_globals"][::std::mem::size_of::<_virtual_cwd_globals>() - 8232usize];
10819 ["Alignment of _virtual_cwd_globals"][::std::mem::align_of::<_virtual_cwd_globals>() - 8usize];
10820 ["Offset of field: _virtual_cwd_globals::cwd"]
10821 [::std::mem::offset_of!(_virtual_cwd_globals, cwd) - 0usize];
10822 ["Offset of field: _virtual_cwd_globals::realpath_cache_size"]
10823 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size) - 16usize];
10824 ["Offset of field: _virtual_cwd_globals::realpath_cache_size_limit"]
10825 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size_limit) - 24usize];
10826 ["Offset of field: _virtual_cwd_globals::realpath_cache_ttl"]
10827 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_ttl) - 32usize];
10828 ["Offset of field: _virtual_cwd_globals::realpath_cache"]
10829 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache) - 40usize];
10830};
10831pub type virtual_cwd_globals = _virtual_cwd_globals;
10832extern "C" {
10833 pub static mut cwd_globals: virtual_cwd_globals;
10834}
10835#[repr(C)]
10836#[derive(Copy, Clone)]
10837pub struct _zend_constant {
10838 pub value: zval,
10839 pub name: *mut zend_string,
10840}
10841#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10842const _: () = {
10843 ["Size of _zend_constant"][::std::mem::size_of::<_zend_constant>() - 24usize];
10844 ["Alignment of _zend_constant"][::std::mem::align_of::<_zend_constant>() - 8usize];
10845 ["Offset of field: _zend_constant::value"]
10846 [::std::mem::offset_of!(_zend_constant, value) - 0usize];
10847 ["Offset of field: _zend_constant::name"]
10848 [::std::mem::offset_of!(_zend_constant, name) - 16usize];
10849};
10850pub type zend_constant = _zend_constant;
10851extern "C" {
10852 pub fn zend_startup_constants();
10853}
10854extern "C" {
10855 pub fn zend_shutdown_constants();
10856}
10857extern "C" {
10858 pub fn zend_register_standard_constants();
10859}
10860extern "C" {
10861 pub fn zend_verify_const_access(c: *mut zend_class_constant, ce: *mut zend_class_entry)
10862 -> bool;
10863}
10864extern "C" {
10865 pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
10866}
10867extern "C" {
10868 pub fn zend_get_constant_str(name: *const ::std::os::raw::c_char, name_len: usize)
10869 -> *mut zval;
10870}
10871extern "C" {
10872 pub fn zend_get_constant_ex(
10873 name: *mut zend_string,
10874 scope: *mut zend_class_entry,
10875 flags: u32,
10876 ) -> *mut zval;
10877}
10878extern "C" {
10879 pub fn zend_register_bool_constant(
10880 name: *const ::std::os::raw::c_char,
10881 name_len: usize,
10882 bval: zend_bool,
10883 flags: ::std::os::raw::c_int,
10884 module_number: ::std::os::raw::c_int,
10885 );
10886}
10887extern "C" {
10888 pub fn zend_register_null_constant(
10889 name: *const ::std::os::raw::c_char,
10890 name_len: usize,
10891 flags: ::std::os::raw::c_int,
10892 module_number: ::std::os::raw::c_int,
10893 );
10894}
10895extern "C" {
10896 pub fn zend_register_long_constant(
10897 name: *const ::std::os::raw::c_char,
10898 name_len: usize,
10899 lval: zend_long,
10900 flags: ::std::os::raw::c_int,
10901 module_number: ::std::os::raw::c_int,
10902 );
10903}
10904extern "C" {
10905 pub fn zend_register_double_constant(
10906 name: *const ::std::os::raw::c_char,
10907 name_len: usize,
10908 dval: f64,
10909 flags: ::std::os::raw::c_int,
10910 module_number: ::std::os::raw::c_int,
10911 );
10912}
10913extern "C" {
10914 pub fn zend_register_string_constant(
10915 name: *const ::std::os::raw::c_char,
10916 name_len: usize,
10917 strval: *const ::std::os::raw::c_char,
10918 flags: ::std::os::raw::c_int,
10919 module_number: ::std::os::raw::c_int,
10920 );
10921}
10922extern "C" {
10923 pub fn zend_register_stringl_constant(
10924 name: *const ::std::os::raw::c_char,
10925 name_len: usize,
10926 strval: *const ::std::os::raw::c_char,
10927 strlen: usize,
10928 flags: ::std::os::raw::c_int,
10929 module_number: ::std::os::raw::c_int,
10930 );
10931}
10932extern "C" {
10933 pub fn zend_register_constant(c: *mut zend_constant) -> zend_result;
10934}
10935extern "C" {
10936 pub fn _zend_get_special_const(
10937 name: *const ::std::os::raw::c_char,
10938 name_len: usize,
10939 ) -> *mut zend_constant;
10940}
10941extern "C" {
10942 pub fn php_info_html_esc(string: *const ::std::os::raw::c_char) -> *mut zend_string;
10943}
10944extern "C" {
10945 pub fn php_print_info_htmlhead();
10946}
10947extern "C" {
10948 pub fn php_print_info(flag: ::std::os::raw::c_int);
10949}
10950extern "C" {
10951 pub fn php_print_style();
10952}
10953extern "C" {
10954 pub fn php_info_print_style();
10955}
10956extern "C" {
10957 pub fn php_info_print_table_colspan_header(
10958 num_cols: ::std::os::raw::c_int,
10959 header: *const ::std::os::raw::c_char,
10960 );
10961}
10962extern "C" {
10963 pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
10964}
10965extern "C" {
10966 pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
10967}
10968extern "C" {
10969 pub fn php_info_print_table_row_ex(
10970 num_cols: ::std::os::raw::c_int,
10971 arg1: *const ::std::os::raw::c_char,
10972 ...
10973 );
10974}
10975extern "C" {
10976 pub fn php_info_print_table_start();
10977}
10978extern "C" {
10979 pub fn php_info_print_table_end();
10980}
10981extern "C" {
10982 pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
10983}
10984extern "C" {
10985 pub fn php_info_print_box_end();
10986}
10987extern "C" {
10988 pub fn php_info_print_hr();
10989}
10990extern "C" {
10991 pub fn php_info_print_module(module: *mut zend_module_entry);
10992}
10993extern "C" {
10994 pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
10995}
10996#[repr(C)]
10997#[derive(Debug, Copy, Clone)]
10998pub struct _zend_extension_version_info {
10999 pub zend_extension_api_no: ::std::os::raw::c_int,
11000 pub build_id: *mut ::std::os::raw::c_char,
11001}
11002#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11003const _: () = {
11004 ["Size of _zend_extension_version_info"]
11005 [::std::mem::size_of::<_zend_extension_version_info>() - 16usize];
11006 ["Alignment of _zend_extension_version_info"]
11007 [::std::mem::align_of::<_zend_extension_version_info>() - 8usize];
11008 ["Offset of field: _zend_extension_version_info::zend_extension_api_no"]
11009 [::std::mem::offset_of!(_zend_extension_version_info, zend_extension_api_no) - 0usize];
11010 ["Offset of field: _zend_extension_version_info::build_id"]
11011 [::std::mem::offset_of!(_zend_extension_version_info, build_id) - 8usize];
11012};
11013pub type zend_extension_version_info = _zend_extension_version_info;
11014pub type zend_extension = _zend_extension;
11015pub type startup_func_t = ::std::option::Option<
11016 unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
11017>;
11018pub type shutdown_func_t =
11019 ::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
11020pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
11021pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
11022pub type message_handler_func_t = ::std::option::Option<
11023 unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
11024>;
11025pub type op_array_handler_func_t =
11026 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
11027pub type statement_handler_func_t =
11028 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
11029pub type fcall_begin_handler_func_t =
11030 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
11031pub type fcall_end_handler_func_t =
11032 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
11033pub type op_array_ctor_func_t =
11034 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
11035pub type op_array_dtor_func_t =
11036 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
11037pub type op_array_persist_calc_func_t =
11038 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array) -> usize>;
11039pub type op_array_persist_func_t = ::std::option::Option<
11040 unsafe extern "C" fn(op_array: *mut zend_op_array, mem: *mut ::std::os::raw::c_void) -> usize,
11041>;
11042#[repr(C)]
11043#[derive(Debug, Copy, Clone)]
11044pub struct _zend_extension {
11045 pub name: *mut ::std::os::raw::c_char,
11046 pub version: *mut ::std::os::raw::c_char,
11047 pub author: *mut ::std::os::raw::c_char,
11048 pub URL: *mut ::std::os::raw::c_char,
11049 pub copyright: *mut ::std::os::raw::c_char,
11050 pub startup: startup_func_t,
11051 pub shutdown: shutdown_func_t,
11052 pub activate: activate_func_t,
11053 pub deactivate: deactivate_func_t,
11054 pub message_handler: message_handler_func_t,
11055 pub op_array_handler: op_array_handler_func_t,
11056 pub statement_handler: statement_handler_func_t,
11057 pub fcall_begin_handler: fcall_begin_handler_func_t,
11058 pub fcall_end_handler: fcall_end_handler_func_t,
11059 pub op_array_ctor: op_array_ctor_func_t,
11060 pub op_array_dtor: op_array_dtor_func_t,
11061 pub api_no_check: ::std::option::Option<
11062 unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
11063 >,
11064 pub build_id_check: ::std::option::Option<
11065 unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
11066 >,
11067 pub op_array_persist_calc: op_array_persist_calc_func_t,
11068 pub op_array_persist: op_array_persist_func_t,
11069 pub reserved5: *mut ::std::os::raw::c_void,
11070 pub reserved6: *mut ::std::os::raw::c_void,
11071 pub reserved7: *mut ::std::os::raw::c_void,
11072 pub reserved8: *mut ::std::os::raw::c_void,
11073 pub handle: *mut ::std::os::raw::c_void,
11074 pub resource_number: ::std::os::raw::c_int,
11075}
11076#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11077const _: () = {
11078 ["Size of _zend_extension"][::std::mem::size_of::<_zend_extension>() - 208usize];
11079 ["Alignment of _zend_extension"][::std::mem::align_of::<_zend_extension>() - 8usize];
11080 ["Offset of field: _zend_extension::name"]
11081 [::std::mem::offset_of!(_zend_extension, name) - 0usize];
11082 ["Offset of field: _zend_extension::version"]
11083 [::std::mem::offset_of!(_zend_extension, version) - 8usize];
11084 ["Offset of field: _zend_extension::author"]
11085 [::std::mem::offset_of!(_zend_extension, author) - 16usize];
11086 ["Offset of field: _zend_extension::URL"]
11087 [::std::mem::offset_of!(_zend_extension, URL) - 24usize];
11088 ["Offset of field: _zend_extension::copyright"]
11089 [::std::mem::offset_of!(_zend_extension, copyright) - 32usize];
11090 ["Offset of field: _zend_extension::startup"]
11091 [::std::mem::offset_of!(_zend_extension, startup) - 40usize];
11092 ["Offset of field: _zend_extension::shutdown"]
11093 [::std::mem::offset_of!(_zend_extension, shutdown) - 48usize];
11094 ["Offset of field: _zend_extension::activate"]
11095 [::std::mem::offset_of!(_zend_extension, activate) - 56usize];
11096 ["Offset of field: _zend_extension::deactivate"]
11097 [::std::mem::offset_of!(_zend_extension, deactivate) - 64usize];
11098 ["Offset of field: _zend_extension::message_handler"]
11099 [::std::mem::offset_of!(_zend_extension, message_handler) - 72usize];
11100 ["Offset of field: _zend_extension::op_array_handler"]
11101 [::std::mem::offset_of!(_zend_extension, op_array_handler) - 80usize];
11102 ["Offset of field: _zend_extension::statement_handler"]
11103 [::std::mem::offset_of!(_zend_extension, statement_handler) - 88usize];
11104 ["Offset of field: _zend_extension::fcall_begin_handler"]
11105 [::std::mem::offset_of!(_zend_extension, fcall_begin_handler) - 96usize];
11106 ["Offset of field: _zend_extension::fcall_end_handler"]
11107 [::std::mem::offset_of!(_zend_extension, fcall_end_handler) - 104usize];
11108 ["Offset of field: _zend_extension::op_array_ctor"]
11109 [::std::mem::offset_of!(_zend_extension, op_array_ctor) - 112usize];
11110 ["Offset of field: _zend_extension::op_array_dtor"]
11111 [::std::mem::offset_of!(_zend_extension, op_array_dtor) - 120usize];
11112 ["Offset of field: _zend_extension::api_no_check"]
11113 [::std::mem::offset_of!(_zend_extension, api_no_check) - 128usize];
11114 ["Offset of field: _zend_extension::build_id_check"]
11115 [::std::mem::offset_of!(_zend_extension, build_id_check) - 136usize];
11116 ["Offset of field: _zend_extension::op_array_persist_calc"]
11117 [::std::mem::offset_of!(_zend_extension, op_array_persist_calc) - 144usize];
11118 ["Offset of field: _zend_extension::op_array_persist"]
11119 [::std::mem::offset_of!(_zend_extension, op_array_persist) - 152usize];
11120 ["Offset of field: _zend_extension::reserved5"]
11121 [::std::mem::offset_of!(_zend_extension, reserved5) - 160usize];
11122 ["Offset of field: _zend_extension::reserved6"]
11123 [::std::mem::offset_of!(_zend_extension, reserved6) - 168usize];
11124 ["Offset of field: _zend_extension::reserved7"]
11125 [::std::mem::offset_of!(_zend_extension, reserved7) - 176usize];
11126 ["Offset of field: _zend_extension::reserved8"]
11127 [::std::mem::offset_of!(_zend_extension, reserved8) - 184usize];
11128 ["Offset of field: _zend_extension::handle"]
11129 [::std::mem::offset_of!(_zend_extension, handle) - 192usize];
11130 ["Offset of field: _zend_extension::resource_number"]
11131 [::std::mem::offset_of!(_zend_extension, resource_number) - 200usize];
11132};
11133extern "C" {
11134 pub static mut zend_op_array_extension_handles: ::std::os::raw::c_int;
11135}
11136extern "C" {
11137 pub fn zend_get_resource_handle(
11138 module_name: *const ::std::os::raw::c_char,
11139 ) -> ::std::os::raw::c_int;
11140}
11141extern "C" {
11142 pub fn zend_get_op_array_extension_handle(
11143 module_name: *const ::std::os::raw::c_char,
11144 ) -> ::std::os::raw::c_int;
11145}
11146extern "C" {
11147 pub fn zend_extension_dispatch_message(
11148 message: ::std::os::raw::c_int,
11149 arg: *mut ::std::os::raw::c_void,
11150 );
11151}
11152extern "C" {
11153 pub static mut zend_extensions: zend_llist;
11154}
11155extern "C" {
11156 pub static mut zend_extension_flags: u32;
11157}
11158extern "C" {
11159 pub fn zend_extension_dtor(extension: *mut zend_extension);
11160}
11161extern "C" {
11162 pub fn zend_append_version_info(extension: *const zend_extension);
11163}
11164extern "C" {
11165 pub fn zend_startup_extensions_mechanism();
11166}
11167extern "C" {
11168 pub fn zend_startup_extensions();
11169}
11170extern "C" {
11171 pub fn zend_shutdown_extensions();
11172}
11173extern "C" {
11174 pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> zend_result;
11175}
11176extern "C" {
11177 pub fn zend_load_extension_handle(
11178 handle: *mut ::std::os::raw::c_void,
11179 path: *const ::std::os::raw::c_char,
11180 ) -> zend_result;
11181}
11182extern "C" {
11183 pub fn zend_register_extension(
11184 new_extension: *mut zend_extension,
11185 handle: *mut ::std::os::raw::c_void,
11186 );
11187}
11188extern "C" {
11189 pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
11190 -> *mut zend_extension;
11191}
11192extern "C" {
11193 pub fn zend_extensions_op_array_persist_calc(op_array: *mut zend_op_array) -> usize;
11194}
11195extern "C" {
11196 pub fn zend_extensions_op_array_persist(
11197 op_array: *mut zend_op_array,
11198 mem: *mut ::std::os::raw::c_void,
11199 ) -> usize;
11200}
11201pub const ZEND_MODULE_BUILD_ID_: &[u8; 16] = b"API20200930,NTS\0";
11202pub type __builtin_va_list = [__va_list_tag; 1usize];
11203#[repr(C)]
11204#[derive(Debug, Copy, Clone)]
11205pub struct __va_list_tag {
11206 pub gp_offset: ::std::os::raw::c_uint,
11207 pub fp_offset: ::std::os::raw::c_uint,
11208 pub overflow_arg_area: *mut ::std::os::raw::c_void,
11209 pub reg_save_area: *mut ::std::os::raw::c_void,
11210}
11211#[allow(clippy::unnecessary_operation, clippy::identity_op)]
11212const _: () = {
11213 ["Size of __va_list_tag"][::std::mem::size_of::<__va_list_tag>() - 24usize];
11214 ["Alignment of __va_list_tag"][::std::mem::align_of::<__va_list_tag>() - 8usize];
11215 ["Offset of field: __va_list_tag::gp_offset"]
11216 [::std::mem::offset_of!(__va_list_tag, gp_offset) - 0usize];
11217 ["Offset of field: __va_list_tag::fp_offset"]
11218 [::std::mem::offset_of!(__va_list_tag, fp_offset) - 4usize];
11219 ["Offset of field: __va_list_tag::overflow_arg_area"]
11220 [::std::mem::offset_of!(__va_list_tag, overflow_arg_area) - 8usize];
11221 ["Offset of field: __va_list_tag::reg_save_area"]
11222 [::std::mem::offset_of!(__va_list_tag, reg_save_area) - 16usize];
11223};