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 = 20151012;
92pub const PHP_DEFAULT_CHARSET: &[u8; 6] = b"UTF-8\0";
93pub const PHP_BLOWFISH_CRYPT: u32 = 1;
94pub const PHP_BUILD_DATE: &[u8; 11] = b"2018-12-04\0";
95pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
96pub const PHP_EXT_DES_CRYPT: u32 = 1;
97pub const PHP_HAVE_BUILTIN_CLZ: u32 = 1;
98pub const PHP_HAVE_BUILTIN_CTZL: u32 = 1;
99pub const PHP_HAVE_BUILTIN_CTZLL: u32 = 1;
100pub const PHP_HAVE_BUILTIN_EXPECT: u32 = 1;
101pub const PHP_HAVE_STDINT_TYPES: u32 = 1;
102pub const PHP_MD5_CRYPT: u32 = 1;
103pub const PHP_MHASH_BC: u32 = 1;
104pub const PHP_OS: &[u8; 6] = b"Linux\0";
105pub const PHP_SHA256_CRYPT: u32 = 1;
106pub const PHP_SHA512_CRYPT: u32 = 1;
107pub const PHP_SIGCHILD: u32 = 0;
108pub const PHP_STD_DES_CRYPT: u32 = 1;
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 PHP_MAJOR_VERSION: u32 = 7;
117pub const PHP_MINOR_VERSION: u32 = 0;
118pub const PHP_RELEASE_VERSION: u32 = 33;
119pub const PHP_EXTRA_VERSION: &[u8; 19] = b"-0ubuntu0.16.04.16\0";
120pub const PHP_VERSION: &[u8; 25] = b"7.0.33-0ubuntu0.16.04.16\0";
121pub const PHP_VERSION_ID: u32 = 70033;
122pub const ZEND_VERSION: &[u8; 6] = b"3.0.0\0";
123pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 4;
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_LONG_FMT_SPEC: &[u8; 3] = b"ld\0";
130pub const ZEND_ULONG_FMT_SPEC: &[u8; 3] = b"lu\0";
131pub const ZEND_LONG_CAN_OVFL_INT: u32 = 1;
132pub const ZEND_LONG_CAN_OVFL_UINT: u32 = 1;
133pub const ZEND_SIZE_T_CAN_OVFL_UINT: u32 = 1;
134pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
135pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
136pub const ZEND_SIZE_MAX: i32 = -1;
137pub const IS_UNDEF: u32 = 0;
138pub const IS_NULL: u32 = 1;
139pub const IS_FALSE: u32 = 2;
140pub const IS_TRUE: u32 = 3;
141pub const IS_LONG: u32 = 4;
142pub const IS_DOUBLE: u32 = 5;
143pub const IS_STRING: u32 = 6;
144pub const IS_ARRAY: u32 = 7;
145pub const IS_OBJECT: u32 = 8;
146pub const IS_RESOURCE: u32 = 9;
147pub const IS_REFERENCE: u32 = 10;
148pub const IS_CONSTANT: u32 = 11;
149pub const IS_CONSTANT_AST: u32 = 12;
150pub const _IS_BOOL: u32 = 13;
151pub const IS_CALLABLE: u32 = 14;
152pub const IS_INDIRECT: u32 = 15;
153pub const IS_PTR: u32 = 17;
154pub const Z_TYPE_MASK: u32 = 255;
155pub const Z_TYPE_FLAGS_SHIFT: u32 = 8;
156pub const Z_CONST_FLAGS_SHIFT: u32 = 16;
157pub const IS_TYPE_CONSTANT: u32 = 1;
158pub const IS_TYPE_IMMUTABLE: u32 = 2;
159pub const IS_TYPE_REFCOUNTED: u32 = 4;
160pub const IS_TYPE_COLLECTABLE: u32 = 8;
161pub const IS_TYPE_COPYABLE: u32 = 16;
162pub const IS_TYPE_SYMBOLTABLE: u32 = 32;
163pub const IS_INTERNED_STRING_EX: u32 = 6;
164pub const IS_STRING_EX: u32 = 5126;
165pub const IS_ARRAY_EX: u32 = 7175;
166pub const IS_OBJECT_EX: u32 = 3080;
167pub const IS_RESOURCE_EX: u32 = 1033;
168pub const IS_REFERENCE_EX: u32 = 1034;
169pub const IS_CONSTANT_EX: u32 = 5387;
170pub const IS_CONSTANT_AST_EX: u32 = 5388;
171pub const IS_CONSTANT_UNQUALIFIED: u32 = 16;
172pub const IS_LEXICAL_VAR: u32 = 32;
173pub const IS_LEXICAL_REF: u32 = 64;
174pub const IS_CONSTANT_CLASS: u32 = 128;
175pub const IS_CONSTANT_IN_NAMESPACE: u32 = 256;
176pub const IS_VAR_RET_REF: u32 = 1;
177pub const IS_STR_PERSISTENT: u32 = 1;
178pub const IS_STR_INTERNED: u32 = 2;
179pub const IS_STR_PERMANENT: u32 = 4;
180pub const IS_STR_CONSTANT: u32 = 8;
181pub const IS_STR_CONSTANT_UNQUALIFIED: u32 = 16;
182pub const IS_ARRAY_IMMUTABLE: u32 = 2;
183pub const IS_OBJ_APPLY_COUNT: u32 = 7;
184pub const IS_OBJ_DESTRUCTOR_CALLED: u32 = 8;
185pub const IS_OBJ_FREE_CALLED: u32 = 16;
186pub const IS_OBJ_USE_GUARDS: u32 = 32;
187pub const IS_OBJ_HAS_GUARDS: u32 = 64;
188pub const ZEND_MM_OVERHEAD: u32 = 0;
189pub const ZEND_MM_CHUNK_SIZE: u32 = 2097152;
190pub const ZEND_MM_PAGE_SIZE: u32 = 4096;
191pub const ZEND_MM_PAGES: u32 = 512;
192pub const ZEND_MM_FIRST_PAGE: u32 = 1;
193pub const ZEND_MM_MIN_SMALL_SIZE: u32 = 8;
194pub const ZEND_MM_MAX_SMALL_SIZE: u32 = 3072;
195pub const ZEND_MM_MAX_LARGE_SIZE: u32 = 2093056;
196pub const ZEND_MM_CUSTOM_HEAP_NONE: u32 = 0;
197pub const ZEND_MM_CUSTOM_HEAP_STD: u32 = 1;
198pub const ZEND_MM_CUSTOM_HEAP_DEBUG: u32 = 2;
199pub const HASH_KEY_IS_STRING: u32 = 1;
200pub const HASH_KEY_IS_LONG: u32 = 2;
201pub const HASH_KEY_NON_EXISTENT: u32 = 3;
202pub const HASH_UPDATE: u32 = 1;
203pub const HASH_ADD: u32 = 2;
204pub const HASH_UPDATE_INDIRECT: u32 = 4;
205pub const HASH_ADD_NEW: u32 = 8;
206pub const HASH_ADD_NEXT: u32 = 16;
207pub const HASH_FLAG_PERSISTENT: u32 = 1;
208pub const HASH_FLAG_APPLY_PROTECTION: u32 = 2;
209pub const HASH_FLAG_PACKED: u32 = 4;
210pub const HASH_FLAG_INITIALIZED: u32 = 8;
211pub const HASH_FLAG_STATIC_KEYS: u32 = 16;
212pub const HASH_FLAG_HAS_EMPTY_IND: u32 = 32;
213pub const HASH_MASK_CONSISTENCY: u32 = 192;
214pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
215pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
216pub const ZEND_HASH_APPLY_STOP: u32 = 2;
217pub const ZEND_HASH_APPLY_SHIFT: u32 = 8;
218pub const ZEND_HASH_APPLY_COUNT_MASK: u32 = 65280;
219pub const ZEND_AST_SPECIAL_SHIFT: u32 = 6;
220pub const ZEND_AST_IS_LIST_SHIFT: u32 = 7;
221pub const ZEND_AST_NUM_CHILDREN_SHIFT: u32 = 8;
222pub const GC_BENCH: u32 = 0;
223pub const GC_COLOR: u32 = 49152;
224pub const GC_BLACK: u32 = 0;
225pub const GC_WHITE: u32 = 32768;
226pub const GC_GREY: u32 = 16384;
227pub const GC_PURPLE: u32 = 49152;
228pub const ZEND_MMAP_AHEAD: u32 = 32;
229pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
230pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
231pub const ZEND_DYNAMIC_PROPERTY_OFFSET: i32 = -1;
232pub const ZEND_WRONG_PROPERTY_OFFSET: i32 = -2;
233pub const DEBUG_ZEND: u32 = 0;
234pub const ZEND_USE_ABS_JMP_ADDR: u32 = 0;
235pub const ZEND_USE_ABS_CONST_ADDR: u32 = 0;
236pub const ZEND_EX_USE_LITERALS: u32 = 1;
237pub const ZEND_EX_USE_RUN_TIME_CACHE: u32 = 1;
238pub const ZEND_ACC_STATIC: u32 = 1;
239pub const ZEND_ACC_ABSTRACT: u32 = 2;
240pub const ZEND_ACC_FINAL: u32 = 4;
241pub const ZEND_ACC_IMPLEMENTED_ABSTRACT: u32 = 8;
242pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
243pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 32;
244pub const ZEND_ACC_INTERFACE: u32 = 64;
245pub const ZEND_ACC_TRAIT: u32 = 128;
246pub const ZEND_ACC_ANON_CLASS: u32 = 256;
247pub const ZEND_ACC_ANON_BOUND: u32 = 512;
248pub const ZEND_ACC_PUBLIC: u32 = 256;
249pub const ZEND_ACC_PROTECTED: u32 = 512;
250pub const ZEND_ACC_PRIVATE: u32 = 1024;
251pub const ZEND_ACC_PPP_MASK: u32 = 1792;
252pub const ZEND_ACC_CHANGED: u32 = 2048;
253pub const ZEND_ACC_IMPLICIT_PUBLIC: u32 = 4096;
254pub const ZEND_ACC_CTOR: u32 = 8192;
255pub const ZEND_ACC_DTOR: u32 = 16384;
256pub const ZEND_ACC_CLONE: u32 = 32768;
257pub const ZEND_ACC_USER_ARG_INFO: u32 = 128;
258pub const ZEND_ACC_ALLOW_STATIC: u32 = 65536;
259pub const ZEND_ACC_SHADOW: u32 = 131072;
260pub const ZEND_ACC_DEPRECATED: u32 = 262144;
261pub const ZEND_ACC_IMPLEMENT_INTERFACES: u32 = 524288;
262pub const ZEND_ACC_IMPLEMENT_TRAITS: u32 = 4194304;
263pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 1048576;
264pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 8388608;
265pub const ZEND_ACC_CLOSURE: u32 = 1048576;
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_RETURN_VALUE: u32 = 0;
281pub const ZEND_RETURN_REFERENCE: u32 = 1;
282pub const ZEND_CALL_FUNCTION: u32 = 0;
283pub const ZEND_CALL_CODE: u32 = 1;
284pub const ZEND_CALL_NESTED: u32 = 0;
285pub const ZEND_CALL_TOP: u32 = 2;
286pub const ZEND_CALL_FREE_EXTRA_ARGS: u32 = 4;
287pub const ZEND_CALL_CTOR: u32 = 8;
288pub const ZEND_CALL_CTOR_RESULT_UNUSED: u32 = 16;
289pub const ZEND_CALL_CLOSURE: u32 = 32;
290pub const ZEND_CALL_RELEASE_THIS: u32 = 64;
291pub const ZEND_CALL_ALLOCATED: u32 = 128;
292pub const IS_CONST: u32 = 1;
293pub const IS_TMP_VAR: u32 = 2;
294pub const IS_VAR: u32 = 4;
295pub const IS_UNUSED: u32 = 8;
296pub const IS_CV: u32 = 16;
297pub const ZEND_STACK_APPLY_TOPDOWN: u32 = 1;
298pub const ZEND_STACK_APPLY_BOTTOMUP: u32 = 2;
299pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
300pub const ZEND_ARENA_ALIGNMENT: u32 = 8;
301pub const ZEND_EARLY_BINDING_COMPILE_TIME: u32 = 0;
302pub const ZEND_EARLY_BINDING_DELAYED: u32 = 1;
303pub const ZEND_EARLY_BINDING_DELAYED_ALL: u32 = 2;
304pub const ZEND_VM_SPEC: u32 = 1;
305pub const ZEND_VM_LINES: u32 = 0;
306pub const ZEND_VM_KIND_CALL: u32 = 1;
307pub const ZEND_VM_KIND_SWITCH: u32 = 2;
308pub const ZEND_VM_KIND_GOTO: u32 = 3;
309pub const ZEND_VM_KIND: u32 = 1;
310pub const ZEND_NOP: u32 = 0;
311pub const ZEND_ADD: u32 = 1;
312pub const ZEND_SUB: u32 = 2;
313pub const ZEND_MUL: u32 = 3;
314pub const ZEND_DIV: u32 = 4;
315pub const ZEND_MOD: u32 = 5;
316pub const ZEND_SL: u32 = 6;
317pub const ZEND_SR: u32 = 7;
318pub const ZEND_CONCAT: u32 = 8;
319pub const ZEND_BW_OR: u32 = 9;
320pub const ZEND_BW_AND: u32 = 10;
321pub const ZEND_BW_XOR: u32 = 11;
322pub const ZEND_BW_NOT: u32 = 12;
323pub const ZEND_BOOL_NOT: u32 = 13;
324pub const ZEND_BOOL_XOR: u32 = 14;
325pub const ZEND_IS_IDENTICAL: u32 = 15;
326pub const ZEND_IS_NOT_IDENTICAL: u32 = 16;
327pub const ZEND_IS_EQUAL: u32 = 17;
328pub const ZEND_IS_NOT_EQUAL: u32 = 18;
329pub const ZEND_IS_SMALLER: u32 = 19;
330pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 20;
331pub const ZEND_CAST: u32 = 21;
332pub const ZEND_QM_ASSIGN: u32 = 22;
333pub const ZEND_ASSIGN_ADD: u32 = 23;
334pub const ZEND_ASSIGN_SUB: u32 = 24;
335pub const ZEND_ASSIGN_MUL: u32 = 25;
336pub const ZEND_ASSIGN_DIV: u32 = 26;
337pub const ZEND_ASSIGN_MOD: u32 = 27;
338pub const ZEND_ASSIGN_SL: u32 = 28;
339pub const ZEND_ASSIGN_SR: u32 = 29;
340pub const ZEND_ASSIGN_CONCAT: u32 = 30;
341pub const ZEND_ASSIGN_BW_OR: u32 = 31;
342pub const ZEND_ASSIGN_BW_AND: u32 = 32;
343pub const ZEND_ASSIGN_BW_XOR: u32 = 33;
344pub const ZEND_PRE_INC: u32 = 34;
345pub const ZEND_PRE_DEC: u32 = 35;
346pub const ZEND_POST_INC: u32 = 36;
347pub const ZEND_POST_DEC: u32 = 37;
348pub const ZEND_ASSIGN: u32 = 38;
349pub const ZEND_ASSIGN_REF: u32 = 39;
350pub const ZEND_ECHO: u32 = 40;
351pub const ZEND_JMP: u32 = 42;
352pub const ZEND_JMPZ: u32 = 43;
353pub const ZEND_JMPNZ: u32 = 44;
354pub const ZEND_JMPZNZ: u32 = 45;
355pub const ZEND_JMPZ_EX: u32 = 46;
356pub const ZEND_JMPNZ_EX: u32 = 47;
357pub const ZEND_CASE: u32 = 48;
358pub const ZEND_BOOL: u32 = 52;
359pub const ZEND_FAST_CONCAT: u32 = 53;
360pub const ZEND_ROPE_INIT: u32 = 54;
361pub const ZEND_ROPE_ADD: u32 = 55;
362pub const ZEND_ROPE_END: u32 = 56;
363pub const ZEND_BEGIN_SILENCE: u32 = 57;
364pub const ZEND_END_SILENCE: u32 = 58;
365pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
366pub const ZEND_DO_FCALL: u32 = 60;
367pub const ZEND_INIT_FCALL: u32 = 61;
368pub const ZEND_RETURN: u32 = 62;
369pub const ZEND_RECV: u32 = 63;
370pub const ZEND_RECV_INIT: u32 = 64;
371pub const ZEND_SEND_VAL: u32 = 65;
372pub const ZEND_SEND_VAR_EX: u32 = 66;
373pub const ZEND_SEND_REF: u32 = 67;
374pub const ZEND_NEW: u32 = 68;
375pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
376pub const ZEND_FREE: u32 = 70;
377pub const ZEND_INIT_ARRAY: u32 = 71;
378pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
379pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
380pub const ZEND_UNSET_VAR: u32 = 74;
381pub const ZEND_UNSET_DIM: u32 = 75;
382pub const ZEND_UNSET_OBJ: u32 = 76;
383pub const ZEND_FE_RESET_R: u32 = 77;
384pub const ZEND_FE_FETCH_R: u32 = 78;
385pub const ZEND_EXIT: u32 = 79;
386pub const ZEND_FETCH_R: u32 = 80;
387pub const ZEND_FETCH_DIM_R: u32 = 81;
388pub const ZEND_FETCH_OBJ_R: u32 = 82;
389pub const ZEND_FETCH_W: u32 = 83;
390pub const ZEND_FETCH_DIM_W: u32 = 84;
391pub const ZEND_FETCH_OBJ_W: u32 = 85;
392pub const ZEND_FETCH_RW: u32 = 86;
393pub const ZEND_FETCH_DIM_RW: u32 = 87;
394pub const ZEND_FETCH_OBJ_RW: u32 = 88;
395pub const ZEND_FETCH_IS: u32 = 89;
396pub const ZEND_FETCH_DIM_IS: u32 = 90;
397pub const ZEND_FETCH_OBJ_IS: u32 = 91;
398pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
399pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
400pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
401pub const ZEND_FETCH_UNSET: u32 = 95;
402pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
403pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
404pub const ZEND_FETCH_LIST: u32 = 98;
405pub const ZEND_FETCH_CONSTANT: u32 = 99;
406pub const ZEND_EXT_STMT: u32 = 101;
407pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
408pub const ZEND_EXT_FCALL_END: u32 = 103;
409pub const ZEND_EXT_NOP: u32 = 104;
410pub const ZEND_TICKS: u32 = 105;
411pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
412pub const ZEND_CATCH: u32 = 107;
413pub const ZEND_THROW: u32 = 108;
414pub const ZEND_FETCH_CLASS: u32 = 109;
415pub const ZEND_CLONE: u32 = 110;
416pub const ZEND_RETURN_BY_REF: u32 = 111;
417pub const ZEND_INIT_METHOD_CALL: u32 = 112;
418pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
419pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
420pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
421pub const ZEND_SEND_VAL_EX: u32 = 116;
422pub const ZEND_SEND_VAR: u32 = 117;
423pub const ZEND_INIT_USER_CALL: u32 = 118;
424pub const ZEND_SEND_ARRAY: u32 = 119;
425pub const ZEND_SEND_USER: u32 = 120;
426pub const ZEND_STRLEN: u32 = 121;
427pub const ZEND_DEFINED: u32 = 122;
428pub const ZEND_TYPE_CHECK: u32 = 123;
429pub const ZEND_VERIFY_RETURN_TYPE: u32 = 124;
430pub const ZEND_FE_RESET_RW: u32 = 125;
431pub const ZEND_FE_FETCH_RW: u32 = 126;
432pub const ZEND_FE_FREE: u32 = 127;
433pub const ZEND_INIT_DYNAMIC_CALL: u32 = 128;
434pub const ZEND_DO_ICALL: u32 = 129;
435pub const ZEND_DO_UCALL: u32 = 130;
436pub const ZEND_DO_FCALL_BY_NAME: u32 = 131;
437pub const ZEND_PRE_INC_OBJ: u32 = 132;
438pub const ZEND_PRE_DEC_OBJ: u32 = 133;
439pub const ZEND_POST_INC_OBJ: u32 = 134;
440pub const ZEND_POST_DEC_OBJ: u32 = 135;
441pub const ZEND_ASSIGN_OBJ: u32 = 136;
442pub const ZEND_OP_DATA: u32 = 137;
443pub const ZEND_INSTANCEOF: u32 = 138;
444pub const ZEND_DECLARE_CLASS: u32 = 139;
445pub const ZEND_DECLARE_INHERITED_CLASS: u32 = 140;
446pub const ZEND_DECLARE_FUNCTION: u32 = 141;
447pub const ZEND_YIELD_FROM: u32 = 142;
448pub const ZEND_DECLARE_CONST: u32 = 143;
449pub const ZEND_ADD_INTERFACE: u32 = 144;
450pub const ZEND_DECLARE_INHERITED_CLASS_DELAYED: u32 = 145;
451pub const ZEND_VERIFY_ABSTRACT_CLASS: u32 = 146;
452pub const ZEND_ASSIGN_DIM: u32 = 147;
453pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
454pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
455pub const ZEND_USER_OPCODE: u32 = 150;
456pub const ZEND_ASSERT_CHECK: u32 = 151;
457pub const ZEND_JMP_SET: u32 = 152;
458pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 153;
459pub const ZEND_ADD_TRAIT: u32 = 154;
460pub const ZEND_BIND_TRAITS: u32 = 155;
461pub const ZEND_SEPARATE: u32 = 156;
462pub const ZEND_FETCH_CLASS_NAME: u32 = 157;
463pub const ZEND_CALL_TRAMPOLINE: u32 = 158;
464pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
465pub const ZEND_YIELD: u32 = 160;
466pub const ZEND_GENERATOR_RETURN: u32 = 161;
467pub const ZEND_FAST_CALL: u32 = 162;
468pub const ZEND_FAST_RET: u32 = 163;
469pub const ZEND_RECV_VARIADIC: u32 = 164;
470pub const ZEND_SEND_UNPACK: u32 = 165;
471pub const ZEND_POW: u32 = 166;
472pub const ZEND_ASSIGN_POW: u32 = 167;
473pub const ZEND_BIND_GLOBAL: u32 = 168;
474pub const ZEND_COALESCE: u32 = 169;
475pub const ZEND_SPACESHIP: u32 = 170;
476pub const ZEND_DECLARE_ANON_CLASS: u32 = 171;
477pub const ZEND_DECLARE_ANON_INHERITED_CLASS: u32 = 172;
478pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
479pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
480pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
481pub const ZEND_FETCH_CLASS_STATIC: u32 = 3;
482pub const ZEND_FETCH_CLASS_AUTO: u32 = 4;
483pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 5;
484pub const ZEND_FETCH_CLASS_TRAIT: u32 = 6;
485pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
486pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
487pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
488pub const ZEND_FETCH_CLASS_EXCEPTION: u32 = 512;
489pub const ZEND_PARSED_MEMBER: u32 = 1;
490pub const ZEND_PARSED_METHOD_CALL: u32 = 2;
491pub const ZEND_PARSED_STATIC_MEMBER: u32 = 4;
492pub const ZEND_PARSED_FUNCTION_CALL: u32 = 8;
493pub const ZEND_PARSED_VARIABLE: u32 = 16;
494pub const ZEND_PARSED_REFERENCE_VARIABLE: u32 = 32;
495pub const ZEND_PARSED_NEW: u32 = 64;
496pub const ZEND_PARSED_LIST_EXPR: u32 = 128;
497pub const ZEND_PARAM_REF: u32 = 1;
498pub const ZEND_PARAM_VARIADIC: u32 = 2;
499pub const ZEND_NAME_FQ: u32 = 0;
500pub const ZEND_NAME_NOT_FQ: u32 = 1;
501pub const ZEND_NAME_RELATIVE: u32 = 2;
502pub const ZEND_UNSET_REG: u32 = 0;
503pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
504pub const ZEND_USER_FUNCTION: u32 = 2;
505pub const ZEND_OVERLOADED_FUNCTION: u32 = 3;
506pub const ZEND_EVAL_CODE: u32 = 4;
507pub const ZEND_OVERLOADED_FUNCTION_TEMPORARY: u32 = 5;
508pub const ZEND_INTERNAL_CLASS: u32 = 1;
509pub const ZEND_USER_CLASS: u32 = 2;
510pub const ZEND_EVAL: u32 = 1;
511pub const ZEND_INCLUDE: u32 = 2;
512pub const ZEND_INCLUDE_ONCE: u32 = 4;
513pub const ZEND_REQUIRE: u32 = 8;
514pub const ZEND_REQUIRE_ONCE: u32 = 16;
515pub const ZEND_CT: u32 = 1;
516pub const ZEND_RT: u32 = 2;
517pub const ZEND_FETCH_GLOBAL: u32 = 0;
518pub const ZEND_FETCH_LOCAL: u32 = 268435456;
519pub const ZEND_FETCH_STATIC: u32 = 536870912;
520pub const ZEND_FETCH_STATIC_MEMBER: u32 = 805306368;
521pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 1073741824;
522pub const ZEND_FETCH_LEXICAL: u32 = 1342177280;
523pub const ZEND_FETCH_TYPE_MASK: u32 = 1879048192;
524pub const ZEND_FETCH_STANDARD: u32 = 0;
525pub const ZEND_ISSET: u32 = 33554432;
526pub const ZEND_ISEMPTY: u32 = 16777216;
527pub const ZEND_ISSET_ISEMPTY_MASK: u32 = 50331648;
528pub const ZEND_QUICK_SET: u32 = 8388608;
529pub const ZEND_FETCH_ARG_MASK: u32 = 1048575;
530pub const ZEND_FREE_ON_RETURN: u32 = 1;
531pub const ZEND_MEMBER_FUNC_CALL: u32 = 1;
532pub const ZEND_ARG_SEND_BY_REF: u32 = 1;
533pub const ZEND_ARG_COMPILE_TIME_BOUND: u32 = 2;
534pub const ZEND_ARG_SEND_FUNCTION: u32 = 4;
535pub const ZEND_ARG_SEND_SILENT: u32 = 8;
536pub const ZEND_SEND_BY_VAL: u32 = 0;
537pub const ZEND_SEND_BY_REF: u32 = 1;
538pub const ZEND_SEND_PREFER_REF: u32 = 2;
539pub const ZEND_DIM_IS: u32 = 1;
540pub const ZEND_RETURN_VAL: u32 = 0;
541pub const ZEND_RETURN_REF: u32 = 1;
542pub const ZEND_RETURNS_FUNCTION: u32 = 1;
543pub const ZEND_RETURNS_VALUE: u32 = 2;
544pub const ZEND_FAST_RET_TO_CATCH: u32 = 1;
545pub const ZEND_FAST_RET_TO_FINALLY: u32 = 2;
546pub const ZEND_FAST_CALL_FROM_FINALLY: u32 = 1;
547pub const ZEND_ARRAY_ELEMENT_REF: u32 = 1;
548pub const ZEND_ARRAY_NOT_PACKED: u32 = 2;
549pub const ZEND_ARRAY_SIZE_SHIFT: u32 = 2;
550pub const ZEND_GOTO: u32 = 253;
551pub const ZEND_BRK: u32 = 254;
552pub const ZEND_CONT: u32 = 255;
553pub const ZEND_CLONE_FUNC_NAME: &[u8; 8] = b"__clone\0";
554pub const ZEND_CONSTRUCTOR_FUNC_NAME: &[u8; 12] = b"__construct\0";
555pub const ZEND_DESTRUCTOR_FUNC_NAME: &[u8; 11] = b"__destruct\0";
556pub const ZEND_GET_FUNC_NAME: &[u8; 6] = b"__get\0";
557pub const ZEND_SET_FUNC_NAME: &[u8; 6] = b"__set\0";
558pub const ZEND_UNSET_FUNC_NAME: &[u8; 8] = b"__unset\0";
559pub const ZEND_ISSET_FUNC_NAME: &[u8; 8] = b"__isset\0";
560pub const ZEND_CALL_FUNC_NAME: &[u8; 7] = b"__call\0";
561pub const ZEND_CALLSTATIC_FUNC_NAME: &[u8; 13] = b"__callstatic\0";
562pub const ZEND_TOSTRING_FUNC_NAME: &[u8; 11] = b"__tostring\0";
563pub const ZEND_AUTOLOAD_FUNC_NAME: &[u8; 11] = b"__autoload\0";
564pub const ZEND_INVOKE_FUNC_NAME: &[u8; 9] = b"__invoke\0";
565pub const ZEND_DEBUGINFO_FUNC_NAME: &[u8; 12] = b"__debuginfo\0";
566pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 1;
567pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 2;
568pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 4;
569pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 8;
570pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 16;
571pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 32;
572pub const ZEND_COMPILE_NO_BUILTIN_STRLEN: u32 = 64;
573pub const ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION: u32 = 128;
574pub const ZEND_COMPILE_IGNORE_USER_FUNCTIONS: u32 = 256;
575pub const ZEND_COMPILE_GUARDS: u32 = 512;
576pub const ZEND_COMPILE_NO_BUILTINS: u32 = 1024;
577pub const ZEND_COMPILE_DEFAULT: u32 = 2;
578pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
579pub const ZEND_BUILD_TS: &[u8; 5] = b",NTS\0";
580pub const ZEND_MODULE_API_NO: u32 = 20151012;
581pub const USING_ZTS: u32 = 0;
582pub const MODULE_PERSISTENT: u32 = 1;
583pub const MODULE_TEMPORARY: u32 = 2;
584pub const MODULE_DEP_REQUIRED: u32 = 1;
585pub const MODULE_DEP_CONFLICTS: u32 = 2;
586pub const MODULE_DEP_OPTIONAL: u32 = 3;
587pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
588pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
589pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
590pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
591pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
592pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
593pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
594pub const ZEND_PARSE_PARAMS_THROW: u32 = 4;
595pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
596pub const IS_CALLABLE_CHECK_NO_ACCESS: u32 = 2;
597pub const IS_CALLABLE_CHECK_IS_STATIC: u32 = 4;
598pub const IS_CALLABLE_CHECK_SILENT: u32 = 8;
599pub const IS_CALLABLE_STRICT: u32 = 4;
600pub const PHP_DEBUG: u32 = 0;
601pub const PHP_DIR_SEPARATOR: u8 = 47u8;
602pub const PHP_EOL: &[u8; 2] = b"\n\0";
603pub const PHP_ADA_INCLUDE: &[u8; 1] = b"\0";
604pub const PHP_ADA_LFLAGS: &[u8; 1] = b"\0";
605pub const PHP_ADA_LIBS: &[u8; 1] = b"\0";
606pub const PHP_APACHE_INCLUDE: &[u8; 1] = b"\0";
607pub const PHP_APACHE_TARGET: &[u8; 1] = b"\0";
608pub const PHP_FHTTPD_INCLUDE: &[u8; 1] = b"\0";
609pub const PHP_FHTTPD_LIB: &[u8; 1] = b"\0";
610pub const PHP_FHTTPD_TARGET: &[u8; 1] = b"\0";
611pub const PHP_CFLAGS: &[u8; 40] = b"$(CFLAGS_CLEAN) -prefer-non-pic -static\0";
612pub const PHP_DBASE_LIB: &[u8; 1] = b"\0";
613pub const PHP_BUILD_DEBUG: &[u8; 1] = b"\0";
614pub const PHP_GDBM_INCLUDE: &[u8; 1] = b"\0";
615pub const PHP_IBASE_INCLUDE: &[u8; 1] = b"\0";
616pub const PHP_IBASE_LFLAGS: &[u8; 1] = b"\0";
617pub const PHP_IBASE_LIBS: &[u8; 1] = b"\0";
618pub const PHP_IFX_INCLUDE: &[u8; 1] = b"\0";
619pub const PHP_IFX_LFLAGS: &[u8; 1] = b"\0";
620pub const PHP_IFX_LIBS: &[u8; 1] = b"\0";
621pub const PHP_INSTALL_IT: &[u8; 1] = b"\0";
622pub const PHP_IODBC_INCLUDE: &[u8; 1] = b"\0";
623pub const PHP_IODBC_LFLAGS: &[u8; 1] = b"\0";
624pub const PHP_IODBC_LIBS: &[u8; 1] = b"\0";
625pub const PHP_MSQL_INCLUDE: &[u8; 1] = b"\0";
626pub const PHP_MSQL_LFLAGS: &[u8; 1] = b"\0";
627pub const PHP_MSQL_LIBS: &[u8; 1] = b"\0";
628pub const PHP_MYSQL_INCLUDE: &[u8; 16] = b"@MYSQL_INCLUDE@\0";
629pub const PHP_MYSQL_LIBS: &[u8; 13] = b"@MYSQL_LIBS@\0";
630pub const PHP_MYSQL_TYPE: &[u8; 20] = b"@MYSQL_MODULE_TYPE@\0";
631pub const PHP_ODBC_INCLUDE: &[u8; 1] = b"\0";
632pub const PHP_ODBC_LFLAGS: &[u8; 1] = b"\0";
633pub const PHP_ODBC_LIBS: &[u8; 1] = b"\0";
634pub const PHP_ODBC_TYPE: &[u8; 1] = b"\0";
635pub const PHP_OCI8_SHARED_LIBADD: &[u8; 1] = b"\0";
636pub const PHP_OCI8_DIR: &[u8; 1] = b"\0";
637pub const PHP_OCI8_ORACLE_VERSION: &[u8; 1] = b"\0";
638pub const PHP_ORACLE_SHARED_LIBADD: &[u8; 23] = b"@ORACLE_SHARED_LIBADD@\0";
639pub const PHP_ORACLE_DIR: &[u8; 13] = b"@ORACLE_DIR@\0";
640pub const PHP_ORACLE_VERSION: &[u8; 17] = b"@ORACLE_VERSION@\0";
641pub const PHP_PGSQL_INCLUDE: &[u8; 1] = b"\0";
642pub const PHP_PGSQL_LFLAGS: &[u8; 1] = b"\0";
643pub const PHP_PGSQL_LIBS: &[u8; 1] = b"\0";
644pub const PHP_PROG_SENDMAIL: &[u8; 19] = b"/usr/sbin/sendmail\0";
645pub const PHP_SOLID_INCLUDE: &[u8; 1] = b"\0";
646pub const PHP_SOLID_LIBS: &[u8; 1] = b"\0";
647pub const PHP_EMPRESS_INCLUDE: &[u8; 1] = b"\0";
648pub const PHP_EMPRESS_LIBS: &[u8; 1] = b"\0";
649pub const PHP_SYBASE_INCLUDE: &[u8; 1] = b"\0";
650pub const PHP_SYBASE_LFLAGS: &[u8; 1] = b"\0";
651pub const PHP_SYBASE_LIBS: &[u8; 1] = b"\0";
652pub const PHP_DBM_TYPE: &[u8; 1] = b"\0";
653pub const PHP_DBM_LIB: &[u8; 1] = b"\0";
654pub const PHP_LDAP_LFLAGS: &[u8; 1] = b"\0";
655pub const PHP_LDAP_INCLUDE: &[u8; 1] = b"\0";
656pub const PHP_LDAP_LIBS: &[u8; 1] = b"\0";
657pub const PHP_BIRDSTEP_INCLUDE: &[u8; 1] = b"\0";
658pub const PHP_BIRDSTEP_LIBS: &[u8; 1] = b"\0";
659pub const PHP_INCLUDE_PATH: &[u8; 17] = b".:/usr/share/php\0";
660pub const PHP_EXTENSION_DIR: &[u8; 22] = b"/usr/lib/php/20151012\0";
661pub const PHP_PREFIX: &[u8; 5] = b"/usr\0";
662pub const PHP_BINDIR: &[u8; 9] = b"/usr/bin\0";
663pub const PHP_SBINDIR: &[u8; 10] = b"/usr/sbin\0";
664pub const PHP_MANDIR: &[u8; 15] = b"/usr/share/man\0";
665pub const PHP_LIBDIR: &[u8; 13] = b"/usr/lib/php\0";
666pub const PHP_DATADIR: &[u8; 19] = b"/usr/share/php/7.0\0";
667pub const PHP_SYSCONFDIR: &[u8; 5] = b"/etc\0";
668pub const PHP_LOCALSTATEDIR: &[u8; 5] = b"/var\0";
669pub const PHP_CONFIG_FILE_PATH: &[u8; 17] = b"/etc/php/7.0/cli\0";
670pub const PHP_CONFIG_FILE_SCAN_DIR: &[u8; 24] = b"/etc/php/7.0/cli/conf.d\0";
671pub const PHP_SHLIB_SUFFIX: &[u8; 3] = b"so\0";
672pub const PHP_MIME_TYPE: &[u8; 24] = b"application/x-httpd-php\0";
673pub const PHP_OUTPUT_NEWAPI: u32 = 1;
674pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
675pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
676pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
677pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
678pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
679pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
680pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
681pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
682pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
683pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
684pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
685pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
686pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
687pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
688pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
689pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
690pub const PHP_OUTPUT_POP_TRY: u32 = 0;
691pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
692pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
693pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
694pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
695pub const PHP_OUTPUT_DISABLED: u32 = 2;
696pub const PHP_OUTPUT_WRITTEN: u32 = 4;
697pub const PHP_OUTPUT_SENT: u32 = 8;
698pub const PHP_OUTPUT_ACTIVE: u32 = 16;
699pub const PHP_OUTPUT_LOCKED: u32 = 32;
700pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
701pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
702pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
703pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
704pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
705pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
706pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
707pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
708pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
709pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
710pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
711pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
712pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
713pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
714pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
715pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
716pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
717pub const PHP_STREAM_FILTER_READ: u32 = 1;
718pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
719pub const PHP_STREAM_FILTER_ALL: u32 = 3;
720pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
721pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
722pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
723pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
724pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
725pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
726pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
727pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
728pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
729pub const PHP_STREAM_FLAG_WAS_WRITTEN: u32 = 2147483648;
730pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
731pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
732pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
733pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
734pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
735pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
736pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
737pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
738pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
739pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
740pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
741pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
742pub const PHP_STREAM_FREE_KEEP_RSRC: u32 = 64;
743pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
744pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
745pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
746pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
747pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
748pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
749pub const PHP_STREAM_URL_STAT_NOCACHE: u32 = 4;
750pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
751pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
752pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
753pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
754pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
755pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
756pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
757pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
758pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
759pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
760pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
761pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
762pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
763pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
764pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
765pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
766pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
767pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
768pub const PHP_STREAM_OPTION_PIPE_BLOCKING: u32 = 13;
769pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
770pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
771pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
772pub const PHP_STREAM_MMAP_ALL: u32 = 0;
773pub const PHP_STREAM_AS_STDIO: u32 = 0;
774pub const PHP_STREAM_AS_FD: u32 = 1;
775pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
776pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
777pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
778pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
779pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
780pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
781pub const PHP_STREAM_UNCHANGED: u32 = 0;
782pub const PHP_STREAM_RELEASED: u32 = 1;
783pub const PHP_STREAM_FAILED: u32 = 2;
784pub const PHP_STREAM_CRITICAL: u32 = 3;
785pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
786pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
787pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
788pub const PHP_STREAM_IS_URL: u32 = 1;
789pub const PHP_STREAM_META_TOUCH: u32 = 1;
790pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
791pub const PHP_STREAM_META_OWNER: u32 = 3;
792pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
793pub const PHP_STREAM_META_GROUP: u32 = 5;
794pub const PHP_STREAM_META_ACCESS: u32 = 6;
795pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
796pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
797pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
798pub const ZEND_INI_USER: u32 = 1;
799pub const ZEND_INI_PERDIR: u32 = 2;
800pub const ZEND_INI_SYSTEM: u32 = 4;
801pub const ZEND_INI_ALL: u32 = 7;
802pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
803pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
804pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
805pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
806pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
807pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
808pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
809pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
810pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
811pub const ZEND_INI_PARSER_SECTION: u32 = 2;
812pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
813pub const PHP_INI_USER: u32 = 1;
814pub const PHP_INI_PERDIR: u32 = 2;
815pub const PHP_INI_SYSTEM: u32 = 4;
816pub const PHP_INI_ALL: u32 = 7;
817pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
818pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
819pub const PHP_INI_STAGE_STARTUP: u32 = 1;
820pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
821pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
822pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
823pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
824pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
825pub const PHP_CONNECTION_NORMAL: u32 = 0;
826pub const PHP_CONNECTION_ABORTED: u32 = 1;
827pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
828pub const PHP_ENTRY_NAME_COLOR: &[u8; 5] = b"#ccf\0";
829pub const PHP_CONTENTS_COLOR: &[u8; 5] = b"#ccc\0";
830pub const PHP_HEADER_COLOR: &[u8; 5] = b"#99c\0";
831pub const PHP_INFO_GENERAL: u32 = 1;
832pub const PHP_INFO_CREDITS: u32 = 2;
833pub const PHP_INFO_CONFIGURATION: u32 = 4;
834pub const PHP_INFO_MODULES: u32 = 8;
835pub const PHP_INFO_ENVIRONMENT: u32 = 16;
836pub const PHP_INFO_VARIABLES: u32 = 32;
837pub const PHP_INFO_LICENSE: u32 = 64;
838pub const PHP_INFO_ALL: u32 = 4294967295;
839pub const PHP_CREDITS_GROUP: u32 = 1;
840pub const PHP_CREDITS_GENERAL: u32 = 2;
841pub const PHP_CREDITS_SAPI: u32 = 4;
842pub const PHP_CREDITS_MODULES: u32 = 8;
843pub const PHP_CREDITS_DOCS: u32 = 16;
844pub const PHP_CREDITS_FULLPAGE: u32 = 32;
845pub const PHP_CREDITS_QA: u32 = 64;
846pub const PHP_CREDITS_WEB: u32 = 128;
847pub const PHP_CREDITS_ALL: u32 = 4294967295;
848pub const PHP_LOGO_DATA_URI : & [u8 ; 5439] = b"data:image/png;base64,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\0" ;
849pub const PHP_EGG_LOGO_DATA_URI : & [u8 ; 8231] = b"data:image/png;base64,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\0" ;
850pub 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" ;
851pub const ZEND_EXTENSION_API_NO: u32 = 320151012;
852pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
853pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_CTOR: u32 = 1;
854pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_DTOR: u32 = 2;
855pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_HANDLER: u32 = 4;
856pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST_CALC: u32 = 8;
857pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST: u32 = 16;
858pub type __dev_t = ::std::os::raw::c_ulong;
859pub type __uid_t = ::std::os::raw::c_uint;
860pub type __gid_t = ::std::os::raw::c_uint;
861pub type __ino_t = ::std::os::raw::c_ulong;
862pub type __mode_t = ::std::os::raw::c_uint;
863pub type __nlink_t = ::std::os::raw::c_ulong;
864pub type __off_t = ::std::os::raw::c_long;
865pub type __off64_t = ::std::os::raw::c_long;
866pub type __time_t = ::std::os::raw::c_long;
867pub type __suseconds_t = ::std::os::raw::c_long;
868pub type __blksize_t = ::std::os::raw::c_long;
869pub type __blkcnt_t = ::std::os::raw::c_long;
870pub type __syscall_slong_t = ::std::os::raw::c_long;
871pub type __socklen_t = ::std::os::raw::c_uint;
872pub type time_t = __time_t;
873pub type uint = ::std::os::raw::c_uint;
874#[repr(C)]
875#[derive(Debug, Copy, Clone)]
876pub struct __sigset_t {
877 pub __val: [::std::os::raw::c_ulong; 16usize],
878}
879#[allow(clippy::unnecessary_operation, clippy::identity_op)]
880const _: () = {
881 ["Size of __sigset_t"][::std::mem::size_of::<__sigset_t>() - 128usize];
882 ["Alignment of __sigset_t"][::std::mem::align_of::<__sigset_t>() - 8usize];
883 ["Offset of field: __sigset_t::__val"][::std::mem::offset_of!(__sigset_t, __val) - 0usize];
884};
885#[repr(C)]
886#[derive(Debug, Copy, Clone)]
887pub struct timeval {
888 pub tv_sec: __time_t,
889 pub tv_usec: __suseconds_t,
890}
891#[allow(clippy::unnecessary_operation, clippy::identity_op)]
892const _: () = {
893 ["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
894 ["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
895 ["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
896 ["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
897};
898#[repr(C)]
899#[derive(Debug, Copy, Clone)]
900pub struct timespec {
901 pub tv_sec: __time_t,
902 pub tv_nsec: __syscall_slong_t,
903}
904#[allow(clippy::unnecessary_operation, clippy::identity_op)]
905const _: () = {
906 ["Size of timespec"][::std::mem::size_of::<timespec>() - 16usize];
907 ["Alignment of timespec"][::std::mem::align_of::<timespec>() - 8usize];
908 ["Offset of field: timespec::tv_sec"][::std::mem::offset_of!(timespec, tv_sec) - 0usize];
909 ["Offset of field: timespec::tv_nsec"][::std::mem::offset_of!(timespec, tv_nsec) - 8usize];
910};
911pub type va_list = __builtin_va_list;
912pub type FILE = _IO_FILE;
913#[repr(C)]
914#[derive(Debug, Copy, Clone)]
915pub struct _IO_marker {
916 _unused: [u8; 0],
917}
918#[repr(C)]
919#[derive(Debug, Copy, Clone)]
920pub struct _IO_codecvt {
921 _unused: [u8; 0],
922}
923#[repr(C)]
924#[derive(Debug, Copy, Clone)]
925pub struct _IO_wide_data {
926 _unused: [u8; 0],
927}
928pub type _IO_lock_t = ::std::os::raw::c_void;
929#[repr(C)]
930#[derive(Debug, Copy, Clone)]
931pub struct _IO_FILE {
932 pub _flags: ::std::os::raw::c_int,
933 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
934 pub _IO_read_end: *mut ::std::os::raw::c_char,
935 pub _IO_read_base: *mut ::std::os::raw::c_char,
936 pub _IO_write_base: *mut ::std::os::raw::c_char,
937 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
938 pub _IO_write_end: *mut ::std::os::raw::c_char,
939 pub _IO_buf_base: *mut ::std::os::raw::c_char,
940 pub _IO_buf_end: *mut ::std::os::raw::c_char,
941 pub _IO_save_base: *mut ::std::os::raw::c_char,
942 pub _IO_backup_base: *mut ::std::os::raw::c_char,
943 pub _IO_save_end: *mut ::std::os::raw::c_char,
944 pub _markers: *mut _IO_marker,
945 pub _chain: *mut _IO_FILE,
946 pub _fileno: ::std::os::raw::c_int,
947 pub _flags2: ::std::os::raw::c_int,
948 pub _old_offset: __off_t,
949 pub _cur_column: ::std::os::raw::c_ushort,
950 pub _vtable_offset: ::std::os::raw::c_schar,
951 pub _shortbuf: [::std::os::raw::c_char; 1usize],
952 pub _lock: *mut _IO_lock_t,
953 pub _offset: __off64_t,
954 pub _codecvt: *mut _IO_codecvt,
955 pub _wide_data: *mut _IO_wide_data,
956 pub _freeres_list: *mut _IO_FILE,
957 pub _freeres_buf: *mut ::std::os::raw::c_void,
958 pub __pad5: usize,
959 pub _mode: ::std::os::raw::c_int,
960 pub _unused2: [::std::os::raw::c_char; 20usize],
961}
962#[allow(clippy::unnecessary_operation, clippy::identity_op)]
963const _: () = {
964 ["Size of _IO_FILE"][::std::mem::size_of::<_IO_FILE>() - 216usize];
965 ["Alignment of _IO_FILE"][::std::mem::align_of::<_IO_FILE>() - 8usize];
966 ["Offset of field: _IO_FILE::_flags"][::std::mem::offset_of!(_IO_FILE, _flags) - 0usize];
967 ["Offset of field: _IO_FILE::_IO_read_ptr"]
968 [::std::mem::offset_of!(_IO_FILE, _IO_read_ptr) - 8usize];
969 ["Offset of field: _IO_FILE::_IO_read_end"]
970 [::std::mem::offset_of!(_IO_FILE, _IO_read_end) - 16usize];
971 ["Offset of field: _IO_FILE::_IO_read_base"]
972 [::std::mem::offset_of!(_IO_FILE, _IO_read_base) - 24usize];
973 ["Offset of field: _IO_FILE::_IO_write_base"]
974 [::std::mem::offset_of!(_IO_FILE, _IO_write_base) - 32usize];
975 ["Offset of field: _IO_FILE::_IO_write_ptr"]
976 [::std::mem::offset_of!(_IO_FILE, _IO_write_ptr) - 40usize];
977 ["Offset of field: _IO_FILE::_IO_write_end"]
978 [::std::mem::offset_of!(_IO_FILE, _IO_write_end) - 48usize];
979 ["Offset of field: _IO_FILE::_IO_buf_base"]
980 [::std::mem::offset_of!(_IO_FILE, _IO_buf_base) - 56usize];
981 ["Offset of field: _IO_FILE::_IO_buf_end"]
982 [::std::mem::offset_of!(_IO_FILE, _IO_buf_end) - 64usize];
983 ["Offset of field: _IO_FILE::_IO_save_base"]
984 [::std::mem::offset_of!(_IO_FILE, _IO_save_base) - 72usize];
985 ["Offset of field: _IO_FILE::_IO_backup_base"]
986 [::std::mem::offset_of!(_IO_FILE, _IO_backup_base) - 80usize];
987 ["Offset of field: _IO_FILE::_IO_save_end"]
988 [::std::mem::offset_of!(_IO_FILE, _IO_save_end) - 88usize];
989 ["Offset of field: _IO_FILE::_markers"][::std::mem::offset_of!(_IO_FILE, _markers) - 96usize];
990 ["Offset of field: _IO_FILE::_chain"][::std::mem::offset_of!(_IO_FILE, _chain) - 104usize];
991 ["Offset of field: _IO_FILE::_fileno"][::std::mem::offset_of!(_IO_FILE, _fileno) - 112usize];
992 ["Offset of field: _IO_FILE::_flags2"][::std::mem::offset_of!(_IO_FILE, _flags2) - 116usize];
993 ["Offset of field: _IO_FILE::_old_offset"]
994 [::std::mem::offset_of!(_IO_FILE, _old_offset) - 120usize];
995 ["Offset of field: _IO_FILE::_cur_column"]
996 [::std::mem::offset_of!(_IO_FILE, _cur_column) - 128usize];
997 ["Offset of field: _IO_FILE::_vtable_offset"]
998 [::std::mem::offset_of!(_IO_FILE, _vtable_offset) - 130usize];
999 ["Offset of field: _IO_FILE::_shortbuf"]
1000 [::std::mem::offset_of!(_IO_FILE, _shortbuf) - 131usize];
1001 ["Offset of field: _IO_FILE::_lock"][::std::mem::offset_of!(_IO_FILE, _lock) - 136usize];
1002 ["Offset of field: _IO_FILE::_offset"][::std::mem::offset_of!(_IO_FILE, _offset) - 144usize];
1003 ["Offset of field: _IO_FILE::_codecvt"][::std::mem::offset_of!(_IO_FILE, _codecvt) - 152usize];
1004 ["Offset of field: _IO_FILE::_wide_data"]
1005 [::std::mem::offset_of!(_IO_FILE, _wide_data) - 160usize];
1006 ["Offset of field: _IO_FILE::_freeres_list"]
1007 [::std::mem::offset_of!(_IO_FILE, _freeres_list) - 168usize];
1008 ["Offset of field: _IO_FILE::_freeres_buf"]
1009 [::std::mem::offset_of!(_IO_FILE, _freeres_buf) - 176usize];
1010 ["Offset of field: _IO_FILE::__pad5"][::std::mem::offset_of!(_IO_FILE, __pad5) - 184usize];
1011 ["Offset of field: _IO_FILE::_mode"][::std::mem::offset_of!(_IO_FILE, _mode) - 192usize];
1012 ["Offset of field: _IO_FILE::_unused2"][::std::mem::offset_of!(_IO_FILE, _unused2) - 196usize];
1013};
1014pub type zend_long = i64;
1015pub type zend_ulong = u64;
1016pub type zend_off_t = i64;
1017pub type zend_bool = ::std::os::raw::c_uchar;
1018pub type zend_uchar = ::std::os::raw::c_uchar;
1019pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
1020pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
1021pub type ZEND_RESULT_CODE = ::std::os::raw::c_int;
1022pub type zend_intptr_t = isize;
1023pub type zend_uintptr_t = usize;
1024pub type zend_object_handlers = _zend_object_handlers;
1025pub type zend_class_entry = _zend_class_entry;
1026pub type zend_function = _zend_function;
1027pub type zend_execute_data = _zend_execute_data;
1028pub type zval = _zval_struct;
1029pub type zend_refcounted = _zend_refcounted;
1030pub type zend_string = _zend_string;
1031pub type zend_array = _zend_array;
1032pub type zend_object = _zend_object;
1033pub type zend_resource = _zend_resource;
1034pub type zend_reference = _zend_reference;
1035pub type zend_ast_ref = _zend_ast_ref;
1036pub type zend_ast = _zend_ast;
1037pub type compare_func_t = ::std::option::Option<
1038 unsafe extern "C" fn(
1039 arg1: *const ::std::os::raw::c_void,
1040 arg2: *const ::std::os::raw::c_void,
1041 ) -> ::std::os::raw::c_int,
1042>;
1043pub type swap_func_t = ::std::option::Option<
1044 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void),
1045>;
1046pub type sort_func_t = ::std::option::Option<
1047 unsafe extern "C" fn(
1048 arg1: *mut ::std::os::raw::c_void,
1049 arg2: usize,
1050 arg3: usize,
1051 arg4: compare_func_t,
1052 arg5: swap_func_t,
1053 ),
1054>;
1055pub type dtor_func_t = ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval)>;
1056pub type copy_ctor_func_t = ::std::option::Option<unsafe extern "C" fn(pElement: *mut zval)>;
1057#[repr(C)]
1058#[derive(Copy, Clone)]
1059pub union _zend_value {
1060 pub lval: zend_long,
1061 pub dval: f64,
1062 pub counted: *mut zend_refcounted,
1063 pub str_: *mut zend_string,
1064 pub arr: *mut zend_array,
1065 pub obj: *mut zend_object,
1066 pub res: *mut zend_resource,
1067 pub ref_: *mut zend_reference,
1068 pub ast: *mut zend_ast_ref,
1069 pub zv: *mut zval,
1070 pub ptr: *mut ::std::os::raw::c_void,
1071 pub ce: *mut zend_class_entry,
1072 pub func: *mut zend_function,
1073 pub ww: _zend_value__bindgen_ty_1,
1074}
1075#[repr(C)]
1076#[derive(Debug, Copy, Clone)]
1077pub struct _zend_value__bindgen_ty_1 {
1078 pub w1: u32,
1079 pub w2: u32,
1080}
1081#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1082const _: () = {
1083 ["Size of _zend_value__bindgen_ty_1"]
1084 [::std::mem::size_of::<_zend_value__bindgen_ty_1>() - 8usize];
1085 ["Alignment of _zend_value__bindgen_ty_1"]
1086 [::std::mem::align_of::<_zend_value__bindgen_ty_1>() - 4usize];
1087 ["Offset of field: _zend_value__bindgen_ty_1::w1"]
1088 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w1) - 0usize];
1089 ["Offset of field: _zend_value__bindgen_ty_1::w2"]
1090 [::std::mem::offset_of!(_zend_value__bindgen_ty_1, w2) - 4usize];
1091};
1092#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1093const _: () = {
1094 ["Size of _zend_value"][::std::mem::size_of::<_zend_value>() - 8usize];
1095 ["Alignment of _zend_value"][::std::mem::align_of::<_zend_value>() - 8usize];
1096 ["Offset of field: _zend_value::lval"][::std::mem::offset_of!(_zend_value, lval) - 0usize];
1097 ["Offset of field: _zend_value::dval"][::std::mem::offset_of!(_zend_value, dval) - 0usize];
1098 ["Offset of field: _zend_value::counted"]
1099 [::std::mem::offset_of!(_zend_value, counted) - 0usize];
1100 ["Offset of field: _zend_value::str_"][::std::mem::offset_of!(_zend_value, str_) - 0usize];
1101 ["Offset of field: _zend_value::arr"][::std::mem::offset_of!(_zend_value, arr) - 0usize];
1102 ["Offset of field: _zend_value::obj"][::std::mem::offset_of!(_zend_value, obj) - 0usize];
1103 ["Offset of field: _zend_value::res"][::std::mem::offset_of!(_zend_value, res) - 0usize];
1104 ["Offset of field: _zend_value::ref_"][::std::mem::offset_of!(_zend_value, ref_) - 0usize];
1105 ["Offset of field: _zend_value::ast"][::std::mem::offset_of!(_zend_value, ast) - 0usize];
1106 ["Offset of field: _zend_value::zv"][::std::mem::offset_of!(_zend_value, zv) - 0usize];
1107 ["Offset of field: _zend_value::ptr"][::std::mem::offset_of!(_zend_value, ptr) - 0usize];
1108 ["Offset of field: _zend_value::ce"][::std::mem::offset_of!(_zend_value, ce) - 0usize];
1109 ["Offset of field: _zend_value::func"][::std::mem::offset_of!(_zend_value, func) - 0usize];
1110 ["Offset of field: _zend_value::ww"][::std::mem::offset_of!(_zend_value, ww) - 0usize];
1111};
1112pub type zend_value = _zend_value;
1113#[repr(C)]
1114#[derive(Copy, Clone)]
1115pub struct _zval_struct {
1116 pub value: zend_value,
1117 pub u1: _zval_struct__bindgen_ty_1,
1118 pub u2: _zval_struct__bindgen_ty_2,
1119}
1120#[repr(C)]
1121#[derive(Copy, Clone)]
1122pub union _zval_struct__bindgen_ty_1 {
1123 pub v: _zval_struct__bindgen_ty_1__bindgen_ty_1,
1124 pub type_info: u32,
1125}
1126#[repr(C)]
1127#[derive(Debug, Copy, Clone)]
1128pub struct _zval_struct__bindgen_ty_1__bindgen_ty_1 {
1129 pub type_: zend_uchar,
1130 pub type_flags: zend_uchar,
1131 pub const_flags: zend_uchar,
1132 pub reserved: zend_uchar,
1133}
1134#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1135const _: () = {
1136 ["Size of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1137 [::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1138 ["Alignment of _zval_struct__bindgen_ty_1__bindgen_ty_1"]
1139 [::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>() - 1usize];
1140 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_"]
1141 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_) - 0usize];
1142 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::type_flags"]
1143 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, type_flags) - 1usize];
1144 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::const_flags"]
1145 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, const_flags) - 2usize];
1146 ["Offset of field: _zval_struct__bindgen_ty_1__bindgen_ty_1::reserved"]
1147 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1__bindgen_ty_1, reserved) - 3usize];
1148};
1149#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1150const _: () = {
1151 ["Size of _zval_struct__bindgen_ty_1"]
1152 [::std::mem::size_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1153 ["Alignment of _zval_struct__bindgen_ty_1"]
1154 [::std::mem::align_of::<_zval_struct__bindgen_ty_1>() - 4usize];
1155 ["Offset of field: _zval_struct__bindgen_ty_1::v"]
1156 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, v) - 0usize];
1157 ["Offset of field: _zval_struct__bindgen_ty_1::type_info"]
1158 [::std::mem::offset_of!(_zval_struct__bindgen_ty_1, type_info) - 0usize];
1159};
1160#[repr(C)]
1161#[derive(Copy, Clone)]
1162pub union _zval_struct__bindgen_ty_2 {
1163 pub var_flags: u32,
1164 pub next: u32,
1165 pub cache_slot: u32,
1166 pub lineno: u32,
1167 pub num_args: u32,
1168 pub fe_pos: u32,
1169 pub fe_iter_idx: u32,
1170}
1171#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1172const _: () = {
1173 ["Size of _zval_struct__bindgen_ty_2"]
1174 [::std::mem::size_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1175 ["Alignment of _zval_struct__bindgen_ty_2"]
1176 [::std::mem::align_of::<_zval_struct__bindgen_ty_2>() - 4usize];
1177 ["Offset of field: _zval_struct__bindgen_ty_2::var_flags"]
1178 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, var_flags) - 0usize];
1179 ["Offset of field: _zval_struct__bindgen_ty_2::next"]
1180 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, next) - 0usize];
1181 ["Offset of field: _zval_struct__bindgen_ty_2::cache_slot"]
1182 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, cache_slot) - 0usize];
1183 ["Offset of field: _zval_struct__bindgen_ty_2::lineno"]
1184 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, lineno) - 0usize];
1185 ["Offset of field: _zval_struct__bindgen_ty_2::num_args"]
1186 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, num_args) - 0usize];
1187 ["Offset of field: _zval_struct__bindgen_ty_2::fe_pos"]
1188 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_pos) - 0usize];
1189 ["Offset of field: _zval_struct__bindgen_ty_2::fe_iter_idx"]
1190 [::std::mem::offset_of!(_zval_struct__bindgen_ty_2, fe_iter_idx) - 0usize];
1191};
1192#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1193const _: () = {
1194 ["Size of _zval_struct"][::std::mem::size_of::<_zval_struct>() - 16usize];
1195 ["Alignment of _zval_struct"][::std::mem::align_of::<_zval_struct>() - 8usize];
1196 ["Offset of field: _zval_struct::value"][::std::mem::offset_of!(_zval_struct, value) - 0usize];
1197 ["Offset of field: _zval_struct::u1"][::std::mem::offset_of!(_zval_struct, u1) - 8usize];
1198 ["Offset of field: _zval_struct::u2"][::std::mem::offset_of!(_zval_struct, u2) - 12usize];
1199};
1200#[repr(C)]
1201#[derive(Copy, Clone)]
1202pub struct _zend_refcounted_h {
1203 pub refcount: u32,
1204 pub u: _zend_refcounted_h__bindgen_ty_1,
1205}
1206#[repr(C)]
1207#[derive(Copy, Clone)]
1208pub union _zend_refcounted_h__bindgen_ty_1 {
1209 pub v: _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1,
1210 pub type_info: u32,
1211}
1212#[repr(C)]
1213#[derive(Debug, Copy, Clone)]
1214pub struct _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1 {
1215 pub type_: zend_uchar,
1216 pub flags: zend_uchar,
1217 pub gc_info: u16,
1218}
1219#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1220const _: () = {
1221 ["Size of _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1"]
1222 [::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1223 ["Alignment of _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1"]
1224 [::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>() - 2usize];
1225 ["Offset of field: _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1::type_"]
1226 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1, type_) - 0usize];
1227 ["Offset of field: _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1::flags"]
1228 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1, flags) - 1usize];
1229 ["Offset of field: _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1::gc_info"]
1230 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1, gc_info) - 2usize];
1231};
1232#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1233const _: () = {
1234 ["Size of _zend_refcounted_h__bindgen_ty_1"]
1235 [::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1236 ["Alignment of _zend_refcounted_h__bindgen_ty_1"]
1237 [::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1>() - 4usize];
1238 ["Offset of field: _zend_refcounted_h__bindgen_ty_1::v"]
1239 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1, v) - 0usize];
1240 ["Offset of field: _zend_refcounted_h__bindgen_ty_1::type_info"]
1241 [::std::mem::offset_of!(_zend_refcounted_h__bindgen_ty_1, type_info) - 0usize];
1242};
1243#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1244const _: () = {
1245 ["Size of _zend_refcounted_h"][::std::mem::size_of::<_zend_refcounted_h>() - 8usize];
1246 ["Alignment of _zend_refcounted_h"][::std::mem::align_of::<_zend_refcounted_h>() - 4usize];
1247 ["Offset of field: _zend_refcounted_h::refcount"]
1248 [::std::mem::offset_of!(_zend_refcounted_h, refcount) - 0usize];
1249 ["Offset of field: _zend_refcounted_h::u"]
1250 [::std::mem::offset_of!(_zend_refcounted_h, u) - 4usize];
1251};
1252pub type zend_refcounted_h = _zend_refcounted_h;
1253#[repr(C)]
1254#[derive(Copy, Clone)]
1255pub struct _zend_refcounted {
1256 pub gc: zend_refcounted_h,
1257}
1258#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1259const _: () = {
1260 ["Size of _zend_refcounted"][::std::mem::size_of::<_zend_refcounted>() - 8usize];
1261 ["Alignment of _zend_refcounted"][::std::mem::align_of::<_zend_refcounted>() - 4usize];
1262 ["Offset of field: _zend_refcounted::gc"]
1263 [::std::mem::offset_of!(_zend_refcounted, gc) - 0usize];
1264};
1265#[repr(C)]
1266#[derive(Copy, Clone)]
1267pub struct _zend_string {
1268 pub gc: zend_refcounted_h,
1269 pub h: zend_ulong,
1270 pub len: usize,
1271 pub val: [::std::os::raw::c_char; 1usize],
1272}
1273#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1274const _: () = {
1275 ["Size of _zend_string"][::std::mem::size_of::<_zend_string>() - 32usize];
1276 ["Alignment of _zend_string"][::std::mem::align_of::<_zend_string>() - 8usize];
1277 ["Offset of field: _zend_string::gc"][::std::mem::offset_of!(_zend_string, gc) - 0usize];
1278 ["Offset of field: _zend_string::h"][::std::mem::offset_of!(_zend_string, h) - 8usize];
1279 ["Offset of field: _zend_string::len"][::std::mem::offset_of!(_zend_string, len) - 16usize];
1280 ["Offset of field: _zend_string::val"][::std::mem::offset_of!(_zend_string, val) - 24usize];
1281};
1282#[repr(C)]
1283#[derive(Copy, Clone)]
1284pub struct _Bucket {
1285 pub val: zval,
1286 pub h: zend_ulong,
1287 pub key: *mut zend_string,
1288}
1289#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1290const _: () = {
1291 ["Size of _Bucket"][::std::mem::size_of::<_Bucket>() - 32usize];
1292 ["Alignment of _Bucket"][::std::mem::align_of::<_Bucket>() - 8usize];
1293 ["Offset of field: _Bucket::val"][::std::mem::offset_of!(_Bucket, val) - 0usize];
1294 ["Offset of field: _Bucket::h"][::std::mem::offset_of!(_Bucket, h) - 16usize];
1295 ["Offset of field: _Bucket::key"][::std::mem::offset_of!(_Bucket, key) - 24usize];
1296};
1297pub type Bucket = _Bucket;
1298pub type HashTable = _zend_array;
1299#[repr(C)]
1300#[derive(Copy, Clone)]
1301pub struct _zend_array {
1302 pub gc: zend_refcounted_h,
1303 pub u: _zend_array__bindgen_ty_1,
1304 pub nTableMask: u32,
1305 pub arData: *mut Bucket,
1306 pub nNumUsed: u32,
1307 pub nNumOfElements: u32,
1308 pub nTableSize: u32,
1309 pub nInternalPointer: u32,
1310 pub nNextFreeElement: zend_long,
1311 pub pDestructor: dtor_func_t,
1312}
1313#[repr(C)]
1314#[derive(Copy, Clone)]
1315pub union _zend_array__bindgen_ty_1 {
1316 pub v: _zend_array__bindgen_ty_1__bindgen_ty_1,
1317 pub flags: u32,
1318}
1319#[repr(C)]
1320#[derive(Debug, Copy, Clone)]
1321pub struct _zend_array__bindgen_ty_1__bindgen_ty_1 {
1322 pub flags: zend_uchar,
1323 pub nApplyCount: zend_uchar,
1324 pub nIteratorsCount: zend_uchar,
1325 pub reserve: zend_uchar,
1326}
1327#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1328const _: () = {
1329 ["Size of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1330 [::std::mem::size_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 4usize];
1331 ["Alignment of _zend_array__bindgen_ty_1__bindgen_ty_1"]
1332 [::std::mem::align_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>() - 1usize];
1333 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::flags"]
1334 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, flags) - 0usize];
1335 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::nApplyCount"]
1336 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, nApplyCount) - 1usize];
1337 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::nIteratorsCount"]
1338 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, nIteratorsCount) - 2usize];
1339 ["Offset of field: _zend_array__bindgen_ty_1__bindgen_ty_1::reserve"]
1340 [::std::mem::offset_of!(_zend_array__bindgen_ty_1__bindgen_ty_1, reserve) - 3usize];
1341};
1342#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1343const _: () = {
1344 ["Size of _zend_array__bindgen_ty_1"]
1345 [::std::mem::size_of::<_zend_array__bindgen_ty_1>() - 4usize];
1346 ["Alignment of _zend_array__bindgen_ty_1"]
1347 [::std::mem::align_of::<_zend_array__bindgen_ty_1>() - 4usize];
1348 ["Offset of field: _zend_array__bindgen_ty_1::v"]
1349 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, v) - 0usize];
1350 ["Offset of field: _zend_array__bindgen_ty_1::flags"]
1351 [::std::mem::offset_of!(_zend_array__bindgen_ty_1, flags) - 0usize];
1352};
1353#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1354const _: () = {
1355 ["Size of _zend_array"][::std::mem::size_of::<_zend_array>() - 56usize];
1356 ["Alignment of _zend_array"][::std::mem::align_of::<_zend_array>() - 8usize];
1357 ["Offset of field: _zend_array::gc"][::std::mem::offset_of!(_zend_array, gc) - 0usize];
1358 ["Offset of field: _zend_array::u"][::std::mem::offset_of!(_zend_array, u) - 8usize];
1359 ["Offset of field: _zend_array::nTableMask"]
1360 [::std::mem::offset_of!(_zend_array, nTableMask) - 12usize];
1361 ["Offset of field: _zend_array::arData"][::std::mem::offset_of!(_zend_array, arData) - 16usize];
1362 ["Offset of field: _zend_array::nNumUsed"]
1363 [::std::mem::offset_of!(_zend_array, nNumUsed) - 24usize];
1364 ["Offset of field: _zend_array::nNumOfElements"]
1365 [::std::mem::offset_of!(_zend_array, nNumOfElements) - 28usize];
1366 ["Offset of field: _zend_array::nTableSize"]
1367 [::std::mem::offset_of!(_zend_array, nTableSize) - 32usize];
1368 ["Offset of field: _zend_array::nInternalPointer"]
1369 [::std::mem::offset_of!(_zend_array, nInternalPointer) - 36usize];
1370 ["Offset of field: _zend_array::nNextFreeElement"]
1371 [::std::mem::offset_of!(_zend_array, nNextFreeElement) - 40usize];
1372 ["Offset of field: _zend_array::pDestructor"]
1373 [::std::mem::offset_of!(_zend_array, pDestructor) - 48usize];
1374};
1375pub type HashPosition = u32;
1376#[repr(C)]
1377#[derive(Debug, Copy, Clone)]
1378pub struct _HashTableIterator {
1379 pub ht: *mut HashTable,
1380 pub pos: HashPosition,
1381}
1382#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1383const _: () = {
1384 ["Size of _HashTableIterator"][::std::mem::size_of::<_HashTableIterator>() - 16usize];
1385 ["Alignment of _HashTableIterator"][::std::mem::align_of::<_HashTableIterator>() - 8usize];
1386 ["Offset of field: _HashTableIterator::ht"]
1387 [::std::mem::offset_of!(_HashTableIterator, ht) - 0usize];
1388 ["Offset of field: _HashTableIterator::pos"]
1389 [::std::mem::offset_of!(_HashTableIterator, pos) - 8usize];
1390};
1391pub type HashTableIterator = _HashTableIterator;
1392#[repr(C)]
1393#[derive(Copy, Clone)]
1394pub struct _zend_object {
1395 pub gc: zend_refcounted_h,
1396 pub handle: u32,
1397 pub ce: *mut zend_class_entry,
1398 pub handlers: *const zend_object_handlers,
1399 pub properties: *mut HashTable,
1400 pub properties_table: [zval; 1usize],
1401}
1402#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1403const _: () = {
1404 ["Size of _zend_object"][::std::mem::size_of::<_zend_object>() - 56usize];
1405 ["Alignment of _zend_object"][::std::mem::align_of::<_zend_object>() - 8usize];
1406 ["Offset of field: _zend_object::gc"][::std::mem::offset_of!(_zend_object, gc) - 0usize];
1407 ["Offset of field: _zend_object::handle"]
1408 [::std::mem::offset_of!(_zend_object, handle) - 8usize];
1409 ["Offset of field: _zend_object::ce"][::std::mem::offset_of!(_zend_object, ce) - 16usize];
1410 ["Offset of field: _zend_object::handlers"]
1411 [::std::mem::offset_of!(_zend_object, handlers) - 24usize];
1412 ["Offset of field: _zend_object::properties"]
1413 [::std::mem::offset_of!(_zend_object, properties) - 32usize];
1414 ["Offset of field: _zend_object::properties_table"]
1415 [::std::mem::offset_of!(_zend_object, properties_table) - 40usize];
1416};
1417#[repr(C)]
1418#[derive(Copy, Clone)]
1419pub struct _zend_resource {
1420 pub gc: zend_refcounted_h,
1421 pub handle: ::std::os::raw::c_int,
1422 pub type_: ::std::os::raw::c_int,
1423 pub ptr: *mut ::std::os::raw::c_void,
1424}
1425#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1426const _: () = {
1427 ["Size of _zend_resource"][::std::mem::size_of::<_zend_resource>() - 24usize];
1428 ["Alignment of _zend_resource"][::std::mem::align_of::<_zend_resource>() - 8usize];
1429 ["Offset of field: _zend_resource::gc"][::std::mem::offset_of!(_zend_resource, gc) - 0usize];
1430 ["Offset of field: _zend_resource::handle"]
1431 [::std::mem::offset_of!(_zend_resource, handle) - 8usize];
1432 ["Offset of field: _zend_resource::type_"]
1433 [::std::mem::offset_of!(_zend_resource, type_) - 12usize];
1434 ["Offset of field: _zend_resource::ptr"][::std::mem::offset_of!(_zend_resource, ptr) - 16usize];
1435};
1436#[repr(C)]
1437#[derive(Copy, Clone)]
1438pub struct _zend_reference {
1439 pub gc: zend_refcounted_h,
1440 pub val: zval,
1441}
1442#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1443const _: () = {
1444 ["Size of _zend_reference"][::std::mem::size_of::<_zend_reference>() - 24usize];
1445 ["Alignment of _zend_reference"][::std::mem::align_of::<_zend_reference>() - 8usize];
1446 ["Offset of field: _zend_reference::gc"][::std::mem::offset_of!(_zend_reference, gc) - 0usize];
1447 ["Offset of field: _zend_reference::val"]
1448 [::std::mem::offset_of!(_zend_reference, val) - 8usize];
1449};
1450#[repr(C)]
1451#[derive(Copy, Clone)]
1452pub struct _zend_ast_ref {
1453 pub gc: zend_refcounted_h,
1454 pub ast: *mut zend_ast,
1455}
1456#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1457const _: () = {
1458 ["Size of _zend_ast_ref"][::std::mem::size_of::<_zend_ast_ref>() - 16usize];
1459 ["Alignment of _zend_ast_ref"][::std::mem::align_of::<_zend_ast_ref>() - 8usize];
1460 ["Offset of field: _zend_ast_ref::gc"][::std::mem::offset_of!(_zend_ast_ref, gc) - 0usize];
1461 ["Offset of field: _zend_ast_ref::ast"][::std::mem::offset_of!(_zend_ast_ref, ast) - 8usize];
1462};
1463#[repr(C)]
1464#[derive(Debug, Copy, Clone)]
1465pub struct _zend_leak_info {
1466 pub addr: *mut ::std::os::raw::c_void,
1467 pub size: usize,
1468 pub filename: *const ::std::os::raw::c_char,
1469 pub orig_filename: *const ::std::os::raw::c_char,
1470 pub lineno: uint,
1471 pub orig_lineno: uint,
1472}
1473#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1474const _: () = {
1475 ["Size of _zend_leak_info"][::std::mem::size_of::<_zend_leak_info>() - 40usize];
1476 ["Alignment of _zend_leak_info"][::std::mem::align_of::<_zend_leak_info>() - 8usize];
1477 ["Offset of field: _zend_leak_info::addr"]
1478 [::std::mem::offset_of!(_zend_leak_info, addr) - 0usize];
1479 ["Offset of field: _zend_leak_info::size"]
1480 [::std::mem::offset_of!(_zend_leak_info, size) - 8usize];
1481 ["Offset of field: _zend_leak_info::filename"]
1482 [::std::mem::offset_of!(_zend_leak_info, filename) - 16usize];
1483 ["Offset of field: _zend_leak_info::orig_filename"]
1484 [::std::mem::offset_of!(_zend_leak_info, orig_filename) - 24usize];
1485 ["Offset of field: _zend_leak_info::lineno"]
1486 [::std::mem::offset_of!(_zend_leak_info, lineno) - 32usize];
1487 ["Offset of field: _zend_leak_info::orig_lineno"]
1488 [::std::mem::offset_of!(_zend_leak_info, orig_lineno) - 36usize];
1489};
1490pub type zend_leak_info = _zend_leak_info;
1491extern "C" {
1492 pub fn zend_strndup(
1493 s: *const ::std::os::raw::c_char,
1494 length: usize,
1495 ) -> *mut ::std::os::raw::c_char;
1496}
1497extern "C" {
1498 pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> usize;
1499}
1500extern "C" {
1501 pub fn zend_set_memory_limit(memory_limit: usize) -> ::std::os::raw::c_int;
1502}
1503extern "C" {
1504 pub fn zend_memory_usage(real_usage: ::std::os::raw::c_int) -> usize;
1505}
1506extern "C" {
1507 pub fn zend_memory_peak_usage(real_usage: ::std::os::raw::c_int) -> usize;
1508}
1509#[repr(C)]
1510#[derive(Debug, Copy, Clone)]
1511pub struct _zend_mm_heap {
1512 _unused: [u8; 0],
1513}
1514pub type zend_mm_heap = _zend_mm_heap;
1515extern "C" {
1516 pub fn zend_mm_startup() -> *mut zend_mm_heap;
1517}
1518extern "C" {
1519 pub fn zend_mm_shutdown(
1520 heap: *mut zend_mm_heap,
1521 full_shutdown: ::std::os::raw::c_int,
1522 silent: ::std::os::raw::c_int,
1523 );
1524}
1525extern "C" {
1526 pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: usize) -> *mut ::std::os::raw::c_void;
1527}
1528extern "C" {
1529 pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
1530}
1531extern "C" {
1532 pub fn _zend_mm_realloc(
1533 heap: *mut zend_mm_heap,
1534 p: *mut ::std::os::raw::c_void,
1535 size: usize,
1536 ) -> *mut ::std::os::raw::c_void;
1537}
1538extern "C" {
1539 pub fn _zend_mm_realloc2(
1540 heap: *mut zend_mm_heap,
1541 p: *mut ::std::os::raw::c_void,
1542 size: usize,
1543 copy_size: usize,
1544 ) -> *mut ::std::os::raw::c_void;
1545}
1546extern "C" {
1547 pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> usize;
1548}
1549extern "C" {
1550 pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
1551}
1552extern "C" {
1553 pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
1554}
1555extern "C" {
1556 pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> usize;
1557}
1558extern "C" {
1559 pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> ::std::os::raw::c_int;
1560}
1561extern "C" {
1562 pub fn zend_mm_set_custom_handlers(
1563 heap: *mut zend_mm_heap,
1564 _malloc: ::std::option::Option<
1565 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1566 >,
1567 _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1568 _realloc: ::std::option::Option<
1569 unsafe extern "C" fn(
1570 arg1: *mut ::std::os::raw::c_void,
1571 arg2: usize,
1572 ) -> *mut ::std::os::raw::c_void,
1573 >,
1574 );
1575}
1576extern "C" {
1577 pub fn zend_mm_get_custom_handlers(
1578 heap: *mut zend_mm_heap,
1579 _malloc: *mut ::std::option::Option<
1580 unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1581 >,
1582 _free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1583 _realloc: *mut ::std::option::Option<
1584 unsafe extern "C" fn(
1585 arg1: *mut ::std::os::raw::c_void,
1586 arg2: usize,
1587 ) -> *mut ::std::os::raw::c_void,
1588 >,
1589 );
1590}
1591pub type zend_mm_storage = _zend_mm_storage;
1592pub type zend_mm_chunk_alloc_t = ::std::option::Option<
1593 unsafe extern "C" fn(
1594 storage: *mut zend_mm_storage,
1595 size: usize,
1596 alignment: usize,
1597 ) -> *mut ::std::os::raw::c_void,
1598>;
1599pub type zend_mm_chunk_free_t = ::std::option::Option<
1600 unsafe extern "C" fn(
1601 storage: *mut zend_mm_storage,
1602 chunk: *mut ::std::os::raw::c_void,
1603 size: usize,
1604 ),
1605>;
1606pub type zend_mm_chunk_truncate_t = ::std::option::Option<
1607 unsafe extern "C" fn(
1608 storage: *mut zend_mm_storage,
1609 chunk: *mut ::std::os::raw::c_void,
1610 old_size: usize,
1611 new_size: usize,
1612 ) -> ::std::os::raw::c_int,
1613>;
1614pub type zend_mm_chunk_extend_t = ::std::option::Option<
1615 unsafe extern "C" fn(
1616 storage: *mut zend_mm_storage,
1617 chunk: *mut ::std::os::raw::c_void,
1618 old_size: usize,
1619 new_size: usize,
1620 ) -> ::std::os::raw::c_int,
1621>;
1622#[repr(C)]
1623#[derive(Debug, Copy, Clone)]
1624pub struct _zend_mm_handlers {
1625 pub chunk_alloc: zend_mm_chunk_alloc_t,
1626 pub chunk_free: zend_mm_chunk_free_t,
1627 pub chunk_truncate: zend_mm_chunk_truncate_t,
1628 pub chunk_extend: zend_mm_chunk_extend_t,
1629}
1630#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1631const _: () = {
1632 ["Size of _zend_mm_handlers"][::std::mem::size_of::<_zend_mm_handlers>() - 32usize];
1633 ["Alignment of _zend_mm_handlers"][::std::mem::align_of::<_zend_mm_handlers>() - 8usize];
1634 ["Offset of field: _zend_mm_handlers::chunk_alloc"]
1635 [::std::mem::offset_of!(_zend_mm_handlers, chunk_alloc) - 0usize];
1636 ["Offset of field: _zend_mm_handlers::chunk_free"]
1637 [::std::mem::offset_of!(_zend_mm_handlers, chunk_free) - 8usize];
1638 ["Offset of field: _zend_mm_handlers::chunk_truncate"]
1639 [::std::mem::offset_of!(_zend_mm_handlers, chunk_truncate) - 16usize];
1640 ["Offset of field: _zend_mm_handlers::chunk_extend"]
1641 [::std::mem::offset_of!(_zend_mm_handlers, chunk_extend) - 24usize];
1642};
1643pub type zend_mm_handlers = _zend_mm_handlers;
1644#[repr(C)]
1645#[derive(Debug, Copy, Clone)]
1646pub struct _zend_mm_storage {
1647 pub handlers: zend_mm_handlers,
1648 pub data: *mut ::std::os::raw::c_void,
1649}
1650#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1651const _: () = {
1652 ["Size of _zend_mm_storage"][::std::mem::size_of::<_zend_mm_storage>() - 40usize];
1653 ["Alignment of _zend_mm_storage"][::std::mem::align_of::<_zend_mm_storage>() - 8usize];
1654 ["Offset of field: _zend_mm_storage::handlers"]
1655 [::std::mem::offset_of!(_zend_mm_storage, handlers) - 0usize];
1656 ["Offset of field: _zend_mm_storage::data"]
1657 [::std::mem::offset_of!(_zend_mm_storage, data) - 32usize];
1658};
1659extern "C" {
1660 pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
1661}
1662extern "C" {
1663 pub fn zend_mm_startup_ex(
1664 handlers: *const zend_mm_handlers,
1665 data: *mut ::std::os::raw::c_void,
1666 data_size: usize,
1667 ) -> *mut zend_mm_heap;
1668}
1669#[repr(C)]
1670#[derive(Debug, Copy, Clone)]
1671pub struct _zend_llist_element {
1672 pub next: *mut _zend_llist_element,
1673 pub prev: *mut _zend_llist_element,
1674 pub data: [::std::os::raw::c_char; 1usize],
1675}
1676#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1677const _: () = {
1678 ["Size of _zend_llist_element"][::std::mem::size_of::<_zend_llist_element>() - 24usize];
1679 ["Alignment of _zend_llist_element"][::std::mem::align_of::<_zend_llist_element>() - 8usize];
1680 ["Offset of field: _zend_llist_element::next"]
1681 [::std::mem::offset_of!(_zend_llist_element, next) - 0usize];
1682 ["Offset of field: _zend_llist_element::prev"]
1683 [::std::mem::offset_of!(_zend_llist_element, prev) - 8usize];
1684 ["Offset of field: _zend_llist_element::data"]
1685 [::std::mem::offset_of!(_zend_llist_element, data) - 16usize];
1686};
1687pub type zend_llist_element = _zend_llist_element;
1688pub type llist_dtor_func_t =
1689 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1690pub type llist_compare_func_t = ::std::option::Option<
1691 unsafe extern "C" fn(
1692 arg1: *mut *const zend_llist_element,
1693 arg2: *mut *const zend_llist_element,
1694 ) -> ::std::os::raw::c_int,
1695>;
1696pub type llist_apply_with_args_func_t = ::std::option::Option<
1697 unsafe extern "C" fn(
1698 data: *mut ::std::os::raw::c_void,
1699 num_args: ::std::os::raw::c_int,
1700 args: *mut __va_list_tag,
1701 ),
1702>;
1703pub type llist_apply_with_arg_func_t = ::std::option::Option<
1704 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
1705>;
1706pub type llist_apply_func_t =
1707 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1708#[repr(C)]
1709#[derive(Debug, Copy, Clone)]
1710pub struct _zend_llist {
1711 pub head: *mut zend_llist_element,
1712 pub tail: *mut zend_llist_element,
1713 pub count: usize,
1714 pub size: usize,
1715 pub dtor: llist_dtor_func_t,
1716 pub persistent: ::std::os::raw::c_uchar,
1717 pub traverse_ptr: *mut zend_llist_element,
1718}
1719#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1720const _: () = {
1721 ["Size of _zend_llist"][::std::mem::size_of::<_zend_llist>() - 56usize];
1722 ["Alignment of _zend_llist"][::std::mem::align_of::<_zend_llist>() - 8usize];
1723 ["Offset of field: _zend_llist::head"][::std::mem::offset_of!(_zend_llist, head) - 0usize];
1724 ["Offset of field: _zend_llist::tail"][::std::mem::offset_of!(_zend_llist, tail) - 8usize];
1725 ["Offset of field: _zend_llist::count"][::std::mem::offset_of!(_zend_llist, count) - 16usize];
1726 ["Offset of field: _zend_llist::size"][::std::mem::offset_of!(_zend_llist, size) - 24usize];
1727 ["Offset of field: _zend_llist::dtor"][::std::mem::offset_of!(_zend_llist, dtor) - 32usize];
1728 ["Offset of field: _zend_llist::persistent"]
1729 [::std::mem::offset_of!(_zend_llist, persistent) - 40usize];
1730 ["Offset of field: _zend_llist::traverse_ptr"]
1731 [::std::mem::offset_of!(_zend_llist, traverse_ptr) - 48usize];
1732};
1733pub type zend_llist = _zend_llist;
1734pub type zend_llist_position = *mut zend_llist_element;
1735extern "C" {
1736 pub fn zend_llist_init(
1737 l: *mut zend_llist,
1738 size: usize,
1739 dtor: llist_dtor_func_t,
1740 persistent: ::std::os::raw::c_uchar,
1741 );
1742}
1743extern "C" {
1744 pub fn zend_llist_add_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
1745}
1746extern "C" {
1747 pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
1748}
1749extern "C" {
1750 pub fn zend_llist_del_element(
1751 l: *mut zend_llist,
1752 element: *mut ::std::os::raw::c_void,
1753 compare: ::std::option::Option<
1754 unsafe extern "C" fn(
1755 element1: *mut ::std::os::raw::c_void,
1756 element2: *mut ::std::os::raw::c_void,
1757 ) -> ::std::os::raw::c_int,
1758 >,
1759 );
1760}
1761extern "C" {
1762 pub fn zend_llist_destroy(l: *mut zend_llist);
1763}
1764extern "C" {
1765 pub fn zend_llist_clean(l: *mut zend_llist);
1766}
1767extern "C" {
1768 pub fn zend_llist_remove_tail(l: *mut zend_llist);
1769}
1770extern "C" {
1771 pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
1772}
1773extern "C" {
1774 pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
1775}
1776extern "C" {
1777 pub fn zend_llist_apply_with_del(
1778 l: *mut zend_llist,
1779 func: ::std::option::Option<
1780 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1781 >,
1782 );
1783}
1784extern "C" {
1785 pub fn zend_llist_apply_with_argument(
1786 l: *mut zend_llist,
1787 func: llist_apply_with_arg_func_t,
1788 arg: *mut ::std::os::raw::c_void,
1789 );
1790}
1791extern "C" {
1792 pub fn zend_llist_apply_with_arguments(
1793 l: *mut zend_llist,
1794 func: llist_apply_with_args_func_t,
1795 num_args: ::std::os::raw::c_int,
1796 ...
1797 );
1798}
1799extern "C" {
1800 pub fn zend_llist_count(l: *mut zend_llist) -> usize;
1801}
1802extern "C" {
1803 pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
1804}
1805extern "C" {
1806 pub fn zend_llist_get_first_ex(
1807 l: *mut zend_llist,
1808 pos: *mut zend_llist_position,
1809 ) -> *mut ::std::os::raw::c_void;
1810}
1811extern "C" {
1812 pub fn zend_llist_get_last_ex(
1813 l: *mut zend_llist,
1814 pos: *mut zend_llist_position,
1815 ) -> *mut ::std::os::raw::c_void;
1816}
1817extern "C" {
1818 pub fn zend_llist_get_next_ex(
1819 l: *mut zend_llist,
1820 pos: *mut zend_llist_position,
1821 ) -> *mut ::std::os::raw::c_void;
1822}
1823extern "C" {
1824 pub fn zend_llist_get_prev_ex(
1825 l: *mut zend_llist,
1826 pos: *mut zend_llist_position,
1827 ) -> *mut ::std::os::raw::c_void;
1828}
1829extern "C" {
1830 pub static mut zend_new_interned_string:
1831 ::std::option::Option<unsafe extern "C" fn(str_: *mut zend_string) -> *mut zend_string>;
1832}
1833extern "C" {
1834 pub static mut zend_interned_strings_snapshot: ::std::option::Option<unsafe extern "C" fn()>;
1835}
1836extern "C" {
1837 pub static mut zend_interned_strings_restore: ::std::option::Option<unsafe extern "C" fn()>;
1838}
1839extern "C" {
1840 pub fn zend_hash_func(str_: *const ::std::os::raw::c_char, len: usize) -> zend_ulong;
1841}
1842extern "C" {
1843 pub fn zend_interned_strings_init();
1844}
1845extern "C" {
1846 pub fn zend_interned_strings_dtor();
1847}
1848#[repr(C)]
1849#[derive(Debug, Copy, Clone)]
1850pub struct _zend_hash_key {
1851 pub h: zend_ulong,
1852 pub key: *mut zend_string,
1853}
1854#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1855const _: () = {
1856 ["Size of _zend_hash_key"][::std::mem::size_of::<_zend_hash_key>() - 16usize];
1857 ["Alignment of _zend_hash_key"][::std::mem::align_of::<_zend_hash_key>() - 8usize];
1858 ["Offset of field: _zend_hash_key::h"][::std::mem::offset_of!(_zend_hash_key, h) - 0usize];
1859 ["Offset of field: _zend_hash_key::key"][::std::mem::offset_of!(_zend_hash_key, key) - 8usize];
1860};
1861pub type zend_hash_key = _zend_hash_key;
1862pub type merge_checker_func_t = ::std::option::Option<
1863 unsafe extern "C" fn(
1864 target_ht: *mut HashTable,
1865 source_data: *mut zval,
1866 hash_key: *mut zend_hash_key,
1867 pParam: *mut ::std::os::raw::c_void,
1868 ) -> zend_bool,
1869>;
1870extern "C" {
1871 pub fn _zend_hash_init(
1872 ht: *mut HashTable,
1873 nSize: u32,
1874 pDestructor: dtor_func_t,
1875 persistent: zend_bool,
1876 );
1877}
1878extern "C" {
1879 pub fn _zend_hash_init_ex(
1880 ht: *mut HashTable,
1881 nSize: u32,
1882 pDestructor: dtor_func_t,
1883 persistent: zend_bool,
1884 bApplyProtection: zend_bool,
1885 );
1886}
1887extern "C" {
1888 pub fn zend_hash_destroy(ht: *mut HashTable);
1889}
1890extern "C" {
1891 pub fn zend_hash_clean(ht: *mut HashTable);
1892}
1893extern "C" {
1894 pub fn zend_hash_real_init(ht: *mut HashTable, packed: zend_bool);
1895}
1896extern "C" {
1897 pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
1898}
1899extern "C" {
1900 pub fn zend_hash_to_packed(ht: *mut HashTable);
1901}
1902extern "C" {
1903 pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: zend_bool);
1904}
1905extern "C" {
1906 pub fn _zend_hash_add_or_update(
1907 ht: *mut HashTable,
1908 key: *mut zend_string,
1909 pData: *mut zval,
1910 flag: u32,
1911 ) -> *mut zval;
1912}
1913extern "C" {
1914 pub fn _zend_hash_update(
1915 ht: *mut HashTable,
1916 key: *mut zend_string,
1917 pData: *mut zval,
1918 ) -> *mut zval;
1919}
1920extern "C" {
1921 pub fn _zend_hash_update_ind(
1922 ht: *mut HashTable,
1923 key: *mut zend_string,
1924 pData: *mut zval,
1925 ) -> *mut zval;
1926}
1927extern "C" {
1928 pub fn _zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval)
1929 -> *mut zval;
1930}
1931extern "C" {
1932 pub fn _zend_hash_add_new(
1933 ht: *mut HashTable,
1934 key: *mut zend_string,
1935 pData: *mut zval,
1936 ) -> *mut zval;
1937}
1938extern "C" {
1939 pub fn _zend_hash_str_add_or_update(
1940 ht: *mut HashTable,
1941 key: *const ::std::os::raw::c_char,
1942 len: usize,
1943 pData: *mut zval,
1944 flag: u32,
1945 ) -> *mut zval;
1946}
1947extern "C" {
1948 pub fn _zend_hash_str_update(
1949 ht: *mut HashTable,
1950 key: *const ::std::os::raw::c_char,
1951 len: usize,
1952 pData: *mut zval,
1953 ) -> *mut zval;
1954}
1955extern "C" {
1956 pub fn _zend_hash_str_update_ind(
1957 ht: *mut HashTable,
1958 key: *const ::std::os::raw::c_char,
1959 len: usize,
1960 pData: *mut zval,
1961 ) -> *mut zval;
1962}
1963extern "C" {
1964 pub fn _zend_hash_str_add(
1965 ht: *mut HashTable,
1966 key: *const ::std::os::raw::c_char,
1967 len: usize,
1968 pData: *mut zval,
1969 ) -> *mut zval;
1970}
1971extern "C" {
1972 pub fn _zend_hash_str_add_new(
1973 ht: *mut HashTable,
1974 key: *const ::std::os::raw::c_char,
1975 len: usize,
1976 pData: *mut zval,
1977 ) -> *mut zval;
1978}
1979extern "C" {
1980 pub fn _zend_hash_index_add_or_update(
1981 ht: *mut HashTable,
1982 h: zend_ulong,
1983 pData: *mut zval,
1984 flag: u32,
1985 ) -> *mut zval;
1986}
1987extern "C" {
1988 pub fn _zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
1989}
1990extern "C" {
1991 pub fn _zend_hash_index_add_new(
1992 ht: *mut HashTable,
1993 h: zend_ulong,
1994 pData: *mut zval,
1995 ) -> *mut zval;
1996}
1997extern "C" {
1998 pub fn _zend_hash_index_update(
1999 ht: *mut HashTable,
2000 h: zend_ulong,
2001 pData: *mut zval,
2002 ) -> *mut zval;
2003}
2004extern "C" {
2005 pub fn _zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2006}
2007extern "C" {
2008 pub fn _zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
2009}
2010extern "C" {
2011 pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
2012}
2013extern "C" {
2014 pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
2015}
2016extern "C" {
2017 pub fn zend_hash_str_add_empty_element(
2018 ht: *mut HashTable,
2019 key: *const ::std::os::raw::c_char,
2020 len: usize,
2021 ) -> *mut zval;
2022}
2023pub type apply_func_t =
2024 ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval) -> ::std::os::raw::c_int>;
2025pub type apply_func_arg_t = ::std::option::Option<
2026 unsafe extern "C" fn(
2027 pDest: *mut zval,
2028 argument: *mut ::std::os::raw::c_void,
2029 ) -> ::std::os::raw::c_int,
2030>;
2031pub type apply_func_args_t = ::std::option::Option<
2032 unsafe extern "C" fn(
2033 pDest: *mut zval,
2034 num_args: ::std::os::raw::c_int,
2035 args: *mut __va_list_tag,
2036 hash_key: *mut zend_hash_key,
2037 ) -> ::std::os::raw::c_int,
2038>;
2039extern "C" {
2040 pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
2041}
2042extern "C" {
2043 pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
2044}
2045extern "C" {
2046 pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
2047}
2048extern "C" {
2049 pub fn zend_hash_apply_with_argument(
2050 ht: *mut HashTable,
2051 apply_func: apply_func_arg_t,
2052 arg1: *mut ::std::os::raw::c_void,
2053 );
2054}
2055extern "C" {
2056 pub fn zend_hash_apply_with_arguments(
2057 ht: *mut HashTable,
2058 apply_func: apply_func_args_t,
2059 arg1: ::std::os::raw::c_int,
2060 ...
2061 );
2062}
2063extern "C" {
2064 pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
2065}
2066extern "C" {
2067 pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> ::std::os::raw::c_int;
2068}
2069extern "C" {
2070 pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> ::std::os::raw::c_int;
2071}
2072extern "C" {
2073 pub fn zend_hash_str_del(
2074 ht: *mut HashTable,
2075 key: *const ::std::os::raw::c_char,
2076 len: usize,
2077 ) -> ::std::os::raw::c_int;
2078}
2079extern "C" {
2080 pub fn zend_hash_str_del_ind(
2081 ht: *mut HashTable,
2082 key: *const ::std::os::raw::c_char,
2083 len: usize,
2084 ) -> ::std::os::raw::c_int;
2085}
2086extern "C" {
2087 pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> ::std::os::raw::c_int;
2088}
2089extern "C" {
2090 pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
2091}
2092extern "C" {
2093 pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
2094}
2095extern "C" {
2096 pub fn zend_hash_str_find(
2097 ht: *const HashTable,
2098 key: *const ::std::os::raw::c_char,
2099 len: usize,
2100 ) -> *mut zval;
2101}
2102extern "C" {
2103 pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
2104}
2105extern "C" {
2106 pub fn zend_hash_exists(ht: *const HashTable, key: *mut zend_string) -> zend_bool;
2107}
2108extern "C" {
2109 pub fn zend_hash_str_exists(
2110 ht: *const HashTable,
2111 str_: *const ::std::os::raw::c_char,
2112 len: usize,
2113 ) -> zend_bool;
2114}
2115extern "C" {
2116 pub fn zend_hash_index_exists(ht: *const HashTable, h: zend_ulong) -> zend_bool;
2117}
2118extern "C" {
2119 pub fn zend_hash_move_forward_ex(
2120 ht: *mut HashTable,
2121 pos: *mut HashPosition,
2122 ) -> ::std::os::raw::c_int;
2123}
2124extern "C" {
2125 pub fn zend_hash_move_backwards_ex(
2126 ht: *mut HashTable,
2127 pos: *mut HashPosition,
2128 ) -> ::std::os::raw::c_int;
2129}
2130extern "C" {
2131 pub fn zend_hash_get_current_key_ex(
2132 ht: *const HashTable,
2133 str_index: *mut *mut zend_string,
2134 num_index: *mut zend_ulong,
2135 pos: *mut HashPosition,
2136 ) -> ::std::os::raw::c_int;
2137}
2138extern "C" {
2139 pub fn zend_hash_get_current_key_zval_ex(
2140 ht: *const HashTable,
2141 key: *mut zval,
2142 pos: *mut HashPosition,
2143 );
2144}
2145extern "C" {
2146 pub fn zend_hash_get_current_key_type_ex(
2147 ht: *mut HashTable,
2148 pos: *mut HashPosition,
2149 ) -> ::std::os::raw::c_int;
2150}
2151extern "C" {
2152 pub fn zend_hash_get_current_data_ex(ht: *mut HashTable, pos: *mut HashPosition) -> *mut zval;
2153}
2154extern "C" {
2155 pub fn zend_hash_internal_pointer_reset_ex(ht: *mut HashTable, pos: *mut HashPosition);
2156}
2157extern "C" {
2158 pub fn zend_hash_internal_pointer_end_ex(ht: *mut HashTable, pos: *mut HashPosition);
2159}
2160extern "C" {
2161 pub fn zend_hash_copy(
2162 target: *mut HashTable,
2163 source: *mut HashTable,
2164 pCopyConstructor: copy_ctor_func_t,
2165 );
2166}
2167extern "C" {
2168 pub fn _zend_hash_merge(
2169 target: *mut HashTable,
2170 source: *mut HashTable,
2171 pCopyConstructor: copy_ctor_func_t,
2172 overwrite: zend_bool,
2173 );
2174}
2175extern "C" {
2176 pub fn zend_hash_merge_ex(
2177 target: *mut HashTable,
2178 source: *mut HashTable,
2179 pCopyConstructor: copy_ctor_func_t,
2180 pMergeSource: merge_checker_func_t,
2181 pParam: *mut ::std::os::raw::c_void,
2182 );
2183}
2184extern "C" {
2185 pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
2186}
2187extern "C" {
2188 pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
2189}
2190extern "C" {
2191 pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
2192}
2193extern "C" {
2194 pub fn zend_hash_compare(
2195 ht1: *mut HashTable,
2196 ht2: *mut HashTable,
2197 compar: compare_func_t,
2198 ordered: zend_bool,
2199 ) -> ::std::os::raw::c_int;
2200}
2201extern "C" {
2202 pub fn zend_hash_sort_ex(
2203 ht: *mut HashTable,
2204 sort_func: sort_func_t,
2205 compare_func: compare_func_t,
2206 renumber: zend_bool,
2207 ) -> ::std::os::raw::c_int;
2208}
2209extern "C" {
2210 pub fn zend_hash_minmax(ht: *const HashTable, compar: compare_func_t, flag: u32) -> *mut zval;
2211}
2212extern "C" {
2213 pub fn zend_hash_rehash(ht: *mut HashTable) -> ::std::os::raw::c_int;
2214}
2215extern "C" {
2216 pub fn zend_array_count(ht: *mut HashTable) -> u32;
2217}
2218extern "C" {
2219 pub fn zend_array_dup(source: *mut HashTable) -> *mut HashTable;
2220}
2221extern "C" {
2222 pub fn zend_array_destroy(ht: *mut HashTable);
2223}
2224extern "C" {
2225 pub fn zend_symtable_clean(ht: *mut HashTable);
2226}
2227extern "C" {
2228 pub fn _zend_handle_numeric_str_ex(
2229 key: *const ::std::os::raw::c_char,
2230 length: usize,
2231 idx: *mut zend_ulong,
2232 ) -> ::std::os::raw::c_int;
2233}
2234extern "C" {
2235 pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
2236}
2237extern "C" {
2238 pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
2239}
2240extern "C" {
2241 pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
2242}
2243extern "C" {
2244 pub fn zend_hash_iterator_del(idx: u32);
2245}
2246extern "C" {
2247 pub fn zend_hash_iterators_lower_pos(ht: *mut HashTable, start: HashPosition) -> HashPosition;
2248}
2249extern "C" {
2250 pub fn _zend_hash_iterators_update(ht: *mut HashTable, from: HashPosition, to: HashPosition);
2251}
2252pub type zend_ast_kind = u16;
2253pub type zend_ast_attr = u16;
2254#[repr(C)]
2255#[derive(Debug, Copy, Clone)]
2256pub struct _zend_ast {
2257 pub kind: zend_ast_kind,
2258 pub attr: zend_ast_attr,
2259 pub lineno: u32,
2260 pub child: [*mut zend_ast; 1usize],
2261}
2262#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2263const _: () = {
2264 ["Size of _zend_ast"][::std::mem::size_of::<_zend_ast>() - 16usize];
2265 ["Alignment of _zend_ast"][::std::mem::align_of::<_zend_ast>() - 8usize];
2266 ["Offset of field: _zend_ast::kind"][::std::mem::offset_of!(_zend_ast, kind) - 0usize];
2267 ["Offset of field: _zend_ast::attr"][::std::mem::offset_of!(_zend_ast, attr) - 2usize];
2268 ["Offset of field: _zend_ast::lineno"][::std::mem::offset_of!(_zend_ast, lineno) - 4usize];
2269 ["Offset of field: _zend_ast::child"][::std::mem::offset_of!(_zend_ast, child) - 8usize];
2270};
2271#[repr(C)]
2272#[derive(Debug, Copy, Clone)]
2273pub struct _zend_ast_list {
2274 pub kind: zend_ast_kind,
2275 pub attr: zend_ast_attr,
2276 pub lineno: u32,
2277 pub children: u32,
2278 pub child: [*mut zend_ast; 1usize],
2279}
2280#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2281const _: () = {
2282 ["Size of _zend_ast_list"][::std::mem::size_of::<_zend_ast_list>() - 24usize];
2283 ["Alignment of _zend_ast_list"][::std::mem::align_of::<_zend_ast_list>() - 8usize];
2284 ["Offset of field: _zend_ast_list::kind"]
2285 [::std::mem::offset_of!(_zend_ast_list, kind) - 0usize];
2286 ["Offset of field: _zend_ast_list::attr"]
2287 [::std::mem::offset_of!(_zend_ast_list, attr) - 2usize];
2288 ["Offset of field: _zend_ast_list::lineno"]
2289 [::std::mem::offset_of!(_zend_ast_list, lineno) - 4usize];
2290 ["Offset of field: _zend_ast_list::children"]
2291 [::std::mem::offset_of!(_zend_ast_list, children) - 8usize];
2292 ["Offset of field: _zend_ast_list::child"]
2293 [::std::mem::offset_of!(_zend_ast_list, child) - 16usize];
2294};
2295pub type zend_ast_list = _zend_ast_list;
2296#[repr(C)]
2297#[derive(Copy, Clone)]
2298pub struct _zend_ast_zval {
2299 pub kind: zend_ast_kind,
2300 pub attr: zend_ast_attr,
2301 pub val: zval,
2302}
2303#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2304const _: () = {
2305 ["Size of _zend_ast_zval"][::std::mem::size_of::<_zend_ast_zval>() - 24usize];
2306 ["Alignment of _zend_ast_zval"][::std::mem::align_of::<_zend_ast_zval>() - 8usize];
2307 ["Offset of field: _zend_ast_zval::kind"]
2308 [::std::mem::offset_of!(_zend_ast_zval, kind) - 0usize];
2309 ["Offset of field: _zend_ast_zval::attr"]
2310 [::std::mem::offset_of!(_zend_ast_zval, attr) - 2usize];
2311 ["Offset of field: _zend_ast_zval::val"][::std::mem::offset_of!(_zend_ast_zval, val) - 8usize];
2312};
2313pub type zend_ast_zval = _zend_ast_zval;
2314#[repr(C)]
2315#[derive(Debug, Copy, Clone)]
2316pub struct _zend_ast_decl {
2317 pub kind: zend_ast_kind,
2318 pub attr: zend_ast_attr,
2319 pub start_lineno: u32,
2320 pub end_lineno: u32,
2321 pub flags: u32,
2322 pub lex_pos: *mut ::std::os::raw::c_uchar,
2323 pub doc_comment: *mut zend_string,
2324 pub name: *mut zend_string,
2325 pub child: [*mut zend_ast; 4usize],
2326}
2327#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2328const _: () = {
2329 ["Size of _zend_ast_decl"][::std::mem::size_of::<_zend_ast_decl>() - 72usize];
2330 ["Alignment of _zend_ast_decl"][::std::mem::align_of::<_zend_ast_decl>() - 8usize];
2331 ["Offset of field: _zend_ast_decl::kind"]
2332 [::std::mem::offset_of!(_zend_ast_decl, kind) - 0usize];
2333 ["Offset of field: _zend_ast_decl::attr"]
2334 [::std::mem::offset_of!(_zend_ast_decl, attr) - 2usize];
2335 ["Offset of field: _zend_ast_decl::start_lineno"]
2336 [::std::mem::offset_of!(_zend_ast_decl, start_lineno) - 4usize];
2337 ["Offset of field: _zend_ast_decl::end_lineno"]
2338 [::std::mem::offset_of!(_zend_ast_decl, end_lineno) - 8usize];
2339 ["Offset of field: _zend_ast_decl::flags"]
2340 [::std::mem::offset_of!(_zend_ast_decl, flags) - 12usize];
2341 ["Offset of field: _zend_ast_decl::lex_pos"]
2342 [::std::mem::offset_of!(_zend_ast_decl, lex_pos) - 16usize];
2343 ["Offset of field: _zend_ast_decl::doc_comment"]
2344 [::std::mem::offset_of!(_zend_ast_decl, doc_comment) - 24usize];
2345 ["Offset of field: _zend_ast_decl::name"]
2346 [::std::mem::offset_of!(_zend_ast_decl, name) - 32usize];
2347 ["Offset of field: _zend_ast_decl::child"]
2348 [::std::mem::offset_of!(_zend_ast_decl, child) - 40usize];
2349};
2350pub type zend_ast_decl = _zend_ast_decl;
2351pub type zend_ast_process_t = ::std::option::Option<unsafe extern "C" fn(ast: *mut zend_ast)>;
2352extern "C" {
2353 pub static mut zend_ast_process: zend_ast_process_t;
2354}
2355extern "C" {
2356 pub fn zend_ast_create_zval_with_lineno(
2357 zv: *mut zval,
2358 attr: zend_ast_attr,
2359 lineno: u32,
2360 ) -> *mut zend_ast;
2361}
2362extern "C" {
2363 pub fn zend_ast_create_zval_ex(zv: *mut zval, attr: zend_ast_attr) -> *mut zend_ast;
2364}
2365extern "C" {
2366 pub fn zend_ast_create_ex(kind: zend_ast_kind, attr: zend_ast_attr, ...) -> *mut zend_ast;
2367}
2368extern "C" {
2369 pub fn zend_ast_create(kind: zend_ast_kind, ...) -> *mut zend_ast;
2370}
2371extern "C" {
2372 pub fn zend_ast_create_decl(
2373 kind: zend_ast_kind,
2374 flags: u32,
2375 start_lineno: u32,
2376 doc_comment: *mut zend_string,
2377 name: *mut zend_string,
2378 child0: *mut zend_ast,
2379 child1: *mut zend_ast,
2380 child2: *mut zend_ast,
2381 child3: *mut zend_ast,
2382 ) -> *mut zend_ast;
2383}
2384extern "C" {
2385 pub fn zend_ast_create_list(init_children: u32, kind: zend_ast_kind, ...) -> *mut zend_ast;
2386}
2387extern "C" {
2388 pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
2389}
2390extern "C" {
2391 pub fn zend_ast_evaluate(
2392 result: *mut zval,
2393 ast: *mut zend_ast,
2394 scope: *mut zend_class_entry,
2395 ) -> ::std::os::raw::c_int;
2396}
2397extern "C" {
2398 pub fn zend_ast_export(
2399 prefix: *const ::std::os::raw::c_char,
2400 ast: *mut zend_ast,
2401 suffix: *const ::std::os::raw::c_char,
2402 ) -> *mut zend_string;
2403}
2404extern "C" {
2405 pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast;
2406}
2407extern "C" {
2408 pub fn zend_ast_destroy(ast: *mut zend_ast);
2409}
2410extern "C" {
2411 pub fn zend_ast_destroy_and_free(ast: *mut zend_ast);
2412}
2413pub type zend_ast_apply_func =
2414 ::std::option::Option<unsafe extern "C" fn(ast_ptr: *mut *mut zend_ast)>;
2415extern "C" {
2416 pub fn zend_ast_apply(ast: *mut zend_ast, fn_: zend_ast_apply_func);
2417}
2418#[repr(C)]
2419#[derive(Debug, Copy, Clone)]
2420pub struct _gc_root_buffer {
2421 pub ref_: *mut zend_refcounted,
2422 pub next: *mut _gc_root_buffer,
2423 pub prev: *mut _gc_root_buffer,
2424 pub refcount: u32,
2425}
2426#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2427const _: () = {
2428 ["Size of _gc_root_buffer"][::std::mem::size_of::<_gc_root_buffer>() - 32usize];
2429 ["Alignment of _gc_root_buffer"][::std::mem::align_of::<_gc_root_buffer>() - 8usize];
2430 ["Offset of field: _gc_root_buffer::ref_"]
2431 [::std::mem::offset_of!(_gc_root_buffer, ref_) - 0usize];
2432 ["Offset of field: _gc_root_buffer::next"]
2433 [::std::mem::offset_of!(_gc_root_buffer, next) - 8usize];
2434 ["Offset of field: _gc_root_buffer::prev"]
2435 [::std::mem::offset_of!(_gc_root_buffer, prev) - 16usize];
2436 ["Offset of field: _gc_root_buffer::refcount"]
2437 [::std::mem::offset_of!(_gc_root_buffer, refcount) - 24usize];
2438};
2439pub type gc_root_buffer = _gc_root_buffer;
2440pub type gc_additional_buffer = _gc_additional_bufer;
2441#[repr(C)]
2442#[derive(Debug, Copy, Clone)]
2443pub struct _gc_additional_bufer {
2444 pub used: u32,
2445 pub next: *mut gc_additional_buffer,
2446 pub buf: [gc_root_buffer; 127usize],
2447}
2448#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2449const _: () = {
2450 ["Size of _gc_additional_bufer"][::std::mem::size_of::<_gc_additional_bufer>() - 4080usize];
2451 ["Alignment of _gc_additional_bufer"][::std::mem::align_of::<_gc_additional_bufer>() - 8usize];
2452 ["Offset of field: _gc_additional_bufer::used"]
2453 [::std::mem::offset_of!(_gc_additional_bufer, used) - 0usize];
2454 ["Offset of field: _gc_additional_bufer::next"]
2455 [::std::mem::offset_of!(_gc_additional_bufer, next) - 8usize];
2456 ["Offset of field: _gc_additional_bufer::buf"]
2457 [::std::mem::offset_of!(_gc_additional_bufer, buf) - 16usize];
2458};
2459#[repr(C)]
2460#[derive(Debug, Copy, Clone)]
2461pub struct _zend_gc_globals {
2462 pub gc_enabled: zend_bool,
2463 pub gc_active: zend_bool,
2464 pub gc_full: zend_bool,
2465 pub buf: *mut gc_root_buffer,
2466 pub roots: gc_root_buffer,
2467 pub unused: *mut gc_root_buffer,
2468 pub first_unused: *mut gc_root_buffer,
2469 pub last_unused: *mut gc_root_buffer,
2470 pub to_free: gc_root_buffer,
2471 pub next_to_free: *mut gc_root_buffer,
2472 pub gc_runs: u32,
2473 pub collected: u32,
2474 pub additional_buffer: *mut gc_additional_buffer,
2475}
2476#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2477const _: () = {
2478 ["Size of _zend_gc_globals"][::std::mem::size_of::<_zend_gc_globals>() - 128usize];
2479 ["Alignment of _zend_gc_globals"][::std::mem::align_of::<_zend_gc_globals>() - 8usize];
2480 ["Offset of field: _zend_gc_globals::gc_enabled"]
2481 [::std::mem::offset_of!(_zend_gc_globals, gc_enabled) - 0usize];
2482 ["Offset of field: _zend_gc_globals::gc_active"]
2483 [::std::mem::offset_of!(_zend_gc_globals, gc_active) - 1usize];
2484 ["Offset of field: _zend_gc_globals::gc_full"]
2485 [::std::mem::offset_of!(_zend_gc_globals, gc_full) - 2usize];
2486 ["Offset of field: _zend_gc_globals::buf"]
2487 [::std::mem::offset_of!(_zend_gc_globals, buf) - 8usize];
2488 ["Offset of field: _zend_gc_globals::roots"]
2489 [::std::mem::offset_of!(_zend_gc_globals, roots) - 16usize];
2490 ["Offset of field: _zend_gc_globals::unused"]
2491 [::std::mem::offset_of!(_zend_gc_globals, unused) - 48usize];
2492 ["Offset of field: _zend_gc_globals::first_unused"]
2493 [::std::mem::offset_of!(_zend_gc_globals, first_unused) - 56usize];
2494 ["Offset of field: _zend_gc_globals::last_unused"]
2495 [::std::mem::offset_of!(_zend_gc_globals, last_unused) - 64usize];
2496 ["Offset of field: _zend_gc_globals::to_free"]
2497 [::std::mem::offset_of!(_zend_gc_globals, to_free) - 72usize];
2498 ["Offset of field: _zend_gc_globals::next_to_free"]
2499 [::std::mem::offset_of!(_zend_gc_globals, next_to_free) - 104usize];
2500 ["Offset of field: _zend_gc_globals::gc_runs"]
2501 [::std::mem::offset_of!(_zend_gc_globals, gc_runs) - 112usize];
2502 ["Offset of field: _zend_gc_globals::collected"]
2503 [::std::mem::offset_of!(_zend_gc_globals, collected) - 116usize];
2504 ["Offset of field: _zend_gc_globals::additional_buffer"]
2505 [::std::mem::offset_of!(_zend_gc_globals, additional_buffer) - 120usize];
2506};
2507pub type zend_gc_globals = _zend_gc_globals;
2508extern "C" {
2509 pub static mut gc_globals: zend_gc_globals;
2510}
2511extern "C" {
2512 pub static mut gc_collect_cycles:
2513 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2514}
2515extern "C" {
2516 pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
2517}
2518extern "C" {
2519 pub fn zend_print_variable(var: *mut zval) -> usize;
2520}
2521pub type zend_object_iterator = _zend_object_iterator;
2522#[repr(C)]
2523#[derive(Debug, Copy, Clone)]
2524pub struct _zend_object_iterator_funcs {
2525 pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2526 pub valid: ::std::option::Option<
2527 unsafe extern "C" fn(iter: *mut zend_object_iterator) -> ::std::os::raw::c_int,
2528 >,
2529 pub get_current_data:
2530 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
2531 pub get_current_key: ::std::option::Option<
2532 unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
2533 >,
2534 pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2535 pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2536 pub invalidate_current:
2537 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2538}
2539#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2540const _: () = {
2541 ["Size of _zend_object_iterator_funcs"]
2542 [::std::mem::size_of::<_zend_object_iterator_funcs>() - 56usize];
2543 ["Alignment of _zend_object_iterator_funcs"]
2544 [::std::mem::align_of::<_zend_object_iterator_funcs>() - 8usize];
2545 ["Offset of field: _zend_object_iterator_funcs::dtor"]
2546 [::std::mem::offset_of!(_zend_object_iterator_funcs, dtor) - 0usize];
2547 ["Offset of field: _zend_object_iterator_funcs::valid"]
2548 [::std::mem::offset_of!(_zend_object_iterator_funcs, valid) - 8usize];
2549 ["Offset of field: _zend_object_iterator_funcs::get_current_data"]
2550 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_data) - 16usize];
2551 ["Offset of field: _zend_object_iterator_funcs::get_current_key"]
2552 [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_key) - 24usize];
2553 ["Offset of field: _zend_object_iterator_funcs::move_forward"]
2554 [::std::mem::offset_of!(_zend_object_iterator_funcs, move_forward) - 32usize];
2555 ["Offset of field: _zend_object_iterator_funcs::rewind"]
2556 [::std::mem::offset_of!(_zend_object_iterator_funcs, rewind) - 40usize];
2557 ["Offset of field: _zend_object_iterator_funcs::invalidate_current"]
2558 [::std::mem::offset_of!(_zend_object_iterator_funcs, invalidate_current) - 48usize];
2559};
2560pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
2561#[repr(C)]
2562#[derive(Copy, Clone)]
2563pub struct _zend_object_iterator {
2564 pub std: zend_object,
2565 pub data: zval,
2566 pub funcs: *mut zend_object_iterator_funcs,
2567 pub index: zend_ulong,
2568}
2569#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2570const _: () = {
2571 ["Size of _zend_object_iterator"][::std::mem::size_of::<_zend_object_iterator>() - 88usize];
2572 ["Alignment of _zend_object_iterator"]
2573 [::std::mem::align_of::<_zend_object_iterator>() - 8usize];
2574 ["Offset of field: _zend_object_iterator::std"]
2575 [::std::mem::offset_of!(_zend_object_iterator, std) - 0usize];
2576 ["Offset of field: _zend_object_iterator::data"]
2577 [::std::mem::offset_of!(_zend_object_iterator, data) - 56usize];
2578 ["Offset of field: _zend_object_iterator::funcs"]
2579 [::std::mem::offset_of!(_zend_object_iterator, funcs) - 72usize];
2580 ["Offset of field: _zend_object_iterator::index"]
2581 [::std::mem::offset_of!(_zend_object_iterator, index) - 80usize];
2582};
2583#[repr(C)]
2584#[derive(Debug, Copy, Clone)]
2585pub struct _zend_class_iterator_funcs {
2586 pub funcs: *mut zend_object_iterator_funcs,
2587 pub zf_new_iterator: *mut _zend_function,
2588 pub zf_valid: *mut _zend_function,
2589 pub zf_current: *mut _zend_function,
2590 pub zf_key: *mut _zend_function,
2591 pub zf_next: *mut _zend_function,
2592 pub zf_rewind: *mut _zend_function,
2593}
2594#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2595const _: () = {
2596 ["Size of _zend_class_iterator_funcs"]
2597 [::std::mem::size_of::<_zend_class_iterator_funcs>() - 56usize];
2598 ["Alignment of _zend_class_iterator_funcs"]
2599 [::std::mem::align_of::<_zend_class_iterator_funcs>() - 8usize];
2600 ["Offset of field: _zend_class_iterator_funcs::funcs"]
2601 [::std::mem::offset_of!(_zend_class_iterator_funcs, funcs) - 0usize];
2602 ["Offset of field: _zend_class_iterator_funcs::zf_new_iterator"]
2603 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_new_iterator) - 8usize];
2604 ["Offset of field: _zend_class_iterator_funcs::zf_valid"]
2605 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_valid) - 16usize];
2606 ["Offset of field: _zend_class_iterator_funcs::zf_current"]
2607 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_current) - 24usize];
2608 ["Offset of field: _zend_class_iterator_funcs::zf_key"]
2609 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_key) - 32usize];
2610 ["Offset of field: _zend_class_iterator_funcs::zf_next"]
2611 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_next) - 40usize];
2612 ["Offset of field: _zend_class_iterator_funcs::zf_rewind"]
2613 [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_rewind) - 48usize];
2614};
2615pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
2616extern "C" {
2617 pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
2618}
2619extern "C" {
2620 pub fn zend_iterator_init(iter: *mut zend_object_iterator);
2621}
2622extern "C" {
2623 pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
2624}
2625extern "C" {
2626 pub fn zend_register_iterator_wrapper();
2627}
2628#[repr(C)]
2629#[derive(Debug, Copy, Clone)]
2630pub struct stat {
2631 pub st_dev: __dev_t,
2632 pub st_ino: __ino_t,
2633 pub st_nlink: __nlink_t,
2634 pub st_mode: __mode_t,
2635 pub st_uid: __uid_t,
2636 pub st_gid: __gid_t,
2637 pub __pad0: ::std::os::raw::c_int,
2638 pub st_rdev: __dev_t,
2639 pub st_size: __off_t,
2640 pub st_blksize: __blksize_t,
2641 pub st_blocks: __blkcnt_t,
2642 pub st_atim: timespec,
2643 pub st_mtim: timespec,
2644 pub st_ctim: timespec,
2645 pub __glibc_reserved: [__syscall_slong_t; 3usize],
2646}
2647#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2648const _: () = {
2649 ["Size of stat"][::std::mem::size_of::<stat>() - 144usize];
2650 ["Alignment of stat"][::std::mem::align_of::<stat>() - 8usize];
2651 ["Offset of field: stat::st_dev"][::std::mem::offset_of!(stat, st_dev) - 0usize];
2652 ["Offset of field: stat::st_ino"][::std::mem::offset_of!(stat, st_ino) - 8usize];
2653 ["Offset of field: stat::st_nlink"][::std::mem::offset_of!(stat, st_nlink) - 16usize];
2654 ["Offset of field: stat::st_mode"][::std::mem::offset_of!(stat, st_mode) - 24usize];
2655 ["Offset of field: stat::st_uid"][::std::mem::offset_of!(stat, st_uid) - 28usize];
2656 ["Offset of field: stat::st_gid"][::std::mem::offset_of!(stat, st_gid) - 32usize];
2657 ["Offset of field: stat::__pad0"][::std::mem::offset_of!(stat, __pad0) - 36usize];
2658 ["Offset of field: stat::st_rdev"][::std::mem::offset_of!(stat, st_rdev) - 40usize];
2659 ["Offset of field: stat::st_size"][::std::mem::offset_of!(stat, st_size) - 48usize];
2660 ["Offset of field: stat::st_blksize"][::std::mem::offset_of!(stat, st_blksize) - 56usize];
2661 ["Offset of field: stat::st_blocks"][::std::mem::offset_of!(stat, st_blocks) - 64usize];
2662 ["Offset of field: stat::st_atim"][::std::mem::offset_of!(stat, st_atim) - 72usize];
2663 ["Offset of field: stat::st_mtim"][::std::mem::offset_of!(stat, st_mtim) - 88usize];
2664 ["Offset of field: stat::st_ctim"][::std::mem::offset_of!(stat, st_ctim) - 104usize];
2665 ["Offset of field: stat::__glibc_reserved"]
2666 [::std::mem::offset_of!(stat, __glibc_reserved) - 120usize];
2667};
2668pub type zend_stream_fsizer_t =
2669 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> usize>;
2670pub type zend_stream_reader_t = ::std::option::Option<
2671 unsafe extern "C" fn(
2672 handle: *mut ::std::os::raw::c_void,
2673 buf: *mut ::std::os::raw::c_char,
2674 len: usize,
2675 ) -> usize,
2676>;
2677pub type zend_stream_closer_t =
2678 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
2679pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
2680pub const zend_stream_type_ZEND_HANDLE_FD: zend_stream_type = 1;
2681pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 2;
2682pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 3;
2683pub const zend_stream_type_ZEND_HANDLE_MAPPED: zend_stream_type = 4;
2684pub type zend_stream_type = ::std::os::raw::c_uint;
2685#[repr(C)]
2686#[derive(Debug, Copy, Clone)]
2687pub struct _zend_mmap {
2688 pub len: usize,
2689 pub pos: usize,
2690 pub map: *mut ::std::os::raw::c_void,
2691 pub buf: *mut ::std::os::raw::c_char,
2692 pub old_handle: *mut ::std::os::raw::c_void,
2693 pub old_closer: zend_stream_closer_t,
2694}
2695#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2696const _: () = {
2697 ["Size of _zend_mmap"][::std::mem::size_of::<_zend_mmap>() - 48usize];
2698 ["Alignment of _zend_mmap"][::std::mem::align_of::<_zend_mmap>() - 8usize];
2699 ["Offset of field: _zend_mmap::len"][::std::mem::offset_of!(_zend_mmap, len) - 0usize];
2700 ["Offset of field: _zend_mmap::pos"][::std::mem::offset_of!(_zend_mmap, pos) - 8usize];
2701 ["Offset of field: _zend_mmap::map"][::std::mem::offset_of!(_zend_mmap, map) - 16usize];
2702 ["Offset of field: _zend_mmap::buf"][::std::mem::offset_of!(_zend_mmap, buf) - 24usize];
2703 ["Offset of field: _zend_mmap::old_handle"]
2704 [::std::mem::offset_of!(_zend_mmap, old_handle) - 32usize];
2705 ["Offset of field: _zend_mmap::old_closer"]
2706 [::std::mem::offset_of!(_zend_mmap, old_closer) - 40usize];
2707};
2708pub type zend_mmap = _zend_mmap;
2709#[repr(C)]
2710#[derive(Debug, Copy, Clone)]
2711pub struct _zend_stream {
2712 pub handle: *mut ::std::os::raw::c_void,
2713 pub isatty: ::std::os::raw::c_int,
2714 pub mmap: zend_mmap,
2715 pub reader: zend_stream_reader_t,
2716 pub fsizer: zend_stream_fsizer_t,
2717 pub closer: zend_stream_closer_t,
2718}
2719#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2720const _: () = {
2721 ["Size of _zend_stream"][::std::mem::size_of::<_zend_stream>() - 88usize];
2722 ["Alignment of _zend_stream"][::std::mem::align_of::<_zend_stream>() - 8usize];
2723 ["Offset of field: _zend_stream::handle"]
2724 [::std::mem::offset_of!(_zend_stream, handle) - 0usize];
2725 ["Offset of field: _zend_stream::isatty"]
2726 [::std::mem::offset_of!(_zend_stream, isatty) - 8usize];
2727 ["Offset of field: _zend_stream::mmap"][::std::mem::offset_of!(_zend_stream, mmap) - 16usize];
2728 ["Offset of field: _zend_stream::reader"]
2729 [::std::mem::offset_of!(_zend_stream, reader) - 64usize];
2730 ["Offset of field: _zend_stream::fsizer"]
2731 [::std::mem::offset_of!(_zend_stream, fsizer) - 72usize];
2732 ["Offset of field: _zend_stream::closer"]
2733 [::std::mem::offset_of!(_zend_stream, closer) - 80usize];
2734};
2735pub type zend_stream = _zend_stream;
2736#[repr(C)]
2737#[derive(Copy, Clone)]
2738pub struct _zend_file_handle {
2739 pub handle: _zend_file_handle__bindgen_ty_1,
2740 pub filename: *const ::std::os::raw::c_char,
2741 pub opened_path: *mut zend_string,
2742 pub type_: zend_stream_type,
2743 pub free_filename: zend_bool,
2744}
2745#[repr(C)]
2746#[derive(Copy, Clone)]
2747pub union _zend_file_handle__bindgen_ty_1 {
2748 pub fd: ::std::os::raw::c_int,
2749 pub fp: *mut FILE,
2750 pub stream: zend_stream,
2751}
2752#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2753const _: () = {
2754 ["Size of _zend_file_handle__bindgen_ty_1"]
2755 [::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>() - 88usize];
2756 ["Alignment of _zend_file_handle__bindgen_ty_1"]
2757 [::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>() - 8usize];
2758 ["Offset of field: _zend_file_handle__bindgen_ty_1::fd"]
2759 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fd) - 0usize];
2760 ["Offset of field: _zend_file_handle__bindgen_ty_1::fp"]
2761 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fp) - 0usize];
2762 ["Offset of field: _zend_file_handle__bindgen_ty_1::stream"]
2763 [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, stream) - 0usize];
2764};
2765#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2766const _: () = {
2767 ["Size of _zend_file_handle"][::std::mem::size_of::<_zend_file_handle>() - 112usize];
2768 ["Alignment of _zend_file_handle"][::std::mem::align_of::<_zend_file_handle>() - 8usize];
2769 ["Offset of field: _zend_file_handle::handle"]
2770 [::std::mem::offset_of!(_zend_file_handle, handle) - 0usize];
2771 ["Offset of field: _zend_file_handle::filename"]
2772 [::std::mem::offset_of!(_zend_file_handle, filename) - 88usize];
2773 ["Offset of field: _zend_file_handle::opened_path"]
2774 [::std::mem::offset_of!(_zend_file_handle, opened_path) - 96usize];
2775 ["Offset of field: _zend_file_handle::type_"]
2776 [::std::mem::offset_of!(_zend_file_handle, type_) - 104usize];
2777 ["Offset of field: _zend_file_handle::free_filename"]
2778 [::std::mem::offset_of!(_zend_file_handle, free_filename) - 108usize];
2779};
2780pub type zend_file_handle = _zend_file_handle;
2781extern "C" {
2782 pub fn zend_stream_open(
2783 filename: *const ::std::os::raw::c_char,
2784 handle: *mut zend_file_handle,
2785 ) -> ::std::os::raw::c_int;
2786}
2787extern "C" {
2788 pub fn zend_stream_fixup(
2789 file_handle: *mut zend_file_handle,
2790 buf: *mut *mut ::std::os::raw::c_char,
2791 len: *mut usize,
2792 ) -> ::std::os::raw::c_int;
2793}
2794extern "C" {
2795 pub fn zend_file_handle_dtor(fh: *mut zend_file_handle);
2796}
2797extern "C" {
2798 pub fn zend_compare_file_handles(
2799 fh1: *mut zend_file_handle,
2800 fh2: *mut zend_file_handle,
2801 ) -> ::std::os::raw::c_int;
2802}
2803pub type zend_stat_t = stat;
2804extern "C" {
2805 pub fn zend_error_noreturn(
2806 type_: ::std::os::raw::c_int,
2807 format: *const ::std::os::raw::c_char,
2808 ...
2809 ) -> !;
2810}
2811#[repr(C)]
2812#[derive(Debug, Copy, Clone)]
2813pub struct _zend_serialize_data {
2814 _unused: [u8; 0],
2815}
2816#[repr(C)]
2817#[derive(Debug, Copy, Clone)]
2818pub struct _zend_unserialize_data {
2819 _unused: [u8; 0],
2820}
2821pub type zend_serialize_data = _zend_serialize_data;
2822pub type zend_unserialize_data = _zend_unserialize_data;
2823#[repr(C)]
2824#[derive(Debug, Copy, Clone)]
2825pub struct _zend_trait_method_reference {
2826 pub method_name: *mut zend_string,
2827 pub ce: *mut zend_class_entry,
2828 pub class_name: *mut zend_string,
2829}
2830#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2831const _: () = {
2832 ["Size of _zend_trait_method_reference"]
2833 [::std::mem::size_of::<_zend_trait_method_reference>() - 24usize];
2834 ["Alignment of _zend_trait_method_reference"]
2835 [::std::mem::align_of::<_zend_trait_method_reference>() - 8usize];
2836 ["Offset of field: _zend_trait_method_reference::method_name"]
2837 [::std::mem::offset_of!(_zend_trait_method_reference, method_name) - 0usize];
2838 ["Offset of field: _zend_trait_method_reference::ce"]
2839 [::std::mem::offset_of!(_zend_trait_method_reference, ce) - 8usize];
2840 ["Offset of field: _zend_trait_method_reference::class_name"]
2841 [::std::mem::offset_of!(_zend_trait_method_reference, class_name) - 16usize];
2842};
2843pub type zend_trait_method_reference = _zend_trait_method_reference;
2844#[repr(C)]
2845#[derive(Debug, Copy, Clone)]
2846pub struct _zend_trait_precedence {
2847 pub trait_method: *mut zend_trait_method_reference,
2848 pub exclude_from_classes: *mut _zend_trait_precedence__bindgen_ty_1,
2849}
2850#[repr(C)]
2851#[derive(Copy, Clone)]
2852pub union _zend_trait_precedence__bindgen_ty_1 {
2853 pub ce: *mut zend_class_entry,
2854 pub class_name: *mut zend_string,
2855}
2856#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2857const _: () = {
2858 ["Size of _zend_trait_precedence__bindgen_ty_1"]
2859 [::std::mem::size_of::<_zend_trait_precedence__bindgen_ty_1>() - 8usize];
2860 ["Alignment of _zend_trait_precedence__bindgen_ty_1"]
2861 [::std::mem::align_of::<_zend_trait_precedence__bindgen_ty_1>() - 8usize];
2862 ["Offset of field: _zend_trait_precedence__bindgen_ty_1::ce"]
2863 [::std::mem::offset_of!(_zend_trait_precedence__bindgen_ty_1, ce) - 0usize];
2864 ["Offset of field: _zend_trait_precedence__bindgen_ty_1::class_name"]
2865 [::std::mem::offset_of!(_zend_trait_precedence__bindgen_ty_1, class_name) - 0usize];
2866};
2867#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2868const _: () = {
2869 ["Size of _zend_trait_precedence"][::std::mem::size_of::<_zend_trait_precedence>() - 16usize];
2870 ["Alignment of _zend_trait_precedence"]
2871 [::std::mem::align_of::<_zend_trait_precedence>() - 8usize];
2872 ["Offset of field: _zend_trait_precedence::trait_method"]
2873 [::std::mem::offset_of!(_zend_trait_precedence, trait_method) - 0usize];
2874 ["Offset of field: _zend_trait_precedence::exclude_from_classes"]
2875 [::std::mem::offset_of!(_zend_trait_precedence, exclude_from_classes) - 8usize];
2876};
2877pub type zend_trait_precedence = _zend_trait_precedence;
2878#[repr(C)]
2879#[derive(Debug, Copy, Clone)]
2880pub struct _zend_trait_alias {
2881 pub trait_method: *mut zend_trait_method_reference,
2882 #[doc = " name for method to be added"]
2883 pub alias: *mut zend_string,
2884 #[doc = " modifiers to be set on trait method"]
2885 pub modifiers: u32,
2886}
2887#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2888const _: () = {
2889 ["Size of _zend_trait_alias"][::std::mem::size_of::<_zend_trait_alias>() - 24usize];
2890 ["Alignment of _zend_trait_alias"][::std::mem::align_of::<_zend_trait_alias>() - 8usize];
2891 ["Offset of field: _zend_trait_alias::trait_method"]
2892 [::std::mem::offset_of!(_zend_trait_alias, trait_method) - 0usize];
2893 ["Offset of field: _zend_trait_alias::alias"]
2894 [::std::mem::offset_of!(_zend_trait_alias, alias) - 8usize];
2895 ["Offset of field: _zend_trait_alias::modifiers"]
2896 [::std::mem::offset_of!(_zend_trait_alias, modifiers) - 16usize];
2897};
2898pub type zend_trait_alias = _zend_trait_alias;
2899#[repr(C)]
2900#[derive(Copy, Clone)]
2901pub struct _zend_class_entry {
2902 pub type_: ::std::os::raw::c_char,
2903 pub name: *mut zend_string,
2904 pub parent: *mut _zend_class_entry,
2905 pub refcount: ::std::os::raw::c_int,
2906 pub ce_flags: u32,
2907 pub default_properties_count: ::std::os::raw::c_int,
2908 pub default_static_members_count: ::std::os::raw::c_int,
2909 pub default_properties_table: *mut zval,
2910 pub default_static_members_table: *mut zval,
2911 pub static_members_table: *mut zval,
2912 pub function_table: HashTable,
2913 pub properties_info: HashTable,
2914 pub constants_table: HashTable,
2915 pub constructor: *mut _zend_function,
2916 pub destructor: *mut _zend_function,
2917 pub clone: *mut _zend_function,
2918 pub __get: *mut _zend_function,
2919 pub __set: *mut _zend_function,
2920 pub __unset: *mut _zend_function,
2921 pub __isset: *mut _zend_function,
2922 pub __call: *mut _zend_function,
2923 pub __callstatic: *mut _zend_function,
2924 pub __tostring: *mut _zend_function,
2925 pub __debugInfo: *mut _zend_function,
2926 pub serialize_func: *mut _zend_function,
2927 pub unserialize_func: *mut _zend_function,
2928 pub iterator_funcs: zend_class_iterator_funcs,
2929 pub create_object: ::std::option::Option<
2930 unsafe extern "C" fn(class_type: *mut zend_class_entry) -> *mut zend_object,
2931 >,
2932 pub get_iterator: ::std::option::Option<
2933 unsafe extern "C" fn(
2934 ce: *mut zend_class_entry,
2935 object: *mut zval,
2936 by_ref: ::std::os::raw::c_int,
2937 ) -> *mut zend_object_iterator,
2938 >,
2939 pub interface_gets_implemented: ::std::option::Option<
2940 unsafe extern "C" fn(
2941 iface: *mut zend_class_entry,
2942 class_type: *mut zend_class_entry,
2943 ) -> ::std::os::raw::c_int,
2944 >,
2945 pub get_static_method: ::std::option::Option<
2946 unsafe extern "C" fn(
2947 ce: *mut zend_class_entry,
2948 method: *mut zend_string,
2949 ) -> *mut _zend_function,
2950 >,
2951 pub serialize: ::std::option::Option<
2952 unsafe extern "C" fn(
2953 object: *mut zval,
2954 buffer: *mut *mut ::std::os::raw::c_uchar,
2955 buf_len: *mut usize,
2956 data: *mut zend_serialize_data,
2957 ) -> ::std::os::raw::c_int,
2958 >,
2959 pub unserialize: ::std::option::Option<
2960 unsafe extern "C" fn(
2961 object: *mut zval,
2962 ce: *mut zend_class_entry,
2963 buf: *const ::std::os::raw::c_uchar,
2964 buf_len: usize,
2965 data: *mut zend_unserialize_data,
2966 ) -> ::std::os::raw::c_int,
2967 >,
2968 pub num_interfaces: u32,
2969 pub num_traits: u32,
2970 pub interfaces: *mut *mut zend_class_entry,
2971 pub traits: *mut *mut zend_class_entry,
2972 pub trait_aliases: *mut *mut zend_trait_alias,
2973 pub trait_precedences: *mut *mut zend_trait_precedence,
2974 pub info: _zend_class_entry__bindgen_ty_1,
2975}
2976#[repr(C)]
2977#[derive(Copy, Clone)]
2978pub union _zend_class_entry__bindgen_ty_1 {
2979 pub user: _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
2980 pub internal: _zend_class_entry__bindgen_ty_1__bindgen_ty_2,
2981}
2982#[repr(C)]
2983#[derive(Debug, Copy, Clone)]
2984pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_1 {
2985 pub filename: *mut zend_string,
2986 pub line_start: u32,
2987 pub line_end: u32,
2988 pub doc_comment: *mut zend_string,
2989}
2990#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2991const _: () = {
2992 ["Size of _zend_class_entry__bindgen_ty_1__bindgen_ty_1"]
2993 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>() - 24usize];
2994 ["Alignment of _zend_class_entry__bindgen_ty_1__bindgen_ty_1"]
2995 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>() - 8usize];
2996 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::filename"]
2997 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1, filename) - 0usize];
2998 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::line_start"][::std::mem::offset_of!(
2999 _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
3000 line_start
3001 ) - 8usize];
3002 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::line_end"]
3003 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1, line_end) - 12usize];
3004 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::doc_comment"][::std::mem::offset_of!(
3005 _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
3006 doc_comment
3007 ) - 16usize];
3008};
3009#[repr(C)]
3010#[derive(Debug, Copy, Clone)]
3011pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_2 {
3012 pub builtin_functions: *const _zend_function_entry,
3013 pub module: *mut _zend_module_entry,
3014}
3015#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3016const _: () = {
3017 ["Size of _zend_class_entry__bindgen_ty_1__bindgen_ty_2"]
3018 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>() - 16usize];
3019 ["Alignment of _zend_class_entry__bindgen_ty_1__bindgen_ty_2"]
3020 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>() - 8usize];
3021 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_2::builtin_functions"][::std::mem::offset_of!(
3022 _zend_class_entry__bindgen_ty_1__bindgen_ty_2,
3023 builtin_functions
3024 )
3025 - 0usize];
3026 ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_2::module"]
3027 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2, module) - 8usize];
3028};
3029#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3030const _: () = {
3031 ["Size of _zend_class_entry__bindgen_ty_1"]
3032 [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>() - 24usize];
3033 ["Alignment of _zend_class_entry__bindgen_ty_1"]
3034 [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
3035 ["Offset of field: _zend_class_entry__bindgen_ty_1::user"]
3036 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, user) - 0usize];
3037 ["Offset of field: _zend_class_entry__bindgen_ty_1::internal"]
3038 [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, internal) - 0usize];
3039};
3040#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3041const _: () = {
3042 ["Size of _zend_class_entry"][::std::mem::size_of::<_zend_class_entry>() - 504usize];
3043 ["Alignment of _zend_class_entry"][::std::mem::align_of::<_zend_class_entry>() - 8usize];
3044 ["Offset of field: _zend_class_entry::type_"]
3045 [::std::mem::offset_of!(_zend_class_entry, type_) - 0usize];
3046 ["Offset of field: _zend_class_entry::name"]
3047 [::std::mem::offset_of!(_zend_class_entry, name) - 8usize];
3048 ["Offset of field: _zend_class_entry::parent"]
3049 [::std::mem::offset_of!(_zend_class_entry, parent) - 16usize];
3050 ["Offset of field: _zend_class_entry::refcount"]
3051 [::std::mem::offset_of!(_zend_class_entry, refcount) - 24usize];
3052 ["Offset of field: _zend_class_entry::ce_flags"]
3053 [::std::mem::offset_of!(_zend_class_entry, ce_flags) - 28usize];
3054 ["Offset of field: _zend_class_entry::default_properties_count"]
3055 [::std::mem::offset_of!(_zend_class_entry, default_properties_count) - 32usize];
3056 ["Offset of field: _zend_class_entry::default_static_members_count"]
3057 [::std::mem::offset_of!(_zend_class_entry, default_static_members_count) - 36usize];
3058 ["Offset of field: _zend_class_entry::default_properties_table"]
3059 [::std::mem::offset_of!(_zend_class_entry, default_properties_table) - 40usize];
3060 ["Offset of field: _zend_class_entry::default_static_members_table"]
3061 [::std::mem::offset_of!(_zend_class_entry, default_static_members_table) - 48usize];
3062 ["Offset of field: _zend_class_entry::static_members_table"]
3063 [::std::mem::offset_of!(_zend_class_entry, static_members_table) - 56usize];
3064 ["Offset of field: _zend_class_entry::function_table"]
3065 [::std::mem::offset_of!(_zend_class_entry, function_table) - 64usize];
3066 ["Offset of field: _zend_class_entry::properties_info"]
3067 [::std::mem::offset_of!(_zend_class_entry, properties_info) - 120usize];
3068 ["Offset of field: _zend_class_entry::constants_table"]
3069 [::std::mem::offset_of!(_zend_class_entry, constants_table) - 176usize];
3070 ["Offset of field: _zend_class_entry::constructor"]
3071 [::std::mem::offset_of!(_zend_class_entry, constructor) - 232usize];
3072 ["Offset of field: _zend_class_entry::destructor"]
3073 [::std::mem::offset_of!(_zend_class_entry, destructor) - 240usize];
3074 ["Offset of field: _zend_class_entry::clone"]
3075 [::std::mem::offset_of!(_zend_class_entry, clone) - 248usize];
3076 ["Offset of field: _zend_class_entry::__get"]
3077 [::std::mem::offset_of!(_zend_class_entry, __get) - 256usize];
3078 ["Offset of field: _zend_class_entry::__set"]
3079 [::std::mem::offset_of!(_zend_class_entry, __set) - 264usize];
3080 ["Offset of field: _zend_class_entry::__unset"]
3081 [::std::mem::offset_of!(_zend_class_entry, __unset) - 272usize];
3082 ["Offset of field: _zend_class_entry::__isset"]
3083 [::std::mem::offset_of!(_zend_class_entry, __isset) - 280usize];
3084 ["Offset of field: _zend_class_entry::__call"]
3085 [::std::mem::offset_of!(_zend_class_entry, __call) - 288usize];
3086 ["Offset of field: _zend_class_entry::__callstatic"]
3087 [::std::mem::offset_of!(_zend_class_entry, __callstatic) - 296usize];
3088 ["Offset of field: _zend_class_entry::__tostring"]
3089 [::std::mem::offset_of!(_zend_class_entry, __tostring) - 304usize];
3090 ["Offset of field: _zend_class_entry::__debugInfo"]
3091 [::std::mem::offset_of!(_zend_class_entry, __debugInfo) - 312usize];
3092 ["Offset of field: _zend_class_entry::serialize_func"]
3093 [::std::mem::offset_of!(_zend_class_entry, serialize_func) - 320usize];
3094 ["Offset of field: _zend_class_entry::unserialize_func"]
3095 [::std::mem::offset_of!(_zend_class_entry, unserialize_func) - 328usize];
3096 ["Offset of field: _zend_class_entry::iterator_funcs"]
3097 [::std::mem::offset_of!(_zend_class_entry, iterator_funcs) - 336usize];
3098 ["Offset of field: _zend_class_entry::create_object"]
3099 [::std::mem::offset_of!(_zend_class_entry, create_object) - 392usize];
3100 ["Offset of field: _zend_class_entry::get_iterator"]
3101 [::std::mem::offset_of!(_zend_class_entry, get_iterator) - 400usize];
3102 ["Offset of field: _zend_class_entry::interface_gets_implemented"]
3103 [::std::mem::offset_of!(_zend_class_entry, interface_gets_implemented) - 408usize];
3104 ["Offset of field: _zend_class_entry::get_static_method"]
3105 [::std::mem::offset_of!(_zend_class_entry, get_static_method) - 416usize];
3106 ["Offset of field: _zend_class_entry::serialize"]
3107 [::std::mem::offset_of!(_zend_class_entry, serialize) - 424usize];
3108 ["Offset of field: _zend_class_entry::unserialize"]
3109 [::std::mem::offset_of!(_zend_class_entry, unserialize) - 432usize];
3110 ["Offset of field: _zend_class_entry::num_interfaces"]
3111 [::std::mem::offset_of!(_zend_class_entry, num_interfaces) - 440usize];
3112 ["Offset of field: _zend_class_entry::num_traits"]
3113 [::std::mem::offset_of!(_zend_class_entry, num_traits) - 444usize];
3114 ["Offset of field: _zend_class_entry::interfaces"]
3115 [::std::mem::offset_of!(_zend_class_entry, interfaces) - 448usize];
3116 ["Offset of field: _zend_class_entry::traits"]
3117 [::std::mem::offset_of!(_zend_class_entry, traits) - 456usize];
3118 ["Offset of field: _zend_class_entry::trait_aliases"]
3119 [::std::mem::offset_of!(_zend_class_entry, trait_aliases) - 464usize];
3120 ["Offset of field: _zend_class_entry::trait_precedences"]
3121 [::std::mem::offset_of!(_zend_class_entry, trait_precedences) - 472usize];
3122 ["Offset of field: _zend_class_entry::info"]
3123 [::std::mem::offset_of!(_zend_class_entry, info) - 480usize];
3124};
3125#[repr(C)]
3126#[derive(Debug, Copy, Clone)]
3127pub struct _zend_utility_functions {
3128 pub error_function: ::std::option::Option<
3129 unsafe extern "C" fn(
3130 type_: ::std::os::raw::c_int,
3131 error_filename: *const ::std::os::raw::c_char,
3132 error_lineno: uint,
3133 format: *const ::std::os::raw::c_char,
3134 args: *mut __va_list_tag,
3135 ),
3136 >,
3137 pub printf_function: ::std::option::Option<
3138 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
3139 >,
3140 pub write_function: ::std::option::Option<
3141 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: usize) -> usize,
3142 >,
3143 pub fopen_function: ::std::option::Option<
3144 unsafe extern "C" fn(
3145 filename: *const ::std::os::raw::c_char,
3146 opened_path: *mut *mut zend_string,
3147 ) -> *mut FILE,
3148 >,
3149 pub message_handler: ::std::option::Option<
3150 unsafe extern "C" fn(message: zend_long, data: *const ::std::os::raw::c_void),
3151 >,
3152 pub block_interruptions: ::std::option::Option<unsafe extern "C" fn()>,
3153 pub unblock_interruptions: ::std::option::Option<unsafe extern "C" fn()>,
3154 pub get_configuration_directive:
3155 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
3156 pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
3157 pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
3158 pub stream_open_function: ::std::option::Option<
3159 unsafe extern "C" fn(
3160 filename: *const ::std::os::raw::c_char,
3161 handle: *mut zend_file_handle,
3162 ) -> ::std::os::raw::c_int,
3163 >,
3164 pub vspprintf_function: ::std::option::Option<
3165 unsafe extern "C" fn(
3166 pbuf: *mut *mut ::std::os::raw::c_char,
3167 max_len: usize,
3168 format: *const ::std::os::raw::c_char,
3169 ap: *mut __va_list_tag,
3170 ) -> usize,
3171 >,
3172 pub vstrpprintf_function: ::std::option::Option<
3173 unsafe extern "C" fn(
3174 max_len: usize,
3175 format: *const ::std::os::raw::c_char,
3176 ap: *mut __va_list_tag,
3177 ) -> *mut zend_string,
3178 >,
3179 pub getenv_function: ::std::option::Option<
3180 unsafe extern "C" fn(
3181 name: *mut ::std::os::raw::c_char,
3182 name_len: usize,
3183 ) -> *mut ::std::os::raw::c_char,
3184 >,
3185 pub resolve_path_function: ::std::option::Option<
3186 unsafe extern "C" fn(
3187 filename: *const ::std::os::raw::c_char,
3188 filename_len: ::std::os::raw::c_int,
3189 ) -> *mut zend_string,
3190 >,
3191}
3192#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3193const _: () = {
3194 ["Size of _zend_utility_functions"]
3195 [::std::mem::size_of::<_zend_utility_functions>() - 120usize];
3196 ["Alignment of _zend_utility_functions"]
3197 [::std::mem::align_of::<_zend_utility_functions>() - 8usize];
3198 ["Offset of field: _zend_utility_functions::error_function"]
3199 [::std::mem::offset_of!(_zend_utility_functions, error_function) - 0usize];
3200 ["Offset of field: _zend_utility_functions::printf_function"]
3201 [::std::mem::offset_of!(_zend_utility_functions, printf_function) - 8usize];
3202 ["Offset of field: _zend_utility_functions::write_function"]
3203 [::std::mem::offset_of!(_zend_utility_functions, write_function) - 16usize];
3204 ["Offset of field: _zend_utility_functions::fopen_function"]
3205 [::std::mem::offset_of!(_zend_utility_functions, fopen_function) - 24usize];
3206 ["Offset of field: _zend_utility_functions::message_handler"]
3207 [::std::mem::offset_of!(_zend_utility_functions, message_handler) - 32usize];
3208 ["Offset of field: _zend_utility_functions::block_interruptions"]
3209 [::std::mem::offset_of!(_zend_utility_functions, block_interruptions) - 40usize];
3210 ["Offset of field: _zend_utility_functions::unblock_interruptions"]
3211 [::std::mem::offset_of!(_zend_utility_functions, unblock_interruptions) - 48usize];
3212 ["Offset of field: _zend_utility_functions::get_configuration_directive"]
3213 [::std::mem::offset_of!(_zend_utility_functions, get_configuration_directive) - 56usize];
3214 ["Offset of field: _zend_utility_functions::ticks_function"]
3215 [::std::mem::offset_of!(_zend_utility_functions, ticks_function) - 64usize];
3216 ["Offset of field: _zend_utility_functions::on_timeout"]
3217 [::std::mem::offset_of!(_zend_utility_functions, on_timeout) - 72usize];
3218 ["Offset of field: _zend_utility_functions::stream_open_function"]
3219 [::std::mem::offset_of!(_zend_utility_functions, stream_open_function) - 80usize];
3220 ["Offset of field: _zend_utility_functions::vspprintf_function"]
3221 [::std::mem::offset_of!(_zend_utility_functions, vspprintf_function) - 88usize];
3222 ["Offset of field: _zend_utility_functions::vstrpprintf_function"]
3223 [::std::mem::offset_of!(_zend_utility_functions, vstrpprintf_function) - 96usize];
3224 ["Offset of field: _zend_utility_functions::getenv_function"]
3225 [::std::mem::offset_of!(_zend_utility_functions, getenv_function) - 104usize];
3226 ["Offset of field: _zend_utility_functions::resolve_path_function"]
3227 [::std::mem::offset_of!(_zend_utility_functions, resolve_path_function) - 112usize];
3228};
3229pub type zend_utility_functions = _zend_utility_functions;
3230#[repr(C)]
3231#[derive(Debug, Copy, Clone)]
3232pub struct _zend_utility_values {
3233 pub import_use_extension: *mut ::std::os::raw::c_char,
3234 pub import_use_extension_length: uint,
3235 pub html_errors: zend_bool,
3236}
3237#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3238const _: () = {
3239 ["Size of _zend_utility_values"][::std::mem::size_of::<_zend_utility_values>() - 16usize];
3240 ["Alignment of _zend_utility_values"][::std::mem::align_of::<_zend_utility_values>() - 8usize];
3241 ["Offset of field: _zend_utility_values::import_use_extension"]
3242 [::std::mem::offset_of!(_zend_utility_values, import_use_extension) - 0usize];
3243 ["Offset of field: _zend_utility_values::import_use_extension_length"]
3244 [::std::mem::offset_of!(_zend_utility_values, import_use_extension_length) - 8usize];
3245 ["Offset of field: _zend_utility_values::html_errors"]
3246 [::std::mem::offset_of!(_zend_utility_values, html_errors) - 12usize];
3247};
3248pub type zend_utility_values = _zend_utility_values;
3249pub type zend_write_func_t = ::std::option::Option<
3250 unsafe extern "C" fn(
3251 str_: *const ::std::os::raw::c_char,
3252 str_length: usize,
3253 ) -> ::std::os::raw::c_int,
3254>;
3255extern "C" {
3256 pub fn zend_startup(
3257 utility_functions: *mut zend_utility_functions,
3258 extensions: *mut *mut ::std::os::raw::c_char,
3259 ) -> ::std::os::raw::c_int;
3260}
3261extern "C" {
3262 pub fn zend_shutdown();
3263}
3264extern "C" {
3265 pub fn zend_register_standard_ini_entries();
3266}
3267extern "C" {
3268 pub fn zend_post_startup();
3269}
3270extern "C" {
3271 pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
3272}
3273extern "C" {
3274 pub fn _zend_bailout(filename: *mut ::std::os::raw::c_char, lineno: uint);
3275}
3276extern "C" {
3277 pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval)
3278 -> ::std::os::raw::c_int;
3279}
3280extern "C" {
3281 pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> usize;
3282}
3283extern "C" {
3284 pub fn zend_print_zval_ex(
3285 write_func: zend_write_func_t,
3286 expr: *mut zval,
3287 indent: ::std::os::raw::c_int,
3288 ) -> usize;
3289}
3290extern "C" {
3291 pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
3292}
3293extern "C" {
3294 pub fn zend_print_flat_zval_r(expr: *mut zval);
3295}
3296extern "C" {
3297 pub fn zend_print_zval_r_ex(
3298 write_func: zend_write_func_t,
3299 expr: *mut zval,
3300 indent: ::std::os::raw::c_int,
3301 );
3302}
3303extern "C" {
3304 pub fn zend_output_debug_string(
3305 trigger_break: zend_bool,
3306 format: *const ::std::os::raw::c_char,
3307 ...
3308 );
3309}
3310extern "C" {
3311 pub fn zend_activate();
3312}
3313extern "C" {
3314 pub fn zend_deactivate();
3315}
3316extern "C" {
3317 pub fn zend_call_destructors();
3318}
3319extern "C" {
3320 pub fn zend_activate_modules();
3321}
3322extern "C" {
3323 pub fn zend_deactivate_modules();
3324}
3325extern "C" {
3326 pub fn zend_post_deactivate_modules();
3327}
3328extern "C" {
3329 pub static mut zend_printf: ::std::option::Option<
3330 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
3331 >;
3332}
3333extern "C" {
3334 pub static mut zend_write: zend_write_func_t;
3335}
3336extern "C" {
3337 pub static mut zend_fopen: ::std::option::Option<
3338 unsafe extern "C" fn(
3339 filename: *const ::std::os::raw::c_char,
3340 opened_path: *mut *mut zend_string,
3341 ) -> *mut FILE,
3342 >;
3343}
3344extern "C" {
3345 pub static mut zend_block_interruptions: ::std::option::Option<unsafe extern "C" fn()>;
3346}
3347extern "C" {
3348 pub static mut zend_unblock_interruptions: ::std::option::Option<unsafe extern "C" fn()>;
3349}
3350extern "C" {
3351 pub static mut zend_ticks_function:
3352 ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
3353}
3354extern "C" {
3355 pub static mut zend_error_cb: ::std::option::Option<
3356 unsafe extern "C" fn(
3357 type_: ::std::os::raw::c_int,
3358 error_filename: *const ::std::os::raw::c_char,
3359 error_lineno: uint,
3360 format: *const ::std::os::raw::c_char,
3361 args: *mut __va_list_tag,
3362 ),
3363 >;
3364}
3365extern "C" {
3366 pub static mut zend_on_timeout:
3367 ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
3368}
3369extern "C" {
3370 pub static mut zend_stream_open_function: ::std::option::Option<
3371 unsafe extern "C" fn(
3372 filename: *const ::std::os::raw::c_char,
3373 handle: *mut zend_file_handle,
3374 ) -> ::std::os::raw::c_int,
3375 >;
3376}
3377extern "C" {
3378 pub static mut zend_vspprintf: ::std::option::Option<
3379 unsafe extern "C" fn(
3380 pbuf: *mut *mut ::std::os::raw::c_char,
3381 max_len: usize,
3382 format: *const ::std::os::raw::c_char,
3383 ap: *mut __va_list_tag,
3384 ) -> usize,
3385 >;
3386}
3387extern "C" {
3388 pub static mut zend_vstrpprintf: ::std::option::Option<
3389 unsafe extern "C" fn(
3390 max_len: usize,
3391 format: *const ::std::os::raw::c_char,
3392 ap: *mut __va_list_tag,
3393 ) -> *mut zend_string,
3394 >;
3395}
3396extern "C" {
3397 pub static mut zend_getenv: ::std::option::Option<
3398 unsafe extern "C" fn(
3399 name: *mut ::std::os::raw::c_char,
3400 name_len: usize,
3401 ) -> *mut ::std::os::raw::c_char,
3402 >;
3403}
3404extern "C" {
3405 pub static mut zend_resolve_path: ::std::option::Option<
3406 unsafe extern "C" fn(
3407 filename: *const ::std::os::raw::c_char,
3408 filename_len: ::std::os::raw::c_int,
3409 ) -> *mut zend_string,
3410 >;
3411}
3412extern "C" {
3413 pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
3414}
3415extern "C" {
3416 pub fn zend_throw_error(
3417 exception_ce: *mut zend_class_entry,
3418 format: *const ::std::os::raw::c_char,
3419 ...
3420 );
3421}
3422extern "C" {
3423 pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
3424}
3425extern "C" {
3426 pub fn zend_internal_type_error(
3427 throw_exception: zend_bool,
3428 format: *const ::std::os::raw::c_char,
3429 ...
3430 );
3431}
3432extern "C" {
3433 pub fn zenderror(error: *const ::std::os::raw::c_char);
3434}
3435extern "C" {
3436 pub static mut zend_standard_class_def: *mut zend_class_entry;
3437}
3438extern "C" {
3439 pub static mut zend_uv: zend_utility_values;
3440}
3441extern "C" {
3442 pub static mut zend_dtrace_enabled: zend_bool;
3443}
3444extern "C" {
3445 pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
3446}
3447extern "C" {
3448 pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
3449}
3450pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
3451pub const zend_error_handling_t_EH_SUPPRESS: zend_error_handling_t = 1;
3452pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 2;
3453pub type zend_error_handling_t = ::std::os::raw::c_uint;
3454#[repr(C)]
3455#[derive(Copy, Clone)]
3456pub struct zend_error_handling {
3457 pub handling: zend_error_handling_t,
3458 pub exception: *mut zend_class_entry,
3459 pub user_handler: zval,
3460}
3461#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3462const _: () = {
3463 ["Size of zend_error_handling"][::std::mem::size_of::<zend_error_handling>() - 32usize];
3464 ["Alignment of zend_error_handling"][::std::mem::align_of::<zend_error_handling>() - 8usize];
3465 ["Offset of field: zend_error_handling::handling"]
3466 [::std::mem::offset_of!(zend_error_handling, handling) - 0usize];
3467 ["Offset of field: zend_error_handling::exception"]
3468 [::std::mem::offset_of!(zend_error_handling, exception) - 8usize];
3469 ["Offset of field: zend_error_handling::user_handler"]
3470 [::std::mem::offset_of!(zend_error_handling, user_handler) - 16usize];
3471};
3472extern "C" {
3473 pub fn zend_save_error_handling(current: *mut zend_error_handling);
3474}
3475extern "C" {
3476 pub fn zend_replace_error_handling(
3477 error_handling: zend_error_handling_t,
3478 exception_class: *mut zend_class_entry,
3479 current: *mut zend_error_handling,
3480 );
3481}
3482extern "C" {
3483 pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
3484}
3485pub type zend_object_read_property_t = ::std::option::Option<
3486 unsafe extern "C" fn(
3487 object: *mut zval,
3488 member: *mut zval,
3489 type_: ::std::os::raw::c_int,
3490 cache_slot: *mut *mut ::std::os::raw::c_void,
3491 rv: *mut zval,
3492 ) -> *mut zval,
3493>;
3494pub type zend_object_read_dimension_t = ::std::option::Option<
3495 unsafe extern "C" fn(
3496 object: *mut zval,
3497 offset: *mut zval,
3498 type_: ::std::os::raw::c_int,
3499 rv: *mut zval,
3500 ) -> *mut zval,
3501>;
3502pub type zend_object_write_property_t = ::std::option::Option<
3503 unsafe extern "C" fn(
3504 object: *mut zval,
3505 member: *mut zval,
3506 value: *mut zval,
3507 cache_slot: *mut *mut ::std::os::raw::c_void,
3508 ),
3509>;
3510pub type zend_object_write_dimension_t = ::std::option::Option<
3511 unsafe extern "C" fn(object: *mut zval, offset: *mut zval, value: *mut zval),
3512>;
3513pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
3514 unsafe extern "C" fn(
3515 object: *mut zval,
3516 member: *mut zval,
3517 type_: ::std::os::raw::c_int,
3518 cache_slot: *mut *mut ::std::os::raw::c_void,
3519 ) -> *mut zval,
3520>;
3521pub type zend_object_set_t =
3522 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, value: *mut zval)>;
3523pub type zend_object_get_t =
3524 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, rv: *mut zval) -> *mut zval>;
3525pub type zend_object_has_property_t = ::std::option::Option<
3526 unsafe extern "C" fn(
3527 object: *mut zval,
3528 member: *mut zval,
3529 has_set_exists: ::std::os::raw::c_int,
3530 cache_slot: *mut *mut ::std::os::raw::c_void,
3531 ) -> ::std::os::raw::c_int,
3532>;
3533pub type zend_object_has_dimension_t = ::std::option::Option<
3534 unsafe extern "C" fn(
3535 object: *mut zval,
3536 member: *mut zval,
3537 check_empty: ::std::os::raw::c_int,
3538 ) -> ::std::os::raw::c_int,
3539>;
3540pub type zend_object_unset_property_t = ::std::option::Option<
3541 unsafe extern "C" fn(
3542 object: *mut zval,
3543 member: *mut zval,
3544 cache_slot: *mut *mut ::std::os::raw::c_void,
3545 ),
3546>;
3547pub type zend_object_unset_dimension_t =
3548 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, offset: *mut zval)>;
3549pub type zend_object_get_properties_t =
3550 ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut HashTable>;
3551pub type zend_object_get_debug_info_t = ::std::option::Option<
3552 unsafe extern "C" fn(object: *mut zval, is_temp: *mut ::std::os::raw::c_int) -> *mut HashTable,
3553>;
3554pub type zend_object_call_method_t = ::std::option::Option<
3555 unsafe extern "C" fn(
3556 method: *mut zend_string,
3557 object: *mut zend_object,
3558 execute_data: *mut zend_execute_data,
3559 return_value: *mut zval,
3560 ) -> ::std::os::raw::c_int,
3561>;
3562pub type zend_object_get_method_t = ::std::option::Option<
3563 unsafe extern "C" fn(
3564 object: *mut *mut zend_object,
3565 method: *mut zend_string,
3566 key: *const zval,
3567 ) -> *mut _zend_function,
3568>;
3569pub type zend_object_get_constructor_t =
3570 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut _zend_function>;
3571pub type zend_object_dtor_obj_t =
3572 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
3573pub type zend_object_free_obj_t =
3574 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
3575pub type zend_object_clone_obj_t =
3576 ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut zend_object>;
3577pub type zend_object_get_class_name_t =
3578 ::std::option::Option<unsafe extern "C" fn(object: *const zend_object) -> *mut zend_string>;
3579pub type zend_object_compare_t = ::std::option::Option<
3580 unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
3581>;
3582pub type zend_object_compare_zvals_t = ::std::option::Option<
3583 unsafe extern "C" fn(resul: *mut zval, op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int,
3584>;
3585pub type zend_object_cast_t = ::std::option::Option<
3586 unsafe extern "C" fn(
3587 readobj: *mut zval,
3588 retval: *mut zval,
3589 type_: ::std::os::raw::c_int,
3590 ) -> ::std::os::raw::c_int,
3591>;
3592pub type zend_object_count_elements_t = ::std::option::Option<
3593 unsafe extern "C" fn(object: *mut zval, count: *mut zend_long) -> ::std::os::raw::c_int,
3594>;
3595pub type zend_object_get_closure_t = ::std::option::Option<
3596 unsafe extern "C" fn(
3597 obj: *mut zval,
3598 ce_ptr: *mut *mut zend_class_entry,
3599 fptr_ptr: *mut *mut _zend_function,
3600 obj_ptr: *mut *mut zend_object,
3601 ) -> ::std::os::raw::c_int,
3602>;
3603pub type zend_object_get_gc_t = ::std::option::Option<
3604 unsafe extern "C" fn(
3605 object: *mut zval,
3606 table: *mut *mut zval,
3607 n: *mut ::std::os::raw::c_int,
3608 ) -> *mut HashTable,
3609>;
3610pub type zend_object_do_operation_t = ::std::option::Option<
3611 unsafe extern "C" fn(
3612 opcode: zend_uchar,
3613 result: *mut zval,
3614 op1: *mut zval,
3615 op2: *mut zval,
3616 ) -> ::std::os::raw::c_int,
3617>;
3618#[repr(C)]
3619#[derive(Debug, Copy, Clone)]
3620pub struct _zend_object_handlers {
3621 pub offset: ::std::os::raw::c_int,
3622 pub free_obj: zend_object_free_obj_t,
3623 pub dtor_obj: zend_object_dtor_obj_t,
3624 pub clone_obj: zend_object_clone_obj_t,
3625 pub read_property: zend_object_read_property_t,
3626 pub write_property: zend_object_write_property_t,
3627 pub read_dimension: zend_object_read_dimension_t,
3628 pub write_dimension: zend_object_write_dimension_t,
3629 pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
3630 pub get: zend_object_get_t,
3631 pub set: zend_object_set_t,
3632 pub has_property: zend_object_has_property_t,
3633 pub unset_property: zend_object_unset_property_t,
3634 pub has_dimension: zend_object_has_dimension_t,
3635 pub unset_dimension: zend_object_unset_dimension_t,
3636 pub get_properties: zend_object_get_properties_t,
3637 pub get_method: zend_object_get_method_t,
3638 pub call_method: zend_object_call_method_t,
3639 pub get_constructor: zend_object_get_constructor_t,
3640 pub get_class_name: zend_object_get_class_name_t,
3641 pub compare_objects: zend_object_compare_t,
3642 pub cast_object: zend_object_cast_t,
3643 pub count_elements: zend_object_count_elements_t,
3644 pub get_debug_info: zend_object_get_debug_info_t,
3645 pub get_closure: zend_object_get_closure_t,
3646 pub get_gc: zend_object_get_gc_t,
3647 pub do_operation: zend_object_do_operation_t,
3648 pub compare: zend_object_compare_zvals_t,
3649}
3650#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3651const _: () = {
3652 ["Size of _zend_object_handlers"][::std::mem::size_of::<_zend_object_handlers>() - 224usize];
3653 ["Alignment of _zend_object_handlers"]
3654 [::std::mem::align_of::<_zend_object_handlers>() - 8usize];
3655 ["Offset of field: _zend_object_handlers::offset"]
3656 [::std::mem::offset_of!(_zend_object_handlers, offset) - 0usize];
3657 ["Offset of field: _zend_object_handlers::free_obj"]
3658 [::std::mem::offset_of!(_zend_object_handlers, free_obj) - 8usize];
3659 ["Offset of field: _zend_object_handlers::dtor_obj"]
3660 [::std::mem::offset_of!(_zend_object_handlers, dtor_obj) - 16usize];
3661 ["Offset of field: _zend_object_handlers::clone_obj"]
3662 [::std::mem::offset_of!(_zend_object_handlers, clone_obj) - 24usize];
3663 ["Offset of field: _zend_object_handlers::read_property"]
3664 [::std::mem::offset_of!(_zend_object_handlers, read_property) - 32usize];
3665 ["Offset of field: _zend_object_handlers::write_property"]
3666 [::std::mem::offset_of!(_zend_object_handlers, write_property) - 40usize];
3667 ["Offset of field: _zend_object_handlers::read_dimension"]
3668 [::std::mem::offset_of!(_zend_object_handlers, read_dimension) - 48usize];
3669 ["Offset of field: _zend_object_handlers::write_dimension"]
3670 [::std::mem::offset_of!(_zend_object_handlers, write_dimension) - 56usize];
3671 ["Offset of field: _zend_object_handlers::get_property_ptr_ptr"]
3672 [::std::mem::offset_of!(_zend_object_handlers, get_property_ptr_ptr) - 64usize];
3673 ["Offset of field: _zend_object_handlers::get"]
3674 [::std::mem::offset_of!(_zend_object_handlers, get) - 72usize];
3675 ["Offset of field: _zend_object_handlers::set"]
3676 [::std::mem::offset_of!(_zend_object_handlers, set) - 80usize];
3677 ["Offset of field: _zend_object_handlers::has_property"]
3678 [::std::mem::offset_of!(_zend_object_handlers, has_property) - 88usize];
3679 ["Offset of field: _zend_object_handlers::unset_property"]
3680 [::std::mem::offset_of!(_zend_object_handlers, unset_property) - 96usize];
3681 ["Offset of field: _zend_object_handlers::has_dimension"]
3682 [::std::mem::offset_of!(_zend_object_handlers, has_dimension) - 104usize];
3683 ["Offset of field: _zend_object_handlers::unset_dimension"]
3684 [::std::mem::offset_of!(_zend_object_handlers, unset_dimension) - 112usize];
3685 ["Offset of field: _zend_object_handlers::get_properties"]
3686 [::std::mem::offset_of!(_zend_object_handlers, get_properties) - 120usize];
3687 ["Offset of field: _zend_object_handlers::get_method"]
3688 [::std::mem::offset_of!(_zend_object_handlers, get_method) - 128usize];
3689 ["Offset of field: _zend_object_handlers::call_method"]
3690 [::std::mem::offset_of!(_zend_object_handlers, call_method) - 136usize];
3691 ["Offset of field: _zend_object_handlers::get_constructor"]
3692 [::std::mem::offset_of!(_zend_object_handlers, get_constructor) - 144usize];
3693 ["Offset of field: _zend_object_handlers::get_class_name"]
3694 [::std::mem::offset_of!(_zend_object_handlers, get_class_name) - 152usize];
3695 ["Offset of field: _zend_object_handlers::compare_objects"]
3696 [::std::mem::offset_of!(_zend_object_handlers, compare_objects) - 160usize];
3697 ["Offset of field: _zend_object_handlers::cast_object"]
3698 [::std::mem::offset_of!(_zend_object_handlers, cast_object) - 168usize];
3699 ["Offset of field: _zend_object_handlers::count_elements"]
3700 [::std::mem::offset_of!(_zend_object_handlers, count_elements) - 176usize];
3701 ["Offset of field: _zend_object_handlers::get_debug_info"]
3702 [::std::mem::offset_of!(_zend_object_handlers, get_debug_info) - 184usize];
3703 ["Offset of field: _zend_object_handlers::get_closure"]
3704 [::std::mem::offset_of!(_zend_object_handlers, get_closure) - 192usize];
3705 ["Offset of field: _zend_object_handlers::get_gc"]
3706 [::std::mem::offset_of!(_zend_object_handlers, get_gc) - 200usize];
3707 ["Offset of field: _zend_object_handlers::do_operation"]
3708 [::std::mem::offset_of!(_zend_object_handlers, do_operation) - 208usize];
3709 ["Offset of field: _zend_object_handlers::compare"]
3710 [::std::mem::offset_of!(_zend_object_handlers, compare) - 216usize];
3711};
3712extern "C" {
3713 pub static mut std_object_handlers: zend_object_handlers;
3714}
3715extern "C" {
3716 pub fn zend_std_get_static_method(
3717 ce: *mut zend_class_entry,
3718 function_name_strval: *mut zend_string,
3719 key: *const zval,
3720 ) -> *mut _zend_function;
3721}
3722extern "C" {
3723 pub fn zend_std_get_static_property(
3724 ce: *mut zend_class_entry,
3725 property_name: *mut zend_string,
3726 silent: zend_bool,
3727 ) -> *mut zval;
3728}
3729extern "C" {
3730 pub fn zend_std_unset_static_property(
3731 ce: *mut zend_class_entry,
3732 property_name: *mut zend_string,
3733 ) -> zend_bool;
3734}
3735extern "C" {
3736 pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut _zend_function;
3737}
3738extern "C" {
3739 pub fn zend_get_property_info(
3740 ce: *mut zend_class_entry,
3741 member: *mut zend_string,
3742 silent: ::std::os::raw::c_int,
3743 ) -> *mut _zend_property_info;
3744}
3745extern "C" {
3746 pub fn zend_std_get_properties(object: *mut zval) -> *mut HashTable;
3747}
3748extern "C" {
3749 pub fn zend_std_get_debug_info(
3750 object: *mut zval,
3751 is_temp: *mut ::std::os::raw::c_int,
3752 ) -> *mut HashTable;
3753}
3754extern "C" {
3755 pub fn zend_std_cast_object_tostring(
3756 readobj: *mut zval,
3757 writeobj: *mut zval,
3758 type_: ::std::os::raw::c_int,
3759 ) -> ::std::os::raw::c_int;
3760}
3761extern "C" {
3762 pub fn zend_std_write_property(
3763 object: *mut zval,
3764 member: *mut zval,
3765 value: *mut zval,
3766 cache_slot: *mut *mut ::std::os::raw::c_void,
3767 );
3768}
3769extern "C" {
3770 pub fn zend_check_private(
3771 fbc: *mut _zend_function,
3772 ce: *mut zend_class_entry,
3773 function_name: *mut zend_string,
3774 ) -> ::std::os::raw::c_int;
3775}
3776extern "C" {
3777 pub fn zend_check_protected(
3778 ce: *mut zend_class_entry,
3779 scope: *mut zend_class_entry,
3780 ) -> ::std::os::raw::c_int;
3781}
3782extern "C" {
3783 pub fn zend_check_property_access(
3784 zobj: *mut zend_object,
3785 prop_info_name: *mut zend_string,
3786 ) -> ::std::os::raw::c_int;
3787}
3788extern "C" {
3789 pub fn zend_get_call_trampoline_func(
3790 ce: *mut zend_class_entry,
3791 method_name: *mut zend_string,
3792 is_static: ::std::os::raw::c_int,
3793 ) -> *mut zend_function;
3794}
3795extern "C" {
3796 pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
3797}
3798extern "C" {
3799 pub fn zend_dtoa(
3800 _d: f64,
3801 mode: ::std::os::raw::c_int,
3802 ndigits: ::std::os::raw::c_int,
3803 decpt: *mut ::std::os::raw::c_int,
3804 sign: *mut ::std::os::raw::c_int,
3805 rve: *mut *mut ::std::os::raw::c_char,
3806 ) -> *mut ::std::os::raw::c_char;
3807}
3808extern "C" {
3809 pub fn zend_strtod(
3810 s00: *const ::std::os::raw::c_char,
3811 se: *mut *const ::std::os::raw::c_char,
3812 ) -> f64;
3813}
3814extern "C" {
3815 pub fn zend_hex_strtod(
3816 str_: *const ::std::os::raw::c_char,
3817 endptr: *mut *const ::std::os::raw::c_char,
3818 ) -> f64;
3819}
3820extern "C" {
3821 pub fn zend_oct_strtod(
3822 str_: *const ::std::os::raw::c_char,
3823 endptr: *mut *const ::std::os::raw::c_char,
3824 ) -> f64;
3825}
3826extern "C" {
3827 pub fn zend_bin_strtod(
3828 str_: *const ::std::os::raw::c_char,
3829 endptr: *mut *const ::std::os::raw::c_char,
3830 ) -> f64;
3831}
3832extern "C" {
3833 pub fn zend_startup_strtod() -> ::std::os::raw::c_int;
3834}
3835extern "C" {
3836 pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
3837}
3838extern "C" {
3839 pub fn zend_is_identical(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
3840}
3841extern "C" {
3842 pub fn zend_memnstr_ex(
3843 haystack: *const ::std::os::raw::c_char,
3844 needle: *const ::std::os::raw::c_char,
3845 needle_len: usize,
3846 end: *const ::std::os::raw::c_char,
3847 ) -> *const ::std::os::raw::c_char;
3848}
3849extern "C" {
3850 pub fn zend_memnrstr_ex(
3851 haystack: *const ::std::os::raw::c_char,
3852 needle: *const ::std::os::raw::c_char,
3853 needle_len: usize,
3854 end: *const ::std::os::raw::c_char,
3855 ) -> *const ::std::os::raw::c_char;
3856}
3857extern "C" {
3858 pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
3859}
3860extern "C" {
3861 pub fn zend_is_true(op: *mut zval) -> ::std::os::raw::c_int;
3862}
3863extern "C" {
3864 pub fn zend_object_is_true(op: *mut zval) -> ::std::os::raw::c_int;
3865}
3866extern "C" {
3867 pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: usize);
3868}
3869extern "C" {
3870 pub fn zend_str_tolower_copy(
3871 dest: *mut ::std::os::raw::c_char,
3872 source: *const ::std::os::raw::c_char,
3873 length: usize,
3874 ) -> *mut ::std::os::raw::c_char;
3875}
3876extern "C" {
3877 pub fn zend_str_tolower_dup(
3878 source: *const ::std::os::raw::c_char,
3879 length: usize,
3880 ) -> *mut ::std::os::raw::c_char;
3881}
3882extern "C" {
3883 pub fn zend_str_tolower_dup_ex(
3884 source: *const ::std::os::raw::c_char,
3885 length: usize,
3886 ) -> *mut ::std::os::raw::c_char;
3887}
3888extern "C" {
3889 pub fn zend_string_tolower(str_: *mut zend_string) -> *mut zend_string;
3890}
3891extern "C" {
3892 pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
3893}
3894extern "C" {
3895 pub fn zend_binary_zval_strncmp(
3896 s1: *mut zval,
3897 s2: *mut zval,
3898 s3: *mut zval,
3899 ) -> ::std::os::raw::c_int;
3900}
3901extern "C" {
3902 pub fn zend_binary_zval_strcasecmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
3903}
3904extern "C" {
3905 pub fn zend_binary_zval_strncasecmp(
3906 s1: *mut zval,
3907 s2: *mut zval,
3908 s3: *mut zval,
3909 ) -> ::std::os::raw::c_int;
3910}
3911extern "C" {
3912 pub fn zend_binary_strcmp(
3913 s1: *const ::std::os::raw::c_char,
3914 len1: usize,
3915 s2: *const ::std::os::raw::c_char,
3916 len2: usize,
3917 ) -> ::std::os::raw::c_int;
3918}
3919extern "C" {
3920 pub fn zend_binary_strncmp(
3921 s1: *const ::std::os::raw::c_char,
3922 len1: usize,
3923 s2: *const ::std::os::raw::c_char,
3924 len2: usize,
3925 length: usize,
3926 ) -> ::std::os::raw::c_int;
3927}
3928extern "C" {
3929 pub fn zend_binary_strcasecmp(
3930 s1: *const ::std::os::raw::c_char,
3931 len1: usize,
3932 s2: *const ::std::os::raw::c_char,
3933 len2: usize,
3934 ) -> ::std::os::raw::c_int;
3935}
3936extern "C" {
3937 pub fn zend_binary_strncasecmp(
3938 s1: *const ::std::os::raw::c_char,
3939 len1: usize,
3940 s2: *const ::std::os::raw::c_char,
3941 len2: usize,
3942 length: usize,
3943 ) -> ::std::os::raw::c_int;
3944}
3945extern "C" {
3946 pub fn zend_binary_strcasecmp_l(
3947 s1: *const ::std::os::raw::c_char,
3948 len1: usize,
3949 s2: *const ::std::os::raw::c_char,
3950 len2: usize,
3951 ) -> ::std::os::raw::c_int;
3952}
3953extern "C" {
3954 pub fn zend_binary_strncasecmp_l(
3955 s1: *const ::std::os::raw::c_char,
3956 len1: usize,
3957 s2: *const ::std::os::raw::c_char,
3958 len2: usize,
3959 length: usize,
3960 ) -> ::std::os::raw::c_int;
3961}
3962extern "C" {
3963 pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> zend_long;
3964}
3965extern "C" {
3966 pub fn zend_compare_symbol_tables(
3967 ht1: *mut HashTable,
3968 ht2: *mut HashTable,
3969 ) -> ::std::os::raw::c_int;
3970}
3971extern "C" {
3972 pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
3973}
3974extern "C" {
3975 pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
3976}
3977extern "C" {
3978 pub fn zend_atoi(
3979 str_: *const ::std::os::raw::c_char,
3980 str_len: ::std::os::raw::c_int,
3981 ) -> ::std::os::raw::c_int;
3982}
3983extern "C" {
3984 pub fn zend_atol(
3985 str_: *const ::std::os::raw::c_char,
3986 str_len: ::std::os::raw::c_int,
3987 ) -> zend_long;
3988}
3989extern "C" {
3990 pub fn zend_locale_sprintf_double(op: *mut zval);
3991}
3992extern "C" {
3993 pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
3994}
3995extern "C" {
3996 pub fn zend_qsort(
3997 base: *mut ::std::os::raw::c_void,
3998 nmemb: usize,
3999 siz: usize,
4000 cmp: compare_func_t,
4001 swp: swap_func_t,
4002 );
4003}
4004extern "C" {
4005 pub fn zend_sort(
4006 base: *mut ::std::os::raw::c_void,
4007 nmemb: usize,
4008 siz: usize,
4009 cmp: compare_func_t,
4010 swp: swap_func_t,
4011 );
4012}
4013extern "C" {
4014 pub fn zend_insert_sort(
4015 base: *mut ::std::os::raw::c_void,
4016 nmemb: usize,
4017 siz: usize,
4018 cmp: compare_func_t,
4019 swp: swap_func_t,
4020 );
4021}
4022pub type zend_op_array = _zend_op_array;
4023pub type zend_op = _zend_op;
4024#[repr(C)]
4025#[derive(Copy, Clone)]
4026pub union _znode_op {
4027 pub constant: u32,
4028 pub var: u32,
4029 pub num: u32,
4030 pub opline_num: u32,
4031 pub jmp_offset: u32,
4032}
4033#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4034const _: () = {
4035 ["Size of _znode_op"][::std::mem::size_of::<_znode_op>() - 4usize];
4036 ["Alignment of _znode_op"][::std::mem::align_of::<_znode_op>() - 4usize];
4037 ["Offset of field: _znode_op::constant"][::std::mem::offset_of!(_znode_op, constant) - 0usize];
4038 ["Offset of field: _znode_op::var"][::std::mem::offset_of!(_znode_op, var) - 0usize];
4039 ["Offset of field: _znode_op::num"][::std::mem::offset_of!(_znode_op, num) - 0usize];
4040 ["Offset of field: _znode_op::opline_num"]
4041 [::std::mem::offset_of!(_znode_op, opline_num) - 0usize];
4042 ["Offset of field: _znode_op::jmp_offset"]
4043 [::std::mem::offset_of!(_znode_op, jmp_offset) - 0usize];
4044};
4045pub type znode_op = _znode_op;
4046#[repr(C)]
4047#[derive(Copy, Clone)]
4048pub struct _znode {
4049 pub op_type: zend_uchar,
4050 pub flag: zend_uchar,
4051 pub u: _znode__bindgen_ty_1,
4052}
4053#[repr(C)]
4054#[derive(Copy, Clone)]
4055pub union _znode__bindgen_ty_1 {
4056 pub op: znode_op,
4057 pub constant: zval,
4058}
4059#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4060const _: () = {
4061 ["Size of _znode__bindgen_ty_1"][::std::mem::size_of::<_znode__bindgen_ty_1>() - 16usize];
4062 ["Alignment of _znode__bindgen_ty_1"][::std::mem::align_of::<_znode__bindgen_ty_1>() - 8usize];
4063 ["Offset of field: _znode__bindgen_ty_1::op"]
4064 [::std::mem::offset_of!(_znode__bindgen_ty_1, op) - 0usize];
4065 ["Offset of field: _znode__bindgen_ty_1::constant"]
4066 [::std::mem::offset_of!(_znode__bindgen_ty_1, constant) - 0usize];
4067};
4068#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4069const _: () = {
4070 ["Size of _znode"][::std::mem::size_of::<_znode>() - 24usize];
4071 ["Alignment of _znode"][::std::mem::align_of::<_znode>() - 8usize];
4072 ["Offset of field: _znode::op_type"][::std::mem::offset_of!(_znode, op_type) - 0usize];
4073 ["Offset of field: _znode::flag"][::std::mem::offset_of!(_znode, flag) - 1usize];
4074 ["Offset of field: _znode::u"][::std::mem::offset_of!(_znode, u) - 8usize];
4075};
4076pub type znode = _znode;
4077#[repr(C)]
4078#[derive(Copy, Clone)]
4079pub struct _zend_ast_znode {
4080 pub kind: zend_ast_kind,
4081 pub attr: zend_ast_attr,
4082 pub lineno: u32,
4083 pub node: znode,
4084}
4085#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4086const _: () = {
4087 ["Size of _zend_ast_znode"][::std::mem::size_of::<_zend_ast_znode>() - 32usize];
4088 ["Alignment of _zend_ast_znode"][::std::mem::align_of::<_zend_ast_znode>() - 8usize];
4089 ["Offset of field: _zend_ast_znode::kind"]
4090 [::std::mem::offset_of!(_zend_ast_znode, kind) - 0usize];
4091 ["Offset of field: _zend_ast_znode::attr"]
4092 [::std::mem::offset_of!(_zend_ast_znode, attr) - 2usize];
4093 ["Offset of field: _zend_ast_znode::lineno"]
4094 [::std::mem::offset_of!(_zend_ast_znode, lineno) - 4usize];
4095 ["Offset of field: _zend_ast_znode::node"]
4096 [::std::mem::offset_of!(_zend_ast_znode, node) - 8usize];
4097};
4098pub type zend_ast_znode = _zend_ast_znode;
4099extern "C" {
4100 pub fn zend_ast_create_znode(node: *mut znode) -> *mut zend_ast;
4101}
4102#[repr(C)]
4103#[derive(Debug, Copy, Clone)]
4104pub struct _zend_declarables {
4105 pub ticks: zend_long,
4106}
4107#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4108const _: () = {
4109 ["Size of _zend_declarables"][::std::mem::size_of::<_zend_declarables>() - 8usize];
4110 ["Alignment of _zend_declarables"][::std::mem::align_of::<_zend_declarables>() - 8usize];
4111 ["Offset of field: _zend_declarables::ticks"]
4112 [::std::mem::offset_of!(_zend_declarables, ticks) - 0usize];
4113};
4114pub type zend_declarables = _zend_declarables;
4115#[repr(C)]
4116#[derive(Debug, Copy, Clone)]
4117pub struct _zend_oparray_context {
4118 pub opcodes_size: u32,
4119 pub vars_size: ::std::os::raw::c_int,
4120 pub literals_size: ::std::os::raw::c_int,
4121 pub current_brk_cont: ::std::os::raw::c_int,
4122 pub backpatch_count: ::std::os::raw::c_int,
4123 pub in_finally: ::std::os::raw::c_int,
4124 pub fast_call_var: u32,
4125 pub labels: *mut HashTable,
4126}
4127#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4128const _: () = {
4129 ["Size of _zend_oparray_context"][::std::mem::size_of::<_zend_oparray_context>() - 40usize];
4130 ["Alignment of _zend_oparray_context"]
4131 [::std::mem::align_of::<_zend_oparray_context>() - 8usize];
4132 ["Offset of field: _zend_oparray_context::opcodes_size"]
4133 [::std::mem::offset_of!(_zend_oparray_context, opcodes_size) - 0usize];
4134 ["Offset of field: _zend_oparray_context::vars_size"]
4135 [::std::mem::offset_of!(_zend_oparray_context, vars_size) - 4usize];
4136 ["Offset of field: _zend_oparray_context::literals_size"]
4137 [::std::mem::offset_of!(_zend_oparray_context, literals_size) - 8usize];
4138 ["Offset of field: _zend_oparray_context::current_brk_cont"]
4139 [::std::mem::offset_of!(_zend_oparray_context, current_brk_cont) - 12usize];
4140 ["Offset of field: _zend_oparray_context::backpatch_count"]
4141 [::std::mem::offset_of!(_zend_oparray_context, backpatch_count) - 16usize];
4142 ["Offset of field: _zend_oparray_context::in_finally"]
4143 [::std::mem::offset_of!(_zend_oparray_context, in_finally) - 20usize];
4144 ["Offset of field: _zend_oparray_context::fast_call_var"]
4145 [::std::mem::offset_of!(_zend_oparray_context, fast_call_var) - 24usize];
4146 ["Offset of field: _zend_oparray_context::labels"]
4147 [::std::mem::offset_of!(_zend_oparray_context, labels) - 32usize];
4148};
4149pub type zend_oparray_context = _zend_oparray_context;
4150#[repr(C)]
4151#[derive(Copy, Clone)]
4152pub struct _zend_file_context {
4153 pub declarables: zend_declarables,
4154 pub implementing_class: znode,
4155 pub current_namespace: *mut zend_string,
4156 pub in_namespace: zend_bool,
4157 pub has_bracketed_namespaces: zend_bool,
4158 pub imports: *mut HashTable,
4159 pub imports_function: *mut HashTable,
4160 pub imports_const: *mut HashTable,
4161}
4162#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4163const _: () = {
4164 ["Size of _zend_file_context"][::std::mem::size_of::<_zend_file_context>() - 72usize];
4165 ["Alignment of _zend_file_context"][::std::mem::align_of::<_zend_file_context>() - 8usize];
4166 ["Offset of field: _zend_file_context::declarables"]
4167 [::std::mem::offset_of!(_zend_file_context, declarables) - 0usize];
4168 ["Offset of field: _zend_file_context::implementing_class"]
4169 [::std::mem::offset_of!(_zend_file_context, implementing_class) - 8usize];
4170 ["Offset of field: _zend_file_context::current_namespace"]
4171 [::std::mem::offset_of!(_zend_file_context, current_namespace) - 32usize];
4172 ["Offset of field: _zend_file_context::in_namespace"]
4173 [::std::mem::offset_of!(_zend_file_context, in_namespace) - 40usize];
4174 ["Offset of field: _zend_file_context::has_bracketed_namespaces"]
4175 [::std::mem::offset_of!(_zend_file_context, has_bracketed_namespaces) - 41usize];
4176 ["Offset of field: _zend_file_context::imports"]
4177 [::std::mem::offset_of!(_zend_file_context, imports) - 48usize];
4178 ["Offset of field: _zend_file_context::imports_function"]
4179 [::std::mem::offset_of!(_zend_file_context, imports_function) - 56usize];
4180 ["Offset of field: _zend_file_context::imports_const"]
4181 [::std::mem::offset_of!(_zend_file_context, imports_const) - 64usize];
4182};
4183pub type zend_file_context = _zend_file_context;
4184#[repr(C)]
4185#[derive(Copy, Clone)]
4186pub union _zend_parser_stack_elem {
4187 pub ast: *mut zend_ast,
4188 pub str_: *mut zend_string,
4189 pub num: zend_ulong,
4190}
4191#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4192const _: () = {
4193 ["Size of _zend_parser_stack_elem"][::std::mem::size_of::<_zend_parser_stack_elem>() - 8usize];
4194 ["Alignment of _zend_parser_stack_elem"]
4195 [::std::mem::align_of::<_zend_parser_stack_elem>() - 8usize];
4196 ["Offset of field: _zend_parser_stack_elem::ast"]
4197 [::std::mem::offset_of!(_zend_parser_stack_elem, ast) - 0usize];
4198 ["Offset of field: _zend_parser_stack_elem::str_"]
4199 [::std::mem::offset_of!(_zend_parser_stack_elem, str_) - 0usize];
4200 ["Offset of field: _zend_parser_stack_elem::num"]
4201 [::std::mem::offset_of!(_zend_parser_stack_elem, num) - 0usize];
4202};
4203pub type zend_parser_stack_elem = _zend_parser_stack_elem;
4204extern "C" {
4205 pub fn zend_compile_top_stmt(ast: *mut zend_ast);
4206}
4207extern "C" {
4208 pub fn zend_compile_stmt(ast: *mut zend_ast);
4209}
4210extern "C" {
4211 pub fn zend_compile_expr(node: *mut znode, ast: *mut zend_ast);
4212}
4213extern "C" {
4214 pub fn zend_compile_var(node: *mut znode, ast: *mut zend_ast, type_: u32);
4215}
4216extern "C" {
4217 pub fn zend_eval_const_expr(ast_ptr: *mut *mut zend_ast);
4218}
4219extern "C" {
4220 pub fn zend_const_expr_to_zval(result: *mut zval, ast: *mut zend_ast);
4221}
4222pub type user_opcode_handler_t = ::std::option::Option<
4223 unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
4224>;
4225#[repr(C)]
4226#[derive(Copy, Clone)]
4227pub struct _zend_op {
4228 pub handler: *const ::std::os::raw::c_void,
4229 pub op1: znode_op,
4230 pub op2: znode_op,
4231 pub result: znode_op,
4232 pub extended_value: u32,
4233 pub lineno: u32,
4234 pub opcode: zend_uchar,
4235 pub op1_type: zend_uchar,
4236 pub op2_type: zend_uchar,
4237 pub result_type: zend_uchar,
4238}
4239#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4240const _: () = {
4241 ["Size of _zend_op"][::std::mem::size_of::<_zend_op>() - 32usize];
4242 ["Alignment of _zend_op"][::std::mem::align_of::<_zend_op>() - 8usize];
4243 ["Offset of field: _zend_op::handler"][::std::mem::offset_of!(_zend_op, handler) - 0usize];
4244 ["Offset of field: _zend_op::op1"][::std::mem::offset_of!(_zend_op, op1) - 8usize];
4245 ["Offset of field: _zend_op::op2"][::std::mem::offset_of!(_zend_op, op2) - 12usize];
4246 ["Offset of field: _zend_op::result"][::std::mem::offset_of!(_zend_op, result) - 16usize];
4247 ["Offset of field: _zend_op::extended_value"]
4248 [::std::mem::offset_of!(_zend_op, extended_value) - 20usize];
4249 ["Offset of field: _zend_op::lineno"][::std::mem::offset_of!(_zend_op, lineno) - 24usize];
4250 ["Offset of field: _zend_op::opcode"][::std::mem::offset_of!(_zend_op, opcode) - 28usize];
4251 ["Offset of field: _zend_op::op1_type"][::std::mem::offset_of!(_zend_op, op1_type) - 29usize];
4252 ["Offset of field: _zend_op::op2_type"][::std::mem::offset_of!(_zend_op, op2_type) - 30usize];
4253 ["Offset of field: _zend_op::result_type"]
4254 [::std::mem::offset_of!(_zend_op, result_type) - 31usize];
4255};
4256#[repr(C)]
4257#[derive(Debug, Copy, Clone)]
4258pub struct _zend_brk_cont_element {
4259 pub start: ::std::os::raw::c_int,
4260 pub cont: ::std::os::raw::c_int,
4261 pub brk: ::std::os::raw::c_int,
4262 pub parent: ::std::os::raw::c_int,
4263}
4264#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4265const _: () = {
4266 ["Size of _zend_brk_cont_element"][::std::mem::size_of::<_zend_brk_cont_element>() - 16usize];
4267 ["Alignment of _zend_brk_cont_element"]
4268 [::std::mem::align_of::<_zend_brk_cont_element>() - 4usize];
4269 ["Offset of field: _zend_brk_cont_element::start"]
4270 [::std::mem::offset_of!(_zend_brk_cont_element, start) - 0usize];
4271 ["Offset of field: _zend_brk_cont_element::cont"]
4272 [::std::mem::offset_of!(_zend_brk_cont_element, cont) - 4usize];
4273 ["Offset of field: _zend_brk_cont_element::brk"]
4274 [::std::mem::offset_of!(_zend_brk_cont_element, brk) - 8usize];
4275 ["Offset of field: _zend_brk_cont_element::parent"]
4276 [::std::mem::offset_of!(_zend_brk_cont_element, parent) - 12usize];
4277};
4278pub type zend_brk_cont_element = _zend_brk_cont_element;
4279#[repr(C)]
4280#[derive(Debug, Copy, Clone)]
4281pub struct _zend_label {
4282 pub brk_cont: ::std::os::raw::c_int,
4283 pub opline_num: u32,
4284}
4285#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4286const _: () = {
4287 ["Size of _zend_label"][::std::mem::size_of::<_zend_label>() - 8usize];
4288 ["Alignment of _zend_label"][::std::mem::align_of::<_zend_label>() - 4usize];
4289 ["Offset of field: _zend_label::brk_cont"]
4290 [::std::mem::offset_of!(_zend_label, brk_cont) - 0usize];
4291 ["Offset of field: _zend_label::opline_num"]
4292 [::std::mem::offset_of!(_zend_label, opline_num) - 4usize];
4293};
4294pub type zend_label = _zend_label;
4295#[repr(C)]
4296#[derive(Debug, Copy, Clone)]
4297pub struct _zend_try_catch_element {
4298 pub try_op: u32,
4299 pub catch_op: u32,
4300 pub finally_op: u32,
4301 pub finally_end: u32,
4302}
4303#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4304const _: () = {
4305 ["Size of _zend_try_catch_element"][::std::mem::size_of::<_zend_try_catch_element>() - 16usize];
4306 ["Alignment of _zend_try_catch_element"]
4307 [::std::mem::align_of::<_zend_try_catch_element>() - 4usize];
4308 ["Offset of field: _zend_try_catch_element::try_op"]
4309 [::std::mem::offset_of!(_zend_try_catch_element, try_op) - 0usize];
4310 ["Offset of field: _zend_try_catch_element::catch_op"]
4311 [::std::mem::offset_of!(_zend_try_catch_element, catch_op) - 4usize];
4312 ["Offset of field: _zend_try_catch_element::finally_op"]
4313 [::std::mem::offset_of!(_zend_try_catch_element, finally_op) - 8usize];
4314 ["Offset of field: _zend_try_catch_element::finally_end"]
4315 [::std::mem::offset_of!(_zend_try_catch_element, finally_end) - 12usize];
4316};
4317pub type zend_try_catch_element = _zend_try_catch_element;
4318extern "C" {
4319 pub fn zend_visibility_string(fn_flags: u32) -> *mut ::std::os::raw::c_char;
4320}
4321#[repr(C)]
4322#[derive(Debug, Copy, Clone)]
4323pub struct _zend_property_info {
4324 pub offset: u32,
4325 pub flags: u32,
4326 pub name: *mut zend_string,
4327 pub doc_comment: *mut zend_string,
4328 pub ce: *mut zend_class_entry,
4329}
4330#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4331const _: () = {
4332 ["Size of _zend_property_info"][::std::mem::size_of::<_zend_property_info>() - 32usize];
4333 ["Alignment of _zend_property_info"][::std::mem::align_of::<_zend_property_info>() - 8usize];
4334 ["Offset of field: _zend_property_info::offset"]
4335 [::std::mem::offset_of!(_zend_property_info, offset) - 0usize];
4336 ["Offset of field: _zend_property_info::flags"]
4337 [::std::mem::offset_of!(_zend_property_info, flags) - 4usize];
4338 ["Offset of field: _zend_property_info::name"]
4339 [::std::mem::offset_of!(_zend_property_info, name) - 8usize];
4340 ["Offset of field: _zend_property_info::doc_comment"]
4341 [::std::mem::offset_of!(_zend_property_info, doc_comment) - 16usize];
4342 ["Offset of field: _zend_property_info::ce"]
4343 [::std::mem::offset_of!(_zend_property_info, ce) - 24usize];
4344};
4345pub type zend_property_info = _zend_property_info;
4346#[repr(C)]
4347#[derive(Debug, Copy, Clone)]
4348pub struct _zend_internal_arg_info {
4349 pub name: *const ::std::os::raw::c_char,
4350 pub class_name: *const ::std::os::raw::c_char,
4351 pub type_hint: zend_uchar,
4352 pub pass_by_reference: zend_uchar,
4353 pub allow_null: zend_bool,
4354 pub is_variadic: zend_bool,
4355}
4356#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4357const _: () = {
4358 ["Size of _zend_internal_arg_info"][::std::mem::size_of::<_zend_internal_arg_info>() - 24usize];
4359 ["Alignment of _zend_internal_arg_info"]
4360 [::std::mem::align_of::<_zend_internal_arg_info>() - 8usize];
4361 ["Offset of field: _zend_internal_arg_info::name"]
4362 [::std::mem::offset_of!(_zend_internal_arg_info, name) - 0usize];
4363 ["Offset of field: _zend_internal_arg_info::class_name"]
4364 [::std::mem::offset_of!(_zend_internal_arg_info, class_name) - 8usize];
4365 ["Offset of field: _zend_internal_arg_info::type_hint"]
4366 [::std::mem::offset_of!(_zend_internal_arg_info, type_hint) - 16usize];
4367 ["Offset of field: _zend_internal_arg_info::pass_by_reference"]
4368 [::std::mem::offset_of!(_zend_internal_arg_info, pass_by_reference) - 17usize];
4369 ["Offset of field: _zend_internal_arg_info::allow_null"]
4370 [::std::mem::offset_of!(_zend_internal_arg_info, allow_null) - 18usize];
4371 ["Offset of field: _zend_internal_arg_info::is_variadic"]
4372 [::std::mem::offset_of!(_zend_internal_arg_info, is_variadic) - 19usize];
4373};
4374pub type zend_internal_arg_info = _zend_internal_arg_info;
4375#[repr(C)]
4376#[derive(Debug, Copy, Clone)]
4377pub struct _zend_arg_info {
4378 pub name: *mut zend_string,
4379 pub class_name: *mut zend_string,
4380 pub type_hint: zend_uchar,
4381 pub pass_by_reference: zend_uchar,
4382 pub allow_null: zend_bool,
4383 pub is_variadic: zend_bool,
4384}
4385#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4386const _: () = {
4387 ["Size of _zend_arg_info"][::std::mem::size_of::<_zend_arg_info>() - 24usize];
4388 ["Alignment of _zend_arg_info"][::std::mem::align_of::<_zend_arg_info>() - 8usize];
4389 ["Offset of field: _zend_arg_info::name"]
4390 [::std::mem::offset_of!(_zend_arg_info, name) - 0usize];
4391 ["Offset of field: _zend_arg_info::class_name"]
4392 [::std::mem::offset_of!(_zend_arg_info, class_name) - 8usize];
4393 ["Offset of field: _zend_arg_info::type_hint"]
4394 [::std::mem::offset_of!(_zend_arg_info, type_hint) - 16usize];
4395 ["Offset of field: _zend_arg_info::pass_by_reference"]
4396 [::std::mem::offset_of!(_zend_arg_info, pass_by_reference) - 17usize];
4397 ["Offset of field: _zend_arg_info::allow_null"]
4398 [::std::mem::offset_of!(_zend_arg_info, allow_null) - 18usize];
4399 ["Offset of field: _zend_arg_info::is_variadic"]
4400 [::std::mem::offset_of!(_zend_arg_info, is_variadic) - 19usize];
4401};
4402pub type zend_arg_info = _zend_arg_info;
4403#[repr(C)]
4404#[derive(Debug, Copy, Clone)]
4405pub struct _zend_internal_function_info {
4406 pub required_num_args: zend_uintptr_t,
4407 pub class_name: *const ::std::os::raw::c_char,
4408 pub type_hint: zend_uchar,
4409 pub return_reference: zend_bool,
4410 pub allow_null: zend_bool,
4411 pub _is_variadic: zend_bool,
4412}
4413#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4414const _: () = {
4415 ["Size of _zend_internal_function_info"]
4416 [::std::mem::size_of::<_zend_internal_function_info>() - 24usize];
4417 ["Alignment of _zend_internal_function_info"]
4418 [::std::mem::align_of::<_zend_internal_function_info>() - 8usize];
4419 ["Offset of field: _zend_internal_function_info::required_num_args"]
4420 [::std::mem::offset_of!(_zend_internal_function_info, required_num_args) - 0usize];
4421 ["Offset of field: _zend_internal_function_info::class_name"]
4422 [::std::mem::offset_of!(_zend_internal_function_info, class_name) - 8usize];
4423 ["Offset of field: _zend_internal_function_info::type_hint"]
4424 [::std::mem::offset_of!(_zend_internal_function_info, type_hint) - 16usize];
4425 ["Offset of field: _zend_internal_function_info::return_reference"]
4426 [::std::mem::offset_of!(_zend_internal_function_info, return_reference) - 17usize];
4427 ["Offset of field: _zend_internal_function_info::allow_null"]
4428 [::std::mem::offset_of!(_zend_internal_function_info, allow_null) - 18usize];
4429 ["Offset of field: _zend_internal_function_info::_is_variadic"]
4430 [::std::mem::offset_of!(_zend_internal_function_info, _is_variadic) - 19usize];
4431};
4432pub type zend_internal_function_info = _zend_internal_function_info;
4433#[repr(C)]
4434#[derive(Debug, Copy, Clone)]
4435pub struct _zend_op_array {
4436 pub type_: zend_uchar,
4437 pub arg_flags: [zend_uchar; 3usize],
4438 pub fn_flags: u32,
4439 pub function_name: *mut zend_string,
4440 pub scope: *mut zend_class_entry,
4441 pub prototype: *mut zend_function,
4442 pub num_args: u32,
4443 pub required_num_args: u32,
4444 pub arg_info: *mut zend_arg_info,
4445 pub refcount: *mut u32,
4446 pub this_var: u32,
4447 pub last: u32,
4448 pub opcodes: *mut zend_op,
4449 pub last_var: ::std::os::raw::c_int,
4450 pub T: u32,
4451 pub vars: *mut *mut zend_string,
4452 pub last_brk_cont: ::std::os::raw::c_int,
4453 pub last_try_catch: ::std::os::raw::c_int,
4454 pub brk_cont_array: *mut zend_brk_cont_element,
4455 pub try_catch_array: *mut zend_try_catch_element,
4456 pub static_variables: *mut HashTable,
4457 pub filename: *mut zend_string,
4458 pub line_start: u32,
4459 pub line_end: u32,
4460 pub doc_comment: *mut zend_string,
4461 pub early_binding: u32,
4462 pub last_literal: ::std::os::raw::c_int,
4463 pub literals: *mut zval,
4464 pub cache_size: ::std::os::raw::c_int,
4465 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
4466 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
4467}
4468#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4469const _: () = {
4470 ["Size of _zend_op_array"][::std::mem::size_of::<_zend_op_array>() - 208usize];
4471 ["Alignment of _zend_op_array"][::std::mem::align_of::<_zend_op_array>() - 8usize];
4472 ["Offset of field: _zend_op_array::type_"]
4473 [::std::mem::offset_of!(_zend_op_array, type_) - 0usize];
4474 ["Offset of field: _zend_op_array::arg_flags"]
4475 [::std::mem::offset_of!(_zend_op_array, arg_flags) - 1usize];
4476 ["Offset of field: _zend_op_array::fn_flags"]
4477 [::std::mem::offset_of!(_zend_op_array, fn_flags) - 4usize];
4478 ["Offset of field: _zend_op_array::function_name"]
4479 [::std::mem::offset_of!(_zend_op_array, function_name) - 8usize];
4480 ["Offset of field: _zend_op_array::scope"]
4481 [::std::mem::offset_of!(_zend_op_array, scope) - 16usize];
4482 ["Offset of field: _zend_op_array::prototype"]
4483 [::std::mem::offset_of!(_zend_op_array, prototype) - 24usize];
4484 ["Offset of field: _zend_op_array::num_args"]
4485 [::std::mem::offset_of!(_zend_op_array, num_args) - 32usize];
4486 ["Offset of field: _zend_op_array::required_num_args"]
4487 [::std::mem::offset_of!(_zend_op_array, required_num_args) - 36usize];
4488 ["Offset of field: _zend_op_array::arg_info"]
4489 [::std::mem::offset_of!(_zend_op_array, arg_info) - 40usize];
4490 ["Offset of field: _zend_op_array::refcount"]
4491 [::std::mem::offset_of!(_zend_op_array, refcount) - 48usize];
4492 ["Offset of field: _zend_op_array::this_var"]
4493 [::std::mem::offset_of!(_zend_op_array, this_var) - 56usize];
4494 ["Offset of field: _zend_op_array::last"]
4495 [::std::mem::offset_of!(_zend_op_array, last) - 60usize];
4496 ["Offset of field: _zend_op_array::opcodes"]
4497 [::std::mem::offset_of!(_zend_op_array, opcodes) - 64usize];
4498 ["Offset of field: _zend_op_array::last_var"]
4499 [::std::mem::offset_of!(_zend_op_array, last_var) - 72usize];
4500 ["Offset of field: _zend_op_array::T"][::std::mem::offset_of!(_zend_op_array, T) - 76usize];
4501 ["Offset of field: _zend_op_array::vars"]
4502 [::std::mem::offset_of!(_zend_op_array, vars) - 80usize];
4503 ["Offset of field: _zend_op_array::last_brk_cont"]
4504 [::std::mem::offset_of!(_zend_op_array, last_brk_cont) - 88usize];
4505 ["Offset of field: _zend_op_array::last_try_catch"]
4506 [::std::mem::offset_of!(_zend_op_array, last_try_catch) - 92usize];
4507 ["Offset of field: _zend_op_array::brk_cont_array"]
4508 [::std::mem::offset_of!(_zend_op_array, brk_cont_array) - 96usize];
4509 ["Offset of field: _zend_op_array::try_catch_array"]
4510 [::std::mem::offset_of!(_zend_op_array, try_catch_array) - 104usize];
4511 ["Offset of field: _zend_op_array::static_variables"]
4512 [::std::mem::offset_of!(_zend_op_array, static_variables) - 112usize];
4513 ["Offset of field: _zend_op_array::filename"]
4514 [::std::mem::offset_of!(_zend_op_array, filename) - 120usize];
4515 ["Offset of field: _zend_op_array::line_start"]
4516 [::std::mem::offset_of!(_zend_op_array, line_start) - 128usize];
4517 ["Offset of field: _zend_op_array::line_end"]
4518 [::std::mem::offset_of!(_zend_op_array, line_end) - 132usize];
4519 ["Offset of field: _zend_op_array::doc_comment"]
4520 [::std::mem::offset_of!(_zend_op_array, doc_comment) - 136usize];
4521 ["Offset of field: _zend_op_array::early_binding"]
4522 [::std::mem::offset_of!(_zend_op_array, early_binding) - 144usize];
4523 ["Offset of field: _zend_op_array::last_literal"]
4524 [::std::mem::offset_of!(_zend_op_array, last_literal) - 148usize];
4525 ["Offset of field: _zend_op_array::literals"]
4526 [::std::mem::offset_of!(_zend_op_array, literals) - 152usize];
4527 ["Offset of field: _zend_op_array::cache_size"]
4528 [::std::mem::offset_of!(_zend_op_array, cache_size) - 160usize];
4529 ["Offset of field: _zend_op_array::run_time_cache"]
4530 [::std::mem::offset_of!(_zend_op_array, run_time_cache) - 168usize];
4531 ["Offset of field: _zend_op_array::reserved"]
4532 [::std::mem::offset_of!(_zend_op_array, reserved) - 176usize];
4533};
4534#[repr(C)]
4535#[derive(Debug, Copy, Clone)]
4536pub struct _zend_internal_function {
4537 pub type_: zend_uchar,
4538 pub arg_flags: [zend_uchar; 3usize],
4539 pub fn_flags: u32,
4540 pub function_name: *mut zend_string,
4541 pub scope: *mut zend_class_entry,
4542 pub prototype: *mut zend_function,
4543 pub num_args: u32,
4544 pub required_num_args: u32,
4545 pub arg_info: *mut zend_internal_arg_info,
4546 pub handler: ::std::option::Option<
4547 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
4548 >,
4549 pub module: *mut _zend_module_entry,
4550 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
4551}
4552#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4553const _: () = {
4554 ["Size of _zend_internal_function"][::std::mem::size_of::<_zend_internal_function>() - 96usize];
4555 ["Alignment of _zend_internal_function"]
4556 [::std::mem::align_of::<_zend_internal_function>() - 8usize];
4557 ["Offset of field: _zend_internal_function::type_"]
4558 [::std::mem::offset_of!(_zend_internal_function, type_) - 0usize];
4559 ["Offset of field: _zend_internal_function::arg_flags"]
4560 [::std::mem::offset_of!(_zend_internal_function, arg_flags) - 1usize];
4561 ["Offset of field: _zend_internal_function::fn_flags"]
4562 [::std::mem::offset_of!(_zend_internal_function, fn_flags) - 4usize];
4563 ["Offset of field: _zend_internal_function::function_name"]
4564 [::std::mem::offset_of!(_zend_internal_function, function_name) - 8usize];
4565 ["Offset of field: _zend_internal_function::scope"]
4566 [::std::mem::offset_of!(_zend_internal_function, scope) - 16usize];
4567 ["Offset of field: _zend_internal_function::prototype"]
4568 [::std::mem::offset_of!(_zend_internal_function, prototype) - 24usize];
4569 ["Offset of field: _zend_internal_function::num_args"]
4570 [::std::mem::offset_of!(_zend_internal_function, num_args) - 32usize];
4571 ["Offset of field: _zend_internal_function::required_num_args"]
4572 [::std::mem::offset_of!(_zend_internal_function, required_num_args) - 36usize];
4573 ["Offset of field: _zend_internal_function::arg_info"]
4574 [::std::mem::offset_of!(_zend_internal_function, arg_info) - 40usize];
4575 ["Offset of field: _zend_internal_function::handler"]
4576 [::std::mem::offset_of!(_zend_internal_function, handler) - 48usize];
4577 ["Offset of field: _zend_internal_function::module"]
4578 [::std::mem::offset_of!(_zend_internal_function, module) - 56usize];
4579 ["Offset of field: _zend_internal_function::reserved"]
4580 [::std::mem::offset_of!(_zend_internal_function, reserved) - 64usize];
4581};
4582pub type zend_internal_function = _zend_internal_function;
4583#[repr(C)]
4584#[derive(Copy, Clone)]
4585pub union _zend_function {
4586 pub type_: zend_uchar,
4587 pub common: _zend_function__bindgen_ty_1,
4588 pub op_array: zend_op_array,
4589 pub internal_function: zend_internal_function,
4590}
4591#[repr(C)]
4592#[derive(Debug, Copy, Clone)]
4593pub struct _zend_function__bindgen_ty_1 {
4594 pub type_: zend_uchar,
4595 pub arg_flags: [zend_uchar; 3usize],
4596 pub fn_flags: u32,
4597 pub function_name: *mut zend_string,
4598 pub scope: *mut zend_class_entry,
4599 pub prototype: *mut _zend_function,
4600 pub num_args: u32,
4601 pub required_num_args: u32,
4602 pub arg_info: *mut zend_arg_info,
4603}
4604#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4605const _: () = {
4606 ["Size of _zend_function__bindgen_ty_1"]
4607 [::std::mem::size_of::<_zend_function__bindgen_ty_1>() - 48usize];
4608 ["Alignment of _zend_function__bindgen_ty_1"]
4609 [::std::mem::align_of::<_zend_function__bindgen_ty_1>() - 8usize];
4610 ["Offset of field: _zend_function__bindgen_ty_1::type_"]
4611 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, type_) - 0usize];
4612 ["Offset of field: _zend_function__bindgen_ty_1::arg_flags"]
4613 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_flags) - 1usize];
4614 ["Offset of field: _zend_function__bindgen_ty_1::fn_flags"]
4615 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, fn_flags) - 4usize];
4616 ["Offset of field: _zend_function__bindgen_ty_1::function_name"]
4617 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, function_name) - 8usize];
4618 ["Offset of field: _zend_function__bindgen_ty_1::scope"]
4619 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, scope) - 16usize];
4620 ["Offset of field: _zend_function__bindgen_ty_1::prototype"]
4621 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, prototype) - 24usize];
4622 ["Offset of field: _zend_function__bindgen_ty_1::num_args"]
4623 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, num_args) - 32usize];
4624 ["Offset of field: _zend_function__bindgen_ty_1::required_num_args"]
4625 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, required_num_args) - 36usize];
4626 ["Offset of field: _zend_function__bindgen_ty_1::arg_info"]
4627 [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_info) - 40usize];
4628};
4629#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4630const _: () = {
4631 ["Size of _zend_function"][::std::mem::size_of::<_zend_function>() - 208usize];
4632 ["Alignment of _zend_function"][::std::mem::align_of::<_zend_function>() - 8usize];
4633 ["Offset of field: _zend_function::type_"]
4634 [::std::mem::offset_of!(_zend_function, type_) - 0usize];
4635 ["Offset of field: _zend_function::common"]
4636 [::std::mem::offset_of!(_zend_function, common) - 0usize];
4637 ["Offset of field: _zend_function::op_array"]
4638 [::std::mem::offset_of!(_zend_function, op_array) - 0usize];
4639 ["Offset of field: _zend_function::internal_function"]
4640 [::std::mem::offset_of!(_zend_function, internal_function) - 0usize];
4641};
4642pub const _zend_call_kind_ZEND_CALL_NESTED_FUNCTION: _zend_call_kind = 0;
4643pub const _zend_call_kind_ZEND_CALL_NESTED_CODE: _zend_call_kind = 1;
4644pub const _zend_call_kind_ZEND_CALL_TOP_FUNCTION: _zend_call_kind = 2;
4645pub const _zend_call_kind_ZEND_CALL_TOP_CODE: _zend_call_kind = 3;
4646pub type _zend_call_kind = ::std::os::raw::c_uint;
4647pub use self::_zend_call_kind as zend_call_kind;
4648#[repr(C)]
4649#[derive(Copy, Clone)]
4650pub struct _zend_execute_data {
4651 pub opline: *const zend_op,
4652 pub call: *mut zend_execute_data,
4653 pub return_value: *mut zval,
4654 pub func: *mut zend_function,
4655 pub This: zval,
4656 pub called_scope: *mut zend_class_entry,
4657 pub prev_execute_data: *mut zend_execute_data,
4658 pub symbol_table: *mut zend_array,
4659 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
4660 pub literals: *mut zval,
4661}
4662#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4663const _: () = {
4664 ["Size of _zend_execute_data"][::std::mem::size_of::<_zend_execute_data>() - 88usize];
4665 ["Alignment of _zend_execute_data"][::std::mem::align_of::<_zend_execute_data>() - 8usize];
4666 ["Offset of field: _zend_execute_data::opline"]
4667 [::std::mem::offset_of!(_zend_execute_data, opline) - 0usize];
4668 ["Offset of field: _zend_execute_data::call"]
4669 [::std::mem::offset_of!(_zend_execute_data, call) - 8usize];
4670 ["Offset of field: _zend_execute_data::return_value"]
4671 [::std::mem::offset_of!(_zend_execute_data, return_value) - 16usize];
4672 ["Offset of field: _zend_execute_data::func"]
4673 [::std::mem::offset_of!(_zend_execute_data, func) - 24usize];
4674 ["Offset of field: _zend_execute_data::This"]
4675 [::std::mem::offset_of!(_zend_execute_data, This) - 32usize];
4676 ["Offset of field: _zend_execute_data::called_scope"]
4677 [::std::mem::offset_of!(_zend_execute_data, called_scope) - 48usize];
4678 ["Offset of field: _zend_execute_data::prev_execute_data"]
4679 [::std::mem::offset_of!(_zend_execute_data, prev_execute_data) - 56usize];
4680 ["Offset of field: _zend_execute_data::symbol_table"]
4681 [::std::mem::offset_of!(_zend_execute_data, symbol_table) - 64usize];
4682 ["Offset of field: _zend_execute_data::run_time_cache"]
4683 [::std::mem::offset_of!(_zend_execute_data, run_time_cache) - 72usize];
4684 ["Offset of field: _zend_execute_data::literals"]
4685 [::std::mem::offset_of!(_zend_execute_data, literals) - 80usize];
4686};
4687pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
4688#[repr(C)]
4689#[derive(Debug, Copy, Clone)]
4690pub struct __jmp_buf_tag {
4691 pub __jmpbuf: __jmp_buf,
4692 pub __mask_was_saved: ::std::os::raw::c_int,
4693 pub __saved_mask: __sigset_t,
4694}
4695#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4696const _: () = {
4697 ["Size of __jmp_buf_tag"][::std::mem::size_of::<__jmp_buf_tag>() - 200usize];
4698 ["Alignment of __jmp_buf_tag"][::std::mem::align_of::<__jmp_buf_tag>() - 8usize];
4699 ["Offset of field: __jmp_buf_tag::__jmpbuf"]
4700 [::std::mem::offset_of!(__jmp_buf_tag, __jmpbuf) - 0usize];
4701 ["Offset of field: __jmp_buf_tag::__mask_was_saved"]
4702 [::std::mem::offset_of!(__jmp_buf_tag, __mask_was_saved) - 64usize];
4703 ["Offset of field: __jmp_buf_tag::__saved_mask"]
4704 [::std::mem::offset_of!(__jmp_buf_tag, __saved_mask) - 72usize];
4705};
4706pub type jmp_buf = [__jmp_buf_tag; 1usize];
4707pub type zend_compiler_globals = _zend_compiler_globals;
4708pub type zend_executor_globals = _zend_executor_globals;
4709pub type zend_php_scanner_globals = _zend_php_scanner_globals;
4710pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
4711#[repr(C)]
4712#[derive(Copy, Clone)]
4713pub struct _zend_compiler_globals {
4714 pub loop_var_stack: zend_stack,
4715 pub active_class_entry: *mut zend_class_entry,
4716 pub compiled_filename: *mut zend_string,
4717 pub zend_lineno: ::std::os::raw::c_int,
4718 pub active_op_array: *mut zend_op_array,
4719 pub function_table: *mut HashTable,
4720 pub class_table: *mut HashTable,
4721 pub filenames_table: HashTable,
4722 pub auto_globals: *mut HashTable,
4723 pub parse_error: zend_bool,
4724 pub in_compilation: zend_bool,
4725 pub short_tags: zend_bool,
4726 pub unclean_shutdown: zend_bool,
4727 pub ini_parser_unbuffered_errors: zend_bool,
4728 pub open_files: zend_llist,
4729 pub ini_parser_param: *mut _zend_ini_parser_param,
4730 pub start_lineno: u32,
4731 pub increment_lineno: zend_bool,
4732 pub doc_comment: *mut zend_string,
4733 pub compiler_options: u32,
4734 pub const_filenames: HashTable,
4735 pub context: zend_oparray_context,
4736 pub file_context: zend_file_context,
4737 pub arena: *mut zend_arena,
4738 pub empty_string: *mut zend_string,
4739 pub one_char_string: [*mut zend_string; 256usize],
4740 pub interned_strings: HashTable,
4741 pub script_encoding_list: *mut *const zend_encoding,
4742 pub script_encoding_list_size: usize,
4743 pub multibyte: zend_bool,
4744 pub detect_unicode: zend_bool,
4745 pub encoding_declared: zend_bool,
4746 pub ast: *mut zend_ast,
4747 pub ast_arena: *mut zend_arena,
4748 pub delayed_oplines_stack: zend_stack,
4749}
4750#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4751const _: () = {
4752 ["Size of _zend_compiler_globals"][::std::mem::size_of::<_zend_compiler_globals>() - 2584usize];
4753 ["Alignment of _zend_compiler_globals"]
4754 [::std::mem::align_of::<_zend_compiler_globals>() - 8usize];
4755 ["Offset of field: _zend_compiler_globals::loop_var_stack"]
4756 [::std::mem::offset_of!(_zend_compiler_globals, loop_var_stack) - 0usize];
4757 ["Offset of field: _zend_compiler_globals::active_class_entry"]
4758 [::std::mem::offset_of!(_zend_compiler_globals, active_class_entry) - 24usize];
4759 ["Offset of field: _zend_compiler_globals::compiled_filename"]
4760 [::std::mem::offset_of!(_zend_compiler_globals, compiled_filename) - 32usize];
4761 ["Offset of field: _zend_compiler_globals::zend_lineno"]
4762 [::std::mem::offset_of!(_zend_compiler_globals, zend_lineno) - 40usize];
4763 ["Offset of field: _zend_compiler_globals::active_op_array"]
4764 [::std::mem::offset_of!(_zend_compiler_globals, active_op_array) - 48usize];
4765 ["Offset of field: _zend_compiler_globals::function_table"]
4766 [::std::mem::offset_of!(_zend_compiler_globals, function_table) - 56usize];
4767 ["Offset of field: _zend_compiler_globals::class_table"]
4768 [::std::mem::offset_of!(_zend_compiler_globals, class_table) - 64usize];
4769 ["Offset of field: _zend_compiler_globals::filenames_table"]
4770 [::std::mem::offset_of!(_zend_compiler_globals, filenames_table) - 72usize];
4771 ["Offset of field: _zend_compiler_globals::auto_globals"]
4772 [::std::mem::offset_of!(_zend_compiler_globals, auto_globals) - 128usize];
4773 ["Offset of field: _zend_compiler_globals::parse_error"]
4774 [::std::mem::offset_of!(_zend_compiler_globals, parse_error) - 136usize];
4775 ["Offset of field: _zend_compiler_globals::in_compilation"]
4776 [::std::mem::offset_of!(_zend_compiler_globals, in_compilation) - 137usize];
4777 ["Offset of field: _zend_compiler_globals::short_tags"]
4778 [::std::mem::offset_of!(_zend_compiler_globals, short_tags) - 138usize];
4779 ["Offset of field: _zend_compiler_globals::unclean_shutdown"]
4780 [::std::mem::offset_of!(_zend_compiler_globals, unclean_shutdown) - 139usize];
4781 ["Offset of field: _zend_compiler_globals::ini_parser_unbuffered_errors"]
4782 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_unbuffered_errors) - 140usize];
4783 ["Offset of field: _zend_compiler_globals::open_files"]
4784 [::std::mem::offset_of!(_zend_compiler_globals, open_files) - 144usize];
4785 ["Offset of field: _zend_compiler_globals::ini_parser_param"]
4786 [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_param) - 200usize];
4787 ["Offset of field: _zend_compiler_globals::start_lineno"]
4788 [::std::mem::offset_of!(_zend_compiler_globals, start_lineno) - 208usize];
4789 ["Offset of field: _zend_compiler_globals::increment_lineno"]
4790 [::std::mem::offset_of!(_zend_compiler_globals, increment_lineno) - 212usize];
4791 ["Offset of field: _zend_compiler_globals::doc_comment"]
4792 [::std::mem::offset_of!(_zend_compiler_globals, doc_comment) - 216usize];
4793 ["Offset of field: _zend_compiler_globals::compiler_options"]
4794 [::std::mem::offset_of!(_zend_compiler_globals, compiler_options) - 224usize];
4795 ["Offset of field: _zend_compiler_globals::const_filenames"]
4796 [::std::mem::offset_of!(_zend_compiler_globals, const_filenames) - 232usize];
4797 ["Offset of field: _zend_compiler_globals::context"]
4798 [::std::mem::offset_of!(_zend_compiler_globals, context) - 288usize];
4799 ["Offset of field: _zend_compiler_globals::file_context"]
4800 [::std::mem::offset_of!(_zend_compiler_globals, file_context) - 328usize];
4801 ["Offset of field: _zend_compiler_globals::arena"]
4802 [::std::mem::offset_of!(_zend_compiler_globals, arena) - 400usize];
4803 ["Offset of field: _zend_compiler_globals::empty_string"]
4804 [::std::mem::offset_of!(_zend_compiler_globals, empty_string) - 408usize];
4805 ["Offset of field: _zend_compiler_globals::one_char_string"]
4806 [::std::mem::offset_of!(_zend_compiler_globals, one_char_string) - 416usize];
4807 ["Offset of field: _zend_compiler_globals::interned_strings"]
4808 [::std::mem::offset_of!(_zend_compiler_globals, interned_strings) - 2464usize];
4809 ["Offset of field: _zend_compiler_globals::script_encoding_list"]
4810 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list) - 2520usize];
4811 ["Offset of field: _zend_compiler_globals::script_encoding_list_size"]
4812 [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list_size) - 2528usize];
4813 ["Offset of field: _zend_compiler_globals::multibyte"]
4814 [::std::mem::offset_of!(_zend_compiler_globals, multibyte) - 2536usize];
4815 ["Offset of field: _zend_compiler_globals::detect_unicode"]
4816 [::std::mem::offset_of!(_zend_compiler_globals, detect_unicode) - 2537usize];
4817 ["Offset of field: _zend_compiler_globals::encoding_declared"]
4818 [::std::mem::offset_of!(_zend_compiler_globals, encoding_declared) - 2538usize];
4819 ["Offset of field: _zend_compiler_globals::ast"]
4820 [::std::mem::offset_of!(_zend_compiler_globals, ast) - 2544usize];
4821 ["Offset of field: _zend_compiler_globals::ast_arena"]
4822 [::std::mem::offset_of!(_zend_compiler_globals, ast_arena) - 2552usize];
4823 ["Offset of field: _zend_compiler_globals::delayed_oplines_stack"]
4824 [::std::mem::offset_of!(_zend_compiler_globals, delayed_oplines_stack) - 2560usize];
4825};
4826extern "C" {
4827 pub static mut compiler_globals: _zend_compiler_globals;
4828}
4829extern "C" {
4830 pub fn zendparse() -> ::std::os::raw::c_int;
4831}
4832extern "C" {
4833 pub static mut executor_globals: zend_executor_globals;
4834}
4835extern "C" {
4836 pub static mut language_scanner_globals: zend_php_scanner_globals;
4837}
4838extern "C" {
4839 pub static mut ini_scanner_globals: zend_ini_scanner_globals;
4840}
4841#[repr(C)]
4842#[derive(Debug, Copy, Clone)]
4843pub struct _zend_stack {
4844 pub size: ::std::os::raw::c_int,
4845 pub top: ::std::os::raw::c_int,
4846 pub max: ::std::os::raw::c_int,
4847 pub elements: *mut ::std::os::raw::c_void,
4848}
4849#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4850const _: () = {
4851 ["Size of _zend_stack"][::std::mem::size_of::<_zend_stack>() - 24usize];
4852 ["Alignment of _zend_stack"][::std::mem::align_of::<_zend_stack>() - 8usize];
4853 ["Offset of field: _zend_stack::size"][::std::mem::offset_of!(_zend_stack, size) - 0usize];
4854 ["Offset of field: _zend_stack::top"][::std::mem::offset_of!(_zend_stack, top) - 4usize];
4855 ["Offset of field: _zend_stack::max"][::std::mem::offset_of!(_zend_stack, max) - 8usize];
4856 ["Offset of field: _zend_stack::elements"]
4857 [::std::mem::offset_of!(_zend_stack, elements) - 16usize];
4858};
4859pub type zend_stack = _zend_stack;
4860extern "C" {
4861 pub fn zend_stack_init(
4862 stack: *mut zend_stack,
4863 size: ::std::os::raw::c_int,
4864 ) -> ::std::os::raw::c_int;
4865}
4866extern "C" {
4867 pub fn zend_stack_push(
4868 stack: *mut zend_stack,
4869 element: *const ::std::os::raw::c_void,
4870 ) -> ::std::os::raw::c_int;
4871}
4872extern "C" {
4873 pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
4874}
4875extern "C" {
4876 pub fn zend_stack_del_top(stack: *mut zend_stack) -> ::std::os::raw::c_int;
4877}
4878extern "C" {
4879 pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
4880}
4881extern "C" {
4882 pub fn zend_stack_is_empty(stack: *const zend_stack) -> ::std::os::raw::c_int;
4883}
4884extern "C" {
4885 pub fn zend_stack_destroy(stack: *mut zend_stack) -> ::std::os::raw::c_int;
4886}
4887extern "C" {
4888 pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
4889}
4890extern "C" {
4891 pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
4892}
4893extern "C" {
4894 pub fn zend_stack_apply(
4895 stack: *mut zend_stack,
4896 type_: ::std::os::raw::c_int,
4897 apply_function: ::std::option::Option<
4898 unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
4899 >,
4900 );
4901}
4902extern "C" {
4903 pub fn zend_stack_apply_with_argument(
4904 stack: *mut zend_stack,
4905 type_: ::std::os::raw::c_int,
4906 apply_function: ::std::option::Option<
4907 unsafe extern "C" fn(
4908 element: *mut ::std::os::raw::c_void,
4909 arg: *mut ::std::os::raw::c_void,
4910 ) -> ::std::os::raw::c_int,
4911 >,
4912 arg: *mut ::std::os::raw::c_void,
4913 );
4914}
4915extern "C" {
4916 pub fn zend_stack_clean(
4917 stack: *mut zend_stack,
4918 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4919 free_elements: zend_bool,
4920 );
4921}
4922#[repr(C)]
4923#[derive(Debug, Copy, Clone)]
4924pub struct _zend_ptr_stack {
4925 pub top: ::std::os::raw::c_int,
4926 pub max: ::std::os::raw::c_int,
4927 pub elements: *mut *mut ::std::os::raw::c_void,
4928 pub top_element: *mut *mut ::std::os::raw::c_void,
4929 pub persistent: zend_bool,
4930}
4931#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4932const _: () = {
4933 ["Size of _zend_ptr_stack"][::std::mem::size_of::<_zend_ptr_stack>() - 32usize];
4934 ["Alignment of _zend_ptr_stack"][::std::mem::align_of::<_zend_ptr_stack>() - 8usize];
4935 ["Offset of field: _zend_ptr_stack::top"]
4936 [::std::mem::offset_of!(_zend_ptr_stack, top) - 0usize];
4937 ["Offset of field: _zend_ptr_stack::max"]
4938 [::std::mem::offset_of!(_zend_ptr_stack, max) - 4usize];
4939 ["Offset of field: _zend_ptr_stack::elements"]
4940 [::std::mem::offset_of!(_zend_ptr_stack, elements) - 8usize];
4941 ["Offset of field: _zend_ptr_stack::top_element"]
4942 [::std::mem::offset_of!(_zend_ptr_stack, top_element) - 16usize];
4943 ["Offset of field: _zend_ptr_stack::persistent"]
4944 [::std::mem::offset_of!(_zend_ptr_stack, persistent) - 24usize];
4945};
4946pub type zend_ptr_stack = _zend_ptr_stack;
4947extern "C" {
4948 pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
4949}
4950extern "C" {
4951 pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: zend_bool);
4952}
4953extern "C" {
4954 pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
4955}
4956extern "C" {
4957 pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
4958}
4959extern "C" {
4960 pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
4961}
4962extern "C" {
4963 pub fn zend_ptr_stack_apply(
4964 stack: *mut zend_ptr_stack,
4965 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4966 );
4967}
4968extern "C" {
4969 pub fn zend_ptr_stack_clean(
4970 stack: *mut zend_ptr_stack,
4971 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4972 free_elements: zend_bool,
4973 );
4974}
4975extern "C" {
4976 pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
4977}
4978extern "C" {
4979 pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
4980}
4981extern "C" {
4982 pub fn zend_object_std_dtor(object: *mut zend_object);
4983}
4984extern "C" {
4985 pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
4986}
4987extern "C" {
4988 pub fn zend_objects_destroy_object(object: *mut zend_object);
4989}
4990extern "C" {
4991 pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
4992}
4993extern "C" {
4994 pub fn zend_objects_clone_obj(object: *mut zval) -> *mut zend_object;
4995}
4996#[repr(C)]
4997#[derive(Debug, Copy, Clone)]
4998pub struct _zend_objects_store {
4999 pub object_buckets: *mut *mut zend_object,
5000 pub top: u32,
5001 pub size: u32,
5002 pub free_list_head: ::std::os::raw::c_int,
5003}
5004#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5005const _: () = {
5006 ["Size of _zend_objects_store"][::std::mem::size_of::<_zend_objects_store>() - 24usize];
5007 ["Alignment of _zend_objects_store"][::std::mem::align_of::<_zend_objects_store>() - 8usize];
5008 ["Offset of field: _zend_objects_store::object_buckets"]
5009 [::std::mem::offset_of!(_zend_objects_store, object_buckets) - 0usize];
5010 ["Offset of field: _zend_objects_store::top"]
5011 [::std::mem::offset_of!(_zend_objects_store, top) - 8usize];
5012 ["Offset of field: _zend_objects_store::size"]
5013 [::std::mem::offset_of!(_zend_objects_store, size) - 12usize];
5014 ["Offset of field: _zend_objects_store::free_list_head"]
5015 [::std::mem::offset_of!(_zend_objects_store, free_list_head) - 16usize];
5016};
5017pub type zend_objects_store = _zend_objects_store;
5018extern "C" {
5019 pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
5020}
5021extern "C" {
5022 pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
5023}
5024extern "C" {
5025 pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
5026}
5027extern "C" {
5028 pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
5029}
5030extern "C" {
5031 pub fn zend_objects_store_put(object: *mut zend_object);
5032}
5033extern "C" {
5034 pub fn zend_objects_store_del(object: *mut zend_object);
5035}
5036extern "C" {
5037 pub fn zend_objects_store_free(object: *mut zend_object);
5038}
5039extern "C" {
5040 pub fn zend_object_store_set_object(zobject: *mut zval, object: *mut zend_object);
5041}
5042extern "C" {
5043 pub fn zend_object_store_ctor_failed(object: *mut zend_object);
5044}
5045extern "C" {
5046 pub fn zend_objects_store_free_object_storage(objects: *mut zend_objects_store);
5047}
5048extern "C" {
5049 pub fn zend_object_create_proxy(object: *mut zval, member: *mut zval) -> *mut zend_object;
5050}
5051extern "C" {
5052 pub fn zend_get_std_object_handlers() -> *mut zend_object_handlers;
5053}
5054extern "C" {
5055 pub fn zend_init_fpu();
5056}
5057extern "C" {
5058 pub fn zend_shutdown_fpu();
5059}
5060extern "C" {
5061 pub fn zend_ensure_fpu_mode();
5062}
5063pub type fpu_control_t = ::std::os::raw::c_ushort;
5064#[repr(C)]
5065#[derive(Debug, Copy, Clone)]
5066pub struct _zend_encoding {
5067 _unused: [u8; 0],
5068}
5069pub type zend_encoding = _zend_encoding;
5070pub type zend_encoding_filter = ::std::option::Option<
5071 unsafe extern "C" fn(
5072 str_: *mut *mut ::std::os::raw::c_uchar,
5073 str_length: *mut usize,
5074 buf: *const ::std::os::raw::c_uchar,
5075 length: usize,
5076 ) -> usize,
5077>;
5078pub type zend_encoding_fetcher = ::std::option::Option<
5079 unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
5080>;
5081pub type zend_encoding_name_getter = ::std::option::Option<
5082 unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
5083>;
5084pub type zend_encoding_lexer_compatibility_checker = ::std::option::Option<
5085 unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
5086>;
5087pub type zend_encoding_detector = ::std::option::Option<
5088 unsafe extern "C" fn(
5089 string: *const ::std::os::raw::c_uchar,
5090 length: usize,
5091 list: *mut *const zend_encoding,
5092 list_size: usize,
5093 ) -> *const zend_encoding,
5094>;
5095pub type zend_encoding_converter = ::std::option::Option<
5096 unsafe extern "C" fn(
5097 to: *mut *mut ::std::os::raw::c_uchar,
5098 to_length: *mut usize,
5099 from: *const ::std::os::raw::c_uchar,
5100 from_length: usize,
5101 encoding_to: *const zend_encoding,
5102 encoding_from: *const zend_encoding,
5103 ) -> usize,
5104>;
5105pub type zend_encoding_list_parser = ::std::option::Option<
5106 unsafe extern "C" fn(
5107 encoding_list: *const ::std::os::raw::c_char,
5108 encoding_list_len: usize,
5109 return_list: *mut *mut *const zend_encoding,
5110 return_size: *mut usize,
5111 persistent: ::std::os::raw::c_int,
5112 ) -> ::std::os::raw::c_int,
5113>;
5114pub type zend_encoding_internal_encoding_getter =
5115 ::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
5116pub type zend_encoding_internal_encoding_setter = ::std::option::Option<
5117 unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
5118>;
5119#[repr(C)]
5120#[derive(Debug, Copy, Clone)]
5121pub struct _zend_multibyte_functions {
5122 pub provider_name: *const ::std::os::raw::c_char,
5123 pub encoding_fetcher: zend_encoding_fetcher,
5124 pub encoding_name_getter: zend_encoding_name_getter,
5125 pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
5126 pub encoding_detector: zend_encoding_detector,
5127 pub encoding_converter: zend_encoding_converter,
5128 pub encoding_list_parser: zend_encoding_list_parser,
5129 pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
5130 pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
5131}
5132#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5133const _: () = {
5134 ["Size of _zend_multibyte_functions"]
5135 [::std::mem::size_of::<_zend_multibyte_functions>() - 72usize];
5136 ["Alignment of _zend_multibyte_functions"]
5137 [::std::mem::align_of::<_zend_multibyte_functions>() - 8usize];
5138 ["Offset of field: _zend_multibyte_functions::provider_name"]
5139 [::std::mem::offset_of!(_zend_multibyte_functions, provider_name) - 0usize];
5140 ["Offset of field: _zend_multibyte_functions::encoding_fetcher"]
5141 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_fetcher) - 8usize];
5142 ["Offset of field: _zend_multibyte_functions::encoding_name_getter"]
5143 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_name_getter) - 16usize];
5144 ["Offset of field: _zend_multibyte_functions::lexer_compatibility_checker"]
5145 [::std::mem::offset_of!(_zend_multibyte_functions, lexer_compatibility_checker) - 24usize];
5146 ["Offset of field: _zend_multibyte_functions::encoding_detector"]
5147 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_detector) - 32usize];
5148 ["Offset of field: _zend_multibyte_functions::encoding_converter"]
5149 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_converter) - 40usize];
5150 ["Offset of field: _zend_multibyte_functions::encoding_list_parser"]
5151 [::std::mem::offset_of!(_zend_multibyte_functions, encoding_list_parser) - 48usize];
5152 ["Offset of field: _zend_multibyte_functions::internal_encoding_getter"]
5153 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_getter) - 56usize];
5154 ["Offset of field: _zend_multibyte_functions::internal_encoding_setter"]
5155 [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_setter) - 64usize];
5156};
5157pub type zend_multibyte_functions = _zend_multibyte_functions;
5158extern "C" {
5159 pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
5160}
5161extern "C" {
5162 pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
5163}
5164extern "C" {
5165 pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
5166}
5167extern "C" {
5168 pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
5169}
5170extern "C" {
5171 pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
5172}
5173extern "C" {
5174 pub fn zend_multibyte_set_functions(
5175 functions: *const zend_multibyte_functions,
5176 ) -> ::std::os::raw::c_int;
5177}
5178extern "C" {
5179 pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
5180}
5181extern "C" {
5182 pub fn zend_multibyte_fetch_encoding(
5183 name: *const ::std::os::raw::c_char,
5184 ) -> *const zend_encoding;
5185}
5186extern "C" {
5187 pub fn zend_multibyte_get_encoding_name(
5188 encoding: *const zend_encoding,
5189 ) -> *const ::std::os::raw::c_char;
5190}
5191extern "C" {
5192 pub fn zend_multibyte_check_lexer_compatibility(
5193 encoding: *const zend_encoding,
5194 ) -> ::std::os::raw::c_int;
5195}
5196extern "C" {
5197 pub fn zend_multibyte_encoding_detector(
5198 string: *const ::std::os::raw::c_uchar,
5199 length: usize,
5200 list: *mut *const zend_encoding,
5201 list_size: usize,
5202 ) -> *const zend_encoding;
5203}
5204extern "C" {
5205 pub fn zend_multibyte_encoding_converter(
5206 to: *mut *mut ::std::os::raw::c_uchar,
5207 to_length: *mut usize,
5208 from: *const ::std::os::raw::c_uchar,
5209 from_length: usize,
5210 encoding_to: *const zend_encoding,
5211 encoding_from: *const zend_encoding,
5212 ) -> usize;
5213}
5214extern "C" {
5215 pub fn zend_multibyte_parse_encoding_list(
5216 encoding_list: *const ::std::os::raw::c_char,
5217 encoding_list_len: usize,
5218 return_list: *mut *mut *const zend_encoding,
5219 return_size: *mut usize,
5220 persistent: ::std::os::raw::c_int,
5221 ) -> ::std::os::raw::c_int;
5222}
5223extern "C" {
5224 pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
5225}
5226extern "C" {
5227 pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
5228}
5229extern "C" {
5230 pub fn zend_multibyte_set_script_encoding(
5231 encoding_list: *mut *const zend_encoding,
5232 encoding_list_size: usize,
5233 ) -> ::std::os::raw::c_int;
5234}
5235extern "C" {
5236 pub fn zend_multibyte_set_internal_encoding(
5237 encoding: *const zend_encoding,
5238 ) -> ::std::os::raw::c_int;
5239}
5240extern "C" {
5241 pub fn zend_multibyte_set_script_encoding_by_string(
5242 new_value: *const ::std::os::raw::c_char,
5243 new_value_length: usize,
5244 ) -> ::std::os::raw::c_int;
5245}
5246pub type zend_arena = _zend_arena;
5247#[repr(C)]
5248#[derive(Debug, Copy, Clone)]
5249pub struct _zend_arena {
5250 pub ptr: *mut ::std::os::raw::c_char,
5251 pub end: *mut ::std::os::raw::c_char,
5252 pub prev: *mut zend_arena,
5253}
5254#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5255const _: () = {
5256 ["Size of _zend_arena"][::std::mem::size_of::<_zend_arena>() - 24usize];
5257 ["Alignment of _zend_arena"][::std::mem::align_of::<_zend_arena>() - 8usize];
5258 ["Offset of field: _zend_arena::ptr"][::std::mem::offset_of!(_zend_arena, ptr) - 0usize];
5259 ["Offset of field: _zend_arena::end"][::std::mem::offset_of!(_zend_arena, end) - 8usize];
5260 ["Offset of field: _zend_arena::prev"][::std::mem::offset_of!(_zend_arena, prev) - 16usize];
5261};
5262pub type zend_vm_stack = *mut _zend_vm_stack;
5263pub type zend_ini_entry = _zend_ini_entry;
5264#[repr(C)]
5265#[derive(Copy, Clone)]
5266pub struct _zend_executor_globals {
5267 pub uninitialized_zval: zval,
5268 pub error_zval: zval,
5269 pub symtable_cache: [*mut zend_array; 32usize],
5270 pub symtable_cache_limit: *mut *mut zend_array,
5271 pub symtable_cache_ptr: *mut *mut zend_array,
5272 pub symbol_table: zend_array,
5273 pub included_files: HashTable,
5274 pub bailout: *mut jmp_buf,
5275 pub error_reporting: ::std::os::raw::c_int,
5276 pub exit_status: ::std::os::raw::c_int,
5277 pub function_table: *mut HashTable,
5278 pub class_table: *mut HashTable,
5279 pub zend_constants: *mut HashTable,
5280 pub vm_stack_top: *mut zval,
5281 pub vm_stack_end: *mut zval,
5282 pub vm_stack: zend_vm_stack,
5283 pub current_execute_data: *mut _zend_execute_data,
5284 pub scope: *mut zend_class_entry,
5285 pub precision: zend_long,
5286 pub ticks_count: ::std::os::raw::c_int,
5287 pub in_autoload: *mut HashTable,
5288 pub autoload_func: *mut zend_function,
5289 pub full_tables_cleanup: zend_bool,
5290 pub no_extensions: zend_bool,
5291 pub regular_list: HashTable,
5292 pub persistent_list: HashTable,
5293 pub user_error_handler_error_reporting: ::std::os::raw::c_int,
5294 pub user_error_handler: zval,
5295 pub user_exception_handler: zval,
5296 pub user_error_handlers_error_reporting: zend_stack,
5297 pub user_error_handlers: zend_stack,
5298 pub user_exception_handlers: zend_stack,
5299 pub error_handling: zend_error_handling_t,
5300 pub exception_class: *mut zend_class_entry,
5301 pub timeout_seconds: zend_long,
5302 pub lambda_count: ::std::os::raw::c_int,
5303 pub ini_directives: *mut HashTable,
5304 pub modified_ini_directives: *mut HashTable,
5305 pub error_reporting_ini_entry: *mut zend_ini_entry,
5306 pub objects_store: zend_objects_store,
5307 pub exception: *mut zend_object,
5308 pub prev_exception: *mut zend_object,
5309 pub opline_before_exception: *const zend_op,
5310 pub exception_op: [zend_op; 3usize],
5311 pub current_module: *mut _zend_module_entry,
5312 pub active: zend_bool,
5313 pub valid_symbol_table: zend_bool,
5314 pub assertions: zend_long,
5315 pub ht_iterators_count: u32,
5316 pub ht_iterators_used: u32,
5317 pub ht_iterators: *mut HashTableIterator,
5318 pub ht_iterators_slots: [HashTableIterator; 16usize],
5319 pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
5320 pub saved_fpu_cw: fpu_control_t,
5321 pub trampoline: zend_function,
5322 pub call_trampoline_op: zend_op,
5323 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
5324}
5325#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5326const _: () = {
5327 ["Size of _zend_executor_globals"][::std::mem::size_of::<_zend_executor_globals>() - 1544usize];
5328 ["Alignment of _zend_executor_globals"]
5329 [::std::mem::align_of::<_zend_executor_globals>() - 8usize];
5330 ["Offset of field: _zend_executor_globals::uninitialized_zval"]
5331 [::std::mem::offset_of!(_zend_executor_globals, uninitialized_zval) - 0usize];
5332 ["Offset of field: _zend_executor_globals::error_zval"]
5333 [::std::mem::offset_of!(_zend_executor_globals, error_zval) - 16usize];
5334 ["Offset of field: _zend_executor_globals::symtable_cache"]
5335 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache) - 32usize];
5336 ["Offset of field: _zend_executor_globals::symtable_cache_limit"]
5337 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_limit) - 288usize];
5338 ["Offset of field: _zend_executor_globals::symtable_cache_ptr"]
5339 [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_ptr) - 296usize];
5340 ["Offset of field: _zend_executor_globals::symbol_table"]
5341 [::std::mem::offset_of!(_zend_executor_globals, symbol_table) - 304usize];
5342 ["Offset of field: _zend_executor_globals::included_files"]
5343 [::std::mem::offset_of!(_zend_executor_globals, included_files) - 360usize];
5344 ["Offset of field: _zend_executor_globals::bailout"]
5345 [::std::mem::offset_of!(_zend_executor_globals, bailout) - 416usize];
5346 ["Offset of field: _zend_executor_globals::error_reporting"]
5347 [::std::mem::offset_of!(_zend_executor_globals, error_reporting) - 424usize];
5348 ["Offset of field: _zend_executor_globals::exit_status"]
5349 [::std::mem::offset_of!(_zend_executor_globals, exit_status) - 428usize];
5350 ["Offset of field: _zend_executor_globals::function_table"]
5351 [::std::mem::offset_of!(_zend_executor_globals, function_table) - 432usize];
5352 ["Offset of field: _zend_executor_globals::class_table"]
5353 [::std::mem::offset_of!(_zend_executor_globals, class_table) - 440usize];
5354 ["Offset of field: _zend_executor_globals::zend_constants"]
5355 [::std::mem::offset_of!(_zend_executor_globals, zend_constants) - 448usize];
5356 ["Offset of field: _zend_executor_globals::vm_stack_top"]
5357 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_top) - 456usize];
5358 ["Offset of field: _zend_executor_globals::vm_stack_end"]
5359 [::std::mem::offset_of!(_zend_executor_globals, vm_stack_end) - 464usize];
5360 ["Offset of field: _zend_executor_globals::vm_stack"]
5361 [::std::mem::offset_of!(_zend_executor_globals, vm_stack) - 472usize];
5362 ["Offset of field: _zend_executor_globals::current_execute_data"]
5363 [::std::mem::offset_of!(_zend_executor_globals, current_execute_data) - 480usize];
5364 ["Offset of field: _zend_executor_globals::scope"]
5365 [::std::mem::offset_of!(_zend_executor_globals, scope) - 488usize];
5366 ["Offset of field: _zend_executor_globals::precision"]
5367 [::std::mem::offset_of!(_zend_executor_globals, precision) - 496usize];
5368 ["Offset of field: _zend_executor_globals::ticks_count"]
5369 [::std::mem::offset_of!(_zend_executor_globals, ticks_count) - 504usize];
5370 ["Offset of field: _zend_executor_globals::in_autoload"]
5371 [::std::mem::offset_of!(_zend_executor_globals, in_autoload) - 512usize];
5372 ["Offset of field: _zend_executor_globals::autoload_func"]
5373 [::std::mem::offset_of!(_zend_executor_globals, autoload_func) - 520usize];
5374 ["Offset of field: _zend_executor_globals::full_tables_cleanup"]
5375 [::std::mem::offset_of!(_zend_executor_globals, full_tables_cleanup) - 528usize];
5376 ["Offset of field: _zend_executor_globals::no_extensions"]
5377 [::std::mem::offset_of!(_zend_executor_globals, no_extensions) - 529usize];
5378 ["Offset of field: _zend_executor_globals::regular_list"]
5379 [::std::mem::offset_of!(_zend_executor_globals, regular_list) - 536usize];
5380 ["Offset of field: _zend_executor_globals::persistent_list"]
5381 [::std::mem::offset_of!(_zend_executor_globals, persistent_list) - 592usize];
5382 ["Offset of field: _zend_executor_globals::user_error_handler_error_reporting"][::std::mem::offset_of!(
5383 _zend_executor_globals,
5384 user_error_handler_error_reporting
5385 ) - 648usize];
5386 ["Offset of field: _zend_executor_globals::user_error_handler"]
5387 [::std::mem::offset_of!(_zend_executor_globals, user_error_handler) - 656usize];
5388 ["Offset of field: _zend_executor_globals::user_exception_handler"]
5389 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handler) - 672usize];
5390 ["Offset of field: _zend_executor_globals::user_error_handlers_error_reporting"][::std::mem::offset_of!(
5391 _zend_executor_globals,
5392 user_error_handlers_error_reporting
5393 ) - 688usize];
5394 ["Offset of field: _zend_executor_globals::user_error_handlers"]
5395 [::std::mem::offset_of!(_zend_executor_globals, user_error_handlers) - 712usize];
5396 ["Offset of field: _zend_executor_globals::user_exception_handlers"]
5397 [::std::mem::offset_of!(_zend_executor_globals, user_exception_handlers) - 736usize];
5398 ["Offset of field: _zend_executor_globals::error_handling"]
5399 [::std::mem::offset_of!(_zend_executor_globals, error_handling) - 760usize];
5400 ["Offset of field: _zend_executor_globals::exception_class"]
5401 [::std::mem::offset_of!(_zend_executor_globals, exception_class) - 768usize];
5402 ["Offset of field: _zend_executor_globals::timeout_seconds"]
5403 [::std::mem::offset_of!(_zend_executor_globals, timeout_seconds) - 776usize];
5404 ["Offset of field: _zend_executor_globals::lambda_count"]
5405 [::std::mem::offset_of!(_zend_executor_globals, lambda_count) - 784usize];
5406 ["Offset of field: _zend_executor_globals::ini_directives"]
5407 [::std::mem::offset_of!(_zend_executor_globals, ini_directives) - 792usize];
5408 ["Offset of field: _zend_executor_globals::modified_ini_directives"]
5409 [::std::mem::offset_of!(_zend_executor_globals, modified_ini_directives) - 800usize];
5410 ["Offset of field: _zend_executor_globals::error_reporting_ini_entry"]
5411 [::std::mem::offset_of!(_zend_executor_globals, error_reporting_ini_entry) - 808usize];
5412 ["Offset of field: _zend_executor_globals::objects_store"]
5413 [::std::mem::offset_of!(_zend_executor_globals, objects_store) - 816usize];
5414 ["Offset of field: _zend_executor_globals::exception"]
5415 [::std::mem::offset_of!(_zend_executor_globals, exception) - 840usize];
5416 ["Offset of field: _zend_executor_globals::prev_exception"]
5417 [::std::mem::offset_of!(_zend_executor_globals, prev_exception) - 848usize];
5418 ["Offset of field: _zend_executor_globals::opline_before_exception"]
5419 [::std::mem::offset_of!(_zend_executor_globals, opline_before_exception) - 856usize];
5420 ["Offset of field: _zend_executor_globals::exception_op"]
5421 [::std::mem::offset_of!(_zend_executor_globals, exception_op) - 864usize];
5422 ["Offset of field: _zend_executor_globals::current_module"]
5423 [::std::mem::offset_of!(_zend_executor_globals, current_module) - 960usize];
5424 ["Offset of field: _zend_executor_globals::active"]
5425 [::std::mem::offset_of!(_zend_executor_globals, active) - 968usize];
5426 ["Offset of field: _zend_executor_globals::valid_symbol_table"]
5427 [::std::mem::offset_of!(_zend_executor_globals, valid_symbol_table) - 969usize];
5428 ["Offset of field: _zend_executor_globals::assertions"]
5429 [::std::mem::offset_of!(_zend_executor_globals, assertions) - 976usize];
5430 ["Offset of field: _zend_executor_globals::ht_iterators_count"]
5431 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_count) - 984usize];
5432 ["Offset of field: _zend_executor_globals::ht_iterators_used"]
5433 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_used) - 988usize];
5434 ["Offset of field: _zend_executor_globals::ht_iterators"]
5435 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators) - 992usize];
5436 ["Offset of field: _zend_executor_globals::ht_iterators_slots"]
5437 [::std::mem::offset_of!(_zend_executor_globals, ht_iterators_slots) - 1000usize];
5438 ["Offset of field: _zend_executor_globals::saved_fpu_cw_ptr"]
5439 [::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw_ptr) - 1256usize];
5440 ["Offset of field: _zend_executor_globals::saved_fpu_cw"]
5441 [::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw) - 1264usize];
5442 ["Offset of field: _zend_executor_globals::trampoline"]
5443 [::std::mem::offset_of!(_zend_executor_globals, trampoline) - 1272usize];
5444 ["Offset of field: _zend_executor_globals::call_trampoline_op"]
5445 [::std::mem::offset_of!(_zend_executor_globals, call_trampoline_op) - 1480usize];
5446 ["Offset of field: _zend_executor_globals::reserved"]
5447 [::std::mem::offset_of!(_zend_executor_globals, reserved) - 1512usize];
5448};
5449#[repr(C)]
5450#[derive(Debug, Copy, Clone)]
5451pub struct _zend_ini_scanner_globals {
5452 pub yy_in: *mut zend_file_handle,
5453 pub yy_out: *mut zend_file_handle,
5454 pub yy_leng: ::std::os::raw::c_uint,
5455 pub yy_start: *mut ::std::os::raw::c_uchar,
5456 pub yy_text: *mut ::std::os::raw::c_uchar,
5457 pub yy_cursor: *mut ::std::os::raw::c_uchar,
5458 pub yy_marker: *mut ::std::os::raw::c_uchar,
5459 pub yy_limit: *mut ::std::os::raw::c_uchar,
5460 pub yy_state: ::std::os::raw::c_int,
5461 pub state_stack: zend_stack,
5462 pub filename: *mut ::std::os::raw::c_char,
5463 pub lineno: ::std::os::raw::c_int,
5464 pub scanner_mode: ::std::os::raw::c_int,
5465}
5466#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5467const _: () = {
5468 ["Size of _zend_ini_scanner_globals"]
5469 [::std::mem::size_of::<_zend_ini_scanner_globals>() - 112usize];
5470 ["Alignment of _zend_ini_scanner_globals"]
5471 [::std::mem::align_of::<_zend_ini_scanner_globals>() - 8usize];
5472 ["Offset of field: _zend_ini_scanner_globals::yy_in"]
5473 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_in) - 0usize];
5474 ["Offset of field: _zend_ini_scanner_globals::yy_out"]
5475 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_out) - 8usize];
5476 ["Offset of field: _zend_ini_scanner_globals::yy_leng"]
5477 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_leng) - 16usize];
5478 ["Offset of field: _zend_ini_scanner_globals::yy_start"]
5479 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_start) - 24usize];
5480 ["Offset of field: _zend_ini_scanner_globals::yy_text"]
5481 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_text) - 32usize];
5482 ["Offset of field: _zend_ini_scanner_globals::yy_cursor"]
5483 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_cursor) - 40usize];
5484 ["Offset of field: _zend_ini_scanner_globals::yy_marker"]
5485 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_marker) - 48usize];
5486 ["Offset of field: _zend_ini_scanner_globals::yy_limit"]
5487 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_limit) - 56usize];
5488 ["Offset of field: _zend_ini_scanner_globals::yy_state"]
5489 [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_state) - 64usize];
5490 ["Offset of field: _zend_ini_scanner_globals::state_stack"]
5491 [::std::mem::offset_of!(_zend_ini_scanner_globals, state_stack) - 72usize];
5492 ["Offset of field: _zend_ini_scanner_globals::filename"]
5493 [::std::mem::offset_of!(_zend_ini_scanner_globals, filename) - 96usize];
5494 ["Offset of field: _zend_ini_scanner_globals::lineno"]
5495 [::std::mem::offset_of!(_zend_ini_scanner_globals, lineno) - 104usize];
5496 ["Offset of field: _zend_ini_scanner_globals::scanner_mode"]
5497 [::std::mem::offset_of!(_zend_ini_scanner_globals, scanner_mode) - 108usize];
5498};
5499pub const zend_php_scanner_event_ON_TOKEN: zend_php_scanner_event = 0;
5500pub const zend_php_scanner_event_ON_FEEDBACK: zend_php_scanner_event = 1;
5501pub const zend_php_scanner_event_ON_STOP: zend_php_scanner_event = 2;
5502pub type zend_php_scanner_event = ::std::os::raw::c_uint;
5503#[repr(C)]
5504#[derive(Debug, Copy, Clone)]
5505pub struct _zend_php_scanner_globals {
5506 pub yy_in: *mut zend_file_handle,
5507 pub yy_out: *mut zend_file_handle,
5508 pub yy_leng: ::std::os::raw::c_uint,
5509 pub yy_start: *mut ::std::os::raw::c_uchar,
5510 pub yy_text: *mut ::std::os::raw::c_uchar,
5511 pub yy_cursor: *mut ::std::os::raw::c_uchar,
5512 pub yy_marker: *mut ::std::os::raw::c_uchar,
5513 pub yy_limit: *mut ::std::os::raw::c_uchar,
5514 pub yy_state: ::std::os::raw::c_int,
5515 pub state_stack: zend_stack,
5516 pub heredoc_label_stack: zend_ptr_stack,
5517 pub script_org: *mut ::std::os::raw::c_uchar,
5518 pub script_org_size: usize,
5519 pub script_filtered: *mut ::std::os::raw::c_uchar,
5520 pub script_filtered_size: usize,
5521 pub input_filter: zend_encoding_filter,
5522 pub output_filter: zend_encoding_filter,
5523 pub script_encoding: *const zend_encoding,
5524 pub scanned_string_len: ::std::os::raw::c_int,
5525 pub on_event: ::std::option::Option<
5526 unsafe extern "C" fn(
5527 event: zend_php_scanner_event,
5528 token: ::std::os::raw::c_int,
5529 line: ::std::os::raw::c_int,
5530 ),
5531 >,
5532}
5533#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5534const _: () = {
5535 ["Size of _zend_php_scanner_globals"]
5536 [::std::mem::size_of::<_zend_php_scanner_globals>() - 200usize];
5537 ["Alignment of _zend_php_scanner_globals"]
5538 [::std::mem::align_of::<_zend_php_scanner_globals>() - 8usize];
5539 ["Offset of field: _zend_php_scanner_globals::yy_in"]
5540 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_in) - 0usize];
5541 ["Offset of field: _zend_php_scanner_globals::yy_out"]
5542 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_out) - 8usize];
5543 ["Offset of field: _zend_php_scanner_globals::yy_leng"]
5544 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_leng) - 16usize];
5545 ["Offset of field: _zend_php_scanner_globals::yy_start"]
5546 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_start) - 24usize];
5547 ["Offset of field: _zend_php_scanner_globals::yy_text"]
5548 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_text) - 32usize];
5549 ["Offset of field: _zend_php_scanner_globals::yy_cursor"]
5550 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_cursor) - 40usize];
5551 ["Offset of field: _zend_php_scanner_globals::yy_marker"]
5552 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_marker) - 48usize];
5553 ["Offset of field: _zend_php_scanner_globals::yy_limit"]
5554 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_limit) - 56usize];
5555 ["Offset of field: _zend_php_scanner_globals::yy_state"]
5556 [::std::mem::offset_of!(_zend_php_scanner_globals, yy_state) - 64usize];
5557 ["Offset of field: _zend_php_scanner_globals::state_stack"]
5558 [::std::mem::offset_of!(_zend_php_scanner_globals, state_stack) - 72usize];
5559 ["Offset of field: _zend_php_scanner_globals::heredoc_label_stack"]
5560 [::std::mem::offset_of!(_zend_php_scanner_globals, heredoc_label_stack) - 96usize];
5561 ["Offset of field: _zend_php_scanner_globals::script_org"]
5562 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org) - 128usize];
5563 ["Offset of field: _zend_php_scanner_globals::script_org_size"]
5564 [::std::mem::offset_of!(_zend_php_scanner_globals, script_org_size) - 136usize];
5565 ["Offset of field: _zend_php_scanner_globals::script_filtered"]
5566 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered) - 144usize];
5567 ["Offset of field: _zend_php_scanner_globals::script_filtered_size"]
5568 [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered_size) - 152usize];
5569 ["Offset of field: _zend_php_scanner_globals::input_filter"]
5570 [::std::mem::offset_of!(_zend_php_scanner_globals, input_filter) - 160usize];
5571 ["Offset of field: _zend_php_scanner_globals::output_filter"]
5572 [::std::mem::offset_of!(_zend_php_scanner_globals, output_filter) - 168usize];
5573 ["Offset of field: _zend_php_scanner_globals::script_encoding"]
5574 [::std::mem::offset_of!(_zend_php_scanner_globals, script_encoding) - 176usize];
5575 ["Offset of field: _zend_php_scanner_globals::scanned_string_len"]
5576 [::std::mem::offset_of!(_zend_php_scanner_globals, scanned_string_len) - 184usize];
5577 ["Offset of field: _zend_php_scanner_globals::on_event"]
5578 [::std::mem::offset_of!(_zend_php_scanner_globals, on_event) - 192usize];
5579};
5580extern "C" {
5581 pub fn zend_init_compiler_data_structures();
5582}
5583extern "C" {
5584 pub fn zend_oparray_context_begin(prev_context: *mut zend_oparray_context);
5585}
5586extern "C" {
5587 pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
5588}
5589extern "C" {
5590 pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
5591}
5592extern "C" {
5593 pub fn zend_file_context_end(prev_context: *mut zend_file_context);
5594}
5595extern "C" {
5596 pub static mut zend_compile_file: ::std::option::Option<
5597 unsafe extern "C" fn(
5598 file_handle: *mut zend_file_handle,
5599 type_: ::std::os::raw::c_int,
5600 ) -> *mut zend_op_array,
5601 >;
5602}
5603extern "C" {
5604 pub static mut zend_compile_string: ::std::option::Option<
5605 unsafe extern "C" fn(
5606 source_string: *mut zval,
5607 filename: *mut ::std::os::raw::c_char,
5608 ) -> *mut zend_op_array,
5609 >;
5610}
5611extern "C" {
5612 pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
5613}
5614extern "C" {
5615 pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
5616}
5617extern "C" {
5618 pub fn zend_get_compiled_filename() -> *mut zend_string;
5619}
5620extern "C" {
5621 pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
5622}
5623extern "C" {
5624 pub fn zend_get_scanned_file_offset() -> usize;
5625}
5626extern "C" {
5627 pub fn zend_get_compiled_variable_name(
5628 op_array: *const zend_op_array,
5629 var: u32,
5630 ) -> *mut zend_string;
5631}
5632extern "C" {
5633 pub fn zend_stop_lexing();
5634}
5635extern "C" {
5636 pub fn zend_emit_final_return(zv: *mut zval);
5637}
5638extern "C" {
5639 pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
5640}
5641extern "C" {
5642 pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
5643}
5644extern "C" {
5645 pub fn zend_add_member_modifier(flags: u32, new_flag: u32) -> u32;
5646}
5647extern "C" {
5648 pub fn zend_handle_encoding_declaration(ast: *mut zend_ast);
5649}
5650extern "C" {
5651 pub fn zend_do_free(op1: *mut znode);
5652}
5653extern "C" {
5654 pub fn zend_do_delayed_early_binding(op_array: *const zend_op_array);
5655}
5656extern "C" {
5657 pub fn zend_do_extended_info();
5658}
5659extern "C" {
5660 pub fn zend_do_extended_fcall_begin();
5661}
5662extern "C" {
5663 pub fn zend_do_extended_fcall_end();
5664}
5665extern "C" {
5666 pub fn zend_verify_namespace();
5667}
5668extern "C" {
5669 pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
5670}
5671extern "C" {
5672 pub fn zend_try_exception_handler();
5673}
5674extern "C" {
5675 pub fn zend_execute_scripts(
5676 type_: ::std::os::raw::c_int,
5677 retval: *mut zval,
5678 file_count: ::std::os::raw::c_int,
5679 ...
5680 ) -> ::std::os::raw::c_int;
5681}
5682extern "C" {
5683 pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
5684}
5685extern "C" {
5686 pub fn zend_cleanup_user_class_data(ce: *mut zend_class_entry);
5687}
5688extern "C" {
5689 pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
5690}
5691extern "C" {
5692 pub fn zend_cleanup_internal_classes();
5693}
5694extern "C" {
5695 pub fn zend_cleanup_op_array_data(op_array: *mut zend_op_array);
5696}
5697extern "C" {
5698 pub fn zend_function_dtor(zv: *mut zval);
5699}
5700extern "C" {
5701 pub fn zend_class_add_ref(zv: *mut zval);
5702}
5703extern "C" {
5704 pub fn zend_mangle_property_name(
5705 src1: *const ::std::os::raw::c_char,
5706 src1_length: usize,
5707 src2: *const ::std::os::raw::c_char,
5708 src2_length: usize,
5709 internal: ::std::os::raw::c_int,
5710 ) -> *mut zend_string;
5711}
5712extern "C" {
5713 pub fn zend_unmangle_property_name_ex(
5714 name: *const zend_string,
5715 class_name: *mut *const ::std::os::raw::c_char,
5716 prop_name: *mut *const ::std::os::raw::c_char,
5717 prop_len: *mut usize,
5718 ) -> ::std::os::raw::c_int;
5719}
5720extern "C" {
5721 pub fn zend_is_compiling() -> zend_bool;
5722}
5723extern "C" {
5724 pub fn zend_make_compiled_string_description(
5725 name: *const ::std::os::raw::c_char,
5726 ) -> *mut ::std::os::raw::c_char;
5727}
5728extern "C" {
5729 pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: zend_bool);
5730}
5731extern "C" {
5732 pub fn zend_get_class_fetch_type(name: *mut zend_string) -> u32;
5733}
5734extern "C" {
5735 pub fn zend_get_call_op(init_op: zend_uchar, fbc: *mut zend_function) -> zend_uchar;
5736}
5737extern "C" {
5738 pub fn zend_is_smart_branch(opline: *mut zend_op) -> ::std::os::raw::c_int;
5739}
5740pub type zend_auto_global_callback =
5741 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> zend_bool>;
5742#[repr(C)]
5743#[derive(Debug, Copy, Clone)]
5744pub struct _zend_auto_global {
5745 pub name: *mut zend_string,
5746 pub auto_global_callback: zend_auto_global_callback,
5747 pub jit: zend_bool,
5748 pub armed: zend_bool,
5749}
5750#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5751const _: () = {
5752 ["Size of _zend_auto_global"][::std::mem::size_of::<_zend_auto_global>() - 24usize];
5753 ["Alignment of _zend_auto_global"][::std::mem::align_of::<_zend_auto_global>() - 8usize];
5754 ["Offset of field: _zend_auto_global::name"]
5755 [::std::mem::offset_of!(_zend_auto_global, name) - 0usize];
5756 ["Offset of field: _zend_auto_global::auto_global_callback"]
5757 [::std::mem::offset_of!(_zend_auto_global, auto_global_callback) - 8usize];
5758 ["Offset of field: _zend_auto_global::jit"]
5759 [::std::mem::offset_of!(_zend_auto_global, jit) - 16usize];
5760 ["Offset of field: _zend_auto_global::armed"]
5761 [::std::mem::offset_of!(_zend_auto_global, armed) - 17usize];
5762};
5763pub type zend_auto_global = _zend_auto_global;
5764extern "C" {
5765 pub fn zend_register_auto_global(
5766 name: *mut zend_string,
5767 jit: zend_bool,
5768 auto_global_callback: zend_auto_global_callback,
5769 ) -> ::std::os::raw::c_int;
5770}
5771extern "C" {
5772 pub fn zend_activate_auto_globals();
5773}
5774extern "C" {
5775 pub fn zend_is_auto_global(name: *mut zend_string) -> zend_bool;
5776}
5777extern "C" {
5778 pub fn zend_is_auto_global_str(name: *mut ::std::os::raw::c_char, len: usize) -> zend_bool;
5779}
5780extern "C" {
5781 pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: usize) -> usize;
5782}
5783extern "C" {
5784 pub fn zend_set_function_arg_flags(func: *mut zend_function);
5785}
5786extern "C" {
5787 pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
5788}
5789extern "C" {
5790 pub fn zend_add_literal(op_array: *mut zend_op_array, zv: *mut zval) -> ::std::os::raw::c_int;
5791}
5792extern "C" {
5793 pub fn zend_assert_valid_class_name(const_name: *const zend_string);
5794}
5795extern "C" {
5796 pub fn zend_get_opcode_name(opcode: zend_uchar) -> *const ::std::os::raw::c_char;
5797}
5798pub type zend_module_entry = _zend_module_entry;
5799pub type zend_module_dep = _zend_module_dep;
5800#[repr(C)]
5801#[derive(Debug, Copy, Clone)]
5802pub struct _zend_module_entry {
5803 pub size: ::std::os::raw::c_ushort,
5804 pub zend_api: ::std::os::raw::c_uint,
5805 pub zend_debug: ::std::os::raw::c_uchar,
5806 pub zts: ::std::os::raw::c_uchar,
5807 pub ini_entry: *const _zend_ini_entry,
5808 pub deps: *const _zend_module_dep,
5809 pub name: *const ::std::os::raw::c_char,
5810 pub functions: *const _zend_function_entry,
5811 pub module_startup_func: ::std::option::Option<
5812 unsafe extern "C" fn(
5813 type_: ::std::os::raw::c_int,
5814 module_number: ::std::os::raw::c_int,
5815 ) -> ::std::os::raw::c_int,
5816 >,
5817 pub module_shutdown_func: ::std::option::Option<
5818 unsafe extern "C" fn(
5819 type_: ::std::os::raw::c_int,
5820 module_number: ::std::os::raw::c_int,
5821 ) -> ::std::os::raw::c_int,
5822 >,
5823 pub request_startup_func: ::std::option::Option<
5824 unsafe extern "C" fn(
5825 type_: ::std::os::raw::c_int,
5826 module_number: ::std::os::raw::c_int,
5827 ) -> ::std::os::raw::c_int,
5828 >,
5829 pub request_shutdown_func: ::std::option::Option<
5830 unsafe extern "C" fn(
5831 type_: ::std::os::raw::c_int,
5832 module_number: ::std::os::raw::c_int,
5833 ) -> ::std::os::raw::c_int,
5834 >,
5835 pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
5836 pub version: *const ::std::os::raw::c_char,
5837 pub globals_size: usize,
5838 pub globals_ptr: *mut ::std::os::raw::c_void,
5839 pub globals_ctor:
5840 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
5841 pub globals_dtor:
5842 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
5843 pub post_deactivate_func:
5844 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
5845 pub module_started: ::std::os::raw::c_int,
5846 pub type_: ::std::os::raw::c_uchar,
5847 pub handle: *mut ::std::os::raw::c_void,
5848 pub module_number: ::std::os::raw::c_int,
5849 pub build_id: *const ::std::os::raw::c_char,
5850}
5851#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5852const _: () = {
5853 ["Size of _zend_module_entry"][::std::mem::size_of::<_zend_module_entry>() - 168usize];
5854 ["Alignment of _zend_module_entry"][::std::mem::align_of::<_zend_module_entry>() - 8usize];
5855 ["Offset of field: _zend_module_entry::size"]
5856 [::std::mem::offset_of!(_zend_module_entry, size) - 0usize];
5857 ["Offset of field: _zend_module_entry::zend_api"]
5858 [::std::mem::offset_of!(_zend_module_entry, zend_api) - 4usize];
5859 ["Offset of field: _zend_module_entry::zend_debug"]
5860 [::std::mem::offset_of!(_zend_module_entry, zend_debug) - 8usize];
5861 ["Offset of field: _zend_module_entry::zts"]
5862 [::std::mem::offset_of!(_zend_module_entry, zts) - 9usize];
5863 ["Offset of field: _zend_module_entry::ini_entry"]
5864 [::std::mem::offset_of!(_zend_module_entry, ini_entry) - 16usize];
5865 ["Offset of field: _zend_module_entry::deps"]
5866 [::std::mem::offset_of!(_zend_module_entry, deps) - 24usize];
5867 ["Offset of field: _zend_module_entry::name"]
5868 [::std::mem::offset_of!(_zend_module_entry, name) - 32usize];
5869 ["Offset of field: _zend_module_entry::functions"]
5870 [::std::mem::offset_of!(_zend_module_entry, functions) - 40usize];
5871 ["Offset of field: _zend_module_entry::module_startup_func"]
5872 [::std::mem::offset_of!(_zend_module_entry, module_startup_func) - 48usize];
5873 ["Offset of field: _zend_module_entry::module_shutdown_func"]
5874 [::std::mem::offset_of!(_zend_module_entry, module_shutdown_func) - 56usize];
5875 ["Offset of field: _zend_module_entry::request_startup_func"]
5876 [::std::mem::offset_of!(_zend_module_entry, request_startup_func) - 64usize];
5877 ["Offset of field: _zend_module_entry::request_shutdown_func"]
5878 [::std::mem::offset_of!(_zend_module_entry, request_shutdown_func) - 72usize];
5879 ["Offset of field: _zend_module_entry::info_func"]
5880 [::std::mem::offset_of!(_zend_module_entry, info_func) - 80usize];
5881 ["Offset of field: _zend_module_entry::version"]
5882 [::std::mem::offset_of!(_zend_module_entry, version) - 88usize];
5883 ["Offset of field: _zend_module_entry::globals_size"]
5884 [::std::mem::offset_of!(_zend_module_entry, globals_size) - 96usize];
5885 ["Offset of field: _zend_module_entry::globals_ptr"]
5886 [::std::mem::offset_of!(_zend_module_entry, globals_ptr) - 104usize];
5887 ["Offset of field: _zend_module_entry::globals_ctor"]
5888 [::std::mem::offset_of!(_zend_module_entry, globals_ctor) - 112usize];
5889 ["Offset of field: _zend_module_entry::globals_dtor"]
5890 [::std::mem::offset_of!(_zend_module_entry, globals_dtor) - 120usize];
5891 ["Offset of field: _zend_module_entry::post_deactivate_func"]
5892 [::std::mem::offset_of!(_zend_module_entry, post_deactivate_func) - 128usize];
5893 ["Offset of field: _zend_module_entry::module_started"]
5894 [::std::mem::offset_of!(_zend_module_entry, module_started) - 136usize];
5895 ["Offset of field: _zend_module_entry::type_"]
5896 [::std::mem::offset_of!(_zend_module_entry, type_) - 140usize];
5897 ["Offset of field: _zend_module_entry::handle"]
5898 [::std::mem::offset_of!(_zend_module_entry, handle) - 144usize];
5899 ["Offset of field: _zend_module_entry::module_number"]
5900 [::std::mem::offset_of!(_zend_module_entry, module_number) - 152usize];
5901 ["Offset of field: _zend_module_entry::build_id"]
5902 [::std::mem::offset_of!(_zend_module_entry, build_id) - 160usize];
5903};
5904#[repr(C)]
5905#[derive(Debug, Copy, Clone)]
5906pub struct _zend_module_dep {
5907 pub name: *const ::std::os::raw::c_char,
5908 pub rel: *const ::std::os::raw::c_char,
5909 pub version: *const ::std::os::raw::c_char,
5910 pub type_: ::std::os::raw::c_uchar,
5911}
5912#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5913const _: () = {
5914 ["Size of _zend_module_dep"][::std::mem::size_of::<_zend_module_dep>() - 32usize];
5915 ["Alignment of _zend_module_dep"][::std::mem::align_of::<_zend_module_dep>() - 8usize];
5916 ["Offset of field: _zend_module_dep::name"]
5917 [::std::mem::offset_of!(_zend_module_dep, name) - 0usize];
5918 ["Offset of field: _zend_module_dep::rel"]
5919 [::std::mem::offset_of!(_zend_module_dep, rel) - 8usize];
5920 ["Offset of field: _zend_module_dep::version"]
5921 [::std::mem::offset_of!(_zend_module_dep, version) - 16usize];
5922 ["Offset of field: _zend_module_dep::type_"]
5923 [::std::mem::offset_of!(_zend_module_dep, type_) - 24usize];
5924};
5925extern "C" {
5926 pub static mut module_registry: HashTable;
5927}
5928pub type rsrc_dtor_func_t = ::std::option::Option<unsafe extern "C" fn(res: *mut zend_resource)>;
5929#[repr(C)]
5930#[derive(Debug, Copy, Clone)]
5931pub struct _zend_rsrc_list_dtors_entry {
5932 pub list_dtor_ex: rsrc_dtor_func_t,
5933 pub plist_dtor_ex: rsrc_dtor_func_t,
5934 pub type_name: *const ::std::os::raw::c_char,
5935 pub module_number: ::std::os::raw::c_int,
5936 pub resource_id: ::std::os::raw::c_int,
5937}
5938#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5939const _: () = {
5940 ["Size of _zend_rsrc_list_dtors_entry"]
5941 [::std::mem::size_of::<_zend_rsrc_list_dtors_entry>() - 32usize];
5942 ["Alignment of _zend_rsrc_list_dtors_entry"]
5943 [::std::mem::align_of::<_zend_rsrc_list_dtors_entry>() - 8usize];
5944 ["Offset of field: _zend_rsrc_list_dtors_entry::list_dtor_ex"]
5945 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, list_dtor_ex) - 0usize];
5946 ["Offset of field: _zend_rsrc_list_dtors_entry::plist_dtor_ex"]
5947 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, plist_dtor_ex) - 8usize];
5948 ["Offset of field: _zend_rsrc_list_dtors_entry::type_name"]
5949 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, type_name) - 16usize];
5950 ["Offset of field: _zend_rsrc_list_dtors_entry::module_number"]
5951 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, module_number) - 24usize];
5952 ["Offset of field: _zend_rsrc_list_dtors_entry::resource_id"]
5953 [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, resource_id) - 28usize];
5954};
5955pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
5956extern "C" {
5957 pub fn zend_register_list_destructors_ex(
5958 ld: rsrc_dtor_func_t,
5959 pld: rsrc_dtor_func_t,
5960 type_name: *const ::std::os::raw::c_char,
5961 module_number: ::std::os::raw::c_int,
5962 ) -> ::std::os::raw::c_int;
5963}
5964extern "C" {
5965 pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
5966}
5967extern "C" {
5968 pub fn zend_init_rsrc_list() -> ::std::os::raw::c_int;
5969}
5970extern "C" {
5971 pub fn zend_init_rsrc_plist() -> ::std::os::raw::c_int;
5972}
5973extern "C" {
5974 pub fn zend_close_rsrc_list(ht: *mut HashTable);
5975}
5976extern "C" {
5977 pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
5978}
5979extern "C" {
5980 pub fn zend_init_rsrc_list_dtors() -> ::std::os::raw::c_int;
5981}
5982extern "C" {
5983 pub fn zend_destroy_rsrc_list_dtors();
5984}
5985extern "C" {
5986 pub fn zend_list_insert(
5987 ptr: *mut ::std::os::raw::c_void,
5988 type_: ::std::os::raw::c_int,
5989 ) -> *mut zval;
5990}
5991extern "C" {
5992 pub fn zend_list_free(res: *mut zend_resource) -> ::std::os::raw::c_int;
5993}
5994extern "C" {
5995 pub fn zend_list_delete(res: *mut zend_resource) -> ::std::os::raw::c_int;
5996}
5997extern "C" {
5998 pub fn zend_list_close(res: *mut zend_resource) -> ::std::os::raw::c_int;
5999}
6000extern "C" {
6001 pub fn zend_register_resource(
6002 rsrc_pointer: *mut ::std::os::raw::c_void,
6003 rsrc_type: ::std::os::raw::c_int,
6004 ) -> *mut zend_resource;
6005}
6006extern "C" {
6007 pub fn zend_fetch_resource(
6008 res: *mut zend_resource,
6009 resource_type_name: *const ::std::os::raw::c_char,
6010 resource_type: ::std::os::raw::c_int,
6011 ) -> *mut ::std::os::raw::c_void;
6012}
6013extern "C" {
6014 pub fn zend_fetch_resource2(
6015 res: *mut zend_resource,
6016 resource_type_name: *const ::std::os::raw::c_char,
6017 resource_type: ::std::os::raw::c_int,
6018 resource_type2: ::std::os::raw::c_int,
6019 ) -> *mut ::std::os::raw::c_void;
6020}
6021extern "C" {
6022 pub fn zend_fetch_resource_ex(
6023 res: *mut zval,
6024 resource_type_name: *const ::std::os::raw::c_char,
6025 resource_type: ::std::os::raw::c_int,
6026 ) -> *mut ::std::os::raw::c_void;
6027}
6028extern "C" {
6029 pub fn zend_fetch_resource2_ex(
6030 res: *mut zval,
6031 resource_type_name: *const ::std::os::raw::c_char,
6032 resource_type: ::std::os::raw::c_int,
6033 resource_type2: ::std::os::raw::c_int,
6034 ) -> *mut ::std::os::raw::c_void;
6035}
6036extern "C" {
6037 pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
6038}
6039extern "C" {
6040 pub fn zend_fetch_list_dtor_id(
6041 type_name: *const ::std::os::raw::c_char,
6042 ) -> ::std::os::raw::c_int;
6043}
6044extern "C" {
6045 pub static mut zend_execute_ex:
6046 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
6047}
6048extern "C" {
6049 pub static mut zend_execute_internal: ::std::option::Option<
6050 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
6051 >;
6052}
6053extern "C" {
6054 pub fn zend_init_execute_data(
6055 execute_data: *mut zend_execute_data,
6056 op_array: *mut zend_op_array,
6057 return_value: *mut zval,
6058 );
6059}
6060extern "C" {
6061 pub fn zend_create_generator_execute_data(
6062 call: *mut zend_execute_data,
6063 op_array: *mut zend_op_array,
6064 return_value: *mut zval,
6065 ) -> *mut zend_execute_data;
6066}
6067extern "C" {
6068 pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
6069}
6070extern "C" {
6071 pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
6072}
6073extern "C" {
6074 pub fn zend_lookup_class_ex(
6075 name: *mut zend_string,
6076 key: *const zval,
6077 use_autoload: ::std::os::raw::c_int,
6078 ) -> *mut zend_class_entry;
6079}
6080extern "C" {
6081 pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
6082}
6083extern "C" {
6084 pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
6085}
6086extern "C" {
6087 pub fn zend_eval_string(
6088 str_: *mut ::std::os::raw::c_char,
6089 retval_ptr: *mut zval,
6090 string_name: *mut ::std::os::raw::c_char,
6091 ) -> ::std::os::raw::c_int;
6092}
6093extern "C" {
6094 pub fn zend_eval_stringl(
6095 str_: *mut ::std::os::raw::c_char,
6096 str_len: usize,
6097 retval_ptr: *mut zval,
6098 string_name: *mut ::std::os::raw::c_char,
6099 ) -> ::std::os::raw::c_int;
6100}
6101extern "C" {
6102 pub fn zend_eval_string_ex(
6103 str_: *mut ::std::os::raw::c_char,
6104 retval_ptr: *mut zval,
6105 string_name: *mut ::std::os::raw::c_char,
6106 handle_exceptions: ::std::os::raw::c_int,
6107 ) -> ::std::os::raw::c_int;
6108}
6109extern "C" {
6110 pub fn zend_eval_stringl_ex(
6111 str_: *mut ::std::os::raw::c_char,
6112 str_len: usize,
6113 retval_ptr: *mut zval,
6114 string_name: *mut ::std::os::raw::c_char,
6115 handle_exceptions: ::std::os::raw::c_int,
6116 ) -> ::std::os::raw::c_int;
6117}
6118extern "C" {
6119 pub fn zend_check_internal_arg_type(zf: *mut zend_function, arg_num: u32, arg: *mut zval);
6120}
6121extern "C" {
6122 pub fn zend_check_arg_type(
6123 zf: *mut zend_function,
6124 arg_num: u32,
6125 arg: *mut zval,
6126 default_value: *mut zval,
6127 cache_slot: *mut *mut ::std::os::raw::c_void,
6128 ) -> ::std::os::raw::c_int;
6129}
6130extern "C" {
6131 pub fn zend_check_missing_arg(
6132 execute_data: *mut zend_execute_data,
6133 arg_num: u32,
6134 cache_slot: *mut *mut ::std::os::raw::c_void,
6135 );
6136}
6137#[repr(C)]
6138#[derive(Debug, Copy, Clone)]
6139pub struct _zend_vm_stack {
6140 pub top: *mut zval,
6141 pub end: *mut zval,
6142 pub prev: zend_vm_stack,
6143}
6144#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6145const _: () = {
6146 ["Size of _zend_vm_stack"][::std::mem::size_of::<_zend_vm_stack>() - 24usize];
6147 ["Alignment of _zend_vm_stack"][::std::mem::align_of::<_zend_vm_stack>() - 8usize];
6148 ["Offset of field: _zend_vm_stack::top"][::std::mem::offset_of!(_zend_vm_stack, top) - 0usize];
6149 ["Offset of field: _zend_vm_stack::end"][::std::mem::offset_of!(_zend_vm_stack, end) - 8usize];
6150 ["Offset of field: _zend_vm_stack::prev"]
6151 [::std::mem::offset_of!(_zend_vm_stack, prev) - 16usize];
6152};
6153extern "C" {
6154 pub fn zend_vm_stack_init();
6155}
6156extern "C" {
6157 pub fn zend_vm_stack_destroy();
6158}
6159extern "C" {
6160 pub fn zend_vm_stack_extend(size: usize) -> *mut ::std::os::raw::c_void;
6161}
6162extern "C" {
6163 pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
6164}
6165extern "C" {
6166 pub fn zend_get_executed_filename_ex() -> *mut zend_string;
6167}
6168extern "C" {
6169 pub fn zend_get_executed_lineno() -> uint;
6170}
6171extern "C" {
6172 pub fn zend_is_executing() -> zend_bool;
6173}
6174extern "C" {
6175 pub fn zend_set_timeout(seconds: zend_long, reset_signals: ::std::os::raw::c_int);
6176}
6177extern "C" {
6178 pub fn zend_unset_timeout();
6179}
6180extern "C" {
6181 pub fn zend_timeout(dummy: ::std::os::raw::c_int);
6182}
6183extern "C" {
6184 pub fn zend_fetch_class(
6185 class_name: *mut zend_string,
6186 fetch_type: ::std::os::raw::c_int,
6187 ) -> *mut zend_class_entry;
6188}
6189extern "C" {
6190 pub fn zend_fetch_class_by_name(
6191 class_name: *mut zend_string,
6192 key: *const zval,
6193 fetch_type: ::std::os::raw::c_int,
6194 ) -> *mut zend_class_entry;
6195}
6196extern "C" {
6197 pub fn zend_verify_abstract_class(ce: *mut zend_class_entry);
6198}
6199extern "C" {
6200 pub fn zend_fetch_dimension_by_zval(result: *mut zval, container: *mut zval, dim: *mut zval);
6201}
6202extern "C" {
6203 pub fn zend_fetch_dimension_by_zval_is(
6204 result: *mut zval,
6205 container: *mut zval,
6206 dim: *mut zval,
6207 dim_type: ::std::os::raw::c_int,
6208 );
6209}
6210extern "C" {
6211 pub fn zend_get_compiled_variable_value(
6212 execute_data_ptr: *const zend_execute_data,
6213 var: u32,
6214 ) -> *mut zval;
6215}
6216extern "C" {
6217 pub fn zend_set_user_opcode_handler(
6218 opcode: zend_uchar,
6219 handler: user_opcode_handler_t,
6220 ) -> ::std::os::raw::c_int;
6221}
6222extern "C" {
6223 pub fn zend_get_user_opcode_handler(opcode: zend_uchar) -> user_opcode_handler_t;
6224}
6225pub type zend_free_op = *mut zval;
6226extern "C" {
6227 pub fn zend_get_zval_ptr(
6228 op_type: ::std::os::raw::c_int,
6229 node: *const znode_op,
6230 execute_data: *const zend_execute_data,
6231 should_free: *mut zend_free_op,
6232 type_: ::std::os::raw::c_int,
6233 ) -> *mut zval;
6234}
6235extern "C" {
6236 pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
6237}
6238extern "C" {
6239 pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
6240}
6241extern "C" {
6242 pub fn zend_cleanup_unfinished_execution(
6243 execute_data: *mut zend_execute_data,
6244 op_num: u32,
6245 catch_op_num: u32,
6246 );
6247}
6248#[repr(C)]
6249#[derive(Debug, Copy, Clone)]
6250pub struct _zend_function_entry {
6251 pub fname: *const ::std::os::raw::c_char,
6252 pub handler: ::std::option::Option<
6253 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
6254 >,
6255 pub arg_info: *const _zend_internal_arg_info,
6256 pub num_args: u32,
6257 pub flags: u32,
6258}
6259#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6260const _: () = {
6261 ["Size of _zend_function_entry"][::std::mem::size_of::<_zend_function_entry>() - 32usize];
6262 ["Alignment of _zend_function_entry"][::std::mem::align_of::<_zend_function_entry>() - 8usize];
6263 ["Offset of field: _zend_function_entry::fname"]
6264 [::std::mem::offset_of!(_zend_function_entry, fname) - 0usize];
6265 ["Offset of field: _zend_function_entry::handler"]
6266 [::std::mem::offset_of!(_zend_function_entry, handler) - 8usize];
6267 ["Offset of field: _zend_function_entry::arg_info"]
6268 [::std::mem::offset_of!(_zend_function_entry, arg_info) - 16usize];
6269 ["Offset of field: _zend_function_entry::num_args"]
6270 [::std::mem::offset_of!(_zend_function_entry, num_args) - 24usize];
6271 ["Offset of field: _zend_function_entry::flags"]
6272 [::std::mem::offset_of!(_zend_function_entry, flags) - 28usize];
6273};
6274pub type zend_function_entry = _zend_function_entry;
6275#[repr(C)]
6276#[derive(Copy, Clone)]
6277pub struct _zend_fcall_info {
6278 pub size: usize,
6279 pub function_table: *mut HashTable,
6280 pub function_name: zval,
6281 pub symbol_table: *mut zend_array,
6282 pub retval: *mut zval,
6283 pub params: *mut zval,
6284 pub object: *mut zend_object,
6285 pub no_separation: zend_bool,
6286 pub param_count: u32,
6287}
6288#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6289const _: () = {
6290 ["Size of _zend_fcall_info"][::std::mem::size_of::<_zend_fcall_info>() - 72usize];
6291 ["Alignment of _zend_fcall_info"][::std::mem::align_of::<_zend_fcall_info>() - 8usize];
6292 ["Offset of field: _zend_fcall_info::size"]
6293 [::std::mem::offset_of!(_zend_fcall_info, size) - 0usize];
6294 ["Offset of field: _zend_fcall_info::function_table"]
6295 [::std::mem::offset_of!(_zend_fcall_info, function_table) - 8usize];
6296 ["Offset of field: _zend_fcall_info::function_name"]
6297 [::std::mem::offset_of!(_zend_fcall_info, function_name) - 16usize];
6298 ["Offset of field: _zend_fcall_info::symbol_table"]
6299 [::std::mem::offset_of!(_zend_fcall_info, symbol_table) - 32usize];
6300 ["Offset of field: _zend_fcall_info::retval"]
6301 [::std::mem::offset_of!(_zend_fcall_info, retval) - 40usize];
6302 ["Offset of field: _zend_fcall_info::params"]
6303 [::std::mem::offset_of!(_zend_fcall_info, params) - 48usize];
6304 ["Offset of field: _zend_fcall_info::object"]
6305 [::std::mem::offset_of!(_zend_fcall_info, object) - 56usize];
6306 ["Offset of field: _zend_fcall_info::no_separation"]
6307 [::std::mem::offset_of!(_zend_fcall_info, no_separation) - 64usize];
6308 ["Offset of field: _zend_fcall_info::param_count"]
6309 [::std::mem::offset_of!(_zend_fcall_info, param_count) - 68usize];
6310};
6311pub type zend_fcall_info = _zend_fcall_info;
6312#[repr(C)]
6313#[derive(Debug, Copy, Clone)]
6314pub struct _zend_fcall_info_cache {
6315 pub initialized: zend_bool,
6316 pub function_handler: *mut zend_function,
6317 pub calling_scope: *mut zend_class_entry,
6318 pub called_scope: *mut zend_class_entry,
6319 pub object: *mut zend_object,
6320}
6321#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6322const _: () = {
6323 ["Size of _zend_fcall_info_cache"][::std::mem::size_of::<_zend_fcall_info_cache>() - 40usize];
6324 ["Alignment of _zend_fcall_info_cache"]
6325 [::std::mem::align_of::<_zend_fcall_info_cache>() - 8usize];
6326 ["Offset of field: _zend_fcall_info_cache::initialized"]
6327 [::std::mem::offset_of!(_zend_fcall_info_cache, initialized) - 0usize];
6328 ["Offset of field: _zend_fcall_info_cache::function_handler"]
6329 [::std::mem::offset_of!(_zend_fcall_info_cache, function_handler) - 8usize];
6330 ["Offset of field: _zend_fcall_info_cache::calling_scope"]
6331 [::std::mem::offset_of!(_zend_fcall_info_cache, calling_scope) - 16usize];
6332 ["Offset of field: _zend_fcall_info_cache::called_scope"]
6333 [::std::mem::offset_of!(_zend_fcall_info_cache, called_scope) - 24usize];
6334 ["Offset of field: _zend_fcall_info_cache::object"]
6335 [::std::mem::offset_of!(_zend_fcall_info_cache, object) - 32usize];
6336};
6337pub type zend_fcall_info_cache = _zend_fcall_info_cache;
6338extern "C" {
6339 pub fn zend_next_free_module() -> ::std::os::raw::c_int;
6340}
6341extern "C" {
6342 pub fn zend_get_parameters(
6343 ht: ::std::os::raw::c_int,
6344 param_count: ::std::os::raw::c_int,
6345 ...
6346 ) -> ::std::os::raw::c_int;
6347}
6348extern "C" {
6349 pub fn zend_get_parameters_ex(param_count: ::std::os::raw::c_int, ...)
6350 -> ::std::os::raw::c_int;
6351}
6352extern "C" {
6353 pub fn _zend_get_parameters_array_ex(
6354 param_count: ::std::os::raw::c_int,
6355 argument_array: *mut zval,
6356 ) -> ::std::os::raw::c_int;
6357}
6358extern "C" {
6359 pub fn zend_copy_parameters_array(
6360 param_count: ::std::os::raw::c_int,
6361 argument_array: *mut zval,
6362 ) -> ::std::os::raw::c_int;
6363}
6364extern "C" {
6365 pub fn zend_parse_parameters(
6366 num_args: ::std::os::raw::c_int,
6367 type_spec: *const ::std::os::raw::c_char,
6368 ...
6369 ) -> ::std::os::raw::c_int;
6370}
6371extern "C" {
6372 pub fn zend_parse_parameters_ex(
6373 flags: ::std::os::raw::c_int,
6374 num_args: ::std::os::raw::c_int,
6375 type_spec: *const ::std::os::raw::c_char,
6376 ...
6377 ) -> ::std::os::raw::c_int;
6378}
6379extern "C" {
6380 pub fn zend_parse_parameters_throw(
6381 num_args: ::std::os::raw::c_int,
6382 type_spec: *const ::std::os::raw::c_char,
6383 ...
6384 ) -> ::std::os::raw::c_int;
6385}
6386extern "C" {
6387 pub fn zend_zval_type_name(arg: *const zval) -> *mut ::std::os::raw::c_char;
6388}
6389extern "C" {
6390 pub fn zend_parse_method_parameters(
6391 num_args: ::std::os::raw::c_int,
6392 this_ptr: *mut zval,
6393 type_spec: *const ::std::os::raw::c_char,
6394 ...
6395 ) -> ::std::os::raw::c_int;
6396}
6397extern "C" {
6398 pub fn zend_parse_method_parameters_ex(
6399 flags: ::std::os::raw::c_int,
6400 num_args: ::std::os::raw::c_int,
6401 this_ptr: *mut zval,
6402 type_spec: *const ::std::os::raw::c_char,
6403 ...
6404 ) -> ::std::os::raw::c_int;
6405}
6406extern "C" {
6407 pub fn zend_parse_parameter(
6408 flags: ::std::os::raw::c_int,
6409 arg_num: ::std::os::raw::c_int,
6410 arg: *mut zval,
6411 spec: *const ::std::os::raw::c_char,
6412 ...
6413 ) -> ::std::os::raw::c_int;
6414}
6415extern "C" {
6416 pub fn zend_register_functions(
6417 scope: *mut zend_class_entry,
6418 functions: *const zend_function_entry,
6419 function_table: *mut HashTable,
6420 type_: ::std::os::raw::c_int,
6421 ) -> ::std::os::raw::c_int;
6422}
6423extern "C" {
6424 pub fn zend_unregister_functions(
6425 functions: *const zend_function_entry,
6426 count: ::std::os::raw::c_int,
6427 function_table: *mut HashTable,
6428 );
6429}
6430extern "C" {
6431 pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> ::std::os::raw::c_int;
6432}
6433extern "C" {
6434 pub fn zend_register_internal_module(
6435 module_entry: *mut zend_module_entry,
6436 ) -> *mut zend_module_entry;
6437}
6438extern "C" {
6439 pub fn zend_register_module_ex(module: *mut zend_module_entry) -> *mut zend_module_entry;
6440}
6441extern "C" {
6442 pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> ::std::os::raw::c_int;
6443}
6444extern "C" {
6445 pub fn zend_startup_modules() -> ::std::os::raw::c_int;
6446}
6447extern "C" {
6448 pub fn zend_collect_module_handlers();
6449}
6450extern "C" {
6451 pub fn zend_destroy_modules();
6452}
6453extern "C" {
6454 pub fn zend_check_magic_method_implementation(
6455 ce: *const zend_class_entry,
6456 fptr: *const zend_function,
6457 error_type: ::std::os::raw::c_int,
6458 );
6459}
6460extern "C" {
6461 pub fn zend_register_internal_class(
6462 class_entry: *mut zend_class_entry,
6463 ) -> *mut zend_class_entry;
6464}
6465extern "C" {
6466 pub fn zend_register_internal_class_ex(
6467 class_entry: *mut zend_class_entry,
6468 parent_ce: *mut zend_class_entry,
6469 ) -> *mut zend_class_entry;
6470}
6471extern "C" {
6472 pub fn zend_register_internal_interface(
6473 orig_class_entry: *mut zend_class_entry,
6474 ) -> *mut zend_class_entry;
6475}
6476extern "C" {
6477 pub fn zend_class_implements(
6478 class_entry: *mut zend_class_entry,
6479 num_interfaces: ::std::os::raw::c_int,
6480 ...
6481 );
6482}
6483extern "C" {
6484 pub fn zend_register_class_alias_ex(
6485 name: *const ::std::os::raw::c_char,
6486 name_len: usize,
6487 ce: *mut zend_class_entry,
6488 ) -> ::std::os::raw::c_int;
6489}
6490extern "C" {
6491 pub fn zend_disable_function(
6492 function_name: *mut ::std::os::raw::c_char,
6493 function_name_length: usize,
6494 ) -> ::std::os::raw::c_int;
6495}
6496extern "C" {
6497 pub fn zend_disable_class(
6498 class_name: *mut ::std::os::raw::c_char,
6499 class_name_length: usize,
6500 ) -> ::std::os::raw::c_int;
6501}
6502extern "C" {
6503 pub fn zend_wrong_param_count();
6504}
6505extern "C" {
6506 pub fn zend_is_callable_ex(
6507 callable: *mut zval,
6508 object: *mut zend_object,
6509 check_flags: uint,
6510 callable_name: *mut *mut zend_string,
6511 fcc: *mut zend_fcall_info_cache,
6512 error: *mut *mut ::std::os::raw::c_char,
6513 ) -> zend_bool;
6514}
6515extern "C" {
6516 pub fn zend_is_callable(
6517 callable: *mut zval,
6518 check_flags: uint,
6519 callable_name: *mut *mut zend_string,
6520 ) -> zend_bool;
6521}
6522extern "C" {
6523 pub fn zend_make_callable(
6524 callable: *mut zval,
6525 callable_name: *mut *mut zend_string,
6526 ) -> zend_bool;
6527}
6528extern "C" {
6529 pub fn zend_get_module_version(
6530 module_name: *const ::std::os::raw::c_char,
6531 ) -> *const ::std::os::raw::c_char;
6532}
6533extern "C" {
6534 pub fn zend_get_module_started(
6535 module_name: *const ::std::os::raw::c_char,
6536 ) -> ::std::os::raw::c_int;
6537}
6538extern "C" {
6539 pub fn zend_declare_property_ex(
6540 ce: *mut zend_class_entry,
6541 name: *mut zend_string,
6542 property: *mut zval,
6543 access_type: ::std::os::raw::c_int,
6544 doc_comment: *mut zend_string,
6545 ) -> ::std::os::raw::c_int;
6546}
6547extern "C" {
6548 pub fn zend_declare_property(
6549 ce: *mut zend_class_entry,
6550 name: *const ::std::os::raw::c_char,
6551 name_length: usize,
6552 property: *mut zval,
6553 access_type: ::std::os::raw::c_int,
6554 ) -> ::std::os::raw::c_int;
6555}
6556extern "C" {
6557 pub fn zend_declare_property_null(
6558 ce: *mut zend_class_entry,
6559 name: *const ::std::os::raw::c_char,
6560 name_length: usize,
6561 access_type: ::std::os::raw::c_int,
6562 ) -> ::std::os::raw::c_int;
6563}
6564extern "C" {
6565 pub fn zend_declare_property_bool(
6566 ce: *mut zend_class_entry,
6567 name: *const ::std::os::raw::c_char,
6568 name_length: usize,
6569 value: zend_long,
6570 access_type: ::std::os::raw::c_int,
6571 ) -> ::std::os::raw::c_int;
6572}
6573extern "C" {
6574 pub fn zend_declare_property_long(
6575 ce: *mut zend_class_entry,
6576 name: *const ::std::os::raw::c_char,
6577 name_length: usize,
6578 value: zend_long,
6579 access_type: ::std::os::raw::c_int,
6580 ) -> ::std::os::raw::c_int;
6581}
6582extern "C" {
6583 pub fn zend_declare_property_double(
6584 ce: *mut zend_class_entry,
6585 name: *const ::std::os::raw::c_char,
6586 name_length: usize,
6587 value: f64,
6588 access_type: ::std::os::raw::c_int,
6589 ) -> ::std::os::raw::c_int;
6590}
6591extern "C" {
6592 pub fn zend_declare_property_string(
6593 ce: *mut zend_class_entry,
6594 name: *const ::std::os::raw::c_char,
6595 name_length: usize,
6596 value: *const ::std::os::raw::c_char,
6597 access_type: ::std::os::raw::c_int,
6598 ) -> ::std::os::raw::c_int;
6599}
6600extern "C" {
6601 pub fn zend_declare_property_stringl(
6602 ce: *mut zend_class_entry,
6603 name: *const ::std::os::raw::c_char,
6604 name_length: usize,
6605 value: *const ::std::os::raw::c_char,
6606 value_len: usize,
6607 access_type: ::std::os::raw::c_int,
6608 ) -> ::std::os::raw::c_int;
6609}
6610extern "C" {
6611 pub fn zend_declare_class_constant(
6612 ce: *mut zend_class_entry,
6613 name: *const ::std::os::raw::c_char,
6614 name_length: usize,
6615 value: *mut zval,
6616 ) -> ::std::os::raw::c_int;
6617}
6618extern "C" {
6619 pub fn zend_declare_class_constant_null(
6620 ce: *mut zend_class_entry,
6621 name: *const ::std::os::raw::c_char,
6622 name_length: usize,
6623 ) -> ::std::os::raw::c_int;
6624}
6625extern "C" {
6626 pub fn zend_declare_class_constant_long(
6627 ce: *mut zend_class_entry,
6628 name: *const ::std::os::raw::c_char,
6629 name_length: usize,
6630 value: zend_long,
6631 ) -> ::std::os::raw::c_int;
6632}
6633extern "C" {
6634 pub fn zend_declare_class_constant_bool(
6635 ce: *mut zend_class_entry,
6636 name: *const ::std::os::raw::c_char,
6637 name_length: usize,
6638 value: zend_bool,
6639 ) -> ::std::os::raw::c_int;
6640}
6641extern "C" {
6642 pub fn zend_declare_class_constant_double(
6643 ce: *mut zend_class_entry,
6644 name: *const ::std::os::raw::c_char,
6645 name_length: usize,
6646 value: f64,
6647 ) -> ::std::os::raw::c_int;
6648}
6649extern "C" {
6650 pub fn zend_declare_class_constant_stringl(
6651 ce: *mut zend_class_entry,
6652 name: *const ::std::os::raw::c_char,
6653 name_length: usize,
6654 value: *const ::std::os::raw::c_char,
6655 value_length: usize,
6656 ) -> ::std::os::raw::c_int;
6657}
6658extern "C" {
6659 pub fn zend_declare_class_constant_string(
6660 ce: *mut zend_class_entry,
6661 name: *const ::std::os::raw::c_char,
6662 name_length: usize,
6663 value: *const ::std::os::raw::c_char,
6664 ) -> ::std::os::raw::c_int;
6665}
6666extern "C" {
6667 pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> ::std::os::raw::c_int;
6668}
6669extern "C" {
6670 pub fn zend_update_property_ex(
6671 scope: *mut zend_class_entry,
6672 object: *mut zval,
6673 name: *mut zend_string,
6674 value: *mut zval,
6675 );
6676}
6677extern "C" {
6678 pub fn zend_update_property(
6679 scope: *mut zend_class_entry,
6680 object: *mut zval,
6681 name: *const ::std::os::raw::c_char,
6682 name_length: usize,
6683 value: *mut zval,
6684 );
6685}
6686extern "C" {
6687 pub fn zend_update_property_null(
6688 scope: *mut zend_class_entry,
6689 object: *mut zval,
6690 name: *const ::std::os::raw::c_char,
6691 name_length: usize,
6692 );
6693}
6694extern "C" {
6695 pub fn zend_update_property_bool(
6696 scope: *mut zend_class_entry,
6697 object: *mut zval,
6698 name: *const ::std::os::raw::c_char,
6699 name_length: usize,
6700 value: zend_long,
6701 );
6702}
6703extern "C" {
6704 pub fn zend_update_property_long(
6705 scope: *mut zend_class_entry,
6706 object: *mut zval,
6707 name: *const ::std::os::raw::c_char,
6708 name_length: usize,
6709 value: zend_long,
6710 );
6711}
6712extern "C" {
6713 pub fn zend_update_property_double(
6714 scope: *mut zend_class_entry,
6715 object: *mut zval,
6716 name: *const ::std::os::raw::c_char,
6717 name_length: usize,
6718 value: f64,
6719 );
6720}
6721extern "C" {
6722 pub fn zend_update_property_str(
6723 scope: *mut zend_class_entry,
6724 object: *mut zval,
6725 name: *const ::std::os::raw::c_char,
6726 name_length: usize,
6727 value: *mut zend_string,
6728 );
6729}
6730extern "C" {
6731 pub fn zend_update_property_string(
6732 scope: *mut zend_class_entry,
6733 object: *mut zval,
6734 name: *const ::std::os::raw::c_char,
6735 name_length: usize,
6736 value: *const ::std::os::raw::c_char,
6737 );
6738}
6739extern "C" {
6740 pub fn zend_update_property_stringl(
6741 scope: *mut zend_class_entry,
6742 object: *mut zval,
6743 name: *const ::std::os::raw::c_char,
6744 name_length: usize,
6745 value: *const ::std::os::raw::c_char,
6746 value_length: usize,
6747 );
6748}
6749extern "C" {
6750 pub fn zend_unset_property(
6751 scope: *mut zend_class_entry,
6752 object: *mut zval,
6753 name: *const ::std::os::raw::c_char,
6754 name_length: usize,
6755 );
6756}
6757extern "C" {
6758 pub fn zend_update_static_property(
6759 scope: *mut zend_class_entry,
6760 name: *const ::std::os::raw::c_char,
6761 name_length: usize,
6762 value: *mut zval,
6763 ) -> ::std::os::raw::c_int;
6764}
6765extern "C" {
6766 pub fn zend_update_static_property_null(
6767 scope: *mut zend_class_entry,
6768 name: *const ::std::os::raw::c_char,
6769 name_length: usize,
6770 ) -> ::std::os::raw::c_int;
6771}
6772extern "C" {
6773 pub fn zend_update_static_property_bool(
6774 scope: *mut zend_class_entry,
6775 name: *const ::std::os::raw::c_char,
6776 name_length: usize,
6777 value: zend_long,
6778 ) -> ::std::os::raw::c_int;
6779}
6780extern "C" {
6781 pub fn zend_update_static_property_long(
6782 scope: *mut zend_class_entry,
6783 name: *const ::std::os::raw::c_char,
6784 name_length: usize,
6785 value: zend_long,
6786 ) -> ::std::os::raw::c_int;
6787}
6788extern "C" {
6789 pub fn zend_update_static_property_double(
6790 scope: *mut zend_class_entry,
6791 name: *const ::std::os::raw::c_char,
6792 name_length: usize,
6793 value: f64,
6794 ) -> ::std::os::raw::c_int;
6795}
6796extern "C" {
6797 pub fn zend_update_static_property_string(
6798 scope: *mut zend_class_entry,
6799 name: *const ::std::os::raw::c_char,
6800 name_length: usize,
6801 value: *const ::std::os::raw::c_char,
6802 ) -> ::std::os::raw::c_int;
6803}
6804extern "C" {
6805 pub fn zend_update_static_property_stringl(
6806 scope: *mut zend_class_entry,
6807 name: *const ::std::os::raw::c_char,
6808 name_length: usize,
6809 value: *const ::std::os::raw::c_char,
6810 value_length: usize,
6811 ) -> ::std::os::raw::c_int;
6812}
6813extern "C" {
6814 pub fn zend_read_property(
6815 scope: *mut zend_class_entry,
6816 object: *mut zval,
6817 name: *const ::std::os::raw::c_char,
6818 name_length: usize,
6819 silent: zend_bool,
6820 rv: *mut zval,
6821 ) -> *mut zval;
6822}
6823extern "C" {
6824 pub fn zend_read_static_property(
6825 scope: *mut zend_class_entry,
6826 name: *const ::std::os::raw::c_char,
6827 name_length: usize,
6828 silent: zend_bool,
6829 ) -> *mut zval;
6830}
6831extern "C" {
6832 pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
6833}
6834extern "C" {
6835 pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
6836}
6837extern "C" {
6838 pub static empty_fcall_info: zend_fcall_info;
6839}
6840extern "C" {
6841 pub static empty_fcall_info_cache: zend_fcall_info_cache;
6842}
6843extern "C" {
6844 #[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!"]
6845 pub fn zend_fcall_info_init(
6846 callable: *mut zval,
6847 check_flags: uint,
6848 fci: *mut zend_fcall_info,
6849 fcc: *mut zend_fcall_info_cache,
6850 callable_name: *mut *mut zend_string,
6851 error: *mut *mut ::std::os::raw::c_char,
6852 ) -> ::std::os::raw::c_int;
6853}
6854extern "C" {
6855 #[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"]
6856 pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: ::std::os::raw::c_int);
6857}
6858extern "C" {
6859 #[doc = " Save current arguments from zend_fcall_info *fci\n params array will be set to NULL"]
6860 pub fn zend_fcall_info_args_save(
6861 fci: *mut zend_fcall_info,
6862 param_count: *mut ::std::os::raw::c_int,
6863 params: *mut *mut zval,
6864 );
6865}
6866extern "C" {
6867 #[doc = " Free arguments connected with zend_fcall_info *fci andset back saved ones."]
6868 pub fn zend_fcall_info_args_restore(
6869 fci: *mut zend_fcall_info,
6870 param_count: ::std::os::raw::c_int,
6871 params: *mut zval,
6872 );
6873}
6874extern "C" {
6875 #[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."]
6876 pub fn zend_fcall_info_args(
6877 fci: *mut zend_fcall_info,
6878 args: *mut zval,
6879 ) -> ::std::os::raw::c_int;
6880}
6881extern "C" {
6882 pub fn zend_fcall_info_args_ex(
6883 fci: *mut zend_fcall_info,
6884 func: *mut zend_function,
6885 args: *mut zval,
6886 ) -> ::std::os::raw::c_int;
6887}
6888extern "C" {
6889 #[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."]
6890 pub fn zend_fcall_info_argp(
6891 fci: *mut zend_fcall_info,
6892 argc: ::std::os::raw::c_int,
6893 argv: *mut zval,
6894 ) -> ::std::os::raw::c_int;
6895}
6896extern "C" {
6897 #[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."]
6898 pub fn zend_fcall_info_argv(
6899 fci: *mut zend_fcall_info,
6900 argc: ::std::os::raw::c_int,
6901 argv: *mut va_list,
6902 ) -> ::std::os::raw::c_int;
6903}
6904extern "C" {
6905 #[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."]
6906 pub fn zend_fcall_info_argn(
6907 fci: *mut zend_fcall_info,
6908 argc: ::std::os::raw::c_int,
6909 ...
6910 ) -> ::std::os::raw::c_int;
6911}
6912extern "C" {
6913 #[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."]
6914 pub fn zend_fcall_info_call(
6915 fci: *mut zend_fcall_info,
6916 fcc: *mut zend_fcall_info_cache,
6917 retval: *mut zval,
6918 args: *mut zval,
6919 ) -> ::std::os::raw::c_int;
6920}
6921extern "C" {
6922 pub fn zend_call_function(
6923 fci: *mut zend_fcall_info,
6924 fci_cache: *mut zend_fcall_info_cache,
6925 ) -> ::std::os::raw::c_int;
6926}
6927extern "C" {
6928 pub fn zend_set_hash_symbol(
6929 symbol: *mut zval,
6930 name: *const ::std::os::raw::c_char,
6931 name_length: ::std::os::raw::c_int,
6932 is_ref: zend_bool,
6933 num_symbol_tables: ::std::os::raw::c_int,
6934 ...
6935 ) -> ::std::os::raw::c_int;
6936}
6937extern "C" {
6938 pub fn zend_delete_global_variable(name: *mut zend_string) -> ::std::os::raw::c_int;
6939}
6940extern "C" {
6941 pub fn zend_rebuild_symbol_table() -> *mut zend_array;
6942}
6943extern "C" {
6944 pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
6945}
6946extern "C" {
6947 pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
6948}
6949extern "C" {
6950 pub fn zend_set_local_var(
6951 name: *mut zend_string,
6952 value: *mut zval,
6953 force: ::std::os::raw::c_int,
6954 ) -> ::std::os::raw::c_int;
6955}
6956extern "C" {
6957 pub fn zend_set_local_var_str(
6958 name: *const ::std::os::raw::c_char,
6959 len: usize,
6960 value: *mut zval,
6961 force: ::std::os::raw::c_int,
6962 ) -> ::std::os::raw::c_int;
6963}
6964extern "C" {
6965 pub fn zend_find_alias_name(
6966 ce: *mut zend_class_entry,
6967 name: *mut zend_string,
6968 ) -> *mut zend_string;
6969}
6970extern "C" {
6971 pub fn zend_resolve_method_name(
6972 ce: *mut zend_class_entry,
6973 f: *mut zend_function,
6974 ) -> *mut zend_string;
6975}
6976extern "C" {
6977 pub fn zend_get_object_type(ce: *const zend_class_entry) -> *const ::std::os::raw::c_char;
6978}
6979pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
6980pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 1;
6981pub const _zend_expected_type_Z_EXPECTED_STRING: _zend_expected_type = 2;
6982pub const _zend_expected_type_Z_EXPECTED_ARRAY: _zend_expected_type = 3;
6983pub const _zend_expected_type_Z_EXPECTED_FUNC: _zend_expected_type = 4;
6984pub const _zend_expected_type_Z_EXPECTED_RESOURCE: _zend_expected_type = 5;
6985pub const _zend_expected_type_Z_EXPECTED_PATH: _zend_expected_type = 6;
6986pub const _zend_expected_type_Z_EXPECTED_OBJECT: _zend_expected_type = 7;
6987pub const _zend_expected_type_Z_EXPECTED_DOUBLE: _zend_expected_type = 8;
6988pub const _zend_expected_type_Z_EXPECTED_LAST: _zend_expected_type = 9;
6989pub type _zend_expected_type = ::std::os::raw::c_uint;
6990pub use self::_zend_expected_type as zend_expected_type;
6991extern "C" {
6992 pub fn zend_wrong_paramers_count_error(
6993 num_args: ::std::os::raw::c_int,
6994 min_num_args: ::std::os::raw::c_int,
6995 max_num_args: ::std::os::raw::c_int,
6996 );
6997}
6998extern "C" {
6999 pub fn zend_wrong_paramer_type_error(
7000 num: ::std::os::raw::c_int,
7001 expected_type: zend_expected_type,
7002 arg: *mut zval,
7003 );
7004}
7005extern "C" {
7006 pub fn zend_wrong_paramer_class_error(
7007 num: ::std::os::raw::c_int,
7008 name: *mut ::std::os::raw::c_char,
7009 arg: *mut zval,
7010 );
7011}
7012extern "C" {
7013 pub fn zend_wrong_callback_error(
7014 severity: ::std::os::raw::c_int,
7015 num: ::std::os::raw::c_int,
7016 error: *mut ::std::os::raw::c_char,
7017 );
7018}
7019extern "C" {
7020 pub fn zend_parse_arg_class(
7021 arg: *mut zval,
7022 pce: *mut *mut zend_class_entry,
7023 num: ::std::os::raw::c_int,
7024 check_null: ::std::os::raw::c_int,
7025 ) -> ::std::os::raw::c_int;
7026}
7027extern "C" {
7028 pub fn zend_parse_arg_bool_slow(arg: *mut zval, dest: *mut zend_bool) -> ::std::os::raw::c_int;
7029}
7030extern "C" {
7031 pub fn zend_parse_arg_bool_weak(arg: *mut zval, dest: *mut zend_bool) -> ::std::os::raw::c_int;
7032}
7033extern "C" {
7034 pub fn zend_parse_arg_long_slow(arg: *mut zval, dest: *mut zend_long) -> ::std::os::raw::c_int;
7035}
7036extern "C" {
7037 pub fn zend_parse_arg_long_weak(arg: *mut zval, dest: *mut zend_long) -> ::std::os::raw::c_int;
7038}
7039extern "C" {
7040 pub fn zend_parse_arg_long_cap_slow(
7041 arg: *mut zval,
7042 dest: *mut zend_long,
7043 ) -> ::std::os::raw::c_int;
7044}
7045extern "C" {
7046 pub fn zend_parse_arg_long_cap_weak(
7047 arg: *mut zval,
7048 dest: *mut zend_long,
7049 ) -> ::std::os::raw::c_int;
7050}
7051extern "C" {
7052 pub fn zend_parse_arg_double_slow(arg: *mut zval, dest: *mut f64) -> ::std::os::raw::c_int;
7053}
7054extern "C" {
7055 pub fn zend_parse_arg_double_weak(arg: *mut zval, dest: *mut f64) -> ::std::os::raw::c_int;
7056}
7057extern "C" {
7058 pub fn zend_parse_arg_str_slow(
7059 arg: *mut zval,
7060 dest: *mut *mut zend_string,
7061 ) -> ::std::os::raw::c_int;
7062}
7063extern "C" {
7064 pub fn zend_parse_arg_str_weak(
7065 arg: *mut zval,
7066 dest: *mut *mut zend_string,
7067 ) -> ::std::os::raw::c_int;
7068}
7069extern "C" {
7070 pub fn php_strlcpy(
7071 dst: *mut ::std::os::raw::c_char,
7072 src: *const ::std::os::raw::c_char,
7073 siz: usize,
7074 ) -> usize;
7075}
7076extern "C" {
7077 pub fn php_strlcat(
7078 dst: *mut ::std::os::raw::c_char,
7079 src: *const ::std::os::raw::c_char,
7080 siz: usize,
7081 ) -> usize;
7082}
7083pub type socklen_t = __socklen_t;
7084pub type bool_int = ::std::os::raw::c_int;
7085pub const boolean_e_NO: boolean_e = 0;
7086pub const boolean_e_YES: boolean_e = 1;
7087pub type boolean_e = ::std::os::raw::c_uint;
7088extern "C" {
7089 pub fn php_sprintf(
7090 s: *mut ::std::os::raw::c_char,
7091 format: *const ::std::os::raw::c_char,
7092 ...
7093 ) -> ::std::os::raw::c_int;
7094}
7095extern "C" {
7096 pub fn php_gcvt(
7097 value: f64,
7098 ndigit: ::std::os::raw::c_int,
7099 dec_point: ::std::os::raw::c_char,
7100 exponent: ::std::os::raw::c_char,
7101 buf: *mut ::std::os::raw::c_char,
7102 ) -> *mut ::std::os::raw::c_char;
7103}
7104extern "C" {
7105 pub fn php_conv_fp(
7106 format: ::std::os::raw::c_char,
7107 num: f64,
7108 add_dp: boolean_e,
7109 precision: ::std::os::raw::c_int,
7110 dec_point: ::std::os::raw::c_char,
7111 is_negative: *mut bool_int,
7112 buf: *mut ::std::os::raw::c_char,
7113 len: *mut usize,
7114 ) -> *mut ::std::os::raw::c_char;
7115}
7116extern "C" {
7117 pub fn php_write(buf: *mut ::std::os::raw::c_void, size: usize) -> usize;
7118}
7119extern "C" {
7120 pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> usize;
7121}
7122extern "C" {
7123 pub fn php_get_module_initialized() -> ::std::os::raw::c_int;
7124}
7125extern "C" {
7126 pub fn php_log_err(log_message: *mut ::std::os::raw::c_char);
7127}
7128extern "C" {
7129 pub fn php_verror(
7130 docref: *const ::std::os::raw::c_char,
7131 params: *const ::std::os::raw::c_char,
7132 type_: ::std::os::raw::c_int,
7133 format: *const ::std::os::raw::c_char,
7134 args: *mut __va_list_tag,
7135 );
7136}
7137extern "C" {
7138 pub fn php_error_docref0(
7139 docref: *const ::std::os::raw::c_char,
7140 type_: ::std::os::raw::c_int,
7141 format: *const ::std::os::raw::c_char,
7142 ...
7143 );
7144}
7145extern "C" {
7146 pub fn php_error_docref1(
7147 docref: *const ::std::os::raw::c_char,
7148 param1: *const ::std::os::raw::c_char,
7149 type_: ::std::os::raw::c_int,
7150 format: *const ::std::os::raw::c_char,
7151 ...
7152 );
7153}
7154extern "C" {
7155 pub fn php_error_docref2(
7156 docref: *const ::std::os::raw::c_char,
7157 param1: *const ::std::os::raw::c_char,
7158 param2: *const ::std::os::raw::c_char,
7159 type_: ::std::os::raw::c_int,
7160 format: *const ::std::os::raw::c_char,
7161 ...
7162 );
7163}
7164extern "C" {
7165 pub static mut php_register_internal_extensions_func:
7166 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
7167}
7168extern "C" {
7169 pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
7170}
7171extern "C" {
7172 pub fn php_mergesort(
7173 base: *mut ::std::os::raw::c_void,
7174 nmemb: usize,
7175 size: usize,
7176 cmp: ::std::option::Option<
7177 unsafe extern "C" fn(
7178 arg1: *const ::std::os::raw::c_void,
7179 arg2: *const ::std::os::raw::c_void,
7180 ) -> ::std::os::raw::c_int,
7181 >,
7182 ) -> ::std::os::raw::c_int;
7183}
7184extern "C" {
7185 pub fn php_register_pre_request_shutdown(
7186 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
7187 userdata: *mut ::std::os::raw::c_void,
7188 );
7189}
7190extern "C" {
7191 pub fn php_com_initialize();
7192}
7193extern "C" {
7194 pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
7195}
7196pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
7197 0;
7198pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
7199 1;
7200pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
7201 2;
7202pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
7203 3;
7204pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
7205 4;
7206pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
7207pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
7208pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
7209#[repr(C)]
7210#[derive(Debug, Copy, Clone)]
7211pub struct _php_output_buffer {
7212 pub data: *mut ::std::os::raw::c_char,
7213 pub size: usize,
7214 pub used: usize,
7215 pub _bitfield_align_1: [u32; 0],
7216 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
7217 pub __bindgen_padding_0: u32,
7218}
7219#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7220const _: () = {
7221 ["Size of _php_output_buffer"][::std::mem::size_of::<_php_output_buffer>() - 32usize];
7222 ["Alignment of _php_output_buffer"][::std::mem::align_of::<_php_output_buffer>() - 8usize];
7223 ["Offset of field: _php_output_buffer::data"]
7224 [::std::mem::offset_of!(_php_output_buffer, data) - 0usize];
7225 ["Offset of field: _php_output_buffer::size"]
7226 [::std::mem::offset_of!(_php_output_buffer, size) - 8usize];
7227 ["Offset of field: _php_output_buffer::used"]
7228 [::std::mem::offset_of!(_php_output_buffer, used) - 16usize];
7229};
7230impl _php_output_buffer {
7231 #[inline]
7232 pub fn free(&self) -> uint {
7233 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
7234 }
7235 #[inline]
7236 pub fn set_free(&mut self, val: uint) {
7237 unsafe {
7238 let val: u32 = ::std::mem::transmute(val);
7239 self._bitfield_1.set(0usize, 1u8, val as u64)
7240 }
7241 }
7242 #[inline]
7243 pub fn _reserved(&self) -> uint {
7244 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
7245 }
7246 #[inline]
7247 pub fn set__reserved(&mut self, val: uint) {
7248 unsafe {
7249 let val: u32 = ::std::mem::transmute(val);
7250 self._bitfield_1.set(1usize, 31u8, val as u64)
7251 }
7252 }
7253 #[inline]
7254 pub fn new_bitfield_1(free: uint, _reserved: uint) -> __BindgenBitfieldUnit<[u8; 4usize]> {
7255 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
7256 __bindgen_bitfield_unit.set(0usize, 1u8, {
7257 let free: u32 = unsafe { ::std::mem::transmute(free) };
7258 free as u64
7259 });
7260 __bindgen_bitfield_unit.set(1usize, 31u8, {
7261 let _reserved: u32 = unsafe { ::std::mem::transmute(_reserved) };
7262 _reserved as u64
7263 });
7264 __bindgen_bitfield_unit
7265 }
7266}
7267pub type php_output_buffer = _php_output_buffer;
7268#[repr(C)]
7269#[derive(Debug, Copy, Clone)]
7270pub struct _php_output_context {
7271 pub op: ::std::os::raw::c_int,
7272 pub in_: php_output_buffer,
7273 pub out: php_output_buffer,
7274}
7275#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7276const _: () = {
7277 ["Size of _php_output_context"][::std::mem::size_of::<_php_output_context>() - 72usize];
7278 ["Alignment of _php_output_context"][::std::mem::align_of::<_php_output_context>() - 8usize];
7279 ["Offset of field: _php_output_context::op"]
7280 [::std::mem::offset_of!(_php_output_context, op) - 0usize];
7281 ["Offset of field: _php_output_context::in_"]
7282 [::std::mem::offset_of!(_php_output_context, in_) - 8usize];
7283 ["Offset of field: _php_output_context::out"]
7284 [::std::mem::offset_of!(_php_output_context, out) - 40usize];
7285};
7286pub type php_output_context = _php_output_context;
7287pub type php_output_handler_func_t = ::std::option::Option<
7288 unsafe extern "C" fn(
7289 output: *mut ::std::os::raw::c_char,
7290 output_len: usize,
7291 handled_output: *mut *mut ::std::os::raw::c_char,
7292 handled_output_len: *mut usize,
7293 mode: ::std::os::raw::c_int,
7294 ),
7295>;
7296pub type php_output_handler_context_func_t = ::std::option::Option<
7297 unsafe extern "C" fn(
7298 handler_context: *mut *mut ::std::os::raw::c_void,
7299 output_context: *mut php_output_context,
7300 ) -> ::std::os::raw::c_int,
7301>;
7302pub type php_output_handler_conflict_check_t = ::std::option::Option<
7303 unsafe extern "C" fn(
7304 handler_name: *const ::std::os::raw::c_char,
7305 handler_name_len: usize,
7306 ) -> ::std::os::raw::c_int,
7307>;
7308pub type php_output_handler_alias_ctor_t = ::std::option::Option<
7309 unsafe extern "C" fn(
7310 handler_name: *const ::std::os::raw::c_char,
7311 handler_name_len: usize,
7312 chunk_size: usize,
7313 flags: ::std::os::raw::c_int,
7314 ) -> *mut _php_output_handler,
7315>;
7316#[repr(C)]
7317#[derive(Copy, Clone)]
7318pub struct _php_output_handler_user_func_t {
7319 pub fci: zend_fcall_info,
7320 pub fcc: zend_fcall_info_cache,
7321 pub zoh: zval,
7322}
7323#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7324const _: () = {
7325 ["Size of _php_output_handler_user_func_t"]
7326 [::std::mem::size_of::<_php_output_handler_user_func_t>() - 128usize];
7327 ["Alignment of _php_output_handler_user_func_t"]
7328 [::std::mem::align_of::<_php_output_handler_user_func_t>() - 8usize];
7329 ["Offset of field: _php_output_handler_user_func_t::fci"]
7330 [::std::mem::offset_of!(_php_output_handler_user_func_t, fci) - 0usize];
7331 ["Offset of field: _php_output_handler_user_func_t::fcc"]
7332 [::std::mem::offset_of!(_php_output_handler_user_func_t, fcc) - 72usize];
7333 ["Offset of field: _php_output_handler_user_func_t::zoh"]
7334 [::std::mem::offset_of!(_php_output_handler_user_func_t, zoh) - 112usize];
7335};
7336pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
7337#[repr(C)]
7338#[derive(Copy, Clone)]
7339pub struct _php_output_handler {
7340 pub name: *mut zend_string,
7341 pub flags: ::std::os::raw::c_int,
7342 pub level: ::std::os::raw::c_int,
7343 pub size: usize,
7344 pub buffer: php_output_buffer,
7345 pub opaq: *mut ::std::os::raw::c_void,
7346 pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
7347 pub func: _php_output_handler__bindgen_ty_1,
7348}
7349#[repr(C)]
7350#[derive(Copy, Clone)]
7351pub union _php_output_handler__bindgen_ty_1 {
7352 pub user: *mut php_output_handler_user_func_t,
7353 pub internal: php_output_handler_context_func_t,
7354}
7355#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7356const _: () = {
7357 ["Size of _php_output_handler__bindgen_ty_1"]
7358 [::std::mem::size_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
7359 ["Alignment of _php_output_handler__bindgen_ty_1"]
7360 [::std::mem::align_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
7361 ["Offset of field: _php_output_handler__bindgen_ty_1::user"]
7362 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, user) - 0usize];
7363 ["Offset of field: _php_output_handler__bindgen_ty_1::internal"]
7364 [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, internal) - 0usize];
7365};
7366#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7367const _: () = {
7368 ["Size of _php_output_handler"][::std::mem::size_of::<_php_output_handler>() - 80usize];
7369 ["Alignment of _php_output_handler"][::std::mem::align_of::<_php_output_handler>() - 8usize];
7370 ["Offset of field: _php_output_handler::name"]
7371 [::std::mem::offset_of!(_php_output_handler, name) - 0usize];
7372 ["Offset of field: _php_output_handler::flags"]
7373 [::std::mem::offset_of!(_php_output_handler, flags) - 8usize];
7374 ["Offset of field: _php_output_handler::level"]
7375 [::std::mem::offset_of!(_php_output_handler, level) - 12usize];
7376 ["Offset of field: _php_output_handler::size"]
7377 [::std::mem::offset_of!(_php_output_handler, size) - 16usize];
7378 ["Offset of field: _php_output_handler::buffer"]
7379 [::std::mem::offset_of!(_php_output_handler, buffer) - 24usize];
7380 ["Offset of field: _php_output_handler::opaq"]
7381 [::std::mem::offset_of!(_php_output_handler, opaq) - 56usize];
7382 ["Offset of field: _php_output_handler::dtor"]
7383 [::std::mem::offset_of!(_php_output_handler, dtor) - 64usize];
7384 ["Offset of field: _php_output_handler::func"]
7385 [::std::mem::offset_of!(_php_output_handler, func) - 72usize];
7386};
7387pub type php_output_handler = _php_output_handler;
7388#[repr(C)]
7389#[derive(Debug, Copy, Clone)]
7390pub struct _zend_output_globals {
7391 pub handlers: zend_stack,
7392 pub active: *mut php_output_handler,
7393 pub running: *mut php_output_handler,
7394 pub output_start_filename: *const ::std::os::raw::c_char,
7395 pub output_start_lineno: ::std::os::raw::c_int,
7396 pub flags: ::std::os::raw::c_int,
7397}
7398#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7399const _: () = {
7400 ["Size of _zend_output_globals"][::std::mem::size_of::<_zend_output_globals>() - 56usize];
7401 ["Alignment of _zend_output_globals"][::std::mem::align_of::<_zend_output_globals>() - 8usize];
7402 ["Offset of field: _zend_output_globals::handlers"]
7403 [::std::mem::offset_of!(_zend_output_globals, handlers) - 0usize];
7404 ["Offset of field: _zend_output_globals::active"]
7405 [::std::mem::offset_of!(_zend_output_globals, active) - 24usize];
7406 ["Offset of field: _zend_output_globals::running"]
7407 [::std::mem::offset_of!(_zend_output_globals, running) - 32usize];
7408 ["Offset of field: _zend_output_globals::output_start_filename"]
7409 [::std::mem::offset_of!(_zend_output_globals, output_start_filename) - 40usize];
7410 ["Offset of field: _zend_output_globals::output_start_lineno"]
7411 [::std::mem::offset_of!(_zend_output_globals, output_start_lineno) - 48usize];
7412 ["Offset of field: _zend_output_globals::flags"]
7413 [::std::mem::offset_of!(_zend_output_globals, flags) - 52usize];
7414};
7415pub type zend_output_globals = _zend_output_globals;
7416extern "C" {
7417 pub static mut output_globals: zend_output_globals;
7418}
7419extern "C" {
7420 pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
7421}
7422extern "C" {
7423 pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
7424}
7425extern "C" {
7426 pub fn php_output_startup();
7427}
7428extern "C" {
7429 pub fn php_output_shutdown();
7430}
7431extern "C" {
7432 pub fn php_output_register_constants();
7433}
7434extern "C" {
7435 pub fn php_output_activate() -> ::std::os::raw::c_int;
7436}
7437extern "C" {
7438 pub fn php_output_deactivate();
7439}
7440extern "C" {
7441 pub fn php_output_set_status(status: ::std::os::raw::c_int);
7442}
7443extern "C" {
7444 pub fn php_output_get_status() -> ::std::os::raw::c_int;
7445}
7446extern "C" {
7447 pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
7448}
7449extern "C" {
7450 pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
7451}
7452extern "C" {
7453 pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
7454}
7455extern "C" {
7456 pub fn php_output_write_unbuffered(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
7457}
7458extern "C" {
7459 pub fn php_output_write(str_: *const ::std::os::raw::c_char, len: usize) -> usize;
7460}
7461extern "C" {
7462 pub fn php_output_flush() -> ::std::os::raw::c_int;
7463}
7464extern "C" {
7465 pub fn php_output_flush_all();
7466}
7467extern "C" {
7468 pub fn php_output_clean() -> ::std::os::raw::c_int;
7469}
7470extern "C" {
7471 pub fn php_output_clean_all();
7472}
7473extern "C" {
7474 pub fn php_output_end() -> ::std::os::raw::c_int;
7475}
7476extern "C" {
7477 pub fn php_output_end_all();
7478}
7479extern "C" {
7480 pub fn php_output_discard() -> ::std::os::raw::c_int;
7481}
7482extern "C" {
7483 pub fn php_output_discard_all();
7484}
7485extern "C" {
7486 pub fn php_output_get_contents(p: *mut zval) -> ::std::os::raw::c_int;
7487}
7488extern "C" {
7489 pub fn php_output_get_length(p: *mut zval) -> ::std::os::raw::c_int;
7490}
7491extern "C" {
7492 pub fn php_output_get_level() -> ::std::os::raw::c_int;
7493}
7494extern "C" {
7495 pub fn php_output_get_active_handler() -> *mut php_output_handler;
7496}
7497extern "C" {
7498 pub fn php_output_start_default() -> ::std::os::raw::c_int;
7499}
7500extern "C" {
7501 pub fn php_output_start_devnull() -> ::std::os::raw::c_int;
7502}
7503extern "C" {
7504 pub fn php_output_start_user(
7505 output_handler: *mut zval,
7506 chunk_size: usize,
7507 flags: ::std::os::raw::c_int,
7508 ) -> ::std::os::raw::c_int;
7509}
7510extern "C" {
7511 pub fn php_output_start_internal(
7512 name: *const ::std::os::raw::c_char,
7513 name_len: usize,
7514 output_handler: php_output_handler_func_t,
7515 chunk_size: usize,
7516 flags: ::std::os::raw::c_int,
7517 ) -> ::std::os::raw::c_int;
7518}
7519extern "C" {
7520 pub fn php_output_handler_create_user(
7521 handler: *mut zval,
7522 chunk_size: usize,
7523 flags: ::std::os::raw::c_int,
7524 ) -> *mut php_output_handler;
7525}
7526extern "C" {
7527 pub fn php_output_handler_create_internal(
7528 name: *const ::std::os::raw::c_char,
7529 name_len: usize,
7530 handler: php_output_handler_context_func_t,
7531 chunk_size: usize,
7532 flags: ::std::os::raw::c_int,
7533 ) -> *mut php_output_handler;
7534}
7535extern "C" {
7536 pub fn php_output_handler_set_context(
7537 handler: *mut php_output_handler,
7538 opaq: *mut ::std::os::raw::c_void,
7539 dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
7540 );
7541}
7542extern "C" {
7543 pub fn php_output_handler_start(handler: *mut php_output_handler) -> ::std::os::raw::c_int;
7544}
7545extern "C" {
7546 pub fn php_output_handler_started(
7547 name: *const ::std::os::raw::c_char,
7548 name_len: usize,
7549 ) -> ::std::os::raw::c_int;
7550}
7551extern "C" {
7552 pub fn php_output_handler_hook(
7553 type_: php_output_handler_hook_t,
7554 arg: *mut ::std::os::raw::c_void,
7555 ) -> ::std::os::raw::c_int;
7556}
7557extern "C" {
7558 pub fn php_output_handler_dtor(handler: *mut php_output_handler);
7559}
7560extern "C" {
7561 pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
7562}
7563extern "C" {
7564 pub fn php_output_handler_conflict(
7565 handler_new: *const ::std::os::raw::c_char,
7566 handler_new_len: usize,
7567 handler_set: *const ::std::os::raw::c_char,
7568 handler_set_len: usize,
7569 ) -> ::std::os::raw::c_int;
7570}
7571extern "C" {
7572 pub fn php_output_handler_conflict_register(
7573 handler_name: *const ::std::os::raw::c_char,
7574 handler_name_len: usize,
7575 check_func: php_output_handler_conflict_check_t,
7576 ) -> ::std::os::raw::c_int;
7577}
7578extern "C" {
7579 pub fn php_output_handler_reverse_conflict_register(
7580 handler_name: *const ::std::os::raw::c_char,
7581 handler_name_len: usize,
7582 check_func: php_output_handler_conflict_check_t,
7583 ) -> ::std::os::raw::c_int;
7584}
7585extern "C" {
7586 pub fn php_output_handler_alias(
7587 handler_name: *const ::std::os::raw::c_char,
7588 handler_name_len: usize,
7589 ) -> php_output_handler_alias_ctor_t;
7590}
7591extern "C" {
7592 pub fn php_output_handler_alias_register(
7593 handler_name: *const ::std::os::raw::c_char,
7594 handler_name_len: usize,
7595 func: php_output_handler_alias_ctor_t,
7596 ) -> ::std::os::raw::c_int;
7597}
7598extern "C" {
7599 pub fn php_file_le_stream() -> ::std::os::raw::c_int;
7600}
7601extern "C" {
7602 pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
7603}
7604extern "C" {
7605 pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
7606}
7607pub type php_stream = _php_stream;
7608pub type php_stream_wrapper = _php_stream_wrapper;
7609pub type php_stream_context = _php_stream_context;
7610pub type php_stream_filter = _php_stream_filter;
7611pub type php_stream_notification_func = ::std::option::Option<
7612 unsafe extern "C" fn(
7613 context: *mut php_stream_context,
7614 notifycode: ::std::os::raw::c_int,
7615 severity: ::std::os::raw::c_int,
7616 xmsg: *mut ::std::os::raw::c_char,
7617 xcode: ::std::os::raw::c_int,
7618 bytes_sofar: usize,
7619 bytes_max: usize,
7620 ptr: *mut ::std::os::raw::c_void,
7621 ),
7622>;
7623pub type php_stream_notifier = _php_stream_notifier;
7624#[repr(C)]
7625#[derive(Copy, Clone)]
7626pub struct _php_stream_notifier {
7627 pub func: php_stream_notification_func,
7628 pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
7629 pub ptr: zval,
7630 pub mask: ::std::os::raw::c_int,
7631 pub progress: usize,
7632 pub progress_max: usize,
7633}
7634#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7635const _: () = {
7636 ["Size of _php_stream_notifier"][::std::mem::size_of::<_php_stream_notifier>() - 56usize];
7637 ["Alignment of _php_stream_notifier"][::std::mem::align_of::<_php_stream_notifier>() - 8usize];
7638 ["Offset of field: _php_stream_notifier::func"]
7639 [::std::mem::offset_of!(_php_stream_notifier, func) - 0usize];
7640 ["Offset of field: _php_stream_notifier::dtor"]
7641 [::std::mem::offset_of!(_php_stream_notifier, dtor) - 8usize];
7642 ["Offset of field: _php_stream_notifier::ptr"]
7643 [::std::mem::offset_of!(_php_stream_notifier, ptr) - 16usize];
7644 ["Offset of field: _php_stream_notifier::mask"]
7645 [::std::mem::offset_of!(_php_stream_notifier, mask) - 32usize];
7646 ["Offset of field: _php_stream_notifier::progress"]
7647 [::std::mem::offset_of!(_php_stream_notifier, progress) - 40usize];
7648 ["Offset of field: _php_stream_notifier::progress_max"]
7649 [::std::mem::offset_of!(_php_stream_notifier, progress_max) - 48usize];
7650};
7651#[repr(C)]
7652#[derive(Copy, Clone)]
7653pub struct _php_stream_context {
7654 pub notifier: *mut php_stream_notifier,
7655 pub options: zval,
7656 pub res: *mut zend_resource,
7657}
7658#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7659const _: () = {
7660 ["Size of _php_stream_context"][::std::mem::size_of::<_php_stream_context>() - 32usize];
7661 ["Alignment of _php_stream_context"][::std::mem::align_of::<_php_stream_context>() - 8usize];
7662 ["Offset of field: _php_stream_context::notifier"]
7663 [::std::mem::offset_of!(_php_stream_context, notifier) - 0usize];
7664 ["Offset of field: _php_stream_context::options"]
7665 [::std::mem::offset_of!(_php_stream_context, options) - 8usize];
7666 ["Offset of field: _php_stream_context::res"]
7667 [::std::mem::offset_of!(_php_stream_context, res) - 24usize];
7668};
7669extern "C" {
7670 pub fn php_stream_context_free(context: *mut php_stream_context);
7671}
7672extern "C" {
7673 pub fn php_stream_context_alloc() -> *mut php_stream_context;
7674}
7675extern "C" {
7676 pub fn php_stream_context_get_option(
7677 context: *mut php_stream_context,
7678 wrappername: *const ::std::os::raw::c_char,
7679 optionname: *const ::std::os::raw::c_char,
7680 ) -> *mut zval;
7681}
7682extern "C" {
7683 pub fn php_stream_context_set_option(
7684 context: *mut php_stream_context,
7685 wrappername: *const ::std::os::raw::c_char,
7686 optionname: *const ::std::os::raw::c_char,
7687 optionvalue: *mut zval,
7688 ) -> ::std::os::raw::c_int;
7689}
7690extern "C" {
7691 pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
7692}
7693extern "C" {
7694 pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
7695}
7696extern "C" {
7697 pub fn php_stream_notification_notify(
7698 context: *mut php_stream_context,
7699 notifycode: ::std::os::raw::c_int,
7700 severity: ::std::os::raw::c_int,
7701 xmsg: *mut ::std::os::raw::c_char,
7702 xcode: ::std::os::raw::c_int,
7703 bytes_sofar: usize,
7704 bytes_max: usize,
7705 ptr: *mut ::std::os::raw::c_void,
7706 );
7707}
7708extern "C" {
7709 pub fn php_stream_context_set(
7710 stream: *mut php_stream,
7711 context: *mut php_stream_context,
7712 ) -> *mut php_stream_context;
7713}
7714pub type php_stream_bucket = _php_stream_bucket;
7715pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
7716#[repr(C)]
7717#[derive(Debug, Copy, Clone)]
7718pub struct _php_stream_bucket {
7719 pub next: *mut php_stream_bucket,
7720 pub prev: *mut php_stream_bucket,
7721 pub brigade: *mut php_stream_bucket_brigade,
7722 pub buf: *mut ::std::os::raw::c_char,
7723 pub buflen: usize,
7724 pub own_buf: ::std::os::raw::c_int,
7725 pub is_persistent: ::std::os::raw::c_int,
7726 pub refcount: ::std::os::raw::c_int,
7727}
7728#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7729const _: () = {
7730 ["Size of _php_stream_bucket"][::std::mem::size_of::<_php_stream_bucket>() - 56usize];
7731 ["Alignment of _php_stream_bucket"][::std::mem::align_of::<_php_stream_bucket>() - 8usize];
7732 ["Offset of field: _php_stream_bucket::next"]
7733 [::std::mem::offset_of!(_php_stream_bucket, next) - 0usize];
7734 ["Offset of field: _php_stream_bucket::prev"]
7735 [::std::mem::offset_of!(_php_stream_bucket, prev) - 8usize];
7736 ["Offset of field: _php_stream_bucket::brigade"]
7737 [::std::mem::offset_of!(_php_stream_bucket, brigade) - 16usize];
7738 ["Offset of field: _php_stream_bucket::buf"]
7739 [::std::mem::offset_of!(_php_stream_bucket, buf) - 24usize];
7740 ["Offset of field: _php_stream_bucket::buflen"]
7741 [::std::mem::offset_of!(_php_stream_bucket, buflen) - 32usize];
7742 ["Offset of field: _php_stream_bucket::own_buf"]
7743 [::std::mem::offset_of!(_php_stream_bucket, own_buf) - 40usize];
7744 ["Offset of field: _php_stream_bucket::is_persistent"]
7745 [::std::mem::offset_of!(_php_stream_bucket, is_persistent) - 44usize];
7746 ["Offset of field: _php_stream_bucket::refcount"]
7747 [::std::mem::offset_of!(_php_stream_bucket, refcount) - 48usize];
7748};
7749#[repr(C)]
7750#[derive(Debug, Copy, Clone)]
7751pub struct _php_stream_bucket_brigade {
7752 pub head: *mut php_stream_bucket,
7753 pub tail: *mut php_stream_bucket,
7754}
7755#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7756const _: () = {
7757 ["Size of _php_stream_bucket_brigade"]
7758 [::std::mem::size_of::<_php_stream_bucket_brigade>() - 16usize];
7759 ["Alignment of _php_stream_bucket_brigade"]
7760 [::std::mem::align_of::<_php_stream_bucket_brigade>() - 8usize];
7761 ["Offset of field: _php_stream_bucket_brigade::head"]
7762 [::std::mem::offset_of!(_php_stream_bucket_brigade, head) - 0usize];
7763 ["Offset of field: _php_stream_bucket_brigade::tail"]
7764 [::std::mem::offset_of!(_php_stream_bucket_brigade, tail) - 8usize];
7765};
7766pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
7767pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
7768pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
7769pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
7770extern "C" {
7771 pub fn php_stream_bucket_new(
7772 stream: *mut php_stream,
7773 buf: *mut ::std::os::raw::c_char,
7774 buflen: usize,
7775 own_buf: ::std::os::raw::c_int,
7776 buf_persistent: ::std::os::raw::c_int,
7777 ) -> *mut php_stream_bucket;
7778}
7779extern "C" {
7780 pub fn php_stream_bucket_split(
7781 in_: *mut php_stream_bucket,
7782 left: *mut *mut php_stream_bucket,
7783 right: *mut *mut php_stream_bucket,
7784 length: usize,
7785 ) -> ::std::os::raw::c_int;
7786}
7787extern "C" {
7788 pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
7789}
7790extern "C" {
7791 pub fn php_stream_bucket_prepend(
7792 brigade: *mut php_stream_bucket_brigade,
7793 bucket: *mut php_stream_bucket,
7794 );
7795}
7796extern "C" {
7797 pub fn php_stream_bucket_append(
7798 brigade: *mut php_stream_bucket_brigade,
7799 bucket: *mut php_stream_bucket,
7800 );
7801}
7802extern "C" {
7803 pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
7804}
7805extern "C" {
7806 pub fn php_stream_bucket_make_writeable(
7807 bucket: *mut php_stream_bucket,
7808 ) -> *mut php_stream_bucket;
7809}
7810#[repr(C)]
7811#[derive(Debug, Copy, Clone)]
7812pub struct _php_stream_filter_ops {
7813 pub filter: ::std::option::Option<
7814 unsafe extern "C" fn(
7815 stream: *mut php_stream,
7816 thisfilter: *mut php_stream_filter,
7817 buckets_in: *mut php_stream_bucket_brigade,
7818 buckets_out: *mut php_stream_bucket_brigade,
7819 bytes_consumed: *mut usize,
7820 flags: ::std::os::raw::c_int,
7821 ) -> php_stream_filter_status_t,
7822 >,
7823 pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
7824 pub label: *const ::std::os::raw::c_char,
7825}
7826#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7827const _: () = {
7828 ["Size of _php_stream_filter_ops"][::std::mem::size_of::<_php_stream_filter_ops>() - 24usize];
7829 ["Alignment of _php_stream_filter_ops"]
7830 [::std::mem::align_of::<_php_stream_filter_ops>() - 8usize];
7831 ["Offset of field: _php_stream_filter_ops::filter"]
7832 [::std::mem::offset_of!(_php_stream_filter_ops, filter) - 0usize];
7833 ["Offset of field: _php_stream_filter_ops::dtor"]
7834 [::std::mem::offset_of!(_php_stream_filter_ops, dtor) - 8usize];
7835 ["Offset of field: _php_stream_filter_ops::label"]
7836 [::std::mem::offset_of!(_php_stream_filter_ops, label) - 16usize];
7837};
7838pub type php_stream_filter_ops = _php_stream_filter_ops;
7839#[repr(C)]
7840#[derive(Debug, Copy, Clone)]
7841pub struct _php_stream_filter_chain {
7842 pub head: *mut php_stream_filter,
7843 pub tail: *mut php_stream_filter,
7844 pub stream: *mut php_stream,
7845}
7846#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7847const _: () = {
7848 ["Size of _php_stream_filter_chain"]
7849 [::std::mem::size_of::<_php_stream_filter_chain>() - 24usize];
7850 ["Alignment of _php_stream_filter_chain"]
7851 [::std::mem::align_of::<_php_stream_filter_chain>() - 8usize];
7852 ["Offset of field: _php_stream_filter_chain::head"]
7853 [::std::mem::offset_of!(_php_stream_filter_chain, head) - 0usize];
7854 ["Offset of field: _php_stream_filter_chain::tail"]
7855 [::std::mem::offset_of!(_php_stream_filter_chain, tail) - 8usize];
7856 ["Offset of field: _php_stream_filter_chain::stream"]
7857 [::std::mem::offset_of!(_php_stream_filter_chain, stream) - 16usize];
7858};
7859pub type php_stream_filter_chain = _php_stream_filter_chain;
7860#[repr(C)]
7861#[derive(Copy, Clone)]
7862pub struct _php_stream_filter {
7863 pub fops: *mut php_stream_filter_ops,
7864 pub abstract_: zval,
7865 pub next: *mut php_stream_filter,
7866 pub prev: *mut php_stream_filter,
7867 pub is_persistent: ::std::os::raw::c_int,
7868 pub chain: *mut php_stream_filter_chain,
7869 pub buffer: php_stream_bucket_brigade,
7870 pub res: *mut zend_resource,
7871}
7872#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7873const _: () = {
7874 ["Size of _php_stream_filter"][::std::mem::size_of::<_php_stream_filter>() - 80usize];
7875 ["Alignment of _php_stream_filter"][::std::mem::align_of::<_php_stream_filter>() - 8usize];
7876 ["Offset of field: _php_stream_filter::fops"]
7877 [::std::mem::offset_of!(_php_stream_filter, fops) - 0usize];
7878 ["Offset of field: _php_stream_filter::abstract_"]
7879 [::std::mem::offset_of!(_php_stream_filter, abstract_) - 8usize];
7880 ["Offset of field: _php_stream_filter::next"]
7881 [::std::mem::offset_of!(_php_stream_filter, next) - 24usize];
7882 ["Offset of field: _php_stream_filter::prev"]
7883 [::std::mem::offset_of!(_php_stream_filter, prev) - 32usize];
7884 ["Offset of field: _php_stream_filter::is_persistent"]
7885 [::std::mem::offset_of!(_php_stream_filter, is_persistent) - 40usize];
7886 ["Offset of field: _php_stream_filter::chain"]
7887 [::std::mem::offset_of!(_php_stream_filter, chain) - 48usize];
7888 ["Offset of field: _php_stream_filter::buffer"]
7889 [::std::mem::offset_of!(_php_stream_filter, buffer) - 56usize];
7890 ["Offset of field: _php_stream_filter::res"]
7891 [::std::mem::offset_of!(_php_stream_filter, res) - 72usize];
7892};
7893extern "C" {
7894 pub fn php_stream_filter_prepend_ex(
7895 chain: *mut php_stream_filter_chain,
7896 filter: *mut php_stream_filter,
7897 ) -> ::std::os::raw::c_int;
7898}
7899extern "C" {
7900 pub fn php_stream_filter_append_ex(
7901 chain: *mut php_stream_filter_chain,
7902 filter: *mut php_stream_filter,
7903 ) -> ::std::os::raw::c_int;
7904}
7905extern "C" {
7906 pub fn php_stream_filter_remove(
7907 filter: *mut php_stream_filter,
7908 call_dtor: ::std::os::raw::c_int,
7909 ) -> *mut php_stream_filter;
7910}
7911extern "C" {
7912 pub fn php_stream_filter_free(filter: *mut php_stream_filter);
7913}
7914#[repr(C)]
7915#[derive(Debug, Copy, Clone)]
7916pub struct _php_stream_filter_factory {
7917 pub create_filter: ::std::option::Option<
7918 unsafe extern "C" fn(
7919 filtername: *const ::std::os::raw::c_char,
7920 filterparams: *mut zval,
7921 persistent: ::std::os::raw::c_int,
7922 ) -> *mut php_stream_filter,
7923 >,
7924}
7925#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7926const _: () = {
7927 ["Size of _php_stream_filter_factory"]
7928 [::std::mem::size_of::<_php_stream_filter_factory>() - 8usize];
7929 ["Alignment of _php_stream_filter_factory"]
7930 [::std::mem::align_of::<_php_stream_filter_factory>() - 8usize];
7931 ["Offset of field: _php_stream_filter_factory::create_filter"]
7932 [::std::mem::offset_of!(_php_stream_filter_factory, create_filter) - 0usize];
7933};
7934pub type php_stream_filter_factory = _php_stream_filter_factory;
7935extern "C" {
7936 pub fn php_stream_filter_register_factory(
7937 filterpattern: *const ::std::os::raw::c_char,
7938 factory: *mut php_stream_filter_factory,
7939 ) -> ::std::os::raw::c_int;
7940}
7941extern "C" {
7942 pub fn php_stream_filter_unregister_factory(
7943 filterpattern: *const ::std::os::raw::c_char,
7944 ) -> ::std::os::raw::c_int;
7945}
7946extern "C" {
7947 pub fn php_stream_filter_register_factory_volatile(
7948 filterpattern: *const ::std::os::raw::c_char,
7949 factory: *mut php_stream_filter_factory,
7950 ) -> ::std::os::raw::c_int;
7951}
7952extern "C" {
7953 pub fn php_stream_filter_create(
7954 filtername: *const ::std::os::raw::c_char,
7955 filterparams: *mut zval,
7956 persistent: ::std::os::raw::c_int,
7957 ) -> *mut php_stream_filter;
7958}
7959#[repr(C)]
7960#[derive(Debug, Copy, Clone)]
7961pub struct _php_stream_statbuf {
7962 pub sb: zend_stat_t,
7963}
7964#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7965const _: () = {
7966 ["Size of _php_stream_statbuf"][::std::mem::size_of::<_php_stream_statbuf>() - 144usize];
7967 ["Alignment of _php_stream_statbuf"][::std::mem::align_of::<_php_stream_statbuf>() - 8usize];
7968 ["Offset of field: _php_stream_statbuf::sb"]
7969 [::std::mem::offset_of!(_php_stream_statbuf, sb) - 0usize];
7970};
7971pub type php_stream_statbuf = _php_stream_statbuf;
7972#[repr(C)]
7973#[derive(Debug, Copy, Clone)]
7974pub struct _php_stream_ops {
7975 pub write: ::std::option::Option<
7976 unsafe extern "C" fn(
7977 stream: *mut php_stream,
7978 buf: *const ::std::os::raw::c_char,
7979 count: usize,
7980 ) -> usize,
7981 >,
7982 pub read: ::std::option::Option<
7983 unsafe extern "C" fn(
7984 stream: *mut php_stream,
7985 buf: *mut ::std::os::raw::c_char,
7986 count: usize,
7987 ) -> usize,
7988 >,
7989 pub close: ::std::option::Option<
7990 unsafe extern "C" fn(
7991 stream: *mut php_stream,
7992 close_handle: ::std::os::raw::c_int,
7993 ) -> ::std::os::raw::c_int,
7994 >,
7995 pub flush: ::std::option::Option<
7996 unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
7997 >,
7998 pub label: *const ::std::os::raw::c_char,
7999 pub seek: ::std::option::Option<
8000 unsafe extern "C" fn(
8001 stream: *mut php_stream,
8002 offset: zend_off_t,
8003 whence: ::std::os::raw::c_int,
8004 newoffset: *mut zend_off_t,
8005 ) -> ::std::os::raw::c_int,
8006 >,
8007 pub cast: ::std::option::Option<
8008 unsafe extern "C" fn(
8009 stream: *mut php_stream,
8010 castas: ::std::os::raw::c_int,
8011 ret: *mut *mut ::std::os::raw::c_void,
8012 ) -> ::std::os::raw::c_int,
8013 >,
8014 pub stat: ::std::option::Option<
8015 unsafe extern "C" fn(
8016 stream: *mut php_stream,
8017 ssb: *mut php_stream_statbuf,
8018 ) -> ::std::os::raw::c_int,
8019 >,
8020 pub set_option: ::std::option::Option<
8021 unsafe extern "C" fn(
8022 stream: *mut php_stream,
8023 option: ::std::os::raw::c_int,
8024 value: ::std::os::raw::c_int,
8025 ptrparam: *mut ::std::os::raw::c_void,
8026 ) -> ::std::os::raw::c_int,
8027 >,
8028}
8029#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8030const _: () = {
8031 ["Size of _php_stream_ops"][::std::mem::size_of::<_php_stream_ops>() - 72usize];
8032 ["Alignment of _php_stream_ops"][::std::mem::align_of::<_php_stream_ops>() - 8usize];
8033 ["Offset of field: _php_stream_ops::write"]
8034 [::std::mem::offset_of!(_php_stream_ops, write) - 0usize];
8035 ["Offset of field: _php_stream_ops::read"]
8036 [::std::mem::offset_of!(_php_stream_ops, read) - 8usize];
8037 ["Offset of field: _php_stream_ops::close"]
8038 [::std::mem::offset_of!(_php_stream_ops, close) - 16usize];
8039 ["Offset of field: _php_stream_ops::flush"]
8040 [::std::mem::offset_of!(_php_stream_ops, flush) - 24usize];
8041 ["Offset of field: _php_stream_ops::label"]
8042 [::std::mem::offset_of!(_php_stream_ops, label) - 32usize];
8043 ["Offset of field: _php_stream_ops::seek"]
8044 [::std::mem::offset_of!(_php_stream_ops, seek) - 40usize];
8045 ["Offset of field: _php_stream_ops::cast"]
8046 [::std::mem::offset_of!(_php_stream_ops, cast) - 48usize];
8047 ["Offset of field: _php_stream_ops::stat"]
8048 [::std::mem::offset_of!(_php_stream_ops, stat) - 56usize];
8049 ["Offset of field: _php_stream_ops::set_option"]
8050 [::std::mem::offset_of!(_php_stream_ops, set_option) - 64usize];
8051};
8052pub type php_stream_ops = _php_stream_ops;
8053#[repr(C)]
8054#[derive(Debug, Copy, Clone)]
8055pub struct _php_stream_wrapper_ops {
8056 pub stream_opener: ::std::option::Option<
8057 unsafe extern "C" fn(
8058 wrapper: *mut php_stream_wrapper,
8059 filename: *const ::std::os::raw::c_char,
8060 mode: *const ::std::os::raw::c_char,
8061 options: ::std::os::raw::c_int,
8062 opened_path: *mut *mut zend_string,
8063 context: *mut php_stream_context,
8064 ) -> *mut php_stream,
8065 >,
8066 pub stream_closer: ::std::option::Option<
8067 unsafe extern "C" fn(
8068 wrapper: *mut php_stream_wrapper,
8069 stream: *mut php_stream,
8070 ) -> ::std::os::raw::c_int,
8071 >,
8072 pub stream_stat: ::std::option::Option<
8073 unsafe extern "C" fn(
8074 wrapper: *mut php_stream_wrapper,
8075 stream: *mut php_stream,
8076 ssb: *mut php_stream_statbuf,
8077 ) -> ::std::os::raw::c_int,
8078 >,
8079 pub url_stat: ::std::option::Option<
8080 unsafe extern "C" fn(
8081 wrapper: *mut php_stream_wrapper,
8082 url: *const ::std::os::raw::c_char,
8083 flags: ::std::os::raw::c_int,
8084 ssb: *mut php_stream_statbuf,
8085 context: *mut php_stream_context,
8086 ) -> ::std::os::raw::c_int,
8087 >,
8088 pub dir_opener: ::std::option::Option<
8089 unsafe extern "C" fn(
8090 wrapper: *mut php_stream_wrapper,
8091 filename: *const ::std::os::raw::c_char,
8092 mode: *const ::std::os::raw::c_char,
8093 options: ::std::os::raw::c_int,
8094 opened_path: *mut *mut zend_string,
8095 context: *mut php_stream_context,
8096 ) -> *mut php_stream,
8097 >,
8098 pub label: *const ::std::os::raw::c_char,
8099 pub unlink: ::std::option::Option<
8100 unsafe extern "C" fn(
8101 wrapper: *mut php_stream_wrapper,
8102 url: *const ::std::os::raw::c_char,
8103 options: ::std::os::raw::c_int,
8104 context: *mut php_stream_context,
8105 ) -> ::std::os::raw::c_int,
8106 >,
8107 pub rename: ::std::option::Option<
8108 unsafe extern "C" fn(
8109 wrapper: *mut php_stream_wrapper,
8110 url_from: *const ::std::os::raw::c_char,
8111 url_to: *const ::std::os::raw::c_char,
8112 options: ::std::os::raw::c_int,
8113 context: *mut php_stream_context,
8114 ) -> ::std::os::raw::c_int,
8115 >,
8116 pub stream_mkdir: ::std::option::Option<
8117 unsafe extern "C" fn(
8118 wrapper: *mut php_stream_wrapper,
8119 url: *const ::std::os::raw::c_char,
8120 mode: ::std::os::raw::c_int,
8121 options: ::std::os::raw::c_int,
8122 context: *mut php_stream_context,
8123 ) -> ::std::os::raw::c_int,
8124 >,
8125 pub stream_rmdir: ::std::option::Option<
8126 unsafe extern "C" fn(
8127 wrapper: *mut php_stream_wrapper,
8128 url: *const ::std::os::raw::c_char,
8129 options: ::std::os::raw::c_int,
8130 context: *mut php_stream_context,
8131 ) -> ::std::os::raw::c_int,
8132 >,
8133 pub stream_metadata: ::std::option::Option<
8134 unsafe extern "C" fn(
8135 wrapper: *mut php_stream_wrapper,
8136 url: *const ::std::os::raw::c_char,
8137 options: ::std::os::raw::c_int,
8138 value: *mut ::std::os::raw::c_void,
8139 context: *mut php_stream_context,
8140 ) -> ::std::os::raw::c_int,
8141 >,
8142}
8143#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8144const _: () = {
8145 ["Size of _php_stream_wrapper_ops"][::std::mem::size_of::<_php_stream_wrapper_ops>() - 88usize];
8146 ["Alignment of _php_stream_wrapper_ops"]
8147 [::std::mem::align_of::<_php_stream_wrapper_ops>() - 8usize];
8148 ["Offset of field: _php_stream_wrapper_ops::stream_opener"]
8149 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_opener) - 0usize];
8150 ["Offset of field: _php_stream_wrapper_ops::stream_closer"]
8151 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_closer) - 8usize];
8152 ["Offset of field: _php_stream_wrapper_ops::stream_stat"]
8153 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_stat) - 16usize];
8154 ["Offset of field: _php_stream_wrapper_ops::url_stat"]
8155 [::std::mem::offset_of!(_php_stream_wrapper_ops, url_stat) - 24usize];
8156 ["Offset of field: _php_stream_wrapper_ops::dir_opener"]
8157 [::std::mem::offset_of!(_php_stream_wrapper_ops, dir_opener) - 32usize];
8158 ["Offset of field: _php_stream_wrapper_ops::label"]
8159 [::std::mem::offset_of!(_php_stream_wrapper_ops, label) - 40usize];
8160 ["Offset of field: _php_stream_wrapper_ops::unlink"]
8161 [::std::mem::offset_of!(_php_stream_wrapper_ops, unlink) - 48usize];
8162 ["Offset of field: _php_stream_wrapper_ops::rename"]
8163 [::std::mem::offset_of!(_php_stream_wrapper_ops, rename) - 56usize];
8164 ["Offset of field: _php_stream_wrapper_ops::stream_mkdir"]
8165 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_mkdir) - 64usize];
8166 ["Offset of field: _php_stream_wrapper_ops::stream_rmdir"]
8167 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_rmdir) - 72usize];
8168 ["Offset of field: _php_stream_wrapper_ops::stream_metadata"]
8169 [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_metadata) - 80usize];
8170};
8171pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
8172#[repr(C)]
8173#[derive(Debug, Copy, Clone)]
8174pub struct _php_stream_wrapper {
8175 pub wops: *mut php_stream_wrapper_ops,
8176 pub abstract_: *mut ::std::os::raw::c_void,
8177 pub is_url: ::std::os::raw::c_int,
8178}
8179#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8180const _: () = {
8181 ["Size of _php_stream_wrapper"][::std::mem::size_of::<_php_stream_wrapper>() - 24usize];
8182 ["Alignment of _php_stream_wrapper"][::std::mem::align_of::<_php_stream_wrapper>() - 8usize];
8183 ["Offset of field: _php_stream_wrapper::wops"]
8184 [::std::mem::offset_of!(_php_stream_wrapper, wops) - 0usize];
8185 ["Offset of field: _php_stream_wrapper::abstract_"]
8186 [::std::mem::offset_of!(_php_stream_wrapper, abstract_) - 8usize];
8187 ["Offset of field: _php_stream_wrapper::is_url"]
8188 [::std::mem::offset_of!(_php_stream_wrapper, is_url) - 16usize];
8189};
8190#[repr(C)]
8191#[derive(Copy, Clone)]
8192pub struct _php_stream {
8193 pub ops: *mut php_stream_ops,
8194 pub abstract_: *mut ::std::os::raw::c_void,
8195 pub readfilters: php_stream_filter_chain,
8196 pub writefilters: php_stream_filter_chain,
8197 pub wrapper: *mut php_stream_wrapper,
8198 pub wrapperthis: *mut ::std::os::raw::c_void,
8199 pub wrapperdata: zval,
8200 pub fgetss_state: ::std::os::raw::c_int,
8201 pub is_persistent: ::std::os::raw::c_int,
8202 pub mode: [::std::os::raw::c_char; 16usize],
8203 pub res: *mut zend_resource,
8204 pub in_free: ::std::os::raw::c_int,
8205 pub fclose_stdiocast: ::std::os::raw::c_int,
8206 pub stdiocast: *mut FILE,
8207 pub __exposed: ::std::os::raw::c_int,
8208 pub orig_path: *mut ::std::os::raw::c_char,
8209 pub ctx: *mut zend_resource,
8210 pub flags: ::std::os::raw::c_int,
8211 pub eof: ::std::os::raw::c_int,
8212 pub position: zend_off_t,
8213 pub readbuf: *mut ::std::os::raw::c_uchar,
8214 pub readbuflen: usize,
8215 pub readpos: zend_off_t,
8216 pub writepos: zend_off_t,
8217 pub chunk_size: usize,
8218 pub enclosing_stream: *mut _php_stream,
8219}
8220#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8221const _: () = {
8222 ["Size of _php_stream"][::std::mem::size_of::<_php_stream>() - 232usize];
8223 ["Alignment of _php_stream"][::std::mem::align_of::<_php_stream>() - 8usize];
8224 ["Offset of field: _php_stream::ops"][::std::mem::offset_of!(_php_stream, ops) - 0usize];
8225 ["Offset of field: _php_stream::abstract_"]
8226 [::std::mem::offset_of!(_php_stream, abstract_) - 8usize];
8227 ["Offset of field: _php_stream::readfilters"]
8228 [::std::mem::offset_of!(_php_stream, readfilters) - 16usize];
8229 ["Offset of field: _php_stream::writefilters"]
8230 [::std::mem::offset_of!(_php_stream, writefilters) - 40usize];
8231 ["Offset of field: _php_stream::wrapper"]
8232 [::std::mem::offset_of!(_php_stream, wrapper) - 64usize];
8233 ["Offset of field: _php_stream::wrapperthis"]
8234 [::std::mem::offset_of!(_php_stream, wrapperthis) - 72usize];
8235 ["Offset of field: _php_stream::wrapperdata"]
8236 [::std::mem::offset_of!(_php_stream, wrapperdata) - 80usize];
8237 ["Offset of field: _php_stream::fgetss_state"]
8238 [::std::mem::offset_of!(_php_stream, fgetss_state) - 96usize];
8239 ["Offset of field: _php_stream::is_persistent"]
8240 [::std::mem::offset_of!(_php_stream, is_persistent) - 100usize];
8241 ["Offset of field: _php_stream::mode"][::std::mem::offset_of!(_php_stream, mode) - 104usize];
8242 ["Offset of field: _php_stream::res"][::std::mem::offset_of!(_php_stream, res) - 120usize];
8243 ["Offset of field: _php_stream::in_free"]
8244 [::std::mem::offset_of!(_php_stream, in_free) - 128usize];
8245 ["Offset of field: _php_stream::fclose_stdiocast"]
8246 [::std::mem::offset_of!(_php_stream, fclose_stdiocast) - 132usize];
8247 ["Offset of field: _php_stream::stdiocast"]
8248 [::std::mem::offset_of!(_php_stream, stdiocast) - 136usize];
8249 ["Offset of field: _php_stream::__exposed"]
8250 [::std::mem::offset_of!(_php_stream, __exposed) - 144usize];
8251 ["Offset of field: _php_stream::orig_path"]
8252 [::std::mem::offset_of!(_php_stream, orig_path) - 152usize];
8253 ["Offset of field: _php_stream::ctx"][::std::mem::offset_of!(_php_stream, ctx) - 160usize];
8254 ["Offset of field: _php_stream::flags"][::std::mem::offset_of!(_php_stream, flags) - 168usize];
8255 ["Offset of field: _php_stream::eof"][::std::mem::offset_of!(_php_stream, eof) - 172usize];
8256 ["Offset of field: _php_stream::position"]
8257 [::std::mem::offset_of!(_php_stream, position) - 176usize];
8258 ["Offset of field: _php_stream::readbuf"]
8259 [::std::mem::offset_of!(_php_stream, readbuf) - 184usize];
8260 ["Offset of field: _php_stream::readbuflen"]
8261 [::std::mem::offset_of!(_php_stream, readbuflen) - 192usize];
8262 ["Offset of field: _php_stream::readpos"]
8263 [::std::mem::offset_of!(_php_stream, readpos) - 200usize];
8264 ["Offset of field: _php_stream::writepos"]
8265 [::std::mem::offset_of!(_php_stream, writepos) - 208usize];
8266 ["Offset of field: _php_stream::chunk_size"]
8267 [::std::mem::offset_of!(_php_stream, chunk_size) - 216usize];
8268 ["Offset of field: _php_stream::enclosing_stream"]
8269 [::std::mem::offset_of!(_php_stream, enclosing_stream) - 224usize];
8270};
8271extern "C" {
8272 pub fn php_stream_encloses(
8273 enclosing: *mut php_stream,
8274 enclosed: *mut php_stream,
8275 ) -> *mut php_stream;
8276}
8277extern "C" {
8278 pub fn php_stream_from_persistent_id(
8279 persistent_id: *const ::std::os::raw::c_char,
8280 stream: *mut *mut php_stream,
8281 ) -> ::std::os::raw::c_int;
8282}
8283extern "C" {
8284 pub fn php_stream_get_record(
8285 stream: *mut php_stream,
8286 maxlen: usize,
8287 delim: *const ::std::os::raw::c_char,
8288 delim_len: usize,
8289 ) -> *mut zend_string;
8290}
8291extern "C" {
8292 pub fn php_stream_dirent_alphasort(
8293 a: *mut *const zend_string,
8294 b: *mut *const zend_string,
8295 ) -> ::std::os::raw::c_int;
8296}
8297extern "C" {
8298 pub fn php_stream_dirent_alphasortr(
8299 a: *mut *const zend_string,
8300 b: *mut *const zend_string,
8301 ) -> ::std::os::raw::c_int;
8302}
8303pub type php_stream_transport_factory_func = ::std::option::Option<
8304 unsafe extern "C" fn(
8305 proto: *const ::std::os::raw::c_char,
8306 protolen: usize,
8307 resourcename: *const ::std::os::raw::c_char,
8308 resourcenamelen: usize,
8309 persistent_id: *const ::std::os::raw::c_char,
8310 options: ::std::os::raw::c_int,
8311 flags: ::std::os::raw::c_int,
8312 timeout: *mut timeval,
8313 context: *mut php_stream_context,
8314 ) -> *mut php_stream,
8315>;
8316pub type php_stream_transport_factory = php_stream_transport_factory_func;
8317extern "C" {
8318 pub fn php_stream_xport_register(
8319 protocol: *const ::std::os::raw::c_char,
8320 factory: php_stream_transport_factory,
8321 ) -> ::std::os::raw::c_int;
8322}
8323extern "C" {
8324 pub fn php_stream_xport_unregister(
8325 protocol: *const ::std::os::raw::c_char,
8326 ) -> ::std::os::raw::c_int;
8327}
8328extern "C" {
8329 pub fn php_stream_xport_bind(
8330 stream: *mut php_stream,
8331 name: *const ::std::os::raw::c_char,
8332 namelen: usize,
8333 error_text: *mut *mut zend_string,
8334 ) -> ::std::os::raw::c_int;
8335}
8336extern "C" {
8337 pub fn php_stream_xport_connect(
8338 stream: *mut php_stream,
8339 name: *const ::std::os::raw::c_char,
8340 namelen: usize,
8341 asynchronous: ::std::os::raw::c_int,
8342 timeout: *mut timeval,
8343 error_text: *mut *mut zend_string,
8344 error_code: *mut ::std::os::raw::c_int,
8345 ) -> ::std::os::raw::c_int;
8346}
8347extern "C" {
8348 pub fn php_stream_xport_listen(
8349 stream: *mut php_stream,
8350 backlog: ::std::os::raw::c_int,
8351 error_text: *mut *mut zend_string,
8352 ) -> ::std::os::raw::c_int;
8353}
8354extern "C" {
8355 pub fn php_stream_xport_accept(
8356 stream: *mut php_stream,
8357 client: *mut *mut php_stream,
8358 textaddr: *mut *mut zend_string,
8359 addr: *mut *mut ::std::os::raw::c_void,
8360 addrlen: *mut socklen_t,
8361 timeout: *mut timeval,
8362 error_text: *mut *mut zend_string,
8363 ) -> ::std::os::raw::c_int;
8364}
8365extern "C" {
8366 pub fn php_stream_xport_get_name(
8367 stream: *mut php_stream,
8368 want_peer: ::std::os::raw::c_int,
8369 textaddr: *mut *mut zend_string,
8370 addr: *mut *mut ::std::os::raw::c_void,
8371 addrlen: *mut socklen_t,
8372 ) -> ::std::os::raw::c_int;
8373}
8374extern "C" {
8375 pub fn php_stream_xport_recvfrom(
8376 stream: *mut php_stream,
8377 buf: *mut ::std::os::raw::c_char,
8378 buflen: usize,
8379 flags: ::std::os::raw::c_int,
8380 addr: *mut *mut ::std::os::raw::c_void,
8381 addrlen: *mut socklen_t,
8382 textaddr: *mut *mut zend_string,
8383 ) -> ::std::os::raw::c_int;
8384}
8385extern "C" {
8386 pub fn php_stream_xport_sendto(
8387 stream: *mut php_stream,
8388 buf: *const ::std::os::raw::c_char,
8389 buflen: usize,
8390 flags: ::std::os::raw::c_int,
8391 addr: *mut ::std::os::raw::c_void,
8392 addrlen: socklen_t,
8393 ) -> ::std::os::raw::c_int;
8394}
8395pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
8396pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
8397pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
8398pub type stream_shutdown_t = ::std::os::raw::c_uint;
8399extern "C" {
8400 pub fn php_stream_xport_shutdown(
8401 stream: *mut php_stream,
8402 how: stream_shutdown_t,
8403 ) -> ::std::os::raw::c_int;
8404}
8405pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
8406 php_stream_xport_crypt_method_t = 3;
8407pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
8408 php_stream_xport_crypt_method_t = 5;
8409pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
8410 php_stream_xport_crypt_method_t = 57;
8411pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
8412 php_stream_xport_crypt_method_t = 9;
8413pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
8414 php_stream_xport_crypt_method_t = 17;
8415pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
8416 php_stream_xport_crypt_method_t = 33;
8417pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
8418 php_stream_xport_crypt_method_t = 9;
8419pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
8420 php_stream_xport_crypt_method_t = 57;
8421pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
8422 php_stream_xport_crypt_method_t = 63;
8423pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
8424 php_stream_xport_crypt_method_t = 2;
8425pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
8426 php_stream_xport_crypt_method_t = 4;
8427pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
8428 php_stream_xport_crypt_method_t = 56;
8429pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
8430 php_stream_xport_crypt_method_t = 8;
8431pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
8432 php_stream_xport_crypt_method_t = 16;
8433pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
8434 php_stream_xport_crypt_method_t = 32;
8435pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
8436 php_stream_xport_crypt_method_t = 8;
8437pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
8438 php_stream_xport_crypt_method_t = 56;
8439pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
8440 php_stream_xport_crypt_method_t = 62;
8441pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
8442extern "C" {
8443 pub fn php_stream_xport_crypto_setup(
8444 stream: *mut php_stream,
8445 crypto_method: php_stream_xport_crypt_method_t,
8446 session_stream: *mut php_stream,
8447 ) -> ::std::os::raw::c_int;
8448}
8449extern "C" {
8450 pub fn php_stream_xport_crypto_enable(
8451 stream: *mut php_stream,
8452 activate: ::std::os::raw::c_int,
8453 ) -> ::std::os::raw::c_int;
8454}
8455extern "C" {
8456 pub fn php_stream_xport_get_hash() -> *mut HashTable;
8457}
8458extern "C" {
8459 pub fn php_stream_generic_socket_factory(
8460 proto: *const ::std::os::raw::c_char,
8461 protolen: usize,
8462 resourcename: *const ::std::os::raw::c_char,
8463 resourcenamelen: usize,
8464 persistent_id: *const ::std::os::raw::c_char,
8465 options: ::std::os::raw::c_int,
8466 flags: ::std::os::raw::c_int,
8467 timeout: *mut timeval,
8468 context: *mut php_stream_context,
8469 ) -> *mut php_stream;
8470}
8471extern "C" {
8472 pub static mut php_stream_stdio_ops: php_stream_ops;
8473}
8474extern "C" {
8475 pub static mut php_plain_files_wrapper: php_stream_wrapper;
8476}
8477extern "C" {
8478 pub static mut php_glob_stream_wrapper: php_stream_wrapper;
8479}
8480extern "C" {
8481 pub static mut php_glob_stream_ops: php_stream_ops;
8482}
8483extern "C" {
8484 pub static mut php_stream_userspace_ops: php_stream_ops;
8485}
8486extern "C" {
8487 pub static mut php_stream_userspace_dir_ops: php_stream_ops;
8488}
8489extern "C" {
8490 pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
8491}
8492extern "C" {
8493 pub fn php_shutdown_stream_wrappers(
8494 module_number: ::std::os::raw::c_int,
8495 ) -> ::std::os::raw::c_int;
8496}
8497extern "C" {
8498 pub fn php_shutdown_stream_hashes();
8499}
8500extern "C" {
8501 pub fn php_register_url_stream_wrapper(
8502 protocol: *const ::std::os::raw::c_char,
8503 wrapper: *mut php_stream_wrapper,
8504 ) -> ::std::os::raw::c_int;
8505}
8506extern "C" {
8507 pub fn php_unregister_url_stream_wrapper(
8508 protocol: *const ::std::os::raw::c_char,
8509 ) -> ::std::os::raw::c_int;
8510}
8511extern "C" {
8512 pub fn php_register_url_stream_wrapper_volatile(
8513 protocol: *const ::std::os::raw::c_char,
8514 wrapper: *mut php_stream_wrapper,
8515 ) -> ::std::os::raw::c_int;
8516}
8517extern "C" {
8518 pub fn php_unregister_url_stream_wrapper_volatile(
8519 protocol: *const ::std::os::raw::c_char,
8520 ) -> ::std::os::raw::c_int;
8521}
8522extern "C" {
8523 pub fn php_stream_locate_url_wrapper(
8524 path: *const ::std::os::raw::c_char,
8525 path_for_open: *mut *const ::std::os::raw::c_char,
8526 options: ::std::os::raw::c_int,
8527 ) -> *mut php_stream_wrapper;
8528}
8529extern "C" {
8530 pub fn php_stream_locate_eol(
8531 stream: *mut php_stream,
8532 buf: *mut zend_string,
8533 ) -> *const ::std::os::raw::c_char;
8534}
8535extern "C" {
8536 pub fn php_stream_wrapper_log_error(
8537 wrapper: *mut php_stream_wrapper,
8538 options: ::std::os::raw::c_int,
8539 fmt: *const ::std::os::raw::c_char,
8540 ...
8541 );
8542}
8543extern "C" {
8544 pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
8545}
8546extern "C" {
8547 pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
8548}
8549extern "C" {
8550 pub static mut php_stream_user_wrapper_ops: *mut php_stream_wrapper_ops;
8551}
8552extern "C" {
8553 pub static mut php_stream_memory_ops: php_stream_ops;
8554}
8555extern "C" {
8556 pub static mut php_stream_temp_ops: php_stream_ops;
8557}
8558extern "C" {
8559 pub static mut php_stream_rfc2397_ops: php_stream_ops;
8560}
8561extern "C" {
8562 pub static mut php_stream_rfc2397_wrapper: php_stream_wrapper;
8563}
8564#[repr(C)]
8565#[derive(Copy, Clone)]
8566pub struct _php_core_globals {
8567 pub implicit_flush: zend_bool,
8568 pub output_buffering: zend_long,
8569 pub sql_safe_mode: zend_bool,
8570 pub enable_dl: zend_bool,
8571 pub output_handler: *mut ::std::os::raw::c_char,
8572 pub unserialize_callback_func: *mut ::std::os::raw::c_char,
8573 pub serialize_precision: zend_long,
8574 pub memory_limit: zend_long,
8575 pub max_input_time: zend_long,
8576 pub track_errors: zend_bool,
8577 pub display_errors: zend_bool,
8578 pub display_startup_errors: zend_bool,
8579 pub log_errors: zend_bool,
8580 pub log_errors_max_len: zend_long,
8581 pub ignore_repeated_errors: zend_bool,
8582 pub ignore_repeated_source: zend_bool,
8583 pub report_memleaks: zend_bool,
8584 pub error_log: *mut ::std::os::raw::c_char,
8585 pub doc_root: *mut ::std::os::raw::c_char,
8586 pub user_dir: *mut ::std::os::raw::c_char,
8587 pub include_path: *mut ::std::os::raw::c_char,
8588 pub open_basedir: *mut ::std::os::raw::c_char,
8589 pub extension_dir: *mut ::std::os::raw::c_char,
8590 pub php_binary: *mut ::std::os::raw::c_char,
8591 pub sys_temp_dir: *mut ::std::os::raw::c_char,
8592 pub upload_tmp_dir: *mut ::std::os::raw::c_char,
8593 pub upload_max_filesize: zend_long,
8594 pub error_append_string: *mut ::std::os::raw::c_char,
8595 pub error_prepend_string: *mut ::std::os::raw::c_char,
8596 pub auto_prepend_file: *mut ::std::os::raw::c_char,
8597 pub auto_append_file: *mut ::std::os::raw::c_char,
8598 pub input_encoding: *mut ::std::os::raw::c_char,
8599 pub internal_encoding: *mut ::std::os::raw::c_char,
8600 pub output_encoding: *mut ::std::os::raw::c_char,
8601 pub arg_separator: arg_separators,
8602 pub variables_order: *mut ::std::os::raw::c_char,
8603 pub rfc1867_protected_variables: HashTable,
8604 pub connection_status: ::std::os::raw::c_short,
8605 pub ignore_user_abort: ::std::os::raw::c_short,
8606 pub header_is_being_sent: ::std::os::raw::c_uchar,
8607 pub tick_functions: zend_llist,
8608 pub http_globals: [zval; 6usize],
8609 pub expose_php: zend_bool,
8610 pub register_argc_argv: zend_bool,
8611 pub auto_globals_jit: zend_bool,
8612 pub docref_root: *mut ::std::os::raw::c_char,
8613 pub docref_ext: *mut ::std::os::raw::c_char,
8614 pub html_errors: zend_bool,
8615 pub xmlrpc_errors: zend_bool,
8616 pub xmlrpc_error_number: zend_long,
8617 pub activated_auto_globals: [zend_bool; 8usize],
8618 pub modules_activated: zend_bool,
8619 pub file_uploads: zend_bool,
8620 pub during_request_startup: zend_bool,
8621 pub allow_url_fopen: zend_bool,
8622 pub enable_post_data_reading: zend_bool,
8623 pub report_zend_debug: zend_bool,
8624 pub last_error_type: ::std::os::raw::c_int,
8625 pub last_error_message: *mut ::std::os::raw::c_char,
8626 pub last_error_file: *mut ::std::os::raw::c_char,
8627 pub last_error_lineno: ::std::os::raw::c_int,
8628 pub php_sys_temp_dir: *mut ::std::os::raw::c_char,
8629 pub disable_functions: *mut ::std::os::raw::c_char,
8630 pub disable_classes: *mut ::std::os::raw::c_char,
8631 pub allow_url_include: zend_bool,
8632 pub exit_on_timeout: zend_bool,
8633 pub max_input_nesting_level: zend_long,
8634 pub max_input_vars: zend_long,
8635 pub in_user_include: zend_bool,
8636 pub user_ini_filename: *mut ::std::os::raw::c_char,
8637 pub user_ini_cache_ttl: zend_long,
8638 pub request_order: *mut ::std::os::raw::c_char,
8639 pub mail_x_header: zend_bool,
8640 pub mail_log: *mut ::std::os::raw::c_char,
8641 pub in_error_log: zend_bool,
8642}
8643#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8644const _: () = {
8645 ["Size of _php_core_globals"][::std::mem::size_of::<_php_core_globals>() - 656usize];
8646 ["Alignment of _php_core_globals"][::std::mem::align_of::<_php_core_globals>() - 8usize];
8647 ["Offset of field: _php_core_globals::implicit_flush"]
8648 [::std::mem::offset_of!(_php_core_globals, implicit_flush) - 0usize];
8649 ["Offset of field: _php_core_globals::output_buffering"]
8650 [::std::mem::offset_of!(_php_core_globals, output_buffering) - 8usize];
8651 ["Offset of field: _php_core_globals::sql_safe_mode"]
8652 [::std::mem::offset_of!(_php_core_globals, sql_safe_mode) - 16usize];
8653 ["Offset of field: _php_core_globals::enable_dl"]
8654 [::std::mem::offset_of!(_php_core_globals, enable_dl) - 17usize];
8655 ["Offset of field: _php_core_globals::output_handler"]
8656 [::std::mem::offset_of!(_php_core_globals, output_handler) - 24usize];
8657 ["Offset of field: _php_core_globals::unserialize_callback_func"]
8658 [::std::mem::offset_of!(_php_core_globals, unserialize_callback_func) - 32usize];
8659 ["Offset of field: _php_core_globals::serialize_precision"]
8660 [::std::mem::offset_of!(_php_core_globals, serialize_precision) - 40usize];
8661 ["Offset of field: _php_core_globals::memory_limit"]
8662 [::std::mem::offset_of!(_php_core_globals, memory_limit) - 48usize];
8663 ["Offset of field: _php_core_globals::max_input_time"]
8664 [::std::mem::offset_of!(_php_core_globals, max_input_time) - 56usize];
8665 ["Offset of field: _php_core_globals::track_errors"]
8666 [::std::mem::offset_of!(_php_core_globals, track_errors) - 64usize];
8667 ["Offset of field: _php_core_globals::display_errors"]
8668 [::std::mem::offset_of!(_php_core_globals, display_errors) - 65usize];
8669 ["Offset of field: _php_core_globals::display_startup_errors"]
8670 [::std::mem::offset_of!(_php_core_globals, display_startup_errors) - 66usize];
8671 ["Offset of field: _php_core_globals::log_errors"]
8672 [::std::mem::offset_of!(_php_core_globals, log_errors) - 67usize];
8673 ["Offset of field: _php_core_globals::log_errors_max_len"]
8674 [::std::mem::offset_of!(_php_core_globals, log_errors_max_len) - 72usize];
8675 ["Offset of field: _php_core_globals::ignore_repeated_errors"]
8676 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_errors) - 80usize];
8677 ["Offset of field: _php_core_globals::ignore_repeated_source"]
8678 [::std::mem::offset_of!(_php_core_globals, ignore_repeated_source) - 81usize];
8679 ["Offset of field: _php_core_globals::report_memleaks"]
8680 [::std::mem::offset_of!(_php_core_globals, report_memleaks) - 82usize];
8681 ["Offset of field: _php_core_globals::error_log"]
8682 [::std::mem::offset_of!(_php_core_globals, error_log) - 88usize];
8683 ["Offset of field: _php_core_globals::doc_root"]
8684 [::std::mem::offset_of!(_php_core_globals, doc_root) - 96usize];
8685 ["Offset of field: _php_core_globals::user_dir"]
8686 [::std::mem::offset_of!(_php_core_globals, user_dir) - 104usize];
8687 ["Offset of field: _php_core_globals::include_path"]
8688 [::std::mem::offset_of!(_php_core_globals, include_path) - 112usize];
8689 ["Offset of field: _php_core_globals::open_basedir"]
8690 [::std::mem::offset_of!(_php_core_globals, open_basedir) - 120usize];
8691 ["Offset of field: _php_core_globals::extension_dir"]
8692 [::std::mem::offset_of!(_php_core_globals, extension_dir) - 128usize];
8693 ["Offset of field: _php_core_globals::php_binary"]
8694 [::std::mem::offset_of!(_php_core_globals, php_binary) - 136usize];
8695 ["Offset of field: _php_core_globals::sys_temp_dir"]
8696 [::std::mem::offset_of!(_php_core_globals, sys_temp_dir) - 144usize];
8697 ["Offset of field: _php_core_globals::upload_tmp_dir"]
8698 [::std::mem::offset_of!(_php_core_globals, upload_tmp_dir) - 152usize];
8699 ["Offset of field: _php_core_globals::upload_max_filesize"]
8700 [::std::mem::offset_of!(_php_core_globals, upload_max_filesize) - 160usize];
8701 ["Offset of field: _php_core_globals::error_append_string"]
8702 [::std::mem::offset_of!(_php_core_globals, error_append_string) - 168usize];
8703 ["Offset of field: _php_core_globals::error_prepend_string"]
8704 [::std::mem::offset_of!(_php_core_globals, error_prepend_string) - 176usize];
8705 ["Offset of field: _php_core_globals::auto_prepend_file"]
8706 [::std::mem::offset_of!(_php_core_globals, auto_prepend_file) - 184usize];
8707 ["Offset of field: _php_core_globals::auto_append_file"]
8708 [::std::mem::offset_of!(_php_core_globals, auto_append_file) - 192usize];
8709 ["Offset of field: _php_core_globals::input_encoding"]
8710 [::std::mem::offset_of!(_php_core_globals, input_encoding) - 200usize];
8711 ["Offset of field: _php_core_globals::internal_encoding"]
8712 [::std::mem::offset_of!(_php_core_globals, internal_encoding) - 208usize];
8713 ["Offset of field: _php_core_globals::output_encoding"]
8714 [::std::mem::offset_of!(_php_core_globals, output_encoding) - 216usize];
8715 ["Offset of field: _php_core_globals::arg_separator"]
8716 [::std::mem::offset_of!(_php_core_globals, arg_separator) - 224usize];
8717 ["Offset of field: _php_core_globals::variables_order"]
8718 [::std::mem::offset_of!(_php_core_globals, variables_order) - 240usize];
8719 ["Offset of field: _php_core_globals::rfc1867_protected_variables"]
8720 [::std::mem::offset_of!(_php_core_globals, rfc1867_protected_variables) - 248usize];
8721 ["Offset of field: _php_core_globals::connection_status"]
8722 [::std::mem::offset_of!(_php_core_globals, connection_status) - 304usize];
8723 ["Offset of field: _php_core_globals::ignore_user_abort"]
8724 [::std::mem::offset_of!(_php_core_globals, ignore_user_abort) - 306usize];
8725 ["Offset of field: _php_core_globals::header_is_being_sent"]
8726 [::std::mem::offset_of!(_php_core_globals, header_is_being_sent) - 308usize];
8727 ["Offset of field: _php_core_globals::tick_functions"]
8728 [::std::mem::offset_of!(_php_core_globals, tick_functions) - 312usize];
8729 ["Offset of field: _php_core_globals::http_globals"]
8730 [::std::mem::offset_of!(_php_core_globals, http_globals) - 368usize];
8731 ["Offset of field: _php_core_globals::expose_php"]
8732 [::std::mem::offset_of!(_php_core_globals, expose_php) - 464usize];
8733 ["Offset of field: _php_core_globals::register_argc_argv"]
8734 [::std::mem::offset_of!(_php_core_globals, register_argc_argv) - 465usize];
8735 ["Offset of field: _php_core_globals::auto_globals_jit"]
8736 [::std::mem::offset_of!(_php_core_globals, auto_globals_jit) - 466usize];
8737 ["Offset of field: _php_core_globals::docref_root"]
8738 [::std::mem::offset_of!(_php_core_globals, docref_root) - 472usize];
8739 ["Offset of field: _php_core_globals::docref_ext"]
8740 [::std::mem::offset_of!(_php_core_globals, docref_ext) - 480usize];
8741 ["Offset of field: _php_core_globals::html_errors"]
8742 [::std::mem::offset_of!(_php_core_globals, html_errors) - 488usize];
8743 ["Offset of field: _php_core_globals::xmlrpc_errors"]
8744 [::std::mem::offset_of!(_php_core_globals, xmlrpc_errors) - 489usize];
8745 ["Offset of field: _php_core_globals::xmlrpc_error_number"]
8746 [::std::mem::offset_of!(_php_core_globals, xmlrpc_error_number) - 496usize];
8747 ["Offset of field: _php_core_globals::activated_auto_globals"]
8748 [::std::mem::offset_of!(_php_core_globals, activated_auto_globals) - 504usize];
8749 ["Offset of field: _php_core_globals::modules_activated"]
8750 [::std::mem::offset_of!(_php_core_globals, modules_activated) - 512usize];
8751 ["Offset of field: _php_core_globals::file_uploads"]
8752 [::std::mem::offset_of!(_php_core_globals, file_uploads) - 513usize];
8753 ["Offset of field: _php_core_globals::during_request_startup"]
8754 [::std::mem::offset_of!(_php_core_globals, during_request_startup) - 514usize];
8755 ["Offset of field: _php_core_globals::allow_url_fopen"]
8756 [::std::mem::offset_of!(_php_core_globals, allow_url_fopen) - 515usize];
8757 ["Offset of field: _php_core_globals::enable_post_data_reading"]
8758 [::std::mem::offset_of!(_php_core_globals, enable_post_data_reading) - 516usize];
8759 ["Offset of field: _php_core_globals::report_zend_debug"]
8760 [::std::mem::offset_of!(_php_core_globals, report_zend_debug) - 517usize];
8761 ["Offset of field: _php_core_globals::last_error_type"]
8762 [::std::mem::offset_of!(_php_core_globals, last_error_type) - 520usize];
8763 ["Offset of field: _php_core_globals::last_error_message"]
8764 [::std::mem::offset_of!(_php_core_globals, last_error_message) - 528usize];
8765 ["Offset of field: _php_core_globals::last_error_file"]
8766 [::std::mem::offset_of!(_php_core_globals, last_error_file) - 536usize];
8767 ["Offset of field: _php_core_globals::last_error_lineno"]
8768 [::std::mem::offset_of!(_php_core_globals, last_error_lineno) - 544usize];
8769 ["Offset of field: _php_core_globals::php_sys_temp_dir"]
8770 [::std::mem::offset_of!(_php_core_globals, php_sys_temp_dir) - 552usize];
8771 ["Offset of field: _php_core_globals::disable_functions"]
8772 [::std::mem::offset_of!(_php_core_globals, disable_functions) - 560usize];
8773 ["Offset of field: _php_core_globals::disable_classes"]
8774 [::std::mem::offset_of!(_php_core_globals, disable_classes) - 568usize];
8775 ["Offset of field: _php_core_globals::allow_url_include"]
8776 [::std::mem::offset_of!(_php_core_globals, allow_url_include) - 576usize];
8777 ["Offset of field: _php_core_globals::exit_on_timeout"]
8778 [::std::mem::offset_of!(_php_core_globals, exit_on_timeout) - 577usize];
8779 ["Offset of field: _php_core_globals::max_input_nesting_level"]
8780 [::std::mem::offset_of!(_php_core_globals, max_input_nesting_level) - 584usize];
8781 ["Offset of field: _php_core_globals::max_input_vars"]
8782 [::std::mem::offset_of!(_php_core_globals, max_input_vars) - 592usize];
8783 ["Offset of field: _php_core_globals::in_user_include"]
8784 [::std::mem::offset_of!(_php_core_globals, in_user_include) - 600usize];
8785 ["Offset of field: _php_core_globals::user_ini_filename"]
8786 [::std::mem::offset_of!(_php_core_globals, user_ini_filename) - 608usize];
8787 ["Offset of field: _php_core_globals::user_ini_cache_ttl"]
8788 [::std::mem::offset_of!(_php_core_globals, user_ini_cache_ttl) - 616usize];
8789 ["Offset of field: _php_core_globals::request_order"]
8790 [::std::mem::offset_of!(_php_core_globals, request_order) - 624usize];
8791 ["Offset of field: _php_core_globals::mail_x_header"]
8792 [::std::mem::offset_of!(_php_core_globals, mail_x_header) - 632usize];
8793 ["Offset of field: _php_core_globals::mail_log"]
8794 [::std::mem::offset_of!(_php_core_globals, mail_log) - 640usize];
8795 ["Offset of field: _php_core_globals::in_error_log"]
8796 [::std::mem::offset_of!(_php_core_globals, in_error_log) - 648usize];
8797};
8798extern "C" {
8799 pub static mut core_globals: _php_core_globals;
8800}
8801#[repr(C)]
8802#[derive(Debug, Copy, Clone)]
8803pub struct _arg_separators {
8804 pub output: *mut ::std::os::raw::c_char,
8805 pub input: *mut ::std::os::raw::c_char,
8806}
8807#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8808const _: () = {
8809 ["Size of _arg_separators"][::std::mem::size_of::<_arg_separators>() - 16usize];
8810 ["Alignment of _arg_separators"][::std::mem::align_of::<_arg_separators>() - 8usize];
8811 ["Offset of field: _arg_separators::output"]
8812 [::std::mem::offset_of!(_arg_separators, output) - 0usize];
8813 ["Offset of field: _arg_separators::input"]
8814 [::std::mem::offset_of!(_arg_separators, input) - 8usize];
8815};
8816pub type arg_separators = _arg_separators;
8817#[repr(C)]
8818#[derive(Debug, Copy, Clone)]
8819pub struct _zend_ini_entry_def {
8820 pub name: *const ::std::os::raw::c_char,
8821 pub on_modify: ::std::option::Option<
8822 unsafe extern "C" fn(
8823 entry: *mut zend_ini_entry,
8824 new_value: *mut zend_string,
8825 mh_arg1: *mut ::std::os::raw::c_void,
8826 mh_arg2: *mut ::std::os::raw::c_void,
8827 mh_arg3: *mut ::std::os::raw::c_void,
8828 stage: ::std::os::raw::c_int,
8829 ) -> ::std::os::raw::c_int,
8830 >,
8831 pub mh_arg1: *mut ::std::os::raw::c_void,
8832 pub mh_arg2: *mut ::std::os::raw::c_void,
8833 pub mh_arg3: *mut ::std::os::raw::c_void,
8834 pub value: *const ::std::os::raw::c_char,
8835 pub displayer: ::std::option::Option<
8836 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
8837 >,
8838 pub modifiable: ::std::os::raw::c_int,
8839 pub name_length: uint,
8840 pub value_length: uint,
8841}
8842#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8843const _: () = {
8844 ["Size of _zend_ini_entry_def"][::std::mem::size_of::<_zend_ini_entry_def>() - 72usize];
8845 ["Alignment of _zend_ini_entry_def"][::std::mem::align_of::<_zend_ini_entry_def>() - 8usize];
8846 ["Offset of field: _zend_ini_entry_def::name"]
8847 [::std::mem::offset_of!(_zend_ini_entry_def, name) - 0usize];
8848 ["Offset of field: _zend_ini_entry_def::on_modify"]
8849 [::std::mem::offset_of!(_zend_ini_entry_def, on_modify) - 8usize];
8850 ["Offset of field: _zend_ini_entry_def::mh_arg1"]
8851 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg1) - 16usize];
8852 ["Offset of field: _zend_ini_entry_def::mh_arg2"]
8853 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg2) - 24usize];
8854 ["Offset of field: _zend_ini_entry_def::mh_arg3"]
8855 [::std::mem::offset_of!(_zend_ini_entry_def, mh_arg3) - 32usize];
8856 ["Offset of field: _zend_ini_entry_def::value"]
8857 [::std::mem::offset_of!(_zend_ini_entry_def, value) - 40usize];
8858 ["Offset of field: _zend_ini_entry_def::displayer"]
8859 [::std::mem::offset_of!(_zend_ini_entry_def, displayer) - 48usize];
8860 ["Offset of field: _zend_ini_entry_def::modifiable"]
8861 [::std::mem::offset_of!(_zend_ini_entry_def, modifiable) - 56usize];
8862 ["Offset of field: _zend_ini_entry_def::name_length"]
8863 [::std::mem::offset_of!(_zend_ini_entry_def, name_length) - 60usize];
8864 ["Offset of field: _zend_ini_entry_def::value_length"]
8865 [::std::mem::offset_of!(_zend_ini_entry_def, value_length) - 64usize];
8866};
8867pub type zend_ini_entry_def = _zend_ini_entry_def;
8868#[repr(C)]
8869#[derive(Debug, Copy, Clone)]
8870pub struct _zend_ini_entry {
8871 pub name: *mut zend_string,
8872 pub on_modify: ::std::option::Option<
8873 unsafe extern "C" fn(
8874 entry: *mut zend_ini_entry,
8875 new_value: *mut zend_string,
8876 mh_arg1: *mut ::std::os::raw::c_void,
8877 mh_arg2: *mut ::std::os::raw::c_void,
8878 mh_arg3: *mut ::std::os::raw::c_void,
8879 stage: ::std::os::raw::c_int,
8880 ) -> ::std::os::raw::c_int,
8881 >,
8882 pub mh_arg1: *mut ::std::os::raw::c_void,
8883 pub mh_arg2: *mut ::std::os::raw::c_void,
8884 pub mh_arg3: *mut ::std::os::raw::c_void,
8885 pub value: *mut zend_string,
8886 pub orig_value: *mut zend_string,
8887 pub displayer: ::std::option::Option<
8888 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
8889 >,
8890 pub modifiable: ::std::os::raw::c_int,
8891 pub orig_modifiable: ::std::os::raw::c_int,
8892 pub modified: ::std::os::raw::c_int,
8893 pub module_number: ::std::os::raw::c_int,
8894}
8895#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8896const _: () = {
8897 ["Size of _zend_ini_entry"][::std::mem::size_of::<_zend_ini_entry>() - 80usize];
8898 ["Alignment of _zend_ini_entry"][::std::mem::align_of::<_zend_ini_entry>() - 8usize];
8899 ["Offset of field: _zend_ini_entry::name"]
8900 [::std::mem::offset_of!(_zend_ini_entry, name) - 0usize];
8901 ["Offset of field: _zend_ini_entry::on_modify"]
8902 [::std::mem::offset_of!(_zend_ini_entry, on_modify) - 8usize];
8903 ["Offset of field: _zend_ini_entry::mh_arg1"]
8904 [::std::mem::offset_of!(_zend_ini_entry, mh_arg1) - 16usize];
8905 ["Offset of field: _zend_ini_entry::mh_arg2"]
8906 [::std::mem::offset_of!(_zend_ini_entry, mh_arg2) - 24usize];
8907 ["Offset of field: _zend_ini_entry::mh_arg3"]
8908 [::std::mem::offset_of!(_zend_ini_entry, mh_arg3) - 32usize];
8909 ["Offset of field: _zend_ini_entry::value"]
8910 [::std::mem::offset_of!(_zend_ini_entry, value) - 40usize];
8911 ["Offset of field: _zend_ini_entry::orig_value"]
8912 [::std::mem::offset_of!(_zend_ini_entry, orig_value) - 48usize];
8913 ["Offset of field: _zend_ini_entry::displayer"]
8914 [::std::mem::offset_of!(_zend_ini_entry, displayer) - 56usize];
8915 ["Offset of field: _zend_ini_entry::modifiable"]
8916 [::std::mem::offset_of!(_zend_ini_entry, modifiable) - 64usize];
8917 ["Offset of field: _zend_ini_entry::orig_modifiable"]
8918 [::std::mem::offset_of!(_zend_ini_entry, orig_modifiable) - 68usize];
8919 ["Offset of field: _zend_ini_entry::modified"]
8920 [::std::mem::offset_of!(_zend_ini_entry, modified) - 72usize];
8921 ["Offset of field: _zend_ini_entry::module_number"]
8922 [::std::mem::offset_of!(_zend_ini_entry, module_number) - 76usize];
8923};
8924extern "C" {
8925 pub fn zend_ini_startup() -> ::std::os::raw::c_int;
8926}
8927extern "C" {
8928 pub fn zend_ini_shutdown() -> ::std::os::raw::c_int;
8929}
8930extern "C" {
8931 pub fn zend_ini_global_shutdown() -> ::std::os::raw::c_int;
8932}
8933extern "C" {
8934 pub fn zend_ini_deactivate() -> ::std::os::raw::c_int;
8935}
8936extern "C" {
8937 pub fn zend_ini_dtor(ini_directives: *mut HashTable);
8938}
8939extern "C" {
8940 pub fn zend_copy_ini_directives() -> ::std::os::raw::c_int;
8941}
8942extern "C" {
8943 pub fn zend_ini_sort_entries();
8944}
8945extern "C" {
8946 pub fn zend_register_ini_entries(
8947 ini_entry: *const zend_ini_entry_def,
8948 module_number: ::std::os::raw::c_int,
8949 ) -> ::std::os::raw::c_int;
8950}
8951extern "C" {
8952 pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
8953}
8954extern "C" {
8955 pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
8956}
8957extern "C" {
8958 pub fn zend_alter_ini_entry(
8959 name: *mut zend_string,
8960 new_value: *mut zend_string,
8961 modify_type: ::std::os::raw::c_int,
8962 stage: ::std::os::raw::c_int,
8963 ) -> ::std::os::raw::c_int;
8964}
8965extern "C" {
8966 pub fn zend_alter_ini_entry_ex(
8967 name: *mut zend_string,
8968 new_value: *mut zend_string,
8969 modify_type: ::std::os::raw::c_int,
8970 stage: ::std::os::raw::c_int,
8971 force_change: ::std::os::raw::c_int,
8972 ) -> ::std::os::raw::c_int;
8973}
8974extern "C" {
8975 pub fn zend_alter_ini_entry_chars(
8976 name: *mut zend_string,
8977 value: *const ::std::os::raw::c_char,
8978 value_length: usize,
8979 modify_type: ::std::os::raw::c_int,
8980 stage: ::std::os::raw::c_int,
8981 ) -> ::std::os::raw::c_int;
8982}
8983extern "C" {
8984 pub fn zend_alter_ini_entry_chars_ex(
8985 name: *mut zend_string,
8986 value: *const ::std::os::raw::c_char,
8987 value_length: usize,
8988 modify_type: ::std::os::raw::c_int,
8989 stage: ::std::os::raw::c_int,
8990 force_change: ::std::os::raw::c_int,
8991 ) -> ::std::os::raw::c_int;
8992}
8993extern "C" {
8994 pub fn zend_restore_ini_entry(
8995 name: *mut zend_string,
8996 stage: ::std::os::raw::c_int,
8997 ) -> ::std::os::raw::c_int;
8998}
8999extern "C" {
9000 pub fn zend_ini_long(
9001 name: *mut ::std::os::raw::c_char,
9002 name_length: uint,
9003 orig: ::std::os::raw::c_int,
9004 ) -> zend_long;
9005}
9006extern "C" {
9007 pub fn zend_ini_double(
9008 name: *mut ::std::os::raw::c_char,
9009 name_length: uint,
9010 orig: ::std::os::raw::c_int,
9011 ) -> f64;
9012}
9013extern "C" {
9014 pub fn zend_ini_string(
9015 name: *mut ::std::os::raw::c_char,
9016 name_length: uint,
9017 orig: ::std::os::raw::c_int,
9018 ) -> *mut ::std::os::raw::c_char;
9019}
9020extern "C" {
9021 pub fn zend_ini_string_ex(
9022 name: *mut ::std::os::raw::c_char,
9023 name_length: uint,
9024 orig: ::std::os::raw::c_int,
9025 exists: *mut zend_bool,
9026 ) -> *mut ::std::os::raw::c_char;
9027}
9028extern "C" {
9029 pub fn zend_ini_register_displayer(
9030 name: *mut ::std::os::raw::c_char,
9031 name_length: uint,
9032 displayer: ::std::option::Option<
9033 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
9034 >,
9035 ) -> ::std::os::raw::c_int;
9036}
9037extern "C" {
9038 pub fn zend_ini_boolean_displayer_cb(
9039 ini_entry: *mut zend_ini_entry,
9040 type_: ::std::os::raw::c_int,
9041 );
9042}
9043extern "C" {
9044 pub fn zend_ini_color_displayer_cb(
9045 ini_entry: *mut zend_ini_entry,
9046 type_: ::std::os::raw::c_int,
9047 );
9048}
9049pub type zend_ini_parser_cb_t = ::std::option::Option<
9050 unsafe extern "C" fn(
9051 arg1: *mut zval,
9052 arg2: *mut zval,
9053 arg3: *mut zval,
9054 callback_type: ::std::os::raw::c_int,
9055 arg: *mut ::std::os::raw::c_void,
9056 ),
9057>;
9058extern "C" {
9059 pub fn zend_parse_ini_file(
9060 fh: *mut zend_file_handle,
9061 unbuffered_errors: zend_bool,
9062 scanner_mode: ::std::os::raw::c_int,
9063 ini_parser_cb: zend_ini_parser_cb_t,
9064 arg: *mut ::std::os::raw::c_void,
9065 ) -> ::std::os::raw::c_int;
9066}
9067extern "C" {
9068 pub fn zend_parse_ini_string(
9069 str_: *mut ::std::os::raw::c_char,
9070 unbuffered_errors: zend_bool,
9071 scanner_mode: ::std::os::raw::c_int,
9072 ini_parser_cb: zend_ini_parser_cb_t,
9073 arg: *mut ::std::os::raw::c_void,
9074 ) -> ::std::os::raw::c_int;
9075}
9076#[repr(C)]
9077#[derive(Debug, Copy, Clone)]
9078pub struct _zend_ini_parser_param {
9079 pub ini_parser_cb: zend_ini_parser_cb_t,
9080 pub arg: *mut ::std::os::raw::c_void,
9081}
9082#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9083const _: () = {
9084 ["Size of _zend_ini_parser_param"][::std::mem::size_of::<_zend_ini_parser_param>() - 16usize];
9085 ["Alignment of _zend_ini_parser_param"]
9086 [::std::mem::align_of::<_zend_ini_parser_param>() - 8usize];
9087 ["Offset of field: _zend_ini_parser_param::ini_parser_cb"]
9088 [::std::mem::offset_of!(_zend_ini_parser_param, ini_parser_cb) - 0usize];
9089 ["Offset of field: _zend_ini_parser_param::arg"]
9090 [::std::mem::offset_of!(_zend_ini_parser_param, arg) - 8usize];
9091};
9092pub type zend_ini_parser_param = _zend_ini_parser_param;
9093extern "C" {
9094 pub fn php_init_config() -> ::std::os::raw::c_int;
9095}
9096extern "C" {
9097 pub fn php_shutdown_config() -> ::std::os::raw::c_int;
9098}
9099extern "C" {
9100 pub fn php_ini_register_extensions();
9101}
9102extern "C" {
9103 pub fn php_parse_user_ini_file(
9104 dirname: *const ::std::os::raw::c_char,
9105 ini_filename: *mut ::std::os::raw::c_char,
9106 target_hash: *mut HashTable,
9107 ) -> ::std::os::raw::c_int;
9108}
9109extern "C" {
9110 pub fn php_ini_activate_config(
9111 source_hash: *mut HashTable,
9112 modify_type: ::std::os::raw::c_int,
9113 stage: ::std::os::raw::c_int,
9114 );
9115}
9116extern "C" {
9117 pub fn php_ini_has_per_dir_config() -> ::std::os::raw::c_int;
9118}
9119extern "C" {
9120 pub fn php_ini_has_per_host_config() -> ::std::os::raw::c_int;
9121}
9122extern "C" {
9123 pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: usize);
9124}
9125extern "C" {
9126 pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: usize);
9127}
9128extern "C" {
9129 pub fn php_ini_get_configuration_hash() -> *mut HashTable;
9130}
9131extern "C" {
9132 pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
9133}
9134extern "C" {
9135 pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
9136}
9137extern "C" {
9138 pub fn php_check_open_basedir_ex(
9139 path: *const ::std::os::raw::c_char,
9140 warn: ::std::os::raw::c_int,
9141 ) -> ::std::os::raw::c_int;
9142}
9143extern "C" {
9144 pub fn php_check_specific_open_basedir(
9145 basedir: *const ::std::os::raw::c_char,
9146 path: *const ::std::os::raw::c_char,
9147 ) -> ::std::os::raw::c_int;
9148}
9149extern "C" {
9150 pub fn php_check_safe_mode_include_dir(
9151 path: *const ::std::os::raw::c_char,
9152 ) -> ::std::os::raw::c_int;
9153}
9154extern "C" {
9155 pub fn php_resolve_path(
9156 filename: *const ::std::os::raw::c_char,
9157 filename_len: ::std::os::raw::c_int,
9158 path: *const ::std::os::raw::c_char,
9159 ) -> *mut zend_string;
9160}
9161extern "C" {
9162 pub fn php_fopen_with_path(
9163 filename: *const ::std::os::raw::c_char,
9164 mode: *const ::std::os::raw::c_char,
9165 path: *const ::std::os::raw::c_char,
9166 opened_path: *mut *mut zend_string,
9167 ) -> *mut FILE;
9168}
9169extern "C" {
9170 pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
9171}
9172#[repr(C)]
9173#[derive(Debug, Copy, Clone)]
9174pub struct _cwd_state {
9175 pub cwd: *mut ::std::os::raw::c_char,
9176 pub cwd_length: ::std::os::raw::c_int,
9177}
9178#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9179const _: () = {
9180 ["Size of _cwd_state"][::std::mem::size_of::<_cwd_state>() - 16usize];
9181 ["Alignment of _cwd_state"][::std::mem::align_of::<_cwd_state>() - 8usize];
9182 ["Offset of field: _cwd_state::cwd"][::std::mem::offset_of!(_cwd_state, cwd) - 0usize];
9183 ["Offset of field: _cwd_state::cwd_length"]
9184 [::std::mem::offset_of!(_cwd_state, cwd_length) - 8usize];
9185};
9186pub type cwd_state = _cwd_state;
9187#[repr(C)]
9188#[derive(Debug, Copy, Clone)]
9189pub struct _realpath_cache_bucket {
9190 pub key: zend_ulong,
9191 pub path: *mut ::std::os::raw::c_char,
9192 pub realpath: *mut ::std::os::raw::c_char,
9193 pub next: *mut _realpath_cache_bucket,
9194 pub expires: time_t,
9195 pub path_len: ::std::os::raw::c_int,
9196 pub realpath_len: ::std::os::raw::c_int,
9197 pub is_dir: ::std::os::raw::c_int,
9198}
9199#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9200const _: () = {
9201 ["Size of _realpath_cache_bucket"][::std::mem::size_of::<_realpath_cache_bucket>() - 56usize];
9202 ["Alignment of _realpath_cache_bucket"]
9203 [::std::mem::align_of::<_realpath_cache_bucket>() - 8usize];
9204 ["Offset of field: _realpath_cache_bucket::key"]
9205 [::std::mem::offset_of!(_realpath_cache_bucket, key) - 0usize];
9206 ["Offset of field: _realpath_cache_bucket::path"]
9207 [::std::mem::offset_of!(_realpath_cache_bucket, path) - 8usize];
9208 ["Offset of field: _realpath_cache_bucket::realpath"]
9209 [::std::mem::offset_of!(_realpath_cache_bucket, realpath) - 16usize];
9210 ["Offset of field: _realpath_cache_bucket::next"]
9211 [::std::mem::offset_of!(_realpath_cache_bucket, next) - 24usize];
9212 ["Offset of field: _realpath_cache_bucket::expires"]
9213 [::std::mem::offset_of!(_realpath_cache_bucket, expires) - 32usize];
9214 ["Offset of field: _realpath_cache_bucket::path_len"]
9215 [::std::mem::offset_of!(_realpath_cache_bucket, path_len) - 40usize];
9216 ["Offset of field: _realpath_cache_bucket::realpath_len"]
9217 [::std::mem::offset_of!(_realpath_cache_bucket, realpath_len) - 44usize];
9218 ["Offset of field: _realpath_cache_bucket::is_dir"]
9219 [::std::mem::offset_of!(_realpath_cache_bucket, is_dir) - 48usize];
9220};
9221pub type realpath_cache_bucket = _realpath_cache_bucket;
9222#[repr(C)]
9223#[derive(Debug, Copy, Clone)]
9224pub struct _virtual_cwd_globals {
9225 pub cwd: cwd_state,
9226 pub realpath_cache_size: zend_long,
9227 pub realpath_cache_size_limit: zend_long,
9228 pub realpath_cache_ttl: zend_long,
9229 pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
9230}
9231#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9232const _: () = {
9233 ["Size of _virtual_cwd_globals"][::std::mem::size_of::<_virtual_cwd_globals>() - 8232usize];
9234 ["Alignment of _virtual_cwd_globals"][::std::mem::align_of::<_virtual_cwd_globals>() - 8usize];
9235 ["Offset of field: _virtual_cwd_globals::cwd"]
9236 [::std::mem::offset_of!(_virtual_cwd_globals, cwd) - 0usize];
9237 ["Offset of field: _virtual_cwd_globals::realpath_cache_size"]
9238 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size) - 16usize];
9239 ["Offset of field: _virtual_cwd_globals::realpath_cache_size_limit"]
9240 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size_limit) - 24usize];
9241 ["Offset of field: _virtual_cwd_globals::realpath_cache_ttl"]
9242 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_ttl) - 32usize];
9243 ["Offset of field: _virtual_cwd_globals::realpath_cache"]
9244 [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache) - 40usize];
9245};
9246pub type virtual_cwd_globals = _virtual_cwd_globals;
9247extern "C" {
9248 pub static mut cwd_globals: virtual_cwd_globals;
9249}
9250#[repr(C)]
9251#[derive(Copy, Clone)]
9252pub struct _zend_constant {
9253 pub value: zval,
9254 pub name: *mut zend_string,
9255 pub flags: ::std::os::raw::c_int,
9256 pub module_number: ::std::os::raw::c_int,
9257}
9258#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9259const _: () = {
9260 ["Size of _zend_constant"][::std::mem::size_of::<_zend_constant>() - 32usize];
9261 ["Alignment of _zend_constant"][::std::mem::align_of::<_zend_constant>() - 8usize];
9262 ["Offset of field: _zend_constant::value"]
9263 [::std::mem::offset_of!(_zend_constant, value) - 0usize];
9264 ["Offset of field: _zend_constant::name"]
9265 [::std::mem::offset_of!(_zend_constant, name) - 16usize];
9266 ["Offset of field: _zend_constant::flags"]
9267 [::std::mem::offset_of!(_zend_constant, flags) - 24usize];
9268 ["Offset of field: _zend_constant::module_number"]
9269 [::std::mem::offset_of!(_zend_constant, module_number) - 28usize];
9270};
9271pub type zend_constant = _zend_constant;
9272extern "C" {
9273 pub fn zend_startup_constants() -> ::std::os::raw::c_int;
9274}
9275extern "C" {
9276 pub fn zend_shutdown_constants() -> ::std::os::raw::c_int;
9277}
9278extern "C" {
9279 pub fn zend_register_standard_constants();
9280}
9281extern "C" {
9282 pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
9283}
9284extern "C" {
9285 pub fn zend_get_constant_str(name: *const ::std::os::raw::c_char, name_len: usize)
9286 -> *mut zval;
9287}
9288extern "C" {
9289 pub fn zend_get_constant_ex(
9290 name: *mut zend_string,
9291 scope: *mut zend_class_entry,
9292 flags: zend_ulong,
9293 ) -> *mut zval;
9294}
9295extern "C" {
9296 pub fn zend_register_bool_constant(
9297 name: *const ::std::os::raw::c_char,
9298 name_len: usize,
9299 bval: zend_bool,
9300 flags: ::std::os::raw::c_int,
9301 module_number: ::std::os::raw::c_int,
9302 );
9303}
9304extern "C" {
9305 pub fn zend_register_null_constant(
9306 name: *const ::std::os::raw::c_char,
9307 name_len: usize,
9308 flags: ::std::os::raw::c_int,
9309 module_number: ::std::os::raw::c_int,
9310 );
9311}
9312extern "C" {
9313 pub fn zend_register_long_constant(
9314 name: *const ::std::os::raw::c_char,
9315 name_len: usize,
9316 lval: zend_long,
9317 flags: ::std::os::raw::c_int,
9318 module_number: ::std::os::raw::c_int,
9319 );
9320}
9321extern "C" {
9322 pub fn zend_register_double_constant(
9323 name: *const ::std::os::raw::c_char,
9324 name_len: usize,
9325 dval: f64,
9326 flags: ::std::os::raw::c_int,
9327 module_number: ::std::os::raw::c_int,
9328 );
9329}
9330extern "C" {
9331 pub fn zend_register_string_constant(
9332 name: *const ::std::os::raw::c_char,
9333 name_len: usize,
9334 strval: *mut ::std::os::raw::c_char,
9335 flags: ::std::os::raw::c_int,
9336 module_number: ::std::os::raw::c_int,
9337 );
9338}
9339extern "C" {
9340 pub fn zend_register_stringl_constant(
9341 name: *const ::std::os::raw::c_char,
9342 name_len: usize,
9343 strval: *mut ::std::os::raw::c_char,
9344 strlen: usize,
9345 flags: ::std::os::raw::c_int,
9346 module_number: ::std::os::raw::c_int,
9347 );
9348}
9349extern "C" {
9350 pub fn zend_register_constant(c: *mut zend_constant) -> ::std::os::raw::c_int;
9351}
9352extern "C" {
9353 pub fn zend_copy_constants(target: *mut HashTable, sourc: *mut HashTable);
9354}
9355extern "C" {
9356 pub fn zend_quick_get_constant(key: *const zval, flags: zend_ulong) -> *mut zend_constant;
9357}
9358extern "C" {
9359 pub fn php_info_html_esc(string: *mut ::std::os::raw::c_char) -> *mut zend_string;
9360}
9361extern "C" {
9362 pub fn php_info_html_esc_write(
9363 string: *mut ::std::os::raw::c_char,
9364 str_len: ::std::os::raw::c_int,
9365 );
9366}
9367extern "C" {
9368 pub fn php_print_info_htmlhead();
9369}
9370extern "C" {
9371 pub fn php_print_info(flag: ::std::os::raw::c_int);
9372}
9373extern "C" {
9374 pub fn php_print_style();
9375}
9376extern "C" {
9377 pub fn php_info_print_style();
9378}
9379extern "C" {
9380 pub fn php_info_print_table_colspan_header(
9381 num_cols: ::std::os::raw::c_int,
9382 header: *mut ::std::os::raw::c_char,
9383 );
9384}
9385extern "C" {
9386 pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
9387}
9388extern "C" {
9389 pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
9390}
9391extern "C" {
9392 pub fn php_info_print_table_row_ex(
9393 num_cols: ::std::os::raw::c_int,
9394 arg1: *const ::std::os::raw::c_char,
9395 ...
9396 );
9397}
9398extern "C" {
9399 pub fn php_info_print_table_start();
9400}
9401extern "C" {
9402 pub fn php_info_print_table_end();
9403}
9404extern "C" {
9405 pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
9406}
9407extern "C" {
9408 pub fn php_info_print_box_end();
9409}
9410extern "C" {
9411 pub fn php_info_print_hr();
9412}
9413extern "C" {
9414 pub fn php_info_print_module(module: *mut zend_module_entry);
9415}
9416extern "C" {
9417 pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
9418}
9419#[repr(C)]
9420#[derive(Debug, Copy, Clone)]
9421pub struct _zend_extension_version_info {
9422 pub zend_extension_api_no: ::std::os::raw::c_int,
9423 pub build_id: *mut ::std::os::raw::c_char,
9424}
9425#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9426const _: () = {
9427 ["Size of _zend_extension_version_info"]
9428 [::std::mem::size_of::<_zend_extension_version_info>() - 16usize];
9429 ["Alignment of _zend_extension_version_info"]
9430 [::std::mem::align_of::<_zend_extension_version_info>() - 8usize];
9431 ["Offset of field: _zend_extension_version_info::zend_extension_api_no"]
9432 [::std::mem::offset_of!(_zend_extension_version_info, zend_extension_api_no) - 0usize];
9433 ["Offset of field: _zend_extension_version_info::build_id"]
9434 [::std::mem::offset_of!(_zend_extension_version_info, build_id) - 8usize];
9435};
9436pub type zend_extension_version_info = _zend_extension_version_info;
9437pub type zend_extension = _zend_extension;
9438pub type startup_func_t = ::std::option::Option<
9439 unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
9440>;
9441pub type shutdown_func_t =
9442 ::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
9443pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
9444pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
9445pub type message_handler_func_t = ::std::option::Option<
9446 unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
9447>;
9448pub type op_array_handler_func_t =
9449 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9450pub type statement_handler_func_t =
9451 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9452pub type fcall_begin_handler_func_t =
9453 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9454pub type fcall_end_handler_func_t =
9455 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9456pub type op_array_ctor_func_t =
9457 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9458pub type op_array_dtor_func_t =
9459 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9460pub type op_array_persist_calc_func_t =
9461 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array) -> usize>;
9462pub type op_array_persist_func_t = ::std::option::Option<
9463 unsafe extern "C" fn(op_array: *mut zend_op_array, mem: *mut ::std::os::raw::c_void) -> usize,
9464>;
9465#[repr(C)]
9466#[derive(Debug, Copy, Clone)]
9467pub struct _zend_extension {
9468 pub name: *mut ::std::os::raw::c_char,
9469 pub version: *mut ::std::os::raw::c_char,
9470 pub author: *mut ::std::os::raw::c_char,
9471 pub URL: *mut ::std::os::raw::c_char,
9472 pub copyright: *mut ::std::os::raw::c_char,
9473 pub startup: startup_func_t,
9474 pub shutdown: shutdown_func_t,
9475 pub activate: activate_func_t,
9476 pub deactivate: deactivate_func_t,
9477 pub message_handler: message_handler_func_t,
9478 pub op_array_handler: op_array_handler_func_t,
9479 pub statement_handler: statement_handler_func_t,
9480 pub fcall_begin_handler: fcall_begin_handler_func_t,
9481 pub fcall_end_handler: fcall_end_handler_func_t,
9482 pub op_array_ctor: op_array_ctor_func_t,
9483 pub op_array_dtor: op_array_dtor_func_t,
9484 pub api_no_check: ::std::option::Option<
9485 unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
9486 >,
9487 pub build_id_check: ::std::option::Option<
9488 unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
9489 >,
9490 pub op_array_persist_calc: op_array_persist_calc_func_t,
9491 pub op_array_persist: op_array_persist_func_t,
9492 pub reserved5: *mut ::std::os::raw::c_void,
9493 pub reserved6: *mut ::std::os::raw::c_void,
9494 pub reserved7: *mut ::std::os::raw::c_void,
9495 pub reserved8: *mut ::std::os::raw::c_void,
9496 pub handle: *mut ::std::os::raw::c_void,
9497 pub resource_number: ::std::os::raw::c_int,
9498}
9499#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9500const _: () = {
9501 ["Size of _zend_extension"][::std::mem::size_of::<_zend_extension>() - 208usize];
9502 ["Alignment of _zend_extension"][::std::mem::align_of::<_zend_extension>() - 8usize];
9503 ["Offset of field: _zend_extension::name"]
9504 [::std::mem::offset_of!(_zend_extension, name) - 0usize];
9505 ["Offset of field: _zend_extension::version"]
9506 [::std::mem::offset_of!(_zend_extension, version) - 8usize];
9507 ["Offset of field: _zend_extension::author"]
9508 [::std::mem::offset_of!(_zend_extension, author) - 16usize];
9509 ["Offset of field: _zend_extension::URL"]
9510 [::std::mem::offset_of!(_zend_extension, URL) - 24usize];
9511 ["Offset of field: _zend_extension::copyright"]
9512 [::std::mem::offset_of!(_zend_extension, copyright) - 32usize];
9513 ["Offset of field: _zend_extension::startup"]
9514 [::std::mem::offset_of!(_zend_extension, startup) - 40usize];
9515 ["Offset of field: _zend_extension::shutdown"]
9516 [::std::mem::offset_of!(_zend_extension, shutdown) - 48usize];
9517 ["Offset of field: _zend_extension::activate"]
9518 [::std::mem::offset_of!(_zend_extension, activate) - 56usize];
9519 ["Offset of field: _zend_extension::deactivate"]
9520 [::std::mem::offset_of!(_zend_extension, deactivate) - 64usize];
9521 ["Offset of field: _zend_extension::message_handler"]
9522 [::std::mem::offset_of!(_zend_extension, message_handler) - 72usize];
9523 ["Offset of field: _zend_extension::op_array_handler"]
9524 [::std::mem::offset_of!(_zend_extension, op_array_handler) - 80usize];
9525 ["Offset of field: _zend_extension::statement_handler"]
9526 [::std::mem::offset_of!(_zend_extension, statement_handler) - 88usize];
9527 ["Offset of field: _zend_extension::fcall_begin_handler"]
9528 [::std::mem::offset_of!(_zend_extension, fcall_begin_handler) - 96usize];
9529 ["Offset of field: _zend_extension::fcall_end_handler"]
9530 [::std::mem::offset_of!(_zend_extension, fcall_end_handler) - 104usize];
9531 ["Offset of field: _zend_extension::op_array_ctor"]
9532 [::std::mem::offset_of!(_zend_extension, op_array_ctor) - 112usize];
9533 ["Offset of field: _zend_extension::op_array_dtor"]
9534 [::std::mem::offset_of!(_zend_extension, op_array_dtor) - 120usize];
9535 ["Offset of field: _zend_extension::api_no_check"]
9536 [::std::mem::offset_of!(_zend_extension, api_no_check) - 128usize];
9537 ["Offset of field: _zend_extension::build_id_check"]
9538 [::std::mem::offset_of!(_zend_extension, build_id_check) - 136usize];
9539 ["Offset of field: _zend_extension::op_array_persist_calc"]
9540 [::std::mem::offset_of!(_zend_extension, op_array_persist_calc) - 144usize];
9541 ["Offset of field: _zend_extension::op_array_persist"]
9542 [::std::mem::offset_of!(_zend_extension, op_array_persist) - 152usize];
9543 ["Offset of field: _zend_extension::reserved5"]
9544 [::std::mem::offset_of!(_zend_extension, reserved5) - 160usize];
9545 ["Offset of field: _zend_extension::reserved6"]
9546 [::std::mem::offset_of!(_zend_extension, reserved6) - 168usize];
9547 ["Offset of field: _zend_extension::reserved7"]
9548 [::std::mem::offset_of!(_zend_extension, reserved7) - 176usize];
9549 ["Offset of field: _zend_extension::reserved8"]
9550 [::std::mem::offset_of!(_zend_extension, reserved8) - 184usize];
9551 ["Offset of field: _zend_extension::handle"]
9552 [::std::mem::offset_of!(_zend_extension, handle) - 192usize];
9553 ["Offset of field: _zend_extension::resource_number"]
9554 [::std::mem::offset_of!(_zend_extension, resource_number) - 200usize];
9555};
9556extern "C" {
9557 pub fn zend_get_resource_handle(extension: *mut zend_extension) -> ::std::os::raw::c_int;
9558}
9559extern "C" {
9560 pub fn zend_extension_dispatch_message(
9561 message: ::std::os::raw::c_int,
9562 arg: *mut ::std::os::raw::c_void,
9563 );
9564}
9565extern "C" {
9566 pub static mut zend_extensions: zend_llist;
9567}
9568extern "C" {
9569 pub static mut zend_extension_flags: u32;
9570}
9571extern "C" {
9572 pub fn zend_extension_dtor(extension: *mut zend_extension);
9573}
9574extern "C" {
9575 pub fn zend_append_version_info(extension: *const zend_extension);
9576}
9577extern "C" {
9578 pub fn zend_startup_extensions_mechanism() -> ::std::os::raw::c_int;
9579}
9580extern "C" {
9581 pub fn zend_startup_extensions() -> ::std::os::raw::c_int;
9582}
9583extern "C" {
9584 pub fn zend_shutdown_extensions();
9585}
9586extern "C" {
9587 pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
9588}
9589extern "C" {
9590 pub fn zend_register_extension(
9591 new_extension: *mut zend_extension,
9592 handle: *mut ::std::os::raw::c_void,
9593 ) -> ::std::os::raw::c_int;
9594}
9595extern "C" {
9596 pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
9597 -> *mut zend_extension;
9598}
9599extern "C" {
9600 pub fn zend_extensions_op_array_persist_calc(op_array: *mut zend_op_array) -> usize;
9601}
9602extern "C" {
9603 pub fn zend_extensions_op_array_persist(
9604 op_array: *mut zend_op_array,
9605 mem: *mut ::std::os::raw::c_void,
9606 ) -> usize;
9607}
9608pub const ZEND_MODULE_BUILD_ID_: &[u8; 16] = b"API20151012,NTS\0";
9609pub type __builtin_va_list = [__va_list_tag; 1usize];
9610#[repr(C)]
9611#[derive(Debug, Copy, Clone)]
9612pub struct __va_list_tag {
9613 pub gp_offset: ::std::os::raw::c_uint,
9614 pub fp_offset: ::std::os::raw::c_uint,
9615 pub overflow_arg_area: *mut ::std::os::raw::c_void,
9616 pub reg_save_area: *mut ::std::os::raw::c_void,
9617}
9618#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9619const _: () = {
9620 ["Size of __va_list_tag"][::std::mem::size_of::<__va_list_tag>() - 24usize];
9621 ["Alignment of __va_list_tag"][::std::mem::align_of::<__va_list_tag>() - 8usize];
9622 ["Offset of field: __va_list_tag::gp_offset"]
9623 [::std::mem::offset_of!(__va_list_tag, gp_offset) - 0usize];
9624 ["Offset of field: __va_list_tag::fp_offset"]
9625 [::std::mem::offset_of!(__va_list_tag, fp_offset) - 4usize];
9626 ["Offset of field: __va_list_tag::overflow_arg_area"]
9627 [::std::mem::offset_of!(__va_list_tag, overflow_arg_area) - 8usize];
9628 ["Offset of field: __va_list_tag::reg_save_area"]
9629 [::std::mem::offset_of!(__va_list_tag, reg_save_area) - 16usize];
9630};