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 = 20170718;
92pub const PHP_DEFAULT_CHARSET: &[u8; 6] = b"UTF-8\0";
93pub const PHP_BUILD_DATE: &[u8; 11] = b"2021-02-23\0";
94pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
95pub const PHP_HAVE_BUILTIN_CLZ: u32 = 1;
96pub const PHP_HAVE_BUILTIN_CTZL: u32 = 1;
97pub const PHP_HAVE_BUILTIN_CTZLL: u32 = 1;
98pub const PHP_HAVE_BUILTIN_EXPECT: u32 = 1;
99pub const PHP_HAVE_BUILTIN_SADDLL_OVERFLOW: u32 = 1;
100pub const PHP_HAVE_BUILTIN_SADDL_OVERFLOW: u32 = 1;
101pub const PHP_HAVE_BUILTIN_SMULLL_OVERFLOW: u32 = 1;
102pub const PHP_HAVE_BUILTIN_SMULL_OVERFLOW: u32 = 1;
103pub const PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW: u32 = 1;
104pub const PHP_HAVE_BUILTIN_SSUBL_OVERFLOW: u32 = 1;
105pub const PHP_HAVE_STDINT_TYPES: u32 = 1;
106pub const PHP_MHASH_BC: u32 = 1;
107pub const PHP_OS: &[u8; 6] = b"Linux\0";
108pub const PHP_SIGCHILD: u32 = 0;
109pub const PHP_UNAME: &[u8; 6] = b"Linux\0";
110pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
111pub const PHP_WRITE_STDOUT: u32 = 1;
112pub const ZEND_BROKEN_SPRINTF: u32 = 0;
113pub const ZEND_DEBUG: u32 = 0;
114pub const ZEND_MM_ALIGNMENT: u32 = 8;
115pub const ZEND_MM_ALIGNMENT_LOG2: u32 = 3;
116pub const ZEND_SIGNALS: u32 = 1;
117pub const PHP_MAJOR_VERSION: u32 = 7;
118pub const PHP_MINOR_VERSION: u32 = 2;
119pub const PHP_RELEASE_VERSION: u32 = 34;
120pub const PHP_EXTRA_VERSION: &[u8; 38] = b"-18+0~20210223.60+debian9~1.gbpb21322\0";
121pub const PHP_VERSION: &[u8; 44] = b"7.2.34-18+0~20210223.60+debian9~1.gbpb21322\0";
122pub const PHP_VERSION_ID: u32 = 70234;
123pub const ZEND_VERSION: &[u8; 6] = b"3.2.0\0";
124pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
125pub const ZEND_ENABLE_ZVAL_LONG64: u32 = 1;
126pub const ZEND_LTOA_BUF_LEN: u32 = 65;
127pub const ZEND_LONG_FMT: &[u8; 4] = b"%ld\0";
128pub const ZEND_ULONG_FMT: &[u8; 4] = b"%lu\0";
129pub const ZEND_XLONG_FMT: &[u8; 4] = b"%lx\0";
130pub const ZEND_LONG_FMT_SPEC: &[u8; 3] = b"ld\0";
131pub const ZEND_ULONG_FMT_SPEC: &[u8; 3] = b"lu\0";
132pub const ZEND_ADDR_FMT: &[u8; 9] = b"0x%016zx\0";
133pub const ZEND_LONG_CAN_OVFL_INT: u32 = 1;
134pub const ZEND_LONG_CAN_OVFL_UINT: u32 = 1;
135pub const ZEND_SIZE_T_CAN_OVFL_UINT: u32 = 1;
136pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
137pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
138pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 6;
139pub const ZEND_SIZE_MAX: i32 = -1;
140pub const IS_UNDEF: u32 = 0;
141pub const IS_NULL: u32 = 1;
142pub const IS_FALSE: u32 = 2;
143pub const IS_TRUE: u32 = 3;
144pub const IS_LONG: u32 = 4;
145pub const IS_DOUBLE: u32 = 5;
146pub const IS_STRING: u32 = 6;
147pub const IS_ARRAY: u32 = 7;
148pub const IS_OBJECT: u32 = 8;
149pub const IS_RESOURCE: u32 = 9;
150pub const IS_REFERENCE: u32 = 10;
151pub const IS_CONSTANT: u32 = 11;
152pub const IS_CONSTANT_AST: u32 = 12;
153pub const _IS_BOOL: u32 = 13;
154pub const IS_CALLABLE: u32 = 14;
155pub const IS_ITERABLE: u32 = 19;
156pub const IS_VOID: u32 = 18;
157pub const IS_INDIRECT: u32 = 15;
158pub const IS_PTR: u32 = 17;
159pub const _IS_ERROR: u32 = 20;
160pub const Z_TYPE_MASK: u32 = 255;
161pub const Z_TYPE_FLAGS_SHIFT: u32 = 8;
162pub const Z_CONST_FLAGS_SHIFT: u32 = 16;
163pub const GC_FLAGS_SHIFT: u32 = 8;
164pub const GC_INFO_SHIFT: u32 = 16;
165pub const GC_INFO_MASK: u32 = 4294901760;
166pub const GC_COLLECTABLE: u32 = 128;
167pub const GC_ARRAY: u32 = 32775;
168pub const GC_OBJECT: u32 = 32776;
169pub const IS_TYPE_CONSTANT: u32 = 1;
170pub const IS_TYPE_REFCOUNTED: u32 = 4;
171pub const IS_TYPE_COPYABLE: u32 = 16;
172pub const IS_INTERNED_STRING_EX: u32 = 6;
173pub const IS_STRING_EX: u32 = 5126;
174pub const IS_ARRAY_EX: u32 = 5127;
175pub const IS_OBJECT_EX: u32 = 1032;
176pub const IS_RESOURCE_EX: u32 = 1033;
177pub const IS_REFERENCE_EX: u32 = 1034;
178pub const IS_CONSTANT_EX: u32 = 5387;
179pub const IS_CONSTANT_AST_EX: u32 = 5388;
180pub const IS_CONSTANT_UNQUALIFIED: u32 = 16;
181pub const IS_CONSTANT_VISITED_MARK: u32 = 32;
182pub const IS_CONSTANT_CLASS: u32 = 128;
183pub const IS_CONSTANT_IN_NAMESPACE: u32 = 256;
184pub const IS_STR_PERSISTENT: u32 = 1;
185pub const IS_STR_INTERNED: u32 = 2;
186pub const IS_STR_PERMANENT: u32 = 4;
187pub const IS_STR_CONSTANT: u32 = 8;
188pub const IS_STR_CONSTANT_UNQUALIFIED: u32 = 16;
189pub const IS_ARRAY_IMMUTABLE: u32 = 2;
190pub const IS_OBJ_APPLY_COUNT: u32 = 7;
191pub const IS_OBJ_DESTRUCTOR_CALLED: u32 = 8;
192pub const IS_OBJ_FREE_CALLED: u32 = 16;
193pub const IS_OBJ_USE_GUARDS: u32 = 32;
194pub const IS_OBJ_HAS_GUARDS: u32 = 64;
195pub const ZEND_MM_OVERHEAD: u32 = 0;
196pub const ZEND_MM_CHUNK_SIZE: u32 = 2097152;
197pub const ZEND_MM_PAGE_SIZE: u32 = 4096;
198pub const ZEND_MM_PAGES: u32 = 512;
199pub const ZEND_MM_FIRST_PAGE: u32 = 1;
200pub const ZEND_MM_MIN_SMALL_SIZE: u32 = 8;
201pub const ZEND_MM_MAX_SMALL_SIZE: u32 = 3072;
202pub const ZEND_MM_MAX_LARGE_SIZE: u32 = 2093056;
203pub const ZEND_MM_CUSTOM_HEAP_NONE: u32 = 0;
204pub const ZEND_MM_CUSTOM_HEAP_STD: u32 = 1;
205pub const ZEND_MM_CUSTOM_HEAP_DEBUG: u32 = 2;
206pub const HASH_KEY_IS_STRING: u32 = 1;
207pub const HASH_KEY_IS_LONG: u32 = 2;
208pub const HASH_KEY_NON_EXISTENT: u32 = 3;
209pub const HASH_UPDATE: u32 = 1;
210pub const HASH_ADD: u32 = 2;
211pub const HASH_UPDATE_INDIRECT: u32 = 4;
212pub const HASH_ADD_NEW: u32 = 8;
213pub const HASH_ADD_NEXT: u32 = 16;
214pub const HASH_FLAG_PERSISTENT: u32 = 1;
215pub const HASH_FLAG_APPLY_PROTECTION: u32 = 2;
216pub const HASH_FLAG_PACKED: u32 = 4;
217pub const HASH_FLAG_INITIALIZED: u32 = 8;
218pub const HASH_FLAG_STATIC_KEYS: u32 = 16;
219pub const HASH_FLAG_HAS_EMPTY_IND: u32 = 32;
220pub const HASH_FLAG_ALLOW_COW_VIOLATION: u32 = 64;
221pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
222pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
223pub const ZEND_HASH_APPLY_STOP: u32 = 2;
224pub const ZEND_HASH_APPLY_SHIFT: u32 = 8;
225pub const ZEND_HASH_APPLY_COUNT_MASK: u32 = 65280;
226pub const ZEND_AST_SPECIAL_SHIFT: u32 = 6;
227pub const ZEND_AST_IS_LIST_SHIFT: u32 = 7;
228pub const ZEND_AST_NUM_CHILDREN_SHIFT: u32 = 8;
229pub const GC_BENCH: u32 = 0;
230pub const GC_COLOR: u32 = 49152;
231pub const GC_BLACK: u32 = 0;
232pub const GC_WHITE: u32 = 32768;
233pub const GC_GREY: u32 = 16384;
234pub const GC_PURPLE: u32 = 49152;
235pub const ZEND_MMAP_AHEAD: u32 = 32;
236pub const ZEND_SIGNAL_QUEUE_SIZE: u32 = 64;
237pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
238pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
239pub const ZEND_USE_ABS_JMP_ADDR: u32 = 0;
240pub const ZEND_USE_ABS_CONST_ADDR: u32 = 0;
241pub const ZEND_EX_USE_LITERALS: u32 = 1;
242pub const ZEND_EX_USE_RUN_TIME_CACHE: u32 = 1;
243pub const ZEND_LIVE_TMPVAR: u32 = 0;
244pub const ZEND_LIVE_LOOP: u32 = 1;
245pub const ZEND_LIVE_SILENCE: u32 = 2;
246pub const ZEND_LIVE_ROPE: u32 = 3;
247pub const ZEND_LIVE_MASK: u32 = 3;
248pub const ZEND_ACC_STATIC: u32 = 1;
249pub const ZEND_ACC_ABSTRACT: u32 = 2;
250pub const ZEND_ACC_FINAL: u32 = 4;
251pub const ZEND_ACC_IMPLEMENTED_ABSTRACT: u32 = 8;
252pub const ZEND_ACC_PUBLIC: u32 = 256;
253pub const ZEND_ACC_PROTECTED: u32 = 512;
254pub const ZEND_ACC_PRIVATE: u32 = 1024;
255pub const ZEND_ACC_PPP_MASK: u32 = 1792;
256pub const ZEND_ACC_CHANGED: u32 = 2048;
257pub const ZEND_ACC_IMPLICIT_PUBLIC: u32 = 4096;
258pub const ZEND_ACC_CTOR: u32 = 8192;
259pub const ZEND_ACC_DTOR: u32 = 16384;
260pub const ZEND_ACC_USER_ARG_INFO: u32 = 128;
261pub const ZEND_ACC_ALLOW_STATIC: u32 = 65536;
262pub const ZEND_ACC_SHADOW: u32 = 131072;
263pub const ZEND_ACC_DEPRECATED: u32 = 262144;
264pub const ZEND_ACC_CLOSURE: u32 = 1048576;
265pub const ZEND_ACC_FAKE_CLOSURE: u32 = 64;
266pub const ZEND_ACC_GENERATOR: u32 = 8388608;
267pub const ZEND_ACC_NO_RT_ARENA: u32 = 524288;
268pub const ZEND_ACC_CALL_VIA_TRAMPOLINE: u32 = 2097152;
269pub const ZEND_ACC_CALL_VIA_HANDLER: u32 = 2097152;
270pub const ZEND_ACC_NEVER_CACHE: u32 = 4194304;
271pub const ZEND_ACC_VARIADIC: u32 = 16777216;
272pub const ZEND_ACC_RETURN_REFERENCE: u32 = 67108864;
273pub const ZEND_ACC_DONE_PASS_TWO: u32 = 134217728;
274pub const ZEND_ACC_USE_GUARDS: u32 = 16777216;
275pub const ZEND_ACC_HAS_TYPE_HINTS: u32 = 268435456;
276pub const ZEND_ACC_HAS_FINALLY_BLOCK: u32 = 536870912;
277pub const ZEND_ACC_ARENA_ALLOCATED: u32 = 536870912;
278pub const ZEND_ACC_HAS_RETURN_TYPE: u32 = 1073741824;
279pub const ZEND_ACC_STRICT_TYPES: u32 = 2147483648;
280pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
281pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 32;
282pub const ZEND_ACC_INTERFACE: u32 = 64;
283pub const ZEND_ACC_TRAIT: u32 = 128;
284pub const ZEND_ACC_ANON_CLASS: u32 = 256;
285pub const ZEND_ACC_ANON_BOUND: u32 = 512;
286pub const ZEND_ACC_INHERITED: u32 = 1024;
287pub const ZEND_ACC_IMPLEMENT_INTERFACES: u32 = 524288;
288pub const ZEND_ACC_IMPLEMENT_TRAITS: u32 = 4194304;
289pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 1048576;
290pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 8388608;
291pub const ZEND_RETURN_VALUE: u32 = 0;
292pub const ZEND_RETURN_REFERENCE: u32 = 1;
293pub const ZEND_CALL_FUNCTION: u32 = 0;
294pub const ZEND_CALL_CODE: u32 = 1;
295pub const ZEND_CALL_NESTED: u32 = 0;
296pub const ZEND_CALL_TOP: u32 = 2;
297pub const ZEND_CALL_FREE_EXTRA_ARGS: u32 = 4;
298pub const ZEND_CALL_CTOR: u32 = 8;
299pub const ZEND_CALL_HAS_SYMBOL_TABLE: u32 = 16;
300pub const ZEND_CALL_CLOSURE: u32 = 32;
301pub const ZEND_CALL_RELEASE_THIS: u32 = 64;
302pub const ZEND_CALL_ALLOCATED: u32 = 128;
303pub const ZEND_CALL_GENERATOR: u32 = 256;
304pub const ZEND_CALL_DYNAMIC: u32 = 512;
305pub const ZEND_CALL_FAKE_CLOSURE: u32 = 1024;
306pub const ZEND_CALL_INFO_SHIFT: u32 = 16;
307pub const IS_CONST: u32 = 1;
308pub const IS_TMP_VAR: u32 = 2;
309pub const IS_VAR: u32 = 4;
310pub const IS_UNUSED: u32 = 8;
311pub const IS_CV: u32 = 16;
312pub const ZEND_STACK_APPLY_TOPDOWN: u32 = 1;
313pub const ZEND_STACK_APPLY_BOTTOMUP: u32 = 2;
314pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
315pub const ZEND_ARENA_ALIGNMENT: u32 = 8;
316pub const ZEND_EARLY_BINDING_COMPILE_TIME: u32 = 0;
317pub const ZEND_EARLY_BINDING_DELAYED: u32 = 1;
318pub const ZEND_EARLY_BINDING_DELAYED_ALL: u32 = 2;
319pub const ZEND_VM_SPEC: u32 = 1;
320pub const ZEND_VM_LINES: u32 = 0;
321pub const ZEND_VM_KIND_CALL: u32 = 1;
322pub const ZEND_VM_KIND_SWITCH: u32 = 2;
323pub const ZEND_VM_KIND_GOTO: u32 = 3;
324pub const ZEND_VM_KIND_HYBRID: u32 = 4;
325pub const ZEND_VM_KIND: u32 = 4;
326pub const ZEND_VM_OP_SPEC: u32 = 1;
327pub const ZEND_VM_OP_CONST: u32 = 2;
328pub const ZEND_VM_OP_TMPVAR: u32 = 4;
329pub const ZEND_VM_OP_TMPVARCV: u32 = 8;
330pub const ZEND_VM_OP_MASK: u32 = 240;
331pub const ZEND_VM_OP_NUM: u32 = 16;
332pub const ZEND_VM_OP_JMP_ADDR: u32 = 32;
333pub const ZEND_VM_OP_TRY_CATCH: u32 = 48;
334pub const ZEND_VM_OP_LIVE_RANGE: u32 = 64;
335pub const ZEND_VM_OP_THIS: u32 = 80;
336pub const ZEND_VM_OP_NEXT: u32 = 96;
337pub const ZEND_VM_OP_CLASS_FETCH: u32 = 112;
338pub const ZEND_VM_OP_CONSTRUCTOR: u32 = 128;
339pub const ZEND_VM_EXT_VAR_FETCH: u32 = 65536;
340pub const ZEND_VM_EXT_ISSET: u32 = 131072;
341pub const ZEND_VM_EXT_ARG_NUM: u32 = 262144;
342pub const ZEND_VM_EXT_ARRAY_INIT: u32 = 524288;
343pub const ZEND_VM_EXT_REF: u32 = 1048576;
344pub const ZEND_VM_EXT_MASK: u32 = 251658240;
345pub const ZEND_VM_EXT_NUM: u32 = 16777216;
346pub const ZEND_VM_EXT_JMP_ADDR: u32 = 50331648;
347pub const ZEND_VM_EXT_DIM_OBJ: u32 = 67108864;
348pub const ZEND_VM_EXT_CLASS_FETCH: u32 = 83886080;
349pub const ZEND_VM_EXT_CONST_FETCH: u32 = 100663296;
350pub const ZEND_VM_EXT_TYPE: u32 = 117440512;
351pub const ZEND_VM_EXT_EVAL: u32 = 134217728;
352pub const ZEND_VM_EXT_SRC: u32 = 184549376;
353pub const ZEND_VM_NO_CONST_CONST: u32 = 1073741824;
354pub const ZEND_VM_COMMUTATIVE: u32 = 2147483648;
355pub const ZEND_NOP: u32 = 0;
356pub const ZEND_ADD: u32 = 1;
357pub const ZEND_SUB: u32 = 2;
358pub const ZEND_MUL: u32 = 3;
359pub const ZEND_DIV: u32 = 4;
360pub const ZEND_MOD: u32 = 5;
361pub const ZEND_SL: u32 = 6;
362pub const ZEND_SR: u32 = 7;
363pub const ZEND_CONCAT: u32 = 8;
364pub const ZEND_BW_OR: u32 = 9;
365pub const ZEND_BW_AND: u32 = 10;
366pub const ZEND_BW_XOR: u32 = 11;
367pub const ZEND_BW_NOT: u32 = 12;
368pub const ZEND_BOOL_NOT: u32 = 13;
369pub const ZEND_BOOL_XOR: u32 = 14;
370pub const ZEND_IS_IDENTICAL: u32 = 15;
371pub const ZEND_IS_NOT_IDENTICAL: u32 = 16;
372pub const ZEND_IS_EQUAL: u32 = 17;
373pub const ZEND_IS_NOT_EQUAL: u32 = 18;
374pub const ZEND_IS_SMALLER: u32 = 19;
375pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 20;
376pub const ZEND_CAST: u32 = 21;
377pub const ZEND_QM_ASSIGN: u32 = 22;
378pub const ZEND_ASSIGN_ADD: u32 = 23;
379pub const ZEND_ASSIGN_SUB: u32 = 24;
380pub const ZEND_ASSIGN_MUL: u32 = 25;
381pub const ZEND_ASSIGN_DIV: u32 = 26;
382pub const ZEND_ASSIGN_MOD: u32 = 27;
383pub const ZEND_ASSIGN_SL: u32 = 28;
384pub const ZEND_ASSIGN_SR: u32 = 29;
385pub const ZEND_ASSIGN_CONCAT: u32 = 30;
386pub const ZEND_ASSIGN_BW_OR: u32 = 31;
387pub const ZEND_ASSIGN_BW_AND: u32 = 32;
388pub const ZEND_ASSIGN_BW_XOR: u32 = 33;
389pub const ZEND_PRE_INC: u32 = 34;
390pub const ZEND_PRE_DEC: u32 = 35;
391pub const ZEND_POST_INC: u32 = 36;
392pub const ZEND_POST_DEC: u32 = 37;
393pub const ZEND_ASSIGN: u32 = 38;
394pub const ZEND_ASSIGN_REF: u32 = 39;
395pub const ZEND_ECHO: u32 = 40;
396pub const ZEND_GENERATOR_CREATE: u32 = 41;
397pub const ZEND_JMP: u32 = 42;
398pub const ZEND_JMPZ: u32 = 43;
399pub const ZEND_JMPNZ: u32 = 44;
400pub const ZEND_JMPZNZ: u32 = 45;
401pub const ZEND_JMPZ_EX: u32 = 46;
402pub const ZEND_JMPNZ_EX: u32 = 47;
403pub const ZEND_CASE: u32 = 48;
404pub const ZEND_CHECK_VAR: u32 = 49;
405pub const ZEND_SEND_VAR_NO_REF_EX: u32 = 50;
406pub const ZEND_MAKE_REF: u32 = 51;
407pub const ZEND_BOOL: u32 = 52;
408pub const ZEND_FAST_CONCAT: u32 = 53;
409pub const ZEND_ROPE_INIT: u32 = 54;
410pub const ZEND_ROPE_ADD: u32 = 55;
411pub const ZEND_ROPE_END: u32 = 56;
412pub const ZEND_BEGIN_SILENCE: u32 = 57;
413pub const ZEND_END_SILENCE: u32 = 58;
414pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
415pub const ZEND_DO_FCALL: u32 = 60;
416pub const ZEND_INIT_FCALL: u32 = 61;
417pub const ZEND_RETURN: u32 = 62;
418pub const ZEND_RECV: u32 = 63;
419pub const ZEND_RECV_INIT: u32 = 64;
420pub const ZEND_SEND_VAL: u32 = 65;
421pub const ZEND_SEND_VAR_EX: u32 = 66;
422pub const ZEND_SEND_REF: u32 = 67;
423pub const ZEND_NEW: u32 = 68;
424pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
425pub const ZEND_FREE: u32 = 70;
426pub const ZEND_INIT_ARRAY: u32 = 71;
427pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
428pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
429pub const ZEND_UNSET_VAR: u32 = 74;
430pub const ZEND_UNSET_DIM: u32 = 75;
431pub const ZEND_UNSET_OBJ: u32 = 76;
432pub const ZEND_FE_RESET_R: u32 = 77;
433pub const ZEND_FE_FETCH_R: u32 = 78;
434pub const ZEND_EXIT: u32 = 79;
435pub const ZEND_FETCH_R: u32 = 80;
436pub const ZEND_FETCH_DIM_R: u32 = 81;
437pub const ZEND_FETCH_OBJ_R: u32 = 82;
438pub const ZEND_FETCH_W: u32 = 83;
439pub const ZEND_FETCH_DIM_W: u32 = 84;
440pub const ZEND_FETCH_OBJ_W: u32 = 85;
441pub const ZEND_FETCH_RW: u32 = 86;
442pub const ZEND_FETCH_DIM_RW: u32 = 87;
443pub const ZEND_FETCH_OBJ_RW: u32 = 88;
444pub const ZEND_FETCH_IS: u32 = 89;
445pub const ZEND_FETCH_DIM_IS: u32 = 90;
446pub const ZEND_FETCH_OBJ_IS: u32 = 91;
447pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
448pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
449pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
450pub const ZEND_FETCH_UNSET: u32 = 95;
451pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
452pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
453pub const ZEND_FETCH_LIST: u32 = 98;
454pub const ZEND_FETCH_CONSTANT: u32 = 99;
455pub const ZEND_EXT_STMT: u32 = 101;
456pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
457pub const ZEND_EXT_FCALL_END: u32 = 103;
458pub const ZEND_EXT_NOP: u32 = 104;
459pub const ZEND_TICKS: u32 = 105;
460pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
461pub const ZEND_CATCH: u32 = 107;
462pub const ZEND_THROW: u32 = 108;
463pub const ZEND_FETCH_CLASS: u32 = 109;
464pub const ZEND_CLONE: u32 = 110;
465pub const ZEND_RETURN_BY_REF: u32 = 111;
466pub const ZEND_INIT_METHOD_CALL: u32 = 112;
467pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
468pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
469pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
470pub const ZEND_SEND_VAL_EX: u32 = 116;
471pub const ZEND_SEND_VAR: u32 = 117;
472pub const ZEND_INIT_USER_CALL: u32 = 118;
473pub const ZEND_SEND_ARRAY: u32 = 119;
474pub const ZEND_SEND_USER: u32 = 120;
475pub const ZEND_STRLEN: u32 = 121;
476pub const ZEND_DEFINED: u32 = 122;
477pub const ZEND_TYPE_CHECK: u32 = 123;
478pub const ZEND_VERIFY_RETURN_TYPE: u32 = 124;
479pub const ZEND_FE_RESET_RW: u32 = 125;
480pub const ZEND_FE_FETCH_RW: u32 = 126;
481pub const ZEND_FE_FREE: u32 = 127;
482pub const ZEND_INIT_DYNAMIC_CALL: u32 = 128;
483pub const ZEND_DO_ICALL: u32 = 129;
484pub const ZEND_DO_UCALL: u32 = 130;
485pub const ZEND_DO_FCALL_BY_NAME: u32 = 131;
486pub const ZEND_PRE_INC_OBJ: u32 = 132;
487pub const ZEND_PRE_DEC_OBJ: u32 = 133;
488pub const ZEND_POST_INC_OBJ: u32 = 134;
489pub const ZEND_POST_DEC_OBJ: u32 = 135;
490pub const ZEND_ASSIGN_OBJ: u32 = 136;
491pub const ZEND_OP_DATA: u32 = 137;
492pub const ZEND_INSTANCEOF: u32 = 138;
493pub const ZEND_DECLARE_CLASS: u32 = 139;
494pub const ZEND_DECLARE_INHERITED_CLASS: u32 = 140;
495pub const ZEND_DECLARE_FUNCTION: u32 = 141;
496pub const ZEND_YIELD_FROM: u32 = 142;
497pub const ZEND_DECLARE_CONST: u32 = 143;
498pub const ZEND_ADD_INTERFACE: u32 = 144;
499pub const ZEND_DECLARE_INHERITED_CLASS_DELAYED: u32 = 145;
500pub const ZEND_VERIFY_ABSTRACT_CLASS: u32 = 146;
501pub const ZEND_ASSIGN_DIM: u32 = 147;
502pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
503pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
504pub const ZEND_USER_OPCODE: u32 = 150;
505pub const ZEND_ASSERT_CHECK: u32 = 151;
506pub const ZEND_JMP_SET: u32 = 152;
507pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 153;
508pub const ZEND_ADD_TRAIT: u32 = 154;
509pub const ZEND_BIND_TRAITS: u32 = 155;
510pub const ZEND_SEPARATE: u32 = 156;
511pub const ZEND_FETCH_CLASS_NAME: u32 = 157;
512pub const ZEND_CALL_TRAMPOLINE: u32 = 158;
513pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
514pub const ZEND_YIELD: u32 = 160;
515pub const ZEND_GENERATOR_RETURN: u32 = 161;
516pub const ZEND_FAST_CALL: u32 = 162;
517pub const ZEND_FAST_RET: u32 = 163;
518pub const ZEND_RECV_VARIADIC: u32 = 164;
519pub const ZEND_SEND_UNPACK: u32 = 165;
520pub const ZEND_POW: u32 = 166;
521pub const ZEND_ASSIGN_POW: u32 = 167;
522pub const ZEND_BIND_GLOBAL: u32 = 168;
523pub const ZEND_COALESCE: u32 = 169;
524pub const ZEND_SPACESHIP: u32 = 170;
525pub const ZEND_DECLARE_ANON_CLASS: u32 = 171;
526pub const ZEND_DECLARE_ANON_INHERITED_CLASS: u32 = 172;
527pub const ZEND_FETCH_STATIC_PROP_R: u32 = 173;
528pub const ZEND_FETCH_STATIC_PROP_W: u32 = 174;
529pub const ZEND_FETCH_STATIC_PROP_RW: u32 = 175;
530pub const ZEND_FETCH_STATIC_PROP_IS: u32 = 176;
531pub const ZEND_FETCH_STATIC_PROP_FUNC_ARG: u32 = 177;
532pub const ZEND_FETCH_STATIC_PROP_UNSET: u32 = 178;
533pub const ZEND_UNSET_STATIC_PROP: u32 = 179;
534pub const ZEND_ISSET_ISEMPTY_STATIC_PROP: u32 = 180;
535pub const ZEND_FETCH_CLASS_CONSTANT: u32 = 181;
536pub const ZEND_BIND_LEXICAL: u32 = 182;
537pub const ZEND_BIND_STATIC: u32 = 183;
538pub const ZEND_FETCH_THIS: u32 = 184;
539pub const ZEND_ISSET_ISEMPTY_THIS: u32 = 186;
540pub const ZEND_SWITCH_LONG: u32 = 187;
541pub const ZEND_SWITCH_STRING: u32 = 188;
542pub const ZEND_IN_ARRAY: u32 = 189;
543pub const ZEND_COUNT: u32 = 190;
544pub const ZEND_GET_CLASS: u32 = 191;
545pub const ZEND_GET_CALLED_CLASS: u32 = 192;
546pub const ZEND_GET_TYPE: u32 = 193;
547pub const ZEND_FUNC_NUM_ARGS: u32 = 194;
548pub const ZEND_FUNC_GET_ARGS: u32 = 195;
549pub const ZEND_UNSET_CV: u32 = 196;
550pub const ZEND_ISSET_ISEMPTY_CV: u32 = 197;
551pub const ZEND_VM_LAST_OPCODE: u32 = 197;
552pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
553pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
554pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
555pub const ZEND_FETCH_CLASS_STATIC: u32 = 3;
556pub const ZEND_FETCH_CLASS_AUTO: u32 = 4;
557pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 5;
558pub const ZEND_FETCH_CLASS_TRAIT: u32 = 6;
559pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
560pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
561pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
562pub const ZEND_FETCH_CLASS_EXCEPTION: u32 = 512;
563pub const ZEND_PARAM_REF: u32 = 1;
564pub const ZEND_PARAM_VARIADIC: u32 = 2;
565pub const ZEND_NAME_FQ: u32 = 0;
566pub const ZEND_NAME_NOT_FQ: u32 = 1;
567pub const ZEND_NAME_RELATIVE: u32 = 2;
568pub const ZEND_TYPE_NULLABLE: u32 = 256;
569pub const ZEND_ARRAY_SYNTAX_LIST: u32 = 1;
570pub const ZEND_ARRAY_SYNTAX_LONG: u32 = 2;
571pub const ZEND_ARRAY_SYNTAX_SHORT: u32 = 3;
572pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
573pub const ZEND_USER_FUNCTION: u32 = 2;
574pub const ZEND_OVERLOADED_FUNCTION: u32 = 3;
575pub const ZEND_EVAL_CODE: u32 = 4;
576pub const ZEND_OVERLOADED_FUNCTION_TEMPORARY: u32 = 5;
577pub const ZEND_INTERNAL_CLASS: u32 = 1;
578pub const ZEND_USER_CLASS: u32 = 2;
579pub const ZEND_EVAL: u32 = 1;
580pub const ZEND_INCLUDE: u32 = 2;
581pub const ZEND_INCLUDE_ONCE: u32 = 4;
582pub const ZEND_REQUIRE: u32 = 8;
583pub const ZEND_REQUIRE_ONCE: u32 = 16;
584pub const ZEND_CT: u32 = 1;
585pub const ZEND_RT: u32 = 2;
586pub const ZEND_FETCH_GLOBAL: u32 = 0;
587pub const ZEND_FETCH_LOCAL: u32 = 268435456;
588pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 1073741824;
589pub const ZEND_FETCH_TYPE_MASK: u32 = 1879048192;
590pub const ZEND_FETCH_STANDARD: u32 = 0;
591pub const ZEND_ISSET: u32 = 33554432;
592pub const ZEND_ISEMPTY: u32 = 16777216;
593pub const ZEND_ISSET_ISEMPTY_MASK: u32 = 50331648;
594pub const ZEND_FETCH_ARG_MASK: u32 = 1048575;
595pub const ZEND_FREE_ON_RETURN: u32 = 1;
596pub const ZEND_SEND_BY_VAL: u32 = 0;
597pub const ZEND_SEND_BY_REF: u32 = 1;
598pub const ZEND_SEND_PREFER_REF: u32 = 2;
599pub const ZEND_DIM_IS: u32 = 1;
600pub const ZEND_RETURN_VAL: u32 = 0;
601pub const ZEND_RETURN_REF: u32 = 1;
602pub const ZEND_RETURNS_FUNCTION: u32 = 1;
603pub const ZEND_RETURNS_VALUE: u32 = 2;
604pub const ZEND_ARRAY_ELEMENT_REF: u32 = 1;
605pub const ZEND_ARRAY_NOT_PACKED: u32 = 2;
606pub const ZEND_ARRAY_SIZE_SHIFT: u32 = 2;
607pub const ZEND_SYMBOL_CLASS: u32 = 1;
608pub const ZEND_SYMBOL_FUNCTION: u32 = 2;
609pub const ZEND_SYMBOL_CONST: u32 = 4;
610pub const ZEND_GOTO: u32 = 253;
611pub const ZEND_BRK: u32 = 254;
612pub const ZEND_CONT: u32 = 255;
613pub const ZEND_CLONE_FUNC_NAME: &[u8; 8] = b"__clone\0";
614pub const ZEND_CONSTRUCTOR_FUNC_NAME: &[u8; 12] = b"__construct\0";
615pub const ZEND_DESTRUCTOR_FUNC_NAME: &[u8; 11] = b"__destruct\0";
616pub const ZEND_GET_FUNC_NAME: &[u8; 6] = b"__get\0";
617pub const ZEND_SET_FUNC_NAME: &[u8; 6] = b"__set\0";
618pub const ZEND_UNSET_FUNC_NAME: &[u8; 8] = b"__unset\0";
619pub const ZEND_ISSET_FUNC_NAME: &[u8; 8] = b"__isset\0";
620pub const ZEND_CALL_FUNC_NAME: &[u8; 7] = b"__call\0";
621pub const ZEND_CALLSTATIC_FUNC_NAME: &[u8; 13] = b"__callstatic\0";
622pub const ZEND_TOSTRING_FUNC_NAME: &[u8; 11] = b"__tostring\0";
623pub const ZEND_AUTOLOAD_FUNC_NAME: &[u8; 11] = b"__autoload\0";
624pub const ZEND_INVOKE_FUNC_NAME: &[u8; 9] = b"__invoke\0";
625pub const ZEND_DEBUGINFO_FUNC_NAME: &[u8; 12] = b"__debuginfo\0";
626pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 1;
627pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 2;
628pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 4;
629pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 8;
630pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 16;
631pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 32;
632pub const ZEND_COMPILE_NO_BUILTIN_STRLEN: u32 = 64;
633pub const ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION: u32 = 128;
634pub const ZEND_COMPILE_IGNORE_USER_FUNCTIONS: u32 = 256;
635pub const ZEND_COMPILE_GUARDS: u32 = 512;
636pub const ZEND_COMPILE_NO_BUILTINS: u32 = 1024;
637pub const ZEND_COMPILE_NO_JUMPTABLES: u32 = 2048;
638pub const ZEND_COMPILE_DEFAULT: u32 = 2;
639pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
640pub const ZEND_BUILD_TS: &[u8; 5] = b",NTS\0";
641pub const ZEND_MODULE_API_NO: u32 = 20170718;
642pub const USING_ZTS: u32 = 0;
643pub const MODULE_PERSISTENT: u32 = 1;
644pub const MODULE_TEMPORARY: u32 = 2;
645pub const MODULE_DEP_REQUIRED: u32 = 1;
646pub const MODULE_DEP_CONFLICTS: u32 = 2;
647pub const MODULE_DEP_OPTIONAL: u32 = 3;
648pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
649pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
650pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
651pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
652pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
653pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
654pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
655pub const ZEND_PARSE_PARAMS_THROW: u32 = 4;
656pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
657pub const IS_CALLABLE_CHECK_NO_ACCESS: u32 = 2;
658pub const IS_CALLABLE_CHECK_IS_STATIC: u32 = 4;
659pub const IS_CALLABLE_CHECK_SILENT: u32 = 8;
660pub const IS_CALLABLE_STRICT: u32 = 4;
661pub const PHP_OS_FAMILY: &[u8; 6] = b"Linux\0";
662pub const PHP_DEBUG: u32 = 0;
663pub const PHP_DIR_SEPARATOR: u8 = 47u8;
664pub const PHP_EOL: &[u8; 2] = b"\n\0";
665pub const PHP_ADA_INCLUDE: &[u8; 1] = b"\0";
666pub const PHP_ADA_LFLAGS: &[u8; 1] = b"\0";
667pub const PHP_ADA_LIBS: &[u8; 1] = b"\0";
668pub const PHP_APACHE_INCLUDE: &[u8; 1] = b"\0";
669pub const PHP_APACHE_TARGET: &[u8; 1] = b"\0";
670pub const PHP_FHTTPD_INCLUDE: &[u8; 1] = b"\0";
671pub const PHP_FHTTPD_LIB: &[u8; 1] = b"\0";
672pub const PHP_FHTTPD_TARGET: &[u8; 1] = b"\0";
673pub const PHP_CFLAGS: &[u8; 40] = b"$(CFLAGS_CLEAN) -prefer-non-pic -static\0";
674pub const PHP_DBASE_LIB: &[u8; 1] = b"\0";
675pub const PHP_BUILD_DEBUG: &[u8; 1] = b"\0";
676pub const PHP_GDBM_INCLUDE: &[u8; 1] = b"\0";
677pub const PHP_IBASE_INCLUDE: &[u8; 1] = b"\0";
678pub const PHP_IBASE_LFLAGS: &[u8; 1] = b"\0";
679pub const PHP_IBASE_LIBS: &[u8; 1] = b"\0";
680pub const PHP_IFX_INCLUDE: &[u8; 1] = b"\0";
681pub const PHP_IFX_LFLAGS: &[u8; 1] = b"\0";
682pub const PHP_IFX_LIBS: &[u8; 1] = b"\0";
683pub const PHP_INSTALL_IT: &[u8; 1] = b"\0";
684pub const PHP_IODBC_INCLUDE: &[u8; 1] = b"\0";
685pub const PHP_IODBC_LFLAGS: &[u8; 1] = b"\0";
686pub const PHP_IODBC_LIBS: &[u8; 1] = b"\0";
687pub const PHP_MSQL_INCLUDE: &[u8; 1] = b"\0";
688pub const PHP_MSQL_LFLAGS: &[u8; 1] = b"\0";
689pub const PHP_MSQL_LIBS: &[u8; 1] = b"\0";
690pub const PHP_MYSQL_INCLUDE: &[u8; 16] = b"@MYSQL_INCLUDE@\0";
691pub const PHP_MYSQL_LIBS: &[u8; 13] = b"@MYSQL_LIBS@\0";
692pub const PHP_MYSQL_TYPE: &[u8; 20] = b"@MYSQL_MODULE_TYPE@\0";
693pub const PHP_ODBC_INCLUDE: &[u8; 1] = b"\0";
694pub const PHP_ODBC_LFLAGS: &[u8; 1] = b"\0";
695pub const PHP_ODBC_LIBS: &[u8; 1] = b"\0";
696pub const PHP_ODBC_TYPE: &[u8; 1] = b"\0";
697pub const PHP_OCI8_SHARED_LIBADD: &[u8; 1] = b"\0";
698pub const PHP_OCI8_DIR: &[u8; 1] = b"\0";
699pub const PHP_OCI8_ORACLE_VERSION: &[u8; 1] = b"\0";
700pub const PHP_ORACLE_SHARED_LIBADD: &[u8; 23] = b"@ORACLE_SHARED_LIBADD@\0";
701pub const PHP_ORACLE_DIR: &[u8; 13] = b"@ORACLE_DIR@\0";
702pub const PHP_ORACLE_VERSION: &[u8; 17] = b"@ORACLE_VERSION@\0";
703pub const PHP_PGSQL_INCLUDE: &[u8; 1] = b"\0";
704pub const PHP_PGSQL_LFLAGS: &[u8; 1] = b"\0";
705pub const PHP_PGSQL_LIBS: &[u8; 1] = b"\0";
706pub const PHP_PROG_SENDMAIL: &[u8; 19] = b"/usr/sbin/sendmail\0";
707pub const PHP_SOLID_INCLUDE: &[u8; 1] = b"\0";
708pub const PHP_SOLID_LIBS: &[u8; 1] = b"\0";
709pub const PHP_EMPRESS_INCLUDE: &[u8; 1] = b"\0";
710pub const PHP_EMPRESS_LIBS: &[u8; 1] = b"\0";
711pub const PHP_SYBASE_INCLUDE: &[u8; 1] = b"\0";
712pub const PHP_SYBASE_LFLAGS: &[u8; 1] = b"\0";
713pub const PHP_SYBASE_LIBS: &[u8; 1] = b"\0";
714pub const PHP_DBM_TYPE: &[u8; 1] = b"\0";
715pub const PHP_DBM_LIB: &[u8; 1] = b"\0";
716pub const PHP_LDAP_LFLAGS: &[u8; 1] = b"\0";
717pub const PHP_LDAP_INCLUDE: &[u8; 1] = b"\0";
718pub const PHP_LDAP_LIBS: &[u8; 1] = b"\0";
719pub const PHP_BIRDSTEP_INCLUDE: &[u8; 1] = b"\0";
720pub const PHP_BIRDSTEP_LIBS: &[u8; 1] = b"\0";
721pub const PHP_INCLUDE_PATH: &[u8; 17] = b".:/usr/share/php\0";
722pub const PHP_EXTENSION_DIR: &[u8; 22] = b"/usr/lib/php/20170718\0";
723pub const PHP_PREFIX: &[u8; 5] = b"/usr\0";
724pub const PHP_BINDIR: &[u8; 9] = b"/usr/bin\0";
725pub const PHP_SBINDIR: &[u8; 10] = b"/usr/sbin\0";
726pub const PHP_MANDIR: &[u8; 15] = b"/usr/share/man\0";
727pub const PHP_LIBDIR: &[u8; 13] = b"/usr/lib/php\0";
728pub const PHP_DATADIR: &[u8; 19] = b"/usr/share/php/7.2\0";
729pub const PHP_SYSCONFDIR: &[u8; 5] = b"/etc\0";
730pub const PHP_LOCALSTATEDIR: &[u8; 5] = b"/var\0";
731pub const PHP_CONFIG_FILE_PATH: &[u8; 17] = b"/etc/php/7.2/cli\0";
732pub const PHP_CONFIG_FILE_SCAN_DIR: &[u8; 24] = b"/etc/php/7.2/cli/conf.d\0";
733pub const PHP_SHLIB_SUFFIX: &[u8; 3] = b"so\0";
734pub const PHP_SHLIB_EXT_PREFIX: &[u8; 1] = b"\0";
735pub const PHP_MIME_TYPE: &[u8; 24] = b"application/x-httpd-php\0";
736pub const PHP_OUTPUT_NEWAPI: u32 = 1;
737pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
738pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
739pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
740pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
741pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
742pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
743pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
744pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
745pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
746pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
747pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
748pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
749pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
750pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
751pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
752pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
753pub const PHP_OUTPUT_POP_TRY: u32 = 0;
754pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
755pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
756pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
757pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
758pub const PHP_OUTPUT_DISABLED: u32 = 2;
759pub const PHP_OUTPUT_WRITTEN: u32 = 4;
760pub const PHP_OUTPUT_SENT: u32 = 8;
761pub const PHP_OUTPUT_ACTIVE: u32 = 16;
762pub const PHP_OUTPUT_LOCKED: u32 = 32;
763pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
764pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
765pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
766pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
767pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
768pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
769pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
770pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
771pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
772pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
773pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
774pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
775pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
776pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
777pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
778pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
779pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
780pub const PHP_STREAM_FILTER_READ: u32 = 1;
781pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
782pub const PHP_STREAM_FILTER_ALL: u32 = 3;
783pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
784pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
785pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
786pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
787pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
788pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
789pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
790pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
791pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
792pub const PHP_STREAM_FLAG_WAS_WRITTEN: u32 = 2147483648;
793pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
794pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
795pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
796pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
797pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
798pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
799pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
800pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
801pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
802pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
803pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
804pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
805pub const PHP_STREAM_FREE_KEEP_RSRC: u32 = 64;
806pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
807pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
808pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
809pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
810pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
811pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
812pub const PHP_STREAM_URL_STAT_NOCACHE: u32 = 4;
813pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
814pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
815pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
816pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
817pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
818pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
819pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
820pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
821pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
822pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
823pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
824pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
825pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
826pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
827pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
828pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
829pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
830pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
831pub const PHP_STREAM_OPTION_PIPE_BLOCKING: u32 = 13;
832pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
833pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
834pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
835pub const PHP_STREAM_MMAP_ALL: u32 = 0;
836pub const PHP_STREAM_AS_STDIO: u32 = 0;
837pub const PHP_STREAM_AS_FD: u32 = 1;
838pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
839pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
840pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
841pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
842pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
843pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
844pub const PHP_STREAM_UNCHANGED: u32 = 0;
845pub const PHP_STREAM_RELEASED: u32 = 1;
846pub const PHP_STREAM_FAILED: u32 = 2;
847pub const PHP_STREAM_CRITICAL: u32 = 3;
848pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
849pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
850pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
851pub const PHP_STREAM_IS_URL: u32 = 1;
852pub const PHP_STREAM_META_TOUCH: u32 = 1;
853pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
854pub const PHP_STREAM_META_OWNER: u32 = 3;
855pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
856pub const PHP_STREAM_META_GROUP: u32 = 5;
857pub const PHP_STREAM_META_ACCESS: u32 = 6;
858pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
859pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
860pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
861pub const ZEND_INI_USER: u32 = 1;
862pub const ZEND_INI_PERDIR: u32 = 2;
863pub const ZEND_INI_SYSTEM: u32 = 4;
864pub const ZEND_INI_ALL: u32 = 7;
865pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
866pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
867pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
868pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
869pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
870pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
871pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
872pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
873pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
874pub const ZEND_INI_PARSER_SECTION: u32 = 2;
875pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
876pub const PHP_INI_USER: u32 = 1;
877pub const PHP_INI_PERDIR: u32 = 2;
878pub const PHP_INI_SYSTEM: u32 = 4;
879pub const PHP_INI_ALL: u32 = 7;
880pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
881pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
882pub const PHP_INI_STAGE_STARTUP: u32 = 1;
883pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
884pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
885pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
886pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
887pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
888pub const PHP_CONNECTION_NORMAL: u32 = 0;
889pub const PHP_CONNECTION_ABORTED: u32 = 1;
890pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
891pub const PHP_ENTRY_NAME_COLOR: &[u8; 5] = b"#ccf\0";
892pub const PHP_CONTENTS_COLOR: &[u8; 5] = b"#ccc\0";
893pub const PHP_HEADER_COLOR: &[u8; 5] = b"#99c\0";
894pub const PHP_INFO_GENERAL: u32 = 1;
895pub const PHP_INFO_CREDITS: u32 = 2;
896pub const PHP_INFO_CONFIGURATION: u32 = 4;
897pub const PHP_INFO_MODULES: u32 = 8;
898pub const PHP_INFO_ENVIRONMENT: u32 = 16;
899pub const PHP_INFO_VARIABLES: u32 = 32;
900pub const PHP_INFO_LICENSE: u32 = 64;
901pub const PHP_INFO_ALL: u32 = 4294967295;
902pub const PHP_CREDITS_GROUP: u32 = 1;
903pub const PHP_CREDITS_GENERAL: u32 = 2;
904pub const PHP_CREDITS_SAPI: u32 = 4;
905pub const PHP_CREDITS_MODULES: u32 = 8;
906pub const PHP_CREDITS_DOCS: u32 = 16;
907pub const PHP_CREDITS_FULLPAGE: u32 = 32;
908pub const PHP_CREDITS_QA: u32 = 64;
909pub const PHP_CREDITS_WEB: u32 = 128;
910pub const PHP_CREDITS_PACKAGING: u32 = 256;
911pub const PHP_CREDITS_ALL: u32 = 4294967295;
912pub const PHP_LOGO_DATA_URI : & [u8 ; 5439] = b"data:image/png;base64,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\0" ;
913pub const PHP_EGG_LOGO_DATA_URI : & [u8 ; 8231] = b"data:image/png;base64,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\0" ;
914pub const ZEND_LOGO_DATA_URI : & [u8 ; 6083] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAAAvCAYAAADKH9ehAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAEWJJREFUeNrsXQl0VNUZvjNJSAgEAxHCGsNitSBFxB1l0boUW1pp3VAUrKLWKgUPUlEB13K0Yq1alaXWuh5EadWK1F0s1gJaoaCgQDRKBBJDVhKSzPR+zPfg5vLevCUzmZnwvnP+k8ybN3fevfff73/vBAJTHxc+khL5kr6T1ODk5nAgTRTWloghFVtEg/zfh2PkSvq9pJGSKiX9SdKittbJoD/PSYkrJD0vKeB4IsNNotfuUtHk/CM+IvijpF9KGiDpGEkLJZ3lC7qPeKKTpD9IWiDpUOfWPCi61ZeLvD2VIhTwp9QlTjK5NsIXdB/xxHmSpvD/OucWPSAyQw2+LfeG1SbXVra1Tqb785xUaNdMel0g7Iu5V1zPv6dJqpD0kKR/+ILuI55o8oeg1bFT0kWSOkraQxK+oPvw0TZR3ZY758foyQXf//ZxUFh0Q/GEfNf9gHkaJ6m7pHJJSyTt9tnXhxtBR2EGlnHCMbZMaHuHzX19JZ0u6VRJh0k6hM+BpMjnklZIelPSNhff3V5StkNlEWBMFm+3LcC+BW3GuZP2GvfmiEiCCMUzxZIKRGSt9zeML/fdGAW9JB3O8c6SlMZ+b5f0qaQiF7EpnieXY1auvZfG7zhSUk8RSS428F7M5xfsh1eAV/vxOzoq16sklZBqbdpo5H2qDPRQXoP3Ki0+20FSFyrZUgt+Rt/7KH2vZb8/t/iMG2Sy/0dI6sbvgHGoV8a3xErQb5Q0iTfHCplkzlkW7w+VNF3ST7QJUzFK0pVkDFiw+yV95uC7r5Z0k3CW2ApwIkrJ9B9IelfSh2SIlqC/pDFUZAVk0rQoMhk2GYswx+AtWvMKPtcyEckW37pPwsIHNAuBniDpYhEpBMmJwvibJL0gIlVh39r0C8UlczkXQ/mM6OtEzuf3RfPVAxUY47f5PStcGKPxpOMldbbxiBptPMavJX1PuQ/P/olyz12S7rD4PLyqBTQ8gyXVSOot6VK+dxR53wyl7POjkv7pkpcwpleJSCHP4eQjM0BB/ZuG4Hl9EO8mQx4ZQ0FfL+k+k+t4wNlULpkO24IGnSzpQklzKPDRAMvZ1eXz9uXfH/Pvx5Ie44C5zYQXUgDPj6LEnMCQ3AFkjjupjGF9/kJmxPw1oiquz+6dalXcCRSmYxwK0kDSRI71azb3Y+6GiMi6P/5ey3F3YpExjxdQoG61uX8gBetkh2OWFkUIVGUT1pS9yosZNu1nkl8uZH+mikhxkx1wz7mkB0WkXsKJFw1ZuSWKotY9wjNJS6mUy41JK5P0c2qCnBgIeQWZvEK7Dnf6WUljTT5TS7d0KwezkJShdWIeGeuKKJo7FktUQylcl0i6RtL/HH4OjP+wB0UTLTGHfubRDWyi1g7SaoZQ495z9w7RpaHKqHEfLeklEyWzk+7dl3TTu1KQCpV7+pBB4IWstFFAgvOpJnTL6DoW0xPbw3k/nIYkW+kbmHeXhUEABklazrBDBdzTDfyuBo5DPq1eoUk7ZbSk70l6n3MZjUdCDpQvMF/rezn7/hX7Xs8wsj/7rsrWdQxnZtrwwENUosJkDDZxTjOUkEH1ds6lzJyDZzGScRsonGNcMCIG+WgRKTRQ8Su2p7uRi/mlKjZKekREChS2KIOcTvfqp3RZDlM+cxnfv8Thc75Pt8kqo92VzNTbxBqcQlceivAdByHDIxbvFTMOLovyHAGGK3qc/jJDoDc4hpjABzBm4UAglBFqEAOqt8mB29ss4uJnNCHfSK/tVZMYEfMykt7Bcco1eDLDHCT8gmzzRdLHZL6wRSgzg6GIgVl8Xj2uhPA+oQn53yTdK2mVMC8NzuJ8zaSyM/ApxyzWCFJRvUQ3eQ29BTNFcRgt+FTl2g30zDZZtD/ZRMifE5ES6Y9MxqAHQ7XZikI9nd97j5p1f83GZTPr6Crt2sOcOB1zTYT8HrqjVRZx4wbSAt47SXn/YsZV9zp4zuvJgNGQRaszmoN1rBY6IH4dHiVHcA5dZd2zeIbPv8ZBkghYTQFTx/h1WvSz6c3kM5ewGG8Prvxc5DZWS2u+dypnM5Y3sIJMXmbxfXW0misZN56oxITnWsyl2fg+6+C+zWTefMWr68RwaYF271htHBZqCsKqL28wB/ACjYShrE9nUjfWmEU33A7woqbR4k5UlNk4yoYOzOHvtGs30KO1QgnlZC2VohGOIGn7WEvW0ZdoMeCHfBgdo8X++m3V+s2wEHKzJMblJom92+ne2SHDwT1gknUispPpJLrrVZqwLxTmy5F5jOdVS72F/b6UwlbrcEytrD00+a8l/ZUM82jEZd8peu8uNYS8JxNWqis5IYqQCy1rPUULh8Y7fOYal3zzmPb6aJN7zlf+32bBV9ESclNE85WUX4j4oNbl/fM1b2eoxX3jyXNqiDTP4Xe8Rm9ItfSjvAr6DM0d+o5MXW/CuHO0a7eZTLYT3KF9LktYZ/WdCI+IkoV+lFZ6l3J9OF14HdM0F3MrhXxFjJmqhh5FBera24XqxaCqL0UosK97Z2ku+yJaEqf4D62ByoROcjZuN78Xaa9zTBSzKvxvC+vlrmgWVPU2h4j4FCO5lZ+vNBnpYHHfOOX/PfR83eApTaGM8CLop5l88WSLWAOu4AiNme5owcBO1xhlLGO/eGAFkyYqrtFe5zKzqU7KBE5o/BAIiv7VJSK7qV4GhEF1XtSk0YseWl6lWYI+cXj6pigJLkH3Vk0qfebxe4q0JGOGSDxCWn/Nchk9qJgMfGKS87LDes1IHeVW0LszgaC6sPMYE5lBt4CzRcuy4lVMLKlWfWwcJ+YpxtcGjtOYfzRjTgNIlv0rnpyCveeHNFSJ/jUlonH/3nNYqyOU28qYhHOLbzVPqFc81JQDKxnQ5twLdmjfmQzlxU6eoZ/mma3y8D3VonlhUr6bElhMwJ81RseSxW+jfOYULdYGAw5s4WBtpeU0ijKwxnp/HCfn70piCNlMFEUU8/WpmnZe1Bq80r96m5yMkIwx9nnNHTWFs114q0ArM1HsiUY7j5/rKFIThdrrzR7agHyoy9vd3Ag64uEfKa+xjIKlLqtTUBB7FWgJrQ9joFl1d2cQ2wzHaeDXa6/ztO9Wx+OT+FrzSAKuV12ptOZp+ljnaVawk8uxDpnMZXYCGB3PXqe5sl7QQ5ubhhQR9B4mQpvjIR+gJgrbOxV0rK/rVUyXmyRWdI2a2YLEhVP3BwmN9sJ9BtQpKkxiSDOrUeUhaeQaPevKzKQ3oIVTSGatcynoRl29sIkh440a8pURNoz00Ab4Ts1obxCps1FKl8k5IpKbcmsgu6nz6ETQC+iSqoKKOPmVJBmYnDjHX4EozB9s7TgwykkyYS13URAHpmstYIloOP/HEi6Wx5a4+DwSpH2V18tTyHUPm3iQeS1s09ai4/0ntVgNRQmzHTRulGwaQNnei3FgHqPcMBEJlXrNioAaE8AcupKBd7ElBu1uTxCzg+dmKB4TahiQNX/OxssAb00Uzdeci4S3FYhEQdfkWCrc1cI2K+2EDhsP1OUxZGUnOWTmcgphV0UgZ4jUR1hLlBiuJfqJpb61CXimOrq8RqiEeu6TU3iMwdzYgWhUnWHDDKr0ptLar6USqmOfYYiGMMTUN/KgziGVTo+pNJHBBfF0zVAQc6N2DUL+tcO2Yc1Rk2ss+yBmOko43yCSCljJXAWA7PD4eAt6MBy2yiNACRvVVN05t40pPLYPsT+zlRDpOLG/Jt8OSGKhmnBpivV7q/Y6JkucVgkyWKb52rVZwl0tvNDi+AzRvKjfK1Dnjvpd1FhPEc1LBVsbqENXN35cFaPY2BIVGdlWYZKqgPPj/RythNtpcNycpoOxwAae0bGwhAkAQg01cfiDWDRqZtHhCqFQ5FAtOXKXh/Yh6Ci2N5YMUDW2SHg/N3scn02N++cnMIZCBdwS9gtApRxqDc6OlzWtSrdc8cJGlzP5fzZDri1tQNixISWL/5fSQvcVzfe/wzXfSG8Kuw03pHB/t5KMik+EYJ1EC1d0zCw6fofqRI2ZJwpvyxN4uPs0q/6UR2szyESobxatf3aa7jvfrT0DGPNpYV3H3CI0BYLGllQdy7TX14rUP/zzDHpuRp0EPLnJvH68Qij/RXnyIyku5Ea+5S3NO7s01q77eMY1qqY8T7Qs+4qtq+o2UWhjZO6HuWhjJBlZXWbAHvbFSTAxqMW+RbuG3VfviAP36tshujINh6Tr3kE0BNMl5x8Qq6+mVTdwrMlzpRrGaGPzVpw9NDNFngjoFZZzRCS/FRPXHRZT31X2MgfYTQYX1WE1moaaQJfKEFTs/camkXnUwt9YtNWPiuc67VmRlb0yiRgS/cAe7is0QXuTAm9kikM2DNc5OkeGRaMU8tq0TJHbUCOtezMeRfITiSv1PLLbGE5gb/NOB/1AuR1KlLETDltidyR4XIPasyEnc6eIbRa9kfNifFeXJOAnVJBiKfFCvobcLKccLHWojHJpIPH3iXQlpoNLrdcH44sucvmQOHHjZ9rDrGdbixVmbk/XGy4mtiKuoQDjmQpFJLs6wuSZvqKmL0ky6zOZLry+420UKUaue5ooyeqy9+iopgM989cp1Dcp16bSU1tOJbyFyjedTID5wOk6OAUFFXUDKFRLkmBM3xH7fzIJwPLsxexDMWP2b8g38DqN45ywCuH0VNuv+XmjwOYCjtUakbg6AkGlNoQGBMB5A9g8hh2g7zFE2U4F35FxfHfmwwbxcz3Yl32C/oAwPwDAS6UXdpOhXPZ27Trc9R/SLTla0zzGoXl2QAexnLVZJB/CZMpV7HthfL4lJIrb54u+tdv3/rCiSbw+k88yM9ZxXgKwlHmZycq13iSr0KeMHmUZw6r1VICrLT4D5fy4wq/5DAvfjaWC9oAd9KxwTNUJynUjL+EqpwSTME1zOWMBuIxmZ7p9RCsNq+NmdxW09I1MdNkJeYZNHsIt0qKEO2Z4kvmHadS+Xqv2cqzc93rpuhdl54tg2DISuJljBW3uZjMHrAPqHOYK6zPIM23G2+14Rts4cyLbdxo3Y667UskOo/W/m/PwRhQBwZFkT2vXzDbTtLMZCyfP1155bbfDrpjKZoYH41bO+d97jmEgMPVxFMF0iHESIkiNtDhKuwV058cw0dBZNP+lFsSU/6VWf0E4P/x+IF2eJnokr4uW/2jAKPYjjRb7Cxef70c3qsCl0im1Gj/Uu2eF6sWo0rUiTQq7zS+pYjywnXYwcyOZfI4mKgHj9N2ttHqbRfSlQXhjw5XXy4S7ZbzOovkxVRsphHp8ia3HlyleZS1zHcvoVrdjuNFdEe7edGHzSbpSria/WZ3+cxYV5DCx/4w7FUfyfTW0WO+i7x2YrzKUXZFw/sut+OxJDGkHUxEZPwgCquQcIgxZR9oXekDQk8FF60bqwocupaIoEz6EmaC3C+0Ro6Wgp4eb2tpPJqN+4xXFXQ3TfUfCc5PDNnLZDpLIV1NADKyjZa87mHgmWX57bYdIfIY3pdCGf43xQUXI62kBn3fZxi4SPC8crIjDQ4yzFAaz/XcPJn7xf03VRzIB5Z7qCbBzPQi5jga2E9bCD+ELug8ficEZCk/Cmj8Ro3aLtLxDR1/QffhIHNRTUZCf+S5G7SJBp2b7G31B9+EjcVAFEInZQ2LU7jiN1zf4gu7DR+KwTvkfO9bGx6BNnEQ8XXmN5cT3fEH34SNxwN4A9dgknIEwyWNbeRTwV7WYHBVwFQfbwKb7vOUjiYAiKVT1PczXqCLD/n5UbuLcNxTKoCgExSFNmsFCHI6iJBQFnUbqqbWPHyFceDAOrC/oPpIN+FVaVLrNUa6dLPbvoEQdO4pd1OUylBVkCutsOkqosbNvwcE6qL6g+0hG3MY4ejots1pT3kE4P9QDdfuLKeDfHswD6gu6j2TF2yQcLoqEGurre9EdP1QTfmxJRdn0NlrvD+jmY69Egz+UQvxfgAEALJ4EcRDa/toAAAAASUVORK5CYII=\0" ;
915pub const ZEND_EXTENSION_API_NO: u32 = 320170718;
916pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
917pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_CTOR: u32 = 1;
918pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_DTOR: u32 = 2;
919pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_HANDLER: u32 = 4;
920pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST_CALC: u32 = 8;
921pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST: u32 = 16;
922pub type __uint32_t = ::std::os::raw::c_uint;
923pub type __dev_t = ::std::os::raw::c_ulong;
924pub type __uid_t = ::std::os::raw::c_uint;
925pub type __gid_t = ::std::os::raw::c_uint;
926pub type __ino_t = ::std::os::raw::c_ulong;
927pub type __mode_t = ::std::os::raw::c_uint;
928pub type __nlink_t = ::std::os::raw::c_ulong;
929pub type __off_t = ::std::os::raw::c_long;
930pub type __off64_t = ::std::os::raw::c_long;
931pub type __pid_t = ::std::os::raw::c_int;
932pub type __clock_t = ::std::os::raw::c_long;
933pub type __time_t = ::std::os::raw::c_long;
934pub type __suseconds_t = ::std::os::raw::c_long;
935pub type __blksize_t = ::std::os::raw::c_long;
936pub type __blkcnt_t = ::std::os::raw::c_long;
937pub type __syscall_slong_t = ::std::os::raw::c_long;
938pub type __socklen_t = ::std::os::raw::c_uint;
939pub type time_t = __time_t;
940#[repr(C)]
941#[derive(Debug, Copy, Clone)]
942pub struct __sigset_t {
943 pub __val: [::std::os::raw::c_ulong; 16usize],
944}
945#[allow(clippy::unnecessary_operation, clippy::identity_op)]
946const _: () = {
947 ["Size of __sigset_t"][::std::mem::size_of::<__sigset_t>() - 128usize];
948 ["Alignment of __sigset_t"][::std::mem::align_of::<__sigset_t>() - 8usize];
949 ["Offset of field: __sigset_t::__val"][::std::mem::offset_of!(__sigset_t, __val) - 0usize];
950};
951#[repr(C)]
952#[derive(Debug, Copy, Clone)]
953pub struct timeval {
954 pub tv_sec: __time_t,
955 pub tv_usec: __suseconds_t,
956}
957#[allow(clippy::unnecessary_operation, clippy::identity_op)]
958const _: () = {
959 ["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
960 ["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
961 ["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
962 ["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
963};
964#[repr(C)]
965#[derive(Debug, Copy, Clone)]
966pub struct timespec {
967 pub tv_sec: __time_t,
968 pub tv_nsec: __syscall_slong_t,
969}
970#[allow(clippy::unnecessary_operation, clippy::identity_op)]
971const _: () = {
972 ["Size of timespec"][::std::mem::size_of::<timespec>() - 16usize];
973 ["Alignment of timespec"][::std::mem::align_of::<timespec>() - 8usize];
974 ["Offset of field: timespec::tv_sec"][::std::mem::offset_of!(timespec, tv_sec) - 0usize];
975 ["Offset of field: timespec::tv_nsec"][::std::mem::offset_of!(timespec, tv_nsec) - 8usize];
976};
977pub type va_list = __builtin_va_list;
978pub type FILE = _IO_FILE;
979#[repr(C)]
980#[derive(Debug, Copy, Clone)]
981pub struct _IO_marker {
982 _unused: [u8; 0],
983}
984#[repr(C)]
985#[derive(Debug, Copy, Clone)]
986pub struct _IO_codecvt {
987 _unused: [u8; 0],
988}
989#[repr(C)]
990#[derive(Debug, Copy, Clone)]
991pub struct _IO_wide_data {
992 _unused: [u8; 0],
993}
994pub type _IO_lock_t = ::std::os::raw::c_void;
995#[repr(C)]
996#[derive(Debug, Copy, Clone)]
997pub struct _IO_FILE {
998 pub _flags: ::std::os::raw::c_int,
999 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
1000 pub _IO_read_end: *mut ::std::os::raw::c_char,
1001 pub _IO_read_base: *mut ::std::os::raw::c_char,
1002 pub _IO_write_base: *mut ::std::os::raw::c_char,
1003 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
1004 pub _IO_write_end: *mut ::std::os::raw::c_char,
1005 pub _IO_buf_base: *mut ::std::os::raw::c_char,
1006 pub _IO_buf_end: *mut ::std::os::raw::c_char,
1007 pub _IO_save_base: *mut ::std::os::raw::c_char,
1008 pub _IO_backup_base: *mut ::std::os::raw::c_char,
1009 pub _IO_save_end: *mut ::std::os::raw::c_char,
1010 pub _markers: *mut _IO_marker,
1011 pub _chain: *mut _IO_FILE,
1012 pub _fileno: ::std::os::raw::c_int,
1013 pub _flags2: ::std::os::raw::c_int,
1014 pub _old_offset: __off_t,
1015 pub _cur_column: ::std::os::raw::c_ushort,
1016 pub _vtable_offset: ::std::os::raw::c_schar,
1017 pub _shortbuf: [::std::os::raw::c_char; 1usize],
1018 pub _lock: *mut _IO_lock_t,
1019 pub _offset: __off64_t,
1020 pub _codecvt: *mut _IO_codecvt,
1021 pub _wide_data: *mut _IO_wide_data,
1022 pub _freeres_list: *mut _IO_FILE,
1023 pub _freeres_buf: *mut ::std::os::raw::c_void,
1024 pub __pad5: usize,
1025 pub _mode: ::std::os::raw::c_int,
1026 pub _unused2: [::std::os::raw::c_char; 20usize],
1027}
1028#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1029const _: () = {
1030 ["Size of _IO_FILE"][::std::mem::size_of::<_IO_FILE>() - 216usize];
1031 ["Alignment of _IO_FILE"][::std::mem::align_of::<_IO_FILE>() - 8usize];
1032 ["Offset of field: _IO_FILE::_flags"][::std::mem::offset_of!(_IO_FILE, _flags) - 0usize];
1033 ["Offset of field: _IO_FILE::_IO_read_ptr"]
1034 [::std::mem::offset_of!(_IO_FILE, _IO_read_ptr) - 8usize];
1035 ["Offset of field: _IO_FILE::_IO_read_end"]
1036 [::std::mem::offset_of!(_IO_FILE, _IO_read_end) - 16usize];
1037 ["Offset of field: _IO_FILE::_IO_read_base"]
1038 [::std::mem::offset_of!(_IO_FILE, _IO_read_base) - 24usize];
1039 ["Offset of field: _IO_FILE::_IO_write_base"]
1040 [::std::mem::offset_of!(_IO_FILE, _IO_write_base) - 32usize];
1041 ["Offset of field: _IO_FILE::_IO_write_ptr"]
1042 [::std::mem::offset_of!(_IO_FILE, _IO_write_ptr) - 40usize];
1043 ["Offset of field: _IO_FILE::_IO_write_end"]
1044 [::std::mem::offset_of!(_IO_FILE, _IO_write_end) - 48usize];
1045 ["Offset of field: _IO_FILE::_IO_buf_base"]
1046 [::std::mem::offset_of!(_IO_FILE, _IO_buf_base) - 56usize];
1047 ["Offset of field: _IO_FILE::_IO_buf_end"]
1048 [::std::mem::offset_of!(_IO_FILE, _IO_buf_end) - 64usize];
1049 ["Offset of field: _IO_FILE::_IO_save_base"]
1050 [::std::mem::offset_of!(_IO_FILE, _IO_save_base) - 72usize];
1051 ["Offset of field: _IO_FILE::_IO_backup_base"]
1052 [::std::mem::offset_of!(_IO_FILE, _IO_backup_base) - 80usize];
1053 ["Offset of field: _IO_FILE::_IO_save_end"]
1054 [::std::mem::offset_of!(_IO_FILE, _IO_save_end) - 88usize];
1055 ["Offset of field: _IO_FILE::_markers"][::std::mem::offset_of!(_IO_FILE, _markers) - 96usize];
1056 ["Offset of field: _IO_FILE::_chain"][::std::mem::offset_of!(_IO_FILE, _chain) - 104usize];
1057 ["Offset of field: _IO_FILE::_fileno"][::std::mem::offset_of!(_IO_FILE, _fileno) - 112usize];
1058 ["Offset of field: _IO_FILE::_flags2"][::std::mem::offset_of!(_IO_FILE, _flags2) - 116usize];
1059 ["Offset of field: _IO_FILE::_old_offset"]
1060 [::std::mem::offset_of!(_IO_FILE, _old_offset) - 120usize];
1061 ["Offset of field: _IO_FILE::_cur_column"]
1062 [::std::mem::offset_of!(_IO_FILE, _cur_column) - 128usize];
1063 ["Offset of field: _IO_FILE::_vtable_offset"]
1064 [::std::mem::offset_of!(_IO_FILE, _vtable_offset) - 130usize];
1065 ["Offset of field: _IO_FILE::_shortbuf"]
1066 [::std::mem::offset_of!(_IO_FILE, _shortbuf) - 131usize];
1067 ["Offset of field: _IO_FILE::_lock"][::std::mem::offset_of!(_IO_FILE, _lock) - 136usize];
1068 ["Offset of field: _IO_FILE::_offset"][::std::mem::offset_of!(_IO_FILE, _offset) - 144usize];
1069 ["Offset of field: _IO_FILE::_codecvt"][::std::mem::offset_of!(_IO_FILE, _codecvt) - 152usize];
1070 ["Offset of field: _IO_FILE::_wide_data"]
1071 [::std::mem::offset_of!(_IO_FILE, _wide_data) - 160usize];
1072 ["Offset of field: _IO_FILE::_freeres_list"]
1073 [::std::mem::offset_of!(_IO_FILE, _freeres_list) - 168usize];
1074 ["Offset of field: _IO_FILE::_freeres_buf"]
1075 [::std::mem::offset_of!(_IO_FILE, _freeres_buf) - 176usize];
1076 ["Offset of field: _IO_FILE::__pad5"][::std::mem::offset_of!(_IO_FILE, __pad5) - 184usize];
1077 ["Offset of field: _IO_FILE::_mode"][::std::mem::offset_of!(_IO_FILE, _mode) - 192usize];
1078 ["Offset of field: _IO_FILE::_unused2"][::std::mem::offset_of!(_IO_FILE, _unused2) - 196usize];
1079};
1080pub type zend_long = i64;
1081pub type zend_ulong = u64;
1082pub type zend_off_t = i64;
1083pub type zend_bool = ::std::os::raw::c_uchar;
1084pub type zend_uchar = ::std::os::raw::c_uchar;
1085pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
1086pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
1087pub type ZEND_RESULT_CODE = ::std::os::raw::c_int;
1088pub type zend_intptr_t = isize;
1089pub type zend_uintptr_t = usize;
1090pub type zend_object_handlers = _zend_object_handlers;
1091pub type zend_class_entry = _zend_class_entry;
1092pub type zend_function = _zend_function;
1093pub type zend_execute_data = _zend_execute_data;
1094pub type zval = _zval_struct;
1095pub type zend_refcounted = _zend_refcounted;
1096pub type zend_string = _zend_string;
1097pub type zend_array = _zend_array;
1098pub type zend_object = _zend_object;
1099pub type zend_resource = _zend_resource;
1100pub type zend_reference = _zend_reference;
1101pub type zend_ast_ref = _zend_ast_ref;
1102pub type zend_ast = _zend_ast;
1103pub type compare_func_t = ::std::option::Option<
1104 unsafe extern "C" fn(
1105 arg1: *const ::std::os::raw::c_void,
1106 arg2: *const ::std::os::raw::c_void,
1107 ) -> ::std::os::raw::c_int,
1108>;
1109pub type swap_func_t = ::std::option::Option<
1110 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void),
1111>;
1112pub type sort_func_t = ::std::option::Option<
1113 unsafe extern "C" fn(
1114 arg1: *mut ::std::os::raw::c_void,
1115 arg2: usize,
1116 arg3: usize,
1117 arg4: compare_func_t,
1118 arg5: swap_func_t,
1119 ),
1120>;
1121pub type dtor_func_t = ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval)>;
1122pub type copy_ctor_func_t = ::std::option::Option<unsafe extern "C" fn(pElement: *mut zval)>;
1123pub type zend_type = usize;
1124#[repr(C)]
1125#[derive(Copy, Clone)]
1126pub union _zend_value {
1127 pub lval: zend_long,
1128 pub dval: f64,
1129 pub counted: *mut zend_refcounted,
1130 pub str_: *mut zend_string,
1131 pub arr: *mut zend_array,
1132 pub obj: *mut zend_object,
1133 pub res: *mut zend_resource,
1134 pub ref_: *mut zend_reference,
1135 pub ast: *mut zend_ast_ref,
1136 pub zv: *mut zval,
1137 pub ptr: *mut ::std::os::raw::c_void,
1138 pub ce: *mut zend_class_entry,
1139 pub func: *mut zend_function,
1140 pub ww: _zend_value__bindgen_ty_1,
1141}
1142#[repr(C)]
1143#[derive(Debug, Copy, Clone)]
1144pub struct _zend_value__bindgen_ty_1 {
1145 pub w1: u32,
1146 pub w2: u32,
1147}
1148#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1149const _: () = {
1150 ["Size of _zend_value__bindgen_ty_1"]
1151 [::std::mem::size_of::<_zend_value__bindgen_ty_1>() - 8usize];
1152 ["Alignment of _zend_value__bindgen_ty_1"]
1153 [::std::mem::align_of::<_zend_value__bindgen_ty_1>() - 4usize];
1154 ["Offset of field: _zend_value__bindgen_ty_1::w1"]
1155 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w1) - 0usize];
1156 ["Offset of field: _zend_value__bindgen_ty_1::w2"]
1157 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w2) - 4usize];
1158};
1159#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1160const _: () = {
1161 ["Size of _zend_value"][::std::mem::size_of::<_zend_value>() - 8usize];
1162 ["Alignment of _zend_value"][::std::mem::align_of::<_zend_value>() - 8usize];
1163 ["Offset of field: _zend_value::lval"][::std::mem::offset_of!(_zend_value, lval) - 0usize];
1164 ["Offset of field: _zend_value::dval"][::std::mem::offset_of!(_zend_value, dval) - 0usize];
1165 ["Offset of field: _zend_value::counted"]
1166 [::std::mem::offset_of!(_zend_value, counted) - 0usize];
1167 ["Offset of field: _zend_value::str_"][::std::mem::offset_of!(_zend_value, str_) - 0usize];
1168 ["Offset of field: _zend_value::arr"][::std::mem::offset_of!(_zend_value, arr) - 0usize];
1169 ["Offset of field: _zend_value::obj"][::std::mem::offset_of!(_zend_value, obj) - 0usize];
1170 ["Offset of field: _zend_value::res"][::std::mem::offset_of!(_zend_value, res) - 0usize];
1171 ["Offset of field: _zend_value::ref_"][::std::mem::offset_of!(_zend_value, ref_) - 0usize];
1172 ["Offset of field: _zend_value::ast"][::std::mem::offset_of!(_zend_value, ast) - 0usize];
1173 ["Offset of field: _zend_value::zv"][::std::mem::offset_of!(_zend_value, zv) - 0usize];
1174 ["Offset of field: _zend_value::ptr"][::std::mem::offset_of!(_zend_value, ptr) - 0usize];
1175 ["Offset of field: _zend_value::ce"][::std::mem::offset_of!(_zend_value, ce) - 0usize];
1176 ["Offset of field: _zend_value::func"][::std::mem::offset_of!(_zend_value, func) - 0usize];
1177 ["Offset of field: _zend_value::ww"][::std::mem::offset_of!(_zend_value, ww) - 0usize];
1178};
1179pub type zend_value = _zend_value;
1180#[repr(C)]
1181#[derive(Copy, Clone)]
1182pub struct _zval_struct {
1183 pub value: zend_value,
1184 pub u1: _zval_struct__bindgen_ty_1,
1185 pub u2: _zval_struct__bindgen_ty_2,
1186}
1187#[repr(C)]
1188#[derive(Copy, Clone)]
1189pub union _zval_struct__bindgen_ty_1 {
1190 pub v: _zval_struct__bindgen_ty_1__bindgen_ty_1,
1191 pub type_info: u32,
1192}
1193#[repr(C)]
1194#[derive(Debug, Copy, Clone)]
1195pub struct _zval_struct__bindgen_ty_1__bindgen_ty_1 {
1196 pub type_: zend_uchar,
1197 pub type_flags: zend_uchar,
1198 pub const_flags: zend_uchar,
1199 pub reserved: zend_uchar,
1200}
1201#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1202const _: () = {
1203 ["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1204 [::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1205 ["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1206 [::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 1usize];
1207 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_"]
1208 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_) - 0usize];
1209 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_flags"]
1210 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_flags) - 1usize];
1211 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::const_flags"]
1212 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, const_flags) - 2usize];
1213 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::reserved"]
1214 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, reserved) - 3usize];
1215};
1216#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1217const _: () = {
1218 ["Size of _zval_struct__bindgen_ty_1"]
1219 [::std::mem::size_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1220 ["Alignment of _zval_struct__bindgen_ty_1"]
1221 [::std::mem::align_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1222 ["Offset of field: _zval_struct__bindgen_ty_1::v"]
1223 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, v) - 0usize];
1224 ["Offset of field: _zval_struct__bindgen_ty_1::type_info"]
1225 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, type_info) - 0usize];
1226};
1227#[repr(C)]
1228#[derive(Copy, Clone)]
1229pub union _zval_struct__bindgen_ty_2 {
1230 pub next: u32,
1231 pub cache_slot: u32,
1232 pub lineno: u32,
1233 pub num_args: u32,
1234 pub fe_pos: u32,
1235 pub fe_iter_idx: u32,
1236 pub access_flags: u32,
1237 pub property_guard: u32,
1238 pub extra: u32,
1239}
1240#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1241const _: () = {
1242 ["Size of _zval_struct__bindgen_ty_2"]
1243 [::std::mem::size_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1244 ["Alignment of _zval_struct__bindgen_ty_2"]
1245 [::std::mem::align_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1246 ["Offset of field: _zval_struct__bindgen_ty_2::next"]
1247 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, next) - 0usize];
1248 ["Offset of field: _zval_struct__bindgen_ty_2::cache_slot"]
1249 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, cache_slot) - 0usize];
1250 ["Offset of field: _zval_struct__bindgen_ty_2::lineno"]
1251 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, lineno) - 0usize];
1252 ["Offset of field: _zval_struct__bindgen_ty_2::num_args"]
1253 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, num_args) - 0usize];
1254 ["Offset of field: _zval_struct__bindgen_ty_2::fe_pos"]
1255 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_pos) - 0usize];
1256 ["Offset of field: _zval_struct__bindgen_ty_2::fe_iter_idx"]
1257 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_iter_idx) - 0usize];
1258 ["Offset of field: _zval_struct__bindgen_ty_2::access_flags"]
1259 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, access_flags) - 0usize];
1260 ["Offset of field: _zval_struct__bindgen_ty_2::property_guard"]
1261 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, property_guard) - 0usize];
1262 ["Offset of field: _zval_struct__bindgen_ty_2::extra"]
1263 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, extra) - 0usize];
1264};
1265#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1266const _: () = {
1267 ["Size of _zval_struct"][::std::mem::size_of::<_zval_struct>() - 16usize];
1268 ["Alignment of _zval_struct"][::std::mem::align_of::<_zval_struct>() - 8usize];
1269 ["Offset of field: _zval_struct::value"][::std::mem::offset_of!(_zval_struct, value) - 0usize];
1270 ["Offset of field: _zval_struct::u1"][::std::mem::offset_of!(_zval_struct, u1) - 8usize];
1271 ["Offset of field: _zval_struct::u2"][::std::mem::offset_of!(_zval_struct, u2) - 12usize];
1272};
1273#[repr(C)]
1274#[derive(Copy, Clone)]
1275pub struct _zend_refcounted_h {
1276 pub refcount: u32,
1277 pub u: _zend_refcounted_h__bindgen_ty_1,
1278}
1279#[repr(C)]
1280#[derive(Copy, Clone)]
1281pub union _zend_refcounted_h__bindgen_ty_1 {
1282 pub v: _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1,
1283 pub type_info: u32,
1284}
1285#[repr(C)]
1286#[derive(Debug, Copy, Clone)]
1287pub struct _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1 {
1288 pub type_: zend_uchar,
1289 pub flags: zend_uchar,
1290 pub gc_info: u16,
1291}
1292#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1293const _: () = {
1294 ["Size of _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1"]
1295 [::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1296 ["Alignment of _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1"]
1297 [::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1298 ["Offset of field: _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1::type_"]
1299 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1, type_) - 0usize];
1300 ["Offset of field: _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1::flags"]
1301 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1, flags) - 1usize];
1302 ["Offset of field: _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1::gc_info"]
1303 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1, gc_info) - 2usize];
1304};
1305#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1306const _: () = {
1307 ["Size of _zend_refcounted_h__bindgen_ty_1"]
1308 [::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1309 ["Alignment of _zend_refcounted_h__bindgen_ty_1"]
1310 [::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1311 ["Offset of field: _zend_refcounted_h__bindgen_ty_1::v"]
1312 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1, v) - 0usize];
1313 ["Offset of field: _zend_refcounted_h__bindgen_ty_1::type_info"]
1314 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1, type_info) - 0usize];
1315};
1316#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1317const _: () = {
1318 ["Size of _zend_refcounted_h"][::std::mem::size_of::<_zend_refcounted_h>() - 8usize];
1319 ["Alignment of _zend_refcounted_h"][::std::mem::align_of::<_zend_refcounted_h>() - 4usize];
1320 ["Offset of field: _zend_refcounted_h::refcount"]
1321 [::std::mem::offset_of!(_zend_refcounted_h, refcount) - 0usize];
1322 ["Offset of field: _zend_refcounted_h::u"]
1323 [::std::mem::offset_of!(_zend_refcounted_h, u) - 4usize];
1324};
1325pub type zend_refcounted_h = _zend_refcounted_h;
1326#[repr(C)]
1327#[derive(Copy, Clone)]
1328pub struct _zend_refcounted {
1329 pub gc: zend_refcounted_h,
1330}
1331#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1332const _: () = {
1333 ["Size of _zend_refcounted"][::std::mem::size_of::<_zend_refcounted>() - 8usize];
1334 ["Alignment of _zend_refcounted"][::std::mem::align_of::<_zend_refcounted>() - 4usize];
1335 ["Offset of field: _zend_refcounted::gc"]
1336 [::std::mem::offset_of!(_zend_refcounted, gc) - 0usize];
1337};
1338#[repr(C)]
1339#[derive(Copy, Clone)]
1340pub struct _zend_string {
1341 pub gc: zend_refcounted_h,
1342 pub h: zend_ulong,
1343 pub len: usize,
1344 pub val: [::std::os::raw::c_char; 1usize],
1345}
1346#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1347const _: () = {
1348 ["Size of _zend_string"][::std::mem::size_of::<_zend_string>() - 32usize];
1349 ["Alignment of _zend_string"][::std::mem::align_of::<_zend_string>() - 8usize];
1350 ["Offset of field: _zend_string::gc"][::std::mem::offset_of!(_zend_string, gc) - 0usize];
1351 ["Offset of field: _zend_string::h"][::std::mem::offset_of!(_zend_string, h) - 8usize];
1352 ["Offset of field: _zend_string::len"][::std::mem::offset_of!(_zend_string, len) - 16usize];
1353 ["Offset of field: _zend_string::val"][::std::mem::offset_of!(_zend_string, val) - 24usize];
1354};
1355#[repr(C)]
1356#[derive(Copy, Clone)]
1357pub struct _Bucket {
1358 pub val: zval,
1359 pub h: zend_ulong,
1360 pub key: *mut zend_string,
1361}
1362#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1363const _: () = {
1364 ["Size of _Bucket"][::std::mem::size_of::<_Bucket>() - 32usize];
1365 ["Alignment of _Bucket"][::std::mem::align_of::<_Bucket>() - 8usize];
1366 ["Offset of field: _Bucket::val"][::std::mem::offset_of!(_Bucket, val) - 0usize];
1367 ["Offset of field: _Bucket::h"][::std::mem::offset_of!(_Bucket, h) - 16usize];
1368 ["Offset of field: _Bucket::key"][::std::mem::offset_of!(_Bucket, key) - 24usize];
1369};
1370pub type Bucket = _Bucket;
1371pub type HashTable = _zend_array;
1372#[repr(C)]
1373#[derive(Copy, Clone)]
1374pub struct _zend_array {
1375 pub gc: zend_refcounted_h,
1376 pub u: _zend_array__bindgen_ty_1,
1377 pub nTableMask: u32,
1378 pub arData: *mut Bucket,
1379 pub nNumUsed: u32,
1380 pub nNumOfElements: u32,
1381 pub nTableSize: u32,
1382 pub nInternalPointer: u32,
1383 pub nNextFreeElement: zend_long,
1384 pub pDestructor: dtor_func_t,
1385}
1386#[repr(C)]
1387#[derive(Copy, Clone)]
1388pub union _zend_array__bindgen_ty_1 {
1389 pub v: _zend_array__bindgen_ty_1__bindgen_ty_1,
1390 pub flags: u32,
1391}
1392#[repr(C)]
1393#[derive(Debug, Copy, Clone)]
1394pub struct _zend_array__bindgen_ty_1__bindgen_ty_1 {
1395 pub flags: zend_uchar,
1396 pub nApplyCount: zend_uchar,
1397 pub nIteratorsCount: zend_uchar,
1398 pub consistency: zend_uchar,
1399}
1400#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1401const _: () = {
1402 ["Size of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1403 [::std::mem::size_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1404 ["Alignment of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1405 [::std::mem::align_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 1usize];
1406 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::flags"]
1407 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, flags) - 0usize];
1408 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::nApplyCount"]
1409 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, nApplyCount) - 1usize];
1410 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::nIteratorsCount"]
1411 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, nIteratorsCount) - 2usize];
1412 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::consistency"]
1413 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, consistency) - 3usize];
1414};
1415#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1416const _: () = {
1417 ["Size of _zend_array__bindgen_ty_1"]
1418 [::std::mem::size_of::<_zend_array__bindgen_ty_1>() - 4usize];
1419 ["Alignment of _zend_array__bindgen_ty_1"]
1420 [::std::mem::align_of::<_zend_array__bindgen_ty_1>() - 4usize];
1421 ["Offset of field: _zend_array__bindgen_ty_1::v"]
1422 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, v) - 0usize];
1423 ["Offset of field: _zend_array__bindgen_ty_1::flags"]
1424 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, flags) - 0usize];
1425};
1426#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1427const _: () = {
1428 ["Size of _zend_array"][::std::mem::size_of::<_zend_array>() - 56usize];
1429 ["Alignment of _zend_array"][::std::mem::align_of::<_zend_array>() - 8usize];
1430 ["Offset of field: _zend_array::gc"][::std::mem::offset_of!(_zend_array, gc) - 0usize];
1431 ["Offset of field: _zend_array::u"][::std::mem::offset_of!(_zend_array, u) - 8usize];
1432 ["Offset of field: _zend_array::nTableMask"]
1433 [::std::mem::offset_of!(_zend_array, nTableMask) - 12usize];
1434 ["Offset of field: _zend_array::arData"][::std::mem::offset_of!(_zend_array, arData) - 16usize];
1435 ["Offset of field: _zend_array::nNumUsed"]
1436 [::std::mem::offset_of!(_zend_array, nNumUsed) - 24usize];
1437 ["Offset of field: _zend_array::nNumOfElements"]
1438 [::std::mem::offset_of!(_zend_array, nNumOfElements) - 28usize];
1439 ["Offset of field: _zend_array::nTableSize"]
1440 [::std::mem::offset_of!(_zend_array, nTableSize) - 32usize];
1441 ["Offset of field: _zend_array::nInternalPointer"]
1442 [::std::mem::offset_of!(_zend_array, nInternalPointer) - 36usize];
1443 ["Offset of field: _zend_array::nNextFreeElement"]
1444 [::std::mem::offset_of!(_zend_array, nNextFreeElement) - 40usize];
1445 ["Offset of field: _zend_array::pDestructor"]
1446 [::std::mem::offset_of!(_zend_array, pDestructor) - 48usize];
1447};
1448pub type HashPosition = u32;
1449#[repr(C)]
1450#[derive(Debug, Copy, Clone)]
1451pub struct _HashTableIterator {
1452 pub ht: *mut HashTable,
1453 pub pos: HashPosition,
1454}
1455#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1456const _: () = {
1457 ["Size of _HashTableIterator"][::std::mem::size_of::<_HashTableIterator>() - 16usize];
1458 ["Alignment of _HashTableIterator"][::std::mem::align_of::<_HashTableIterator>() - 8usize];
1459 ["Offset of field: _HashTableIterator::ht"]
1460 [::std::mem::offset_of!(_HashTableIterator, ht) - 0usize];
1461 ["Offset of field: _HashTableIterator::pos"]
1462 [::std::mem::offset_of!(_HashTableIterator, pos) - 8usize];
1463};
1464pub type HashTableIterator = _HashTableIterator;
1465#[repr(C)]
1466#[derive(Copy, Clone)]
1467pub struct _zend_object {
1468 pub gc: zend_refcounted_h,
1469 pub handle: u32,
1470 pub ce: *mut zend_class_entry,
1471 pub handlers: *const zend_object_handlers,
1472 pub properties: *mut HashTable,
1473 pub properties_table: [zval; 1usize],
1474}
1475#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1476const _: () = {
1477 ["Size of _zend_object"][::std::mem::size_of::<_zend_object>() - 56usize];
1478 ["Alignment of _zend_object"][::std::mem::align_of::<_zend_object>() - 8usize];
1479 ["Offset of field: _zend_object::gc"][::std::mem::offset_of!(_zend_object, gc) - 0usize];
1480 ["Offset of field: _zend_object::handle"]
1481 [::std::mem::offset_of!(_zend_object, handle) - 8usize];
1482 ["Offset of field: _zend_object::ce"][::std::mem::offset_of!(_zend_object, ce) - 16usize];
1483 ["Offset of field: _zend_object::handlers"]
1484 [::std::mem::offset_of!(_zend_object, handlers) - 24usize];
1485 ["Offset of field: _zend_object::properties"]
1486 [::std::mem::offset_of!(_zend_object, properties) - 32usize];
1487 ["Offset of field: _zend_object::properties_table"]
1488 [::std::mem::offset_of!(_zend_object, properties_table) - 40usize];
1489};
1490#[repr(C)]
1491#[derive(Copy, Clone)]
1492pub struct _zend_resource {
1493 pub gc: zend_refcounted_h,
1494 pub handle: ::std::os::raw::c_int,
1495 pub type_: ::std::os::raw::c_int,
1496 pub ptr: *mut ::std::os::raw::c_void,
1497}
1498#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1499const _: () = {
1500 ["Size of _zend_resource"][::std::mem::size_of::<_zend_resource>() - 24usize];
1501 ["Alignment of _zend_resource"][::std::mem::align_of::<_zend_resource>() - 8usize];
1502 ["Offset of field: _zend_resource::gc"][::std::mem::offset_of!(_zend_resource, gc) - 0usize];
1503 ["Offset of field: _zend_resource::handle"]
1504 [::std::mem::offset_of!(_zend_resource, handle) - 8usize];
1505 ["Offset of field: _zend_resource::type_"]
1506 [::std::mem::offset_of!(_zend_resource, type_) - 12usize];
1507 ["Offset of field: _zend_resource::ptr"][::std::mem::offset_of!(_zend_resource, ptr) - 16usize];
1508};
1509#[repr(C)]
1510#[derive(Copy, Clone)]
1511pub struct _zend_reference {
1512 pub gc: zend_refcounted_h,
1513 pub val: zval,
1514}
1515#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1516const _: () = {
1517 ["Size of _zend_reference"][::std::mem::size_of::<_zend_reference>() - 24usize];
1518 ["Alignment of _zend_reference"][::std::mem::align_of::<_zend_reference>() - 8usize];
1519 ["Offset of field: _zend_reference::gc"][::std::mem::offset_of!(_zend_reference, gc) - 0usize];
1520 ["Offset of field: _zend_reference::val"]
1521 [::std::mem::offset_of!(_zend_reference, val) - 8usize];
1522};
1523#[repr(C)]
1524#[derive(Copy, Clone)]
1525pub struct _zend_ast_ref {
1526 pub gc: zend_refcounted_h,
1527 pub ast: *mut zend_ast,
1528}
1529#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1530const _: () = {
1531 ["Size of _zend_ast_ref"][::std::mem::size_of::<_zend_ast_ref>() - 16usize];
1532 ["Alignment of _zend_ast_ref"][::std::mem::align_of::<_zend_ast_ref>() - 8usize];
1533 ["Offset of field: _zend_ast_ref::gc"][::std::mem::offset_of!(_zend_ast_ref, gc) - 0usize];
1534 ["Offset of field: _zend_ast_ref::ast"][::std::mem::offset_of!(_zend_ast_ref, ast) - 8usize];
1535};
1536#[repr(C)]
1537#[derive(Debug, Copy, Clone)]
1538pub struct _zend_leak_info {
1539 pub addr: *mut ::std::os::raw::c_void,
1540 pub size: usize,
1541 pub filename: *const ::std::os::raw::c_char,
1542 pub orig_filename: *const ::std::os::raw::c_char,
1543 pub lineno: u32,
1544 pub orig_lineno: u32,
1545}
1546#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1547const _: () = {
1548 ["Size of _zend_leak_info"][::std::mem::size_of::<_zend_leak_info>() - 40usize];
1549 ["Alignment of _zend_leak_info"][::std::mem::align_of::<_zend_leak_info>() - 8usize];
1550 ["Offset of field: _zend_leak_info::addr"]
1551 [::std::mem::offset_of!(_zend_leak_info, addr) - 0usize];
1552 ["Offset of field: _zend_leak_info::size"]
1553 [::std::mem::offset_of!(_zend_leak_info, size) - 8usize];
1554 ["Offset of field: _zend_leak_info::filename"]
1555 [::std::mem::offset_of!(_zend_leak_info, filename) - 16usize];
1556 ["Offset of field: _zend_leak_info::orig_filename"]
1557 [::std::mem::offset_of!(_zend_leak_info, orig_filename) - 24usize];
1558 ["Offset of field: _zend_leak_info::lineno"]
1559 [::std::mem::offset_of!(_zend_leak_info, lineno) - 32usize];
1560 ["Offset of field: _zend_leak_info::orig_lineno"]
1561 [::std::mem::offset_of!(_zend_leak_info, orig_lineno) - 36usize];
1562};
1563pub type zend_leak_info = _zend_leak_info;
1564extern "C" {
1565 pub fn zend_strndup(
1566 s: *const ::std::os::raw::c_char,
1567 length: usize,
1568 ) -> *mut ::std::os::raw::c_char;
1569}
1570extern "C" {
1571 pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> usize;
1572}
1573extern "C" {
1574 pub fn zend_set_memory_limit(memory_limit: usize) -> ::std::os::raw::c_int;
1575}
1576extern "C" {
1577 pub fn zend_memory_usage(real_usage: ::std::os::raw::c_int) -> usize;
1578}
1579extern "C" {
1580 pub fn zend_memory_peak_usage(real_usage: ::std::os::raw::c_int) -> usize;
1581}
1582#[repr(C)]
1583#[derive(Debug, Copy, Clone)]
1584pub struct _zend_mm_heap {
1585 _unused: [u8; 0],
1586}
1587pub type zend_mm_heap = _zend_mm_heap;
1588extern "C" {
1589 pub fn zend_mm_startup() -> *mut zend_mm_heap;
1590}
1591extern "C" {
1592 pub fn zend_mm_shutdown(
1593 heap: *mut zend_mm_heap,
1594 full_shutdown: ::std::os::raw::c_int,
1595 silent: ::std::os::raw::c_int,
1596 );
1597}
1598extern "C" {
1599 pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: usize) -> *mut ::std::os::raw::c_void;
1600}
1601extern "C" {
1602 pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
1603}
1604extern "C" {
1605 pub fn _zend_mm_realloc(
1606 heap: *mut zend_mm_heap,
1607 p: *mut ::std::os::raw::c_void,
1608 size: usize,
1609 ) -> *mut ::std::os::raw::c_void;
1610}
1611extern "C" {
1612 pub fn _zend_mm_realloc2(
1613 heap: *mut zend_mm_heap,
1614 p: *mut ::std::os::raw::c_void,
1615 size: usize,
1616 copy_size: usize,
1617 ) -> *mut ::std::os::raw::c_void;
1618}
1619extern "C" {
1620 pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> usize;
1621}
1622extern "C" {
1623 pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
1624}
1625extern "C" {
1626 pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
1627}
1628extern "C" {
1629 pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> usize;
1630}
1631extern "C" {
1632 pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> ::std::os::raw::c_int;
1633}
1634extern "C" {
1635 pub fn zend_mm_set_custom_handlers(
1636 heap: *mut zend_mm_heap,
1637 _malloc: ::std::option::Option<
1638 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1639 >,
1640 _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1641 _realloc: ::std::option::Option<
1642 unsafe extern "C" fn(
1643 arg1: *mut ::std::os::raw::c_void,
1644 arg2: usize,
1645 ) -> *mut ::std::os::raw::c_void,
1646 >,
1647 );
1648}
1649extern "C" {
1650 pub fn zend_mm_get_custom_handlers(
1651 heap: *mut zend_mm_heap,
1652 _malloc: *mut ::std::option::Option<
1653 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1654 >,
1655 _free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1656 _realloc: *mut ::std::option::Option<
1657 unsafe extern "C" fn(
1658 arg1: *mut ::std::os::raw::c_void,
1659 arg2: usize,
1660 ) -> *mut ::std::os::raw::c_void,
1661 >,
1662 );
1663}
1664pub type zend_mm_storage = _zend_mm_storage;
1665pub type zend_mm_chunk_alloc_t = ::std::option::Option<
1666 unsafe extern "C" fn(
1667 storage: *mut zend_mm_storage,
1668 size: usize,
1669 alignment: usize,
1670 ) -> *mut ::std::os::raw::c_void,
1671>;
1672pub type zend_mm_chunk_free_t = ::std::option::Option<
1673 unsafe extern "C" fn(
1674 storage: *mut zend_mm_storage,
1675 chunk: *mut ::std::os::raw::c_void,
1676 size: usize,
1677 ),
1678>;
1679pub type zend_mm_chunk_truncate_t = ::std::option::Option<
1680 unsafe extern "C" fn(
1681 storage: *mut zend_mm_storage,
1682 chunk: *mut ::std::os::raw::c_void,
1683 old_size: usize,
1684 new_size: usize,
1685 ) -> ::std::os::raw::c_int,
1686>;
1687pub type zend_mm_chunk_extend_t = ::std::option::Option<
1688 unsafe extern "C" fn(
1689 storage: *mut zend_mm_storage,
1690 chunk: *mut ::std::os::raw::c_void,
1691 old_size: usize,
1692 new_size: usize,
1693 ) -> ::std::os::raw::c_int,
1694>;
1695#[repr(C)]
1696#[derive(Debug, Copy, Clone)]
1697pub struct _zend_mm_handlers {
1698 pub chunk_alloc: zend_mm_chunk_alloc_t,
1699 pub chunk_free: zend_mm_chunk_free_t,
1700 pub chunk_truncate: zend_mm_chunk_truncate_t,
1701 pub chunk_extend: zend_mm_chunk_extend_t,
1702}
1703#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1704const _: () = {
1705 ["Size of _zend_mm_handlers"][::std::mem::size_of::<_zend_mm_handlers>() - 32usize];
1706 ["Alignment of _zend_mm_handlers"][::std::mem::align_of::<_zend_mm_handlers>() - 8usize];
1707 ["Offset of field: _zend_mm_handlers::chunk_alloc"]
1708 [::std::mem::offset_of!(_zend_mm_handlers, chunk_alloc) - 0usize];
1709 ["Offset of field: _zend_mm_handlers::chunk_free"]
1710 [::std::mem::offset_of!(_zend_mm_handlers, chunk_free) - 8usize];
1711 ["Offset of field: _zend_mm_handlers::chunk_truncate"]
1712 [::std::mem::offset_of!(_zend_mm_handlers, chunk_truncate) - 16usize];
1713 ["Offset of field: _zend_mm_handlers::chunk_extend"]
1714 [::std::mem::offset_of!(_zend_mm_handlers, chunk_extend) - 24usize];
1715};
1716pub type zend_mm_handlers = _zend_mm_handlers;
1717#[repr(C)]
1718#[derive(Debug, Copy, Clone)]
1719pub struct _zend_mm_storage {
1720 pub handlers: zend_mm_handlers,
1721 pub data: *mut ::std::os::raw::c_void,
1722}
1723#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1724const _: () = {
1725 ["Size of _zend_mm_storage"][::std::mem::size_of::<_zend_mm_storage>() - 40usize];
1726 ["Alignment of _zend_mm_storage"][::std::mem::align_of::<_zend_mm_storage>() - 8usize];
1727 ["Offset of field: _zend_mm_storage::handlers"]
1728 [::std::mem::offset_of!(_zend_mm_storage, handlers) - 0usize];
1729 ["Offset of field: _zend_mm_storage::data"]
1730 [::std::mem::offset_of!(_zend_mm_storage, data) - 32usize];
1731};
1732extern "C" {
1733 pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
1734}
1735extern "C" {
1736 pub fn zend_mm_startup_ex(
1737 handlers: *const zend_mm_handlers,
1738 data: *mut ::std::os::raw::c_void,
1739 data_size: usize,
1740 ) -> *mut zend_mm_heap;
1741}
1742#[repr(C)]
1743#[derive(Debug, Copy, Clone)]
1744pub struct _zend_llist_element {
1745 pub next: *mut _zend_llist_element,
1746 pub prev: *mut _zend_llist_element,
1747 pub data: [::std::os::raw::c_char; 1usize],
1748}
1749#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1750const _: () = {
1751 ["Size of _zend_llist_element"][::std::mem::size_of::<_zend_llist_element>() - 24usize];
1752 ["Alignment of _zend_llist_element"][::std::mem::align_of::<_zend_llist_element>() - 8usize];
1753 ["Offset of field: _zend_llist_element::next"]
1754 [::std::mem::offset_of!(_zend_llist_element, next) - 0usize];
1755 ["Offset of field: _zend_llist_element::prev"]
1756 [::std::mem::offset_of!(_zend_llist_element, prev) - 8usize];
1757 ["Offset of field: _zend_llist_element::data"]
1758 [::std::mem::offset_of!(_zend_llist_element, data) - 16usize];
1759};
1760pub type zend_llist_element = _zend_llist_element;
1761pub type llist_dtor_func_t =
1762 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1763pub type llist_compare_func_t = ::std::option::Option<
1764 unsafe extern "C" fn(
1765 arg1: *mut *const zend_llist_element,
1766 arg2: *mut *const zend_llist_element,
1767 ) -> ::std::os::raw::c_int,
1768>;
1769pub type llist_apply_with_args_func_t = ::std::option::Option<
1770 unsafe extern "C" fn(
1771 data: *mut ::std::os::raw::c_void,
1772 num_args: ::std::os::raw::c_int,
1773 args: *mut __va_list_tag,
1774 ),
1775>;
1776pub type llist_apply_with_arg_func_t = ::std::option::Option<
1777 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
1778>;
1779pub type llist_apply_func_t =
1780 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1781#[repr(C)]
1782#[derive(Debug, Copy, Clone)]
1783pub struct _zend_llist {
1784 pub head: *mut zend_llist_element,
1785 pub tail: *mut zend_llist_element,
1786 pub count: usize,
1787 pub size: usize,
1788 pub dtor: llist_dtor_func_t,
1789 pub persistent: ::std::os::raw::c_uchar,
1790 pub traverse_ptr: *mut zend_llist_element,
1791}
1792#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1793const _: () = {
1794 ["Size of _zend_llist"][::std::mem::size_of::<_zend_llist>() - 56usize];
1795 ["Alignment of _zend_llist"][::std::mem::align_of::<_zend_llist>() - 8usize];
1796 ["Offset of field: _zend_llist::head"][::std::mem::offset_of!(_zend_llist, head) - 0usize];
1797 ["Offset of field: _zend_llist::tail"][::std::mem::offset_of!(_zend_llist, tail) - 8usize];
1798 ["Offset of field: _zend_llist::count"][::std::mem::offset_of!(_zend_llist, count) - 16usize];
1799 ["Offset of field: _zend_llist::size"][::std::mem::offset_of!(_zend_llist, size) - 24usize];
1800 ["Offset of field: _zend_llist::dtor"][::std::mem::offset_of!(_zend_llist, dtor) - 32usize];
1801 ["Offset of field: _zend_llist::persistent"]
1802 [::std::mem::offset_of!(_zend_llist, persistent) - 40usize];
1803 ["Offset of field: _zend_llist::traverse_ptr"]
1804 [::std::mem::offset_of!(_zend_llist, traverse_ptr) - 48usize];
1805};
1806pub type zend_llist = _zend_llist;
1807pub type zend_llist_position = *mut zend_llist_element;
1808extern "C" {
1809 pub fn zend_llist_init(
1810 l: *mut zend_llist,
1811 size: usize,
1812 dtor: llist_dtor_func_t,
1813 persistent: ::std::os::raw::c_uchar,
1814 );
1815}
1816extern "C" {
1817 pub fn zend_llist_add_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
1818}
1819extern "C" {
1820 pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
1821}
1822extern "C" {
1823 pub fn zend_llist_del_element(
1824 l: *mut zend_llist,
1825 element: *mut ::std::os::raw::c_void,
1826 compare: ::std::option::Option<
1827 unsafe extern "C" fn(
1828 element1: *mut ::std::os::raw::c_void,
1829 element2: *mut ::std::os::raw::c_void,
1830 ) -> ::std::os::raw::c_int,
1831 >,
1832 );
1833}
1834extern "C" {
1835 pub fn zend_llist_destroy(l: *mut zend_llist);
1836}
1837extern "C" {
1838 pub fn zend_llist_clean(l: *mut zend_llist);
1839}
1840extern "C" {
1841 pub fn zend_llist_remove_tail(l: *mut zend_llist);
1842}
1843extern "C" {
1844 pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
1845}
1846extern "C" {
1847 pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
1848}
1849extern "C" {
1850 pub fn zend_llist_apply_with_del(
1851 l: *mut zend_llist,
1852 func: ::std::option::Option<
1853 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1854 >,
1855 );
1856}
1857extern "C" {
1858 pub fn zend_llist_apply_with_argument(
1859 l: *mut zend_llist,
1860 func: llist_apply_with_arg_func_t,
1861 arg: *mut ::std::os::raw::c_void,
1862 );
1863}
1864extern "C" {
1865 pub fn zend_llist_apply_with_arguments(
1866 l: *mut zend_llist,
1867 func: llist_apply_with_args_func_t,
1868 num_args: ::std::os::raw::c_int,
1869 ...
1870 );
1871}
1872extern "C" {
1873 pub fn zend_llist_count(l: *mut zend_llist) -> usize;
1874}
1875extern "C" {
1876 pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
1877}
1878extern "C" {
1879 pub fn zend_llist_get_first_ex(
1880 l: *mut zend_llist,
1881 pos: *mut zend_llist_position,
1882 ) -> *mut ::std::os::raw::c_void;
1883}
1884extern "C" {
1885 pub fn zend_llist_get_last_ex(
1886 l: *mut zend_llist,
1887 pos: *mut zend_llist_position,
1888 ) -> *mut ::std::os::raw::c_void;
1889}
1890extern "C" {
1891 pub fn zend_llist_get_next_ex(
1892 l: *mut zend_llist,
1893 pos: *mut zend_llist_position,
1894 ) -> *mut ::std::os::raw::c_void;
1895}
1896extern "C" {
1897 pub fn zend_llist_get_prev_ex(
1898 l: *mut zend_llist,
1899 pos: *mut zend_llist_position,
1900 ) -> *mut ::std::os::raw::c_void;
1901}
1902pub type zend_string_copy_storage_func_t = ::std::option::Option<unsafe extern "C" fn()>;
1903pub type zend_new_interned_string_func_t =
1904 ::std::option::Option<unsafe extern "C" fn(str_: *mut zend_string) -> *mut zend_string>;
1905extern "C" {
1906 pub static mut zend_new_interned_string: zend_new_interned_string_func_t;
1907}
1908extern "C" {
1909 pub fn zend_hash_func(str_: *const ::std::os::raw::c_char, len: usize) -> zend_ulong;
1910}
1911extern "C" {
1912 pub fn zend_interned_strings_init();
1913}
1914extern "C" {
1915 pub fn zend_interned_strings_dtor();
1916}
1917extern "C" {
1918 pub fn zend_interned_strings_activate();
1919}
1920extern "C" {
1921 pub fn zend_interned_strings_deactivate();
1922}
1923extern "C" {
1924 pub fn zend_interned_string_find_permanent(str_: *mut zend_string) -> *mut zend_string;
1925}
1926extern "C" {
1927 pub fn zend_interned_strings_set_request_storage_handler(
1928 handler: zend_new_interned_string_func_t,
1929 );
1930}
1931extern "C" {
1932 pub fn zend_interned_strings_set_permanent_storage_copy_handler(
1933 handler: zend_string_copy_storage_func_t,
1934 );
1935}
1936extern "C" {
1937 pub fn zend_interned_strings_switch_storage();
1938}
1939extern "C" {
1940 pub static mut zend_empty_string: *mut zend_string;
1941}
1942extern "C" {
1943 pub static mut zend_one_char_string: [*mut zend_string; 256usize];
1944}
1945extern "C" {
1946 pub static mut zend_known_strings: *mut *mut zend_string;
1947}
1948pub const _zend_known_string_id_ZEND_STR_FILE: _zend_known_string_id = 0;
1949pub const _zend_known_string_id_ZEND_STR_LINE: _zend_known_string_id = 1;
1950pub const _zend_known_string_id_ZEND_STR_FUNCTION: _zend_known_string_id = 2;
1951pub const _zend_known_string_id_ZEND_STR_CLASS: _zend_known_string_id = 3;
1952pub const _zend_known_string_id_ZEND_STR_OBJECT: _zend_known_string_id = 4;
1953pub const _zend_known_string_id_ZEND_STR_TYPE: _zend_known_string_id = 5;
1954pub const _zend_known_string_id_ZEND_STR_OBJECT_OPERATOR: _zend_known_string_id = 6;
1955pub const _zend_known_string_id_ZEND_STR_PAAMAYIM_NEKUDOTAYIM: _zend_known_string_id = 7;
1956pub const _zend_known_string_id_ZEND_STR_ARGS: _zend_known_string_id = 8;
1957pub const _zend_known_string_id_ZEND_STR_UNKNOWN: _zend_known_string_id = 9;
1958pub const _zend_known_string_id_ZEND_STR_EVAL: _zend_known_string_id = 10;
1959pub const _zend_known_string_id_ZEND_STR_INCLUDE: _zend_known_string_id = 11;
1960pub const _zend_known_string_id_ZEND_STR_REQUIRE: _zend_known_string_id = 12;
1961pub const _zend_known_string_id_ZEND_STR_INCLUDE_ONCE: _zend_known_string_id = 13;
1962pub const _zend_known_string_id_ZEND_STR_REQUIRE_ONCE: _zend_known_string_id = 14;
1963pub const _zend_known_string_id_ZEND_STR_SCALAR: _zend_known_string_id = 15;
1964pub const _zend_known_string_id_ZEND_STR_ERROR_REPORTING: _zend_known_string_id = 16;
1965pub const _zend_known_string_id_ZEND_STR_STATIC: _zend_known_string_id = 17;
1966pub const _zend_known_string_id_ZEND_STR_THIS: _zend_known_string_id = 18;
1967pub const _zend_known_string_id_ZEND_STR_VALUE: _zend_known_string_id = 19;
1968pub const _zend_known_string_id_ZEND_STR_KEY: _zend_known_string_id = 20;
1969pub const _zend_known_string_id_ZEND_STR_MAGIC_AUTOLOAD: _zend_known_string_id = 21;
1970pub const _zend_known_string_id_ZEND_STR_MAGIC_INVOKE: _zend_known_string_id = 22;
1971pub const _zend_known_string_id_ZEND_STR_PREVIOUS: _zend_known_string_id = 23;
1972pub const _zend_known_string_id_ZEND_STR_CODE: _zend_known_string_id = 24;
1973pub const _zend_known_string_id_ZEND_STR_MESSAGE: _zend_known_string_id = 25;
1974pub const _zend_known_string_id_ZEND_STR_SEVERITY: _zend_known_string_id = 26;
1975pub const _zend_known_string_id_ZEND_STR_STRING: _zend_known_string_id = 27;
1976pub const _zend_known_string_id_ZEND_STR_TRACE: _zend_known_string_id = 28;
1977pub const _zend_known_string_id_ZEND_STR_SCHEME: _zend_known_string_id = 29;
1978pub const _zend_known_string_id_ZEND_STR_HOST: _zend_known_string_id = 30;
1979pub const _zend_known_string_id_ZEND_STR_PORT: _zend_known_string_id = 31;
1980pub const _zend_known_string_id_ZEND_STR_USER: _zend_known_string_id = 32;
1981pub const _zend_known_string_id_ZEND_STR_PASS: _zend_known_string_id = 33;
1982pub const _zend_known_string_id_ZEND_STR_PATH: _zend_known_string_id = 34;
1983pub const _zend_known_string_id_ZEND_STR_QUERY: _zend_known_string_id = 35;
1984pub const _zend_known_string_id_ZEND_STR_FRAGMENT: _zend_known_string_id = 36;
1985pub const _zend_known_string_id_ZEND_STR_NULL: _zend_known_string_id = 37;
1986pub const _zend_known_string_id_ZEND_STR_BOOLEAN: _zend_known_string_id = 38;
1987pub const _zend_known_string_id_ZEND_STR_INTEGER: _zend_known_string_id = 39;
1988pub const _zend_known_string_id_ZEND_STR_DOUBLE: _zend_known_string_id = 40;
1989pub const _zend_known_string_id_ZEND_STR_ARRAY: _zend_known_string_id = 41;
1990pub const _zend_known_string_id_ZEND_STR_RESOURCE: _zend_known_string_id = 42;
1991pub const _zend_known_string_id_ZEND_STR_CLOSED_RESOURCE: _zend_known_string_id = 43;
1992pub const _zend_known_string_id_ZEND_STR_LAST_KNOWN: _zend_known_string_id = 44;
1993pub type _zend_known_string_id = ::std::os::raw::c_uint;
1994pub use self::_zend_known_string_id as zend_known_string_id;
1995#[repr(C)]
1996#[derive(Debug, Copy, Clone)]
1997pub struct _zend_hash_key {
1998 pub h: zend_ulong,
1999 pub key: *mut zend_string,
2000}
2001#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2002const _: () = {
2003 ["Size of _zend_hash_key"][::std::mem::size_of::<_zend_hash_key>() - 16usize];
2004 ["Alignment of _zend_hash_key"][::std::mem::align_of::<_zend_hash_key>() - 8usize];
2005 ["Offset of field: _zend_hash_key::h"][::std::mem::offset_of!(_zend_hash_key, h) - 0usize];
2006 ["Offset of field: _zend_hash_key::key"][::std::mem::offset_of!(_zend_hash_key, key) - 8usize];
2007};
2008pub type zend_hash_key = _zend_hash_key;
2009pub type merge_checker_func_t = ::std::option::Option<
2010 unsafe extern "C" fn(
2011 target_ht: *mut HashTable,
2012 source_data: *mut zval,
2013 hash_key: *mut zend_hash_key,
2014 pParam: *mut ::std::os::raw::c_void,
2015 ) -> zend_bool,
2016>;
2017extern "C" {
2018 pub fn _zend_hash_init(
2019 ht: *mut HashTable,
2020 nSize: u32,
2021 pDestructor: dtor_func_t,
2022 persistent: zend_bool,
2023 );
2024}
2025extern "C" {
2026 pub fn _zend_hash_init_ex(
2027 ht: *mut HashTable,
2028 nSize: u32,
2029 pDestructor: dtor_func_t,
2030 persistent: zend_bool,
2031 bApplyProtection: zend_bool,
2032 );
2033}
2034extern "C" {
2035 pub fn zend_hash_destroy(ht: *mut HashTable);
2036}
2037extern "C" {
2038 pub fn zend_hash_clean(ht: *mut HashTable);
2039}
2040extern "C" {
2041 pub fn zend_hash_real_init(ht: *mut HashTable, packed: zend_bool);
2042}
2043extern "C" {
2044 pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
2045}
2046extern "C" {
2047 pub fn zend_hash_to_packed(ht: *mut HashTable);
2048}
2049extern "C" {
2050 pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: zend_bool);
2051}
2052extern "C" {
2053 pub fn _zend_hash_add_or_update(
2054 ht: *mut HashTable,
2055 key: *mut zend_string,
2056 pData: *mut zval,
2057 flag: u32,
2058 ) -> *mut zval;
2059}
2060extern "C" {
2061 pub fn _zend_hash_update(
2062 ht: *mut HashTable,
2063 key: *mut zend_string,
2064 pData: *mut zval,
2065 ) -> *mut zval;
2066}
2067extern "C" {
2068 pub fn _zend_hash_update_ind(
2069 ht: *mut HashTable,
2070 key: *mut zend_string,
2071 pData: *mut zval,
2072 ) -> *mut zval;
2073}
2074extern "C" {
2075 pub fn _zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval)
2076 -> *mut zval;
2077}
2078extern "C" {
2079 pub fn _zend_hash_add_new(
2080 ht: *mut HashTable,
2081 key: *mut zend_string,
2082 pData: *mut zval,
2083 ) -> *mut zval;
2084}
2085extern "C" {
2086 pub fn _zend_hash_str_add_or_update(
2087 ht: *mut HashTable,
2088 key: *const ::std::os::raw::c_char,
2089 len: usize,
2090 pData: *mut zval,
2091 flag: u32,
2092 ) -> *mut zval;
2093}
2094extern "C" {
2095 pub fn _zend_hash_str_update(
2096 ht: *mut HashTable,
2097 key: *const ::std::os::raw::c_char,
2098 len: usize,
2099 pData: *mut zval,
2100 ) -> *mut zval;
2101}
2102extern "C" {
2103 pub fn _zend_hash_str_update_ind(
2104 ht: *mut HashTable,
2105 key: *const ::std::os::raw::c_char,
2106 len: usize,
2107 pData: *mut zval,
2108 ) -> *mut zval;
2109}
2110extern "C" {
2111 pub fn _zend_hash_str_add(
2112 ht: *mut HashTable,
2113 key: *const ::std::os::raw::c_char,
2114 len: usize,
2115 pData: *mut zval,
2116 ) -> *mut zval;
2117}
2118extern "C" {
2119 pub fn _zend_hash_str_add_new(
2120 ht: *mut HashTable,
2121 key: *const ::std::os::raw::c_char,
2122 len: usize,
2123 pData: *mut zval,
2124 ) -> *mut zval;
2125}
2126extern "C" {
2127 pub fn _zend_hash_index_add_or_update(
2128 ht: *mut HashTable,
2129 h: zend_ulong,
2130 pData: *mut zval,
2131 flag: u32,
2132 ) -> *mut zval;
2133}
2134extern "C" {
2135 pub fn _zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
2136}
2137extern "C" {
2138 pub fn _zend_hash_index_add_new(
2139 ht: *mut HashTable,
2140 h: zend_ulong,
2141 pData: *mut zval,
2142 ) -> *mut zval;
2143}
2144extern "C" {
2145 pub fn _zend_hash_index_update(
2146 ht: *mut HashTable,
2147 h: zend_ulong,
2148 pData: *mut zval,
2149 ) -> *mut zval;
2150}
2151extern "C" {
2152 pub fn _zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2153}
2154extern "C" {
2155 pub fn _zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2156}
2157extern "C" {
2158 pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
2159}
2160extern "C" {
2161 pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
2162}
2163extern "C" {
2164 pub fn zend_hash_str_add_empty_element(
2165 ht: *mut HashTable,
2166 key: *const ::std::os::raw::c_char,
2167 len: usize,
2168 ) -> *mut zval;
2169}
2170pub type apply_func_t =
2171 ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval) -> ::std::os::raw::c_int>;
2172pub type apply_func_arg_t = ::std::option::Option<
2173 unsafe extern "C" fn(
2174 pDest: *mut zval,
2175 argument: *mut ::std::os::raw::c_void,
2176 ) -> ::std::os::raw::c_int,
2177>;
2178pub type apply_func_args_t = ::std::option::Option<
2179 unsafe extern "C" fn(
2180 pDest: *mut zval,
2181 num_args: ::std::os::raw::c_int,
2182 args: *mut __va_list_tag,
2183 hash_key: *mut zend_hash_key,
2184 ) -> ::std::os::raw::c_int,
2185>;
2186extern "C" {
2187 pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
2188}
2189extern "C" {
2190 pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
2191}
2192extern "C" {
2193 pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
2194}
2195extern "C" {
2196 pub fn zend_hash_apply_with_argument(
2197 ht: *mut HashTable,
2198 apply_func: apply_func_arg_t,
2199 arg1: *mut ::std::os::raw::c_void,
2200 );
2201}
2202extern "C" {
2203 pub fn zend_hash_apply_with_arguments(
2204 ht: *mut HashTable,
2205 apply_func: apply_func_args_t,
2206 arg1: ::std::os::raw::c_int,
2207 ...
2208 );
2209}
2210extern "C" {
2211 pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
2212}
2213extern "C" {
2214 pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> ::std::os::raw::c_int;
2215}
2216extern "C" {
2217 pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> ::std::os::raw::c_int;
2218}
2219extern "C" {
2220 pub fn zend_hash_str_del(
2221 ht: *mut HashTable,
2222 key: *const ::std::os::raw::c_char,
2223 len: usize,
2224 ) -> ::std::os::raw::c_int;
2225}
2226extern "C" {
2227 pub fn zend_hash_str_del_ind(
2228 ht: *mut HashTable,
2229 key: *const ::std::os::raw::c_char,
2230 len: usize,
2231 ) -> ::std::os::raw::c_int;
2232}
2233extern "C" {
2234 pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> ::std::os::raw::c_int;
2235}
2236extern "C" {
2237 pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
2238}
2239extern "C" {
2240 pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
2241}
2242extern "C" {
2243 pub fn zend_hash_str_find(
2244 ht: *const HashTable,
2245 key: *const ::std::os::raw::c_char,
2246 len: usize,
2247 ) -> *mut zval;
2248}
2249extern "C" {
2250 pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2251}
2252extern "C" {
2253 pub fn _zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2254}
2255extern "C" {
2256 pub fn zend_hash_exists(ht: *const HashTable, key: *mut zend_string) -> zend_bool;
2257}
2258extern "C" {
2259 pub fn zend_hash_str_exists(
2260 ht: *const HashTable,
2261 str_: *const ::std::os::raw::c_char,
2262 len: usize,
2263 ) -> zend_bool;
2264}
2265extern "C" {
2266 pub fn zend_hash_index_exists(ht: *const HashTable, h: zend_ulong) -> zend_bool;
2267}
2268extern "C" {
2269 pub fn zend_hash_move_forward_ex(
2270 ht: *mut HashTable,
2271 pos: *mut HashPosition,
2272 ) -> ::std::os::raw::c_int;
2273}
2274extern "C" {
2275 pub fn zend_hash_move_backwards_ex(
2276 ht: *mut HashTable,
2277 pos: *mut HashPosition,
2278 ) -> ::std::os::raw::c_int;
2279}
2280extern "C" {
2281 pub fn zend_hash_get_current_key_ex(
2282 ht: *const HashTable,
2283 str_index: *mut *mut zend_string,
2284 num_index: *mut zend_ulong,
2285 pos: *mut HashPosition,
2286 ) -> ::std::os::raw::c_int;
2287}
2288extern "C" {
2289 pub fn zend_hash_get_current_key_zval_ex(
2290 ht: *const HashTable,
2291 key: *mut zval,
2292 pos: *mut HashPosition,
2293 );
2294}
2295extern "C" {
2296 pub fn zend_hash_get_current_key_type_ex(
2297 ht: *mut HashTable,
2298 pos: *mut HashPosition,
2299 ) -> ::std::os::raw::c_int;
2300}
2301extern "C" {
2302 pub fn zend_hash_get_current_data_ex(ht: *mut HashTable, pos: *mut HashPosition) -> *mut zval;
2303}
2304extern "C" {
2305 pub fn zend_hash_internal_pointer_reset_ex(ht: *mut HashTable, pos: *mut HashPosition);
2306}
2307extern "C" {
2308 pub fn zend_hash_internal_pointer_end_ex(ht: *mut HashTable, pos: *mut HashPosition);
2309}
2310extern "C" {
2311 pub fn zend_hash_copy(
2312 target: *mut HashTable,
2313 source: *mut HashTable,
2314 pCopyConstructor: copy_ctor_func_t,
2315 );
2316}
2317extern "C" {
2318 pub fn _zend_hash_merge(
2319 target: *mut HashTable,
2320 source: *mut HashTable,
2321 pCopyConstructor: copy_ctor_func_t,
2322 overwrite: zend_bool,
2323 );
2324}
2325extern "C" {
2326 pub fn zend_hash_merge_ex(
2327 target: *mut HashTable,
2328 source: *mut HashTable,
2329 pCopyConstructor: copy_ctor_func_t,
2330 pMergeSource: merge_checker_func_t,
2331 pParam: *mut ::std::os::raw::c_void,
2332 );
2333}
2334extern "C" {
2335 pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
2336}
2337extern "C" {
2338 pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
2339}
2340extern "C" {
2341 pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
2342}
2343extern "C" {
2344 pub fn zend_hash_compare(
2345 ht1: *mut HashTable,
2346 ht2: *mut HashTable,
2347 compar: compare_func_t,
2348 ordered: zend_bool,
2349 ) -> ::std::os::raw::c_int;
2350}
2351extern "C" {
2352 pub fn zend_hash_sort_ex(
2353 ht: *mut HashTable,
2354 sort_func: sort_func_t,
2355 compare_func: compare_func_t,
2356 renumber: zend_bool,
2357 ) -> ::std::os::raw::c_int;
2358}
2359extern "C" {
2360 pub fn zend_hash_minmax(ht: *const HashTable, compar: compare_func_t, flag: u32) -> *mut zval;
2361}
2362extern "C" {
2363 pub fn zend_hash_rehash(ht: *mut HashTable) -> ::std::os::raw::c_int;
2364}
2365extern "C" {
2366 pub fn zend_array_count(ht: *mut HashTable) -> u32;
2367}
2368extern "C" {
2369 pub fn zend_array_dup(source: *mut HashTable) -> *mut HashTable;
2370}
2371extern "C" {
2372 pub fn zend_array_destroy(ht: *mut HashTable);
2373}
2374extern "C" {
2375 pub fn zend_symtable_clean(ht: *mut HashTable);
2376}
2377extern "C" {
2378 pub fn zend_symtable_to_proptable(ht: *mut HashTable) -> *mut HashTable;
2379}
2380extern "C" {
2381 pub fn zend_proptable_to_symtable(
2382 ht: *mut HashTable,
2383 always_duplicate: zend_bool,
2384 ) -> *mut HashTable;
2385}
2386extern "C" {
2387 pub fn _zend_handle_numeric_str_ex(
2388 key: *const ::std::os::raw::c_char,
2389 length: usize,
2390 idx: *mut zend_ulong,
2391 ) -> ::std::os::raw::c_int;
2392}
2393extern "C" {
2394 pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
2395}
2396extern "C" {
2397 pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
2398}
2399extern "C" {
2400 pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
2401}
2402extern "C" {
2403 pub fn zend_hash_iterator_del(idx: u32);
2404}
2405extern "C" {
2406 pub fn zend_hash_iterators_lower_pos(ht: *mut HashTable, start: HashPosition) -> HashPosition;
2407}
2408extern "C" {
2409 pub fn _zend_hash_iterators_update(ht: *mut HashTable, from: HashPosition, to: HashPosition);
2410}
2411pub type zend_ast_kind = u16;
2412pub type zend_ast_attr = u16;
2413#[repr(C)]
2414#[derive(Debug, Copy, Clone)]
2415pub struct _zend_ast {
2416 pub kind: zend_ast_kind,
2417 pub attr: zend_ast_attr,
2418 pub lineno: u32,
2419 pub child: [*mut zend_ast; 1usize],
2420}
2421#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2422const _: () = {
2423 ["Size of _zend_ast"][::std::mem::size_of::<_zend_ast>() - 16usize];
2424 ["Alignment of _zend_ast"][::std::mem::align_of::<_zend_ast>() - 8usize];
2425 ["Offset of field: _zend_ast::kind"][::std::mem::offset_of!(_zend_ast, kind) - 0usize];
2426 ["Offset of field: _zend_ast::attr"][::std::mem::offset_of!(_zend_ast, attr) - 2usize];
2427 ["Offset of field: _zend_ast::lineno"][::std::mem::offset_of!(_zend_ast, lineno) - 4usize];
2428 ["Offset of field: _zend_ast::child"][::std::mem::offset_of!(_zend_ast, child) - 8usize];
2429};
2430#[repr(C)]
2431#[derive(Debug, Copy, Clone)]
2432pub struct _zend_ast_list {
2433 pub kind: zend_ast_kind,
2434 pub attr: zend_ast_attr,
2435 pub lineno: u32,
2436 pub children: u32,
2437 pub child: [*mut zend_ast; 1usize],
2438}
2439#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2440const _: () = {
2441 ["Size of _zend_ast_list"][::std::mem::size_of::<_zend_ast_list>() - 24usize];
2442 ["Alignment of _zend_ast_list"][::std::mem::align_of::<_zend_ast_list>() - 8usize];
2443 ["Offset of field: _zend_ast_list::kind"]
2444 [::std::mem::offset_of!(_zend_ast_list, kind) - 0usize];
2445 ["Offset of field: _zend_ast_list::attr"]
2446 [::std::mem::offset_of!(_zend_ast_list, attr) - 2usize];
2447 ["Offset of field: _zend_ast_list::lineno"]
2448 [::std::mem::offset_of!(_zend_ast_list, lineno) - 4usize];
2449 ["Offset of field: _zend_ast_list::children"]
2450 [::std::mem::offset_of!(_zend_ast_list, children) - 8usize];
2451 ["Offset of field: _zend_ast_list::child"]
2452 [::std::mem::offset_of!(_zend_ast_list, child) - 16usize];
2453};
2454pub type zend_ast_list = _zend_ast_list;
2455#[repr(C)]
2456#[derive(Copy, Clone)]
2457pub struct _zend_ast_zval {
2458 pub kind: zend_ast_kind,
2459 pub attr: zend_ast_attr,
2460 pub val: zval,
2461}
2462#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2463const _: () = {
2464 ["Size of _zend_ast_zval"][::std::mem::size_of::<_zend_ast_zval>() - 24usize];
2465 ["Alignment of _zend_ast_zval"][::std::mem::align_of::<_zend_ast_zval>() - 8usize];
2466 ["Offset of field: _zend_ast_zval::kind"]
2467 [::std::mem::offset_of!(_zend_ast_zval, kind) - 0usize];
2468 ["Offset of field: _zend_ast_zval::attr"]
2469 [::std::mem::offset_of!(_zend_ast_zval, attr) - 2usize];
2470 ["Offset of field: _zend_ast_zval::val"][::std::mem::offset_of!(_zend_ast_zval, val) - 8usize];
2471};
2472pub type zend_ast_zval = _zend_ast_zval;
2473#[repr(C)]
2474#[derive(Debug, Copy, Clone)]
2475pub struct _zend_ast_decl {
2476 pub kind: zend_ast_kind,
2477 pub attr: zend_ast_attr,
2478 pub start_lineno: u32,
2479 pub end_lineno: u32,
2480 pub flags: u32,
2481 pub lex_pos: *mut ::std::os::raw::c_uchar,
2482 pub doc_comment: *mut zend_string,
2483 pub name: *mut zend_string,
2484 pub child: [*mut zend_ast; 4usize],
2485}
2486#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2487const _: () = {
2488 ["Size of _zend_ast_decl"][::std::mem::size_of::<_zend_ast_decl>() - 72usize];
2489 ["Alignment of _zend_ast_decl"][::std::mem::align_of::<_zend_ast_decl>() - 8usize];
2490 ["Offset of field: _zend_ast_decl::kind"]
2491 [::std::mem::offset_of!(_zend_ast_decl, kind) - 0usize];
2492 ["Offset of field: _zend_ast_decl::attr"]
2493 [::std::mem::offset_of!(_zend_ast_decl, attr) - 2usize];
2494 ["Offset of field: _zend_ast_decl::start_lineno"]
2495 [::std::mem::offset_of!(_zend_ast_decl, start_lineno) - 4usize];
2496 ["Offset of field: _zend_ast_decl::end_lineno"]
2497 [::std::mem::offset_of!(_zend_ast_decl, end_lineno) - 8usize];
2498 ["Offset of field: _zend_ast_decl::flags"]
2499 [::std::mem::offset_of!(_zend_ast_decl, flags) - 12usize];
2500 ["Offset of field: _zend_ast_decl::lex_pos"]
2501 [::std::mem::offset_of!(_zend_ast_decl, lex_pos) - 16usize];
2502 ["Offset of field: _zend_ast_decl::doc_comment"]
2503 [::std::mem::offset_of!(_zend_ast_decl, doc_comment) - 24usize];
2504 ["Offset of field: _zend_ast_decl::name"]
2505 [::std::mem::offset_of!(_zend_ast_decl, name) - 32usize];
2506 ["Offset of field: _zend_ast_decl::child"]
2507 [::std::mem::offset_of!(_zend_ast_decl, child) - 40usize];
2508};
2509pub type zend_ast_decl = _zend_ast_decl;
2510pub type zend_ast_process_t = ::std::option::Option<unsafe extern "C" fn(ast: *mut zend_ast)>;
2511extern "C" {
2512 pub static mut zend_ast_process: zend_ast_process_t;
2513}
2514extern "C" {
2515 pub fn zend_ast_create_zval_with_lineno(
2516 zv: *mut zval,
2517 attr: zend_ast_attr,
2518 lineno: u32,
2519 ) -> *mut zend_ast;
2520}
2521extern "C" {
2522 pub fn zend_ast_create_zval_ex(zv: *mut zval, attr: zend_ast_attr) -> *mut zend_ast;
2523}
2524extern "C" {
2525 pub fn zend_ast_create_ex(kind: zend_ast_kind, attr: zend_ast_attr, ...) -> *mut zend_ast;
2526}
2527extern "C" {
2528 pub fn zend_ast_create(kind: zend_ast_kind, ...) -> *mut zend_ast;
2529}
2530extern "C" {
2531 pub fn zend_ast_create_decl(
2532 kind: zend_ast_kind,
2533 flags: u32,
2534 start_lineno: u32,
2535 doc_comment: *mut zend_string,
2536 name: *mut zend_string,
2537 child0: *mut zend_ast,
2538 child1: *mut zend_ast,
2539 child2: *mut zend_ast,
2540 child3: *mut zend_ast,
2541 ) -> *mut zend_ast;
2542}
2543extern "C" {
2544 pub fn zend_ast_create_list(init_children: u32, kind: zend_ast_kind, ...) -> *mut zend_ast;
2545}
2546extern "C" {
2547 pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
2548}
2549extern "C" {
2550 pub fn zend_ast_evaluate(
2551 result: *mut zval,
2552 ast: *mut zend_ast,
2553 scope: *mut zend_class_entry,
2554 ) -> ::std::os::raw::c_int;
2555}
2556extern "C" {
2557 pub fn zend_ast_export(
2558 prefix: *const ::std::os::raw::c_char,
2559 ast: *mut zend_ast,
2560 suffix: *const ::std::os::raw::c_char,
2561 ) -> *mut zend_string;
2562}
2563extern "C" {
2564 pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast;
2565}
2566extern "C" {
2567 pub fn zend_ast_destroy(ast: *mut zend_ast);
2568}
2569extern "C" {
2570 pub fn zend_ast_destroy_and_free(ast: *mut zend_ast);
2571}
2572pub type zend_ast_apply_func =
2573 ::std::option::Option<unsafe extern "C" fn(ast_ptr: *mut *mut zend_ast)>;
2574extern "C" {
2575 pub fn zend_ast_apply(ast: *mut zend_ast, fn_: zend_ast_apply_func);
2576}
2577#[repr(C)]
2578#[derive(Debug, Copy, Clone)]
2579pub struct _gc_root_buffer {
2580 pub ref_: *mut zend_refcounted,
2581 pub next: *mut _gc_root_buffer,
2582 pub prev: *mut _gc_root_buffer,
2583 pub refcount: u32,
2584}
2585#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2586const _: () = {
2587 ["Size of _gc_root_buffer"][::std::mem::size_of::<_gc_root_buffer>() - 32usize];
2588 ["Alignment of _gc_root_buffer"][::std::mem::align_of::<_gc_root_buffer>() - 8usize];
2589 ["Offset of field: _gc_root_buffer::ref_"]
2590 [::std::mem::offset_of!(_gc_root_buffer, ref_) - 0usize];
2591 ["Offset of field: _gc_root_buffer::next"]
2592 [::std::mem::offset_of!(_gc_root_buffer, next) - 8usize];
2593 ["Offset of field: _gc_root_buffer::prev"]
2594 [::std::mem::offset_of!(_gc_root_buffer, prev) - 16usize];
2595 ["Offset of field: _gc_root_buffer::refcount"]
2596 [::std::mem::offset_of!(_gc_root_buffer, refcount) - 24usize];
2597};
2598pub type gc_root_buffer = _gc_root_buffer;
2599pub type gc_additional_buffer = _gc_additional_bufer;
2600#[repr(C)]
2601#[derive(Debug, Copy, Clone)]
2602pub struct _gc_additional_bufer {
2603 pub used: u32,
2604 pub next: *mut gc_additional_buffer,
2605 pub buf: [gc_root_buffer; 127usize],
2606}
2607#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2608const _: () = {
2609 ["Size of _gc_additional_bufer"][::std::mem::size_of::<_gc_additional_bufer>() - 4080usize];
2610 ["Alignment of _gc_additional_bufer"][::std::mem::align_of::<_gc_additional_bufer>() - 8usize];
2611 ["Offset of field: _gc_additional_bufer::used"]
2612 [::std::mem::offset_of!(_gc_additional_bufer, used) - 0usize];
2613 ["Offset of field: _gc_additional_bufer::next"]
2614 [::std::mem::offset_of!(_gc_additional_bufer, next) - 8usize];
2615 ["Offset of field: _gc_additional_bufer::buf"]
2616 [::std::mem::offset_of!(_gc_additional_bufer, buf) - 16usize];
2617};
2618#[repr(C)]
2619#[derive(Debug, Copy, Clone)]
2620pub struct _zend_gc_globals {
2621 pub gc_enabled: zend_bool,
2622 pub gc_active: zend_bool,
2623 pub gc_full: zend_bool,
2624 pub buf: *mut gc_root_buffer,
2625 pub roots: gc_root_buffer,
2626 pub unused: *mut gc_root_buffer,
2627 pub first_unused: *mut gc_root_buffer,
2628 pub last_unused: *mut gc_root_buffer,
2629 pub to_free: gc_root_buffer,
2630 pub next_to_free: *mut gc_root_buffer,
2631 pub gc_runs: u32,
2632 pub collected: u32,
2633 pub additional_buffer: *mut gc_additional_buffer,
2634}
2635#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2636const _: () = {
2637 ["Size of _zend_gc_globals"][::std::mem::size_of::<_zend_gc_globals>() - 128usize];
2638 ["Alignment of _zend_gc_globals"][::std::mem::align_of::<_zend_gc_globals>() - 8usize];
2639 ["Offset of field: _zend_gc_globals::gc_enabled"]
2640 [::std::mem::offset_of!(_zend_gc_globals, gc_enabled) - 0usize];
2641 ["Offset of field: _zend_gc_globals::gc_active"]
2642 [::std::mem::offset_of!(_zend_gc_globals, gc_active) - 1usize];
2643 ["Offset of field: _zend_gc_globals::gc_full"]
2644 [::std::mem::offset_of!(_zend_gc_globals, gc_full) - 2usize];
2645 ["Offset of field: _zend_gc_globals::buf"]
2646 [::std::mem::offset_of!(_zend_gc_globals, buf) - 8usize];
2647 ["Offset of field: _zend_gc_globals::roots"]
2648 [::std::mem::offset_of!(_zend_gc_globals, roots) - 16usize];
2649 ["Offset of field: _zend_gc_globals::unused"]
2650 [::std::mem::offset_of!(_zend_gc_globals, unused) - 48usize];
2651 ["Offset of field: _zend_gc_globals::first_unused"]
2652 [::std::mem::offset_of!(_zend_gc_globals, first_unused) - 56usize];
2653 ["Offset of field: _zend_gc_globals::last_unused"]
2654 [::std::mem::offset_of!(_zend_gc_globals, last_unused) - 64usize];
2655 ["Offset of field: _zend_gc_globals::to_free"]
2656 [::std::mem::offset_of!(_zend_gc_globals, to_free) - 72usize];
2657 ["Offset of field: _zend_gc_globals::next_to_free"]
2658 [::std::mem::offset_of!(_zend_gc_globals, next_to_free) - 104usize];
2659 ["Offset of field: _zend_gc_globals::gc_runs"]
2660 [::std::mem::offset_of!(_zend_gc_globals, gc_runs) - 112usize];
2661 ["Offset of field: _zend_gc_globals::collected"]
2662 [::std::mem::offset_of!(_zend_gc_globals, collected) - 116usize];
2663 ["Offset of field: _zend_gc_globals::additional_buffer"]
2664 [::std::mem::offset_of!(_zend_gc_globals, additional_buffer) - 120usize];
2665};
2666pub type zend_gc_globals = _zend_gc_globals;
2667extern "C" {
2668 pub static mut gc_globals: zend_gc_globals;
2669}
2670extern "C" {
2671 pub static mut gc_collect_cycles:
2672 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2673}
2674extern "C" {
2675 pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
2676}
2677extern "C" {
2678 pub fn zend_print_variable(var: *mut zval) -> usize;
2679}
2680pub type zend_object_iterator = _zend_object_iterator;
2681#[repr(C)]
2682#[derive(Debug, Copy, Clone)]
2683pub struct _zend_object_iterator_funcs {
2684 pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2685 pub valid: ::std::option::Option<
2686 unsafe extern "C" fn(iter: *mut zend_object_iterator) -> ::std::os::raw::c_int,
2687 >,
2688 pub get_current_data:
2689 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
2690 pub get_current_key: ::std::option::Option<
2691 unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
2692 >,
2693 pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2694 pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2695 pub invalidate_current:
2696 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2697}
2698#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2699const _: () = {
2700 ["Size of _zend_object_iterator_funcs"]
2701 [::std::mem::size_of::<_zend_object_iterator_funcs>() - 56usize];
2702 ["Alignment of _zend_object_iterator_funcs"]
2703 [::std::mem::align_of::<_zend_object_iterator_funcs>() - 8usize];
2704 ["Offset of field: _zend_object_iterator_funcs::dtor"]
2705 [::std::mem::offset_of!(_zend_object_iterator_funcs, dtor) - 0usize];
2706 ["Offset of field: _zend_object_iterator_funcs::valid"]
2707 [::std::mem::offset_of!(_zend_object_iterator_funcs, valid) - 8usize];
2708 ["Offset of field: _zend_object_iterator_funcs::get_current_data"]
2709 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_data) - 16usize];
2710 ["Offset of field: _zend_object_iterator_funcs::get_current_key"]
2711 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_key) - 24usize];
2712 ["Offset of field: _zend_object_iterator_funcs::move_forward"]
2713 [::std::mem::offset_of!(_zend_object_iterator_funcs, move_forward) - 32usize];
2714 ["Offset of field: _zend_object_iterator_funcs::rewind"]
2715 [::std::mem::offset_of!(_zend_object_iterator_funcs, rewind) - 40usize];
2716 ["Offset of field: _zend_object_iterator_funcs::invalidate_current"]
2717 [::std::mem::offset_of!(_zend_object_iterator_funcs, invalidate_current) - 48usize];
2718};
2719pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
2720#[repr(C)]
2721#[derive(Copy, Clone)]
2722pub struct _zend_object_iterator {
2723 pub std: zend_object,
2724 pub data: zval,
2725 pub funcs: *mut zend_object_iterator_funcs,
2726 pub index: zend_ulong,
2727}
2728#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2729const _: () = {
2730 ["Size of _zend_object_iterator"][::std::mem::size_of::<_zend_object_iterator>() - 88usize];
2731 ["Alignment of _zend_object_iterator"]
2732 [::std::mem::align_of::<_zend_object_iterator>() - 8usize];
2733 ["Offset of field: _zend_object_iterator::std"]
2734 [::std::mem::offset_of!(_zend_object_iterator, std) - 0usize];
2735 ["Offset of field: _zend_object_iterator::data"]
2736 [::std::mem::offset_of!(_zend_object_iterator, data) - 56usize];
2737 ["Offset of field: _zend_object_iterator::funcs"]
2738 [::std::mem::offset_of!(_zend_object_iterator, funcs) - 72usize];
2739 ["Offset of field: _zend_object_iterator::index"]
2740 [::std::mem::offset_of!(_zend_object_iterator, index) - 80usize];
2741};
2742#[repr(C)]
2743#[derive(Debug, Copy, Clone)]
2744pub struct _zend_class_iterator_funcs {
2745 pub funcs: *mut zend_object_iterator_funcs,
2746 pub zf_new_iterator: *mut _zend_function,
2747 pub zf_valid: *mut _zend_function,
2748 pub zf_current: *mut _zend_function,
2749 pub zf_key: *mut _zend_function,
2750 pub zf_next: *mut _zend_function,
2751 pub zf_rewind: *mut _zend_function,
2752}
2753#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2754const _: () = {
2755 ["Size of _zend_class_iterator_funcs"]
2756 [::std::mem::size_of::<_zend_class_iterator_funcs>() - 56usize];
2757 ["Alignment of _zend_class_iterator_funcs"]
2758 [::std::mem::align_of::<_zend_class_iterator_funcs>() - 8usize];
2759 ["Offset of field: _zend_class_iterator_funcs::funcs"]
2760 [::std::mem::offset_of!(_zend_class_iterator_funcs, funcs) - 0usize];
2761 ["Offset of field: _zend_class_iterator_funcs::zf_new_iterator"]
2762 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_new_iterator) - 8usize];
2763 ["Offset of field: _zend_class_iterator_funcs::zf_valid"]
2764 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_valid) - 16usize];
2765 ["Offset of field: _zend_class_iterator_funcs::zf_current"]
2766 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_current) - 24usize];
2767 ["Offset of field: _zend_class_iterator_funcs::zf_key"]
2768 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_key) - 32usize];
2769 ["Offset of field: _zend_class_iterator_funcs::zf_next"]
2770 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_next) - 40usize];
2771 ["Offset of field: _zend_class_iterator_funcs::zf_rewind"]
2772 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_rewind) - 48usize];
2773};
2774pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
2775extern "C" {
2776 pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
2777}
2778extern "C" {
2779 pub fn zend_iterator_init(iter: *mut zend_object_iterator);
2780}
2781extern "C" {
2782 pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
2783}
2784extern "C" {
2785 pub fn zend_register_iterator_wrapper();
2786}
2787#[repr(C)]
2788#[derive(Debug, Copy, Clone)]
2789pub struct stat {
2790 pub st_dev: __dev_t,
2791 pub st_ino: __ino_t,
2792 pub st_nlink: __nlink_t,
2793 pub st_mode: __mode_t,
2794 pub st_uid: __uid_t,
2795 pub st_gid: __gid_t,
2796 pub __pad0: ::std::os::raw::c_int,
2797 pub st_rdev: __dev_t,
2798 pub st_size: __off_t,
2799 pub st_blksize: __blksize_t,
2800 pub st_blocks: __blkcnt_t,
2801 pub st_atim: timespec,
2802 pub st_mtim: timespec,
2803 pub st_ctim: timespec,
2804 pub __glibc_reserved: [__syscall_slong_t; 3usize],
2805}
2806#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2807const _: () = {
2808 ["Size of stat"][::std::mem::size_of::<stat>() - 144usize];
2809 ["Alignment of stat"][::std::mem::align_of::<stat>() - 8usize];
2810 ["Offset of field: stat::st_dev"][::std::mem::offset_of!(stat, st_dev) - 0usize];
2811 ["Offset of field: stat::st_ino"][::std::mem::offset_of!(stat, st_ino) - 8usize];
2812 ["Offset of field: stat::st_nlink"][::std::mem::offset_of!(stat, st_nlink) - 16usize];
2813 ["Offset of field: stat::st_mode"][::std::mem::offset_of!(stat, st_mode) - 24usize];
2814 ["Offset of field: stat::st_uid"][::std::mem::offset_of!(stat, st_uid) - 28usize];
2815 ["Offset of field: stat::st_gid"][::std::mem::offset_of!(stat, st_gid) - 32usize];
2816 ["Offset of field: stat::__pad0"][::std::mem::offset_of!(stat, __pad0) - 36usize];
2817 ["Offset of field: stat::st_rdev"][::std::mem::offset_of!(stat, st_rdev) - 40usize];
2818 ["Offset of field: stat::st_size"][::std::mem::offset_of!(stat, st_size) - 48usize];
2819 ["Offset of field: stat::st_blksize"][::std::mem::offset_of!(stat, st_blksize) - 56usize];
2820 ["Offset of field: stat::st_blocks"][::std::mem::offset_of!(stat, st_blocks) - 64usize];
2821 ["Offset of field: stat::st_atim"][::std::mem::offset_of!(stat, st_atim) - 72usize];
2822 ["Offset of field: stat::st_mtim"][::std::mem::offset_of!(stat, st_mtim) - 88usize];
2823 ["Offset of field: stat::st_ctim"][::std::mem::offset_of!(stat, st_ctim) - 104usize];
2824 ["Offset of field: stat::__glibc_reserved"]
2825 [::std::mem::offset_of!(stat, __glibc_reserved) - 120usize];
2826};
2827pub type zend_stream_fsizer_t =
2828 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> usize>;
2829pub type zend_stream_reader_t = ::std::option::Option<
2830 unsafe extern "C" fn(
2831 handle: *mut ::std::os::raw::c_void,
2832 buf: *mut ::std::os::raw::c_char,
2833 len: usize,
2834 ) -> usize,
2835>;
2836pub type zend_stream_closer_t =
2837 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
2838pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
2839pub const zend_stream_type_ZEND_HANDLE_FD: zend_stream_type = 1;
2840pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 2;
2841pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 3;
2842pub const zend_stream_type_ZEND_HANDLE_MAPPED: zend_stream_type = 4;
2843pub type zend_stream_type = ::std::os::raw::c_uint;
2844#[repr(C)]
2845#[derive(Debug, Copy, Clone)]
2846pub struct _zend_mmap {
2847 pub len: usize,
2848 pub pos: usize,
2849 pub map: *mut ::std::os::raw::c_void,
2850 pub buf: *mut ::std::os::raw::c_char,
2851 pub old_handle: *mut ::std::os::raw::c_void,
2852 pub old_closer: zend_stream_closer_t,
2853}
2854#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2855const _: () = {
2856 ["Size of _zend_mmap"][::std::mem::size_of::<_zend_mmap>() - 48usize];
2857 ["Alignment of _zend_mmap"][::std::mem::align_of::<_zend_mmap>() - 8usize];
2858 ["Offset of field: _zend_mmap::len"][::std::mem::offset_of!(_zend_mmap, len) - 0usize];
2859 ["Offset of field: _zend_mmap::pos"][::std::mem::offset_of!(_zend_mmap, pos) - 8usize];
2860 ["Offset of field: _zend_mmap::map"][::std::mem::offset_of!(_zend_mmap, map) - 16usize];
2861 ["Offset of field: _zend_mmap::buf"][::std::mem::offset_of!(_zend_mmap, buf) - 24usize];
2862 ["Offset of field: _zend_mmap::old_handle"]
2863 [::std::mem::offset_of!(_zend_mmap, old_handle) - 32usize];
2864 ["Offset of field: _zend_mmap::old_closer"]
2865 [::std::mem::offset_of!(_zend_mmap, old_closer) - 40usize];
2866};
2867pub type zend_mmap = _zend_mmap;
2868#[repr(C)]
2869#[derive(Debug, Copy, Clone)]
2870pub struct _zend_stream {
2871 pub handle: *mut ::std::os::raw::c_void,
2872 pub isatty: ::std::os::raw::c_int,
2873 pub mmap: zend_mmap,
2874 pub reader: zend_stream_reader_t,
2875 pub fsizer: zend_stream_fsizer_t,
2876 pub closer: zend_stream_closer_t,
2877}
2878#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2879const _: () = {
2880 ["Size of _zend_stream"][::std::mem::size_of::<_zend_stream>() - 88usize];
2881 ["Alignment of _zend_stream"][::std::mem::align_of::<_zend_stream>() - 8usize];
2882 ["Offset of field: _zend_stream::handle"]
2883 [::std::mem::offset_of!(_zend_stream, handle) - 0usize];
2884 ["Offset of field: _zend_stream::isatty"]
2885 [::std::mem::offset_of!(_zend_stream, isatty) - 8usize];
2886 ["Offset of field: _zend_stream::mmap"][::std::mem::offset_of!(_zend_stream, mmap) - 16usize];
2887 ["Offset of field: _zend_stream::reader"]
2888 [::std::mem::offset_of!(_zend_stream, reader) - 64usize];
2889 ["Offset of field: _zend_stream::fsizer"]
2890 [::std::mem::offset_of!(_zend_stream, fsizer) - 72usize];
2891 ["Offset of field: _zend_stream::closer"]
2892 [::std::mem::offset_of!(_zend_stream, closer) - 80usize];
2893};
2894pub type zend_stream = _zend_stream;
2895#[repr(C)]
2896#[derive(Copy, Clone)]
2897pub struct _zend_file_handle {
2898 pub handle: _zend_file_handle__bindgen_ty_1,
2899 pub filename: *const ::std::os::raw::c_char,
2900 pub opened_path: *mut zend_string,
2901 pub type_: zend_stream_type,
2902 pub free_filename: zend_bool,
2903}
2904#[repr(C)]
2905#[derive(Copy, Clone)]
2906pub union _zend_file_handle__bindgen_ty_1 {
2907 pub fd: ::std::os::raw::c_int,
2908 pub fp: *mut FILE,
2909 pub stream: zend_stream,
2910}
2911#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2912const _: () = {
2913 ["Size of _zend_file_handle__bindgen_ty_1"]
2914 [::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>() - 88usize];
2915 ["Alignment of _zend_file_handle__bindgen_ty_1"]
2916 [::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>() - 8usize];
2917 ["Offset of field: _zend_file_handle__bindgen_ty_1::fd"]
2918 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fd) - 0usize];
2919 ["Offset of field: _zend_file_handle__bindgen_ty_1::fp"]
2920 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fp) - 0usize];
2921 ["Offset of field: _zend_file_handle__bindgen_ty_1::stream"]
2922 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, stream) - 0usize];
2923};
2924#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2925const _: () = {
2926 ["Size of _zend_file_handle"][::std::mem::size_of::<_zend_file_handle>() - 112usize];
2927 ["Alignment of _zend_file_handle"][::std::mem::align_of::<_zend_file_handle>() - 8usize];
2928 ["Offset of field: _zend_file_handle::handle"]
2929 [::std::mem::offset_of!(_zend_file_handle, handle) - 0usize];
2930 ["Offset of field: _zend_file_handle::filename"]
2931 [::std::mem::offset_of!(_zend_file_handle, filename) - 88usize];
2932 ["Offset of field: _zend_file_handle::opened_path"]
2933 [::std::mem::offset_of!(_zend_file_handle, opened_path) - 96usize];
2934 ["Offset of field: _zend_file_handle::type_"]
2935 [::std::mem::offset_of!(_zend_file_handle, type_) - 104usize];
2936 ["Offset of field: _zend_file_handle::free_filename"]
2937 [::std::mem::offset_of!(_zend_file_handle, free_filename) - 108usize];
2938};
2939pub type zend_file_handle = _zend_file_handle;
2940extern "C" {
2941 pub fn zend_stream_open(
2942 filename: *const ::std::os::raw::c_char,
2943 handle: *mut zend_file_handle,
2944 ) -> ::std::os::raw::c_int;
2945}
2946extern "C" {
2947 pub fn zend_stream_fixup(
2948 file_handle: *mut zend_file_handle,
2949 buf: *mut *mut ::std::os::raw::c_char,
2950 len: *mut usize,
2951 ) -> ::std::os::raw::c_int;
2952}
2953extern "C" {
2954 pub fn zend_file_handle_dtor(fh: *mut zend_file_handle);
2955}
2956extern "C" {
2957 pub fn zend_compare_file_handles(
2958 fh1: *mut zend_file_handle,
2959 fh2: *mut zend_file_handle,
2960 ) -> ::std::os::raw::c_int;
2961}
2962pub type zend_stat_t = stat;
2963#[repr(C)]
2964#[derive(Debug, Copy, Clone)]
2965pub struct smart_str {
2966 pub s: *mut zend_string,
2967 pub a: usize,
2968}
2969#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2970const _: () = {
2971 ["Size of smart_str"][::std::mem::size_of::<smart_str>() - 16usize];
2972 ["Alignment of smart_str"][::std::mem::align_of::<smart_str>() - 8usize];
2973 ["Offset of field: smart_str::s"][::std::mem::offset_of!(smart_str, s) - 0usize];
2974 ["Offset of field: smart_str::a"][::std::mem::offset_of!(smart_str, a) - 8usize];
2975};
2976#[repr(C)]
2977#[derive(Debug, Copy, Clone)]
2978pub struct smart_string {
2979 pub c: *mut ::std::os::raw::c_char,
2980 pub len: usize,
2981 pub a: usize,
2982}
2983#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2984const _: () = {
2985 ["Size of smart_string"][::std::mem::size_of::<smart_string>() - 24usize];
2986 ["Alignment of smart_string"][::std::mem::align_of::<smart_string>() - 8usize];
2987 ["Offset of field: smart_string::c"][::std::mem::offset_of!(smart_string, c) - 0usize];
2988 ["Offset of field: smart_string::len"][::std::mem::offset_of!(smart_string, len) - 8usize];
2989 ["Offset of field: smart_string::a"][::std::mem::offset_of!(smart_string, a) - 16usize];
2990};
2991#[repr(C)]
2992#[derive(Copy, Clone)]
2993pub union sigval {
2994 pub sival_int: ::std::os::raw::c_int,
2995 pub sival_ptr: *mut ::std::os::raw::c_void,
2996}
2997#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2998const _: () = {
2999 ["Size of sigval"][::std::mem::size_of::<sigval>() - 8usize];
3000 ["Alignment of sigval"][::std::mem::align_of::<sigval>() - 8usize];
3001 ["Offset of field: sigval::sival_int"][::std::mem::offset_of!(sigval, sival_int) - 0usize];
3002 ["Offset of field: sigval::sival_ptr"][::std::mem::offset_of!(sigval, sival_ptr) - 0usize];
3003};
3004pub type __sigval_t = sigval;
3005#[repr(C)]
3006#[derive(Copy, Clone)]
3007pub struct siginfo_t {
3008 pub si_signo: ::std::os::raw::c_int,
3009 pub si_errno: ::std::os::raw::c_int,
3010 pub si_code: ::std::os::raw::c_int,
3011 pub __pad0: ::std::os::raw::c_int,
3012 pub _sifields: siginfo_t__bindgen_ty_1,
3013}
3014#[repr(C)]
3015#[derive(Copy, Clone)]
3016pub union siginfo_t__bindgen_ty_1 {
3017 pub _pad: [::std::os::raw::c_int; 28usize],
3018 pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1,
3019 pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2,
3020 pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3,
3021 pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4,
3022 pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5,
3023 pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6,
3024 pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7,
3025}
3026#[repr(C)]
3027#[derive(Debug, Copy, Clone)]
3028pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 {
3029 pub si_pid: __pid_t,
3030 pub si_uid: __uid_t,
3031}
3032#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3033const _: () = {
3034 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
3035 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 8usize];
3036 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_1"]
3037 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>() - 4usize];
3038 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_pid"]
3039 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_pid) - 0usize];
3040 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_1::si_uid"]
3041 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_1, si_uid) - 4usize];
3042};
3043#[repr(C)]
3044#[derive(Copy, Clone)]
3045pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 {
3046 pub si_tid: ::std::os::raw::c_int,
3047 pub si_overrun: ::std::os::raw::c_int,
3048 pub si_sigval: __sigval_t,
3049}
3050#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3051const _: () = {
3052 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
3053 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 16usize];
3054 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_2"]
3055 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>() - 8usize];
3056 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_tid"]
3057 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_tid) - 0usize];
3058 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_overrun"]
3059 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_overrun) - 4usize];
3060 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_2::si_sigval"]
3061 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_2, si_sigval) - 8usize];
3062};
3063#[repr(C)]
3064#[derive(Copy, Clone)]
3065pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 {
3066 pub si_pid: __pid_t,
3067 pub si_uid: __uid_t,
3068 pub si_sigval: __sigval_t,
3069}
3070#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3071const _: () = {
3072 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
3073 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 16usize];
3074 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_3"]
3075 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>() - 8usize];
3076 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_pid"]
3077 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_pid) - 0usize];
3078 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_uid"]
3079 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_uid) - 4usize];
3080 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_3::si_sigval"]
3081 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_3, si_sigval) - 8usize];
3082};
3083#[repr(C)]
3084#[derive(Debug, Copy, Clone)]
3085pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 {
3086 pub si_pid: __pid_t,
3087 pub si_uid: __uid_t,
3088 pub si_status: ::std::os::raw::c_int,
3089 pub si_utime: __clock_t,
3090 pub si_stime: __clock_t,
3091}
3092#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3093const _: () = {
3094 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
3095 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 32usize];
3096 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_4"]
3097 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>() - 8usize];
3098 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_pid"]
3099 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_pid) - 0usize];
3100 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_uid"]
3101 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_uid) - 4usize];
3102 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_status"]
3103 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_status) - 8usize];
3104 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_utime"]
3105 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_utime) - 16usize];
3106 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_4::si_stime"]
3107 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_4, si_stime) - 24usize];
3108};
3109#[repr(C)]
3110#[derive(Copy, Clone)]
3111pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 {
3112 pub si_addr: *mut ::std::os::raw::c_void,
3113 pub si_addr_lsb: ::std::os::raw::c_short,
3114 pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3115}
3116#[repr(C)]
3117#[derive(Copy, Clone)]
3118pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
3119 pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
3120 pub _pkey: __uint32_t,
3121}
3122#[repr(C)]
3123#[derive(Debug, Copy, Clone)]
3124pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
3125 pub _lower: *mut ::std::os::raw::c_void,
3126 pub _upper: *mut ::std::os::raw::c_void,
3127}
3128#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3129const _: () = {
3130 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
3131 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
3132 ) - 16usize];
3133 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1"]
3134 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(
3135 ) - 8usize];
3136 ["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] ;
3137 ["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] ;
3138};
3139#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3140const _: () = {
3141 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
3142 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 16usize];
3143 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1"]
3144 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>() - 8usize];
3145 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_addr_bnd"][::std::mem::offset_of!(
3146 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3147 _addr_bnd
3148 ) - 0usize];
3149 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1::_pkey"][::std::mem::offset_of!(
3150 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
3151 _pkey
3152 ) - 0usize];
3153};
3154#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3155const _: () = {
3156 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
3157 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 32usize];
3158 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_5"]
3159 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>() - 8usize];
3160 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr"]
3161 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr) - 0usize];
3162 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::si_addr_lsb"]
3163 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, si_addr_lsb) - 8usize];
3164 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_5::_bounds"]
3165 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_5, _bounds) - 16usize];
3166};
3167#[repr(C)]
3168#[derive(Debug, Copy, Clone)]
3169pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 {
3170 pub si_band: ::std::os::raw::c_long,
3171 pub si_fd: ::std::os::raw::c_int,
3172}
3173#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3174const _: () = {
3175 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
3176 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 16usize];
3177 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_6"]
3178 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>() - 8usize];
3179 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_band"]
3180 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_band) - 0usize];
3181 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_6::si_fd"]
3182 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_6, si_fd) - 8usize];
3183};
3184#[repr(C)]
3185#[derive(Debug, Copy, Clone)]
3186pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 {
3187 pub _call_addr: *mut ::std::os::raw::c_void,
3188 pub _syscall: ::std::os::raw::c_int,
3189 pub _arch: ::std::os::raw::c_uint,
3190}
3191#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3192const _: () = {
3193 ["Size of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
3194 [::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 16usize];
3195 ["Alignment of siginfo_t__bindgen_ty_1__bindgen_ty_7"]
3196 [::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>() - 8usize];
3197 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_call_addr"]
3198 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _call_addr) - 0usize];
3199 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_syscall"]
3200 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _syscall) - 8usize];
3201 ["Offset of field: siginfo_t__bindgen_ty_1__bindgen_ty_7::_arch"]
3202 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1__bindgen_ty_7, _arch) - 12usize];
3203};
3204#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3205const _: () = {
3206 ["Size of siginfo_t__bindgen_ty_1"]
3207 [::std::mem::size_of::<siginfo_t__bindgen_ty_1>() - 112usize];
3208 ["Alignment of siginfo_t__bindgen_ty_1"]
3209 [::std::mem::align_of::<siginfo_t__bindgen_ty_1>() - 8usize];
3210 ["Offset of field: siginfo_t__bindgen_ty_1::_pad"]
3211 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _pad) - 0usize];
3212 ["Offset of field: siginfo_t__bindgen_ty_1::_kill"]
3213 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _kill) - 0usize];
3214 ["Offset of field: siginfo_t__bindgen_ty_1::_timer"]
3215 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _timer) - 0usize];
3216 ["Offset of field: siginfo_t__bindgen_ty_1::_rt"]
3217 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _rt) - 0usize];
3218 ["Offset of field: siginfo_t__bindgen_ty_1::_sigchld"]
3219 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigchld) - 0usize];
3220 ["Offset of field: siginfo_t__bindgen_ty_1::_sigfault"]
3221 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigfault) - 0usize];
3222 ["Offset of field: siginfo_t__bindgen_ty_1::_sigpoll"]
3223 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigpoll) - 0usize];
3224 ["Offset of field: siginfo_t__bindgen_ty_1::_sigsys"]
3225 [::std::mem::offset_of!(siginfo_t__bindgen_ty_1, _sigsys) - 0usize];
3226};
3227#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3228const _: () = {
3229 ["Size of siginfo_t"][::std::mem::size_of::<siginfo_t>() - 128usize];
3230 ["Alignment of siginfo_t"][::std::mem::align_of::<siginfo_t>() - 8usize];
3231 ["Offset of field: siginfo_t::si_signo"][::std::mem::offset_of!(siginfo_t, si_signo) - 0usize];
3232 ["Offset of field: siginfo_t::si_errno"][::std::mem::offset_of!(siginfo_t, si_errno) - 4usize];
3233 ["Offset of field: siginfo_t::si_code"][::std::mem::offset_of!(siginfo_t, si_code) - 8usize];
3234 ["Offset of field: siginfo_t::__pad0"][::std::mem::offset_of!(siginfo_t, __pad0) - 12usize];
3235 ["Offset of field: siginfo_t::_sifields"]
3236 [::std::mem::offset_of!(siginfo_t, _sifields) - 16usize];
3237};
3238pub type __sighandler_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
3239#[repr(C)]
3240#[derive(Copy, Clone)]
3241pub struct sigaction {
3242 pub __sigaction_handler: sigaction__bindgen_ty_1,
3243 pub sa_mask: __sigset_t,
3244 pub sa_flags: ::std::os::raw::c_int,
3245 pub sa_restorer: ::std::option::Option<unsafe extern "C" fn()>,
3246}
3247#[repr(C)]
3248#[derive(Copy, Clone)]
3249pub union sigaction__bindgen_ty_1 {
3250 pub sa_handler: __sighandler_t,
3251 pub sa_sigaction: ::std::option::Option<
3252 unsafe extern "C" fn(
3253 arg1: ::std::os::raw::c_int,
3254 arg2: *mut siginfo_t,
3255 arg3: *mut ::std::os::raw::c_void,
3256 ),
3257 >,
3258}
3259#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3260const _: () = {
3261 ["Size of sigaction__bindgen_ty_1"][::std::mem::size_of::<sigaction__bindgen_ty_1>() - 8usize];
3262 ["Alignment of sigaction__bindgen_ty_1"]
3263 [::std::mem::align_of::<sigaction__bindgen_ty_1>() - 8usize];
3264 ["Offset of field: sigaction__bindgen_ty_1::sa_handler"]
3265 [::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_handler) - 0usize];
3266 ["Offset of field: sigaction__bindgen_ty_1::sa_sigaction"]
3267 [::std::mem::offset_of!(sigaction__bindgen_ty_1, sa_sigaction) - 0usize];
3268};
3269#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3270const _: () = {
3271 ["Size of sigaction"][::std::mem::size_of::<sigaction>() - 152usize];
3272 ["Alignment of sigaction"][::std::mem::align_of::<sigaction>() - 8usize];
3273 ["Offset of field: sigaction::__sigaction_handler"]
3274 [::std::mem::offset_of!(sigaction, __sigaction_handler) - 0usize];
3275 ["Offset of field: sigaction::sa_mask"][::std::mem::offset_of!(sigaction, sa_mask) - 8usize];
3276 ["Offset of field: sigaction::sa_flags"]
3277 [::std::mem::offset_of!(sigaction, sa_flags) - 136usize];
3278 ["Offset of field: sigaction::sa_restorer"]
3279 [::std::mem::offset_of!(sigaction, sa_restorer) - 144usize];
3280};
3281pub type socklen_t = __socklen_t;
3282#[repr(C)]
3283#[derive(Debug, Copy, Clone)]
3284pub struct _zend_signal_entry_t {
3285 pub flags: ::std::os::raw::c_int,
3286 pub handler: *mut ::std::os::raw::c_void,
3287}
3288#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3289const _: () = {
3290 ["Size of _zend_signal_entry_t"][::std::mem::size_of::<_zend_signal_entry_t>() - 16usize];
3291 ["Alignment of _zend_signal_entry_t"][::std::mem::align_of::<_zend_signal_entry_t>() - 8usize];
3292 ["Offset of field: _zend_signal_entry_t::flags"]
3293 [::std::mem::offset_of!(_zend_signal_entry_t, flags) - 0usize];
3294 ["Offset of field: _zend_signal_entry_t::handler"]
3295 [::std::mem::offset_of!(_zend_signal_entry_t, handler) - 8usize];
3296};
3297pub type zend_signal_entry_t = _zend_signal_entry_t;
3298#[repr(C)]
3299#[derive(Debug, Copy, Clone)]
3300pub struct _zend_signal_t {
3301 pub signo: ::std::os::raw::c_int,
3302 pub siginfo: *mut siginfo_t,
3303 pub context: *mut ::std::os::raw::c_void,
3304}
3305#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3306const _: () = {
3307 ["Size of _zend_signal_t"][::std::mem::size_of::<_zend_signal_t>() - 24usize];
3308 ["Alignment of _zend_signal_t"][::std::mem::align_of::<_zend_signal_t>() - 8usize];
3309 ["Offset of field: _zend_signal_t::signo"]
3310 [::std::mem::offset_of!(_zend_signal_t, signo) - 0usize];
3311 ["Offset of field: _zend_signal_t::siginfo"]
3312 [::std::mem::offset_of!(_zend_signal_t, siginfo) - 8usize];
3313 ["Offset of field: _zend_signal_t::context"]
3314 [::std::mem::offset_of!(_zend_signal_t, context) - 16usize];
3315};
3316pub type zend_signal_t = _zend_signal_t;
3317#[repr(C)]
3318#[derive(Debug, Copy, Clone)]
3319pub struct _zend_signal_queue_t {
3320 pub zend_signal: zend_signal_t,
3321 pub next: *mut _zend_signal_queue_t,
3322}
3323#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3324const _: () = {
3325 ["Size of _zend_signal_queue_t"][::std::mem::size_of::<_zend_signal_queue_t>() - 32usize];
3326 ["Alignment of _zend_signal_queue_t"][::std::mem::align_of::<_zend_signal_queue_t>() - 8usize];
3327 ["Offset of field: _zend_signal_queue_t::zend_signal"]
3328 [::std::mem::offset_of!(_zend_signal_queue_t, zend_signal) - 0usize];
3329 ["Offset of field: _zend_signal_queue_t::next"]
3330 [::std::mem::offset_of!(_zend_signal_queue_t, next) - 24usize];
3331};
3332pub type zend_signal_queue_t = _zend_signal_queue_t;
3333#[repr(C)]
3334#[derive(Debug, Copy, Clone)]
3335pub struct _zend_signal_globals_t {
3336 pub depth: ::std::os::raw::c_int,
3337 pub blocked: ::std::os::raw::c_int,
3338 pub running: ::std::os::raw::c_int,
3339 pub active: ::std::os::raw::c_int,
3340 pub check: zend_bool,
3341 pub handlers: [zend_signal_entry_t; 65usize],
3342 pub pstorage: [zend_signal_queue_t; 64usize],
3343 pub phead: *mut zend_signal_queue_t,
3344 pub ptail: *mut zend_signal_queue_t,
3345 pub pavail: *mut zend_signal_queue_t,
3346}
3347#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3348const _: () = {
3349 ["Size of _zend_signal_globals_t"][::std::mem::size_of::<_zend_signal_globals_t>() - 3136usize];
3350 ["Alignment of _zend_signal_globals_t"]
3351 [::std::mem::align_of::<_zend_signal_globals_t>() - 8usize];
3352 ["Offset of field: _zend_signal_globals_t::depth"]
3353 [::std::mem::offset_of!(_zend_signal_globals_t, depth) - 0usize];
3354 ["Offset of field: _zend_signal_globals_t::blocked"]
3355 [::std::mem::offset_of!(_zend_signal_globals_t, blocked) - 4usize];
3356 ["Offset of field: _zend_signal_globals_t::running"]
3357 [::std::mem::offset_of!(_zend_signal_globals_t, running) - 8usize];
3358 ["Offset of field: _zend_signal_globals_t::active"]
3359 [::std::mem::offset_of!(_zend_signal_globals_t, active) - 12usize];
3360 ["Offset of field: _zend_signal_globals_t::check"]
3361 [::std::mem::offset_of!(_zend_signal_globals_t, check) - 16usize];
3362 ["Offset of field: _zend_signal_globals_t::handlers"]
3363 [::std::mem::offset_of!(_zend_signal_globals_t, handlers) - 24usize];
3364 ["Offset of field: _zend_signal_globals_t::pstorage"]
3365 [::std::mem::offset_of!(_zend_signal_globals_t, pstorage) - 1064usize];
3366 ["Offset of field: _zend_signal_globals_t::phead"]
3367 [::std::mem::offset_of!(_zend_signal_globals_t, phead) - 3112usize];
3368 ["Offset of field: _zend_signal_globals_t::ptail"]
3369 [::std::mem::offset_of!(_zend_signal_globals_t, ptail) - 3120usize];
3370 ["Offset of field: _zend_signal_globals_t::pavail"]
3371 [::std::mem::offset_of!(_zend_signal_globals_t, pavail) - 3128usize];
3372};
3373pub type zend_signal_globals_t = _zend_signal_globals_t;
3374extern "C" {
3375 pub static mut zend_signal_globals: zend_signal_globals_t;
3376}
3377extern "C" {
3378 pub fn zend_signal_handler_unblock();
3379}
3380extern "C" {
3381 pub fn zend_signal_activate();
3382}
3383extern "C" {
3384 pub fn zend_signal_deactivate();
3385}
3386extern "C" {
3387 pub fn zend_signal_startup();
3388}
3389extern "C" {
3390 pub fn zend_signal_init();
3391}
3392extern "C" {
3393 pub fn zend_signal(
3394 signo: ::std::os::raw::c_int,
3395 handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
3396 ) -> ::std::os::raw::c_int;
3397}
3398extern "C" {
3399 pub fn zend_sigaction(
3400 signo: ::std::os::raw::c_int,
3401 act: *const sigaction,
3402 oldact: *mut sigaction,
3403 ) -> ::std::os::raw::c_int;
3404}
3405extern "C" {
3406 pub fn zend_error_noreturn(
3407 type_: ::std::os::raw::c_int,
3408 format: *const ::std::os::raw::c_char,
3409 ...
3410 ) -> !;
3411}
3412#[repr(C)]
3413#[derive(Debug, Copy, Clone)]
3414pub struct _zend_serialize_data {
3415 _unused: [u8; 0],
3416}
3417#[repr(C)]
3418#[derive(Debug, Copy, Clone)]
3419pub struct _zend_unserialize_data {
3420 _unused: [u8; 0],
3421}
3422pub type zend_serialize_data = _zend_serialize_data;
3423pub type zend_unserialize_data = _zend_unserialize_data;
3424#[repr(C)]
3425#[derive(Debug, Copy, Clone)]
3426pub struct _zend_trait_method_reference {
3427 pub method_name: *mut zend_string,
3428 pub ce: *mut zend_class_entry,
3429 pub class_name: *mut zend_string,
3430}
3431#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3432const _: () = {
3433 ["Size of _zend_trait_method_reference"]
3434 [::std::mem::size_of::<_zend_trait_method_reference>() - 24usize];
3435 ["Alignment of _zend_trait_method_reference"]
3436 [::std::mem::align_of::<_zend_trait_method_reference>() - 8usize];
3437 ["Offset of field: _zend_trait_method_reference::method_name"]
3438 [::std::mem::offset_of!(_zend_trait_method_reference, method_name) - 0usize];
3439 ["Offset of field: _zend_trait_method_reference::ce"]
3440 [::std::mem::offset_of!(_zend_trait_method_reference, ce) - 8usize];
3441 ["Offset of field: _zend_trait_method_reference::class_name"]
3442 [::std::mem::offset_of!(_zend_trait_method_reference, class_name) - 16usize];
3443};
3444pub type zend_trait_method_reference = _zend_trait_method_reference;
3445#[repr(C)]
3446#[derive(Debug, Copy, Clone)]
3447pub struct _zend_trait_precedence {
3448 pub trait_method: *mut zend_trait_method_reference,
3449 pub exclude_from_classes: *mut _zend_trait_precedence__bindgen_ty_1,
3450}
3451#[repr(C)]
3452#[derive(Copy, Clone)]
3453pub union _zend_trait_precedence__bindgen_ty_1 {
3454 pub ce: *mut zend_class_entry,
3455 pub class_name: *mut zend_string,
3456}
3457#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3458const _: () = {
3459 ["Size of _zend_trait_precedence__bindgen_ty_1"]
3460 [::std::mem::size_of::<_zend_trait_precedence__bindgen_ty_1>() - 8usize];
3461 ["Alignment of _zend_trait_precedence__bindgen_ty_1"]
3462 [::std::mem::align_of::<_zend_trait_precedence__bindgen_ty_1>() - 8usize];
3463 ["Offset of field: _zend_trait_precedence__bindgen_ty_1::ce"]
3464 [::std::mem::offset_of!(_zend_trait_precedence__bindgen_ty_1, ce) - 0usize];
3465 ["Offset of field: _zend_trait_precedence__bindgen_ty_1::class_name"]
3466 [::std::mem::offset_of!(_zend_trait_precedence__bindgen_ty_1, class_name) - 0usize];
3467};
3468#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3469const _: () = {
3470 ["Size of _zend_trait_precedence"][::std::mem::size_of::<_zend_trait_precedence>() - 16usize];
3471 ["Alignment of _zend_trait_precedence"]
3472 [::std::mem::align_of::<_zend_trait_precedence>() - 8usize];
3473 ["Offset of field: _zend_trait_precedence::trait_method"]
3474 [::std::mem::offset_of!(_zend_trait_precedence, trait_method) - 0usize];
3475 ["Offset of field: _zend_trait_precedence::exclude_from_classes"]
3476 [::std::mem::offset_of!(_zend_trait_precedence, exclude_from_classes) - 8usize];
3477};
3478pub type zend_trait_precedence = _zend_trait_precedence;
3479#[repr(C)]
3480#[derive(Debug, Copy, Clone)]
3481pub struct _zend_trait_alias {
3482 pub trait_method: *mut zend_trait_method_reference,
3483 #[doc = " name for method to be added"]
3484 pub alias: *mut zend_string,
3485 #[doc = " modifiers to be set on trait method"]
3486 pub modifiers: u32,
3487}
3488#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3489const _: () = {
3490 ["Size of _zend_trait_alias"][::std::mem::size_of::<_zend_trait_alias>() - 24usize];
3491 ["Alignment of _zend_trait_alias"][::std::mem::align_of::<_zend_trait_alias>() - 8usize];
3492 ["Offset of field: _zend_trait_alias::trait_method"]
3493 [::std::mem::offset_of!(_zend_trait_alias, trait_method) - 0usize];
3494 ["Offset of field: _zend_trait_alias::alias"]
3495 [::std::mem::offset_of!(_zend_trait_alias, alias) - 8usize];
3496 ["Offset of field: _zend_trait_alias::modifiers"]
3497 [::std::mem::offset_of!(_zend_trait_alias, modifiers) - 16usize];
3498};
3499pub type zend_trait_alias = _zend_trait_alias;
3500#[repr(C)]
3501#[derive(Copy, Clone)]
3502pub struct _zend_class_entry {
3503 pub type_: ::std::os::raw::c_char,
3504 pub name: *mut zend_string,
3505 pub parent: *mut _zend_class_entry,
3506 pub refcount: ::std::os::raw::c_int,
3507 pub ce_flags: u32,
3508 pub default_properties_count: ::std::os::raw::c_int,
3509 pub default_static_members_count: ::std::os::raw::c_int,
3510 pub default_properties_table: *mut zval,
3511 pub default_static_members_table: *mut zval,
3512 pub static_members_table: *mut zval,
3513 pub function_table: HashTable,
3514 pub properties_info: HashTable,
3515 pub constants_table: HashTable,
3516 pub constructor: *mut _zend_function,
3517 pub destructor: *mut _zend_function,
3518 pub clone: *mut _zend_function,
3519 pub __get: *mut _zend_function,
3520 pub __set: *mut _zend_function,
3521 pub __unset: *mut _zend_function,
3522 pub __isset: *mut _zend_function,
3523 pub __call: *mut _zend_function,
3524 pub __callstatic: *mut _zend_function,
3525 pub __tostring: *mut _zend_function,
3526 pub __debugInfo: *mut _zend_function,
3527 pub serialize_func: *mut _zend_function,
3528 pub unserialize_func: *mut _zend_function,
3529 pub iterator_funcs: zend_class_iterator_funcs,
3530 pub create_object: ::std::option::Option<
3531 unsafe extern "C" fn(class_type: *mut zend_class_entry) -> *mut zend_object,
3532 >,
3533 pub get_iterator: ::std::option::Option<
3534 unsafe extern "C" fn(
3535 ce: *mut zend_class_entry,
3536 object: *mut zval,
3537 by_ref: ::std::os::raw::c_int,
3538 ) -> *mut zend_object_iterator,
3539 >,
3540 pub interface_gets_implemented: ::std::option::Option<
3541 unsafe extern "C" fn(
3542 iface: *mut zend_class_entry,
3543 class_type: *mut zend_class_entry,
3544 ) -> ::std::os::raw::c_int,
3545 >,
3546 pub get_static_method: ::std::option::Option<
3547 unsafe extern "C" fn(
3548 ce: *mut zend_class_entry,
3549 method: *mut zend_string,
3550 ) -> *mut _zend_function,
3551 >,
3552 pub serialize: ::std::option::Option<
3553 unsafe extern "C" fn(
3554 object: *mut zval,
3555 buffer: *mut *mut ::std::os::raw::c_uchar,
3556 buf_len: *mut usize,
3557 data: *mut zend_serialize_data,
3558 ) -> ::std::os::raw::c_int,
3559 >,
3560 pub unserialize: ::std::option::Option<
3561 unsafe extern "C" fn(
3562 object: *mut zval,
3563 ce: *mut zend_class_entry,
3564 buf: *const ::std::os::raw::c_uchar,
3565 buf_len: usize,
3566 data: *mut zend_unserialize_data,
3567 ) -> ::std::os::raw::c_int,
3568 >,
3569 pub num_interfaces: u32,
3570 pub num_traits: u32,
3571 pub interfaces: *mut *mut zend_class_entry,
3572 pub traits: *mut *mut zend_class_entry,
3573 pub trait_aliases: *mut *mut zend_trait_alias,
3574 pub trait_precedences: *mut *mut zend_trait_precedence,
3575 pub info: _zend_class_entry__bindgen_ty_1,
3576}
3577#[repr(C)]
3578#[derive(Copy, Clone)]
3579pub union _zend_class_entry__bindgen_ty_1 {
3580 pub user: _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
3581 pub internal: _zend_class_entry__bindgen_ty_1__bindgen_ty_2,
3582}
3583#[repr(C)]
3584#[derive(Debug, Copy, Clone)]
3585pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_1 {
3586 pub filename: *mut zend_string,
3587 pub line_start: u32,
3588 pub line_end: u32,
3589 pub doc_comment: *mut zend_string,
3590}
3591#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3592const _: () = {
3593 ["Size of _zend_class_entry__bindgen_ty_1__bindgen_ty_1"]
3594 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>() - 24usize];
3595 ["Alignment of _zend_class_entry__bindgen_ty_1__bindgen_ty_1"]
3596 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>() - 8usize];
3597 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::filename"]
3598 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1, filename) - 0usize];
3599 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::line_start"][::std::mem::offset_of!(
3600 _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
3601 line_start
3602 ) - 8usize];
3603 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::line_end"]
3604 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1, line_end) - 12usize];
3605 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::doc_comment"][::std::mem::offset_of!(
3606 _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
3607 doc_comment
3608 ) - 16usize];
3609};
3610#[repr(C)]
3611#[derive(Debug, Copy, Clone)]
3612pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_2 {
3613 pub builtin_functions: *const _zend_function_entry,
3614 pub module: *mut _zend_module_entry,
3615}
3616#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3617const _: () = {
3618 ["Size of _zend_class_entry__bindgen_ty_1__bindgen_ty_2"]
3619 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>() - 16usize];
3620 ["Alignment of _zend_class_entry__bindgen_ty_1__bindgen_ty_2"]
3621 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>() - 8usize];
3622 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_2::builtin_functions"][::std::mem::offset_of!(
3623 _zend_class_entry__bindgen_ty_1__bindgen_ty_2,
3624 builtin_functions
3625 )
3626 - 0usize];
3627 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_2::module"]
3628 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2, module) - 8usize];
3629};
3630#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3631const _: () = {
3632 ["Size of _zend_class_entry__bindgen_ty_1"]
3633 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>() - 24usize];
3634 ["Alignment of _zend_class_entry__bindgen_ty_1"]
3635 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
3636 ["Offset of field: _zend_class_entry__bindgen_ty_1::user"]
3637 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, user) - 0usize];
3638 ["Offset of field: _zend_class_entry__bindgen_ty_1::internal"]
3639 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, internal) - 0usize];
3640};
3641#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3642const _: () = {
3643 ["Size of _zend_class_entry"][::std::mem::size_of::<_zend_class_entry>() - 504usize];
3644 ["Alignment of _zend_class_entry"][::std::mem::align_of::<_zend_class_entry>() - 8usize];
3645 ["Offset of field: _zend_class_entry::type_"]
3646 [::std::mem::offset_of!(_zend_class_entry, type_) - 0usize];
3647 ["Offset of field: _zend_class_entry::name"]
3648 [::std::mem::offset_of!(_zend_class_entry, name) - 8usize];
3649 ["Offset of field: _zend_class_entry::parent"]
3650 [::std::mem::offset_of!(_zend_class_entry, parent) - 16usize];
3651 ["Offset of field: _zend_class_entry::refcount"]
3652 [::std::mem::offset_of!(_zend_class_entry, refcount) - 24usize];
3653 ["Offset of field: _zend_class_entry::ce_flags"]
3654 [::std::mem::offset_of!(_zend_class_entry, ce_flags) - 28usize];
3655 ["Offset of field: _zend_class_entry::default_properties_count"]
3656 [::std::mem::offset_of!(_zend_class_entry, default_properties_count) - 32usize];
3657 ["Offset of field: _zend_class_entry::default_static_members_count"]
3658 [::std::mem::offset_of!(_zend_class_entry, default_static_members_count) - 36usize];
3659 ["Offset of field: _zend_class_entry::default_properties_table"]
3660 [::std::mem::offset_of!(_zend_class_entry, default_properties_table) - 40usize];
3661 ["Offset of field: _zend_class_entry::default_static_members_table"]
3662 [::std::mem::offset_of!(_zend_class_entry, default_static_members_table) - 48usize];
3663 ["Offset of field: _zend_class_entry::static_members_table"]
3664 [::std::mem::offset_of!(_zend_class_entry, static_members_table) - 56usize];
3665 ["Offset of field: _zend_class_entry::function_table"]
3666 [::std::mem::offset_of!(_zend_class_entry, function_table) - 64usize];
3667 ["Offset of field: _zend_class_entry::properties_info"]
3668 [::std::mem::offset_of!(_zend_class_entry, properties_info) - 120usize];
3669 ["Offset of field: _zend_class_entry::constants_table"]
3670 [::std::mem::offset_of!(_zend_class_entry, constants_table) - 176usize];
3671 ["Offset of field: _zend_class_entry::constructor"]
3672 [::std::mem::offset_of!(_zend_class_entry, constructor) - 232usize];
3673 ["Offset of field: _zend_class_entry::destructor"]
3674 [::std::mem::offset_of!(_zend_class_entry, destructor) - 240usize];
3675 ["Offset of field: _zend_class_entry::clone"]
3676 [::std::mem::offset_of!(_zend_class_entry, clone) - 248usize];
3677 ["Offset of field: _zend_class_entry::__get"]
3678 [::std::mem::offset_of!(_zend_class_entry, __get) - 256usize];
3679 ["Offset of field: _zend_class_entry::__set"]
3680 [::std::mem::offset_of!(_zend_class_entry, __set) - 264usize];
3681 ["Offset of field: _zend_class_entry::__unset"]
3682 [::std::mem::offset_of!(_zend_class_entry, __unset) - 272usize];
3683 ["Offset of field: _zend_class_entry::__isset"]
3684 [::std::mem::offset_of!(_zend_class_entry, __isset) - 280usize];
3685 ["Offset of field: _zend_class_entry::__call"]
3686 [::std::mem::offset_of!(_zend_class_entry, __call) - 288usize];
3687 ["Offset of field: _zend_class_entry::__callstatic"]
3688 [::std::mem::offset_of!(_zend_class_entry, __callstatic) - 296usize];
3689 ["Offset of field: _zend_class_entry::__tostring"]
3690 [::std::mem::offset_of!(_zend_class_entry, __tostring) - 304usize];
3691 ["Offset of field: _zend_class_entry::__debugInfo"]
3692 [::std::mem::offset_of!(_zend_class_entry, __debugInfo) - 312usize];
3693 ["Offset of field: _zend_class_entry::serialize_func"]
3694 [::std::mem::offset_of!(_zend_class_entry, serialize_func) - 320usize];
3695 ["Offset of field: _zend_class_entry::unserialize_func"]
3696 [::std::mem::offset_of!(_zend_class_entry, unserialize_func) - 328usize];
3697 ["Offset of field: _zend_class_entry::iterator_funcs"]
3698 [::std::mem::offset_of!(_zend_class_entry, iterator_funcs) - 336usize];
3699 ["Offset of field: _zend_class_entry::create_object"]
3700 [::std::mem::offset_of!(_zend_class_entry, create_object) - 392usize];
3701 ["Offset of field: _zend_class_entry::get_iterator"]
3702 [::std::mem::offset_of!(_zend_class_entry, get_iterator) - 400usize];
3703 ["Offset of field: _zend_class_entry::interface_gets_implemented"]
3704 [::std::mem::offset_of!(_zend_class_entry, interface_gets_implemented) - 408usize];
3705 ["Offset of field: _zend_class_entry::get_static_method"]
3706 [::std::mem::offset_of!(_zend_class_entry, get_static_method) - 416usize];
3707 ["Offset of field: _zend_class_entry::serialize"]
3708 [::std::mem::offset_of!(_zend_class_entry, serialize) - 424usize];
3709 ["Offset of field: _zend_class_entry::unserialize"]
3710 [::std::mem::offset_of!(_zend_class_entry, unserialize) - 432usize];
3711 ["Offset of field: _zend_class_entry::num_interfaces"]
3712 [::std::mem::offset_of!(_zend_class_entry, num_interfaces) - 440usize];
3713 ["Offset of field: _zend_class_entry::num_traits"]
3714 [::std::mem::offset_of!(_zend_class_entry, num_traits) - 444usize];
3715 ["Offset of field: _zend_class_entry::interfaces"]
3716 [::std::mem::offset_of!(_zend_class_entry, interfaces) - 448usize];
3717 ["Offset of field: _zend_class_entry::traits"]
3718 [::std::mem::offset_of!(_zend_class_entry, traits) - 456usize];
3719 ["Offset of field: _zend_class_entry::trait_aliases"]
3720 [::std::mem::offset_of!(_zend_class_entry, trait_aliases) - 464usize];
3721 ["Offset of field: _zend_class_entry::trait_precedences"]
3722 [::std::mem::offset_of!(_zend_class_entry, trait_precedences) - 472usize];
3723 ["Offset of field: _zend_class_entry::info"]
3724 [::std::mem::offset_of!(_zend_class_entry, info) - 480usize];
3725};
3726#[repr(C)]
3727#[derive(Debug, Copy, Clone)]
3728pub struct _zend_utility_functions {
3729 pub error_function: ::std::option::Option<
3730 unsafe extern "C" fn(
3731 type_: ::std::os::raw::c_int,
3732 error_filename: *const ::std::os::raw::c_char,
3733 error_lineno: u32,
3734 format: *const ::std::os::raw::c_char,
3735 args: *mut __va_list_tag,
3736 ),
3737 >,
3738 pub printf_function: ::std::option::Option<
3739 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
3740 >,
3741 pub write_function: ::std::option::Option<
3742 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
3743 >,
3744 pub fopen_function: ::std::option::Option<
3745 unsafe extern "C" fn(
3746 filename: *const ::std::os::raw::c_char,
3747 opened_path: *mut *mut zend_string,
3748 ) -> *mut FILE,
3749 >,
3750 pub message_handler: ::std::option::Option<
3751 unsafe extern "C" fn(message: zend_long, data: *const ::std::os::raw::c_void),
3752 >,
3753 pub get_configuration_directive:
3754 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
3755 pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
3756 pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
3757 pub stream_open_function: ::std::option::Option<
3758 unsafe extern "C" fn(
3759 filename: *const ::std::os::raw::c_char,
3760 handle: *mut zend_file_handle,
3761 ) -> ::std::os::raw::c_int,
3762 >,
3763 pub printf_to_smart_string_function: ::std::option::Option<
3764 unsafe extern "C" fn(
3765 buf: *mut smart_string,
3766 format: *const ::std::os::raw::c_char,
3767 ap: *mut __va_list_tag,
3768 ),
3769 >,
3770 pub printf_to_smart_str_function: ::std::option::Option<
3771 unsafe extern "C" fn(
3772 buf: *mut smart_str,
3773 format: *const ::std::os::raw::c_char,
3774 ap: *mut __va_list_tag,
3775 ),
3776 >,
3777 pub getenv_function: ::std::option::Option<
3778 unsafe extern "C" fn(
3779 name: *mut ::std::os::raw::c_char,
3780 name_len: usize,
3781 ) -> *mut ::std::os::raw::c_char,
3782 >,
3783 pub resolve_path_function: ::std::option::Option<
3784 unsafe extern "C" fn(
3785 filename: *const ::std::os::raw::c_char,
3786 filename_len: ::std::os::raw::c_int,
3787 ) -> *mut zend_string,
3788 >,
3789}
3790#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3791const _: () = {
3792 ["Size of _zend_utility_functions"]
3793 [::std::mem::size_of::<_zend_utility_functions>() - 104usize];
3794 ["Alignment of _zend_utility_functions"]
3795 [::std::mem::align_of::<_zend_utility_functions>() - 8usize];
3796 ["Offset of field: _zend_utility_functions::error_function"]
3797 [::std::mem::offset_of!(_zend_utility_functions, error_function) - 0usize];
3798 ["Offset of field: _zend_utility_functions::printf_function"]
3799 [::std::mem::offset_of!(_zend_utility_functions, printf_function) - 8usize];
3800 ["Offset of field: _zend_utility_functions::write_function"]
3801 [::std::mem::offset_of!(_zend_utility_functions, write_function) - 16usize];
3802 ["Offset of field: _zend_utility_functions::fopen_function"]
3803 [::std::mem::offset_of!(_zend_utility_functions, fopen_function) - 24usize];
3804 ["Offset of field: _zend_utility_functions::message_handler"]
3805 [::std::mem::offset_of!(_zend_utility_functions, message_handler) - 32usize];
3806 ["Offset of field: _zend_utility_functions::get_configuration_directive"]
3807 [::std::mem::offset_of!(_zend_utility_functions, get_configuration_directive) - 40usize];
3808 ["Offset of field: _zend_utility_functions::ticks_function"]
3809 [::std::mem::offset_of!(_zend_utility_functions, ticks_function) - 48usize];
3810 ["Offset of field: _zend_utility_functions::on_timeout"]
3811 [::std::mem::offset_of!(_zend_utility_functions, on_timeout) - 56usize];
3812 ["Offset of field: _zend_utility_functions::stream_open_function"]
3813 [::std::mem::offset_of!(_zend_utility_functions, stream_open_function) - 64usize];
3814 ["Offset of field: _zend_utility_functions::printf_to_smart_string_function"][::std::mem::offset_of!(
3815 _zend_utility_functions,
3816 printf_to_smart_string_function
3817 ) - 72usize];
3818 ["Offset of field: _zend_utility_functions::printf_to_smart_str_function"]
3819 [::std::mem::offset_of!(_zend_utility_functions, printf_to_smart_str_function) - 80usize];
3820 ["Offset of field: _zend_utility_functions::getenv_function"]
3821 [::std::mem::offset_of!(_zend_utility_functions, getenv_function) - 88usize];
3822 ["Offset of field: _zend_utility_functions::resolve_path_function"]
3823 [::std::mem::offset_of!(_zend_utility_functions, resolve_path_function) - 96usize];
3824};
3825pub type zend_utility_functions = _zend_utility_functions;
3826#[repr(C)]
3827#[derive(Debug, Copy, Clone)]
3828pub struct _zend_utility_values {
3829 pub import_use_extension: *mut ::std::os::raw::c_char,
3830 pub import_use_extension_length: u32,
3831 pub html_errors: zend_bool,
3832}
3833#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3834const _: () = {
3835 ["Size of _zend_utility_values"][::std::mem::size_of::<_zend_utility_values>() - 16usize];
3836 ["Alignment of _zend_utility_values"][::std::mem::align_of::<_zend_utility_values>() - 8usize];
3837 ["Offset of field: _zend_utility_values::import_use_extension"]
3838 [::std::mem::offset_of!(_zend_utility_values, import_use_extension) - 0usize];
3839 ["Offset of field: _zend_utility_values::import_use_extension_length"]
3840 [::std::mem::offset_of!(_zend_utility_values, import_use_extension_length) - 8usize];
3841 ["Offset of field: _zend_utility_values::html_errors"]
3842 [::std::mem::offset_of!(_zend_utility_values, html_errors) - 12usize];
3843};
3844pub type zend_utility_values = _zend_utility_values;
3845pub type zend_write_func_t = ::std::option::Option<
3846 unsafe extern "C" fn(
3847 str_: *const ::std::os::raw::c_char,
3848 str_length: usize,
3849 ) -> ::std::os::raw::c_int,
3850>;
3851extern "C" {
3852 pub fn zend_startup(
3853 utility_functions: *mut zend_utility_functions,
3854 extensions: *mut *mut ::std::os::raw::c_char,
3855 ) -> ::std::os::raw::c_int;
3856}
3857extern "C" {
3858 pub fn zend_shutdown();
3859}
3860extern "C" {
3861 pub fn zend_register_standard_ini_entries();
3862}
3863extern "C" {
3864 pub fn zend_post_startup();
3865}
3866extern "C" {
3867 pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
3868}
3869extern "C" {
3870 pub fn _zend_bailout(filename: *const ::std::os::raw::c_char, lineno: u32);
3871}
3872extern "C" {
3873 pub fn zend_vspprintf(
3874 pbuf: *mut *mut ::std::os::raw::c_char,
3875 max_len: usize,
3876 format: *const ::std::os::raw::c_char,
3877 ap: *mut __va_list_tag,
3878 ) -> usize;
3879}
3880extern "C" {
3881 pub fn zend_spprintf(
3882 message: *mut *mut ::std::os::raw::c_char,
3883 max_len: usize,
3884 format: *const ::std::os::raw::c_char,
3885 ...
3886 ) -> usize;
3887}
3888extern "C" {
3889 pub fn zend_vstrpprintf(
3890 max_len: usize,
3891 format: *const ::std::os::raw::c_char,
3892 ap: *mut __va_list_tag,
3893 ) -> *mut zend_string;
3894}
3895extern "C" {
3896 pub fn zend_strpprintf(
3897 max_len: usize,
3898 format: *const ::std::os::raw::c_char,
3899 ...
3900 ) -> *mut zend_string;
3901}
3902extern "C" {
3903 pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval)
3904 -> ::std::os::raw::c_int;
3905}
3906extern "C" {
3907 pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> usize;
3908}
3909extern "C" {
3910 pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
3911}
3912extern "C" {
3913 pub fn zend_print_zval_r_to_str(
3914 expr: *mut zval,
3915 indent: ::std::os::raw::c_int,
3916 ) -> *mut zend_string;
3917}
3918extern "C" {
3919 pub fn zend_print_flat_zval_r(expr: *mut zval);
3920}
3921extern "C" {
3922 pub fn zend_output_debug_string(
3923 trigger_break: zend_bool,
3924 format: *const ::std::os::raw::c_char,
3925 ...
3926 );
3927}
3928extern "C" {
3929 pub fn zend_activate();
3930}
3931extern "C" {
3932 pub fn zend_deactivate();
3933}
3934extern "C" {
3935 pub fn zend_call_destructors();
3936}
3937extern "C" {
3938 pub fn zend_activate_modules();
3939}
3940extern "C" {
3941 pub fn zend_deactivate_modules();
3942}
3943extern "C" {
3944 pub fn zend_post_deactivate_modules();
3945}
3946extern "C" {
3947 pub static mut zend_printf: ::std::option::Option<
3948 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
3949 >;
3950}
3951extern "C" {
3952 pub static mut zend_write: zend_write_func_t;
3953}
3954extern "C" {
3955 pub static mut zend_fopen: ::std::option::Option<
3956 unsafe extern "C" fn(
3957 filename: *const ::std::os::raw::c_char,
3958 opened_path: *mut *mut zend_string,
3959 ) -> *mut FILE,
3960 >;
3961}
3962extern "C" {
3963 pub static mut zend_ticks_function:
3964 ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
3965}
3966extern "C" {
3967 pub static mut zend_interrupt_function:
3968 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
3969}
3970extern "C" {
3971 pub static mut zend_error_cb: ::std::option::Option<
3972 unsafe extern "C" fn(
3973 type_: ::std::os::raw::c_int,
3974 error_filename: *const ::std::os::raw::c_char,
3975 error_lineno: u32,
3976 format: *const ::std::os::raw::c_char,
3977 args: *mut __va_list_tag,
3978 ),
3979 >;
3980}
3981extern "C" {
3982 pub static mut zend_on_timeout:
3983 ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
3984}
3985extern "C" {
3986 pub static mut zend_stream_open_function: ::std::option::Option<
3987 unsafe extern "C" fn(
3988 filename: *const ::std::os::raw::c_char,
3989 handle: *mut zend_file_handle,
3990 ) -> ::std::os::raw::c_int,
3991 >;
3992}
3993extern "C" {
3994 pub static mut zend_printf_to_smart_string: ::std::option::Option<
3995 unsafe extern "C" fn(
3996 buf: *mut smart_string,
3997 format: *const ::std::os::raw::c_char,
3998 ap: *mut __va_list_tag,
3999 ),
4000 >;
4001}
4002extern "C" {
4003 pub static mut zend_printf_to_smart_str: ::std::option::Option<
4004 unsafe extern "C" fn(
4005 buf: *mut smart_str,
4006 format: *const ::std::os::raw::c_char,
4007 ap: *mut __va_list_tag,
4008 ),
4009 >;
4010}
4011extern "C" {
4012 pub static mut zend_getenv: ::std::option::Option<
4013 unsafe extern "C" fn(
4014 name: *mut ::std::os::raw::c_char,
4015 name_len: usize,
4016 ) -> *mut ::std::os::raw::c_char,
4017 >;
4018}
4019extern "C" {
4020 pub static mut zend_resolve_path: ::std::option::Option<
4021 unsafe extern "C" fn(
4022 filename: *const ::std::os::raw::c_char,
4023 filename_len: ::std::os::raw::c_int,
4024 ) -> *mut zend_string,
4025 >;
4026}
4027extern "C" {
4028 pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
4029}
4030extern "C" {
4031 pub fn zend_throw_error(
4032 exception_ce: *mut zend_class_entry,
4033 format: *const ::std::os::raw::c_char,
4034 ...
4035 );
4036}
4037extern "C" {
4038 pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
4039}
4040extern "C" {
4041 pub fn zend_internal_type_error(
4042 throw_exception: zend_bool,
4043 format: *const ::std::os::raw::c_char,
4044 ...
4045 );
4046}
4047extern "C" {
4048 pub fn zend_internal_argument_count_error(
4049 throw_exception: zend_bool,
4050 format: *const ::std::os::raw::c_char,
4051 ...
4052 );
4053}
4054extern "C" {
4055 pub fn zenderror(error: *const ::std::os::raw::c_char);
4056}
4057extern "C" {
4058 pub static mut zend_standard_class_def: *mut zend_class_entry;
4059}
4060extern "C" {
4061 pub static mut zend_uv: zend_utility_values;
4062}
4063extern "C" {
4064 pub static mut zend_dtrace_enabled: zend_bool;
4065}
4066extern "C" {
4067 pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
4068}
4069extern "C" {
4070 pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
4071}
4072pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
4073pub const zend_error_handling_t_EH_SUPPRESS: zend_error_handling_t = 1;
4074pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 2;
4075pub type zend_error_handling_t = ::std::os::raw::c_uint;
4076#[repr(C)]
4077#[derive(Copy, Clone)]
4078pub struct zend_error_handling {
4079 pub handling: zend_error_handling_t,
4080 pub exception: *mut zend_class_entry,
4081 pub user_handler: zval,
4082}
4083#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4084const _: () = {
4085 ["Size of zend_error_handling"][::std::mem::size_of::<zend_error_handling>() - 32usize];
4086 ["Alignment of zend_error_handling"][::std::mem::align_of::<zend_error_handling>() - 8usize];
4087 ["Offset of field: zend_error_handling::handling"]
4088 [::std::mem::offset_of!(zend_error_handling, handling) - 0usize];
4089 ["Offset of field: zend_error_handling::exception"]
4090 [::std::mem::offset_of!(zend_error_handling, exception) - 8usize];
4091 ["Offset of field: zend_error_handling::user_handler"]
4092 [::std::mem::offset_of!(zend_error_handling, user_handler) - 16usize];
4093};
4094extern "C" {
4095 pub fn zend_save_error_handling(current: *mut zend_error_handling);
4096}
4097extern "C" {
4098 pub fn zend_replace_error_handling(
4099 error_handling: zend_error_handling_t,
4100 exception_class: *mut zend_class_entry,
4101 current: *mut zend_error_handling,
4102 );
4103}
4104extern "C" {
4105 pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
4106}
4107pub type zend_object_read_property_t = ::std::option::Option<
4108 unsafe extern "C" fn(
4109 object: *mut zval,
4110 member: *mut zval,
4111 type_: ::std::os::raw::c_int,
4112 cache_slot: *mut *mut ::std::os::raw::c_void,
4113 rv: *mut zval,
4114 ) -> *mut zval,
4115>;
4116pub type zend_object_read_dimension_t = ::std::option::Option<
4117 unsafe extern "C" fn(
4118 object: *mut zval,
4119 offset: *mut zval,
4120 type_: ::std::os::raw::c_int,
4121 rv: *mut zval,
4122 ) -> *mut zval,
4123>;
4124pub type zend_object_write_property_t = ::std::option::Option<
4125 unsafe extern "C" fn(
4126 object: *mut zval,
4127 member: *mut zval,
4128 value: *mut zval,
4129 cache_slot: *mut *mut ::std::os::raw::c_void,
4130 ),
4131>;
4132pub type zend_object_write_dimension_t = ::std::option::Option<
4133 unsafe extern "C" fn(object: *mut zval, offset: *mut zval, value: *mut zval),
4134>;
4135pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
4136 unsafe extern "C" fn(
4137 object: *mut zval,
4138 member: *mut zval,
4139 type_: ::std::os::raw::c_int,
4140 cache_slot: *mut *mut ::std::os::raw::c_void,
4141 ) -> *mut zval,
4142>;
4143pub type zend_object_set_t =
4144 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, value: *mut zval)>;
4145pub type zend_object_get_t =
4146 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, rv: *mut zval) -> *mut zval>;
4147pub type zend_object_has_property_t = ::std::option::Option<
4148 unsafe extern "C" fn(
4149 object: *mut zval,
4150 member: *mut zval,
4151 has_set_exists: ::std::os::raw::c_int,
4152 cache_slot: *mut *mut ::std::os::raw::c_void,
4153 ) -> ::std::os::raw::c_int,
4154>;
4155pub type zend_object_has_dimension_t = ::std::option::Option<
4156 unsafe extern "C" fn(
4157 object: *mut zval,
4158 member: *mut zval,
4159 check_empty: ::std::os::raw::c_int,
4160 ) -> ::std::os::raw::c_int,
4161>;
4162pub type zend_object_unset_property_t = ::std::option::Option<
4163 unsafe extern "C" fn(
4164 object: *mut zval,
4165 member: *mut zval,
4166 cache_slot: *mut *mut ::std::os::raw::c_void,
4167 ),
4168>;
4169pub type zend_object_unset_dimension_t =
4170 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, offset: *mut zval)>;
4171pub type zend_object_get_properties_t =
4172 ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut HashTable>;
4173pub type zend_object_get_debug_info_t = ::std::option::Option<
4174 unsafe extern "C" fn(object: *mut zval, is_temp: *mut ::std::os::raw::c_int) -> *mut HashTable,
4175>;
4176pub type zend_object_call_method_t = ::std::option::Option<
4177 unsafe extern "C" fn(
4178 method: *mut zend_string,
4179 object: *mut zend_object,
4180 execute_data: *mut zend_execute_data,
4181 return_value: *mut zval,
4182 ) -> ::std::os::raw::c_int,
4183>;
4184pub type zend_object_get_method_t = ::std::option::Option<
4185 unsafe extern "C" fn(
4186 object: *mut *mut zend_object,
4187 method: *mut zend_string,
4188 key: *const zval,
4189 ) -> *mut _zend_function,
4190>;
4191pub type zend_object_get_constructor_t =
4192 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut _zend_function>;
4193pub type zend_object_dtor_obj_t =
4194 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
4195pub type zend_object_free_obj_t =
4196 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
4197pub type zend_object_clone_obj_t =
4198 ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut zend_object>;
4199pub type zend_object_get_class_name_t =
4200 ::std::option::Option<unsafe extern "C" fn(object: *const zend_object) -> *mut zend_string>;
4201pub type zend_object_compare_t = ::std::option::Option<
4202 unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
4203>;
4204pub type zend_object_compare_zvals_t = ::std::option::Option<
4205 unsafe extern "C" fn(resul: *mut zval, op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int,
4206>;
4207pub type zend_object_cast_t = ::std::option::Option<
4208 unsafe extern "C" fn(
4209 readobj: *mut zval,
4210 retval: *mut zval,
4211 type_: ::std::os::raw::c_int,
4212 ) -> ::std::os::raw::c_int,
4213>;
4214pub type zend_object_count_elements_t = ::std::option::Option<
4215 unsafe extern "C" fn(object: *mut zval, count: *mut zend_long) -> ::std::os::raw::c_int,
4216>;
4217pub type zend_object_get_closure_t = ::std::option::Option<
4218 unsafe extern "C" fn(
4219 obj: *mut zval,
4220 ce_ptr: *mut *mut zend_class_entry,
4221 fptr_ptr: *mut *mut _zend_function,
4222 obj_ptr: *mut *mut zend_object,
4223 ) -> ::std::os::raw::c_int,
4224>;
4225pub type zend_object_get_gc_t = ::std::option::Option<
4226 unsafe extern "C" fn(
4227 object: *mut zval,
4228 table: *mut *mut zval,
4229 n: *mut ::std::os::raw::c_int,
4230 ) -> *mut HashTable,
4231>;
4232pub type zend_object_do_operation_t = ::std::option::Option<
4233 unsafe extern "C" fn(
4234 opcode: zend_uchar,
4235 result: *mut zval,
4236 op1: *mut zval,
4237 op2: *mut zval,
4238 ) -> ::std::os::raw::c_int,
4239>;
4240#[repr(C)]
4241#[derive(Debug, Copy, Clone)]
4242pub struct _zend_object_handlers {
4243 pub offset: ::std::os::raw::c_int,
4244 pub free_obj: zend_object_free_obj_t,
4245 pub dtor_obj: zend_object_dtor_obj_t,
4246 pub clone_obj: zend_object_clone_obj_t,
4247 pub read_property: zend_object_read_property_t,
4248 pub write_property: zend_object_write_property_t,
4249 pub read_dimension: zend_object_read_dimension_t,
4250 pub write_dimension: zend_object_write_dimension_t,
4251 pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
4252 pub get: zend_object_get_t,
4253 pub set: zend_object_set_t,
4254 pub has_property: zend_object_has_property_t,
4255 pub unset_property: zend_object_unset_property_t,
4256 pub has_dimension: zend_object_has_dimension_t,
4257 pub unset_dimension: zend_object_unset_dimension_t,
4258 pub get_properties: zend_object_get_properties_t,
4259 pub get_method: zend_object_get_method_t,
4260 pub call_method: zend_object_call_method_t,
4261 pub get_constructor: zend_object_get_constructor_t,
4262 pub get_class_name: zend_object_get_class_name_t,
4263 pub compare_objects: zend_object_compare_t,
4264 pub cast_object: zend_object_cast_t,
4265 pub count_elements: zend_object_count_elements_t,
4266 pub get_debug_info: zend_object_get_debug_info_t,
4267 pub get_closure: zend_object_get_closure_t,
4268 pub get_gc: zend_object_get_gc_t,
4269 pub do_operation: zend_object_do_operation_t,
4270 pub compare: zend_object_compare_zvals_t,
4271}
4272#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4273const _: () = {
4274 ["Size of _zend_object_handlers"][::std::mem::size_of::<_zend_object_handlers>() - 224usize];
4275 ["Alignment of _zend_object_handlers"]
4276 [::std::mem::align_of::<_zend_object_handlers>() - 8usize];
4277 ["Offset of field: _zend_object_handlers::offset"]
4278 [::std::mem::offset_of!(_zend_object_handlers, offset) - 0usize];
4279 ["Offset of field: _zend_object_handlers::free_obj"]
4280 [::std::mem::offset_of!(_zend_object_handlers, free_obj) - 8usize];
4281 ["Offset of field: _zend_object_handlers::dtor_obj"]
4282 [::std::mem::offset_of!(_zend_object_handlers, dtor_obj) - 16usize];
4283 ["Offset of field: _zend_object_handlers::clone_obj"]
4284 [::std::mem::offset_of!(_zend_object_handlers, clone_obj) - 24usize];
4285 ["Offset of field: _zend_object_handlers::read_property"]
4286 [::std::mem::offset_of!(_zend_object_handlers, read_property) - 32usize];
4287 ["Offset of field: _zend_object_handlers::write_property"]
4288 [::std::mem::offset_of!(_zend_object_handlers, write_property) - 40usize];
4289 ["Offset of field: _zend_object_handlers::read_dimension"]
4290 [::std::mem::offset_of!(_zend_object_handlers, read_dimension) - 48usize];
4291 ["Offset of field: _zend_object_handlers::write_dimension"]
4292 [::std::mem::offset_of!(_zend_object_handlers, write_dimension) - 56usize];
4293 ["Offset of field: _zend_object_handlers::get_property_ptr_ptr"]
4294 [::std::mem::offset_of!(_zend_object_handlers, get_property_ptr_ptr) - 64usize];
4295 ["Offset of field: _zend_object_handlers::get"]
4296 [::std::mem::offset_of!(_zend_object_handlers, get) - 72usize];
4297 ["Offset of field: _zend_object_handlers::set"]
4298 [::std::mem::offset_of!(_zend_object_handlers, set) - 80usize];
4299 ["Offset of field: _zend_object_handlers::has_property"]
4300 [::std::mem::offset_of!(_zend_object_handlers, has_property) - 88usize];
4301 ["Offset of field: _zend_object_handlers::unset_property"]
4302 [::std::mem::offset_of!(_zend_object_handlers, unset_property) - 96usize];
4303 ["Offset of field: _zend_object_handlers::has_dimension"]
4304 [::std::mem::offset_of!(_zend_object_handlers, has_dimension) - 104usize];
4305 ["Offset of field: _zend_object_handlers::unset_dimension"]
4306 [::std::mem::offset_of!(_zend_object_handlers, unset_dimension) - 112usize];
4307 ["Offset of field: _zend_object_handlers::get_properties"]
4308 [::std::mem::offset_of!(_zend_object_handlers, get_properties) - 120usize];
4309 ["Offset of field: _zend_object_handlers::get_method"]
4310 [::std::mem::offset_of!(_zend_object_handlers, get_method) - 128usize];
4311 ["Offset of field: _zend_object_handlers::call_method"]
4312 [::std::mem::offset_of!(_zend_object_handlers, call_method) - 136usize];
4313 ["Offset of field: _zend_object_handlers::get_constructor"]
4314 [::std::mem::offset_of!(_zend_object_handlers, get_constructor) - 144usize];
4315 ["Offset of field: _zend_object_handlers::get_class_name"]
4316 [::std::mem::offset_of!(_zend_object_handlers, get_class_name) - 152usize];
4317 ["Offset of field: _zend_object_handlers::compare_objects"]
4318 [::std::mem::offset_of!(_zend_object_handlers, compare_objects) - 160usize];
4319 ["Offset of field: _zend_object_handlers::cast_object"]
4320 [::std::mem::offset_of!(_zend_object_handlers, cast_object) - 168usize];
4321 ["Offset of field: _zend_object_handlers::count_elements"]
4322 [::std::mem::offset_of!(_zend_object_handlers, count_elements) - 176usize];
4323 ["Offset of field: _zend_object_handlers::get_debug_info"]
4324 [::std::mem::offset_of!(_zend_object_handlers, get_debug_info) - 184usize];
4325 ["Offset of field: _zend_object_handlers::get_closure"]
4326 [::std::mem::offset_of!(_zend_object_handlers, get_closure) - 192usize];
4327 ["Offset of field: _zend_object_handlers::get_gc"]
4328 [::std::mem::offset_of!(_zend_object_handlers, get_gc) - 200usize];
4329 ["Offset of field: _zend_object_handlers::do_operation"]
4330 [::std::mem::offset_of!(_zend_object_handlers, do_operation) - 208usize];
4331 ["Offset of field: _zend_object_handlers::compare"]
4332 [::std::mem::offset_of!(_zend_object_handlers, compare) - 216usize];
4333};
4334extern "C" {
4335 pub static mut std_object_handlers: zend_object_handlers;
4336}
4337extern "C" {
4338 pub fn zend_std_get_static_method(
4339 ce: *mut zend_class_entry,
4340 function_name_strval: *mut zend_string,
4341 key: *const zval,
4342 ) -> *mut _zend_function;
4343}
4344extern "C" {
4345 pub fn zend_std_get_static_property(
4346 ce: *mut zend_class_entry,
4347 property_name: *mut zend_string,
4348 silent: zend_bool,
4349 ) -> *mut zval;
4350}
4351extern "C" {
4352 pub fn zend_std_unset_static_property(
4353 ce: *mut zend_class_entry,
4354 property_name: *mut zend_string,
4355 ) -> zend_bool;
4356}
4357extern "C" {
4358 pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut _zend_function;
4359}
4360extern "C" {
4361 pub fn zend_get_property_info(
4362 ce: *mut zend_class_entry,
4363 member: *mut zend_string,
4364 silent: ::std::os::raw::c_int,
4365 ) -> *mut _zend_property_info;
4366}
4367extern "C" {
4368 pub fn zend_std_get_properties(object: *mut zval) -> *mut HashTable;
4369}
4370extern "C" {
4371 pub fn zend_std_get_debug_info(
4372 object: *mut zval,
4373 is_temp: *mut ::std::os::raw::c_int,
4374 ) -> *mut HashTable;
4375}
4376extern "C" {
4377 pub fn zend_std_cast_object_tostring(
4378 readobj: *mut zval,
4379 writeobj: *mut zval,
4380 type_: ::std::os::raw::c_int,
4381 ) -> ::std::os::raw::c_int;
4382}
4383extern "C" {
4384 pub fn zend_std_write_property(
4385 object: *mut zval,
4386 member: *mut zval,
4387 value: *mut zval,
4388 cache_slot: *mut *mut ::std::os::raw::c_void,
4389 );
4390}
4391extern "C" {
4392 pub fn zend_check_private(
4393 fbc: *mut _zend_function,
4394 ce: *mut zend_class_entry,
4395 function_name: *mut zend_string,
4396 ) -> ::std::os::raw::c_int;
4397}
4398extern "C" {
4399 pub fn zend_check_protected(
4400 ce: *mut zend_class_entry,
4401 scope: *mut zend_class_entry,
4402 ) -> ::std::os::raw::c_int;
4403}
4404extern "C" {
4405 pub fn zend_check_property_access(
4406 zobj: *mut zend_object,
4407 prop_info_name: *mut zend_string,
4408 ) -> ::std::os::raw::c_int;
4409}
4410extern "C" {
4411 pub fn zend_get_call_trampoline_func(
4412 ce: *mut zend_class_entry,
4413 method_name: *mut zend_string,
4414 is_static: ::std::os::raw::c_int,
4415 ) -> *mut zend_function;
4416}
4417extern "C" {
4418 pub fn zend_get_property_guard(zobj: *mut zend_object, member: *mut zend_string) -> *mut u32;
4419}
4420extern "C" {
4421 pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
4422}
4423extern "C" {
4424 pub fn zend_dtoa(
4425 _d: f64,
4426 mode: ::std::os::raw::c_int,
4427 ndigits: ::std::os::raw::c_int,
4428 decpt: *mut ::std::os::raw::c_int,
4429 sign: *mut ::std::os::raw::c_int,
4430 rve: *mut *mut ::std::os::raw::c_char,
4431 ) -> *mut ::std::os::raw::c_char;
4432}
4433extern "C" {
4434 pub fn zend_strtod(
4435 s00: *const ::std::os::raw::c_char,
4436 se: *mut *const ::std::os::raw::c_char,
4437 ) -> f64;
4438}
4439extern "C" {
4440 pub fn zend_hex_strtod(
4441 str_: *const ::std::os::raw::c_char,
4442 endptr: *mut *const ::std::os::raw::c_char,
4443 ) -> f64;
4444}
4445extern "C" {
4446 pub fn zend_oct_strtod(
4447 str_: *const ::std::os::raw::c_char,
4448 endptr: *mut *const ::std::os::raw::c_char,
4449 ) -> f64;
4450}
4451extern "C" {
4452 pub fn zend_bin_strtod(
4453 str_: *const ::std::os::raw::c_char,
4454 endptr: *mut *const ::std::os::raw::c_char,
4455 ) -> f64;
4456}
4457extern "C" {
4458 pub fn zend_startup_strtod() -> ::std::os::raw::c_int;
4459}
4460extern "C" {
4461 pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
4462}
4463extern "C" {
4464 pub fn zend_is_identical(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
4465}
4466extern "C" {
4467 pub fn zend_memnstr_ex(
4468 haystack: *const ::std::os::raw::c_char,
4469 needle: *const ::std::os::raw::c_char,
4470 needle_len: usize,
4471 end: *const ::std::os::raw::c_char,
4472 ) -> *const ::std::os::raw::c_char;
4473}
4474extern "C" {
4475 pub fn zend_memnrstr_ex(
4476 haystack: *const ::std::os::raw::c_char,
4477 needle: *const ::std::os::raw::c_char,
4478 needle_len: usize,
4479 end: *const ::std::os::raw::c_char,
4480 ) -> *const ::std::os::raw::c_char;
4481}
4482extern "C" {
4483 pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
4484}
4485extern "C" {
4486 pub fn zend_is_true(op: *mut zval) -> ::std::os::raw::c_int;
4487}
4488extern "C" {
4489 pub fn zend_object_is_true(op: *mut zval) -> ::std::os::raw::c_int;
4490}
4491extern "C" {
4492 pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: usize);
4493}
4494extern "C" {
4495 pub fn zend_str_tolower_copy(
4496 dest: *mut ::std::os::raw::c_char,
4497 source: *const ::std::os::raw::c_char,
4498 length: usize,
4499 ) -> *mut ::std::os::raw::c_char;
4500}
4501extern "C" {
4502 pub fn zend_str_tolower_dup(
4503 source: *const ::std::os::raw::c_char,
4504 length: usize,
4505 ) -> *mut ::std::os::raw::c_char;
4506}
4507extern "C" {
4508 pub fn zend_str_tolower_dup_ex(
4509 source: *const ::std::os::raw::c_char,
4510 length: usize,
4511 ) -> *mut ::std::os::raw::c_char;
4512}
4513extern "C" {
4514 pub fn zend_string_tolower(str_: *mut zend_string) -> *mut zend_string;
4515}
4516extern "C" {
4517 pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
4518}
4519extern "C" {
4520 pub fn zend_binary_zval_strncmp(
4521 s1: *mut zval,
4522 s2: *mut zval,
4523 s3: *mut zval,
4524 ) -> ::std::os::raw::c_int;
4525}
4526extern "C" {
4527 pub fn zend_binary_zval_strcasecmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
4528}
4529extern "C" {
4530 pub fn zend_binary_zval_strncasecmp(
4531 s1: *mut zval,
4532 s2: *mut zval,
4533 s3: *mut zval,
4534 ) -> ::std::os::raw::c_int;
4535}
4536extern "C" {
4537 pub fn zend_binary_strcmp(
4538 s1: *const ::std::os::raw::c_char,
4539 len1: usize,
4540 s2: *const ::std::os::raw::c_char,
4541 len2: usize,
4542 ) -> ::std::os::raw::c_int;
4543}
4544extern "C" {
4545 pub fn zend_binary_strncmp(
4546 s1: *const ::std::os::raw::c_char,
4547 len1: usize,
4548 s2: *const ::std::os::raw::c_char,
4549 len2: usize,
4550 length: usize,
4551 ) -> ::std::os::raw::c_int;
4552}
4553extern "C" {
4554 pub fn zend_binary_strcasecmp(
4555 s1: *const ::std::os::raw::c_char,
4556 len1: usize,
4557 s2: *const ::std::os::raw::c_char,
4558 len2: usize,
4559 ) -> ::std::os::raw::c_int;
4560}
4561extern "C" {
4562 pub fn zend_binary_strncasecmp(
4563 s1: *const ::std::os::raw::c_char,
4564 len1: usize,
4565 s2: *const ::std::os::raw::c_char,
4566 len2: usize,
4567 length: usize,
4568 ) -> ::std::os::raw::c_int;
4569}
4570extern "C" {
4571 pub fn zend_binary_strcasecmp_l(
4572 s1: *const ::std::os::raw::c_char,
4573 len1: usize,
4574 s2: *const ::std::os::raw::c_char,
4575 len2: usize,
4576 ) -> ::std::os::raw::c_int;
4577}
4578extern "C" {
4579 pub fn zend_binary_strncasecmp_l(
4580 s1: *const ::std::os::raw::c_char,
4581 len1: usize,
4582 s2: *const ::std::os::raw::c_char,
4583 len2: usize,
4584 length: usize,
4585 ) -> ::std::os::raw::c_int;
4586}
4587extern "C" {
4588 pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> zend_long;
4589}
4590extern "C" {
4591 pub fn zend_compare_symbol_tables(
4592 ht1: *mut HashTable,
4593 ht2: *mut HashTable,
4594 ) -> ::std::os::raw::c_int;
4595}
4596extern "C" {
4597 pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
4598}
4599extern "C" {
4600 pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
4601}
4602extern "C" {
4603 pub fn zend_atoi(
4604 str_: *const ::std::os::raw::c_char,
4605 str_len: ::std::os::raw::c_int,
4606 ) -> ::std::os::raw::c_int;
4607}
4608extern "C" {
4609 pub fn zend_atol(
4610 str_: *const ::std::os::raw::c_char,
4611 str_len: ::std::os::raw::c_int,
4612 ) -> zend_long;
4613}
4614extern "C" {
4615 pub fn zend_locale_sprintf_double(op: *mut zval);
4616}
4617extern "C" {
4618 pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
4619}
4620extern "C" {
4621 pub fn zend_qsort(
4622 base: *mut ::std::os::raw::c_void,
4623 nmemb: usize,
4624 siz: usize,
4625 cmp: compare_func_t,
4626 swp: swap_func_t,
4627 );
4628}
4629extern "C" {
4630 pub fn zend_sort(
4631 base: *mut ::std::os::raw::c_void,
4632 nmemb: usize,
4633 siz: usize,
4634 cmp: compare_func_t,
4635 swp: swap_func_t,
4636 );
4637}
4638extern "C" {
4639 pub fn zend_insert_sort(
4640 base: *mut ::std::os::raw::c_void,
4641 nmemb: usize,
4642 siz: usize,
4643 cmp: compare_func_t,
4644 swp: swap_func_t,
4645 );
4646}
4647pub type zend_op_array = _zend_op_array;
4648pub type zend_op = _zend_op;
4649#[repr(C)]
4650#[derive(Copy, Clone)]
4651pub union _znode_op {
4652 pub constant: u32,
4653 pub var: u32,
4654 pub num: u32,
4655 pub opline_num: u32,
4656 pub jmp_offset: u32,
4657}
4658#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4659const _: () = {
4660 ["Size of _znode_op"][::std::mem::size_of::<_znode_op>() - 4usize];
4661 ["Alignment of _znode_op"][::std::mem::align_of::<_znode_op>() - 4usize];
4662 ["Offset of field: _znode_op::constant"][::std::mem::offset_of!(_znode_op, constant) - 0usize];
4663 ["Offset of field: _znode_op::var"][::std::mem::offset_of!(_znode_op, var) - 0usize];
4664 ["Offset of field: _znode_op::num"][::std::mem::offset_of!(_znode_op, num) - 0usize];
4665 ["Offset of field: _znode_op::opline_num"]
4666 [::std::mem::offset_of!(_znode_op, opline_num) - 0usize];
4667 ["Offset of field: _znode_op::jmp_offset"]
4668 [::std::mem::offset_of!(_znode_op, jmp_offset) - 0usize];
4669};
4670pub type znode_op = _znode_op;
4671#[repr(C)]
4672#[derive(Copy, Clone)]
4673pub struct _znode {
4674 pub op_type: zend_uchar,
4675 pub flag: zend_uchar,
4676 pub u: _znode__bindgen_ty_1,
4677}
4678#[repr(C)]
4679#[derive(Copy, Clone)]
4680pub union _znode__bindgen_ty_1 {
4681 pub op: znode_op,
4682 pub constant: zval,
4683}
4684#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4685const _: () = {
4686 ["Size of _znode__bindgen_ty_1"][::std::mem::size_of::<_znode__bindgen_ty_1>() - 16usize];
4687 ["Alignment of _znode__bindgen_ty_1"][::std::mem::align_of::<_znode__bindgen_ty_1>() - 8usize];
4688 ["Offset of field: _znode__bindgen_ty_1::op"]
4689 [::std::mem::offset_of!(_znode__bindgen_ty_1, op) - 0usize];
4690 ["Offset of field: _znode__bindgen_ty_1::constant"]
4691 [::std::mem::offset_of!(_znode__bindgen_ty_1, constant) - 0usize];
4692};
4693#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4694const _: () = {
4695 ["Size of _znode"][::std::mem::size_of::<_znode>() - 24usize];
4696 ["Alignment of _znode"][::std::mem::align_of::<_znode>() - 8usize];
4697 ["Offset of field: _znode::op_type"][::std::mem::offset_of!(_znode, op_type) - 0usize];
4698 ["Offset of field: _znode::flag"][::std::mem::offset_of!(_znode, flag) - 1usize];
4699 ["Offset of field: _znode::u"][::std::mem::offset_of!(_znode, u) - 8usize];
4700};
4701pub type znode = _znode;
4702#[repr(C)]
4703#[derive(Copy, Clone)]
4704pub struct _zend_ast_znode {
4705 pub kind: zend_ast_kind,
4706 pub attr: zend_ast_attr,
4707 pub lineno: u32,
4708 pub node: znode,
4709}
4710#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4711const _: () = {
4712 ["Size of _zend_ast_znode"][::std::mem::size_of::<_zend_ast_znode>() - 32usize];
4713 ["Alignment of _zend_ast_znode"][::std::mem::align_of::<_zend_ast_znode>() - 8usize];
4714 ["Offset of field: _zend_ast_znode::kind"]
4715 [::std::mem::offset_of!(_zend_ast_znode, kind) - 0usize];
4716 ["Offset of field: _zend_ast_znode::attr"]
4717 [::std::mem::offset_of!(_zend_ast_znode, attr) - 2usize];
4718 ["Offset of field: _zend_ast_znode::lineno"]
4719 [::std::mem::offset_of!(_zend_ast_znode, lineno) - 4usize];
4720 ["Offset of field: _zend_ast_znode::node"]
4721 [::std::mem::offset_of!(_zend_ast_znode, node) - 8usize];
4722};
4723pub type zend_ast_znode = _zend_ast_znode;
4724extern "C" {
4725 pub fn zend_ast_create_znode(node: *mut znode) -> *mut zend_ast;
4726}
4727#[repr(C)]
4728#[derive(Debug, Copy, Clone)]
4729pub struct _zend_declarables {
4730 pub ticks: zend_long,
4731}
4732#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4733const _: () = {
4734 ["Size of _zend_declarables"][::std::mem::size_of::<_zend_declarables>() - 8usize];
4735 ["Alignment of _zend_declarables"][::std::mem::align_of::<_zend_declarables>() - 8usize];
4736 ["Offset of field: _zend_declarables::ticks"]
4737 [::std::mem::offset_of!(_zend_declarables, ticks) - 0usize];
4738};
4739pub type zend_declarables = _zend_declarables;
4740#[repr(C)]
4741#[derive(Copy, Clone)]
4742pub struct _zend_file_context {
4743 pub declarables: zend_declarables,
4744 pub implementing_class: znode,
4745 pub current_namespace: *mut zend_string,
4746 pub in_namespace: zend_bool,
4747 pub has_bracketed_namespaces: zend_bool,
4748 pub imports: *mut HashTable,
4749 pub imports_function: *mut HashTable,
4750 pub imports_const: *mut HashTable,
4751 pub seen_symbols: HashTable,
4752}
4753#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4754const _: () = {
4755 ["Size of _zend_file_context"][::std::mem::size_of::<_zend_file_context>() - 128usize];
4756 ["Alignment of _zend_file_context"][::std::mem::align_of::<_zend_file_context>() - 8usize];
4757 ["Offset of field: _zend_file_context::declarables"]
4758 [::std::mem::offset_of!(_zend_file_context, declarables) - 0usize];
4759 ["Offset of field: _zend_file_context::implementing_class"]
4760 [::std::mem::offset_of!(_zend_file_context, implementing_class) - 8usize];
4761 ["Offset of field: _zend_file_context::current_namespace"]
4762 [::std::mem::offset_of!(_zend_file_context, current_namespace) - 32usize];
4763 ["Offset of field: _zend_file_context::in_namespace"]
4764 [::std::mem::offset_of!(_zend_file_context, in_namespace) - 40usize];
4765 ["Offset of field: _zend_file_context::has_bracketed_namespaces"]
4766 [::std::mem::offset_of!(_zend_file_context, has_bracketed_namespaces) - 41usize];
4767 ["Offset of field: _zend_file_context::imports"]
4768 [::std::mem::offset_of!(_zend_file_context, imports) - 48usize];
4769 ["Offset of field: _zend_file_context::imports_function"]
4770 [::std::mem::offset_of!(_zend_file_context, imports_function) - 56usize];
4771 ["Offset of field: _zend_file_context::imports_const"]
4772 [::std::mem::offset_of!(_zend_file_context, imports_const) - 64usize];
4773 ["Offset of field: _zend_file_context::seen_symbols"]
4774 [::std::mem::offset_of!(_zend_file_context, seen_symbols) - 72usize];
4775};
4776pub type zend_file_context = _zend_file_context;
4777#[repr(C)]
4778#[derive(Copy, Clone)]
4779pub union _zend_parser_stack_elem {
4780 pub ast: *mut zend_ast,
4781 pub str_: *mut zend_string,
4782 pub num: zend_ulong,
4783}
4784#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4785const _: () = {
4786 ["Size of _zend_parser_stack_elem"][::std::mem::size_of::<_zend_parser_stack_elem>() - 8usize];
4787 ["Alignment of _zend_parser_stack_elem"]
4788 [::std::mem::align_of::<_zend_parser_stack_elem>() - 8usize];
4789 ["Offset of field: _zend_parser_stack_elem::ast"]
4790 [::std::mem::offset_of!(_zend_parser_stack_elem, ast) - 0usize];
4791 ["Offset of field: _zend_parser_stack_elem::str_"]
4792 [::std::mem::offset_of!(_zend_parser_stack_elem, str_) - 0usize];
4793 ["Offset of field: _zend_parser_stack_elem::num"]
4794 [::std::mem::offset_of!(_zend_parser_stack_elem, num) - 0usize];
4795};
4796pub type zend_parser_stack_elem = _zend_parser_stack_elem;
4797extern "C" {
4798 pub fn zend_compile_top_stmt(ast: *mut zend_ast);
4799}
4800extern "C" {
4801 pub fn zend_compile_stmt(ast: *mut zend_ast);
4802}
4803extern "C" {
4804 pub fn zend_compile_expr(node: *mut znode, ast: *mut zend_ast);
4805}
4806extern "C" {
4807 pub fn zend_compile_var(node: *mut znode, ast: *mut zend_ast, type_: u32);
4808}
4809extern "C" {
4810 pub fn zend_eval_const_expr(ast_ptr: *mut *mut zend_ast);
4811}
4812extern "C" {
4813 pub fn zend_const_expr_to_zval(result: *mut zval, ast: *mut zend_ast);
4814}
4815pub type user_opcode_handler_t = ::std::option::Option<
4816 unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
4817>;
4818#[repr(C)]
4819#[derive(Copy, Clone)]
4820pub struct _zend_op {
4821 pub handler: *const ::std::os::raw::c_void,
4822 pub op1: znode_op,
4823 pub op2: znode_op,
4824 pub result: znode_op,
4825 pub extended_value: u32,
4826 pub lineno: u32,
4827 pub opcode: zend_uchar,
4828 pub op1_type: zend_uchar,
4829 pub op2_type: zend_uchar,
4830 pub result_type: zend_uchar,
4831}
4832#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4833const _: () = {
4834 ["Size of _zend_op"][::std::mem::size_of::<_zend_op>() - 32usize];
4835 ["Alignment of _zend_op"][::std::mem::align_of::<_zend_op>() - 8usize];
4836 ["Offset of field: _zend_op::handler"][::std::mem::offset_of!(_zend_op, handler) - 0usize];
4837 ["Offset of field: _zend_op::op1"][::std::mem::offset_of!(_zend_op, op1) - 8usize];
4838 ["Offset of field: _zend_op::op2"][::std::mem::offset_of!(_zend_op, op2) - 12usize];
4839 ["Offset of field: _zend_op::result"][::std::mem::offset_of!(_zend_op, result) - 16usize];
4840 ["Offset of field: _zend_op::extended_value"]
4841 [::std::mem::offset_of!(_zend_op, extended_value) - 20usize];
4842 ["Offset of field: _zend_op::lineno"][::std::mem::offset_of!(_zend_op, lineno) - 24usize];
4843 ["Offset of field: _zend_op::opcode"][::std::mem::offset_of!(_zend_op, opcode) - 28usize];
4844 ["Offset of field: _zend_op::op1_type"][::std::mem::offset_of!(_zend_op, op1_type) - 29usize];
4845 ["Offset of field: _zend_op::op2_type"][::std::mem::offset_of!(_zend_op, op2_type) - 30usize];
4846 ["Offset of field: _zend_op::result_type"]
4847 [::std::mem::offset_of!(_zend_op, result_type) - 31usize];
4848};
4849#[repr(C)]
4850#[derive(Debug, Copy, Clone)]
4851pub struct _zend_brk_cont_element {
4852 pub start: ::std::os::raw::c_int,
4853 pub cont: ::std::os::raw::c_int,
4854 pub brk: ::std::os::raw::c_int,
4855 pub parent: ::std::os::raw::c_int,
4856}
4857#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4858const _: () = {
4859 ["Size of _zend_brk_cont_element"][::std::mem::size_of::<_zend_brk_cont_element>() - 16usize];
4860 ["Alignment of _zend_brk_cont_element"]
4861 [::std::mem::align_of::<_zend_brk_cont_element>() - 4usize];
4862 ["Offset of field: _zend_brk_cont_element::start"]
4863 [::std::mem::offset_of!(_zend_brk_cont_element, start) - 0usize];
4864 ["Offset of field: _zend_brk_cont_element::cont"]
4865 [::std::mem::offset_of!(_zend_brk_cont_element, cont) - 4usize];
4866 ["Offset of field: _zend_brk_cont_element::brk"]
4867 [::std::mem::offset_of!(_zend_brk_cont_element, brk) - 8usize];
4868 ["Offset of field: _zend_brk_cont_element::parent"]
4869 [::std::mem::offset_of!(_zend_brk_cont_element, parent) - 12usize];
4870};
4871pub type zend_brk_cont_element = _zend_brk_cont_element;
4872#[repr(C)]
4873#[derive(Debug, Copy, Clone)]
4874pub struct _zend_label {
4875 pub brk_cont: ::std::os::raw::c_int,
4876 pub opline_num: u32,
4877}
4878#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4879const _: () = {
4880 ["Size of _zend_label"][::std::mem::size_of::<_zend_label>() - 8usize];
4881 ["Alignment of _zend_label"][::std::mem::align_of::<_zend_label>() - 4usize];
4882 ["Offset of field: _zend_label::brk_cont"]
4883 [::std::mem::offset_of!(_zend_label, brk_cont) - 0usize];
4884 ["Offset of field: _zend_label::opline_num"]
4885 [::std::mem::offset_of!(_zend_label, opline_num) - 4usize];
4886};
4887pub type zend_label = _zend_label;
4888#[repr(C)]
4889#[derive(Debug, Copy, Clone)]
4890pub struct _zend_try_catch_element {
4891 pub try_op: u32,
4892 pub catch_op: u32,
4893 pub finally_op: u32,
4894 pub finally_end: u32,
4895}
4896#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4897const _: () = {
4898 ["Size of _zend_try_catch_element"][::std::mem::size_of::<_zend_try_catch_element>() - 16usize];
4899 ["Alignment of _zend_try_catch_element"]
4900 [::std::mem::align_of::<_zend_try_catch_element>() - 4usize];
4901 ["Offset of field: _zend_try_catch_element::try_op"]
4902 [::std::mem::offset_of!(_zend_try_catch_element, try_op) - 0usize];
4903 ["Offset of field: _zend_try_catch_element::catch_op"]
4904 [::std::mem::offset_of!(_zend_try_catch_element, catch_op) - 4usize];
4905 ["Offset of field: _zend_try_catch_element::finally_op"]
4906 [::std::mem::offset_of!(_zend_try_catch_element, finally_op) - 8usize];
4907 ["Offset of field: _zend_try_catch_element::finally_end"]
4908 [::std::mem::offset_of!(_zend_try_catch_element, finally_end) - 12usize];
4909};
4910pub type zend_try_catch_element = _zend_try_catch_element;
4911#[repr(C)]
4912#[derive(Debug, Copy, Clone)]
4913pub struct _zend_live_range {
4914 pub var: u32,
4915 pub start: u32,
4916 pub end: u32,
4917}
4918#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4919const _: () = {
4920 ["Size of _zend_live_range"][::std::mem::size_of::<_zend_live_range>() - 12usize];
4921 ["Alignment of _zend_live_range"][::std::mem::align_of::<_zend_live_range>() - 4usize];
4922 ["Offset of field: _zend_live_range::var"]
4923 [::std::mem::offset_of!(_zend_live_range, var) - 0usize];
4924 ["Offset of field: _zend_live_range::start"]
4925 [::std::mem::offset_of!(_zend_live_range, start) - 4usize];
4926 ["Offset of field: _zend_live_range::end"]
4927 [::std::mem::offset_of!(_zend_live_range, end) - 8usize];
4928};
4929pub type zend_live_range = _zend_live_range;
4930#[repr(C)]
4931#[derive(Debug, Copy, Clone)]
4932pub struct _zend_oparray_context {
4933 pub opcodes_size: u32,
4934 pub vars_size: ::std::os::raw::c_int,
4935 pub literals_size: ::std::os::raw::c_int,
4936 pub backpatch_count: ::std::os::raw::c_int,
4937 pub fast_call_var: u32,
4938 pub try_catch_offset: u32,
4939 pub current_brk_cont: ::std::os::raw::c_int,
4940 pub last_brk_cont: ::std::os::raw::c_int,
4941 pub brk_cont_array: *mut zend_brk_cont_element,
4942 pub labels: *mut HashTable,
4943}
4944#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4945const _: () = {
4946 ["Size of _zend_oparray_context"][::std::mem::size_of::<_zend_oparray_context>() - 48usize];
4947 ["Alignment of _zend_oparray_context"]
4948 [::std::mem::align_of::<_zend_oparray_context>() - 8usize];
4949 ["Offset of field: _zend_oparray_context::opcodes_size"]
4950 [::std::mem::offset_of!(_zend_oparray_context, opcodes_size) - 0usize];
4951 ["Offset of field: _zend_oparray_context::vars_size"]
4952 [::std::mem::offset_of!(_zend_oparray_context, vars_size) - 4usize];
4953 ["Offset of field: _zend_oparray_context::literals_size"]
4954 [::std::mem::offset_of!(_zend_oparray_context, literals_size) - 8usize];
4955 ["Offset of field: _zend_oparray_context::backpatch_count"]
4956 [::std::mem::offset_of!(_zend_oparray_context, backpatch_count) - 12usize];
4957 ["Offset of field: _zend_oparray_context::fast_call_var"]
4958 [::std::mem::offset_of!(_zend_oparray_context, fast_call_var) - 16usize];
4959 ["Offset of field: _zend_oparray_context::try_catch_offset"]
4960 [::std::mem::offset_of!(_zend_oparray_context, try_catch_offset) - 20usize];
4961 ["Offset of field: _zend_oparray_context::current_brk_cont"]
4962 [::std::mem::offset_of!(_zend_oparray_context, current_brk_cont) - 24usize];
4963 ["Offset of field: _zend_oparray_context::last_brk_cont"]
4964 [::std::mem::offset_of!(_zend_oparray_context, last_brk_cont) - 28usize];
4965 ["Offset of field: _zend_oparray_context::brk_cont_array"]
4966 [::std::mem::offset_of!(_zend_oparray_context, brk_cont_array) - 32usize];
4967 ["Offset of field: _zend_oparray_context::labels"]
4968 [::std::mem::offset_of!(_zend_oparray_context, labels) - 40usize];
4969};
4970pub type zend_oparray_context = _zend_oparray_context;
4971extern "C" {
4972 pub fn zend_visibility_string(fn_flags: u32) -> *mut ::std::os::raw::c_char;
4973}
4974#[repr(C)]
4975#[derive(Debug, Copy, Clone)]
4976pub struct _zend_property_info {
4977 pub offset: u32,
4978 pub flags: u32,
4979 pub name: *mut zend_string,
4980 pub doc_comment: *mut zend_string,
4981 pub ce: *mut zend_class_entry,
4982}
4983#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4984const _: () = {
4985 ["Size of _zend_property_info"][::std::mem::size_of::<_zend_property_info>() - 32usize];
4986 ["Alignment of _zend_property_info"][::std::mem::align_of::<_zend_property_info>() - 8usize];
4987 ["Offset of field: _zend_property_info::offset"]
4988 [::std::mem::offset_of!(_zend_property_info, offset) - 0usize];
4989 ["Offset of field: _zend_property_info::flags"]
4990 [::std::mem::offset_of!(_zend_property_info, flags) - 4usize];
4991 ["Offset of field: _zend_property_info::name"]
4992 [::std::mem::offset_of!(_zend_property_info, name) - 8usize];
4993 ["Offset of field: _zend_property_info::doc_comment"]
4994 [::std::mem::offset_of!(_zend_property_info, doc_comment) - 16usize];
4995 ["Offset of field: _zend_property_info::ce"]
4996 [::std::mem::offset_of!(_zend_property_info, ce) - 24usize];
4997};
4998pub type zend_property_info = _zend_property_info;
4999#[repr(C)]
5000#[derive(Copy, Clone)]
5001pub struct _zend_class_constant {
5002 pub value: zval,
5003 pub doc_comment: *mut zend_string,
5004 pub ce: *mut zend_class_entry,
5005}
5006#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5007const _: () = {
5008 ["Size of _zend_class_constant"][::std::mem::size_of::<_zend_class_constant>() - 32usize];
5009 ["Alignment of _zend_class_constant"][::std::mem::align_of::<_zend_class_constant>() - 8usize];
5010 ["Offset of field: _zend_class_constant::value"]
5011 [::std::mem::offset_of!(_zend_class_constant, value) - 0usize];
5012 ["Offset of field: _zend_class_constant::doc_comment"]
5013 [::std::mem::offset_of!(_zend_class_constant, doc_comment) - 16usize];
5014 ["Offset of field: _zend_class_constant::ce"]
5015 [::std::mem::offset_of!(_zend_class_constant, ce) - 24usize];
5016};
5017pub type zend_class_constant = _zend_class_constant;
5018#[repr(C)]
5019#[derive(Debug, Copy, Clone)]
5020pub struct _zend_internal_arg_info {
5021 pub name: *const ::std::os::raw::c_char,
5022 pub type_: zend_type,
5023 pub pass_by_reference: zend_uchar,
5024 pub is_variadic: zend_bool,
5025}
5026#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5027const _: () = {
5028 ["Size of _zend_internal_arg_info"][::std::mem::size_of::<_zend_internal_arg_info>() - 24usize];
5029 ["Alignment of _zend_internal_arg_info"]
5030 [::std::mem::align_of::<_zend_internal_arg_info>() - 8usize];
5031 ["Offset of field: _zend_internal_arg_info::name"]
5032 [::std::mem::offset_of!(_zend_internal_arg_info, name) - 0usize];
5033 ["Offset of field: _zend_internal_arg_info::type_"]
5034 [::std::mem::offset_of!(_zend_internal_arg_info, type_) - 8usize];
5035 ["Offset of field: _zend_internal_arg_info::pass_by_reference"]
5036 [::std::mem::offset_of!(_zend_internal_arg_info, pass_by_reference) - 16usize];
5037 ["Offset of field: _zend_internal_arg_info::is_variadic"]
5038 [::std::mem::offset_of!(_zend_internal_arg_info, is_variadic) - 17usize];
5039};
5040pub type zend_internal_arg_info = _zend_internal_arg_info;
5041#[repr(C)]
5042#[derive(Debug, Copy, Clone)]
5043pub struct _zend_arg_info {
5044 pub name: *mut zend_string,
5045 pub type_: zend_type,
5046 pub pass_by_reference: zend_uchar,
5047 pub is_variadic: zend_bool,
5048}
5049#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5050const _: () = {
5051 ["Size of _zend_arg_info"][::std::mem::size_of::<_zend_arg_info>() - 24usize];
5052 ["Alignment of _zend_arg_info"][::std::mem::align_of::<_zend_arg_info>() - 8usize];
5053 ["Offset of field: _zend_arg_info::name"]
5054 [::std::mem::offset_of!(_zend_arg_info, name) - 0usize];
5055 ["Offset of field: _zend_arg_info::type_"]
5056 [::std::mem::offset_of!(_zend_arg_info, type_) - 8usize];
5057 ["Offset of field: _zend_arg_info::pass_by_reference"]
5058 [::std::mem::offset_of!(_zend_arg_info, pass_by_reference) - 16usize];
5059 ["Offset of field: _zend_arg_info::is_variadic"]
5060 [::std::mem::offset_of!(_zend_arg_info, is_variadic) - 17usize];
5061};
5062pub type zend_arg_info = _zend_arg_info;
5063#[repr(C)]
5064#[derive(Debug, Copy, Clone)]
5065pub struct _zend_internal_function_info {
5066 pub required_num_args: zend_uintptr_t,
5067 pub type_: zend_type,
5068 pub return_reference: zend_bool,
5069 pub _is_variadic: zend_bool,
5070}
5071#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5072const _: () = {
5073 ["Size of _zend_internal_function_info"]
5074 [::std::mem::size_of::<_zend_internal_function_info>() - 24usize];
5075 ["Alignment of _zend_internal_function_info"]
5076 [::std::mem::align_of::<_zend_internal_function_info>() - 8usize];
5077 ["Offset of field: _zend_internal_function_info::required_num_args"]
5078 [::std::mem::offset_of!(_zend_internal_function_info, required_num_args) - 0usize];
5079 ["Offset of field: _zend_internal_function_info::type_"]
5080 [::std::mem::offset_of!(_zend_internal_function_info, type_) - 8usize];
5081 ["Offset of field: _zend_internal_function_info::return_reference"]
5082 [::std::mem::offset_of!(_zend_internal_function_info, return_reference) - 16usize];
5083 ["Offset of field: _zend_internal_function_info::_is_variadic"]
5084 [::std::mem::offset_of!(_zend_internal_function_info, _is_variadic) - 17usize];
5085};
5086pub type zend_internal_function_info = _zend_internal_function_info;
5087#[repr(C)]
5088#[derive(Debug, Copy, Clone)]
5089pub struct _zend_op_array {
5090 pub type_: zend_uchar,
5091 pub arg_flags: [zend_uchar; 3usize],
5092 pub fn_flags: u32,
5093 pub function_name: *mut zend_string,
5094 pub scope: *mut zend_class_entry,
5095 pub prototype: *mut zend_function,
5096 pub num_args: u32,
5097 pub required_num_args: u32,
5098 pub arg_info: *mut zend_arg_info,
5099 pub refcount: *mut u32,
5100 pub last: u32,
5101 pub opcodes: *mut zend_op,
5102 pub last_var: ::std::os::raw::c_int,
5103 pub T: u32,
5104 pub vars: *mut *mut zend_string,
5105 pub last_live_range: ::std::os::raw::c_int,
5106 pub last_try_catch: ::std::os::raw::c_int,
5107 pub live_range: *mut zend_live_range,
5108 pub try_catch_array: *mut zend_try_catch_element,
5109 pub static_variables: *mut HashTable,
5110 pub filename: *mut zend_string,
5111 pub line_start: u32,
5112 pub line_end: u32,
5113 pub doc_comment: *mut zend_string,
5114 pub early_binding: u32,
5115 pub last_literal: ::std::os::raw::c_int,
5116 pub literals: *mut zval,
5117 pub cache_size: ::std::os::raw::c_int,
5118 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
5119 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
5120}
5121#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5122const _: () = {
5123 ["Size of _zend_op_array"][::std::mem::size_of::<_zend_op_array>() - 224usize];
5124 ["Alignment of _zend_op_array"][::std::mem::align_of::<_zend_op_array>() - 8usize];
5125 ["Offset of field: _zend_op_array::type_"]
5126 [::std::mem::offset_of!(_zend_op_array, type_) - 0usize];
5127 ["Offset of field: _zend_op_array::arg_flags"]
5128 [::std::mem::offset_of!(_zend_op_array, arg_flags) - 1usize];
5129 ["Offset of field: _zend_op_array::fn_flags"]
5130 [::std::mem::offset_of!(_zend_op_array, fn_flags) - 4usize];
5131 ["Offset of field: _zend_op_array::function_name"]
5132 [::std::mem::offset_of!(_zend_op_array, function_name) - 8usize];
5133 ["Offset of field: _zend_op_array::scope"]
5134 [::std::mem::offset_of!(_zend_op_array, scope) - 16usize];
5135 ["Offset of field: _zend_op_array::prototype"]
5136 [::std::mem::offset_of!(_zend_op_array, prototype) - 24usize];
5137 ["Offset of field: _zend_op_array::num_args"]
5138 [::std::mem::offset_of!(_zend_op_array, num_args) - 32usize];
5139 ["Offset of field: _zend_op_array::required_num_args"]
5140 [::std::mem::offset_of!(_zend_op_array, required_num_args) - 36usize];
5141 ["Offset of field: _zend_op_array::arg_info"]
5142 [::std::mem::offset_of!(_zend_op_array, arg_info) - 40usize];
5143 ["Offset of field: _zend_op_array::refcount"]
5144 [::std::mem::offset_of!(_zend_op_array, refcount) - 48usize];
5145 ["Offset of field: _zend_op_array::last"]
5146 [::std::mem::offset_of!(_zend_op_array, last) - 56usize];
5147 ["Offset of field: _zend_op_array::opcodes"]
5148 [::std::mem::offset_of!(_zend_op_array, opcodes) - 64usize];
5149 ["Offset of field: _zend_op_array::last_var"]
5150 [::std::mem::offset_of!(_zend_op_array, last_var) - 72usize];
5151 ["Offset of field: _zend_op_array::T"][::std::mem::offset_of!(_zend_op_array, T) - 76usize];
5152 ["Offset of field: _zend_op_array::vars"]
5153 [::std::mem::offset_of!(_zend_op_array, vars) - 80usize];
5154 ["Offset of field: _zend_op_array::last_live_range"]
5155 [::std::mem::offset_of!(_zend_op_array, last_live_range) - 88usize];
5156 ["Offset of field: _zend_op_array::last_try_catch"]
5157 [::std::mem::offset_of!(_zend_op_array, last_try_catch) - 92usize];
5158 ["Offset of field: _zend_op_array::live_range"]
5159 [::std::mem::offset_of!(_zend_op_array, live_range) - 96usize];
5160 ["Offset of field: _zend_op_array::try_catch_array"]
5161 [::std::mem::offset_of!(_zend_op_array, try_catch_array) - 104usize];
5162 ["Offset of field: _zend_op_array::static_variables"]
5163 [::std::mem::offset_of!(_zend_op_array, static_variables) - 112usize];
5164 ["Offset of field: _zend_op_array::filename"]
5165 [::std::mem::offset_of!(_zend_op_array, filename) - 120usize];
5166 ["Offset of field: _zend_op_array::line_start"]
5167 [::std::mem::offset_of!(_zend_op_array, line_start) - 128usize];
5168 ["Offset of field: _zend_op_array::line_end"]
5169 [::std::mem::offset_of!(_zend_op_array, line_end) - 132usize];
5170 ["Offset of field: _zend_op_array::doc_comment"]
5171 [::std::mem::offset_of!(_zend_op_array, doc_comment) - 136usize];
5172 ["Offset of field: _zend_op_array::early_binding"]
5173 [::std::mem::offset_of!(_zend_op_array, early_binding) - 144usize];
5174 ["Offset of field: _zend_op_array::last_literal"]
5175 [::std::mem::offset_of!(_zend_op_array, last_literal) - 148usize];
5176 ["Offset of field: _zend_op_array::literals"]
5177 [::std::mem::offset_of!(_zend_op_array, literals) - 152usize];
5178 ["Offset of field: _zend_op_array::cache_size"]
5179 [::std::mem::offset_of!(_zend_op_array, cache_size) - 160usize];
5180 ["Offset of field: _zend_op_array::run_time_cache"]
5181 [::std::mem::offset_of!(_zend_op_array, run_time_cache) - 168usize];
5182 ["Offset of field: _zend_op_array::reserved"]
5183 [::std::mem::offset_of!(_zend_op_array, reserved) - 176usize];
5184};
5185pub type zif_handler = ::std::option::Option<
5186 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
5187>;
5188#[repr(C)]
5189#[derive(Debug, Copy, Clone)]
5190pub struct _zend_internal_function {
5191 pub type_: zend_uchar,
5192 pub arg_flags: [zend_uchar; 3usize],
5193 pub fn_flags: u32,
5194 pub function_name: *mut zend_string,
5195 pub scope: *mut zend_class_entry,
5196 pub prototype: *mut zend_function,
5197 pub num_args: u32,
5198 pub required_num_args: u32,
5199 pub arg_info: *mut zend_internal_arg_info,
5200 pub handler: zif_handler,
5201 pub module: *mut _zend_module_entry,
5202 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
5203}
5204#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5205const _: () = {
5206 ["Size of _zend_internal_function"]
5207 [::std::mem::size_of::<_zend_internal_function>() - 112usize];
5208 ["Alignment of _zend_internal_function"]
5209 [::std::mem::align_of::<_zend_internal_function>() - 8usize];
5210 ["Offset of field: _zend_internal_function::type_"]
5211 [::std::mem::offset_of!(_zend_internal_function, type_) - 0usize];
5212 ["Offset of field: _zend_internal_function::arg_flags"]
5213 [::std::mem::offset_of!(_zend_internal_function, arg_flags) - 1usize];
5214 ["Offset of field: _zend_internal_function::fn_flags"]
5215 [::std::mem::offset_of!(_zend_internal_function, fn_flags) - 4usize];
5216 ["Offset of field: _zend_internal_function::function_name"]
5217 [::std::mem::offset_of!(_zend_internal_function, function_name) - 8usize];
5218 ["Offset of field: _zend_internal_function::scope"]
5219 [::std::mem::offset_of!(_zend_internal_function, scope) - 16usize];
5220 ["Offset of field: _zend_internal_function::prototype"]
5221 [::std::mem::offset_of!(_zend_internal_function, prototype) - 24usize];
5222 ["Offset of field: _zend_internal_function::num_args"]
5223 [::std::mem::offset_of!(_zend_internal_function, num_args) - 32usize];
5224 ["Offset of field: _zend_internal_function::required_num_args"]
5225 [::std::mem::offset_of!(_zend_internal_function, required_num_args) - 36usize];
5226 ["Offset of field: _zend_internal_function::arg_info"]
5227 [::std::mem::offset_of!(_zend_internal_function, arg_info) - 40usize];
5228 ["Offset of field: _zend_internal_function::handler"]
5229 [::std::mem::offset_of!(_zend_internal_function, handler) - 48usize];
5230 ["Offset of field: _zend_internal_function::module"]
5231 [::std::mem::offset_of!(_zend_internal_function, module) - 56usize];
5232 ["Offset of field: _zend_internal_function::reserved"]
5233 [::std::mem::offset_of!(_zend_internal_function, reserved) - 64usize];
5234};
5235pub type zend_internal_function = _zend_internal_function;
5236#[repr(C)]
5237#[derive(Copy, Clone)]
5238pub union _zend_function {
5239 pub type_: zend_uchar,
5240 pub quick_arg_flags: u32,
5241 pub common: _zend_function__bindgen_ty_1,
5242 pub op_array: zend_op_array,
5243 pub internal_function: zend_internal_function,
5244}
5245#[repr(C)]
5246#[derive(Debug, Copy, Clone)]
5247pub struct _zend_function__bindgen_ty_1 {
5248 pub type_: zend_uchar,
5249 pub arg_flags: [zend_uchar; 3usize],
5250 pub fn_flags: u32,
5251 pub function_name: *mut zend_string,
5252 pub scope: *mut zend_class_entry,
5253 pub prototype: *mut _zend_function,
5254 pub num_args: u32,
5255 pub required_num_args: u32,
5256 pub arg_info: *mut zend_arg_info,
5257}
5258#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5259const _: () = {
5260 ["Size of _zend_function__bindgen_ty_1"]
5261 [::std::mem::size_of::<_zend_function__bindgen_ty_1>() - 48usize];
5262 ["Alignment of _zend_function__bindgen_ty_1"]
5263 [::std::mem::align_of::<_zend_function__bindgen_ty_1>() - 8usize];
5264 ["Offset of field: _zend_function__bindgen_ty_1::type_"]
5265 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, type_) - 0usize];
5266 ["Offset of field: _zend_function__bindgen_ty_1::arg_flags"]
5267 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_flags) - 1usize];
5268 ["Offset of field: _zend_function__bindgen_ty_1::fn_flags"]
5269 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, fn_flags) - 4usize];
5270 ["Offset of field: _zend_function__bindgen_ty_1::function_name"]
5271 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, function_name) - 8usize];
5272 ["Offset of field: _zend_function__bindgen_ty_1::scope"]
5273 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, scope) - 16usize];
5274 ["Offset of field: _zend_function__bindgen_ty_1::prototype"]
5275 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, prototype) - 24usize];
5276 ["Offset of field: _zend_function__bindgen_ty_1::num_args"]
5277 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, num_args) - 32usize];
5278 ["Offset of field: _zend_function__bindgen_ty_1::required_num_args"]
5279 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, required_num_args) - 36usize];
5280 ["Offset of field: _zend_function__bindgen_ty_1::arg_info"]
5281 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_info) - 40usize];
5282};
5283#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5284const _: () = {
5285 ["Size of _zend_function"][::std::mem::size_of::<_zend_function>() - 224usize];
5286 ["Alignment of _zend_function"][::std::mem::align_of::<_zend_function>() - 8usize];
5287 ["Offset of field: _zend_function::type_"]
5288 [::std::mem::offset_of!(_zend_function, type_) - 0usize];
5289 ["Offset of field: _zend_function::quick_arg_flags"]
5290 [::std::mem::offset_of!(_zend_function, quick_arg_flags) - 0usize];
5291 ["Offset of field: _zend_function::common"]
5292 [::std::mem::offset_of!(_zend_function, common) - 0usize];
5293 ["Offset of field: _zend_function::op_array"]
5294 [::std::mem::offset_of!(_zend_function, op_array) - 0usize];
5295 ["Offset of field: _zend_function::internal_function"]
5296 [::std::mem::offset_of!(_zend_function, internal_function) - 0usize];
5297};
5298pub const _zend_call_kind_ZEND_CALL_NESTED_FUNCTION: _zend_call_kind = 0;
5299pub const _zend_call_kind_ZEND_CALL_NESTED_CODE: _zend_call_kind = 1;
5300pub const _zend_call_kind_ZEND_CALL_TOP_FUNCTION: _zend_call_kind = 2;
5301pub const _zend_call_kind_ZEND_CALL_TOP_CODE: _zend_call_kind = 3;
5302pub type _zend_call_kind = ::std::os::raw::c_uint;
5303pub use self::_zend_call_kind as zend_call_kind;
5304#[repr(C)]
5305#[derive(Copy, Clone)]
5306pub struct _zend_execute_data {
5307 pub opline: *const zend_op,
5308 pub call: *mut zend_execute_data,
5309 pub return_value: *mut zval,
5310 pub func: *mut zend_function,
5311 pub This: zval,
5312 pub prev_execute_data: *mut zend_execute_data,
5313 pub symbol_table: *mut zend_array,
5314 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
5315 pub literals: *mut zval,
5316}
5317#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5318const _: () = {
5319 ["Size of _zend_execute_data"][::std::mem::size_of::<_zend_execute_data>() - 80usize];
5320 ["Alignment of _zend_execute_data"][::std::mem::align_of::<_zend_execute_data>() - 8usize];
5321 ["Offset of field: _zend_execute_data::opline"]
5322 [::std::mem::offset_of!(_zend_execute_data, opline) - 0usize];
5323 ["Offset of field: _zend_execute_data::call"]
5324 [::std::mem::offset_of!(_zend_execute_data, call) - 8usize];
5325 ["Offset of field: _zend_execute_data::return_value"]
5326 [::std::mem::offset_of!(_zend_execute_data, return_value) - 16usize];
5327 ["Offset of field: _zend_execute_data::func"]
5328 [::std::mem::offset_of!(_zend_execute_data, func) - 24usize];
5329 ["Offset of field: _zend_execute_data::This"]
5330 [::std::mem::offset_of!(_zend_execute_data, This) - 32usize];
5331 ["Offset of field: _zend_execute_data::prev_execute_data"]
5332 [::std::mem::offset_of!(_zend_execute_data, prev_execute_data) - 48usize];
5333 ["Offset of field: _zend_execute_data::symbol_table"]
5334 [::std::mem::offset_of!(_zend_execute_data, symbol_table) - 56usize];
5335 ["Offset of field: _zend_execute_data::run_time_cache"]
5336 [::std::mem::offset_of!(_zend_execute_data, run_time_cache) - 64usize];
5337 ["Offset of field: _zend_execute_data::literals"]
5338 [::std::mem::offset_of!(_zend_execute_data, literals) - 72usize];
5339};
5340pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
5341#[repr(C)]
5342#[derive(Debug, Copy, Clone)]
5343pub struct __jmp_buf_tag {
5344 pub __jmpbuf: __jmp_buf,
5345 pub __mask_was_saved: ::std::os::raw::c_int,
5346 pub __saved_mask: __sigset_t,
5347}
5348#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5349const _: () = {
5350 ["Size of __jmp_buf_tag"][::std::mem::size_of::<__jmp_buf_tag>() - 200usize];
5351 ["Alignment of __jmp_buf_tag"][::std::mem::align_of::<__jmp_buf_tag>() - 8usize];
5352 ["Offset of field: __jmp_buf_tag::__jmpbuf"]
5353 [::std::mem::offset_of!(__jmp_buf_tag, __jmpbuf) - 0usize];
5354 ["Offset of field: __jmp_buf_tag::__mask_was_saved"]
5355 [::std::mem::offset_of!(__jmp_buf_tag, __mask_was_saved) - 64usize];
5356 ["Offset of field: __jmp_buf_tag::__saved_mask"]
5357 [::std::mem::offset_of!(__jmp_buf_tag, __saved_mask) - 72usize];
5358};
5359pub type jmp_buf = [__jmp_buf_tag; 1usize];
5360pub type zend_compiler_globals = _zend_compiler_globals;
5361pub type zend_executor_globals = _zend_executor_globals;
5362pub type zend_php_scanner_globals = _zend_php_scanner_globals;
5363pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
5364#[repr(C)]
5365#[derive(Copy, Clone)]
5366pub struct _zend_compiler_globals {
5367 pub loop_var_stack: zend_stack,
5368 pub active_class_entry: *mut zend_class_entry,
5369 pub compiled_filename: *mut zend_string,
5370 pub zend_lineno: ::std::os::raw::c_int,
5371 pub active_op_array: *mut zend_op_array,
5372 pub function_table: *mut HashTable,
5373 pub class_table: *mut HashTable,
5374 pub filenames_table: HashTable,
5375 pub auto_globals: *mut HashTable,
5376 pub parse_error: zend_bool,
5377 pub in_compilation: zend_bool,
5378 pub short_tags: zend_bool,
5379 pub unclean_shutdown: zend_bool,
5380 pub ini_parser_unbuffered_errors: zend_bool,
5381 pub open_files: zend_llist,
5382 pub ini_parser_param: *mut _zend_ini_parser_param,
5383 pub start_lineno: u32,
5384 pub increment_lineno: zend_bool,
5385 pub doc_comment: *mut zend_string,
5386 pub extra_fn_flags: u32,
5387 pub compiler_options: u32,
5388 pub context: zend_oparray_context,
5389 pub file_context: zend_file_context,
5390 pub arena: *mut zend_arena,
5391 pub interned_strings: HashTable,
5392 pub script_encoding_list: *mut *const zend_encoding,
5393 pub script_encoding_list_size: usize,
5394 pub multibyte: zend_bool,
5395 pub detect_unicode: zend_bool,
5396 pub encoding_declared: zend_bool,
5397 pub ast: *mut zend_ast,
5398 pub ast_arena: *mut zend_arena,
5399 pub delayed_oplines_stack: zend_stack,
5400}
5401#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5402const _: () = {
5403 ["Size of _zend_compiler_globals"][::std::mem::size_of::<_zend_compiler_globals>() - 536usize];
5404 ["Alignment of _zend_compiler_globals"]
5405 [::std::mem::align_of::<_zend_compiler_globals>() - 8usize];
5406 ["Offset of field: _zend_compiler_globals::loop_var_stack"]
5407 [::std::mem::offset_of!(_zend_compiler_globals, loop_var_stack) - 0usize];
5408 ["Offset of field: _zend_compiler_globals::active_class_entry"]
5409 [::std::mem::offset_of!(_zend_compiler_globals, active_class_entry) - 24usize];
5410 ["Offset of field: _zend_compiler_globals::compiled_filename"]
5411 [::std::mem::offset_of!(_zend_compiler_globals, compiled_filename) - 32usize];
5412 ["Offset of field: _zend_compiler_globals::zend_lineno"]
5413 [::std::mem::offset_of!(_zend_compiler_globals, zend_lineno) - 40usize];
5414 ["Offset of field: _zend_compiler_globals::active_op_array"]
5415 [::std::mem::offset_of!(_zend_compiler_globals, active_op_array) - 48usize];
5416 ["Offset of field: _zend_compiler_globals::function_table"]
5417 [::std::mem::offset_of!(_zend_compiler_globals, function_table) - 56usize];
5418 ["Offset of field: _zend_compiler_globals::class_table"]
5419 [::std::mem::offset_of!(_zend_compiler_globals, class_table) - 64usize];
5420 ["Offset of field: _zend_compiler_globals::filenames_table"]
5421 [::std::mem::offset_of!(_zend_compiler_globals, filenames_table) - 72usize];
5422 ["Offset of field: _zend_compiler_globals::auto_globals"]
5423 [::std::mem::offset_of!(_zend_compiler_globals, auto_globals) - 128usize];
5424 ["Offset of field: _zend_compiler_globals::parse_error"]
5425 [::std::mem::offset_of!(_zend_compiler_globals, parse_error) - 136usize];
5426 ["Offset of field: _zend_compiler_globals::in_compilation"]
5427 [::std::mem::offset_of!(_zend_compiler_globals, in_compilation) - 137usize];
5428 ["Offset of field: _zend_compiler_globals::short_tags"]
5429 [::std::mem::offset_of!(_zend_compiler_globals, short_tags) - 138usize];
5430 ["Offset of field: _zend_compiler_globals::unclean_shutdown"]
5431 [::std::mem::offset_of!(_zend_compiler_globals, unclean_shutdown) - 139usize];
5432 ["Offset of field: _zend_compiler_globals::ini_parser_unbuffered_errors"]
5433 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_unbuffered_errors) - 140usize];
5434 ["Offset of field: _zend_compiler_globals::open_files"]
5435 [::std::mem::offset_of!(_zend_compiler_globals, open_files) - 144usize];
5436 ["Offset of field: _zend_compiler_globals::ini_parser_param"]
5437 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_param) - 200usize];
5438 ["Offset of field: _zend_compiler_globals::start_lineno"]
5439 [::std::mem::offset_of!(_zend_compiler_globals, start_lineno) - 208usize];
5440 ["Offset of field: _zend_compiler_globals::increment_lineno"]
5441 [::std::mem::offset_of!(_zend_compiler_globals, increment_lineno) - 212usize];
5442 ["Offset of field: _zend_compiler_globals::doc_comment"]
5443 [::std::mem::offset_of!(_zend_compiler_globals, doc_comment) - 216usize];
5444 ["Offset of field: _zend_compiler_globals::extra_fn_flags"]
5445 [::std::mem::offset_of!(_zend_compiler_globals, extra_fn_flags) - 224usize];
5446 ["Offset of field: _zend_compiler_globals::compiler_options"]
5447 [::std::mem::offset_of!(_zend_compiler_globals, compiler_options) - 228usize];
5448 ["Offset of field: _zend_compiler_globals::context"]
5449 [::std::mem::offset_of!(_zend_compiler_globals, context) - 232usize];
5450 ["Offset of field: _zend_compiler_globals::file_context"]
5451 [::std::mem::offset_of!(_zend_compiler_globals, file_context) - 280usize];
5452 ["Offset of field: _zend_compiler_globals::arena"]
5453 [::std::mem::offset_of!(_zend_compiler_globals, arena) - 408usize];
5454 ["Offset of field: _zend_compiler_globals::interned_strings"]
5455 [::std::mem::offset_of!(_zend_compiler_globals, interned_strings) - 416usize];
5456 ["Offset of field: _zend_compiler_globals::script_encoding_list"]
5457 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list) - 472usize];
5458 ["Offset of field: _zend_compiler_globals::script_encoding_list_size"]
5459 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list_size) - 480usize];
5460 ["Offset of field: _zend_compiler_globals::multibyte"]
5461 [::std::mem::offset_of!(_zend_compiler_globals, multibyte) - 488usize];
5462 ["Offset of field: _zend_compiler_globals::detect_unicode"]
5463 [::std::mem::offset_of!(_zend_compiler_globals, detect_unicode) - 489usize];
5464 ["Offset of field: _zend_compiler_globals::encoding_declared"]
5465 [::std::mem::offset_of!(_zend_compiler_globals, encoding_declared) - 490usize];
5466 ["Offset of field: _zend_compiler_globals::ast"]
5467 [::std::mem::offset_of!(_zend_compiler_globals, ast) - 496usize];
5468 ["Offset of field: _zend_compiler_globals::ast_arena"]
5469 [::std::mem::offset_of!(_zend_compiler_globals, ast_arena) - 504usize];
5470 ["Offset of field: _zend_compiler_globals::delayed_oplines_stack"]
5471 [::std::mem::offset_of!(_zend_compiler_globals, delayed_oplines_stack) - 512usize];
5472};
5473extern "C" {
5474 pub static mut compiler_globals: _zend_compiler_globals;
5475}
5476extern "C" {
5477 pub fn zendparse() -> ::std::os::raw::c_int;
5478}
5479extern "C" {
5480 pub static mut executor_globals: zend_executor_globals;
5481}
5482extern "C" {
5483 pub static mut language_scanner_globals: zend_php_scanner_globals;
5484}
5485extern "C" {
5486 pub static mut ini_scanner_globals: zend_ini_scanner_globals;
5487}
5488#[repr(C)]
5489#[derive(Debug, Copy, Clone)]
5490pub struct _zend_stack {
5491 pub size: ::std::os::raw::c_int,
5492 pub top: ::std::os::raw::c_int,
5493 pub max: ::std::os::raw::c_int,
5494 pub elements: *mut ::std::os::raw::c_void,
5495}
5496#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5497const _: () = {
5498 ["Size of _zend_stack"][::std::mem::size_of::<_zend_stack>() - 24usize];
5499 ["Alignment of _zend_stack"][::std::mem::align_of::<_zend_stack>() - 8usize];
5500 ["Offset of field: _zend_stack::size"][::std::mem::offset_of!(_zend_stack, size) - 0usize];
5501 ["Offset of field: _zend_stack::top"][::std::mem::offset_of!(_zend_stack, top) - 4usize];
5502 ["Offset of field: _zend_stack::max"][::std::mem::offset_of!(_zend_stack, max) - 8usize];
5503 ["Offset of field: _zend_stack::elements"]
5504 [::std::mem::offset_of!(_zend_stack, elements) - 16usize];
5505};
5506pub type zend_stack = _zend_stack;
5507extern "C" {
5508 pub fn zend_stack_init(
5509 stack: *mut zend_stack,
5510 size: ::std::os::raw::c_int,
5511 ) -> ::std::os::raw::c_int;
5512}
5513extern "C" {
5514 pub fn zend_stack_push(
5515 stack: *mut zend_stack,
5516 element: *const ::std::os::raw::c_void,
5517 ) -> ::std::os::raw::c_int;
5518}
5519extern "C" {
5520 pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
5521}
5522extern "C" {
5523 pub fn zend_stack_del_top(stack: *mut zend_stack) -> ::std::os::raw::c_int;
5524}
5525extern "C" {
5526 pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
5527}
5528extern "C" {
5529 pub fn zend_stack_is_empty(stack: *const zend_stack) -> ::std::os::raw::c_int;
5530}
5531extern "C" {
5532 pub fn zend_stack_destroy(stack: *mut zend_stack) -> ::std::os::raw::c_int;
5533}
5534extern "C" {
5535 pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
5536}
5537extern "C" {
5538 pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
5539}
5540extern "C" {
5541 pub fn zend_stack_apply(
5542 stack: *mut zend_stack,
5543 type_: ::std::os::raw::c_int,
5544 apply_function: ::std::option::Option<
5545 unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
5546 >,
5547 );
5548}
5549extern "C" {
5550 pub fn zend_stack_apply_with_argument(
5551 stack: *mut zend_stack,
5552 type_: ::std::os::raw::c_int,
5553 apply_function: ::std::option::Option<
5554 unsafe extern "C" fn(
5555 element: *mut ::std::os::raw::c_void,
5556 arg: *mut ::std::os::raw::c_void,
5557 ) -> ::std::os::raw::c_int,
5558 >,
5559 arg: *mut ::std::os::raw::c_void,
5560 );
5561}
5562extern "C" {
5563 pub fn zend_stack_clean(
5564 stack: *mut zend_stack,
5565 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5566 free_elements: zend_bool,
5567 );
5568}
5569#[repr(C)]
5570#[derive(Debug, Copy, Clone)]
5571pub struct _zend_ptr_stack {
5572 pub top: ::std::os::raw::c_int,
5573 pub max: ::std::os::raw::c_int,
5574 pub elements: *mut *mut ::std::os::raw::c_void,
5575 pub top_element: *mut *mut ::std::os::raw::c_void,
5576 pub persistent: zend_bool,
5577}
5578#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5579const _: () = {
5580 ["Size of _zend_ptr_stack"][::std::mem::size_of::<_zend_ptr_stack>() - 32usize];
5581 ["Alignment of _zend_ptr_stack"][::std::mem::align_of::<_zend_ptr_stack>() - 8usize];
5582 ["Offset of field: _zend_ptr_stack::top"]
5583 [::std::mem::offset_of!(_zend_ptr_stack, top) - 0usize];
5584 ["Offset of field: _zend_ptr_stack::max"]
5585 [::std::mem::offset_of!(_zend_ptr_stack, max) - 4usize];
5586 ["Offset of field: _zend_ptr_stack::elements"]
5587 [::std::mem::offset_of!(_zend_ptr_stack, elements) - 8usize];
5588 ["Offset of field: _zend_ptr_stack::top_element"]
5589 [::std::mem::offset_of!(_zend_ptr_stack, top_element) - 16usize];
5590 ["Offset of field: _zend_ptr_stack::persistent"]
5591 [::std::mem::offset_of!(_zend_ptr_stack, persistent) - 24usize];
5592};
5593pub type zend_ptr_stack = _zend_ptr_stack;
5594extern "C" {
5595 pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
5596}
5597extern "C" {
5598 pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: zend_bool);
5599}
5600extern "C" {
5601 pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
5602}
5603extern "C" {
5604 pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
5605}
5606extern "C" {
5607 pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
5608}
5609extern "C" {
5610 pub fn zend_ptr_stack_apply(
5611 stack: *mut zend_ptr_stack,
5612 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5613 );
5614}
5615extern "C" {
5616 pub fn zend_ptr_stack_clean(
5617 stack: *mut zend_ptr_stack,
5618 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5619 free_elements: zend_bool,
5620 );
5621}
5622extern "C" {
5623 pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
5624}
5625extern "C" {
5626 pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
5627}
5628extern "C" {
5629 pub fn zend_object_std_dtor(object: *mut zend_object);
5630}
5631extern "C" {
5632 pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
5633}
5634extern "C" {
5635 pub fn zend_objects_destroy_object(object: *mut zend_object);
5636}
5637extern "C" {
5638 pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
5639}
5640extern "C" {
5641 pub fn zend_objects_clone_obj(object: *mut zval) -> *mut zend_object;
5642}
5643#[repr(C)]
5644#[derive(Debug, Copy, Clone)]
5645pub struct _zend_objects_store {
5646 pub object_buckets: *mut *mut zend_object,
5647 pub top: u32,
5648 pub size: u32,
5649 pub free_list_head: ::std::os::raw::c_int,
5650}
5651#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5652const _: () = {
5653 ["Size of _zend_objects_store"][::std::mem::size_of::<_zend_objects_store>() - 24usize];
5654 ["Alignment of _zend_objects_store"][::std::mem::align_of::<_zend_objects_store>() - 8usize];
5655 ["Offset of field: _zend_objects_store::object_buckets"]
5656 [::std::mem::offset_of!(_zend_objects_store, object_buckets) - 0usize];
5657 ["Offset of field: _zend_objects_store::top"]
5658 [::std::mem::offset_of!(_zend_objects_store, top) - 8usize];
5659 ["Offset of field: _zend_objects_store::size"]
5660 [::std::mem::offset_of!(_zend_objects_store, size) - 12usize];
5661 ["Offset of field: _zend_objects_store::free_list_head"]
5662 [::std::mem::offset_of!(_zend_objects_store, free_list_head) - 16usize];
5663};
5664pub type zend_objects_store = _zend_objects_store;
5665extern "C" {
5666 pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
5667}
5668extern "C" {
5669 pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
5670}
5671extern "C" {
5672 pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
5673}
5674extern "C" {
5675 pub fn zend_objects_store_free_object_storage(
5676 objects: *mut zend_objects_store,
5677 fast_shutdown: zend_bool,
5678 );
5679}
5680extern "C" {
5681 pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
5682}
5683extern "C" {
5684 pub fn zend_objects_store_put(object: *mut zend_object);
5685}
5686extern "C" {
5687 pub fn zend_objects_store_del(object: *mut zend_object);
5688}
5689extern "C" {
5690 pub fn zend_get_std_object_handlers() -> *mut zend_object_handlers;
5691}
5692extern "C" {
5693 pub fn zend_init_fpu();
5694}
5695extern "C" {
5696 pub fn zend_shutdown_fpu();
5697}
5698extern "C" {
5699 pub fn zend_ensure_fpu_mode();
5700}
5701pub type fpu_control_t = ::std::os::raw::c_ushort;
5702#[repr(C)]
5703#[derive(Debug, Copy, Clone)]
5704pub struct _zend_encoding {
5705 _unused: [u8; 0],
5706}
5707pub type zend_encoding = _zend_encoding;
5708pub type zend_encoding_filter = ::std::option::Option<
5709 unsafe extern "C" fn(
5710 str_: *mut *mut ::std::os::raw::c_uchar,
5711 str_length: *mut usize,
5712 buf: *const ::std::os::raw::c_uchar,
5713 length: usize,
5714 ) -> usize,
5715>;
5716pub type zend_encoding_fetcher = ::std::option::Option<
5717 unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
5718>;
5719pub type zend_encoding_name_getter = ::std::option::Option<
5720 unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
5721>;
5722pub type zend_encoding_lexer_compatibility_checker = ::std::option::Option<
5723 unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
5724>;
5725pub type zend_encoding_detector = ::std::option::Option<
5726 unsafe extern "C" fn(
5727 string: *const ::std::os::raw::c_uchar,
5728 length: usize,
5729 list: *mut *const zend_encoding,
5730 list_size: usize,
5731 ) -> *const zend_encoding,
5732>;
5733pub type zend_encoding_converter = ::std::option::Option<
5734 unsafe extern "C" fn(
5735 to: *mut *mut ::std::os::raw::c_uchar,
5736 to_length: *mut usize,
5737 from: *const ::std::os::raw::c_uchar,
5738 from_length: usize,
5739 encoding_to: *const zend_encoding,
5740 encoding_from: *const zend_encoding,
5741 ) -> usize,
5742>;
5743pub type zend_encoding_list_parser = ::std::option::Option<
5744 unsafe extern "C" fn(
5745 encoding_list: *const ::std::os::raw::c_char,
5746 encoding_list_len: usize,
5747 return_list: *mut *mut *const zend_encoding,
5748 return_size: *mut usize,
5749 persistent: ::std::os::raw::c_int,
5750 ) -> ::std::os::raw::c_int,
5751>;
5752pub type zend_encoding_internal_encoding_getter =
5753 ::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
5754pub type zend_encoding_internal_encoding_setter = ::std::option::Option<
5755 unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
5756>;
5757#[repr(C)]
5758#[derive(Debug, Copy, Clone)]
5759pub struct _zend_multibyte_functions {
5760 pub provider_name: *const ::std::os::raw::c_char,
5761 pub encoding_fetcher: zend_encoding_fetcher,
5762 pub encoding_name_getter: zend_encoding_name_getter,
5763 pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
5764 pub encoding_detector: zend_encoding_detector,
5765 pub encoding_converter: zend_encoding_converter,
5766 pub encoding_list_parser: zend_encoding_list_parser,
5767 pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
5768 pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
5769}
5770#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5771const _: () = {
5772 ["Size of _zend_multibyte_functions"]
5773 [::std::mem::size_of::<_zend_multibyte_functions>() - 72usize];
5774 ["Alignment of _zend_multibyte_functions"]
5775 [::std::mem::align_of::<_zend_multibyte_functions>() - 8usize];
5776 ["Offset of field: _zend_multibyte_functions::provider_name"]
5777 [::std::mem::offset_of!(_zend_multibyte_functions, provider_name) - 0usize];
5778 ["Offset of field: _zend_multibyte_functions::encoding_fetcher"]
5779 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_fetcher) - 8usize];
5780 ["Offset of field: _zend_multibyte_functions::encoding_name_getter"]
5781 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_name_getter) - 16usize];
5782 ["Offset of field: _zend_multibyte_functions::lexer_compatibility_checker"]
5783 [::std::mem::offset_of!(_zend_multibyte_functions, lexer_compatibility_checker) - 24usize];
5784 ["Offset of field: _zend_multibyte_functions::encoding_detector"]
5785 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_detector) - 32usize];
5786 ["Offset of field: _zend_multibyte_functions::encoding_converter"]
5787 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_converter) - 40usize];
5788 ["Offset of field: _zend_multibyte_functions::encoding_list_parser"]
5789 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_list_parser) - 48usize];
5790 ["Offset of field: _zend_multibyte_functions::internal_encoding_getter"]
5791 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_getter) - 56usize];
5792 ["Offset of field: _zend_multibyte_functions::internal_encoding_setter"]
5793 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_setter) - 64usize];
5794};
5795pub type zend_multibyte_functions = _zend_multibyte_functions;
5796extern "C" {
5797 pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
5798}
5799extern "C" {
5800 pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
5801}
5802extern "C" {
5803 pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
5804}
5805extern "C" {
5806 pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
5807}
5808extern "C" {
5809 pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
5810}
5811extern "C" {
5812 pub fn zend_multibyte_set_functions(
5813 functions: *const zend_multibyte_functions,
5814 ) -> ::std::os::raw::c_int;
5815}
5816extern "C" {
5817 pub fn zend_multibyte_restore_functions();
5818}
5819extern "C" {
5820 pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
5821}
5822extern "C" {
5823 pub fn zend_multibyte_fetch_encoding(
5824 name: *const ::std::os::raw::c_char,
5825 ) -> *const zend_encoding;
5826}
5827extern "C" {
5828 pub fn zend_multibyte_get_encoding_name(
5829 encoding: *const zend_encoding,
5830 ) -> *const ::std::os::raw::c_char;
5831}
5832extern "C" {
5833 pub fn zend_multibyte_check_lexer_compatibility(
5834 encoding: *const zend_encoding,
5835 ) -> ::std::os::raw::c_int;
5836}
5837extern "C" {
5838 pub fn zend_multibyte_encoding_detector(
5839 string: *const ::std::os::raw::c_uchar,
5840 length: usize,
5841 list: *mut *const zend_encoding,
5842 list_size: usize,
5843 ) -> *const zend_encoding;
5844}
5845extern "C" {
5846 pub fn zend_multibyte_encoding_converter(
5847 to: *mut *mut ::std::os::raw::c_uchar,
5848 to_length: *mut usize,
5849 from: *const ::std::os::raw::c_uchar,
5850 from_length: usize,
5851 encoding_to: *const zend_encoding,
5852 encoding_from: *const zend_encoding,
5853 ) -> usize;
5854}
5855extern "C" {
5856 pub fn zend_multibyte_parse_encoding_list(
5857 encoding_list: *const ::std::os::raw::c_char,
5858 encoding_list_len: usize,
5859 return_list: *mut *mut *const zend_encoding,
5860 return_size: *mut usize,
5861 persistent: ::std::os::raw::c_int,
5862 ) -> ::std::os::raw::c_int;
5863}
5864extern "C" {
5865 pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
5866}
5867extern "C" {
5868 pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
5869}
5870extern "C" {
5871 pub fn zend_multibyte_set_script_encoding(
5872 encoding_list: *mut *const zend_encoding,
5873 encoding_list_size: usize,
5874 ) -> ::std::os::raw::c_int;
5875}
5876extern "C" {
5877 pub fn zend_multibyte_set_internal_encoding(
5878 encoding: *const zend_encoding,
5879 ) -> ::std::os::raw::c_int;
5880}
5881extern "C" {
5882 pub fn zend_multibyte_set_script_encoding_by_string(
5883 new_value: *const ::std::os::raw::c_char,
5884 new_value_length: usize,
5885 ) -> ::std::os::raw::c_int;
5886}
5887pub type zend_arena = _zend_arena;
5888#[repr(C)]
5889#[derive(Debug, Copy, Clone)]
5890pub struct _zend_arena {
5891 pub ptr: *mut ::std::os::raw::c_char,
5892 pub end: *mut ::std::os::raw::c_char,
5893 pub prev: *mut zend_arena,
5894}
5895#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5896const _: () = {
5897 ["Size of _zend_arena"][::std::mem::size_of::<_zend_arena>() - 24usize];
5898 ["Alignment of _zend_arena"][::std::mem::align_of::<_zend_arena>() - 8usize];
5899 ["Offset of field: _zend_arena::ptr"][::std::mem::offset_of!(_zend_arena, ptr) - 0usize];
5900 ["Offset of field: _zend_arena::end"][::std::mem::offset_of!(_zend_arena, end) - 8usize];
5901 ["Offset of field: _zend_arena::prev"][::std::mem::offset_of!(_zend_arena, prev) - 16usize];
5902};
5903pub type zend_vm_stack = *mut _zend_vm_stack;
5904pub type zend_ini_entry = _zend_ini_entry;
5905#[repr(C)]
5906#[derive(Copy, Clone)]
5907pub struct _zend_executor_globals {
5908 pub uninitialized_zval: zval,
5909 pub error_zval: zval,
5910 pub symtable_cache: [*mut zend_array; 32usize],
5911 pub symtable_cache_limit: *mut *mut zend_array,
5912 pub symtable_cache_ptr: *mut *mut zend_array,
5913 pub symbol_table: zend_array,
5914 pub included_files: HashTable,
5915 pub bailout: *mut jmp_buf,
5916 pub error_reporting: ::std::os::raw::c_int,
5917 pub exit_status: ::std::os::raw::c_int,
5918 pub function_table: *mut HashTable,
5919 pub class_table: *mut HashTable,
5920 pub zend_constants: *mut HashTable,
5921 pub vm_stack_top: *mut zval,
5922 pub vm_stack_end: *mut zval,
5923 pub vm_stack: zend_vm_stack,
5924 pub current_execute_data: *mut _zend_execute_data,
5925 pub fake_scope: *mut zend_class_entry,
5926 pub precision: zend_long,
5927 pub ticks_count: ::std::os::raw::c_int,
5928 pub in_autoload: *mut HashTable,
5929 pub autoload_func: *mut zend_function,
5930 pub full_tables_cleanup: zend_bool,
5931 pub no_extensions: zend_bool,
5932 pub vm_interrupt: zend_bool,
5933 pub timed_out: zend_bool,
5934 pub hard_timeout: zend_long,
5935 pub regular_list: HashTable,
5936 pub persistent_list: HashTable,
5937 pub user_error_handler_error_reporting: ::std::os::raw::c_int,
5938 pub user_error_handler: zval,
5939 pub user_exception_handler: zval,
5940 pub user_error_handlers_error_reporting: zend_stack,
5941 pub user_error_handlers: zend_stack,
5942 pub user_exception_handlers: zend_stack,
5943 pub error_handling: zend_error_handling_t,
5944 pub exception_class: *mut zend_class_entry,
5945 pub timeout_seconds: zend_long,
5946 pub lambda_count: ::std::os::raw::c_int,
5947 pub ini_directives: *mut HashTable,
5948 pub modified_ini_directives: *mut HashTable,
5949 pub error_reporting_ini_entry: *mut zend_ini_entry,
5950 pub objects_store: zend_objects_store,
5951 pub exception: *mut zend_object,
5952 pub prev_exception: *mut zend_object,
5953 pub opline_before_exception: *const zend_op,
5954 pub exception_op: [zend_op; 3usize],
5955 pub current_module: *mut _zend_module_entry,
5956 pub active: zend_bool,
5957 pub flags: zend_uchar,
5958 pub assertions: zend_long,
5959 pub ht_iterators_count: u32,
5960 pub ht_iterators_used: u32,
5961 pub ht_iterators: *mut HashTableIterator,
5962 pub ht_iterators_slots: [HashTableIterator; 16usize],
5963 pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
5964 pub saved_fpu_cw: fpu_control_t,
5965 pub trampoline: zend_function,
5966 pub call_trampoline_op: zend_op,
5967 pub each_deprecation_thrown: zend_bool,
5968 pub reserved: [*mut ::std::os::raw::c_void; 6usize],
5969}
5970#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5971const _: () = {
5972 ["Size of _zend_executor_globals"][::std::mem::size_of::<_zend_executor_globals>() - 1592usize];
5973 ["Alignment of _zend_executor_globals"]
5974 [::std::mem::align_of::<_zend_executor_globals>() - 8usize];
5975 ["Offset of field: _zend_executor_globals::uninitialized_zval"]
5976 [::std::mem::offset_of!(_zend_executor_globals, uninitialized_zval) - 0usize];
5977 ["Offset of field: _zend_executor_globals::error_zval"]
5978 [::std::mem::offset_of!(_zend_executor_globals, error_zval) - 16usize];
5979 ["Offset of field: _zend_executor_globals::symtable_cache"]
5980 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache) - 32usize];
5981 ["Offset of field: _zend_executor_globals::symtable_cache_limit"]
5982 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_limit) - 288usize];
5983 ["Offset of field: _zend_executor_globals::symtable_cache_ptr"]
5984 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_ptr) - 296usize];
5985 ["Offset of field: _zend_executor_globals::symbol_table"]
5986 [::std::mem::offset_of!(_zend_executor_globals, symbol_table) - 304usize];
5987 ["Offset of field: _zend_executor_globals::included_files"]
5988 [::std::mem::offset_of!(_zend_executor_globals, included_files) - 360usize];
5989 ["Offset of field: _zend_executor_globals::bailout"]
5990 [::std::mem::offset_of!(_zend_executor_globals, bailout) - 416usize];
5991 ["Offset of field: _zend_executor_globals::error_reporting"]
5992 [::std::mem::offset_of!(_zend_executor_globals, error_reporting) - 424usize];
5993 ["Offset of field: _zend_executor_globals::exit_status"]
5994 [::std::mem::offset_of!(_zend_executor_globals, exit_status) - 428usize];
5995 ["Offset of field: _zend_executor_globals::function_table"]
5996 [::std::mem::offset_of!(_zend_executor_globals, function_table) - 432usize];
5997 ["Offset of field: _zend_executor_globals::class_table"]
5998 [::std::mem::offset_of!(_zend_executor_globals, class_table) - 440usize];
5999 ["Offset of field: _zend_executor_globals::zend_constants"]
6000 [::std::mem::offset_of!(_zend_executor_globals, zend_constants) - 448usize];
6001 ["Offset of field: _zend_executor_globals::vm_stack_top"]
6002 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_top) - 456usize];
6003 ["Offset of field: _zend_executor_globals::vm_stack_end"]
6004 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_end) - 464usize];
6005 ["Offset of field: _zend_executor_globals::vm_stack"]
6006 [::std::mem::offset_of!(_zend_executor_globals, vm_stack) - 472usize];
6007 ["Offset of field: _zend_executor_globals::current_execute_data"]
6008 [::std::mem::offset_of!(_zend_executor_globals, current_execute_data) - 480usize];
6009 ["Offset of field: _zend_executor_globals::fake_scope"]
6010 [::std::mem::offset_of!(_zend_executor_globals, fake_scope) - 488usize];
6011 ["Offset of field: _zend_executor_globals::precision"]
6012 [::std::mem::offset_of!(_zend_executor_globals, precision) - 496usize];
6013 ["Offset of field: _zend_executor_globals::ticks_count"]
6014 [::std::mem::offset_of!(_zend_executor_globals, ticks_count) - 504usize];
6015 ["Offset of field: _zend_executor_globals::in_autoload"]
6016 [::std::mem::offset_of!(_zend_executor_globals, in_autoload) - 512usize];
6017 ["Offset of field: _zend_executor_globals::autoload_func"]
6018 [::std::mem::offset_of!(_zend_executor_globals, autoload_func) - 520usize];
6019 ["Offset of field: _zend_executor_globals::full_tables_cleanup"]
6020 [::std::mem::offset_of!(_zend_executor_globals, full_tables_cleanup) - 528usize];
6021 ["Offset of field: _zend_executor_globals::no_extensions"]
6022 [::std::mem::offset_of!(_zend_executor_globals, no_extensions) - 529usize];
6023 ["Offset of field: _zend_executor_globals::vm_interrupt"]
6024 [::std::mem::offset_of!(_zend_executor_globals, vm_interrupt) - 530usize];
6025 ["Offset of field: _zend_executor_globals::timed_out"]
6026 [::std::mem::offset_of!(_zend_executor_globals, timed_out) - 531usize];
6027 ["Offset of field: _zend_executor_globals::hard_timeout"]
6028 [::std::mem::offset_of!(_zend_executor_globals, hard_timeout) - 536usize];
6029 ["Offset of field: _zend_executor_globals::regular_list"]
6030 [::std::mem::offset_of!(_zend_executor_globals, regular_list) - 544usize];
6031 ["Offset of field: _zend_executor_globals::persistent_list"]
6032 [::std::mem::offset_of!(_zend_executor_globals, persistent_list) - 600usize];
6033 ["Offset of field: _zend_executor_globals::user_error_handler_error_reporting"][::std::mem::offset_of!(
6034 _zend_executor_globals,
6035 user_error_handler_error_reporting
6036 ) - 656usize];
6037 ["Offset of field: _zend_executor_globals::user_error_handler"]
6038 [::std::mem::offset_of!(_zend_executor_globals, user_error_handler) - 664usize];
6039 ["Offset of field: _zend_executor_globals::user_exception_handler"]
6040 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handler) - 680usize];
6041 ["Offset of field: _zend_executor_globals::user_error_handlers_error_reporting"][::std::mem::offset_of!(
6042 _zend_executor_globals,
6043 user_error_handlers_error_reporting
6044 ) - 696usize];
6045 ["Offset of field: _zend_executor_globals::user_error_handlers"]
6046 [::std::mem::offset_of!(_zend_executor_globals, user_error_handlers) - 720usize];
6047 ["Offset of field: _zend_executor_globals::user_exception_handlers"]
6048 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handlers) - 744usize];
6049 ["Offset of field: _zend_executor_globals::error_handling"]
6050 [::std::mem::offset_of!(_zend_executor_globals, error_handling) - 768usize];
6051 ["Offset of field: _zend_executor_globals::exception_class"]
6052 [::std::mem::offset_of!(_zend_executor_globals, exception_class) - 776usize];
6053 ["Offset of field: _zend_executor_globals::timeout_seconds"]
6054 [::std::mem::offset_of!(_zend_executor_globals, timeout_seconds) - 784usize];
6055 ["Offset of field: _zend_executor_globals::lambda_count"]
6056 [::std::mem::offset_of!(_zend_executor_globals, lambda_count) - 792usize];
6057 ["Offset of field: _zend_executor_globals::ini_directives"]
6058 [::std::mem::offset_of!(_zend_executor_globals, ini_directives) - 800usize];
6059 ["Offset of field: _zend_executor_globals::modified_ini_directives"]
6060 [::std::mem::offset_of!(_zend_executor_globals, modified_ini_directives) - 808usize];
6061 ["Offset of field: _zend_executor_globals::error_reporting_ini_entry"]
6062 [::std::mem::offset_of!(_zend_executor_globals, error_reporting_ini_entry) - 816usize];
6063 ["Offset of field: _zend_executor_globals::objects_store"]
6064 [::std::mem::offset_of!(_zend_executor_globals, objects_store) - 824usize];
6065 ["Offset of field: _zend_executor_globals::exception"]
6066 [::std::mem::offset_of!(_zend_executor_globals, exception) - 848usize];
6067 ["Offset of field: _zend_executor_globals::prev_exception"]
6068 [::std::mem::offset_of!(_zend_executor_globals, prev_exception) - 856usize];
6069 ["Offset of field: _zend_executor_globals::opline_before_exception"]
6070 [::std::mem::offset_of!(_zend_executor_globals, opline_before_exception) - 864usize];
6071 ["Offset of field: _zend_executor_globals::exception_op"]
6072 [::std::mem::offset_of!(_zend_executor_globals, exception_op) - 872usize];
6073 ["Offset of field: _zend_executor_globals::current_module"]
6074 [::std::mem::offset_of!(_zend_executor_globals, current_module) - 968usize];
6075 ["Offset of field: _zend_executor_globals::active"]
6076 [::std::mem::offset_of!(_zend_executor_globals, active) - 976usize];
6077 ["Offset of field: _zend_executor_globals::flags"]
6078 [::std::mem::offset_of!(_zend_executor_globals, flags) - 977usize];
6079 ["Offset of field: _zend_executor_globals::assertions"]
6080 [::std::mem::offset_of!(_zend_executor_globals, assertions) - 984usize];
6081 ["Offset of field: _zend_executor_globals::ht_iterators_count"]
6082 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_count) - 992usize];
6083 ["Offset of field: _zend_executor_globals::ht_iterators_used"]
6084 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_used) - 996usize];
6085 ["Offset of field: _zend_executor_globals::ht_iterators"]
6086 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators) - 1000usize];
6087 ["Offset of field: _zend_executor_globals::ht_iterators_slots"]
6088 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_slots) - 1008usize];
6089 ["Offset of field: _zend_executor_globals::saved_fpu_cw_ptr"]
6090 [::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw_ptr) - 1264usize];
6091 ["Offset of field: _zend_executor_globals::saved_fpu_cw"]
6092 [::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw) - 1272usize];
6093 ["Offset of field: _zend_executor_globals::trampoline"]
6094 [::std::mem::offset_of!(_zend_executor_globals, trampoline) - 1280usize];
6095 ["Offset of field: _zend_executor_globals::call_trampoline_op"]
6096 [::std::mem::offset_of!(_zend_executor_globals, call_trampoline_op) - 1504usize];
6097 ["Offset of field: _zend_executor_globals::each_deprecation_thrown"]
6098 [::std::mem::offset_of!(_zend_executor_globals, each_deprecation_thrown) - 1536usize];
6099 ["Offset of field: _zend_executor_globals::reserved"]
6100 [::std::mem::offset_of!(_zend_executor_globals, reserved) - 1544usize];
6101};
6102#[repr(C)]
6103#[derive(Debug, Copy, Clone)]
6104pub struct _zend_ini_scanner_globals {
6105 pub yy_in: *mut zend_file_handle,
6106 pub yy_out: *mut zend_file_handle,
6107 pub yy_leng: ::std::os::raw::c_uint,
6108 pub yy_start: *mut ::std::os::raw::c_uchar,
6109 pub yy_text: *mut ::std::os::raw::c_uchar,
6110 pub yy_cursor: *mut ::std::os::raw::c_uchar,
6111 pub yy_marker: *mut ::std::os::raw::c_uchar,
6112 pub yy_limit: *mut ::std::os::raw::c_uchar,
6113 pub yy_state: ::std::os::raw::c_int,
6114 pub state_stack: zend_stack,
6115 pub filename: *mut ::std::os::raw::c_char,
6116 pub lineno: ::std::os::raw::c_int,
6117 pub scanner_mode: ::std::os::raw::c_int,
6118}
6119#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6120const _: () = {
6121 ["Size of _zend_ini_scanner_globals"]
6122 [::std::mem::size_of::<_zend_ini_scanner_globals>() - 112usize];
6123 ["Alignment of _zend_ini_scanner_globals"]
6124 [::std::mem::align_of::<_zend_ini_scanner_globals>() - 8usize];
6125 ["Offset of field: _zend_ini_scanner_globals::yy_in"]
6126 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_in) - 0usize];
6127 ["Offset of field: _zend_ini_scanner_globals::yy_out"]
6128 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_out) - 8usize];
6129 ["Offset of field: _zend_ini_scanner_globals::yy_leng"]
6130 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_leng) - 16usize];
6131 ["Offset of field: _zend_ini_scanner_globals::yy_start"]
6132 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_start) - 24usize];
6133 ["Offset of field: _zend_ini_scanner_globals::yy_text"]
6134 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_text) - 32usize];
6135 ["Offset of field: _zend_ini_scanner_globals::yy_cursor"]
6136 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_cursor) - 40usize];
6137 ["Offset of field: _zend_ini_scanner_globals::yy_marker"]
6138 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_marker) - 48usize];
6139 ["Offset of field: _zend_ini_scanner_globals::yy_limit"]
6140 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_limit) - 56usize];
6141 ["Offset of field: _zend_ini_scanner_globals::yy_state"]
6142 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_state) - 64usize];
6143 ["Offset of field: _zend_ini_scanner_globals::state_stack"]
6144 [::std::mem::offset_of!(_zend_ini_scanner_globals, state_stack) - 72usize];
6145 ["Offset of field: _zend_ini_scanner_globals::filename"]
6146 [::std::mem::offset_of!(_zend_ini_scanner_globals, filename) - 96usize];
6147 ["Offset of field: _zend_ini_scanner_globals::lineno"]
6148 [::std::mem::offset_of!(_zend_ini_scanner_globals, lineno) - 104usize];
6149 ["Offset of field: _zend_ini_scanner_globals::scanner_mode"]
6150 [::std::mem::offset_of!(_zend_ini_scanner_globals, scanner_mode) - 108usize];
6151};
6152pub const zend_php_scanner_event_ON_TOKEN: zend_php_scanner_event = 0;
6153pub const zend_php_scanner_event_ON_FEEDBACK: zend_php_scanner_event = 1;
6154pub const zend_php_scanner_event_ON_STOP: zend_php_scanner_event = 2;
6155pub type zend_php_scanner_event = ::std::os::raw::c_uint;
6156#[repr(C)]
6157#[derive(Debug, Copy, Clone)]
6158pub struct _zend_php_scanner_globals {
6159 pub yy_in: *mut zend_file_handle,
6160 pub yy_out: *mut zend_file_handle,
6161 pub yy_leng: ::std::os::raw::c_uint,
6162 pub yy_start: *mut ::std::os::raw::c_uchar,
6163 pub yy_text: *mut ::std::os::raw::c_uchar,
6164 pub yy_cursor: *mut ::std::os::raw::c_uchar,
6165 pub yy_marker: *mut ::std::os::raw::c_uchar,
6166 pub yy_limit: *mut ::std::os::raw::c_uchar,
6167 pub yy_state: ::std::os::raw::c_int,
6168 pub state_stack: zend_stack,
6169 pub heredoc_label_stack: zend_ptr_stack,
6170 pub script_org: *mut ::std::os::raw::c_uchar,
6171 pub script_org_size: usize,
6172 pub script_filtered: *mut ::std::os::raw::c_uchar,
6173 pub script_filtered_size: usize,
6174 pub input_filter: zend_encoding_filter,
6175 pub output_filter: zend_encoding_filter,
6176 pub script_encoding: *const zend_encoding,
6177 pub scanned_string_len: ::std::os::raw::c_int,
6178 pub on_event: ::std::option::Option<
6179 unsafe extern "C" fn(
6180 event: zend_php_scanner_event,
6181 token: ::std::os::raw::c_int,
6182 line: ::std::os::raw::c_int,
6183 context: *mut ::std::os::raw::c_void,
6184 ),
6185 >,
6186 pub on_event_context: *mut ::std::os::raw::c_void,
6187}
6188#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6189const _: () = {
6190 ["Size of _zend_php_scanner_globals"]
6191 [::std::mem::size_of::<_zend_php_scanner_globals>() - 208usize];
6192 ["Alignment of _zend_php_scanner_globals"]
6193 [::std::mem::align_of::<_zend_php_scanner_globals>() - 8usize];
6194 ["Offset of field: _zend_php_scanner_globals::yy_in"]
6195 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_in) - 0usize];
6196 ["Offset of field: _zend_php_scanner_globals::yy_out"]
6197 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_out) - 8usize];
6198 ["Offset of field: _zend_php_scanner_globals::yy_leng"]
6199 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_leng) - 16usize];
6200 ["Offset of field: _zend_php_scanner_globals::yy_start"]
6201 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_start) - 24usize];
6202 ["Offset of field: _zend_php_scanner_globals::yy_text"]
6203 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_text) - 32usize];
6204 ["Offset of field: _zend_php_scanner_globals::yy_cursor"]
6205 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_cursor) - 40usize];
6206 ["Offset of field: _zend_php_scanner_globals::yy_marker"]
6207 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_marker) - 48usize];
6208 ["Offset of field: _zend_php_scanner_globals::yy_limit"]
6209 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_limit) - 56usize];
6210 ["Offset of field: _zend_php_scanner_globals::yy_state"]
6211 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_state) - 64usize];
6212 ["Offset of field: _zend_php_scanner_globals::state_stack"]
6213 [::std::mem::offset_of!(_zend_php_scanner_globals, state_stack) - 72usize];
6214 ["Offset of field: _zend_php_scanner_globals::heredoc_label_stack"]
6215 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_label_stack) - 96usize];
6216 ["Offset of field: _zend_php_scanner_globals::script_org"]
6217 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org) - 128usize];
6218 ["Offset of field: _zend_php_scanner_globals::script_org_size"]
6219 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org_size) - 136usize];
6220 ["Offset of field: _zend_php_scanner_globals::script_filtered"]
6221 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered) - 144usize];
6222 ["Offset of field: _zend_php_scanner_globals::script_filtered_size"]
6223 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered_size) - 152usize];
6224 ["Offset of field: _zend_php_scanner_globals::input_filter"]
6225 [::std::mem::offset_of!(_zend_php_scanner_globals, input_filter) - 160usize];
6226 ["Offset of field: _zend_php_scanner_globals::output_filter"]
6227 [::std::mem::offset_of!(_zend_php_scanner_globals, output_filter) - 168usize];
6228 ["Offset of field: _zend_php_scanner_globals::script_encoding"]
6229 [::std::mem::offset_of!(_zend_php_scanner_globals, script_encoding) - 176usize];
6230 ["Offset of field: _zend_php_scanner_globals::scanned_string_len"]
6231 [::std::mem::offset_of!(_zend_php_scanner_globals, scanned_string_len) - 184usize];
6232 ["Offset of field: _zend_php_scanner_globals::on_event"]
6233 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event) - 192usize];
6234 ["Offset of field: _zend_php_scanner_globals::on_event_context"]
6235 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event_context) - 200usize];
6236};
6237extern "C" {
6238 pub fn zend_init_compiler_data_structures();
6239}
6240extern "C" {
6241 pub fn zend_oparray_context_begin(prev_context: *mut zend_oparray_context);
6242}
6243extern "C" {
6244 pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
6245}
6246extern "C" {
6247 pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
6248}
6249extern "C" {
6250 pub fn zend_file_context_end(prev_context: *mut zend_file_context);
6251}
6252extern "C" {
6253 pub static mut zend_compile_file: ::std::option::Option<
6254 unsafe extern "C" fn(
6255 file_handle: *mut zend_file_handle,
6256 type_: ::std::os::raw::c_int,
6257 ) -> *mut zend_op_array,
6258 >;
6259}
6260extern "C" {
6261 pub static mut zend_compile_string: ::std::option::Option<
6262 unsafe extern "C" fn(
6263 source_string: *mut zval,
6264 filename: *mut ::std::os::raw::c_char,
6265 ) -> *mut zend_op_array,
6266 >;
6267}
6268extern "C" {
6269 pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
6270}
6271extern "C" {
6272 pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
6273}
6274extern "C" {
6275 pub fn zend_get_compiled_filename() -> *mut zend_string;
6276}
6277extern "C" {
6278 pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
6279}
6280extern "C" {
6281 pub fn zend_get_scanned_file_offset() -> usize;
6282}
6283extern "C" {
6284 pub fn zend_get_compiled_variable_name(
6285 op_array: *const zend_op_array,
6286 var: u32,
6287 ) -> *mut zend_string;
6288}
6289extern "C" {
6290 pub fn zend_stop_lexing();
6291}
6292extern "C" {
6293 pub fn zend_emit_final_return(return_one: ::std::os::raw::c_int);
6294}
6295extern "C" {
6296 pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
6297}
6298extern "C" {
6299 pub fn zend_negate_num_string(ast: *mut zend_ast) -> *mut zend_ast;
6300}
6301extern "C" {
6302 pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
6303}
6304extern "C" {
6305 pub fn zend_add_member_modifier(flags: u32, new_flag: u32) -> u32;
6306}
6307extern "C" {
6308 pub fn zend_handle_encoding_declaration(ast: *mut zend_ast);
6309}
6310extern "C" {
6311 pub fn zend_do_free(op1: *mut znode);
6312}
6313extern "C" {
6314 pub fn zend_do_delayed_early_binding(op_array: *const zend_op_array);
6315}
6316extern "C" {
6317 pub fn zend_do_extended_info();
6318}
6319extern "C" {
6320 pub fn zend_do_extended_fcall_begin();
6321}
6322extern "C" {
6323 pub fn zend_do_extended_fcall_end();
6324}
6325extern "C" {
6326 pub fn zend_verify_namespace();
6327}
6328extern "C" {
6329 pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
6330}
6331extern "C" {
6332 pub fn zend_try_exception_handler();
6333}
6334extern "C" {
6335 pub fn zend_execute_scripts(
6336 type_: ::std::os::raw::c_int,
6337 retval: *mut zval,
6338 file_count: ::std::os::raw::c_int,
6339 ...
6340 ) -> ::std::os::raw::c_int;
6341}
6342extern "C" {
6343 pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
6344}
6345extern "C" {
6346 pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
6347}
6348extern "C" {
6349 pub fn zend_cleanup_internal_classes();
6350}
6351extern "C" {
6352 pub fn zend_function_dtor(zv: *mut zval);
6353}
6354extern "C" {
6355 pub fn zend_class_add_ref(zv: *mut zval);
6356}
6357extern "C" {
6358 pub fn zend_mangle_property_name(
6359 src1: *const ::std::os::raw::c_char,
6360 src1_length: usize,
6361 src2: *const ::std::os::raw::c_char,
6362 src2_length: usize,
6363 internal: ::std::os::raw::c_int,
6364 ) -> *mut zend_string;
6365}
6366extern "C" {
6367 pub fn zend_unmangle_property_name_ex(
6368 name: *const zend_string,
6369 class_name: *mut *const ::std::os::raw::c_char,
6370 prop_name: *mut *const ::std::os::raw::c_char,
6371 prop_len: *mut usize,
6372 ) -> ::std::os::raw::c_int;
6373}
6374extern "C" {
6375 pub fn zend_is_compiling() -> zend_bool;
6376}
6377extern "C" {
6378 pub fn zend_make_compiled_string_description(
6379 name: *const ::std::os::raw::c_char,
6380 ) -> *mut ::std::os::raw::c_char;
6381}
6382extern "C" {
6383 pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: zend_bool);
6384}
6385extern "C" {
6386 pub fn zend_get_class_fetch_type(name: *mut zend_string) -> u32;
6387}
6388extern "C" {
6389 pub fn zend_get_call_op(init_op: *const zend_op, fbc: *mut zend_function) -> zend_uchar;
6390}
6391extern "C" {
6392 pub fn zend_is_smart_branch(opline: *mut zend_op) -> ::std::os::raw::c_int;
6393}
6394pub type zend_auto_global_callback =
6395 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> zend_bool>;
6396#[repr(C)]
6397#[derive(Debug, Copy, Clone)]
6398pub struct _zend_auto_global {
6399 pub name: *mut zend_string,
6400 pub auto_global_callback: zend_auto_global_callback,
6401 pub jit: zend_bool,
6402 pub armed: zend_bool,
6403}
6404#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6405const _: () = {
6406 ["Size of _zend_auto_global"][::std::mem::size_of::<_zend_auto_global>() - 24usize];
6407 ["Alignment of _zend_auto_global"][::std::mem::align_of::<_zend_auto_global>() - 8usize];
6408 ["Offset of field: _zend_auto_global::name"]
6409 [::std::mem::offset_of!(_zend_auto_global, name) - 0usize];
6410 ["Offset of field: _zend_auto_global::auto_global_callback"]
6411 [::std::mem::offset_of!(_zend_auto_global, auto_global_callback) - 8usize];
6412 ["Offset of field: _zend_auto_global::jit"]
6413 [::std::mem::offset_of!(_zend_auto_global, jit) - 16usize];
6414 ["Offset of field: _zend_auto_global::armed"]
6415 [::std::mem::offset_of!(_zend_auto_global, armed) - 17usize];
6416};
6417pub type zend_auto_global = _zend_auto_global;
6418extern "C" {
6419 pub fn zend_register_auto_global(
6420 name: *mut zend_string,
6421 jit: zend_bool,
6422 auto_global_callback: zend_auto_global_callback,
6423 ) -> ::std::os::raw::c_int;
6424}
6425extern "C" {
6426 pub fn zend_activate_auto_globals();
6427}
6428extern "C" {
6429 pub fn zend_is_auto_global(name: *mut zend_string) -> zend_bool;
6430}
6431extern "C" {
6432 pub fn zend_is_auto_global_str(name: *mut ::std::os::raw::c_char, len: usize) -> zend_bool;
6433}
6434extern "C" {
6435 pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: usize) -> usize;
6436}
6437extern "C" {
6438 pub fn zend_set_function_arg_flags(func: *mut zend_function);
6439}
6440extern "C" {
6441 pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
6442}
6443extern "C" {
6444 pub fn zend_add_literal(op_array: *mut zend_op_array, zv: *mut zval) -> ::std::os::raw::c_int;
6445}
6446extern "C" {
6447 pub fn zend_assert_valid_class_name(const_name: *const zend_string);
6448}
6449extern "C" {
6450 pub fn zend_get_opcode_name(opcode: zend_uchar) -> *const ::std::os::raw::c_char;
6451}
6452extern "C" {
6453 pub fn zend_get_opcode_flags(opcode: zend_uchar) -> u32;
6454}
6455extern "C" {
6456 pub fn zend_binary_op_produces_numeric_string_error(
6457 opcode: u32,
6458 op1: *mut zval,
6459 op2: *mut zval,
6460 ) -> zend_bool;
6461}
6462pub type zend_module_entry = _zend_module_entry;
6463pub type zend_module_dep = _zend_module_dep;
6464#[repr(C)]
6465#[derive(Debug, Copy, Clone)]
6466pub struct _zend_module_entry {
6467 pub size: ::std::os::raw::c_ushort,
6468 pub zend_api: ::std::os::raw::c_uint,
6469 pub zend_debug: ::std::os::raw::c_uchar,
6470 pub zts: ::std::os::raw::c_uchar,
6471 pub ini_entry: *const _zend_ini_entry,
6472 pub deps: *const _zend_module_dep,
6473 pub name: *const ::std::os::raw::c_char,
6474 pub functions: *const _zend_function_entry,
6475 pub module_startup_func: ::std::option::Option<
6476 unsafe extern "C" fn(
6477 type_: ::std::os::raw::c_int,
6478 module_number: ::std::os::raw::c_int,
6479 ) -> ::std::os::raw::c_int,
6480 >,
6481 pub module_shutdown_func: ::std::option::Option<
6482 unsafe extern "C" fn(
6483 type_: ::std::os::raw::c_int,
6484 module_number: ::std::os::raw::c_int,
6485 ) -> ::std::os::raw::c_int,
6486 >,
6487 pub request_startup_func: ::std::option::Option<
6488 unsafe extern "C" fn(
6489 type_: ::std::os::raw::c_int,
6490 module_number: ::std::os::raw::c_int,
6491 ) -> ::std::os::raw::c_int,
6492 >,
6493 pub request_shutdown_func: ::std::option::Option<
6494 unsafe extern "C" fn(
6495 type_: ::std::os::raw::c_int,
6496 module_number: ::std::os::raw::c_int,
6497 ) -> ::std::os::raw::c_int,
6498 >,
6499 pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
6500 pub version: *const ::std::os::raw::c_char,
6501 pub globals_size: usize,
6502 pub globals_ptr: *mut ::std::os::raw::c_void,
6503 pub globals_ctor:
6504 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
6505 pub globals_dtor:
6506 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
6507 pub post_deactivate_func:
6508 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
6509 pub module_started: ::std::os::raw::c_int,
6510 pub type_: ::std::os::raw::c_uchar,
6511 pub handle: *mut ::std::os::raw::c_void,
6512 pub module_number: ::std::os::raw::c_int,
6513 pub build_id: *const ::std::os::raw::c_char,
6514}
6515#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6516const _: () = {
6517 ["Size of _zend_module_entry"][::std::mem::size_of::<_zend_module_entry>() - 168usize];
6518 ["Alignment of _zend_module_entry"][::std::mem::align_of::<_zend_module_entry>() - 8usize];
6519 ["Offset of field: _zend_module_entry::size"]
6520 [::std::mem::offset_of!(_zend_module_entry, size) - 0usize];
6521 ["Offset of field: _zend_module_entry::zend_api"]
6522 [::std::mem::offset_of!(_zend_module_entry, zend_api) - 4usize];
6523 ["Offset of field: _zend_module_entry::zend_debug"]
6524 [::std::mem::offset_of!(_zend_module_entry, zend_debug) - 8usize];
6525 ["Offset of field: _zend_module_entry::zts"]
6526 [::std::mem::offset_of!(_zend_module_entry, zts) - 9usize];
6527 ["Offset of field: _zend_module_entry::ini_entry"]
6528 [::std::mem::offset_of!(_zend_module_entry, ini_entry) - 16usize];
6529 ["Offset of field: _zend_module_entry::deps"]
6530 [::std::mem::offset_of!(_zend_module_entry, deps) - 24usize];
6531 ["Offset of field: _zend_module_entry::name"]
6532 [::std::mem::offset_of!(_zend_module_entry, name) - 32usize];
6533 ["Offset of field: _zend_module_entry::functions"]
6534 [::std::mem::offset_of!(_zend_module_entry, functions) - 40usize];
6535 ["Offset of field: _zend_module_entry::module_startup_func"]
6536 [::std::mem::offset_of!(_zend_module_entry, module_startup_func) - 48usize];
6537 ["Offset of field: _zend_module_entry::module_shutdown_func"]
6538 [::std::mem::offset_of!(_zend_module_entry, module_shutdown_func) - 56usize];
6539 ["Offset of field: _zend_module_entry::request_startup_func"]
6540 [::std::mem::offset_of!(_zend_module_entry, request_startup_func) - 64usize];
6541 ["Offset of field: _zend_module_entry::request_shutdown_func"]
6542 [::std::mem::offset_of!(_zend_module_entry, request_shutdown_func) - 72usize];
6543 ["Offset of field: _zend_module_entry::info_func"]
6544 [::std::mem::offset_of!(_zend_module_entry, info_func) - 80usize];
6545 ["Offset of field: _zend_module_entry::version"]
6546 [::std::mem::offset_of!(_zend_module_entry, version) - 88usize];
6547 ["Offset of field: _zend_module_entry::globals_size"]
6548 [::std::mem::offset_of!(_zend_module_entry, globals_size) - 96usize];
6549 ["Offset of field: _zend_module_entry::globals_ptr"]
6550 [::std::mem::offset_of!(_zend_module_entry, globals_ptr) - 104usize];
6551 ["Offset of field: _zend_module_entry::globals_ctor"]
6552 [::std::mem::offset_of!(_zend_module_entry, globals_ctor) - 112usize];
6553 ["Offset of field: _zend_module_entry::globals_dtor"]
6554 [::std::mem::offset_of!(_zend_module_entry, globals_dtor) - 120usize];
6555 ["Offset of field: _zend_module_entry::post_deactivate_func"]
6556 [::std::mem::offset_of!(_zend_module_entry, post_deactivate_func) - 128usize];
6557 ["Offset of field: _zend_module_entry::module_started"]
6558 [::std::mem::offset_of!(_zend_module_entry, module_started) - 136usize];
6559 ["Offset of field: _zend_module_entry::type_"]
6560 [::std::mem::offset_of!(_zend_module_entry, type_) - 140usize];
6561 ["Offset of field: _zend_module_entry::handle"]
6562 [::std::mem::offset_of!(_zend_module_entry, handle) - 144usize];
6563 ["Offset of field: _zend_module_entry::module_number"]
6564 [::std::mem::offset_of!(_zend_module_entry, module_number) - 152usize];
6565 ["Offset of field: _zend_module_entry::build_id"]
6566 [::std::mem::offset_of!(_zend_module_entry, build_id) - 160usize];
6567};
6568#[repr(C)]
6569#[derive(Debug, Copy, Clone)]
6570pub struct _zend_module_dep {
6571 pub name: *const ::std::os::raw::c_char,
6572 pub rel: *const ::std::os::raw::c_char,
6573 pub version: *const ::std::os::raw::c_char,
6574 pub type_: ::std::os::raw::c_uchar,
6575}
6576#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6577const _: () = {
6578 ["Size of _zend_module_dep"][::std::mem::size_of::<_zend_module_dep>() - 32usize];
6579 ["Alignment of _zend_module_dep"][::std::mem::align_of::<_zend_module_dep>() - 8usize];
6580 ["Offset of field: _zend_module_dep::name"]
6581 [::std::mem::offset_of!(_zend_module_dep, name) - 0usize];
6582 ["Offset of field: _zend_module_dep::rel"]
6583 [::std::mem::offset_of!(_zend_module_dep, rel) - 8usize];
6584 ["Offset of field: _zend_module_dep::version"]
6585 [::std::mem::offset_of!(_zend_module_dep, version) - 16usize];
6586 ["Offset of field: _zend_module_dep::type_"]
6587 [::std::mem::offset_of!(_zend_module_dep, type_) - 24usize];
6588};
6589extern "C" {
6590 pub static mut module_registry: HashTable;
6591}
6592pub type rsrc_dtor_func_t = ::std::option::Option<unsafe extern "C" fn(res: *mut zend_resource)>;
6593#[repr(C)]
6594#[derive(Debug, Copy, Clone)]
6595pub struct _zend_rsrc_list_dtors_entry {
6596 pub list_dtor_ex: rsrc_dtor_func_t,
6597 pub plist_dtor_ex: rsrc_dtor_func_t,
6598 pub type_name: *const ::std::os::raw::c_char,
6599 pub module_number: ::std::os::raw::c_int,
6600 pub resource_id: ::std::os::raw::c_int,
6601}
6602#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6603const _: () = {
6604 ["Size of _zend_rsrc_list_dtors_entry"]
6605 [::std::mem::size_of::<_zend_rsrc_list_dtors_entry>() - 32usize];
6606 ["Alignment of _zend_rsrc_list_dtors_entry"]
6607 [::std::mem::align_of::<_zend_rsrc_list_dtors_entry>() - 8usize];
6608 ["Offset of field: _zend_rsrc_list_dtors_entry::list_dtor_ex"]
6609 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, list_dtor_ex) - 0usize];
6610 ["Offset of field: _zend_rsrc_list_dtors_entry::plist_dtor_ex"]
6611 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, plist_dtor_ex) - 8usize];
6612 ["Offset of field: _zend_rsrc_list_dtors_entry::type_name"]
6613 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, type_name) - 16usize];
6614 ["Offset of field: _zend_rsrc_list_dtors_entry::module_number"]
6615 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, module_number) - 24usize];
6616 ["Offset of field: _zend_rsrc_list_dtors_entry::resource_id"]
6617 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, resource_id) - 28usize];
6618};
6619pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
6620extern "C" {
6621 pub fn zend_register_list_destructors_ex(
6622 ld: rsrc_dtor_func_t,
6623 pld: rsrc_dtor_func_t,
6624 type_name: *const ::std::os::raw::c_char,
6625 module_number: ::std::os::raw::c_int,
6626 ) -> ::std::os::raw::c_int;
6627}
6628extern "C" {
6629 pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
6630}
6631extern "C" {
6632 pub fn zend_init_rsrc_list() -> ::std::os::raw::c_int;
6633}
6634extern "C" {
6635 pub fn zend_init_rsrc_plist() -> ::std::os::raw::c_int;
6636}
6637extern "C" {
6638 pub fn zend_close_rsrc_list(ht: *mut HashTable);
6639}
6640extern "C" {
6641 pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
6642}
6643extern "C" {
6644 pub fn zend_init_rsrc_list_dtors() -> ::std::os::raw::c_int;
6645}
6646extern "C" {
6647 pub fn zend_destroy_rsrc_list_dtors();
6648}
6649extern "C" {
6650 pub fn zend_list_insert(
6651 ptr: *mut ::std::os::raw::c_void,
6652 type_: ::std::os::raw::c_int,
6653 ) -> *mut zval;
6654}
6655extern "C" {
6656 pub fn zend_list_free(res: *mut zend_resource) -> ::std::os::raw::c_int;
6657}
6658extern "C" {
6659 pub fn zend_list_delete(res: *mut zend_resource) -> ::std::os::raw::c_int;
6660}
6661extern "C" {
6662 pub fn zend_list_close(res: *mut zend_resource) -> ::std::os::raw::c_int;
6663}
6664extern "C" {
6665 pub fn zend_register_resource(
6666 rsrc_pointer: *mut ::std::os::raw::c_void,
6667 rsrc_type: ::std::os::raw::c_int,
6668 ) -> *mut zend_resource;
6669}
6670extern "C" {
6671 pub fn zend_fetch_resource(
6672 res: *mut zend_resource,
6673 resource_type_name: *const ::std::os::raw::c_char,
6674 resource_type: ::std::os::raw::c_int,
6675 ) -> *mut ::std::os::raw::c_void;
6676}
6677extern "C" {
6678 pub fn zend_fetch_resource2(
6679 res: *mut zend_resource,
6680 resource_type_name: *const ::std::os::raw::c_char,
6681 resource_type: ::std::os::raw::c_int,
6682 resource_type2: ::std::os::raw::c_int,
6683 ) -> *mut ::std::os::raw::c_void;
6684}
6685extern "C" {
6686 pub fn zend_fetch_resource_ex(
6687 res: *mut zval,
6688 resource_type_name: *const ::std::os::raw::c_char,
6689 resource_type: ::std::os::raw::c_int,
6690 ) -> *mut ::std::os::raw::c_void;
6691}
6692extern "C" {
6693 pub fn zend_fetch_resource2_ex(
6694 res: *mut zval,
6695 resource_type_name: *const ::std::os::raw::c_char,
6696 resource_type: ::std::os::raw::c_int,
6697 resource_type2: ::std::os::raw::c_int,
6698 ) -> *mut ::std::os::raw::c_void;
6699}
6700extern "C" {
6701 pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
6702}
6703extern "C" {
6704 pub fn zend_fetch_list_dtor_id(
6705 type_name: *const ::std::os::raw::c_char,
6706 ) -> ::std::os::raw::c_int;
6707}
6708extern "C" {
6709 pub static mut zend_execute_ex:
6710 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
6711}
6712extern "C" {
6713 pub static mut zend_execute_internal: ::std::option::Option<
6714 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
6715 >;
6716}
6717extern "C" {
6718 pub fn zend_init_execute_data(
6719 execute_data: *mut zend_execute_data,
6720 op_array: *mut zend_op_array,
6721 return_value: *mut zval,
6722 );
6723}
6724extern "C" {
6725 pub fn zend_init_func_execute_data(
6726 execute_data: *mut zend_execute_data,
6727 op_array: *mut zend_op_array,
6728 return_value: *mut zval,
6729 );
6730}
6731extern "C" {
6732 pub fn zend_init_code_execute_data(
6733 execute_data: *mut zend_execute_data,
6734 op_array: *mut zend_op_array,
6735 return_value: *mut zval,
6736 );
6737}
6738extern "C" {
6739 pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
6740}
6741extern "C" {
6742 pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
6743}
6744extern "C" {
6745 pub fn zend_lookup_class_ex(
6746 name: *mut zend_string,
6747 key: *const zval,
6748 use_autoload: ::std::os::raw::c_int,
6749 ) -> *mut zend_class_entry;
6750}
6751extern "C" {
6752 pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
6753}
6754extern "C" {
6755 pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
6756}
6757extern "C" {
6758 pub fn zend_eval_string(
6759 str_: *mut ::std::os::raw::c_char,
6760 retval_ptr: *mut zval,
6761 string_name: *mut ::std::os::raw::c_char,
6762 ) -> ::std::os::raw::c_int;
6763}
6764extern "C" {
6765 pub fn zend_eval_stringl(
6766 str_: *mut ::std::os::raw::c_char,
6767 str_len: usize,
6768 retval_ptr: *mut zval,
6769 string_name: *mut ::std::os::raw::c_char,
6770 ) -> ::std::os::raw::c_int;
6771}
6772extern "C" {
6773 pub fn zend_eval_string_ex(
6774 str_: *mut ::std::os::raw::c_char,
6775 retval_ptr: *mut zval,
6776 string_name: *mut ::std::os::raw::c_char,
6777 handle_exceptions: ::std::os::raw::c_int,
6778 ) -> ::std::os::raw::c_int;
6779}
6780extern "C" {
6781 pub fn zend_eval_stringl_ex(
6782 str_: *mut ::std::os::raw::c_char,
6783 str_len: usize,
6784 retval_ptr: *mut zval,
6785 string_name: *mut ::std::os::raw::c_char,
6786 handle_exceptions: ::std::os::raw::c_int,
6787 ) -> ::std::os::raw::c_int;
6788}
6789extern "C" {
6790 pub static zend_pass_function: zend_internal_function;
6791}
6792extern "C" {
6793 pub fn zend_check_internal_arg_type(zf: *mut zend_function, arg_num: u32, arg: *mut zval);
6794}
6795extern "C" {
6796 pub fn zend_check_arg_type(
6797 zf: *mut zend_function,
6798 arg_num: u32,
6799 arg: *mut zval,
6800 default_value: *mut zval,
6801 cache_slot: *mut *mut ::std::os::raw::c_void,
6802 ) -> ::std::os::raw::c_int;
6803}
6804extern "C" {
6805 pub fn zend_missing_arg_error(execute_data: *mut zend_execute_data);
6806}
6807#[repr(C)]
6808#[derive(Debug, Copy, Clone)]
6809pub struct _zend_vm_stack {
6810 pub top: *mut zval,
6811 pub end: *mut zval,
6812 pub prev: zend_vm_stack,
6813}
6814#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6815const _: () = {
6816 ["Size of _zend_vm_stack"][::std::mem::size_of::<_zend_vm_stack>() - 24usize];
6817 ["Alignment of _zend_vm_stack"][::std::mem::align_of::<_zend_vm_stack>() - 8usize];
6818 ["Offset of field: _zend_vm_stack::top"][::std::mem::offset_of!(_zend_vm_stack, top) - 0usize];
6819 ["Offset of field: _zend_vm_stack::end"][::std::mem::offset_of!(_zend_vm_stack, end) - 8usize];
6820 ["Offset of field: _zend_vm_stack::prev"]
6821 [::std::mem::offset_of!(_zend_vm_stack, prev) - 16usize];
6822};
6823extern "C" {
6824 pub fn zend_vm_stack_init();
6825}
6826extern "C" {
6827 pub fn zend_vm_stack_destroy();
6828}
6829extern "C" {
6830 pub fn zend_vm_stack_extend(size: usize) -> *mut ::std::os::raw::c_void;
6831}
6832extern "C" {
6833 pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
6834}
6835extern "C" {
6836 pub fn zend_get_executed_filename_ex() -> *mut zend_string;
6837}
6838extern "C" {
6839 pub fn zend_get_executed_lineno() -> u32;
6840}
6841extern "C" {
6842 pub fn zend_get_executed_scope() -> *mut zend_class_entry;
6843}
6844extern "C" {
6845 pub fn zend_is_executing() -> zend_bool;
6846}
6847extern "C" {
6848 pub fn zend_set_timeout(seconds: zend_long, reset_signals: ::std::os::raw::c_int);
6849}
6850extern "C" {
6851 pub fn zend_unset_timeout();
6852}
6853extern "C" {
6854 pub fn zend_timeout(dummy: ::std::os::raw::c_int) -> !;
6855}
6856extern "C" {
6857 pub fn zend_fetch_class(
6858 class_name: *mut zend_string,
6859 fetch_type: ::std::os::raw::c_int,
6860 ) -> *mut zend_class_entry;
6861}
6862extern "C" {
6863 pub fn zend_fetch_class_by_name(
6864 class_name: *mut zend_string,
6865 key: *const zval,
6866 fetch_type: ::std::os::raw::c_int,
6867 ) -> *mut zend_class_entry;
6868}
6869extern "C" {
6870 pub fn zend_verify_abstract_class(ce: *mut zend_class_entry);
6871}
6872extern "C" {
6873 pub fn zend_fetch_dimension_const(
6874 result: *mut zval,
6875 container: *mut zval,
6876 dim: *mut zval,
6877 type_: ::std::os::raw::c_int,
6878 );
6879}
6880extern "C" {
6881 pub fn zend_get_compiled_variable_value(
6882 execute_data_ptr: *const zend_execute_data,
6883 var: u32,
6884 ) -> *mut zval;
6885}
6886extern "C" {
6887 pub fn zend_set_user_opcode_handler(
6888 opcode: zend_uchar,
6889 handler: user_opcode_handler_t,
6890 ) -> ::std::os::raw::c_int;
6891}
6892extern "C" {
6893 pub fn zend_get_user_opcode_handler(opcode: zend_uchar) -> user_opcode_handler_t;
6894}
6895pub type zend_free_op = *mut zval;
6896extern "C" {
6897 pub fn zend_get_zval_ptr(
6898 op_type: ::std::os::raw::c_int,
6899 node: *const znode_op,
6900 execute_data: *const zend_execute_data,
6901 should_free: *mut zend_free_op,
6902 type_: ::std::os::raw::c_int,
6903 ) -> *mut zval;
6904}
6905extern "C" {
6906 pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
6907}
6908extern "C" {
6909 pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
6910}
6911extern "C" {
6912 pub fn zend_cleanup_unfinished_execution(
6913 execute_data: *mut zend_execute_data,
6914 op_num: u32,
6915 catch_op_num: u32,
6916 );
6917}
6918extern "C" {
6919 pub fn zend_do_fcall_overloaded(
6920 call: *mut zend_execute_data,
6921 ret: *mut zval,
6922 ) -> ::std::os::raw::c_int;
6923}
6924#[repr(C)]
6925#[derive(Debug, Copy, Clone)]
6926pub struct _zend_function_entry {
6927 pub fname: *const ::std::os::raw::c_char,
6928 pub handler: zif_handler,
6929 pub arg_info: *const _zend_internal_arg_info,
6930 pub num_args: u32,
6931 pub flags: u32,
6932}
6933#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6934const _: () = {
6935 ["Size of _zend_function_entry"][::std::mem::size_of::<_zend_function_entry>() - 32usize];
6936 ["Alignment of _zend_function_entry"][::std::mem::align_of::<_zend_function_entry>() - 8usize];
6937 ["Offset of field: _zend_function_entry::fname"]
6938 [::std::mem::offset_of!(_zend_function_entry, fname) - 0usize];
6939 ["Offset of field: _zend_function_entry::handler"]
6940 [::std::mem::offset_of!(_zend_function_entry, handler) - 8usize];
6941 ["Offset of field: _zend_function_entry::arg_info"]
6942 [::std::mem::offset_of!(_zend_function_entry, arg_info) - 16usize];
6943 ["Offset of field: _zend_function_entry::num_args"]
6944 [::std::mem::offset_of!(_zend_function_entry, num_args) - 24usize];
6945 ["Offset of field: _zend_function_entry::flags"]
6946 [::std::mem::offset_of!(_zend_function_entry, flags) - 28usize];
6947};
6948pub type zend_function_entry = _zend_function_entry;
6949#[repr(C)]
6950#[derive(Copy, Clone)]
6951pub struct _zend_fcall_info {
6952 pub size: usize,
6953 pub function_name: zval,
6954 pub retval: *mut zval,
6955 pub params: *mut zval,
6956 pub object: *mut zend_object,
6957 pub no_separation: zend_bool,
6958 pub param_count: u32,
6959}
6960#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6961const _: () = {
6962 ["Size of _zend_fcall_info"][::std::mem::size_of::<_zend_fcall_info>() - 56usize];
6963 ["Alignment of _zend_fcall_info"][::std::mem::align_of::<_zend_fcall_info>() - 8usize];
6964 ["Offset of field: _zend_fcall_info::size"]
6965 [::std::mem::offset_of!(_zend_fcall_info, size) - 0usize];
6966 ["Offset of field: _zend_fcall_info::function_name"]
6967 [::std::mem::offset_of!(_zend_fcall_info, function_name) - 8usize];
6968 ["Offset of field: _zend_fcall_info::retval"]
6969 [::std::mem::offset_of!(_zend_fcall_info, retval) - 24usize];
6970 ["Offset of field: _zend_fcall_info::params"]
6971 [::std::mem::offset_of!(_zend_fcall_info, params) - 32usize];
6972 ["Offset of field: _zend_fcall_info::object"]
6973 [::std::mem::offset_of!(_zend_fcall_info, object) - 40usize];
6974 ["Offset of field: _zend_fcall_info::no_separation"]
6975 [::std::mem::offset_of!(_zend_fcall_info, no_separation) - 48usize];
6976 ["Offset of field: _zend_fcall_info::param_count"]
6977 [::std::mem::offset_of!(_zend_fcall_info, param_count) - 52usize];
6978};
6979pub type zend_fcall_info = _zend_fcall_info;
6980#[repr(C)]
6981#[derive(Debug, Copy, Clone)]
6982pub struct _zend_fcall_info_cache {
6983 pub initialized: zend_bool,
6984 pub function_handler: *mut zend_function,
6985 pub calling_scope: *mut zend_class_entry,
6986 pub called_scope: *mut zend_class_entry,
6987 pub object: *mut zend_object,
6988}
6989#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6990const _: () = {
6991 ["Size of _zend_fcall_info_cache"][::std::mem::size_of::<_zend_fcall_info_cache>() - 40usize];
6992 ["Alignment of _zend_fcall_info_cache"]
6993 [::std::mem::align_of::<_zend_fcall_info_cache>() - 8usize];
6994 ["Offset of field: _zend_fcall_info_cache::initialized"]
6995 [::std::mem::offset_of!(_zend_fcall_info_cache, initialized) - 0usize];
6996 ["Offset of field: _zend_fcall_info_cache::function_handler"]
6997 [::std::mem::offset_of!(_zend_fcall_info_cache, function_handler) - 8usize];
6998 ["Offset of field: _zend_fcall_info_cache::calling_scope"]
6999 [::std::mem::offset_of!(_zend_fcall_info_cache, calling_scope) - 16usize];
7000 ["Offset of field: _zend_fcall_info_cache::called_scope"]
7001 [::std::mem::offset_of!(_zend_fcall_info_cache, called_scope) - 24usize];
7002 ["Offset of field: _zend_fcall_info_cache::object"]
7003 [::std::mem::offset_of!(_zend_fcall_info_cache, object) - 32usize];
7004};
7005pub type zend_fcall_info_cache = _zend_fcall_info_cache;
7006extern "C" {
7007 pub fn zend_next_free_module() -> ::std::os::raw::c_int;
7008}
7009extern "C" {
7010 pub fn zend_get_parameters(
7011 ht: ::std::os::raw::c_int,
7012 param_count: ::std::os::raw::c_int,
7013 ...
7014 ) -> ::std::os::raw::c_int;
7015}
7016extern "C" {
7017 pub fn zend_get_parameters_ex(param_count: ::std::os::raw::c_int, ...)
7018 -> ::std::os::raw::c_int;
7019}
7020extern "C" {
7021 pub fn _zend_get_parameters_array_ex(
7022 param_count: ::std::os::raw::c_int,
7023 argument_array: *mut zval,
7024 ) -> ::std::os::raw::c_int;
7025}
7026extern "C" {
7027 pub fn zend_copy_parameters_array(
7028 param_count: ::std::os::raw::c_int,
7029 argument_array: *mut zval,
7030 ) -> ::std::os::raw::c_int;
7031}
7032extern "C" {
7033 pub fn zend_parse_parameters(
7034 num_args: ::std::os::raw::c_int,
7035 type_spec: *const ::std::os::raw::c_char,
7036 ...
7037 ) -> ::std::os::raw::c_int;
7038}
7039extern "C" {
7040 pub fn zend_parse_parameters_ex(
7041 flags: ::std::os::raw::c_int,
7042 num_args: ::std::os::raw::c_int,
7043 type_spec: *const ::std::os::raw::c_char,
7044 ...
7045 ) -> ::std::os::raw::c_int;
7046}
7047extern "C" {
7048 pub fn zend_parse_parameters_throw(
7049 num_args: ::std::os::raw::c_int,
7050 type_spec: *const ::std::os::raw::c_char,
7051 ...
7052 ) -> ::std::os::raw::c_int;
7053}
7054extern "C" {
7055 pub fn zend_zval_type_name(arg: *const zval) -> *mut ::std::os::raw::c_char;
7056}
7057extern "C" {
7058 pub fn zend_zval_get_type(arg: *const zval) -> *mut zend_string;
7059}
7060extern "C" {
7061 pub fn zend_parse_method_parameters(
7062 num_args: ::std::os::raw::c_int,
7063 this_ptr: *mut zval,
7064 type_spec: *const ::std::os::raw::c_char,
7065 ...
7066 ) -> ::std::os::raw::c_int;
7067}
7068extern "C" {
7069 pub fn zend_parse_method_parameters_ex(
7070 flags: ::std::os::raw::c_int,
7071 num_args: ::std::os::raw::c_int,
7072 this_ptr: *mut zval,
7073 type_spec: *const ::std::os::raw::c_char,
7074 ...
7075 ) -> ::std::os::raw::c_int;
7076}
7077extern "C" {
7078 pub fn zend_parse_parameter(
7079 flags: ::std::os::raw::c_int,
7080 arg_num: ::std::os::raw::c_int,
7081 arg: *mut zval,
7082 spec: *const ::std::os::raw::c_char,
7083 ...
7084 ) -> ::std::os::raw::c_int;
7085}
7086extern "C" {
7087 pub fn zend_register_functions(
7088 scope: *mut zend_class_entry,
7089 functions: *const zend_function_entry,
7090 function_table: *mut HashTable,
7091 type_: ::std::os::raw::c_int,
7092 ) -> ::std::os::raw::c_int;
7093}
7094extern "C" {
7095 pub fn zend_unregister_functions(
7096 functions: *const zend_function_entry,
7097 count: ::std::os::raw::c_int,
7098 function_table: *mut HashTable,
7099 );
7100}
7101extern "C" {
7102 pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> ::std::os::raw::c_int;
7103}
7104extern "C" {
7105 pub fn zend_register_internal_module(
7106 module_entry: *mut zend_module_entry,
7107 ) -> *mut zend_module_entry;
7108}
7109extern "C" {
7110 pub fn zend_register_module_ex(module: *mut zend_module_entry) -> *mut zend_module_entry;
7111}
7112extern "C" {
7113 pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> ::std::os::raw::c_int;
7114}
7115extern "C" {
7116 pub fn zend_startup_modules() -> ::std::os::raw::c_int;
7117}
7118extern "C" {
7119 pub fn zend_collect_module_handlers();
7120}
7121extern "C" {
7122 pub fn zend_destroy_modules();
7123}
7124extern "C" {
7125 pub fn zend_check_magic_method_implementation(
7126 ce: *const zend_class_entry,
7127 fptr: *const zend_function,
7128 error_type: ::std::os::raw::c_int,
7129 );
7130}
7131extern "C" {
7132 pub fn zend_register_internal_class(
7133 class_entry: *mut zend_class_entry,
7134 ) -> *mut zend_class_entry;
7135}
7136extern "C" {
7137 pub fn zend_register_internal_class_ex(
7138 class_entry: *mut zend_class_entry,
7139 parent_ce: *mut zend_class_entry,
7140 ) -> *mut zend_class_entry;
7141}
7142extern "C" {
7143 pub fn zend_register_internal_interface(
7144 orig_class_entry: *mut zend_class_entry,
7145 ) -> *mut zend_class_entry;
7146}
7147extern "C" {
7148 pub fn zend_class_implements(
7149 class_entry: *mut zend_class_entry,
7150 num_interfaces: ::std::os::raw::c_int,
7151 ...
7152 );
7153}
7154extern "C" {
7155 pub fn zend_register_class_alias_ex(
7156 name: *const ::std::os::raw::c_char,
7157 name_len: usize,
7158 ce: *mut zend_class_entry,
7159 ) -> ::std::os::raw::c_int;
7160}
7161extern "C" {
7162 pub fn zend_disable_function(
7163 function_name: *mut ::std::os::raw::c_char,
7164 function_name_length: usize,
7165 ) -> ::std::os::raw::c_int;
7166}
7167extern "C" {
7168 pub fn zend_disable_class(
7169 class_name: *mut ::std::os::raw::c_char,
7170 class_name_length: usize,
7171 ) -> ::std::os::raw::c_int;
7172}
7173extern "C" {
7174 pub fn zend_wrong_param_count();
7175}
7176extern "C" {
7177 pub fn zend_get_callable_name_ex(
7178 callable: *mut zval,
7179 object: *mut zend_object,
7180 ) -> *mut zend_string;
7181}
7182extern "C" {
7183 pub fn zend_get_callable_name(callable: *mut zval) -> *mut zend_string;
7184}
7185extern "C" {
7186 pub fn zend_is_callable_ex(
7187 callable: *mut zval,
7188 object: *mut zend_object,
7189 check_flags: u32,
7190 callable_name: *mut *mut zend_string,
7191 fcc: *mut zend_fcall_info_cache,
7192 error: *mut *mut ::std::os::raw::c_char,
7193 ) -> zend_bool;
7194}
7195extern "C" {
7196 pub fn zend_is_callable(
7197 callable: *mut zval,
7198 check_flags: u32,
7199 callable_name: *mut *mut zend_string,
7200 ) -> zend_bool;
7201}
7202extern "C" {
7203 pub fn zend_make_callable(
7204 callable: *mut zval,
7205 callable_name: *mut *mut zend_string,
7206 ) -> zend_bool;
7207}
7208extern "C" {
7209 pub fn zend_get_module_version(
7210 module_name: *const ::std::os::raw::c_char,
7211 ) -> *const ::std::os::raw::c_char;
7212}
7213extern "C" {
7214 pub fn zend_get_module_started(
7215 module_name: *const ::std::os::raw::c_char,
7216 ) -> ::std::os::raw::c_int;
7217}
7218extern "C" {
7219 pub fn zend_declare_property_ex(
7220 ce: *mut zend_class_entry,
7221 name: *mut zend_string,
7222 property: *mut zval,
7223 access_type: ::std::os::raw::c_int,
7224 doc_comment: *mut zend_string,
7225 ) -> ::std::os::raw::c_int;
7226}
7227extern "C" {
7228 pub fn zend_declare_property(
7229 ce: *mut zend_class_entry,
7230 name: *const ::std::os::raw::c_char,
7231 name_length: usize,
7232 property: *mut zval,
7233 access_type: ::std::os::raw::c_int,
7234 ) -> ::std::os::raw::c_int;
7235}
7236extern "C" {
7237 pub fn zend_declare_property_null(
7238 ce: *mut zend_class_entry,
7239 name: *const ::std::os::raw::c_char,
7240 name_length: usize,
7241 access_type: ::std::os::raw::c_int,
7242 ) -> ::std::os::raw::c_int;
7243}
7244extern "C" {
7245 pub fn zend_declare_property_bool(
7246 ce: *mut zend_class_entry,
7247 name: *const ::std::os::raw::c_char,
7248 name_length: usize,
7249 value: zend_long,
7250 access_type: ::std::os::raw::c_int,
7251 ) -> ::std::os::raw::c_int;
7252}
7253extern "C" {
7254 pub fn zend_declare_property_long(
7255 ce: *mut zend_class_entry,
7256 name: *const ::std::os::raw::c_char,
7257 name_length: usize,
7258 value: zend_long,
7259 access_type: ::std::os::raw::c_int,
7260 ) -> ::std::os::raw::c_int;
7261}
7262extern "C" {
7263 pub fn zend_declare_property_double(
7264 ce: *mut zend_class_entry,
7265 name: *const ::std::os::raw::c_char,
7266 name_length: usize,
7267 value: f64,
7268 access_type: ::std::os::raw::c_int,
7269 ) -> ::std::os::raw::c_int;
7270}
7271extern "C" {
7272 pub fn zend_declare_property_string(
7273 ce: *mut zend_class_entry,
7274 name: *const ::std::os::raw::c_char,
7275 name_length: usize,
7276 value: *const ::std::os::raw::c_char,
7277 access_type: ::std::os::raw::c_int,
7278 ) -> ::std::os::raw::c_int;
7279}
7280extern "C" {
7281 pub fn zend_declare_property_stringl(
7282 ce: *mut zend_class_entry,
7283 name: *const ::std::os::raw::c_char,
7284 name_length: usize,
7285 value: *const ::std::os::raw::c_char,
7286 value_len: usize,
7287 access_type: ::std::os::raw::c_int,
7288 ) -> ::std::os::raw::c_int;
7289}
7290extern "C" {
7291 pub fn zend_declare_class_constant_ex(
7292 ce: *mut zend_class_entry,
7293 name: *mut zend_string,
7294 value: *mut zval,
7295 access_type: ::std::os::raw::c_int,
7296 doc_comment: *mut zend_string,
7297 ) -> ::std::os::raw::c_int;
7298}
7299extern "C" {
7300 pub fn zend_declare_class_constant(
7301 ce: *mut zend_class_entry,
7302 name: *const ::std::os::raw::c_char,
7303 name_length: usize,
7304 value: *mut zval,
7305 ) -> ::std::os::raw::c_int;
7306}
7307extern "C" {
7308 pub fn zend_declare_class_constant_null(
7309 ce: *mut zend_class_entry,
7310 name: *const ::std::os::raw::c_char,
7311 name_length: usize,
7312 ) -> ::std::os::raw::c_int;
7313}
7314extern "C" {
7315 pub fn zend_declare_class_constant_long(
7316 ce: *mut zend_class_entry,
7317 name: *const ::std::os::raw::c_char,
7318 name_length: usize,
7319 value: zend_long,
7320 ) -> ::std::os::raw::c_int;
7321}
7322extern "C" {
7323 pub fn zend_declare_class_constant_bool(
7324 ce: *mut zend_class_entry,
7325 name: *const ::std::os::raw::c_char,
7326 name_length: usize,
7327 value: zend_bool,
7328 ) -> ::std::os::raw::c_int;
7329}
7330extern "C" {
7331 pub fn zend_declare_class_constant_double(
7332 ce: *mut zend_class_entry,
7333 name: *const ::std::os::raw::c_char,
7334 name_length: usize,
7335 value: f64,
7336 ) -> ::std::os::raw::c_int;
7337}
7338extern "C" {
7339 pub fn zend_declare_class_constant_stringl(
7340 ce: *mut zend_class_entry,
7341 name: *const ::std::os::raw::c_char,
7342 name_length: usize,
7343 value: *const ::std::os::raw::c_char,
7344 value_length: usize,
7345 ) -> ::std::os::raw::c_int;
7346}
7347extern "C" {
7348 pub fn zend_declare_class_constant_string(
7349 ce: *mut zend_class_entry,
7350 name: *const ::std::os::raw::c_char,
7351 name_length: usize,
7352 value: *const ::std::os::raw::c_char,
7353 ) -> ::std::os::raw::c_int;
7354}
7355extern "C" {
7356 pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> ::std::os::raw::c_int;
7357}
7358extern "C" {
7359 pub fn zend_update_property_ex(
7360 scope: *mut zend_class_entry,
7361 object: *mut zval,
7362 name: *mut zend_string,
7363 value: *mut zval,
7364 );
7365}
7366extern "C" {
7367 pub fn zend_update_property(
7368 scope: *mut zend_class_entry,
7369 object: *mut zval,
7370 name: *const ::std::os::raw::c_char,
7371 name_length: usize,
7372 value: *mut zval,
7373 );
7374}
7375extern "C" {
7376 pub fn zend_update_property_null(
7377 scope: *mut zend_class_entry,
7378 object: *mut zval,
7379 name: *const ::std::os::raw::c_char,
7380 name_length: usize,
7381 );
7382}
7383extern "C" {
7384 pub fn zend_update_property_bool(
7385 scope: *mut zend_class_entry,
7386 object: *mut zval,
7387 name: *const ::std::os::raw::c_char,
7388 name_length: usize,
7389 value: zend_long,
7390 );
7391}
7392extern "C" {
7393 pub fn zend_update_property_long(
7394 scope: *mut zend_class_entry,
7395 object: *mut zval,
7396 name: *const ::std::os::raw::c_char,
7397 name_length: usize,
7398 value: zend_long,
7399 );
7400}
7401extern "C" {
7402 pub fn zend_update_property_double(
7403 scope: *mut zend_class_entry,
7404 object: *mut zval,
7405 name: *const ::std::os::raw::c_char,
7406 name_length: usize,
7407 value: f64,
7408 );
7409}
7410extern "C" {
7411 pub fn zend_update_property_str(
7412 scope: *mut zend_class_entry,
7413 object: *mut zval,
7414 name: *const ::std::os::raw::c_char,
7415 name_length: usize,
7416 value: *mut zend_string,
7417 );
7418}
7419extern "C" {
7420 pub fn zend_update_property_string(
7421 scope: *mut zend_class_entry,
7422 object: *mut zval,
7423 name: *const ::std::os::raw::c_char,
7424 name_length: usize,
7425 value: *const ::std::os::raw::c_char,
7426 );
7427}
7428extern "C" {
7429 pub fn zend_update_property_stringl(
7430 scope: *mut zend_class_entry,
7431 object: *mut zval,
7432 name: *const ::std::os::raw::c_char,
7433 name_length: usize,
7434 value: *const ::std::os::raw::c_char,
7435 value_length: usize,
7436 );
7437}
7438extern "C" {
7439 pub fn zend_unset_property(
7440 scope: *mut zend_class_entry,
7441 object: *mut zval,
7442 name: *const ::std::os::raw::c_char,
7443 name_length: usize,
7444 );
7445}
7446extern "C" {
7447 pub fn zend_update_static_property(
7448 scope: *mut zend_class_entry,
7449 name: *const ::std::os::raw::c_char,
7450 name_length: usize,
7451 value: *mut zval,
7452 ) -> ::std::os::raw::c_int;
7453}
7454extern "C" {
7455 pub fn zend_update_static_property_null(
7456 scope: *mut zend_class_entry,
7457 name: *const ::std::os::raw::c_char,
7458 name_length: usize,
7459 ) -> ::std::os::raw::c_int;
7460}
7461extern "C" {
7462 pub fn zend_update_static_property_bool(
7463 scope: *mut zend_class_entry,
7464 name: *const ::std::os::raw::c_char,
7465 name_length: usize,
7466 value: zend_long,
7467 ) -> ::std::os::raw::c_int;
7468}
7469extern "C" {
7470 pub fn zend_update_static_property_long(
7471 scope: *mut zend_class_entry,
7472 name: *const ::std::os::raw::c_char,
7473 name_length: usize,
7474 value: zend_long,
7475 ) -> ::std::os::raw::c_int;
7476}
7477extern "C" {
7478 pub fn zend_update_static_property_double(
7479 scope: *mut zend_class_entry,
7480 name: *const ::std::os::raw::c_char,
7481 name_length: usize,
7482 value: f64,
7483 ) -> ::std::os::raw::c_int;
7484}
7485extern "C" {
7486 pub fn zend_update_static_property_string(
7487 scope: *mut zend_class_entry,
7488 name: *const ::std::os::raw::c_char,
7489 name_length: usize,
7490 value: *const ::std::os::raw::c_char,
7491 ) -> ::std::os::raw::c_int;
7492}
7493extern "C" {
7494 pub fn zend_update_static_property_stringl(
7495 scope: *mut zend_class_entry,
7496 name: *const ::std::os::raw::c_char,
7497 name_length: usize,
7498 value: *const ::std::os::raw::c_char,
7499 value_length: usize,
7500 ) -> ::std::os::raw::c_int;
7501}
7502extern "C" {
7503 pub fn zend_read_property_ex(
7504 scope: *mut zend_class_entry,
7505 object: *mut zval,
7506 name: *mut zend_string,
7507 silent: zend_bool,
7508 rv: *mut zval,
7509 ) -> *mut zval;
7510}
7511extern "C" {
7512 pub fn zend_read_property(
7513 scope: *mut zend_class_entry,
7514 object: *mut zval,
7515 name: *const ::std::os::raw::c_char,
7516 name_length: usize,
7517 silent: zend_bool,
7518 rv: *mut zval,
7519 ) -> *mut zval;
7520}
7521extern "C" {
7522 pub fn zend_read_static_property(
7523 scope: *mut zend_class_entry,
7524 name: *const ::std::os::raw::c_char,
7525 name_length: usize,
7526 silent: zend_bool,
7527 ) -> *mut zval;
7528}
7529extern "C" {
7530 pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
7531}
7532extern "C" {
7533 pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
7534}
7535extern "C" {
7536 pub static empty_fcall_info: zend_fcall_info;
7537}
7538extern "C" {
7539 pub static empty_fcall_info_cache: zend_fcall_info_cache;
7540}
7541extern "C" {
7542 #[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.\n Set check_flags to IS_CALLABLE_STRICT for every new usage!"]
7543 pub fn zend_fcall_info_init(
7544 callable: *mut zval,
7545 check_flags: u32,
7546 fci: *mut zend_fcall_info,
7547 fcc: *mut zend_fcall_info_cache,
7548 callable_name: *mut *mut zend_string,
7549 error: *mut *mut ::std::os::raw::c_char,
7550 ) -> ::std::os::raw::c_int;
7551}
7552extern "C" {
7553 #[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"]
7554 pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: ::std::os::raw::c_int);
7555}
7556extern "C" {
7557 #[doc = " Save current arguments from zend_fcall_info *fci\n params array will be set to NULL"]
7558 pub fn zend_fcall_info_args_save(
7559 fci: *mut zend_fcall_info,
7560 param_count: *mut ::std::os::raw::c_int,
7561 params: *mut *mut zval,
7562 );
7563}
7564extern "C" {
7565 #[doc = " Free arguments connected with zend_fcall_info *fci andset back saved ones."]
7566 pub fn zend_fcall_info_args_restore(
7567 fci: *mut zend_fcall_info,
7568 param_count: ::std::os::raw::c_int,
7569 params: *mut zval,
7570 );
7571}
7572extern "C" {
7573 #[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."]
7574 pub fn zend_fcall_info_args(
7575 fci: *mut zend_fcall_info,
7576 args: *mut zval,
7577 ) -> ::std::os::raw::c_int;
7578}
7579extern "C" {
7580 pub fn zend_fcall_info_args_ex(
7581 fci: *mut zend_fcall_info,
7582 func: *mut zend_function,
7583 args: *mut zval,
7584 ) -> ::std::os::raw::c_int;
7585}
7586extern "C" {
7587 #[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."]
7588 pub fn zend_fcall_info_argp(
7589 fci: *mut zend_fcall_info,
7590 argc: ::std::os::raw::c_int,
7591 argv: *mut zval,
7592 ) -> ::std::os::raw::c_int;
7593}
7594extern "C" {
7595 #[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."]
7596 pub fn zend_fcall_info_argv(
7597 fci: *mut zend_fcall_info,
7598 argc: ::std::os::raw::c_int,
7599 argv: *mut va_list,
7600 ) -> ::std::os::raw::c_int;
7601}
7602extern "C" {
7603 #[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."]
7604 pub fn zend_fcall_info_argn(
7605 fci: *mut zend_fcall_info,
7606 argc: ::std::os::raw::c_int,
7607 ...
7608 ) -> ::std::os::raw::c_int;
7609}
7610extern "C" {
7611 #[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."]
7612 pub fn zend_fcall_info_call(
7613 fci: *mut zend_fcall_info,
7614 fcc: *mut zend_fcall_info_cache,
7615 retval: *mut zval,
7616 args: *mut zval,
7617 ) -> ::std::os::raw::c_int;
7618}
7619extern "C" {
7620 pub fn zend_call_function(
7621 fci: *mut zend_fcall_info,
7622 fci_cache: *mut zend_fcall_info_cache,
7623 ) -> ::std::os::raw::c_int;
7624}
7625extern "C" {
7626 pub fn zend_set_hash_symbol(
7627 symbol: *mut zval,
7628 name: *const ::std::os::raw::c_char,
7629 name_length: ::std::os::raw::c_int,
7630 is_ref: zend_bool,
7631 num_symbol_tables: ::std::os::raw::c_int,
7632 ...
7633 ) -> ::std::os::raw::c_int;
7634}
7635extern "C" {
7636 pub fn zend_delete_global_variable(name: *mut zend_string) -> ::std::os::raw::c_int;
7637}
7638extern "C" {
7639 pub fn zend_rebuild_symbol_table() -> *mut zend_array;
7640}
7641extern "C" {
7642 pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
7643}
7644extern "C" {
7645 pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
7646}
7647extern "C" {
7648 pub fn zend_set_local_var(
7649 name: *mut zend_string,
7650 value: *mut zval,
7651 force: ::std::os::raw::c_int,
7652 ) -> ::std::os::raw::c_int;
7653}
7654extern "C" {
7655 pub fn zend_set_local_var_str(
7656 name: *const ::std::os::raw::c_char,
7657 len: usize,
7658 value: *mut zval,
7659 force: ::std::os::raw::c_int,
7660 ) -> ::std::os::raw::c_int;
7661}
7662extern "C" {
7663 pub fn zend_forbid_dynamic_call(
7664 func_name: *const ::std::os::raw::c_char,
7665 ) -> ::std::os::raw::c_int;
7666}
7667extern "C" {
7668 pub fn zend_find_alias_name(
7669 ce: *mut zend_class_entry,
7670 name: *mut zend_string,
7671 ) -> *mut zend_string;
7672}
7673extern "C" {
7674 pub fn zend_resolve_method_name(
7675 ce: *mut zend_class_entry,
7676 f: *mut zend_function,
7677 ) -> *mut zend_string;
7678}
7679extern "C" {
7680 pub fn zend_get_object_type(ce: *const zend_class_entry) -> *const ::std::os::raw::c_char;
7681}
7682extern "C" {
7683 pub fn zend_is_iterable(iterable: *mut zval) -> zend_bool;
7684}
7685pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
7686pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 1;
7687pub const _zend_expected_type_Z_EXPECTED_STRING: _zend_expected_type = 2;
7688pub const _zend_expected_type_Z_EXPECTED_ARRAY: _zend_expected_type = 3;
7689pub const _zend_expected_type_Z_EXPECTED_FUNC: _zend_expected_type = 4;
7690pub const _zend_expected_type_Z_EXPECTED_RESOURCE: _zend_expected_type = 5;
7691pub const _zend_expected_type_Z_EXPECTED_PATH: _zend_expected_type = 6;
7692pub const _zend_expected_type_Z_EXPECTED_OBJECT: _zend_expected_type = 7;
7693pub const _zend_expected_type_Z_EXPECTED_DOUBLE: _zend_expected_type = 8;
7694pub const _zend_expected_type_Z_EXPECTED_LAST: _zend_expected_type = 9;
7695pub type _zend_expected_type = ::std::os::raw::c_uint;
7696pub use self::_zend_expected_type as zend_expected_type;
7697extern "C" {
7698 pub fn zend_wrong_parameters_count_error(
7699 throw_: zend_bool,
7700 num_args: ::std::os::raw::c_int,
7701 min_num_args: ::std::os::raw::c_int,
7702 max_num_args: ::std::os::raw::c_int,
7703 );
7704}
7705extern "C" {
7706 pub fn zend_wrong_parameter_type_error(
7707 throw_: zend_bool,
7708 num: ::std::os::raw::c_int,
7709 expected_type: zend_expected_type,
7710 arg: *mut zval,
7711 );
7712}
7713extern "C" {
7714 pub fn zend_wrong_parameter_class_error(
7715 throw_: zend_bool,
7716 num: ::std::os::raw::c_int,
7717 name: *mut ::std::os::raw::c_char,
7718 arg: *mut zval,
7719 );
7720}
7721extern "C" {
7722 pub fn zend_wrong_callback_error(
7723 throw_: zend_bool,
7724 severity: ::std::os::raw::c_int,
7725 num: ::std::os::raw::c_int,
7726 error: *mut ::std::os::raw::c_char,
7727 );
7728}
7729extern "C" {
7730 pub fn zend_parse_arg_class(
7731 arg: *mut zval,
7732 pce: *mut *mut zend_class_entry,
7733 num: ::std::os::raw::c_int,
7734 check_null: ::std::os::raw::c_int,
7735 ) -> ::std::os::raw::c_int;
7736}
7737extern "C" {
7738 pub fn zend_parse_arg_bool_slow(arg: *mut zval, dest: *mut zend_bool) -> ::std::os::raw::c_int;
7739}
7740extern "C" {
7741 pub fn zend_parse_arg_bool_weak(arg: *mut zval, dest: *mut zend_bool) -> ::std::os::raw::c_int;
7742}
7743extern "C" {
7744 pub fn zend_parse_arg_long_slow(arg: *mut zval, dest: *mut zend_long) -> ::std::os::raw::c_int;
7745}
7746extern "C" {
7747 pub fn zend_parse_arg_long_weak(arg: *mut zval, dest: *mut zend_long) -> ::std::os::raw::c_int;
7748}
7749extern "C" {
7750 pub fn zend_parse_arg_long_cap_slow(
7751 arg: *mut zval,
7752 dest: *mut zend_long,
7753 ) -> ::std::os::raw::c_int;
7754}
7755extern "C" {
7756 pub fn zend_parse_arg_long_cap_weak(
7757 arg: *mut zval,
7758 dest: *mut zend_long,
7759 ) -> ::std::os::raw::c_int;
7760}
7761extern "C" {
7762 pub fn zend_parse_arg_double_slow(arg: *mut zval, dest: *mut f64) -> ::std::os::raw::c_int;
7763}
7764extern "C" {
7765 pub fn zend_parse_arg_double_weak(arg: *mut zval, dest: *mut f64) -> ::std::os::raw::c_int;
7766}
7767extern "C" {
7768 pub fn zend_parse_arg_str_slow(
7769 arg: *mut zval,
7770 dest: *mut *mut zend_string,
7771 ) -> ::std::os::raw::c_int;
7772}
7773extern "C" {
7774 pub fn zend_parse_arg_str_weak(
7775 arg: *mut zval,
7776 dest: *mut *mut zend_string,
7777 ) -> ::std::os::raw::c_int;
7778}
7779extern "C" {
7780 pub fn php_strlcpy(
7781 dst: *mut ::std::os::raw::c_char,
7782 src: *const ::std::os::raw::c_char,
7783 siz: usize,
7784 ) -> usize;
7785}
7786extern "C" {
7787 pub fn php_strlcat(
7788 dst: *mut ::std::os::raw::c_char,
7789 src: *const ::std::os::raw::c_char,
7790 siz: usize,
7791 ) -> usize;
7792}
7793extern "C" {
7794 pub fn php_explicit_bzero(dst: *mut ::std::os::raw::c_void, siz: usize);
7795}
7796pub type bool_int = ::std::os::raw::c_int;
7797pub const boolean_e_NO: boolean_e = 0;
7798pub const boolean_e_YES: boolean_e = 1;
7799pub type boolean_e = ::std::os::raw::c_uint;
7800extern "C" {
7801 pub fn php_sprintf(
7802 s: *mut ::std::os::raw::c_char,
7803 format: *const ::std::os::raw::c_char,
7804 ...
7805 ) -> ::std::os::raw::c_int;
7806}
7807extern "C" {
7808 pub fn php_gcvt(
7809 value: f64,
7810 ndigit: ::std::os::raw::c_int,
7811 dec_point: ::std::os::raw::c_char,
7812 exponent: ::std::os::raw::c_char,
7813 buf: *mut ::std::os::raw::c_char,
7814 ) -> *mut ::std::os::raw::c_char;
7815}
7816extern "C" {
7817 pub fn php_0cvt(
7818 value: f64,
7819 ndigit: ::std::os::raw::c_int,
7820 dec_point: ::std::os::raw::c_char,
7821 exponent: ::std::os::raw::c_char,
7822 buf: *mut ::std::os::raw::c_char,
7823 ) -> *mut ::std::os::raw::c_char;
7824}
7825extern "C" {
7826 pub fn php_conv_fp(
7827 format: ::std::os::raw::c_char,
7828 num: f64,
7829 add_dp: boolean_e,
7830 precision: ::std::os::raw::c_int,
7831 dec_point: ::std::os::raw::c_char,
7832 is_negative: *mut bool_int,
7833 buf: *mut ::std::os::raw::c_char,
7834 len: *mut usize,
7835 ) -> *mut ::std::os::raw::c_char;
7836}
7837extern "C" {
7838 pub fn php_printf_to_smart_string(
7839 buf: *mut smart_string,
7840 format: *const ::std::os::raw::c_char,
7841 ap: *mut __va_list_tag,
7842 );
7843}
7844extern "C" {
7845 pub fn php_printf_to_smart_str(
7846 buf: *mut smart_str,
7847 format: *const ::std::os::raw::c_char,
7848 ap: *mut __va_list_tag,
7849 );
7850}
7851extern "C" {
7852 pub fn php_write(buf: *mut ::std::os::raw::c_void, size: usize) -> usize;
7853}
7854extern "C" {
7855 pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> usize;
7856}
7857extern "C" {
7858 pub fn php_get_module_initialized() -> ::std::os::raw::c_int;
7859}
7860extern "C" {
7861 pub fn php_log_err_with_severity(
7862 log_message: *mut ::std::os::raw::c_char,
7863 syslog_type_int: ::std::os::raw::c_int,
7864 );
7865}
7866extern "C" {
7867 pub fn php_verror(
7868 docref: *const ::std::os::raw::c_char,
7869 params: *const ::std::os::raw::c_char,
7870 type_: ::std::os::raw::c_int,
7871 format: *const ::std::os::raw::c_char,
7872 args: *mut __va_list_tag,
7873 );
7874}
7875extern "C" {
7876 pub fn php_error_docref0(
7877 docref: *const ::std::os::raw::c_char,
7878 type_: ::std::os::raw::c_int,
7879 format: *const ::std::os::raw::c_char,
7880 ...
7881 );
7882}
7883extern "C" {
7884 pub fn php_error_docref1(
7885 docref: *const ::std::os::raw::c_char,
7886 param1: *const ::std::os::raw::c_char,
7887 type_: ::std::os::raw::c_int,
7888 format: *const ::std::os::raw::c_char,
7889 ...
7890 );
7891}
7892extern "C" {
7893 pub fn php_error_docref2(
7894 docref: *const ::std::os::raw::c_char,
7895 param1: *const ::std::os::raw::c_char,
7896 param2: *const ::std::os::raw::c_char,
7897 type_: ::std::os::raw::c_int,
7898 format: *const ::std::os::raw::c_char,
7899 ...
7900 );
7901}
7902extern "C" {
7903 pub static mut php_register_internal_extensions_func:
7904 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
7905}
7906extern "C" {
7907 pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
7908}
7909extern "C" {
7910 pub fn php_mergesort(
7911 base: *mut ::std::os::raw::c_void,
7912 nmemb: usize,
7913 size: usize,
7914 cmp: ::std::option::Option<
7915 unsafe extern "C" fn(
7916 arg1: *const ::std::os::raw::c_void,
7917 arg2: *const ::std::os::raw::c_void,
7918 ) -> ::std::os::raw::c_int,
7919 >,
7920 ) -> ::std::os::raw::c_int;
7921}
7922extern "C" {
7923 pub fn php_register_pre_request_shutdown(
7924 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
7925 userdata: *mut ::std::os::raw::c_void,
7926 );
7927}
7928extern "C" {
7929 pub fn php_com_initialize();
7930}
7931extern "C" {
7932 pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
7933}
7934pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
7935 0;
7936pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
7937 1;
7938pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
7939 2;
7940pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
7941 3;
7942pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
7943 4;
7944pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
7945pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
7946pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
7947#[repr(C)]
7948#[derive(Debug, Copy, Clone)]
7949pub struct _php_output_buffer {
7950 pub data: *mut ::std::os::raw::c_char,
7951 pub size: usize,
7952 pub used: usize,
7953 pub _bitfield_align_1: [u32; 0],
7954 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
7955 pub __bindgen_padding_0: u32,
7956}
7957#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7958const _: () = {
7959 ["Size of _php_output_buffer"][::std::mem::size_of::<_php_output_buffer>() - 32usize];
7960 ["Alignment of _php_output_buffer"][::std::mem::align_of::<_php_output_buffer>() - 8usize];
7961 ["Offset of field: _php_output_buffer::data"]
7962 [::std::mem::offset_of!(_php_output_buffer, data) - 0usize];
7963 ["Offset of field: _php_output_buffer::size"]
7964 [::std::mem::offset_of!(_php_output_buffer, size) - 8usize];
7965 ["Offset of field: _php_output_buffer::used"]
7966 [::std::mem::offset_of!(_php_output_buffer, used) - 16usize];
7967};
7968impl _php_output_buffer {
7969 #[inline]
7970 pub fn free(&self) -> u32 {
7971 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
7972 }
7973 #[inline]
7974 pub fn set_free(&mut self, val: u32) {
7975 unsafe {
7976 let val: u32 = ::std::mem::transmute(val);
7977 self._bitfield_1.set(0usize, 1u8, val as u64)
7978 }
7979 }
7980 #[inline]
7981 pub fn _reserved(&self) -> u32 {
7982 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
7983 }
7984 #[inline]
7985 pub fn set__reserved(&mut self, val: u32) {
7986 unsafe {
7987 let val: u32 = ::std::mem::transmute(val);
7988 self._bitfield_1.set(1usize, 31u8, val as u64)
7989 }
7990 }
7991 #[inline]
7992 pub fn new_bitfield_1(free: u32, _reserved: u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
7993 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
7994 __bindgen_bitfield_unit.set(0usize, 1u8, {
7995 let free: u32 = unsafe { ::std::mem::transmute(free) };
7996 free as u64
7997 });
7998 __bindgen_bitfield_unit.set(1usize, 31u8, {
7999 let _reserved: u32 = unsafe { ::std::mem::transmute(_reserved) };
8000 _reserved as u64
8001 });
8002 __bindgen_bitfield_unit
8003 }
8004}
8005pub type php_output_buffer = _php_output_buffer;
8006#[repr(C)]
8007#[derive(Debug, Copy, Clone)]
8008pub struct _php_output_context {
8009 pub op: ::std::os::raw::c_int,
8010 pub in_: php_output_buffer,
8011 pub out: php_output_buffer,
8012}
8013#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8014const _: () = {
8015 ["Size of _php_output_context"][::std::mem::size_of::<_php_output_context>() - 72usize];
8016 ["Alignment of _php_output_context"][::std::mem::align_of::<_php_output_context>() - 8usize];
8017 ["Offset of field: _php_output_context::op"]
8018 [::std::mem::offset_of!(_php_output_context, op) - 0usize];
8019 ["Offset of field: _php_output_context::in_"]
8020 [::std::mem::offset_of!(_php_output_context, in_) - 8usize];
8021 ["Offset of field: _php_output_context::out"]
8022 [::std::mem::offset_of!(_php_output_context, out) - 40usize];
8023};
8024pub type php_output_context = _php_output_context;
8025pub type php_output_handler_func_t = ::std::option::Option<
8026 unsafe extern "C" fn(
8027 output: *mut ::std::os::raw::c_char,
8028 output_len: usize,
8029 handled_output: *mut *mut ::std::os::raw::c_char,
8030 handled_output_len: *mut usize,
8031 mode: ::std::os::raw::c_int,
8032 ),
8033>;
8034pub type php_output_handler_context_func_t = ::std::option::Option<
8035 unsafe extern "C" fn(
8036 handler_context: *mut *mut ::std::os::raw::c_void,
8037 output_context: *mut php_output_context,
8038 ) -> ::std::os::raw::c_int,
8039>;
8040pub type php_output_handler_conflict_check_t = ::std::option::Option<
8041 unsafe extern "C" fn(
8042 handler_name: *const ::std::os::raw::c_char,
8043 handler_name_len: usize,
8044 ) -> ::std::os::raw::c_int,
8045>;
8046pub type php_output_handler_alias_ctor_t = ::std::option::Option<
8047 unsafe extern "C" fn(
8048 handler_name: *const ::std::os::raw::c_char,
8049 handler_name_len: usize,
8050 chunk_size: usize,
8051 flags: ::std::os::raw::c_int,
8052 ) -> *mut _php_output_handler,
8053>;
8054#[repr(C)]
8055#[derive(Copy, Clone)]
8056pub struct _php_output_handler_user_func_t {
8057 pub fci: zend_fcall_info,
8058 pub fcc: zend_fcall_info_cache,
8059 pub zoh: zval,
8060}
8061#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8062const _: () = {
8063 ["Size of _php_output_handler_user_func_t"]
8064 [::std::mem::size_of::<_php_output_handler_user_func_t>() - 112usize];
8065 ["Alignment of _php_output_handler_user_func_t"]
8066 [::std::mem::align_of::<_php_output_handler_user_func_t>() - 8usize];
8067 ["Offset of field: _php_output_handler_user_func_t::fci"]
8068 [::std::mem::offset_of!(_php_output_handler_user_func_t, fci) - 0usize];
8069 ["Offset of field: _php_output_handler_user_func_t::fcc"]
8070 [::std::mem::offset_of!(_php_output_handler_user_func_t, fcc) - 56usize];
8071 ["Offset of field: _php_output_handler_user_func_t::zoh"]
8072 [::std::mem::offset_of!(_php_output_handler_user_func_t, zoh) - 96usize];
8073};
8074pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
8075#[repr(C)]
8076#[derive(Copy, Clone)]
8077pub struct _php_output_handler {
8078 pub name: *mut zend_string,
8079 pub flags: ::std::os::raw::c_int,
8080 pub level: ::std::os::raw::c_int,
8081 pub size: usize,
8082 pub buffer: php_output_buffer,
8083 pub opaq: *mut ::std::os::raw::c_void,
8084 pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
8085 pub func: _php_output_handler__bindgen_ty_1,
8086}
8087#[repr(C)]
8088#[derive(Copy, Clone)]
8089pub union _php_output_handler__bindgen_ty_1 {
8090 pub user: *mut php_output_handler_user_func_t,
8091 pub internal: php_output_handler_context_func_t,
8092}
8093#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8094const _: () = {
8095 ["Size of _php_output_handler__bindgen_ty_1"]
8096 [::std::mem::size_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
8097 ["Alignment of _php_output_handler__bindgen_ty_1"]
8098 [::std::mem::align_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
8099 ["Offset of field: _php_output_handler__bindgen_ty_1::user"]
8100 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, user) - 0usize];
8101 ["Offset of field: _php_output_handler__bindgen_ty_1::internal"]
8102 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, internal) - 0usize];
8103};
8104#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8105const _: () = {
8106 ["Size of _php_output_handler"][::std::mem::size_of::<_php_output_handler>() - 80usize];
8107 ["Alignment of _php_output_handler"][::std::mem::align_of::<_php_output_handler>() - 8usize];
8108 ["Offset of field: _php_output_handler::name"]
8109 [::std::mem::offset_of!(_php_output_handler, name) - 0usize];
8110 ["Offset of field: _php_output_handler::flags"]
8111 [::std::mem::offset_of!(_php_output_handler, flags) - 8usize];
8112 ["Offset of field: _php_output_handler::level"]
8113 [::std::mem::offset_of!(_php_output_handler, level) - 12usize];
8114 ["Offset of field: _php_output_handler::size"]
8115 [::std::mem::offset_of!(_php_output_handler, size) - 16usize];
8116 ["Offset of field: _php_output_handler::buffer"]
8117 [::std::mem::offset_of!(_php_output_handler, buffer) - 24usize];
8118 ["Offset of field: _php_output_handler::opaq"]
8119 [::std::mem::offset_of!(_php_output_handler, opaq) - 56usize];
8120 ["Offset of field: _php_output_handler::dtor"]
8121 [::std::mem::offset_of!(_php_output_handler, dtor) - 64usize];
8122 ["Offset of field: _php_output_handler::func"]
8123 [::std::mem::offset_of!(_php_output_handler, func) - 72usize];
8124};
8125pub type php_output_handler = _php_output_handler;
8126#[repr(C)]
8127#[derive(Debug, Copy, Clone)]
8128pub struct _zend_output_globals {
8129 pub handlers: zend_stack,
8130 pub active: *mut php_output_handler,
8131 pub running: *mut php_output_handler,
8132 pub output_start_filename: *const ::std::os::raw::c_char,
8133 pub output_start_lineno: ::std::os::raw::c_int,
8134 pub flags: ::std::os::raw::c_int,
8135}
8136#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8137const _: () = {
8138 ["Size of _zend_output_globals"][::std::mem::size_of::<_zend_output_globals>() - 56usize];
8139 ["Alignment of _zend_output_globals"][::std::mem::align_of::<_zend_output_globals>() - 8usize];
8140 ["Offset of field: _zend_output_globals::handlers"]
8141 [::std::mem::offset_of!(_zend_output_globals, handlers) - 0usize];
8142 ["Offset of field: _zend_output_globals::active"]
8143 [::std::mem::offset_of!(_zend_output_globals, active) - 24usize];
8144 ["Offset of field: _zend_output_globals::running"]
8145 [::std::mem::offset_of!(_zend_output_globals, running) - 32usize];
8146 ["Offset of field: _zend_output_globals::output_start_filename"]
8147 [::std::mem::offset_of!(_zend_output_globals, output_start_filename) - 40usize];
8148 ["Offset of field: _zend_output_globals::output_start_lineno"]
8149 [::std::mem::offset_of!(_zend_output_globals, output_start_lineno) - 48usize];
8150 ["Offset of field: _zend_output_globals::flags"]
8151 [::std::mem::offset_of!(_zend_output_globals, flags) - 52usize];
8152};
8153pub type zend_output_globals = _zend_output_globals;
8154extern "C" {
8155 pub static mut output_globals: zend_output_globals;
8156}
8157extern "C" {
8158 pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
8159}
8160extern "C" {
8161 pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
8162}
8163extern "C" {
8164 pub fn php_output_startup();
8165}
8166extern "C" {
8167 pub fn php_output_shutdown();
8168}
8169extern "C" {
8170 pub fn php_output_register_constants();
8171}
8172extern "C" {
8173 pub fn php_output_activate() -> ::std::os::raw::c_int;
8174}
8175extern "C" {
8176 pub fn php_output_deactivate();
8177}
8178extern "C" {
8179 pub fn php_output_set_status(status: ::std::os::raw::c_int);
8180}
8181extern "C" {
8182 pub fn php_output_get_status() -> ::std::os::raw::c_int;
8183}
8184extern "C" {
8185 pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
8186}
8187extern "C" {
8188 pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
8189}
8190extern "C" {
8191 pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
8192}
8193extern "C" {
8194 pub fn php_output_write_unbuffered(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
8195}
8196extern "C" {
8197 pub fn php_output_write(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
8198}
8199extern "C" {
8200 pub fn php_output_flush() -> ::std::os::raw::c_int;
8201}
8202extern "C" {
8203 pub fn php_output_flush_all();
8204}
8205extern "C" {
8206 pub fn php_output_clean() -> ::std::os::raw::c_int;
8207}
8208extern "C" {
8209 pub fn php_output_clean_all();
8210}
8211extern "C" {
8212 pub fn php_output_end() -> ::std::os::raw::c_int;
8213}
8214extern "C" {
8215 pub fn php_output_end_all();
8216}
8217extern "C" {
8218 pub fn php_output_discard() -> ::std::os::raw::c_int;
8219}
8220extern "C" {
8221 pub fn php_output_discard_all();
8222}
8223extern "C" {
8224 pub fn php_output_get_contents(p: *mut zval) -> ::std::os::raw::c_int;
8225}
8226extern "C" {
8227 pub fn php_output_get_length(p: *mut zval) -> ::std::os::raw::c_int;
8228}
8229extern "C" {
8230 pub fn php_output_get_level() -> ::std::os::raw::c_int;
8231}
8232extern "C" {
8233 pub fn php_output_get_active_handler() -> *mut php_output_handler;
8234}
8235extern "C" {
8236 pub fn php_output_start_default() -> ::std::os::raw::c_int;
8237}
8238extern "C" {
8239 pub fn php_output_start_devnull() -> ::std::os::raw::c_int;
8240}
8241extern "C" {
8242 pub fn php_output_start_user(
8243 output_handler: *mut zval,
8244 chunk_size: usize,
8245 flags: ::std::os::raw::c_int,
8246 ) -> ::std::os::raw::c_int;
8247}
8248extern "C" {
8249 pub fn php_output_start_internal(
8250 name: *const ::std::os::raw::c_char,
8251 name_len: usize,
8252 output_handler: php_output_handler_func_t,
8253 chunk_size: usize,
8254 flags: ::std::os::raw::c_int,
8255 ) -> ::std::os::raw::c_int;
8256}
8257extern "C" {
8258 pub fn php_output_handler_create_user(
8259 handler: *mut zval,
8260 chunk_size: usize,
8261 flags: ::std::os::raw::c_int,
8262 ) -> *mut php_output_handler;
8263}
8264extern "C" {
8265 pub fn php_output_handler_create_internal(
8266 name: *const ::std::os::raw::c_char,
8267 name_len: usize,
8268 handler: php_output_handler_context_func_t,
8269 chunk_size: usize,
8270 flags: ::std::os::raw::c_int,
8271 ) -> *mut php_output_handler;
8272}
8273extern "C" {
8274 pub fn php_output_handler_set_context(
8275 handler: *mut php_output_handler,
8276 opaq: *mut ::std::os::raw::c_void,
8277 dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
8278 );
8279}
8280extern "C" {
8281 pub fn php_output_handler_start(handler: *mut php_output_handler) -> ::std::os::raw::c_int;
8282}
8283extern "C" {
8284 pub fn php_output_handler_started(
8285 name: *const ::std::os::raw::c_char,
8286 name_len: usize,
8287 ) -> ::std::os::raw::c_int;
8288}
8289extern "C" {
8290 pub fn php_output_handler_hook(
8291 type_: php_output_handler_hook_t,
8292 arg: *mut ::std::os::raw::c_void,
8293 ) -> ::std::os::raw::c_int;
8294}
8295extern "C" {
8296 pub fn php_output_handler_dtor(handler: *mut php_output_handler);
8297}
8298extern "C" {
8299 pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
8300}
8301extern "C" {
8302 pub fn php_output_handler_conflict(
8303 handler_new: *const ::std::os::raw::c_char,
8304 handler_new_len: usize,
8305 handler_set: *const ::std::os::raw::c_char,
8306 handler_set_len: usize,
8307 ) -> ::std::os::raw::c_int;
8308}
8309extern "C" {
8310 pub fn php_output_handler_conflict_register(
8311 handler_name: *const ::std::os::raw::c_char,
8312 handler_name_len: usize,
8313 check_func: php_output_handler_conflict_check_t,
8314 ) -> ::std::os::raw::c_int;
8315}
8316extern "C" {
8317 pub fn php_output_handler_reverse_conflict_register(
8318 handler_name: *const ::std::os::raw::c_char,
8319 handler_name_len: usize,
8320 check_func: php_output_handler_conflict_check_t,
8321 ) -> ::std::os::raw::c_int;
8322}
8323extern "C" {
8324 pub fn php_output_handler_alias(
8325 handler_name: *const ::std::os::raw::c_char,
8326 handler_name_len: usize,
8327 ) -> php_output_handler_alias_ctor_t;
8328}
8329extern "C" {
8330 pub fn php_output_handler_alias_register(
8331 handler_name: *const ::std::os::raw::c_char,
8332 handler_name_len: usize,
8333 func: php_output_handler_alias_ctor_t,
8334 ) -> ::std::os::raw::c_int;
8335}
8336extern "C" {
8337 pub fn php_file_le_stream() -> ::std::os::raw::c_int;
8338}
8339extern "C" {
8340 pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
8341}
8342extern "C" {
8343 pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
8344}
8345pub type php_stream = _php_stream;
8346pub type php_stream_wrapper = _php_stream_wrapper;
8347pub type php_stream_context = _php_stream_context;
8348pub type php_stream_filter = _php_stream_filter;
8349pub type php_stream_notification_func = ::std::option::Option<
8350 unsafe extern "C" fn(
8351 context: *mut php_stream_context,
8352 notifycode: ::std::os::raw::c_int,
8353 severity: ::std::os::raw::c_int,
8354 xmsg: *mut ::std::os::raw::c_char,
8355 xcode: ::std::os::raw::c_int,
8356 bytes_sofar: usize,
8357 bytes_max: usize,
8358 ptr: *mut ::std::os::raw::c_void,
8359 ),
8360>;
8361pub type php_stream_notifier = _php_stream_notifier;
8362#[repr(C)]
8363#[derive(Copy, Clone)]
8364pub struct _php_stream_notifier {
8365 pub func: php_stream_notification_func,
8366 pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
8367 pub ptr: zval,
8368 pub mask: ::std::os::raw::c_int,
8369 pub progress: usize,
8370 pub progress_max: usize,
8371}
8372#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8373const _: () = {
8374 ["Size of _php_stream_notifier"][::std::mem::size_of::<_php_stream_notifier>() - 56usize];
8375 ["Alignment of _php_stream_notifier"][::std::mem::align_of::<_php_stream_notifier>() - 8usize];
8376 ["Offset of field: _php_stream_notifier::func"]
8377 [::std::mem::offset_of!(_php_stream_notifier, func) - 0usize];
8378 ["Offset of field: _php_stream_notifier::dtor"]
8379 [::std::mem::offset_of!(_php_stream_notifier, dtor) - 8usize];
8380 ["Offset of field: _php_stream_notifier::ptr"]
8381 [::std::mem::offset_of!(_php_stream_notifier, ptr) - 16usize];
8382 ["Offset of field: _php_stream_notifier::mask"]
8383 [::std::mem::offset_of!(_php_stream_notifier, mask) - 32usize];
8384 ["Offset of field: _php_stream_notifier::progress"]
8385 [::std::mem::offset_of!(_php_stream_notifier, progress) - 40usize];
8386 ["Offset of field: _php_stream_notifier::progress_max"]
8387 [::std::mem::offset_of!(_php_stream_notifier, progress_max) - 48usize];
8388};
8389#[repr(C)]
8390#[derive(Copy, Clone)]
8391pub struct _php_stream_context {
8392 pub notifier: *mut php_stream_notifier,
8393 pub options: zval,
8394 pub res: *mut zend_resource,
8395}
8396#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8397const _: () = {
8398 ["Size of _php_stream_context"][::std::mem::size_of::<_php_stream_context>() - 32usize];
8399 ["Alignment of _php_stream_context"][::std::mem::align_of::<_php_stream_context>() - 8usize];
8400 ["Offset of field: _php_stream_context::notifier"]
8401 [::std::mem::offset_of!(_php_stream_context, notifier) - 0usize];
8402 ["Offset of field: _php_stream_context::options"]
8403 [::std::mem::offset_of!(_php_stream_context, options) - 8usize];
8404 ["Offset of field: _php_stream_context::res"]
8405 [::std::mem::offset_of!(_php_stream_context, res) - 24usize];
8406};
8407extern "C" {
8408 pub fn php_stream_context_free(context: *mut php_stream_context);
8409}
8410extern "C" {
8411 pub fn php_stream_context_alloc() -> *mut php_stream_context;
8412}
8413extern "C" {
8414 pub fn php_stream_context_get_option(
8415 context: *mut php_stream_context,
8416 wrappername: *const ::std::os::raw::c_char,
8417 optionname: *const ::std::os::raw::c_char,
8418 ) -> *mut zval;
8419}
8420extern "C" {
8421 pub fn php_stream_context_set_option(
8422 context: *mut php_stream_context,
8423 wrappername: *const ::std::os::raw::c_char,
8424 optionname: *const ::std::os::raw::c_char,
8425 optionvalue: *mut zval,
8426 ) -> ::std::os::raw::c_int;
8427}
8428extern "C" {
8429 pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
8430}
8431extern "C" {
8432 pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
8433}
8434extern "C" {
8435 pub fn php_stream_notification_notify(
8436 context: *mut php_stream_context,
8437 notifycode: ::std::os::raw::c_int,
8438 severity: ::std::os::raw::c_int,
8439 xmsg: *mut ::std::os::raw::c_char,
8440 xcode: ::std::os::raw::c_int,
8441 bytes_sofar: usize,
8442 bytes_max: usize,
8443 ptr: *mut ::std::os::raw::c_void,
8444 );
8445}
8446extern "C" {
8447 pub fn php_stream_context_set(
8448 stream: *mut php_stream,
8449 context: *mut php_stream_context,
8450 ) -> *mut php_stream_context;
8451}
8452pub type php_stream_bucket = _php_stream_bucket;
8453pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
8454#[repr(C)]
8455#[derive(Debug, Copy, Clone)]
8456pub struct _php_stream_bucket {
8457 pub next: *mut php_stream_bucket,
8458 pub prev: *mut php_stream_bucket,
8459 pub brigade: *mut php_stream_bucket_brigade,
8460 pub buf: *mut ::std::os::raw::c_char,
8461 pub buflen: usize,
8462 pub own_buf: u8,
8463 pub is_persistent: u8,
8464 pub refcount: ::std::os::raw::c_int,
8465}
8466#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8467const _: () = {
8468 ["Size of _php_stream_bucket"][::std::mem::size_of::<_php_stream_bucket>() - 48usize];
8469 ["Alignment of _php_stream_bucket"][::std::mem::align_of::<_php_stream_bucket>() - 8usize];
8470 ["Offset of field: _php_stream_bucket::next"]
8471 [::std::mem::offset_of!(_php_stream_bucket, next) - 0usize];
8472 ["Offset of field: _php_stream_bucket::prev"]
8473 [::std::mem::offset_of!(_php_stream_bucket, prev) - 8usize];
8474 ["Offset of field: _php_stream_bucket::brigade"]
8475 [::std::mem::offset_of!(_php_stream_bucket, brigade) - 16usize];
8476 ["Offset of field: _php_stream_bucket::buf"]
8477 [::std::mem::offset_of!(_php_stream_bucket, buf) - 24usize];
8478 ["Offset of field: _php_stream_bucket::buflen"]
8479 [::std::mem::offset_of!(_php_stream_bucket, buflen) - 32usize];
8480 ["Offset of field: _php_stream_bucket::own_buf"]
8481 [::std::mem::offset_of!(_php_stream_bucket, own_buf) - 40usize];
8482 ["Offset of field: _php_stream_bucket::is_persistent"]
8483 [::std::mem::offset_of!(_php_stream_bucket, is_persistent) - 41usize];
8484 ["Offset of field: _php_stream_bucket::refcount"]
8485 [::std::mem::offset_of!(_php_stream_bucket, refcount) - 44usize];
8486};
8487#[repr(C)]
8488#[derive(Debug, Copy, Clone)]
8489pub struct _php_stream_bucket_brigade {
8490 pub head: *mut php_stream_bucket,
8491 pub tail: *mut php_stream_bucket,
8492}
8493#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8494const _: () = {
8495 ["Size of _php_stream_bucket_brigade"]
8496 [::std::mem::size_of::<_php_stream_bucket_brigade>() - 16usize];
8497 ["Alignment of _php_stream_bucket_brigade"]
8498 [::std::mem::align_of::<_php_stream_bucket_brigade>() - 8usize];
8499 ["Offset of field: _php_stream_bucket_brigade::head"]
8500 [::std::mem::offset_of!(_php_stream_bucket_brigade, head) - 0usize];
8501 ["Offset of field: _php_stream_bucket_brigade::tail"]
8502 [::std::mem::offset_of!(_php_stream_bucket_brigade, tail) - 8usize];
8503};
8504pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
8505pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
8506pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
8507pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
8508extern "C" {
8509 pub fn php_stream_bucket_new(
8510 stream: *mut php_stream,
8511 buf: *mut ::std::os::raw::c_char,
8512 buflen: usize,
8513 own_buf: u8,
8514 buf_persistent: u8,
8515 ) -> *mut php_stream_bucket;
8516}
8517extern "C" {
8518 pub fn php_stream_bucket_split(
8519 in_: *mut php_stream_bucket,
8520 left: *mut *mut php_stream_bucket,
8521 right: *mut *mut php_stream_bucket,
8522 length: usize,
8523 ) -> ::std::os::raw::c_int;
8524}
8525extern "C" {
8526 pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
8527}
8528extern "C" {
8529 pub fn php_stream_bucket_prepend(
8530 brigade: *mut php_stream_bucket_brigade,
8531 bucket: *mut php_stream_bucket,
8532 );
8533}
8534extern "C" {
8535 pub fn php_stream_bucket_append(
8536 brigade: *mut php_stream_bucket_brigade,
8537 bucket: *mut php_stream_bucket,
8538 );
8539}
8540extern "C" {
8541 pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
8542}
8543extern "C" {
8544 pub fn php_stream_bucket_make_writeable(
8545 bucket: *mut php_stream_bucket,
8546 ) -> *mut php_stream_bucket;
8547}
8548#[repr(C)]
8549#[derive(Debug, Copy, Clone)]
8550pub struct _php_stream_filter_ops {
8551 pub filter: ::std::option::Option<
8552 unsafe extern "C" fn(
8553 stream: *mut php_stream,
8554 thisfilter: *mut php_stream_filter,
8555 buckets_in: *mut php_stream_bucket_brigade,
8556 buckets_out: *mut php_stream_bucket_brigade,
8557 bytes_consumed: *mut usize,
8558 flags: ::std::os::raw::c_int,
8559 ) -> php_stream_filter_status_t,
8560 >,
8561 pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
8562 pub label: *const ::std::os::raw::c_char,
8563}
8564#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8565const _: () = {
8566 ["Size of _php_stream_filter_ops"][::std::mem::size_of::<_php_stream_filter_ops>() - 24usize];
8567 ["Alignment of _php_stream_filter_ops"]
8568 [::std::mem::align_of::<_php_stream_filter_ops>() - 8usize];
8569 ["Offset of field: _php_stream_filter_ops::filter"]
8570 [::std::mem::offset_of!(_php_stream_filter_ops, filter) - 0usize];
8571 ["Offset of field: _php_stream_filter_ops::dtor"]
8572 [::std::mem::offset_of!(_php_stream_filter_ops, dtor) - 8usize];
8573 ["Offset of field: _php_stream_filter_ops::label"]
8574 [::std::mem::offset_of!(_php_stream_filter_ops, label) - 16usize];
8575};
8576pub type php_stream_filter_ops = _php_stream_filter_ops;
8577#[repr(C)]
8578#[derive(Debug, Copy, Clone)]
8579pub struct _php_stream_filter_chain {
8580 pub head: *mut php_stream_filter,
8581 pub tail: *mut php_stream_filter,
8582 pub stream: *mut php_stream,
8583}
8584#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8585const _: () = {
8586 ["Size of _php_stream_filter_chain"]
8587 [::std::mem::size_of::<_php_stream_filter_chain>() - 24usize];
8588 ["Alignment of _php_stream_filter_chain"]
8589 [::std::mem::align_of::<_php_stream_filter_chain>() - 8usize];
8590 ["Offset of field: _php_stream_filter_chain::head"]
8591 [::std::mem::offset_of!(_php_stream_filter_chain, head) - 0usize];
8592 ["Offset of field: _php_stream_filter_chain::tail"]
8593 [::std::mem::offset_of!(_php_stream_filter_chain, tail) - 8usize];
8594 ["Offset of field: _php_stream_filter_chain::stream"]
8595 [::std::mem::offset_of!(_php_stream_filter_chain, stream) - 16usize];
8596};
8597pub type php_stream_filter_chain = _php_stream_filter_chain;
8598#[repr(C)]
8599#[derive(Copy, Clone)]
8600pub struct _php_stream_filter {
8601 pub fops: *mut php_stream_filter_ops,
8602 pub abstract_: zval,
8603 pub next: *mut php_stream_filter,
8604 pub prev: *mut php_stream_filter,
8605 pub is_persistent: ::std::os::raw::c_int,
8606 pub chain: *mut php_stream_filter_chain,
8607 pub buffer: php_stream_bucket_brigade,
8608 pub res: *mut zend_resource,
8609}
8610#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8611const _: () = {
8612 ["Size of _php_stream_filter"][::std::mem::size_of::<_php_stream_filter>() - 80usize];
8613 ["Alignment of _php_stream_filter"][::std::mem::align_of::<_php_stream_filter>() - 8usize];
8614 ["Offset of field: _php_stream_filter::fops"]
8615 [::std::mem::offset_of!(_php_stream_filter, fops) - 0usize];
8616 ["Offset of field: _php_stream_filter::abstract_"]
8617 [::std::mem::offset_of!(_php_stream_filter, abstract_) - 8usize];
8618 ["Offset of field: _php_stream_filter::next"]
8619 [::std::mem::offset_of!(_php_stream_filter, next) - 24usize];
8620 ["Offset of field: _php_stream_filter::prev"]
8621 [::std::mem::offset_of!(_php_stream_filter, prev) - 32usize];
8622 ["Offset of field: _php_stream_filter::is_persistent"]
8623 [::std::mem::offset_of!(_php_stream_filter, is_persistent) - 40usize];
8624 ["Offset of field: _php_stream_filter::chain"]
8625 [::std::mem::offset_of!(_php_stream_filter, chain) - 48usize];
8626 ["Offset of field: _php_stream_filter::buffer"]
8627 [::std::mem::offset_of!(_php_stream_filter, buffer) - 56usize];
8628 ["Offset of field: _php_stream_filter::res"]
8629 [::std::mem::offset_of!(_php_stream_filter, res) - 72usize];
8630};
8631extern "C" {
8632 pub fn php_stream_filter_prepend_ex(
8633 chain: *mut php_stream_filter_chain,
8634 filter: *mut php_stream_filter,
8635 ) -> ::std::os::raw::c_int;
8636}
8637extern "C" {
8638 pub fn php_stream_filter_append_ex(
8639 chain: *mut php_stream_filter_chain,
8640 filter: *mut php_stream_filter,
8641 ) -> ::std::os::raw::c_int;
8642}
8643extern "C" {
8644 pub fn php_stream_filter_remove(
8645 filter: *mut php_stream_filter,
8646 call_dtor: ::std::os::raw::c_int,
8647 ) -> *mut php_stream_filter;
8648}
8649extern "C" {
8650 pub fn php_stream_filter_free(filter: *mut php_stream_filter);
8651}
8652#[repr(C)]
8653#[derive(Debug, Copy, Clone)]
8654pub struct _php_stream_filter_factory {
8655 pub create_filter: ::std::option::Option<
8656 unsafe extern "C" fn(
8657 filtername: *const ::std::os::raw::c_char,
8658 filterparams: *mut zval,
8659 persistent: u8,
8660 ) -> *mut php_stream_filter,
8661 >,
8662}
8663#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8664const _: () = {
8665 ["Size of _php_stream_filter_factory"]
8666 [::std::mem::size_of::<_php_stream_filter_factory>() - 8usize];
8667 ["Alignment of _php_stream_filter_factory"]
8668 [::std::mem::align_of::<_php_stream_filter_factory>() - 8usize];
8669 ["Offset of field: _php_stream_filter_factory::create_filter"]
8670 [::std::mem::offset_of!(_php_stream_filter_factory, create_filter) - 0usize];
8671};
8672pub type php_stream_filter_factory = _php_stream_filter_factory;
8673extern "C" {
8674 pub fn php_stream_filter_register_factory(
8675 filterpattern: *const ::std::os::raw::c_char,
8676 factory: *mut php_stream_filter_factory,
8677 ) -> ::std::os::raw::c_int;
8678}
8679extern "C" {
8680 pub fn php_stream_filter_unregister_factory(
8681 filterpattern: *const ::std::os::raw::c_char,
8682 ) -> ::std::os::raw::c_int;
8683}
8684extern "C" {
8685 pub fn php_stream_filter_register_factory_volatile(
8686 filterpattern: *const ::std::os::raw::c_char,
8687 factory: *mut php_stream_filter_factory,
8688 ) -> ::std::os::raw::c_int;
8689}
8690extern "C" {
8691 pub fn php_stream_filter_create(
8692 filtername: *const ::std::os::raw::c_char,
8693 filterparams: *mut zval,
8694 persistent: u8,
8695 ) -> *mut php_stream_filter;
8696}
8697#[repr(C)]
8698#[derive(Debug, Copy, Clone)]
8699pub struct _php_stream_statbuf {
8700 pub sb: zend_stat_t,
8701}
8702#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8703const _: () = {
8704 ["Size of _php_stream_statbuf"][::std::mem::size_of::<_php_stream_statbuf>() - 144usize];
8705 ["Alignment of _php_stream_statbuf"][::std::mem::align_of::<_php_stream_statbuf>() - 8usize];
8706 ["Offset of field: _php_stream_statbuf::sb"]
8707 [::std::mem::offset_of!(_php_stream_statbuf, sb) - 0usize];
8708};
8709pub type php_stream_statbuf = _php_stream_statbuf;
8710#[repr(C)]
8711#[derive(Debug, Copy, Clone)]
8712pub struct _php_stream_ops {
8713 pub write: ::std::option::Option<
8714 unsafe extern "C" fn(
8715 stream: *mut php_stream,
8716 buf: *const ::std::os::raw::c_char,
8717 count: usize,
8718 ) -> usize,
8719 >,
8720 pub read: ::std::option::Option<
8721 unsafe extern "C" fn(
8722 stream: *mut php_stream,
8723 buf: *mut ::std::os::raw::c_char,
8724 count: usize,
8725 ) -> usize,
8726 >,
8727 pub close: ::std::option::Option<
8728 unsafe extern "C" fn(
8729 stream: *mut php_stream,
8730 close_handle: ::std::os::raw::c_int,
8731 ) -> ::std::os::raw::c_int,
8732 >,
8733 pub flush: ::std::option::Option<
8734 unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
8735 >,
8736 pub label: *const ::std::os::raw::c_char,
8737 pub seek: ::std::option::Option<
8738 unsafe extern "C" fn(
8739 stream: *mut php_stream,
8740 offset: zend_off_t,
8741 whence: ::std::os::raw::c_int,
8742 newoffset: *mut zend_off_t,
8743 ) -> ::std::os::raw::c_int,
8744 >,
8745 pub cast: ::std::option::Option<
8746 unsafe extern "C" fn(
8747 stream: *mut php_stream,
8748 castas: ::std::os::raw::c_int,
8749 ret: *mut *mut ::std::os::raw::c_void,
8750 ) -> ::std::os::raw::c_int,
8751 >,
8752 pub stat: ::std::option::Option<
8753 unsafe extern "C" fn(
8754 stream: *mut php_stream,
8755 ssb: *mut php_stream_statbuf,
8756 ) -> ::std::os::raw::c_int,
8757 >,
8758 pub set_option: ::std::option::Option<
8759 unsafe extern "C" fn(
8760 stream: *mut php_stream,
8761 option: ::std::os::raw::c_int,
8762 value: ::std::os::raw::c_int,
8763 ptrparam: *mut ::std::os::raw::c_void,
8764 ) -> ::std::os::raw::c_int,
8765 >,
8766}
8767#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8768const _: () = {
8769 ["Size of _php_stream_ops"][::std::mem::size_of::<_php_stream_ops>() - 72usize];
8770 ["Alignment of _php_stream_ops"][::std::mem::align_of::<_php_stream_ops>() - 8usize];
8771 ["Offset of field: _php_stream_ops::write"]
8772 [::std::mem::offset_of!(_php_stream_ops, write) - 0usize];
8773 ["Offset of field: _php_stream_ops::read"]
8774 [::std::mem::offset_of!(_php_stream_ops, read) - 8usize];
8775 ["Offset of field: _php_stream_ops::close"]
8776 [::std::mem::offset_of!(_php_stream_ops, close) - 16usize];
8777 ["Offset of field: _php_stream_ops::flush"]
8778 [::std::mem::offset_of!(_php_stream_ops, flush) - 24usize];
8779 ["Offset of field: _php_stream_ops::label"]
8780 [::std::mem::offset_of!(_php_stream_ops, label) - 32usize];
8781 ["Offset of field: _php_stream_ops::seek"]
8782 [::std::mem::offset_of!(_php_stream_ops, seek) - 40usize];
8783 ["Offset of field: _php_stream_ops::cast"]
8784 [::std::mem::offset_of!(_php_stream_ops, cast) - 48usize];
8785 ["Offset of field: _php_stream_ops::stat"]
8786 [::std::mem::offset_of!(_php_stream_ops, stat) - 56usize];
8787 ["Offset of field: _php_stream_ops::set_option"]
8788 [::std::mem::offset_of!(_php_stream_ops, set_option) - 64usize];
8789};
8790pub type php_stream_ops = _php_stream_ops;
8791#[repr(C)]
8792#[derive(Debug, Copy, Clone)]
8793pub struct _php_stream_wrapper_ops {
8794 pub stream_opener: ::std::option::Option<
8795 unsafe extern "C" fn(
8796 wrapper: *mut php_stream_wrapper,
8797 filename: *const ::std::os::raw::c_char,
8798 mode: *const ::std::os::raw::c_char,
8799 options: ::std::os::raw::c_int,
8800 opened_path: *mut *mut zend_string,
8801 context: *mut php_stream_context,
8802 ) -> *mut php_stream,
8803 >,
8804 pub stream_closer: ::std::option::Option<
8805 unsafe extern "C" fn(
8806 wrapper: *mut php_stream_wrapper,
8807 stream: *mut php_stream,
8808 ) -> ::std::os::raw::c_int,
8809 >,
8810 pub stream_stat: ::std::option::Option<
8811 unsafe extern "C" fn(
8812 wrapper: *mut php_stream_wrapper,
8813 stream: *mut php_stream,
8814 ssb: *mut php_stream_statbuf,
8815 ) -> ::std::os::raw::c_int,
8816 >,
8817 pub url_stat: ::std::option::Option<
8818 unsafe extern "C" fn(
8819 wrapper: *mut php_stream_wrapper,
8820 url: *const ::std::os::raw::c_char,
8821 flags: ::std::os::raw::c_int,
8822 ssb: *mut php_stream_statbuf,
8823 context: *mut php_stream_context,
8824 ) -> ::std::os::raw::c_int,
8825 >,
8826 pub dir_opener: ::std::option::Option<
8827 unsafe extern "C" fn(
8828 wrapper: *mut php_stream_wrapper,
8829 filename: *const ::std::os::raw::c_char,
8830 mode: *const ::std::os::raw::c_char,
8831 options: ::std::os::raw::c_int,
8832 opened_path: *mut *mut zend_string,
8833 context: *mut php_stream_context,
8834 ) -> *mut php_stream,
8835 >,
8836 pub label: *const ::std::os::raw::c_char,
8837 pub unlink: ::std::option::Option<
8838 unsafe extern "C" fn(
8839 wrapper: *mut php_stream_wrapper,
8840 url: *const ::std::os::raw::c_char,
8841 options: ::std::os::raw::c_int,
8842 context: *mut php_stream_context,
8843 ) -> ::std::os::raw::c_int,
8844 >,
8845 pub rename: ::std::option::Option<
8846 unsafe extern "C" fn(
8847 wrapper: *mut php_stream_wrapper,
8848 url_from: *const ::std::os::raw::c_char,
8849 url_to: *const ::std::os::raw::c_char,
8850 options: ::std::os::raw::c_int,
8851 context: *mut php_stream_context,
8852 ) -> ::std::os::raw::c_int,
8853 >,
8854 pub stream_mkdir: ::std::option::Option<
8855 unsafe extern "C" fn(
8856 wrapper: *mut php_stream_wrapper,
8857 url: *const ::std::os::raw::c_char,
8858 mode: ::std::os::raw::c_int,
8859 options: ::std::os::raw::c_int,
8860 context: *mut php_stream_context,
8861 ) -> ::std::os::raw::c_int,
8862 >,
8863 pub stream_rmdir: ::std::option::Option<
8864 unsafe extern "C" fn(
8865 wrapper: *mut php_stream_wrapper,
8866 url: *const ::std::os::raw::c_char,
8867 options: ::std::os::raw::c_int,
8868 context: *mut php_stream_context,
8869 ) -> ::std::os::raw::c_int,
8870 >,
8871 pub stream_metadata: ::std::option::Option<
8872 unsafe extern "C" fn(
8873 wrapper: *mut php_stream_wrapper,
8874 url: *const ::std::os::raw::c_char,
8875 options: ::std::os::raw::c_int,
8876 value: *mut ::std::os::raw::c_void,
8877 context: *mut php_stream_context,
8878 ) -> ::std::os::raw::c_int,
8879 >,
8880}
8881#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8882const _: () = {
8883 ["Size of _php_stream_wrapper_ops"][::std::mem::size_of::<_php_stream_wrapper_ops>() - 88usize];
8884 ["Alignment of _php_stream_wrapper_ops"]
8885 [::std::mem::align_of::<_php_stream_wrapper_ops>() - 8usize];
8886 ["Offset of field: _php_stream_wrapper_ops::stream_opener"]
8887 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_opener) - 0usize];
8888 ["Offset of field: _php_stream_wrapper_ops::stream_closer"]
8889 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_closer) - 8usize];
8890 ["Offset of field: _php_stream_wrapper_ops::stream_stat"]
8891 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_stat) - 16usize];
8892 ["Offset of field: _php_stream_wrapper_ops::url_stat"]
8893 [::std::mem::offset_of!(_php_stream_wrapper_ops, url_stat) - 24usize];
8894 ["Offset of field: _php_stream_wrapper_ops::dir_opener"]
8895 [::std::mem::offset_of!(_php_stream_wrapper_ops, dir_opener) - 32usize];
8896 ["Offset of field: _php_stream_wrapper_ops::label"]
8897 [::std::mem::offset_of!(_php_stream_wrapper_ops, label) - 40usize];
8898 ["Offset of field: _php_stream_wrapper_ops::unlink"]
8899 [::std::mem::offset_of!(_php_stream_wrapper_ops, unlink) - 48usize];
8900 ["Offset of field: _php_stream_wrapper_ops::rename"]
8901 [::std::mem::offset_of!(_php_stream_wrapper_ops, rename) - 56usize];
8902 ["Offset of field: _php_stream_wrapper_ops::stream_mkdir"]
8903 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_mkdir) - 64usize];
8904 ["Offset of field: _php_stream_wrapper_ops::stream_rmdir"]
8905 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_rmdir) - 72usize];
8906 ["Offset of field: _php_stream_wrapper_ops::stream_metadata"]
8907 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_metadata) - 80usize];
8908};
8909pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
8910#[repr(C)]
8911#[derive(Debug, Copy, Clone)]
8912pub struct _php_stream_wrapper {
8913 pub wops: *mut php_stream_wrapper_ops,
8914 pub abstract_: *mut ::std::os::raw::c_void,
8915 pub is_url: ::std::os::raw::c_int,
8916}
8917#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8918const _: () = {
8919 ["Size of _php_stream_wrapper"][::std::mem::size_of::<_php_stream_wrapper>() - 24usize];
8920 ["Alignment of _php_stream_wrapper"][::std::mem::align_of::<_php_stream_wrapper>() - 8usize];
8921 ["Offset of field: _php_stream_wrapper::wops"]
8922 [::std::mem::offset_of!(_php_stream_wrapper, wops) - 0usize];
8923 ["Offset of field: _php_stream_wrapper::abstract_"]
8924 [::std::mem::offset_of!(_php_stream_wrapper, abstract_) - 8usize];
8925 ["Offset of field: _php_stream_wrapper::is_url"]
8926 [::std::mem::offset_of!(_php_stream_wrapper, is_url) - 16usize];
8927};
8928#[repr(C)]
8929#[derive(Copy, Clone)]
8930pub struct _php_stream {
8931 pub ops: *mut php_stream_ops,
8932 pub abstract_: *mut ::std::os::raw::c_void,
8933 pub readfilters: php_stream_filter_chain,
8934 pub writefilters: php_stream_filter_chain,
8935 pub wrapper: *mut php_stream_wrapper,
8936 pub wrapperthis: *mut ::std::os::raw::c_void,
8937 pub wrapperdata: zval,
8938 pub _bitfield_align_1: [u8; 0],
8939 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
8940 pub fgetss_state: u8,
8941 pub mode: [::std::os::raw::c_char; 16usize],
8942 pub flags: u32,
8943 pub res: *mut zend_resource,
8944 pub stdiocast: *mut FILE,
8945 pub orig_path: *mut ::std::os::raw::c_char,
8946 pub ctx: *mut zend_resource,
8947 pub position: zend_off_t,
8948 pub readbuf: *mut ::std::os::raw::c_uchar,
8949 pub readbuflen: usize,
8950 pub readpos: zend_off_t,
8951 pub writepos: zend_off_t,
8952 pub chunk_size: usize,
8953 pub enclosing_stream: *mut _php_stream,
8954}
8955#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8956const _: () = {
8957 ["Size of _php_stream"][::std::mem::size_of::<_php_stream>() - 208usize];
8958 ["Alignment of _php_stream"][::std::mem::align_of::<_php_stream>() - 8usize];
8959 ["Offset of field: _php_stream::ops"][::std::mem::offset_of!(_php_stream, ops) - 0usize];
8960 ["Offset of field: _php_stream::abstract_"]
8961 [::std::mem::offset_of!(_php_stream, abstract_) - 8usize];
8962 ["Offset of field: _php_stream::readfilters"]
8963 [::std::mem::offset_of!(_php_stream, readfilters) - 16usize];
8964 ["Offset of field: _php_stream::writefilters"]
8965 [::std::mem::offset_of!(_php_stream, writefilters) - 40usize];
8966 ["Offset of field: _php_stream::wrapper"]
8967 [::std::mem::offset_of!(_php_stream, wrapper) - 64usize];
8968 ["Offset of field: _php_stream::wrapperthis"]
8969 [::std::mem::offset_of!(_php_stream, wrapperthis) - 72usize];
8970 ["Offset of field: _php_stream::wrapperdata"]
8971 [::std::mem::offset_of!(_php_stream, wrapperdata) - 80usize];
8972 ["Offset of field: _php_stream::fgetss_state"]
8973 [::std::mem::offset_of!(_php_stream, fgetss_state) - 97usize];
8974 ["Offset of field: _php_stream::mode"][::std::mem::offset_of!(_php_stream, mode) - 98usize];
8975 ["Offset of field: _php_stream::flags"][::std::mem::offset_of!(_php_stream, flags) - 116usize];
8976 ["Offset of field: _php_stream::res"][::std::mem::offset_of!(_php_stream, res) - 120usize];
8977 ["Offset of field: _php_stream::stdiocast"]
8978 [::std::mem::offset_of!(_php_stream, stdiocast) - 128usize];
8979 ["Offset of field: _php_stream::orig_path"]
8980 [::std::mem::offset_of!(_php_stream, orig_path) - 136usize];
8981 ["Offset of field: _php_stream::ctx"][::std::mem::offset_of!(_php_stream, ctx) - 144usize];
8982 ["Offset of field: _php_stream::position"]
8983 [::std::mem::offset_of!(_php_stream, position) - 152usize];
8984 ["Offset of field: _php_stream::readbuf"]
8985 [::std::mem::offset_of!(_php_stream, readbuf) - 160usize];
8986 ["Offset of field: _php_stream::readbuflen"]
8987 [::std::mem::offset_of!(_php_stream, readbuflen) - 168usize];
8988 ["Offset of field: _php_stream::readpos"]
8989 [::std::mem::offset_of!(_php_stream, readpos) - 176usize];
8990 ["Offset of field: _php_stream::writepos"]
8991 [::std::mem::offset_of!(_php_stream, writepos) - 184usize];
8992 ["Offset of field: _php_stream::chunk_size"]
8993 [::std::mem::offset_of!(_php_stream, chunk_size) - 192usize];
8994 ["Offset of field: _php_stream::enclosing_stream"]
8995 [::std::mem::offset_of!(_php_stream, enclosing_stream) - 200usize];
8996};
8997impl _php_stream {
8998 #[inline]
8999 pub fn is_persistent(&self) -> u8 {
9000 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
9001 }
9002 #[inline]
9003 pub fn set_is_persistent(&mut self, val: u8) {
9004 unsafe {
9005 let val: u8 = ::std::mem::transmute(val);
9006 self._bitfield_1.set(0usize, 1u8, val as u64)
9007 }
9008 }
9009 #[inline]
9010 pub fn in_free(&self) -> u8 {
9011 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 2u8) as u8) }
9012 }
9013 #[inline]
9014 pub fn set_in_free(&mut self, val: u8) {
9015 unsafe {
9016 let val: u8 = ::std::mem::transmute(val);
9017 self._bitfield_1.set(1usize, 2u8, val as u64)
9018 }
9019 }
9020 #[inline]
9021 pub fn eof(&self) -> u8 {
9022 unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
9023 }
9024 #[inline]
9025 pub fn set_eof(&mut self, val: u8) {
9026 unsafe {
9027 let val: u8 = ::std::mem::transmute(val);
9028 self._bitfield_1.set(3usize, 1u8, val as u64)
9029 }
9030 }
9031 #[inline]
9032 pub fn __exposed(&self) -> u8 {
9033 unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) }
9034 }
9035 #[inline]
9036 pub fn set___exposed(&mut self, val: u8) {
9037 unsafe {
9038 let val: u8 = ::std::mem::transmute(val);
9039 self._bitfield_1.set(4usize, 1u8, val as u64)
9040 }
9041 }
9042 #[inline]
9043 pub fn fclose_stdiocast(&self) -> u8 {
9044 unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 2u8) as u8) }
9045 }
9046 #[inline]
9047 pub fn set_fclose_stdiocast(&mut self, val: u8) {
9048 unsafe {
9049 let val: u8 = ::std::mem::transmute(val);
9050 self._bitfield_1.set(5usize, 2u8, val as u64)
9051 }
9052 }
9053 #[inline]
9054 pub fn new_bitfield_1(
9055 is_persistent: u8,
9056 in_free: u8,
9057 eof: u8,
9058 __exposed: u8,
9059 fclose_stdiocast: u8,
9060 ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
9061 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
9062 __bindgen_bitfield_unit.set(0usize, 1u8, {
9063 let is_persistent: u8 = unsafe { ::std::mem::transmute(is_persistent) };
9064 is_persistent as u64
9065 });
9066 __bindgen_bitfield_unit.set(1usize, 2u8, {
9067 let in_free: u8 = unsafe { ::std::mem::transmute(in_free) };
9068 in_free as u64
9069 });
9070 __bindgen_bitfield_unit.set(3usize, 1u8, {
9071 let eof: u8 = unsafe { ::std::mem::transmute(eof) };
9072 eof as u64
9073 });
9074 __bindgen_bitfield_unit.set(4usize, 1u8, {
9075 let __exposed: u8 = unsafe { ::std::mem::transmute(__exposed) };
9076 __exposed as u64
9077 });
9078 __bindgen_bitfield_unit.set(5usize, 2u8, {
9079 let fclose_stdiocast: u8 = unsafe { ::std::mem::transmute(fclose_stdiocast) };
9080 fclose_stdiocast as u64
9081 });
9082 __bindgen_bitfield_unit
9083 }
9084}
9085extern "C" {
9086 pub fn php_stream_encloses(
9087 enclosing: *mut php_stream,
9088 enclosed: *mut php_stream,
9089 ) -> *mut php_stream;
9090}
9091extern "C" {
9092 pub fn php_stream_from_persistent_id(
9093 persistent_id: *const ::std::os::raw::c_char,
9094 stream: *mut *mut php_stream,
9095 ) -> ::std::os::raw::c_int;
9096}
9097extern "C" {
9098 pub fn php_stream_get_record(
9099 stream: *mut php_stream,
9100 maxlen: usize,
9101 delim: *const ::std::os::raw::c_char,
9102 delim_len: usize,
9103 ) -> *mut zend_string;
9104}
9105extern "C" {
9106 pub fn php_stream_dirent_alphasort(
9107 a: *mut *const zend_string,
9108 b: *mut *const zend_string,
9109 ) -> ::std::os::raw::c_int;
9110}
9111extern "C" {
9112 pub fn php_stream_dirent_alphasortr(
9113 a: *mut *const zend_string,
9114 b: *mut *const zend_string,
9115 ) -> ::std::os::raw::c_int;
9116}
9117pub type php_stream_transport_factory_func = ::std::option::Option<
9118 unsafe extern "C" fn(
9119 proto: *const ::std::os::raw::c_char,
9120 protolen: usize,
9121 resourcename: *const ::std::os::raw::c_char,
9122 resourcenamelen: usize,
9123 persistent_id: *const ::std::os::raw::c_char,
9124 options: ::std::os::raw::c_int,
9125 flags: ::std::os::raw::c_int,
9126 timeout: *mut timeval,
9127 context: *mut php_stream_context,
9128 ) -> *mut php_stream,
9129>;
9130pub type php_stream_transport_factory = php_stream_transport_factory_func;
9131extern "C" {
9132 pub fn php_stream_xport_register(
9133 protocol: *const ::std::os::raw::c_char,
9134 factory: php_stream_transport_factory,
9135 ) -> ::std::os::raw::c_int;
9136}
9137extern "C" {
9138 pub fn php_stream_xport_unregister(
9139 protocol: *const ::std::os::raw::c_char,
9140 ) -> ::std::os::raw::c_int;
9141}
9142extern "C" {
9143 pub fn php_stream_xport_bind(
9144 stream: *mut php_stream,
9145 name: *const ::std::os::raw::c_char,
9146 namelen: usize,
9147 error_text: *mut *mut zend_string,
9148 ) -> ::std::os::raw::c_int;
9149}
9150extern "C" {
9151 pub fn php_stream_xport_connect(
9152 stream: *mut php_stream,
9153 name: *const ::std::os::raw::c_char,
9154 namelen: usize,
9155 asynchronous: ::std::os::raw::c_int,
9156 timeout: *mut timeval,
9157 error_text: *mut *mut zend_string,
9158 error_code: *mut ::std::os::raw::c_int,
9159 ) -> ::std::os::raw::c_int;
9160}
9161extern "C" {
9162 pub fn php_stream_xport_listen(
9163 stream: *mut php_stream,
9164 backlog: ::std::os::raw::c_int,
9165 error_text: *mut *mut zend_string,
9166 ) -> ::std::os::raw::c_int;
9167}
9168extern "C" {
9169 pub fn php_stream_xport_accept(
9170 stream: *mut php_stream,
9171 client: *mut *mut php_stream,
9172 textaddr: *mut *mut zend_string,
9173 addr: *mut *mut ::std::os::raw::c_void,
9174 addrlen: *mut socklen_t,
9175 timeout: *mut timeval,
9176 error_text: *mut *mut zend_string,
9177 ) -> ::std::os::raw::c_int;
9178}
9179extern "C" {
9180 pub fn php_stream_xport_get_name(
9181 stream: *mut php_stream,
9182 want_peer: ::std::os::raw::c_int,
9183 textaddr: *mut *mut zend_string,
9184 addr: *mut *mut ::std::os::raw::c_void,
9185 addrlen: *mut socklen_t,
9186 ) -> ::std::os::raw::c_int;
9187}
9188extern "C" {
9189 pub fn php_stream_xport_recvfrom(
9190 stream: *mut php_stream,
9191 buf: *mut ::std::os::raw::c_char,
9192 buflen: usize,
9193 flags: ::std::os::raw::c_int,
9194 addr: *mut *mut ::std::os::raw::c_void,
9195 addrlen: *mut socklen_t,
9196 textaddr: *mut *mut zend_string,
9197 ) -> ::std::os::raw::c_int;
9198}
9199extern "C" {
9200 pub fn php_stream_xport_sendto(
9201 stream: *mut php_stream,
9202 buf: *const ::std::os::raw::c_char,
9203 buflen: usize,
9204 flags: ::std::os::raw::c_int,
9205 addr: *mut ::std::os::raw::c_void,
9206 addrlen: socklen_t,
9207 ) -> ::std::os::raw::c_int;
9208}
9209pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
9210pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
9211pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
9212pub type stream_shutdown_t = ::std::os::raw::c_uint;
9213extern "C" {
9214 pub fn php_stream_xport_shutdown(
9215 stream: *mut php_stream,
9216 how: stream_shutdown_t,
9217 ) -> ::std::os::raw::c_int;
9218}
9219pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
9220 php_stream_xport_crypt_method_t = 3;
9221pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
9222 php_stream_xport_crypt_method_t = 5;
9223pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
9224 php_stream_xport_crypt_method_t = 57;
9225pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
9226 php_stream_xport_crypt_method_t = 9;
9227pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
9228 php_stream_xport_crypt_method_t = 17;
9229pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
9230 php_stream_xport_crypt_method_t = 33;
9231pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
9232 php_stream_xport_crypt_method_t = 57;
9233pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
9234 php_stream_xport_crypt_method_t = 57;
9235pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
9236 php_stream_xport_crypt_method_t = 63;
9237pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
9238 php_stream_xport_crypt_method_t = 2;
9239pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
9240 php_stream_xport_crypt_method_t = 4;
9241pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
9242 php_stream_xport_crypt_method_t = 56;
9243pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
9244 php_stream_xport_crypt_method_t = 8;
9245pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
9246 php_stream_xport_crypt_method_t = 16;
9247pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
9248 php_stream_xport_crypt_method_t = 32;
9249pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
9250 php_stream_xport_crypt_method_t = 56;
9251pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
9252 php_stream_xport_crypt_method_t = 56;
9253pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
9254 php_stream_xport_crypt_method_t = 62;
9255pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
9256extern "C" {
9257 pub fn php_stream_xport_crypto_setup(
9258 stream: *mut php_stream,
9259 crypto_method: php_stream_xport_crypt_method_t,
9260 session_stream: *mut php_stream,
9261 ) -> ::std::os::raw::c_int;
9262}
9263extern "C" {
9264 pub fn php_stream_xport_crypto_enable(
9265 stream: *mut php_stream,
9266 activate: ::std::os::raw::c_int,
9267 ) -> ::std::os::raw::c_int;
9268}
9269extern "C" {
9270 pub fn php_stream_xport_get_hash() -> *mut HashTable;
9271}
9272extern "C" {
9273 pub fn php_stream_generic_socket_factory(
9274 proto: *const ::std::os::raw::c_char,
9275 protolen: usize,
9276 resourcename: *const ::std::os::raw::c_char,
9277 resourcenamelen: usize,
9278 persistent_id: *const ::std::os::raw::c_char,
9279 options: ::std::os::raw::c_int,
9280 flags: ::std::os::raw::c_int,
9281 timeout: *mut timeval,
9282 context: *mut php_stream_context,
9283 ) -> *mut php_stream;
9284}
9285extern "C" {
9286 pub static mut php_stream_stdio_ops: php_stream_ops;
9287}
9288extern "C" {
9289 pub static mut php_plain_files_wrapper: php_stream_wrapper;
9290}
9291extern "C" {
9292 pub static mut php_glob_stream_wrapper: php_stream_wrapper;
9293}
9294extern "C" {
9295 pub static mut php_glob_stream_ops: php_stream_ops;
9296}
9297extern "C" {
9298 pub static mut php_stream_userspace_ops: php_stream_ops;
9299}
9300extern "C" {
9301 pub static mut php_stream_userspace_dir_ops: php_stream_ops;
9302}
9303extern "C" {
9304 pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
9305}
9306extern "C" {
9307 pub fn php_shutdown_stream_wrappers(
9308 module_number: ::std::os::raw::c_int,
9309 ) -> ::std::os::raw::c_int;
9310}
9311extern "C" {
9312 pub fn php_shutdown_stream_hashes();
9313}
9314extern "C" {
9315 pub fn php_register_url_stream_wrapper(
9316 protocol: *const ::std::os::raw::c_char,
9317 wrapper: *mut php_stream_wrapper,
9318 ) -> ::std::os::raw::c_int;
9319}
9320extern "C" {
9321 pub fn php_unregister_url_stream_wrapper(
9322 protocol: *const ::std::os::raw::c_char,
9323 ) -> ::std::os::raw::c_int;
9324}
9325extern "C" {
9326 pub fn php_register_url_stream_wrapper_volatile(
9327 protocol: *const ::std::os::raw::c_char,
9328 wrapper: *mut php_stream_wrapper,
9329 ) -> ::std::os::raw::c_int;
9330}
9331extern "C" {
9332 pub fn php_unregister_url_stream_wrapper_volatile(
9333 protocol: *const ::std::os::raw::c_char,
9334 ) -> ::std::os::raw::c_int;
9335}
9336extern "C" {
9337 pub fn php_stream_locate_url_wrapper(
9338 path: *const ::std::os::raw::c_char,
9339 path_for_open: *mut *const ::std::os::raw::c_char,
9340 options: ::std::os::raw::c_int,
9341 ) -> *mut php_stream_wrapper;
9342}
9343extern "C" {
9344 pub fn php_stream_locate_eol(
9345 stream: *mut php_stream,
9346 buf: *mut zend_string,
9347 ) -> *const ::std::os::raw::c_char;
9348}
9349extern "C" {
9350 pub fn php_stream_wrapper_log_error(
9351 wrapper: *mut php_stream_wrapper,
9352 options: ::std::os::raw::c_int,
9353 fmt: *const ::std::os::raw::c_char,
9354 ...
9355 );
9356}
9357extern "C" {
9358 pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
9359}
9360extern "C" {
9361 pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
9362}
9363extern "C" {
9364 pub static mut php_stream_user_wrapper_ops: *mut php_stream_wrapper_ops;
9365}
9366extern "C" {
9367 pub static mut php_stream_memory_ops: php_stream_ops;
9368}
9369extern "C" {
9370 pub static mut php_stream_temp_ops: php_stream_ops;
9371}
9372extern "C" {
9373 pub static mut php_stream_rfc2397_ops: php_stream_ops;
9374}
9375extern "C" {
9376 pub static mut php_stream_rfc2397_wrapper: php_stream_wrapper;
9377}
9378#[repr(C)]
9379#[derive(Copy, Clone)]
9380pub struct _php_core_globals {
9381 pub implicit_flush: zend_bool,
9382 pub output_buffering: zend_long,
9383 pub enable_dl: zend_bool,
9384 pub output_handler: *mut ::std::os::raw::c_char,
9385 pub unserialize_callback_func: *mut ::std::os::raw::c_char,
9386 pub serialize_precision: zend_long,
9387 pub memory_limit: zend_long,
9388 pub max_input_time: zend_long,
9389 pub track_errors: zend_bool,
9390 pub display_errors: zend_bool,
9391 pub display_startup_errors: zend_bool,
9392 pub log_errors: zend_bool,
9393 pub log_errors_max_len: zend_long,
9394 pub ignore_repeated_errors: zend_bool,
9395 pub ignore_repeated_source: zend_bool,
9396 pub report_memleaks: zend_bool,
9397 pub error_log: *mut ::std::os::raw::c_char,
9398 pub doc_root: *mut ::std::os::raw::c_char,
9399 pub user_dir: *mut ::std::os::raw::c_char,
9400 pub include_path: *mut ::std::os::raw::c_char,
9401 pub open_basedir: *mut ::std::os::raw::c_char,
9402 pub extension_dir: *mut ::std::os::raw::c_char,
9403 pub php_binary: *mut ::std::os::raw::c_char,
9404 pub sys_temp_dir: *mut ::std::os::raw::c_char,
9405 pub upload_tmp_dir: *mut ::std::os::raw::c_char,
9406 pub upload_max_filesize: zend_long,
9407 pub error_append_string: *mut ::std::os::raw::c_char,
9408 pub error_prepend_string: *mut ::std::os::raw::c_char,
9409 pub auto_prepend_file: *mut ::std::os::raw::c_char,
9410 pub auto_append_file: *mut ::std::os::raw::c_char,
9411 pub input_encoding: *mut ::std::os::raw::c_char,
9412 pub internal_encoding: *mut ::std::os::raw::c_char,
9413 pub output_encoding: *mut ::std::os::raw::c_char,
9414 pub arg_separator: arg_separators,
9415 pub variables_order: *mut ::std::os::raw::c_char,
9416 pub rfc1867_protected_variables: HashTable,
9417 pub connection_status: ::std::os::raw::c_short,
9418 pub ignore_user_abort: zend_bool,
9419 pub ignore_user_abort_reserved_padding: ::std::os::raw::c_char,
9420 pub header_is_being_sent: ::std::os::raw::c_uchar,
9421 pub tick_functions: zend_llist,
9422 pub http_globals: [zval; 6usize],
9423 pub expose_php: zend_bool,
9424 pub register_argc_argv: zend_bool,
9425 pub auto_globals_jit: zend_bool,
9426 pub docref_root: *mut ::std::os::raw::c_char,
9427 pub docref_ext: *mut ::std::os::raw::c_char,
9428 pub html_errors: zend_bool,
9429 pub xmlrpc_errors: zend_bool,
9430 pub xmlrpc_error_number: zend_long,
9431 pub activated_auto_globals: [zend_bool; 8usize],
9432 pub modules_activated: zend_bool,
9433 pub file_uploads: zend_bool,
9434 pub during_request_startup: zend_bool,
9435 pub allow_url_fopen: zend_bool,
9436 pub enable_post_data_reading: zend_bool,
9437 pub report_zend_debug: zend_bool,
9438 pub last_error_type: ::std::os::raw::c_int,
9439 pub last_error_message: *mut ::std::os::raw::c_char,
9440 pub last_error_file: *mut ::std::os::raw::c_char,
9441 pub last_error_lineno: ::std::os::raw::c_int,
9442 pub php_sys_temp_dir: *mut ::std::os::raw::c_char,
9443 pub disable_functions: *mut ::std::os::raw::c_char,
9444 pub disable_classes: *mut ::std::os::raw::c_char,
9445 pub allow_url_include: zend_bool,
9446 pub max_input_nesting_level: zend_long,
9447 pub max_input_vars: zend_long,
9448 pub in_user_include: zend_bool,
9449 pub user_ini_filename: *mut ::std::os::raw::c_char,
9450 pub user_ini_cache_ttl: zend_long,
9451 pub request_order: *mut ::std::os::raw::c_char,
9452 pub mail_x_header: zend_bool,
9453 pub mail_log: *mut ::std::os::raw::c_char,
9454 pub in_error_log: zend_bool,
9455}
9456#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9457const _: () = {
9458 ["Size of _php_core_globals"][::std::mem::size_of::<_php_core_globals>() - 656usize];
9459 ["Alignment of _php_core_globals"][::std::mem::align_of::<_php_core_globals>() - 8usize];
9460 ["Offset of field: _php_core_globals::implicit_flush"]
9461 [::std::mem::offset_of!(_php_core_globals, implicit_flush) - 0usize];
9462 ["Offset of field: _php_core_globals::output_buffering"]
9463 [::std::mem::offset_of!(_php_core_globals, output_buffering) - 8usize];
9464 ["Offset of field: _php_core_globals::enable_dl"]
9465 [::std::mem::offset_of!(_php_core_globals, enable_dl) - 16usize];
9466 ["Offset of field: _php_core_globals::output_handler"]
9467 [::std::mem::offset_of!(_php_core_globals, output_handler) - 24usize];
9468 ["Offset of field: _php_core_globals::unserialize_callback_func"]
9469 [::std::mem::offset_of!(_php_core_globals, unserialize_callback_func) - 32usize];
9470 ["Offset of field: _php_core_globals::serialize_precision"]
9471 [::std::mem::offset_of!(_php_core_globals, serialize_precision) - 40usize];
9472 ["Offset of field: _php_core_globals::memory_limit"]
9473 [::std::mem::offset_of!(_php_core_globals, memory_limit) - 48usize];
9474 ["Offset of field: _php_core_globals::max_input_time"]
9475 [::std::mem::offset_of!(_php_core_globals, max_input_time) - 56usize];
9476 ["Offset of field: _php_core_globals::track_errors"]
9477 [::std::mem::offset_of!(_php_core_globals, track_errors) - 64usize];
9478 ["Offset of field: _php_core_globals::display_errors"]
9479 [::std::mem::offset_of!(_php_core_globals, display_errors) - 65usize];
9480 ["Offset of field: _php_core_globals::display_startup_errors"]
9481 [::std::mem::offset_of!(_php_core_globals, display_startup_errors) - 66usize];
9482 ["Offset of field: _php_core_globals::log_errors"]
9483 [::std::mem::offset_of!(_php_core_globals, log_errors) - 67usize];
9484 ["Offset of field: _php_core_globals::log_errors_max_len"]
9485 [::std::mem::offset_of!(_php_core_globals, log_errors_max_len) - 72usize];
9486 ["Offset of field: _php_core_globals::ignore_repeated_errors"]
9487 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_errors) - 80usize];
9488 ["Offset of field: _php_core_globals::ignore_repeated_source"]
9489 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_source) - 81usize];
9490 ["Offset of field: _php_core_globals::report_memleaks"]
9491 [::std::mem::offset_of!(_php_core_globals, report_memleaks) - 82usize];
9492 ["Offset of field: _php_core_globals::error_log"]
9493 [::std::mem::offset_of!(_php_core_globals, error_log) - 88usize];
9494 ["Offset of field: _php_core_globals::doc_root"]
9495 [::std::mem::offset_of!(_php_core_globals, doc_root) - 96usize];
9496 ["Offset of field: _php_core_globals::user_dir"]
9497 [::std::mem::offset_of!(_php_core_globals, user_dir) - 104usize];
9498 ["Offset of field: _php_core_globals::include_path"]
9499 [::std::mem::offset_of!(_php_core_globals, include_path) - 112usize];
9500 ["Offset of field: _php_core_globals::open_basedir"]
9501 [::std::mem::offset_of!(_php_core_globals, open_basedir) - 120usize];
9502 ["Offset of field: _php_core_globals::extension_dir"]
9503 [::std::mem::offset_of!(_php_core_globals, extension_dir) - 128usize];
9504 ["Offset of field: _php_core_globals::php_binary"]
9505 [::std::mem::offset_of!(_php_core_globals, php_binary) - 136usize];
9506 ["Offset of field: _php_core_globals::sys_temp_dir"]
9507 [::std::mem::offset_of!(_php_core_globals, sys_temp_dir) - 144usize];
9508 ["Offset of field: _php_core_globals::upload_tmp_dir"]
9509 [::std::mem::offset_of!(_php_core_globals, upload_tmp_dir) - 152usize];
9510 ["Offset of field: _php_core_globals::upload_max_filesize"]
9511 [::std::mem::offset_of!(_php_core_globals, upload_max_filesize) - 160usize];
9512 ["Offset of field: _php_core_globals::error_append_string"]
9513 [::std::mem::offset_of!(_php_core_globals, error_append_string) - 168usize];
9514 ["Offset of field: _php_core_globals::error_prepend_string"]
9515 [::std::mem::offset_of!(_php_core_globals, error_prepend_string) - 176usize];
9516 ["Offset of field: _php_core_globals::auto_prepend_file"]
9517 [::std::mem::offset_of!(_php_core_globals, auto_prepend_file) - 184usize];
9518 ["Offset of field: _php_core_globals::auto_append_file"]
9519 [::std::mem::offset_of!(_php_core_globals, auto_append_file) - 192usize];
9520 ["Offset of field: _php_core_globals::input_encoding"]
9521 [::std::mem::offset_of!(_php_core_globals, input_encoding) - 200usize];
9522 ["Offset of field: _php_core_globals::internal_encoding"]
9523 [::std::mem::offset_of!(_php_core_globals, internal_encoding) - 208usize];
9524 ["Offset of field: _php_core_globals::output_encoding"]
9525 [::std::mem::offset_of!(_php_core_globals, output_encoding) - 216usize];
9526 ["Offset of field: _php_core_globals::arg_separator"]
9527 [::std::mem::offset_of!(_php_core_globals, arg_separator) - 224usize];
9528 ["Offset of field: _php_core_globals::variables_order"]
9529 [::std::mem::offset_of!(_php_core_globals, variables_order) - 240usize];
9530 ["Offset of field: _php_core_globals::rfc1867_protected_variables"]
9531 [::std::mem::offset_of!(_php_core_globals, rfc1867_protected_variables) - 248usize];
9532 ["Offset of field: _php_core_globals::connection_status"]
9533 [::std::mem::offset_of!(_php_core_globals, connection_status) - 304usize];
9534 ["Offset of field: _php_core_globals::ignore_user_abort"]
9535 [::std::mem::offset_of!(_php_core_globals, ignore_user_abort) - 306usize];
9536 ["Offset of field: _php_core_globals::ignore_user_abort_reserved_padding"]
9537 [::std::mem::offset_of!(_php_core_globals, ignore_user_abort_reserved_padding) - 307usize];
9538 ["Offset of field: _php_core_globals::header_is_being_sent"]
9539 [::std::mem::offset_of!(_php_core_globals, header_is_being_sent) - 308usize];
9540 ["Offset of field: _php_core_globals::tick_functions"]
9541 [::std::mem::offset_of!(_php_core_globals, tick_functions) - 312usize];
9542 ["Offset of field: _php_core_globals::http_globals"]
9543 [::std::mem::offset_of!(_php_core_globals, http_globals) - 368usize];
9544 ["Offset of field: _php_core_globals::expose_php"]
9545 [::std::mem::offset_of!(_php_core_globals, expose_php) - 464usize];
9546 ["Offset of field: _php_core_globals::register_argc_argv"]
9547 [::std::mem::offset_of!(_php_core_globals, register_argc_argv) - 465usize];
9548 ["Offset of field: _php_core_globals::auto_globals_jit"]
9549 [::std::mem::offset_of!(_php_core_globals, auto_globals_jit) - 466usize];
9550 ["Offset of field: _php_core_globals::docref_root"]
9551 [::std::mem::offset_of!(_php_core_globals, docref_root) - 472usize];
9552 ["Offset of field: _php_core_globals::docref_ext"]
9553 [::std::mem::offset_of!(_php_core_globals, docref_ext) - 480usize];
9554 ["Offset of field: _php_core_globals::html_errors"]
9555 [::std::mem::offset_of!(_php_core_globals, html_errors) - 488usize];
9556 ["Offset of field: _php_core_globals::xmlrpc_errors"]
9557 [::std::mem::offset_of!(_php_core_globals, xmlrpc_errors) - 489usize];
9558 ["Offset of field: _php_core_globals::xmlrpc_error_number"]
9559 [::std::mem::offset_of!(_php_core_globals, xmlrpc_error_number) - 496usize];
9560 ["Offset of field: _php_core_globals::activated_auto_globals"]
9561 [::std::mem::offset_of!(_php_core_globals, activated_auto_globals) - 504usize];
9562 ["Offset of field: _php_core_globals::modules_activated"]
9563 [::std::mem::offset_of!(_php_core_globals, modules_activated) - 512usize];
9564 ["Offset of field: _php_core_globals::file_uploads"]
9565 [::std::mem::offset_of!(_php_core_globals, file_uploads) - 513usize];
9566 ["Offset of field: _php_core_globals::during_request_startup"]
9567 [::std::mem::offset_of!(_php_core_globals, during_request_startup) - 514usize];
9568 ["Offset of field: _php_core_globals::allow_url_fopen"]
9569 [::std::mem::offset_of!(_php_core_globals, allow_url_fopen) - 515usize];
9570 ["Offset of field: _php_core_globals::enable_post_data_reading"]
9571 [::std::mem::offset_of!(_php_core_globals, enable_post_data_reading) - 516usize];
9572 ["Offset of field: _php_core_globals::report_zend_debug"]
9573 [::std::mem::offset_of!(_php_core_globals, report_zend_debug) - 517usize];
9574 ["Offset of field: _php_core_globals::last_error_type"]
9575 [::std::mem::offset_of!(_php_core_globals, last_error_type) - 520usize];
9576 ["Offset of field: _php_core_globals::last_error_message"]
9577 [::std::mem::offset_of!(_php_core_globals, last_error_message) - 528usize];
9578 ["Offset of field: _php_core_globals::last_error_file"]
9579 [::std::mem::offset_of!(_php_core_globals, last_error_file) - 536usize];
9580 ["Offset of field: _php_core_globals::last_error_lineno"]
9581 [::std::mem::offset_of!(_php_core_globals, last_error_lineno) - 544usize];
9582 ["Offset of field: _php_core_globals::php_sys_temp_dir"]
9583 [::std::mem::offset_of!(_php_core_globals, php_sys_temp_dir) - 552usize];
9584 ["Offset of field: _php_core_globals::disable_functions"]
9585 [::std::mem::offset_of!(_php_core_globals, disable_functions) - 560usize];
9586 ["Offset of field: _php_core_globals::disable_classes"]
9587 [::std::mem::offset_of!(_php_core_globals, disable_classes) - 568usize];
9588 ["Offset of field: _php_core_globals::allow_url_include"]
9589 [::std::mem::offset_of!(_php_core_globals, allow_url_include) - 576usize];
9590 ["Offset of field: _php_core_globals::max_input_nesting_level"]
9591 [::std::mem::offset_of!(_php_core_globals, max_input_nesting_level) - 584usize];
9592 ["Offset of field: _php_core_globals::max_input_vars"]
9593 [::std::mem::offset_of!(_php_core_globals, max_input_vars) - 592usize];
9594 ["Offset of field: _php_core_globals::in_user_include"]
9595 [::std::mem::offset_of!(_php_core_globals, in_user_include) - 600usize];
9596 ["Offset of field: _php_core_globals::user_ini_filename"]
9597 [::std::mem::offset_of!(_php_core_globals, user_ini_filename) - 608usize];
9598 ["Offset of field: _php_core_globals::user_ini_cache_ttl"]
9599 [::std::mem::offset_of!(_php_core_globals, user_ini_cache_ttl) - 616usize];
9600 ["Offset of field: _php_core_globals::request_order"]
9601 [::std::mem::offset_of!(_php_core_globals, request_order) - 624usize];
9602 ["Offset of field: _php_core_globals::mail_x_header"]
9603 [::std::mem::offset_of!(_php_core_globals, mail_x_header) - 632usize];
9604 ["Offset of field: _php_core_globals::mail_log"]
9605 [::std::mem::offset_of!(_php_core_globals, mail_log) - 640usize];
9606 ["Offset of field: _php_core_globals::in_error_log"]
9607 [::std::mem::offset_of!(_php_core_globals, in_error_log) - 648usize];
9608};
9609extern "C" {
9610 pub static mut core_globals: _php_core_globals;
9611}
9612#[repr(C)]
9613#[derive(Debug, Copy, Clone)]
9614pub struct _arg_separators {
9615 pub output: *mut ::std::os::raw::c_char,
9616 pub input: *mut ::std::os::raw::c_char,
9617}
9618#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9619const _: () = {
9620 ["Size of _arg_separators"][::std::mem::size_of::<_arg_separators>() - 16usize];
9621 ["Alignment of _arg_separators"][::std::mem::align_of::<_arg_separators>() - 8usize];
9622 ["Offset of field: _arg_separators::output"]
9623 [::std::mem::offset_of!(_arg_separators, output) - 0usize];
9624 ["Offset of field: _arg_separators::input"]
9625 [::std::mem::offset_of!(_arg_separators, input) - 8usize];
9626};
9627pub type arg_separators = _arg_separators;
9628#[repr(C)]
9629#[derive(Debug, Copy, Clone)]
9630pub struct _zend_ini_entry_def {
9631 pub name: *const ::std::os::raw::c_char,
9632 pub on_modify: ::std::option::Option<
9633 unsafe extern "C" fn(
9634 entry: *mut zend_ini_entry,
9635 new_value: *mut zend_string,
9636 mh_arg1: *mut ::std::os::raw::c_void,
9637 mh_arg2: *mut ::std::os::raw::c_void,
9638 mh_arg3: *mut ::std::os::raw::c_void,
9639 stage: ::std::os::raw::c_int,
9640 ) -> ::std::os::raw::c_int,
9641 >,
9642 pub mh_arg1: *mut ::std::os::raw::c_void,
9643 pub mh_arg2: *mut ::std::os::raw::c_void,
9644 pub mh_arg3: *mut ::std::os::raw::c_void,
9645 pub value: *const ::std::os::raw::c_char,
9646 pub displayer: ::std::option::Option<
9647 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
9648 >,
9649 pub modifiable: ::std::os::raw::c_int,
9650 pub name_length: u32,
9651 pub value_length: u32,
9652}
9653#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9654const _: () = {
9655 ["Size of _zend_ini_entry_def"][::std::mem::size_of::<_zend_ini_entry_def>() - 72usize];
9656 ["Alignment of _zend_ini_entry_def"][::std::mem::align_of::<_zend_ini_entry_def>() - 8usize];
9657 ["Offset of field: _zend_ini_entry_def::name"]
9658 [::std::mem::offset_of!(_zend_ini_entry_def, name) - 0usize];
9659 ["Offset of field: _zend_ini_entry_def::on_modify"]
9660 [::std::mem::offset_of!(_zend_ini_entry_def, on_modify) - 8usize];
9661 ["Offset of field: _zend_ini_entry_def::mh_arg1"]
9662 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg1) - 16usize];
9663 ["Offset of field: _zend_ini_entry_def::mh_arg2"]
9664 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg2) - 24usize];
9665 ["Offset of field: _zend_ini_entry_def::mh_arg3"]
9666 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg3) - 32usize];
9667 ["Offset of field: _zend_ini_entry_def::value"]
9668 [::std::mem::offset_of!(_zend_ini_entry_def, value) - 40usize];
9669 ["Offset of field: _zend_ini_entry_def::displayer"]
9670 [::std::mem::offset_of!(_zend_ini_entry_def, displayer) - 48usize];
9671 ["Offset of field: _zend_ini_entry_def::modifiable"]
9672 [::std::mem::offset_of!(_zend_ini_entry_def, modifiable) - 56usize];
9673 ["Offset of field: _zend_ini_entry_def::name_length"]
9674 [::std::mem::offset_of!(_zend_ini_entry_def, name_length) - 60usize];
9675 ["Offset of field: _zend_ini_entry_def::value_length"]
9676 [::std::mem::offset_of!(_zend_ini_entry_def, value_length) - 64usize];
9677};
9678pub type zend_ini_entry_def = _zend_ini_entry_def;
9679#[repr(C)]
9680#[derive(Debug, Copy, Clone)]
9681pub struct _zend_ini_entry {
9682 pub name: *mut zend_string,
9683 pub on_modify: ::std::option::Option<
9684 unsafe extern "C" fn(
9685 entry: *mut zend_ini_entry,
9686 new_value: *mut zend_string,
9687 mh_arg1: *mut ::std::os::raw::c_void,
9688 mh_arg2: *mut ::std::os::raw::c_void,
9689 mh_arg3: *mut ::std::os::raw::c_void,
9690 stage: ::std::os::raw::c_int,
9691 ) -> ::std::os::raw::c_int,
9692 >,
9693 pub mh_arg1: *mut ::std::os::raw::c_void,
9694 pub mh_arg2: *mut ::std::os::raw::c_void,
9695 pub mh_arg3: *mut ::std::os::raw::c_void,
9696 pub value: *mut zend_string,
9697 pub orig_value: *mut zend_string,
9698 pub displayer: ::std::option::Option<
9699 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
9700 >,
9701 pub modifiable: ::std::os::raw::c_int,
9702 pub orig_modifiable: ::std::os::raw::c_int,
9703 pub modified: ::std::os::raw::c_int,
9704 pub module_number: ::std::os::raw::c_int,
9705}
9706#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9707const _: () = {
9708 ["Size of _zend_ini_entry"][::std::mem::size_of::<_zend_ini_entry>() - 80usize];
9709 ["Alignment of _zend_ini_entry"][::std::mem::align_of::<_zend_ini_entry>() - 8usize];
9710 ["Offset of field: _zend_ini_entry::name"]
9711 [::std::mem::offset_of!(_zend_ini_entry, name) - 0usize];
9712 ["Offset of field: _zend_ini_entry::on_modify"]
9713 [::std::mem::offset_of!(_zend_ini_entry, on_modify) - 8usize];
9714 ["Offset of field: _zend_ini_entry::mh_arg1"]
9715 [::std::mem::offset_of!(_zend_ini_entry, mh_arg1) - 16usize];
9716 ["Offset of field: _zend_ini_entry::mh_arg2"]
9717 [::std::mem::offset_of!(_zend_ini_entry, mh_arg2) - 24usize];
9718 ["Offset of field: _zend_ini_entry::mh_arg3"]
9719 [::std::mem::offset_of!(_zend_ini_entry, mh_arg3) - 32usize];
9720 ["Offset of field: _zend_ini_entry::value"]
9721 [::std::mem::offset_of!(_zend_ini_entry, value) - 40usize];
9722 ["Offset of field: _zend_ini_entry::orig_value"]
9723 [::std::mem::offset_of!(_zend_ini_entry, orig_value) - 48usize];
9724 ["Offset of field: _zend_ini_entry::displayer"]
9725 [::std::mem::offset_of!(_zend_ini_entry, displayer) - 56usize];
9726 ["Offset of field: _zend_ini_entry::modifiable"]
9727 [::std::mem::offset_of!(_zend_ini_entry, modifiable) - 64usize];
9728 ["Offset of field: _zend_ini_entry::orig_modifiable"]
9729 [::std::mem::offset_of!(_zend_ini_entry, orig_modifiable) - 68usize];
9730 ["Offset of field: _zend_ini_entry::modified"]
9731 [::std::mem::offset_of!(_zend_ini_entry, modified) - 72usize];
9732 ["Offset of field: _zend_ini_entry::module_number"]
9733 [::std::mem::offset_of!(_zend_ini_entry, module_number) - 76usize];
9734};
9735extern "C" {
9736 pub fn zend_ini_startup() -> ::std::os::raw::c_int;
9737}
9738extern "C" {
9739 pub fn zend_ini_shutdown() -> ::std::os::raw::c_int;
9740}
9741extern "C" {
9742 pub fn zend_ini_global_shutdown() -> ::std::os::raw::c_int;
9743}
9744extern "C" {
9745 pub fn zend_ini_deactivate() -> ::std::os::raw::c_int;
9746}
9747extern "C" {
9748 pub fn zend_ini_dtor(ini_directives: *mut HashTable);
9749}
9750extern "C" {
9751 pub fn zend_copy_ini_directives() -> ::std::os::raw::c_int;
9752}
9753extern "C" {
9754 pub fn zend_ini_sort_entries();
9755}
9756extern "C" {
9757 pub fn zend_register_ini_entries(
9758 ini_entry: *const zend_ini_entry_def,
9759 module_number: ::std::os::raw::c_int,
9760 ) -> ::std::os::raw::c_int;
9761}
9762extern "C" {
9763 pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
9764}
9765extern "C" {
9766 pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
9767}
9768extern "C" {
9769 pub fn zend_alter_ini_entry(
9770 name: *mut zend_string,
9771 new_value: *mut zend_string,
9772 modify_type: ::std::os::raw::c_int,
9773 stage: ::std::os::raw::c_int,
9774 ) -> ::std::os::raw::c_int;
9775}
9776extern "C" {
9777 pub fn zend_alter_ini_entry_ex(
9778 name: *mut zend_string,
9779 new_value: *mut zend_string,
9780 modify_type: ::std::os::raw::c_int,
9781 stage: ::std::os::raw::c_int,
9782 force_change: ::std::os::raw::c_int,
9783 ) -> ::std::os::raw::c_int;
9784}
9785extern "C" {
9786 pub fn zend_alter_ini_entry_chars(
9787 name: *mut zend_string,
9788 value: *const ::std::os::raw::c_char,
9789 value_length: usize,
9790 modify_type: ::std::os::raw::c_int,
9791 stage: ::std::os::raw::c_int,
9792 ) -> ::std::os::raw::c_int;
9793}
9794extern "C" {
9795 pub fn zend_alter_ini_entry_chars_ex(
9796 name: *mut zend_string,
9797 value: *const ::std::os::raw::c_char,
9798 value_length: usize,
9799 modify_type: ::std::os::raw::c_int,
9800 stage: ::std::os::raw::c_int,
9801 force_change: ::std::os::raw::c_int,
9802 ) -> ::std::os::raw::c_int;
9803}
9804extern "C" {
9805 pub fn zend_restore_ini_entry(
9806 name: *mut zend_string,
9807 stage: ::std::os::raw::c_int,
9808 ) -> ::std::os::raw::c_int;
9809}
9810extern "C" {
9811 pub fn zend_ini_long(
9812 name: *mut ::std::os::raw::c_char,
9813 name_length: u32,
9814 orig: ::std::os::raw::c_int,
9815 ) -> zend_long;
9816}
9817extern "C" {
9818 pub fn zend_ini_double(
9819 name: *mut ::std::os::raw::c_char,
9820 name_length: u32,
9821 orig: ::std::os::raw::c_int,
9822 ) -> f64;
9823}
9824extern "C" {
9825 pub fn zend_ini_string(
9826 name: *mut ::std::os::raw::c_char,
9827 name_length: u32,
9828 orig: ::std::os::raw::c_int,
9829 ) -> *mut ::std::os::raw::c_char;
9830}
9831extern "C" {
9832 pub fn zend_ini_string_ex(
9833 name: *mut ::std::os::raw::c_char,
9834 name_length: u32,
9835 orig: ::std::os::raw::c_int,
9836 exists: *mut zend_bool,
9837 ) -> *mut ::std::os::raw::c_char;
9838}
9839extern "C" {
9840 pub fn zend_ini_register_displayer(
9841 name: *mut ::std::os::raw::c_char,
9842 name_length: u32,
9843 displayer: ::std::option::Option<
9844 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
9845 >,
9846 ) -> ::std::os::raw::c_int;
9847}
9848extern "C" {
9849 pub fn zend_ini_boolean_displayer_cb(
9850 ini_entry: *mut zend_ini_entry,
9851 type_: ::std::os::raw::c_int,
9852 );
9853}
9854extern "C" {
9855 pub fn zend_ini_color_displayer_cb(
9856 ini_entry: *mut zend_ini_entry,
9857 type_: ::std::os::raw::c_int,
9858 );
9859}
9860pub type zend_ini_parser_cb_t = ::std::option::Option<
9861 unsafe extern "C" fn(
9862 arg1: *mut zval,
9863 arg2: *mut zval,
9864 arg3: *mut zval,
9865 callback_type: ::std::os::raw::c_int,
9866 arg: *mut ::std::os::raw::c_void,
9867 ),
9868>;
9869extern "C" {
9870 pub fn zend_parse_ini_file(
9871 fh: *mut zend_file_handle,
9872 unbuffered_errors: zend_bool,
9873 scanner_mode: ::std::os::raw::c_int,
9874 ini_parser_cb: zend_ini_parser_cb_t,
9875 arg: *mut ::std::os::raw::c_void,
9876 ) -> ::std::os::raw::c_int;
9877}
9878extern "C" {
9879 pub fn zend_parse_ini_string(
9880 str_: *mut ::std::os::raw::c_char,
9881 unbuffered_errors: zend_bool,
9882 scanner_mode: ::std::os::raw::c_int,
9883 ini_parser_cb: zend_ini_parser_cb_t,
9884 arg: *mut ::std::os::raw::c_void,
9885 ) -> ::std::os::raw::c_int;
9886}
9887#[repr(C)]
9888#[derive(Debug, Copy, Clone)]
9889pub struct _zend_ini_parser_param {
9890 pub ini_parser_cb: zend_ini_parser_cb_t,
9891 pub arg: *mut ::std::os::raw::c_void,
9892}
9893#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9894const _: () = {
9895 ["Size of _zend_ini_parser_param"][::std::mem::size_of::<_zend_ini_parser_param>() - 16usize];
9896 ["Alignment of _zend_ini_parser_param"]
9897 [::std::mem::align_of::<_zend_ini_parser_param>() - 8usize];
9898 ["Offset of field: _zend_ini_parser_param::ini_parser_cb"]
9899 [::std::mem::offset_of!(_zend_ini_parser_param, ini_parser_cb) - 0usize];
9900 ["Offset of field: _zend_ini_parser_param::arg"]
9901 [::std::mem::offset_of!(_zend_ini_parser_param, arg) - 8usize];
9902};
9903pub type zend_ini_parser_param = _zend_ini_parser_param;
9904extern "C" {
9905 pub fn php_init_config() -> ::std::os::raw::c_int;
9906}
9907extern "C" {
9908 pub fn php_shutdown_config() -> ::std::os::raw::c_int;
9909}
9910extern "C" {
9911 pub fn php_ini_register_extensions();
9912}
9913extern "C" {
9914 pub fn php_parse_user_ini_file(
9915 dirname: *const ::std::os::raw::c_char,
9916 ini_filename: *mut ::std::os::raw::c_char,
9917 target_hash: *mut HashTable,
9918 ) -> ::std::os::raw::c_int;
9919}
9920extern "C" {
9921 pub fn php_ini_activate_config(
9922 source_hash: *mut HashTable,
9923 modify_type: ::std::os::raw::c_int,
9924 stage: ::std::os::raw::c_int,
9925 );
9926}
9927extern "C" {
9928 pub fn php_ini_has_per_dir_config() -> ::std::os::raw::c_int;
9929}
9930extern "C" {
9931 pub fn php_ini_has_per_host_config() -> ::std::os::raw::c_int;
9932}
9933extern "C" {
9934 pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: usize);
9935}
9936extern "C" {
9937 pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: usize);
9938}
9939extern "C" {
9940 pub fn php_ini_get_configuration_hash() -> *mut HashTable;
9941}
9942extern "C" {
9943 pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
9944}
9945extern "C" {
9946 pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
9947}
9948extern "C" {
9949 pub fn php_check_open_basedir_ex(
9950 path: *const ::std::os::raw::c_char,
9951 warn: ::std::os::raw::c_int,
9952 ) -> ::std::os::raw::c_int;
9953}
9954extern "C" {
9955 pub fn php_check_specific_open_basedir(
9956 basedir: *const ::std::os::raw::c_char,
9957 path: *const ::std::os::raw::c_char,
9958 ) -> ::std::os::raw::c_int;
9959}
9960extern "C" {
9961 pub fn php_check_safe_mode_include_dir(
9962 path: *const ::std::os::raw::c_char,
9963 ) -> ::std::os::raw::c_int;
9964}
9965extern "C" {
9966 pub fn php_resolve_path(
9967 filename: *const ::std::os::raw::c_char,
9968 filename_len: ::std::os::raw::c_int,
9969 path: *const ::std::os::raw::c_char,
9970 ) -> *mut zend_string;
9971}
9972extern "C" {
9973 pub fn php_fopen_with_path(
9974 filename: *const ::std::os::raw::c_char,
9975 mode: *const ::std::os::raw::c_char,
9976 path: *const ::std::os::raw::c_char,
9977 opened_path: *mut *mut zend_string,
9978 ) -> *mut FILE;
9979}
9980extern "C" {
9981 pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
9982}
9983#[repr(C)]
9984#[derive(Debug, Copy, Clone)]
9985pub struct _cwd_state {
9986 pub cwd: *mut ::std::os::raw::c_char,
9987 pub cwd_length: ::std::os::raw::c_int,
9988}
9989#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9990const _: () = {
9991 ["Size of _cwd_state"][::std::mem::size_of::<_cwd_state>() - 16usize];
9992 ["Alignment of _cwd_state"][::std::mem::align_of::<_cwd_state>() - 8usize];
9993 ["Offset of field: _cwd_state::cwd"][::std::mem::offset_of!(_cwd_state, cwd) - 0usize];
9994 ["Offset of field: _cwd_state::cwd_length"]
9995 [::std::mem::offset_of!(_cwd_state, cwd_length) - 8usize];
9996};
9997pub type cwd_state = _cwd_state;
9998#[repr(C)]
9999#[derive(Debug, Copy, Clone)]
10000pub struct _realpath_cache_bucket {
10001 pub key: zend_ulong,
10002 pub path: *mut ::std::os::raw::c_char,
10003 pub realpath: *mut ::std::os::raw::c_char,
10004 pub next: *mut _realpath_cache_bucket,
10005 pub expires: time_t,
10006 pub path_len: u16,
10007 pub realpath_len: u16,
10008 pub _bitfield_align_1: [u8; 0],
10009 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
10010 pub __bindgen_padding_0: [u8; 3usize],
10011}
10012#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10013const _: () = {
10014 ["Size of _realpath_cache_bucket"][::std::mem::size_of::<_realpath_cache_bucket>() - 48usize];
10015 ["Alignment of _realpath_cache_bucket"]
10016 [::std::mem::align_of::<_realpath_cache_bucket>() - 8usize];
10017 ["Offset of field: _realpath_cache_bucket::key"]
10018 [::std::mem::offset_of!(_realpath_cache_bucket, key) - 0usize];
10019 ["Offset of field: _realpath_cache_bucket::path"]
10020 [::std::mem::offset_of!(_realpath_cache_bucket, path) - 8usize];
10021 ["Offset of field: _realpath_cache_bucket::realpath"]
10022 [::std::mem::offset_of!(_realpath_cache_bucket, realpath) - 16usize];
10023 ["Offset of field: _realpath_cache_bucket::next"]
10024 [::std::mem::offset_of!(_realpath_cache_bucket, next) - 24usize];
10025 ["Offset of field: _realpath_cache_bucket::expires"]
10026 [::std::mem::offset_of!(_realpath_cache_bucket, expires) - 32usize];
10027 ["Offset of field: _realpath_cache_bucket::path_len"]
10028 [::std::mem::offset_of!(_realpath_cache_bucket, path_len) - 40usize];
10029 ["Offset of field: _realpath_cache_bucket::realpath_len"]
10030 [::std::mem::offset_of!(_realpath_cache_bucket, realpath_len) - 42usize];
10031};
10032impl _realpath_cache_bucket {
10033 #[inline]
10034 pub fn is_dir(&self) -> u8 {
10035 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
10036 }
10037 #[inline]
10038 pub fn set_is_dir(&mut self, val: u8) {
10039 unsafe {
10040 let val: u8 = ::std::mem::transmute(val);
10041 self._bitfield_1.set(0usize, 1u8, val as u64)
10042 }
10043 }
10044 #[inline]
10045 pub fn new_bitfield_1(is_dir: u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
10046 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
10047 __bindgen_bitfield_unit.set(0usize, 1u8, {
10048 let is_dir: u8 = unsafe { ::std::mem::transmute(is_dir) };
10049 is_dir as u64
10050 });
10051 __bindgen_bitfield_unit
10052 }
10053}
10054pub type realpath_cache_bucket = _realpath_cache_bucket;
10055#[repr(C)]
10056#[derive(Debug, Copy, Clone)]
10057pub struct _virtual_cwd_globals {
10058 pub cwd: cwd_state,
10059 pub realpath_cache_size: zend_long,
10060 pub realpath_cache_size_limit: zend_long,
10061 pub realpath_cache_ttl: zend_long,
10062 pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
10063}
10064#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10065const _: () = {
10066 ["Size of _virtual_cwd_globals"][::std::mem::size_of::<_virtual_cwd_globals>() - 8232usize];
10067 ["Alignment of _virtual_cwd_globals"][::std::mem::align_of::<_virtual_cwd_globals>() - 8usize];
10068 ["Offset of field: _virtual_cwd_globals::cwd"]
10069 [::std::mem::offset_of!(_virtual_cwd_globals, cwd) - 0usize];
10070 ["Offset of field: _virtual_cwd_globals::realpath_cache_size"]
10071 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size) - 16usize];
10072 ["Offset of field: _virtual_cwd_globals::realpath_cache_size_limit"]
10073 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size_limit) - 24usize];
10074 ["Offset of field: _virtual_cwd_globals::realpath_cache_ttl"]
10075 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_ttl) - 32usize];
10076 ["Offset of field: _virtual_cwd_globals::realpath_cache"]
10077 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache) - 40usize];
10078};
10079pub type virtual_cwd_globals = _virtual_cwd_globals;
10080extern "C" {
10081 pub static mut cwd_globals: virtual_cwd_globals;
10082}
10083#[repr(C)]
10084#[derive(Copy, Clone)]
10085pub struct _zend_constant {
10086 pub value: zval,
10087 pub name: *mut zend_string,
10088 pub flags: ::std::os::raw::c_int,
10089 pub module_number: ::std::os::raw::c_int,
10090}
10091#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10092const _: () = {
10093 ["Size of _zend_constant"][::std::mem::size_of::<_zend_constant>() - 32usize];
10094 ["Alignment of _zend_constant"][::std::mem::align_of::<_zend_constant>() - 8usize];
10095 ["Offset of field: _zend_constant::value"]
10096 [::std::mem::offset_of!(_zend_constant, value) - 0usize];
10097 ["Offset of field: _zend_constant::name"]
10098 [::std::mem::offset_of!(_zend_constant, name) - 16usize];
10099 ["Offset of field: _zend_constant::flags"]
10100 [::std::mem::offset_of!(_zend_constant, flags) - 24usize];
10101 ["Offset of field: _zend_constant::module_number"]
10102 [::std::mem::offset_of!(_zend_constant, module_number) - 28usize];
10103};
10104pub type zend_constant = _zend_constant;
10105extern "C" {
10106 pub fn zend_startup_constants() -> ::std::os::raw::c_int;
10107}
10108extern "C" {
10109 pub fn zend_shutdown_constants() -> ::std::os::raw::c_int;
10110}
10111extern "C" {
10112 pub fn zend_register_standard_constants();
10113}
10114extern "C" {
10115 pub fn zend_verify_const_access(
10116 c: *mut zend_class_constant,
10117 ce: *mut zend_class_entry,
10118 ) -> ::std::os::raw::c_int;
10119}
10120extern "C" {
10121 pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
10122}
10123extern "C" {
10124 pub fn zend_get_constant_str(name: *const ::std::os::raw::c_char, name_len: usize)
10125 -> *mut zval;
10126}
10127extern "C" {
10128 pub fn zend_get_constant_ex(
10129 name: *mut zend_string,
10130 scope: *mut zend_class_entry,
10131 flags: u32,
10132 ) -> *mut zval;
10133}
10134extern "C" {
10135 pub fn zend_register_bool_constant(
10136 name: *const ::std::os::raw::c_char,
10137 name_len: usize,
10138 bval: zend_bool,
10139 flags: ::std::os::raw::c_int,
10140 module_number: ::std::os::raw::c_int,
10141 );
10142}
10143extern "C" {
10144 pub fn zend_register_null_constant(
10145 name: *const ::std::os::raw::c_char,
10146 name_len: usize,
10147 flags: ::std::os::raw::c_int,
10148 module_number: ::std::os::raw::c_int,
10149 );
10150}
10151extern "C" {
10152 pub fn zend_register_long_constant(
10153 name: *const ::std::os::raw::c_char,
10154 name_len: usize,
10155 lval: zend_long,
10156 flags: ::std::os::raw::c_int,
10157 module_number: ::std::os::raw::c_int,
10158 );
10159}
10160extern "C" {
10161 pub fn zend_register_double_constant(
10162 name: *const ::std::os::raw::c_char,
10163 name_len: usize,
10164 dval: f64,
10165 flags: ::std::os::raw::c_int,
10166 module_number: ::std::os::raw::c_int,
10167 );
10168}
10169extern "C" {
10170 pub fn zend_register_string_constant(
10171 name: *const ::std::os::raw::c_char,
10172 name_len: usize,
10173 strval: *mut ::std::os::raw::c_char,
10174 flags: ::std::os::raw::c_int,
10175 module_number: ::std::os::raw::c_int,
10176 );
10177}
10178extern "C" {
10179 pub fn zend_register_stringl_constant(
10180 name: *const ::std::os::raw::c_char,
10181 name_len: usize,
10182 strval: *mut ::std::os::raw::c_char,
10183 strlen: usize,
10184 flags: ::std::os::raw::c_int,
10185 module_number: ::std::os::raw::c_int,
10186 );
10187}
10188extern "C" {
10189 pub fn zend_register_constant(c: *mut zend_constant) -> ::std::os::raw::c_int;
10190}
10191extern "C" {
10192 pub fn zend_copy_constants(target: *mut HashTable, sourc: *mut HashTable);
10193}
10194extern "C" {
10195 pub fn zend_quick_get_constant(key: *const zval, flags: u32) -> *mut zend_constant;
10196}
10197extern "C" {
10198 pub fn php_info_html_esc(string: *mut ::std::os::raw::c_char) -> *mut zend_string;
10199}
10200extern "C" {
10201 pub fn php_info_html_esc_write(
10202 string: *mut ::std::os::raw::c_char,
10203 str_len: ::std::os::raw::c_int,
10204 );
10205}
10206extern "C" {
10207 pub fn php_print_info_htmlhead();
10208}
10209extern "C" {
10210 pub fn php_print_info(flag: ::std::os::raw::c_int);
10211}
10212extern "C" {
10213 pub fn php_print_style();
10214}
10215extern "C" {
10216 pub fn php_info_print_style();
10217}
10218extern "C" {
10219 pub fn php_info_print_table_colspan_header(
10220 num_cols: ::std::os::raw::c_int,
10221 header: *mut ::std::os::raw::c_char,
10222 );
10223}
10224extern "C" {
10225 pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
10226}
10227extern "C" {
10228 pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
10229}
10230extern "C" {
10231 pub fn php_info_print_table_row_ex(
10232 num_cols: ::std::os::raw::c_int,
10233 arg1: *const ::std::os::raw::c_char,
10234 ...
10235 );
10236}
10237extern "C" {
10238 pub fn php_info_print_table_start();
10239}
10240extern "C" {
10241 pub fn php_info_print_table_end();
10242}
10243extern "C" {
10244 pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
10245}
10246extern "C" {
10247 pub fn php_info_print_box_end();
10248}
10249extern "C" {
10250 pub fn php_info_print_hr();
10251}
10252extern "C" {
10253 pub fn php_info_print_module(module: *mut zend_module_entry);
10254}
10255extern "C" {
10256 pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
10257}
10258#[repr(C)]
10259#[derive(Debug, Copy, Clone)]
10260pub struct _zend_extension_version_info {
10261 pub zend_extension_api_no: ::std::os::raw::c_int,
10262 pub build_id: *mut ::std::os::raw::c_char,
10263}
10264#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10265const _: () = {
10266 ["Size of _zend_extension_version_info"]
10267 [::std::mem::size_of::<_zend_extension_version_info>() - 16usize];
10268 ["Alignment of _zend_extension_version_info"]
10269 [::std::mem::align_of::<_zend_extension_version_info>() - 8usize];
10270 ["Offset of field: _zend_extension_version_info::zend_extension_api_no"]
10271 [::std::mem::offset_of!(_zend_extension_version_info, zend_extension_api_no) - 0usize];
10272 ["Offset of field: _zend_extension_version_info::build_id"]
10273 [::std::mem::offset_of!(_zend_extension_version_info, build_id) - 8usize];
10274};
10275pub type zend_extension_version_info = _zend_extension_version_info;
10276pub type zend_extension = _zend_extension;
10277pub type startup_func_t = ::std::option::Option<
10278 unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
10279>;
10280pub type shutdown_func_t =
10281 ::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
10282pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
10283pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
10284pub type message_handler_func_t = ::std::option::Option<
10285 unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
10286>;
10287pub type op_array_handler_func_t =
10288 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
10289pub type statement_handler_func_t =
10290 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
10291pub type fcall_begin_handler_func_t =
10292 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
10293pub type fcall_end_handler_func_t =
10294 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
10295pub type op_array_ctor_func_t =
10296 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
10297pub type op_array_dtor_func_t =
10298 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
10299pub type op_array_persist_calc_func_t =
10300 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array) -> usize>;
10301pub type op_array_persist_func_t = ::std::option::Option<
10302 unsafe extern "C" fn(op_array: *mut zend_op_array, mem: *mut ::std::os::raw::c_void) -> usize,
10303>;
10304#[repr(C)]
10305#[derive(Debug, Copy, Clone)]
10306pub struct _zend_extension {
10307 pub name: *mut ::std::os::raw::c_char,
10308 pub version: *mut ::std::os::raw::c_char,
10309 pub author: *mut ::std::os::raw::c_char,
10310 pub URL: *mut ::std::os::raw::c_char,
10311 pub copyright: *mut ::std::os::raw::c_char,
10312 pub startup: startup_func_t,
10313 pub shutdown: shutdown_func_t,
10314 pub activate: activate_func_t,
10315 pub deactivate: deactivate_func_t,
10316 pub message_handler: message_handler_func_t,
10317 pub op_array_handler: op_array_handler_func_t,
10318 pub statement_handler: statement_handler_func_t,
10319 pub fcall_begin_handler: fcall_begin_handler_func_t,
10320 pub fcall_end_handler: fcall_end_handler_func_t,
10321 pub op_array_ctor: op_array_ctor_func_t,
10322 pub op_array_dtor: op_array_dtor_func_t,
10323 pub api_no_check: ::std::option::Option<
10324 unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
10325 >,
10326 pub build_id_check: ::std::option::Option<
10327 unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
10328 >,
10329 pub op_array_persist_calc: op_array_persist_calc_func_t,
10330 pub op_array_persist: op_array_persist_func_t,
10331 pub reserved5: *mut ::std::os::raw::c_void,
10332 pub reserved6: *mut ::std::os::raw::c_void,
10333 pub reserved7: *mut ::std::os::raw::c_void,
10334 pub reserved8: *mut ::std::os::raw::c_void,
10335 pub handle: *mut ::std::os::raw::c_void,
10336 pub resource_number: ::std::os::raw::c_int,
10337}
10338#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10339const _: () = {
10340 ["Size of _zend_extension"][::std::mem::size_of::<_zend_extension>() - 208usize];
10341 ["Alignment of _zend_extension"][::std::mem::align_of::<_zend_extension>() - 8usize];
10342 ["Offset of field: _zend_extension::name"]
10343 [::std::mem::offset_of!(_zend_extension, name) - 0usize];
10344 ["Offset of field: _zend_extension::version"]
10345 [::std::mem::offset_of!(_zend_extension, version) - 8usize];
10346 ["Offset of field: _zend_extension::author"]
10347 [::std::mem::offset_of!(_zend_extension, author) - 16usize];
10348 ["Offset of field: _zend_extension::URL"]
10349 [::std::mem::offset_of!(_zend_extension, URL) - 24usize];
10350 ["Offset of field: _zend_extension::copyright"]
10351 [::std::mem::offset_of!(_zend_extension, copyright) - 32usize];
10352 ["Offset of field: _zend_extension::startup"]
10353 [::std::mem::offset_of!(_zend_extension, startup) - 40usize];
10354 ["Offset of field: _zend_extension::shutdown"]
10355 [::std::mem::offset_of!(_zend_extension, shutdown) - 48usize];
10356 ["Offset of field: _zend_extension::activate"]
10357 [::std::mem::offset_of!(_zend_extension, activate) - 56usize];
10358 ["Offset of field: _zend_extension::deactivate"]
10359 [::std::mem::offset_of!(_zend_extension, deactivate) - 64usize];
10360 ["Offset of field: _zend_extension::message_handler"]
10361 [::std::mem::offset_of!(_zend_extension, message_handler) - 72usize];
10362 ["Offset of field: _zend_extension::op_array_handler"]
10363 [::std::mem::offset_of!(_zend_extension, op_array_handler) - 80usize];
10364 ["Offset of field: _zend_extension::statement_handler"]
10365 [::std::mem::offset_of!(_zend_extension, statement_handler) - 88usize];
10366 ["Offset of field: _zend_extension::fcall_begin_handler"]
10367 [::std::mem::offset_of!(_zend_extension, fcall_begin_handler) - 96usize];
10368 ["Offset of field: _zend_extension::fcall_end_handler"]
10369 [::std::mem::offset_of!(_zend_extension, fcall_end_handler) - 104usize];
10370 ["Offset of field: _zend_extension::op_array_ctor"]
10371 [::std::mem::offset_of!(_zend_extension, op_array_ctor) - 112usize];
10372 ["Offset of field: _zend_extension::op_array_dtor"]
10373 [::std::mem::offset_of!(_zend_extension, op_array_dtor) - 120usize];
10374 ["Offset of field: _zend_extension::api_no_check"]
10375 [::std::mem::offset_of!(_zend_extension, api_no_check) - 128usize];
10376 ["Offset of field: _zend_extension::build_id_check"]
10377 [::std::mem::offset_of!(_zend_extension, build_id_check) - 136usize];
10378 ["Offset of field: _zend_extension::op_array_persist_calc"]
10379 [::std::mem::offset_of!(_zend_extension, op_array_persist_calc) - 144usize];
10380 ["Offset of field: _zend_extension::op_array_persist"]
10381 [::std::mem::offset_of!(_zend_extension, op_array_persist) - 152usize];
10382 ["Offset of field: _zend_extension::reserved5"]
10383 [::std::mem::offset_of!(_zend_extension, reserved5) - 160usize];
10384 ["Offset of field: _zend_extension::reserved6"]
10385 [::std::mem::offset_of!(_zend_extension, reserved6) - 168usize];
10386 ["Offset of field: _zend_extension::reserved7"]
10387 [::std::mem::offset_of!(_zend_extension, reserved7) - 176usize];
10388 ["Offset of field: _zend_extension::reserved8"]
10389 [::std::mem::offset_of!(_zend_extension, reserved8) - 184usize];
10390 ["Offset of field: _zend_extension::handle"]
10391 [::std::mem::offset_of!(_zend_extension, handle) - 192usize];
10392 ["Offset of field: _zend_extension::resource_number"]
10393 [::std::mem::offset_of!(_zend_extension, resource_number) - 200usize];
10394};
10395extern "C" {
10396 pub fn zend_get_resource_handle(extension: *mut zend_extension) -> ::std::os::raw::c_int;
10397}
10398extern "C" {
10399 pub fn zend_extension_dispatch_message(
10400 message: ::std::os::raw::c_int,
10401 arg: *mut ::std::os::raw::c_void,
10402 );
10403}
10404extern "C" {
10405 pub static mut zend_extensions: zend_llist;
10406}
10407extern "C" {
10408 pub static mut zend_extension_flags: u32;
10409}
10410extern "C" {
10411 pub fn zend_extension_dtor(extension: *mut zend_extension);
10412}
10413extern "C" {
10414 pub fn zend_append_version_info(extension: *const zend_extension);
10415}
10416extern "C" {
10417 pub fn zend_startup_extensions_mechanism() -> ::std::os::raw::c_int;
10418}
10419extern "C" {
10420 pub fn zend_startup_extensions() -> ::std::os::raw::c_int;
10421}
10422extern "C" {
10423 pub fn zend_shutdown_extensions();
10424}
10425extern "C" {
10426 pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
10427}
10428extern "C" {
10429 pub fn zend_load_extension_handle(
10430 handle: *mut ::std::os::raw::c_void,
10431 path: *const ::std::os::raw::c_char,
10432 ) -> ::std::os::raw::c_int;
10433}
10434extern "C" {
10435 pub fn zend_register_extension(
10436 new_extension: *mut zend_extension,
10437 handle: *mut ::std::os::raw::c_void,
10438 ) -> ::std::os::raw::c_int;
10439}
10440extern "C" {
10441 pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
10442 -> *mut zend_extension;
10443}
10444extern "C" {
10445 pub fn zend_extensions_op_array_persist_calc(op_array: *mut zend_op_array) -> usize;
10446}
10447extern "C" {
10448 pub fn zend_extensions_op_array_persist(
10449 op_array: *mut zend_op_array,
10450 mem: *mut ::std::os::raw::c_void,
10451 ) -> usize;
10452}
10453pub const ZEND_MODULE_BUILD_ID_: &[u8; 16] = b"API20170718,NTS\0";
10454pub type __builtin_va_list = [__va_list_tag; 1usize];
10455#[repr(C)]
10456#[derive(Debug, Copy, Clone)]
10457pub struct __va_list_tag {
10458 pub gp_offset: ::std::os::raw::c_uint,
10459 pub fp_offset: ::std::os::raw::c_uint,
10460 pub overflow_arg_area: *mut ::std::os::raw::c_void,
10461 pub reg_save_area: *mut ::std::os::raw::c_void,
10462}
10463#[allow(clippy::unnecessary_operation, clippy::identity_op)]
10464const _: () = {
10465 ["Size of __va_list_tag"][::std::mem::size_of::<__va_list_tag>() - 24usize];
10466 ["Alignment of __va_list_tag"][::std::mem::align_of::<__va_list_tag>() - 8usize];
10467 ["Offset of field: __va_list_tag::gp_offset"]
10468 [::std::mem::offset_of!(__va_list_tag, gp_offset) - 0usize];
10469 ["Offset of field: __va_list_tag::fp_offset"]
10470 [::std::mem::offset_of!(__va_list_tag, fp_offset) - 4usize];
10471 ["Offset of field: __va_list_tag::overflow_arg_area"]
10472 [::std::mem::offset_of!(__va_list_tag, overflow_arg_area) - 8usize];
10473 ["Offset of field: __va_list_tag::reg_save_area"]
10474 [::std::mem::offset_of!(__va_list_tag, reg_save_area) - 16usize];
10475};