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 = 20160303;
92pub const PHP_DEFAULT_CHARSET: &'static [u8; 6usize] = b"UTF-8\0";
93pub const PHP_BUILD_DATE: &'static [u8; 11usize] = b"2021-02-23\0";
94pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
95pub const PHP_HAVE_BUILTIN_CLZ: u32 = 1;
96pub const PHP_HAVE_BUILTIN_CTZL: u32 = 1;
97pub const PHP_HAVE_BUILTIN_CTZLL: u32 = 1;
98pub const PHP_HAVE_BUILTIN_EXPECT: u32 = 1;
99pub const PHP_HAVE_STDINT_TYPES: u32 = 1;
100pub const PHP_MHASH_BC: u32 = 1;
101pub const PHP_OS: &'static [u8; 6usize] = b"Linux\0";
102pub const PHP_SIGCHILD: u32 = 0;
103pub const PHP_UNAME : & 'static [u8 ; 98usize] = b"Linux calcifer.rfc1925.org 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux\0" ;
104pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
105pub const PHP_WRITE_STDOUT: u32 = 1;
106pub const ZEND_BROKEN_SPRINTF: u32 = 0;
107pub const ZEND_DEBUG: u32 = 0;
108pub const ZEND_MM_ALIGNMENT: u32 = 8;
109pub const ZEND_MM_ALIGNMENT_LOG2: u32 = 3;
110pub const ZEND_SIGNALS: u32 = 1;
111pub const PHP_MAJOR_VERSION: u32 = 7;
112pub const PHP_MINOR_VERSION: u32 = 1;
113pub const PHP_RELEASE_VERSION: u32 = 33;
114pub const PHP_EXTRA_VERSION: &'static [u8; 38usize] = b"-34+0~20210223.52+debian9~1.gbpb1fb69\0";
115pub const PHP_VERSION: &'static [u8; 44usize] = b"7.1.33-34+0~20210223.52+debian9~1.gbpb1fb69\0";
116pub const PHP_VERSION_ID: u32 = 70133;
117pub const ZEND_VERSION: &'static [u8; 6usize] = b"3.1.0\0";
118pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 4;
119pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
120pub const ZEND_ENABLE_ZVAL_LONG64: u32 = 1;
121pub const ZEND_LTOA_BUF_LEN: u32 = 65;
122pub const ZEND_LONG_FMT: &'static [u8; 4usize] = b"%ld\0";
123pub const ZEND_ULONG_FMT: &'static [u8; 4usize] = b"%lu\0";
124pub const ZEND_XLONG_FMT: &'static [u8; 4usize] = b"%lx\0";
125pub const ZEND_LONG_FMT_SPEC: &'static [u8; 3usize] = b"ld\0";
126pub const ZEND_ULONG_FMT_SPEC: &'static [u8; 3usize] = b"lu\0";
127pub const ZEND_ADDR_FMT: &'static [u8; 9usize] = b"0x%016zx\0";
128pub const ZEND_LONG_CAN_OVFL_INT: u32 = 1;
129pub const ZEND_LONG_CAN_OVFL_UINT: u32 = 1;
130pub const ZEND_SIZE_T_CAN_OVFL_UINT: u32 = 1;
131pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
132pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
133pub const ZEND_SIZE_MAX: i32 = -1;
134pub const IS_UNDEF: u32 = 0;
135pub const IS_NULL: u32 = 1;
136pub const IS_FALSE: u32 = 2;
137pub const IS_TRUE: u32 = 3;
138pub const IS_LONG: u32 = 4;
139pub const IS_DOUBLE: u32 = 5;
140pub const IS_STRING: u32 = 6;
141pub const IS_ARRAY: u32 = 7;
142pub const IS_OBJECT: u32 = 8;
143pub const IS_RESOURCE: u32 = 9;
144pub const IS_REFERENCE: u32 = 10;
145pub const IS_CONSTANT: u32 = 11;
146pub const IS_CONSTANT_AST: u32 = 12;
147pub const _IS_BOOL: u32 = 13;
148pub const IS_CALLABLE: u32 = 14;
149pub const IS_ITERABLE: u32 = 19;
150pub const IS_VOID: u32 = 18;
151pub const IS_INDIRECT: u32 = 15;
152pub const IS_PTR: u32 = 17;
153pub const _IS_ERROR: u32 = 20;
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_INTERNED_STRING_EX: u32 = 6;
163pub const IS_STRING_EX: u32 = 5126;
164pub const IS_ARRAY_EX: u32 = 7175;
165pub const IS_OBJECT_EX: u32 = 3080;
166pub const IS_RESOURCE_EX: u32 = 1033;
167pub const IS_REFERENCE_EX: u32 = 1034;
168pub const IS_CONSTANT_EX: u32 = 5387;
169pub const IS_CONSTANT_AST_EX: u32 = 5388;
170pub const IS_CONSTANT_UNQUALIFIED: u32 = 16;
171pub const IS_CONSTANT_VISITED_MARK: u32 = 32;
172pub const IS_CONSTANT_CLASS: u32 = 128;
173pub const IS_CONSTANT_IN_NAMESPACE: u32 = 256;
174pub const IS_STR_PERSISTENT: u32 = 1;
175pub const IS_STR_INTERNED: u32 = 2;
176pub const IS_STR_PERMANENT: u32 = 4;
177pub const IS_STR_CONSTANT: u32 = 8;
178pub const IS_STR_CONSTANT_UNQUALIFIED: u32 = 16;
179pub const IS_ARRAY_IMMUTABLE: u32 = 2;
180pub const IS_OBJ_APPLY_COUNT: u32 = 7;
181pub const IS_OBJ_DESTRUCTOR_CALLED: u32 = 8;
182pub const IS_OBJ_FREE_CALLED: u32 = 16;
183pub const IS_OBJ_USE_GUARDS: u32 = 32;
184pub const IS_OBJ_HAS_GUARDS: u32 = 64;
185pub const ZEND_MM_OVERHEAD: u32 = 0;
186pub const ZEND_MM_CHUNK_SIZE: u32 = 2097152;
187pub const ZEND_MM_PAGE_SIZE: u32 = 4096;
188pub const ZEND_MM_PAGES: u32 = 512;
189pub const ZEND_MM_FIRST_PAGE: u32 = 1;
190pub const ZEND_MM_MIN_SMALL_SIZE: u32 = 8;
191pub const ZEND_MM_MAX_SMALL_SIZE: u32 = 3072;
192pub const ZEND_MM_MAX_LARGE_SIZE: u32 = 2093056;
193pub const ZEND_MM_CUSTOM_HEAP_NONE: u32 = 0;
194pub const ZEND_MM_CUSTOM_HEAP_STD: u32 = 1;
195pub const ZEND_MM_CUSTOM_HEAP_DEBUG: u32 = 2;
196pub const HASH_KEY_IS_STRING: u32 = 1;
197pub const HASH_KEY_IS_LONG: u32 = 2;
198pub const HASH_KEY_NON_EXISTENT: u32 = 3;
199pub const HASH_UPDATE: u32 = 1;
200pub const HASH_ADD: u32 = 2;
201pub const HASH_UPDATE_INDIRECT: u32 = 4;
202pub const HASH_ADD_NEW: u32 = 8;
203pub const HASH_ADD_NEXT: u32 = 16;
204pub const HASH_FLAG_PERSISTENT: u32 = 1;
205pub const HASH_FLAG_APPLY_PROTECTION: u32 = 2;
206pub const HASH_FLAG_PACKED: u32 = 4;
207pub const HASH_FLAG_INITIALIZED: u32 = 8;
208pub const HASH_FLAG_STATIC_KEYS: u32 = 16;
209pub const HASH_FLAG_HAS_EMPTY_IND: u32 = 32;
210pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
211pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
212pub const ZEND_HASH_APPLY_STOP: u32 = 2;
213pub const ZEND_HASH_APPLY_SHIFT: u32 = 8;
214pub const ZEND_HASH_APPLY_COUNT_MASK: u32 = 65280;
215pub const ZEND_AST_SPECIAL_SHIFT: u32 = 6;
216pub const ZEND_AST_IS_LIST_SHIFT: u32 = 7;
217pub const ZEND_AST_NUM_CHILDREN_SHIFT: u32 = 8;
218pub const GC_BENCH: u32 = 0;
219pub const GC_COLOR: u32 = 49152;
220pub const GC_BLACK: u32 = 0;
221pub const GC_WHITE: u32 = 32768;
222pub const GC_GREY: u32 = 16384;
223pub const GC_PURPLE: u32 = 49152;
224pub const ZEND_MMAP_AHEAD: u32 = 32;
225pub const ZEND_SIGNAL_QUEUE_SIZE: u32 = 64;
226pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
227pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
228pub const ZEND_USE_ABS_JMP_ADDR: u32 = 0;
229pub const ZEND_USE_ABS_CONST_ADDR: u32 = 0;
230pub const ZEND_EX_USE_LITERALS: u32 = 1;
231pub const ZEND_EX_USE_RUN_TIME_CACHE: u32 = 1;
232pub const ZEND_LIVE_TMPVAR: u32 = 0;
233pub const ZEND_LIVE_LOOP: u32 = 1;
234pub const ZEND_LIVE_SILENCE: u32 = 2;
235pub const ZEND_LIVE_ROPE: u32 = 3;
236pub const ZEND_LIVE_MASK: u32 = 3;
237pub const ZEND_ACC_STATIC: u32 = 1;
238pub const ZEND_ACC_ABSTRACT: u32 = 2;
239pub const ZEND_ACC_FINAL: u32 = 4;
240pub const ZEND_ACC_IMPLEMENTED_ABSTRACT: u32 = 8;
241pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
242pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 32;
243pub const ZEND_ACC_INTERFACE: u32 = 64;
244pub const ZEND_ACC_TRAIT: u32 = 128;
245pub const ZEND_ACC_ANON_CLASS: u32 = 256;
246pub const ZEND_ACC_ANON_BOUND: u32 = 512;
247pub const ZEND_ACC_INHERITED: u32 = 1024;
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_HAS_SYMBOL_TABLE: 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 ZEND_CALL_GENERATOR: u32 = 256;
293pub const ZEND_CALL_DYNAMIC: u32 = 512;
294pub const ZEND_CALL_INFO_SHIFT: u32 = 16;
295pub const IS_CONST: u32 = 1;
296pub const IS_TMP_VAR: u32 = 2;
297pub const IS_VAR: u32 = 4;
298pub const IS_UNUSED: u32 = 8;
299pub const IS_CV: u32 = 16;
300pub const ZEND_STACK_APPLY_TOPDOWN: u32 = 1;
301pub const ZEND_STACK_APPLY_BOTTOMUP: u32 = 2;
302pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
303pub const ZEND_ARENA_ALIGNMENT: u32 = 8;
304pub const ZEND_EARLY_BINDING_COMPILE_TIME: u32 = 0;
305pub const ZEND_EARLY_BINDING_DELAYED: u32 = 1;
306pub const ZEND_EARLY_BINDING_DELAYED_ALL: u32 = 2;
307pub const ZEND_VM_SPEC: u32 = 1;
308pub const ZEND_VM_LINES: u32 = 0;
309pub const ZEND_VM_KIND_CALL: u32 = 1;
310pub const ZEND_VM_KIND_SWITCH: u32 = 2;
311pub const ZEND_VM_KIND_GOTO: u32 = 3;
312pub const ZEND_VM_KIND: u32 = 1;
313pub const ZEND_VM_OP_SPEC: u32 = 1;
314pub const ZEND_VM_OP_CONST: u32 = 2;
315pub const ZEND_VM_OP_TMPVAR: u32 = 4;
316pub const ZEND_VM_OP_TMPVARCV: u32 = 8;
317pub const ZEND_VM_OP_MASK: u32 = 240;
318pub const ZEND_VM_OP_NUM: u32 = 16;
319pub const ZEND_VM_OP_JMP_ADDR: u32 = 32;
320pub const ZEND_VM_OP_TRY_CATCH: u32 = 48;
321pub const ZEND_VM_OP_LIVE_RANGE: u32 = 64;
322pub const ZEND_VM_OP_THIS: u32 = 80;
323pub const ZEND_VM_OP_NEXT: u32 = 96;
324pub const ZEND_VM_OP_CLASS_FETCH: u32 = 112;
325pub const ZEND_VM_OP_CONSTRUCTOR: u32 = 128;
326pub const ZEND_VM_EXT_VAR_FETCH: u32 = 65536;
327pub const ZEND_VM_EXT_ISSET: u32 = 131072;
328pub const ZEND_VM_EXT_ARG_NUM: u32 = 262144;
329pub const ZEND_VM_EXT_ARRAY_INIT: u32 = 524288;
330pub const ZEND_VM_EXT_REF: u32 = 1048576;
331pub const ZEND_VM_EXT_MASK: u32 = 251658240;
332pub const ZEND_VM_EXT_NUM: u32 = 16777216;
333pub const ZEND_VM_EXT_JMP_ADDR: u32 = 50331648;
334pub const ZEND_VM_EXT_DIM_OBJ: u32 = 67108864;
335pub const ZEND_VM_EXT_CLASS_FETCH: u32 = 83886080;
336pub const ZEND_VM_EXT_CONST_FETCH: u32 = 100663296;
337pub const ZEND_VM_EXT_TYPE: u32 = 117440512;
338pub const ZEND_VM_EXT_EVAL: u32 = 134217728;
339pub const ZEND_VM_EXT_SRC: u32 = 184549376;
340pub const ZEND_VM_NO_CONST_CONST: u32 = 1073741824;
341pub const ZEND_VM_COMMUTATIVE: u32 = 2147483648;
342pub const ZEND_NOP: u32 = 0;
343pub const ZEND_ADD: u32 = 1;
344pub const ZEND_SUB: u32 = 2;
345pub const ZEND_MUL: u32 = 3;
346pub const ZEND_DIV: u32 = 4;
347pub const ZEND_MOD: u32 = 5;
348pub const ZEND_SL: u32 = 6;
349pub const ZEND_SR: u32 = 7;
350pub const ZEND_CONCAT: u32 = 8;
351pub const ZEND_BW_OR: u32 = 9;
352pub const ZEND_BW_AND: u32 = 10;
353pub const ZEND_BW_XOR: u32 = 11;
354pub const ZEND_BW_NOT: u32 = 12;
355pub const ZEND_BOOL_NOT: u32 = 13;
356pub const ZEND_BOOL_XOR: u32 = 14;
357pub const ZEND_IS_IDENTICAL: u32 = 15;
358pub const ZEND_IS_NOT_IDENTICAL: u32 = 16;
359pub const ZEND_IS_EQUAL: u32 = 17;
360pub const ZEND_IS_NOT_EQUAL: u32 = 18;
361pub const ZEND_IS_SMALLER: u32 = 19;
362pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 20;
363pub const ZEND_CAST: u32 = 21;
364pub const ZEND_QM_ASSIGN: u32 = 22;
365pub const ZEND_ASSIGN_ADD: u32 = 23;
366pub const ZEND_ASSIGN_SUB: u32 = 24;
367pub const ZEND_ASSIGN_MUL: u32 = 25;
368pub const ZEND_ASSIGN_DIV: u32 = 26;
369pub const ZEND_ASSIGN_MOD: u32 = 27;
370pub const ZEND_ASSIGN_SL: u32 = 28;
371pub const ZEND_ASSIGN_SR: u32 = 29;
372pub const ZEND_ASSIGN_CONCAT: u32 = 30;
373pub const ZEND_ASSIGN_BW_OR: u32 = 31;
374pub const ZEND_ASSIGN_BW_AND: u32 = 32;
375pub const ZEND_ASSIGN_BW_XOR: u32 = 33;
376pub const ZEND_PRE_INC: u32 = 34;
377pub const ZEND_PRE_DEC: u32 = 35;
378pub const ZEND_POST_INC: u32 = 36;
379pub const ZEND_POST_DEC: u32 = 37;
380pub const ZEND_ASSIGN: u32 = 38;
381pub const ZEND_ASSIGN_REF: u32 = 39;
382pub const ZEND_ECHO: u32 = 40;
383pub const ZEND_GENERATOR_CREATE: u32 = 41;
384pub const ZEND_JMP: u32 = 42;
385pub const ZEND_JMPZ: u32 = 43;
386pub const ZEND_JMPNZ: u32 = 44;
387pub const ZEND_JMPZNZ: u32 = 45;
388pub const ZEND_JMPZ_EX: u32 = 46;
389pub const ZEND_JMPNZ_EX: u32 = 47;
390pub const ZEND_CASE: u32 = 48;
391pub const ZEND_CHECK_VAR: u32 = 49;
392pub const ZEND_SEND_VAR_NO_REF_EX: u32 = 50;
393pub const ZEND_MAKE_REF: u32 = 51;
394pub const ZEND_BOOL: u32 = 52;
395pub const ZEND_FAST_CONCAT: u32 = 53;
396pub const ZEND_ROPE_INIT: u32 = 54;
397pub const ZEND_ROPE_ADD: u32 = 55;
398pub const ZEND_ROPE_END: u32 = 56;
399pub const ZEND_BEGIN_SILENCE: u32 = 57;
400pub const ZEND_END_SILENCE: u32 = 58;
401pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
402pub const ZEND_DO_FCALL: u32 = 60;
403pub const ZEND_INIT_FCALL: u32 = 61;
404pub const ZEND_RETURN: u32 = 62;
405pub const ZEND_RECV: u32 = 63;
406pub const ZEND_RECV_INIT: u32 = 64;
407pub const ZEND_SEND_VAL: u32 = 65;
408pub const ZEND_SEND_VAR_EX: u32 = 66;
409pub const ZEND_SEND_REF: u32 = 67;
410pub const ZEND_NEW: u32 = 68;
411pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
412pub const ZEND_FREE: u32 = 70;
413pub const ZEND_INIT_ARRAY: u32 = 71;
414pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
415pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
416pub const ZEND_UNSET_VAR: u32 = 74;
417pub const ZEND_UNSET_DIM: u32 = 75;
418pub const ZEND_UNSET_OBJ: u32 = 76;
419pub const ZEND_FE_RESET_R: u32 = 77;
420pub const ZEND_FE_FETCH_R: u32 = 78;
421pub const ZEND_EXIT: u32 = 79;
422pub const ZEND_FETCH_R: u32 = 80;
423pub const ZEND_FETCH_DIM_R: u32 = 81;
424pub const ZEND_FETCH_OBJ_R: u32 = 82;
425pub const ZEND_FETCH_W: u32 = 83;
426pub const ZEND_FETCH_DIM_W: u32 = 84;
427pub const ZEND_FETCH_OBJ_W: u32 = 85;
428pub const ZEND_FETCH_RW: u32 = 86;
429pub const ZEND_FETCH_DIM_RW: u32 = 87;
430pub const ZEND_FETCH_OBJ_RW: u32 = 88;
431pub const ZEND_FETCH_IS: u32 = 89;
432pub const ZEND_FETCH_DIM_IS: u32 = 90;
433pub const ZEND_FETCH_OBJ_IS: u32 = 91;
434pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
435pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
436pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
437pub const ZEND_FETCH_UNSET: u32 = 95;
438pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
439pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
440pub const ZEND_FETCH_LIST: u32 = 98;
441pub const ZEND_FETCH_CONSTANT: u32 = 99;
442pub const ZEND_EXT_STMT: u32 = 101;
443pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
444pub const ZEND_EXT_FCALL_END: u32 = 103;
445pub const ZEND_EXT_NOP: u32 = 104;
446pub const ZEND_TICKS: u32 = 105;
447pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
448pub const ZEND_CATCH: u32 = 107;
449pub const ZEND_THROW: u32 = 108;
450pub const ZEND_FETCH_CLASS: u32 = 109;
451pub const ZEND_CLONE: u32 = 110;
452pub const ZEND_RETURN_BY_REF: u32 = 111;
453pub const ZEND_INIT_METHOD_CALL: u32 = 112;
454pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
455pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
456pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
457pub const ZEND_SEND_VAL_EX: u32 = 116;
458pub const ZEND_SEND_VAR: u32 = 117;
459pub const ZEND_INIT_USER_CALL: u32 = 118;
460pub const ZEND_SEND_ARRAY: u32 = 119;
461pub const ZEND_SEND_USER: u32 = 120;
462pub const ZEND_STRLEN: u32 = 121;
463pub const ZEND_DEFINED: u32 = 122;
464pub const ZEND_TYPE_CHECK: u32 = 123;
465pub const ZEND_VERIFY_RETURN_TYPE: u32 = 124;
466pub const ZEND_FE_RESET_RW: u32 = 125;
467pub const ZEND_FE_FETCH_RW: u32 = 126;
468pub const ZEND_FE_FREE: u32 = 127;
469pub const ZEND_INIT_DYNAMIC_CALL: u32 = 128;
470pub const ZEND_DO_ICALL: u32 = 129;
471pub const ZEND_DO_UCALL: u32 = 130;
472pub const ZEND_DO_FCALL_BY_NAME: u32 = 131;
473pub const ZEND_PRE_INC_OBJ: u32 = 132;
474pub const ZEND_PRE_DEC_OBJ: u32 = 133;
475pub const ZEND_POST_INC_OBJ: u32 = 134;
476pub const ZEND_POST_DEC_OBJ: u32 = 135;
477pub const ZEND_ASSIGN_OBJ: u32 = 136;
478pub const ZEND_OP_DATA: u32 = 137;
479pub const ZEND_INSTANCEOF: u32 = 138;
480pub const ZEND_DECLARE_CLASS: u32 = 139;
481pub const ZEND_DECLARE_INHERITED_CLASS: u32 = 140;
482pub const ZEND_DECLARE_FUNCTION: u32 = 141;
483pub const ZEND_YIELD_FROM: u32 = 142;
484pub const ZEND_DECLARE_CONST: u32 = 143;
485pub const ZEND_ADD_INTERFACE: u32 = 144;
486pub const ZEND_DECLARE_INHERITED_CLASS_DELAYED: u32 = 145;
487pub const ZEND_VERIFY_ABSTRACT_CLASS: u32 = 146;
488pub const ZEND_ASSIGN_DIM: u32 = 147;
489pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
490pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
491pub const ZEND_USER_OPCODE: u32 = 150;
492pub const ZEND_ASSERT_CHECK: u32 = 151;
493pub const ZEND_JMP_SET: u32 = 152;
494pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 153;
495pub const ZEND_ADD_TRAIT: u32 = 154;
496pub const ZEND_BIND_TRAITS: u32 = 155;
497pub const ZEND_SEPARATE: u32 = 156;
498pub const ZEND_FETCH_CLASS_NAME: u32 = 157;
499pub const ZEND_CALL_TRAMPOLINE: u32 = 158;
500pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
501pub const ZEND_YIELD: u32 = 160;
502pub const ZEND_GENERATOR_RETURN: u32 = 161;
503pub const ZEND_FAST_CALL: u32 = 162;
504pub const ZEND_FAST_RET: u32 = 163;
505pub const ZEND_RECV_VARIADIC: u32 = 164;
506pub const ZEND_SEND_UNPACK: u32 = 165;
507pub const ZEND_POW: u32 = 166;
508pub const ZEND_ASSIGN_POW: u32 = 167;
509pub const ZEND_BIND_GLOBAL: u32 = 168;
510pub const ZEND_COALESCE: u32 = 169;
511pub const ZEND_SPACESHIP: u32 = 170;
512pub const ZEND_DECLARE_ANON_CLASS: u32 = 171;
513pub const ZEND_DECLARE_ANON_INHERITED_CLASS: u32 = 172;
514pub const ZEND_FETCH_STATIC_PROP_R: u32 = 173;
515pub const ZEND_FETCH_STATIC_PROP_W: u32 = 174;
516pub const ZEND_FETCH_STATIC_PROP_RW: u32 = 175;
517pub const ZEND_FETCH_STATIC_PROP_IS: u32 = 176;
518pub const ZEND_FETCH_STATIC_PROP_FUNC_ARG: u32 = 177;
519pub const ZEND_FETCH_STATIC_PROP_UNSET: u32 = 178;
520pub const ZEND_UNSET_STATIC_PROP: u32 = 179;
521pub const ZEND_ISSET_ISEMPTY_STATIC_PROP: u32 = 180;
522pub const ZEND_FETCH_CLASS_CONSTANT: u32 = 181;
523pub const ZEND_BIND_LEXICAL: u32 = 182;
524pub const ZEND_BIND_STATIC: u32 = 183;
525pub const ZEND_FETCH_THIS: u32 = 184;
526pub const ZEND_ISSET_ISEMPTY_THIS: u32 = 186;
527pub const ZEND_VM_LAST_OPCODE: u32 = 186;
528pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
529pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
530pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
531pub const ZEND_FETCH_CLASS_STATIC: u32 = 3;
532pub const ZEND_FETCH_CLASS_AUTO: u32 = 4;
533pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 5;
534pub const ZEND_FETCH_CLASS_TRAIT: u32 = 6;
535pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
536pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
537pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
538pub const ZEND_FETCH_CLASS_EXCEPTION: u32 = 512;
539pub const ZEND_PARAM_REF: u32 = 1;
540pub const ZEND_PARAM_VARIADIC: u32 = 2;
541pub const ZEND_NAME_FQ: u32 = 0;
542pub const ZEND_NAME_NOT_FQ: u32 = 1;
543pub const ZEND_NAME_RELATIVE: u32 = 2;
544pub const ZEND_TYPE_NULLABLE: u32 = 256;
545pub const ZEND_ARRAY_SYNTAX_LIST: u32 = 1;
546pub const ZEND_ARRAY_SYNTAX_LONG: u32 = 2;
547pub const ZEND_ARRAY_SYNTAX_SHORT: u32 = 3;
548pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
549pub const ZEND_USER_FUNCTION: u32 = 2;
550pub const ZEND_OVERLOADED_FUNCTION: u32 = 3;
551pub const ZEND_EVAL_CODE: u32 = 4;
552pub const ZEND_OVERLOADED_FUNCTION_TEMPORARY: u32 = 5;
553pub const ZEND_INTERNAL_CLASS: u32 = 1;
554pub const ZEND_USER_CLASS: u32 = 2;
555pub const ZEND_EVAL: u32 = 1;
556pub const ZEND_INCLUDE: u32 = 2;
557pub const ZEND_INCLUDE_ONCE: u32 = 4;
558pub const ZEND_REQUIRE: u32 = 8;
559pub const ZEND_REQUIRE_ONCE: u32 = 16;
560pub const ZEND_CT: u32 = 1;
561pub const ZEND_RT: u32 = 2;
562pub const ZEND_FETCH_GLOBAL: u32 = 0;
563pub const ZEND_FETCH_LOCAL: u32 = 268435456;
564pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 1073741824;
565pub const ZEND_FETCH_TYPE_MASK: u32 = 1879048192;
566pub const ZEND_FETCH_STANDARD: u32 = 0;
567pub const ZEND_ISSET: u32 = 33554432;
568pub const ZEND_ISEMPTY: u32 = 16777216;
569pub const ZEND_ISSET_ISEMPTY_MASK: u32 = 50331648;
570pub const ZEND_QUICK_SET: u32 = 8388608;
571pub const ZEND_FETCH_ARG_MASK: u32 = 1048575;
572pub const ZEND_FREE_ON_RETURN: u32 = 1;
573pub const ZEND_SEND_BY_VAL: u32 = 0;
574pub const ZEND_SEND_BY_REF: u32 = 1;
575pub const ZEND_SEND_PREFER_REF: u32 = 2;
576pub const ZEND_DIM_IS: u32 = 1;
577pub const ZEND_RETURN_VAL: u32 = 0;
578pub const ZEND_RETURN_REF: u32 = 1;
579pub const ZEND_RETURNS_FUNCTION: u32 = 1;
580pub const ZEND_RETURNS_VALUE: u32 = 2;
581pub const ZEND_ARRAY_ELEMENT_REF: u32 = 1;
582pub const ZEND_ARRAY_NOT_PACKED: u32 = 2;
583pub const ZEND_ARRAY_SIZE_SHIFT: u32 = 2;
584pub const ZEND_GOTO: u32 = 253;
585pub const ZEND_BRK: u32 = 254;
586pub const ZEND_CONT: u32 = 255;
587pub const ZEND_CLONE_FUNC_NAME: &'static [u8; 8usize] = b"__clone\0";
588pub const ZEND_CONSTRUCTOR_FUNC_NAME: &'static [u8; 12usize] = b"__construct\0";
589pub const ZEND_DESTRUCTOR_FUNC_NAME: &'static [u8; 11usize] = b"__destruct\0";
590pub const ZEND_GET_FUNC_NAME: &'static [u8; 6usize] = b"__get\0";
591pub const ZEND_SET_FUNC_NAME: &'static [u8; 6usize] = b"__set\0";
592pub const ZEND_UNSET_FUNC_NAME: &'static [u8; 8usize] = b"__unset\0";
593pub const ZEND_ISSET_FUNC_NAME: &'static [u8; 8usize] = b"__isset\0";
594pub const ZEND_CALL_FUNC_NAME: &'static [u8; 7usize] = b"__call\0";
595pub const ZEND_CALLSTATIC_FUNC_NAME: &'static [u8; 13usize] = b"__callstatic\0";
596pub const ZEND_TOSTRING_FUNC_NAME: &'static [u8; 11usize] = b"__tostring\0";
597pub const ZEND_AUTOLOAD_FUNC_NAME: &'static [u8; 11usize] = b"__autoload\0";
598pub const ZEND_INVOKE_FUNC_NAME: &'static [u8; 9usize] = b"__invoke\0";
599pub const ZEND_DEBUGINFO_FUNC_NAME: &'static [u8; 12usize] = b"__debuginfo\0";
600pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 1;
601pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 2;
602pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 4;
603pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 8;
604pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 16;
605pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 32;
606pub const ZEND_COMPILE_NO_BUILTIN_STRLEN: u32 = 64;
607pub const ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION: u32 = 128;
608pub const ZEND_COMPILE_IGNORE_USER_FUNCTIONS: u32 = 256;
609pub const ZEND_COMPILE_GUARDS: u32 = 512;
610pub const ZEND_COMPILE_NO_BUILTINS: u32 = 1024;
611pub const ZEND_COMPILE_DEFAULT: u32 = 2;
612pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
613pub const ZEND_BUILD_TS: &'static [u8; 5usize] = b",NTS\0";
614pub const ZEND_MODULE_API_NO: u32 = 20160303;
615pub const USING_ZTS: u32 = 0;
616pub const MODULE_PERSISTENT: u32 = 1;
617pub const MODULE_TEMPORARY: u32 = 2;
618pub const MODULE_DEP_REQUIRED: u32 = 1;
619pub const MODULE_DEP_CONFLICTS: u32 = 2;
620pub const MODULE_DEP_OPTIONAL: u32 = 3;
621pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
622pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
623pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
624pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
625pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
626pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
627pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
628pub const ZEND_PARSE_PARAMS_THROW: u32 = 4;
629pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
630pub const IS_CALLABLE_CHECK_NO_ACCESS: u32 = 2;
631pub const IS_CALLABLE_CHECK_IS_STATIC: u32 = 4;
632pub const IS_CALLABLE_CHECK_SILENT: u32 = 8;
633pub const IS_CALLABLE_STRICT: u32 = 4;
634pub const PHP_DEBUG: u32 = 0;
635pub const PHP_DIR_SEPARATOR: u8 = 47u8;
636pub const PHP_EOL: &'static [u8; 2usize] = b"\n\0";
637pub const PHP_ADA_INCLUDE: &'static [u8; 1usize] = b"\0";
638pub const PHP_ADA_LFLAGS: &'static [u8; 1usize] = b"\0";
639pub const PHP_ADA_LIBS: &'static [u8; 1usize] = b"\0";
640pub const PHP_APACHE_INCLUDE: &'static [u8; 1usize] = b"\0";
641pub const PHP_APACHE_TARGET: &'static [u8; 1usize] = b"\0";
642pub const PHP_FHTTPD_INCLUDE: &'static [u8; 1usize] = b"\0";
643pub const PHP_FHTTPD_LIB: &'static [u8; 1usize] = b"\0";
644pub const PHP_FHTTPD_TARGET: &'static [u8; 1usize] = b"\0";
645pub const PHP_CFLAGS: &'static [u8; 40usize] = b"$(CFLAGS_CLEAN) -prefer-non-pic -static\0";
646pub const PHP_DBASE_LIB: &'static [u8; 1usize] = b"\0";
647pub const PHP_BUILD_DEBUG: &'static [u8; 1usize] = b"\0";
648pub const PHP_GDBM_INCLUDE: &'static [u8; 1usize] = b"\0";
649pub const PHP_IBASE_INCLUDE: &'static [u8; 1usize] = b"\0";
650pub const PHP_IBASE_LFLAGS: &'static [u8; 1usize] = b"\0";
651pub const PHP_IBASE_LIBS: &'static [u8; 1usize] = b"\0";
652pub const PHP_IFX_INCLUDE: &'static [u8; 1usize] = b"\0";
653pub const PHP_IFX_LFLAGS: &'static [u8; 1usize] = b"\0";
654pub const PHP_IFX_LIBS: &'static [u8; 1usize] = b"\0";
655pub const PHP_INSTALL_IT: &'static [u8; 1usize] = b"\0";
656pub const PHP_IODBC_INCLUDE: &'static [u8; 1usize] = b"\0";
657pub const PHP_IODBC_LFLAGS: &'static [u8; 1usize] = b"\0";
658pub const PHP_IODBC_LIBS: &'static [u8; 1usize] = b"\0";
659pub const PHP_MSQL_INCLUDE: &'static [u8; 1usize] = b"\0";
660pub const PHP_MSQL_LFLAGS: &'static [u8; 1usize] = b"\0";
661pub const PHP_MSQL_LIBS: &'static [u8; 1usize] = b"\0";
662pub const PHP_MYSQL_INCLUDE: &'static [u8; 16usize] = b"@MYSQL_INCLUDE@\0";
663pub const PHP_MYSQL_LIBS: &'static [u8; 13usize] = b"@MYSQL_LIBS@\0";
664pub const PHP_MYSQL_TYPE: &'static [u8; 20usize] = b"@MYSQL_MODULE_TYPE@\0";
665pub const PHP_ODBC_INCLUDE: &'static [u8; 1usize] = b"\0";
666pub const PHP_ODBC_LFLAGS: &'static [u8; 1usize] = b"\0";
667pub const PHP_ODBC_LIBS: &'static [u8; 1usize] = b"\0";
668pub const PHP_ODBC_TYPE: &'static [u8; 1usize] = b"\0";
669pub const PHP_OCI8_SHARED_LIBADD: &'static [u8; 1usize] = b"\0";
670pub const PHP_OCI8_DIR: &'static [u8; 1usize] = b"\0";
671pub const PHP_OCI8_ORACLE_VERSION: &'static [u8; 1usize] = b"\0";
672pub const PHP_ORACLE_SHARED_LIBADD: &'static [u8; 23usize] = b"@ORACLE_SHARED_LIBADD@\0";
673pub const PHP_ORACLE_DIR: &'static [u8; 13usize] = b"@ORACLE_DIR@\0";
674pub const PHP_ORACLE_VERSION: &'static [u8; 17usize] = b"@ORACLE_VERSION@\0";
675pub const PHP_PGSQL_INCLUDE: &'static [u8; 1usize] = b"\0";
676pub const PHP_PGSQL_LFLAGS: &'static [u8; 1usize] = b"\0";
677pub const PHP_PGSQL_LIBS: &'static [u8; 1usize] = b"\0";
678pub const PHP_PROG_SENDMAIL: &'static [u8; 19usize] = b"/usr/sbin/sendmail\0";
679pub const PHP_SOLID_INCLUDE: &'static [u8; 1usize] = b"\0";
680pub const PHP_SOLID_LIBS: &'static [u8; 1usize] = b"\0";
681pub const PHP_EMPRESS_INCLUDE: &'static [u8; 1usize] = b"\0";
682pub const PHP_EMPRESS_LIBS: &'static [u8; 1usize] = b"\0";
683pub const PHP_SYBASE_INCLUDE: &'static [u8; 1usize] = b"\0";
684pub const PHP_SYBASE_LFLAGS: &'static [u8; 1usize] = b"\0";
685pub const PHP_SYBASE_LIBS: &'static [u8; 1usize] = b"\0";
686pub const PHP_DBM_TYPE: &'static [u8; 1usize] = b"\0";
687pub const PHP_DBM_LIB: &'static [u8; 1usize] = b"\0";
688pub const PHP_LDAP_LFLAGS: &'static [u8; 1usize] = b"\0";
689pub const PHP_LDAP_INCLUDE: &'static [u8; 1usize] = b"\0";
690pub const PHP_LDAP_LIBS: &'static [u8; 1usize] = b"\0";
691pub const PHP_BIRDSTEP_INCLUDE: &'static [u8; 1usize] = b"\0";
692pub const PHP_BIRDSTEP_LIBS: &'static [u8; 1usize] = b"\0";
693pub const PHP_INCLUDE_PATH: &'static [u8; 17usize] = b".:/usr/share/php\0";
694pub const PHP_EXTENSION_DIR: &'static [u8; 22usize] = b"/usr/lib/php/20160303\0";
695pub const PHP_PREFIX: &'static [u8; 5usize] = b"/usr\0";
696pub const PHP_BINDIR: &'static [u8; 9usize] = b"/usr/bin\0";
697pub const PHP_SBINDIR: &'static [u8; 10usize] = b"/usr/sbin\0";
698pub const PHP_MANDIR: &'static [u8; 15usize] = b"/usr/share/man\0";
699pub const PHP_LIBDIR: &'static [u8; 13usize] = b"/usr/lib/php\0";
700pub const PHP_DATADIR: &'static [u8; 19usize] = b"/usr/share/php/7.1\0";
701pub const PHP_SYSCONFDIR: &'static [u8; 5usize] = b"/etc\0";
702pub const PHP_LOCALSTATEDIR: &'static [u8; 5usize] = b"/var\0";
703pub const PHP_CONFIG_FILE_PATH: &'static [u8; 17usize] = b"/etc/php/7.1/cli\0";
704pub const PHP_CONFIG_FILE_SCAN_DIR: &'static [u8; 24usize] = b"/etc/php/7.1/cli/conf.d\0";
705pub const PHP_SHLIB_SUFFIX: &'static [u8; 3usize] = b"so\0";
706pub const PHP_MIME_TYPE: &'static [u8; 24usize] = b"application/x-httpd-php\0";
707pub const PHP_OUTPUT_NEWAPI: u32 = 1;
708pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
709pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
710pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
711pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
712pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
713pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
714pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
715pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
716pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
717pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
718pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
719pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
720pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
721pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
722pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
723pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
724pub const PHP_OUTPUT_POP_TRY: u32 = 0;
725pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
726pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
727pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
728pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
729pub const PHP_OUTPUT_DISABLED: u32 = 2;
730pub const PHP_OUTPUT_WRITTEN: u32 = 4;
731pub const PHP_OUTPUT_SENT: u32 = 8;
732pub const PHP_OUTPUT_ACTIVE: u32 = 16;
733pub const PHP_OUTPUT_LOCKED: u32 = 32;
734pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
735pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
736pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
737pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
738pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
739pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
740pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
741pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
742pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
743pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
744pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
745pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
746pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
747pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
748pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
749pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
750pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
751pub const PHP_STREAM_FILTER_READ: u32 = 1;
752pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
753pub const PHP_STREAM_FILTER_ALL: u32 = 3;
754pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
755pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
756pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
757pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
758pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
759pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
760pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
761pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
762pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
763pub const PHP_STREAM_FLAG_WAS_WRITTEN: u32 = 2147483648;
764pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
765pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
766pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
767pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
768pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
769pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
770pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
771pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
772pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
773pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
774pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
775pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
776pub const PHP_STREAM_FREE_KEEP_RSRC: u32 = 64;
777pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
778pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
779pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
780pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
781pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
782pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
783pub const PHP_STREAM_URL_STAT_NOCACHE: u32 = 4;
784pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
785pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
786pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
787pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
788pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
789pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
790pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
791pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
792pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
793pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
794pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
795pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
796pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
797pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
798pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
799pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
800pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
801pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
802pub const PHP_STREAM_OPTION_PIPE_BLOCKING: u32 = 13;
803pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
804pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
805pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
806pub const PHP_STREAM_MMAP_ALL: u32 = 0;
807pub const PHP_STREAM_AS_STDIO: u32 = 0;
808pub const PHP_STREAM_AS_FD: u32 = 1;
809pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
810pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
811pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
812pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
813pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
814pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
815pub const PHP_STREAM_UNCHANGED: u32 = 0;
816pub const PHP_STREAM_RELEASED: u32 = 1;
817pub const PHP_STREAM_FAILED: u32 = 2;
818pub const PHP_STREAM_CRITICAL: u32 = 3;
819pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
820pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
821pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
822pub const PHP_STREAM_IS_URL: u32 = 1;
823pub const PHP_STREAM_META_TOUCH: u32 = 1;
824pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
825pub const PHP_STREAM_META_OWNER: u32 = 3;
826pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
827pub const PHP_STREAM_META_GROUP: u32 = 5;
828pub const PHP_STREAM_META_ACCESS: u32 = 6;
829pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
830pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
831pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
832pub const ZEND_INI_USER: u32 = 1;
833pub const ZEND_INI_PERDIR: u32 = 2;
834pub const ZEND_INI_SYSTEM: u32 = 4;
835pub const ZEND_INI_ALL: u32 = 7;
836pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
837pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
838pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
839pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
840pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
841pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
842pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
843pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
844pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
845pub const ZEND_INI_PARSER_SECTION: u32 = 2;
846pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
847pub const PHP_INI_USER: u32 = 1;
848pub const PHP_INI_PERDIR: u32 = 2;
849pub const PHP_INI_SYSTEM: u32 = 4;
850pub const PHP_INI_ALL: u32 = 7;
851pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
852pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
853pub const PHP_INI_STAGE_STARTUP: u32 = 1;
854pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
855pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
856pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
857pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
858pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
859pub const PHP_CONNECTION_NORMAL: u32 = 0;
860pub const PHP_CONNECTION_ABORTED: u32 = 1;
861pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
862pub const PHP_ENTRY_NAME_COLOR: &'static [u8; 5usize] = b"#ccf\0";
863pub const PHP_CONTENTS_COLOR: &'static [u8; 5usize] = b"#ccc\0";
864pub const PHP_HEADER_COLOR: &'static [u8; 5usize] = b"#99c\0";
865pub const PHP_INFO_GENERAL: u32 = 1;
866pub const PHP_INFO_CREDITS: u32 = 2;
867pub const PHP_INFO_CONFIGURATION: u32 = 4;
868pub const PHP_INFO_MODULES: u32 = 8;
869pub const PHP_INFO_ENVIRONMENT: u32 = 16;
870pub const PHP_INFO_VARIABLES: u32 = 32;
871pub const PHP_INFO_LICENSE: u32 = 64;
872pub const PHP_INFO_ALL: u32 = 4294967295;
873pub const PHP_CREDITS_GROUP: u32 = 1;
874pub const PHP_CREDITS_GENERAL: u32 = 2;
875pub const PHP_CREDITS_SAPI: u32 = 4;
876pub const PHP_CREDITS_MODULES: u32 = 8;
877pub const PHP_CREDITS_DOCS: u32 = 16;
878pub const PHP_CREDITS_FULLPAGE: u32 = 32;
879pub const PHP_CREDITS_QA: u32 = 64;
880pub const PHP_CREDITS_WEB: u32 = 128;
881pub const PHP_CREDITS_PACKAGING: u32 = 256;
882pub const PHP_CREDITS_ALL: u32 = 4294967295;
883pub const PHP_LOGO_DATA_URI : & 'static [u8 ; 5439usize] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAABACAYAAAA+j9gsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAD4BJREFUeNrsnXtwXFUdx8/dBGihmE21QCrQDY6oZZykon/gY5qizjgM2KQMfzFAOioOA5KEh+j4R9oZH7zT6MAMKrNphZFSQreKHRgZmspLHSCJ2Co6tBtJk7Zps7tJs5t95F5/33PvWU4293F29ybdlPzaM3df2XPv+Zzf4/zOuWc1tkjl+T0HQ3SQC6SBSlD6WKN4rusGm9F1ps/o5mPriOf8dd0YoNfi0nt4ntB1PT4zYwzQkf3kR9/sW4xtpS0CmE0SyPUFUJXFMIxZcM0jAZ4xrKMudQT7963HBF0n6EaUjkP0vI9K9OEHWqJLkNW1s8mC2WgVTwGAqWTafJzTWTKZmQuZ/k1MpAi2+eys6mpWfVaAPzcILu8EVKoCAaYFtPxrAXo8qyNwzZc7gSgzgN9Hx0Ecn3j8xr4lyHOhNrlpaJIgptM5DjCdzrJ0Jmce6bWFkOpqs0MErA4gXIBuAmY53gFmOPCcdaTXCbq+n16PPLXjewMfGcgEttECeouTpk5MplhyKsPBTiXNYyULtwIW7Cx1vlwuJyDLR9L0mQiVPb27fhA54yBbGttMpc1OWwF1cmKaH2FSF7vAjGezOZZJZ9j0dIZlMhnuRiToMO0c+N4X7oksasgEt9XS2KZCHzoem2Ixq5zpAuDTqTR14FMslZyepeEI4Ogj26n0vLj33uiigExgMWRpt+CGCsEePZqoePM738BPTaJzT7CpU0nu1yXpAXCC3VeRkCW4bfJYFZo6dmJyQTW2tvZc1nb719iyZWc5fmZ6Osu6H3uVzit52oBnMll2YizGxk8muFZLAshb/YKtzQdcaO3Y2CQ7eiy+YNGvLN+4+nJetm3bxhKJxJz316xZw1pbW9kLew+w1944XBEaPj6eYCeOx1gqNe07bK1MwIDbKcOFOR49GuePT5fcfOMX2drPXcQ0zf7y2tvbWVdXF/v1k2+yQ4dPVpQ5P0Um/NjoCX6UBMFZR6k+u7qMYVBYDIEqBW7eXAfPZX19zp2/oaGBHysNMGTFinPZik9fWggbI5Omb13zUDeB3lLsdwaK/YPeyAFU0i8Aw9/2Dwyx4SPjFQEYUlf3MTYw4Jx7CIVCbHR0oqIDNMD+FMG+ZE0dO/tsHlvAWnYS6H4qjfMC+Zld/wg92/tuv2WeeYT87j+H2aFDxysGLuSy+o/z49DQkONnmpqa2MjRyoYsZOXKGnb5Z+vZqlUrxUsAvI9At/oK+elnBpoNw+Dai9TekSMxDrgSh0KrSYshTprc2NhoRf1JtlikqirAVl98AddsSavDBDrsC+QdT7/TSoB344tzOZ39+70RbporVerqasyw1MEnC8iV6I9VTDi0uqbmfPFSq2W+gyUHXuEdb3WR5rab5jnD3i/BNMN8ChNaqsTiKa55KmBWX+Tuj0XQdQVF307nhTH0CPls+O0UPbaT5TQG/8qX68u6LpV67LQ6dNknaYgaYyPDx2TzvYGCsnhRkH8b/rsF2GDj1MCInkvxvRjOuCUlipWD/zrKx7ZOwBF0vfSSM2ShyaqAAOC1Nw+zt9/5YNbrN1zfwIdpfgnqebv/A6pnWAn4qlW1HPgHQ6OeoG3N9RO/+StMdDtmV2LxJPfBpQCGfwTgrVu38jFrKaW2tpZt2LCBdXR0sEgkwhv21u9cxQsyW3ZB1+DgoOM54btU6tu8eTPr6elhy5fr7IZNDey+e76e9/fCLcAllHpdKKinpaUlX8+111xB9VzNrYxqUAY/XVVVJYMOekLu2fFGM8VWYQRYiYkU9bD4vPlHFYnH4/zvkb1CgwACHgMoUpdyw3sFXcXUh4YHaNSHDqaxdL5jwVTXBpeXVY9oF3RcUQ+O09NT7Cayfld+4RJlP42gTIq8w66Qf/X4a6FTSSMMDcaE/NhYecMM+MdyG90OAhodWoAGkTUaSZByO5WdiA4GqwStrrM6k5vFKEXQserr63l7oR5V0NBojKctaSZtbneErOtGmFxwkGewjk0UzpCUlJSIRqMcjN8CkHLDqyRByq0PEGBBhDmdj7rQVujAaLfrrlk7xyW5gUaxpEtOmOQDr0e799NYmDVBi0+OT7FcbsaXxEQk8qprEBQMBm0vVKUBRcNjskFE8W71lSt79uzhda1d6w4ZGTUUp3NWAQ3TvW/fPvbVq+rZH/ceULOcF1/I06CY3QJohCCzNJnYdgEwwvpUKuNbUsLNpO3evZtfSGHp7+/nS2pw3LLFPVWLoA5yHQUtXvXFYjH+vU4F5yOibzsRUL38MTqC3XWh8GCWziMcDjt2BNEZUIfoUOpJkwvziT3S5ua8Jj/4yD5E0yERbPkhKv4RF4mhkN1wCMHN2rWfYZ2dnWz9+vXchNkJzBoaQ8Bxqg91wWo41YdO2dzczD+3bt06Rw0rBG4nOF8oi9M0Jsw9OgLqQ124BifLgeuHyVbN0NXUrODBmDWxgRR0pNrUYqMNgDOZGZbNzvgCuc4j0kX+GPJ2//CcMagQmKkbrm/knwVEp++SIXulM1+nhj9AY207QRDnpsnye24WA59DkuPlV/5j+z5eB2hE0W1tbTyQdNJmDpksRzFp2E9csFJAboRvDvz8gZdJgw2ek55KZphfAv+Inu8UdKnmkEUHQK93EjEZ4Rbkifq8JiactEpYAy9Nli2Gm6CjIZPn1qlKFWizleOG3BIwdKNZ+KRMxr9VHKvr1NKLXo2BhlAVFRPq1qlWW6MBr3NWyY2rTGXO5ySJlN9uDuiGsV7XTVPtl8CHYGizf/9+V5Om0hAwVV4ahuU8qia03HP26kyqFkMOTudDzjs/P/QKBUiBYa5ZNucfZJUkCG/0IhpCxYyqBF3lnLOII8q1GKqdStQ3rTh5MStwXX5O/nE1metGQzPHUH6JatA1OppQ8u1eUbpX44tO4GY5vM5Z9sduFgOfG1GwUOK6VFzaSAmrWCSfzGCuuT/O+bi6QwRdTtqXN2keJ4/ejgkJ5HedRARkbkGe6ARulgMWQ+Wc3cDAWohhoZdcue7ifJ7crfP6Me8dELd0Mv8U2begC2k9SHd3t+NnNm7cqKwRbiYUkykqvlZlmOYVLIq5bHRep46JzotOc9BhuFc0ZHGLph+CJIaXr1FZSIfxsdBiN1+LpALEK2By61Aqs0rwtV7DNBU3BMCYixYTLU6C8bM5hBwum0k1mesBpmPtlj+qXFenFsAgCVLon9DYeIxUnmh05HCdBIkCVRP6ussiepVZJZXIutCHwt2I0YGY2Kiz3AIyeG5aLNooVULQBbHy1/nAK2oEtEanheil+GO3aFg0FnwSilNC4q6OrXzywc0XCy1WMaFu/tgrCBLRuWpHuP+n1zqmRXFN0GAnwKgHeW1E1C/86UDJHFKptATZMPZTafbLXHtN3OPixKRC4ev4GwB2Gy6JxhQNEYul+KoKp79RMaGqKzy9ovzt27c7pidVZtYAGJMYOP7u6bdK1mLI1GQ+/ogSZBahwKuLO2jSZt0odw65xrUhAMNrZskLsGiIXz72F3bTjV+ixvtbWcMQr3NWCbog5VyXAIy63PLrqpJITIqHkcD9P7suSiYbG53wvTLKDbr8WBbjZqIF4F3PD3ItRn1eQd5CBF3lCM5RAIYfVp0/dgZ8SvbJ2/l8MmlvNw+8qJTjm+drWQwaAXO9KMuWncc1GBMXKkGeV/pU5ZxFIsTvzovOCu3HvDnOE7NTu3rLr+PE8fy6+IEX9947YM4n/+LbPT/88R8QqoYAuVSDrZLFKcYso2AcLBIeGDPu6h3M+yqvIE/4Y6w4LdUfi+jcr86L75KvC9+PcbVfd1hCi6U7Innwk1/+Q5rcoetsdyBg3s9aCmivBsNFifGfG9zCJUFiztmpEXAbqhMgr6SLWBPu9R1enRfm1ktrC6cVYWH+/Mqg43x6sYK1edaCex7vkRZHZkF+6P6NkXvvi/TpLNBUaqTtdcsoLtIrVTcem2EHDh7m2uq0ikMINBvafOmazzt+BkGMW9CF70DndPsOaJqb38Y1oXjdCYHOiqwbPofrKid6thMAlnxxPtMy6w4K0ubNhq73U5wd5PtVleCTd+50D2CEafLloqixyv0ufMcOGq64CVaMYN2119gfAdPpuscKOxWgCMDwxfm0pvzBhx9siRLoFt3ca7Ikf+x2yygaYzHdTSi7IT9y8fMJ2Lpdhg+ZCPA2+f05d1A88mBLHzQaoA1dL6ohVLJGi+1uQj8XQMyHIMgaGT6eDxuozMkD294LRaB7CPI27DLHQSskSFRvGa30O/zndF4fF0DMhwa//9//iZ2DcILqN7xBHn1oUweNn7eJ3WO9QHvdMlrMsphKEj8XQPgpuHVVMtGOgF0hC9CGTqbb2kHOzXx73aKiuiymEv2x22ICMYYeWSALBQ7RQ0fkoZIr4DnRtS3ohzf1dNzTG9d0PcwMLahZO8UyKTMm38wteratSVtkplq4oWj0PcfrEinPhYg14H+hvdIwCVs1bvb6O+UBMYFGl90d0LRGLRDgoHEUwYnXDniQStocTVUwfPLaKQGA/RoWOmkvtnsaG8unK+PWMKlH5e+Lznp03N27RdO0TkxmYNZKszYBlyfI3RpjsQkmMOo8ls4Wsx1EKcEVAEvayyNoeRzsO2RI+93PNRLesGYtNpBhL4l/prlgZz5ob0mbtZVFhWC301d0EuQgAHPgS7D9hssTHKyMbRfLptF213NBDRuoaqxNA2yh2VUBDnxJ1M1yRW6gOgt2x64gqXK7ht1yOWyW1+wl7bYXvhUygQXgit4KuVDuBGzSbA2bmmtayNzpRgJOGu7XosHFChZzvrGTiUKt5UMiVsmbmtsCb3+2lZmwm3hFNsA/CiYdKyfhYx3Aws8urp8nsJM72naGCG8zYwZMecjk/WHVVRbsMwU6tBVQsWJS2sNDlrgVTO0RE/vzKQtuN2+/85k5PxlUaL75D3BZwKss+JUqSFRAO/F7Eqlkmj+2gbrgYE8rZFluu+P3pOGsyWCG/Y9/GR8exC+vYfc5flxgzRdDGsDEz/8AJsxwQcBUKPCtmKOMFJO8OKMgF8r3b3sKkAm69TN+2OZCAm5ID/g9XPypwX29ufWgudq0urrKes/8nPkxgy1bdg6z/or/SFc2mzV/xs+6HwySTmdYJp2dpaWKEregYrVfn9/B0xkD2U6+e+sOaHqImTfLrycUOIZM1hJwC3oemPXbi/y5PnsrJ136bUa8pxu69BklmANWwDRkgR1wmwVaglyi3Nz6JLQ+ZG5NxQsgNdAhmIfJN7wxgoWg9fxzPQ+c/g9YAIXgeUKCyipJO4uR/wswAOIwB/5IgxvbAAAAAElFTkSuQmCC\0" ;
884pub const PHP_EGG_LOGO_DATA_URI : & 'static [u8 ; 8231usize] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAABACAMAAAAJUSgeAAAC+lBMVEUAAACtsdVsooH18+vP0Mfr5tahp3G3toS4wricto5JTIuoq9BZXJlgY55cXptQUouqp3ZkZ6OanciBk19RakXw69tISotzc0dJS4yfpHB7frOusdZ6fbSprs5qbKfv6djv59T07t/t6NWNkMF7qY6ssIa/5Na9y6K0v8+mvJZ3e7NISow5aEZGdU9Qqpc7b0lRr51QjGg3b1F7frRatqRYimZPhFtHakVRfFU/c085fV9z1sWY2chwx7Q5p5ig28p52clWsp5yzbxnxrRjwK5Gb01fknBXiWBGopNbj2hQh2FKfFNCaUOm381OppFHg2JQgmIyakovZEbD69yU18NQknKJzblku6hQn4lCellSSjZyonxYj29Lflo4ZD7G4dI8saJYnYBpl3E6hGjM6Nq05taB3MyFyLFLiWxDb0i75th80cFfWkRUUD+p5NU3m4eC1cOAg7dbu6o4dVZBYTy53s9nm3xHRjHR4NWL3s9LtaVrrZFPk3tDknhimHNBeFKv4NCa4NDp4s54qINmnnVZlnNNeEva5d2L1cO1xaxucat2t5xYmHpokWZagls2Xj0tTy7e7eGGirs5oJBhkGphimNGdEmTzLmAr41FoIpFl4FCinGWmsWk1L9bgFNabko/Y0NMZD9DOyrT7uHK7uCV3MyL2cnK1sds08JlzLxxvqiMuZZZqJNco4k1k39SbELu7OCh49Ss2sm22MaOj3h7zLl8xKpui11lhVcvWzg7VzZfsJhiqYmhlHyBfGZvZ1MlYkidoI5Cf11We06Okr5laaRCq5s0iXKDmmdRc08mVzqhpc2yu8xxm3M0Mx6dpcPPyrWlxqOktZuMsIZIi2RpdV3c2sunqZqPhmnF09S7xdEweV2AdVjc1by40LiWnKzJwKi3tKRyfXFTwrRnuZ2YwZpwlGgiQimHi69Dua1sr5tUVpTEzLuZwKytuK54faKyqI4qcFdIXDagpbR5govMuJaSnYF9n4CkyblBRz3+/v/DqYZwXD8UFA2nO9FlAAAAKnRSTlMA/v79Iv70aP781IEnRv6VSXBf/Ovbt0rv5NG8r9jMxa+KTc/CjsSj2soo+frGAAAUlUlEQVRYw6zUbWgScRwH8BxBM9uiXkTQw4te9HDZg9mkdY0uVw6LimY641ZyzodhcGhReKws8Y5KjUrGlFIIfOjU+cLJBsN7NfRNGrbpG33hiBwMRnvTm172u0PoRTXWw1fxDoT73Pf+9/tvWDMHxB4cp/2jN26q1Vxr6A5L7d8ukeyCiMrP5pfS6Rmr7ukZs+GgRLK9q2vD/8vGQ1Wcpl0g9w70cPnWuX4sKxICsDhdDYV8qb5pe9xtKxUKgYDDsXv3tq4t/0PeBJVdLubB6NyJSwqayx89z1INUalUCodXxeB6OsZa/f1KC2VugMzTcgRBvMD/a+UDVbzDpRrWvhm5e+KRipu8cjKJVRA+iwvVkMeDd3D5oX4lhrnvhRFEDhFkr7dY3LvtX7rvE8Miq4Zlo29GTl+TXuT0r4dYNMhffHlBXMXhTzrDtfqUKEqRZQewbZqXi93d3Vu7/rKxpFOM0y61rHa1Vhu5O/joPkMMKe1nw3K5YxFgGu+g/ZlM/nwSZS1ZWwNShlTChYAD8fL0ysrOv8C37xKJVqseXpbNzdVGZT10Oh2cemw2OcvlToCNrvs0zRCT50DGYKWjryBRU9TkdNYb5UpA7vUCffjw5q1/9Ngle0SQhRDuYhjtqMwV+hLJ3TMYbBqISWNoejxGtYoG2Q+d+1AMo0ibJhaNRmMam8Zk0mgMdQEvrhyGrL+4hGdLgWWQaYbpENjHU5DLEJIkI2n8Q89NhZGXiXyqD0VRS5bMmuG2bGY+JGk22wTc4e3m7R1d63bDDgQRZE86kstFIsFgUKfTXb9+Jh6Pn/3iMY4rjhwx0owWOqeUtzGQLyfiWbirLB83FY+7SVv0Sb0BF4LivL0+V96enPRSJDcFrs5qtep08AXafT1kHB+4JJWOgwyd4d22oFiWfJpIUBRlsVDCLxzdZnj+TiiOeAV7zfXeuKftQuRf5581IwI70w7409O69Af1gKJXKlXBqDMEl7rNQmcSZDsGgdcNPiicWdy2WDQWM9VL4QBv79y6ZuG2Cyl0NpvgWq0zqVTL10r5fL6xMU6v5/DnA5ceHRscBFnNZCZPJlmUxchsIpGww4pjQoQjzFosBr1fPalXHEWovXnL7wuXHG3X8RXgb0GoC25rDMJxHOF/OHJaNt6jmDg2ODuoUqnVDKE/3q9Ek1jWbYfnDKIlYb89jbIo2BaK1Ag02OUC0g21t/1ygktQGGlnebX5bH7eOuODtq1JLsP5/QRBaGuwmfUOKE5N3Jp9/0Klksm0D/THz6MA/ZDNJkMuqAQazt38sEFg2OsVuZefsF/BpVKg7coXO8FdSvuErpkMQfiv9g4zWthF7167dWFiQnpr9uVb1zDID/XHPyfZJMiYILMW08dP795ZlSwEo7IwXhoI2M6KHOF3lp+W+DvZ9RLTRBSFAVhNTNSoCxcujDu3lFqkFbANQktNWx5teWinLRNrMdbOGB5ppwstqCHDGLRiCL4w6iQyPhYqHTRqpmMJmoAWEaUtBpFqjJtCiEbQwMJz+1CjdzHbL/+595x7B+DsDp/7BvBnBIMJajvktdUXwBgtAvlRoDynPvAoUKCVGY1pufTWzeM33HCe3UgWMII5rwJ6124IDasB2Wn6GdD/wX+O1lwq8B24BPfXaq2Li4vezk5b+U4ZwEV5JvPIo0AgMHw64pAbjYeOXXz+6dYt9a77fW63W6UqLT3oDGPk+PkBkFP08fv3G6DiELvLB5v5L72p98XQ35WGwOCu8mojvCAI/IJVJrsWMA5CZCSfPRs4E4lEtHIFkrc331Kr3UfQkIORUzdQnSCx8HTdgLuxsTHV1rDZIKOCT8J2ngL6b7j3N/yNScMXVnm9jodxYen796U4L5cFHtstRS0teeaRkZGzww6vwwFdrT90tLJEo27WNLbNhRfCsViCC3oSGBamcc+Vmpo+tG4ch9BOWHDIXzalUm/+3U69vVDqLIwq/QZufb9W+3FqKg7y93joTJU0x97a0mIygRywd/v9WpALFFVHK/M1qu2avv4JlqIwkgxxXTMYSfDhRJLD+2uUSmVKxseTnA+aayU4QGeba9sf+APKC5W2Wr1+3RkCY9nlJcg8UWCB1ZKXh+RHdptOa9M6us8U2KuO5jarVfnqvv4FPh7n40BHZygMI0EPMT4PDtmLK0AOiyLP+OCUgQKNvT5d66He7Pz4wCAXAnu9Xr/8KjvKYpiwJCxPSCBvC5LNZrNdC+0kg8wKg6HqaIlGpckvvYHTPhz30TyGJWYoSpwXQiJBxGg6meQ4n7PaycV4KCBDv0NUtt7bhoay8NzrOxcAPrnK29kuM5Kjo6PssiCIxHCKBfjpU7Pd77fpFQqtQ243tFZdys1X7W12V+DBuo7GDmeMwgTIzNO0jwuRYnR1iBBD4aTPiTvp6Pv5+PQkWKjeG1KRh3ZkB9f4HeTCG8hmk1XZH4OMTU0tE8OStGsC2QKPUZtMoXdo5Xa7ZRBkdbO6ry14Xg2vUE+MZePzFBbGa4rpMIaNnRBh7zEoPN4AHR3lGRyVGybKulTkzOhqiq3NwlBPxaCl/AuqNnb9bk8hcqHST5/mab3ttTaZUe7tVhgslsFjuSX5+aobV2brNBlZQLJnoNEpgBwVscTYvDAlMh4YpNPiOP4SUc/QTq8/N9SUuSPgJWu1rrJ64fGlk+ktrZLyx4+/Xr/rkoKbkU1yr7czJTvkCmizomOVJSUlpcWzsyqNWjUwKbDsvEBhsaCqw8djRPQ9QXA03RWd4vG2hsNzxFrnu5SGBvimc5nI3xjUSw44W3AH7ZHr7a2FhRJXmaRHKjXlSeGDNlkOBemsra09pNfpFTBZDlzKLcnNd1fM/tir0QxcSYqj1EycwsavqDt8U2Ro9RhJBCuOVHcJItdw2Bkmx52TKW4jlHsryOlNXot6SeuHPt4j37NHATB4hfDNMZmQbIbTZYU3YUqWwXak5Mrtlbc7+tf4Zmd/BJM8yxJjIoXNnVcrfSLJ30tgE0FlRQMtEMm2w3iIYJz0q0y5V2w515T9a4g4HFBnnVxvhGWXSKUuqTQn/UXLbC50LEbaZbWwZHq93ZKVVcofieiaWIwX2VFKeE+wJPNA3cYRVPiewPLBmuI2X4iYbjvMkBPB6q5U6FMgN4GMIiO4W6eDsGgV2C2tPT0SF5jSsrIyVz3IgRy5NeKQvX0LNpxAQ2FL0YHLlypz99VV3CFIjEWLXODGMJZYc1uFJ0gqsTpEjfcriz2cSDL9QZ7iPfBAeoloJDeln3trFyPdOmABNRgMEkNrocvlKiuT5pTDtwcuxvp6RSTi0OmrkNxug3MA8rFLFyufKPs/kj9//iSJj2GGo6MijNDbbqdAkVyUEKNcMOiLYSLnYQjyNRyzavzFjqycifyrDXuPabMKwwCOsKnxbtQYjfeof5BSC6MUsKUWyii1tynQkkC5altwA1kL2ot06Fi1tGWBwkqVtibzgmUgCmPdxAwUVi8TL0wdYxc0zJEpG845lyzxeb+y6XRnrFm2ZL8+7/nOe853XPlcwKWAISclZRh4MsSVyXi8XINMpvW0VlZWrk1WjivRwUqSpWkkA/b1Cc/NXItxGMfj7m7TlgPTB14Q8NHOxlqONn08PX3y5PfPNZ0te/vDpvkP7Dgp2E2fMPIayLHI3jypVAU5qSspKTc3CRxkloyHgS+hNXgrKzsReWMx3rNwShgvRmSNQuET2LfNv03H8WF0s+yiN4ZMpu6cTYMtR6cH9775HI2mN2dOvoDIv9qRuYYvx5ZFT9gayL98/+2XnXl5eLDQl5AXMsG8gQEGpg+Zm4HTilMyiGZkf48mrFEUDc3Mn0s1N5jNk5OTDbSshwU59fbqrYNbxtYfO/bhoefWz7z6wsmxpvkh+QZEdmw3fUXyPZDX/P7Nn5XePJQak9xMMAYvGAyFBgYGQkZGjroAc1WlxSmgS5XjzcUbM/2a3eGenwt+/Wu+O9VsNmdlZXVwRBxOakNDg1hQK9/69nMzb1MHP3y47IVj6z/+Gi9Hz9QMDb+14eDzkG8lGZG97rQn05kpxiDYGAQN2dgeCUH2Vq7N53JVyuIU0M3NzRnNMTlcNPQlZDMG4A5OKoeDfpoqashxVB9r+nMIKWtMQtPW1dOHTYxcMOzYVPPFTdfF3ZAIee++BbebQVdcVBey0RgKBELL+9uDvChqzeVK09DZ0FUM1GFI7tf0CU17z/6mM5eXM7KEw2ZzOGy01BxH2dj6r4XvyzH4BabqrdV2uVBYY9KNOLY/U/07jr93J6755ey+Ba87Pb0VLDqmAVNslMkAGyk0tqx23ujCWtpGsEs0ZyQ9SXpzsd6qqegvkttNpqGcE5Ans+rqYjJ+OGLsVh9+QK+Am4T8ArSTZyDLn/7A2VfE31Dz4/VxcbcyssudHsVDTaOri2QPRV5eHhhY3t8UikRdLsAqpYpWXSlqjr6q1LdV2BYL+OKffvrpREzuqFOI2Ao2cJG5wYGDrhAnUpzEIPOFckS2V5+zOHUFOBQ+Gkehj5xdcLnd6aQacknm8YKRiJHkEOCBaK7X5erkSqmtYslLVUpl82PNSn2hvkInFGSVl5efMDOypE7ClkgkbHZqKp4xh1xej4Mw6Jgs5AvLfvzV6dQ5+JgAyDcm7o0VG+Xuoo6FyEFPpD0SCYWWmwAHoojsQj8HqlQqpVJszMUodluJ3tJdwMEjXX6iPCvLzJFIOiQKkjmparU4J7s2W5AjyAaNYmPw+fayr4685xyhl2FHHIXei2JDxiPWhUmmRunx7NrVHnj1+7GmSGggwItSS0fmNKn0u2Rp8nhGCp5t1WZ9G0W+JJslEh9+EFkEWS0QCMRicUymxAX8obKDzz9/ZNuIrrugnpFv2btvJ8H0fD1mkLFYsFnBYNP3CYlnAqFQiKfN7exU0dYphYzeiaW1LiOjObnQ+QafIk+i3pBT2b4eDRIzMg0m+bvZ9Tj8InGB0ERHzyPbtqHgw9mMfNe+nb0k02a8siUGjZELCVsSl2Ygo3O6IHdyyU7G0CvHM8eLM5L36N7o6+iADBqyGHKPRMEOY0GrUzFEmG1cHdU7kBm4vewgtqmlPxvj9zhHBCRfc/VtkFFqsBfhoHH//vMHExPnA4EATyvDA+bqRCvBwNacrC+06jeWNjrf0Pnq/pEb2D4bOnl49+7dIvQyDBG6WU52PdEFfHkNIuPm4kxjYYXF2bcij/ZOdAHGSS8ma4PLF9af/zwR5SZZO7qw4OrspNT5+QxsLVQmO7uL2HV1HZJYuSfNDZyeKVuPhmRS2WymkYqzayFTZDqD0Rvdw41W0Jfk3tZWHOdT6LxF8xxsunDmPNVmJhAY0HrcC6BdXsw1RgldkukLLd06wERPTqJ3chrEHNuUTaMBrFCQjA+UXCwYdjiwquxlP77OwHGrHomvqLBcrPYoZBxuceii1wiW1rj/wrXnEzHOQDZ6DAsLO12uvLx8wPmbN5colW0W3YgErg+yhGM2Y07VYb/fpgkv7g5rNCIRZ1LBxl9CxiMWq/XFN/dV1zwc/3BM3rdz1D3RinpjmgFDXl7/Fx4wjKV5KnfQi8iUWcrloo1Kx62YKd8Okn1YwKIGtfpntVpT5bftWVxc7NdoqIUycgMyQ6bHa82l2wrYt/xLTk/Hw53CZF7Hmtly/vxVgBEa9TYaoztdXlenNy+PW7K2RKUstDjDO3bUdXQA7pCw1WLBSJ+6T1Nls1oAV1RowmEOWwIa+zXNM85iP/7y/xsakjHR1ElQbS1lDs588vrr5K7MtNE4MTrq9XrT3NySEq5ys2VRs4NkVFqBJ0k9XESXV9Yqaz9gq7WiPxwOS3wKambi7Ox6h9BuAoxbqSvIE3jCMDJYT62DLJtZAhrLvDM6EAgZta29oJFZpeLGOy3WqR09VGc2XPQNuiHsW/T7KxbxT35rxR5csfh8PoUIcg7mWW76HVfOsP4v95Lcit94oUhZx+LNX4SXzrii2CxlHg/P7cXgqvLjt+F/t2H9KCgvRyRS95E80o/ITkubHzLuk3p6/pH59nOf4vbxynIrDfA01yn/lhfcE7wVmlJzX3o5vkRZ5fdPYe3uqJNIJtkxuWikwt+/aCnR+1HttkI6DyvYqSuy6d4r3rg+AhlmV2s6Bs5DxRmQX7soe9OjvKAxFOWxtLKo29vJVWWknJ6drZqawjyjh5jN6JHDkJ1W6x5LidJvbdvcGF+IZsY08J9zBLUOedn9Dz700KpVq64gU7WfZORSKTYEyK/F7DPu3KARgxc1sDwerYyFkTKbWUVux2T5iRO4lHo3uxbV3oO0+swqNFalHpEVbIUEshrw9me2JCQM3nHH/Q88+OCD9AVo/DPPUCnxuD5ZX/zY7TffBxo4ZIN2165IJBKY4Gl3YXhYKXifggwa+yPkdx5/9kWHztmmr8rEV9JDr8J5OHY0EVNkYdnWwYTBwcHVNO7AN7j/gQce+I+clvadvrCk1HD7nXE33Er40oduuuRsb2+PBKI8GdmsjGa8OE8xobPKQeOWcZNQ16/PPH369GzmLGbCb4OMdkr3CNmP1wurB2PygenpubmW1fRrNbNLrqzndCyY/M2471MlQcYAvrSvl5GPHz8eGp3oYuHPTz2GY2cmExqpKTTJFiVuUTBOk2vzSRRYyjk5775bW/vEW3JEJrnl1CFc0xxtYUZsf76N5F53njT/pcb4xhJVbkymetw2IfPsaifZiDVvYK3DSNk4O5vJlPuS3D1OV3QMjLyaMCqNKR7ORgN7a1PN1gRGnh774dChsVOIfEmmzBO9bi93bSPdOf5LvuW2Xh5koiOQkwxY7ikU+fLM23WfHT8OmcrtJ1mBOYZcC3n7hqchrz7Q0jL3xx8f/XAoJs+tZCbZneftfCU+/rLMmIkfZjyAMSDzcnMJ3kgwZNCY6FjmdsiIjPU2ZasgWSRKFYMmuZoiH5g+enRujvk4cLmcnsdd+8qV5LGBSGRFzsWiwhkfmS+TH4f8F8FU7CmbzdofZod308k3h6q9ofqOBLIRleQ/Tp062jI39zewUaw7BOflzwAAAABJRU5ErkJggg==\0" ;
885pub const ZEND_LOGO_DATA_URI : & 'static [u8 ; 6083usize] = 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" ;
886pub const ZEND_EXTENSION_API_NO: u32 = 320160303;
887pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
888pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_CTOR: u32 = 1;
889pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_DTOR: u32 = 2;
890pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_HANDLER: u32 = 4;
891pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST_CALC: u32 = 8;
892pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST: u32 = 16;
893pub type size_t = ::std::os::raw::c_ulong;
894pub type __uint16_t = ::std::os::raw::c_ushort;
895pub type __uint32_t = ::std::os::raw::c_uint;
896pub type __int64_t = ::std::os::raw::c_long;
897pub type __uint64_t = ::std::os::raw::c_ulong;
898pub type __dev_t = ::std::os::raw::c_ulong;
899pub type __uid_t = ::std::os::raw::c_uint;
900pub type __gid_t = ::std::os::raw::c_uint;
901pub type __ino_t = ::std::os::raw::c_ulong;
902pub type __mode_t = ::std::os::raw::c_uint;
903pub type __nlink_t = ::std::os::raw::c_ulong;
904pub type __off_t = ::std::os::raw::c_long;
905pub type __off64_t = ::std::os::raw::c_long;
906pub type __pid_t = ::std::os::raw::c_int;
907pub type __clock_t = ::std::os::raw::c_long;
908pub type __time_t = ::std::os::raw::c_long;
909pub type __suseconds_t = ::std::os::raw::c_long;
910pub type __blksize_t = ::std::os::raw::c_long;
911pub type __blkcnt_t = ::std::os::raw::c_long;
912pub type __syscall_slong_t = ::std::os::raw::c_long;
913pub type __socklen_t = ::std::os::raw::c_uint;
914pub type time_t = __time_t;
915pub type uint = ::std::os::raw::c_uint;
916#[repr(C)]
917#[derive(Debug, Copy, Clone)]
918pub struct __sigset_t {
919 pub __val: [::std::os::raw::c_ulong; 16usize],
920}
921#[test]
922fn bindgen_test_layout___sigset_t() {
923 assert_eq!(
924 ::std::mem::size_of::<__sigset_t>(),
925 128usize,
926 concat!("Size of: ", stringify!(__sigset_t))
927 );
928 assert_eq!(
929 ::std::mem::align_of::<__sigset_t>(),
930 8usize,
931 concat!("Alignment of ", stringify!(__sigset_t))
932 );
933 assert_eq!(
934 unsafe { &(*(::std::ptr::null::<__sigset_t>())).__val as *const _ as usize },
935 0usize,
936 concat!(
937 "Offset of field: ",
938 stringify!(__sigset_t),
939 "::",
940 stringify!(__val)
941 )
942 );
943}
944#[repr(C)]
945#[derive(Debug, Copy, Clone)]
946pub struct timeval {
947 pub tv_sec: __time_t,
948 pub tv_usec: __suseconds_t,
949}
950#[test]
951fn bindgen_test_layout_timeval() {
952 assert_eq!(
953 ::std::mem::size_of::<timeval>(),
954 16usize,
955 concat!("Size of: ", stringify!(timeval))
956 );
957 assert_eq!(
958 ::std::mem::align_of::<timeval>(),
959 8usize,
960 concat!("Alignment of ", stringify!(timeval))
961 );
962 assert_eq!(
963 unsafe { &(*(::std::ptr::null::<timeval>())).tv_sec as *const _ as usize },
964 0usize,
965 concat!(
966 "Offset of field: ",
967 stringify!(timeval),
968 "::",
969 stringify!(tv_sec)
970 )
971 );
972 assert_eq!(
973 unsafe { &(*(::std::ptr::null::<timeval>())).tv_usec as *const _ as usize },
974 8usize,
975 concat!(
976 "Offset of field: ",
977 stringify!(timeval),
978 "::",
979 stringify!(tv_usec)
980 )
981 );
982}
983#[repr(C)]
984#[derive(Debug, Copy, Clone)]
985pub struct timespec {
986 pub tv_sec: __time_t,
987 pub tv_nsec: __syscall_slong_t,
988}
989#[test]
990fn bindgen_test_layout_timespec() {
991 assert_eq!(
992 ::std::mem::size_of::<timespec>(),
993 16usize,
994 concat!("Size of: ", stringify!(timespec))
995 );
996 assert_eq!(
997 ::std::mem::align_of::<timespec>(),
998 8usize,
999 concat!("Alignment of ", stringify!(timespec))
1000 );
1001 assert_eq!(
1002 unsafe { &(*(::std::ptr::null::<timespec>())).tv_sec as *const _ as usize },
1003 0usize,
1004 concat!(
1005 "Offset of field: ",
1006 stringify!(timespec),
1007 "::",
1008 stringify!(tv_sec)
1009 )
1010 );
1011 assert_eq!(
1012 unsafe { &(*(::std::ptr::null::<timespec>())).tv_nsec as *const _ as usize },
1013 8usize,
1014 concat!(
1015 "Offset of field: ",
1016 stringify!(timespec),
1017 "::",
1018 stringify!(tv_nsec)
1019 )
1020 );
1021}
1022pub type va_list = __builtin_va_list;
1023pub type FILE = _IO_FILE;
1024#[repr(C)]
1025#[derive(Debug, Copy, Clone)]
1026pub struct _IO_marker {
1027 _unused: [u8; 0],
1028}
1029#[repr(C)]
1030#[derive(Debug, Copy, Clone)]
1031pub struct _IO_codecvt {
1032 _unused: [u8; 0],
1033}
1034#[repr(C)]
1035#[derive(Debug, Copy, Clone)]
1036pub struct _IO_wide_data {
1037 _unused: [u8; 0],
1038}
1039pub type _IO_lock_t = ::std::os::raw::c_void;
1040#[repr(C)]
1041#[derive(Debug, Copy, Clone)]
1042pub struct _IO_FILE {
1043 pub _flags: ::std::os::raw::c_int,
1044 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
1045 pub _IO_read_end: *mut ::std::os::raw::c_char,
1046 pub _IO_read_base: *mut ::std::os::raw::c_char,
1047 pub _IO_write_base: *mut ::std::os::raw::c_char,
1048 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
1049 pub _IO_write_end: *mut ::std::os::raw::c_char,
1050 pub _IO_buf_base: *mut ::std::os::raw::c_char,
1051 pub _IO_buf_end: *mut ::std::os::raw::c_char,
1052 pub _IO_save_base: *mut ::std::os::raw::c_char,
1053 pub _IO_backup_base: *mut ::std::os::raw::c_char,
1054 pub _IO_save_end: *mut ::std::os::raw::c_char,
1055 pub _markers: *mut _IO_marker,
1056 pub _chain: *mut _IO_FILE,
1057 pub _fileno: ::std::os::raw::c_int,
1058 pub _flags2: ::std::os::raw::c_int,
1059 pub _old_offset: __off_t,
1060 pub _cur_column: ::std::os::raw::c_ushort,
1061 pub _vtable_offset: ::std::os::raw::c_schar,
1062 pub _shortbuf: [::std::os::raw::c_char; 1usize],
1063 pub _lock: *mut _IO_lock_t,
1064 pub _offset: __off64_t,
1065 pub _codecvt: *mut _IO_codecvt,
1066 pub _wide_data: *mut _IO_wide_data,
1067 pub _freeres_list: *mut _IO_FILE,
1068 pub _freeres_buf: *mut ::std::os::raw::c_void,
1069 pub __pad5: size_t,
1070 pub _mode: ::std::os::raw::c_int,
1071 pub _unused2: [::std::os::raw::c_char; 20usize],
1072}
1073#[test]
1074fn bindgen_test_layout__IO_FILE() {
1075 assert_eq!(
1076 ::std::mem::size_of::<_IO_FILE>(),
1077 216usize,
1078 concat!("Size of: ", stringify!(_IO_FILE))
1079 );
1080 assert_eq!(
1081 ::std::mem::align_of::<_IO_FILE>(),
1082 8usize,
1083 concat!("Alignment of ", stringify!(_IO_FILE))
1084 );
1085 assert_eq!(
1086 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags as *const _ as usize },
1087 0usize,
1088 concat!(
1089 "Offset of field: ",
1090 stringify!(_IO_FILE),
1091 "::",
1092 stringify!(_flags)
1093 )
1094 );
1095 assert_eq!(
1096 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize },
1097 8usize,
1098 concat!(
1099 "Offset of field: ",
1100 stringify!(_IO_FILE),
1101 "::",
1102 stringify!(_IO_read_ptr)
1103 )
1104 );
1105 assert_eq!(
1106 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize },
1107 16usize,
1108 concat!(
1109 "Offset of field: ",
1110 stringify!(_IO_FILE),
1111 "::",
1112 stringify!(_IO_read_end)
1113 )
1114 );
1115 assert_eq!(
1116 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize },
1117 24usize,
1118 concat!(
1119 "Offset of field: ",
1120 stringify!(_IO_FILE),
1121 "::",
1122 stringify!(_IO_read_base)
1123 )
1124 );
1125 assert_eq!(
1126 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize },
1127 32usize,
1128 concat!(
1129 "Offset of field: ",
1130 stringify!(_IO_FILE),
1131 "::",
1132 stringify!(_IO_write_base)
1133 )
1134 );
1135 assert_eq!(
1136 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize },
1137 40usize,
1138 concat!(
1139 "Offset of field: ",
1140 stringify!(_IO_FILE),
1141 "::",
1142 stringify!(_IO_write_ptr)
1143 )
1144 );
1145 assert_eq!(
1146 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize },
1147 48usize,
1148 concat!(
1149 "Offset of field: ",
1150 stringify!(_IO_FILE),
1151 "::",
1152 stringify!(_IO_write_end)
1153 )
1154 );
1155 assert_eq!(
1156 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize },
1157 56usize,
1158 concat!(
1159 "Offset of field: ",
1160 stringify!(_IO_FILE),
1161 "::",
1162 stringify!(_IO_buf_base)
1163 )
1164 );
1165 assert_eq!(
1166 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize },
1167 64usize,
1168 concat!(
1169 "Offset of field: ",
1170 stringify!(_IO_FILE),
1171 "::",
1172 stringify!(_IO_buf_end)
1173 )
1174 );
1175 assert_eq!(
1176 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize },
1177 72usize,
1178 concat!(
1179 "Offset of field: ",
1180 stringify!(_IO_FILE),
1181 "::",
1182 stringify!(_IO_save_base)
1183 )
1184 );
1185 assert_eq!(
1186 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize },
1187 80usize,
1188 concat!(
1189 "Offset of field: ",
1190 stringify!(_IO_FILE),
1191 "::",
1192 stringify!(_IO_backup_base)
1193 )
1194 );
1195 assert_eq!(
1196 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize },
1197 88usize,
1198 concat!(
1199 "Offset of field: ",
1200 stringify!(_IO_FILE),
1201 "::",
1202 stringify!(_IO_save_end)
1203 )
1204 );
1205 assert_eq!(
1206 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize },
1207 96usize,
1208 concat!(
1209 "Offset of field: ",
1210 stringify!(_IO_FILE),
1211 "::",
1212 stringify!(_markers)
1213 )
1214 );
1215 assert_eq!(
1216 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize },
1217 104usize,
1218 concat!(
1219 "Offset of field: ",
1220 stringify!(_IO_FILE),
1221 "::",
1222 stringify!(_chain)
1223 )
1224 );
1225 assert_eq!(
1226 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize },
1227 112usize,
1228 concat!(
1229 "Offset of field: ",
1230 stringify!(_IO_FILE),
1231 "::",
1232 stringify!(_fileno)
1233 )
1234 );
1235 assert_eq!(
1236 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize },
1237 116usize,
1238 concat!(
1239 "Offset of field: ",
1240 stringify!(_IO_FILE),
1241 "::",
1242 stringify!(_flags2)
1243 )
1244 );
1245 assert_eq!(
1246 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize },
1247 120usize,
1248 concat!(
1249 "Offset of field: ",
1250 stringify!(_IO_FILE),
1251 "::",
1252 stringify!(_old_offset)
1253 )
1254 );
1255 assert_eq!(
1256 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize },
1257 128usize,
1258 concat!(
1259 "Offset of field: ",
1260 stringify!(_IO_FILE),
1261 "::",
1262 stringify!(_cur_column)
1263 )
1264 );
1265 assert_eq!(
1266 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize },
1267 130usize,
1268 concat!(
1269 "Offset of field: ",
1270 stringify!(_IO_FILE),
1271 "::",
1272 stringify!(_vtable_offset)
1273 )
1274 );
1275 assert_eq!(
1276 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize },
1277 131usize,
1278 concat!(
1279 "Offset of field: ",
1280 stringify!(_IO_FILE),
1281 "::",
1282 stringify!(_shortbuf)
1283 )
1284 );
1285 assert_eq!(
1286 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize },
1287 136usize,
1288 concat!(
1289 "Offset of field: ",
1290 stringify!(_IO_FILE),
1291 "::",
1292 stringify!(_lock)
1293 )
1294 );
1295 assert_eq!(
1296 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize },
1297 144usize,
1298 concat!(
1299 "Offset of field: ",
1300 stringify!(_IO_FILE),
1301 "::",
1302 stringify!(_offset)
1303 )
1304 );
1305 assert_eq!(
1306 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize },
1307 152usize,
1308 concat!(
1309 "Offset of field: ",
1310 stringify!(_IO_FILE),
1311 "::",
1312 stringify!(_codecvt)
1313 )
1314 );
1315 assert_eq!(
1316 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize },
1317 160usize,
1318 concat!(
1319 "Offset of field: ",
1320 stringify!(_IO_FILE),
1321 "::",
1322 stringify!(_wide_data)
1323 )
1324 );
1325 assert_eq!(
1326 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize },
1327 168usize,
1328 concat!(
1329 "Offset of field: ",
1330 stringify!(_IO_FILE),
1331 "::",
1332 stringify!(_freeres_list)
1333 )
1334 );
1335 assert_eq!(
1336 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize },
1337 176usize,
1338 concat!(
1339 "Offset of field: ",
1340 stringify!(_IO_FILE),
1341 "::",
1342 stringify!(_freeres_buf)
1343 )
1344 );
1345 assert_eq!(
1346 unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize },
1347 184usize,
1348 concat!(
1349 "Offset of field: ",
1350 stringify!(_IO_FILE),
1351 "::",
1352 stringify!(__pad5)
1353 )
1354 );
1355 assert_eq!(
1356 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize },
1357 192usize,
1358 concat!(
1359 "Offset of field: ",
1360 stringify!(_IO_FILE),
1361 "::",
1362 stringify!(_mode)
1363 )
1364 );
1365 assert_eq!(
1366 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize },
1367 196usize,
1368 concat!(
1369 "Offset of field: ",
1370 stringify!(_IO_FILE),
1371 "::",
1372 stringify!(_unused2)
1373 )
1374 );
1375}
1376pub type zend_long = i64;
1377pub type zend_ulong = u64;
1378pub type zend_off_t = i64;
1379pub type zend_bool = ::std::os::raw::c_uchar;
1380pub type zend_uchar = ::std::os::raw::c_uchar;
1381pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
1382pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
1383pub type ZEND_RESULT_CODE = ::std::os::raw::c_int;
1384pub type zend_intptr_t = isize;
1385pub type zend_uintptr_t = usize;
1386pub type zend_object_handlers = _zend_object_handlers;
1387pub type zend_class_entry = _zend_class_entry;
1388pub type zend_function = _zend_function;
1389pub type zend_execute_data = _zend_execute_data;
1390pub type zval = _zval_struct;
1391pub type zend_refcounted = _zend_refcounted;
1392pub type zend_string = _zend_string;
1393pub type zend_array = _zend_array;
1394pub type zend_object = _zend_object;
1395pub type zend_resource = _zend_resource;
1396pub type zend_reference = _zend_reference;
1397pub type zend_ast_ref = _zend_ast_ref;
1398pub type zend_ast = _zend_ast;
1399pub type compare_func_t = ::std::option::Option<
1400 unsafe extern "C" fn(
1401 arg1: *const ::std::os::raw::c_void,
1402 arg2: *const ::std::os::raw::c_void,
1403 ) -> ::std::os::raw::c_int,
1404>;
1405pub type swap_func_t = ::std::option::Option<
1406 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void),
1407>;
1408pub type sort_func_t = ::std::option::Option<
1409 unsafe extern "C" fn(
1410 arg1: *mut ::std::os::raw::c_void,
1411 arg2: size_t,
1412 arg3: size_t,
1413 arg4: compare_func_t,
1414 arg5: swap_func_t,
1415 ),
1416>;
1417pub type dtor_func_t = ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval)>;
1418pub type copy_ctor_func_t = ::std::option::Option<unsafe extern "C" fn(pElement: *mut zval)>;
1419#[repr(C)]
1420#[derive(Copy, Clone)]
1421pub union _zend_value {
1422 pub lval: zend_long,
1423 pub dval: f64,
1424 pub counted: *mut zend_refcounted,
1425 pub str_: *mut zend_string,
1426 pub arr: *mut zend_array,
1427 pub obj: *mut zend_object,
1428 pub res: *mut zend_resource,
1429 pub ref_: *mut zend_reference,
1430 pub ast: *mut zend_ast_ref,
1431 pub zv: *mut zval,
1432 pub ptr: *mut ::std::os::raw::c_void,
1433 pub ce: *mut zend_class_entry,
1434 pub func: *mut zend_function,
1435 pub ww: _zend_value__bindgen_ty_1,
1436 _bindgen_union_align: u64,
1437}
1438#[repr(C)]
1439#[derive(Debug, Copy, Clone)]
1440pub struct _zend_value__bindgen_ty_1 {
1441 pub w1: u32,
1442 pub w2: u32,
1443}
1444#[test]
1445fn bindgen_test_layout__zend_value__bindgen_ty_1() {
1446 assert_eq!(
1447 ::std::mem::size_of::<_zend_value__bindgen_ty_1>(),
1448 8usize,
1449 concat!("Size of: ", stringify!(_zend_value__bindgen_ty_1))
1450 );
1451 assert_eq!(
1452 ::std::mem::align_of::<_zend_value__bindgen_ty_1>(),
1453 4usize,
1454 concat!("Alignment of ", stringify!(_zend_value__bindgen_ty_1))
1455 );
1456 assert_eq!(
1457 unsafe { &(*(::std::ptr::null::<_zend_value__bindgen_ty_1>())).w1 as *const _ as usize },
1458 0usize,
1459 concat!(
1460 "Offset of field: ",
1461 stringify!(_zend_value__bindgen_ty_1),
1462 "::",
1463 stringify!(w1)
1464 )
1465 );
1466 assert_eq!(
1467 unsafe { &(*(::std::ptr::null::<_zend_value__bindgen_ty_1>())).w2 as *const _ as usize },
1468 4usize,
1469 concat!(
1470 "Offset of field: ",
1471 stringify!(_zend_value__bindgen_ty_1),
1472 "::",
1473 stringify!(w2)
1474 )
1475 );
1476}
1477#[test]
1478fn bindgen_test_layout__zend_value() {
1479 assert_eq!(
1480 ::std::mem::size_of::<_zend_value>(),
1481 8usize,
1482 concat!("Size of: ", stringify!(_zend_value))
1483 );
1484 assert_eq!(
1485 ::std::mem::align_of::<_zend_value>(),
1486 8usize,
1487 concat!("Alignment of ", stringify!(_zend_value))
1488 );
1489 assert_eq!(
1490 unsafe { &(*(::std::ptr::null::<_zend_value>())).lval as *const _ as usize },
1491 0usize,
1492 concat!(
1493 "Offset of field: ",
1494 stringify!(_zend_value),
1495 "::",
1496 stringify!(lval)
1497 )
1498 );
1499 assert_eq!(
1500 unsafe { &(*(::std::ptr::null::<_zend_value>())).dval as *const _ as usize },
1501 0usize,
1502 concat!(
1503 "Offset of field: ",
1504 stringify!(_zend_value),
1505 "::",
1506 stringify!(dval)
1507 )
1508 );
1509 assert_eq!(
1510 unsafe { &(*(::std::ptr::null::<_zend_value>())).counted as *const _ as usize },
1511 0usize,
1512 concat!(
1513 "Offset of field: ",
1514 stringify!(_zend_value),
1515 "::",
1516 stringify!(counted)
1517 )
1518 );
1519 assert_eq!(
1520 unsafe { &(*(::std::ptr::null::<_zend_value>())).str_ as *const _ as usize },
1521 0usize,
1522 concat!(
1523 "Offset of field: ",
1524 stringify!(_zend_value),
1525 "::",
1526 stringify!(str_)
1527 )
1528 );
1529 assert_eq!(
1530 unsafe { &(*(::std::ptr::null::<_zend_value>())).arr as *const _ as usize },
1531 0usize,
1532 concat!(
1533 "Offset of field: ",
1534 stringify!(_zend_value),
1535 "::",
1536 stringify!(arr)
1537 )
1538 );
1539 assert_eq!(
1540 unsafe { &(*(::std::ptr::null::<_zend_value>())).obj as *const _ as usize },
1541 0usize,
1542 concat!(
1543 "Offset of field: ",
1544 stringify!(_zend_value),
1545 "::",
1546 stringify!(obj)
1547 )
1548 );
1549 assert_eq!(
1550 unsafe { &(*(::std::ptr::null::<_zend_value>())).res as *const _ as usize },
1551 0usize,
1552 concat!(
1553 "Offset of field: ",
1554 stringify!(_zend_value),
1555 "::",
1556 stringify!(res)
1557 )
1558 );
1559 assert_eq!(
1560 unsafe { &(*(::std::ptr::null::<_zend_value>())).ref_ as *const _ as usize },
1561 0usize,
1562 concat!(
1563 "Offset of field: ",
1564 stringify!(_zend_value),
1565 "::",
1566 stringify!(ref_)
1567 )
1568 );
1569 assert_eq!(
1570 unsafe { &(*(::std::ptr::null::<_zend_value>())).ast as *const _ as usize },
1571 0usize,
1572 concat!(
1573 "Offset of field: ",
1574 stringify!(_zend_value),
1575 "::",
1576 stringify!(ast)
1577 )
1578 );
1579 assert_eq!(
1580 unsafe { &(*(::std::ptr::null::<_zend_value>())).zv as *const _ as usize },
1581 0usize,
1582 concat!(
1583 "Offset of field: ",
1584 stringify!(_zend_value),
1585 "::",
1586 stringify!(zv)
1587 )
1588 );
1589 assert_eq!(
1590 unsafe { &(*(::std::ptr::null::<_zend_value>())).ptr as *const _ as usize },
1591 0usize,
1592 concat!(
1593 "Offset of field: ",
1594 stringify!(_zend_value),
1595 "::",
1596 stringify!(ptr)
1597 )
1598 );
1599 assert_eq!(
1600 unsafe { &(*(::std::ptr::null::<_zend_value>())).ce as *const _ as usize },
1601 0usize,
1602 concat!(
1603 "Offset of field: ",
1604 stringify!(_zend_value),
1605 "::",
1606 stringify!(ce)
1607 )
1608 );
1609 assert_eq!(
1610 unsafe { &(*(::std::ptr::null::<_zend_value>())).func as *const _ as usize },
1611 0usize,
1612 concat!(
1613 "Offset of field: ",
1614 stringify!(_zend_value),
1615 "::",
1616 stringify!(func)
1617 )
1618 );
1619 assert_eq!(
1620 unsafe { &(*(::std::ptr::null::<_zend_value>())).ww as *const _ as usize },
1621 0usize,
1622 concat!(
1623 "Offset of field: ",
1624 stringify!(_zend_value),
1625 "::",
1626 stringify!(ww)
1627 )
1628 );
1629}
1630pub type zend_value = _zend_value;
1631#[repr(C)]
1632#[derive(Copy, Clone)]
1633pub struct _zval_struct {
1634 pub value: zend_value,
1635 pub u1: _zval_struct__bindgen_ty_1,
1636 pub u2: _zval_struct__bindgen_ty_2,
1637}
1638#[repr(C)]
1639#[derive(Copy, Clone)]
1640pub union _zval_struct__bindgen_ty_1 {
1641 pub v: _zval_struct__bindgen_ty_1__bindgen_ty_1,
1642 pub type_info: u32,
1643 _bindgen_union_align: u32,
1644}
1645#[repr(C)]
1646#[derive(Debug, Copy, Clone)]
1647pub struct _zval_struct__bindgen_ty_1__bindgen_ty_1 {
1648 pub type_: zend_uchar,
1649 pub type_flags: zend_uchar,
1650 pub const_flags: zend_uchar,
1651 pub reserved: zend_uchar,
1652}
1653#[test]
1654fn bindgen_test_layout__zval_struct__bindgen_ty_1__bindgen_ty_1() {
1655 assert_eq!(
1656 ::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>(),
1657 4usize,
1658 concat!(
1659 "Size of: ",
1660 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1)
1661 )
1662 );
1663 assert_eq!(
1664 ::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>(),
1665 1usize,
1666 concat!(
1667 "Alignment of ",
1668 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1)
1669 )
1670 );
1671 assert_eq!(
1672 unsafe {
1673 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).type_ as *const _
1674 as usize
1675 },
1676 0usize,
1677 concat!(
1678 "Offset of field: ",
1679 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
1680 "::",
1681 stringify!(type_)
1682 )
1683 );
1684 assert_eq!(
1685 unsafe {
1686 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).type_flags
1687 as *const _ as usize
1688 },
1689 1usize,
1690 concat!(
1691 "Offset of field: ",
1692 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
1693 "::",
1694 stringify!(type_flags)
1695 )
1696 );
1697 assert_eq!(
1698 unsafe {
1699 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).const_flags
1700 as *const _ as usize
1701 },
1702 2usize,
1703 concat!(
1704 "Offset of field: ",
1705 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
1706 "::",
1707 stringify!(const_flags)
1708 )
1709 );
1710 assert_eq!(
1711 unsafe {
1712 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).reserved
1713 as *const _ as usize
1714 },
1715 3usize,
1716 concat!(
1717 "Offset of field: ",
1718 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
1719 "::",
1720 stringify!(reserved)
1721 )
1722 );
1723}
1724#[test]
1725fn bindgen_test_layout__zval_struct__bindgen_ty_1() {
1726 assert_eq!(
1727 ::std::mem::size_of::<_zval_struct__bindgen_ty_1>(),
1728 4usize,
1729 concat!("Size of: ", stringify!(_zval_struct__bindgen_ty_1))
1730 );
1731 assert_eq!(
1732 ::std::mem::align_of::<_zval_struct__bindgen_ty_1>(),
1733 4usize,
1734 concat!("Alignment of ", stringify!(_zval_struct__bindgen_ty_1))
1735 );
1736 assert_eq!(
1737 unsafe { &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1>())).v as *const _ as usize },
1738 0usize,
1739 concat!(
1740 "Offset of field: ",
1741 stringify!(_zval_struct__bindgen_ty_1),
1742 "::",
1743 stringify!(v)
1744 )
1745 );
1746 assert_eq!(
1747 unsafe {
1748 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1>())).type_info as *const _ as usize
1749 },
1750 0usize,
1751 concat!(
1752 "Offset of field: ",
1753 stringify!(_zval_struct__bindgen_ty_1),
1754 "::",
1755 stringify!(type_info)
1756 )
1757 );
1758}
1759#[repr(C)]
1760#[derive(Copy, Clone)]
1761pub union _zval_struct__bindgen_ty_2 {
1762 pub next: u32,
1763 pub cache_slot: u32,
1764 pub lineno: u32,
1765 pub num_args: u32,
1766 pub fe_pos: u32,
1767 pub fe_iter_idx: u32,
1768 pub access_flags: u32,
1769 pub property_guard: u32,
1770 pub extra: u32,
1771 _bindgen_union_align: u32,
1772}
1773#[test]
1774fn bindgen_test_layout__zval_struct__bindgen_ty_2() {
1775 assert_eq!(
1776 ::std::mem::size_of::<_zval_struct__bindgen_ty_2>(),
1777 4usize,
1778 concat!("Size of: ", stringify!(_zval_struct__bindgen_ty_2))
1779 );
1780 assert_eq!(
1781 ::std::mem::align_of::<_zval_struct__bindgen_ty_2>(),
1782 4usize,
1783 concat!("Alignment of ", stringify!(_zval_struct__bindgen_ty_2))
1784 );
1785 assert_eq!(
1786 unsafe { &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).next as *const _ as usize },
1787 0usize,
1788 concat!(
1789 "Offset of field: ",
1790 stringify!(_zval_struct__bindgen_ty_2),
1791 "::",
1792 stringify!(next)
1793 )
1794 );
1795 assert_eq!(
1796 unsafe {
1797 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).cache_slot as *const _ as usize
1798 },
1799 0usize,
1800 concat!(
1801 "Offset of field: ",
1802 stringify!(_zval_struct__bindgen_ty_2),
1803 "::",
1804 stringify!(cache_slot)
1805 )
1806 );
1807 assert_eq!(
1808 unsafe {
1809 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).lineno as *const _ as usize
1810 },
1811 0usize,
1812 concat!(
1813 "Offset of field: ",
1814 stringify!(_zval_struct__bindgen_ty_2),
1815 "::",
1816 stringify!(lineno)
1817 )
1818 );
1819 assert_eq!(
1820 unsafe {
1821 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).num_args as *const _ as usize
1822 },
1823 0usize,
1824 concat!(
1825 "Offset of field: ",
1826 stringify!(_zval_struct__bindgen_ty_2),
1827 "::",
1828 stringify!(num_args)
1829 )
1830 );
1831 assert_eq!(
1832 unsafe {
1833 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).fe_pos as *const _ as usize
1834 },
1835 0usize,
1836 concat!(
1837 "Offset of field: ",
1838 stringify!(_zval_struct__bindgen_ty_2),
1839 "::",
1840 stringify!(fe_pos)
1841 )
1842 );
1843 assert_eq!(
1844 unsafe {
1845 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).fe_iter_idx as *const _ as usize
1846 },
1847 0usize,
1848 concat!(
1849 "Offset of field: ",
1850 stringify!(_zval_struct__bindgen_ty_2),
1851 "::",
1852 stringify!(fe_iter_idx)
1853 )
1854 );
1855 assert_eq!(
1856 unsafe {
1857 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).access_flags as *const _ as usize
1858 },
1859 0usize,
1860 concat!(
1861 "Offset of field: ",
1862 stringify!(_zval_struct__bindgen_ty_2),
1863 "::",
1864 stringify!(access_flags)
1865 )
1866 );
1867 assert_eq!(
1868 unsafe {
1869 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).property_guard as *const _
1870 as usize
1871 },
1872 0usize,
1873 concat!(
1874 "Offset of field: ",
1875 stringify!(_zval_struct__bindgen_ty_2),
1876 "::",
1877 stringify!(property_guard)
1878 )
1879 );
1880 assert_eq!(
1881 unsafe {
1882 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).extra as *const _ as usize
1883 },
1884 0usize,
1885 concat!(
1886 "Offset of field: ",
1887 stringify!(_zval_struct__bindgen_ty_2),
1888 "::",
1889 stringify!(extra)
1890 )
1891 );
1892}
1893#[test]
1894fn bindgen_test_layout__zval_struct() {
1895 assert_eq!(
1896 ::std::mem::size_of::<_zval_struct>(),
1897 16usize,
1898 concat!("Size of: ", stringify!(_zval_struct))
1899 );
1900 assert_eq!(
1901 ::std::mem::align_of::<_zval_struct>(),
1902 8usize,
1903 concat!("Alignment of ", stringify!(_zval_struct))
1904 );
1905 assert_eq!(
1906 unsafe { &(*(::std::ptr::null::<_zval_struct>())).value as *const _ as usize },
1907 0usize,
1908 concat!(
1909 "Offset of field: ",
1910 stringify!(_zval_struct),
1911 "::",
1912 stringify!(value)
1913 )
1914 );
1915 assert_eq!(
1916 unsafe { &(*(::std::ptr::null::<_zval_struct>())).u1 as *const _ as usize },
1917 8usize,
1918 concat!(
1919 "Offset of field: ",
1920 stringify!(_zval_struct),
1921 "::",
1922 stringify!(u1)
1923 )
1924 );
1925 assert_eq!(
1926 unsafe { &(*(::std::ptr::null::<_zval_struct>())).u2 as *const _ as usize },
1927 12usize,
1928 concat!(
1929 "Offset of field: ",
1930 stringify!(_zval_struct),
1931 "::",
1932 stringify!(u2)
1933 )
1934 );
1935}
1936#[repr(C)]
1937#[derive(Copy, Clone)]
1938pub struct _zend_refcounted_h {
1939 pub refcount: u32,
1940 pub u: _zend_refcounted_h__bindgen_ty_1,
1941}
1942#[repr(C)]
1943#[derive(Copy, Clone)]
1944pub union _zend_refcounted_h__bindgen_ty_1 {
1945 pub v: _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1,
1946 pub type_info: u32,
1947 _bindgen_union_align: u32,
1948}
1949#[repr(C)]
1950#[derive(Debug, Copy, Clone)]
1951pub struct _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1 {
1952 pub type_: zend_uchar,
1953 pub flags: zend_uchar,
1954 pub gc_info: u16,
1955}
1956#[test]
1957fn bindgen_test_layout__zend_refcounted_h__bindgen_ty_1__bindgen_ty_1() {
1958 assert_eq!(
1959 ::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>(),
1960 4usize,
1961 concat!(
1962 "Size of: ",
1963 stringify!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1)
1964 )
1965 );
1966 assert_eq!(
1967 ::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>(),
1968 2usize,
1969 concat!(
1970 "Alignment of ",
1971 stringify!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1)
1972 )
1973 );
1974 assert_eq!(
1975 unsafe {
1976 &(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>())).type_
1977 as *const _ as usize
1978 },
1979 0usize,
1980 concat!(
1981 "Offset of field: ",
1982 stringify!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1),
1983 "::",
1984 stringify!(type_)
1985 )
1986 );
1987 assert_eq!(
1988 unsafe {
1989 &(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>())).flags
1990 as *const _ as usize
1991 },
1992 1usize,
1993 concat!(
1994 "Offset of field: ",
1995 stringify!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1),
1996 "::",
1997 stringify!(flags)
1998 )
1999 );
2000 assert_eq!(
2001 unsafe {
2002 &(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>())).gc_info
2003 as *const _ as usize
2004 },
2005 2usize,
2006 concat!(
2007 "Offset of field: ",
2008 stringify!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1),
2009 "::",
2010 stringify!(gc_info)
2011 )
2012 );
2013}
2014#[test]
2015fn bindgen_test_layout__zend_refcounted_h__bindgen_ty_1() {
2016 assert_eq!(
2017 ::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1>(),
2018 4usize,
2019 concat!("Size of: ", stringify!(_zend_refcounted_h__bindgen_ty_1))
2020 );
2021 assert_eq!(
2022 ::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1>(),
2023 4usize,
2024 concat!(
2025 "Alignment of ",
2026 stringify!(_zend_refcounted_h__bindgen_ty_1)
2027 )
2028 );
2029 assert_eq!(
2030 unsafe {
2031 &(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1>())).v as *const _ as usize
2032 },
2033 0usize,
2034 concat!(
2035 "Offset of field: ",
2036 stringify!(_zend_refcounted_h__bindgen_ty_1),
2037 "::",
2038 stringify!(v)
2039 )
2040 );
2041 assert_eq!(
2042 unsafe {
2043 &(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1>())).type_info as *const _
2044 as usize
2045 },
2046 0usize,
2047 concat!(
2048 "Offset of field: ",
2049 stringify!(_zend_refcounted_h__bindgen_ty_1),
2050 "::",
2051 stringify!(type_info)
2052 )
2053 );
2054}
2055#[test]
2056fn bindgen_test_layout__zend_refcounted_h() {
2057 assert_eq!(
2058 ::std::mem::size_of::<_zend_refcounted_h>(),
2059 8usize,
2060 concat!("Size of: ", stringify!(_zend_refcounted_h))
2061 );
2062 assert_eq!(
2063 ::std::mem::align_of::<_zend_refcounted_h>(),
2064 4usize,
2065 concat!("Alignment of ", stringify!(_zend_refcounted_h))
2066 );
2067 assert_eq!(
2068 unsafe { &(*(::std::ptr::null::<_zend_refcounted_h>())).refcount as *const _ as usize },
2069 0usize,
2070 concat!(
2071 "Offset of field: ",
2072 stringify!(_zend_refcounted_h),
2073 "::",
2074 stringify!(refcount)
2075 )
2076 );
2077 assert_eq!(
2078 unsafe { &(*(::std::ptr::null::<_zend_refcounted_h>())).u as *const _ as usize },
2079 4usize,
2080 concat!(
2081 "Offset of field: ",
2082 stringify!(_zend_refcounted_h),
2083 "::",
2084 stringify!(u)
2085 )
2086 );
2087}
2088pub type zend_refcounted_h = _zend_refcounted_h;
2089#[repr(C)]
2090#[derive(Copy, Clone)]
2091pub struct _zend_refcounted {
2092 pub gc: zend_refcounted_h,
2093}
2094#[test]
2095fn bindgen_test_layout__zend_refcounted() {
2096 assert_eq!(
2097 ::std::mem::size_of::<_zend_refcounted>(),
2098 8usize,
2099 concat!("Size of: ", stringify!(_zend_refcounted))
2100 );
2101 assert_eq!(
2102 ::std::mem::align_of::<_zend_refcounted>(),
2103 4usize,
2104 concat!("Alignment of ", stringify!(_zend_refcounted))
2105 );
2106 assert_eq!(
2107 unsafe { &(*(::std::ptr::null::<_zend_refcounted>())).gc as *const _ as usize },
2108 0usize,
2109 concat!(
2110 "Offset of field: ",
2111 stringify!(_zend_refcounted),
2112 "::",
2113 stringify!(gc)
2114 )
2115 );
2116}
2117#[repr(C)]
2118#[derive(Copy, Clone)]
2119pub struct _zend_string {
2120 pub gc: zend_refcounted_h,
2121 pub h: zend_ulong,
2122 pub len: size_t,
2123 pub val: [::std::os::raw::c_char; 1usize],
2124}
2125#[test]
2126fn bindgen_test_layout__zend_string() {
2127 assert_eq!(
2128 ::std::mem::size_of::<_zend_string>(),
2129 32usize,
2130 concat!("Size of: ", stringify!(_zend_string))
2131 );
2132 assert_eq!(
2133 ::std::mem::align_of::<_zend_string>(),
2134 8usize,
2135 concat!("Alignment of ", stringify!(_zend_string))
2136 );
2137 assert_eq!(
2138 unsafe { &(*(::std::ptr::null::<_zend_string>())).gc as *const _ as usize },
2139 0usize,
2140 concat!(
2141 "Offset of field: ",
2142 stringify!(_zend_string),
2143 "::",
2144 stringify!(gc)
2145 )
2146 );
2147 assert_eq!(
2148 unsafe { &(*(::std::ptr::null::<_zend_string>())).h as *const _ as usize },
2149 8usize,
2150 concat!(
2151 "Offset of field: ",
2152 stringify!(_zend_string),
2153 "::",
2154 stringify!(h)
2155 )
2156 );
2157 assert_eq!(
2158 unsafe { &(*(::std::ptr::null::<_zend_string>())).len as *const _ as usize },
2159 16usize,
2160 concat!(
2161 "Offset of field: ",
2162 stringify!(_zend_string),
2163 "::",
2164 stringify!(len)
2165 )
2166 );
2167 assert_eq!(
2168 unsafe { &(*(::std::ptr::null::<_zend_string>())).val as *const _ as usize },
2169 24usize,
2170 concat!(
2171 "Offset of field: ",
2172 stringify!(_zend_string),
2173 "::",
2174 stringify!(val)
2175 )
2176 );
2177}
2178#[repr(C)]
2179#[derive(Copy, Clone)]
2180pub struct _Bucket {
2181 pub val: zval,
2182 pub h: zend_ulong,
2183 pub key: *mut zend_string,
2184}
2185#[test]
2186fn bindgen_test_layout__Bucket() {
2187 assert_eq!(
2188 ::std::mem::size_of::<_Bucket>(),
2189 32usize,
2190 concat!("Size of: ", stringify!(_Bucket))
2191 );
2192 assert_eq!(
2193 ::std::mem::align_of::<_Bucket>(),
2194 8usize,
2195 concat!("Alignment of ", stringify!(_Bucket))
2196 );
2197 assert_eq!(
2198 unsafe { &(*(::std::ptr::null::<_Bucket>())).val as *const _ as usize },
2199 0usize,
2200 concat!(
2201 "Offset of field: ",
2202 stringify!(_Bucket),
2203 "::",
2204 stringify!(val)
2205 )
2206 );
2207 assert_eq!(
2208 unsafe { &(*(::std::ptr::null::<_Bucket>())).h as *const _ as usize },
2209 16usize,
2210 concat!(
2211 "Offset of field: ",
2212 stringify!(_Bucket),
2213 "::",
2214 stringify!(h)
2215 )
2216 );
2217 assert_eq!(
2218 unsafe { &(*(::std::ptr::null::<_Bucket>())).key as *const _ as usize },
2219 24usize,
2220 concat!(
2221 "Offset of field: ",
2222 stringify!(_Bucket),
2223 "::",
2224 stringify!(key)
2225 )
2226 );
2227}
2228pub type Bucket = _Bucket;
2229pub type HashTable = _zend_array;
2230#[repr(C)]
2231#[derive(Copy, Clone)]
2232pub struct _zend_array {
2233 pub gc: zend_refcounted_h,
2234 pub u: _zend_array__bindgen_ty_1,
2235 pub nTableMask: u32,
2236 pub arData: *mut Bucket,
2237 pub nNumUsed: u32,
2238 pub nNumOfElements: u32,
2239 pub nTableSize: u32,
2240 pub nInternalPointer: u32,
2241 pub nNextFreeElement: zend_long,
2242 pub pDestructor: dtor_func_t,
2243}
2244#[repr(C)]
2245#[derive(Copy, Clone)]
2246pub union _zend_array__bindgen_ty_1 {
2247 pub v: _zend_array__bindgen_ty_1__bindgen_ty_1,
2248 pub flags: u32,
2249 _bindgen_union_align: u32,
2250}
2251#[repr(C)]
2252#[derive(Debug, Copy, Clone)]
2253pub struct _zend_array__bindgen_ty_1__bindgen_ty_1 {
2254 pub flags: zend_uchar,
2255 pub nApplyCount: zend_uchar,
2256 pub nIteratorsCount: zend_uchar,
2257 pub consistency: zend_uchar,
2258}
2259#[test]
2260fn bindgen_test_layout__zend_array__bindgen_ty_1__bindgen_ty_1() {
2261 assert_eq!(
2262 ::std::mem::size_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>(),
2263 4usize,
2264 concat!(
2265 "Size of: ",
2266 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1)
2267 )
2268 );
2269 assert_eq!(
2270 ::std::mem::align_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>(),
2271 1usize,
2272 concat!(
2273 "Alignment of ",
2274 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1)
2275 )
2276 );
2277 assert_eq!(
2278 unsafe {
2279 &(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>())).flags as *const _
2280 as usize
2281 },
2282 0usize,
2283 concat!(
2284 "Offset of field: ",
2285 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
2286 "::",
2287 stringify!(flags)
2288 )
2289 );
2290 assert_eq!(
2291 unsafe {
2292 &(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>())).nApplyCount
2293 as *const _ as usize
2294 },
2295 1usize,
2296 concat!(
2297 "Offset of field: ",
2298 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
2299 "::",
2300 stringify!(nApplyCount)
2301 )
2302 );
2303 assert_eq!(
2304 unsafe {
2305 &(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>())).nIteratorsCount
2306 as *const _ as usize
2307 },
2308 2usize,
2309 concat!(
2310 "Offset of field: ",
2311 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
2312 "::",
2313 stringify!(nIteratorsCount)
2314 )
2315 );
2316 assert_eq!(
2317 unsafe {
2318 &(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>())).consistency
2319 as *const _ as usize
2320 },
2321 3usize,
2322 concat!(
2323 "Offset of field: ",
2324 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
2325 "::",
2326 stringify!(consistency)
2327 )
2328 );
2329}
2330#[test]
2331fn bindgen_test_layout__zend_array__bindgen_ty_1() {
2332 assert_eq!(
2333 ::std::mem::size_of::<_zend_array__bindgen_ty_1>(),
2334 4usize,
2335 concat!("Size of: ", stringify!(_zend_array__bindgen_ty_1))
2336 );
2337 assert_eq!(
2338 ::std::mem::align_of::<_zend_array__bindgen_ty_1>(),
2339 4usize,
2340 concat!("Alignment of ", stringify!(_zend_array__bindgen_ty_1))
2341 );
2342 assert_eq!(
2343 unsafe { &(*(::std::ptr::null::<_zend_array__bindgen_ty_1>())).v as *const _ as usize },
2344 0usize,
2345 concat!(
2346 "Offset of field: ",
2347 stringify!(_zend_array__bindgen_ty_1),
2348 "::",
2349 stringify!(v)
2350 )
2351 );
2352 assert_eq!(
2353 unsafe { &(*(::std::ptr::null::<_zend_array__bindgen_ty_1>())).flags as *const _ as usize },
2354 0usize,
2355 concat!(
2356 "Offset of field: ",
2357 stringify!(_zend_array__bindgen_ty_1),
2358 "::",
2359 stringify!(flags)
2360 )
2361 );
2362}
2363#[test]
2364fn bindgen_test_layout__zend_array() {
2365 assert_eq!(
2366 ::std::mem::size_of::<_zend_array>(),
2367 56usize,
2368 concat!("Size of: ", stringify!(_zend_array))
2369 );
2370 assert_eq!(
2371 ::std::mem::align_of::<_zend_array>(),
2372 8usize,
2373 concat!("Alignment of ", stringify!(_zend_array))
2374 );
2375 assert_eq!(
2376 unsafe { &(*(::std::ptr::null::<_zend_array>())).gc as *const _ as usize },
2377 0usize,
2378 concat!(
2379 "Offset of field: ",
2380 stringify!(_zend_array),
2381 "::",
2382 stringify!(gc)
2383 )
2384 );
2385 assert_eq!(
2386 unsafe { &(*(::std::ptr::null::<_zend_array>())).u as *const _ as usize },
2387 8usize,
2388 concat!(
2389 "Offset of field: ",
2390 stringify!(_zend_array),
2391 "::",
2392 stringify!(u)
2393 )
2394 );
2395 assert_eq!(
2396 unsafe { &(*(::std::ptr::null::<_zend_array>())).nTableMask as *const _ as usize },
2397 12usize,
2398 concat!(
2399 "Offset of field: ",
2400 stringify!(_zend_array),
2401 "::",
2402 stringify!(nTableMask)
2403 )
2404 );
2405 assert_eq!(
2406 unsafe { &(*(::std::ptr::null::<_zend_array>())).arData as *const _ as usize },
2407 16usize,
2408 concat!(
2409 "Offset of field: ",
2410 stringify!(_zend_array),
2411 "::",
2412 stringify!(arData)
2413 )
2414 );
2415 assert_eq!(
2416 unsafe { &(*(::std::ptr::null::<_zend_array>())).nNumUsed as *const _ as usize },
2417 24usize,
2418 concat!(
2419 "Offset of field: ",
2420 stringify!(_zend_array),
2421 "::",
2422 stringify!(nNumUsed)
2423 )
2424 );
2425 assert_eq!(
2426 unsafe { &(*(::std::ptr::null::<_zend_array>())).nNumOfElements as *const _ as usize },
2427 28usize,
2428 concat!(
2429 "Offset of field: ",
2430 stringify!(_zend_array),
2431 "::",
2432 stringify!(nNumOfElements)
2433 )
2434 );
2435 assert_eq!(
2436 unsafe { &(*(::std::ptr::null::<_zend_array>())).nTableSize as *const _ as usize },
2437 32usize,
2438 concat!(
2439 "Offset of field: ",
2440 stringify!(_zend_array),
2441 "::",
2442 stringify!(nTableSize)
2443 )
2444 );
2445 assert_eq!(
2446 unsafe { &(*(::std::ptr::null::<_zend_array>())).nInternalPointer as *const _ as usize },
2447 36usize,
2448 concat!(
2449 "Offset of field: ",
2450 stringify!(_zend_array),
2451 "::",
2452 stringify!(nInternalPointer)
2453 )
2454 );
2455 assert_eq!(
2456 unsafe { &(*(::std::ptr::null::<_zend_array>())).nNextFreeElement as *const _ as usize },
2457 40usize,
2458 concat!(
2459 "Offset of field: ",
2460 stringify!(_zend_array),
2461 "::",
2462 stringify!(nNextFreeElement)
2463 )
2464 );
2465 assert_eq!(
2466 unsafe { &(*(::std::ptr::null::<_zend_array>())).pDestructor as *const _ as usize },
2467 48usize,
2468 concat!(
2469 "Offset of field: ",
2470 stringify!(_zend_array),
2471 "::",
2472 stringify!(pDestructor)
2473 )
2474 );
2475}
2476pub type HashPosition = u32;
2477#[repr(C)]
2478#[derive(Debug, Copy, Clone)]
2479pub struct _HashTableIterator {
2480 pub ht: *mut HashTable,
2481 pub pos: HashPosition,
2482}
2483#[test]
2484fn bindgen_test_layout__HashTableIterator() {
2485 assert_eq!(
2486 ::std::mem::size_of::<_HashTableIterator>(),
2487 16usize,
2488 concat!("Size of: ", stringify!(_HashTableIterator))
2489 );
2490 assert_eq!(
2491 ::std::mem::align_of::<_HashTableIterator>(),
2492 8usize,
2493 concat!("Alignment of ", stringify!(_HashTableIterator))
2494 );
2495 assert_eq!(
2496 unsafe { &(*(::std::ptr::null::<_HashTableIterator>())).ht as *const _ as usize },
2497 0usize,
2498 concat!(
2499 "Offset of field: ",
2500 stringify!(_HashTableIterator),
2501 "::",
2502 stringify!(ht)
2503 )
2504 );
2505 assert_eq!(
2506 unsafe { &(*(::std::ptr::null::<_HashTableIterator>())).pos as *const _ as usize },
2507 8usize,
2508 concat!(
2509 "Offset of field: ",
2510 stringify!(_HashTableIterator),
2511 "::",
2512 stringify!(pos)
2513 )
2514 );
2515}
2516pub type HashTableIterator = _HashTableIterator;
2517#[repr(C)]
2518#[derive(Copy, Clone)]
2519pub struct _zend_object {
2520 pub gc: zend_refcounted_h,
2521 pub handle: u32,
2522 pub ce: *mut zend_class_entry,
2523 pub handlers: *const zend_object_handlers,
2524 pub properties: *mut HashTable,
2525 pub properties_table: [zval; 1usize],
2526}
2527#[test]
2528fn bindgen_test_layout__zend_object() {
2529 assert_eq!(
2530 ::std::mem::size_of::<_zend_object>(),
2531 56usize,
2532 concat!("Size of: ", stringify!(_zend_object))
2533 );
2534 assert_eq!(
2535 ::std::mem::align_of::<_zend_object>(),
2536 8usize,
2537 concat!("Alignment of ", stringify!(_zend_object))
2538 );
2539 assert_eq!(
2540 unsafe { &(*(::std::ptr::null::<_zend_object>())).gc as *const _ as usize },
2541 0usize,
2542 concat!(
2543 "Offset of field: ",
2544 stringify!(_zend_object),
2545 "::",
2546 stringify!(gc)
2547 )
2548 );
2549 assert_eq!(
2550 unsafe { &(*(::std::ptr::null::<_zend_object>())).handle as *const _ as usize },
2551 8usize,
2552 concat!(
2553 "Offset of field: ",
2554 stringify!(_zend_object),
2555 "::",
2556 stringify!(handle)
2557 )
2558 );
2559 assert_eq!(
2560 unsafe { &(*(::std::ptr::null::<_zend_object>())).ce as *const _ as usize },
2561 16usize,
2562 concat!(
2563 "Offset of field: ",
2564 stringify!(_zend_object),
2565 "::",
2566 stringify!(ce)
2567 )
2568 );
2569 assert_eq!(
2570 unsafe { &(*(::std::ptr::null::<_zend_object>())).handlers as *const _ as usize },
2571 24usize,
2572 concat!(
2573 "Offset of field: ",
2574 stringify!(_zend_object),
2575 "::",
2576 stringify!(handlers)
2577 )
2578 );
2579 assert_eq!(
2580 unsafe { &(*(::std::ptr::null::<_zend_object>())).properties as *const _ as usize },
2581 32usize,
2582 concat!(
2583 "Offset of field: ",
2584 stringify!(_zend_object),
2585 "::",
2586 stringify!(properties)
2587 )
2588 );
2589 assert_eq!(
2590 unsafe { &(*(::std::ptr::null::<_zend_object>())).properties_table as *const _ as usize },
2591 40usize,
2592 concat!(
2593 "Offset of field: ",
2594 stringify!(_zend_object),
2595 "::",
2596 stringify!(properties_table)
2597 )
2598 );
2599}
2600#[repr(C)]
2601#[derive(Copy, Clone)]
2602pub struct _zend_resource {
2603 pub gc: zend_refcounted_h,
2604 pub handle: ::std::os::raw::c_int,
2605 pub type_: ::std::os::raw::c_int,
2606 pub ptr: *mut ::std::os::raw::c_void,
2607}
2608#[test]
2609fn bindgen_test_layout__zend_resource() {
2610 assert_eq!(
2611 ::std::mem::size_of::<_zend_resource>(),
2612 24usize,
2613 concat!("Size of: ", stringify!(_zend_resource))
2614 );
2615 assert_eq!(
2616 ::std::mem::align_of::<_zend_resource>(),
2617 8usize,
2618 concat!("Alignment of ", stringify!(_zend_resource))
2619 );
2620 assert_eq!(
2621 unsafe { &(*(::std::ptr::null::<_zend_resource>())).gc as *const _ as usize },
2622 0usize,
2623 concat!(
2624 "Offset of field: ",
2625 stringify!(_zend_resource),
2626 "::",
2627 stringify!(gc)
2628 )
2629 );
2630 assert_eq!(
2631 unsafe { &(*(::std::ptr::null::<_zend_resource>())).handle as *const _ as usize },
2632 8usize,
2633 concat!(
2634 "Offset of field: ",
2635 stringify!(_zend_resource),
2636 "::",
2637 stringify!(handle)
2638 )
2639 );
2640 assert_eq!(
2641 unsafe { &(*(::std::ptr::null::<_zend_resource>())).type_ as *const _ as usize },
2642 12usize,
2643 concat!(
2644 "Offset of field: ",
2645 stringify!(_zend_resource),
2646 "::",
2647 stringify!(type_)
2648 )
2649 );
2650 assert_eq!(
2651 unsafe { &(*(::std::ptr::null::<_zend_resource>())).ptr as *const _ as usize },
2652 16usize,
2653 concat!(
2654 "Offset of field: ",
2655 stringify!(_zend_resource),
2656 "::",
2657 stringify!(ptr)
2658 )
2659 );
2660}
2661#[repr(C)]
2662#[derive(Copy, Clone)]
2663pub struct _zend_reference {
2664 pub gc: zend_refcounted_h,
2665 pub val: zval,
2666}
2667#[test]
2668fn bindgen_test_layout__zend_reference() {
2669 assert_eq!(
2670 ::std::mem::size_of::<_zend_reference>(),
2671 24usize,
2672 concat!("Size of: ", stringify!(_zend_reference))
2673 );
2674 assert_eq!(
2675 ::std::mem::align_of::<_zend_reference>(),
2676 8usize,
2677 concat!("Alignment of ", stringify!(_zend_reference))
2678 );
2679 assert_eq!(
2680 unsafe { &(*(::std::ptr::null::<_zend_reference>())).gc as *const _ as usize },
2681 0usize,
2682 concat!(
2683 "Offset of field: ",
2684 stringify!(_zend_reference),
2685 "::",
2686 stringify!(gc)
2687 )
2688 );
2689 assert_eq!(
2690 unsafe { &(*(::std::ptr::null::<_zend_reference>())).val as *const _ as usize },
2691 8usize,
2692 concat!(
2693 "Offset of field: ",
2694 stringify!(_zend_reference),
2695 "::",
2696 stringify!(val)
2697 )
2698 );
2699}
2700#[repr(C)]
2701#[derive(Copy, Clone)]
2702pub struct _zend_ast_ref {
2703 pub gc: zend_refcounted_h,
2704 pub ast: *mut zend_ast,
2705}
2706#[test]
2707fn bindgen_test_layout__zend_ast_ref() {
2708 assert_eq!(
2709 ::std::mem::size_of::<_zend_ast_ref>(),
2710 16usize,
2711 concat!("Size of: ", stringify!(_zend_ast_ref))
2712 );
2713 assert_eq!(
2714 ::std::mem::align_of::<_zend_ast_ref>(),
2715 8usize,
2716 concat!("Alignment of ", stringify!(_zend_ast_ref))
2717 );
2718 assert_eq!(
2719 unsafe { &(*(::std::ptr::null::<_zend_ast_ref>())).gc as *const _ as usize },
2720 0usize,
2721 concat!(
2722 "Offset of field: ",
2723 stringify!(_zend_ast_ref),
2724 "::",
2725 stringify!(gc)
2726 )
2727 );
2728 assert_eq!(
2729 unsafe { &(*(::std::ptr::null::<_zend_ast_ref>())).ast as *const _ as usize },
2730 8usize,
2731 concat!(
2732 "Offset of field: ",
2733 stringify!(_zend_ast_ref),
2734 "::",
2735 stringify!(ast)
2736 )
2737 );
2738}
2739#[repr(C)]
2740#[derive(Debug, Copy, Clone)]
2741pub struct _zend_leak_info {
2742 pub addr: *mut ::std::os::raw::c_void,
2743 pub size: size_t,
2744 pub filename: *const ::std::os::raw::c_char,
2745 pub orig_filename: *const ::std::os::raw::c_char,
2746 pub lineno: uint,
2747 pub orig_lineno: uint,
2748}
2749#[test]
2750fn bindgen_test_layout__zend_leak_info() {
2751 assert_eq!(
2752 ::std::mem::size_of::<_zend_leak_info>(),
2753 40usize,
2754 concat!("Size of: ", stringify!(_zend_leak_info))
2755 );
2756 assert_eq!(
2757 ::std::mem::align_of::<_zend_leak_info>(),
2758 8usize,
2759 concat!("Alignment of ", stringify!(_zend_leak_info))
2760 );
2761 assert_eq!(
2762 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).addr as *const _ as usize },
2763 0usize,
2764 concat!(
2765 "Offset of field: ",
2766 stringify!(_zend_leak_info),
2767 "::",
2768 stringify!(addr)
2769 )
2770 );
2771 assert_eq!(
2772 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).size as *const _ as usize },
2773 8usize,
2774 concat!(
2775 "Offset of field: ",
2776 stringify!(_zend_leak_info),
2777 "::",
2778 stringify!(size)
2779 )
2780 );
2781 assert_eq!(
2782 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).filename as *const _ as usize },
2783 16usize,
2784 concat!(
2785 "Offset of field: ",
2786 stringify!(_zend_leak_info),
2787 "::",
2788 stringify!(filename)
2789 )
2790 );
2791 assert_eq!(
2792 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).orig_filename as *const _ as usize },
2793 24usize,
2794 concat!(
2795 "Offset of field: ",
2796 stringify!(_zend_leak_info),
2797 "::",
2798 stringify!(orig_filename)
2799 )
2800 );
2801 assert_eq!(
2802 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).lineno as *const _ as usize },
2803 32usize,
2804 concat!(
2805 "Offset of field: ",
2806 stringify!(_zend_leak_info),
2807 "::",
2808 stringify!(lineno)
2809 )
2810 );
2811 assert_eq!(
2812 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).orig_lineno as *const _ as usize },
2813 36usize,
2814 concat!(
2815 "Offset of field: ",
2816 stringify!(_zend_leak_info),
2817 "::",
2818 stringify!(orig_lineno)
2819 )
2820 );
2821}
2822pub type zend_leak_info = _zend_leak_info;
2823extern "C" {
2824 pub fn zend_strndup(
2825 s: *const ::std::os::raw::c_char,
2826 length: size_t,
2827 ) -> *mut ::std::os::raw::c_char;
2828}
2829extern "C" {
2830 pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> size_t;
2831}
2832extern "C" {
2833 pub fn zend_set_memory_limit(memory_limit: size_t) -> ::std::os::raw::c_int;
2834}
2835extern "C" {
2836 pub fn zend_memory_usage(real_usage: ::std::os::raw::c_int) -> size_t;
2837}
2838extern "C" {
2839 pub fn zend_memory_peak_usage(real_usage: ::std::os::raw::c_int) -> size_t;
2840}
2841#[repr(C)]
2842#[derive(Debug, Copy, Clone)]
2843pub struct _zend_mm_heap {
2844 _unused: [u8; 0],
2845}
2846pub type zend_mm_heap = _zend_mm_heap;
2847extern "C" {
2848 pub fn zend_mm_startup() -> *mut zend_mm_heap;
2849}
2850extern "C" {
2851 pub fn zend_mm_shutdown(
2852 heap: *mut zend_mm_heap,
2853 full_shutdown: ::std::os::raw::c_int,
2854 silent: ::std::os::raw::c_int,
2855 );
2856}
2857extern "C" {
2858 pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: size_t) -> *mut ::std::os::raw::c_void;
2859}
2860extern "C" {
2861 pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
2862}
2863extern "C" {
2864 pub fn _zend_mm_realloc(
2865 heap: *mut zend_mm_heap,
2866 p: *mut ::std::os::raw::c_void,
2867 size: size_t,
2868 ) -> *mut ::std::os::raw::c_void;
2869}
2870extern "C" {
2871 pub fn _zend_mm_realloc2(
2872 heap: *mut zend_mm_heap,
2873 p: *mut ::std::os::raw::c_void,
2874 size: size_t,
2875 copy_size: size_t,
2876 ) -> *mut ::std::os::raw::c_void;
2877}
2878extern "C" {
2879 pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> size_t;
2880}
2881extern "C" {
2882 pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
2883}
2884extern "C" {
2885 pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
2886}
2887extern "C" {
2888 pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> size_t;
2889}
2890extern "C" {
2891 pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> ::std::os::raw::c_int;
2892}
2893extern "C" {
2894 pub fn zend_mm_set_custom_handlers(
2895 heap: *mut zend_mm_heap,
2896 _malloc: ::std::option::Option<
2897 unsafe extern "C" fn(arg1: size_t) -> *mut ::std::os::raw::c_void,
2898 >,
2899 _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2900 _realloc: ::std::option::Option<
2901 unsafe extern "C" fn(
2902 arg1: *mut ::std::os::raw::c_void,
2903 arg2: size_t,
2904 ) -> *mut ::std::os::raw::c_void,
2905 >,
2906 );
2907}
2908extern "C" {
2909 pub fn zend_mm_get_custom_handlers(
2910 heap: *mut zend_mm_heap,
2911 _malloc: *mut ::std::option::Option<
2912 unsafe extern "C" fn(arg1: size_t) -> *mut ::std::os::raw::c_void,
2913 >,
2914 _free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2915 _realloc: *mut ::std::option::Option<
2916 unsafe extern "C" fn(
2917 arg1: *mut ::std::os::raw::c_void,
2918 arg2: size_t,
2919 ) -> *mut ::std::os::raw::c_void,
2920 >,
2921 );
2922}
2923pub type zend_mm_storage = _zend_mm_storage;
2924pub type zend_mm_chunk_alloc_t = ::std::option::Option<
2925 unsafe extern "C" fn(
2926 storage: *mut zend_mm_storage,
2927 size: size_t,
2928 alignment: size_t,
2929 ) -> *mut ::std::os::raw::c_void,
2930>;
2931pub type zend_mm_chunk_free_t = ::std::option::Option<
2932 unsafe extern "C" fn(
2933 storage: *mut zend_mm_storage,
2934 chunk: *mut ::std::os::raw::c_void,
2935 size: size_t,
2936 ),
2937>;
2938pub type zend_mm_chunk_truncate_t = ::std::option::Option<
2939 unsafe extern "C" fn(
2940 storage: *mut zend_mm_storage,
2941 chunk: *mut ::std::os::raw::c_void,
2942 old_size: size_t,
2943 new_size: size_t,
2944 ) -> ::std::os::raw::c_int,
2945>;
2946pub type zend_mm_chunk_extend_t = ::std::option::Option<
2947 unsafe extern "C" fn(
2948 storage: *mut zend_mm_storage,
2949 chunk: *mut ::std::os::raw::c_void,
2950 old_size: size_t,
2951 new_size: size_t,
2952 ) -> ::std::os::raw::c_int,
2953>;
2954#[repr(C)]
2955#[derive(Debug, Copy, Clone)]
2956pub struct _zend_mm_handlers {
2957 pub chunk_alloc: zend_mm_chunk_alloc_t,
2958 pub chunk_free: zend_mm_chunk_free_t,
2959 pub chunk_truncate: zend_mm_chunk_truncate_t,
2960 pub chunk_extend: zend_mm_chunk_extend_t,
2961}
2962#[test]
2963fn bindgen_test_layout__zend_mm_handlers() {
2964 assert_eq!(
2965 ::std::mem::size_of::<_zend_mm_handlers>(),
2966 32usize,
2967 concat!("Size of: ", stringify!(_zend_mm_handlers))
2968 );
2969 assert_eq!(
2970 ::std::mem::align_of::<_zend_mm_handlers>(),
2971 8usize,
2972 concat!("Alignment of ", stringify!(_zend_mm_handlers))
2973 );
2974 assert_eq!(
2975 unsafe { &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_alloc as *const _ as usize },
2976 0usize,
2977 concat!(
2978 "Offset of field: ",
2979 stringify!(_zend_mm_handlers),
2980 "::",
2981 stringify!(chunk_alloc)
2982 )
2983 );
2984 assert_eq!(
2985 unsafe { &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_free as *const _ as usize },
2986 8usize,
2987 concat!(
2988 "Offset of field: ",
2989 stringify!(_zend_mm_handlers),
2990 "::",
2991 stringify!(chunk_free)
2992 )
2993 );
2994 assert_eq!(
2995 unsafe {
2996 &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_truncate as *const _ as usize
2997 },
2998 16usize,
2999 concat!(
3000 "Offset of field: ",
3001 stringify!(_zend_mm_handlers),
3002 "::",
3003 stringify!(chunk_truncate)
3004 )
3005 );
3006 assert_eq!(
3007 unsafe { &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_extend as *const _ as usize },
3008 24usize,
3009 concat!(
3010 "Offset of field: ",
3011 stringify!(_zend_mm_handlers),
3012 "::",
3013 stringify!(chunk_extend)
3014 )
3015 );
3016}
3017pub type zend_mm_handlers = _zend_mm_handlers;
3018#[repr(C)]
3019#[derive(Debug, Copy, Clone)]
3020pub struct _zend_mm_storage {
3021 pub handlers: zend_mm_handlers,
3022 pub data: *mut ::std::os::raw::c_void,
3023}
3024#[test]
3025fn bindgen_test_layout__zend_mm_storage() {
3026 assert_eq!(
3027 ::std::mem::size_of::<_zend_mm_storage>(),
3028 40usize,
3029 concat!("Size of: ", stringify!(_zend_mm_storage))
3030 );
3031 assert_eq!(
3032 ::std::mem::align_of::<_zend_mm_storage>(),
3033 8usize,
3034 concat!("Alignment of ", stringify!(_zend_mm_storage))
3035 );
3036 assert_eq!(
3037 unsafe { &(*(::std::ptr::null::<_zend_mm_storage>())).handlers as *const _ as usize },
3038 0usize,
3039 concat!(
3040 "Offset of field: ",
3041 stringify!(_zend_mm_storage),
3042 "::",
3043 stringify!(handlers)
3044 )
3045 );
3046 assert_eq!(
3047 unsafe { &(*(::std::ptr::null::<_zend_mm_storage>())).data as *const _ as usize },
3048 32usize,
3049 concat!(
3050 "Offset of field: ",
3051 stringify!(_zend_mm_storage),
3052 "::",
3053 stringify!(data)
3054 )
3055 );
3056}
3057extern "C" {
3058 pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
3059}
3060extern "C" {
3061 pub fn zend_mm_startup_ex(
3062 handlers: *const zend_mm_handlers,
3063 data: *mut ::std::os::raw::c_void,
3064 data_size: size_t,
3065 ) -> *mut zend_mm_heap;
3066}
3067#[repr(C)]
3068#[derive(Debug, Copy, Clone)]
3069pub struct _zend_llist_element {
3070 pub next: *mut _zend_llist_element,
3071 pub prev: *mut _zend_llist_element,
3072 pub data: [::std::os::raw::c_char; 1usize],
3073}
3074#[test]
3075fn bindgen_test_layout__zend_llist_element() {
3076 assert_eq!(
3077 ::std::mem::size_of::<_zend_llist_element>(),
3078 24usize,
3079 concat!("Size of: ", stringify!(_zend_llist_element))
3080 );
3081 assert_eq!(
3082 ::std::mem::align_of::<_zend_llist_element>(),
3083 8usize,
3084 concat!("Alignment of ", stringify!(_zend_llist_element))
3085 );
3086 assert_eq!(
3087 unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).next as *const _ as usize },
3088 0usize,
3089 concat!(
3090 "Offset of field: ",
3091 stringify!(_zend_llist_element),
3092 "::",
3093 stringify!(next)
3094 )
3095 );
3096 assert_eq!(
3097 unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).prev as *const _ as usize },
3098 8usize,
3099 concat!(
3100 "Offset of field: ",
3101 stringify!(_zend_llist_element),
3102 "::",
3103 stringify!(prev)
3104 )
3105 );
3106 assert_eq!(
3107 unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).data as *const _ as usize },
3108 16usize,
3109 concat!(
3110 "Offset of field: ",
3111 stringify!(_zend_llist_element),
3112 "::",
3113 stringify!(data)
3114 )
3115 );
3116}
3117pub type zend_llist_element = _zend_llist_element;
3118pub type llist_dtor_func_t =
3119 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
3120pub type llist_compare_func_t = ::std::option::Option<
3121 unsafe extern "C" fn(
3122 arg1: *mut *const zend_llist_element,
3123 arg2: *mut *const zend_llist_element,
3124 ) -> ::std::os::raw::c_int,
3125>;
3126pub type llist_apply_with_args_func_t = ::std::option::Option<
3127 unsafe extern "C" fn(
3128 data: *mut ::std::os::raw::c_void,
3129 num_args: ::std::os::raw::c_int,
3130 args: *mut __va_list_tag,
3131 ),
3132>;
3133pub type llist_apply_with_arg_func_t = ::std::option::Option<
3134 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
3135>;
3136pub type llist_apply_func_t =
3137 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
3138#[repr(C)]
3139#[derive(Debug, Copy, Clone)]
3140pub struct _zend_llist {
3141 pub head: *mut zend_llist_element,
3142 pub tail: *mut zend_llist_element,
3143 pub count: size_t,
3144 pub size: size_t,
3145 pub dtor: llist_dtor_func_t,
3146 pub persistent: ::std::os::raw::c_uchar,
3147 pub traverse_ptr: *mut zend_llist_element,
3148}
3149#[test]
3150fn bindgen_test_layout__zend_llist() {
3151 assert_eq!(
3152 ::std::mem::size_of::<_zend_llist>(),
3153 56usize,
3154 concat!("Size of: ", stringify!(_zend_llist))
3155 );
3156 assert_eq!(
3157 ::std::mem::align_of::<_zend_llist>(),
3158 8usize,
3159 concat!("Alignment of ", stringify!(_zend_llist))
3160 );
3161 assert_eq!(
3162 unsafe { &(*(::std::ptr::null::<_zend_llist>())).head as *const _ as usize },
3163 0usize,
3164 concat!(
3165 "Offset of field: ",
3166 stringify!(_zend_llist),
3167 "::",
3168 stringify!(head)
3169 )
3170 );
3171 assert_eq!(
3172 unsafe { &(*(::std::ptr::null::<_zend_llist>())).tail as *const _ as usize },
3173 8usize,
3174 concat!(
3175 "Offset of field: ",
3176 stringify!(_zend_llist),
3177 "::",
3178 stringify!(tail)
3179 )
3180 );
3181 assert_eq!(
3182 unsafe { &(*(::std::ptr::null::<_zend_llist>())).count as *const _ as usize },
3183 16usize,
3184 concat!(
3185 "Offset of field: ",
3186 stringify!(_zend_llist),
3187 "::",
3188 stringify!(count)
3189 )
3190 );
3191 assert_eq!(
3192 unsafe { &(*(::std::ptr::null::<_zend_llist>())).size as *const _ as usize },
3193 24usize,
3194 concat!(
3195 "Offset of field: ",
3196 stringify!(_zend_llist),
3197 "::",
3198 stringify!(size)
3199 )
3200 );
3201 assert_eq!(
3202 unsafe { &(*(::std::ptr::null::<_zend_llist>())).dtor as *const _ as usize },
3203 32usize,
3204 concat!(
3205 "Offset of field: ",
3206 stringify!(_zend_llist),
3207 "::",
3208 stringify!(dtor)
3209 )
3210 );
3211 assert_eq!(
3212 unsafe { &(*(::std::ptr::null::<_zend_llist>())).persistent as *const _ as usize },
3213 40usize,
3214 concat!(
3215 "Offset of field: ",
3216 stringify!(_zend_llist),
3217 "::",
3218 stringify!(persistent)
3219 )
3220 );
3221 assert_eq!(
3222 unsafe { &(*(::std::ptr::null::<_zend_llist>())).traverse_ptr as *const _ as usize },
3223 48usize,
3224 concat!(
3225 "Offset of field: ",
3226 stringify!(_zend_llist),
3227 "::",
3228 stringify!(traverse_ptr)
3229 )
3230 );
3231}
3232pub type zend_llist = _zend_llist;
3233pub type zend_llist_position = *mut zend_llist_element;
3234extern "C" {
3235 pub fn zend_llist_init(
3236 l: *mut zend_llist,
3237 size: size_t,
3238 dtor: llist_dtor_func_t,
3239 persistent: ::std::os::raw::c_uchar,
3240 );
3241}
3242extern "C" {
3243 pub fn zend_llist_add_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
3244}
3245extern "C" {
3246 pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
3247}
3248extern "C" {
3249 pub fn zend_llist_del_element(
3250 l: *mut zend_llist,
3251 element: *mut ::std::os::raw::c_void,
3252 compare: ::std::option::Option<
3253 unsafe extern "C" fn(
3254 element1: *mut ::std::os::raw::c_void,
3255 element2: *mut ::std::os::raw::c_void,
3256 ) -> ::std::os::raw::c_int,
3257 >,
3258 );
3259}
3260extern "C" {
3261 pub fn zend_llist_destroy(l: *mut zend_llist);
3262}
3263extern "C" {
3264 pub fn zend_llist_clean(l: *mut zend_llist);
3265}
3266extern "C" {
3267 pub fn zend_llist_remove_tail(l: *mut zend_llist);
3268}
3269extern "C" {
3270 pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
3271}
3272extern "C" {
3273 pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
3274}
3275extern "C" {
3276 pub fn zend_llist_apply_with_del(
3277 l: *mut zend_llist,
3278 func: ::std::option::Option<
3279 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
3280 >,
3281 );
3282}
3283extern "C" {
3284 pub fn zend_llist_apply_with_argument(
3285 l: *mut zend_llist,
3286 func: llist_apply_with_arg_func_t,
3287 arg: *mut ::std::os::raw::c_void,
3288 );
3289}
3290extern "C" {
3291 pub fn zend_llist_apply_with_arguments(
3292 l: *mut zend_llist,
3293 func: llist_apply_with_args_func_t,
3294 num_args: ::std::os::raw::c_int,
3295 ...
3296 );
3297}
3298extern "C" {
3299 pub fn zend_llist_count(l: *mut zend_llist) -> size_t;
3300}
3301extern "C" {
3302 pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
3303}
3304extern "C" {
3305 pub fn zend_llist_get_first_ex(
3306 l: *mut zend_llist,
3307 pos: *mut zend_llist_position,
3308 ) -> *mut ::std::os::raw::c_void;
3309}
3310extern "C" {
3311 pub fn zend_llist_get_last_ex(
3312 l: *mut zend_llist,
3313 pos: *mut zend_llist_position,
3314 ) -> *mut ::std::os::raw::c_void;
3315}
3316extern "C" {
3317 pub fn zend_llist_get_next_ex(
3318 l: *mut zend_llist,
3319 pos: *mut zend_llist_position,
3320 ) -> *mut ::std::os::raw::c_void;
3321}
3322extern "C" {
3323 pub fn zend_llist_get_prev_ex(
3324 l: *mut zend_llist,
3325 pos: *mut zend_llist_position,
3326 ) -> *mut ::std::os::raw::c_void;
3327}
3328extern "C" {
3329 pub static mut zend_new_interned_string:
3330 ::std::option::Option<unsafe extern "C" fn(str_: *mut zend_string) -> *mut zend_string>;
3331}
3332extern "C" {
3333 pub static mut zend_interned_strings_snapshot: ::std::option::Option<unsafe extern "C" fn()>;
3334}
3335extern "C" {
3336 pub static mut zend_interned_strings_restore: ::std::option::Option<unsafe extern "C" fn()>;
3337}
3338extern "C" {
3339 pub fn zend_hash_func(str_: *const ::std::os::raw::c_char, len: size_t) -> zend_ulong;
3340}
3341extern "C" {
3342 pub fn zend_interned_strings_init();
3343}
3344extern "C" {
3345 pub fn zend_interned_strings_dtor();
3346}
3347extern "C" {
3348 pub fn zend_known_interned_strings_init(arg1: *mut *mut *mut zend_string, arg2: *mut u32);
3349}
3350pub const _zend_known_string_id_ZEND_STR_FILE: _zend_known_string_id = 0;
3351pub const _zend_known_string_id_ZEND_STR_LINE: _zend_known_string_id = 1;
3352pub const _zend_known_string_id_ZEND_STR_FUNCTION: _zend_known_string_id = 2;
3353pub const _zend_known_string_id_ZEND_STR_CLASS: _zend_known_string_id = 3;
3354pub const _zend_known_string_id_ZEND_STR_OBJECT: _zend_known_string_id = 4;
3355pub const _zend_known_string_id_ZEND_STR_TYPE: _zend_known_string_id = 5;
3356pub const _zend_known_string_id_ZEND_STR_OBJECT_OPERATOR: _zend_known_string_id = 6;
3357pub const _zend_known_string_id_ZEND_STR_PAAMAYIM_NEKUDOTAYIM: _zend_known_string_id = 7;
3358pub const _zend_known_string_id_ZEND_STR_ARGS: _zend_known_string_id = 8;
3359pub const _zend_known_string_id_ZEND_STR_UNKNOWN: _zend_known_string_id = 9;
3360pub const _zend_known_string_id_ZEND_STR_EVAL: _zend_known_string_id = 10;
3361pub const _zend_known_string_id_ZEND_STR_INCLUDE: _zend_known_string_id = 11;
3362pub const _zend_known_string_id_ZEND_STR_REQUIRE: _zend_known_string_id = 12;
3363pub const _zend_known_string_id_ZEND_STR_INCLUDE_ONCE: _zend_known_string_id = 13;
3364pub const _zend_known_string_id_ZEND_STR_REQUIRE_ONCE: _zend_known_string_id = 14;
3365pub const _zend_known_string_id_ZEND_STR_SCALAR: _zend_known_string_id = 15;
3366pub const _zend_known_string_id_ZEND_STR_ERROR_REPORTING: _zend_known_string_id = 16;
3367pub const _zend_known_string_id_ZEND_STR_STATIC: _zend_known_string_id = 17;
3368pub const _zend_known_string_id_ZEND_STR_THIS: _zend_known_string_id = 18;
3369pub const _zend_known_string_id_ZEND_STR_VALUE: _zend_known_string_id = 19;
3370pub const _zend_known_string_id_ZEND_STR_KEY: _zend_known_string_id = 20;
3371pub const _zend_known_string_id_ZEND_STR_MAGIC_AUTOLOAD: _zend_known_string_id = 21;
3372pub const _zend_known_string_id_ZEND_STR_MAGIC_INVOKE: _zend_known_string_id = 22;
3373pub const _zend_known_string_id_ZEND_STR_PREVIOUS: _zend_known_string_id = 23;
3374pub const _zend_known_string_id_ZEND_STR_CODE: _zend_known_string_id = 24;
3375pub const _zend_known_string_id_ZEND_STR_MESSAGE: _zend_known_string_id = 25;
3376pub const _zend_known_string_id_ZEND_STR_SEVERITY: _zend_known_string_id = 26;
3377pub const _zend_known_string_id_ZEND_STR_STRING: _zend_known_string_id = 27;
3378pub const _zend_known_string_id_ZEND_STR_TRACE: _zend_known_string_id = 28;
3379pub const _zend_known_string_id_ZEND_STR_LAST_KNOWN: _zend_known_string_id = 29;
3380pub type _zend_known_string_id = ::std::os::raw::c_uint;
3381pub use self::_zend_known_string_id as zend_known_string_id;
3382extern "C" {
3383 pub fn zend_intern_known_strings(
3384 strings: *mut *const ::std::os::raw::c_char,
3385 count: u32,
3386 ) -> u32;
3387}
3388#[repr(C)]
3389#[derive(Debug, Copy, Clone)]
3390pub struct _zend_hash_key {
3391 pub h: zend_ulong,
3392 pub key: *mut zend_string,
3393}
3394#[test]
3395fn bindgen_test_layout__zend_hash_key() {
3396 assert_eq!(
3397 ::std::mem::size_of::<_zend_hash_key>(),
3398 16usize,
3399 concat!("Size of: ", stringify!(_zend_hash_key))
3400 );
3401 assert_eq!(
3402 ::std::mem::align_of::<_zend_hash_key>(),
3403 8usize,
3404 concat!("Alignment of ", stringify!(_zend_hash_key))
3405 );
3406 assert_eq!(
3407 unsafe { &(*(::std::ptr::null::<_zend_hash_key>())).h as *const _ as usize },
3408 0usize,
3409 concat!(
3410 "Offset of field: ",
3411 stringify!(_zend_hash_key),
3412 "::",
3413 stringify!(h)
3414 )
3415 );
3416 assert_eq!(
3417 unsafe { &(*(::std::ptr::null::<_zend_hash_key>())).key as *const _ as usize },
3418 8usize,
3419 concat!(
3420 "Offset of field: ",
3421 stringify!(_zend_hash_key),
3422 "::",
3423 stringify!(key)
3424 )
3425 );
3426}
3427pub type zend_hash_key = _zend_hash_key;
3428pub type merge_checker_func_t = ::std::option::Option<
3429 unsafe extern "C" fn(
3430 target_ht: *mut HashTable,
3431 source_data: *mut zval,
3432 hash_key: *mut zend_hash_key,
3433 pParam: *mut ::std::os::raw::c_void,
3434 ) -> zend_bool,
3435>;
3436extern "C" {
3437 pub fn _zend_hash_init(
3438 ht: *mut HashTable,
3439 nSize: u32,
3440 pDestructor: dtor_func_t,
3441 persistent: zend_bool,
3442 );
3443}
3444extern "C" {
3445 pub fn _zend_hash_init_ex(
3446 ht: *mut HashTable,
3447 nSize: u32,
3448 pDestructor: dtor_func_t,
3449 persistent: zend_bool,
3450 bApplyProtection: zend_bool,
3451 );
3452}
3453extern "C" {
3454 pub fn zend_hash_destroy(ht: *mut HashTable);
3455}
3456extern "C" {
3457 pub fn zend_hash_clean(ht: *mut HashTable);
3458}
3459extern "C" {
3460 pub fn zend_hash_real_init(ht: *mut HashTable, packed: zend_bool);
3461}
3462extern "C" {
3463 pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
3464}
3465extern "C" {
3466 pub fn zend_hash_to_packed(ht: *mut HashTable);
3467}
3468extern "C" {
3469 pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: zend_bool);
3470}
3471extern "C" {
3472 pub fn _zend_hash_add_or_update(
3473 ht: *mut HashTable,
3474 key: *mut zend_string,
3475 pData: *mut zval,
3476 flag: u32,
3477 ) -> *mut zval;
3478}
3479extern "C" {
3480 pub fn _zend_hash_update(
3481 ht: *mut HashTable,
3482 key: *mut zend_string,
3483 pData: *mut zval,
3484 ) -> *mut zval;
3485}
3486extern "C" {
3487 pub fn _zend_hash_update_ind(
3488 ht: *mut HashTable,
3489 key: *mut zend_string,
3490 pData: *mut zval,
3491 ) -> *mut zval;
3492}
3493extern "C" {
3494 pub fn _zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval)
3495 -> *mut zval;
3496}
3497extern "C" {
3498 pub fn _zend_hash_add_new(
3499 ht: *mut HashTable,
3500 key: *mut zend_string,
3501 pData: *mut zval,
3502 ) -> *mut zval;
3503}
3504extern "C" {
3505 pub fn _zend_hash_str_add_or_update(
3506 ht: *mut HashTable,
3507 key: *const ::std::os::raw::c_char,
3508 len: size_t,
3509 pData: *mut zval,
3510 flag: u32,
3511 ) -> *mut zval;
3512}
3513extern "C" {
3514 pub fn _zend_hash_str_update(
3515 ht: *mut HashTable,
3516 key: *const ::std::os::raw::c_char,
3517 len: size_t,
3518 pData: *mut zval,
3519 ) -> *mut zval;
3520}
3521extern "C" {
3522 pub fn _zend_hash_str_update_ind(
3523 ht: *mut HashTable,
3524 key: *const ::std::os::raw::c_char,
3525 len: size_t,
3526 pData: *mut zval,
3527 ) -> *mut zval;
3528}
3529extern "C" {
3530 pub fn _zend_hash_str_add(
3531 ht: *mut HashTable,
3532 key: *const ::std::os::raw::c_char,
3533 len: size_t,
3534 pData: *mut zval,
3535 ) -> *mut zval;
3536}
3537extern "C" {
3538 pub fn _zend_hash_str_add_new(
3539 ht: *mut HashTable,
3540 key: *const ::std::os::raw::c_char,
3541 len: size_t,
3542 pData: *mut zval,
3543 ) -> *mut zval;
3544}
3545extern "C" {
3546 pub fn _zend_hash_index_add_or_update(
3547 ht: *mut HashTable,
3548 h: zend_ulong,
3549 pData: *mut zval,
3550 flag: u32,
3551 ) -> *mut zval;
3552}
3553extern "C" {
3554 pub fn _zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
3555}
3556extern "C" {
3557 pub fn _zend_hash_index_add_new(
3558 ht: *mut HashTable,
3559 h: zend_ulong,
3560 pData: *mut zval,
3561 ) -> *mut zval;
3562}
3563extern "C" {
3564 pub fn _zend_hash_index_update(
3565 ht: *mut HashTable,
3566 h: zend_ulong,
3567 pData: *mut zval,
3568 ) -> *mut zval;
3569}
3570extern "C" {
3571 pub fn _zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
3572}
3573extern "C" {
3574 pub fn _zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
3575}
3576extern "C" {
3577 pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
3578}
3579extern "C" {
3580 pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
3581}
3582extern "C" {
3583 pub fn zend_hash_str_add_empty_element(
3584 ht: *mut HashTable,
3585 key: *const ::std::os::raw::c_char,
3586 len: size_t,
3587 ) -> *mut zval;
3588}
3589pub type apply_func_t =
3590 ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval) -> ::std::os::raw::c_int>;
3591pub type apply_func_arg_t = ::std::option::Option<
3592 unsafe extern "C" fn(
3593 pDest: *mut zval,
3594 argument: *mut ::std::os::raw::c_void,
3595 ) -> ::std::os::raw::c_int,
3596>;
3597pub type apply_func_args_t = ::std::option::Option<
3598 unsafe extern "C" fn(
3599 pDest: *mut zval,
3600 num_args: ::std::os::raw::c_int,
3601 args: *mut __va_list_tag,
3602 hash_key: *mut zend_hash_key,
3603 ) -> ::std::os::raw::c_int,
3604>;
3605extern "C" {
3606 pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
3607}
3608extern "C" {
3609 pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
3610}
3611extern "C" {
3612 pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
3613}
3614extern "C" {
3615 pub fn zend_hash_apply_with_argument(
3616 ht: *mut HashTable,
3617 apply_func: apply_func_arg_t,
3618 arg1: *mut ::std::os::raw::c_void,
3619 );
3620}
3621extern "C" {
3622 pub fn zend_hash_apply_with_arguments(
3623 ht: *mut HashTable,
3624 apply_func: apply_func_args_t,
3625 arg1: ::std::os::raw::c_int,
3626 ...
3627 );
3628}
3629extern "C" {
3630 pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
3631}
3632extern "C" {
3633 pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> ::std::os::raw::c_int;
3634}
3635extern "C" {
3636 pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> ::std::os::raw::c_int;
3637}
3638extern "C" {
3639 pub fn zend_hash_str_del(
3640 ht: *mut HashTable,
3641 key: *const ::std::os::raw::c_char,
3642 len: size_t,
3643 ) -> ::std::os::raw::c_int;
3644}
3645extern "C" {
3646 pub fn zend_hash_str_del_ind(
3647 ht: *mut HashTable,
3648 key: *const ::std::os::raw::c_char,
3649 len: size_t,
3650 ) -> ::std::os::raw::c_int;
3651}
3652extern "C" {
3653 pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> ::std::os::raw::c_int;
3654}
3655extern "C" {
3656 pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
3657}
3658extern "C" {
3659 pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
3660}
3661extern "C" {
3662 pub fn zend_hash_str_find(
3663 ht: *const HashTable,
3664 key: *const ::std::os::raw::c_char,
3665 len: size_t,
3666 ) -> *mut zval;
3667}
3668extern "C" {
3669 pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
3670}
3671extern "C" {
3672 pub fn _zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
3673}
3674extern "C" {
3675 pub fn zend_hash_exists(ht: *const HashTable, key: *mut zend_string) -> zend_bool;
3676}
3677extern "C" {
3678 pub fn zend_hash_str_exists(
3679 ht: *const HashTable,
3680 str_: *const ::std::os::raw::c_char,
3681 len: size_t,
3682 ) -> zend_bool;
3683}
3684extern "C" {
3685 pub fn zend_hash_index_exists(ht: *const HashTable, h: zend_ulong) -> zend_bool;
3686}
3687extern "C" {
3688 pub fn zend_hash_move_forward_ex(
3689 ht: *mut HashTable,
3690 pos: *mut HashPosition,
3691 ) -> ::std::os::raw::c_int;
3692}
3693extern "C" {
3694 pub fn zend_hash_move_backwards_ex(
3695 ht: *mut HashTable,
3696 pos: *mut HashPosition,
3697 ) -> ::std::os::raw::c_int;
3698}
3699extern "C" {
3700 pub fn zend_hash_get_current_key_ex(
3701 ht: *const HashTable,
3702 str_index: *mut *mut zend_string,
3703 num_index: *mut zend_ulong,
3704 pos: *mut HashPosition,
3705 ) -> ::std::os::raw::c_int;
3706}
3707extern "C" {
3708 pub fn zend_hash_get_current_key_zval_ex(
3709 ht: *const HashTable,
3710 key: *mut zval,
3711 pos: *mut HashPosition,
3712 );
3713}
3714extern "C" {
3715 pub fn zend_hash_get_current_key_type_ex(
3716 ht: *mut HashTable,
3717 pos: *mut HashPosition,
3718 ) -> ::std::os::raw::c_int;
3719}
3720extern "C" {
3721 pub fn zend_hash_get_current_data_ex(ht: *mut HashTable, pos: *mut HashPosition) -> *mut zval;
3722}
3723extern "C" {
3724 pub fn zend_hash_internal_pointer_reset_ex(ht: *mut HashTable, pos: *mut HashPosition);
3725}
3726extern "C" {
3727 pub fn zend_hash_internal_pointer_end_ex(ht: *mut HashTable, pos: *mut HashPosition);
3728}
3729extern "C" {
3730 pub fn zend_hash_copy(
3731 target: *mut HashTable,
3732 source: *mut HashTable,
3733 pCopyConstructor: copy_ctor_func_t,
3734 );
3735}
3736extern "C" {
3737 pub fn _zend_hash_merge(
3738 target: *mut HashTable,
3739 source: *mut HashTable,
3740 pCopyConstructor: copy_ctor_func_t,
3741 overwrite: zend_bool,
3742 );
3743}
3744extern "C" {
3745 pub fn zend_hash_merge_ex(
3746 target: *mut HashTable,
3747 source: *mut HashTable,
3748 pCopyConstructor: copy_ctor_func_t,
3749 pMergeSource: merge_checker_func_t,
3750 pParam: *mut ::std::os::raw::c_void,
3751 );
3752}
3753extern "C" {
3754 pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
3755}
3756extern "C" {
3757 pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
3758}
3759extern "C" {
3760 pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
3761}
3762extern "C" {
3763 pub fn zend_hash_compare(
3764 ht1: *mut HashTable,
3765 ht2: *mut HashTable,
3766 compar: compare_func_t,
3767 ordered: zend_bool,
3768 ) -> ::std::os::raw::c_int;
3769}
3770extern "C" {
3771 pub fn zend_hash_sort_ex(
3772 ht: *mut HashTable,
3773 sort_func: sort_func_t,
3774 compare_func: compare_func_t,
3775 renumber: zend_bool,
3776 ) -> ::std::os::raw::c_int;
3777}
3778extern "C" {
3779 pub fn zend_hash_minmax(ht: *const HashTable, compar: compare_func_t, flag: u32) -> *mut zval;
3780}
3781extern "C" {
3782 pub fn zend_hash_rehash(ht: *mut HashTable) -> ::std::os::raw::c_int;
3783}
3784extern "C" {
3785 pub fn zend_array_count(ht: *mut HashTable) -> u32;
3786}
3787extern "C" {
3788 pub fn zend_array_dup(source: *mut HashTable) -> *mut HashTable;
3789}
3790extern "C" {
3791 pub fn zend_array_destroy(ht: *mut HashTable);
3792}
3793extern "C" {
3794 pub fn zend_symtable_clean(ht: *mut HashTable);
3795}
3796extern "C" {
3797 pub fn _zend_handle_numeric_str_ex(
3798 key: *const ::std::os::raw::c_char,
3799 length: size_t,
3800 idx: *mut zend_ulong,
3801 ) -> ::std::os::raw::c_int;
3802}
3803extern "C" {
3804 pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
3805}
3806extern "C" {
3807 pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
3808}
3809extern "C" {
3810 pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
3811}
3812extern "C" {
3813 pub fn zend_hash_iterator_del(idx: u32);
3814}
3815extern "C" {
3816 pub fn zend_hash_iterators_lower_pos(ht: *mut HashTable, start: HashPosition) -> HashPosition;
3817}
3818extern "C" {
3819 pub fn _zend_hash_iterators_update(ht: *mut HashTable, from: HashPosition, to: HashPosition);
3820}
3821pub type zend_ast_kind = u16;
3822pub type zend_ast_attr = u16;
3823#[repr(C)]
3824#[derive(Debug, Copy, Clone)]
3825pub struct _zend_ast {
3826 pub kind: zend_ast_kind,
3827 pub attr: zend_ast_attr,
3828 pub lineno: u32,
3829 pub child: [*mut zend_ast; 1usize],
3830}
3831#[test]
3832fn bindgen_test_layout__zend_ast() {
3833 assert_eq!(
3834 ::std::mem::size_of::<_zend_ast>(),
3835 16usize,
3836 concat!("Size of: ", stringify!(_zend_ast))
3837 );
3838 assert_eq!(
3839 ::std::mem::align_of::<_zend_ast>(),
3840 8usize,
3841 concat!("Alignment of ", stringify!(_zend_ast))
3842 );
3843 assert_eq!(
3844 unsafe { &(*(::std::ptr::null::<_zend_ast>())).kind as *const _ as usize },
3845 0usize,
3846 concat!(
3847 "Offset of field: ",
3848 stringify!(_zend_ast),
3849 "::",
3850 stringify!(kind)
3851 )
3852 );
3853 assert_eq!(
3854 unsafe { &(*(::std::ptr::null::<_zend_ast>())).attr as *const _ as usize },
3855 2usize,
3856 concat!(
3857 "Offset of field: ",
3858 stringify!(_zend_ast),
3859 "::",
3860 stringify!(attr)
3861 )
3862 );
3863 assert_eq!(
3864 unsafe { &(*(::std::ptr::null::<_zend_ast>())).lineno as *const _ as usize },
3865 4usize,
3866 concat!(
3867 "Offset of field: ",
3868 stringify!(_zend_ast),
3869 "::",
3870 stringify!(lineno)
3871 )
3872 );
3873 assert_eq!(
3874 unsafe { &(*(::std::ptr::null::<_zend_ast>())).child as *const _ as usize },
3875 8usize,
3876 concat!(
3877 "Offset of field: ",
3878 stringify!(_zend_ast),
3879 "::",
3880 stringify!(child)
3881 )
3882 );
3883}
3884#[repr(C)]
3885#[derive(Debug, Copy, Clone)]
3886pub struct _zend_ast_list {
3887 pub kind: zend_ast_kind,
3888 pub attr: zend_ast_attr,
3889 pub lineno: u32,
3890 pub children: u32,
3891 pub child: [*mut zend_ast; 1usize],
3892}
3893#[test]
3894fn bindgen_test_layout__zend_ast_list() {
3895 assert_eq!(
3896 ::std::mem::size_of::<_zend_ast_list>(),
3897 24usize,
3898 concat!("Size of: ", stringify!(_zend_ast_list))
3899 );
3900 assert_eq!(
3901 ::std::mem::align_of::<_zend_ast_list>(),
3902 8usize,
3903 concat!("Alignment of ", stringify!(_zend_ast_list))
3904 );
3905 assert_eq!(
3906 unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).kind as *const _ as usize },
3907 0usize,
3908 concat!(
3909 "Offset of field: ",
3910 stringify!(_zend_ast_list),
3911 "::",
3912 stringify!(kind)
3913 )
3914 );
3915 assert_eq!(
3916 unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).attr as *const _ as usize },
3917 2usize,
3918 concat!(
3919 "Offset of field: ",
3920 stringify!(_zend_ast_list),
3921 "::",
3922 stringify!(attr)
3923 )
3924 );
3925 assert_eq!(
3926 unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).lineno as *const _ as usize },
3927 4usize,
3928 concat!(
3929 "Offset of field: ",
3930 stringify!(_zend_ast_list),
3931 "::",
3932 stringify!(lineno)
3933 )
3934 );
3935 assert_eq!(
3936 unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).children as *const _ as usize },
3937 8usize,
3938 concat!(
3939 "Offset of field: ",
3940 stringify!(_zend_ast_list),
3941 "::",
3942 stringify!(children)
3943 )
3944 );
3945 assert_eq!(
3946 unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).child as *const _ as usize },
3947 16usize,
3948 concat!(
3949 "Offset of field: ",
3950 stringify!(_zend_ast_list),
3951 "::",
3952 stringify!(child)
3953 )
3954 );
3955}
3956pub type zend_ast_list = _zend_ast_list;
3957#[repr(C)]
3958#[derive(Copy, Clone)]
3959pub struct _zend_ast_zval {
3960 pub kind: zend_ast_kind,
3961 pub attr: zend_ast_attr,
3962 pub val: zval,
3963}
3964#[test]
3965fn bindgen_test_layout__zend_ast_zval() {
3966 assert_eq!(
3967 ::std::mem::size_of::<_zend_ast_zval>(),
3968 24usize,
3969 concat!("Size of: ", stringify!(_zend_ast_zval))
3970 );
3971 assert_eq!(
3972 ::std::mem::align_of::<_zend_ast_zval>(),
3973 8usize,
3974 concat!("Alignment of ", stringify!(_zend_ast_zval))
3975 );
3976 assert_eq!(
3977 unsafe { &(*(::std::ptr::null::<_zend_ast_zval>())).kind as *const _ as usize },
3978 0usize,
3979 concat!(
3980 "Offset of field: ",
3981 stringify!(_zend_ast_zval),
3982 "::",
3983 stringify!(kind)
3984 )
3985 );
3986 assert_eq!(
3987 unsafe { &(*(::std::ptr::null::<_zend_ast_zval>())).attr as *const _ as usize },
3988 2usize,
3989 concat!(
3990 "Offset of field: ",
3991 stringify!(_zend_ast_zval),
3992 "::",
3993 stringify!(attr)
3994 )
3995 );
3996 assert_eq!(
3997 unsafe { &(*(::std::ptr::null::<_zend_ast_zval>())).val as *const _ as usize },
3998 8usize,
3999 concat!(
4000 "Offset of field: ",
4001 stringify!(_zend_ast_zval),
4002 "::",
4003 stringify!(val)
4004 )
4005 );
4006}
4007pub type zend_ast_zval = _zend_ast_zval;
4008#[repr(C)]
4009#[derive(Debug, Copy, Clone)]
4010pub struct _zend_ast_decl {
4011 pub kind: zend_ast_kind,
4012 pub attr: zend_ast_attr,
4013 pub start_lineno: u32,
4014 pub end_lineno: u32,
4015 pub flags: u32,
4016 pub lex_pos: *mut ::std::os::raw::c_uchar,
4017 pub doc_comment: *mut zend_string,
4018 pub name: *mut zend_string,
4019 pub child: [*mut zend_ast; 4usize],
4020}
4021#[test]
4022fn bindgen_test_layout__zend_ast_decl() {
4023 assert_eq!(
4024 ::std::mem::size_of::<_zend_ast_decl>(),
4025 72usize,
4026 concat!("Size of: ", stringify!(_zend_ast_decl))
4027 );
4028 assert_eq!(
4029 ::std::mem::align_of::<_zend_ast_decl>(),
4030 8usize,
4031 concat!("Alignment of ", stringify!(_zend_ast_decl))
4032 );
4033 assert_eq!(
4034 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).kind as *const _ as usize },
4035 0usize,
4036 concat!(
4037 "Offset of field: ",
4038 stringify!(_zend_ast_decl),
4039 "::",
4040 stringify!(kind)
4041 )
4042 );
4043 assert_eq!(
4044 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).attr as *const _ as usize },
4045 2usize,
4046 concat!(
4047 "Offset of field: ",
4048 stringify!(_zend_ast_decl),
4049 "::",
4050 stringify!(attr)
4051 )
4052 );
4053 assert_eq!(
4054 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).start_lineno as *const _ as usize },
4055 4usize,
4056 concat!(
4057 "Offset of field: ",
4058 stringify!(_zend_ast_decl),
4059 "::",
4060 stringify!(start_lineno)
4061 )
4062 );
4063 assert_eq!(
4064 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).end_lineno as *const _ as usize },
4065 8usize,
4066 concat!(
4067 "Offset of field: ",
4068 stringify!(_zend_ast_decl),
4069 "::",
4070 stringify!(end_lineno)
4071 )
4072 );
4073 assert_eq!(
4074 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).flags as *const _ as usize },
4075 12usize,
4076 concat!(
4077 "Offset of field: ",
4078 stringify!(_zend_ast_decl),
4079 "::",
4080 stringify!(flags)
4081 )
4082 );
4083 assert_eq!(
4084 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).lex_pos as *const _ as usize },
4085 16usize,
4086 concat!(
4087 "Offset of field: ",
4088 stringify!(_zend_ast_decl),
4089 "::",
4090 stringify!(lex_pos)
4091 )
4092 );
4093 assert_eq!(
4094 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).doc_comment as *const _ as usize },
4095 24usize,
4096 concat!(
4097 "Offset of field: ",
4098 stringify!(_zend_ast_decl),
4099 "::",
4100 stringify!(doc_comment)
4101 )
4102 );
4103 assert_eq!(
4104 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).name as *const _ as usize },
4105 32usize,
4106 concat!(
4107 "Offset of field: ",
4108 stringify!(_zend_ast_decl),
4109 "::",
4110 stringify!(name)
4111 )
4112 );
4113 assert_eq!(
4114 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).child as *const _ as usize },
4115 40usize,
4116 concat!(
4117 "Offset of field: ",
4118 stringify!(_zend_ast_decl),
4119 "::",
4120 stringify!(child)
4121 )
4122 );
4123}
4124pub type zend_ast_decl = _zend_ast_decl;
4125pub type zend_ast_process_t = ::std::option::Option<unsafe extern "C" fn(ast: *mut zend_ast)>;
4126extern "C" {
4127 pub static mut zend_ast_process: zend_ast_process_t;
4128}
4129extern "C" {
4130 pub fn zend_ast_create_zval_with_lineno(
4131 zv: *mut zval,
4132 attr: zend_ast_attr,
4133 lineno: u32,
4134 ) -> *mut zend_ast;
4135}
4136extern "C" {
4137 pub fn zend_ast_create_zval_ex(zv: *mut zval, attr: zend_ast_attr) -> *mut zend_ast;
4138}
4139extern "C" {
4140 pub fn zend_ast_create_ex(kind: zend_ast_kind, attr: zend_ast_attr, ...) -> *mut zend_ast;
4141}
4142extern "C" {
4143 pub fn zend_ast_create(kind: zend_ast_kind, ...) -> *mut zend_ast;
4144}
4145extern "C" {
4146 pub fn zend_ast_create_decl(
4147 kind: zend_ast_kind,
4148 flags: u32,
4149 start_lineno: u32,
4150 doc_comment: *mut zend_string,
4151 name: *mut zend_string,
4152 child0: *mut zend_ast,
4153 child1: *mut zend_ast,
4154 child2: *mut zend_ast,
4155 child3: *mut zend_ast,
4156 ) -> *mut zend_ast;
4157}
4158extern "C" {
4159 pub fn zend_ast_create_list(init_children: u32, kind: zend_ast_kind, ...) -> *mut zend_ast;
4160}
4161extern "C" {
4162 pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
4163}
4164extern "C" {
4165 pub fn zend_ast_evaluate(
4166 result: *mut zval,
4167 ast: *mut zend_ast,
4168 scope: *mut zend_class_entry,
4169 ) -> ::std::os::raw::c_int;
4170}
4171extern "C" {
4172 pub fn zend_ast_export(
4173 prefix: *const ::std::os::raw::c_char,
4174 ast: *mut zend_ast,
4175 suffix: *const ::std::os::raw::c_char,
4176 ) -> *mut zend_string;
4177}
4178extern "C" {
4179 pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast;
4180}
4181extern "C" {
4182 pub fn zend_ast_destroy(ast: *mut zend_ast);
4183}
4184extern "C" {
4185 pub fn zend_ast_destroy_and_free(ast: *mut zend_ast);
4186}
4187pub type zend_ast_apply_func =
4188 ::std::option::Option<unsafe extern "C" fn(ast_ptr: *mut *mut zend_ast)>;
4189extern "C" {
4190 pub fn zend_ast_apply(ast: *mut zend_ast, fn_: zend_ast_apply_func);
4191}
4192#[repr(C)]
4193#[derive(Debug, Copy, Clone)]
4194pub struct _gc_root_buffer {
4195 pub ref_: *mut zend_refcounted,
4196 pub next: *mut _gc_root_buffer,
4197 pub prev: *mut _gc_root_buffer,
4198 pub refcount: u32,
4199}
4200#[test]
4201fn bindgen_test_layout__gc_root_buffer() {
4202 assert_eq!(
4203 ::std::mem::size_of::<_gc_root_buffer>(),
4204 32usize,
4205 concat!("Size of: ", stringify!(_gc_root_buffer))
4206 );
4207 assert_eq!(
4208 ::std::mem::align_of::<_gc_root_buffer>(),
4209 8usize,
4210 concat!("Alignment of ", stringify!(_gc_root_buffer))
4211 );
4212 assert_eq!(
4213 unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).ref_ as *const _ as usize },
4214 0usize,
4215 concat!(
4216 "Offset of field: ",
4217 stringify!(_gc_root_buffer),
4218 "::",
4219 stringify!(ref_)
4220 )
4221 );
4222 assert_eq!(
4223 unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).next as *const _ as usize },
4224 8usize,
4225 concat!(
4226 "Offset of field: ",
4227 stringify!(_gc_root_buffer),
4228 "::",
4229 stringify!(next)
4230 )
4231 );
4232 assert_eq!(
4233 unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).prev as *const _ as usize },
4234 16usize,
4235 concat!(
4236 "Offset of field: ",
4237 stringify!(_gc_root_buffer),
4238 "::",
4239 stringify!(prev)
4240 )
4241 );
4242 assert_eq!(
4243 unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).refcount as *const _ as usize },
4244 24usize,
4245 concat!(
4246 "Offset of field: ",
4247 stringify!(_gc_root_buffer),
4248 "::",
4249 stringify!(refcount)
4250 )
4251 );
4252}
4253pub type gc_root_buffer = _gc_root_buffer;
4254pub type gc_additional_buffer = _gc_additional_bufer;
4255#[repr(C)]
4256#[derive(Copy, Clone)]
4257pub struct _gc_additional_bufer {
4258 pub used: u32,
4259 pub next: *mut gc_additional_buffer,
4260 pub buf: [gc_root_buffer; 127usize],
4261}
4262#[test]
4263fn bindgen_test_layout__gc_additional_bufer() {
4264 assert_eq!(
4265 ::std::mem::size_of::<_gc_additional_bufer>(),
4266 4080usize,
4267 concat!("Size of: ", stringify!(_gc_additional_bufer))
4268 );
4269 assert_eq!(
4270 ::std::mem::align_of::<_gc_additional_bufer>(),
4271 8usize,
4272 concat!("Alignment of ", stringify!(_gc_additional_bufer))
4273 );
4274 assert_eq!(
4275 unsafe { &(*(::std::ptr::null::<_gc_additional_bufer>())).used as *const _ as usize },
4276 0usize,
4277 concat!(
4278 "Offset of field: ",
4279 stringify!(_gc_additional_bufer),
4280 "::",
4281 stringify!(used)
4282 )
4283 );
4284 assert_eq!(
4285 unsafe { &(*(::std::ptr::null::<_gc_additional_bufer>())).next as *const _ as usize },
4286 8usize,
4287 concat!(
4288 "Offset of field: ",
4289 stringify!(_gc_additional_bufer),
4290 "::",
4291 stringify!(next)
4292 )
4293 );
4294 assert_eq!(
4295 unsafe { &(*(::std::ptr::null::<_gc_additional_bufer>())).buf as *const _ as usize },
4296 16usize,
4297 concat!(
4298 "Offset of field: ",
4299 stringify!(_gc_additional_bufer),
4300 "::",
4301 stringify!(buf)
4302 )
4303 );
4304}
4305#[repr(C)]
4306#[derive(Debug, Copy, Clone)]
4307pub struct _zend_gc_globals {
4308 pub gc_enabled: zend_bool,
4309 pub gc_active: zend_bool,
4310 pub gc_full: zend_bool,
4311 pub buf: *mut gc_root_buffer,
4312 pub roots: gc_root_buffer,
4313 pub unused: *mut gc_root_buffer,
4314 pub first_unused: *mut gc_root_buffer,
4315 pub last_unused: *mut gc_root_buffer,
4316 pub to_free: gc_root_buffer,
4317 pub next_to_free: *mut gc_root_buffer,
4318 pub gc_runs: u32,
4319 pub collected: u32,
4320 pub additional_buffer: *mut gc_additional_buffer,
4321}
4322#[test]
4323fn bindgen_test_layout__zend_gc_globals() {
4324 assert_eq!(
4325 ::std::mem::size_of::<_zend_gc_globals>(),
4326 128usize,
4327 concat!("Size of: ", stringify!(_zend_gc_globals))
4328 );
4329 assert_eq!(
4330 ::std::mem::align_of::<_zend_gc_globals>(),
4331 8usize,
4332 concat!("Alignment of ", stringify!(_zend_gc_globals))
4333 );
4334 assert_eq!(
4335 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_enabled as *const _ as usize },
4336 0usize,
4337 concat!(
4338 "Offset of field: ",
4339 stringify!(_zend_gc_globals),
4340 "::",
4341 stringify!(gc_enabled)
4342 )
4343 );
4344 assert_eq!(
4345 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_active as *const _ as usize },
4346 1usize,
4347 concat!(
4348 "Offset of field: ",
4349 stringify!(_zend_gc_globals),
4350 "::",
4351 stringify!(gc_active)
4352 )
4353 );
4354 assert_eq!(
4355 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_full as *const _ as usize },
4356 2usize,
4357 concat!(
4358 "Offset of field: ",
4359 stringify!(_zend_gc_globals),
4360 "::",
4361 stringify!(gc_full)
4362 )
4363 );
4364 assert_eq!(
4365 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).buf as *const _ as usize },
4366 8usize,
4367 concat!(
4368 "Offset of field: ",
4369 stringify!(_zend_gc_globals),
4370 "::",
4371 stringify!(buf)
4372 )
4373 );
4374 assert_eq!(
4375 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).roots as *const _ as usize },
4376 16usize,
4377 concat!(
4378 "Offset of field: ",
4379 stringify!(_zend_gc_globals),
4380 "::",
4381 stringify!(roots)
4382 )
4383 );
4384 assert_eq!(
4385 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).unused as *const _ as usize },
4386 48usize,
4387 concat!(
4388 "Offset of field: ",
4389 stringify!(_zend_gc_globals),
4390 "::",
4391 stringify!(unused)
4392 )
4393 );
4394 assert_eq!(
4395 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).first_unused as *const _ as usize },
4396 56usize,
4397 concat!(
4398 "Offset of field: ",
4399 stringify!(_zend_gc_globals),
4400 "::",
4401 stringify!(first_unused)
4402 )
4403 );
4404 assert_eq!(
4405 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).last_unused as *const _ as usize },
4406 64usize,
4407 concat!(
4408 "Offset of field: ",
4409 stringify!(_zend_gc_globals),
4410 "::",
4411 stringify!(last_unused)
4412 )
4413 );
4414 assert_eq!(
4415 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).to_free as *const _ as usize },
4416 72usize,
4417 concat!(
4418 "Offset of field: ",
4419 stringify!(_zend_gc_globals),
4420 "::",
4421 stringify!(to_free)
4422 )
4423 );
4424 assert_eq!(
4425 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).next_to_free as *const _ as usize },
4426 104usize,
4427 concat!(
4428 "Offset of field: ",
4429 stringify!(_zend_gc_globals),
4430 "::",
4431 stringify!(next_to_free)
4432 )
4433 );
4434 assert_eq!(
4435 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_runs as *const _ as usize },
4436 112usize,
4437 concat!(
4438 "Offset of field: ",
4439 stringify!(_zend_gc_globals),
4440 "::",
4441 stringify!(gc_runs)
4442 )
4443 );
4444 assert_eq!(
4445 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).collected as *const _ as usize },
4446 116usize,
4447 concat!(
4448 "Offset of field: ",
4449 stringify!(_zend_gc_globals),
4450 "::",
4451 stringify!(collected)
4452 )
4453 );
4454 assert_eq!(
4455 unsafe {
4456 &(*(::std::ptr::null::<_zend_gc_globals>())).additional_buffer as *const _ as usize
4457 },
4458 120usize,
4459 concat!(
4460 "Offset of field: ",
4461 stringify!(_zend_gc_globals),
4462 "::",
4463 stringify!(additional_buffer)
4464 )
4465 );
4466}
4467pub type zend_gc_globals = _zend_gc_globals;
4468extern "C" {
4469 pub static mut gc_globals: zend_gc_globals;
4470}
4471extern "C" {
4472 pub static mut gc_collect_cycles:
4473 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
4474}
4475extern "C" {
4476 pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
4477}
4478extern "C" {
4479 pub fn zend_print_variable(var: *mut zval) -> size_t;
4480}
4481pub type zend_object_iterator = _zend_object_iterator;
4482#[repr(C)]
4483#[derive(Debug, Copy, Clone)]
4484pub struct _zend_object_iterator_funcs {
4485 pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
4486 pub valid: ::std::option::Option<
4487 unsafe extern "C" fn(iter: *mut zend_object_iterator) -> ::std::os::raw::c_int,
4488 >,
4489 pub get_current_data:
4490 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
4491 pub get_current_key: ::std::option::Option<
4492 unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
4493 >,
4494 pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
4495 pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
4496 pub invalidate_current:
4497 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
4498}
4499#[test]
4500fn bindgen_test_layout__zend_object_iterator_funcs() {
4501 assert_eq!(
4502 ::std::mem::size_of::<_zend_object_iterator_funcs>(),
4503 56usize,
4504 concat!("Size of: ", stringify!(_zend_object_iterator_funcs))
4505 );
4506 assert_eq!(
4507 ::std::mem::align_of::<_zend_object_iterator_funcs>(),
4508 8usize,
4509 concat!("Alignment of ", stringify!(_zend_object_iterator_funcs))
4510 );
4511 assert_eq!(
4512 unsafe {
4513 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).dtor as *const _ as usize
4514 },
4515 0usize,
4516 concat!(
4517 "Offset of field: ",
4518 stringify!(_zend_object_iterator_funcs),
4519 "::",
4520 stringify!(dtor)
4521 )
4522 );
4523 assert_eq!(
4524 unsafe {
4525 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).valid as *const _ as usize
4526 },
4527 8usize,
4528 concat!(
4529 "Offset of field: ",
4530 stringify!(_zend_object_iterator_funcs),
4531 "::",
4532 stringify!(valid)
4533 )
4534 );
4535 assert_eq!(
4536 unsafe {
4537 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).get_current_data as *const _
4538 as usize
4539 },
4540 16usize,
4541 concat!(
4542 "Offset of field: ",
4543 stringify!(_zend_object_iterator_funcs),
4544 "::",
4545 stringify!(get_current_data)
4546 )
4547 );
4548 assert_eq!(
4549 unsafe {
4550 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).get_current_key as *const _
4551 as usize
4552 },
4553 24usize,
4554 concat!(
4555 "Offset of field: ",
4556 stringify!(_zend_object_iterator_funcs),
4557 "::",
4558 stringify!(get_current_key)
4559 )
4560 );
4561 assert_eq!(
4562 unsafe {
4563 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).move_forward as *const _
4564 as usize
4565 },
4566 32usize,
4567 concat!(
4568 "Offset of field: ",
4569 stringify!(_zend_object_iterator_funcs),
4570 "::",
4571 stringify!(move_forward)
4572 )
4573 );
4574 assert_eq!(
4575 unsafe {
4576 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).rewind as *const _ as usize
4577 },
4578 40usize,
4579 concat!(
4580 "Offset of field: ",
4581 stringify!(_zend_object_iterator_funcs),
4582 "::",
4583 stringify!(rewind)
4584 )
4585 );
4586 assert_eq!(
4587 unsafe {
4588 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).invalidate_current as *const _
4589 as usize
4590 },
4591 48usize,
4592 concat!(
4593 "Offset of field: ",
4594 stringify!(_zend_object_iterator_funcs),
4595 "::",
4596 stringify!(invalidate_current)
4597 )
4598 );
4599}
4600pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
4601#[repr(C)]
4602#[derive(Copy, Clone)]
4603pub struct _zend_object_iterator {
4604 pub std: zend_object,
4605 pub data: zval,
4606 pub funcs: *mut zend_object_iterator_funcs,
4607 pub index: zend_ulong,
4608}
4609#[test]
4610fn bindgen_test_layout__zend_object_iterator() {
4611 assert_eq!(
4612 ::std::mem::size_of::<_zend_object_iterator>(),
4613 88usize,
4614 concat!("Size of: ", stringify!(_zend_object_iterator))
4615 );
4616 assert_eq!(
4617 ::std::mem::align_of::<_zend_object_iterator>(),
4618 8usize,
4619 concat!("Alignment of ", stringify!(_zend_object_iterator))
4620 );
4621 assert_eq!(
4622 unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).std as *const _ as usize },
4623 0usize,
4624 concat!(
4625 "Offset of field: ",
4626 stringify!(_zend_object_iterator),
4627 "::",
4628 stringify!(std)
4629 )
4630 );
4631 assert_eq!(
4632 unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).data as *const _ as usize },
4633 56usize,
4634 concat!(
4635 "Offset of field: ",
4636 stringify!(_zend_object_iterator),
4637 "::",
4638 stringify!(data)
4639 )
4640 );
4641 assert_eq!(
4642 unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).funcs as *const _ as usize },
4643 72usize,
4644 concat!(
4645 "Offset of field: ",
4646 stringify!(_zend_object_iterator),
4647 "::",
4648 stringify!(funcs)
4649 )
4650 );
4651 assert_eq!(
4652 unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).index as *const _ as usize },
4653 80usize,
4654 concat!(
4655 "Offset of field: ",
4656 stringify!(_zend_object_iterator),
4657 "::",
4658 stringify!(index)
4659 )
4660 );
4661}
4662#[repr(C)]
4663#[derive(Debug, Copy, Clone)]
4664pub struct _zend_class_iterator_funcs {
4665 pub funcs: *mut zend_object_iterator_funcs,
4666 pub zf_new_iterator: *mut _zend_function,
4667 pub zf_valid: *mut _zend_function,
4668 pub zf_current: *mut _zend_function,
4669 pub zf_key: *mut _zend_function,
4670 pub zf_next: *mut _zend_function,
4671 pub zf_rewind: *mut _zend_function,
4672}
4673#[test]
4674fn bindgen_test_layout__zend_class_iterator_funcs() {
4675 assert_eq!(
4676 ::std::mem::size_of::<_zend_class_iterator_funcs>(),
4677 56usize,
4678 concat!("Size of: ", stringify!(_zend_class_iterator_funcs))
4679 );
4680 assert_eq!(
4681 ::std::mem::align_of::<_zend_class_iterator_funcs>(),
4682 8usize,
4683 concat!("Alignment of ", stringify!(_zend_class_iterator_funcs))
4684 );
4685 assert_eq!(
4686 unsafe {
4687 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).funcs as *const _ as usize
4688 },
4689 0usize,
4690 concat!(
4691 "Offset of field: ",
4692 stringify!(_zend_class_iterator_funcs),
4693 "::",
4694 stringify!(funcs)
4695 )
4696 );
4697 assert_eq!(
4698 unsafe {
4699 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_new_iterator as *const _
4700 as usize
4701 },
4702 8usize,
4703 concat!(
4704 "Offset of field: ",
4705 stringify!(_zend_class_iterator_funcs),
4706 "::",
4707 stringify!(zf_new_iterator)
4708 )
4709 );
4710 assert_eq!(
4711 unsafe {
4712 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_valid as *const _ as usize
4713 },
4714 16usize,
4715 concat!(
4716 "Offset of field: ",
4717 stringify!(_zend_class_iterator_funcs),
4718 "::",
4719 stringify!(zf_valid)
4720 )
4721 );
4722 assert_eq!(
4723 unsafe {
4724 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_current as *const _ as usize
4725 },
4726 24usize,
4727 concat!(
4728 "Offset of field: ",
4729 stringify!(_zend_class_iterator_funcs),
4730 "::",
4731 stringify!(zf_current)
4732 )
4733 );
4734 assert_eq!(
4735 unsafe {
4736 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_key as *const _ as usize
4737 },
4738 32usize,
4739 concat!(
4740 "Offset of field: ",
4741 stringify!(_zend_class_iterator_funcs),
4742 "::",
4743 stringify!(zf_key)
4744 )
4745 );
4746 assert_eq!(
4747 unsafe {
4748 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_next as *const _ as usize
4749 },
4750 40usize,
4751 concat!(
4752 "Offset of field: ",
4753 stringify!(_zend_class_iterator_funcs),
4754 "::",
4755 stringify!(zf_next)
4756 )
4757 );
4758 assert_eq!(
4759 unsafe {
4760 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_rewind as *const _ as usize
4761 },
4762 48usize,
4763 concat!(
4764 "Offset of field: ",
4765 stringify!(_zend_class_iterator_funcs),
4766 "::",
4767 stringify!(zf_rewind)
4768 )
4769 );
4770}
4771pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
4772extern "C" {
4773 pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
4774}
4775extern "C" {
4776 pub fn zend_iterator_init(iter: *mut zend_object_iterator);
4777}
4778extern "C" {
4779 pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
4780}
4781extern "C" {
4782 pub fn zend_register_iterator_wrapper();
4783}
4784#[repr(C)]
4785#[derive(Debug, Copy, Clone)]
4786pub struct stat {
4787 pub st_dev: __dev_t,
4788 pub st_ino: __ino_t,
4789 pub st_nlink: __nlink_t,
4790 pub st_mode: __mode_t,
4791 pub st_uid: __uid_t,
4792 pub st_gid: __gid_t,
4793 pub __pad0: ::std::os::raw::c_int,
4794 pub st_rdev: __dev_t,
4795 pub st_size: __off_t,
4796 pub st_blksize: __blksize_t,
4797 pub st_blocks: __blkcnt_t,
4798 pub st_atim: timespec,
4799 pub st_mtim: timespec,
4800 pub st_ctim: timespec,
4801 pub __glibc_reserved: [__syscall_slong_t; 3usize],
4802}
4803#[test]
4804fn bindgen_test_layout_stat() {
4805 assert_eq!(
4806 ::std::mem::size_of::<stat>(),
4807 144usize,
4808 concat!("Size of: ", stringify!(stat))
4809 );
4810 assert_eq!(
4811 ::std::mem::align_of::<stat>(),
4812 8usize,
4813 concat!("Alignment of ", stringify!(stat))
4814 );
4815 assert_eq!(
4816 unsafe { &(*(::std::ptr::null::<stat>())).st_dev as *const _ as usize },
4817 0usize,
4818 concat!(
4819 "Offset of field: ",
4820 stringify!(stat),
4821 "::",
4822 stringify!(st_dev)
4823 )
4824 );
4825 assert_eq!(
4826 unsafe { &(*(::std::ptr::null::<stat>())).st_ino as *const _ as usize },
4827 8usize,
4828 concat!(
4829 "Offset of field: ",
4830 stringify!(stat),
4831 "::",
4832 stringify!(st_ino)
4833 )
4834 );
4835 assert_eq!(
4836 unsafe { &(*(::std::ptr::null::<stat>())).st_nlink as *const _ as usize },
4837 16usize,
4838 concat!(
4839 "Offset of field: ",
4840 stringify!(stat),
4841 "::",
4842 stringify!(st_nlink)
4843 )
4844 );
4845 assert_eq!(
4846 unsafe { &(*(::std::ptr::null::<stat>())).st_mode as *const _ as usize },
4847 24usize,
4848 concat!(
4849 "Offset of field: ",
4850 stringify!(stat),
4851 "::",
4852 stringify!(st_mode)
4853 )
4854 );
4855 assert_eq!(
4856 unsafe { &(*(::std::ptr::null::<stat>())).st_uid as *const _ as usize },
4857 28usize,
4858 concat!(
4859 "Offset of field: ",
4860 stringify!(stat),
4861 "::",
4862 stringify!(st_uid)
4863 )
4864 );
4865 assert_eq!(
4866 unsafe { &(*(::std::ptr::null::<stat>())).st_gid as *const _ as usize },
4867 32usize,
4868 concat!(
4869 "Offset of field: ",
4870 stringify!(stat),
4871 "::",
4872 stringify!(st_gid)
4873 )
4874 );
4875 assert_eq!(
4876 unsafe { &(*(::std::ptr::null::<stat>())).__pad0 as *const _ as usize },
4877 36usize,
4878 concat!(
4879 "Offset of field: ",
4880 stringify!(stat),
4881 "::",
4882 stringify!(__pad0)
4883 )
4884 );
4885 assert_eq!(
4886 unsafe { &(*(::std::ptr::null::<stat>())).st_rdev as *const _ as usize },
4887 40usize,
4888 concat!(
4889 "Offset of field: ",
4890 stringify!(stat),
4891 "::",
4892 stringify!(st_rdev)
4893 )
4894 );
4895 assert_eq!(
4896 unsafe { &(*(::std::ptr::null::<stat>())).st_size as *const _ as usize },
4897 48usize,
4898 concat!(
4899 "Offset of field: ",
4900 stringify!(stat),
4901 "::",
4902 stringify!(st_size)
4903 )
4904 );
4905 assert_eq!(
4906 unsafe { &(*(::std::ptr::null::<stat>())).st_blksize as *const _ as usize },
4907 56usize,
4908 concat!(
4909 "Offset of field: ",
4910 stringify!(stat),
4911 "::",
4912 stringify!(st_blksize)
4913 )
4914 );
4915 assert_eq!(
4916 unsafe { &(*(::std::ptr::null::<stat>())).st_blocks as *const _ as usize },
4917 64usize,
4918 concat!(
4919 "Offset of field: ",
4920 stringify!(stat),
4921 "::",
4922 stringify!(st_blocks)
4923 )
4924 );
4925 assert_eq!(
4926 unsafe { &(*(::std::ptr::null::<stat>())).st_atim as *const _ as usize },
4927 72usize,
4928 concat!(
4929 "Offset of field: ",
4930 stringify!(stat),
4931 "::",
4932 stringify!(st_atim)
4933 )
4934 );
4935 assert_eq!(
4936 unsafe { &(*(::std::ptr::null::<stat>())).st_mtim as *const _ as usize },
4937 88usize,
4938 concat!(
4939 "Offset of field: ",
4940 stringify!(stat),
4941 "::",
4942 stringify!(st_mtim)
4943 )
4944 );
4945 assert_eq!(
4946 unsafe { &(*(::std::ptr::null::<stat>())).st_ctim as *const _ as usize },
4947 104usize,
4948 concat!(
4949 "Offset of field: ",
4950 stringify!(stat),
4951 "::",
4952 stringify!(st_ctim)
4953 )
4954 );
4955 assert_eq!(
4956 unsafe { &(*(::std::ptr::null::<stat>())).__glibc_reserved as *const _ as usize },
4957 120usize,
4958 concat!(
4959 "Offset of field: ",
4960 stringify!(stat),
4961 "::",
4962 stringify!(__glibc_reserved)
4963 )
4964 );
4965}
4966pub type zend_stream_fsizer_t =
4967 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> size_t>;
4968pub type zend_stream_reader_t = ::std::option::Option<
4969 unsafe extern "C" fn(
4970 handle: *mut ::std::os::raw::c_void,
4971 buf: *mut ::std::os::raw::c_char,
4972 len: size_t,
4973 ) -> size_t,
4974>;
4975pub type zend_stream_closer_t =
4976 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
4977pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
4978pub const zend_stream_type_ZEND_HANDLE_FD: zend_stream_type = 1;
4979pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 2;
4980pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 3;
4981pub const zend_stream_type_ZEND_HANDLE_MAPPED: zend_stream_type = 4;
4982pub type zend_stream_type = ::std::os::raw::c_uint;
4983#[repr(C)]
4984#[derive(Debug, Copy, Clone)]
4985pub struct _zend_mmap {
4986 pub len: size_t,
4987 pub pos: size_t,
4988 pub map: *mut ::std::os::raw::c_void,
4989 pub buf: *mut ::std::os::raw::c_char,
4990 pub old_handle: *mut ::std::os::raw::c_void,
4991 pub old_closer: zend_stream_closer_t,
4992}
4993#[test]
4994fn bindgen_test_layout__zend_mmap() {
4995 assert_eq!(
4996 ::std::mem::size_of::<_zend_mmap>(),
4997 48usize,
4998 concat!("Size of: ", stringify!(_zend_mmap))
4999 );
5000 assert_eq!(
5001 ::std::mem::align_of::<_zend_mmap>(),
5002 8usize,
5003 concat!("Alignment of ", stringify!(_zend_mmap))
5004 );
5005 assert_eq!(
5006 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).len as *const _ as usize },
5007 0usize,
5008 concat!(
5009 "Offset of field: ",
5010 stringify!(_zend_mmap),
5011 "::",
5012 stringify!(len)
5013 )
5014 );
5015 assert_eq!(
5016 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).pos as *const _ as usize },
5017 8usize,
5018 concat!(
5019 "Offset of field: ",
5020 stringify!(_zend_mmap),
5021 "::",
5022 stringify!(pos)
5023 )
5024 );
5025 assert_eq!(
5026 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).map as *const _ as usize },
5027 16usize,
5028 concat!(
5029 "Offset of field: ",
5030 stringify!(_zend_mmap),
5031 "::",
5032 stringify!(map)
5033 )
5034 );
5035 assert_eq!(
5036 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).buf as *const _ as usize },
5037 24usize,
5038 concat!(
5039 "Offset of field: ",
5040 stringify!(_zend_mmap),
5041 "::",
5042 stringify!(buf)
5043 )
5044 );
5045 assert_eq!(
5046 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).old_handle as *const _ as usize },
5047 32usize,
5048 concat!(
5049 "Offset of field: ",
5050 stringify!(_zend_mmap),
5051 "::",
5052 stringify!(old_handle)
5053 )
5054 );
5055 assert_eq!(
5056 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).old_closer as *const _ as usize },
5057 40usize,
5058 concat!(
5059 "Offset of field: ",
5060 stringify!(_zend_mmap),
5061 "::",
5062 stringify!(old_closer)
5063 )
5064 );
5065}
5066pub type zend_mmap = _zend_mmap;
5067#[repr(C)]
5068#[derive(Debug, Copy, Clone)]
5069pub struct _zend_stream {
5070 pub handle: *mut ::std::os::raw::c_void,
5071 pub isatty: ::std::os::raw::c_int,
5072 pub mmap: zend_mmap,
5073 pub reader: zend_stream_reader_t,
5074 pub fsizer: zend_stream_fsizer_t,
5075 pub closer: zend_stream_closer_t,
5076}
5077#[test]
5078fn bindgen_test_layout__zend_stream() {
5079 assert_eq!(
5080 ::std::mem::size_of::<_zend_stream>(),
5081 88usize,
5082 concat!("Size of: ", stringify!(_zend_stream))
5083 );
5084 assert_eq!(
5085 ::std::mem::align_of::<_zend_stream>(),
5086 8usize,
5087 concat!("Alignment of ", stringify!(_zend_stream))
5088 );
5089 assert_eq!(
5090 unsafe { &(*(::std::ptr::null::<_zend_stream>())).handle as *const _ as usize },
5091 0usize,
5092 concat!(
5093 "Offset of field: ",
5094 stringify!(_zend_stream),
5095 "::",
5096 stringify!(handle)
5097 )
5098 );
5099 assert_eq!(
5100 unsafe { &(*(::std::ptr::null::<_zend_stream>())).isatty as *const _ as usize },
5101 8usize,
5102 concat!(
5103 "Offset of field: ",
5104 stringify!(_zend_stream),
5105 "::",
5106 stringify!(isatty)
5107 )
5108 );
5109 assert_eq!(
5110 unsafe { &(*(::std::ptr::null::<_zend_stream>())).mmap as *const _ as usize },
5111 16usize,
5112 concat!(
5113 "Offset of field: ",
5114 stringify!(_zend_stream),
5115 "::",
5116 stringify!(mmap)
5117 )
5118 );
5119 assert_eq!(
5120 unsafe { &(*(::std::ptr::null::<_zend_stream>())).reader as *const _ as usize },
5121 64usize,
5122 concat!(
5123 "Offset of field: ",
5124 stringify!(_zend_stream),
5125 "::",
5126 stringify!(reader)
5127 )
5128 );
5129 assert_eq!(
5130 unsafe { &(*(::std::ptr::null::<_zend_stream>())).fsizer as *const _ as usize },
5131 72usize,
5132 concat!(
5133 "Offset of field: ",
5134 stringify!(_zend_stream),
5135 "::",
5136 stringify!(fsizer)
5137 )
5138 );
5139 assert_eq!(
5140 unsafe { &(*(::std::ptr::null::<_zend_stream>())).closer as *const _ as usize },
5141 80usize,
5142 concat!(
5143 "Offset of field: ",
5144 stringify!(_zend_stream),
5145 "::",
5146 stringify!(closer)
5147 )
5148 );
5149}
5150pub type zend_stream = _zend_stream;
5151#[repr(C)]
5152#[derive(Copy, Clone)]
5153pub struct _zend_file_handle {
5154 pub handle: _zend_file_handle__bindgen_ty_1,
5155 pub filename: *const ::std::os::raw::c_char,
5156 pub opened_path: *mut zend_string,
5157 pub type_: zend_stream_type,
5158 pub free_filename: zend_bool,
5159}
5160#[repr(C)]
5161#[derive(Copy, Clone)]
5162pub union _zend_file_handle__bindgen_ty_1 {
5163 pub fd: ::std::os::raw::c_int,
5164 pub fp: *mut FILE,
5165 pub stream: zend_stream,
5166 _bindgen_union_align: [u64; 11usize],
5167}
5168#[test]
5169fn bindgen_test_layout__zend_file_handle__bindgen_ty_1() {
5170 assert_eq!(
5171 ::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>(),
5172 88usize,
5173 concat!("Size of: ", stringify!(_zend_file_handle__bindgen_ty_1))
5174 );
5175 assert_eq!(
5176 ::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>(),
5177 8usize,
5178 concat!("Alignment of ", stringify!(_zend_file_handle__bindgen_ty_1))
5179 );
5180 assert_eq!(
5181 unsafe {
5182 &(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).fd as *const _ as usize
5183 },
5184 0usize,
5185 concat!(
5186 "Offset of field: ",
5187 stringify!(_zend_file_handle__bindgen_ty_1),
5188 "::",
5189 stringify!(fd)
5190 )
5191 );
5192 assert_eq!(
5193 unsafe {
5194 &(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).fp as *const _ as usize
5195 },
5196 0usize,
5197 concat!(
5198 "Offset of field: ",
5199 stringify!(_zend_file_handle__bindgen_ty_1),
5200 "::",
5201 stringify!(fp)
5202 )
5203 );
5204 assert_eq!(
5205 unsafe {
5206 &(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).stream as *const _ as usize
5207 },
5208 0usize,
5209 concat!(
5210 "Offset of field: ",
5211 stringify!(_zend_file_handle__bindgen_ty_1),
5212 "::",
5213 stringify!(stream)
5214 )
5215 );
5216}
5217#[test]
5218fn bindgen_test_layout__zend_file_handle() {
5219 assert_eq!(
5220 ::std::mem::size_of::<_zend_file_handle>(),
5221 112usize,
5222 concat!("Size of: ", stringify!(_zend_file_handle))
5223 );
5224 assert_eq!(
5225 ::std::mem::align_of::<_zend_file_handle>(),
5226 8usize,
5227 concat!("Alignment of ", stringify!(_zend_file_handle))
5228 );
5229 assert_eq!(
5230 unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).handle as *const _ as usize },
5231 0usize,
5232 concat!(
5233 "Offset of field: ",
5234 stringify!(_zend_file_handle),
5235 "::",
5236 stringify!(handle)
5237 )
5238 );
5239 assert_eq!(
5240 unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).filename as *const _ as usize },
5241 88usize,
5242 concat!(
5243 "Offset of field: ",
5244 stringify!(_zend_file_handle),
5245 "::",
5246 stringify!(filename)
5247 )
5248 );
5249 assert_eq!(
5250 unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).opened_path as *const _ as usize },
5251 96usize,
5252 concat!(
5253 "Offset of field: ",
5254 stringify!(_zend_file_handle),
5255 "::",
5256 stringify!(opened_path)
5257 )
5258 );
5259 assert_eq!(
5260 unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).type_ as *const _ as usize },
5261 104usize,
5262 concat!(
5263 "Offset of field: ",
5264 stringify!(_zend_file_handle),
5265 "::",
5266 stringify!(type_)
5267 )
5268 );
5269 assert_eq!(
5270 unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).free_filename as *const _ as usize },
5271 108usize,
5272 concat!(
5273 "Offset of field: ",
5274 stringify!(_zend_file_handle),
5275 "::",
5276 stringify!(free_filename)
5277 )
5278 );
5279}
5280pub type zend_file_handle = _zend_file_handle;
5281extern "C" {
5282 pub fn zend_stream_open(
5283 filename: *const ::std::os::raw::c_char,
5284 handle: *mut zend_file_handle,
5285 ) -> ::std::os::raw::c_int;
5286}
5287extern "C" {
5288 pub fn zend_stream_fixup(
5289 file_handle: *mut zend_file_handle,
5290 buf: *mut *mut ::std::os::raw::c_char,
5291 len: *mut size_t,
5292 ) -> ::std::os::raw::c_int;
5293}
5294extern "C" {
5295 pub fn zend_file_handle_dtor(fh: *mut zend_file_handle);
5296}
5297extern "C" {
5298 pub fn zend_compare_file_handles(
5299 fh1: *mut zend_file_handle,
5300 fh2: *mut zend_file_handle,
5301 ) -> ::std::os::raw::c_int;
5302}
5303pub type zend_stat_t = stat;
5304#[repr(C)]
5305#[derive(Copy, Clone)]
5306pub union sigval {
5307 pub sival_int: ::std::os::raw::c_int,
5308 pub sival_ptr: *mut ::std::os::raw::c_void,
5309 _bindgen_union_align: u64,
5310}
5311#[test]
5312fn bindgen_test_layout_sigval() {
5313 assert_eq!(
5314 ::std::mem::size_of::<sigval>(),
5315 8usize,
5316 concat!("Size of: ", stringify!(sigval))
5317 );
5318 assert_eq!(
5319 ::std::mem::align_of::<sigval>(),
5320 8usize,
5321 concat!("Alignment of ", stringify!(sigval))
5322 );
5323 assert_eq!(
5324 unsafe { &(*(::std::ptr::null::<sigval>())).sival_int as *const _ as usize },
5325 0usize,
5326 concat!(
5327 "Offset of field: ",
5328 stringify!(sigval),
5329 "::",
5330 stringify!(sival_int)
5331 )
5332 );
5333 assert_eq!(
5334 unsafe { &(*(::std::ptr::null::<sigval>())).sival_ptr as *const _ as usize },
5335 0usize,
5336 concat!(
5337 "Offset of field: ",
5338 stringify!(sigval),
5339 "::",
5340 stringify!(sival_ptr)
5341 )
5342 );
5343}
5344pub type __sigval_t = sigval;
5345#[repr(C)]
5346#[derive(Copy, Clone)]
5347pub struct siginfo_t {
5348 pub si_signo: ::std::os::raw::c_int,
5349 pub si_errno: ::std::os::raw::c_int,
5350 pub si_code: ::std::os::raw::c_int,
5351 pub __pad0: ::std::os::raw::c_int,
5352 pub _sifields: siginfo_t__bindgen_ty_1,
5353}
5354#[repr(C)]
5355#[derive(Copy, Clone)]
5356pub union siginfo_t__bindgen_ty_1 {
5357 pub _pad: [::std::os::raw::c_int; 28usize],
5358 pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1,
5359 pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2,
5360 pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3,
5361 pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4,
5362 pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5,
5363 pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6,
5364 pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7,
5365 _bindgen_union_align: [u64; 14usize],
5366}
5367#[repr(C)]
5368#[derive(Debug, Copy, Clone)]
5369pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 {
5370 pub si_pid: __pid_t,
5371 pub si_uid: __uid_t,
5372}
5373#[test]
5374fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_1() {
5375 assert_eq!(
5376 ::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>(),
5377 8usize,
5378 concat!(
5379 "Size of: ",
5380 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_1)
5381 )
5382 );
5383 assert_eq!(
5384 ::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>(),
5385 4usize,
5386 concat!(
5387 "Alignment of ",
5388 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_1)
5389 )
5390 );
5391 assert_eq!(
5392 unsafe {
5393 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_1>())).si_pid as *const _
5394 as usize
5395 },
5396 0usize,
5397 concat!(
5398 "Offset of field: ",
5399 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_1),
5400 "::",
5401 stringify!(si_pid)
5402 )
5403 );
5404 assert_eq!(
5405 unsafe {
5406 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_1>())).si_uid as *const _
5407 as usize
5408 },
5409 4usize,
5410 concat!(
5411 "Offset of field: ",
5412 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_1),
5413 "::",
5414 stringify!(si_uid)
5415 )
5416 );
5417}
5418#[repr(C)]
5419#[derive(Copy, Clone)]
5420pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 {
5421 pub si_tid: ::std::os::raw::c_int,
5422 pub si_overrun: ::std::os::raw::c_int,
5423 pub si_sigval: __sigval_t,
5424}
5425#[test]
5426fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_2() {
5427 assert_eq!(
5428 ::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>(),
5429 16usize,
5430 concat!(
5431 "Size of: ",
5432 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_2)
5433 )
5434 );
5435 assert_eq!(
5436 ::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>(),
5437 8usize,
5438 concat!(
5439 "Alignment of ",
5440 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_2)
5441 )
5442 );
5443 assert_eq!(
5444 unsafe {
5445 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_2>())).si_tid as *const _
5446 as usize
5447 },
5448 0usize,
5449 concat!(
5450 "Offset of field: ",
5451 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_2),
5452 "::",
5453 stringify!(si_tid)
5454 )
5455 );
5456 assert_eq!(
5457 unsafe {
5458 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_2>())).si_overrun as *const _
5459 as usize
5460 },
5461 4usize,
5462 concat!(
5463 "Offset of field: ",
5464 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_2),
5465 "::",
5466 stringify!(si_overrun)
5467 )
5468 );
5469 assert_eq!(
5470 unsafe {
5471 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_2>())).si_sigval as *const _
5472 as usize
5473 },
5474 8usize,
5475 concat!(
5476 "Offset of field: ",
5477 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_2),
5478 "::",
5479 stringify!(si_sigval)
5480 )
5481 );
5482}
5483#[repr(C)]
5484#[derive(Copy, Clone)]
5485pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 {
5486 pub si_pid: __pid_t,
5487 pub si_uid: __uid_t,
5488 pub si_sigval: __sigval_t,
5489}
5490#[test]
5491fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_3() {
5492 assert_eq!(
5493 ::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>(),
5494 16usize,
5495 concat!(
5496 "Size of: ",
5497 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_3)
5498 )
5499 );
5500 assert_eq!(
5501 ::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>(),
5502 8usize,
5503 concat!(
5504 "Alignment of ",
5505 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_3)
5506 )
5507 );
5508 assert_eq!(
5509 unsafe {
5510 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_3>())).si_pid as *const _
5511 as usize
5512 },
5513 0usize,
5514 concat!(
5515 "Offset of field: ",
5516 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_3),
5517 "::",
5518 stringify!(si_pid)
5519 )
5520 );
5521 assert_eq!(
5522 unsafe {
5523 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_3>())).si_uid as *const _
5524 as usize
5525 },
5526 4usize,
5527 concat!(
5528 "Offset of field: ",
5529 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_3),
5530 "::",
5531 stringify!(si_uid)
5532 )
5533 );
5534 assert_eq!(
5535 unsafe {
5536 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_3>())).si_sigval as *const _
5537 as usize
5538 },
5539 8usize,
5540 concat!(
5541 "Offset of field: ",
5542 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_3),
5543 "::",
5544 stringify!(si_sigval)
5545 )
5546 );
5547}
5548#[repr(C)]
5549#[derive(Debug, Copy, Clone)]
5550pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 {
5551 pub si_pid: __pid_t,
5552 pub si_uid: __uid_t,
5553 pub si_status: ::std::os::raw::c_int,
5554 pub si_utime: __clock_t,
5555 pub si_stime: __clock_t,
5556}
5557#[test]
5558fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_4() {
5559 assert_eq!(
5560 ::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>(),
5561 32usize,
5562 concat!(
5563 "Size of: ",
5564 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4)
5565 )
5566 );
5567 assert_eq!(
5568 ::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>(),
5569 8usize,
5570 concat!(
5571 "Alignment of ",
5572 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4)
5573 )
5574 );
5575 assert_eq!(
5576 unsafe {
5577 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_4>())).si_pid as *const _
5578 as usize
5579 },
5580 0usize,
5581 concat!(
5582 "Offset of field: ",
5583 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4),
5584 "::",
5585 stringify!(si_pid)
5586 )
5587 );
5588 assert_eq!(
5589 unsafe {
5590 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_4>())).si_uid as *const _
5591 as usize
5592 },
5593 4usize,
5594 concat!(
5595 "Offset of field: ",
5596 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4),
5597 "::",
5598 stringify!(si_uid)
5599 )
5600 );
5601 assert_eq!(
5602 unsafe {
5603 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_4>())).si_status as *const _
5604 as usize
5605 },
5606 8usize,
5607 concat!(
5608 "Offset of field: ",
5609 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4),
5610 "::",
5611 stringify!(si_status)
5612 )
5613 );
5614 assert_eq!(
5615 unsafe {
5616 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_4>())).si_utime as *const _
5617 as usize
5618 },
5619 16usize,
5620 concat!(
5621 "Offset of field: ",
5622 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4),
5623 "::",
5624 stringify!(si_utime)
5625 )
5626 );
5627 assert_eq!(
5628 unsafe {
5629 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_4>())).si_stime as *const _
5630 as usize
5631 },
5632 24usize,
5633 concat!(
5634 "Offset of field: ",
5635 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4),
5636 "::",
5637 stringify!(si_stime)
5638 )
5639 );
5640}
5641#[repr(C)]
5642#[derive(Copy, Clone)]
5643pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 {
5644 pub si_addr: *mut ::std::os::raw::c_void,
5645 pub si_addr_lsb: ::std::os::raw::c_short,
5646 pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
5647}
5648#[repr(C)]
5649#[derive(Copy, Clone)]
5650pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
5651 pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
5652 pub _pkey: __uint32_t,
5653 _bindgen_union_align: [u64; 2usize],
5654}
5655#[repr(C)]
5656#[derive(Debug, Copy, Clone)]
5657pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
5658 pub _lower: *mut ::std::os::raw::c_void,
5659 pub _upper: *mut ::std::os::raw::c_void,
5660}
5661#[test]
5662fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1() {
5663 assert_eq!(
5664 ::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(),
5665 16usize,
5666 concat!(
5667 "Size of: ",
5668 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1)
5669 )
5670 );
5671 assert_eq!(
5672 ::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(),
5673 8usize,
5674 concat!(
5675 "Alignment of ",
5676 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1)
5677 )
5678 );
5679 assert_eq!(
5680 unsafe {
5681 &(*(::std::ptr::null::<
5682 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
5683 >()))
5684 ._lower as *const _ as usize
5685 },
5686 0usize,
5687 concat!(
5688 "Offset of field: ",
5689 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1),
5690 "::",
5691 stringify!(_lower)
5692 )
5693 );
5694 assert_eq!(
5695 unsafe {
5696 &(*(::std::ptr::null::<
5697 siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
5698 >()))
5699 ._upper as *const _ as usize
5700 },
5701 8usize,
5702 concat!(
5703 "Offset of field: ",
5704 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1),
5705 "::",
5706 stringify!(_upper)
5707 )
5708 );
5709}
5710#[test]
5711fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1() {
5712 assert_eq!(
5713 ::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>(),
5714 16usize,
5715 concat!(
5716 "Size of: ",
5717 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1)
5718 )
5719 );
5720 assert_eq!(
5721 ::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>(),
5722 8usize,
5723 concat!(
5724 "Alignment of ",
5725 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1)
5726 )
5727 );
5728 assert_eq!(
5729 unsafe {
5730 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>()))
5731 ._addr_bnd as *const _ as usize
5732 },
5733 0usize,
5734 concat!(
5735 "Offset of field: ",
5736 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1),
5737 "::",
5738 stringify!(_addr_bnd)
5739 )
5740 );
5741 assert_eq!(
5742 unsafe {
5743 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>()))._pkey
5744 as *const _ as usize
5745 },
5746 0usize,
5747 concat!(
5748 "Offset of field: ",
5749 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1),
5750 "::",
5751 stringify!(_pkey)
5752 )
5753 );
5754}
5755#[test]
5756fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_5() {
5757 assert_eq!(
5758 ::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>(),
5759 32usize,
5760 concat!(
5761 "Size of: ",
5762 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5)
5763 )
5764 );
5765 assert_eq!(
5766 ::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>(),
5767 8usize,
5768 concat!(
5769 "Alignment of ",
5770 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5)
5771 )
5772 );
5773 assert_eq!(
5774 unsafe {
5775 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_5>())).si_addr as *const _
5776 as usize
5777 },
5778 0usize,
5779 concat!(
5780 "Offset of field: ",
5781 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5),
5782 "::",
5783 stringify!(si_addr)
5784 )
5785 );
5786 assert_eq!(
5787 unsafe {
5788 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_5>())).si_addr_lsb
5789 as *const _ as usize
5790 },
5791 8usize,
5792 concat!(
5793 "Offset of field: ",
5794 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5),
5795 "::",
5796 stringify!(si_addr_lsb)
5797 )
5798 );
5799 assert_eq!(
5800 unsafe {
5801 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_5>()))._bounds as *const _
5802 as usize
5803 },
5804 16usize,
5805 concat!(
5806 "Offset of field: ",
5807 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5),
5808 "::",
5809 stringify!(_bounds)
5810 )
5811 );
5812}
5813#[repr(C)]
5814#[derive(Debug, Copy, Clone)]
5815pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 {
5816 pub si_band: ::std::os::raw::c_long,
5817 pub si_fd: ::std::os::raw::c_int,
5818}
5819#[test]
5820fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_6() {
5821 assert_eq!(
5822 ::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>(),
5823 16usize,
5824 concat!(
5825 "Size of: ",
5826 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_6)
5827 )
5828 );
5829 assert_eq!(
5830 ::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>(),
5831 8usize,
5832 concat!(
5833 "Alignment of ",
5834 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_6)
5835 )
5836 );
5837 assert_eq!(
5838 unsafe {
5839 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_6>())).si_band as *const _
5840 as usize
5841 },
5842 0usize,
5843 concat!(
5844 "Offset of field: ",
5845 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_6),
5846 "::",
5847 stringify!(si_band)
5848 )
5849 );
5850 assert_eq!(
5851 unsafe {
5852 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_6>())).si_fd as *const _
5853 as usize
5854 },
5855 8usize,
5856 concat!(
5857 "Offset of field: ",
5858 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_6),
5859 "::",
5860 stringify!(si_fd)
5861 )
5862 );
5863}
5864#[repr(C)]
5865#[derive(Debug, Copy, Clone)]
5866pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 {
5867 pub _call_addr: *mut ::std::os::raw::c_void,
5868 pub _syscall: ::std::os::raw::c_int,
5869 pub _arch: ::std::os::raw::c_uint,
5870}
5871#[test]
5872fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_7() {
5873 assert_eq!(
5874 ::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>(),
5875 16usize,
5876 concat!(
5877 "Size of: ",
5878 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_7)
5879 )
5880 );
5881 assert_eq!(
5882 ::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>(),
5883 8usize,
5884 concat!(
5885 "Alignment of ",
5886 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_7)
5887 )
5888 );
5889 assert_eq!(
5890 unsafe {
5891 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_7>()))._call_addr as *const _
5892 as usize
5893 },
5894 0usize,
5895 concat!(
5896 "Offset of field: ",
5897 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_7),
5898 "::",
5899 stringify!(_call_addr)
5900 )
5901 );
5902 assert_eq!(
5903 unsafe {
5904 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_7>()))._syscall as *const _
5905 as usize
5906 },
5907 8usize,
5908 concat!(
5909 "Offset of field: ",
5910 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_7),
5911 "::",
5912 stringify!(_syscall)
5913 )
5914 );
5915 assert_eq!(
5916 unsafe {
5917 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_7>()))._arch as *const _
5918 as usize
5919 },
5920 12usize,
5921 concat!(
5922 "Offset of field: ",
5923 stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_7),
5924 "::",
5925 stringify!(_arch)
5926 )
5927 );
5928}
5929#[test]
5930fn bindgen_test_layout_siginfo_t__bindgen_ty_1() {
5931 assert_eq!(
5932 ::std::mem::size_of::<siginfo_t__bindgen_ty_1>(),
5933 112usize,
5934 concat!("Size of: ", stringify!(siginfo_t__bindgen_ty_1))
5935 );
5936 assert_eq!(
5937 ::std::mem::align_of::<siginfo_t__bindgen_ty_1>(),
5938 8usize,
5939 concat!("Alignment of ", stringify!(siginfo_t__bindgen_ty_1))
5940 );
5941 assert_eq!(
5942 unsafe { &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._pad as *const _ as usize },
5943 0usize,
5944 concat!(
5945 "Offset of field: ",
5946 stringify!(siginfo_t__bindgen_ty_1),
5947 "::",
5948 stringify!(_pad)
5949 )
5950 );
5951 assert_eq!(
5952 unsafe { &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._kill as *const _ as usize },
5953 0usize,
5954 concat!(
5955 "Offset of field: ",
5956 stringify!(siginfo_t__bindgen_ty_1),
5957 "::",
5958 stringify!(_kill)
5959 )
5960 );
5961 assert_eq!(
5962 unsafe { &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._timer as *const _ as usize },
5963 0usize,
5964 concat!(
5965 "Offset of field: ",
5966 stringify!(siginfo_t__bindgen_ty_1),
5967 "::",
5968 stringify!(_timer)
5969 )
5970 );
5971 assert_eq!(
5972 unsafe { &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._rt as *const _ as usize },
5973 0usize,
5974 concat!(
5975 "Offset of field: ",
5976 stringify!(siginfo_t__bindgen_ty_1),
5977 "::",
5978 stringify!(_rt)
5979 )
5980 );
5981 assert_eq!(
5982 unsafe {
5983 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._sigchld as *const _ as usize
5984 },
5985 0usize,
5986 concat!(
5987 "Offset of field: ",
5988 stringify!(siginfo_t__bindgen_ty_1),
5989 "::",
5990 stringify!(_sigchld)
5991 )
5992 );
5993 assert_eq!(
5994 unsafe {
5995 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._sigfault as *const _ as usize
5996 },
5997 0usize,
5998 concat!(
5999 "Offset of field: ",
6000 stringify!(siginfo_t__bindgen_ty_1),
6001 "::",
6002 stringify!(_sigfault)
6003 )
6004 );
6005 assert_eq!(
6006 unsafe {
6007 &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._sigpoll as *const _ as usize
6008 },
6009 0usize,
6010 concat!(
6011 "Offset of field: ",
6012 stringify!(siginfo_t__bindgen_ty_1),
6013 "::",
6014 stringify!(_sigpoll)
6015 )
6016 );
6017 assert_eq!(
6018 unsafe { &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._sigsys as *const _ as usize },
6019 0usize,
6020 concat!(
6021 "Offset of field: ",
6022 stringify!(siginfo_t__bindgen_ty_1),
6023 "::",
6024 stringify!(_sigsys)
6025 )
6026 );
6027}
6028#[test]
6029fn bindgen_test_layout_siginfo_t() {
6030 assert_eq!(
6031 ::std::mem::size_of::<siginfo_t>(),
6032 128usize,
6033 concat!("Size of: ", stringify!(siginfo_t))
6034 );
6035 assert_eq!(
6036 ::std::mem::align_of::<siginfo_t>(),
6037 8usize,
6038 concat!("Alignment of ", stringify!(siginfo_t))
6039 );
6040 assert_eq!(
6041 unsafe { &(*(::std::ptr::null::<siginfo_t>())).si_signo as *const _ as usize },
6042 0usize,
6043 concat!(
6044 "Offset of field: ",
6045 stringify!(siginfo_t),
6046 "::",
6047 stringify!(si_signo)
6048 )
6049 );
6050 assert_eq!(
6051 unsafe { &(*(::std::ptr::null::<siginfo_t>())).si_errno as *const _ as usize },
6052 4usize,
6053 concat!(
6054 "Offset of field: ",
6055 stringify!(siginfo_t),
6056 "::",
6057 stringify!(si_errno)
6058 )
6059 );
6060 assert_eq!(
6061 unsafe { &(*(::std::ptr::null::<siginfo_t>())).si_code as *const _ as usize },
6062 8usize,
6063 concat!(
6064 "Offset of field: ",
6065 stringify!(siginfo_t),
6066 "::",
6067 stringify!(si_code)
6068 )
6069 );
6070 assert_eq!(
6071 unsafe { &(*(::std::ptr::null::<siginfo_t>())).__pad0 as *const _ as usize },
6072 12usize,
6073 concat!(
6074 "Offset of field: ",
6075 stringify!(siginfo_t),
6076 "::",
6077 stringify!(__pad0)
6078 )
6079 );
6080 assert_eq!(
6081 unsafe { &(*(::std::ptr::null::<siginfo_t>()))._sifields as *const _ as usize },
6082 16usize,
6083 concat!(
6084 "Offset of field: ",
6085 stringify!(siginfo_t),
6086 "::",
6087 stringify!(_sifields)
6088 )
6089 );
6090}
6091pub type __sighandler_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
6092#[repr(C)]
6093#[derive(Copy, Clone)]
6094pub struct sigaction {
6095 pub __sigaction_handler: sigaction__bindgen_ty_1,
6096 pub sa_mask: __sigset_t,
6097 pub sa_flags: ::std::os::raw::c_int,
6098 pub sa_restorer: ::std::option::Option<unsafe extern "C" fn()>,
6099}
6100#[repr(C)]
6101#[derive(Copy, Clone)]
6102pub union sigaction__bindgen_ty_1 {
6103 pub sa_handler: __sighandler_t,
6104 pub sa_sigaction: ::std::option::Option<
6105 unsafe extern "C" fn(
6106 arg1: ::std::os::raw::c_int,
6107 arg2: *mut siginfo_t,
6108 arg3: *mut ::std::os::raw::c_void,
6109 ),
6110 >,
6111 _bindgen_union_align: u64,
6112}
6113#[test]
6114fn bindgen_test_layout_sigaction__bindgen_ty_1() {
6115 assert_eq!(
6116 ::std::mem::size_of::<sigaction__bindgen_ty_1>(),
6117 8usize,
6118 concat!("Size of: ", stringify!(sigaction__bindgen_ty_1))
6119 );
6120 assert_eq!(
6121 ::std::mem::align_of::<sigaction__bindgen_ty_1>(),
6122 8usize,
6123 concat!("Alignment of ", stringify!(sigaction__bindgen_ty_1))
6124 );
6125 assert_eq!(
6126 unsafe {
6127 &(*(::std::ptr::null::<sigaction__bindgen_ty_1>())).sa_handler as *const _ as usize
6128 },
6129 0usize,
6130 concat!(
6131 "Offset of field: ",
6132 stringify!(sigaction__bindgen_ty_1),
6133 "::",
6134 stringify!(sa_handler)
6135 )
6136 );
6137 assert_eq!(
6138 unsafe {
6139 &(*(::std::ptr::null::<sigaction__bindgen_ty_1>())).sa_sigaction as *const _ as usize
6140 },
6141 0usize,
6142 concat!(
6143 "Offset of field: ",
6144 stringify!(sigaction__bindgen_ty_1),
6145 "::",
6146 stringify!(sa_sigaction)
6147 )
6148 );
6149}
6150#[test]
6151fn bindgen_test_layout_sigaction() {
6152 assert_eq!(
6153 ::std::mem::size_of::<sigaction>(),
6154 152usize,
6155 concat!("Size of: ", stringify!(sigaction))
6156 );
6157 assert_eq!(
6158 ::std::mem::align_of::<sigaction>(),
6159 8usize,
6160 concat!("Alignment of ", stringify!(sigaction))
6161 );
6162 assert_eq!(
6163 unsafe { &(*(::std::ptr::null::<sigaction>())).__sigaction_handler as *const _ as usize },
6164 0usize,
6165 concat!(
6166 "Offset of field: ",
6167 stringify!(sigaction),
6168 "::",
6169 stringify!(__sigaction_handler)
6170 )
6171 );
6172 assert_eq!(
6173 unsafe { &(*(::std::ptr::null::<sigaction>())).sa_mask as *const _ as usize },
6174 8usize,
6175 concat!(
6176 "Offset of field: ",
6177 stringify!(sigaction),
6178 "::",
6179 stringify!(sa_mask)
6180 )
6181 );
6182 assert_eq!(
6183 unsafe { &(*(::std::ptr::null::<sigaction>())).sa_flags as *const _ as usize },
6184 136usize,
6185 concat!(
6186 "Offset of field: ",
6187 stringify!(sigaction),
6188 "::",
6189 stringify!(sa_flags)
6190 )
6191 );
6192 assert_eq!(
6193 unsafe { &(*(::std::ptr::null::<sigaction>())).sa_restorer as *const _ as usize },
6194 144usize,
6195 concat!(
6196 "Offset of field: ",
6197 stringify!(sigaction),
6198 "::",
6199 stringify!(sa_restorer)
6200 )
6201 );
6202}
6203#[repr(C)]
6204#[derive(Debug, Copy, Clone)]
6205pub struct _zend_signal_entry_t {
6206 pub flags: ::std::os::raw::c_int,
6207 pub handler: *mut ::std::os::raw::c_void,
6208}
6209#[test]
6210fn bindgen_test_layout__zend_signal_entry_t() {
6211 assert_eq!(
6212 ::std::mem::size_of::<_zend_signal_entry_t>(),
6213 16usize,
6214 concat!("Size of: ", stringify!(_zend_signal_entry_t))
6215 );
6216 assert_eq!(
6217 ::std::mem::align_of::<_zend_signal_entry_t>(),
6218 8usize,
6219 concat!("Alignment of ", stringify!(_zend_signal_entry_t))
6220 );
6221 assert_eq!(
6222 unsafe { &(*(::std::ptr::null::<_zend_signal_entry_t>())).flags as *const _ as usize },
6223 0usize,
6224 concat!(
6225 "Offset of field: ",
6226 stringify!(_zend_signal_entry_t),
6227 "::",
6228 stringify!(flags)
6229 )
6230 );
6231 assert_eq!(
6232 unsafe { &(*(::std::ptr::null::<_zend_signal_entry_t>())).handler as *const _ as usize },
6233 8usize,
6234 concat!(
6235 "Offset of field: ",
6236 stringify!(_zend_signal_entry_t),
6237 "::",
6238 stringify!(handler)
6239 )
6240 );
6241}
6242pub type zend_signal_entry_t = _zend_signal_entry_t;
6243#[repr(C)]
6244#[derive(Debug, Copy, Clone)]
6245pub struct _zend_signal_t {
6246 pub signo: ::std::os::raw::c_int,
6247 pub siginfo: *mut siginfo_t,
6248 pub context: *mut ::std::os::raw::c_void,
6249}
6250#[test]
6251fn bindgen_test_layout__zend_signal_t() {
6252 assert_eq!(
6253 ::std::mem::size_of::<_zend_signal_t>(),
6254 24usize,
6255 concat!("Size of: ", stringify!(_zend_signal_t))
6256 );
6257 assert_eq!(
6258 ::std::mem::align_of::<_zend_signal_t>(),
6259 8usize,
6260 concat!("Alignment of ", stringify!(_zend_signal_t))
6261 );
6262 assert_eq!(
6263 unsafe { &(*(::std::ptr::null::<_zend_signal_t>())).signo as *const _ as usize },
6264 0usize,
6265 concat!(
6266 "Offset of field: ",
6267 stringify!(_zend_signal_t),
6268 "::",
6269 stringify!(signo)
6270 )
6271 );
6272 assert_eq!(
6273 unsafe { &(*(::std::ptr::null::<_zend_signal_t>())).siginfo as *const _ as usize },
6274 8usize,
6275 concat!(
6276 "Offset of field: ",
6277 stringify!(_zend_signal_t),
6278 "::",
6279 stringify!(siginfo)
6280 )
6281 );
6282 assert_eq!(
6283 unsafe { &(*(::std::ptr::null::<_zend_signal_t>())).context as *const _ as usize },
6284 16usize,
6285 concat!(
6286 "Offset of field: ",
6287 stringify!(_zend_signal_t),
6288 "::",
6289 stringify!(context)
6290 )
6291 );
6292}
6293pub type zend_signal_t = _zend_signal_t;
6294#[repr(C)]
6295#[derive(Debug, Copy, Clone)]
6296pub struct _zend_signal_queue_t {
6297 pub zend_signal: zend_signal_t,
6298 pub next: *mut _zend_signal_queue_t,
6299}
6300#[test]
6301fn bindgen_test_layout__zend_signal_queue_t() {
6302 assert_eq!(
6303 ::std::mem::size_of::<_zend_signal_queue_t>(),
6304 32usize,
6305 concat!("Size of: ", stringify!(_zend_signal_queue_t))
6306 );
6307 assert_eq!(
6308 ::std::mem::align_of::<_zend_signal_queue_t>(),
6309 8usize,
6310 concat!("Alignment of ", stringify!(_zend_signal_queue_t))
6311 );
6312 assert_eq!(
6313 unsafe {
6314 &(*(::std::ptr::null::<_zend_signal_queue_t>())).zend_signal as *const _ as usize
6315 },
6316 0usize,
6317 concat!(
6318 "Offset of field: ",
6319 stringify!(_zend_signal_queue_t),
6320 "::",
6321 stringify!(zend_signal)
6322 )
6323 );
6324 assert_eq!(
6325 unsafe { &(*(::std::ptr::null::<_zend_signal_queue_t>())).next as *const _ as usize },
6326 24usize,
6327 concat!(
6328 "Offset of field: ",
6329 stringify!(_zend_signal_queue_t),
6330 "::",
6331 stringify!(next)
6332 )
6333 );
6334}
6335pub type zend_signal_queue_t = _zend_signal_queue_t;
6336#[repr(C)]
6337#[derive(Copy, Clone)]
6338pub struct _zend_signal_globals_t {
6339 pub depth: ::std::os::raw::c_int,
6340 pub blocked: ::std::os::raw::c_int,
6341 pub running: ::std::os::raw::c_int,
6342 pub active: ::std::os::raw::c_int,
6343 pub check: zend_bool,
6344 pub handlers: [zend_signal_entry_t; 65usize],
6345 pub pstorage: [zend_signal_queue_t; 64usize],
6346 pub phead: *mut zend_signal_queue_t,
6347 pub ptail: *mut zend_signal_queue_t,
6348 pub pavail: *mut zend_signal_queue_t,
6349}
6350#[test]
6351fn bindgen_test_layout__zend_signal_globals_t() {
6352 assert_eq!(
6353 ::std::mem::size_of::<_zend_signal_globals_t>(),
6354 3136usize,
6355 concat!("Size of: ", stringify!(_zend_signal_globals_t))
6356 );
6357 assert_eq!(
6358 ::std::mem::align_of::<_zend_signal_globals_t>(),
6359 8usize,
6360 concat!("Alignment of ", stringify!(_zend_signal_globals_t))
6361 );
6362 assert_eq!(
6363 unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).depth as *const _ as usize },
6364 0usize,
6365 concat!(
6366 "Offset of field: ",
6367 stringify!(_zend_signal_globals_t),
6368 "::",
6369 stringify!(depth)
6370 )
6371 );
6372 assert_eq!(
6373 unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).blocked as *const _ as usize },
6374 4usize,
6375 concat!(
6376 "Offset of field: ",
6377 stringify!(_zend_signal_globals_t),
6378 "::",
6379 stringify!(blocked)
6380 )
6381 );
6382 assert_eq!(
6383 unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).running as *const _ as usize },
6384 8usize,
6385 concat!(
6386 "Offset of field: ",
6387 stringify!(_zend_signal_globals_t),
6388 "::",
6389 stringify!(running)
6390 )
6391 );
6392 assert_eq!(
6393 unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).active as *const _ as usize },
6394 12usize,
6395 concat!(
6396 "Offset of field: ",
6397 stringify!(_zend_signal_globals_t),
6398 "::",
6399 stringify!(active)
6400 )
6401 );
6402 assert_eq!(
6403 unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).check as *const _ as usize },
6404 16usize,
6405 concat!(
6406 "Offset of field: ",
6407 stringify!(_zend_signal_globals_t),
6408 "::",
6409 stringify!(check)
6410 )
6411 );
6412 assert_eq!(
6413 unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).handlers as *const _ as usize },
6414 24usize,
6415 concat!(
6416 "Offset of field: ",
6417 stringify!(_zend_signal_globals_t),
6418 "::",
6419 stringify!(handlers)
6420 )
6421 );
6422 assert_eq!(
6423 unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).pstorage as *const _ as usize },
6424 1064usize,
6425 concat!(
6426 "Offset of field: ",
6427 stringify!(_zend_signal_globals_t),
6428 "::",
6429 stringify!(pstorage)
6430 )
6431 );
6432 assert_eq!(
6433 unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).phead as *const _ as usize },
6434 3112usize,
6435 concat!(
6436 "Offset of field: ",
6437 stringify!(_zend_signal_globals_t),
6438 "::",
6439 stringify!(phead)
6440 )
6441 );
6442 assert_eq!(
6443 unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).ptail as *const _ as usize },
6444 3120usize,
6445 concat!(
6446 "Offset of field: ",
6447 stringify!(_zend_signal_globals_t),
6448 "::",
6449 stringify!(ptail)
6450 )
6451 );
6452 assert_eq!(
6453 unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).pavail as *const _ as usize },
6454 3128usize,
6455 concat!(
6456 "Offset of field: ",
6457 stringify!(_zend_signal_globals_t),
6458 "::",
6459 stringify!(pavail)
6460 )
6461 );
6462}
6463pub type zend_signal_globals_t = _zend_signal_globals_t;
6464extern "C" {
6465 pub static mut zend_signal_globals: zend_signal_globals_t;
6466}
6467extern "C" {
6468 pub fn zend_signal_handler_unblock();
6469}
6470extern "C" {
6471 pub fn zend_signal_activate();
6472}
6473extern "C" {
6474 pub fn zend_signal_deactivate();
6475}
6476extern "C" {
6477 pub fn zend_signal_startup();
6478}
6479extern "C" {
6480 pub fn zend_signal_init();
6481}
6482extern "C" {
6483 pub fn zend_signal(
6484 signo: ::std::os::raw::c_int,
6485 handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
6486 ) -> ::std::os::raw::c_int;
6487}
6488extern "C" {
6489 pub fn zend_sigaction(
6490 signo: ::std::os::raw::c_int,
6491 act: *const sigaction,
6492 oldact: *mut sigaction,
6493 ) -> ::std::os::raw::c_int;
6494}
6495extern "C" {
6496 pub fn zend_error_noreturn(
6497 type_: ::std::os::raw::c_int,
6498 format: *const ::std::os::raw::c_char,
6499 ...
6500 );
6501}
6502#[repr(C)]
6503#[derive(Debug, Copy, Clone)]
6504pub struct _zend_serialize_data {
6505 _unused: [u8; 0],
6506}
6507#[repr(C)]
6508#[derive(Debug, Copy, Clone)]
6509pub struct _zend_unserialize_data {
6510 _unused: [u8; 0],
6511}
6512pub type zend_serialize_data = _zend_serialize_data;
6513pub type zend_unserialize_data = _zend_unserialize_data;
6514#[repr(C)]
6515#[derive(Debug, Copy, Clone)]
6516pub struct _zend_trait_method_reference {
6517 pub method_name: *mut zend_string,
6518 pub ce: *mut zend_class_entry,
6519 pub class_name: *mut zend_string,
6520}
6521#[test]
6522fn bindgen_test_layout__zend_trait_method_reference() {
6523 assert_eq!(
6524 ::std::mem::size_of::<_zend_trait_method_reference>(),
6525 24usize,
6526 concat!("Size of: ", stringify!(_zend_trait_method_reference))
6527 );
6528 assert_eq!(
6529 ::std::mem::align_of::<_zend_trait_method_reference>(),
6530 8usize,
6531 concat!("Alignment of ", stringify!(_zend_trait_method_reference))
6532 );
6533 assert_eq!(
6534 unsafe {
6535 &(*(::std::ptr::null::<_zend_trait_method_reference>())).method_name as *const _
6536 as usize
6537 },
6538 0usize,
6539 concat!(
6540 "Offset of field: ",
6541 stringify!(_zend_trait_method_reference),
6542 "::",
6543 stringify!(method_name)
6544 )
6545 );
6546 assert_eq!(
6547 unsafe { &(*(::std::ptr::null::<_zend_trait_method_reference>())).ce as *const _ as usize },
6548 8usize,
6549 concat!(
6550 "Offset of field: ",
6551 stringify!(_zend_trait_method_reference),
6552 "::",
6553 stringify!(ce)
6554 )
6555 );
6556 assert_eq!(
6557 unsafe {
6558 &(*(::std::ptr::null::<_zend_trait_method_reference>())).class_name as *const _ as usize
6559 },
6560 16usize,
6561 concat!(
6562 "Offset of field: ",
6563 stringify!(_zend_trait_method_reference),
6564 "::",
6565 stringify!(class_name)
6566 )
6567 );
6568}
6569pub type zend_trait_method_reference = _zend_trait_method_reference;
6570#[repr(C)]
6571#[derive(Debug, Copy, Clone)]
6572pub struct _zend_trait_precedence {
6573 pub trait_method: *mut zend_trait_method_reference,
6574 pub exclude_from_classes: *mut _zend_trait_precedence__bindgen_ty_1,
6575}
6576#[repr(C)]
6577#[derive(Copy, Clone)]
6578pub union _zend_trait_precedence__bindgen_ty_1 {
6579 pub ce: *mut zend_class_entry,
6580 pub class_name: *mut zend_string,
6581 _bindgen_union_align: u64,
6582}
6583#[test]
6584fn bindgen_test_layout__zend_trait_precedence__bindgen_ty_1() {
6585 assert_eq!(
6586 ::std::mem::size_of::<_zend_trait_precedence__bindgen_ty_1>(),
6587 8usize,
6588 concat!(
6589 "Size of: ",
6590 stringify!(_zend_trait_precedence__bindgen_ty_1)
6591 )
6592 );
6593 assert_eq!(
6594 ::std::mem::align_of::<_zend_trait_precedence__bindgen_ty_1>(),
6595 8usize,
6596 concat!(
6597 "Alignment of ",
6598 stringify!(_zend_trait_precedence__bindgen_ty_1)
6599 )
6600 );
6601 assert_eq!(
6602 unsafe {
6603 &(*(::std::ptr::null::<_zend_trait_precedence__bindgen_ty_1>())).ce as *const _ as usize
6604 },
6605 0usize,
6606 concat!(
6607 "Offset of field: ",
6608 stringify!(_zend_trait_precedence__bindgen_ty_1),
6609 "::",
6610 stringify!(ce)
6611 )
6612 );
6613 assert_eq!(
6614 unsafe {
6615 &(*(::std::ptr::null::<_zend_trait_precedence__bindgen_ty_1>())).class_name as *const _
6616 as usize
6617 },
6618 0usize,
6619 concat!(
6620 "Offset of field: ",
6621 stringify!(_zend_trait_precedence__bindgen_ty_1),
6622 "::",
6623 stringify!(class_name)
6624 )
6625 );
6626}
6627#[test]
6628fn bindgen_test_layout__zend_trait_precedence() {
6629 assert_eq!(
6630 ::std::mem::size_of::<_zend_trait_precedence>(),
6631 16usize,
6632 concat!("Size of: ", stringify!(_zend_trait_precedence))
6633 );
6634 assert_eq!(
6635 ::std::mem::align_of::<_zend_trait_precedence>(),
6636 8usize,
6637 concat!("Alignment of ", stringify!(_zend_trait_precedence))
6638 );
6639 assert_eq!(
6640 unsafe {
6641 &(*(::std::ptr::null::<_zend_trait_precedence>())).trait_method as *const _ as usize
6642 },
6643 0usize,
6644 concat!(
6645 "Offset of field: ",
6646 stringify!(_zend_trait_precedence),
6647 "::",
6648 stringify!(trait_method)
6649 )
6650 );
6651 assert_eq!(
6652 unsafe {
6653 &(*(::std::ptr::null::<_zend_trait_precedence>())).exclude_from_classes as *const _
6654 as usize
6655 },
6656 8usize,
6657 concat!(
6658 "Offset of field: ",
6659 stringify!(_zend_trait_precedence),
6660 "::",
6661 stringify!(exclude_from_classes)
6662 )
6663 );
6664}
6665pub type zend_trait_precedence = _zend_trait_precedence;
6666#[repr(C)]
6667#[derive(Debug, Copy, Clone)]
6668pub struct _zend_trait_alias {
6669 pub trait_method: *mut zend_trait_method_reference,
6670 #[doc = " name for method to be added"]
6671 pub alias: *mut zend_string,
6672 #[doc = " modifiers to be set on trait method"]
6673 pub modifiers: u32,
6674}
6675#[test]
6676fn bindgen_test_layout__zend_trait_alias() {
6677 assert_eq!(
6678 ::std::mem::size_of::<_zend_trait_alias>(),
6679 24usize,
6680 concat!("Size of: ", stringify!(_zend_trait_alias))
6681 );
6682 assert_eq!(
6683 ::std::mem::align_of::<_zend_trait_alias>(),
6684 8usize,
6685 concat!("Alignment of ", stringify!(_zend_trait_alias))
6686 );
6687 assert_eq!(
6688 unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).trait_method as *const _ as usize },
6689 0usize,
6690 concat!(
6691 "Offset of field: ",
6692 stringify!(_zend_trait_alias),
6693 "::",
6694 stringify!(trait_method)
6695 )
6696 );
6697 assert_eq!(
6698 unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).alias as *const _ as usize },
6699 8usize,
6700 concat!(
6701 "Offset of field: ",
6702 stringify!(_zend_trait_alias),
6703 "::",
6704 stringify!(alias)
6705 )
6706 );
6707 assert_eq!(
6708 unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).modifiers as *const _ as usize },
6709 16usize,
6710 concat!(
6711 "Offset of field: ",
6712 stringify!(_zend_trait_alias),
6713 "::",
6714 stringify!(modifiers)
6715 )
6716 );
6717}
6718pub type zend_trait_alias = _zend_trait_alias;
6719#[repr(C)]
6720#[derive(Copy, Clone)]
6721pub struct _zend_class_entry {
6722 pub type_: ::std::os::raw::c_char,
6723 pub name: *mut zend_string,
6724 pub parent: *mut _zend_class_entry,
6725 pub refcount: ::std::os::raw::c_int,
6726 pub ce_flags: u32,
6727 pub default_properties_count: ::std::os::raw::c_int,
6728 pub default_static_members_count: ::std::os::raw::c_int,
6729 pub default_properties_table: *mut zval,
6730 pub default_static_members_table: *mut zval,
6731 pub static_members_table: *mut zval,
6732 pub function_table: HashTable,
6733 pub properties_info: HashTable,
6734 pub constants_table: HashTable,
6735 pub constructor: *mut _zend_function,
6736 pub destructor: *mut _zend_function,
6737 pub clone: *mut _zend_function,
6738 pub __get: *mut _zend_function,
6739 pub __set: *mut _zend_function,
6740 pub __unset: *mut _zend_function,
6741 pub __isset: *mut _zend_function,
6742 pub __call: *mut _zend_function,
6743 pub __callstatic: *mut _zend_function,
6744 pub __tostring: *mut _zend_function,
6745 pub __debugInfo: *mut _zend_function,
6746 pub serialize_func: *mut _zend_function,
6747 pub unserialize_func: *mut _zend_function,
6748 pub iterator_funcs: zend_class_iterator_funcs,
6749 pub create_object: ::std::option::Option<
6750 unsafe extern "C" fn(class_type: *mut zend_class_entry) -> *mut zend_object,
6751 >,
6752 pub get_iterator: ::std::option::Option<
6753 unsafe extern "C" fn(
6754 ce: *mut zend_class_entry,
6755 object: *mut zval,
6756 by_ref: ::std::os::raw::c_int,
6757 ) -> *mut zend_object_iterator,
6758 >,
6759 pub interface_gets_implemented: ::std::option::Option<
6760 unsafe extern "C" fn(
6761 iface: *mut zend_class_entry,
6762 class_type: *mut zend_class_entry,
6763 ) -> ::std::os::raw::c_int,
6764 >,
6765 pub get_static_method: ::std::option::Option<
6766 unsafe extern "C" fn(
6767 ce: *mut zend_class_entry,
6768 method: *mut zend_string,
6769 ) -> *mut _zend_function,
6770 >,
6771 pub serialize: ::std::option::Option<
6772 unsafe extern "C" fn(
6773 object: *mut zval,
6774 buffer: *mut *mut ::std::os::raw::c_uchar,
6775 buf_len: *mut size_t,
6776 data: *mut zend_serialize_data,
6777 ) -> ::std::os::raw::c_int,
6778 >,
6779 pub unserialize: ::std::option::Option<
6780 unsafe extern "C" fn(
6781 object: *mut zval,
6782 ce: *mut zend_class_entry,
6783 buf: *const ::std::os::raw::c_uchar,
6784 buf_len: size_t,
6785 data: *mut zend_unserialize_data,
6786 ) -> ::std::os::raw::c_int,
6787 >,
6788 pub num_interfaces: u32,
6789 pub num_traits: u32,
6790 pub interfaces: *mut *mut zend_class_entry,
6791 pub traits: *mut *mut zend_class_entry,
6792 pub trait_aliases: *mut *mut zend_trait_alias,
6793 pub trait_precedences: *mut *mut zend_trait_precedence,
6794 pub info: _zend_class_entry__bindgen_ty_1,
6795}
6796#[repr(C)]
6797#[derive(Copy, Clone)]
6798pub union _zend_class_entry__bindgen_ty_1 {
6799 pub user: _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
6800 pub internal: _zend_class_entry__bindgen_ty_1__bindgen_ty_2,
6801 _bindgen_union_align: [u64; 3usize],
6802}
6803#[repr(C)]
6804#[derive(Debug, Copy, Clone)]
6805pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_1 {
6806 pub filename: *mut zend_string,
6807 pub line_start: u32,
6808 pub line_end: u32,
6809 pub doc_comment: *mut zend_string,
6810}
6811#[test]
6812fn bindgen_test_layout__zend_class_entry__bindgen_ty_1__bindgen_ty_1() {
6813 assert_eq!(
6814 ::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>(),
6815 24usize,
6816 concat!(
6817 "Size of: ",
6818 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1)
6819 )
6820 );
6821 assert_eq!(
6822 ::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>(),
6823 8usize,
6824 concat!(
6825 "Alignment of ",
6826 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1)
6827 )
6828 );
6829 assert_eq!(
6830 unsafe {
6831 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).filename
6832 as *const _ as usize
6833 },
6834 0usize,
6835 concat!(
6836 "Offset of field: ",
6837 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
6838 "::",
6839 stringify!(filename)
6840 )
6841 );
6842 assert_eq!(
6843 unsafe {
6844 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).line_start
6845 as *const _ as usize
6846 },
6847 8usize,
6848 concat!(
6849 "Offset of field: ",
6850 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
6851 "::",
6852 stringify!(line_start)
6853 )
6854 );
6855 assert_eq!(
6856 unsafe {
6857 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).line_end
6858 as *const _ as usize
6859 },
6860 12usize,
6861 concat!(
6862 "Offset of field: ",
6863 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
6864 "::",
6865 stringify!(line_end)
6866 )
6867 );
6868 assert_eq!(
6869 unsafe {
6870 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).doc_comment
6871 as *const _ as usize
6872 },
6873 16usize,
6874 concat!(
6875 "Offset of field: ",
6876 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
6877 "::",
6878 stringify!(doc_comment)
6879 )
6880 );
6881}
6882#[repr(C)]
6883#[derive(Debug, Copy, Clone)]
6884pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_2 {
6885 pub builtin_functions: *const _zend_function_entry,
6886 pub module: *mut _zend_module_entry,
6887}
6888#[test]
6889fn bindgen_test_layout__zend_class_entry__bindgen_ty_1__bindgen_ty_2() {
6890 assert_eq!(
6891 ::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>(),
6892 16usize,
6893 concat!(
6894 "Size of: ",
6895 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2)
6896 )
6897 );
6898 assert_eq!(
6899 ::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>(),
6900 8usize,
6901 concat!(
6902 "Alignment of ",
6903 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2)
6904 )
6905 );
6906 assert_eq!(
6907 unsafe {
6908 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>()))
6909 .builtin_functions as *const _ as usize
6910 },
6911 0usize,
6912 concat!(
6913 "Offset of field: ",
6914 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2),
6915 "::",
6916 stringify!(builtin_functions)
6917 )
6918 );
6919 assert_eq!(
6920 unsafe {
6921 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>())).module
6922 as *const _ as usize
6923 },
6924 8usize,
6925 concat!(
6926 "Offset of field: ",
6927 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2),
6928 "::",
6929 stringify!(module)
6930 )
6931 );
6932}
6933#[test]
6934fn bindgen_test_layout__zend_class_entry__bindgen_ty_1() {
6935 assert_eq!(
6936 ::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>(),
6937 24usize,
6938 concat!("Size of: ", stringify!(_zend_class_entry__bindgen_ty_1))
6939 );
6940 assert_eq!(
6941 ::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>(),
6942 8usize,
6943 concat!("Alignment of ", stringify!(_zend_class_entry__bindgen_ty_1))
6944 );
6945 assert_eq!(
6946 unsafe {
6947 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1>())).user as *const _ as usize
6948 },
6949 0usize,
6950 concat!(
6951 "Offset of field: ",
6952 stringify!(_zend_class_entry__bindgen_ty_1),
6953 "::",
6954 stringify!(user)
6955 )
6956 );
6957 assert_eq!(
6958 unsafe {
6959 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1>())).internal as *const _
6960 as usize
6961 },
6962 0usize,
6963 concat!(
6964 "Offset of field: ",
6965 stringify!(_zend_class_entry__bindgen_ty_1),
6966 "::",
6967 stringify!(internal)
6968 )
6969 );
6970}
6971#[test]
6972fn bindgen_test_layout__zend_class_entry() {
6973 assert_eq!(
6974 ::std::mem::size_of::<_zend_class_entry>(),
6975 504usize,
6976 concat!("Size of: ", stringify!(_zend_class_entry))
6977 );
6978 assert_eq!(
6979 ::std::mem::align_of::<_zend_class_entry>(),
6980 8usize,
6981 concat!("Alignment of ", stringify!(_zend_class_entry))
6982 );
6983 assert_eq!(
6984 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).type_ as *const _ as usize },
6985 0usize,
6986 concat!(
6987 "Offset of field: ",
6988 stringify!(_zend_class_entry),
6989 "::",
6990 stringify!(type_)
6991 )
6992 );
6993 assert_eq!(
6994 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).name as *const _ as usize },
6995 8usize,
6996 concat!(
6997 "Offset of field: ",
6998 stringify!(_zend_class_entry),
6999 "::",
7000 stringify!(name)
7001 )
7002 );
7003 assert_eq!(
7004 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).parent as *const _ as usize },
7005 16usize,
7006 concat!(
7007 "Offset of field: ",
7008 stringify!(_zend_class_entry),
7009 "::",
7010 stringify!(parent)
7011 )
7012 );
7013 assert_eq!(
7014 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).refcount as *const _ as usize },
7015 24usize,
7016 concat!(
7017 "Offset of field: ",
7018 stringify!(_zend_class_entry),
7019 "::",
7020 stringify!(refcount)
7021 )
7022 );
7023 assert_eq!(
7024 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).ce_flags as *const _ as usize },
7025 28usize,
7026 concat!(
7027 "Offset of field: ",
7028 stringify!(_zend_class_entry),
7029 "::",
7030 stringify!(ce_flags)
7031 )
7032 );
7033 assert_eq!(
7034 unsafe {
7035 &(*(::std::ptr::null::<_zend_class_entry>())).default_properties_count as *const _
7036 as usize
7037 },
7038 32usize,
7039 concat!(
7040 "Offset of field: ",
7041 stringify!(_zend_class_entry),
7042 "::",
7043 stringify!(default_properties_count)
7044 )
7045 );
7046 assert_eq!(
7047 unsafe {
7048 &(*(::std::ptr::null::<_zend_class_entry>())).default_static_members_count as *const _
7049 as usize
7050 },
7051 36usize,
7052 concat!(
7053 "Offset of field: ",
7054 stringify!(_zend_class_entry),
7055 "::",
7056 stringify!(default_static_members_count)
7057 )
7058 );
7059 assert_eq!(
7060 unsafe {
7061 &(*(::std::ptr::null::<_zend_class_entry>())).default_properties_table as *const _
7062 as usize
7063 },
7064 40usize,
7065 concat!(
7066 "Offset of field: ",
7067 stringify!(_zend_class_entry),
7068 "::",
7069 stringify!(default_properties_table)
7070 )
7071 );
7072 assert_eq!(
7073 unsafe {
7074 &(*(::std::ptr::null::<_zend_class_entry>())).default_static_members_table as *const _
7075 as usize
7076 },
7077 48usize,
7078 concat!(
7079 "Offset of field: ",
7080 stringify!(_zend_class_entry),
7081 "::",
7082 stringify!(default_static_members_table)
7083 )
7084 );
7085 assert_eq!(
7086 unsafe {
7087 &(*(::std::ptr::null::<_zend_class_entry>())).static_members_table as *const _ as usize
7088 },
7089 56usize,
7090 concat!(
7091 "Offset of field: ",
7092 stringify!(_zend_class_entry),
7093 "::",
7094 stringify!(static_members_table)
7095 )
7096 );
7097 assert_eq!(
7098 unsafe {
7099 &(*(::std::ptr::null::<_zend_class_entry>())).function_table as *const _ as usize
7100 },
7101 64usize,
7102 concat!(
7103 "Offset of field: ",
7104 stringify!(_zend_class_entry),
7105 "::",
7106 stringify!(function_table)
7107 )
7108 );
7109 assert_eq!(
7110 unsafe {
7111 &(*(::std::ptr::null::<_zend_class_entry>())).properties_info as *const _ as usize
7112 },
7113 120usize,
7114 concat!(
7115 "Offset of field: ",
7116 stringify!(_zend_class_entry),
7117 "::",
7118 stringify!(properties_info)
7119 )
7120 );
7121 assert_eq!(
7122 unsafe {
7123 &(*(::std::ptr::null::<_zend_class_entry>())).constants_table as *const _ as usize
7124 },
7125 176usize,
7126 concat!(
7127 "Offset of field: ",
7128 stringify!(_zend_class_entry),
7129 "::",
7130 stringify!(constants_table)
7131 )
7132 );
7133 assert_eq!(
7134 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).constructor as *const _ as usize },
7135 232usize,
7136 concat!(
7137 "Offset of field: ",
7138 stringify!(_zend_class_entry),
7139 "::",
7140 stringify!(constructor)
7141 )
7142 );
7143 assert_eq!(
7144 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).destructor as *const _ as usize },
7145 240usize,
7146 concat!(
7147 "Offset of field: ",
7148 stringify!(_zend_class_entry),
7149 "::",
7150 stringify!(destructor)
7151 )
7152 );
7153 assert_eq!(
7154 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).clone as *const _ as usize },
7155 248usize,
7156 concat!(
7157 "Offset of field: ",
7158 stringify!(_zend_class_entry),
7159 "::",
7160 stringify!(clone)
7161 )
7162 );
7163 assert_eq!(
7164 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__get as *const _ as usize },
7165 256usize,
7166 concat!(
7167 "Offset of field: ",
7168 stringify!(_zend_class_entry),
7169 "::",
7170 stringify!(__get)
7171 )
7172 );
7173 assert_eq!(
7174 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__set as *const _ as usize },
7175 264usize,
7176 concat!(
7177 "Offset of field: ",
7178 stringify!(_zend_class_entry),
7179 "::",
7180 stringify!(__set)
7181 )
7182 );
7183 assert_eq!(
7184 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__unset as *const _ as usize },
7185 272usize,
7186 concat!(
7187 "Offset of field: ",
7188 stringify!(_zend_class_entry),
7189 "::",
7190 stringify!(__unset)
7191 )
7192 );
7193 assert_eq!(
7194 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__isset as *const _ as usize },
7195 280usize,
7196 concat!(
7197 "Offset of field: ",
7198 stringify!(_zend_class_entry),
7199 "::",
7200 stringify!(__isset)
7201 )
7202 );
7203 assert_eq!(
7204 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__call as *const _ as usize },
7205 288usize,
7206 concat!(
7207 "Offset of field: ",
7208 stringify!(_zend_class_entry),
7209 "::",
7210 stringify!(__call)
7211 )
7212 );
7213 assert_eq!(
7214 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__callstatic as *const _ as usize },
7215 296usize,
7216 concat!(
7217 "Offset of field: ",
7218 stringify!(_zend_class_entry),
7219 "::",
7220 stringify!(__callstatic)
7221 )
7222 );
7223 assert_eq!(
7224 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__tostring as *const _ as usize },
7225 304usize,
7226 concat!(
7227 "Offset of field: ",
7228 stringify!(_zend_class_entry),
7229 "::",
7230 stringify!(__tostring)
7231 )
7232 );
7233 assert_eq!(
7234 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__debugInfo as *const _ as usize },
7235 312usize,
7236 concat!(
7237 "Offset of field: ",
7238 stringify!(_zend_class_entry),
7239 "::",
7240 stringify!(__debugInfo)
7241 )
7242 );
7243 assert_eq!(
7244 unsafe {
7245 &(*(::std::ptr::null::<_zend_class_entry>())).serialize_func as *const _ as usize
7246 },
7247 320usize,
7248 concat!(
7249 "Offset of field: ",
7250 stringify!(_zend_class_entry),
7251 "::",
7252 stringify!(serialize_func)
7253 )
7254 );
7255 assert_eq!(
7256 unsafe {
7257 &(*(::std::ptr::null::<_zend_class_entry>())).unserialize_func as *const _ as usize
7258 },
7259 328usize,
7260 concat!(
7261 "Offset of field: ",
7262 stringify!(_zend_class_entry),
7263 "::",
7264 stringify!(unserialize_func)
7265 )
7266 );
7267 assert_eq!(
7268 unsafe {
7269 &(*(::std::ptr::null::<_zend_class_entry>())).iterator_funcs as *const _ as usize
7270 },
7271 336usize,
7272 concat!(
7273 "Offset of field: ",
7274 stringify!(_zend_class_entry),
7275 "::",
7276 stringify!(iterator_funcs)
7277 )
7278 );
7279 assert_eq!(
7280 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).create_object as *const _ as usize },
7281 392usize,
7282 concat!(
7283 "Offset of field: ",
7284 stringify!(_zend_class_entry),
7285 "::",
7286 stringify!(create_object)
7287 )
7288 );
7289 assert_eq!(
7290 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).get_iterator as *const _ as usize },
7291 400usize,
7292 concat!(
7293 "Offset of field: ",
7294 stringify!(_zend_class_entry),
7295 "::",
7296 stringify!(get_iterator)
7297 )
7298 );
7299 assert_eq!(
7300 unsafe {
7301 &(*(::std::ptr::null::<_zend_class_entry>())).interface_gets_implemented as *const _
7302 as usize
7303 },
7304 408usize,
7305 concat!(
7306 "Offset of field: ",
7307 stringify!(_zend_class_entry),
7308 "::",
7309 stringify!(interface_gets_implemented)
7310 )
7311 );
7312 assert_eq!(
7313 unsafe {
7314 &(*(::std::ptr::null::<_zend_class_entry>())).get_static_method as *const _ as usize
7315 },
7316 416usize,
7317 concat!(
7318 "Offset of field: ",
7319 stringify!(_zend_class_entry),
7320 "::",
7321 stringify!(get_static_method)
7322 )
7323 );
7324 assert_eq!(
7325 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).serialize as *const _ as usize },
7326 424usize,
7327 concat!(
7328 "Offset of field: ",
7329 stringify!(_zend_class_entry),
7330 "::",
7331 stringify!(serialize)
7332 )
7333 );
7334 assert_eq!(
7335 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).unserialize as *const _ as usize },
7336 432usize,
7337 concat!(
7338 "Offset of field: ",
7339 stringify!(_zend_class_entry),
7340 "::",
7341 stringify!(unserialize)
7342 )
7343 );
7344 assert_eq!(
7345 unsafe {
7346 &(*(::std::ptr::null::<_zend_class_entry>())).num_interfaces as *const _ as usize
7347 },
7348 440usize,
7349 concat!(
7350 "Offset of field: ",
7351 stringify!(_zend_class_entry),
7352 "::",
7353 stringify!(num_interfaces)
7354 )
7355 );
7356 assert_eq!(
7357 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).num_traits as *const _ as usize },
7358 444usize,
7359 concat!(
7360 "Offset of field: ",
7361 stringify!(_zend_class_entry),
7362 "::",
7363 stringify!(num_traits)
7364 )
7365 );
7366 assert_eq!(
7367 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).interfaces as *const _ as usize },
7368 448usize,
7369 concat!(
7370 "Offset of field: ",
7371 stringify!(_zend_class_entry),
7372 "::",
7373 stringify!(interfaces)
7374 )
7375 );
7376 assert_eq!(
7377 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).traits as *const _ as usize },
7378 456usize,
7379 concat!(
7380 "Offset of field: ",
7381 stringify!(_zend_class_entry),
7382 "::",
7383 stringify!(traits)
7384 )
7385 );
7386 assert_eq!(
7387 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).trait_aliases as *const _ as usize },
7388 464usize,
7389 concat!(
7390 "Offset of field: ",
7391 stringify!(_zend_class_entry),
7392 "::",
7393 stringify!(trait_aliases)
7394 )
7395 );
7396 assert_eq!(
7397 unsafe {
7398 &(*(::std::ptr::null::<_zend_class_entry>())).trait_precedences as *const _ as usize
7399 },
7400 472usize,
7401 concat!(
7402 "Offset of field: ",
7403 stringify!(_zend_class_entry),
7404 "::",
7405 stringify!(trait_precedences)
7406 )
7407 );
7408 assert_eq!(
7409 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).info as *const _ as usize },
7410 480usize,
7411 concat!(
7412 "Offset of field: ",
7413 stringify!(_zend_class_entry),
7414 "::",
7415 stringify!(info)
7416 )
7417 );
7418}
7419#[repr(C)]
7420#[derive(Debug, Copy, Clone)]
7421pub struct _zend_utility_functions {
7422 pub error_function: ::std::option::Option<
7423 unsafe extern "C" fn(
7424 type_: ::std::os::raw::c_int,
7425 error_filename: *const ::std::os::raw::c_char,
7426 error_lineno: uint,
7427 format: *const ::std::os::raw::c_char,
7428 args: *mut __va_list_tag,
7429 ),
7430 >,
7431 pub printf_function: ::std::option::Option<
7432 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> size_t,
7433 >,
7434 pub write_function: ::std::option::Option<
7435 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: size_t) -> size_t,
7436 >,
7437 pub fopen_function: ::std::option::Option<
7438 unsafe extern "C" fn(
7439 filename: *const ::std::os::raw::c_char,
7440 opened_path: *mut *mut zend_string,
7441 ) -> *mut FILE,
7442 >,
7443 pub message_handler: ::std::option::Option<
7444 unsafe extern "C" fn(message: zend_long, data: *const ::std::os::raw::c_void),
7445 >,
7446 pub get_configuration_directive:
7447 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
7448 pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
7449 pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
7450 pub stream_open_function: ::std::option::Option<
7451 unsafe extern "C" fn(
7452 filename: *const ::std::os::raw::c_char,
7453 handle: *mut zend_file_handle,
7454 ) -> ::std::os::raw::c_int,
7455 >,
7456 pub vspprintf_function: ::std::option::Option<
7457 unsafe extern "C" fn(
7458 pbuf: *mut *mut ::std::os::raw::c_char,
7459 max_len: size_t,
7460 format: *const ::std::os::raw::c_char,
7461 ap: *mut __va_list_tag,
7462 ) -> size_t,
7463 >,
7464 pub vstrpprintf_function: ::std::option::Option<
7465 unsafe extern "C" fn(
7466 max_len: size_t,
7467 format: *const ::std::os::raw::c_char,
7468 ap: *mut __va_list_tag,
7469 ) -> *mut zend_string,
7470 >,
7471 pub getenv_function: ::std::option::Option<
7472 unsafe extern "C" fn(
7473 name: *mut ::std::os::raw::c_char,
7474 name_len: size_t,
7475 ) -> *mut ::std::os::raw::c_char,
7476 >,
7477 pub resolve_path_function: ::std::option::Option<
7478 unsafe extern "C" fn(
7479 filename: *const ::std::os::raw::c_char,
7480 filename_len: ::std::os::raw::c_int,
7481 ) -> *mut zend_string,
7482 >,
7483}
7484#[test]
7485fn bindgen_test_layout__zend_utility_functions() {
7486 assert_eq!(
7487 ::std::mem::size_of::<_zend_utility_functions>(),
7488 104usize,
7489 concat!("Size of: ", stringify!(_zend_utility_functions))
7490 );
7491 assert_eq!(
7492 ::std::mem::align_of::<_zend_utility_functions>(),
7493 8usize,
7494 concat!("Alignment of ", stringify!(_zend_utility_functions))
7495 );
7496 assert_eq!(
7497 unsafe {
7498 &(*(::std::ptr::null::<_zend_utility_functions>())).error_function as *const _ as usize
7499 },
7500 0usize,
7501 concat!(
7502 "Offset of field: ",
7503 stringify!(_zend_utility_functions),
7504 "::",
7505 stringify!(error_function)
7506 )
7507 );
7508 assert_eq!(
7509 unsafe {
7510 &(*(::std::ptr::null::<_zend_utility_functions>())).printf_function as *const _ as usize
7511 },
7512 8usize,
7513 concat!(
7514 "Offset of field: ",
7515 stringify!(_zend_utility_functions),
7516 "::",
7517 stringify!(printf_function)
7518 )
7519 );
7520 assert_eq!(
7521 unsafe {
7522 &(*(::std::ptr::null::<_zend_utility_functions>())).write_function as *const _ as usize
7523 },
7524 16usize,
7525 concat!(
7526 "Offset of field: ",
7527 stringify!(_zend_utility_functions),
7528 "::",
7529 stringify!(write_function)
7530 )
7531 );
7532 assert_eq!(
7533 unsafe {
7534 &(*(::std::ptr::null::<_zend_utility_functions>())).fopen_function as *const _ as usize
7535 },
7536 24usize,
7537 concat!(
7538 "Offset of field: ",
7539 stringify!(_zend_utility_functions),
7540 "::",
7541 stringify!(fopen_function)
7542 )
7543 );
7544 assert_eq!(
7545 unsafe {
7546 &(*(::std::ptr::null::<_zend_utility_functions>())).message_handler as *const _ as usize
7547 },
7548 32usize,
7549 concat!(
7550 "Offset of field: ",
7551 stringify!(_zend_utility_functions),
7552 "::",
7553 stringify!(message_handler)
7554 )
7555 );
7556 assert_eq!(
7557 unsafe {
7558 &(*(::std::ptr::null::<_zend_utility_functions>())).get_configuration_directive
7559 as *const _ as usize
7560 },
7561 40usize,
7562 concat!(
7563 "Offset of field: ",
7564 stringify!(_zend_utility_functions),
7565 "::",
7566 stringify!(get_configuration_directive)
7567 )
7568 );
7569 assert_eq!(
7570 unsafe {
7571 &(*(::std::ptr::null::<_zend_utility_functions>())).ticks_function as *const _ as usize
7572 },
7573 48usize,
7574 concat!(
7575 "Offset of field: ",
7576 stringify!(_zend_utility_functions),
7577 "::",
7578 stringify!(ticks_function)
7579 )
7580 );
7581 assert_eq!(
7582 unsafe {
7583 &(*(::std::ptr::null::<_zend_utility_functions>())).on_timeout as *const _ as usize
7584 },
7585 56usize,
7586 concat!(
7587 "Offset of field: ",
7588 stringify!(_zend_utility_functions),
7589 "::",
7590 stringify!(on_timeout)
7591 )
7592 );
7593 assert_eq!(
7594 unsafe {
7595 &(*(::std::ptr::null::<_zend_utility_functions>())).stream_open_function as *const _
7596 as usize
7597 },
7598 64usize,
7599 concat!(
7600 "Offset of field: ",
7601 stringify!(_zend_utility_functions),
7602 "::",
7603 stringify!(stream_open_function)
7604 )
7605 );
7606 assert_eq!(
7607 unsafe {
7608 &(*(::std::ptr::null::<_zend_utility_functions>())).vspprintf_function as *const _
7609 as usize
7610 },
7611 72usize,
7612 concat!(
7613 "Offset of field: ",
7614 stringify!(_zend_utility_functions),
7615 "::",
7616 stringify!(vspprintf_function)
7617 )
7618 );
7619 assert_eq!(
7620 unsafe {
7621 &(*(::std::ptr::null::<_zend_utility_functions>())).vstrpprintf_function as *const _
7622 as usize
7623 },
7624 80usize,
7625 concat!(
7626 "Offset of field: ",
7627 stringify!(_zend_utility_functions),
7628 "::",
7629 stringify!(vstrpprintf_function)
7630 )
7631 );
7632 assert_eq!(
7633 unsafe {
7634 &(*(::std::ptr::null::<_zend_utility_functions>())).getenv_function as *const _ as usize
7635 },
7636 88usize,
7637 concat!(
7638 "Offset of field: ",
7639 stringify!(_zend_utility_functions),
7640 "::",
7641 stringify!(getenv_function)
7642 )
7643 );
7644 assert_eq!(
7645 unsafe {
7646 &(*(::std::ptr::null::<_zend_utility_functions>())).resolve_path_function as *const _
7647 as usize
7648 },
7649 96usize,
7650 concat!(
7651 "Offset of field: ",
7652 stringify!(_zend_utility_functions),
7653 "::",
7654 stringify!(resolve_path_function)
7655 )
7656 );
7657}
7658pub type zend_utility_functions = _zend_utility_functions;
7659#[repr(C)]
7660#[derive(Debug, Copy, Clone)]
7661pub struct _zend_utility_values {
7662 pub import_use_extension: *mut ::std::os::raw::c_char,
7663 pub import_use_extension_length: uint,
7664 pub html_errors: zend_bool,
7665}
7666#[test]
7667fn bindgen_test_layout__zend_utility_values() {
7668 assert_eq!(
7669 ::std::mem::size_of::<_zend_utility_values>(),
7670 16usize,
7671 concat!("Size of: ", stringify!(_zend_utility_values))
7672 );
7673 assert_eq!(
7674 ::std::mem::align_of::<_zend_utility_values>(),
7675 8usize,
7676 concat!("Alignment of ", stringify!(_zend_utility_values))
7677 );
7678 assert_eq!(
7679 unsafe {
7680 &(*(::std::ptr::null::<_zend_utility_values>())).import_use_extension as *const _
7681 as usize
7682 },
7683 0usize,
7684 concat!(
7685 "Offset of field: ",
7686 stringify!(_zend_utility_values),
7687 "::",
7688 stringify!(import_use_extension)
7689 )
7690 );
7691 assert_eq!(
7692 unsafe {
7693 &(*(::std::ptr::null::<_zend_utility_values>())).import_use_extension_length as *const _
7694 as usize
7695 },
7696 8usize,
7697 concat!(
7698 "Offset of field: ",
7699 stringify!(_zend_utility_values),
7700 "::",
7701 stringify!(import_use_extension_length)
7702 )
7703 );
7704 assert_eq!(
7705 unsafe {
7706 &(*(::std::ptr::null::<_zend_utility_values>())).html_errors as *const _ as usize
7707 },
7708 12usize,
7709 concat!(
7710 "Offset of field: ",
7711 stringify!(_zend_utility_values),
7712 "::",
7713 stringify!(html_errors)
7714 )
7715 );
7716}
7717pub type zend_utility_values = _zend_utility_values;
7718pub type zend_write_func_t = ::std::option::Option<
7719 unsafe extern "C" fn(
7720 str_: *const ::std::os::raw::c_char,
7721 str_length: size_t,
7722 ) -> ::std::os::raw::c_int,
7723>;
7724extern "C" {
7725 pub fn zend_startup(
7726 utility_functions: *mut zend_utility_functions,
7727 extensions: *mut *mut ::std::os::raw::c_char,
7728 ) -> ::std::os::raw::c_int;
7729}
7730extern "C" {
7731 pub fn zend_shutdown();
7732}
7733extern "C" {
7734 pub fn zend_register_standard_ini_entries();
7735}
7736extern "C" {
7737 pub fn zend_post_startup();
7738}
7739extern "C" {
7740 pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
7741}
7742extern "C" {
7743 pub fn _zend_bailout(filename: *mut ::std::os::raw::c_char, lineno: uint);
7744}
7745extern "C" {
7746 pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval)
7747 -> ::std::os::raw::c_int;
7748}
7749extern "C" {
7750 pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> size_t;
7751}
7752extern "C" {
7753 pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
7754}
7755extern "C" {
7756 pub fn zend_print_zval_r_to_str(
7757 expr: *mut zval,
7758 indent: ::std::os::raw::c_int,
7759 ) -> *mut zend_string;
7760}
7761extern "C" {
7762 pub fn zend_print_flat_zval_r(expr: *mut zval);
7763}
7764extern "C" {
7765 pub fn zend_output_debug_string(
7766 trigger_break: zend_bool,
7767 format: *const ::std::os::raw::c_char,
7768 ...
7769 );
7770}
7771extern "C" {
7772 pub fn zend_activate();
7773}
7774extern "C" {
7775 pub fn zend_deactivate();
7776}
7777extern "C" {
7778 pub fn zend_call_destructors();
7779}
7780extern "C" {
7781 pub fn zend_activate_modules();
7782}
7783extern "C" {
7784 pub fn zend_deactivate_modules();
7785}
7786extern "C" {
7787 pub fn zend_post_deactivate_modules();
7788}
7789extern "C" {
7790 pub static mut zend_printf: ::std::option::Option<
7791 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> size_t,
7792 >;
7793}
7794extern "C" {
7795 pub static mut zend_write: zend_write_func_t;
7796}
7797extern "C" {
7798 pub static mut zend_fopen: ::std::option::Option<
7799 unsafe extern "C" fn(
7800 filename: *const ::std::os::raw::c_char,
7801 opened_path: *mut *mut zend_string,
7802 ) -> *mut FILE,
7803 >;
7804}
7805extern "C" {
7806 pub static mut zend_ticks_function:
7807 ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
7808}
7809extern "C" {
7810 pub static mut zend_interrupt_function:
7811 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
7812}
7813extern "C" {
7814 pub static mut zend_error_cb: ::std::option::Option<
7815 unsafe extern "C" fn(
7816 type_: ::std::os::raw::c_int,
7817 error_filename: *const ::std::os::raw::c_char,
7818 error_lineno: uint,
7819 format: *const ::std::os::raw::c_char,
7820 args: *mut __va_list_tag,
7821 ),
7822 >;
7823}
7824extern "C" {
7825 pub static mut zend_on_timeout:
7826 ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
7827}
7828extern "C" {
7829 pub static mut zend_stream_open_function: ::std::option::Option<
7830 unsafe extern "C" fn(
7831 filename: *const ::std::os::raw::c_char,
7832 handle: *mut zend_file_handle,
7833 ) -> ::std::os::raw::c_int,
7834 >;
7835}
7836extern "C" {
7837 pub static mut zend_vspprintf: ::std::option::Option<
7838 unsafe extern "C" fn(
7839 pbuf: *mut *mut ::std::os::raw::c_char,
7840 max_len: size_t,
7841 format: *const ::std::os::raw::c_char,
7842 ap: *mut __va_list_tag,
7843 ) -> size_t,
7844 >;
7845}
7846extern "C" {
7847 pub static mut zend_vstrpprintf: ::std::option::Option<
7848 unsafe extern "C" fn(
7849 max_len: size_t,
7850 format: *const ::std::os::raw::c_char,
7851 ap: *mut __va_list_tag,
7852 ) -> *mut zend_string,
7853 >;
7854}
7855extern "C" {
7856 pub static mut zend_getenv: ::std::option::Option<
7857 unsafe extern "C" fn(
7858 name: *mut ::std::os::raw::c_char,
7859 name_len: size_t,
7860 ) -> *mut ::std::os::raw::c_char,
7861 >;
7862}
7863extern "C" {
7864 pub static mut zend_resolve_path: ::std::option::Option<
7865 unsafe extern "C" fn(
7866 filename: *const ::std::os::raw::c_char,
7867 filename_len: ::std::os::raw::c_int,
7868 ) -> *mut zend_string,
7869 >;
7870}
7871extern "C" {
7872 pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
7873}
7874extern "C" {
7875 pub fn zend_throw_error(
7876 exception_ce: *mut zend_class_entry,
7877 format: *const ::std::os::raw::c_char,
7878 ...
7879 );
7880}
7881extern "C" {
7882 pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
7883}
7884extern "C" {
7885 pub fn zend_internal_type_error(
7886 throw_exception: zend_bool,
7887 format: *const ::std::os::raw::c_char,
7888 ...
7889 );
7890}
7891extern "C" {
7892 pub fn zend_internal_argument_count_error(
7893 throw_exception: zend_bool,
7894 format: *const ::std::os::raw::c_char,
7895 ...
7896 );
7897}
7898extern "C" {
7899 pub fn zenderror(error: *const ::std::os::raw::c_char);
7900}
7901extern "C" {
7902 pub static mut zend_standard_class_def: *mut zend_class_entry;
7903}
7904extern "C" {
7905 pub static mut zend_uv: zend_utility_values;
7906}
7907extern "C" {
7908 pub static mut zend_dtrace_enabled: zend_bool;
7909}
7910extern "C" {
7911 pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
7912}
7913extern "C" {
7914 pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
7915}
7916pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
7917pub const zend_error_handling_t_EH_SUPPRESS: zend_error_handling_t = 1;
7918pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 2;
7919pub type zend_error_handling_t = ::std::os::raw::c_uint;
7920#[repr(C)]
7921#[derive(Copy, Clone)]
7922pub struct zend_error_handling {
7923 pub handling: zend_error_handling_t,
7924 pub exception: *mut zend_class_entry,
7925 pub user_handler: zval,
7926}
7927#[test]
7928fn bindgen_test_layout_zend_error_handling() {
7929 assert_eq!(
7930 ::std::mem::size_of::<zend_error_handling>(),
7931 32usize,
7932 concat!("Size of: ", stringify!(zend_error_handling))
7933 );
7934 assert_eq!(
7935 ::std::mem::align_of::<zend_error_handling>(),
7936 8usize,
7937 concat!("Alignment of ", stringify!(zend_error_handling))
7938 );
7939 assert_eq!(
7940 unsafe { &(*(::std::ptr::null::<zend_error_handling>())).handling as *const _ as usize },
7941 0usize,
7942 concat!(
7943 "Offset of field: ",
7944 stringify!(zend_error_handling),
7945 "::",
7946 stringify!(handling)
7947 )
7948 );
7949 assert_eq!(
7950 unsafe { &(*(::std::ptr::null::<zend_error_handling>())).exception as *const _ as usize },
7951 8usize,
7952 concat!(
7953 "Offset of field: ",
7954 stringify!(zend_error_handling),
7955 "::",
7956 stringify!(exception)
7957 )
7958 );
7959 assert_eq!(
7960 unsafe {
7961 &(*(::std::ptr::null::<zend_error_handling>())).user_handler as *const _ as usize
7962 },
7963 16usize,
7964 concat!(
7965 "Offset of field: ",
7966 stringify!(zend_error_handling),
7967 "::",
7968 stringify!(user_handler)
7969 )
7970 );
7971}
7972extern "C" {
7973 pub fn zend_save_error_handling(current: *mut zend_error_handling);
7974}
7975extern "C" {
7976 pub fn zend_replace_error_handling(
7977 error_handling: zend_error_handling_t,
7978 exception_class: *mut zend_class_entry,
7979 current: *mut zend_error_handling,
7980 );
7981}
7982extern "C" {
7983 pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
7984}
7985pub type zend_object_read_property_t = ::std::option::Option<
7986 unsafe extern "C" fn(
7987 object: *mut zval,
7988 member: *mut zval,
7989 type_: ::std::os::raw::c_int,
7990 cache_slot: *mut *mut ::std::os::raw::c_void,
7991 rv: *mut zval,
7992 ) -> *mut zval,
7993>;
7994pub type zend_object_read_dimension_t = ::std::option::Option<
7995 unsafe extern "C" fn(
7996 object: *mut zval,
7997 offset: *mut zval,
7998 type_: ::std::os::raw::c_int,
7999 rv: *mut zval,
8000 ) -> *mut zval,
8001>;
8002pub type zend_object_write_property_t = ::std::option::Option<
8003 unsafe extern "C" fn(
8004 object: *mut zval,
8005 member: *mut zval,
8006 value: *mut zval,
8007 cache_slot: *mut *mut ::std::os::raw::c_void,
8008 ),
8009>;
8010pub type zend_object_write_dimension_t = ::std::option::Option<
8011 unsafe extern "C" fn(object: *mut zval, offset: *mut zval, value: *mut zval),
8012>;
8013pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
8014 unsafe extern "C" fn(
8015 object: *mut zval,
8016 member: *mut zval,
8017 type_: ::std::os::raw::c_int,
8018 cache_slot: *mut *mut ::std::os::raw::c_void,
8019 ) -> *mut zval,
8020>;
8021pub type zend_object_set_t =
8022 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, value: *mut zval)>;
8023pub type zend_object_get_t =
8024 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, rv: *mut zval) -> *mut zval>;
8025pub type zend_object_has_property_t = ::std::option::Option<
8026 unsafe extern "C" fn(
8027 object: *mut zval,
8028 member: *mut zval,
8029 has_set_exists: ::std::os::raw::c_int,
8030 cache_slot: *mut *mut ::std::os::raw::c_void,
8031 ) -> ::std::os::raw::c_int,
8032>;
8033pub type zend_object_has_dimension_t = ::std::option::Option<
8034 unsafe extern "C" fn(
8035 object: *mut zval,
8036 member: *mut zval,
8037 check_empty: ::std::os::raw::c_int,
8038 ) -> ::std::os::raw::c_int,
8039>;
8040pub type zend_object_unset_property_t = ::std::option::Option<
8041 unsafe extern "C" fn(
8042 object: *mut zval,
8043 member: *mut zval,
8044 cache_slot: *mut *mut ::std::os::raw::c_void,
8045 ),
8046>;
8047pub type zend_object_unset_dimension_t =
8048 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, offset: *mut zval)>;
8049pub type zend_object_get_properties_t =
8050 ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut HashTable>;
8051pub type zend_object_get_debug_info_t = ::std::option::Option<
8052 unsafe extern "C" fn(object: *mut zval, is_temp: *mut ::std::os::raw::c_int) -> *mut HashTable,
8053>;
8054pub type zend_object_call_method_t = ::std::option::Option<
8055 unsafe extern "C" fn(
8056 method: *mut zend_string,
8057 object: *mut zend_object,
8058 execute_data: *mut zend_execute_data,
8059 return_value: *mut zval,
8060 ) -> ::std::os::raw::c_int,
8061>;
8062pub type zend_object_get_method_t = ::std::option::Option<
8063 unsafe extern "C" fn(
8064 object: *mut *mut zend_object,
8065 method: *mut zend_string,
8066 key: *const zval,
8067 ) -> *mut _zend_function,
8068>;
8069pub type zend_object_get_constructor_t =
8070 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut _zend_function>;
8071pub type zend_object_dtor_obj_t =
8072 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
8073pub type zend_object_free_obj_t =
8074 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
8075pub type zend_object_clone_obj_t =
8076 ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut zend_object>;
8077pub type zend_object_get_class_name_t =
8078 ::std::option::Option<unsafe extern "C" fn(object: *const zend_object) -> *mut zend_string>;
8079pub type zend_object_compare_t = ::std::option::Option<
8080 unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
8081>;
8082pub type zend_object_compare_zvals_t = ::std::option::Option<
8083 unsafe extern "C" fn(resul: *mut zval, op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int,
8084>;
8085pub type zend_object_cast_t = ::std::option::Option<
8086 unsafe extern "C" fn(
8087 readobj: *mut zval,
8088 retval: *mut zval,
8089 type_: ::std::os::raw::c_int,
8090 ) -> ::std::os::raw::c_int,
8091>;
8092pub type zend_object_count_elements_t = ::std::option::Option<
8093 unsafe extern "C" fn(object: *mut zval, count: *mut zend_long) -> ::std::os::raw::c_int,
8094>;
8095pub type zend_object_get_closure_t = ::std::option::Option<
8096 unsafe extern "C" fn(
8097 obj: *mut zval,
8098 ce_ptr: *mut *mut zend_class_entry,
8099 fptr_ptr: *mut *mut _zend_function,
8100 obj_ptr: *mut *mut zend_object,
8101 ) -> ::std::os::raw::c_int,
8102>;
8103pub type zend_object_get_gc_t = ::std::option::Option<
8104 unsafe extern "C" fn(
8105 object: *mut zval,
8106 table: *mut *mut zval,
8107 n: *mut ::std::os::raw::c_int,
8108 ) -> *mut HashTable,
8109>;
8110pub type zend_object_do_operation_t = ::std::option::Option<
8111 unsafe extern "C" fn(
8112 opcode: zend_uchar,
8113 result: *mut zval,
8114 op1: *mut zval,
8115 op2: *mut zval,
8116 ) -> ::std::os::raw::c_int,
8117>;
8118#[repr(C)]
8119#[derive(Debug, Copy, Clone)]
8120pub struct _zend_object_handlers {
8121 pub offset: ::std::os::raw::c_int,
8122 pub free_obj: zend_object_free_obj_t,
8123 pub dtor_obj: zend_object_dtor_obj_t,
8124 pub clone_obj: zend_object_clone_obj_t,
8125 pub read_property: zend_object_read_property_t,
8126 pub write_property: zend_object_write_property_t,
8127 pub read_dimension: zend_object_read_dimension_t,
8128 pub write_dimension: zend_object_write_dimension_t,
8129 pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
8130 pub get: zend_object_get_t,
8131 pub set: zend_object_set_t,
8132 pub has_property: zend_object_has_property_t,
8133 pub unset_property: zend_object_unset_property_t,
8134 pub has_dimension: zend_object_has_dimension_t,
8135 pub unset_dimension: zend_object_unset_dimension_t,
8136 pub get_properties: zend_object_get_properties_t,
8137 pub get_method: zend_object_get_method_t,
8138 pub call_method: zend_object_call_method_t,
8139 pub get_constructor: zend_object_get_constructor_t,
8140 pub get_class_name: zend_object_get_class_name_t,
8141 pub compare_objects: zend_object_compare_t,
8142 pub cast_object: zend_object_cast_t,
8143 pub count_elements: zend_object_count_elements_t,
8144 pub get_debug_info: zend_object_get_debug_info_t,
8145 pub get_closure: zend_object_get_closure_t,
8146 pub get_gc: zend_object_get_gc_t,
8147 pub do_operation: zend_object_do_operation_t,
8148 pub compare: zend_object_compare_zvals_t,
8149}
8150#[test]
8151fn bindgen_test_layout__zend_object_handlers() {
8152 assert_eq!(
8153 ::std::mem::size_of::<_zend_object_handlers>(),
8154 224usize,
8155 concat!("Size of: ", stringify!(_zend_object_handlers))
8156 );
8157 assert_eq!(
8158 ::std::mem::align_of::<_zend_object_handlers>(),
8159 8usize,
8160 concat!("Alignment of ", stringify!(_zend_object_handlers))
8161 );
8162 assert_eq!(
8163 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).offset as *const _ as usize },
8164 0usize,
8165 concat!(
8166 "Offset of field: ",
8167 stringify!(_zend_object_handlers),
8168 "::",
8169 stringify!(offset)
8170 )
8171 );
8172 assert_eq!(
8173 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).free_obj as *const _ as usize },
8174 8usize,
8175 concat!(
8176 "Offset of field: ",
8177 stringify!(_zend_object_handlers),
8178 "::",
8179 stringify!(free_obj)
8180 )
8181 );
8182 assert_eq!(
8183 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).dtor_obj as *const _ as usize },
8184 16usize,
8185 concat!(
8186 "Offset of field: ",
8187 stringify!(_zend_object_handlers),
8188 "::",
8189 stringify!(dtor_obj)
8190 )
8191 );
8192 assert_eq!(
8193 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).clone_obj as *const _ as usize },
8194 24usize,
8195 concat!(
8196 "Offset of field: ",
8197 stringify!(_zend_object_handlers),
8198 "::",
8199 stringify!(clone_obj)
8200 )
8201 );
8202 assert_eq!(
8203 unsafe {
8204 &(*(::std::ptr::null::<_zend_object_handlers>())).read_property as *const _ as usize
8205 },
8206 32usize,
8207 concat!(
8208 "Offset of field: ",
8209 stringify!(_zend_object_handlers),
8210 "::",
8211 stringify!(read_property)
8212 )
8213 );
8214 assert_eq!(
8215 unsafe {
8216 &(*(::std::ptr::null::<_zend_object_handlers>())).write_property as *const _ as usize
8217 },
8218 40usize,
8219 concat!(
8220 "Offset of field: ",
8221 stringify!(_zend_object_handlers),
8222 "::",
8223 stringify!(write_property)
8224 )
8225 );
8226 assert_eq!(
8227 unsafe {
8228 &(*(::std::ptr::null::<_zend_object_handlers>())).read_dimension as *const _ as usize
8229 },
8230 48usize,
8231 concat!(
8232 "Offset of field: ",
8233 stringify!(_zend_object_handlers),
8234 "::",
8235 stringify!(read_dimension)
8236 )
8237 );
8238 assert_eq!(
8239 unsafe {
8240 &(*(::std::ptr::null::<_zend_object_handlers>())).write_dimension as *const _ as usize
8241 },
8242 56usize,
8243 concat!(
8244 "Offset of field: ",
8245 stringify!(_zend_object_handlers),
8246 "::",
8247 stringify!(write_dimension)
8248 )
8249 );
8250 assert_eq!(
8251 unsafe {
8252 &(*(::std::ptr::null::<_zend_object_handlers>())).get_property_ptr_ptr as *const _
8253 as usize
8254 },
8255 64usize,
8256 concat!(
8257 "Offset of field: ",
8258 stringify!(_zend_object_handlers),
8259 "::",
8260 stringify!(get_property_ptr_ptr)
8261 )
8262 );
8263 assert_eq!(
8264 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).get as *const _ as usize },
8265 72usize,
8266 concat!(
8267 "Offset of field: ",
8268 stringify!(_zend_object_handlers),
8269 "::",
8270 stringify!(get)
8271 )
8272 );
8273 assert_eq!(
8274 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).set as *const _ as usize },
8275 80usize,
8276 concat!(
8277 "Offset of field: ",
8278 stringify!(_zend_object_handlers),
8279 "::",
8280 stringify!(set)
8281 )
8282 );
8283 assert_eq!(
8284 unsafe {
8285 &(*(::std::ptr::null::<_zend_object_handlers>())).has_property as *const _ as usize
8286 },
8287 88usize,
8288 concat!(
8289 "Offset of field: ",
8290 stringify!(_zend_object_handlers),
8291 "::",
8292 stringify!(has_property)
8293 )
8294 );
8295 assert_eq!(
8296 unsafe {
8297 &(*(::std::ptr::null::<_zend_object_handlers>())).unset_property as *const _ as usize
8298 },
8299 96usize,
8300 concat!(
8301 "Offset of field: ",
8302 stringify!(_zend_object_handlers),
8303 "::",
8304 stringify!(unset_property)
8305 )
8306 );
8307 assert_eq!(
8308 unsafe {
8309 &(*(::std::ptr::null::<_zend_object_handlers>())).has_dimension as *const _ as usize
8310 },
8311 104usize,
8312 concat!(
8313 "Offset of field: ",
8314 stringify!(_zend_object_handlers),
8315 "::",
8316 stringify!(has_dimension)
8317 )
8318 );
8319 assert_eq!(
8320 unsafe {
8321 &(*(::std::ptr::null::<_zend_object_handlers>())).unset_dimension as *const _ as usize
8322 },
8323 112usize,
8324 concat!(
8325 "Offset of field: ",
8326 stringify!(_zend_object_handlers),
8327 "::",
8328 stringify!(unset_dimension)
8329 )
8330 );
8331 assert_eq!(
8332 unsafe {
8333 &(*(::std::ptr::null::<_zend_object_handlers>())).get_properties as *const _ as usize
8334 },
8335 120usize,
8336 concat!(
8337 "Offset of field: ",
8338 stringify!(_zend_object_handlers),
8339 "::",
8340 stringify!(get_properties)
8341 )
8342 );
8343 assert_eq!(
8344 unsafe {
8345 &(*(::std::ptr::null::<_zend_object_handlers>())).get_method as *const _ as usize
8346 },
8347 128usize,
8348 concat!(
8349 "Offset of field: ",
8350 stringify!(_zend_object_handlers),
8351 "::",
8352 stringify!(get_method)
8353 )
8354 );
8355 assert_eq!(
8356 unsafe {
8357 &(*(::std::ptr::null::<_zend_object_handlers>())).call_method as *const _ as usize
8358 },
8359 136usize,
8360 concat!(
8361 "Offset of field: ",
8362 stringify!(_zend_object_handlers),
8363 "::",
8364 stringify!(call_method)
8365 )
8366 );
8367 assert_eq!(
8368 unsafe {
8369 &(*(::std::ptr::null::<_zend_object_handlers>())).get_constructor as *const _ as usize
8370 },
8371 144usize,
8372 concat!(
8373 "Offset of field: ",
8374 stringify!(_zend_object_handlers),
8375 "::",
8376 stringify!(get_constructor)
8377 )
8378 );
8379 assert_eq!(
8380 unsafe {
8381 &(*(::std::ptr::null::<_zend_object_handlers>())).get_class_name as *const _ as usize
8382 },
8383 152usize,
8384 concat!(
8385 "Offset of field: ",
8386 stringify!(_zend_object_handlers),
8387 "::",
8388 stringify!(get_class_name)
8389 )
8390 );
8391 assert_eq!(
8392 unsafe {
8393 &(*(::std::ptr::null::<_zend_object_handlers>())).compare_objects as *const _ as usize
8394 },
8395 160usize,
8396 concat!(
8397 "Offset of field: ",
8398 stringify!(_zend_object_handlers),
8399 "::",
8400 stringify!(compare_objects)
8401 )
8402 );
8403 assert_eq!(
8404 unsafe {
8405 &(*(::std::ptr::null::<_zend_object_handlers>())).cast_object as *const _ as usize
8406 },
8407 168usize,
8408 concat!(
8409 "Offset of field: ",
8410 stringify!(_zend_object_handlers),
8411 "::",
8412 stringify!(cast_object)
8413 )
8414 );
8415 assert_eq!(
8416 unsafe {
8417 &(*(::std::ptr::null::<_zend_object_handlers>())).count_elements as *const _ as usize
8418 },
8419 176usize,
8420 concat!(
8421 "Offset of field: ",
8422 stringify!(_zend_object_handlers),
8423 "::",
8424 stringify!(count_elements)
8425 )
8426 );
8427 assert_eq!(
8428 unsafe {
8429 &(*(::std::ptr::null::<_zend_object_handlers>())).get_debug_info as *const _ as usize
8430 },
8431 184usize,
8432 concat!(
8433 "Offset of field: ",
8434 stringify!(_zend_object_handlers),
8435 "::",
8436 stringify!(get_debug_info)
8437 )
8438 );
8439 assert_eq!(
8440 unsafe {
8441 &(*(::std::ptr::null::<_zend_object_handlers>())).get_closure as *const _ as usize
8442 },
8443 192usize,
8444 concat!(
8445 "Offset of field: ",
8446 stringify!(_zend_object_handlers),
8447 "::",
8448 stringify!(get_closure)
8449 )
8450 );
8451 assert_eq!(
8452 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).get_gc as *const _ as usize },
8453 200usize,
8454 concat!(
8455 "Offset of field: ",
8456 stringify!(_zend_object_handlers),
8457 "::",
8458 stringify!(get_gc)
8459 )
8460 );
8461 assert_eq!(
8462 unsafe {
8463 &(*(::std::ptr::null::<_zend_object_handlers>())).do_operation as *const _ as usize
8464 },
8465 208usize,
8466 concat!(
8467 "Offset of field: ",
8468 stringify!(_zend_object_handlers),
8469 "::",
8470 stringify!(do_operation)
8471 )
8472 );
8473 assert_eq!(
8474 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).compare as *const _ as usize },
8475 216usize,
8476 concat!(
8477 "Offset of field: ",
8478 stringify!(_zend_object_handlers),
8479 "::",
8480 stringify!(compare)
8481 )
8482 );
8483}
8484extern "C" {
8485 pub static mut std_object_handlers: zend_object_handlers;
8486}
8487extern "C" {
8488 pub fn zend_std_get_static_method(
8489 ce: *mut zend_class_entry,
8490 function_name_strval: *mut zend_string,
8491 key: *const zval,
8492 ) -> *mut _zend_function;
8493}
8494extern "C" {
8495 pub fn zend_std_get_static_property(
8496 ce: *mut zend_class_entry,
8497 property_name: *mut zend_string,
8498 silent: zend_bool,
8499 ) -> *mut zval;
8500}
8501extern "C" {
8502 pub fn zend_std_unset_static_property(
8503 ce: *mut zend_class_entry,
8504 property_name: *mut zend_string,
8505 ) -> zend_bool;
8506}
8507extern "C" {
8508 pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut _zend_function;
8509}
8510extern "C" {
8511 pub fn zend_get_property_info(
8512 ce: *mut zend_class_entry,
8513 member: *mut zend_string,
8514 silent: ::std::os::raw::c_int,
8515 ) -> *mut _zend_property_info;
8516}
8517extern "C" {
8518 pub fn zend_std_get_properties(object: *mut zval) -> *mut HashTable;
8519}
8520extern "C" {
8521 pub fn zend_std_get_debug_info(
8522 object: *mut zval,
8523 is_temp: *mut ::std::os::raw::c_int,
8524 ) -> *mut HashTable;
8525}
8526extern "C" {
8527 pub fn zend_std_cast_object_tostring(
8528 readobj: *mut zval,
8529 writeobj: *mut zval,
8530 type_: ::std::os::raw::c_int,
8531 ) -> ::std::os::raw::c_int;
8532}
8533extern "C" {
8534 pub fn zend_std_write_property(
8535 object: *mut zval,
8536 member: *mut zval,
8537 value: *mut zval,
8538 cache_slot: *mut *mut ::std::os::raw::c_void,
8539 );
8540}
8541extern "C" {
8542 pub fn zend_check_private(
8543 fbc: *mut _zend_function,
8544 ce: *mut zend_class_entry,
8545 function_name: *mut zend_string,
8546 ) -> ::std::os::raw::c_int;
8547}
8548extern "C" {
8549 pub fn zend_check_protected(
8550 ce: *mut zend_class_entry,
8551 scope: *mut zend_class_entry,
8552 ) -> ::std::os::raw::c_int;
8553}
8554extern "C" {
8555 pub fn zend_check_property_access(
8556 zobj: *mut zend_object,
8557 prop_info_name: *mut zend_string,
8558 ) -> ::std::os::raw::c_int;
8559}
8560extern "C" {
8561 pub fn zend_get_call_trampoline_func(
8562 ce: *mut zend_class_entry,
8563 method_name: *mut zend_string,
8564 is_static: ::std::os::raw::c_int,
8565 ) -> *mut zend_function;
8566}
8567extern "C" {
8568 pub fn zend_get_property_guard(zobj: *mut zend_object, member: *mut zend_string) -> *mut u32;
8569}
8570extern "C" {
8571 pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
8572}
8573extern "C" {
8574 pub fn zend_dtoa(
8575 _d: f64,
8576 mode: ::std::os::raw::c_int,
8577 ndigits: ::std::os::raw::c_int,
8578 decpt: *mut ::std::os::raw::c_int,
8579 sign: *mut ::std::os::raw::c_int,
8580 rve: *mut *mut ::std::os::raw::c_char,
8581 ) -> *mut ::std::os::raw::c_char;
8582}
8583extern "C" {
8584 pub fn zend_strtod(
8585 s00: *const ::std::os::raw::c_char,
8586 se: *mut *const ::std::os::raw::c_char,
8587 ) -> f64;
8588}
8589extern "C" {
8590 pub fn zend_hex_strtod(
8591 str_: *const ::std::os::raw::c_char,
8592 endptr: *mut *const ::std::os::raw::c_char,
8593 ) -> f64;
8594}
8595extern "C" {
8596 pub fn zend_oct_strtod(
8597 str_: *const ::std::os::raw::c_char,
8598 endptr: *mut *const ::std::os::raw::c_char,
8599 ) -> f64;
8600}
8601extern "C" {
8602 pub fn zend_bin_strtod(
8603 str_: *const ::std::os::raw::c_char,
8604 endptr: *mut *const ::std::os::raw::c_char,
8605 ) -> f64;
8606}
8607extern "C" {
8608 pub fn zend_startup_strtod() -> ::std::os::raw::c_int;
8609}
8610extern "C" {
8611 pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
8612}
8613extern "C" {
8614 pub fn zend_is_identical(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
8615}
8616extern "C" {
8617 pub fn zend_memnstr_ex(
8618 haystack: *const ::std::os::raw::c_char,
8619 needle: *const ::std::os::raw::c_char,
8620 needle_len: size_t,
8621 end: *const ::std::os::raw::c_char,
8622 ) -> *const ::std::os::raw::c_char;
8623}
8624extern "C" {
8625 pub fn zend_memnrstr_ex(
8626 haystack: *const ::std::os::raw::c_char,
8627 needle: *const ::std::os::raw::c_char,
8628 needle_len: size_t,
8629 end: *const ::std::os::raw::c_char,
8630 ) -> *const ::std::os::raw::c_char;
8631}
8632extern "C" {
8633 pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
8634}
8635extern "C" {
8636 pub fn zend_is_true(op: *mut zval) -> ::std::os::raw::c_int;
8637}
8638extern "C" {
8639 pub fn zend_object_is_true(op: *mut zval) -> ::std::os::raw::c_int;
8640}
8641extern "C" {
8642 pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: size_t);
8643}
8644extern "C" {
8645 pub fn zend_str_tolower_copy(
8646 dest: *mut ::std::os::raw::c_char,
8647 source: *const ::std::os::raw::c_char,
8648 length: size_t,
8649 ) -> *mut ::std::os::raw::c_char;
8650}
8651extern "C" {
8652 pub fn zend_str_tolower_dup(
8653 source: *const ::std::os::raw::c_char,
8654 length: size_t,
8655 ) -> *mut ::std::os::raw::c_char;
8656}
8657extern "C" {
8658 pub fn zend_str_tolower_dup_ex(
8659 source: *const ::std::os::raw::c_char,
8660 length: size_t,
8661 ) -> *mut ::std::os::raw::c_char;
8662}
8663extern "C" {
8664 pub fn zend_string_tolower(str_: *mut zend_string) -> *mut zend_string;
8665}
8666extern "C" {
8667 pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
8668}
8669extern "C" {
8670 pub fn zend_binary_zval_strncmp(
8671 s1: *mut zval,
8672 s2: *mut zval,
8673 s3: *mut zval,
8674 ) -> ::std::os::raw::c_int;
8675}
8676extern "C" {
8677 pub fn zend_binary_zval_strcasecmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
8678}
8679extern "C" {
8680 pub fn zend_binary_zval_strncasecmp(
8681 s1: *mut zval,
8682 s2: *mut zval,
8683 s3: *mut zval,
8684 ) -> ::std::os::raw::c_int;
8685}
8686extern "C" {
8687 pub fn zend_binary_strcmp(
8688 s1: *const ::std::os::raw::c_char,
8689 len1: size_t,
8690 s2: *const ::std::os::raw::c_char,
8691 len2: size_t,
8692 ) -> ::std::os::raw::c_int;
8693}
8694extern "C" {
8695 pub fn zend_binary_strncmp(
8696 s1: *const ::std::os::raw::c_char,
8697 len1: size_t,
8698 s2: *const ::std::os::raw::c_char,
8699 len2: size_t,
8700 length: size_t,
8701 ) -> ::std::os::raw::c_int;
8702}
8703extern "C" {
8704 pub fn zend_binary_strcasecmp(
8705 s1: *const ::std::os::raw::c_char,
8706 len1: size_t,
8707 s2: *const ::std::os::raw::c_char,
8708 len2: size_t,
8709 ) -> ::std::os::raw::c_int;
8710}
8711extern "C" {
8712 pub fn zend_binary_strncasecmp(
8713 s1: *const ::std::os::raw::c_char,
8714 len1: size_t,
8715 s2: *const ::std::os::raw::c_char,
8716 len2: size_t,
8717 length: size_t,
8718 ) -> ::std::os::raw::c_int;
8719}
8720extern "C" {
8721 pub fn zend_binary_strcasecmp_l(
8722 s1: *const ::std::os::raw::c_char,
8723 len1: size_t,
8724 s2: *const ::std::os::raw::c_char,
8725 len2: size_t,
8726 ) -> ::std::os::raw::c_int;
8727}
8728extern "C" {
8729 pub fn zend_binary_strncasecmp_l(
8730 s1: *const ::std::os::raw::c_char,
8731 len1: size_t,
8732 s2: *const ::std::os::raw::c_char,
8733 len2: size_t,
8734 length: size_t,
8735 ) -> ::std::os::raw::c_int;
8736}
8737extern "C" {
8738 pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> zend_long;
8739}
8740extern "C" {
8741 pub fn zend_compare_symbol_tables(
8742 ht1: *mut HashTable,
8743 ht2: *mut HashTable,
8744 ) -> ::std::os::raw::c_int;
8745}
8746extern "C" {
8747 pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
8748}
8749extern "C" {
8750 pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
8751}
8752extern "C" {
8753 pub fn zend_atoi(
8754 str_: *const ::std::os::raw::c_char,
8755 str_len: ::std::os::raw::c_int,
8756 ) -> ::std::os::raw::c_int;
8757}
8758extern "C" {
8759 pub fn zend_atol(
8760 str_: *const ::std::os::raw::c_char,
8761 str_len: ::std::os::raw::c_int,
8762 ) -> zend_long;
8763}
8764extern "C" {
8765 pub fn zend_locale_sprintf_double(op: *mut zval);
8766}
8767extern "C" {
8768 pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
8769}
8770extern "C" {
8771 pub fn zend_qsort(
8772 base: *mut ::std::os::raw::c_void,
8773 nmemb: size_t,
8774 siz: size_t,
8775 cmp: compare_func_t,
8776 swp: swap_func_t,
8777 );
8778}
8779extern "C" {
8780 pub fn zend_sort(
8781 base: *mut ::std::os::raw::c_void,
8782 nmemb: size_t,
8783 siz: size_t,
8784 cmp: compare_func_t,
8785 swp: swap_func_t,
8786 );
8787}
8788extern "C" {
8789 pub fn zend_insert_sort(
8790 base: *mut ::std::os::raw::c_void,
8791 nmemb: size_t,
8792 siz: size_t,
8793 cmp: compare_func_t,
8794 swp: swap_func_t,
8795 );
8796}
8797pub type zend_op_array = _zend_op_array;
8798pub type zend_op = _zend_op;
8799#[repr(C)]
8800#[derive(Copy, Clone)]
8801pub union _znode_op {
8802 pub constant: u32,
8803 pub var: u32,
8804 pub num: u32,
8805 pub opline_num: u32,
8806 pub jmp_offset: u32,
8807 _bindgen_union_align: u32,
8808}
8809#[test]
8810fn bindgen_test_layout__znode_op() {
8811 assert_eq!(
8812 ::std::mem::size_of::<_znode_op>(),
8813 4usize,
8814 concat!("Size of: ", stringify!(_znode_op))
8815 );
8816 assert_eq!(
8817 ::std::mem::align_of::<_znode_op>(),
8818 4usize,
8819 concat!("Alignment of ", stringify!(_znode_op))
8820 );
8821 assert_eq!(
8822 unsafe { &(*(::std::ptr::null::<_znode_op>())).constant as *const _ as usize },
8823 0usize,
8824 concat!(
8825 "Offset of field: ",
8826 stringify!(_znode_op),
8827 "::",
8828 stringify!(constant)
8829 )
8830 );
8831 assert_eq!(
8832 unsafe { &(*(::std::ptr::null::<_znode_op>())).var as *const _ as usize },
8833 0usize,
8834 concat!(
8835 "Offset of field: ",
8836 stringify!(_znode_op),
8837 "::",
8838 stringify!(var)
8839 )
8840 );
8841 assert_eq!(
8842 unsafe { &(*(::std::ptr::null::<_znode_op>())).num as *const _ as usize },
8843 0usize,
8844 concat!(
8845 "Offset of field: ",
8846 stringify!(_znode_op),
8847 "::",
8848 stringify!(num)
8849 )
8850 );
8851 assert_eq!(
8852 unsafe { &(*(::std::ptr::null::<_znode_op>())).opline_num as *const _ as usize },
8853 0usize,
8854 concat!(
8855 "Offset of field: ",
8856 stringify!(_znode_op),
8857 "::",
8858 stringify!(opline_num)
8859 )
8860 );
8861 assert_eq!(
8862 unsafe { &(*(::std::ptr::null::<_znode_op>())).jmp_offset as *const _ as usize },
8863 0usize,
8864 concat!(
8865 "Offset of field: ",
8866 stringify!(_znode_op),
8867 "::",
8868 stringify!(jmp_offset)
8869 )
8870 );
8871}
8872pub type znode_op = _znode_op;
8873#[repr(C)]
8874#[derive(Copy, Clone)]
8875pub struct _znode {
8876 pub op_type: zend_uchar,
8877 pub flag: zend_uchar,
8878 pub u: _znode__bindgen_ty_1,
8879}
8880#[repr(C)]
8881#[derive(Copy, Clone)]
8882pub union _znode__bindgen_ty_1 {
8883 pub op: znode_op,
8884 pub constant: zval,
8885 _bindgen_union_align: [u64; 2usize],
8886}
8887#[test]
8888fn bindgen_test_layout__znode__bindgen_ty_1() {
8889 assert_eq!(
8890 ::std::mem::size_of::<_znode__bindgen_ty_1>(),
8891 16usize,
8892 concat!("Size of: ", stringify!(_znode__bindgen_ty_1))
8893 );
8894 assert_eq!(
8895 ::std::mem::align_of::<_znode__bindgen_ty_1>(),
8896 8usize,
8897 concat!("Alignment of ", stringify!(_znode__bindgen_ty_1))
8898 );
8899 assert_eq!(
8900 unsafe { &(*(::std::ptr::null::<_znode__bindgen_ty_1>())).op as *const _ as usize },
8901 0usize,
8902 concat!(
8903 "Offset of field: ",
8904 stringify!(_znode__bindgen_ty_1),
8905 "::",
8906 stringify!(op)
8907 )
8908 );
8909 assert_eq!(
8910 unsafe { &(*(::std::ptr::null::<_znode__bindgen_ty_1>())).constant as *const _ as usize },
8911 0usize,
8912 concat!(
8913 "Offset of field: ",
8914 stringify!(_znode__bindgen_ty_1),
8915 "::",
8916 stringify!(constant)
8917 )
8918 );
8919}
8920#[test]
8921fn bindgen_test_layout__znode() {
8922 assert_eq!(
8923 ::std::mem::size_of::<_znode>(),
8924 24usize,
8925 concat!("Size of: ", stringify!(_znode))
8926 );
8927 assert_eq!(
8928 ::std::mem::align_of::<_znode>(),
8929 8usize,
8930 concat!("Alignment of ", stringify!(_znode))
8931 );
8932 assert_eq!(
8933 unsafe { &(*(::std::ptr::null::<_znode>())).op_type as *const _ as usize },
8934 0usize,
8935 concat!(
8936 "Offset of field: ",
8937 stringify!(_znode),
8938 "::",
8939 stringify!(op_type)
8940 )
8941 );
8942 assert_eq!(
8943 unsafe { &(*(::std::ptr::null::<_znode>())).flag as *const _ as usize },
8944 1usize,
8945 concat!(
8946 "Offset of field: ",
8947 stringify!(_znode),
8948 "::",
8949 stringify!(flag)
8950 )
8951 );
8952 assert_eq!(
8953 unsafe { &(*(::std::ptr::null::<_znode>())).u as *const _ as usize },
8954 8usize,
8955 concat!("Offset of field: ", stringify!(_znode), "::", stringify!(u))
8956 );
8957}
8958pub type znode = _znode;
8959#[repr(C)]
8960#[derive(Copy, Clone)]
8961pub struct _zend_ast_znode {
8962 pub kind: zend_ast_kind,
8963 pub attr: zend_ast_attr,
8964 pub lineno: u32,
8965 pub node: znode,
8966}
8967#[test]
8968fn bindgen_test_layout__zend_ast_znode() {
8969 assert_eq!(
8970 ::std::mem::size_of::<_zend_ast_znode>(),
8971 32usize,
8972 concat!("Size of: ", stringify!(_zend_ast_znode))
8973 );
8974 assert_eq!(
8975 ::std::mem::align_of::<_zend_ast_znode>(),
8976 8usize,
8977 concat!("Alignment of ", stringify!(_zend_ast_znode))
8978 );
8979 assert_eq!(
8980 unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).kind as *const _ as usize },
8981 0usize,
8982 concat!(
8983 "Offset of field: ",
8984 stringify!(_zend_ast_znode),
8985 "::",
8986 stringify!(kind)
8987 )
8988 );
8989 assert_eq!(
8990 unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).attr as *const _ as usize },
8991 2usize,
8992 concat!(
8993 "Offset of field: ",
8994 stringify!(_zend_ast_znode),
8995 "::",
8996 stringify!(attr)
8997 )
8998 );
8999 assert_eq!(
9000 unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).lineno as *const _ as usize },
9001 4usize,
9002 concat!(
9003 "Offset of field: ",
9004 stringify!(_zend_ast_znode),
9005 "::",
9006 stringify!(lineno)
9007 )
9008 );
9009 assert_eq!(
9010 unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).node as *const _ as usize },
9011 8usize,
9012 concat!(
9013 "Offset of field: ",
9014 stringify!(_zend_ast_znode),
9015 "::",
9016 stringify!(node)
9017 )
9018 );
9019}
9020pub type zend_ast_znode = _zend_ast_znode;
9021extern "C" {
9022 pub fn zend_ast_create_znode(node: *mut znode) -> *mut zend_ast;
9023}
9024#[repr(C)]
9025#[derive(Debug, Copy, Clone)]
9026pub struct _zend_declarables {
9027 pub ticks: zend_long,
9028}
9029#[test]
9030fn bindgen_test_layout__zend_declarables() {
9031 assert_eq!(
9032 ::std::mem::size_of::<_zend_declarables>(),
9033 8usize,
9034 concat!("Size of: ", stringify!(_zend_declarables))
9035 );
9036 assert_eq!(
9037 ::std::mem::align_of::<_zend_declarables>(),
9038 8usize,
9039 concat!("Alignment of ", stringify!(_zend_declarables))
9040 );
9041 assert_eq!(
9042 unsafe { &(*(::std::ptr::null::<_zend_declarables>())).ticks as *const _ as usize },
9043 0usize,
9044 concat!(
9045 "Offset of field: ",
9046 stringify!(_zend_declarables),
9047 "::",
9048 stringify!(ticks)
9049 )
9050 );
9051}
9052pub type zend_declarables = _zend_declarables;
9053#[repr(C)]
9054#[derive(Copy, Clone)]
9055pub struct _zend_file_context {
9056 pub declarables: zend_declarables,
9057 pub implementing_class: znode,
9058 pub current_namespace: *mut zend_string,
9059 pub in_namespace: zend_bool,
9060 pub has_bracketed_namespaces: zend_bool,
9061 pub imports: *mut HashTable,
9062 pub imports_function: *mut HashTable,
9063 pub imports_const: *mut HashTable,
9064}
9065#[test]
9066fn bindgen_test_layout__zend_file_context() {
9067 assert_eq!(
9068 ::std::mem::size_of::<_zend_file_context>(),
9069 72usize,
9070 concat!("Size of: ", stringify!(_zend_file_context))
9071 );
9072 assert_eq!(
9073 ::std::mem::align_of::<_zend_file_context>(),
9074 8usize,
9075 concat!("Alignment of ", stringify!(_zend_file_context))
9076 );
9077 assert_eq!(
9078 unsafe { &(*(::std::ptr::null::<_zend_file_context>())).declarables as *const _ as usize },
9079 0usize,
9080 concat!(
9081 "Offset of field: ",
9082 stringify!(_zend_file_context),
9083 "::",
9084 stringify!(declarables)
9085 )
9086 );
9087 assert_eq!(
9088 unsafe {
9089 &(*(::std::ptr::null::<_zend_file_context>())).implementing_class as *const _ as usize
9090 },
9091 8usize,
9092 concat!(
9093 "Offset of field: ",
9094 stringify!(_zend_file_context),
9095 "::",
9096 stringify!(implementing_class)
9097 )
9098 );
9099 assert_eq!(
9100 unsafe {
9101 &(*(::std::ptr::null::<_zend_file_context>())).current_namespace as *const _ as usize
9102 },
9103 32usize,
9104 concat!(
9105 "Offset of field: ",
9106 stringify!(_zend_file_context),
9107 "::",
9108 stringify!(current_namespace)
9109 )
9110 );
9111 assert_eq!(
9112 unsafe { &(*(::std::ptr::null::<_zend_file_context>())).in_namespace as *const _ as usize },
9113 40usize,
9114 concat!(
9115 "Offset of field: ",
9116 stringify!(_zend_file_context),
9117 "::",
9118 stringify!(in_namespace)
9119 )
9120 );
9121 assert_eq!(
9122 unsafe {
9123 &(*(::std::ptr::null::<_zend_file_context>())).has_bracketed_namespaces as *const _
9124 as usize
9125 },
9126 41usize,
9127 concat!(
9128 "Offset of field: ",
9129 stringify!(_zend_file_context),
9130 "::",
9131 stringify!(has_bracketed_namespaces)
9132 )
9133 );
9134 assert_eq!(
9135 unsafe { &(*(::std::ptr::null::<_zend_file_context>())).imports as *const _ as usize },
9136 48usize,
9137 concat!(
9138 "Offset of field: ",
9139 stringify!(_zend_file_context),
9140 "::",
9141 stringify!(imports)
9142 )
9143 );
9144 assert_eq!(
9145 unsafe {
9146 &(*(::std::ptr::null::<_zend_file_context>())).imports_function as *const _ as usize
9147 },
9148 56usize,
9149 concat!(
9150 "Offset of field: ",
9151 stringify!(_zend_file_context),
9152 "::",
9153 stringify!(imports_function)
9154 )
9155 );
9156 assert_eq!(
9157 unsafe {
9158 &(*(::std::ptr::null::<_zend_file_context>())).imports_const as *const _ as usize
9159 },
9160 64usize,
9161 concat!(
9162 "Offset of field: ",
9163 stringify!(_zend_file_context),
9164 "::",
9165 stringify!(imports_const)
9166 )
9167 );
9168}
9169pub type zend_file_context = _zend_file_context;
9170#[repr(C)]
9171#[derive(Copy, Clone)]
9172pub union _zend_parser_stack_elem {
9173 pub ast: *mut zend_ast,
9174 pub str_: *mut zend_string,
9175 pub num: zend_ulong,
9176 _bindgen_union_align: u64,
9177}
9178#[test]
9179fn bindgen_test_layout__zend_parser_stack_elem() {
9180 assert_eq!(
9181 ::std::mem::size_of::<_zend_parser_stack_elem>(),
9182 8usize,
9183 concat!("Size of: ", stringify!(_zend_parser_stack_elem))
9184 );
9185 assert_eq!(
9186 ::std::mem::align_of::<_zend_parser_stack_elem>(),
9187 8usize,
9188 concat!("Alignment of ", stringify!(_zend_parser_stack_elem))
9189 );
9190 assert_eq!(
9191 unsafe { &(*(::std::ptr::null::<_zend_parser_stack_elem>())).ast as *const _ as usize },
9192 0usize,
9193 concat!(
9194 "Offset of field: ",
9195 stringify!(_zend_parser_stack_elem),
9196 "::",
9197 stringify!(ast)
9198 )
9199 );
9200 assert_eq!(
9201 unsafe { &(*(::std::ptr::null::<_zend_parser_stack_elem>())).str_ as *const _ as usize },
9202 0usize,
9203 concat!(
9204 "Offset of field: ",
9205 stringify!(_zend_parser_stack_elem),
9206 "::",
9207 stringify!(str_)
9208 )
9209 );
9210 assert_eq!(
9211 unsafe { &(*(::std::ptr::null::<_zend_parser_stack_elem>())).num as *const _ as usize },
9212 0usize,
9213 concat!(
9214 "Offset of field: ",
9215 stringify!(_zend_parser_stack_elem),
9216 "::",
9217 stringify!(num)
9218 )
9219 );
9220}
9221pub type zend_parser_stack_elem = _zend_parser_stack_elem;
9222extern "C" {
9223 pub fn zend_compile_top_stmt(ast: *mut zend_ast);
9224}
9225extern "C" {
9226 pub fn zend_compile_stmt(ast: *mut zend_ast);
9227}
9228extern "C" {
9229 pub fn zend_compile_expr(node: *mut znode, ast: *mut zend_ast);
9230}
9231extern "C" {
9232 pub fn zend_compile_var(node: *mut znode, ast: *mut zend_ast, type_: u32);
9233}
9234extern "C" {
9235 pub fn zend_eval_const_expr(ast_ptr: *mut *mut zend_ast);
9236}
9237extern "C" {
9238 pub fn zend_const_expr_to_zval(result: *mut zval, ast: *mut zend_ast);
9239}
9240pub type user_opcode_handler_t = ::std::option::Option<
9241 unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
9242>;
9243#[repr(C)]
9244#[derive(Copy, Clone)]
9245pub struct _zend_op {
9246 pub handler: *const ::std::os::raw::c_void,
9247 pub op1: znode_op,
9248 pub op2: znode_op,
9249 pub result: znode_op,
9250 pub extended_value: u32,
9251 pub lineno: u32,
9252 pub opcode: zend_uchar,
9253 pub op1_type: zend_uchar,
9254 pub op2_type: zend_uchar,
9255 pub result_type: zend_uchar,
9256}
9257#[test]
9258fn bindgen_test_layout__zend_op() {
9259 assert_eq!(
9260 ::std::mem::size_of::<_zend_op>(),
9261 32usize,
9262 concat!("Size of: ", stringify!(_zend_op))
9263 );
9264 assert_eq!(
9265 ::std::mem::align_of::<_zend_op>(),
9266 8usize,
9267 concat!("Alignment of ", stringify!(_zend_op))
9268 );
9269 assert_eq!(
9270 unsafe { &(*(::std::ptr::null::<_zend_op>())).handler as *const _ as usize },
9271 0usize,
9272 concat!(
9273 "Offset of field: ",
9274 stringify!(_zend_op),
9275 "::",
9276 stringify!(handler)
9277 )
9278 );
9279 assert_eq!(
9280 unsafe { &(*(::std::ptr::null::<_zend_op>())).op1 as *const _ as usize },
9281 8usize,
9282 concat!(
9283 "Offset of field: ",
9284 stringify!(_zend_op),
9285 "::",
9286 stringify!(op1)
9287 )
9288 );
9289 assert_eq!(
9290 unsafe { &(*(::std::ptr::null::<_zend_op>())).op2 as *const _ as usize },
9291 12usize,
9292 concat!(
9293 "Offset of field: ",
9294 stringify!(_zend_op),
9295 "::",
9296 stringify!(op2)
9297 )
9298 );
9299 assert_eq!(
9300 unsafe { &(*(::std::ptr::null::<_zend_op>())).result as *const _ as usize },
9301 16usize,
9302 concat!(
9303 "Offset of field: ",
9304 stringify!(_zend_op),
9305 "::",
9306 stringify!(result)
9307 )
9308 );
9309 assert_eq!(
9310 unsafe { &(*(::std::ptr::null::<_zend_op>())).extended_value as *const _ as usize },
9311 20usize,
9312 concat!(
9313 "Offset of field: ",
9314 stringify!(_zend_op),
9315 "::",
9316 stringify!(extended_value)
9317 )
9318 );
9319 assert_eq!(
9320 unsafe { &(*(::std::ptr::null::<_zend_op>())).lineno as *const _ as usize },
9321 24usize,
9322 concat!(
9323 "Offset of field: ",
9324 stringify!(_zend_op),
9325 "::",
9326 stringify!(lineno)
9327 )
9328 );
9329 assert_eq!(
9330 unsafe { &(*(::std::ptr::null::<_zend_op>())).opcode as *const _ as usize },
9331 28usize,
9332 concat!(
9333 "Offset of field: ",
9334 stringify!(_zend_op),
9335 "::",
9336 stringify!(opcode)
9337 )
9338 );
9339 assert_eq!(
9340 unsafe { &(*(::std::ptr::null::<_zend_op>())).op1_type as *const _ as usize },
9341 29usize,
9342 concat!(
9343 "Offset of field: ",
9344 stringify!(_zend_op),
9345 "::",
9346 stringify!(op1_type)
9347 )
9348 );
9349 assert_eq!(
9350 unsafe { &(*(::std::ptr::null::<_zend_op>())).op2_type as *const _ as usize },
9351 30usize,
9352 concat!(
9353 "Offset of field: ",
9354 stringify!(_zend_op),
9355 "::",
9356 stringify!(op2_type)
9357 )
9358 );
9359 assert_eq!(
9360 unsafe { &(*(::std::ptr::null::<_zend_op>())).result_type as *const _ as usize },
9361 31usize,
9362 concat!(
9363 "Offset of field: ",
9364 stringify!(_zend_op),
9365 "::",
9366 stringify!(result_type)
9367 )
9368 );
9369}
9370#[repr(C)]
9371#[derive(Debug, Copy, Clone)]
9372pub struct _zend_brk_cont_element {
9373 pub start: ::std::os::raw::c_int,
9374 pub cont: ::std::os::raw::c_int,
9375 pub brk: ::std::os::raw::c_int,
9376 pub parent: ::std::os::raw::c_int,
9377}
9378#[test]
9379fn bindgen_test_layout__zend_brk_cont_element() {
9380 assert_eq!(
9381 ::std::mem::size_of::<_zend_brk_cont_element>(),
9382 16usize,
9383 concat!("Size of: ", stringify!(_zend_brk_cont_element))
9384 );
9385 assert_eq!(
9386 ::std::mem::align_of::<_zend_brk_cont_element>(),
9387 4usize,
9388 concat!("Alignment of ", stringify!(_zend_brk_cont_element))
9389 );
9390 assert_eq!(
9391 unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).start as *const _ as usize },
9392 0usize,
9393 concat!(
9394 "Offset of field: ",
9395 stringify!(_zend_brk_cont_element),
9396 "::",
9397 stringify!(start)
9398 )
9399 );
9400 assert_eq!(
9401 unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).cont as *const _ as usize },
9402 4usize,
9403 concat!(
9404 "Offset of field: ",
9405 stringify!(_zend_brk_cont_element),
9406 "::",
9407 stringify!(cont)
9408 )
9409 );
9410 assert_eq!(
9411 unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).brk as *const _ as usize },
9412 8usize,
9413 concat!(
9414 "Offset of field: ",
9415 stringify!(_zend_brk_cont_element),
9416 "::",
9417 stringify!(brk)
9418 )
9419 );
9420 assert_eq!(
9421 unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).parent as *const _ as usize },
9422 12usize,
9423 concat!(
9424 "Offset of field: ",
9425 stringify!(_zend_brk_cont_element),
9426 "::",
9427 stringify!(parent)
9428 )
9429 );
9430}
9431pub type zend_brk_cont_element = _zend_brk_cont_element;
9432#[repr(C)]
9433#[derive(Debug, Copy, Clone)]
9434pub struct _zend_label {
9435 pub brk_cont: ::std::os::raw::c_int,
9436 pub opline_num: u32,
9437}
9438#[test]
9439fn bindgen_test_layout__zend_label() {
9440 assert_eq!(
9441 ::std::mem::size_of::<_zend_label>(),
9442 8usize,
9443 concat!("Size of: ", stringify!(_zend_label))
9444 );
9445 assert_eq!(
9446 ::std::mem::align_of::<_zend_label>(),
9447 4usize,
9448 concat!("Alignment of ", stringify!(_zend_label))
9449 );
9450 assert_eq!(
9451 unsafe { &(*(::std::ptr::null::<_zend_label>())).brk_cont as *const _ as usize },
9452 0usize,
9453 concat!(
9454 "Offset of field: ",
9455 stringify!(_zend_label),
9456 "::",
9457 stringify!(brk_cont)
9458 )
9459 );
9460 assert_eq!(
9461 unsafe { &(*(::std::ptr::null::<_zend_label>())).opline_num as *const _ as usize },
9462 4usize,
9463 concat!(
9464 "Offset of field: ",
9465 stringify!(_zend_label),
9466 "::",
9467 stringify!(opline_num)
9468 )
9469 );
9470}
9471pub type zend_label = _zend_label;
9472#[repr(C)]
9473#[derive(Debug, Copy, Clone)]
9474pub struct _zend_try_catch_element {
9475 pub try_op: u32,
9476 pub catch_op: u32,
9477 pub finally_op: u32,
9478 pub finally_end: u32,
9479}
9480#[test]
9481fn bindgen_test_layout__zend_try_catch_element() {
9482 assert_eq!(
9483 ::std::mem::size_of::<_zend_try_catch_element>(),
9484 16usize,
9485 concat!("Size of: ", stringify!(_zend_try_catch_element))
9486 );
9487 assert_eq!(
9488 ::std::mem::align_of::<_zend_try_catch_element>(),
9489 4usize,
9490 concat!("Alignment of ", stringify!(_zend_try_catch_element))
9491 );
9492 assert_eq!(
9493 unsafe { &(*(::std::ptr::null::<_zend_try_catch_element>())).try_op as *const _ as usize },
9494 0usize,
9495 concat!(
9496 "Offset of field: ",
9497 stringify!(_zend_try_catch_element),
9498 "::",
9499 stringify!(try_op)
9500 )
9501 );
9502 assert_eq!(
9503 unsafe {
9504 &(*(::std::ptr::null::<_zend_try_catch_element>())).catch_op as *const _ as usize
9505 },
9506 4usize,
9507 concat!(
9508 "Offset of field: ",
9509 stringify!(_zend_try_catch_element),
9510 "::",
9511 stringify!(catch_op)
9512 )
9513 );
9514 assert_eq!(
9515 unsafe {
9516 &(*(::std::ptr::null::<_zend_try_catch_element>())).finally_op as *const _ as usize
9517 },
9518 8usize,
9519 concat!(
9520 "Offset of field: ",
9521 stringify!(_zend_try_catch_element),
9522 "::",
9523 stringify!(finally_op)
9524 )
9525 );
9526 assert_eq!(
9527 unsafe {
9528 &(*(::std::ptr::null::<_zend_try_catch_element>())).finally_end as *const _ as usize
9529 },
9530 12usize,
9531 concat!(
9532 "Offset of field: ",
9533 stringify!(_zend_try_catch_element),
9534 "::",
9535 stringify!(finally_end)
9536 )
9537 );
9538}
9539pub type zend_try_catch_element = _zend_try_catch_element;
9540#[repr(C)]
9541#[derive(Debug, Copy, Clone)]
9542pub struct _zend_live_range {
9543 pub var: u32,
9544 pub start: u32,
9545 pub end: u32,
9546}
9547#[test]
9548fn bindgen_test_layout__zend_live_range() {
9549 assert_eq!(
9550 ::std::mem::size_of::<_zend_live_range>(),
9551 12usize,
9552 concat!("Size of: ", stringify!(_zend_live_range))
9553 );
9554 assert_eq!(
9555 ::std::mem::align_of::<_zend_live_range>(),
9556 4usize,
9557 concat!("Alignment of ", stringify!(_zend_live_range))
9558 );
9559 assert_eq!(
9560 unsafe { &(*(::std::ptr::null::<_zend_live_range>())).var as *const _ as usize },
9561 0usize,
9562 concat!(
9563 "Offset of field: ",
9564 stringify!(_zend_live_range),
9565 "::",
9566 stringify!(var)
9567 )
9568 );
9569 assert_eq!(
9570 unsafe { &(*(::std::ptr::null::<_zend_live_range>())).start as *const _ as usize },
9571 4usize,
9572 concat!(
9573 "Offset of field: ",
9574 stringify!(_zend_live_range),
9575 "::",
9576 stringify!(start)
9577 )
9578 );
9579 assert_eq!(
9580 unsafe { &(*(::std::ptr::null::<_zend_live_range>())).end as *const _ as usize },
9581 8usize,
9582 concat!(
9583 "Offset of field: ",
9584 stringify!(_zend_live_range),
9585 "::",
9586 stringify!(end)
9587 )
9588 );
9589}
9590pub type zend_live_range = _zend_live_range;
9591#[repr(C)]
9592#[derive(Debug, Copy, Clone)]
9593pub struct _zend_oparray_context {
9594 pub opcodes_size: u32,
9595 pub vars_size: ::std::os::raw::c_int,
9596 pub literals_size: ::std::os::raw::c_int,
9597 pub backpatch_count: ::std::os::raw::c_int,
9598 pub in_finally: ::std::os::raw::c_int,
9599 pub fast_call_var: u32,
9600 pub try_catch_offset: u32,
9601 pub current_brk_cont: ::std::os::raw::c_int,
9602 pub last_brk_cont: ::std::os::raw::c_int,
9603 pub brk_cont_array: *mut zend_brk_cont_element,
9604 pub labels: *mut HashTable,
9605}
9606#[test]
9607fn bindgen_test_layout__zend_oparray_context() {
9608 assert_eq!(
9609 ::std::mem::size_of::<_zend_oparray_context>(),
9610 56usize,
9611 concat!("Size of: ", stringify!(_zend_oparray_context))
9612 );
9613 assert_eq!(
9614 ::std::mem::align_of::<_zend_oparray_context>(),
9615 8usize,
9616 concat!("Alignment of ", stringify!(_zend_oparray_context))
9617 );
9618 assert_eq!(
9619 unsafe {
9620 &(*(::std::ptr::null::<_zend_oparray_context>())).opcodes_size as *const _ as usize
9621 },
9622 0usize,
9623 concat!(
9624 "Offset of field: ",
9625 stringify!(_zend_oparray_context),
9626 "::",
9627 stringify!(opcodes_size)
9628 )
9629 );
9630 assert_eq!(
9631 unsafe { &(*(::std::ptr::null::<_zend_oparray_context>())).vars_size as *const _ as usize },
9632 4usize,
9633 concat!(
9634 "Offset of field: ",
9635 stringify!(_zend_oparray_context),
9636 "::",
9637 stringify!(vars_size)
9638 )
9639 );
9640 assert_eq!(
9641 unsafe {
9642 &(*(::std::ptr::null::<_zend_oparray_context>())).literals_size as *const _ as usize
9643 },
9644 8usize,
9645 concat!(
9646 "Offset of field: ",
9647 stringify!(_zend_oparray_context),
9648 "::",
9649 stringify!(literals_size)
9650 )
9651 );
9652 assert_eq!(
9653 unsafe {
9654 &(*(::std::ptr::null::<_zend_oparray_context>())).backpatch_count as *const _ as usize
9655 },
9656 12usize,
9657 concat!(
9658 "Offset of field: ",
9659 stringify!(_zend_oparray_context),
9660 "::",
9661 stringify!(backpatch_count)
9662 )
9663 );
9664 assert_eq!(
9665 unsafe {
9666 &(*(::std::ptr::null::<_zend_oparray_context>())).in_finally as *const _ as usize
9667 },
9668 16usize,
9669 concat!(
9670 "Offset of field: ",
9671 stringify!(_zend_oparray_context),
9672 "::",
9673 stringify!(in_finally)
9674 )
9675 );
9676 assert_eq!(
9677 unsafe {
9678 &(*(::std::ptr::null::<_zend_oparray_context>())).fast_call_var as *const _ as usize
9679 },
9680 20usize,
9681 concat!(
9682 "Offset of field: ",
9683 stringify!(_zend_oparray_context),
9684 "::",
9685 stringify!(fast_call_var)
9686 )
9687 );
9688 assert_eq!(
9689 unsafe {
9690 &(*(::std::ptr::null::<_zend_oparray_context>())).try_catch_offset as *const _ as usize
9691 },
9692 24usize,
9693 concat!(
9694 "Offset of field: ",
9695 stringify!(_zend_oparray_context),
9696 "::",
9697 stringify!(try_catch_offset)
9698 )
9699 );
9700 assert_eq!(
9701 unsafe {
9702 &(*(::std::ptr::null::<_zend_oparray_context>())).current_brk_cont as *const _ as usize
9703 },
9704 28usize,
9705 concat!(
9706 "Offset of field: ",
9707 stringify!(_zend_oparray_context),
9708 "::",
9709 stringify!(current_brk_cont)
9710 )
9711 );
9712 assert_eq!(
9713 unsafe {
9714 &(*(::std::ptr::null::<_zend_oparray_context>())).last_brk_cont as *const _ as usize
9715 },
9716 32usize,
9717 concat!(
9718 "Offset of field: ",
9719 stringify!(_zend_oparray_context),
9720 "::",
9721 stringify!(last_brk_cont)
9722 )
9723 );
9724 assert_eq!(
9725 unsafe {
9726 &(*(::std::ptr::null::<_zend_oparray_context>())).brk_cont_array as *const _ as usize
9727 },
9728 40usize,
9729 concat!(
9730 "Offset of field: ",
9731 stringify!(_zend_oparray_context),
9732 "::",
9733 stringify!(brk_cont_array)
9734 )
9735 );
9736 assert_eq!(
9737 unsafe { &(*(::std::ptr::null::<_zend_oparray_context>())).labels as *const _ as usize },
9738 48usize,
9739 concat!(
9740 "Offset of field: ",
9741 stringify!(_zend_oparray_context),
9742 "::",
9743 stringify!(labels)
9744 )
9745 );
9746}
9747pub type zend_oparray_context = _zend_oparray_context;
9748extern "C" {
9749 pub fn zend_visibility_string(fn_flags: u32) -> *mut ::std::os::raw::c_char;
9750}
9751#[repr(C)]
9752#[derive(Debug, Copy, Clone)]
9753pub struct _zend_property_info {
9754 pub offset: u32,
9755 pub flags: u32,
9756 pub name: *mut zend_string,
9757 pub doc_comment: *mut zend_string,
9758 pub ce: *mut zend_class_entry,
9759}
9760#[test]
9761fn bindgen_test_layout__zend_property_info() {
9762 assert_eq!(
9763 ::std::mem::size_of::<_zend_property_info>(),
9764 32usize,
9765 concat!("Size of: ", stringify!(_zend_property_info))
9766 );
9767 assert_eq!(
9768 ::std::mem::align_of::<_zend_property_info>(),
9769 8usize,
9770 concat!("Alignment of ", stringify!(_zend_property_info))
9771 );
9772 assert_eq!(
9773 unsafe { &(*(::std::ptr::null::<_zend_property_info>())).offset as *const _ as usize },
9774 0usize,
9775 concat!(
9776 "Offset of field: ",
9777 stringify!(_zend_property_info),
9778 "::",
9779 stringify!(offset)
9780 )
9781 );
9782 assert_eq!(
9783 unsafe { &(*(::std::ptr::null::<_zend_property_info>())).flags as *const _ as usize },
9784 4usize,
9785 concat!(
9786 "Offset of field: ",
9787 stringify!(_zend_property_info),
9788 "::",
9789 stringify!(flags)
9790 )
9791 );
9792 assert_eq!(
9793 unsafe { &(*(::std::ptr::null::<_zend_property_info>())).name as *const _ as usize },
9794 8usize,
9795 concat!(
9796 "Offset of field: ",
9797 stringify!(_zend_property_info),
9798 "::",
9799 stringify!(name)
9800 )
9801 );
9802 assert_eq!(
9803 unsafe { &(*(::std::ptr::null::<_zend_property_info>())).doc_comment as *const _ as usize },
9804 16usize,
9805 concat!(
9806 "Offset of field: ",
9807 stringify!(_zend_property_info),
9808 "::",
9809 stringify!(doc_comment)
9810 )
9811 );
9812 assert_eq!(
9813 unsafe { &(*(::std::ptr::null::<_zend_property_info>())).ce as *const _ as usize },
9814 24usize,
9815 concat!(
9816 "Offset of field: ",
9817 stringify!(_zend_property_info),
9818 "::",
9819 stringify!(ce)
9820 )
9821 );
9822}
9823pub type zend_property_info = _zend_property_info;
9824#[repr(C)]
9825#[derive(Copy, Clone)]
9826pub struct _zend_class_constant {
9827 pub value: zval,
9828 pub doc_comment: *mut zend_string,
9829 pub ce: *mut zend_class_entry,
9830}
9831#[test]
9832fn bindgen_test_layout__zend_class_constant() {
9833 assert_eq!(
9834 ::std::mem::size_of::<_zend_class_constant>(),
9835 32usize,
9836 concat!("Size of: ", stringify!(_zend_class_constant))
9837 );
9838 assert_eq!(
9839 ::std::mem::align_of::<_zend_class_constant>(),
9840 8usize,
9841 concat!("Alignment of ", stringify!(_zend_class_constant))
9842 );
9843 assert_eq!(
9844 unsafe { &(*(::std::ptr::null::<_zend_class_constant>())).value as *const _ as usize },
9845 0usize,
9846 concat!(
9847 "Offset of field: ",
9848 stringify!(_zend_class_constant),
9849 "::",
9850 stringify!(value)
9851 )
9852 );
9853 assert_eq!(
9854 unsafe {
9855 &(*(::std::ptr::null::<_zend_class_constant>())).doc_comment as *const _ as usize
9856 },
9857 16usize,
9858 concat!(
9859 "Offset of field: ",
9860 stringify!(_zend_class_constant),
9861 "::",
9862 stringify!(doc_comment)
9863 )
9864 );
9865 assert_eq!(
9866 unsafe { &(*(::std::ptr::null::<_zend_class_constant>())).ce as *const _ as usize },
9867 24usize,
9868 concat!(
9869 "Offset of field: ",
9870 stringify!(_zend_class_constant),
9871 "::",
9872 stringify!(ce)
9873 )
9874 );
9875}
9876pub type zend_class_constant = _zend_class_constant;
9877#[repr(C)]
9878#[derive(Debug, Copy, Clone)]
9879pub struct _zend_internal_arg_info {
9880 pub name: *const ::std::os::raw::c_char,
9881 pub class_name: *const ::std::os::raw::c_char,
9882 pub type_hint: zend_uchar,
9883 pub pass_by_reference: zend_uchar,
9884 pub allow_null: zend_bool,
9885 pub is_variadic: zend_bool,
9886}
9887#[test]
9888fn bindgen_test_layout__zend_internal_arg_info() {
9889 assert_eq!(
9890 ::std::mem::size_of::<_zend_internal_arg_info>(),
9891 24usize,
9892 concat!("Size of: ", stringify!(_zend_internal_arg_info))
9893 );
9894 assert_eq!(
9895 ::std::mem::align_of::<_zend_internal_arg_info>(),
9896 8usize,
9897 concat!("Alignment of ", stringify!(_zend_internal_arg_info))
9898 );
9899 assert_eq!(
9900 unsafe { &(*(::std::ptr::null::<_zend_internal_arg_info>())).name as *const _ as usize },
9901 0usize,
9902 concat!(
9903 "Offset of field: ",
9904 stringify!(_zend_internal_arg_info),
9905 "::",
9906 stringify!(name)
9907 )
9908 );
9909 assert_eq!(
9910 unsafe {
9911 &(*(::std::ptr::null::<_zend_internal_arg_info>())).class_name as *const _ as usize
9912 },
9913 8usize,
9914 concat!(
9915 "Offset of field: ",
9916 stringify!(_zend_internal_arg_info),
9917 "::",
9918 stringify!(class_name)
9919 )
9920 );
9921 assert_eq!(
9922 unsafe {
9923 &(*(::std::ptr::null::<_zend_internal_arg_info>())).type_hint as *const _ as usize
9924 },
9925 16usize,
9926 concat!(
9927 "Offset of field: ",
9928 stringify!(_zend_internal_arg_info),
9929 "::",
9930 stringify!(type_hint)
9931 )
9932 );
9933 assert_eq!(
9934 unsafe {
9935 &(*(::std::ptr::null::<_zend_internal_arg_info>())).pass_by_reference as *const _
9936 as usize
9937 },
9938 17usize,
9939 concat!(
9940 "Offset of field: ",
9941 stringify!(_zend_internal_arg_info),
9942 "::",
9943 stringify!(pass_by_reference)
9944 )
9945 );
9946 assert_eq!(
9947 unsafe {
9948 &(*(::std::ptr::null::<_zend_internal_arg_info>())).allow_null as *const _ as usize
9949 },
9950 18usize,
9951 concat!(
9952 "Offset of field: ",
9953 stringify!(_zend_internal_arg_info),
9954 "::",
9955 stringify!(allow_null)
9956 )
9957 );
9958 assert_eq!(
9959 unsafe {
9960 &(*(::std::ptr::null::<_zend_internal_arg_info>())).is_variadic as *const _ as usize
9961 },
9962 19usize,
9963 concat!(
9964 "Offset of field: ",
9965 stringify!(_zend_internal_arg_info),
9966 "::",
9967 stringify!(is_variadic)
9968 )
9969 );
9970}
9971pub type zend_internal_arg_info = _zend_internal_arg_info;
9972#[repr(C)]
9973#[derive(Debug, Copy, Clone)]
9974pub struct _zend_arg_info {
9975 pub name: *mut zend_string,
9976 pub class_name: *mut zend_string,
9977 pub type_hint: zend_uchar,
9978 pub pass_by_reference: zend_uchar,
9979 pub allow_null: zend_bool,
9980 pub is_variadic: zend_bool,
9981}
9982#[test]
9983fn bindgen_test_layout__zend_arg_info() {
9984 assert_eq!(
9985 ::std::mem::size_of::<_zend_arg_info>(),
9986 24usize,
9987 concat!("Size of: ", stringify!(_zend_arg_info))
9988 );
9989 assert_eq!(
9990 ::std::mem::align_of::<_zend_arg_info>(),
9991 8usize,
9992 concat!("Alignment of ", stringify!(_zend_arg_info))
9993 );
9994 assert_eq!(
9995 unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).name as *const _ as usize },
9996 0usize,
9997 concat!(
9998 "Offset of field: ",
9999 stringify!(_zend_arg_info),
10000 "::",
10001 stringify!(name)
10002 )
10003 );
10004 assert_eq!(
10005 unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).class_name as *const _ as usize },
10006 8usize,
10007 concat!(
10008 "Offset of field: ",
10009 stringify!(_zend_arg_info),
10010 "::",
10011 stringify!(class_name)
10012 )
10013 );
10014 assert_eq!(
10015 unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).type_hint as *const _ as usize },
10016 16usize,
10017 concat!(
10018 "Offset of field: ",
10019 stringify!(_zend_arg_info),
10020 "::",
10021 stringify!(type_hint)
10022 )
10023 );
10024 assert_eq!(
10025 unsafe {
10026 &(*(::std::ptr::null::<_zend_arg_info>())).pass_by_reference as *const _ as usize
10027 },
10028 17usize,
10029 concat!(
10030 "Offset of field: ",
10031 stringify!(_zend_arg_info),
10032 "::",
10033 stringify!(pass_by_reference)
10034 )
10035 );
10036 assert_eq!(
10037 unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).allow_null as *const _ as usize },
10038 18usize,
10039 concat!(
10040 "Offset of field: ",
10041 stringify!(_zend_arg_info),
10042 "::",
10043 stringify!(allow_null)
10044 )
10045 );
10046 assert_eq!(
10047 unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).is_variadic as *const _ as usize },
10048 19usize,
10049 concat!(
10050 "Offset of field: ",
10051 stringify!(_zend_arg_info),
10052 "::",
10053 stringify!(is_variadic)
10054 )
10055 );
10056}
10057pub type zend_arg_info = _zend_arg_info;
10058#[repr(C)]
10059#[derive(Debug, Copy, Clone)]
10060pub struct _zend_internal_function_info {
10061 pub required_num_args: zend_uintptr_t,
10062 pub class_name: *const ::std::os::raw::c_char,
10063 pub type_hint: zend_uchar,
10064 pub return_reference: zend_bool,
10065 pub allow_null: zend_bool,
10066 pub _is_variadic: zend_bool,
10067}
10068#[test]
10069fn bindgen_test_layout__zend_internal_function_info() {
10070 assert_eq!(
10071 ::std::mem::size_of::<_zend_internal_function_info>(),
10072 24usize,
10073 concat!("Size of: ", stringify!(_zend_internal_function_info))
10074 );
10075 assert_eq!(
10076 ::std::mem::align_of::<_zend_internal_function_info>(),
10077 8usize,
10078 concat!("Alignment of ", stringify!(_zend_internal_function_info))
10079 );
10080 assert_eq!(
10081 unsafe {
10082 &(*(::std::ptr::null::<_zend_internal_function_info>())).required_num_args as *const _
10083 as usize
10084 },
10085 0usize,
10086 concat!(
10087 "Offset of field: ",
10088 stringify!(_zend_internal_function_info),
10089 "::",
10090 stringify!(required_num_args)
10091 )
10092 );
10093 assert_eq!(
10094 unsafe {
10095 &(*(::std::ptr::null::<_zend_internal_function_info>())).class_name as *const _ as usize
10096 },
10097 8usize,
10098 concat!(
10099 "Offset of field: ",
10100 stringify!(_zend_internal_function_info),
10101 "::",
10102 stringify!(class_name)
10103 )
10104 );
10105 assert_eq!(
10106 unsafe {
10107 &(*(::std::ptr::null::<_zend_internal_function_info>())).type_hint as *const _ as usize
10108 },
10109 16usize,
10110 concat!(
10111 "Offset of field: ",
10112 stringify!(_zend_internal_function_info),
10113 "::",
10114 stringify!(type_hint)
10115 )
10116 );
10117 assert_eq!(
10118 unsafe {
10119 &(*(::std::ptr::null::<_zend_internal_function_info>())).return_reference as *const _
10120 as usize
10121 },
10122 17usize,
10123 concat!(
10124 "Offset of field: ",
10125 stringify!(_zend_internal_function_info),
10126 "::",
10127 stringify!(return_reference)
10128 )
10129 );
10130 assert_eq!(
10131 unsafe {
10132 &(*(::std::ptr::null::<_zend_internal_function_info>())).allow_null as *const _ as usize
10133 },
10134 18usize,
10135 concat!(
10136 "Offset of field: ",
10137 stringify!(_zend_internal_function_info),
10138 "::",
10139 stringify!(allow_null)
10140 )
10141 );
10142 assert_eq!(
10143 unsafe {
10144 &(*(::std::ptr::null::<_zend_internal_function_info>()))._is_variadic as *const _
10145 as usize
10146 },
10147 19usize,
10148 concat!(
10149 "Offset of field: ",
10150 stringify!(_zend_internal_function_info),
10151 "::",
10152 stringify!(_is_variadic)
10153 )
10154 );
10155}
10156pub type zend_internal_function_info = _zend_internal_function_info;
10157#[repr(C)]
10158#[derive(Debug, Copy, Clone)]
10159pub struct _zend_op_array {
10160 pub type_: zend_uchar,
10161 pub arg_flags: [zend_uchar; 3usize],
10162 pub fn_flags: u32,
10163 pub function_name: *mut zend_string,
10164 pub scope: *mut zend_class_entry,
10165 pub prototype: *mut zend_function,
10166 pub num_args: u32,
10167 pub required_num_args: u32,
10168 pub arg_info: *mut zend_arg_info,
10169 pub refcount: *mut u32,
10170 pub last: u32,
10171 pub opcodes: *mut zend_op,
10172 pub last_var: ::std::os::raw::c_int,
10173 pub T: u32,
10174 pub vars: *mut *mut zend_string,
10175 pub last_live_range: ::std::os::raw::c_int,
10176 pub last_try_catch: ::std::os::raw::c_int,
10177 pub live_range: *mut zend_live_range,
10178 pub try_catch_array: *mut zend_try_catch_element,
10179 pub static_variables: *mut HashTable,
10180 pub filename: *mut zend_string,
10181 pub line_start: u32,
10182 pub line_end: u32,
10183 pub doc_comment: *mut zend_string,
10184 pub early_binding: u32,
10185 pub last_literal: ::std::os::raw::c_int,
10186 pub literals: *mut zval,
10187 pub cache_size: ::std::os::raw::c_int,
10188 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
10189 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
10190}
10191#[test]
10192fn bindgen_test_layout__zend_op_array() {
10193 assert_eq!(
10194 ::std::mem::size_of::<_zend_op_array>(),
10195 208usize,
10196 concat!("Size of: ", stringify!(_zend_op_array))
10197 );
10198 assert_eq!(
10199 ::std::mem::align_of::<_zend_op_array>(),
10200 8usize,
10201 concat!("Alignment of ", stringify!(_zend_op_array))
10202 );
10203 assert_eq!(
10204 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).type_ as *const _ as usize },
10205 0usize,
10206 concat!(
10207 "Offset of field: ",
10208 stringify!(_zend_op_array),
10209 "::",
10210 stringify!(type_)
10211 )
10212 );
10213 assert_eq!(
10214 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).arg_flags as *const _ as usize },
10215 1usize,
10216 concat!(
10217 "Offset of field: ",
10218 stringify!(_zend_op_array),
10219 "::",
10220 stringify!(arg_flags)
10221 )
10222 );
10223 assert_eq!(
10224 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).fn_flags as *const _ as usize },
10225 4usize,
10226 concat!(
10227 "Offset of field: ",
10228 stringify!(_zend_op_array),
10229 "::",
10230 stringify!(fn_flags)
10231 )
10232 );
10233 assert_eq!(
10234 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).function_name as *const _ as usize },
10235 8usize,
10236 concat!(
10237 "Offset of field: ",
10238 stringify!(_zend_op_array),
10239 "::",
10240 stringify!(function_name)
10241 )
10242 );
10243 assert_eq!(
10244 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).scope as *const _ as usize },
10245 16usize,
10246 concat!(
10247 "Offset of field: ",
10248 stringify!(_zend_op_array),
10249 "::",
10250 stringify!(scope)
10251 )
10252 );
10253 assert_eq!(
10254 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).prototype as *const _ as usize },
10255 24usize,
10256 concat!(
10257 "Offset of field: ",
10258 stringify!(_zend_op_array),
10259 "::",
10260 stringify!(prototype)
10261 )
10262 );
10263 assert_eq!(
10264 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).num_args as *const _ as usize },
10265 32usize,
10266 concat!(
10267 "Offset of field: ",
10268 stringify!(_zend_op_array),
10269 "::",
10270 stringify!(num_args)
10271 )
10272 );
10273 assert_eq!(
10274 unsafe {
10275 &(*(::std::ptr::null::<_zend_op_array>())).required_num_args as *const _ as usize
10276 },
10277 36usize,
10278 concat!(
10279 "Offset of field: ",
10280 stringify!(_zend_op_array),
10281 "::",
10282 stringify!(required_num_args)
10283 )
10284 );
10285 assert_eq!(
10286 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).arg_info as *const _ as usize },
10287 40usize,
10288 concat!(
10289 "Offset of field: ",
10290 stringify!(_zend_op_array),
10291 "::",
10292 stringify!(arg_info)
10293 )
10294 );
10295 assert_eq!(
10296 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).refcount as *const _ as usize },
10297 48usize,
10298 concat!(
10299 "Offset of field: ",
10300 stringify!(_zend_op_array),
10301 "::",
10302 stringify!(refcount)
10303 )
10304 );
10305 assert_eq!(
10306 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last as *const _ as usize },
10307 56usize,
10308 concat!(
10309 "Offset of field: ",
10310 stringify!(_zend_op_array),
10311 "::",
10312 stringify!(last)
10313 )
10314 );
10315 assert_eq!(
10316 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).opcodes as *const _ as usize },
10317 64usize,
10318 concat!(
10319 "Offset of field: ",
10320 stringify!(_zend_op_array),
10321 "::",
10322 stringify!(opcodes)
10323 )
10324 );
10325 assert_eq!(
10326 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_var as *const _ as usize },
10327 72usize,
10328 concat!(
10329 "Offset of field: ",
10330 stringify!(_zend_op_array),
10331 "::",
10332 stringify!(last_var)
10333 )
10334 );
10335 assert_eq!(
10336 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).T as *const _ as usize },
10337 76usize,
10338 concat!(
10339 "Offset of field: ",
10340 stringify!(_zend_op_array),
10341 "::",
10342 stringify!(T)
10343 )
10344 );
10345 assert_eq!(
10346 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).vars as *const _ as usize },
10347 80usize,
10348 concat!(
10349 "Offset of field: ",
10350 stringify!(_zend_op_array),
10351 "::",
10352 stringify!(vars)
10353 )
10354 );
10355 assert_eq!(
10356 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_live_range as *const _ as usize },
10357 88usize,
10358 concat!(
10359 "Offset of field: ",
10360 stringify!(_zend_op_array),
10361 "::",
10362 stringify!(last_live_range)
10363 )
10364 );
10365 assert_eq!(
10366 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_try_catch as *const _ as usize },
10367 92usize,
10368 concat!(
10369 "Offset of field: ",
10370 stringify!(_zend_op_array),
10371 "::",
10372 stringify!(last_try_catch)
10373 )
10374 );
10375 assert_eq!(
10376 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).live_range as *const _ as usize },
10377 96usize,
10378 concat!(
10379 "Offset of field: ",
10380 stringify!(_zend_op_array),
10381 "::",
10382 stringify!(live_range)
10383 )
10384 );
10385 assert_eq!(
10386 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).try_catch_array as *const _ as usize },
10387 104usize,
10388 concat!(
10389 "Offset of field: ",
10390 stringify!(_zend_op_array),
10391 "::",
10392 stringify!(try_catch_array)
10393 )
10394 );
10395 assert_eq!(
10396 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).static_variables as *const _ as usize },
10397 112usize,
10398 concat!(
10399 "Offset of field: ",
10400 stringify!(_zend_op_array),
10401 "::",
10402 stringify!(static_variables)
10403 )
10404 );
10405 assert_eq!(
10406 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).filename as *const _ as usize },
10407 120usize,
10408 concat!(
10409 "Offset of field: ",
10410 stringify!(_zend_op_array),
10411 "::",
10412 stringify!(filename)
10413 )
10414 );
10415 assert_eq!(
10416 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).line_start as *const _ as usize },
10417 128usize,
10418 concat!(
10419 "Offset of field: ",
10420 stringify!(_zend_op_array),
10421 "::",
10422 stringify!(line_start)
10423 )
10424 );
10425 assert_eq!(
10426 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).line_end as *const _ as usize },
10427 132usize,
10428 concat!(
10429 "Offset of field: ",
10430 stringify!(_zend_op_array),
10431 "::",
10432 stringify!(line_end)
10433 )
10434 );
10435 assert_eq!(
10436 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).doc_comment as *const _ as usize },
10437 136usize,
10438 concat!(
10439 "Offset of field: ",
10440 stringify!(_zend_op_array),
10441 "::",
10442 stringify!(doc_comment)
10443 )
10444 );
10445 assert_eq!(
10446 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).early_binding as *const _ as usize },
10447 144usize,
10448 concat!(
10449 "Offset of field: ",
10450 stringify!(_zend_op_array),
10451 "::",
10452 stringify!(early_binding)
10453 )
10454 );
10455 assert_eq!(
10456 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_literal as *const _ as usize },
10457 148usize,
10458 concat!(
10459 "Offset of field: ",
10460 stringify!(_zend_op_array),
10461 "::",
10462 stringify!(last_literal)
10463 )
10464 );
10465 assert_eq!(
10466 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).literals as *const _ as usize },
10467 152usize,
10468 concat!(
10469 "Offset of field: ",
10470 stringify!(_zend_op_array),
10471 "::",
10472 stringify!(literals)
10473 )
10474 );
10475 assert_eq!(
10476 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).cache_size as *const _ as usize },
10477 160usize,
10478 concat!(
10479 "Offset of field: ",
10480 stringify!(_zend_op_array),
10481 "::",
10482 stringify!(cache_size)
10483 )
10484 );
10485 assert_eq!(
10486 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).run_time_cache as *const _ as usize },
10487 168usize,
10488 concat!(
10489 "Offset of field: ",
10490 stringify!(_zend_op_array),
10491 "::",
10492 stringify!(run_time_cache)
10493 )
10494 );
10495 assert_eq!(
10496 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).reserved as *const _ as usize },
10497 176usize,
10498 concat!(
10499 "Offset of field: ",
10500 stringify!(_zend_op_array),
10501 "::",
10502 stringify!(reserved)
10503 )
10504 );
10505}
10506#[repr(C)]
10507#[derive(Debug, Copy, Clone)]
10508pub struct _zend_internal_function {
10509 pub type_: zend_uchar,
10510 pub arg_flags: [zend_uchar; 3usize],
10511 pub fn_flags: u32,
10512 pub function_name: *mut zend_string,
10513 pub scope: *mut zend_class_entry,
10514 pub prototype: *mut zend_function,
10515 pub num_args: u32,
10516 pub required_num_args: u32,
10517 pub arg_info: *mut zend_internal_arg_info,
10518 pub handler: ::std::option::Option<
10519 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
10520 >,
10521 pub module: *mut _zend_module_entry,
10522 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
10523}
10524#[test]
10525fn bindgen_test_layout__zend_internal_function() {
10526 assert_eq!(
10527 ::std::mem::size_of::<_zend_internal_function>(),
10528 96usize,
10529 concat!("Size of: ", stringify!(_zend_internal_function))
10530 );
10531 assert_eq!(
10532 ::std::mem::align_of::<_zend_internal_function>(),
10533 8usize,
10534 concat!("Alignment of ", stringify!(_zend_internal_function))
10535 );
10536 assert_eq!(
10537 unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).type_ as *const _ as usize },
10538 0usize,
10539 concat!(
10540 "Offset of field: ",
10541 stringify!(_zend_internal_function),
10542 "::",
10543 stringify!(type_)
10544 )
10545 );
10546 assert_eq!(
10547 unsafe {
10548 &(*(::std::ptr::null::<_zend_internal_function>())).arg_flags as *const _ as usize
10549 },
10550 1usize,
10551 concat!(
10552 "Offset of field: ",
10553 stringify!(_zend_internal_function),
10554 "::",
10555 stringify!(arg_flags)
10556 )
10557 );
10558 assert_eq!(
10559 unsafe {
10560 &(*(::std::ptr::null::<_zend_internal_function>())).fn_flags as *const _ as usize
10561 },
10562 4usize,
10563 concat!(
10564 "Offset of field: ",
10565 stringify!(_zend_internal_function),
10566 "::",
10567 stringify!(fn_flags)
10568 )
10569 );
10570 assert_eq!(
10571 unsafe {
10572 &(*(::std::ptr::null::<_zend_internal_function>())).function_name as *const _ as usize
10573 },
10574 8usize,
10575 concat!(
10576 "Offset of field: ",
10577 stringify!(_zend_internal_function),
10578 "::",
10579 stringify!(function_name)
10580 )
10581 );
10582 assert_eq!(
10583 unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).scope as *const _ as usize },
10584 16usize,
10585 concat!(
10586 "Offset of field: ",
10587 stringify!(_zend_internal_function),
10588 "::",
10589 stringify!(scope)
10590 )
10591 );
10592 assert_eq!(
10593 unsafe {
10594 &(*(::std::ptr::null::<_zend_internal_function>())).prototype as *const _ as usize
10595 },
10596 24usize,
10597 concat!(
10598 "Offset of field: ",
10599 stringify!(_zend_internal_function),
10600 "::",
10601 stringify!(prototype)
10602 )
10603 );
10604 assert_eq!(
10605 unsafe {
10606 &(*(::std::ptr::null::<_zend_internal_function>())).num_args as *const _ as usize
10607 },
10608 32usize,
10609 concat!(
10610 "Offset of field: ",
10611 stringify!(_zend_internal_function),
10612 "::",
10613 stringify!(num_args)
10614 )
10615 );
10616 assert_eq!(
10617 unsafe {
10618 &(*(::std::ptr::null::<_zend_internal_function>())).required_num_args as *const _
10619 as usize
10620 },
10621 36usize,
10622 concat!(
10623 "Offset of field: ",
10624 stringify!(_zend_internal_function),
10625 "::",
10626 stringify!(required_num_args)
10627 )
10628 );
10629 assert_eq!(
10630 unsafe {
10631 &(*(::std::ptr::null::<_zend_internal_function>())).arg_info as *const _ as usize
10632 },
10633 40usize,
10634 concat!(
10635 "Offset of field: ",
10636 stringify!(_zend_internal_function),
10637 "::",
10638 stringify!(arg_info)
10639 )
10640 );
10641 assert_eq!(
10642 unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).handler as *const _ as usize },
10643 48usize,
10644 concat!(
10645 "Offset of field: ",
10646 stringify!(_zend_internal_function),
10647 "::",
10648 stringify!(handler)
10649 )
10650 );
10651 assert_eq!(
10652 unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).module as *const _ as usize },
10653 56usize,
10654 concat!(
10655 "Offset of field: ",
10656 stringify!(_zend_internal_function),
10657 "::",
10658 stringify!(module)
10659 )
10660 );
10661 assert_eq!(
10662 unsafe {
10663 &(*(::std::ptr::null::<_zend_internal_function>())).reserved as *const _ as usize
10664 },
10665 64usize,
10666 concat!(
10667 "Offset of field: ",
10668 stringify!(_zend_internal_function),
10669 "::",
10670 stringify!(reserved)
10671 )
10672 );
10673}
10674pub type zend_internal_function = _zend_internal_function;
10675#[repr(C)]
10676#[derive(Copy, Clone)]
10677pub union _zend_function {
10678 pub type_: zend_uchar,
10679 pub quick_arg_flags: u32,
10680 pub common: _zend_function__bindgen_ty_1,
10681 pub op_array: zend_op_array,
10682 pub internal_function: zend_internal_function,
10683 _bindgen_union_align: [u64; 26usize],
10684}
10685#[repr(C)]
10686#[derive(Debug, Copy, Clone)]
10687pub struct _zend_function__bindgen_ty_1 {
10688 pub type_: zend_uchar,
10689 pub arg_flags: [zend_uchar; 3usize],
10690 pub fn_flags: u32,
10691 pub function_name: *mut zend_string,
10692 pub scope: *mut zend_class_entry,
10693 pub prototype: *mut _zend_function,
10694 pub num_args: u32,
10695 pub required_num_args: u32,
10696 pub arg_info: *mut zend_arg_info,
10697}
10698#[test]
10699fn bindgen_test_layout__zend_function__bindgen_ty_1() {
10700 assert_eq!(
10701 ::std::mem::size_of::<_zend_function__bindgen_ty_1>(),
10702 48usize,
10703 concat!("Size of: ", stringify!(_zend_function__bindgen_ty_1))
10704 );
10705 assert_eq!(
10706 ::std::mem::align_of::<_zend_function__bindgen_ty_1>(),
10707 8usize,
10708 concat!("Alignment of ", stringify!(_zend_function__bindgen_ty_1))
10709 );
10710 assert_eq!(
10711 unsafe {
10712 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).type_ as *const _ as usize
10713 },
10714 0usize,
10715 concat!(
10716 "Offset of field: ",
10717 stringify!(_zend_function__bindgen_ty_1),
10718 "::",
10719 stringify!(type_)
10720 )
10721 );
10722 assert_eq!(
10723 unsafe {
10724 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).arg_flags as *const _ as usize
10725 },
10726 1usize,
10727 concat!(
10728 "Offset of field: ",
10729 stringify!(_zend_function__bindgen_ty_1),
10730 "::",
10731 stringify!(arg_flags)
10732 )
10733 );
10734 assert_eq!(
10735 unsafe {
10736 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).fn_flags as *const _ as usize
10737 },
10738 4usize,
10739 concat!(
10740 "Offset of field: ",
10741 stringify!(_zend_function__bindgen_ty_1),
10742 "::",
10743 stringify!(fn_flags)
10744 )
10745 );
10746 assert_eq!(
10747 unsafe {
10748 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).function_name as *const _
10749 as usize
10750 },
10751 8usize,
10752 concat!(
10753 "Offset of field: ",
10754 stringify!(_zend_function__bindgen_ty_1),
10755 "::",
10756 stringify!(function_name)
10757 )
10758 );
10759 assert_eq!(
10760 unsafe {
10761 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).scope as *const _ as usize
10762 },
10763 16usize,
10764 concat!(
10765 "Offset of field: ",
10766 stringify!(_zend_function__bindgen_ty_1),
10767 "::",
10768 stringify!(scope)
10769 )
10770 );
10771 assert_eq!(
10772 unsafe {
10773 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).prototype as *const _ as usize
10774 },
10775 24usize,
10776 concat!(
10777 "Offset of field: ",
10778 stringify!(_zend_function__bindgen_ty_1),
10779 "::",
10780 stringify!(prototype)
10781 )
10782 );
10783 assert_eq!(
10784 unsafe {
10785 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).num_args as *const _ as usize
10786 },
10787 32usize,
10788 concat!(
10789 "Offset of field: ",
10790 stringify!(_zend_function__bindgen_ty_1),
10791 "::",
10792 stringify!(num_args)
10793 )
10794 );
10795 assert_eq!(
10796 unsafe {
10797 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).required_num_args as *const _
10798 as usize
10799 },
10800 36usize,
10801 concat!(
10802 "Offset of field: ",
10803 stringify!(_zend_function__bindgen_ty_1),
10804 "::",
10805 stringify!(required_num_args)
10806 )
10807 );
10808 assert_eq!(
10809 unsafe {
10810 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).arg_info as *const _ as usize
10811 },
10812 40usize,
10813 concat!(
10814 "Offset of field: ",
10815 stringify!(_zend_function__bindgen_ty_1),
10816 "::",
10817 stringify!(arg_info)
10818 )
10819 );
10820}
10821#[test]
10822fn bindgen_test_layout__zend_function() {
10823 assert_eq!(
10824 ::std::mem::size_of::<_zend_function>(),
10825 208usize,
10826 concat!("Size of: ", stringify!(_zend_function))
10827 );
10828 assert_eq!(
10829 ::std::mem::align_of::<_zend_function>(),
10830 8usize,
10831 concat!("Alignment of ", stringify!(_zend_function))
10832 );
10833 assert_eq!(
10834 unsafe { &(*(::std::ptr::null::<_zend_function>())).type_ as *const _ as usize },
10835 0usize,
10836 concat!(
10837 "Offset of field: ",
10838 stringify!(_zend_function),
10839 "::",
10840 stringify!(type_)
10841 )
10842 );
10843 assert_eq!(
10844 unsafe { &(*(::std::ptr::null::<_zend_function>())).quick_arg_flags as *const _ as usize },
10845 0usize,
10846 concat!(
10847 "Offset of field: ",
10848 stringify!(_zend_function),
10849 "::",
10850 stringify!(quick_arg_flags)
10851 )
10852 );
10853 assert_eq!(
10854 unsafe { &(*(::std::ptr::null::<_zend_function>())).common as *const _ as usize },
10855 0usize,
10856 concat!(
10857 "Offset of field: ",
10858 stringify!(_zend_function),
10859 "::",
10860 stringify!(common)
10861 )
10862 );
10863 assert_eq!(
10864 unsafe { &(*(::std::ptr::null::<_zend_function>())).op_array as *const _ as usize },
10865 0usize,
10866 concat!(
10867 "Offset of field: ",
10868 stringify!(_zend_function),
10869 "::",
10870 stringify!(op_array)
10871 )
10872 );
10873 assert_eq!(
10874 unsafe {
10875 &(*(::std::ptr::null::<_zend_function>())).internal_function as *const _ as usize
10876 },
10877 0usize,
10878 concat!(
10879 "Offset of field: ",
10880 stringify!(_zend_function),
10881 "::",
10882 stringify!(internal_function)
10883 )
10884 );
10885}
10886pub const _zend_call_kind_ZEND_CALL_NESTED_FUNCTION: _zend_call_kind = 0;
10887pub const _zend_call_kind_ZEND_CALL_NESTED_CODE: _zend_call_kind = 1;
10888pub const _zend_call_kind_ZEND_CALL_TOP_FUNCTION: _zend_call_kind = 2;
10889pub const _zend_call_kind_ZEND_CALL_TOP_CODE: _zend_call_kind = 3;
10890pub type _zend_call_kind = ::std::os::raw::c_uint;
10891pub use self::_zend_call_kind as zend_call_kind;
10892#[repr(C)]
10893#[derive(Copy, Clone)]
10894pub struct _zend_execute_data {
10895 pub opline: *const zend_op,
10896 pub call: *mut zend_execute_data,
10897 pub return_value: *mut zval,
10898 pub func: *mut zend_function,
10899 pub This: zval,
10900 pub prev_execute_data: *mut zend_execute_data,
10901 pub symbol_table: *mut zend_array,
10902 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
10903 pub literals: *mut zval,
10904}
10905#[test]
10906fn bindgen_test_layout__zend_execute_data() {
10907 assert_eq!(
10908 ::std::mem::size_of::<_zend_execute_data>(),
10909 80usize,
10910 concat!("Size of: ", stringify!(_zend_execute_data))
10911 );
10912 assert_eq!(
10913 ::std::mem::align_of::<_zend_execute_data>(),
10914 8usize,
10915 concat!("Alignment of ", stringify!(_zend_execute_data))
10916 );
10917 assert_eq!(
10918 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).opline as *const _ as usize },
10919 0usize,
10920 concat!(
10921 "Offset of field: ",
10922 stringify!(_zend_execute_data),
10923 "::",
10924 stringify!(opline)
10925 )
10926 );
10927 assert_eq!(
10928 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).call as *const _ as usize },
10929 8usize,
10930 concat!(
10931 "Offset of field: ",
10932 stringify!(_zend_execute_data),
10933 "::",
10934 stringify!(call)
10935 )
10936 );
10937 assert_eq!(
10938 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).return_value as *const _ as usize },
10939 16usize,
10940 concat!(
10941 "Offset of field: ",
10942 stringify!(_zend_execute_data),
10943 "::",
10944 stringify!(return_value)
10945 )
10946 );
10947 assert_eq!(
10948 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).func as *const _ as usize },
10949 24usize,
10950 concat!(
10951 "Offset of field: ",
10952 stringify!(_zend_execute_data),
10953 "::",
10954 stringify!(func)
10955 )
10956 );
10957 assert_eq!(
10958 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).This as *const _ as usize },
10959 32usize,
10960 concat!(
10961 "Offset of field: ",
10962 stringify!(_zend_execute_data),
10963 "::",
10964 stringify!(This)
10965 )
10966 );
10967 assert_eq!(
10968 unsafe {
10969 &(*(::std::ptr::null::<_zend_execute_data>())).prev_execute_data as *const _ as usize
10970 },
10971 48usize,
10972 concat!(
10973 "Offset of field: ",
10974 stringify!(_zend_execute_data),
10975 "::",
10976 stringify!(prev_execute_data)
10977 )
10978 );
10979 assert_eq!(
10980 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).symbol_table as *const _ as usize },
10981 56usize,
10982 concat!(
10983 "Offset of field: ",
10984 stringify!(_zend_execute_data),
10985 "::",
10986 stringify!(symbol_table)
10987 )
10988 );
10989 assert_eq!(
10990 unsafe {
10991 &(*(::std::ptr::null::<_zend_execute_data>())).run_time_cache as *const _ as usize
10992 },
10993 64usize,
10994 concat!(
10995 "Offset of field: ",
10996 stringify!(_zend_execute_data),
10997 "::",
10998 stringify!(run_time_cache)
10999 )
11000 );
11001 assert_eq!(
11002 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).literals as *const _ as usize },
11003 72usize,
11004 concat!(
11005 "Offset of field: ",
11006 stringify!(_zend_execute_data),
11007 "::",
11008 stringify!(literals)
11009 )
11010 );
11011}
11012pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
11013#[repr(C)]
11014#[derive(Debug, Copy, Clone)]
11015pub struct __jmp_buf_tag {
11016 pub __jmpbuf: __jmp_buf,
11017 pub __mask_was_saved: ::std::os::raw::c_int,
11018 pub __saved_mask: __sigset_t,
11019}
11020#[test]
11021fn bindgen_test_layout___jmp_buf_tag() {
11022 assert_eq!(
11023 ::std::mem::size_of::<__jmp_buf_tag>(),
11024 200usize,
11025 concat!("Size of: ", stringify!(__jmp_buf_tag))
11026 );
11027 assert_eq!(
11028 ::std::mem::align_of::<__jmp_buf_tag>(),
11029 8usize,
11030 concat!("Alignment of ", stringify!(__jmp_buf_tag))
11031 );
11032 assert_eq!(
11033 unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__jmpbuf as *const _ as usize },
11034 0usize,
11035 concat!(
11036 "Offset of field: ",
11037 stringify!(__jmp_buf_tag),
11038 "::",
11039 stringify!(__jmpbuf)
11040 )
11041 );
11042 assert_eq!(
11043 unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__mask_was_saved as *const _ as usize },
11044 64usize,
11045 concat!(
11046 "Offset of field: ",
11047 stringify!(__jmp_buf_tag),
11048 "::",
11049 stringify!(__mask_was_saved)
11050 )
11051 );
11052 assert_eq!(
11053 unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__saved_mask as *const _ as usize },
11054 72usize,
11055 concat!(
11056 "Offset of field: ",
11057 stringify!(__jmp_buf_tag),
11058 "::",
11059 stringify!(__saved_mask)
11060 )
11061 );
11062}
11063pub type jmp_buf = [__jmp_buf_tag; 1usize];
11064pub type zend_compiler_globals = _zend_compiler_globals;
11065pub type zend_executor_globals = _zend_executor_globals;
11066pub type zend_php_scanner_globals = _zend_php_scanner_globals;
11067pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
11068#[repr(C)]
11069#[derive(Copy, Clone)]
11070pub struct _zend_compiler_globals {
11071 pub loop_var_stack: zend_stack,
11072 pub active_class_entry: *mut zend_class_entry,
11073 pub compiled_filename: *mut zend_string,
11074 pub zend_lineno: ::std::os::raw::c_int,
11075 pub active_op_array: *mut zend_op_array,
11076 pub function_table: *mut HashTable,
11077 pub class_table: *mut HashTable,
11078 pub filenames_table: HashTable,
11079 pub auto_globals: *mut HashTable,
11080 pub parse_error: zend_bool,
11081 pub in_compilation: zend_bool,
11082 pub short_tags: zend_bool,
11083 pub unclean_shutdown: zend_bool,
11084 pub ini_parser_unbuffered_errors: zend_bool,
11085 pub open_files: zend_llist,
11086 pub ini_parser_param: *mut _zend_ini_parser_param,
11087 pub start_lineno: u32,
11088 pub increment_lineno: zend_bool,
11089 pub doc_comment: *mut zend_string,
11090 pub extra_fn_flags: u32,
11091 pub compiler_options: u32,
11092 pub const_filenames: HashTable,
11093 pub context: zend_oparray_context,
11094 pub file_context: zend_file_context,
11095 pub arena: *mut zend_arena,
11096 pub empty_string: *mut zend_string,
11097 pub one_char_string: [*mut zend_string; 256usize],
11098 pub known_strings: *mut *mut zend_string,
11099 pub known_strings_count: u32,
11100 pub interned_strings: HashTable,
11101 pub script_encoding_list: *mut *const zend_encoding,
11102 pub script_encoding_list_size: size_t,
11103 pub multibyte: zend_bool,
11104 pub detect_unicode: zend_bool,
11105 pub encoding_declared: zend_bool,
11106 pub ast: *mut zend_ast,
11107 pub ast_arena: *mut zend_arena,
11108 pub delayed_oplines_stack: zend_stack,
11109}
11110#[test]
11111fn bindgen_test_layout__zend_compiler_globals() {
11112 assert_eq!(
11113 ::std::mem::size_of::<_zend_compiler_globals>(),
11114 2616usize,
11115 concat!("Size of: ", stringify!(_zend_compiler_globals))
11116 );
11117 assert_eq!(
11118 ::std::mem::align_of::<_zend_compiler_globals>(),
11119 8usize,
11120 concat!("Alignment of ", stringify!(_zend_compiler_globals))
11121 );
11122 assert_eq!(
11123 unsafe {
11124 &(*(::std::ptr::null::<_zend_compiler_globals>())).loop_var_stack as *const _ as usize
11125 },
11126 0usize,
11127 concat!(
11128 "Offset of field: ",
11129 stringify!(_zend_compiler_globals),
11130 "::",
11131 stringify!(loop_var_stack)
11132 )
11133 );
11134 assert_eq!(
11135 unsafe {
11136 &(*(::std::ptr::null::<_zend_compiler_globals>())).active_class_entry as *const _
11137 as usize
11138 },
11139 24usize,
11140 concat!(
11141 "Offset of field: ",
11142 stringify!(_zend_compiler_globals),
11143 "::",
11144 stringify!(active_class_entry)
11145 )
11146 );
11147 assert_eq!(
11148 unsafe {
11149 &(*(::std::ptr::null::<_zend_compiler_globals>())).compiled_filename as *const _
11150 as usize
11151 },
11152 32usize,
11153 concat!(
11154 "Offset of field: ",
11155 stringify!(_zend_compiler_globals),
11156 "::",
11157 stringify!(compiled_filename)
11158 )
11159 );
11160 assert_eq!(
11161 unsafe {
11162 &(*(::std::ptr::null::<_zend_compiler_globals>())).zend_lineno as *const _ as usize
11163 },
11164 40usize,
11165 concat!(
11166 "Offset of field: ",
11167 stringify!(_zend_compiler_globals),
11168 "::",
11169 stringify!(zend_lineno)
11170 )
11171 );
11172 assert_eq!(
11173 unsafe {
11174 &(*(::std::ptr::null::<_zend_compiler_globals>())).active_op_array as *const _ as usize
11175 },
11176 48usize,
11177 concat!(
11178 "Offset of field: ",
11179 stringify!(_zend_compiler_globals),
11180 "::",
11181 stringify!(active_op_array)
11182 )
11183 );
11184 assert_eq!(
11185 unsafe {
11186 &(*(::std::ptr::null::<_zend_compiler_globals>())).function_table as *const _ as usize
11187 },
11188 56usize,
11189 concat!(
11190 "Offset of field: ",
11191 stringify!(_zend_compiler_globals),
11192 "::",
11193 stringify!(function_table)
11194 )
11195 );
11196 assert_eq!(
11197 unsafe {
11198 &(*(::std::ptr::null::<_zend_compiler_globals>())).class_table as *const _ as usize
11199 },
11200 64usize,
11201 concat!(
11202 "Offset of field: ",
11203 stringify!(_zend_compiler_globals),
11204 "::",
11205 stringify!(class_table)
11206 )
11207 );
11208 assert_eq!(
11209 unsafe {
11210 &(*(::std::ptr::null::<_zend_compiler_globals>())).filenames_table as *const _ as usize
11211 },
11212 72usize,
11213 concat!(
11214 "Offset of field: ",
11215 stringify!(_zend_compiler_globals),
11216 "::",
11217 stringify!(filenames_table)
11218 )
11219 );
11220 assert_eq!(
11221 unsafe {
11222 &(*(::std::ptr::null::<_zend_compiler_globals>())).auto_globals as *const _ as usize
11223 },
11224 128usize,
11225 concat!(
11226 "Offset of field: ",
11227 stringify!(_zend_compiler_globals),
11228 "::",
11229 stringify!(auto_globals)
11230 )
11231 );
11232 assert_eq!(
11233 unsafe {
11234 &(*(::std::ptr::null::<_zend_compiler_globals>())).parse_error as *const _ as usize
11235 },
11236 136usize,
11237 concat!(
11238 "Offset of field: ",
11239 stringify!(_zend_compiler_globals),
11240 "::",
11241 stringify!(parse_error)
11242 )
11243 );
11244 assert_eq!(
11245 unsafe {
11246 &(*(::std::ptr::null::<_zend_compiler_globals>())).in_compilation as *const _ as usize
11247 },
11248 137usize,
11249 concat!(
11250 "Offset of field: ",
11251 stringify!(_zend_compiler_globals),
11252 "::",
11253 stringify!(in_compilation)
11254 )
11255 );
11256 assert_eq!(
11257 unsafe {
11258 &(*(::std::ptr::null::<_zend_compiler_globals>())).short_tags as *const _ as usize
11259 },
11260 138usize,
11261 concat!(
11262 "Offset of field: ",
11263 stringify!(_zend_compiler_globals),
11264 "::",
11265 stringify!(short_tags)
11266 )
11267 );
11268 assert_eq!(
11269 unsafe {
11270 &(*(::std::ptr::null::<_zend_compiler_globals>())).unclean_shutdown as *const _ as usize
11271 },
11272 139usize,
11273 concat!(
11274 "Offset of field: ",
11275 stringify!(_zend_compiler_globals),
11276 "::",
11277 stringify!(unclean_shutdown)
11278 )
11279 );
11280 assert_eq!(
11281 unsafe {
11282 &(*(::std::ptr::null::<_zend_compiler_globals>())).ini_parser_unbuffered_errors
11283 as *const _ as usize
11284 },
11285 140usize,
11286 concat!(
11287 "Offset of field: ",
11288 stringify!(_zend_compiler_globals),
11289 "::",
11290 stringify!(ini_parser_unbuffered_errors)
11291 )
11292 );
11293 assert_eq!(
11294 unsafe {
11295 &(*(::std::ptr::null::<_zend_compiler_globals>())).open_files as *const _ as usize
11296 },
11297 144usize,
11298 concat!(
11299 "Offset of field: ",
11300 stringify!(_zend_compiler_globals),
11301 "::",
11302 stringify!(open_files)
11303 )
11304 );
11305 assert_eq!(
11306 unsafe {
11307 &(*(::std::ptr::null::<_zend_compiler_globals>())).ini_parser_param as *const _ as usize
11308 },
11309 200usize,
11310 concat!(
11311 "Offset of field: ",
11312 stringify!(_zend_compiler_globals),
11313 "::",
11314 stringify!(ini_parser_param)
11315 )
11316 );
11317 assert_eq!(
11318 unsafe {
11319 &(*(::std::ptr::null::<_zend_compiler_globals>())).start_lineno as *const _ as usize
11320 },
11321 208usize,
11322 concat!(
11323 "Offset of field: ",
11324 stringify!(_zend_compiler_globals),
11325 "::",
11326 stringify!(start_lineno)
11327 )
11328 );
11329 assert_eq!(
11330 unsafe {
11331 &(*(::std::ptr::null::<_zend_compiler_globals>())).increment_lineno as *const _ as usize
11332 },
11333 212usize,
11334 concat!(
11335 "Offset of field: ",
11336 stringify!(_zend_compiler_globals),
11337 "::",
11338 stringify!(increment_lineno)
11339 )
11340 );
11341 assert_eq!(
11342 unsafe {
11343 &(*(::std::ptr::null::<_zend_compiler_globals>())).doc_comment as *const _ as usize
11344 },
11345 216usize,
11346 concat!(
11347 "Offset of field: ",
11348 stringify!(_zend_compiler_globals),
11349 "::",
11350 stringify!(doc_comment)
11351 )
11352 );
11353 assert_eq!(
11354 unsafe {
11355 &(*(::std::ptr::null::<_zend_compiler_globals>())).extra_fn_flags as *const _ as usize
11356 },
11357 224usize,
11358 concat!(
11359 "Offset of field: ",
11360 stringify!(_zend_compiler_globals),
11361 "::",
11362 stringify!(extra_fn_flags)
11363 )
11364 );
11365 assert_eq!(
11366 unsafe {
11367 &(*(::std::ptr::null::<_zend_compiler_globals>())).compiler_options as *const _ as usize
11368 },
11369 228usize,
11370 concat!(
11371 "Offset of field: ",
11372 stringify!(_zend_compiler_globals),
11373 "::",
11374 stringify!(compiler_options)
11375 )
11376 );
11377 assert_eq!(
11378 unsafe {
11379 &(*(::std::ptr::null::<_zend_compiler_globals>())).const_filenames as *const _ as usize
11380 },
11381 232usize,
11382 concat!(
11383 "Offset of field: ",
11384 stringify!(_zend_compiler_globals),
11385 "::",
11386 stringify!(const_filenames)
11387 )
11388 );
11389 assert_eq!(
11390 unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).context as *const _ as usize },
11391 288usize,
11392 concat!(
11393 "Offset of field: ",
11394 stringify!(_zend_compiler_globals),
11395 "::",
11396 stringify!(context)
11397 )
11398 );
11399 assert_eq!(
11400 unsafe {
11401 &(*(::std::ptr::null::<_zend_compiler_globals>())).file_context as *const _ as usize
11402 },
11403 344usize,
11404 concat!(
11405 "Offset of field: ",
11406 stringify!(_zend_compiler_globals),
11407 "::",
11408 stringify!(file_context)
11409 )
11410 );
11411 assert_eq!(
11412 unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).arena as *const _ as usize },
11413 416usize,
11414 concat!(
11415 "Offset of field: ",
11416 stringify!(_zend_compiler_globals),
11417 "::",
11418 stringify!(arena)
11419 )
11420 );
11421 assert_eq!(
11422 unsafe {
11423 &(*(::std::ptr::null::<_zend_compiler_globals>())).empty_string as *const _ as usize
11424 },
11425 424usize,
11426 concat!(
11427 "Offset of field: ",
11428 stringify!(_zend_compiler_globals),
11429 "::",
11430 stringify!(empty_string)
11431 )
11432 );
11433 assert_eq!(
11434 unsafe {
11435 &(*(::std::ptr::null::<_zend_compiler_globals>())).one_char_string as *const _ as usize
11436 },
11437 432usize,
11438 concat!(
11439 "Offset of field: ",
11440 stringify!(_zend_compiler_globals),
11441 "::",
11442 stringify!(one_char_string)
11443 )
11444 );
11445 assert_eq!(
11446 unsafe {
11447 &(*(::std::ptr::null::<_zend_compiler_globals>())).known_strings as *const _ as usize
11448 },
11449 2480usize,
11450 concat!(
11451 "Offset of field: ",
11452 stringify!(_zend_compiler_globals),
11453 "::",
11454 stringify!(known_strings)
11455 )
11456 );
11457 assert_eq!(
11458 unsafe {
11459 &(*(::std::ptr::null::<_zend_compiler_globals>())).known_strings_count as *const _
11460 as usize
11461 },
11462 2488usize,
11463 concat!(
11464 "Offset of field: ",
11465 stringify!(_zend_compiler_globals),
11466 "::",
11467 stringify!(known_strings_count)
11468 )
11469 );
11470 assert_eq!(
11471 unsafe {
11472 &(*(::std::ptr::null::<_zend_compiler_globals>())).interned_strings as *const _ as usize
11473 },
11474 2496usize,
11475 concat!(
11476 "Offset of field: ",
11477 stringify!(_zend_compiler_globals),
11478 "::",
11479 stringify!(interned_strings)
11480 )
11481 );
11482 assert_eq!(
11483 unsafe {
11484 &(*(::std::ptr::null::<_zend_compiler_globals>())).script_encoding_list as *const _
11485 as usize
11486 },
11487 2552usize,
11488 concat!(
11489 "Offset of field: ",
11490 stringify!(_zend_compiler_globals),
11491 "::",
11492 stringify!(script_encoding_list)
11493 )
11494 );
11495 assert_eq!(
11496 unsafe {
11497 &(*(::std::ptr::null::<_zend_compiler_globals>())).script_encoding_list_size as *const _
11498 as usize
11499 },
11500 2560usize,
11501 concat!(
11502 "Offset of field: ",
11503 stringify!(_zend_compiler_globals),
11504 "::",
11505 stringify!(script_encoding_list_size)
11506 )
11507 );
11508 assert_eq!(
11509 unsafe {
11510 &(*(::std::ptr::null::<_zend_compiler_globals>())).multibyte as *const _ as usize
11511 },
11512 2568usize,
11513 concat!(
11514 "Offset of field: ",
11515 stringify!(_zend_compiler_globals),
11516 "::",
11517 stringify!(multibyte)
11518 )
11519 );
11520 assert_eq!(
11521 unsafe {
11522 &(*(::std::ptr::null::<_zend_compiler_globals>())).detect_unicode as *const _ as usize
11523 },
11524 2569usize,
11525 concat!(
11526 "Offset of field: ",
11527 stringify!(_zend_compiler_globals),
11528 "::",
11529 stringify!(detect_unicode)
11530 )
11531 );
11532 assert_eq!(
11533 unsafe {
11534 &(*(::std::ptr::null::<_zend_compiler_globals>())).encoding_declared as *const _
11535 as usize
11536 },
11537 2570usize,
11538 concat!(
11539 "Offset of field: ",
11540 stringify!(_zend_compiler_globals),
11541 "::",
11542 stringify!(encoding_declared)
11543 )
11544 );
11545 assert_eq!(
11546 unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).ast as *const _ as usize },
11547 2576usize,
11548 concat!(
11549 "Offset of field: ",
11550 stringify!(_zend_compiler_globals),
11551 "::",
11552 stringify!(ast)
11553 )
11554 );
11555 assert_eq!(
11556 unsafe {
11557 &(*(::std::ptr::null::<_zend_compiler_globals>())).ast_arena as *const _ as usize
11558 },
11559 2584usize,
11560 concat!(
11561 "Offset of field: ",
11562 stringify!(_zend_compiler_globals),
11563 "::",
11564 stringify!(ast_arena)
11565 )
11566 );
11567 assert_eq!(
11568 unsafe {
11569 &(*(::std::ptr::null::<_zend_compiler_globals>())).delayed_oplines_stack as *const _
11570 as usize
11571 },
11572 2592usize,
11573 concat!(
11574 "Offset of field: ",
11575 stringify!(_zend_compiler_globals),
11576 "::",
11577 stringify!(delayed_oplines_stack)
11578 )
11579 );
11580}
11581extern "C" {
11582 pub static mut compiler_globals: _zend_compiler_globals;
11583}
11584extern "C" {
11585 pub fn zendparse() -> ::std::os::raw::c_int;
11586}
11587extern "C" {
11588 pub static mut executor_globals: zend_executor_globals;
11589}
11590extern "C" {
11591 pub static mut language_scanner_globals: zend_php_scanner_globals;
11592}
11593extern "C" {
11594 pub static mut ini_scanner_globals: zend_ini_scanner_globals;
11595}
11596#[repr(C)]
11597#[derive(Debug, Copy, Clone)]
11598pub struct _zend_stack {
11599 pub size: ::std::os::raw::c_int,
11600 pub top: ::std::os::raw::c_int,
11601 pub max: ::std::os::raw::c_int,
11602 pub elements: *mut ::std::os::raw::c_void,
11603}
11604#[test]
11605fn bindgen_test_layout__zend_stack() {
11606 assert_eq!(
11607 ::std::mem::size_of::<_zend_stack>(),
11608 24usize,
11609 concat!("Size of: ", stringify!(_zend_stack))
11610 );
11611 assert_eq!(
11612 ::std::mem::align_of::<_zend_stack>(),
11613 8usize,
11614 concat!("Alignment of ", stringify!(_zend_stack))
11615 );
11616 assert_eq!(
11617 unsafe { &(*(::std::ptr::null::<_zend_stack>())).size as *const _ as usize },
11618 0usize,
11619 concat!(
11620 "Offset of field: ",
11621 stringify!(_zend_stack),
11622 "::",
11623 stringify!(size)
11624 )
11625 );
11626 assert_eq!(
11627 unsafe { &(*(::std::ptr::null::<_zend_stack>())).top as *const _ as usize },
11628 4usize,
11629 concat!(
11630 "Offset of field: ",
11631 stringify!(_zend_stack),
11632 "::",
11633 stringify!(top)
11634 )
11635 );
11636 assert_eq!(
11637 unsafe { &(*(::std::ptr::null::<_zend_stack>())).max as *const _ as usize },
11638 8usize,
11639 concat!(
11640 "Offset of field: ",
11641 stringify!(_zend_stack),
11642 "::",
11643 stringify!(max)
11644 )
11645 );
11646 assert_eq!(
11647 unsafe { &(*(::std::ptr::null::<_zend_stack>())).elements as *const _ as usize },
11648 16usize,
11649 concat!(
11650 "Offset of field: ",
11651 stringify!(_zend_stack),
11652 "::",
11653 stringify!(elements)
11654 )
11655 );
11656}
11657pub type zend_stack = _zend_stack;
11658extern "C" {
11659 pub fn zend_stack_init(
11660 stack: *mut zend_stack,
11661 size: ::std::os::raw::c_int,
11662 ) -> ::std::os::raw::c_int;
11663}
11664extern "C" {
11665 pub fn zend_stack_push(
11666 stack: *mut zend_stack,
11667 element: *const ::std::os::raw::c_void,
11668 ) -> ::std::os::raw::c_int;
11669}
11670extern "C" {
11671 pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
11672}
11673extern "C" {
11674 pub fn zend_stack_del_top(stack: *mut zend_stack) -> ::std::os::raw::c_int;
11675}
11676extern "C" {
11677 pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
11678}
11679extern "C" {
11680 pub fn zend_stack_is_empty(stack: *const zend_stack) -> ::std::os::raw::c_int;
11681}
11682extern "C" {
11683 pub fn zend_stack_destroy(stack: *mut zend_stack) -> ::std::os::raw::c_int;
11684}
11685extern "C" {
11686 pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
11687}
11688extern "C" {
11689 pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
11690}
11691extern "C" {
11692 pub fn zend_stack_apply(
11693 stack: *mut zend_stack,
11694 type_: ::std::os::raw::c_int,
11695 apply_function: ::std::option::Option<
11696 unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
11697 >,
11698 );
11699}
11700extern "C" {
11701 pub fn zend_stack_apply_with_argument(
11702 stack: *mut zend_stack,
11703 type_: ::std::os::raw::c_int,
11704 apply_function: ::std::option::Option<
11705 unsafe extern "C" fn(
11706 element: *mut ::std::os::raw::c_void,
11707 arg: *mut ::std::os::raw::c_void,
11708 ) -> ::std::os::raw::c_int,
11709 >,
11710 arg: *mut ::std::os::raw::c_void,
11711 );
11712}
11713extern "C" {
11714 pub fn zend_stack_clean(
11715 stack: *mut zend_stack,
11716 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
11717 free_elements: zend_bool,
11718 );
11719}
11720#[repr(C)]
11721#[derive(Debug, Copy, Clone)]
11722pub struct _zend_ptr_stack {
11723 pub top: ::std::os::raw::c_int,
11724 pub max: ::std::os::raw::c_int,
11725 pub elements: *mut *mut ::std::os::raw::c_void,
11726 pub top_element: *mut *mut ::std::os::raw::c_void,
11727 pub persistent: zend_bool,
11728}
11729#[test]
11730fn bindgen_test_layout__zend_ptr_stack() {
11731 assert_eq!(
11732 ::std::mem::size_of::<_zend_ptr_stack>(),
11733 32usize,
11734 concat!("Size of: ", stringify!(_zend_ptr_stack))
11735 );
11736 assert_eq!(
11737 ::std::mem::align_of::<_zend_ptr_stack>(),
11738 8usize,
11739 concat!("Alignment of ", stringify!(_zend_ptr_stack))
11740 );
11741 assert_eq!(
11742 unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).top as *const _ as usize },
11743 0usize,
11744 concat!(
11745 "Offset of field: ",
11746 stringify!(_zend_ptr_stack),
11747 "::",
11748 stringify!(top)
11749 )
11750 );
11751 assert_eq!(
11752 unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).max as *const _ as usize },
11753 4usize,
11754 concat!(
11755 "Offset of field: ",
11756 stringify!(_zend_ptr_stack),
11757 "::",
11758 stringify!(max)
11759 )
11760 );
11761 assert_eq!(
11762 unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).elements as *const _ as usize },
11763 8usize,
11764 concat!(
11765 "Offset of field: ",
11766 stringify!(_zend_ptr_stack),
11767 "::",
11768 stringify!(elements)
11769 )
11770 );
11771 assert_eq!(
11772 unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).top_element as *const _ as usize },
11773 16usize,
11774 concat!(
11775 "Offset of field: ",
11776 stringify!(_zend_ptr_stack),
11777 "::",
11778 stringify!(top_element)
11779 )
11780 );
11781 assert_eq!(
11782 unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).persistent as *const _ as usize },
11783 24usize,
11784 concat!(
11785 "Offset of field: ",
11786 stringify!(_zend_ptr_stack),
11787 "::",
11788 stringify!(persistent)
11789 )
11790 );
11791}
11792pub type zend_ptr_stack = _zend_ptr_stack;
11793extern "C" {
11794 pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
11795}
11796extern "C" {
11797 pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: zend_bool);
11798}
11799extern "C" {
11800 pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
11801}
11802extern "C" {
11803 pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
11804}
11805extern "C" {
11806 pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
11807}
11808extern "C" {
11809 pub fn zend_ptr_stack_apply(
11810 stack: *mut zend_ptr_stack,
11811 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
11812 );
11813}
11814extern "C" {
11815 pub fn zend_ptr_stack_clean(
11816 stack: *mut zend_ptr_stack,
11817 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
11818 free_elements: zend_bool,
11819 );
11820}
11821extern "C" {
11822 pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
11823}
11824extern "C" {
11825 pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
11826}
11827extern "C" {
11828 pub fn zend_object_std_dtor(object: *mut zend_object);
11829}
11830extern "C" {
11831 pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
11832}
11833extern "C" {
11834 pub fn zend_objects_destroy_object(object: *mut zend_object);
11835}
11836extern "C" {
11837 pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
11838}
11839extern "C" {
11840 pub fn zend_objects_clone_obj(object: *mut zval) -> *mut zend_object;
11841}
11842#[repr(C)]
11843#[derive(Debug, Copy, Clone)]
11844pub struct _zend_objects_store {
11845 pub object_buckets: *mut *mut zend_object,
11846 pub top: u32,
11847 pub size: u32,
11848 pub free_list_head: ::std::os::raw::c_int,
11849}
11850#[test]
11851fn bindgen_test_layout__zend_objects_store() {
11852 assert_eq!(
11853 ::std::mem::size_of::<_zend_objects_store>(),
11854 24usize,
11855 concat!("Size of: ", stringify!(_zend_objects_store))
11856 );
11857 assert_eq!(
11858 ::std::mem::align_of::<_zend_objects_store>(),
11859 8usize,
11860 concat!("Alignment of ", stringify!(_zend_objects_store))
11861 );
11862 assert_eq!(
11863 unsafe {
11864 &(*(::std::ptr::null::<_zend_objects_store>())).object_buckets as *const _ as usize
11865 },
11866 0usize,
11867 concat!(
11868 "Offset of field: ",
11869 stringify!(_zend_objects_store),
11870 "::",
11871 stringify!(object_buckets)
11872 )
11873 );
11874 assert_eq!(
11875 unsafe { &(*(::std::ptr::null::<_zend_objects_store>())).top as *const _ as usize },
11876 8usize,
11877 concat!(
11878 "Offset of field: ",
11879 stringify!(_zend_objects_store),
11880 "::",
11881 stringify!(top)
11882 )
11883 );
11884 assert_eq!(
11885 unsafe { &(*(::std::ptr::null::<_zend_objects_store>())).size as *const _ as usize },
11886 12usize,
11887 concat!(
11888 "Offset of field: ",
11889 stringify!(_zend_objects_store),
11890 "::",
11891 stringify!(size)
11892 )
11893 );
11894 assert_eq!(
11895 unsafe {
11896 &(*(::std::ptr::null::<_zend_objects_store>())).free_list_head as *const _ as usize
11897 },
11898 16usize,
11899 concat!(
11900 "Offset of field: ",
11901 stringify!(_zend_objects_store),
11902 "::",
11903 stringify!(free_list_head)
11904 )
11905 );
11906}
11907pub type zend_objects_store = _zend_objects_store;
11908extern "C" {
11909 pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
11910}
11911extern "C" {
11912 pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
11913}
11914extern "C" {
11915 pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
11916}
11917extern "C" {
11918 pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
11919}
11920extern "C" {
11921 pub fn zend_objects_store_put(object: *mut zend_object);
11922}
11923extern "C" {
11924 pub fn zend_objects_store_del(object: *mut zend_object);
11925}
11926extern "C" {
11927 pub fn zend_objects_store_free(object: *mut zend_object);
11928}
11929extern "C" {
11930 pub fn zend_object_store_set_object(zobject: *mut zval, object: *mut zend_object);
11931}
11932extern "C" {
11933 pub fn zend_object_store_ctor_failed(object: *mut zend_object);
11934}
11935extern "C" {
11936 pub fn zend_objects_store_free_object_storage(objects: *mut zend_objects_store);
11937}
11938extern "C" {
11939 pub fn zend_object_create_proxy(object: *mut zval, member: *mut zval) -> *mut zend_object;
11940}
11941extern "C" {
11942 pub fn zend_get_std_object_handlers() -> *mut zend_object_handlers;
11943}
11944extern "C" {
11945 pub fn zend_init_fpu();
11946}
11947extern "C" {
11948 pub fn zend_shutdown_fpu();
11949}
11950extern "C" {
11951 pub fn zend_ensure_fpu_mode();
11952}
11953pub type fpu_control_t = ::std::os::raw::c_ushort;
11954#[repr(C)]
11955#[derive(Debug, Copy, Clone)]
11956pub struct _zend_encoding {
11957 _unused: [u8; 0],
11958}
11959pub type zend_encoding = _zend_encoding;
11960pub type zend_encoding_filter = ::std::option::Option<
11961 unsafe extern "C" fn(
11962 str_: *mut *mut ::std::os::raw::c_uchar,
11963 str_length: *mut size_t,
11964 buf: *const ::std::os::raw::c_uchar,
11965 length: size_t,
11966 ) -> size_t,
11967>;
11968pub type zend_encoding_fetcher = ::std::option::Option<
11969 unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
11970>;
11971pub type zend_encoding_name_getter = ::std::option::Option<
11972 unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
11973>;
11974pub type zend_encoding_lexer_compatibility_checker = ::std::option::Option<
11975 unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
11976>;
11977pub type zend_encoding_detector = ::std::option::Option<
11978 unsafe extern "C" fn(
11979 string: *const ::std::os::raw::c_uchar,
11980 length: size_t,
11981 list: *mut *const zend_encoding,
11982 list_size: size_t,
11983 ) -> *const zend_encoding,
11984>;
11985pub type zend_encoding_converter = ::std::option::Option<
11986 unsafe extern "C" fn(
11987 to: *mut *mut ::std::os::raw::c_uchar,
11988 to_length: *mut size_t,
11989 from: *const ::std::os::raw::c_uchar,
11990 from_length: size_t,
11991 encoding_to: *const zend_encoding,
11992 encoding_from: *const zend_encoding,
11993 ) -> size_t,
11994>;
11995pub type zend_encoding_list_parser = ::std::option::Option<
11996 unsafe extern "C" fn(
11997 encoding_list: *const ::std::os::raw::c_char,
11998 encoding_list_len: size_t,
11999 return_list: *mut *mut *const zend_encoding,
12000 return_size: *mut size_t,
12001 persistent: ::std::os::raw::c_int,
12002 ) -> ::std::os::raw::c_int,
12003>;
12004pub type zend_encoding_internal_encoding_getter =
12005 ::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
12006pub type zend_encoding_internal_encoding_setter = ::std::option::Option<
12007 unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
12008>;
12009#[repr(C)]
12010#[derive(Debug, Copy, Clone)]
12011pub struct _zend_multibyte_functions {
12012 pub provider_name: *const ::std::os::raw::c_char,
12013 pub encoding_fetcher: zend_encoding_fetcher,
12014 pub encoding_name_getter: zend_encoding_name_getter,
12015 pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
12016 pub encoding_detector: zend_encoding_detector,
12017 pub encoding_converter: zend_encoding_converter,
12018 pub encoding_list_parser: zend_encoding_list_parser,
12019 pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
12020 pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
12021}
12022#[test]
12023fn bindgen_test_layout__zend_multibyte_functions() {
12024 assert_eq!(
12025 ::std::mem::size_of::<_zend_multibyte_functions>(),
12026 72usize,
12027 concat!("Size of: ", stringify!(_zend_multibyte_functions))
12028 );
12029 assert_eq!(
12030 ::std::mem::align_of::<_zend_multibyte_functions>(),
12031 8usize,
12032 concat!("Alignment of ", stringify!(_zend_multibyte_functions))
12033 );
12034 assert_eq!(
12035 unsafe {
12036 &(*(::std::ptr::null::<_zend_multibyte_functions>())).provider_name as *const _ as usize
12037 },
12038 0usize,
12039 concat!(
12040 "Offset of field: ",
12041 stringify!(_zend_multibyte_functions),
12042 "::",
12043 stringify!(provider_name)
12044 )
12045 );
12046 assert_eq!(
12047 unsafe {
12048 &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_fetcher as *const _
12049 as usize
12050 },
12051 8usize,
12052 concat!(
12053 "Offset of field: ",
12054 stringify!(_zend_multibyte_functions),
12055 "::",
12056 stringify!(encoding_fetcher)
12057 )
12058 );
12059 assert_eq!(
12060 unsafe {
12061 &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_name_getter as *const _
12062 as usize
12063 },
12064 16usize,
12065 concat!(
12066 "Offset of field: ",
12067 stringify!(_zend_multibyte_functions),
12068 "::",
12069 stringify!(encoding_name_getter)
12070 )
12071 );
12072 assert_eq!(
12073 unsafe {
12074 &(*(::std::ptr::null::<_zend_multibyte_functions>())).lexer_compatibility_checker
12075 as *const _ as usize
12076 },
12077 24usize,
12078 concat!(
12079 "Offset of field: ",
12080 stringify!(_zend_multibyte_functions),
12081 "::",
12082 stringify!(lexer_compatibility_checker)
12083 )
12084 );
12085 assert_eq!(
12086 unsafe {
12087 &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_detector as *const _
12088 as usize
12089 },
12090 32usize,
12091 concat!(
12092 "Offset of field: ",
12093 stringify!(_zend_multibyte_functions),
12094 "::",
12095 stringify!(encoding_detector)
12096 )
12097 );
12098 assert_eq!(
12099 unsafe {
12100 &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_converter as *const _
12101 as usize
12102 },
12103 40usize,
12104 concat!(
12105 "Offset of field: ",
12106 stringify!(_zend_multibyte_functions),
12107 "::",
12108 stringify!(encoding_converter)
12109 )
12110 );
12111 assert_eq!(
12112 unsafe {
12113 &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_list_parser as *const _
12114 as usize
12115 },
12116 48usize,
12117 concat!(
12118 "Offset of field: ",
12119 stringify!(_zend_multibyte_functions),
12120 "::",
12121 stringify!(encoding_list_parser)
12122 )
12123 );
12124 assert_eq!(
12125 unsafe {
12126 &(*(::std::ptr::null::<_zend_multibyte_functions>())).internal_encoding_getter
12127 as *const _ as usize
12128 },
12129 56usize,
12130 concat!(
12131 "Offset of field: ",
12132 stringify!(_zend_multibyte_functions),
12133 "::",
12134 stringify!(internal_encoding_getter)
12135 )
12136 );
12137 assert_eq!(
12138 unsafe {
12139 &(*(::std::ptr::null::<_zend_multibyte_functions>())).internal_encoding_setter
12140 as *const _ as usize
12141 },
12142 64usize,
12143 concat!(
12144 "Offset of field: ",
12145 stringify!(_zend_multibyte_functions),
12146 "::",
12147 stringify!(internal_encoding_setter)
12148 )
12149 );
12150}
12151pub type zend_multibyte_functions = _zend_multibyte_functions;
12152extern "C" {
12153 pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
12154}
12155extern "C" {
12156 pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
12157}
12158extern "C" {
12159 pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
12160}
12161extern "C" {
12162 pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
12163}
12164extern "C" {
12165 pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
12166}
12167extern "C" {
12168 pub fn zend_multibyte_set_functions(
12169 functions: *const zend_multibyte_functions,
12170 ) -> ::std::os::raw::c_int;
12171}
12172extern "C" {
12173 pub fn zend_multibyte_restore_functions();
12174}
12175extern "C" {
12176 pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
12177}
12178extern "C" {
12179 pub fn zend_multibyte_fetch_encoding(
12180 name: *const ::std::os::raw::c_char,
12181 ) -> *const zend_encoding;
12182}
12183extern "C" {
12184 pub fn zend_multibyte_get_encoding_name(
12185 encoding: *const zend_encoding,
12186 ) -> *const ::std::os::raw::c_char;
12187}
12188extern "C" {
12189 pub fn zend_multibyte_check_lexer_compatibility(
12190 encoding: *const zend_encoding,
12191 ) -> ::std::os::raw::c_int;
12192}
12193extern "C" {
12194 pub fn zend_multibyte_encoding_detector(
12195 string: *const ::std::os::raw::c_uchar,
12196 length: size_t,
12197 list: *mut *const zend_encoding,
12198 list_size: size_t,
12199 ) -> *const zend_encoding;
12200}
12201extern "C" {
12202 pub fn zend_multibyte_encoding_converter(
12203 to: *mut *mut ::std::os::raw::c_uchar,
12204 to_length: *mut size_t,
12205 from: *const ::std::os::raw::c_uchar,
12206 from_length: size_t,
12207 encoding_to: *const zend_encoding,
12208 encoding_from: *const zend_encoding,
12209 ) -> size_t;
12210}
12211extern "C" {
12212 pub fn zend_multibyte_parse_encoding_list(
12213 encoding_list: *const ::std::os::raw::c_char,
12214 encoding_list_len: size_t,
12215 return_list: *mut *mut *const zend_encoding,
12216 return_size: *mut size_t,
12217 persistent: ::std::os::raw::c_int,
12218 ) -> ::std::os::raw::c_int;
12219}
12220extern "C" {
12221 pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
12222}
12223extern "C" {
12224 pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
12225}
12226extern "C" {
12227 pub fn zend_multibyte_set_script_encoding(
12228 encoding_list: *mut *const zend_encoding,
12229 encoding_list_size: size_t,
12230 ) -> ::std::os::raw::c_int;
12231}
12232extern "C" {
12233 pub fn zend_multibyte_set_internal_encoding(
12234 encoding: *const zend_encoding,
12235 ) -> ::std::os::raw::c_int;
12236}
12237extern "C" {
12238 pub fn zend_multibyte_set_script_encoding_by_string(
12239 new_value: *const ::std::os::raw::c_char,
12240 new_value_length: size_t,
12241 ) -> ::std::os::raw::c_int;
12242}
12243pub type zend_arena = _zend_arena;
12244#[repr(C)]
12245#[derive(Debug, Copy, Clone)]
12246pub struct _zend_arena {
12247 pub ptr: *mut ::std::os::raw::c_char,
12248 pub end: *mut ::std::os::raw::c_char,
12249 pub prev: *mut zend_arena,
12250}
12251#[test]
12252fn bindgen_test_layout__zend_arena() {
12253 assert_eq!(
12254 ::std::mem::size_of::<_zend_arena>(),
12255 24usize,
12256 concat!("Size of: ", stringify!(_zend_arena))
12257 );
12258 assert_eq!(
12259 ::std::mem::align_of::<_zend_arena>(),
12260 8usize,
12261 concat!("Alignment of ", stringify!(_zend_arena))
12262 );
12263 assert_eq!(
12264 unsafe { &(*(::std::ptr::null::<_zend_arena>())).ptr as *const _ as usize },
12265 0usize,
12266 concat!(
12267 "Offset of field: ",
12268 stringify!(_zend_arena),
12269 "::",
12270 stringify!(ptr)
12271 )
12272 );
12273 assert_eq!(
12274 unsafe { &(*(::std::ptr::null::<_zend_arena>())).end as *const _ as usize },
12275 8usize,
12276 concat!(
12277 "Offset of field: ",
12278 stringify!(_zend_arena),
12279 "::",
12280 stringify!(end)
12281 )
12282 );
12283 assert_eq!(
12284 unsafe { &(*(::std::ptr::null::<_zend_arena>())).prev as *const _ as usize },
12285 16usize,
12286 concat!(
12287 "Offset of field: ",
12288 stringify!(_zend_arena),
12289 "::",
12290 stringify!(prev)
12291 )
12292 );
12293}
12294pub type zend_vm_stack = *mut _zend_vm_stack;
12295pub type zend_ini_entry = _zend_ini_entry;
12296#[repr(C)]
12297#[derive(Copy, Clone)]
12298pub struct _zend_executor_globals {
12299 pub uninitialized_zval: zval,
12300 pub error_zval: zval,
12301 pub symtable_cache: [*mut zend_array; 32usize],
12302 pub symtable_cache_limit: *mut *mut zend_array,
12303 pub symtable_cache_ptr: *mut *mut zend_array,
12304 pub symbol_table: zend_array,
12305 pub included_files: HashTable,
12306 pub bailout: *mut jmp_buf,
12307 pub error_reporting: ::std::os::raw::c_int,
12308 pub exit_status: ::std::os::raw::c_int,
12309 pub function_table: *mut HashTable,
12310 pub class_table: *mut HashTable,
12311 pub zend_constants: *mut HashTable,
12312 pub vm_stack_top: *mut zval,
12313 pub vm_stack_end: *mut zval,
12314 pub vm_stack: zend_vm_stack,
12315 pub current_execute_data: *mut _zend_execute_data,
12316 pub fake_scope: *mut zend_class_entry,
12317 pub precision: zend_long,
12318 pub ticks_count: ::std::os::raw::c_int,
12319 pub in_autoload: *mut HashTable,
12320 pub autoload_func: *mut zend_function,
12321 pub full_tables_cleanup: zend_bool,
12322 pub no_extensions: zend_bool,
12323 pub vm_interrupt: zend_bool,
12324 pub timed_out: zend_bool,
12325 pub hard_timeout: zend_long,
12326 pub regular_list: HashTable,
12327 pub persistent_list: HashTable,
12328 pub user_error_handler_error_reporting: ::std::os::raw::c_int,
12329 pub user_error_handler: zval,
12330 pub user_exception_handler: zval,
12331 pub user_error_handlers_error_reporting: zend_stack,
12332 pub user_error_handlers: zend_stack,
12333 pub user_exception_handlers: zend_stack,
12334 pub error_handling: zend_error_handling_t,
12335 pub exception_class: *mut zend_class_entry,
12336 pub timeout_seconds: zend_long,
12337 pub lambda_count: ::std::os::raw::c_int,
12338 pub ini_directives: *mut HashTable,
12339 pub modified_ini_directives: *mut HashTable,
12340 pub error_reporting_ini_entry: *mut zend_ini_entry,
12341 pub objects_store: zend_objects_store,
12342 pub exception: *mut zend_object,
12343 pub prev_exception: *mut zend_object,
12344 pub opline_before_exception: *const zend_op,
12345 pub exception_op: [zend_op; 3usize],
12346 pub current_module: *mut _zend_module_entry,
12347 pub active: zend_bool,
12348 pub valid_symbol_table: zend_bool,
12349 pub assertions: zend_long,
12350 pub ht_iterators_count: u32,
12351 pub ht_iterators_used: u32,
12352 pub ht_iterators: *mut HashTableIterator,
12353 pub ht_iterators_slots: [HashTableIterator; 16usize],
12354 pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
12355 pub saved_fpu_cw: fpu_control_t,
12356 pub trampoline: zend_function,
12357 pub call_trampoline_op: zend_op,
12358 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
12359}
12360#[test]
12361fn bindgen_test_layout__zend_executor_globals() {
12362 assert_eq!(
12363 ::std::mem::size_of::<_zend_executor_globals>(),
12364 1552usize,
12365 concat!("Size of: ", stringify!(_zend_executor_globals))
12366 );
12367 assert_eq!(
12368 ::std::mem::align_of::<_zend_executor_globals>(),
12369 8usize,
12370 concat!("Alignment of ", stringify!(_zend_executor_globals))
12371 );
12372 assert_eq!(
12373 unsafe {
12374 &(*(::std::ptr::null::<_zend_executor_globals>())).uninitialized_zval as *const _
12375 as usize
12376 },
12377 0usize,
12378 concat!(
12379 "Offset of field: ",
12380 stringify!(_zend_executor_globals),
12381 "::",
12382 stringify!(uninitialized_zval)
12383 )
12384 );
12385 assert_eq!(
12386 unsafe {
12387 &(*(::std::ptr::null::<_zend_executor_globals>())).error_zval as *const _ as usize
12388 },
12389 16usize,
12390 concat!(
12391 "Offset of field: ",
12392 stringify!(_zend_executor_globals),
12393 "::",
12394 stringify!(error_zval)
12395 )
12396 );
12397 assert_eq!(
12398 unsafe {
12399 &(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache as *const _ as usize
12400 },
12401 32usize,
12402 concat!(
12403 "Offset of field: ",
12404 stringify!(_zend_executor_globals),
12405 "::",
12406 stringify!(symtable_cache)
12407 )
12408 );
12409 assert_eq!(
12410 unsafe {
12411 &(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache_limit as *const _
12412 as usize
12413 },
12414 288usize,
12415 concat!(
12416 "Offset of field: ",
12417 stringify!(_zend_executor_globals),
12418 "::",
12419 stringify!(symtable_cache_limit)
12420 )
12421 );
12422 assert_eq!(
12423 unsafe {
12424 &(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache_ptr as *const _
12425 as usize
12426 },
12427 296usize,
12428 concat!(
12429 "Offset of field: ",
12430 stringify!(_zend_executor_globals),
12431 "::",
12432 stringify!(symtable_cache_ptr)
12433 )
12434 );
12435 assert_eq!(
12436 unsafe {
12437 &(*(::std::ptr::null::<_zend_executor_globals>())).symbol_table as *const _ as usize
12438 },
12439 304usize,
12440 concat!(
12441 "Offset of field: ",
12442 stringify!(_zend_executor_globals),
12443 "::",
12444 stringify!(symbol_table)
12445 )
12446 );
12447 assert_eq!(
12448 unsafe {
12449 &(*(::std::ptr::null::<_zend_executor_globals>())).included_files as *const _ as usize
12450 },
12451 360usize,
12452 concat!(
12453 "Offset of field: ",
12454 stringify!(_zend_executor_globals),
12455 "::",
12456 stringify!(included_files)
12457 )
12458 );
12459 assert_eq!(
12460 unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).bailout as *const _ as usize },
12461 416usize,
12462 concat!(
12463 "Offset of field: ",
12464 stringify!(_zend_executor_globals),
12465 "::",
12466 stringify!(bailout)
12467 )
12468 );
12469 assert_eq!(
12470 unsafe {
12471 &(*(::std::ptr::null::<_zend_executor_globals>())).error_reporting as *const _ as usize
12472 },
12473 424usize,
12474 concat!(
12475 "Offset of field: ",
12476 stringify!(_zend_executor_globals),
12477 "::",
12478 stringify!(error_reporting)
12479 )
12480 );
12481 assert_eq!(
12482 unsafe {
12483 &(*(::std::ptr::null::<_zend_executor_globals>())).exit_status as *const _ as usize
12484 },
12485 428usize,
12486 concat!(
12487 "Offset of field: ",
12488 stringify!(_zend_executor_globals),
12489 "::",
12490 stringify!(exit_status)
12491 )
12492 );
12493 assert_eq!(
12494 unsafe {
12495 &(*(::std::ptr::null::<_zend_executor_globals>())).function_table as *const _ as usize
12496 },
12497 432usize,
12498 concat!(
12499 "Offset of field: ",
12500 stringify!(_zend_executor_globals),
12501 "::",
12502 stringify!(function_table)
12503 )
12504 );
12505 assert_eq!(
12506 unsafe {
12507 &(*(::std::ptr::null::<_zend_executor_globals>())).class_table as *const _ as usize
12508 },
12509 440usize,
12510 concat!(
12511 "Offset of field: ",
12512 stringify!(_zend_executor_globals),
12513 "::",
12514 stringify!(class_table)
12515 )
12516 );
12517 assert_eq!(
12518 unsafe {
12519 &(*(::std::ptr::null::<_zend_executor_globals>())).zend_constants as *const _ as usize
12520 },
12521 448usize,
12522 concat!(
12523 "Offset of field: ",
12524 stringify!(_zend_executor_globals),
12525 "::",
12526 stringify!(zend_constants)
12527 )
12528 );
12529 assert_eq!(
12530 unsafe {
12531 &(*(::std::ptr::null::<_zend_executor_globals>())).vm_stack_top as *const _ as usize
12532 },
12533 456usize,
12534 concat!(
12535 "Offset of field: ",
12536 stringify!(_zend_executor_globals),
12537 "::",
12538 stringify!(vm_stack_top)
12539 )
12540 );
12541 assert_eq!(
12542 unsafe {
12543 &(*(::std::ptr::null::<_zend_executor_globals>())).vm_stack_end as *const _ as usize
12544 },
12545 464usize,
12546 concat!(
12547 "Offset of field: ",
12548 stringify!(_zend_executor_globals),
12549 "::",
12550 stringify!(vm_stack_end)
12551 )
12552 );
12553 assert_eq!(
12554 unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).vm_stack as *const _ as usize },
12555 472usize,
12556 concat!(
12557 "Offset of field: ",
12558 stringify!(_zend_executor_globals),
12559 "::",
12560 stringify!(vm_stack)
12561 )
12562 );
12563 assert_eq!(
12564 unsafe {
12565 &(*(::std::ptr::null::<_zend_executor_globals>())).current_execute_data as *const _
12566 as usize
12567 },
12568 480usize,
12569 concat!(
12570 "Offset of field: ",
12571 stringify!(_zend_executor_globals),
12572 "::",
12573 stringify!(current_execute_data)
12574 )
12575 );
12576 assert_eq!(
12577 unsafe {
12578 &(*(::std::ptr::null::<_zend_executor_globals>())).fake_scope as *const _ as usize
12579 },
12580 488usize,
12581 concat!(
12582 "Offset of field: ",
12583 stringify!(_zend_executor_globals),
12584 "::",
12585 stringify!(fake_scope)
12586 )
12587 );
12588 assert_eq!(
12589 unsafe {
12590 &(*(::std::ptr::null::<_zend_executor_globals>())).precision as *const _ as usize
12591 },
12592 496usize,
12593 concat!(
12594 "Offset of field: ",
12595 stringify!(_zend_executor_globals),
12596 "::",
12597 stringify!(precision)
12598 )
12599 );
12600 assert_eq!(
12601 unsafe {
12602 &(*(::std::ptr::null::<_zend_executor_globals>())).ticks_count as *const _ as usize
12603 },
12604 504usize,
12605 concat!(
12606 "Offset of field: ",
12607 stringify!(_zend_executor_globals),
12608 "::",
12609 stringify!(ticks_count)
12610 )
12611 );
12612 assert_eq!(
12613 unsafe {
12614 &(*(::std::ptr::null::<_zend_executor_globals>())).in_autoload as *const _ as usize
12615 },
12616 512usize,
12617 concat!(
12618 "Offset of field: ",
12619 stringify!(_zend_executor_globals),
12620 "::",
12621 stringify!(in_autoload)
12622 )
12623 );
12624 assert_eq!(
12625 unsafe {
12626 &(*(::std::ptr::null::<_zend_executor_globals>())).autoload_func as *const _ as usize
12627 },
12628 520usize,
12629 concat!(
12630 "Offset of field: ",
12631 stringify!(_zend_executor_globals),
12632 "::",
12633 stringify!(autoload_func)
12634 )
12635 );
12636 assert_eq!(
12637 unsafe {
12638 &(*(::std::ptr::null::<_zend_executor_globals>())).full_tables_cleanup as *const _
12639 as usize
12640 },
12641 528usize,
12642 concat!(
12643 "Offset of field: ",
12644 stringify!(_zend_executor_globals),
12645 "::",
12646 stringify!(full_tables_cleanup)
12647 )
12648 );
12649 assert_eq!(
12650 unsafe {
12651 &(*(::std::ptr::null::<_zend_executor_globals>())).no_extensions as *const _ as usize
12652 },
12653 529usize,
12654 concat!(
12655 "Offset of field: ",
12656 stringify!(_zend_executor_globals),
12657 "::",
12658 stringify!(no_extensions)
12659 )
12660 );
12661 assert_eq!(
12662 unsafe {
12663 &(*(::std::ptr::null::<_zend_executor_globals>())).vm_interrupt as *const _ as usize
12664 },
12665 530usize,
12666 concat!(
12667 "Offset of field: ",
12668 stringify!(_zend_executor_globals),
12669 "::",
12670 stringify!(vm_interrupt)
12671 )
12672 );
12673 assert_eq!(
12674 unsafe {
12675 &(*(::std::ptr::null::<_zend_executor_globals>())).timed_out as *const _ as usize
12676 },
12677 531usize,
12678 concat!(
12679 "Offset of field: ",
12680 stringify!(_zend_executor_globals),
12681 "::",
12682 stringify!(timed_out)
12683 )
12684 );
12685 assert_eq!(
12686 unsafe {
12687 &(*(::std::ptr::null::<_zend_executor_globals>())).hard_timeout as *const _ as usize
12688 },
12689 536usize,
12690 concat!(
12691 "Offset of field: ",
12692 stringify!(_zend_executor_globals),
12693 "::",
12694 stringify!(hard_timeout)
12695 )
12696 );
12697 assert_eq!(
12698 unsafe {
12699 &(*(::std::ptr::null::<_zend_executor_globals>())).regular_list as *const _ as usize
12700 },
12701 544usize,
12702 concat!(
12703 "Offset of field: ",
12704 stringify!(_zend_executor_globals),
12705 "::",
12706 stringify!(regular_list)
12707 )
12708 );
12709 assert_eq!(
12710 unsafe {
12711 &(*(::std::ptr::null::<_zend_executor_globals>())).persistent_list as *const _ as usize
12712 },
12713 600usize,
12714 concat!(
12715 "Offset of field: ",
12716 stringify!(_zend_executor_globals),
12717 "::",
12718 stringify!(persistent_list)
12719 )
12720 );
12721 assert_eq!(
12722 unsafe {
12723 &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handler_error_reporting
12724 as *const _ as usize
12725 },
12726 656usize,
12727 concat!(
12728 "Offset of field: ",
12729 stringify!(_zend_executor_globals),
12730 "::",
12731 stringify!(user_error_handler_error_reporting)
12732 )
12733 );
12734 assert_eq!(
12735 unsafe {
12736 &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handler as *const _
12737 as usize
12738 },
12739 664usize,
12740 concat!(
12741 "Offset of field: ",
12742 stringify!(_zend_executor_globals),
12743 "::",
12744 stringify!(user_error_handler)
12745 )
12746 );
12747 assert_eq!(
12748 unsafe {
12749 &(*(::std::ptr::null::<_zend_executor_globals>())).user_exception_handler as *const _
12750 as usize
12751 },
12752 680usize,
12753 concat!(
12754 "Offset of field: ",
12755 stringify!(_zend_executor_globals),
12756 "::",
12757 stringify!(user_exception_handler)
12758 )
12759 );
12760 assert_eq!(
12761 unsafe {
12762 &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handlers_error_reporting
12763 as *const _ as usize
12764 },
12765 696usize,
12766 concat!(
12767 "Offset of field: ",
12768 stringify!(_zend_executor_globals),
12769 "::",
12770 stringify!(user_error_handlers_error_reporting)
12771 )
12772 );
12773 assert_eq!(
12774 unsafe {
12775 &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handlers as *const _
12776 as usize
12777 },
12778 720usize,
12779 concat!(
12780 "Offset of field: ",
12781 stringify!(_zend_executor_globals),
12782 "::",
12783 stringify!(user_error_handlers)
12784 )
12785 );
12786 assert_eq!(
12787 unsafe {
12788 &(*(::std::ptr::null::<_zend_executor_globals>())).user_exception_handlers as *const _
12789 as usize
12790 },
12791 744usize,
12792 concat!(
12793 "Offset of field: ",
12794 stringify!(_zend_executor_globals),
12795 "::",
12796 stringify!(user_exception_handlers)
12797 )
12798 );
12799 assert_eq!(
12800 unsafe {
12801 &(*(::std::ptr::null::<_zend_executor_globals>())).error_handling as *const _ as usize
12802 },
12803 768usize,
12804 concat!(
12805 "Offset of field: ",
12806 stringify!(_zend_executor_globals),
12807 "::",
12808 stringify!(error_handling)
12809 )
12810 );
12811 assert_eq!(
12812 unsafe {
12813 &(*(::std::ptr::null::<_zend_executor_globals>())).exception_class as *const _ as usize
12814 },
12815 776usize,
12816 concat!(
12817 "Offset of field: ",
12818 stringify!(_zend_executor_globals),
12819 "::",
12820 stringify!(exception_class)
12821 )
12822 );
12823 assert_eq!(
12824 unsafe {
12825 &(*(::std::ptr::null::<_zend_executor_globals>())).timeout_seconds as *const _ as usize
12826 },
12827 784usize,
12828 concat!(
12829 "Offset of field: ",
12830 stringify!(_zend_executor_globals),
12831 "::",
12832 stringify!(timeout_seconds)
12833 )
12834 );
12835 assert_eq!(
12836 unsafe {
12837 &(*(::std::ptr::null::<_zend_executor_globals>())).lambda_count as *const _ as usize
12838 },
12839 792usize,
12840 concat!(
12841 "Offset of field: ",
12842 stringify!(_zend_executor_globals),
12843 "::",
12844 stringify!(lambda_count)
12845 )
12846 );
12847 assert_eq!(
12848 unsafe {
12849 &(*(::std::ptr::null::<_zend_executor_globals>())).ini_directives as *const _ as usize
12850 },
12851 800usize,
12852 concat!(
12853 "Offset of field: ",
12854 stringify!(_zend_executor_globals),
12855 "::",
12856 stringify!(ini_directives)
12857 )
12858 );
12859 assert_eq!(
12860 unsafe {
12861 &(*(::std::ptr::null::<_zend_executor_globals>())).modified_ini_directives as *const _
12862 as usize
12863 },
12864 808usize,
12865 concat!(
12866 "Offset of field: ",
12867 stringify!(_zend_executor_globals),
12868 "::",
12869 stringify!(modified_ini_directives)
12870 )
12871 );
12872 assert_eq!(
12873 unsafe {
12874 &(*(::std::ptr::null::<_zend_executor_globals>())).error_reporting_ini_entry as *const _
12875 as usize
12876 },
12877 816usize,
12878 concat!(
12879 "Offset of field: ",
12880 stringify!(_zend_executor_globals),
12881 "::",
12882 stringify!(error_reporting_ini_entry)
12883 )
12884 );
12885 assert_eq!(
12886 unsafe {
12887 &(*(::std::ptr::null::<_zend_executor_globals>())).objects_store as *const _ as usize
12888 },
12889 824usize,
12890 concat!(
12891 "Offset of field: ",
12892 stringify!(_zend_executor_globals),
12893 "::",
12894 stringify!(objects_store)
12895 )
12896 );
12897 assert_eq!(
12898 unsafe {
12899 &(*(::std::ptr::null::<_zend_executor_globals>())).exception as *const _ as usize
12900 },
12901 848usize,
12902 concat!(
12903 "Offset of field: ",
12904 stringify!(_zend_executor_globals),
12905 "::",
12906 stringify!(exception)
12907 )
12908 );
12909 assert_eq!(
12910 unsafe {
12911 &(*(::std::ptr::null::<_zend_executor_globals>())).prev_exception as *const _ as usize
12912 },
12913 856usize,
12914 concat!(
12915 "Offset of field: ",
12916 stringify!(_zend_executor_globals),
12917 "::",
12918 stringify!(prev_exception)
12919 )
12920 );
12921 assert_eq!(
12922 unsafe {
12923 &(*(::std::ptr::null::<_zend_executor_globals>())).opline_before_exception as *const _
12924 as usize
12925 },
12926 864usize,
12927 concat!(
12928 "Offset of field: ",
12929 stringify!(_zend_executor_globals),
12930 "::",
12931 stringify!(opline_before_exception)
12932 )
12933 );
12934 assert_eq!(
12935 unsafe {
12936 &(*(::std::ptr::null::<_zend_executor_globals>())).exception_op as *const _ as usize
12937 },
12938 872usize,
12939 concat!(
12940 "Offset of field: ",
12941 stringify!(_zend_executor_globals),
12942 "::",
12943 stringify!(exception_op)
12944 )
12945 );
12946 assert_eq!(
12947 unsafe {
12948 &(*(::std::ptr::null::<_zend_executor_globals>())).current_module as *const _ as usize
12949 },
12950 968usize,
12951 concat!(
12952 "Offset of field: ",
12953 stringify!(_zend_executor_globals),
12954 "::",
12955 stringify!(current_module)
12956 )
12957 );
12958 assert_eq!(
12959 unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).active as *const _ as usize },
12960 976usize,
12961 concat!(
12962 "Offset of field: ",
12963 stringify!(_zend_executor_globals),
12964 "::",
12965 stringify!(active)
12966 )
12967 );
12968 assert_eq!(
12969 unsafe {
12970 &(*(::std::ptr::null::<_zend_executor_globals>())).valid_symbol_table as *const _
12971 as usize
12972 },
12973 977usize,
12974 concat!(
12975 "Offset of field: ",
12976 stringify!(_zend_executor_globals),
12977 "::",
12978 stringify!(valid_symbol_table)
12979 )
12980 );
12981 assert_eq!(
12982 unsafe {
12983 &(*(::std::ptr::null::<_zend_executor_globals>())).assertions as *const _ as usize
12984 },
12985 984usize,
12986 concat!(
12987 "Offset of field: ",
12988 stringify!(_zend_executor_globals),
12989 "::",
12990 stringify!(assertions)
12991 )
12992 );
12993 assert_eq!(
12994 unsafe {
12995 &(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators_count as *const _
12996 as usize
12997 },
12998 992usize,
12999 concat!(
13000 "Offset of field: ",
13001 stringify!(_zend_executor_globals),
13002 "::",
13003 stringify!(ht_iterators_count)
13004 )
13005 );
13006 assert_eq!(
13007 unsafe {
13008 &(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators_used as *const _
13009 as usize
13010 },
13011 996usize,
13012 concat!(
13013 "Offset of field: ",
13014 stringify!(_zend_executor_globals),
13015 "::",
13016 stringify!(ht_iterators_used)
13017 )
13018 );
13019 assert_eq!(
13020 unsafe {
13021 &(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators as *const _ as usize
13022 },
13023 1000usize,
13024 concat!(
13025 "Offset of field: ",
13026 stringify!(_zend_executor_globals),
13027 "::",
13028 stringify!(ht_iterators)
13029 )
13030 );
13031 assert_eq!(
13032 unsafe {
13033 &(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators_slots as *const _
13034 as usize
13035 },
13036 1008usize,
13037 concat!(
13038 "Offset of field: ",
13039 stringify!(_zend_executor_globals),
13040 "::",
13041 stringify!(ht_iterators_slots)
13042 )
13043 );
13044 assert_eq!(
13045 unsafe {
13046 &(*(::std::ptr::null::<_zend_executor_globals>())).saved_fpu_cw_ptr as *const _ as usize
13047 },
13048 1264usize,
13049 concat!(
13050 "Offset of field: ",
13051 stringify!(_zend_executor_globals),
13052 "::",
13053 stringify!(saved_fpu_cw_ptr)
13054 )
13055 );
13056 assert_eq!(
13057 unsafe {
13058 &(*(::std::ptr::null::<_zend_executor_globals>())).saved_fpu_cw as *const _ as usize
13059 },
13060 1272usize,
13061 concat!(
13062 "Offset of field: ",
13063 stringify!(_zend_executor_globals),
13064 "::",
13065 stringify!(saved_fpu_cw)
13066 )
13067 );
13068 assert_eq!(
13069 unsafe {
13070 &(*(::std::ptr::null::<_zend_executor_globals>())).trampoline as *const _ as usize
13071 },
13072 1280usize,
13073 concat!(
13074 "Offset of field: ",
13075 stringify!(_zend_executor_globals),
13076 "::",
13077 stringify!(trampoline)
13078 )
13079 );
13080 assert_eq!(
13081 unsafe {
13082 &(*(::std::ptr::null::<_zend_executor_globals>())).call_trampoline_op as *const _
13083 as usize
13084 },
13085 1488usize,
13086 concat!(
13087 "Offset of field: ",
13088 stringify!(_zend_executor_globals),
13089 "::",
13090 stringify!(call_trampoline_op)
13091 )
13092 );
13093 assert_eq!(
13094 unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).reserved as *const _ as usize },
13095 1520usize,
13096 concat!(
13097 "Offset of field: ",
13098 stringify!(_zend_executor_globals),
13099 "::",
13100 stringify!(reserved)
13101 )
13102 );
13103}
13104#[repr(C)]
13105#[derive(Debug, Copy, Clone)]
13106pub struct _zend_ini_scanner_globals {
13107 pub yy_in: *mut zend_file_handle,
13108 pub yy_out: *mut zend_file_handle,
13109 pub yy_leng: ::std::os::raw::c_uint,
13110 pub yy_start: *mut ::std::os::raw::c_uchar,
13111 pub yy_text: *mut ::std::os::raw::c_uchar,
13112 pub yy_cursor: *mut ::std::os::raw::c_uchar,
13113 pub yy_marker: *mut ::std::os::raw::c_uchar,
13114 pub yy_limit: *mut ::std::os::raw::c_uchar,
13115 pub yy_state: ::std::os::raw::c_int,
13116 pub state_stack: zend_stack,
13117 pub filename: *mut ::std::os::raw::c_char,
13118 pub lineno: ::std::os::raw::c_int,
13119 pub scanner_mode: ::std::os::raw::c_int,
13120}
13121#[test]
13122fn bindgen_test_layout__zend_ini_scanner_globals() {
13123 assert_eq!(
13124 ::std::mem::size_of::<_zend_ini_scanner_globals>(),
13125 112usize,
13126 concat!("Size of: ", stringify!(_zend_ini_scanner_globals))
13127 );
13128 assert_eq!(
13129 ::std::mem::align_of::<_zend_ini_scanner_globals>(),
13130 8usize,
13131 concat!("Alignment of ", stringify!(_zend_ini_scanner_globals))
13132 );
13133 assert_eq!(
13134 unsafe { &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_in as *const _ as usize },
13135 0usize,
13136 concat!(
13137 "Offset of field: ",
13138 stringify!(_zend_ini_scanner_globals),
13139 "::",
13140 stringify!(yy_in)
13141 )
13142 );
13143 assert_eq!(
13144 unsafe {
13145 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_out as *const _ as usize
13146 },
13147 8usize,
13148 concat!(
13149 "Offset of field: ",
13150 stringify!(_zend_ini_scanner_globals),
13151 "::",
13152 stringify!(yy_out)
13153 )
13154 );
13155 assert_eq!(
13156 unsafe {
13157 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_leng as *const _ as usize
13158 },
13159 16usize,
13160 concat!(
13161 "Offset of field: ",
13162 stringify!(_zend_ini_scanner_globals),
13163 "::",
13164 stringify!(yy_leng)
13165 )
13166 );
13167 assert_eq!(
13168 unsafe {
13169 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_start as *const _ as usize
13170 },
13171 24usize,
13172 concat!(
13173 "Offset of field: ",
13174 stringify!(_zend_ini_scanner_globals),
13175 "::",
13176 stringify!(yy_start)
13177 )
13178 );
13179 assert_eq!(
13180 unsafe {
13181 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_text as *const _ as usize
13182 },
13183 32usize,
13184 concat!(
13185 "Offset of field: ",
13186 stringify!(_zend_ini_scanner_globals),
13187 "::",
13188 stringify!(yy_text)
13189 )
13190 );
13191 assert_eq!(
13192 unsafe {
13193 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_cursor as *const _ as usize
13194 },
13195 40usize,
13196 concat!(
13197 "Offset of field: ",
13198 stringify!(_zend_ini_scanner_globals),
13199 "::",
13200 stringify!(yy_cursor)
13201 )
13202 );
13203 assert_eq!(
13204 unsafe {
13205 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_marker as *const _ as usize
13206 },
13207 48usize,
13208 concat!(
13209 "Offset of field: ",
13210 stringify!(_zend_ini_scanner_globals),
13211 "::",
13212 stringify!(yy_marker)
13213 )
13214 );
13215 assert_eq!(
13216 unsafe {
13217 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_limit as *const _ as usize
13218 },
13219 56usize,
13220 concat!(
13221 "Offset of field: ",
13222 stringify!(_zend_ini_scanner_globals),
13223 "::",
13224 stringify!(yy_limit)
13225 )
13226 );
13227 assert_eq!(
13228 unsafe {
13229 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_state as *const _ as usize
13230 },
13231 64usize,
13232 concat!(
13233 "Offset of field: ",
13234 stringify!(_zend_ini_scanner_globals),
13235 "::",
13236 stringify!(yy_state)
13237 )
13238 );
13239 assert_eq!(
13240 unsafe {
13241 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).state_stack as *const _ as usize
13242 },
13243 72usize,
13244 concat!(
13245 "Offset of field: ",
13246 stringify!(_zend_ini_scanner_globals),
13247 "::",
13248 stringify!(state_stack)
13249 )
13250 );
13251 assert_eq!(
13252 unsafe {
13253 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).filename as *const _ as usize
13254 },
13255 96usize,
13256 concat!(
13257 "Offset of field: ",
13258 stringify!(_zend_ini_scanner_globals),
13259 "::",
13260 stringify!(filename)
13261 )
13262 );
13263 assert_eq!(
13264 unsafe {
13265 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).lineno as *const _ as usize
13266 },
13267 104usize,
13268 concat!(
13269 "Offset of field: ",
13270 stringify!(_zend_ini_scanner_globals),
13271 "::",
13272 stringify!(lineno)
13273 )
13274 );
13275 assert_eq!(
13276 unsafe {
13277 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).scanner_mode as *const _ as usize
13278 },
13279 108usize,
13280 concat!(
13281 "Offset of field: ",
13282 stringify!(_zend_ini_scanner_globals),
13283 "::",
13284 stringify!(scanner_mode)
13285 )
13286 );
13287}
13288pub const zend_php_scanner_event_ON_TOKEN: zend_php_scanner_event = 0;
13289pub const zend_php_scanner_event_ON_FEEDBACK: zend_php_scanner_event = 1;
13290pub const zend_php_scanner_event_ON_STOP: zend_php_scanner_event = 2;
13291pub type zend_php_scanner_event = ::std::os::raw::c_uint;
13292#[repr(C)]
13293#[derive(Debug, Copy, Clone)]
13294pub struct _zend_php_scanner_globals {
13295 pub yy_in: *mut zend_file_handle,
13296 pub yy_out: *mut zend_file_handle,
13297 pub yy_leng: ::std::os::raw::c_uint,
13298 pub yy_start: *mut ::std::os::raw::c_uchar,
13299 pub yy_text: *mut ::std::os::raw::c_uchar,
13300 pub yy_cursor: *mut ::std::os::raw::c_uchar,
13301 pub yy_marker: *mut ::std::os::raw::c_uchar,
13302 pub yy_limit: *mut ::std::os::raw::c_uchar,
13303 pub yy_state: ::std::os::raw::c_int,
13304 pub state_stack: zend_stack,
13305 pub heredoc_label_stack: zend_ptr_stack,
13306 pub script_org: *mut ::std::os::raw::c_uchar,
13307 pub script_org_size: size_t,
13308 pub script_filtered: *mut ::std::os::raw::c_uchar,
13309 pub script_filtered_size: size_t,
13310 pub input_filter: zend_encoding_filter,
13311 pub output_filter: zend_encoding_filter,
13312 pub script_encoding: *const zend_encoding,
13313 pub scanned_string_len: ::std::os::raw::c_int,
13314 pub on_event: ::std::option::Option<
13315 unsafe extern "C" fn(
13316 event: zend_php_scanner_event,
13317 token: ::std::os::raw::c_int,
13318 line: ::std::os::raw::c_int,
13319 context: *mut ::std::os::raw::c_void,
13320 ),
13321 >,
13322 pub on_event_context: *mut ::std::os::raw::c_void,
13323}
13324#[test]
13325fn bindgen_test_layout__zend_php_scanner_globals() {
13326 assert_eq!(
13327 ::std::mem::size_of::<_zend_php_scanner_globals>(),
13328 208usize,
13329 concat!("Size of: ", stringify!(_zend_php_scanner_globals))
13330 );
13331 assert_eq!(
13332 ::std::mem::align_of::<_zend_php_scanner_globals>(),
13333 8usize,
13334 concat!("Alignment of ", stringify!(_zend_php_scanner_globals))
13335 );
13336 assert_eq!(
13337 unsafe { &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_in as *const _ as usize },
13338 0usize,
13339 concat!(
13340 "Offset of field: ",
13341 stringify!(_zend_php_scanner_globals),
13342 "::",
13343 stringify!(yy_in)
13344 )
13345 );
13346 assert_eq!(
13347 unsafe {
13348 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_out as *const _ as usize
13349 },
13350 8usize,
13351 concat!(
13352 "Offset of field: ",
13353 stringify!(_zend_php_scanner_globals),
13354 "::",
13355 stringify!(yy_out)
13356 )
13357 );
13358 assert_eq!(
13359 unsafe {
13360 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_leng as *const _ as usize
13361 },
13362 16usize,
13363 concat!(
13364 "Offset of field: ",
13365 stringify!(_zend_php_scanner_globals),
13366 "::",
13367 stringify!(yy_leng)
13368 )
13369 );
13370 assert_eq!(
13371 unsafe {
13372 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_start as *const _ as usize
13373 },
13374 24usize,
13375 concat!(
13376 "Offset of field: ",
13377 stringify!(_zend_php_scanner_globals),
13378 "::",
13379 stringify!(yy_start)
13380 )
13381 );
13382 assert_eq!(
13383 unsafe {
13384 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_text as *const _ as usize
13385 },
13386 32usize,
13387 concat!(
13388 "Offset of field: ",
13389 stringify!(_zend_php_scanner_globals),
13390 "::",
13391 stringify!(yy_text)
13392 )
13393 );
13394 assert_eq!(
13395 unsafe {
13396 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_cursor as *const _ as usize
13397 },
13398 40usize,
13399 concat!(
13400 "Offset of field: ",
13401 stringify!(_zend_php_scanner_globals),
13402 "::",
13403 stringify!(yy_cursor)
13404 )
13405 );
13406 assert_eq!(
13407 unsafe {
13408 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_marker as *const _ as usize
13409 },
13410 48usize,
13411 concat!(
13412 "Offset of field: ",
13413 stringify!(_zend_php_scanner_globals),
13414 "::",
13415 stringify!(yy_marker)
13416 )
13417 );
13418 assert_eq!(
13419 unsafe {
13420 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_limit as *const _ as usize
13421 },
13422 56usize,
13423 concat!(
13424 "Offset of field: ",
13425 stringify!(_zend_php_scanner_globals),
13426 "::",
13427 stringify!(yy_limit)
13428 )
13429 );
13430 assert_eq!(
13431 unsafe {
13432 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_state as *const _ as usize
13433 },
13434 64usize,
13435 concat!(
13436 "Offset of field: ",
13437 stringify!(_zend_php_scanner_globals),
13438 "::",
13439 stringify!(yy_state)
13440 )
13441 );
13442 assert_eq!(
13443 unsafe {
13444 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).state_stack as *const _ as usize
13445 },
13446 72usize,
13447 concat!(
13448 "Offset of field: ",
13449 stringify!(_zend_php_scanner_globals),
13450 "::",
13451 stringify!(state_stack)
13452 )
13453 );
13454 assert_eq!(
13455 unsafe {
13456 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).heredoc_label_stack as *const _
13457 as usize
13458 },
13459 96usize,
13460 concat!(
13461 "Offset of field: ",
13462 stringify!(_zend_php_scanner_globals),
13463 "::",
13464 stringify!(heredoc_label_stack)
13465 )
13466 );
13467 assert_eq!(
13468 unsafe {
13469 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_org as *const _ as usize
13470 },
13471 128usize,
13472 concat!(
13473 "Offset of field: ",
13474 stringify!(_zend_php_scanner_globals),
13475 "::",
13476 stringify!(script_org)
13477 )
13478 );
13479 assert_eq!(
13480 unsafe {
13481 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_org_size as *const _
13482 as usize
13483 },
13484 136usize,
13485 concat!(
13486 "Offset of field: ",
13487 stringify!(_zend_php_scanner_globals),
13488 "::",
13489 stringify!(script_org_size)
13490 )
13491 );
13492 assert_eq!(
13493 unsafe {
13494 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_filtered as *const _
13495 as usize
13496 },
13497 144usize,
13498 concat!(
13499 "Offset of field: ",
13500 stringify!(_zend_php_scanner_globals),
13501 "::",
13502 stringify!(script_filtered)
13503 )
13504 );
13505 assert_eq!(
13506 unsafe {
13507 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_filtered_size as *const _
13508 as usize
13509 },
13510 152usize,
13511 concat!(
13512 "Offset of field: ",
13513 stringify!(_zend_php_scanner_globals),
13514 "::",
13515 stringify!(script_filtered_size)
13516 )
13517 );
13518 assert_eq!(
13519 unsafe {
13520 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).input_filter as *const _ as usize
13521 },
13522 160usize,
13523 concat!(
13524 "Offset of field: ",
13525 stringify!(_zend_php_scanner_globals),
13526 "::",
13527 stringify!(input_filter)
13528 )
13529 );
13530 assert_eq!(
13531 unsafe {
13532 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).output_filter as *const _ as usize
13533 },
13534 168usize,
13535 concat!(
13536 "Offset of field: ",
13537 stringify!(_zend_php_scanner_globals),
13538 "::",
13539 stringify!(output_filter)
13540 )
13541 );
13542 assert_eq!(
13543 unsafe {
13544 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_encoding as *const _
13545 as usize
13546 },
13547 176usize,
13548 concat!(
13549 "Offset of field: ",
13550 stringify!(_zend_php_scanner_globals),
13551 "::",
13552 stringify!(script_encoding)
13553 )
13554 );
13555 assert_eq!(
13556 unsafe {
13557 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).scanned_string_len as *const _
13558 as usize
13559 },
13560 184usize,
13561 concat!(
13562 "Offset of field: ",
13563 stringify!(_zend_php_scanner_globals),
13564 "::",
13565 stringify!(scanned_string_len)
13566 )
13567 );
13568 assert_eq!(
13569 unsafe {
13570 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).on_event as *const _ as usize
13571 },
13572 192usize,
13573 concat!(
13574 "Offset of field: ",
13575 stringify!(_zend_php_scanner_globals),
13576 "::",
13577 stringify!(on_event)
13578 )
13579 );
13580 assert_eq!(
13581 unsafe {
13582 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).on_event_context as *const _
13583 as usize
13584 },
13585 200usize,
13586 concat!(
13587 "Offset of field: ",
13588 stringify!(_zend_php_scanner_globals),
13589 "::",
13590 stringify!(on_event_context)
13591 )
13592 );
13593}
13594extern "C" {
13595 pub fn zend_init_compiler_data_structures();
13596}
13597extern "C" {
13598 pub fn zend_oparray_context_begin(prev_context: *mut zend_oparray_context);
13599}
13600extern "C" {
13601 pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
13602}
13603extern "C" {
13604 pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
13605}
13606extern "C" {
13607 pub fn zend_file_context_end(prev_context: *mut zend_file_context);
13608}
13609extern "C" {
13610 pub static mut zend_compile_file: ::std::option::Option<
13611 unsafe extern "C" fn(
13612 file_handle: *mut zend_file_handle,
13613 type_: ::std::os::raw::c_int,
13614 ) -> *mut zend_op_array,
13615 >;
13616}
13617extern "C" {
13618 pub static mut zend_compile_string: ::std::option::Option<
13619 unsafe extern "C" fn(
13620 source_string: *mut zval,
13621 filename: *mut ::std::os::raw::c_char,
13622 ) -> *mut zend_op_array,
13623 >;
13624}
13625extern "C" {
13626 pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
13627}
13628extern "C" {
13629 pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
13630}
13631extern "C" {
13632 pub fn zend_get_compiled_filename() -> *mut zend_string;
13633}
13634extern "C" {
13635 pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
13636}
13637extern "C" {
13638 pub fn zend_get_scanned_file_offset() -> size_t;
13639}
13640extern "C" {
13641 pub fn zend_get_compiled_variable_name(
13642 op_array: *const zend_op_array,
13643 var: u32,
13644 ) -> *mut zend_string;
13645}
13646extern "C" {
13647 pub fn zend_stop_lexing();
13648}
13649extern "C" {
13650 pub fn zend_emit_final_return(return_one: ::std::os::raw::c_int);
13651}
13652extern "C" {
13653 pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
13654}
13655extern "C" {
13656 pub fn zend_negate_num_string(ast: *mut zend_ast) -> *mut zend_ast;
13657}
13658extern "C" {
13659 pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
13660}
13661extern "C" {
13662 pub fn zend_add_member_modifier(flags: u32, new_flag: u32) -> u32;
13663}
13664extern "C" {
13665 pub fn zend_handle_encoding_declaration(ast: *mut zend_ast);
13666}
13667extern "C" {
13668 pub fn zend_do_free(op1: *mut znode);
13669}
13670extern "C" {
13671 pub fn zend_do_delayed_early_binding(op_array: *const zend_op_array);
13672}
13673extern "C" {
13674 pub fn zend_do_extended_info();
13675}
13676extern "C" {
13677 pub fn zend_do_extended_fcall_begin();
13678}
13679extern "C" {
13680 pub fn zend_do_extended_fcall_end();
13681}
13682extern "C" {
13683 pub fn zend_verify_namespace();
13684}
13685extern "C" {
13686 pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
13687}
13688extern "C" {
13689 pub fn zend_try_exception_handler();
13690}
13691extern "C" {
13692 pub fn zend_execute_scripts(
13693 type_: ::std::os::raw::c_int,
13694 retval: *mut zval,
13695 file_count: ::std::os::raw::c_int,
13696 ...
13697 ) -> ::std::os::raw::c_int;
13698}
13699extern "C" {
13700 pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
13701}
13702extern "C" {
13703 pub fn zend_cleanup_user_class_data(ce: *mut zend_class_entry);
13704}
13705extern "C" {
13706 pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
13707}
13708extern "C" {
13709 pub fn zend_cleanup_internal_classes();
13710}
13711extern "C" {
13712 pub fn zend_cleanup_op_array_data(op_array: *mut zend_op_array);
13713}
13714extern "C" {
13715 pub fn zend_function_dtor(zv: *mut zval);
13716}
13717extern "C" {
13718 pub fn zend_class_add_ref(zv: *mut zval);
13719}
13720extern "C" {
13721 pub fn zend_mangle_property_name(
13722 src1: *const ::std::os::raw::c_char,
13723 src1_length: size_t,
13724 src2: *const ::std::os::raw::c_char,
13725 src2_length: size_t,
13726 internal: ::std::os::raw::c_int,
13727 ) -> *mut zend_string;
13728}
13729extern "C" {
13730 pub fn zend_unmangle_property_name_ex(
13731 name: *const zend_string,
13732 class_name: *mut *const ::std::os::raw::c_char,
13733 prop_name: *mut *const ::std::os::raw::c_char,
13734 prop_len: *mut size_t,
13735 ) -> ::std::os::raw::c_int;
13736}
13737extern "C" {
13738 pub fn zend_is_compiling() -> zend_bool;
13739}
13740extern "C" {
13741 pub fn zend_make_compiled_string_description(
13742 name: *const ::std::os::raw::c_char,
13743 ) -> *mut ::std::os::raw::c_char;
13744}
13745extern "C" {
13746 pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: zend_bool);
13747}
13748extern "C" {
13749 pub fn zend_get_class_fetch_type(name: *mut zend_string) -> u32;
13750}
13751extern "C" {
13752 pub fn zend_get_call_op(init_op: *const zend_op, fbc: *mut zend_function) -> zend_uchar;
13753}
13754extern "C" {
13755 pub fn zend_is_smart_branch(opline: *mut zend_op) -> ::std::os::raw::c_int;
13756}
13757pub type zend_auto_global_callback =
13758 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> zend_bool>;
13759#[repr(C)]
13760#[derive(Debug, Copy, Clone)]
13761pub struct _zend_auto_global {
13762 pub name: *mut zend_string,
13763 pub auto_global_callback: zend_auto_global_callback,
13764 pub jit: zend_bool,
13765 pub armed: zend_bool,
13766}
13767#[test]
13768fn bindgen_test_layout__zend_auto_global() {
13769 assert_eq!(
13770 ::std::mem::size_of::<_zend_auto_global>(),
13771 24usize,
13772 concat!("Size of: ", stringify!(_zend_auto_global))
13773 );
13774 assert_eq!(
13775 ::std::mem::align_of::<_zend_auto_global>(),
13776 8usize,
13777 concat!("Alignment of ", stringify!(_zend_auto_global))
13778 );
13779 assert_eq!(
13780 unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).name as *const _ as usize },
13781 0usize,
13782 concat!(
13783 "Offset of field: ",
13784 stringify!(_zend_auto_global),
13785 "::",
13786 stringify!(name)
13787 )
13788 );
13789 assert_eq!(
13790 unsafe {
13791 &(*(::std::ptr::null::<_zend_auto_global>())).auto_global_callback as *const _ as usize
13792 },
13793 8usize,
13794 concat!(
13795 "Offset of field: ",
13796 stringify!(_zend_auto_global),
13797 "::",
13798 stringify!(auto_global_callback)
13799 )
13800 );
13801 assert_eq!(
13802 unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).jit as *const _ as usize },
13803 16usize,
13804 concat!(
13805 "Offset of field: ",
13806 stringify!(_zend_auto_global),
13807 "::",
13808 stringify!(jit)
13809 )
13810 );
13811 assert_eq!(
13812 unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).armed as *const _ as usize },
13813 17usize,
13814 concat!(
13815 "Offset of field: ",
13816 stringify!(_zend_auto_global),
13817 "::",
13818 stringify!(armed)
13819 )
13820 );
13821}
13822pub type zend_auto_global = _zend_auto_global;
13823extern "C" {
13824 pub fn zend_register_auto_global(
13825 name: *mut zend_string,
13826 jit: zend_bool,
13827 auto_global_callback: zend_auto_global_callback,
13828 ) -> ::std::os::raw::c_int;
13829}
13830extern "C" {
13831 pub fn zend_activate_auto_globals();
13832}
13833extern "C" {
13834 pub fn zend_is_auto_global(name: *mut zend_string) -> zend_bool;
13835}
13836extern "C" {
13837 pub fn zend_is_auto_global_str(name: *mut ::std::os::raw::c_char, len: size_t) -> zend_bool;
13838}
13839extern "C" {
13840 pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: size_t) -> size_t;
13841}
13842extern "C" {
13843 pub fn zend_set_function_arg_flags(func: *mut zend_function);
13844}
13845extern "C" {
13846 pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
13847}
13848extern "C" {
13849 pub fn zend_add_literal(op_array: *mut zend_op_array, zv: *mut zval) -> ::std::os::raw::c_int;
13850}
13851extern "C" {
13852 pub fn zend_assert_valid_class_name(const_name: *const zend_string);
13853}
13854extern "C" {
13855 pub fn zend_get_opcode_name(opcode: zend_uchar) -> *const ::std::os::raw::c_char;
13856}
13857extern "C" {
13858 pub fn zend_get_opcode_flags(opcode: zend_uchar) -> u32;
13859}
13860extern "C" {
13861 pub fn zend_binary_op_produces_numeric_string_error(
13862 opcode: u32,
13863 op1: *mut zval,
13864 op2: *mut zval,
13865 ) -> zend_bool;
13866}
13867pub type zend_module_entry = _zend_module_entry;
13868pub type zend_module_dep = _zend_module_dep;
13869#[repr(C)]
13870#[derive(Debug, Copy, Clone)]
13871pub struct _zend_module_entry {
13872 pub size: ::std::os::raw::c_ushort,
13873 pub zend_api: ::std::os::raw::c_uint,
13874 pub zend_debug: ::std::os::raw::c_uchar,
13875 pub zts: ::std::os::raw::c_uchar,
13876 pub ini_entry: *const _zend_ini_entry,
13877 pub deps: *const _zend_module_dep,
13878 pub name: *const ::std::os::raw::c_char,
13879 pub functions: *const _zend_function_entry,
13880 pub module_startup_func: ::std::option::Option<
13881 unsafe extern "C" fn(
13882 type_: ::std::os::raw::c_int,
13883 module_number: ::std::os::raw::c_int,
13884 ) -> ::std::os::raw::c_int,
13885 >,
13886 pub module_shutdown_func: ::std::option::Option<
13887 unsafe extern "C" fn(
13888 type_: ::std::os::raw::c_int,
13889 module_number: ::std::os::raw::c_int,
13890 ) -> ::std::os::raw::c_int,
13891 >,
13892 pub request_startup_func: ::std::option::Option<
13893 unsafe extern "C" fn(
13894 type_: ::std::os::raw::c_int,
13895 module_number: ::std::os::raw::c_int,
13896 ) -> ::std::os::raw::c_int,
13897 >,
13898 pub request_shutdown_func: ::std::option::Option<
13899 unsafe extern "C" fn(
13900 type_: ::std::os::raw::c_int,
13901 module_number: ::std::os::raw::c_int,
13902 ) -> ::std::os::raw::c_int,
13903 >,
13904 pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
13905 pub version: *const ::std::os::raw::c_char,
13906 pub globals_size: size_t,
13907 pub globals_ptr: *mut ::std::os::raw::c_void,
13908 pub globals_ctor:
13909 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
13910 pub globals_dtor:
13911 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
13912 pub post_deactivate_func:
13913 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
13914 pub module_started: ::std::os::raw::c_int,
13915 pub type_: ::std::os::raw::c_uchar,
13916 pub handle: *mut ::std::os::raw::c_void,
13917 pub module_number: ::std::os::raw::c_int,
13918 pub build_id: *const ::std::os::raw::c_char,
13919}
13920#[test]
13921fn bindgen_test_layout__zend_module_entry() {
13922 assert_eq!(
13923 ::std::mem::size_of::<_zend_module_entry>(),
13924 168usize,
13925 concat!("Size of: ", stringify!(_zend_module_entry))
13926 );
13927 assert_eq!(
13928 ::std::mem::align_of::<_zend_module_entry>(),
13929 8usize,
13930 concat!("Alignment of ", stringify!(_zend_module_entry))
13931 );
13932 assert_eq!(
13933 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).size as *const _ as usize },
13934 0usize,
13935 concat!(
13936 "Offset of field: ",
13937 stringify!(_zend_module_entry),
13938 "::",
13939 stringify!(size)
13940 )
13941 );
13942 assert_eq!(
13943 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zend_api as *const _ as usize },
13944 4usize,
13945 concat!(
13946 "Offset of field: ",
13947 stringify!(_zend_module_entry),
13948 "::",
13949 stringify!(zend_api)
13950 )
13951 );
13952 assert_eq!(
13953 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zend_debug as *const _ as usize },
13954 8usize,
13955 concat!(
13956 "Offset of field: ",
13957 stringify!(_zend_module_entry),
13958 "::",
13959 stringify!(zend_debug)
13960 )
13961 );
13962 assert_eq!(
13963 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zts as *const _ as usize },
13964 9usize,
13965 concat!(
13966 "Offset of field: ",
13967 stringify!(_zend_module_entry),
13968 "::",
13969 stringify!(zts)
13970 )
13971 );
13972 assert_eq!(
13973 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).ini_entry as *const _ as usize },
13974 16usize,
13975 concat!(
13976 "Offset of field: ",
13977 stringify!(_zend_module_entry),
13978 "::",
13979 stringify!(ini_entry)
13980 )
13981 );
13982 assert_eq!(
13983 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).deps as *const _ as usize },
13984 24usize,
13985 concat!(
13986 "Offset of field: ",
13987 stringify!(_zend_module_entry),
13988 "::",
13989 stringify!(deps)
13990 )
13991 );
13992 assert_eq!(
13993 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).name as *const _ as usize },
13994 32usize,
13995 concat!(
13996 "Offset of field: ",
13997 stringify!(_zend_module_entry),
13998 "::",
13999 stringify!(name)
14000 )
14001 );
14002 assert_eq!(
14003 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).functions as *const _ as usize },
14004 40usize,
14005 concat!(
14006 "Offset of field: ",
14007 stringify!(_zend_module_entry),
14008 "::",
14009 stringify!(functions)
14010 )
14011 );
14012 assert_eq!(
14013 unsafe {
14014 &(*(::std::ptr::null::<_zend_module_entry>())).module_startup_func as *const _ as usize
14015 },
14016 48usize,
14017 concat!(
14018 "Offset of field: ",
14019 stringify!(_zend_module_entry),
14020 "::",
14021 stringify!(module_startup_func)
14022 )
14023 );
14024 assert_eq!(
14025 unsafe {
14026 &(*(::std::ptr::null::<_zend_module_entry>())).module_shutdown_func as *const _ as usize
14027 },
14028 56usize,
14029 concat!(
14030 "Offset of field: ",
14031 stringify!(_zend_module_entry),
14032 "::",
14033 stringify!(module_shutdown_func)
14034 )
14035 );
14036 assert_eq!(
14037 unsafe {
14038 &(*(::std::ptr::null::<_zend_module_entry>())).request_startup_func as *const _ as usize
14039 },
14040 64usize,
14041 concat!(
14042 "Offset of field: ",
14043 stringify!(_zend_module_entry),
14044 "::",
14045 stringify!(request_startup_func)
14046 )
14047 );
14048 assert_eq!(
14049 unsafe {
14050 &(*(::std::ptr::null::<_zend_module_entry>())).request_shutdown_func as *const _
14051 as usize
14052 },
14053 72usize,
14054 concat!(
14055 "Offset of field: ",
14056 stringify!(_zend_module_entry),
14057 "::",
14058 stringify!(request_shutdown_func)
14059 )
14060 );
14061 assert_eq!(
14062 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).info_func as *const _ as usize },
14063 80usize,
14064 concat!(
14065 "Offset of field: ",
14066 stringify!(_zend_module_entry),
14067 "::",
14068 stringify!(info_func)
14069 )
14070 );
14071 assert_eq!(
14072 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).version as *const _ as usize },
14073 88usize,
14074 concat!(
14075 "Offset of field: ",
14076 stringify!(_zend_module_entry),
14077 "::",
14078 stringify!(version)
14079 )
14080 );
14081 assert_eq!(
14082 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_size as *const _ as usize },
14083 96usize,
14084 concat!(
14085 "Offset of field: ",
14086 stringify!(_zend_module_entry),
14087 "::",
14088 stringify!(globals_size)
14089 )
14090 );
14091 assert_eq!(
14092 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_ptr as *const _ as usize },
14093 104usize,
14094 concat!(
14095 "Offset of field: ",
14096 stringify!(_zend_module_entry),
14097 "::",
14098 stringify!(globals_ptr)
14099 )
14100 );
14101 assert_eq!(
14102 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_ctor as *const _ as usize },
14103 112usize,
14104 concat!(
14105 "Offset of field: ",
14106 stringify!(_zend_module_entry),
14107 "::",
14108 stringify!(globals_ctor)
14109 )
14110 );
14111 assert_eq!(
14112 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_dtor as *const _ as usize },
14113 120usize,
14114 concat!(
14115 "Offset of field: ",
14116 stringify!(_zend_module_entry),
14117 "::",
14118 stringify!(globals_dtor)
14119 )
14120 );
14121 assert_eq!(
14122 unsafe {
14123 &(*(::std::ptr::null::<_zend_module_entry>())).post_deactivate_func as *const _ as usize
14124 },
14125 128usize,
14126 concat!(
14127 "Offset of field: ",
14128 stringify!(_zend_module_entry),
14129 "::",
14130 stringify!(post_deactivate_func)
14131 )
14132 );
14133 assert_eq!(
14134 unsafe {
14135 &(*(::std::ptr::null::<_zend_module_entry>())).module_started as *const _ as usize
14136 },
14137 136usize,
14138 concat!(
14139 "Offset of field: ",
14140 stringify!(_zend_module_entry),
14141 "::",
14142 stringify!(module_started)
14143 )
14144 );
14145 assert_eq!(
14146 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).type_ as *const _ as usize },
14147 140usize,
14148 concat!(
14149 "Offset of field: ",
14150 stringify!(_zend_module_entry),
14151 "::",
14152 stringify!(type_)
14153 )
14154 );
14155 assert_eq!(
14156 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).handle as *const _ as usize },
14157 144usize,
14158 concat!(
14159 "Offset of field: ",
14160 stringify!(_zend_module_entry),
14161 "::",
14162 stringify!(handle)
14163 )
14164 );
14165 assert_eq!(
14166 unsafe {
14167 &(*(::std::ptr::null::<_zend_module_entry>())).module_number as *const _ as usize
14168 },
14169 152usize,
14170 concat!(
14171 "Offset of field: ",
14172 stringify!(_zend_module_entry),
14173 "::",
14174 stringify!(module_number)
14175 )
14176 );
14177 assert_eq!(
14178 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).build_id as *const _ as usize },
14179 160usize,
14180 concat!(
14181 "Offset of field: ",
14182 stringify!(_zend_module_entry),
14183 "::",
14184 stringify!(build_id)
14185 )
14186 );
14187}
14188#[repr(C)]
14189#[derive(Debug, Copy, Clone)]
14190pub struct _zend_module_dep {
14191 pub name: *const ::std::os::raw::c_char,
14192 pub rel: *const ::std::os::raw::c_char,
14193 pub version: *const ::std::os::raw::c_char,
14194 pub type_: ::std::os::raw::c_uchar,
14195}
14196#[test]
14197fn bindgen_test_layout__zend_module_dep() {
14198 assert_eq!(
14199 ::std::mem::size_of::<_zend_module_dep>(),
14200 32usize,
14201 concat!("Size of: ", stringify!(_zend_module_dep))
14202 );
14203 assert_eq!(
14204 ::std::mem::align_of::<_zend_module_dep>(),
14205 8usize,
14206 concat!("Alignment of ", stringify!(_zend_module_dep))
14207 );
14208 assert_eq!(
14209 unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).name as *const _ as usize },
14210 0usize,
14211 concat!(
14212 "Offset of field: ",
14213 stringify!(_zend_module_dep),
14214 "::",
14215 stringify!(name)
14216 )
14217 );
14218 assert_eq!(
14219 unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).rel as *const _ as usize },
14220 8usize,
14221 concat!(
14222 "Offset of field: ",
14223 stringify!(_zend_module_dep),
14224 "::",
14225 stringify!(rel)
14226 )
14227 );
14228 assert_eq!(
14229 unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).version as *const _ as usize },
14230 16usize,
14231 concat!(
14232 "Offset of field: ",
14233 stringify!(_zend_module_dep),
14234 "::",
14235 stringify!(version)
14236 )
14237 );
14238 assert_eq!(
14239 unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).type_ as *const _ as usize },
14240 24usize,
14241 concat!(
14242 "Offset of field: ",
14243 stringify!(_zend_module_dep),
14244 "::",
14245 stringify!(type_)
14246 )
14247 );
14248}
14249extern "C" {
14250 pub static mut module_registry: HashTable;
14251}
14252pub type rsrc_dtor_func_t = ::std::option::Option<unsafe extern "C" fn(res: *mut zend_resource)>;
14253#[repr(C)]
14254#[derive(Debug, Copy, Clone)]
14255pub struct _zend_rsrc_list_dtors_entry {
14256 pub list_dtor_ex: rsrc_dtor_func_t,
14257 pub plist_dtor_ex: rsrc_dtor_func_t,
14258 pub type_name: *const ::std::os::raw::c_char,
14259 pub module_number: ::std::os::raw::c_int,
14260 pub resource_id: ::std::os::raw::c_int,
14261}
14262#[test]
14263fn bindgen_test_layout__zend_rsrc_list_dtors_entry() {
14264 assert_eq!(
14265 ::std::mem::size_of::<_zend_rsrc_list_dtors_entry>(),
14266 32usize,
14267 concat!("Size of: ", stringify!(_zend_rsrc_list_dtors_entry))
14268 );
14269 assert_eq!(
14270 ::std::mem::align_of::<_zend_rsrc_list_dtors_entry>(),
14271 8usize,
14272 concat!("Alignment of ", stringify!(_zend_rsrc_list_dtors_entry))
14273 );
14274 assert_eq!(
14275 unsafe {
14276 &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).list_dtor_ex as *const _
14277 as usize
14278 },
14279 0usize,
14280 concat!(
14281 "Offset of field: ",
14282 stringify!(_zend_rsrc_list_dtors_entry),
14283 "::",
14284 stringify!(list_dtor_ex)
14285 )
14286 );
14287 assert_eq!(
14288 unsafe {
14289 &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).plist_dtor_ex as *const _
14290 as usize
14291 },
14292 8usize,
14293 concat!(
14294 "Offset of field: ",
14295 stringify!(_zend_rsrc_list_dtors_entry),
14296 "::",
14297 stringify!(plist_dtor_ex)
14298 )
14299 );
14300 assert_eq!(
14301 unsafe {
14302 &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).type_name as *const _ as usize
14303 },
14304 16usize,
14305 concat!(
14306 "Offset of field: ",
14307 stringify!(_zend_rsrc_list_dtors_entry),
14308 "::",
14309 stringify!(type_name)
14310 )
14311 );
14312 assert_eq!(
14313 unsafe {
14314 &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).module_number as *const _
14315 as usize
14316 },
14317 24usize,
14318 concat!(
14319 "Offset of field: ",
14320 stringify!(_zend_rsrc_list_dtors_entry),
14321 "::",
14322 stringify!(module_number)
14323 )
14324 );
14325 assert_eq!(
14326 unsafe {
14327 &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).resource_id as *const _ as usize
14328 },
14329 28usize,
14330 concat!(
14331 "Offset of field: ",
14332 stringify!(_zend_rsrc_list_dtors_entry),
14333 "::",
14334 stringify!(resource_id)
14335 )
14336 );
14337}
14338pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
14339extern "C" {
14340 pub fn zend_register_list_destructors_ex(
14341 ld: rsrc_dtor_func_t,
14342 pld: rsrc_dtor_func_t,
14343 type_name: *const ::std::os::raw::c_char,
14344 module_number: ::std::os::raw::c_int,
14345 ) -> ::std::os::raw::c_int;
14346}
14347extern "C" {
14348 pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
14349}
14350extern "C" {
14351 pub fn zend_init_rsrc_list() -> ::std::os::raw::c_int;
14352}
14353extern "C" {
14354 pub fn zend_init_rsrc_plist() -> ::std::os::raw::c_int;
14355}
14356extern "C" {
14357 pub fn zend_close_rsrc_list(ht: *mut HashTable);
14358}
14359extern "C" {
14360 pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
14361}
14362extern "C" {
14363 pub fn zend_init_rsrc_list_dtors() -> ::std::os::raw::c_int;
14364}
14365extern "C" {
14366 pub fn zend_destroy_rsrc_list_dtors();
14367}
14368extern "C" {
14369 pub fn zend_list_insert(
14370 ptr: *mut ::std::os::raw::c_void,
14371 type_: ::std::os::raw::c_int,
14372 ) -> *mut zval;
14373}
14374extern "C" {
14375 pub fn zend_list_free(res: *mut zend_resource) -> ::std::os::raw::c_int;
14376}
14377extern "C" {
14378 pub fn zend_list_delete(res: *mut zend_resource) -> ::std::os::raw::c_int;
14379}
14380extern "C" {
14381 pub fn zend_list_close(res: *mut zend_resource) -> ::std::os::raw::c_int;
14382}
14383extern "C" {
14384 pub fn zend_register_resource(
14385 rsrc_pointer: *mut ::std::os::raw::c_void,
14386 rsrc_type: ::std::os::raw::c_int,
14387 ) -> *mut zend_resource;
14388}
14389extern "C" {
14390 pub fn zend_fetch_resource(
14391 res: *mut zend_resource,
14392 resource_type_name: *const ::std::os::raw::c_char,
14393 resource_type: ::std::os::raw::c_int,
14394 ) -> *mut ::std::os::raw::c_void;
14395}
14396extern "C" {
14397 pub fn zend_fetch_resource2(
14398 res: *mut zend_resource,
14399 resource_type_name: *const ::std::os::raw::c_char,
14400 resource_type: ::std::os::raw::c_int,
14401 resource_type2: ::std::os::raw::c_int,
14402 ) -> *mut ::std::os::raw::c_void;
14403}
14404extern "C" {
14405 pub fn zend_fetch_resource_ex(
14406 res: *mut zval,
14407 resource_type_name: *const ::std::os::raw::c_char,
14408 resource_type: ::std::os::raw::c_int,
14409 ) -> *mut ::std::os::raw::c_void;
14410}
14411extern "C" {
14412 pub fn zend_fetch_resource2_ex(
14413 res: *mut zval,
14414 resource_type_name: *const ::std::os::raw::c_char,
14415 resource_type: ::std::os::raw::c_int,
14416 resource_type2: ::std::os::raw::c_int,
14417 ) -> *mut ::std::os::raw::c_void;
14418}
14419extern "C" {
14420 pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
14421}
14422extern "C" {
14423 pub fn zend_fetch_list_dtor_id(
14424 type_name: *const ::std::os::raw::c_char,
14425 ) -> ::std::os::raw::c_int;
14426}
14427extern "C" {
14428 pub static mut zend_execute_ex:
14429 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
14430}
14431extern "C" {
14432 pub static mut zend_execute_internal: ::std::option::Option<
14433 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
14434 >;
14435}
14436extern "C" {
14437 pub fn zend_init_execute_data(
14438 execute_data: *mut zend_execute_data,
14439 op_array: *mut zend_op_array,
14440 return_value: *mut zval,
14441 );
14442}
14443extern "C" {
14444 pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
14445}
14446extern "C" {
14447 pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
14448}
14449extern "C" {
14450 pub fn zend_lookup_class_ex(
14451 name: *mut zend_string,
14452 key: *const zval,
14453 use_autoload: ::std::os::raw::c_int,
14454 ) -> *mut zend_class_entry;
14455}
14456extern "C" {
14457 pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
14458}
14459extern "C" {
14460 pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
14461}
14462extern "C" {
14463 pub fn zend_eval_string(
14464 str_: *mut ::std::os::raw::c_char,
14465 retval_ptr: *mut zval,
14466 string_name: *mut ::std::os::raw::c_char,
14467 ) -> ::std::os::raw::c_int;
14468}
14469extern "C" {
14470 pub fn zend_eval_stringl(
14471 str_: *mut ::std::os::raw::c_char,
14472 str_len: size_t,
14473 retval_ptr: *mut zval,
14474 string_name: *mut ::std::os::raw::c_char,
14475 ) -> ::std::os::raw::c_int;
14476}
14477extern "C" {
14478 pub fn zend_eval_string_ex(
14479 str_: *mut ::std::os::raw::c_char,
14480 retval_ptr: *mut zval,
14481 string_name: *mut ::std::os::raw::c_char,
14482 handle_exceptions: ::std::os::raw::c_int,
14483 ) -> ::std::os::raw::c_int;
14484}
14485extern "C" {
14486 pub fn zend_eval_stringl_ex(
14487 str_: *mut ::std::os::raw::c_char,
14488 str_len: size_t,
14489 retval_ptr: *mut zval,
14490 string_name: *mut ::std::os::raw::c_char,
14491 handle_exceptions: ::std::os::raw::c_int,
14492 ) -> ::std::os::raw::c_int;
14493}
14494extern "C" {
14495 pub static zend_pass_function: zend_internal_function;
14496}
14497extern "C" {
14498 pub fn zend_check_internal_arg_type(zf: *mut zend_function, arg_num: u32, arg: *mut zval);
14499}
14500extern "C" {
14501 pub fn zend_check_arg_type(
14502 zf: *mut zend_function,
14503 arg_num: u32,
14504 arg: *mut zval,
14505 default_value: *mut zval,
14506 cache_slot: *mut *mut ::std::os::raw::c_void,
14507 ) -> ::std::os::raw::c_int;
14508}
14509extern "C" {
14510 pub fn zend_missing_arg_error(execute_data: *mut zend_execute_data);
14511}
14512#[repr(C)]
14513#[derive(Debug, Copy, Clone)]
14514pub struct _zend_vm_stack {
14515 pub top: *mut zval,
14516 pub end: *mut zval,
14517 pub prev: zend_vm_stack,
14518}
14519#[test]
14520fn bindgen_test_layout__zend_vm_stack() {
14521 assert_eq!(
14522 ::std::mem::size_of::<_zend_vm_stack>(),
14523 24usize,
14524 concat!("Size of: ", stringify!(_zend_vm_stack))
14525 );
14526 assert_eq!(
14527 ::std::mem::align_of::<_zend_vm_stack>(),
14528 8usize,
14529 concat!("Alignment of ", stringify!(_zend_vm_stack))
14530 );
14531 assert_eq!(
14532 unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).top as *const _ as usize },
14533 0usize,
14534 concat!(
14535 "Offset of field: ",
14536 stringify!(_zend_vm_stack),
14537 "::",
14538 stringify!(top)
14539 )
14540 );
14541 assert_eq!(
14542 unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).end as *const _ as usize },
14543 8usize,
14544 concat!(
14545 "Offset of field: ",
14546 stringify!(_zend_vm_stack),
14547 "::",
14548 stringify!(end)
14549 )
14550 );
14551 assert_eq!(
14552 unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).prev as *const _ as usize },
14553 16usize,
14554 concat!(
14555 "Offset of field: ",
14556 stringify!(_zend_vm_stack),
14557 "::",
14558 stringify!(prev)
14559 )
14560 );
14561}
14562extern "C" {
14563 pub fn zend_vm_stack_init();
14564}
14565extern "C" {
14566 pub fn zend_vm_stack_destroy();
14567}
14568extern "C" {
14569 pub fn zend_vm_stack_extend(size: size_t) -> *mut ::std::os::raw::c_void;
14570}
14571extern "C" {
14572 pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
14573}
14574extern "C" {
14575 pub fn zend_get_executed_filename_ex() -> *mut zend_string;
14576}
14577extern "C" {
14578 pub fn zend_get_executed_lineno() -> uint;
14579}
14580extern "C" {
14581 pub fn zend_get_executed_scope() -> *mut zend_class_entry;
14582}
14583extern "C" {
14584 pub fn zend_is_executing() -> zend_bool;
14585}
14586extern "C" {
14587 pub fn zend_set_timeout(seconds: zend_long, reset_signals: ::std::os::raw::c_int);
14588}
14589extern "C" {
14590 pub fn zend_unset_timeout();
14591}
14592extern "C" {
14593 pub fn zend_timeout(dummy: ::std::os::raw::c_int);
14594}
14595extern "C" {
14596 pub fn zend_fetch_class(
14597 class_name: *mut zend_string,
14598 fetch_type: ::std::os::raw::c_int,
14599 ) -> *mut zend_class_entry;
14600}
14601extern "C" {
14602 pub fn zend_fetch_class_by_name(
14603 class_name: *mut zend_string,
14604 key: *const zval,
14605 fetch_type: ::std::os::raw::c_int,
14606 ) -> *mut zend_class_entry;
14607}
14608extern "C" {
14609 pub fn zend_verify_abstract_class(ce: *mut zend_class_entry);
14610}
14611extern "C" {
14612 pub fn zend_fetch_dimension_by_zval(result: *mut zval, container: *mut zval, dim: *mut zval);
14613}
14614extern "C" {
14615 pub fn zend_fetch_dimension_by_zval_is(
14616 result: *mut zval,
14617 container: *mut zval,
14618 dim: *mut zval,
14619 dim_type: ::std::os::raw::c_int,
14620 );
14621}
14622extern "C" {
14623 pub fn zend_get_compiled_variable_value(
14624 execute_data_ptr: *const zend_execute_data,
14625 var: u32,
14626 ) -> *mut zval;
14627}
14628extern "C" {
14629 pub fn zend_set_user_opcode_handler(
14630 opcode: zend_uchar,
14631 handler: user_opcode_handler_t,
14632 ) -> ::std::os::raw::c_int;
14633}
14634extern "C" {
14635 pub fn zend_get_user_opcode_handler(opcode: zend_uchar) -> user_opcode_handler_t;
14636}
14637pub type zend_free_op = *mut zval;
14638extern "C" {
14639 pub fn zend_get_zval_ptr(
14640 op_type: ::std::os::raw::c_int,
14641 node: *const znode_op,
14642 execute_data: *const zend_execute_data,
14643 should_free: *mut zend_free_op,
14644 type_: ::std::os::raw::c_int,
14645 ) -> *mut zval;
14646}
14647extern "C" {
14648 pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
14649}
14650extern "C" {
14651 pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
14652}
14653extern "C" {
14654 pub fn zend_cleanup_unfinished_execution(
14655 execute_data: *mut zend_execute_data,
14656 op_num: u32,
14657 catch_op_num: u32,
14658 );
14659}
14660#[repr(C)]
14661#[derive(Debug, Copy, Clone)]
14662pub struct _zend_function_entry {
14663 pub fname: *const ::std::os::raw::c_char,
14664 pub handler: ::std::option::Option<
14665 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
14666 >,
14667 pub arg_info: *const _zend_internal_arg_info,
14668 pub num_args: u32,
14669 pub flags: u32,
14670}
14671#[test]
14672fn bindgen_test_layout__zend_function_entry() {
14673 assert_eq!(
14674 ::std::mem::size_of::<_zend_function_entry>(),
14675 32usize,
14676 concat!("Size of: ", stringify!(_zend_function_entry))
14677 );
14678 assert_eq!(
14679 ::std::mem::align_of::<_zend_function_entry>(),
14680 8usize,
14681 concat!("Alignment of ", stringify!(_zend_function_entry))
14682 );
14683 assert_eq!(
14684 unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).fname as *const _ as usize },
14685 0usize,
14686 concat!(
14687 "Offset of field: ",
14688 stringify!(_zend_function_entry),
14689 "::",
14690 stringify!(fname)
14691 )
14692 );
14693 assert_eq!(
14694 unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).handler as *const _ as usize },
14695 8usize,
14696 concat!(
14697 "Offset of field: ",
14698 stringify!(_zend_function_entry),
14699 "::",
14700 stringify!(handler)
14701 )
14702 );
14703 assert_eq!(
14704 unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).arg_info as *const _ as usize },
14705 16usize,
14706 concat!(
14707 "Offset of field: ",
14708 stringify!(_zend_function_entry),
14709 "::",
14710 stringify!(arg_info)
14711 )
14712 );
14713 assert_eq!(
14714 unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).num_args as *const _ as usize },
14715 24usize,
14716 concat!(
14717 "Offset of field: ",
14718 stringify!(_zend_function_entry),
14719 "::",
14720 stringify!(num_args)
14721 )
14722 );
14723 assert_eq!(
14724 unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).flags as *const _ as usize },
14725 28usize,
14726 concat!(
14727 "Offset of field: ",
14728 stringify!(_zend_function_entry),
14729 "::",
14730 stringify!(flags)
14731 )
14732 );
14733}
14734pub type zend_function_entry = _zend_function_entry;
14735#[repr(C)]
14736#[derive(Copy, Clone)]
14737pub struct _zend_fcall_info {
14738 pub size: size_t,
14739 pub function_name: zval,
14740 pub retval: *mut zval,
14741 pub params: *mut zval,
14742 pub object: *mut zend_object,
14743 pub no_separation: zend_bool,
14744 pub param_count: u32,
14745}
14746#[test]
14747fn bindgen_test_layout__zend_fcall_info() {
14748 assert_eq!(
14749 ::std::mem::size_of::<_zend_fcall_info>(),
14750 56usize,
14751 concat!("Size of: ", stringify!(_zend_fcall_info))
14752 );
14753 assert_eq!(
14754 ::std::mem::align_of::<_zend_fcall_info>(),
14755 8usize,
14756 concat!("Alignment of ", stringify!(_zend_fcall_info))
14757 );
14758 assert_eq!(
14759 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).size as *const _ as usize },
14760 0usize,
14761 concat!(
14762 "Offset of field: ",
14763 stringify!(_zend_fcall_info),
14764 "::",
14765 stringify!(size)
14766 )
14767 );
14768 assert_eq!(
14769 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).function_name as *const _ as usize },
14770 8usize,
14771 concat!(
14772 "Offset of field: ",
14773 stringify!(_zend_fcall_info),
14774 "::",
14775 stringify!(function_name)
14776 )
14777 );
14778 assert_eq!(
14779 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).retval as *const _ as usize },
14780 24usize,
14781 concat!(
14782 "Offset of field: ",
14783 stringify!(_zend_fcall_info),
14784 "::",
14785 stringify!(retval)
14786 )
14787 );
14788 assert_eq!(
14789 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).params as *const _ as usize },
14790 32usize,
14791 concat!(
14792 "Offset of field: ",
14793 stringify!(_zend_fcall_info),
14794 "::",
14795 stringify!(params)
14796 )
14797 );
14798 assert_eq!(
14799 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).object as *const _ as usize },
14800 40usize,
14801 concat!(
14802 "Offset of field: ",
14803 stringify!(_zend_fcall_info),
14804 "::",
14805 stringify!(object)
14806 )
14807 );
14808 assert_eq!(
14809 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).no_separation as *const _ as usize },
14810 48usize,
14811 concat!(
14812 "Offset of field: ",
14813 stringify!(_zend_fcall_info),
14814 "::",
14815 stringify!(no_separation)
14816 )
14817 );
14818 assert_eq!(
14819 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).param_count as *const _ as usize },
14820 52usize,
14821 concat!(
14822 "Offset of field: ",
14823 stringify!(_zend_fcall_info),
14824 "::",
14825 stringify!(param_count)
14826 )
14827 );
14828}
14829pub type zend_fcall_info = _zend_fcall_info;
14830#[repr(C)]
14831#[derive(Debug, Copy, Clone)]
14832pub struct _zend_fcall_info_cache {
14833 pub initialized: zend_bool,
14834 pub function_handler: *mut zend_function,
14835 pub calling_scope: *mut zend_class_entry,
14836 pub called_scope: *mut zend_class_entry,
14837 pub object: *mut zend_object,
14838}
14839#[test]
14840fn bindgen_test_layout__zend_fcall_info_cache() {
14841 assert_eq!(
14842 ::std::mem::size_of::<_zend_fcall_info_cache>(),
14843 40usize,
14844 concat!("Size of: ", stringify!(_zend_fcall_info_cache))
14845 );
14846 assert_eq!(
14847 ::std::mem::align_of::<_zend_fcall_info_cache>(),
14848 8usize,
14849 concat!("Alignment of ", stringify!(_zend_fcall_info_cache))
14850 );
14851 assert_eq!(
14852 unsafe {
14853 &(*(::std::ptr::null::<_zend_fcall_info_cache>())).initialized as *const _ as usize
14854 },
14855 0usize,
14856 concat!(
14857 "Offset of field: ",
14858 stringify!(_zend_fcall_info_cache),
14859 "::",
14860 stringify!(initialized)
14861 )
14862 );
14863 assert_eq!(
14864 unsafe {
14865 &(*(::std::ptr::null::<_zend_fcall_info_cache>())).function_handler as *const _ as usize
14866 },
14867 8usize,
14868 concat!(
14869 "Offset of field: ",
14870 stringify!(_zend_fcall_info_cache),
14871 "::",
14872 stringify!(function_handler)
14873 )
14874 );
14875 assert_eq!(
14876 unsafe {
14877 &(*(::std::ptr::null::<_zend_fcall_info_cache>())).calling_scope as *const _ as usize
14878 },
14879 16usize,
14880 concat!(
14881 "Offset of field: ",
14882 stringify!(_zend_fcall_info_cache),
14883 "::",
14884 stringify!(calling_scope)
14885 )
14886 );
14887 assert_eq!(
14888 unsafe {
14889 &(*(::std::ptr::null::<_zend_fcall_info_cache>())).called_scope as *const _ as usize
14890 },
14891 24usize,
14892 concat!(
14893 "Offset of field: ",
14894 stringify!(_zend_fcall_info_cache),
14895 "::",
14896 stringify!(called_scope)
14897 )
14898 );
14899 assert_eq!(
14900 unsafe { &(*(::std::ptr::null::<_zend_fcall_info_cache>())).object as *const _ as usize },
14901 32usize,
14902 concat!(
14903 "Offset of field: ",
14904 stringify!(_zend_fcall_info_cache),
14905 "::",
14906 stringify!(object)
14907 )
14908 );
14909}
14910pub type zend_fcall_info_cache = _zend_fcall_info_cache;
14911extern "C" {
14912 pub fn zend_next_free_module() -> ::std::os::raw::c_int;
14913}
14914extern "C" {
14915 pub fn zend_get_parameters(
14916 ht: ::std::os::raw::c_int,
14917 param_count: ::std::os::raw::c_int,
14918 ...
14919 ) -> ::std::os::raw::c_int;
14920}
14921extern "C" {
14922 pub fn zend_get_parameters_ex(param_count: ::std::os::raw::c_int, ...)
14923 -> ::std::os::raw::c_int;
14924}
14925extern "C" {
14926 pub fn _zend_get_parameters_array_ex(
14927 param_count: ::std::os::raw::c_int,
14928 argument_array: *mut zval,
14929 ) -> ::std::os::raw::c_int;
14930}
14931extern "C" {
14932 pub fn zend_copy_parameters_array(
14933 param_count: ::std::os::raw::c_int,
14934 argument_array: *mut zval,
14935 ) -> ::std::os::raw::c_int;
14936}
14937extern "C" {
14938 pub fn zend_parse_parameters(
14939 num_args: ::std::os::raw::c_int,
14940 type_spec: *const ::std::os::raw::c_char,
14941 ...
14942 ) -> ::std::os::raw::c_int;
14943}
14944extern "C" {
14945 pub fn zend_parse_parameters_ex(
14946 flags: ::std::os::raw::c_int,
14947 num_args: ::std::os::raw::c_int,
14948 type_spec: *const ::std::os::raw::c_char,
14949 ...
14950 ) -> ::std::os::raw::c_int;
14951}
14952extern "C" {
14953 pub fn zend_parse_parameters_throw(
14954 num_args: ::std::os::raw::c_int,
14955 type_spec: *const ::std::os::raw::c_char,
14956 ...
14957 ) -> ::std::os::raw::c_int;
14958}
14959extern "C" {
14960 pub fn zend_zval_type_name(arg: *const zval) -> *mut ::std::os::raw::c_char;
14961}
14962extern "C" {
14963 pub fn zend_parse_method_parameters(
14964 num_args: ::std::os::raw::c_int,
14965 this_ptr: *mut zval,
14966 type_spec: *const ::std::os::raw::c_char,
14967 ...
14968 ) -> ::std::os::raw::c_int;
14969}
14970extern "C" {
14971 pub fn zend_parse_method_parameters_ex(
14972 flags: ::std::os::raw::c_int,
14973 num_args: ::std::os::raw::c_int,
14974 this_ptr: *mut zval,
14975 type_spec: *const ::std::os::raw::c_char,
14976 ...
14977 ) -> ::std::os::raw::c_int;
14978}
14979extern "C" {
14980 pub fn zend_parse_parameter(
14981 flags: ::std::os::raw::c_int,
14982 arg_num: ::std::os::raw::c_int,
14983 arg: *mut zval,
14984 spec: *const ::std::os::raw::c_char,
14985 ...
14986 ) -> ::std::os::raw::c_int;
14987}
14988extern "C" {
14989 pub fn zend_register_functions(
14990 scope: *mut zend_class_entry,
14991 functions: *const zend_function_entry,
14992 function_table: *mut HashTable,
14993 type_: ::std::os::raw::c_int,
14994 ) -> ::std::os::raw::c_int;
14995}
14996extern "C" {
14997 pub fn zend_unregister_functions(
14998 functions: *const zend_function_entry,
14999 count: ::std::os::raw::c_int,
15000 function_table: *mut HashTable,
15001 );
15002}
15003extern "C" {
15004 pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> ::std::os::raw::c_int;
15005}
15006extern "C" {
15007 pub fn zend_register_internal_module(
15008 module_entry: *mut zend_module_entry,
15009 ) -> *mut zend_module_entry;
15010}
15011extern "C" {
15012 pub fn zend_register_module_ex(module: *mut zend_module_entry) -> *mut zend_module_entry;
15013}
15014extern "C" {
15015 pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> ::std::os::raw::c_int;
15016}
15017extern "C" {
15018 pub fn zend_startup_modules() -> ::std::os::raw::c_int;
15019}
15020extern "C" {
15021 pub fn zend_collect_module_handlers();
15022}
15023extern "C" {
15024 pub fn zend_destroy_modules();
15025}
15026extern "C" {
15027 pub fn zend_check_magic_method_implementation(
15028 ce: *const zend_class_entry,
15029 fptr: *const zend_function,
15030 error_type: ::std::os::raw::c_int,
15031 );
15032}
15033extern "C" {
15034 pub fn zend_register_internal_class(
15035 class_entry: *mut zend_class_entry,
15036 ) -> *mut zend_class_entry;
15037}
15038extern "C" {
15039 pub fn zend_register_internal_class_ex(
15040 class_entry: *mut zend_class_entry,
15041 parent_ce: *mut zend_class_entry,
15042 ) -> *mut zend_class_entry;
15043}
15044extern "C" {
15045 pub fn zend_register_internal_interface(
15046 orig_class_entry: *mut zend_class_entry,
15047 ) -> *mut zend_class_entry;
15048}
15049extern "C" {
15050 pub fn zend_class_implements(
15051 class_entry: *mut zend_class_entry,
15052 num_interfaces: ::std::os::raw::c_int,
15053 ...
15054 );
15055}
15056extern "C" {
15057 pub fn zend_register_class_alias_ex(
15058 name: *const ::std::os::raw::c_char,
15059 name_len: size_t,
15060 ce: *mut zend_class_entry,
15061 ) -> ::std::os::raw::c_int;
15062}
15063extern "C" {
15064 pub fn zend_disable_function(
15065 function_name: *mut ::std::os::raw::c_char,
15066 function_name_length: size_t,
15067 ) -> ::std::os::raw::c_int;
15068}
15069extern "C" {
15070 pub fn zend_disable_class(
15071 class_name: *mut ::std::os::raw::c_char,
15072 class_name_length: size_t,
15073 ) -> ::std::os::raw::c_int;
15074}
15075extern "C" {
15076 pub fn zend_wrong_param_count();
15077}
15078extern "C" {
15079 pub fn zend_is_callable_ex(
15080 callable: *mut zval,
15081 object: *mut zend_object,
15082 check_flags: uint,
15083 callable_name: *mut *mut zend_string,
15084 fcc: *mut zend_fcall_info_cache,
15085 error: *mut *mut ::std::os::raw::c_char,
15086 ) -> zend_bool;
15087}
15088extern "C" {
15089 pub fn zend_is_callable(
15090 callable: *mut zval,
15091 check_flags: uint,
15092 callable_name: *mut *mut zend_string,
15093 ) -> zend_bool;
15094}
15095extern "C" {
15096 pub fn zend_make_callable(
15097 callable: *mut zval,
15098 callable_name: *mut *mut zend_string,
15099 ) -> zend_bool;
15100}
15101extern "C" {
15102 pub fn zend_get_module_version(
15103 module_name: *const ::std::os::raw::c_char,
15104 ) -> *const ::std::os::raw::c_char;
15105}
15106extern "C" {
15107 pub fn zend_get_module_started(
15108 module_name: *const ::std::os::raw::c_char,
15109 ) -> ::std::os::raw::c_int;
15110}
15111extern "C" {
15112 pub fn zend_declare_property_ex(
15113 ce: *mut zend_class_entry,
15114 name: *mut zend_string,
15115 property: *mut zval,
15116 access_type: ::std::os::raw::c_int,
15117 doc_comment: *mut zend_string,
15118 ) -> ::std::os::raw::c_int;
15119}
15120extern "C" {
15121 pub fn zend_declare_property(
15122 ce: *mut zend_class_entry,
15123 name: *const ::std::os::raw::c_char,
15124 name_length: size_t,
15125 property: *mut zval,
15126 access_type: ::std::os::raw::c_int,
15127 ) -> ::std::os::raw::c_int;
15128}
15129extern "C" {
15130 pub fn zend_declare_property_null(
15131 ce: *mut zend_class_entry,
15132 name: *const ::std::os::raw::c_char,
15133 name_length: size_t,
15134 access_type: ::std::os::raw::c_int,
15135 ) -> ::std::os::raw::c_int;
15136}
15137extern "C" {
15138 pub fn zend_declare_property_bool(
15139 ce: *mut zend_class_entry,
15140 name: *const ::std::os::raw::c_char,
15141 name_length: size_t,
15142 value: zend_long,
15143 access_type: ::std::os::raw::c_int,
15144 ) -> ::std::os::raw::c_int;
15145}
15146extern "C" {
15147 pub fn zend_declare_property_long(
15148 ce: *mut zend_class_entry,
15149 name: *const ::std::os::raw::c_char,
15150 name_length: size_t,
15151 value: zend_long,
15152 access_type: ::std::os::raw::c_int,
15153 ) -> ::std::os::raw::c_int;
15154}
15155extern "C" {
15156 pub fn zend_declare_property_double(
15157 ce: *mut zend_class_entry,
15158 name: *const ::std::os::raw::c_char,
15159 name_length: size_t,
15160 value: f64,
15161 access_type: ::std::os::raw::c_int,
15162 ) -> ::std::os::raw::c_int;
15163}
15164extern "C" {
15165 pub fn zend_declare_property_string(
15166 ce: *mut zend_class_entry,
15167 name: *const ::std::os::raw::c_char,
15168 name_length: size_t,
15169 value: *const ::std::os::raw::c_char,
15170 access_type: ::std::os::raw::c_int,
15171 ) -> ::std::os::raw::c_int;
15172}
15173extern "C" {
15174 pub fn zend_declare_property_stringl(
15175 ce: *mut zend_class_entry,
15176 name: *const ::std::os::raw::c_char,
15177 name_length: size_t,
15178 value: *const ::std::os::raw::c_char,
15179 value_len: size_t,
15180 access_type: ::std::os::raw::c_int,
15181 ) -> ::std::os::raw::c_int;
15182}
15183extern "C" {
15184 pub fn zend_declare_class_constant_ex(
15185 ce: *mut zend_class_entry,
15186 name: *mut zend_string,
15187 value: *mut zval,
15188 access_type: ::std::os::raw::c_int,
15189 doc_comment: *mut zend_string,
15190 ) -> ::std::os::raw::c_int;
15191}
15192extern "C" {
15193 pub fn zend_declare_class_constant(
15194 ce: *mut zend_class_entry,
15195 name: *const ::std::os::raw::c_char,
15196 name_length: size_t,
15197 value: *mut zval,
15198 ) -> ::std::os::raw::c_int;
15199}
15200extern "C" {
15201 pub fn zend_declare_class_constant_null(
15202 ce: *mut zend_class_entry,
15203 name: *const ::std::os::raw::c_char,
15204 name_length: size_t,
15205 ) -> ::std::os::raw::c_int;
15206}
15207extern "C" {
15208 pub fn zend_declare_class_constant_long(
15209 ce: *mut zend_class_entry,
15210 name: *const ::std::os::raw::c_char,
15211 name_length: size_t,
15212 value: zend_long,
15213 ) -> ::std::os::raw::c_int;
15214}
15215extern "C" {
15216 pub fn zend_declare_class_constant_bool(
15217 ce: *mut zend_class_entry,
15218 name: *const ::std::os::raw::c_char,
15219 name_length: size_t,
15220 value: zend_bool,
15221 ) -> ::std::os::raw::c_int;
15222}
15223extern "C" {
15224 pub fn zend_declare_class_constant_double(
15225 ce: *mut zend_class_entry,
15226 name: *const ::std::os::raw::c_char,
15227 name_length: size_t,
15228 value: f64,
15229 ) -> ::std::os::raw::c_int;
15230}
15231extern "C" {
15232 pub fn zend_declare_class_constant_stringl(
15233 ce: *mut zend_class_entry,
15234 name: *const ::std::os::raw::c_char,
15235 name_length: size_t,
15236 value: *const ::std::os::raw::c_char,
15237 value_length: size_t,
15238 ) -> ::std::os::raw::c_int;
15239}
15240extern "C" {
15241 pub fn zend_declare_class_constant_string(
15242 ce: *mut zend_class_entry,
15243 name: *const ::std::os::raw::c_char,
15244 name_length: size_t,
15245 value: *const ::std::os::raw::c_char,
15246 ) -> ::std::os::raw::c_int;
15247}
15248extern "C" {
15249 pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> ::std::os::raw::c_int;
15250}
15251extern "C" {
15252 pub fn zend_update_property_ex(
15253 scope: *mut zend_class_entry,
15254 object: *mut zval,
15255 name: *mut zend_string,
15256 value: *mut zval,
15257 );
15258}
15259extern "C" {
15260 pub fn zend_update_property(
15261 scope: *mut zend_class_entry,
15262 object: *mut zval,
15263 name: *const ::std::os::raw::c_char,
15264 name_length: size_t,
15265 value: *mut zval,
15266 );
15267}
15268extern "C" {
15269 pub fn zend_update_property_null(
15270 scope: *mut zend_class_entry,
15271 object: *mut zval,
15272 name: *const ::std::os::raw::c_char,
15273 name_length: size_t,
15274 );
15275}
15276extern "C" {
15277 pub fn zend_update_property_bool(
15278 scope: *mut zend_class_entry,
15279 object: *mut zval,
15280 name: *const ::std::os::raw::c_char,
15281 name_length: size_t,
15282 value: zend_long,
15283 );
15284}
15285extern "C" {
15286 pub fn zend_update_property_long(
15287 scope: *mut zend_class_entry,
15288 object: *mut zval,
15289 name: *const ::std::os::raw::c_char,
15290 name_length: size_t,
15291 value: zend_long,
15292 );
15293}
15294extern "C" {
15295 pub fn zend_update_property_double(
15296 scope: *mut zend_class_entry,
15297 object: *mut zval,
15298 name: *const ::std::os::raw::c_char,
15299 name_length: size_t,
15300 value: f64,
15301 );
15302}
15303extern "C" {
15304 pub fn zend_update_property_str(
15305 scope: *mut zend_class_entry,
15306 object: *mut zval,
15307 name: *const ::std::os::raw::c_char,
15308 name_length: size_t,
15309 value: *mut zend_string,
15310 );
15311}
15312extern "C" {
15313 pub fn zend_update_property_string(
15314 scope: *mut zend_class_entry,
15315 object: *mut zval,
15316 name: *const ::std::os::raw::c_char,
15317 name_length: size_t,
15318 value: *const ::std::os::raw::c_char,
15319 );
15320}
15321extern "C" {
15322 pub fn zend_update_property_stringl(
15323 scope: *mut zend_class_entry,
15324 object: *mut zval,
15325 name: *const ::std::os::raw::c_char,
15326 name_length: size_t,
15327 value: *const ::std::os::raw::c_char,
15328 value_length: size_t,
15329 );
15330}
15331extern "C" {
15332 pub fn zend_unset_property(
15333 scope: *mut zend_class_entry,
15334 object: *mut zval,
15335 name: *const ::std::os::raw::c_char,
15336 name_length: size_t,
15337 );
15338}
15339extern "C" {
15340 pub fn zend_update_static_property(
15341 scope: *mut zend_class_entry,
15342 name: *const ::std::os::raw::c_char,
15343 name_length: size_t,
15344 value: *mut zval,
15345 ) -> ::std::os::raw::c_int;
15346}
15347extern "C" {
15348 pub fn zend_update_static_property_null(
15349 scope: *mut zend_class_entry,
15350 name: *const ::std::os::raw::c_char,
15351 name_length: size_t,
15352 ) -> ::std::os::raw::c_int;
15353}
15354extern "C" {
15355 pub fn zend_update_static_property_bool(
15356 scope: *mut zend_class_entry,
15357 name: *const ::std::os::raw::c_char,
15358 name_length: size_t,
15359 value: zend_long,
15360 ) -> ::std::os::raw::c_int;
15361}
15362extern "C" {
15363 pub fn zend_update_static_property_long(
15364 scope: *mut zend_class_entry,
15365 name: *const ::std::os::raw::c_char,
15366 name_length: size_t,
15367 value: zend_long,
15368 ) -> ::std::os::raw::c_int;
15369}
15370extern "C" {
15371 pub fn zend_update_static_property_double(
15372 scope: *mut zend_class_entry,
15373 name: *const ::std::os::raw::c_char,
15374 name_length: size_t,
15375 value: f64,
15376 ) -> ::std::os::raw::c_int;
15377}
15378extern "C" {
15379 pub fn zend_update_static_property_string(
15380 scope: *mut zend_class_entry,
15381 name: *const ::std::os::raw::c_char,
15382 name_length: size_t,
15383 value: *const ::std::os::raw::c_char,
15384 ) -> ::std::os::raw::c_int;
15385}
15386extern "C" {
15387 pub fn zend_update_static_property_stringl(
15388 scope: *mut zend_class_entry,
15389 name: *const ::std::os::raw::c_char,
15390 name_length: size_t,
15391 value: *const ::std::os::raw::c_char,
15392 value_length: size_t,
15393 ) -> ::std::os::raw::c_int;
15394}
15395extern "C" {
15396 pub fn zend_read_property_ex(
15397 scope: *mut zend_class_entry,
15398 object: *mut zval,
15399 name: *mut zend_string,
15400 silent: zend_bool,
15401 rv: *mut zval,
15402 ) -> *mut zval;
15403}
15404extern "C" {
15405 pub fn zend_read_property(
15406 scope: *mut zend_class_entry,
15407 object: *mut zval,
15408 name: *const ::std::os::raw::c_char,
15409 name_length: size_t,
15410 silent: zend_bool,
15411 rv: *mut zval,
15412 ) -> *mut zval;
15413}
15414extern "C" {
15415 pub fn zend_read_static_property(
15416 scope: *mut zend_class_entry,
15417 name: *const ::std::os::raw::c_char,
15418 name_length: size_t,
15419 silent: zend_bool,
15420 ) -> *mut zval;
15421}
15422extern "C" {
15423 pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
15424}
15425extern "C" {
15426 pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
15427}
15428extern "C" {
15429 pub static empty_fcall_info: zend_fcall_info;
15430}
15431extern "C" {
15432 pub static empty_fcall_info_cache: zend_fcall_info_cache;
15433}
15434extern "C" {
15435 #[doc = " Build zend_call_info/cache from a zval*"]
15436 #[doc = ""]
15437 #[doc = " Caller is responsible to provide a return value (fci->retval), otherwise the we will crash."]
15438 #[doc = " In order to pass parameters the following members need to be set:"]
15439 #[doc = " fci->param_count = 0;"]
15440 #[doc = " fci->params = NULL;"]
15441 #[doc = " The callable_name argument may be NULL."]
15442 #[doc = " Set check_flags to IS_CALLABLE_STRICT for every new usage!"]
15443 pub fn zend_fcall_info_init(
15444 callable: *mut zval,
15445 check_flags: uint,
15446 fci: *mut zend_fcall_info,
15447 fcc: *mut zend_fcall_info_cache,
15448 callable_name: *mut *mut zend_string,
15449 error: *mut *mut ::std::os::raw::c_char,
15450 ) -> ::std::os::raw::c_int;
15451}
15452extern "C" {
15453 #[doc = " Clear arguments connected with zend_fcall_info *fci"]
15454 #[doc = " If free_mem is not zero then the params array gets free'd as well"]
15455 pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: ::std::os::raw::c_int);
15456}
15457extern "C" {
15458 #[doc = " Save current arguments from zend_fcall_info *fci"]
15459 #[doc = " params array will be set to NULL"]
15460 pub fn zend_fcall_info_args_save(
15461 fci: *mut zend_fcall_info,
15462 param_count: *mut ::std::os::raw::c_int,
15463 params: *mut *mut zval,
15464 );
15465}
15466extern "C" {
15467 #[doc = " Free arguments connected with zend_fcall_info *fci andset back saved ones."]
15468 pub fn zend_fcall_info_args_restore(
15469 fci: *mut zend_fcall_info,
15470 param_count: ::std::os::raw::c_int,
15471 params: *mut zval,
15472 );
15473}
15474extern "C" {
15475 #[doc = " Set or clear the arguments in the zend_call_info struct taking care of"]
15476 #[doc = " refcount. If args is NULL and arguments are set then those are cleared."]
15477 pub fn zend_fcall_info_args(
15478 fci: *mut zend_fcall_info,
15479 args: *mut zval,
15480 ) -> ::std::os::raw::c_int;
15481}
15482extern "C" {
15483 pub fn zend_fcall_info_args_ex(
15484 fci: *mut zend_fcall_info,
15485 func: *mut zend_function,
15486 args: *mut zval,
15487 ) -> ::std::os::raw::c_int;
15488}
15489extern "C" {
15490 #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
15491 #[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
15492 #[doc = " a variable amount of zval** arguments."]
15493 pub fn zend_fcall_info_argp(
15494 fci: *mut zend_fcall_info,
15495 argc: ::std::os::raw::c_int,
15496 argv: *mut zval,
15497 ) -> ::std::os::raw::c_int;
15498}
15499extern "C" {
15500 #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
15501 #[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
15502 #[doc = " a variable amount of zval** arguments."]
15503 pub fn zend_fcall_info_argv(
15504 fci: *mut zend_fcall_info,
15505 argc: ::std::os::raw::c_int,
15506 argv: *mut va_list,
15507 ) -> ::std::os::raw::c_int;
15508}
15509extern "C" {
15510 #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
15511 #[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
15512 #[doc = " a variable amount of zval** arguments."]
15513 pub fn zend_fcall_info_argn(
15514 fci: *mut zend_fcall_info,
15515 argc: ::std::os::raw::c_int,
15516 ...
15517 ) -> ::std::os::raw::c_int;
15518}
15519extern "C" {
15520 #[doc = " Call a function using information created by zend_fcall_info_init()/args()."]
15521 #[doc = " If args is given then those replace the argument info in fci is temporarily."]
15522 pub fn zend_fcall_info_call(
15523 fci: *mut zend_fcall_info,
15524 fcc: *mut zend_fcall_info_cache,
15525 retval: *mut zval,
15526 args: *mut zval,
15527 ) -> ::std::os::raw::c_int;
15528}
15529extern "C" {
15530 pub fn zend_call_function(
15531 fci: *mut zend_fcall_info,
15532 fci_cache: *mut zend_fcall_info_cache,
15533 ) -> ::std::os::raw::c_int;
15534}
15535extern "C" {
15536 pub fn zend_set_hash_symbol(
15537 symbol: *mut zval,
15538 name: *const ::std::os::raw::c_char,
15539 name_length: ::std::os::raw::c_int,
15540 is_ref: zend_bool,
15541 num_symbol_tables: ::std::os::raw::c_int,
15542 ...
15543 ) -> ::std::os::raw::c_int;
15544}
15545extern "C" {
15546 pub fn zend_delete_global_variable(name: *mut zend_string) -> ::std::os::raw::c_int;
15547}
15548extern "C" {
15549 pub fn zend_rebuild_symbol_table() -> *mut zend_array;
15550}
15551extern "C" {
15552 pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
15553}
15554extern "C" {
15555 pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
15556}
15557extern "C" {
15558 pub fn zend_set_local_var(
15559 name: *mut zend_string,
15560 value: *mut zval,
15561 force: ::std::os::raw::c_int,
15562 ) -> ::std::os::raw::c_int;
15563}
15564extern "C" {
15565 pub fn zend_set_local_var_str(
15566 name: *const ::std::os::raw::c_char,
15567 len: size_t,
15568 value: *mut zval,
15569 force: ::std::os::raw::c_int,
15570 ) -> ::std::os::raw::c_int;
15571}
15572extern "C" {
15573 pub fn zend_forbid_dynamic_call(
15574 func_name: *const ::std::os::raw::c_char,
15575 ) -> ::std::os::raw::c_int;
15576}
15577extern "C" {
15578 pub fn zend_find_alias_name(
15579 ce: *mut zend_class_entry,
15580 name: *mut zend_string,
15581 ) -> *mut zend_string;
15582}
15583extern "C" {
15584 pub fn zend_resolve_method_name(
15585 ce: *mut zend_class_entry,
15586 f: *mut zend_function,
15587 ) -> *mut zend_string;
15588}
15589extern "C" {
15590 pub fn zend_get_object_type(ce: *const zend_class_entry) -> *const ::std::os::raw::c_char;
15591}
15592extern "C" {
15593 pub fn zend_is_iterable(iterable: *mut zval) -> zend_bool;
15594}
15595pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
15596pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 1;
15597pub const _zend_expected_type_Z_EXPECTED_STRING: _zend_expected_type = 2;
15598pub const _zend_expected_type_Z_EXPECTED_ARRAY: _zend_expected_type = 3;
15599pub const _zend_expected_type_Z_EXPECTED_FUNC: _zend_expected_type = 4;
15600pub const _zend_expected_type_Z_EXPECTED_RESOURCE: _zend_expected_type = 5;
15601pub const _zend_expected_type_Z_EXPECTED_PATH: _zend_expected_type = 6;
15602pub const _zend_expected_type_Z_EXPECTED_OBJECT: _zend_expected_type = 7;
15603pub const _zend_expected_type_Z_EXPECTED_DOUBLE: _zend_expected_type = 8;
15604pub const _zend_expected_type_Z_EXPECTED_LAST: _zend_expected_type = 9;
15605pub type _zend_expected_type = ::std::os::raw::c_uint;
15606pub use self::_zend_expected_type as zend_expected_type;
15607extern "C" {
15608 pub fn zend_wrong_parameters_count_error(
15609 num_args: ::std::os::raw::c_int,
15610 min_num_args: ::std::os::raw::c_int,
15611 max_num_args: ::std::os::raw::c_int,
15612 );
15613}
15614extern "C" {
15615 pub fn zend_wrong_parameter_type_error(
15616 num: ::std::os::raw::c_int,
15617 expected_type: zend_expected_type,
15618 arg: *mut zval,
15619 );
15620}
15621extern "C" {
15622 pub fn zend_wrong_parameter_class_error(
15623 num: ::std::os::raw::c_int,
15624 name: *mut ::std::os::raw::c_char,
15625 arg: *mut zval,
15626 );
15627}
15628extern "C" {
15629 pub fn zend_wrong_callback_error(
15630 severity: ::std::os::raw::c_int,
15631 num: ::std::os::raw::c_int,
15632 error: *mut ::std::os::raw::c_char,
15633 );
15634}
15635extern "C" {
15636 pub fn zend_parse_arg_class(
15637 arg: *mut zval,
15638 pce: *mut *mut zend_class_entry,
15639 num: ::std::os::raw::c_int,
15640 check_null: ::std::os::raw::c_int,
15641 ) -> ::std::os::raw::c_int;
15642}
15643extern "C" {
15644 pub fn zend_parse_arg_bool_slow(arg: *mut zval, dest: *mut zend_bool) -> ::std::os::raw::c_int;
15645}
15646extern "C" {
15647 pub fn zend_parse_arg_bool_weak(arg: *mut zval, dest: *mut zend_bool) -> ::std::os::raw::c_int;
15648}
15649extern "C" {
15650 pub fn zend_parse_arg_long_slow(arg: *mut zval, dest: *mut zend_long) -> ::std::os::raw::c_int;
15651}
15652extern "C" {
15653 pub fn zend_parse_arg_long_weak(arg: *mut zval, dest: *mut zend_long) -> ::std::os::raw::c_int;
15654}
15655extern "C" {
15656 pub fn zend_parse_arg_long_cap_slow(
15657 arg: *mut zval,
15658 dest: *mut zend_long,
15659 ) -> ::std::os::raw::c_int;
15660}
15661extern "C" {
15662 pub fn zend_parse_arg_long_cap_weak(
15663 arg: *mut zval,
15664 dest: *mut zend_long,
15665 ) -> ::std::os::raw::c_int;
15666}
15667extern "C" {
15668 pub fn zend_parse_arg_double_slow(arg: *mut zval, dest: *mut f64) -> ::std::os::raw::c_int;
15669}
15670extern "C" {
15671 pub fn zend_parse_arg_double_weak(arg: *mut zval, dest: *mut f64) -> ::std::os::raw::c_int;
15672}
15673extern "C" {
15674 pub fn zend_parse_arg_str_slow(
15675 arg: *mut zval,
15676 dest: *mut *mut zend_string,
15677 ) -> ::std::os::raw::c_int;
15678}
15679extern "C" {
15680 pub fn zend_parse_arg_str_weak(
15681 arg: *mut zval,
15682 dest: *mut *mut zend_string,
15683 ) -> ::std::os::raw::c_int;
15684}
15685extern "C" {
15686 pub fn php_strlcpy(
15687 dst: *mut ::std::os::raw::c_char,
15688 src: *const ::std::os::raw::c_char,
15689 siz: size_t,
15690 ) -> size_t;
15691}
15692extern "C" {
15693 pub fn php_strlcat(
15694 dst: *mut ::std::os::raw::c_char,
15695 src: *const ::std::os::raw::c_char,
15696 siz: size_t,
15697 ) -> size_t;
15698}
15699pub type socklen_t = __socklen_t;
15700pub type bool_int = ::std::os::raw::c_int;
15701pub const boolean_e_NO: boolean_e = 0;
15702pub const boolean_e_YES: boolean_e = 1;
15703pub type boolean_e = ::std::os::raw::c_uint;
15704extern "C" {
15705 pub fn php_sprintf(
15706 s: *mut ::std::os::raw::c_char,
15707 format: *const ::std::os::raw::c_char,
15708 ...
15709 ) -> ::std::os::raw::c_int;
15710}
15711extern "C" {
15712 pub fn php_gcvt(
15713 value: f64,
15714 ndigit: ::std::os::raw::c_int,
15715 dec_point: ::std::os::raw::c_char,
15716 exponent: ::std::os::raw::c_char,
15717 buf: *mut ::std::os::raw::c_char,
15718 ) -> *mut ::std::os::raw::c_char;
15719}
15720extern "C" {
15721 pub fn php_0cvt(
15722 value: f64,
15723 ndigit: ::std::os::raw::c_int,
15724 dec_point: ::std::os::raw::c_char,
15725 exponent: ::std::os::raw::c_char,
15726 buf: *mut ::std::os::raw::c_char,
15727 ) -> *mut ::std::os::raw::c_char;
15728}
15729extern "C" {
15730 pub fn php_conv_fp(
15731 format: ::std::os::raw::c_char,
15732 num: f64,
15733 add_dp: boolean_e,
15734 precision: ::std::os::raw::c_int,
15735 dec_point: ::std::os::raw::c_char,
15736 is_negative: *mut bool_int,
15737 buf: *mut ::std::os::raw::c_char,
15738 len: *mut size_t,
15739 ) -> *mut ::std::os::raw::c_char;
15740}
15741extern "C" {
15742 pub fn php_write(buf: *mut ::std::os::raw::c_void, size: size_t) -> size_t;
15743}
15744extern "C" {
15745 pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> size_t;
15746}
15747extern "C" {
15748 pub fn php_get_module_initialized() -> ::std::os::raw::c_int;
15749}
15750extern "C" {
15751 pub fn php_log_err_with_severity(
15752 log_message: *mut ::std::os::raw::c_char,
15753 syslog_type_int: ::std::os::raw::c_int,
15754 );
15755}
15756extern "C" {
15757 pub fn php_verror(
15758 docref: *const ::std::os::raw::c_char,
15759 params: *const ::std::os::raw::c_char,
15760 type_: ::std::os::raw::c_int,
15761 format: *const ::std::os::raw::c_char,
15762 args: *mut __va_list_tag,
15763 );
15764}
15765extern "C" {
15766 pub fn php_error_docref0(
15767 docref: *const ::std::os::raw::c_char,
15768 type_: ::std::os::raw::c_int,
15769 format: *const ::std::os::raw::c_char,
15770 ...
15771 );
15772}
15773extern "C" {
15774 pub fn php_error_docref1(
15775 docref: *const ::std::os::raw::c_char,
15776 param1: *const ::std::os::raw::c_char,
15777 type_: ::std::os::raw::c_int,
15778 format: *const ::std::os::raw::c_char,
15779 ...
15780 );
15781}
15782extern "C" {
15783 pub fn php_error_docref2(
15784 docref: *const ::std::os::raw::c_char,
15785 param1: *const ::std::os::raw::c_char,
15786 param2: *const ::std::os::raw::c_char,
15787 type_: ::std::os::raw::c_int,
15788 format: *const ::std::os::raw::c_char,
15789 ...
15790 );
15791}
15792extern "C" {
15793 pub static mut php_register_internal_extensions_func:
15794 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
15795}
15796extern "C" {
15797 pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
15798}
15799extern "C" {
15800 pub fn php_mergesort(
15801 base: *mut ::std::os::raw::c_void,
15802 nmemb: size_t,
15803 size: size_t,
15804 cmp: ::std::option::Option<
15805 unsafe extern "C" fn(
15806 arg1: *const ::std::os::raw::c_void,
15807 arg2: *const ::std::os::raw::c_void,
15808 ) -> ::std::os::raw::c_int,
15809 >,
15810 ) -> ::std::os::raw::c_int;
15811}
15812extern "C" {
15813 pub fn php_register_pre_request_shutdown(
15814 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
15815 userdata: *mut ::std::os::raw::c_void,
15816 );
15817}
15818extern "C" {
15819 pub fn php_com_initialize();
15820}
15821extern "C" {
15822 pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
15823}
15824pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
15825 0;
15826pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
15827 1;
15828pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
15829 2;
15830pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
15831 3;
15832pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
15833 4;
15834pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
15835pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
15836pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
15837#[repr(C)]
15838#[derive(Debug, Copy, Clone)]
15839pub struct _php_output_buffer {
15840 pub data: *mut ::std::os::raw::c_char,
15841 pub size: size_t,
15842 pub used: size_t,
15843 pub _bitfield_align_1: [u32; 0],
15844 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
15845 pub __bindgen_padding_0: u32,
15846}
15847#[test]
15848fn bindgen_test_layout__php_output_buffer() {
15849 assert_eq!(
15850 ::std::mem::size_of::<_php_output_buffer>(),
15851 32usize,
15852 concat!("Size of: ", stringify!(_php_output_buffer))
15853 );
15854 assert_eq!(
15855 ::std::mem::align_of::<_php_output_buffer>(),
15856 8usize,
15857 concat!("Alignment of ", stringify!(_php_output_buffer))
15858 );
15859 assert_eq!(
15860 unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).data as *const _ as usize },
15861 0usize,
15862 concat!(
15863 "Offset of field: ",
15864 stringify!(_php_output_buffer),
15865 "::",
15866 stringify!(data)
15867 )
15868 );
15869 assert_eq!(
15870 unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).size as *const _ as usize },
15871 8usize,
15872 concat!(
15873 "Offset of field: ",
15874 stringify!(_php_output_buffer),
15875 "::",
15876 stringify!(size)
15877 )
15878 );
15879 assert_eq!(
15880 unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).used as *const _ as usize },
15881 16usize,
15882 concat!(
15883 "Offset of field: ",
15884 stringify!(_php_output_buffer),
15885 "::",
15886 stringify!(used)
15887 )
15888 );
15889}
15890impl _php_output_buffer {
15891 #[inline]
15892 pub fn free(&self) -> uint {
15893 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
15894 }
15895 #[inline]
15896 pub fn set_free(&mut self, val: uint) {
15897 unsafe {
15898 let val: u32 = ::std::mem::transmute(val);
15899 self._bitfield_1.set(0usize, 1u8, val as u64)
15900 }
15901 }
15902 #[inline]
15903 pub fn _reserved(&self) -> uint {
15904 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
15905 }
15906 #[inline]
15907 pub fn set__reserved(&mut self, val: uint) {
15908 unsafe {
15909 let val: u32 = ::std::mem::transmute(val);
15910 self._bitfield_1.set(1usize, 31u8, val as u64)
15911 }
15912 }
15913 #[inline]
15914 pub fn new_bitfield_1(free: uint, _reserved: uint) -> __BindgenBitfieldUnit<[u8; 4usize]> {
15915 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
15916 __bindgen_bitfield_unit.set(0usize, 1u8, {
15917 let free: u32 = unsafe { ::std::mem::transmute(free) };
15918 free as u64
15919 });
15920 __bindgen_bitfield_unit.set(1usize, 31u8, {
15921 let _reserved: u32 = unsafe { ::std::mem::transmute(_reserved) };
15922 _reserved as u64
15923 });
15924 __bindgen_bitfield_unit
15925 }
15926}
15927pub type php_output_buffer = _php_output_buffer;
15928#[repr(C)]
15929#[derive(Debug, Copy, Clone)]
15930pub struct _php_output_context {
15931 pub op: ::std::os::raw::c_int,
15932 pub in_: php_output_buffer,
15933 pub out: php_output_buffer,
15934}
15935#[test]
15936fn bindgen_test_layout__php_output_context() {
15937 assert_eq!(
15938 ::std::mem::size_of::<_php_output_context>(),
15939 72usize,
15940 concat!("Size of: ", stringify!(_php_output_context))
15941 );
15942 assert_eq!(
15943 ::std::mem::align_of::<_php_output_context>(),
15944 8usize,
15945 concat!("Alignment of ", stringify!(_php_output_context))
15946 );
15947 assert_eq!(
15948 unsafe { &(*(::std::ptr::null::<_php_output_context>())).op as *const _ as usize },
15949 0usize,
15950 concat!(
15951 "Offset of field: ",
15952 stringify!(_php_output_context),
15953 "::",
15954 stringify!(op)
15955 )
15956 );
15957 assert_eq!(
15958 unsafe { &(*(::std::ptr::null::<_php_output_context>())).in_ as *const _ as usize },
15959 8usize,
15960 concat!(
15961 "Offset of field: ",
15962 stringify!(_php_output_context),
15963 "::",
15964 stringify!(in_)
15965 )
15966 );
15967 assert_eq!(
15968 unsafe { &(*(::std::ptr::null::<_php_output_context>())).out as *const _ as usize },
15969 40usize,
15970 concat!(
15971 "Offset of field: ",
15972 stringify!(_php_output_context),
15973 "::",
15974 stringify!(out)
15975 )
15976 );
15977}
15978pub type php_output_context = _php_output_context;
15979pub type php_output_handler_func_t = ::std::option::Option<
15980 unsafe extern "C" fn(
15981 output: *mut ::std::os::raw::c_char,
15982 output_len: size_t,
15983 handled_output: *mut *mut ::std::os::raw::c_char,
15984 handled_output_len: *mut size_t,
15985 mode: ::std::os::raw::c_int,
15986 ),
15987>;
15988pub type php_output_handler_context_func_t = ::std::option::Option<
15989 unsafe extern "C" fn(
15990 handler_context: *mut *mut ::std::os::raw::c_void,
15991 output_context: *mut php_output_context,
15992 ) -> ::std::os::raw::c_int,
15993>;
15994pub type php_output_handler_conflict_check_t = ::std::option::Option<
15995 unsafe extern "C" fn(
15996 handler_name: *const ::std::os::raw::c_char,
15997 handler_name_len: size_t,
15998 ) -> ::std::os::raw::c_int,
15999>;
16000pub type php_output_handler_alias_ctor_t = ::std::option::Option<
16001 unsafe extern "C" fn(
16002 handler_name: *const ::std::os::raw::c_char,
16003 handler_name_len: size_t,
16004 chunk_size: size_t,
16005 flags: ::std::os::raw::c_int,
16006 ) -> *mut _php_output_handler,
16007>;
16008#[repr(C)]
16009#[derive(Copy, Clone)]
16010pub struct _php_output_handler_user_func_t {
16011 pub fci: zend_fcall_info,
16012 pub fcc: zend_fcall_info_cache,
16013 pub zoh: zval,
16014}
16015#[test]
16016fn bindgen_test_layout__php_output_handler_user_func_t() {
16017 assert_eq!(
16018 ::std::mem::size_of::<_php_output_handler_user_func_t>(),
16019 112usize,
16020 concat!("Size of: ", stringify!(_php_output_handler_user_func_t))
16021 );
16022 assert_eq!(
16023 ::std::mem::align_of::<_php_output_handler_user_func_t>(),
16024 8usize,
16025 concat!("Alignment of ", stringify!(_php_output_handler_user_func_t))
16026 );
16027 assert_eq!(
16028 unsafe {
16029 &(*(::std::ptr::null::<_php_output_handler_user_func_t>())).fci as *const _ as usize
16030 },
16031 0usize,
16032 concat!(
16033 "Offset of field: ",
16034 stringify!(_php_output_handler_user_func_t),
16035 "::",
16036 stringify!(fci)
16037 )
16038 );
16039 assert_eq!(
16040 unsafe {
16041 &(*(::std::ptr::null::<_php_output_handler_user_func_t>())).fcc as *const _ as usize
16042 },
16043 56usize,
16044 concat!(
16045 "Offset of field: ",
16046 stringify!(_php_output_handler_user_func_t),
16047 "::",
16048 stringify!(fcc)
16049 )
16050 );
16051 assert_eq!(
16052 unsafe {
16053 &(*(::std::ptr::null::<_php_output_handler_user_func_t>())).zoh as *const _ as usize
16054 },
16055 96usize,
16056 concat!(
16057 "Offset of field: ",
16058 stringify!(_php_output_handler_user_func_t),
16059 "::",
16060 stringify!(zoh)
16061 )
16062 );
16063}
16064pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
16065#[repr(C)]
16066#[derive(Copy, Clone)]
16067pub struct _php_output_handler {
16068 pub name: *mut zend_string,
16069 pub flags: ::std::os::raw::c_int,
16070 pub level: ::std::os::raw::c_int,
16071 pub size: size_t,
16072 pub buffer: php_output_buffer,
16073 pub opaq: *mut ::std::os::raw::c_void,
16074 pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
16075 pub func: _php_output_handler__bindgen_ty_1,
16076}
16077#[repr(C)]
16078#[derive(Copy, Clone)]
16079pub union _php_output_handler__bindgen_ty_1 {
16080 pub user: *mut php_output_handler_user_func_t,
16081 pub internal: php_output_handler_context_func_t,
16082 _bindgen_union_align: u64,
16083}
16084#[test]
16085fn bindgen_test_layout__php_output_handler__bindgen_ty_1() {
16086 assert_eq!(
16087 ::std::mem::size_of::<_php_output_handler__bindgen_ty_1>(),
16088 8usize,
16089 concat!("Size of: ", stringify!(_php_output_handler__bindgen_ty_1))
16090 );
16091 assert_eq!(
16092 ::std::mem::align_of::<_php_output_handler__bindgen_ty_1>(),
16093 8usize,
16094 concat!(
16095 "Alignment of ",
16096 stringify!(_php_output_handler__bindgen_ty_1)
16097 )
16098 );
16099 assert_eq!(
16100 unsafe {
16101 &(*(::std::ptr::null::<_php_output_handler__bindgen_ty_1>())).user as *const _ as usize
16102 },
16103 0usize,
16104 concat!(
16105 "Offset of field: ",
16106 stringify!(_php_output_handler__bindgen_ty_1),
16107 "::",
16108 stringify!(user)
16109 )
16110 );
16111 assert_eq!(
16112 unsafe {
16113 &(*(::std::ptr::null::<_php_output_handler__bindgen_ty_1>())).internal as *const _
16114 as usize
16115 },
16116 0usize,
16117 concat!(
16118 "Offset of field: ",
16119 stringify!(_php_output_handler__bindgen_ty_1),
16120 "::",
16121 stringify!(internal)
16122 )
16123 );
16124}
16125#[test]
16126fn bindgen_test_layout__php_output_handler() {
16127 assert_eq!(
16128 ::std::mem::size_of::<_php_output_handler>(),
16129 80usize,
16130 concat!("Size of: ", stringify!(_php_output_handler))
16131 );
16132 assert_eq!(
16133 ::std::mem::align_of::<_php_output_handler>(),
16134 8usize,
16135 concat!("Alignment of ", stringify!(_php_output_handler))
16136 );
16137 assert_eq!(
16138 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).name as *const _ as usize },
16139 0usize,
16140 concat!(
16141 "Offset of field: ",
16142 stringify!(_php_output_handler),
16143 "::",
16144 stringify!(name)
16145 )
16146 );
16147 assert_eq!(
16148 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).flags as *const _ as usize },
16149 8usize,
16150 concat!(
16151 "Offset of field: ",
16152 stringify!(_php_output_handler),
16153 "::",
16154 stringify!(flags)
16155 )
16156 );
16157 assert_eq!(
16158 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).level as *const _ as usize },
16159 12usize,
16160 concat!(
16161 "Offset of field: ",
16162 stringify!(_php_output_handler),
16163 "::",
16164 stringify!(level)
16165 )
16166 );
16167 assert_eq!(
16168 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).size as *const _ as usize },
16169 16usize,
16170 concat!(
16171 "Offset of field: ",
16172 stringify!(_php_output_handler),
16173 "::",
16174 stringify!(size)
16175 )
16176 );
16177 assert_eq!(
16178 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).buffer as *const _ as usize },
16179 24usize,
16180 concat!(
16181 "Offset of field: ",
16182 stringify!(_php_output_handler),
16183 "::",
16184 stringify!(buffer)
16185 )
16186 );
16187 assert_eq!(
16188 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).opaq as *const _ as usize },
16189 56usize,
16190 concat!(
16191 "Offset of field: ",
16192 stringify!(_php_output_handler),
16193 "::",
16194 stringify!(opaq)
16195 )
16196 );
16197 assert_eq!(
16198 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).dtor as *const _ as usize },
16199 64usize,
16200 concat!(
16201 "Offset of field: ",
16202 stringify!(_php_output_handler),
16203 "::",
16204 stringify!(dtor)
16205 )
16206 );
16207 assert_eq!(
16208 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).func as *const _ as usize },
16209 72usize,
16210 concat!(
16211 "Offset of field: ",
16212 stringify!(_php_output_handler),
16213 "::",
16214 stringify!(func)
16215 )
16216 );
16217}
16218pub type php_output_handler = _php_output_handler;
16219#[repr(C)]
16220#[derive(Debug, Copy, Clone)]
16221pub struct _zend_output_globals {
16222 pub handlers: zend_stack,
16223 pub active: *mut php_output_handler,
16224 pub running: *mut php_output_handler,
16225 pub output_start_filename: *const ::std::os::raw::c_char,
16226 pub output_start_lineno: ::std::os::raw::c_int,
16227 pub flags: ::std::os::raw::c_int,
16228}
16229#[test]
16230fn bindgen_test_layout__zend_output_globals() {
16231 assert_eq!(
16232 ::std::mem::size_of::<_zend_output_globals>(),
16233 56usize,
16234 concat!("Size of: ", stringify!(_zend_output_globals))
16235 );
16236 assert_eq!(
16237 ::std::mem::align_of::<_zend_output_globals>(),
16238 8usize,
16239 concat!("Alignment of ", stringify!(_zend_output_globals))
16240 );
16241 assert_eq!(
16242 unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).handlers as *const _ as usize },
16243 0usize,
16244 concat!(
16245 "Offset of field: ",
16246 stringify!(_zend_output_globals),
16247 "::",
16248 stringify!(handlers)
16249 )
16250 );
16251 assert_eq!(
16252 unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).active as *const _ as usize },
16253 24usize,
16254 concat!(
16255 "Offset of field: ",
16256 stringify!(_zend_output_globals),
16257 "::",
16258 stringify!(active)
16259 )
16260 );
16261 assert_eq!(
16262 unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).running as *const _ as usize },
16263 32usize,
16264 concat!(
16265 "Offset of field: ",
16266 stringify!(_zend_output_globals),
16267 "::",
16268 stringify!(running)
16269 )
16270 );
16271 assert_eq!(
16272 unsafe {
16273 &(*(::std::ptr::null::<_zend_output_globals>())).output_start_filename as *const _
16274 as usize
16275 },
16276 40usize,
16277 concat!(
16278 "Offset of field: ",
16279 stringify!(_zend_output_globals),
16280 "::",
16281 stringify!(output_start_filename)
16282 )
16283 );
16284 assert_eq!(
16285 unsafe {
16286 &(*(::std::ptr::null::<_zend_output_globals>())).output_start_lineno as *const _
16287 as usize
16288 },
16289 48usize,
16290 concat!(
16291 "Offset of field: ",
16292 stringify!(_zend_output_globals),
16293 "::",
16294 stringify!(output_start_lineno)
16295 )
16296 );
16297 assert_eq!(
16298 unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).flags as *const _ as usize },
16299 52usize,
16300 concat!(
16301 "Offset of field: ",
16302 stringify!(_zend_output_globals),
16303 "::",
16304 stringify!(flags)
16305 )
16306 );
16307}
16308pub type zend_output_globals = _zend_output_globals;
16309extern "C" {
16310 pub static mut output_globals: zend_output_globals;
16311}
16312extern "C" {
16313 pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
16314}
16315extern "C" {
16316 pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
16317}
16318extern "C" {
16319 pub fn php_output_startup();
16320}
16321extern "C" {
16322 pub fn php_output_shutdown();
16323}
16324extern "C" {
16325 pub fn php_output_register_constants();
16326}
16327extern "C" {
16328 pub fn php_output_activate() -> ::std::os::raw::c_int;
16329}
16330extern "C" {
16331 pub fn php_output_deactivate();
16332}
16333extern "C" {
16334 pub fn php_output_set_status(status: ::std::os::raw::c_int);
16335}
16336extern "C" {
16337 pub fn php_output_get_status() -> ::std::os::raw::c_int;
16338}
16339extern "C" {
16340 pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
16341}
16342extern "C" {
16343 pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
16344}
16345extern "C" {
16346 pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
16347}
16348extern "C" {
16349 pub fn php_output_write_unbuffered(str_: *const ::std::os::raw::c_char, len: size_t) -> size_t;
16350}
16351extern "C" {
16352 pub fn php_output_write(str_: *const ::std::os::raw::c_char, len: size_t) -> size_t;
16353}
16354extern "C" {
16355 pub fn php_output_flush() -> ::std::os::raw::c_int;
16356}
16357extern "C" {
16358 pub fn php_output_flush_all();
16359}
16360extern "C" {
16361 pub fn php_output_clean() -> ::std::os::raw::c_int;
16362}
16363extern "C" {
16364 pub fn php_output_clean_all();
16365}
16366extern "C" {
16367 pub fn php_output_end() -> ::std::os::raw::c_int;
16368}
16369extern "C" {
16370 pub fn php_output_end_all();
16371}
16372extern "C" {
16373 pub fn php_output_discard() -> ::std::os::raw::c_int;
16374}
16375extern "C" {
16376 pub fn php_output_discard_all();
16377}
16378extern "C" {
16379 pub fn php_output_get_contents(p: *mut zval) -> ::std::os::raw::c_int;
16380}
16381extern "C" {
16382 pub fn php_output_get_length(p: *mut zval) -> ::std::os::raw::c_int;
16383}
16384extern "C" {
16385 pub fn php_output_get_level() -> ::std::os::raw::c_int;
16386}
16387extern "C" {
16388 pub fn php_output_get_active_handler() -> *mut php_output_handler;
16389}
16390extern "C" {
16391 pub fn php_output_start_default() -> ::std::os::raw::c_int;
16392}
16393extern "C" {
16394 pub fn php_output_start_devnull() -> ::std::os::raw::c_int;
16395}
16396extern "C" {
16397 pub fn php_output_start_user(
16398 output_handler: *mut zval,
16399 chunk_size: size_t,
16400 flags: ::std::os::raw::c_int,
16401 ) -> ::std::os::raw::c_int;
16402}
16403extern "C" {
16404 pub fn php_output_start_internal(
16405 name: *const ::std::os::raw::c_char,
16406 name_len: size_t,
16407 output_handler: php_output_handler_func_t,
16408 chunk_size: size_t,
16409 flags: ::std::os::raw::c_int,
16410 ) -> ::std::os::raw::c_int;
16411}
16412extern "C" {
16413 pub fn php_output_handler_create_user(
16414 handler: *mut zval,
16415 chunk_size: size_t,
16416 flags: ::std::os::raw::c_int,
16417 ) -> *mut php_output_handler;
16418}
16419extern "C" {
16420 pub fn php_output_handler_create_internal(
16421 name: *const ::std::os::raw::c_char,
16422 name_len: size_t,
16423 handler: php_output_handler_context_func_t,
16424 chunk_size: size_t,
16425 flags: ::std::os::raw::c_int,
16426 ) -> *mut php_output_handler;
16427}
16428extern "C" {
16429 pub fn php_output_handler_set_context(
16430 handler: *mut php_output_handler,
16431 opaq: *mut ::std::os::raw::c_void,
16432 dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
16433 );
16434}
16435extern "C" {
16436 pub fn php_output_handler_start(handler: *mut php_output_handler) -> ::std::os::raw::c_int;
16437}
16438extern "C" {
16439 pub fn php_output_handler_started(
16440 name: *const ::std::os::raw::c_char,
16441 name_len: size_t,
16442 ) -> ::std::os::raw::c_int;
16443}
16444extern "C" {
16445 pub fn php_output_handler_hook(
16446 type_: php_output_handler_hook_t,
16447 arg: *mut ::std::os::raw::c_void,
16448 ) -> ::std::os::raw::c_int;
16449}
16450extern "C" {
16451 pub fn php_output_handler_dtor(handler: *mut php_output_handler);
16452}
16453extern "C" {
16454 pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
16455}
16456extern "C" {
16457 pub fn php_output_handler_conflict(
16458 handler_new: *const ::std::os::raw::c_char,
16459 handler_new_len: size_t,
16460 handler_set: *const ::std::os::raw::c_char,
16461 handler_set_len: size_t,
16462 ) -> ::std::os::raw::c_int;
16463}
16464extern "C" {
16465 pub fn php_output_handler_conflict_register(
16466 handler_name: *const ::std::os::raw::c_char,
16467 handler_name_len: size_t,
16468 check_func: php_output_handler_conflict_check_t,
16469 ) -> ::std::os::raw::c_int;
16470}
16471extern "C" {
16472 pub fn php_output_handler_reverse_conflict_register(
16473 handler_name: *const ::std::os::raw::c_char,
16474 handler_name_len: size_t,
16475 check_func: php_output_handler_conflict_check_t,
16476 ) -> ::std::os::raw::c_int;
16477}
16478extern "C" {
16479 pub fn php_output_handler_alias(
16480 handler_name: *const ::std::os::raw::c_char,
16481 handler_name_len: size_t,
16482 ) -> php_output_handler_alias_ctor_t;
16483}
16484extern "C" {
16485 pub fn php_output_handler_alias_register(
16486 handler_name: *const ::std::os::raw::c_char,
16487 handler_name_len: size_t,
16488 func: php_output_handler_alias_ctor_t,
16489 ) -> ::std::os::raw::c_int;
16490}
16491extern "C" {
16492 pub fn php_file_le_stream() -> ::std::os::raw::c_int;
16493}
16494extern "C" {
16495 pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
16496}
16497extern "C" {
16498 pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
16499}
16500pub type php_stream = _php_stream;
16501pub type php_stream_wrapper = _php_stream_wrapper;
16502pub type php_stream_context = _php_stream_context;
16503pub type php_stream_filter = _php_stream_filter;
16504pub type php_stream_notification_func = ::std::option::Option<
16505 unsafe extern "C" fn(
16506 context: *mut php_stream_context,
16507 notifycode: ::std::os::raw::c_int,
16508 severity: ::std::os::raw::c_int,
16509 xmsg: *mut ::std::os::raw::c_char,
16510 xcode: ::std::os::raw::c_int,
16511 bytes_sofar: size_t,
16512 bytes_max: size_t,
16513 ptr: *mut ::std::os::raw::c_void,
16514 ),
16515>;
16516pub type php_stream_notifier = _php_stream_notifier;
16517#[repr(C)]
16518#[derive(Copy, Clone)]
16519pub struct _php_stream_notifier {
16520 pub func: php_stream_notification_func,
16521 pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
16522 pub ptr: zval,
16523 pub mask: ::std::os::raw::c_int,
16524 pub progress: size_t,
16525 pub progress_max: size_t,
16526}
16527#[test]
16528fn bindgen_test_layout__php_stream_notifier() {
16529 assert_eq!(
16530 ::std::mem::size_of::<_php_stream_notifier>(),
16531 56usize,
16532 concat!("Size of: ", stringify!(_php_stream_notifier))
16533 );
16534 assert_eq!(
16535 ::std::mem::align_of::<_php_stream_notifier>(),
16536 8usize,
16537 concat!("Alignment of ", stringify!(_php_stream_notifier))
16538 );
16539 assert_eq!(
16540 unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).func as *const _ as usize },
16541 0usize,
16542 concat!(
16543 "Offset of field: ",
16544 stringify!(_php_stream_notifier),
16545 "::",
16546 stringify!(func)
16547 )
16548 );
16549 assert_eq!(
16550 unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).dtor as *const _ as usize },
16551 8usize,
16552 concat!(
16553 "Offset of field: ",
16554 stringify!(_php_stream_notifier),
16555 "::",
16556 stringify!(dtor)
16557 )
16558 );
16559 assert_eq!(
16560 unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).ptr as *const _ as usize },
16561 16usize,
16562 concat!(
16563 "Offset of field: ",
16564 stringify!(_php_stream_notifier),
16565 "::",
16566 stringify!(ptr)
16567 )
16568 );
16569 assert_eq!(
16570 unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).mask as *const _ as usize },
16571 32usize,
16572 concat!(
16573 "Offset of field: ",
16574 stringify!(_php_stream_notifier),
16575 "::",
16576 stringify!(mask)
16577 )
16578 );
16579 assert_eq!(
16580 unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).progress as *const _ as usize },
16581 40usize,
16582 concat!(
16583 "Offset of field: ",
16584 stringify!(_php_stream_notifier),
16585 "::",
16586 stringify!(progress)
16587 )
16588 );
16589 assert_eq!(
16590 unsafe {
16591 &(*(::std::ptr::null::<_php_stream_notifier>())).progress_max as *const _ as usize
16592 },
16593 48usize,
16594 concat!(
16595 "Offset of field: ",
16596 stringify!(_php_stream_notifier),
16597 "::",
16598 stringify!(progress_max)
16599 )
16600 );
16601}
16602#[repr(C)]
16603#[derive(Copy, Clone)]
16604pub struct _php_stream_context {
16605 pub notifier: *mut php_stream_notifier,
16606 pub options: zval,
16607 pub res: *mut zend_resource,
16608}
16609#[test]
16610fn bindgen_test_layout__php_stream_context() {
16611 assert_eq!(
16612 ::std::mem::size_of::<_php_stream_context>(),
16613 32usize,
16614 concat!("Size of: ", stringify!(_php_stream_context))
16615 );
16616 assert_eq!(
16617 ::std::mem::align_of::<_php_stream_context>(),
16618 8usize,
16619 concat!("Alignment of ", stringify!(_php_stream_context))
16620 );
16621 assert_eq!(
16622 unsafe { &(*(::std::ptr::null::<_php_stream_context>())).notifier as *const _ as usize },
16623 0usize,
16624 concat!(
16625 "Offset of field: ",
16626 stringify!(_php_stream_context),
16627 "::",
16628 stringify!(notifier)
16629 )
16630 );
16631 assert_eq!(
16632 unsafe { &(*(::std::ptr::null::<_php_stream_context>())).options as *const _ as usize },
16633 8usize,
16634 concat!(
16635 "Offset of field: ",
16636 stringify!(_php_stream_context),
16637 "::",
16638 stringify!(options)
16639 )
16640 );
16641 assert_eq!(
16642 unsafe { &(*(::std::ptr::null::<_php_stream_context>())).res as *const _ as usize },
16643 24usize,
16644 concat!(
16645 "Offset of field: ",
16646 stringify!(_php_stream_context),
16647 "::",
16648 stringify!(res)
16649 )
16650 );
16651}
16652extern "C" {
16653 pub fn php_stream_context_free(context: *mut php_stream_context);
16654}
16655extern "C" {
16656 pub fn php_stream_context_alloc() -> *mut php_stream_context;
16657}
16658extern "C" {
16659 pub fn php_stream_context_get_option(
16660 context: *mut php_stream_context,
16661 wrappername: *const ::std::os::raw::c_char,
16662 optionname: *const ::std::os::raw::c_char,
16663 ) -> *mut zval;
16664}
16665extern "C" {
16666 pub fn php_stream_context_set_option(
16667 context: *mut php_stream_context,
16668 wrappername: *const ::std::os::raw::c_char,
16669 optionname: *const ::std::os::raw::c_char,
16670 optionvalue: *mut zval,
16671 ) -> ::std::os::raw::c_int;
16672}
16673extern "C" {
16674 pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
16675}
16676extern "C" {
16677 pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
16678}
16679extern "C" {
16680 pub fn php_stream_notification_notify(
16681 context: *mut php_stream_context,
16682 notifycode: ::std::os::raw::c_int,
16683 severity: ::std::os::raw::c_int,
16684 xmsg: *mut ::std::os::raw::c_char,
16685 xcode: ::std::os::raw::c_int,
16686 bytes_sofar: size_t,
16687 bytes_max: size_t,
16688 ptr: *mut ::std::os::raw::c_void,
16689 );
16690}
16691extern "C" {
16692 pub fn php_stream_context_set(
16693 stream: *mut php_stream,
16694 context: *mut php_stream_context,
16695 ) -> *mut php_stream_context;
16696}
16697pub type php_stream_bucket = _php_stream_bucket;
16698pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
16699#[repr(C)]
16700#[derive(Debug, Copy, Clone)]
16701pub struct _php_stream_bucket {
16702 pub next: *mut php_stream_bucket,
16703 pub prev: *mut php_stream_bucket,
16704 pub brigade: *mut php_stream_bucket_brigade,
16705 pub buf: *mut ::std::os::raw::c_char,
16706 pub buflen: size_t,
16707 pub own_buf: ::std::os::raw::c_int,
16708 pub is_persistent: ::std::os::raw::c_int,
16709 pub refcount: ::std::os::raw::c_int,
16710}
16711#[test]
16712fn bindgen_test_layout__php_stream_bucket() {
16713 assert_eq!(
16714 ::std::mem::size_of::<_php_stream_bucket>(),
16715 56usize,
16716 concat!("Size of: ", stringify!(_php_stream_bucket))
16717 );
16718 assert_eq!(
16719 ::std::mem::align_of::<_php_stream_bucket>(),
16720 8usize,
16721 concat!("Alignment of ", stringify!(_php_stream_bucket))
16722 );
16723 assert_eq!(
16724 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).next as *const _ as usize },
16725 0usize,
16726 concat!(
16727 "Offset of field: ",
16728 stringify!(_php_stream_bucket),
16729 "::",
16730 stringify!(next)
16731 )
16732 );
16733 assert_eq!(
16734 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).prev as *const _ as usize },
16735 8usize,
16736 concat!(
16737 "Offset of field: ",
16738 stringify!(_php_stream_bucket),
16739 "::",
16740 stringify!(prev)
16741 )
16742 );
16743 assert_eq!(
16744 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).brigade as *const _ as usize },
16745 16usize,
16746 concat!(
16747 "Offset of field: ",
16748 stringify!(_php_stream_bucket),
16749 "::",
16750 stringify!(brigade)
16751 )
16752 );
16753 assert_eq!(
16754 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).buf as *const _ as usize },
16755 24usize,
16756 concat!(
16757 "Offset of field: ",
16758 stringify!(_php_stream_bucket),
16759 "::",
16760 stringify!(buf)
16761 )
16762 );
16763 assert_eq!(
16764 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).buflen as *const _ as usize },
16765 32usize,
16766 concat!(
16767 "Offset of field: ",
16768 stringify!(_php_stream_bucket),
16769 "::",
16770 stringify!(buflen)
16771 )
16772 );
16773 assert_eq!(
16774 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).own_buf as *const _ as usize },
16775 40usize,
16776 concat!(
16777 "Offset of field: ",
16778 stringify!(_php_stream_bucket),
16779 "::",
16780 stringify!(own_buf)
16781 )
16782 );
16783 assert_eq!(
16784 unsafe {
16785 &(*(::std::ptr::null::<_php_stream_bucket>())).is_persistent as *const _ as usize
16786 },
16787 44usize,
16788 concat!(
16789 "Offset of field: ",
16790 stringify!(_php_stream_bucket),
16791 "::",
16792 stringify!(is_persistent)
16793 )
16794 );
16795 assert_eq!(
16796 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).refcount as *const _ as usize },
16797 48usize,
16798 concat!(
16799 "Offset of field: ",
16800 stringify!(_php_stream_bucket),
16801 "::",
16802 stringify!(refcount)
16803 )
16804 );
16805}
16806#[repr(C)]
16807#[derive(Debug, Copy, Clone)]
16808pub struct _php_stream_bucket_brigade {
16809 pub head: *mut php_stream_bucket,
16810 pub tail: *mut php_stream_bucket,
16811}
16812#[test]
16813fn bindgen_test_layout__php_stream_bucket_brigade() {
16814 assert_eq!(
16815 ::std::mem::size_of::<_php_stream_bucket_brigade>(),
16816 16usize,
16817 concat!("Size of: ", stringify!(_php_stream_bucket_brigade))
16818 );
16819 assert_eq!(
16820 ::std::mem::align_of::<_php_stream_bucket_brigade>(),
16821 8usize,
16822 concat!("Alignment of ", stringify!(_php_stream_bucket_brigade))
16823 );
16824 assert_eq!(
16825 unsafe { &(*(::std::ptr::null::<_php_stream_bucket_brigade>())).head as *const _ as usize },
16826 0usize,
16827 concat!(
16828 "Offset of field: ",
16829 stringify!(_php_stream_bucket_brigade),
16830 "::",
16831 stringify!(head)
16832 )
16833 );
16834 assert_eq!(
16835 unsafe { &(*(::std::ptr::null::<_php_stream_bucket_brigade>())).tail as *const _ as usize },
16836 8usize,
16837 concat!(
16838 "Offset of field: ",
16839 stringify!(_php_stream_bucket_brigade),
16840 "::",
16841 stringify!(tail)
16842 )
16843 );
16844}
16845pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
16846pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
16847pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
16848pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
16849extern "C" {
16850 pub fn php_stream_bucket_new(
16851 stream: *mut php_stream,
16852 buf: *mut ::std::os::raw::c_char,
16853 buflen: size_t,
16854 own_buf: ::std::os::raw::c_int,
16855 buf_persistent: ::std::os::raw::c_int,
16856 ) -> *mut php_stream_bucket;
16857}
16858extern "C" {
16859 pub fn php_stream_bucket_split(
16860 in_: *mut php_stream_bucket,
16861 left: *mut *mut php_stream_bucket,
16862 right: *mut *mut php_stream_bucket,
16863 length: size_t,
16864 ) -> ::std::os::raw::c_int;
16865}
16866extern "C" {
16867 pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
16868}
16869extern "C" {
16870 pub fn php_stream_bucket_prepend(
16871 brigade: *mut php_stream_bucket_brigade,
16872 bucket: *mut php_stream_bucket,
16873 );
16874}
16875extern "C" {
16876 pub fn php_stream_bucket_append(
16877 brigade: *mut php_stream_bucket_brigade,
16878 bucket: *mut php_stream_bucket,
16879 );
16880}
16881extern "C" {
16882 pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
16883}
16884extern "C" {
16885 pub fn php_stream_bucket_make_writeable(
16886 bucket: *mut php_stream_bucket,
16887 ) -> *mut php_stream_bucket;
16888}
16889#[repr(C)]
16890#[derive(Debug, Copy, Clone)]
16891pub struct _php_stream_filter_ops {
16892 pub filter: ::std::option::Option<
16893 unsafe extern "C" fn(
16894 stream: *mut php_stream,
16895 thisfilter: *mut php_stream_filter,
16896 buckets_in: *mut php_stream_bucket_brigade,
16897 buckets_out: *mut php_stream_bucket_brigade,
16898 bytes_consumed: *mut size_t,
16899 flags: ::std::os::raw::c_int,
16900 ) -> php_stream_filter_status_t,
16901 >,
16902 pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
16903 pub label: *const ::std::os::raw::c_char,
16904}
16905#[test]
16906fn bindgen_test_layout__php_stream_filter_ops() {
16907 assert_eq!(
16908 ::std::mem::size_of::<_php_stream_filter_ops>(),
16909 24usize,
16910 concat!("Size of: ", stringify!(_php_stream_filter_ops))
16911 );
16912 assert_eq!(
16913 ::std::mem::align_of::<_php_stream_filter_ops>(),
16914 8usize,
16915 concat!("Alignment of ", stringify!(_php_stream_filter_ops))
16916 );
16917 assert_eq!(
16918 unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).filter as *const _ as usize },
16919 0usize,
16920 concat!(
16921 "Offset of field: ",
16922 stringify!(_php_stream_filter_ops),
16923 "::",
16924 stringify!(filter)
16925 )
16926 );
16927 assert_eq!(
16928 unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).dtor as *const _ as usize },
16929 8usize,
16930 concat!(
16931 "Offset of field: ",
16932 stringify!(_php_stream_filter_ops),
16933 "::",
16934 stringify!(dtor)
16935 )
16936 );
16937 assert_eq!(
16938 unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).label as *const _ as usize },
16939 16usize,
16940 concat!(
16941 "Offset of field: ",
16942 stringify!(_php_stream_filter_ops),
16943 "::",
16944 stringify!(label)
16945 )
16946 );
16947}
16948pub type php_stream_filter_ops = _php_stream_filter_ops;
16949#[repr(C)]
16950#[derive(Debug, Copy, Clone)]
16951pub struct _php_stream_filter_chain {
16952 pub head: *mut php_stream_filter,
16953 pub tail: *mut php_stream_filter,
16954 pub stream: *mut php_stream,
16955}
16956#[test]
16957fn bindgen_test_layout__php_stream_filter_chain() {
16958 assert_eq!(
16959 ::std::mem::size_of::<_php_stream_filter_chain>(),
16960 24usize,
16961 concat!("Size of: ", stringify!(_php_stream_filter_chain))
16962 );
16963 assert_eq!(
16964 ::std::mem::align_of::<_php_stream_filter_chain>(),
16965 8usize,
16966 concat!("Alignment of ", stringify!(_php_stream_filter_chain))
16967 );
16968 assert_eq!(
16969 unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).head as *const _ as usize },
16970 0usize,
16971 concat!(
16972 "Offset of field: ",
16973 stringify!(_php_stream_filter_chain),
16974 "::",
16975 stringify!(head)
16976 )
16977 );
16978 assert_eq!(
16979 unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).tail as *const _ as usize },
16980 8usize,
16981 concat!(
16982 "Offset of field: ",
16983 stringify!(_php_stream_filter_chain),
16984 "::",
16985 stringify!(tail)
16986 )
16987 );
16988 assert_eq!(
16989 unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).stream as *const _ as usize },
16990 16usize,
16991 concat!(
16992 "Offset of field: ",
16993 stringify!(_php_stream_filter_chain),
16994 "::",
16995 stringify!(stream)
16996 )
16997 );
16998}
16999pub type php_stream_filter_chain = _php_stream_filter_chain;
17000#[repr(C)]
17001#[derive(Copy, Clone)]
17002pub struct _php_stream_filter {
17003 pub fops: *mut php_stream_filter_ops,
17004 pub abstract_: zval,
17005 pub next: *mut php_stream_filter,
17006 pub prev: *mut php_stream_filter,
17007 pub is_persistent: ::std::os::raw::c_int,
17008 pub chain: *mut php_stream_filter_chain,
17009 pub buffer: php_stream_bucket_brigade,
17010 pub res: *mut zend_resource,
17011}
17012#[test]
17013fn bindgen_test_layout__php_stream_filter() {
17014 assert_eq!(
17015 ::std::mem::size_of::<_php_stream_filter>(),
17016 80usize,
17017 concat!("Size of: ", stringify!(_php_stream_filter))
17018 );
17019 assert_eq!(
17020 ::std::mem::align_of::<_php_stream_filter>(),
17021 8usize,
17022 concat!("Alignment of ", stringify!(_php_stream_filter))
17023 );
17024 assert_eq!(
17025 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).fops as *const _ as usize },
17026 0usize,
17027 concat!(
17028 "Offset of field: ",
17029 stringify!(_php_stream_filter),
17030 "::",
17031 stringify!(fops)
17032 )
17033 );
17034 assert_eq!(
17035 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).abstract_ as *const _ as usize },
17036 8usize,
17037 concat!(
17038 "Offset of field: ",
17039 stringify!(_php_stream_filter),
17040 "::",
17041 stringify!(abstract_)
17042 )
17043 );
17044 assert_eq!(
17045 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).next as *const _ as usize },
17046 24usize,
17047 concat!(
17048 "Offset of field: ",
17049 stringify!(_php_stream_filter),
17050 "::",
17051 stringify!(next)
17052 )
17053 );
17054 assert_eq!(
17055 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).prev as *const _ as usize },
17056 32usize,
17057 concat!(
17058 "Offset of field: ",
17059 stringify!(_php_stream_filter),
17060 "::",
17061 stringify!(prev)
17062 )
17063 );
17064 assert_eq!(
17065 unsafe {
17066 &(*(::std::ptr::null::<_php_stream_filter>())).is_persistent as *const _ as usize
17067 },
17068 40usize,
17069 concat!(
17070 "Offset of field: ",
17071 stringify!(_php_stream_filter),
17072 "::",
17073 stringify!(is_persistent)
17074 )
17075 );
17076 assert_eq!(
17077 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).chain as *const _ as usize },
17078 48usize,
17079 concat!(
17080 "Offset of field: ",
17081 stringify!(_php_stream_filter),
17082 "::",
17083 stringify!(chain)
17084 )
17085 );
17086 assert_eq!(
17087 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).buffer as *const _ as usize },
17088 56usize,
17089 concat!(
17090 "Offset of field: ",
17091 stringify!(_php_stream_filter),
17092 "::",
17093 stringify!(buffer)
17094 )
17095 );
17096 assert_eq!(
17097 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).res as *const _ as usize },
17098 72usize,
17099 concat!(
17100 "Offset of field: ",
17101 stringify!(_php_stream_filter),
17102 "::",
17103 stringify!(res)
17104 )
17105 );
17106}
17107extern "C" {
17108 pub fn php_stream_filter_prepend_ex(
17109 chain: *mut php_stream_filter_chain,
17110 filter: *mut php_stream_filter,
17111 ) -> ::std::os::raw::c_int;
17112}
17113extern "C" {
17114 pub fn php_stream_filter_append_ex(
17115 chain: *mut php_stream_filter_chain,
17116 filter: *mut php_stream_filter,
17117 ) -> ::std::os::raw::c_int;
17118}
17119extern "C" {
17120 pub fn php_stream_filter_remove(
17121 filter: *mut php_stream_filter,
17122 call_dtor: ::std::os::raw::c_int,
17123 ) -> *mut php_stream_filter;
17124}
17125extern "C" {
17126 pub fn php_stream_filter_free(filter: *mut php_stream_filter);
17127}
17128#[repr(C)]
17129#[derive(Debug, Copy, Clone)]
17130pub struct _php_stream_filter_factory {
17131 pub create_filter: ::std::option::Option<
17132 unsafe extern "C" fn(
17133 filtername: *const ::std::os::raw::c_char,
17134 filterparams: *mut zval,
17135 persistent: ::std::os::raw::c_int,
17136 ) -> *mut php_stream_filter,
17137 >,
17138}
17139#[test]
17140fn bindgen_test_layout__php_stream_filter_factory() {
17141 assert_eq!(
17142 ::std::mem::size_of::<_php_stream_filter_factory>(),
17143 8usize,
17144 concat!("Size of: ", stringify!(_php_stream_filter_factory))
17145 );
17146 assert_eq!(
17147 ::std::mem::align_of::<_php_stream_filter_factory>(),
17148 8usize,
17149 concat!("Alignment of ", stringify!(_php_stream_filter_factory))
17150 );
17151 assert_eq!(
17152 unsafe {
17153 &(*(::std::ptr::null::<_php_stream_filter_factory>())).create_filter as *const _
17154 as usize
17155 },
17156 0usize,
17157 concat!(
17158 "Offset of field: ",
17159 stringify!(_php_stream_filter_factory),
17160 "::",
17161 stringify!(create_filter)
17162 )
17163 );
17164}
17165pub type php_stream_filter_factory = _php_stream_filter_factory;
17166extern "C" {
17167 pub fn php_stream_filter_register_factory(
17168 filterpattern: *const ::std::os::raw::c_char,
17169 factory: *mut php_stream_filter_factory,
17170 ) -> ::std::os::raw::c_int;
17171}
17172extern "C" {
17173 pub fn php_stream_filter_unregister_factory(
17174 filterpattern: *const ::std::os::raw::c_char,
17175 ) -> ::std::os::raw::c_int;
17176}
17177extern "C" {
17178 pub fn php_stream_filter_register_factory_volatile(
17179 filterpattern: *const ::std::os::raw::c_char,
17180 factory: *mut php_stream_filter_factory,
17181 ) -> ::std::os::raw::c_int;
17182}
17183extern "C" {
17184 pub fn php_stream_filter_create(
17185 filtername: *const ::std::os::raw::c_char,
17186 filterparams: *mut zval,
17187 persistent: ::std::os::raw::c_int,
17188 ) -> *mut php_stream_filter;
17189}
17190#[repr(C)]
17191#[derive(Debug, Copy, Clone)]
17192pub struct _php_stream_statbuf {
17193 pub sb: zend_stat_t,
17194}
17195#[test]
17196fn bindgen_test_layout__php_stream_statbuf() {
17197 assert_eq!(
17198 ::std::mem::size_of::<_php_stream_statbuf>(),
17199 144usize,
17200 concat!("Size of: ", stringify!(_php_stream_statbuf))
17201 );
17202 assert_eq!(
17203 ::std::mem::align_of::<_php_stream_statbuf>(),
17204 8usize,
17205 concat!("Alignment of ", stringify!(_php_stream_statbuf))
17206 );
17207 assert_eq!(
17208 unsafe { &(*(::std::ptr::null::<_php_stream_statbuf>())).sb as *const _ as usize },
17209 0usize,
17210 concat!(
17211 "Offset of field: ",
17212 stringify!(_php_stream_statbuf),
17213 "::",
17214 stringify!(sb)
17215 )
17216 );
17217}
17218pub type php_stream_statbuf = _php_stream_statbuf;
17219#[repr(C)]
17220#[derive(Debug, Copy, Clone)]
17221pub struct _php_stream_ops {
17222 pub write: ::std::option::Option<
17223 unsafe extern "C" fn(
17224 stream: *mut php_stream,
17225 buf: *const ::std::os::raw::c_char,
17226 count: size_t,
17227 ) -> size_t,
17228 >,
17229 pub read: ::std::option::Option<
17230 unsafe extern "C" fn(
17231 stream: *mut php_stream,
17232 buf: *mut ::std::os::raw::c_char,
17233 count: size_t,
17234 ) -> size_t,
17235 >,
17236 pub close: ::std::option::Option<
17237 unsafe extern "C" fn(
17238 stream: *mut php_stream,
17239 close_handle: ::std::os::raw::c_int,
17240 ) -> ::std::os::raw::c_int,
17241 >,
17242 pub flush: ::std::option::Option<
17243 unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
17244 >,
17245 pub label: *const ::std::os::raw::c_char,
17246 pub seek: ::std::option::Option<
17247 unsafe extern "C" fn(
17248 stream: *mut php_stream,
17249 offset: zend_off_t,
17250 whence: ::std::os::raw::c_int,
17251 newoffset: *mut zend_off_t,
17252 ) -> ::std::os::raw::c_int,
17253 >,
17254 pub cast: ::std::option::Option<
17255 unsafe extern "C" fn(
17256 stream: *mut php_stream,
17257 castas: ::std::os::raw::c_int,
17258 ret: *mut *mut ::std::os::raw::c_void,
17259 ) -> ::std::os::raw::c_int,
17260 >,
17261 pub stat: ::std::option::Option<
17262 unsafe extern "C" fn(
17263 stream: *mut php_stream,
17264 ssb: *mut php_stream_statbuf,
17265 ) -> ::std::os::raw::c_int,
17266 >,
17267 pub set_option: ::std::option::Option<
17268 unsafe extern "C" fn(
17269 stream: *mut php_stream,
17270 option: ::std::os::raw::c_int,
17271 value: ::std::os::raw::c_int,
17272 ptrparam: *mut ::std::os::raw::c_void,
17273 ) -> ::std::os::raw::c_int,
17274 >,
17275}
17276#[test]
17277fn bindgen_test_layout__php_stream_ops() {
17278 assert_eq!(
17279 ::std::mem::size_of::<_php_stream_ops>(),
17280 72usize,
17281 concat!("Size of: ", stringify!(_php_stream_ops))
17282 );
17283 assert_eq!(
17284 ::std::mem::align_of::<_php_stream_ops>(),
17285 8usize,
17286 concat!("Alignment of ", stringify!(_php_stream_ops))
17287 );
17288 assert_eq!(
17289 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).write as *const _ as usize },
17290 0usize,
17291 concat!(
17292 "Offset of field: ",
17293 stringify!(_php_stream_ops),
17294 "::",
17295 stringify!(write)
17296 )
17297 );
17298 assert_eq!(
17299 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).read as *const _ as usize },
17300 8usize,
17301 concat!(
17302 "Offset of field: ",
17303 stringify!(_php_stream_ops),
17304 "::",
17305 stringify!(read)
17306 )
17307 );
17308 assert_eq!(
17309 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).close as *const _ as usize },
17310 16usize,
17311 concat!(
17312 "Offset of field: ",
17313 stringify!(_php_stream_ops),
17314 "::",
17315 stringify!(close)
17316 )
17317 );
17318 assert_eq!(
17319 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).flush as *const _ as usize },
17320 24usize,
17321 concat!(
17322 "Offset of field: ",
17323 stringify!(_php_stream_ops),
17324 "::",
17325 stringify!(flush)
17326 )
17327 );
17328 assert_eq!(
17329 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).label as *const _ as usize },
17330 32usize,
17331 concat!(
17332 "Offset of field: ",
17333 stringify!(_php_stream_ops),
17334 "::",
17335 stringify!(label)
17336 )
17337 );
17338 assert_eq!(
17339 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).seek as *const _ as usize },
17340 40usize,
17341 concat!(
17342 "Offset of field: ",
17343 stringify!(_php_stream_ops),
17344 "::",
17345 stringify!(seek)
17346 )
17347 );
17348 assert_eq!(
17349 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).cast as *const _ as usize },
17350 48usize,
17351 concat!(
17352 "Offset of field: ",
17353 stringify!(_php_stream_ops),
17354 "::",
17355 stringify!(cast)
17356 )
17357 );
17358 assert_eq!(
17359 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).stat as *const _ as usize },
17360 56usize,
17361 concat!(
17362 "Offset of field: ",
17363 stringify!(_php_stream_ops),
17364 "::",
17365 stringify!(stat)
17366 )
17367 );
17368 assert_eq!(
17369 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).set_option as *const _ as usize },
17370 64usize,
17371 concat!(
17372 "Offset of field: ",
17373 stringify!(_php_stream_ops),
17374 "::",
17375 stringify!(set_option)
17376 )
17377 );
17378}
17379pub type php_stream_ops = _php_stream_ops;
17380#[repr(C)]
17381#[derive(Debug, Copy, Clone)]
17382pub struct _php_stream_wrapper_ops {
17383 pub stream_opener: ::std::option::Option<
17384 unsafe extern "C" fn(
17385 wrapper: *mut php_stream_wrapper,
17386 filename: *const ::std::os::raw::c_char,
17387 mode: *const ::std::os::raw::c_char,
17388 options: ::std::os::raw::c_int,
17389 opened_path: *mut *mut zend_string,
17390 context: *mut php_stream_context,
17391 ) -> *mut php_stream,
17392 >,
17393 pub stream_closer: ::std::option::Option<
17394 unsafe extern "C" fn(
17395 wrapper: *mut php_stream_wrapper,
17396 stream: *mut php_stream,
17397 ) -> ::std::os::raw::c_int,
17398 >,
17399 pub stream_stat: ::std::option::Option<
17400 unsafe extern "C" fn(
17401 wrapper: *mut php_stream_wrapper,
17402 stream: *mut php_stream,
17403 ssb: *mut php_stream_statbuf,
17404 ) -> ::std::os::raw::c_int,
17405 >,
17406 pub url_stat: ::std::option::Option<
17407 unsafe extern "C" fn(
17408 wrapper: *mut php_stream_wrapper,
17409 url: *const ::std::os::raw::c_char,
17410 flags: ::std::os::raw::c_int,
17411 ssb: *mut php_stream_statbuf,
17412 context: *mut php_stream_context,
17413 ) -> ::std::os::raw::c_int,
17414 >,
17415 pub dir_opener: ::std::option::Option<
17416 unsafe extern "C" fn(
17417 wrapper: *mut php_stream_wrapper,
17418 filename: *const ::std::os::raw::c_char,
17419 mode: *const ::std::os::raw::c_char,
17420 options: ::std::os::raw::c_int,
17421 opened_path: *mut *mut zend_string,
17422 context: *mut php_stream_context,
17423 ) -> *mut php_stream,
17424 >,
17425 pub label: *const ::std::os::raw::c_char,
17426 pub unlink: ::std::option::Option<
17427 unsafe extern "C" fn(
17428 wrapper: *mut php_stream_wrapper,
17429 url: *const ::std::os::raw::c_char,
17430 options: ::std::os::raw::c_int,
17431 context: *mut php_stream_context,
17432 ) -> ::std::os::raw::c_int,
17433 >,
17434 pub rename: ::std::option::Option<
17435 unsafe extern "C" fn(
17436 wrapper: *mut php_stream_wrapper,
17437 url_from: *const ::std::os::raw::c_char,
17438 url_to: *const ::std::os::raw::c_char,
17439 options: ::std::os::raw::c_int,
17440 context: *mut php_stream_context,
17441 ) -> ::std::os::raw::c_int,
17442 >,
17443 pub stream_mkdir: ::std::option::Option<
17444 unsafe extern "C" fn(
17445 wrapper: *mut php_stream_wrapper,
17446 url: *const ::std::os::raw::c_char,
17447 mode: ::std::os::raw::c_int,
17448 options: ::std::os::raw::c_int,
17449 context: *mut php_stream_context,
17450 ) -> ::std::os::raw::c_int,
17451 >,
17452 pub stream_rmdir: ::std::option::Option<
17453 unsafe extern "C" fn(
17454 wrapper: *mut php_stream_wrapper,
17455 url: *const ::std::os::raw::c_char,
17456 options: ::std::os::raw::c_int,
17457 context: *mut php_stream_context,
17458 ) -> ::std::os::raw::c_int,
17459 >,
17460 pub stream_metadata: ::std::option::Option<
17461 unsafe extern "C" fn(
17462 wrapper: *mut php_stream_wrapper,
17463 url: *const ::std::os::raw::c_char,
17464 options: ::std::os::raw::c_int,
17465 value: *mut ::std::os::raw::c_void,
17466 context: *mut php_stream_context,
17467 ) -> ::std::os::raw::c_int,
17468 >,
17469}
17470#[test]
17471fn bindgen_test_layout__php_stream_wrapper_ops() {
17472 assert_eq!(
17473 ::std::mem::size_of::<_php_stream_wrapper_ops>(),
17474 88usize,
17475 concat!("Size of: ", stringify!(_php_stream_wrapper_ops))
17476 );
17477 assert_eq!(
17478 ::std::mem::align_of::<_php_stream_wrapper_ops>(),
17479 8usize,
17480 concat!("Alignment of ", stringify!(_php_stream_wrapper_ops))
17481 );
17482 assert_eq!(
17483 unsafe {
17484 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_opener as *const _ as usize
17485 },
17486 0usize,
17487 concat!(
17488 "Offset of field: ",
17489 stringify!(_php_stream_wrapper_ops),
17490 "::",
17491 stringify!(stream_opener)
17492 )
17493 );
17494 assert_eq!(
17495 unsafe {
17496 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_closer as *const _ as usize
17497 },
17498 8usize,
17499 concat!(
17500 "Offset of field: ",
17501 stringify!(_php_stream_wrapper_ops),
17502 "::",
17503 stringify!(stream_closer)
17504 )
17505 );
17506 assert_eq!(
17507 unsafe {
17508 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_stat as *const _ as usize
17509 },
17510 16usize,
17511 concat!(
17512 "Offset of field: ",
17513 stringify!(_php_stream_wrapper_ops),
17514 "::",
17515 stringify!(stream_stat)
17516 )
17517 );
17518 assert_eq!(
17519 unsafe {
17520 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).url_stat as *const _ as usize
17521 },
17522 24usize,
17523 concat!(
17524 "Offset of field: ",
17525 stringify!(_php_stream_wrapper_ops),
17526 "::",
17527 stringify!(url_stat)
17528 )
17529 );
17530 assert_eq!(
17531 unsafe {
17532 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).dir_opener as *const _ as usize
17533 },
17534 32usize,
17535 concat!(
17536 "Offset of field: ",
17537 stringify!(_php_stream_wrapper_ops),
17538 "::",
17539 stringify!(dir_opener)
17540 )
17541 );
17542 assert_eq!(
17543 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).label as *const _ as usize },
17544 40usize,
17545 concat!(
17546 "Offset of field: ",
17547 stringify!(_php_stream_wrapper_ops),
17548 "::",
17549 stringify!(label)
17550 )
17551 );
17552 assert_eq!(
17553 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).unlink as *const _ as usize },
17554 48usize,
17555 concat!(
17556 "Offset of field: ",
17557 stringify!(_php_stream_wrapper_ops),
17558 "::",
17559 stringify!(unlink)
17560 )
17561 );
17562 assert_eq!(
17563 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).rename as *const _ as usize },
17564 56usize,
17565 concat!(
17566 "Offset of field: ",
17567 stringify!(_php_stream_wrapper_ops),
17568 "::",
17569 stringify!(rename)
17570 )
17571 );
17572 assert_eq!(
17573 unsafe {
17574 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_mkdir as *const _ as usize
17575 },
17576 64usize,
17577 concat!(
17578 "Offset of field: ",
17579 stringify!(_php_stream_wrapper_ops),
17580 "::",
17581 stringify!(stream_mkdir)
17582 )
17583 );
17584 assert_eq!(
17585 unsafe {
17586 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_rmdir as *const _ as usize
17587 },
17588 72usize,
17589 concat!(
17590 "Offset of field: ",
17591 stringify!(_php_stream_wrapper_ops),
17592 "::",
17593 stringify!(stream_rmdir)
17594 )
17595 );
17596 assert_eq!(
17597 unsafe {
17598 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_metadata as *const _ as usize
17599 },
17600 80usize,
17601 concat!(
17602 "Offset of field: ",
17603 stringify!(_php_stream_wrapper_ops),
17604 "::",
17605 stringify!(stream_metadata)
17606 )
17607 );
17608}
17609pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
17610#[repr(C)]
17611#[derive(Debug, Copy, Clone)]
17612pub struct _php_stream_wrapper {
17613 pub wops: *mut php_stream_wrapper_ops,
17614 pub abstract_: *mut ::std::os::raw::c_void,
17615 pub is_url: ::std::os::raw::c_int,
17616}
17617#[test]
17618fn bindgen_test_layout__php_stream_wrapper() {
17619 assert_eq!(
17620 ::std::mem::size_of::<_php_stream_wrapper>(),
17621 24usize,
17622 concat!("Size of: ", stringify!(_php_stream_wrapper))
17623 );
17624 assert_eq!(
17625 ::std::mem::align_of::<_php_stream_wrapper>(),
17626 8usize,
17627 concat!("Alignment of ", stringify!(_php_stream_wrapper))
17628 );
17629 assert_eq!(
17630 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).wops as *const _ as usize },
17631 0usize,
17632 concat!(
17633 "Offset of field: ",
17634 stringify!(_php_stream_wrapper),
17635 "::",
17636 stringify!(wops)
17637 )
17638 );
17639 assert_eq!(
17640 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).abstract_ as *const _ as usize },
17641 8usize,
17642 concat!(
17643 "Offset of field: ",
17644 stringify!(_php_stream_wrapper),
17645 "::",
17646 stringify!(abstract_)
17647 )
17648 );
17649 assert_eq!(
17650 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).is_url as *const _ as usize },
17651 16usize,
17652 concat!(
17653 "Offset of field: ",
17654 stringify!(_php_stream_wrapper),
17655 "::",
17656 stringify!(is_url)
17657 )
17658 );
17659}
17660#[repr(C)]
17661#[derive(Copy, Clone)]
17662pub struct _php_stream {
17663 pub ops: *mut php_stream_ops,
17664 pub abstract_: *mut ::std::os::raw::c_void,
17665 pub readfilters: php_stream_filter_chain,
17666 pub writefilters: php_stream_filter_chain,
17667 pub wrapper: *mut php_stream_wrapper,
17668 pub wrapperthis: *mut ::std::os::raw::c_void,
17669 pub wrapperdata: zval,
17670 pub fgetss_state: ::std::os::raw::c_int,
17671 pub is_persistent: ::std::os::raw::c_int,
17672 pub mode: [::std::os::raw::c_char; 16usize],
17673 pub res: *mut zend_resource,
17674 pub in_free: ::std::os::raw::c_int,
17675 pub fclose_stdiocast: ::std::os::raw::c_int,
17676 pub stdiocast: *mut FILE,
17677 pub __exposed: ::std::os::raw::c_int,
17678 pub orig_path: *mut ::std::os::raw::c_char,
17679 pub ctx: *mut zend_resource,
17680 pub flags: ::std::os::raw::c_int,
17681 pub eof: ::std::os::raw::c_int,
17682 pub position: zend_off_t,
17683 pub readbuf: *mut ::std::os::raw::c_uchar,
17684 pub readbuflen: size_t,
17685 pub readpos: zend_off_t,
17686 pub writepos: zend_off_t,
17687 pub chunk_size: size_t,
17688 pub enclosing_stream: *mut _php_stream,
17689}
17690#[test]
17691fn bindgen_test_layout__php_stream() {
17692 assert_eq!(
17693 ::std::mem::size_of::<_php_stream>(),
17694 232usize,
17695 concat!("Size of: ", stringify!(_php_stream))
17696 );
17697 assert_eq!(
17698 ::std::mem::align_of::<_php_stream>(),
17699 8usize,
17700 concat!("Alignment of ", stringify!(_php_stream))
17701 );
17702 assert_eq!(
17703 unsafe { &(*(::std::ptr::null::<_php_stream>())).ops as *const _ as usize },
17704 0usize,
17705 concat!(
17706 "Offset of field: ",
17707 stringify!(_php_stream),
17708 "::",
17709 stringify!(ops)
17710 )
17711 );
17712 assert_eq!(
17713 unsafe { &(*(::std::ptr::null::<_php_stream>())).abstract_ as *const _ as usize },
17714 8usize,
17715 concat!(
17716 "Offset of field: ",
17717 stringify!(_php_stream),
17718 "::",
17719 stringify!(abstract_)
17720 )
17721 );
17722 assert_eq!(
17723 unsafe { &(*(::std::ptr::null::<_php_stream>())).readfilters as *const _ as usize },
17724 16usize,
17725 concat!(
17726 "Offset of field: ",
17727 stringify!(_php_stream),
17728 "::",
17729 stringify!(readfilters)
17730 )
17731 );
17732 assert_eq!(
17733 unsafe { &(*(::std::ptr::null::<_php_stream>())).writefilters as *const _ as usize },
17734 40usize,
17735 concat!(
17736 "Offset of field: ",
17737 stringify!(_php_stream),
17738 "::",
17739 stringify!(writefilters)
17740 )
17741 );
17742 assert_eq!(
17743 unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapper as *const _ as usize },
17744 64usize,
17745 concat!(
17746 "Offset of field: ",
17747 stringify!(_php_stream),
17748 "::",
17749 stringify!(wrapper)
17750 )
17751 );
17752 assert_eq!(
17753 unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapperthis as *const _ as usize },
17754 72usize,
17755 concat!(
17756 "Offset of field: ",
17757 stringify!(_php_stream),
17758 "::",
17759 stringify!(wrapperthis)
17760 )
17761 );
17762 assert_eq!(
17763 unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapperdata as *const _ as usize },
17764 80usize,
17765 concat!(
17766 "Offset of field: ",
17767 stringify!(_php_stream),
17768 "::",
17769 stringify!(wrapperdata)
17770 )
17771 );
17772 assert_eq!(
17773 unsafe { &(*(::std::ptr::null::<_php_stream>())).fgetss_state as *const _ as usize },
17774 96usize,
17775 concat!(
17776 "Offset of field: ",
17777 stringify!(_php_stream),
17778 "::",
17779 stringify!(fgetss_state)
17780 )
17781 );
17782 assert_eq!(
17783 unsafe { &(*(::std::ptr::null::<_php_stream>())).is_persistent as *const _ as usize },
17784 100usize,
17785 concat!(
17786 "Offset of field: ",
17787 stringify!(_php_stream),
17788 "::",
17789 stringify!(is_persistent)
17790 )
17791 );
17792 assert_eq!(
17793 unsafe { &(*(::std::ptr::null::<_php_stream>())).mode as *const _ as usize },
17794 104usize,
17795 concat!(
17796 "Offset of field: ",
17797 stringify!(_php_stream),
17798 "::",
17799 stringify!(mode)
17800 )
17801 );
17802 assert_eq!(
17803 unsafe { &(*(::std::ptr::null::<_php_stream>())).res as *const _ as usize },
17804 120usize,
17805 concat!(
17806 "Offset of field: ",
17807 stringify!(_php_stream),
17808 "::",
17809 stringify!(res)
17810 )
17811 );
17812 assert_eq!(
17813 unsafe { &(*(::std::ptr::null::<_php_stream>())).in_free as *const _ as usize },
17814 128usize,
17815 concat!(
17816 "Offset of field: ",
17817 stringify!(_php_stream),
17818 "::",
17819 stringify!(in_free)
17820 )
17821 );
17822 assert_eq!(
17823 unsafe { &(*(::std::ptr::null::<_php_stream>())).fclose_stdiocast as *const _ as usize },
17824 132usize,
17825 concat!(
17826 "Offset of field: ",
17827 stringify!(_php_stream),
17828 "::",
17829 stringify!(fclose_stdiocast)
17830 )
17831 );
17832 assert_eq!(
17833 unsafe { &(*(::std::ptr::null::<_php_stream>())).stdiocast as *const _ as usize },
17834 136usize,
17835 concat!(
17836 "Offset of field: ",
17837 stringify!(_php_stream),
17838 "::",
17839 stringify!(stdiocast)
17840 )
17841 );
17842 assert_eq!(
17843 unsafe { &(*(::std::ptr::null::<_php_stream>())).__exposed as *const _ as usize },
17844 144usize,
17845 concat!(
17846 "Offset of field: ",
17847 stringify!(_php_stream),
17848 "::",
17849 stringify!(__exposed)
17850 )
17851 );
17852 assert_eq!(
17853 unsafe { &(*(::std::ptr::null::<_php_stream>())).orig_path as *const _ as usize },
17854 152usize,
17855 concat!(
17856 "Offset of field: ",
17857 stringify!(_php_stream),
17858 "::",
17859 stringify!(orig_path)
17860 )
17861 );
17862 assert_eq!(
17863 unsafe { &(*(::std::ptr::null::<_php_stream>())).ctx as *const _ as usize },
17864 160usize,
17865 concat!(
17866 "Offset of field: ",
17867 stringify!(_php_stream),
17868 "::",
17869 stringify!(ctx)
17870 )
17871 );
17872 assert_eq!(
17873 unsafe { &(*(::std::ptr::null::<_php_stream>())).flags as *const _ as usize },
17874 168usize,
17875 concat!(
17876 "Offset of field: ",
17877 stringify!(_php_stream),
17878 "::",
17879 stringify!(flags)
17880 )
17881 );
17882 assert_eq!(
17883 unsafe { &(*(::std::ptr::null::<_php_stream>())).eof as *const _ as usize },
17884 172usize,
17885 concat!(
17886 "Offset of field: ",
17887 stringify!(_php_stream),
17888 "::",
17889 stringify!(eof)
17890 )
17891 );
17892 assert_eq!(
17893 unsafe { &(*(::std::ptr::null::<_php_stream>())).position as *const _ as usize },
17894 176usize,
17895 concat!(
17896 "Offset of field: ",
17897 stringify!(_php_stream),
17898 "::",
17899 stringify!(position)
17900 )
17901 );
17902 assert_eq!(
17903 unsafe { &(*(::std::ptr::null::<_php_stream>())).readbuf as *const _ as usize },
17904 184usize,
17905 concat!(
17906 "Offset of field: ",
17907 stringify!(_php_stream),
17908 "::",
17909 stringify!(readbuf)
17910 )
17911 );
17912 assert_eq!(
17913 unsafe { &(*(::std::ptr::null::<_php_stream>())).readbuflen as *const _ as usize },
17914 192usize,
17915 concat!(
17916 "Offset of field: ",
17917 stringify!(_php_stream),
17918 "::",
17919 stringify!(readbuflen)
17920 )
17921 );
17922 assert_eq!(
17923 unsafe { &(*(::std::ptr::null::<_php_stream>())).readpos as *const _ as usize },
17924 200usize,
17925 concat!(
17926 "Offset of field: ",
17927 stringify!(_php_stream),
17928 "::",
17929 stringify!(readpos)
17930 )
17931 );
17932 assert_eq!(
17933 unsafe { &(*(::std::ptr::null::<_php_stream>())).writepos as *const _ as usize },
17934 208usize,
17935 concat!(
17936 "Offset of field: ",
17937 stringify!(_php_stream),
17938 "::",
17939 stringify!(writepos)
17940 )
17941 );
17942 assert_eq!(
17943 unsafe { &(*(::std::ptr::null::<_php_stream>())).chunk_size as *const _ as usize },
17944 216usize,
17945 concat!(
17946 "Offset of field: ",
17947 stringify!(_php_stream),
17948 "::",
17949 stringify!(chunk_size)
17950 )
17951 );
17952 assert_eq!(
17953 unsafe { &(*(::std::ptr::null::<_php_stream>())).enclosing_stream as *const _ as usize },
17954 224usize,
17955 concat!(
17956 "Offset of field: ",
17957 stringify!(_php_stream),
17958 "::",
17959 stringify!(enclosing_stream)
17960 )
17961 );
17962}
17963extern "C" {
17964 pub fn php_stream_encloses(
17965 enclosing: *mut php_stream,
17966 enclosed: *mut php_stream,
17967 ) -> *mut php_stream;
17968}
17969extern "C" {
17970 pub fn php_stream_from_persistent_id(
17971 persistent_id: *const ::std::os::raw::c_char,
17972 stream: *mut *mut php_stream,
17973 ) -> ::std::os::raw::c_int;
17974}
17975extern "C" {
17976 pub fn php_stream_get_record(
17977 stream: *mut php_stream,
17978 maxlen: size_t,
17979 delim: *const ::std::os::raw::c_char,
17980 delim_len: size_t,
17981 ) -> *mut zend_string;
17982}
17983extern "C" {
17984 pub fn php_stream_dirent_alphasort(
17985 a: *mut *const zend_string,
17986 b: *mut *const zend_string,
17987 ) -> ::std::os::raw::c_int;
17988}
17989extern "C" {
17990 pub fn php_stream_dirent_alphasortr(
17991 a: *mut *const zend_string,
17992 b: *mut *const zend_string,
17993 ) -> ::std::os::raw::c_int;
17994}
17995pub type php_stream_transport_factory_func = ::std::option::Option<
17996 unsafe extern "C" fn(
17997 proto: *const ::std::os::raw::c_char,
17998 protolen: size_t,
17999 resourcename: *const ::std::os::raw::c_char,
18000 resourcenamelen: size_t,
18001 persistent_id: *const ::std::os::raw::c_char,
18002 options: ::std::os::raw::c_int,
18003 flags: ::std::os::raw::c_int,
18004 timeout: *mut timeval,
18005 context: *mut php_stream_context,
18006 ) -> *mut php_stream,
18007>;
18008pub type php_stream_transport_factory = php_stream_transport_factory_func;
18009extern "C" {
18010 pub fn php_stream_xport_register(
18011 protocol: *const ::std::os::raw::c_char,
18012 factory: php_stream_transport_factory,
18013 ) -> ::std::os::raw::c_int;
18014}
18015extern "C" {
18016 pub fn php_stream_xport_unregister(
18017 protocol: *const ::std::os::raw::c_char,
18018 ) -> ::std::os::raw::c_int;
18019}
18020extern "C" {
18021 pub fn php_stream_xport_bind(
18022 stream: *mut php_stream,
18023 name: *const ::std::os::raw::c_char,
18024 namelen: size_t,
18025 error_text: *mut *mut zend_string,
18026 ) -> ::std::os::raw::c_int;
18027}
18028extern "C" {
18029 pub fn php_stream_xport_connect(
18030 stream: *mut php_stream,
18031 name: *const ::std::os::raw::c_char,
18032 namelen: size_t,
18033 asynchronous: ::std::os::raw::c_int,
18034 timeout: *mut timeval,
18035 error_text: *mut *mut zend_string,
18036 error_code: *mut ::std::os::raw::c_int,
18037 ) -> ::std::os::raw::c_int;
18038}
18039extern "C" {
18040 pub fn php_stream_xport_listen(
18041 stream: *mut php_stream,
18042 backlog: ::std::os::raw::c_int,
18043 error_text: *mut *mut zend_string,
18044 ) -> ::std::os::raw::c_int;
18045}
18046extern "C" {
18047 pub fn php_stream_xport_accept(
18048 stream: *mut php_stream,
18049 client: *mut *mut php_stream,
18050 textaddr: *mut *mut zend_string,
18051 addr: *mut *mut ::std::os::raw::c_void,
18052 addrlen: *mut socklen_t,
18053 timeout: *mut timeval,
18054 error_text: *mut *mut zend_string,
18055 ) -> ::std::os::raw::c_int;
18056}
18057extern "C" {
18058 pub fn php_stream_xport_get_name(
18059 stream: *mut php_stream,
18060 want_peer: ::std::os::raw::c_int,
18061 textaddr: *mut *mut zend_string,
18062 addr: *mut *mut ::std::os::raw::c_void,
18063 addrlen: *mut socklen_t,
18064 ) -> ::std::os::raw::c_int;
18065}
18066extern "C" {
18067 pub fn php_stream_xport_recvfrom(
18068 stream: *mut php_stream,
18069 buf: *mut ::std::os::raw::c_char,
18070 buflen: size_t,
18071 flags: ::std::os::raw::c_int,
18072 addr: *mut *mut ::std::os::raw::c_void,
18073 addrlen: *mut socklen_t,
18074 textaddr: *mut *mut zend_string,
18075 ) -> ::std::os::raw::c_int;
18076}
18077extern "C" {
18078 pub fn php_stream_xport_sendto(
18079 stream: *mut php_stream,
18080 buf: *const ::std::os::raw::c_char,
18081 buflen: size_t,
18082 flags: ::std::os::raw::c_int,
18083 addr: *mut ::std::os::raw::c_void,
18084 addrlen: socklen_t,
18085 ) -> ::std::os::raw::c_int;
18086}
18087pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
18088pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
18089pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
18090pub type stream_shutdown_t = ::std::os::raw::c_uint;
18091extern "C" {
18092 pub fn php_stream_xport_shutdown(
18093 stream: *mut php_stream,
18094 how: stream_shutdown_t,
18095 ) -> ::std::os::raw::c_int;
18096}
18097pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
18098 php_stream_xport_crypt_method_t = 3;
18099pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
18100 php_stream_xport_crypt_method_t = 5;
18101pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
18102 php_stream_xport_crypt_method_t = 57;
18103pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
18104 php_stream_xport_crypt_method_t = 9;
18105pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
18106 php_stream_xport_crypt_method_t = 17;
18107pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
18108 php_stream_xport_crypt_method_t = 33;
18109pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
18110 php_stream_xport_crypt_method_t = 9;
18111pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
18112 php_stream_xport_crypt_method_t = 57;
18113pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
18114 php_stream_xport_crypt_method_t = 63;
18115pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
18116 php_stream_xport_crypt_method_t = 2;
18117pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
18118 php_stream_xport_crypt_method_t = 4;
18119pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
18120 php_stream_xport_crypt_method_t = 56;
18121pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
18122 php_stream_xport_crypt_method_t = 8;
18123pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
18124 php_stream_xport_crypt_method_t = 16;
18125pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
18126 php_stream_xport_crypt_method_t = 32;
18127pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
18128 php_stream_xport_crypt_method_t = 8;
18129pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
18130 php_stream_xport_crypt_method_t = 56;
18131pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
18132 php_stream_xport_crypt_method_t = 62;
18133pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
18134extern "C" {
18135 pub fn php_stream_xport_crypto_setup(
18136 stream: *mut php_stream,
18137 crypto_method: php_stream_xport_crypt_method_t,
18138 session_stream: *mut php_stream,
18139 ) -> ::std::os::raw::c_int;
18140}
18141extern "C" {
18142 pub fn php_stream_xport_crypto_enable(
18143 stream: *mut php_stream,
18144 activate: ::std::os::raw::c_int,
18145 ) -> ::std::os::raw::c_int;
18146}
18147extern "C" {
18148 pub fn php_stream_xport_get_hash() -> *mut HashTable;
18149}
18150extern "C" {
18151 pub fn php_stream_generic_socket_factory(
18152 proto: *const ::std::os::raw::c_char,
18153 protolen: size_t,
18154 resourcename: *const ::std::os::raw::c_char,
18155 resourcenamelen: size_t,
18156 persistent_id: *const ::std::os::raw::c_char,
18157 options: ::std::os::raw::c_int,
18158 flags: ::std::os::raw::c_int,
18159 timeout: *mut timeval,
18160 context: *mut php_stream_context,
18161 ) -> *mut php_stream;
18162}
18163extern "C" {
18164 pub static mut php_stream_stdio_ops: php_stream_ops;
18165}
18166extern "C" {
18167 pub static mut php_plain_files_wrapper: php_stream_wrapper;
18168}
18169extern "C" {
18170 pub static mut php_glob_stream_wrapper: php_stream_wrapper;
18171}
18172extern "C" {
18173 pub static mut php_glob_stream_ops: php_stream_ops;
18174}
18175extern "C" {
18176 pub static mut php_stream_userspace_ops: php_stream_ops;
18177}
18178extern "C" {
18179 pub static mut php_stream_userspace_dir_ops: php_stream_ops;
18180}
18181extern "C" {
18182 pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
18183}
18184extern "C" {
18185 pub fn php_shutdown_stream_wrappers(
18186 module_number: ::std::os::raw::c_int,
18187 ) -> ::std::os::raw::c_int;
18188}
18189extern "C" {
18190 pub fn php_shutdown_stream_hashes();
18191}
18192extern "C" {
18193 pub fn php_register_url_stream_wrapper(
18194 protocol: *const ::std::os::raw::c_char,
18195 wrapper: *mut php_stream_wrapper,
18196 ) -> ::std::os::raw::c_int;
18197}
18198extern "C" {
18199 pub fn php_unregister_url_stream_wrapper(
18200 protocol: *const ::std::os::raw::c_char,
18201 ) -> ::std::os::raw::c_int;
18202}
18203extern "C" {
18204 pub fn php_register_url_stream_wrapper_volatile(
18205 protocol: *const ::std::os::raw::c_char,
18206 wrapper: *mut php_stream_wrapper,
18207 ) -> ::std::os::raw::c_int;
18208}
18209extern "C" {
18210 pub fn php_unregister_url_stream_wrapper_volatile(
18211 protocol: *const ::std::os::raw::c_char,
18212 ) -> ::std::os::raw::c_int;
18213}
18214extern "C" {
18215 pub fn php_stream_locate_url_wrapper(
18216 path: *const ::std::os::raw::c_char,
18217 path_for_open: *mut *const ::std::os::raw::c_char,
18218 options: ::std::os::raw::c_int,
18219 ) -> *mut php_stream_wrapper;
18220}
18221extern "C" {
18222 pub fn php_stream_locate_eol(
18223 stream: *mut php_stream,
18224 buf: *mut zend_string,
18225 ) -> *const ::std::os::raw::c_char;
18226}
18227extern "C" {
18228 pub fn php_stream_wrapper_log_error(
18229 wrapper: *mut php_stream_wrapper,
18230 options: ::std::os::raw::c_int,
18231 fmt: *const ::std::os::raw::c_char,
18232 ...
18233 );
18234}
18235extern "C" {
18236 pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
18237}
18238extern "C" {
18239 pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
18240}
18241extern "C" {
18242 pub static mut php_stream_user_wrapper_ops: *mut php_stream_wrapper_ops;
18243}
18244extern "C" {
18245 pub static mut php_stream_memory_ops: php_stream_ops;
18246}
18247extern "C" {
18248 pub static mut php_stream_temp_ops: php_stream_ops;
18249}
18250extern "C" {
18251 pub static mut php_stream_rfc2397_ops: php_stream_ops;
18252}
18253extern "C" {
18254 pub static mut php_stream_rfc2397_wrapper: php_stream_wrapper;
18255}
18256#[repr(C)]
18257#[derive(Copy, Clone)]
18258pub struct _php_core_globals {
18259 pub implicit_flush: zend_bool,
18260 pub output_buffering: zend_long,
18261 pub sql_safe_mode: zend_bool,
18262 pub enable_dl: zend_bool,
18263 pub output_handler: *mut ::std::os::raw::c_char,
18264 pub unserialize_callback_func: *mut ::std::os::raw::c_char,
18265 pub serialize_precision: zend_long,
18266 pub memory_limit: zend_long,
18267 pub max_input_time: zend_long,
18268 pub track_errors: zend_bool,
18269 pub display_errors: zend_bool,
18270 pub display_startup_errors: zend_bool,
18271 pub log_errors: zend_bool,
18272 pub log_errors_max_len: zend_long,
18273 pub ignore_repeated_errors: zend_bool,
18274 pub ignore_repeated_source: zend_bool,
18275 pub report_memleaks: zend_bool,
18276 pub error_log: *mut ::std::os::raw::c_char,
18277 pub doc_root: *mut ::std::os::raw::c_char,
18278 pub user_dir: *mut ::std::os::raw::c_char,
18279 pub include_path: *mut ::std::os::raw::c_char,
18280 pub open_basedir: *mut ::std::os::raw::c_char,
18281 pub extension_dir: *mut ::std::os::raw::c_char,
18282 pub php_binary: *mut ::std::os::raw::c_char,
18283 pub sys_temp_dir: *mut ::std::os::raw::c_char,
18284 pub upload_tmp_dir: *mut ::std::os::raw::c_char,
18285 pub upload_max_filesize: zend_long,
18286 pub error_append_string: *mut ::std::os::raw::c_char,
18287 pub error_prepend_string: *mut ::std::os::raw::c_char,
18288 pub auto_prepend_file: *mut ::std::os::raw::c_char,
18289 pub auto_append_file: *mut ::std::os::raw::c_char,
18290 pub input_encoding: *mut ::std::os::raw::c_char,
18291 pub internal_encoding: *mut ::std::os::raw::c_char,
18292 pub output_encoding: *mut ::std::os::raw::c_char,
18293 pub arg_separator: arg_separators,
18294 pub variables_order: *mut ::std::os::raw::c_char,
18295 pub rfc1867_protected_variables: HashTable,
18296 pub connection_status: ::std::os::raw::c_short,
18297 pub ignore_user_abort: zend_bool,
18298 pub ignore_user_abort_reserved_padding: ::std::os::raw::c_char,
18299 pub header_is_being_sent: ::std::os::raw::c_uchar,
18300 pub tick_functions: zend_llist,
18301 pub http_globals: [zval; 6usize],
18302 pub expose_php: zend_bool,
18303 pub register_argc_argv: zend_bool,
18304 pub auto_globals_jit: zend_bool,
18305 pub docref_root: *mut ::std::os::raw::c_char,
18306 pub docref_ext: *mut ::std::os::raw::c_char,
18307 pub html_errors: zend_bool,
18308 pub xmlrpc_errors: zend_bool,
18309 pub xmlrpc_error_number: zend_long,
18310 pub activated_auto_globals: [zend_bool; 8usize],
18311 pub modules_activated: zend_bool,
18312 pub file_uploads: zend_bool,
18313 pub during_request_startup: zend_bool,
18314 pub allow_url_fopen: zend_bool,
18315 pub enable_post_data_reading: zend_bool,
18316 pub report_zend_debug: zend_bool,
18317 pub last_error_type: ::std::os::raw::c_int,
18318 pub last_error_message: *mut ::std::os::raw::c_char,
18319 pub last_error_file: *mut ::std::os::raw::c_char,
18320 pub last_error_lineno: ::std::os::raw::c_int,
18321 pub php_sys_temp_dir: *mut ::std::os::raw::c_char,
18322 pub disable_functions: *mut ::std::os::raw::c_char,
18323 pub disable_classes: *mut ::std::os::raw::c_char,
18324 pub allow_url_include: zend_bool,
18325 pub max_input_nesting_level: zend_long,
18326 pub max_input_vars: zend_long,
18327 pub in_user_include: zend_bool,
18328 pub user_ini_filename: *mut ::std::os::raw::c_char,
18329 pub user_ini_cache_ttl: zend_long,
18330 pub request_order: *mut ::std::os::raw::c_char,
18331 pub mail_x_header: zend_bool,
18332 pub mail_log: *mut ::std::os::raw::c_char,
18333 pub in_error_log: zend_bool,
18334}
18335#[test]
18336fn bindgen_test_layout__php_core_globals() {
18337 assert_eq!(
18338 ::std::mem::size_of::<_php_core_globals>(),
18339 656usize,
18340 concat!("Size of: ", stringify!(_php_core_globals))
18341 );
18342 assert_eq!(
18343 ::std::mem::align_of::<_php_core_globals>(),
18344 8usize,
18345 concat!("Alignment of ", stringify!(_php_core_globals))
18346 );
18347 assert_eq!(
18348 unsafe {
18349 &(*(::std::ptr::null::<_php_core_globals>())).implicit_flush as *const _ as usize
18350 },
18351 0usize,
18352 concat!(
18353 "Offset of field: ",
18354 stringify!(_php_core_globals),
18355 "::",
18356 stringify!(implicit_flush)
18357 )
18358 );
18359 assert_eq!(
18360 unsafe {
18361 &(*(::std::ptr::null::<_php_core_globals>())).output_buffering as *const _ as usize
18362 },
18363 8usize,
18364 concat!(
18365 "Offset of field: ",
18366 stringify!(_php_core_globals),
18367 "::",
18368 stringify!(output_buffering)
18369 )
18370 );
18371 assert_eq!(
18372 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).sql_safe_mode as *const _ as usize },
18373 16usize,
18374 concat!(
18375 "Offset of field: ",
18376 stringify!(_php_core_globals),
18377 "::",
18378 stringify!(sql_safe_mode)
18379 )
18380 );
18381 assert_eq!(
18382 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).enable_dl as *const _ as usize },
18383 17usize,
18384 concat!(
18385 "Offset of field: ",
18386 stringify!(_php_core_globals),
18387 "::",
18388 stringify!(enable_dl)
18389 )
18390 );
18391 assert_eq!(
18392 unsafe {
18393 &(*(::std::ptr::null::<_php_core_globals>())).output_handler as *const _ as usize
18394 },
18395 24usize,
18396 concat!(
18397 "Offset of field: ",
18398 stringify!(_php_core_globals),
18399 "::",
18400 stringify!(output_handler)
18401 )
18402 );
18403 assert_eq!(
18404 unsafe {
18405 &(*(::std::ptr::null::<_php_core_globals>())).unserialize_callback_func as *const _
18406 as usize
18407 },
18408 32usize,
18409 concat!(
18410 "Offset of field: ",
18411 stringify!(_php_core_globals),
18412 "::",
18413 stringify!(unserialize_callback_func)
18414 )
18415 );
18416 assert_eq!(
18417 unsafe {
18418 &(*(::std::ptr::null::<_php_core_globals>())).serialize_precision as *const _ as usize
18419 },
18420 40usize,
18421 concat!(
18422 "Offset of field: ",
18423 stringify!(_php_core_globals),
18424 "::",
18425 stringify!(serialize_precision)
18426 )
18427 );
18428 assert_eq!(
18429 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).memory_limit as *const _ as usize },
18430 48usize,
18431 concat!(
18432 "Offset of field: ",
18433 stringify!(_php_core_globals),
18434 "::",
18435 stringify!(memory_limit)
18436 )
18437 );
18438 assert_eq!(
18439 unsafe {
18440 &(*(::std::ptr::null::<_php_core_globals>())).max_input_time as *const _ as usize
18441 },
18442 56usize,
18443 concat!(
18444 "Offset of field: ",
18445 stringify!(_php_core_globals),
18446 "::",
18447 stringify!(max_input_time)
18448 )
18449 );
18450 assert_eq!(
18451 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).track_errors as *const _ as usize },
18452 64usize,
18453 concat!(
18454 "Offset of field: ",
18455 stringify!(_php_core_globals),
18456 "::",
18457 stringify!(track_errors)
18458 )
18459 );
18460 assert_eq!(
18461 unsafe {
18462 &(*(::std::ptr::null::<_php_core_globals>())).display_errors as *const _ as usize
18463 },
18464 65usize,
18465 concat!(
18466 "Offset of field: ",
18467 stringify!(_php_core_globals),
18468 "::",
18469 stringify!(display_errors)
18470 )
18471 );
18472 assert_eq!(
18473 unsafe {
18474 &(*(::std::ptr::null::<_php_core_globals>())).display_startup_errors as *const _
18475 as usize
18476 },
18477 66usize,
18478 concat!(
18479 "Offset of field: ",
18480 stringify!(_php_core_globals),
18481 "::",
18482 stringify!(display_startup_errors)
18483 )
18484 );
18485 assert_eq!(
18486 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).log_errors as *const _ as usize },
18487 67usize,
18488 concat!(
18489 "Offset of field: ",
18490 stringify!(_php_core_globals),
18491 "::",
18492 stringify!(log_errors)
18493 )
18494 );
18495 assert_eq!(
18496 unsafe {
18497 &(*(::std::ptr::null::<_php_core_globals>())).log_errors_max_len as *const _ as usize
18498 },
18499 72usize,
18500 concat!(
18501 "Offset of field: ",
18502 stringify!(_php_core_globals),
18503 "::",
18504 stringify!(log_errors_max_len)
18505 )
18506 );
18507 assert_eq!(
18508 unsafe {
18509 &(*(::std::ptr::null::<_php_core_globals>())).ignore_repeated_errors as *const _
18510 as usize
18511 },
18512 80usize,
18513 concat!(
18514 "Offset of field: ",
18515 stringify!(_php_core_globals),
18516 "::",
18517 stringify!(ignore_repeated_errors)
18518 )
18519 );
18520 assert_eq!(
18521 unsafe {
18522 &(*(::std::ptr::null::<_php_core_globals>())).ignore_repeated_source as *const _
18523 as usize
18524 },
18525 81usize,
18526 concat!(
18527 "Offset of field: ",
18528 stringify!(_php_core_globals),
18529 "::",
18530 stringify!(ignore_repeated_source)
18531 )
18532 );
18533 assert_eq!(
18534 unsafe {
18535 &(*(::std::ptr::null::<_php_core_globals>())).report_memleaks as *const _ as usize
18536 },
18537 82usize,
18538 concat!(
18539 "Offset of field: ",
18540 stringify!(_php_core_globals),
18541 "::",
18542 stringify!(report_memleaks)
18543 )
18544 );
18545 assert_eq!(
18546 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).error_log as *const _ as usize },
18547 88usize,
18548 concat!(
18549 "Offset of field: ",
18550 stringify!(_php_core_globals),
18551 "::",
18552 stringify!(error_log)
18553 )
18554 );
18555 assert_eq!(
18556 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).doc_root as *const _ as usize },
18557 96usize,
18558 concat!(
18559 "Offset of field: ",
18560 stringify!(_php_core_globals),
18561 "::",
18562 stringify!(doc_root)
18563 )
18564 );
18565 assert_eq!(
18566 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).user_dir as *const _ as usize },
18567 104usize,
18568 concat!(
18569 "Offset of field: ",
18570 stringify!(_php_core_globals),
18571 "::",
18572 stringify!(user_dir)
18573 )
18574 );
18575 assert_eq!(
18576 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).include_path as *const _ as usize },
18577 112usize,
18578 concat!(
18579 "Offset of field: ",
18580 stringify!(_php_core_globals),
18581 "::",
18582 stringify!(include_path)
18583 )
18584 );
18585 assert_eq!(
18586 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).open_basedir as *const _ as usize },
18587 120usize,
18588 concat!(
18589 "Offset of field: ",
18590 stringify!(_php_core_globals),
18591 "::",
18592 stringify!(open_basedir)
18593 )
18594 );
18595 assert_eq!(
18596 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).extension_dir as *const _ as usize },
18597 128usize,
18598 concat!(
18599 "Offset of field: ",
18600 stringify!(_php_core_globals),
18601 "::",
18602 stringify!(extension_dir)
18603 )
18604 );
18605 assert_eq!(
18606 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).php_binary as *const _ as usize },
18607 136usize,
18608 concat!(
18609 "Offset of field: ",
18610 stringify!(_php_core_globals),
18611 "::",
18612 stringify!(php_binary)
18613 )
18614 );
18615 assert_eq!(
18616 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).sys_temp_dir as *const _ as usize },
18617 144usize,
18618 concat!(
18619 "Offset of field: ",
18620 stringify!(_php_core_globals),
18621 "::",
18622 stringify!(sys_temp_dir)
18623 )
18624 );
18625 assert_eq!(
18626 unsafe {
18627 &(*(::std::ptr::null::<_php_core_globals>())).upload_tmp_dir as *const _ as usize
18628 },
18629 152usize,
18630 concat!(
18631 "Offset of field: ",
18632 stringify!(_php_core_globals),
18633 "::",
18634 stringify!(upload_tmp_dir)
18635 )
18636 );
18637 assert_eq!(
18638 unsafe {
18639 &(*(::std::ptr::null::<_php_core_globals>())).upload_max_filesize as *const _ as usize
18640 },
18641 160usize,
18642 concat!(
18643 "Offset of field: ",
18644 stringify!(_php_core_globals),
18645 "::",
18646 stringify!(upload_max_filesize)
18647 )
18648 );
18649 assert_eq!(
18650 unsafe {
18651 &(*(::std::ptr::null::<_php_core_globals>())).error_append_string as *const _ as usize
18652 },
18653 168usize,
18654 concat!(
18655 "Offset of field: ",
18656 stringify!(_php_core_globals),
18657 "::",
18658 stringify!(error_append_string)
18659 )
18660 );
18661 assert_eq!(
18662 unsafe {
18663 &(*(::std::ptr::null::<_php_core_globals>())).error_prepend_string as *const _ as usize
18664 },
18665 176usize,
18666 concat!(
18667 "Offset of field: ",
18668 stringify!(_php_core_globals),
18669 "::",
18670 stringify!(error_prepend_string)
18671 )
18672 );
18673 assert_eq!(
18674 unsafe {
18675 &(*(::std::ptr::null::<_php_core_globals>())).auto_prepend_file as *const _ as usize
18676 },
18677 184usize,
18678 concat!(
18679 "Offset of field: ",
18680 stringify!(_php_core_globals),
18681 "::",
18682 stringify!(auto_prepend_file)
18683 )
18684 );
18685 assert_eq!(
18686 unsafe {
18687 &(*(::std::ptr::null::<_php_core_globals>())).auto_append_file as *const _ as usize
18688 },
18689 192usize,
18690 concat!(
18691 "Offset of field: ",
18692 stringify!(_php_core_globals),
18693 "::",
18694 stringify!(auto_append_file)
18695 )
18696 );
18697 assert_eq!(
18698 unsafe {
18699 &(*(::std::ptr::null::<_php_core_globals>())).input_encoding as *const _ as usize
18700 },
18701 200usize,
18702 concat!(
18703 "Offset of field: ",
18704 stringify!(_php_core_globals),
18705 "::",
18706 stringify!(input_encoding)
18707 )
18708 );
18709 assert_eq!(
18710 unsafe {
18711 &(*(::std::ptr::null::<_php_core_globals>())).internal_encoding as *const _ as usize
18712 },
18713 208usize,
18714 concat!(
18715 "Offset of field: ",
18716 stringify!(_php_core_globals),
18717 "::",
18718 stringify!(internal_encoding)
18719 )
18720 );
18721 assert_eq!(
18722 unsafe {
18723 &(*(::std::ptr::null::<_php_core_globals>())).output_encoding as *const _ as usize
18724 },
18725 216usize,
18726 concat!(
18727 "Offset of field: ",
18728 stringify!(_php_core_globals),
18729 "::",
18730 stringify!(output_encoding)
18731 )
18732 );
18733 assert_eq!(
18734 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).arg_separator as *const _ as usize },
18735 224usize,
18736 concat!(
18737 "Offset of field: ",
18738 stringify!(_php_core_globals),
18739 "::",
18740 stringify!(arg_separator)
18741 )
18742 );
18743 assert_eq!(
18744 unsafe {
18745 &(*(::std::ptr::null::<_php_core_globals>())).variables_order as *const _ as usize
18746 },
18747 240usize,
18748 concat!(
18749 "Offset of field: ",
18750 stringify!(_php_core_globals),
18751 "::",
18752 stringify!(variables_order)
18753 )
18754 );
18755 assert_eq!(
18756 unsafe {
18757 &(*(::std::ptr::null::<_php_core_globals>())).rfc1867_protected_variables as *const _
18758 as usize
18759 },
18760 248usize,
18761 concat!(
18762 "Offset of field: ",
18763 stringify!(_php_core_globals),
18764 "::",
18765 stringify!(rfc1867_protected_variables)
18766 )
18767 );
18768 assert_eq!(
18769 unsafe {
18770 &(*(::std::ptr::null::<_php_core_globals>())).connection_status as *const _ as usize
18771 },
18772 304usize,
18773 concat!(
18774 "Offset of field: ",
18775 stringify!(_php_core_globals),
18776 "::",
18777 stringify!(connection_status)
18778 )
18779 );
18780 assert_eq!(
18781 unsafe {
18782 &(*(::std::ptr::null::<_php_core_globals>())).ignore_user_abort as *const _ as usize
18783 },
18784 306usize,
18785 concat!(
18786 "Offset of field: ",
18787 stringify!(_php_core_globals),
18788 "::",
18789 stringify!(ignore_user_abort)
18790 )
18791 );
18792 assert_eq!(
18793 unsafe {
18794 &(*(::std::ptr::null::<_php_core_globals>())).ignore_user_abort_reserved_padding
18795 as *const _ as usize
18796 },
18797 307usize,
18798 concat!(
18799 "Offset of field: ",
18800 stringify!(_php_core_globals),
18801 "::",
18802 stringify!(ignore_user_abort_reserved_padding)
18803 )
18804 );
18805 assert_eq!(
18806 unsafe {
18807 &(*(::std::ptr::null::<_php_core_globals>())).header_is_being_sent as *const _ as usize
18808 },
18809 308usize,
18810 concat!(
18811 "Offset of field: ",
18812 stringify!(_php_core_globals),
18813 "::",
18814 stringify!(header_is_being_sent)
18815 )
18816 );
18817 assert_eq!(
18818 unsafe {
18819 &(*(::std::ptr::null::<_php_core_globals>())).tick_functions as *const _ as usize
18820 },
18821 312usize,
18822 concat!(
18823 "Offset of field: ",
18824 stringify!(_php_core_globals),
18825 "::",
18826 stringify!(tick_functions)
18827 )
18828 );
18829 assert_eq!(
18830 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).http_globals as *const _ as usize },
18831 368usize,
18832 concat!(
18833 "Offset of field: ",
18834 stringify!(_php_core_globals),
18835 "::",
18836 stringify!(http_globals)
18837 )
18838 );
18839 assert_eq!(
18840 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).expose_php as *const _ as usize },
18841 464usize,
18842 concat!(
18843 "Offset of field: ",
18844 stringify!(_php_core_globals),
18845 "::",
18846 stringify!(expose_php)
18847 )
18848 );
18849 assert_eq!(
18850 unsafe {
18851 &(*(::std::ptr::null::<_php_core_globals>())).register_argc_argv as *const _ as usize
18852 },
18853 465usize,
18854 concat!(
18855 "Offset of field: ",
18856 stringify!(_php_core_globals),
18857 "::",
18858 stringify!(register_argc_argv)
18859 )
18860 );
18861 assert_eq!(
18862 unsafe {
18863 &(*(::std::ptr::null::<_php_core_globals>())).auto_globals_jit as *const _ as usize
18864 },
18865 466usize,
18866 concat!(
18867 "Offset of field: ",
18868 stringify!(_php_core_globals),
18869 "::",
18870 stringify!(auto_globals_jit)
18871 )
18872 );
18873 assert_eq!(
18874 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).docref_root as *const _ as usize },
18875 472usize,
18876 concat!(
18877 "Offset of field: ",
18878 stringify!(_php_core_globals),
18879 "::",
18880 stringify!(docref_root)
18881 )
18882 );
18883 assert_eq!(
18884 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).docref_ext as *const _ as usize },
18885 480usize,
18886 concat!(
18887 "Offset of field: ",
18888 stringify!(_php_core_globals),
18889 "::",
18890 stringify!(docref_ext)
18891 )
18892 );
18893 assert_eq!(
18894 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).html_errors as *const _ as usize },
18895 488usize,
18896 concat!(
18897 "Offset of field: ",
18898 stringify!(_php_core_globals),
18899 "::",
18900 stringify!(html_errors)
18901 )
18902 );
18903 assert_eq!(
18904 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).xmlrpc_errors as *const _ as usize },
18905 489usize,
18906 concat!(
18907 "Offset of field: ",
18908 stringify!(_php_core_globals),
18909 "::",
18910 stringify!(xmlrpc_errors)
18911 )
18912 );
18913 assert_eq!(
18914 unsafe {
18915 &(*(::std::ptr::null::<_php_core_globals>())).xmlrpc_error_number as *const _ as usize
18916 },
18917 496usize,
18918 concat!(
18919 "Offset of field: ",
18920 stringify!(_php_core_globals),
18921 "::",
18922 stringify!(xmlrpc_error_number)
18923 )
18924 );
18925 assert_eq!(
18926 unsafe {
18927 &(*(::std::ptr::null::<_php_core_globals>())).activated_auto_globals as *const _
18928 as usize
18929 },
18930 504usize,
18931 concat!(
18932 "Offset of field: ",
18933 stringify!(_php_core_globals),
18934 "::",
18935 stringify!(activated_auto_globals)
18936 )
18937 );
18938 assert_eq!(
18939 unsafe {
18940 &(*(::std::ptr::null::<_php_core_globals>())).modules_activated as *const _ as usize
18941 },
18942 512usize,
18943 concat!(
18944 "Offset of field: ",
18945 stringify!(_php_core_globals),
18946 "::",
18947 stringify!(modules_activated)
18948 )
18949 );
18950 assert_eq!(
18951 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).file_uploads as *const _ as usize },
18952 513usize,
18953 concat!(
18954 "Offset of field: ",
18955 stringify!(_php_core_globals),
18956 "::",
18957 stringify!(file_uploads)
18958 )
18959 );
18960 assert_eq!(
18961 unsafe {
18962 &(*(::std::ptr::null::<_php_core_globals>())).during_request_startup as *const _
18963 as usize
18964 },
18965 514usize,
18966 concat!(
18967 "Offset of field: ",
18968 stringify!(_php_core_globals),
18969 "::",
18970 stringify!(during_request_startup)
18971 )
18972 );
18973 assert_eq!(
18974 unsafe {
18975 &(*(::std::ptr::null::<_php_core_globals>())).allow_url_fopen as *const _ as usize
18976 },
18977 515usize,
18978 concat!(
18979 "Offset of field: ",
18980 stringify!(_php_core_globals),
18981 "::",
18982 stringify!(allow_url_fopen)
18983 )
18984 );
18985 assert_eq!(
18986 unsafe {
18987 &(*(::std::ptr::null::<_php_core_globals>())).enable_post_data_reading as *const _
18988 as usize
18989 },
18990 516usize,
18991 concat!(
18992 "Offset of field: ",
18993 stringify!(_php_core_globals),
18994 "::",
18995 stringify!(enable_post_data_reading)
18996 )
18997 );
18998 assert_eq!(
18999 unsafe {
19000 &(*(::std::ptr::null::<_php_core_globals>())).report_zend_debug as *const _ as usize
19001 },
19002 517usize,
19003 concat!(
19004 "Offset of field: ",
19005 stringify!(_php_core_globals),
19006 "::",
19007 stringify!(report_zend_debug)
19008 )
19009 );
19010 assert_eq!(
19011 unsafe {
19012 &(*(::std::ptr::null::<_php_core_globals>())).last_error_type as *const _ as usize
19013 },
19014 520usize,
19015 concat!(
19016 "Offset of field: ",
19017 stringify!(_php_core_globals),
19018 "::",
19019 stringify!(last_error_type)
19020 )
19021 );
19022 assert_eq!(
19023 unsafe {
19024 &(*(::std::ptr::null::<_php_core_globals>())).last_error_message as *const _ as usize
19025 },
19026 528usize,
19027 concat!(
19028 "Offset of field: ",
19029 stringify!(_php_core_globals),
19030 "::",
19031 stringify!(last_error_message)
19032 )
19033 );
19034 assert_eq!(
19035 unsafe {
19036 &(*(::std::ptr::null::<_php_core_globals>())).last_error_file as *const _ as usize
19037 },
19038 536usize,
19039 concat!(
19040 "Offset of field: ",
19041 stringify!(_php_core_globals),
19042 "::",
19043 stringify!(last_error_file)
19044 )
19045 );
19046 assert_eq!(
19047 unsafe {
19048 &(*(::std::ptr::null::<_php_core_globals>())).last_error_lineno as *const _ as usize
19049 },
19050 544usize,
19051 concat!(
19052 "Offset of field: ",
19053 stringify!(_php_core_globals),
19054 "::",
19055 stringify!(last_error_lineno)
19056 )
19057 );
19058 assert_eq!(
19059 unsafe {
19060 &(*(::std::ptr::null::<_php_core_globals>())).php_sys_temp_dir as *const _ as usize
19061 },
19062 552usize,
19063 concat!(
19064 "Offset of field: ",
19065 stringify!(_php_core_globals),
19066 "::",
19067 stringify!(php_sys_temp_dir)
19068 )
19069 );
19070 assert_eq!(
19071 unsafe {
19072 &(*(::std::ptr::null::<_php_core_globals>())).disable_functions as *const _ as usize
19073 },
19074 560usize,
19075 concat!(
19076 "Offset of field: ",
19077 stringify!(_php_core_globals),
19078 "::",
19079 stringify!(disable_functions)
19080 )
19081 );
19082 assert_eq!(
19083 unsafe {
19084 &(*(::std::ptr::null::<_php_core_globals>())).disable_classes as *const _ as usize
19085 },
19086 568usize,
19087 concat!(
19088 "Offset of field: ",
19089 stringify!(_php_core_globals),
19090 "::",
19091 stringify!(disable_classes)
19092 )
19093 );
19094 assert_eq!(
19095 unsafe {
19096 &(*(::std::ptr::null::<_php_core_globals>())).allow_url_include as *const _ as usize
19097 },
19098 576usize,
19099 concat!(
19100 "Offset of field: ",
19101 stringify!(_php_core_globals),
19102 "::",
19103 stringify!(allow_url_include)
19104 )
19105 );
19106 assert_eq!(
19107 unsafe {
19108 &(*(::std::ptr::null::<_php_core_globals>())).max_input_nesting_level as *const _
19109 as usize
19110 },
19111 584usize,
19112 concat!(
19113 "Offset of field: ",
19114 stringify!(_php_core_globals),
19115 "::",
19116 stringify!(max_input_nesting_level)
19117 )
19118 );
19119 assert_eq!(
19120 unsafe {
19121 &(*(::std::ptr::null::<_php_core_globals>())).max_input_vars as *const _ as usize
19122 },
19123 592usize,
19124 concat!(
19125 "Offset of field: ",
19126 stringify!(_php_core_globals),
19127 "::",
19128 stringify!(max_input_vars)
19129 )
19130 );
19131 assert_eq!(
19132 unsafe {
19133 &(*(::std::ptr::null::<_php_core_globals>())).in_user_include as *const _ as usize
19134 },
19135 600usize,
19136 concat!(
19137 "Offset of field: ",
19138 stringify!(_php_core_globals),
19139 "::",
19140 stringify!(in_user_include)
19141 )
19142 );
19143 assert_eq!(
19144 unsafe {
19145 &(*(::std::ptr::null::<_php_core_globals>())).user_ini_filename as *const _ as usize
19146 },
19147 608usize,
19148 concat!(
19149 "Offset of field: ",
19150 stringify!(_php_core_globals),
19151 "::",
19152 stringify!(user_ini_filename)
19153 )
19154 );
19155 assert_eq!(
19156 unsafe {
19157 &(*(::std::ptr::null::<_php_core_globals>())).user_ini_cache_ttl as *const _ as usize
19158 },
19159 616usize,
19160 concat!(
19161 "Offset of field: ",
19162 stringify!(_php_core_globals),
19163 "::",
19164 stringify!(user_ini_cache_ttl)
19165 )
19166 );
19167 assert_eq!(
19168 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).request_order as *const _ as usize },
19169 624usize,
19170 concat!(
19171 "Offset of field: ",
19172 stringify!(_php_core_globals),
19173 "::",
19174 stringify!(request_order)
19175 )
19176 );
19177 assert_eq!(
19178 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).mail_x_header as *const _ as usize },
19179 632usize,
19180 concat!(
19181 "Offset of field: ",
19182 stringify!(_php_core_globals),
19183 "::",
19184 stringify!(mail_x_header)
19185 )
19186 );
19187 assert_eq!(
19188 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).mail_log as *const _ as usize },
19189 640usize,
19190 concat!(
19191 "Offset of field: ",
19192 stringify!(_php_core_globals),
19193 "::",
19194 stringify!(mail_log)
19195 )
19196 );
19197 assert_eq!(
19198 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).in_error_log as *const _ as usize },
19199 648usize,
19200 concat!(
19201 "Offset of field: ",
19202 stringify!(_php_core_globals),
19203 "::",
19204 stringify!(in_error_log)
19205 )
19206 );
19207}
19208extern "C" {
19209 pub static mut core_globals: _php_core_globals;
19210}
19211#[repr(C)]
19212#[derive(Debug, Copy, Clone)]
19213pub struct _arg_separators {
19214 pub output: *mut ::std::os::raw::c_char,
19215 pub input: *mut ::std::os::raw::c_char,
19216}
19217#[test]
19218fn bindgen_test_layout__arg_separators() {
19219 assert_eq!(
19220 ::std::mem::size_of::<_arg_separators>(),
19221 16usize,
19222 concat!("Size of: ", stringify!(_arg_separators))
19223 );
19224 assert_eq!(
19225 ::std::mem::align_of::<_arg_separators>(),
19226 8usize,
19227 concat!("Alignment of ", stringify!(_arg_separators))
19228 );
19229 assert_eq!(
19230 unsafe { &(*(::std::ptr::null::<_arg_separators>())).output as *const _ as usize },
19231 0usize,
19232 concat!(
19233 "Offset of field: ",
19234 stringify!(_arg_separators),
19235 "::",
19236 stringify!(output)
19237 )
19238 );
19239 assert_eq!(
19240 unsafe { &(*(::std::ptr::null::<_arg_separators>())).input as *const _ as usize },
19241 8usize,
19242 concat!(
19243 "Offset of field: ",
19244 stringify!(_arg_separators),
19245 "::",
19246 stringify!(input)
19247 )
19248 );
19249}
19250pub type arg_separators = _arg_separators;
19251#[repr(C)]
19252#[derive(Debug, Copy, Clone)]
19253pub struct _zend_ini_entry_def {
19254 pub name: *const ::std::os::raw::c_char,
19255 pub on_modify: ::std::option::Option<
19256 unsafe extern "C" fn(
19257 entry: *mut zend_ini_entry,
19258 new_value: *mut zend_string,
19259 mh_arg1: *mut ::std::os::raw::c_void,
19260 mh_arg2: *mut ::std::os::raw::c_void,
19261 mh_arg3: *mut ::std::os::raw::c_void,
19262 stage: ::std::os::raw::c_int,
19263 ) -> ::std::os::raw::c_int,
19264 >,
19265 pub mh_arg1: *mut ::std::os::raw::c_void,
19266 pub mh_arg2: *mut ::std::os::raw::c_void,
19267 pub mh_arg3: *mut ::std::os::raw::c_void,
19268 pub value: *const ::std::os::raw::c_char,
19269 pub displayer: ::std::option::Option<
19270 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
19271 >,
19272 pub modifiable: ::std::os::raw::c_int,
19273 pub name_length: uint,
19274 pub value_length: uint,
19275}
19276#[test]
19277fn bindgen_test_layout__zend_ini_entry_def() {
19278 assert_eq!(
19279 ::std::mem::size_of::<_zend_ini_entry_def>(),
19280 72usize,
19281 concat!("Size of: ", stringify!(_zend_ini_entry_def))
19282 );
19283 assert_eq!(
19284 ::std::mem::align_of::<_zend_ini_entry_def>(),
19285 8usize,
19286 concat!("Alignment of ", stringify!(_zend_ini_entry_def))
19287 );
19288 assert_eq!(
19289 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).name as *const _ as usize },
19290 0usize,
19291 concat!(
19292 "Offset of field: ",
19293 stringify!(_zend_ini_entry_def),
19294 "::",
19295 stringify!(name)
19296 )
19297 );
19298 assert_eq!(
19299 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).on_modify as *const _ as usize },
19300 8usize,
19301 concat!(
19302 "Offset of field: ",
19303 stringify!(_zend_ini_entry_def),
19304 "::",
19305 stringify!(on_modify)
19306 )
19307 );
19308 assert_eq!(
19309 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).mh_arg1 as *const _ as usize },
19310 16usize,
19311 concat!(
19312 "Offset of field: ",
19313 stringify!(_zend_ini_entry_def),
19314 "::",
19315 stringify!(mh_arg1)
19316 )
19317 );
19318 assert_eq!(
19319 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).mh_arg2 as *const _ as usize },
19320 24usize,
19321 concat!(
19322 "Offset of field: ",
19323 stringify!(_zend_ini_entry_def),
19324 "::",
19325 stringify!(mh_arg2)
19326 )
19327 );
19328 assert_eq!(
19329 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).mh_arg3 as *const _ as usize },
19330 32usize,
19331 concat!(
19332 "Offset of field: ",
19333 stringify!(_zend_ini_entry_def),
19334 "::",
19335 stringify!(mh_arg3)
19336 )
19337 );
19338 assert_eq!(
19339 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).value as *const _ as usize },
19340 40usize,
19341 concat!(
19342 "Offset of field: ",
19343 stringify!(_zend_ini_entry_def),
19344 "::",
19345 stringify!(value)
19346 )
19347 );
19348 assert_eq!(
19349 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).displayer as *const _ as usize },
19350 48usize,
19351 concat!(
19352 "Offset of field: ",
19353 stringify!(_zend_ini_entry_def),
19354 "::",
19355 stringify!(displayer)
19356 )
19357 );
19358 assert_eq!(
19359 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).modifiable as *const _ as usize },
19360 56usize,
19361 concat!(
19362 "Offset of field: ",
19363 stringify!(_zend_ini_entry_def),
19364 "::",
19365 stringify!(modifiable)
19366 )
19367 );
19368 assert_eq!(
19369 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).name_length as *const _ as usize },
19370 60usize,
19371 concat!(
19372 "Offset of field: ",
19373 stringify!(_zend_ini_entry_def),
19374 "::",
19375 stringify!(name_length)
19376 )
19377 );
19378 assert_eq!(
19379 unsafe {
19380 &(*(::std::ptr::null::<_zend_ini_entry_def>())).value_length as *const _ as usize
19381 },
19382 64usize,
19383 concat!(
19384 "Offset of field: ",
19385 stringify!(_zend_ini_entry_def),
19386 "::",
19387 stringify!(value_length)
19388 )
19389 );
19390}
19391pub type zend_ini_entry_def = _zend_ini_entry_def;
19392#[repr(C)]
19393#[derive(Debug, Copy, Clone)]
19394pub struct _zend_ini_entry {
19395 pub name: *mut zend_string,
19396 pub on_modify: ::std::option::Option<
19397 unsafe extern "C" fn(
19398 entry: *mut zend_ini_entry,
19399 new_value: *mut zend_string,
19400 mh_arg1: *mut ::std::os::raw::c_void,
19401 mh_arg2: *mut ::std::os::raw::c_void,
19402 mh_arg3: *mut ::std::os::raw::c_void,
19403 stage: ::std::os::raw::c_int,
19404 ) -> ::std::os::raw::c_int,
19405 >,
19406 pub mh_arg1: *mut ::std::os::raw::c_void,
19407 pub mh_arg2: *mut ::std::os::raw::c_void,
19408 pub mh_arg3: *mut ::std::os::raw::c_void,
19409 pub value: *mut zend_string,
19410 pub orig_value: *mut zend_string,
19411 pub displayer: ::std::option::Option<
19412 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
19413 >,
19414 pub modifiable: ::std::os::raw::c_int,
19415 pub orig_modifiable: ::std::os::raw::c_int,
19416 pub modified: ::std::os::raw::c_int,
19417 pub module_number: ::std::os::raw::c_int,
19418}
19419#[test]
19420fn bindgen_test_layout__zend_ini_entry() {
19421 assert_eq!(
19422 ::std::mem::size_of::<_zend_ini_entry>(),
19423 80usize,
19424 concat!("Size of: ", stringify!(_zend_ini_entry))
19425 );
19426 assert_eq!(
19427 ::std::mem::align_of::<_zend_ini_entry>(),
19428 8usize,
19429 concat!("Alignment of ", stringify!(_zend_ini_entry))
19430 );
19431 assert_eq!(
19432 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).name as *const _ as usize },
19433 0usize,
19434 concat!(
19435 "Offset of field: ",
19436 stringify!(_zend_ini_entry),
19437 "::",
19438 stringify!(name)
19439 )
19440 );
19441 assert_eq!(
19442 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).on_modify as *const _ as usize },
19443 8usize,
19444 concat!(
19445 "Offset of field: ",
19446 stringify!(_zend_ini_entry),
19447 "::",
19448 stringify!(on_modify)
19449 )
19450 );
19451 assert_eq!(
19452 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg1 as *const _ as usize },
19453 16usize,
19454 concat!(
19455 "Offset of field: ",
19456 stringify!(_zend_ini_entry),
19457 "::",
19458 stringify!(mh_arg1)
19459 )
19460 );
19461 assert_eq!(
19462 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg2 as *const _ as usize },
19463 24usize,
19464 concat!(
19465 "Offset of field: ",
19466 stringify!(_zend_ini_entry),
19467 "::",
19468 stringify!(mh_arg2)
19469 )
19470 );
19471 assert_eq!(
19472 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg3 as *const _ as usize },
19473 32usize,
19474 concat!(
19475 "Offset of field: ",
19476 stringify!(_zend_ini_entry),
19477 "::",
19478 stringify!(mh_arg3)
19479 )
19480 );
19481 assert_eq!(
19482 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).value as *const _ as usize },
19483 40usize,
19484 concat!(
19485 "Offset of field: ",
19486 stringify!(_zend_ini_entry),
19487 "::",
19488 stringify!(value)
19489 )
19490 );
19491 assert_eq!(
19492 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).orig_value as *const _ as usize },
19493 48usize,
19494 concat!(
19495 "Offset of field: ",
19496 stringify!(_zend_ini_entry),
19497 "::",
19498 stringify!(orig_value)
19499 )
19500 );
19501 assert_eq!(
19502 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).displayer as *const _ as usize },
19503 56usize,
19504 concat!(
19505 "Offset of field: ",
19506 stringify!(_zend_ini_entry),
19507 "::",
19508 stringify!(displayer)
19509 )
19510 );
19511 assert_eq!(
19512 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).modifiable as *const _ as usize },
19513 64usize,
19514 concat!(
19515 "Offset of field: ",
19516 stringify!(_zend_ini_entry),
19517 "::",
19518 stringify!(modifiable)
19519 )
19520 );
19521 assert_eq!(
19522 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).orig_modifiable as *const _ as usize },
19523 68usize,
19524 concat!(
19525 "Offset of field: ",
19526 stringify!(_zend_ini_entry),
19527 "::",
19528 stringify!(orig_modifiable)
19529 )
19530 );
19531 assert_eq!(
19532 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).modified as *const _ as usize },
19533 72usize,
19534 concat!(
19535 "Offset of field: ",
19536 stringify!(_zend_ini_entry),
19537 "::",
19538 stringify!(modified)
19539 )
19540 );
19541 assert_eq!(
19542 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).module_number as *const _ as usize },
19543 76usize,
19544 concat!(
19545 "Offset of field: ",
19546 stringify!(_zend_ini_entry),
19547 "::",
19548 stringify!(module_number)
19549 )
19550 );
19551}
19552extern "C" {
19553 pub fn zend_ini_startup() -> ::std::os::raw::c_int;
19554}
19555extern "C" {
19556 pub fn zend_ini_shutdown() -> ::std::os::raw::c_int;
19557}
19558extern "C" {
19559 pub fn zend_ini_global_shutdown() -> ::std::os::raw::c_int;
19560}
19561extern "C" {
19562 pub fn zend_ini_deactivate() -> ::std::os::raw::c_int;
19563}
19564extern "C" {
19565 pub fn zend_ini_dtor(ini_directives: *mut HashTable);
19566}
19567extern "C" {
19568 pub fn zend_copy_ini_directives() -> ::std::os::raw::c_int;
19569}
19570extern "C" {
19571 pub fn zend_ini_sort_entries();
19572}
19573extern "C" {
19574 pub fn zend_register_ini_entries(
19575 ini_entry: *const zend_ini_entry_def,
19576 module_number: ::std::os::raw::c_int,
19577 ) -> ::std::os::raw::c_int;
19578}
19579extern "C" {
19580 pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
19581}
19582extern "C" {
19583 pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
19584}
19585extern "C" {
19586 pub fn zend_alter_ini_entry(
19587 name: *mut zend_string,
19588 new_value: *mut zend_string,
19589 modify_type: ::std::os::raw::c_int,
19590 stage: ::std::os::raw::c_int,
19591 ) -> ::std::os::raw::c_int;
19592}
19593extern "C" {
19594 pub fn zend_alter_ini_entry_ex(
19595 name: *mut zend_string,
19596 new_value: *mut zend_string,
19597 modify_type: ::std::os::raw::c_int,
19598 stage: ::std::os::raw::c_int,
19599 force_change: ::std::os::raw::c_int,
19600 ) -> ::std::os::raw::c_int;
19601}
19602extern "C" {
19603 pub fn zend_alter_ini_entry_chars(
19604 name: *mut zend_string,
19605 value: *const ::std::os::raw::c_char,
19606 value_length: size_t,
19607 modify_type: ::std::os::raw::c_int,
19608 stage: ::std::os::raw::c_int,
19609 ) -> ::std::os::raw::c_int;
19610}
19611extern "C" {
19612 pub fn zend_alter_ini_entry_chars_ex(
19613 name: *mut zend_string,
19614 value: *const ::std::os::raw::c_char,
19615 value_length: size_t,
19616 modify_type: ::std::os::raw::c_int,
19617 stage: ::std::os::raw::c_int,
19618 force_change: ::std::os::raw::c_int,
19619 ) -> ::std::os::raw::c_int;
19620}
19621extern "C" {
19622 pub fn zend_restore_ini_entry(
19623 name: *mut zend_string,
19624 stage: ::std::os::raw::c_int,
19625 ) -> ::std::os::raw::c_int;
19626}
19627extern "C" {
19628 pub fn zend_ini_long(
19629 name: *mut ::std::os::raw::c_char,
19630 name_length: uint,
19631 orig: ::std::os::raw::c_int,
19632 ) -> zend_long;
19633}
19634extern "C" {
19635 pub fn zend_ini_double(
19636 name: *mut ::std::os::raw::c_char,
19637 name_length: uint,
19638 orig: ::std::os::raw::c_int,
19639 ) -> f64;
19640}
19641extern "C" {
19642 pub fn zend_ini_string(
19643 name: *mut ::std::os::raw::c_char,
19644 name_length: uint,
19645 orig: ::std::os::raw::c_int,
19646 ) -> *mut ::std::os::raw::c_char;
19647}
19648extern "C" {
19649 pub fn zend_ini_string_ex(
19650 name: *mut ::std::os::raw::c_char,
19651 name_length: uint,
19652 orig: ::std::os::raw::c_int,
19653 exists: *mut zend_bool,
19654 ) -> *mut ::std::os::raw::c_char;
19655}
19656extern "C" {
19657 pub fn zend_ini_register_displayer(
19658 name: *mut ::std::os::raw::c_char,
19659 name_length: uint,
19660 displayer: ::std::option::Option<
19661 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
19662 >,
19663 ) -> ::std::os::raw::c_int;
19664}
19665extern "C" {
19666 pub fn zend_ini_boolean_displayer_cb(
19667 ini_entry: *mut zend_ini_entry,
19668 type_: ::std::os::raw::c_int,
19669 );
19670}
19671extern "C" {
19672 pub fn zend_ini_color_displayer_cb(
19673 ini_entry: *mut zend_ini_entry,
19674 type_: ::std::os::raw::c_int,
19675 );
19676}
19677pub type zend_ini_parser_cb_t = ::std::option::Option<
19678 unsafe extern "C" fn(
19679 arg1: *mut zval,
19680 arg2: *mut zval,
19681 arg3: *mut zval,
19682 callback_type: ::std::os::raw::c_int,
19683 arg: *mut ::std::os::raw::c_void,
19684 ),
19685>;
19686extern "C" {
19687 pub fn zend_parse_ini_file(
19688 fh: *mut zend_file_handle,
19689 unbuffered_errors: zend_bool,
19690 scanner_mode: ::std::os::raw::c_int,
19691 ini_parser_cb: zend_ini_parser_cb_t,
19692 arg: *mut ::std::os::raw::c_void,
19693 ) -> ::std::os::raw::c_int;
19694}
19695extern "C" {
19696 pub fn zend_parse_ini_string(
19697 str_: *mut ::std::os::raw::c_char,
19698 unbuffered_errors: zend_bool,
19699 scanner_mode: ::std::os::raw::c_int,
19700 ini_parser_cb: zend_ini_parser_cb_t,
19701 arg: *mut ::std::os::raw::c_void,
19702 ) -> ::std::os::raw::c_int;
19703}
19704#[repr(C)]
19705#[derive(Debug, Copy, Clone)]
19706pub struct _zend_ini_parser_param {
19707 pub ini_parser_cb: zend_ini_parser_cb_t,
19708 pub arg: *mut ::std::os::raw::c_void,
19709}
19710#[test]
19711fn bindgen_test_layout__zend_ini_parser_param() {
19712 assert_eq!(
19713 ::std::mem::size_of::<_zend_ini_parser_param>(),
19714 16usize,
19715 concat!("Size of: ", stringify!(_zend_ini_parser_param))
19716 );
19717 assert_eq!(
19718 ::std::mem::align_of::<_zend_ini_parser_param>(),
19719 8usize,
19720 concat!("Alignment of ", stringify!(_zend_ini_parser_param))
19721 );
19722 assert_eq!(
19723 unsafe {
19724 &(*(::std::ptr::null::<_zend_ini_parser_param>())).ini_parser_cb as *const _ as usize
19725 },
19726 0usize,
19727 concat!(
19728 "Offset of field: ",
19729 stringify!(_zend_ini_parser_param),
19730 "::",
19731 stringify!(ini_parser_cb)
19732 )
19733 );
19734 assert_eq!(
19735 unsafe { &(*(::std::ptr::null::<_zend_ini_parser_param>())).arg as *const _ as usize },
19736 8usize,
19737 concat!(
19738 "Offset of field: ",
19739 stringify!(_zend_ini_parser_param),
19740 "::",
19741 stringify!(arg)
19742 )
19743 );
19744}
19745pub type zend_ini_parser_param = _zend_ini_parser_param;
19746extern "C" {
19747 pub fn php_init_config() -> ::std::os::raw::c_int;
19748}
19749extern "C" {
19750 pub fn php_shutdown_config() -> ::std::os::raw::c_int;
19751}
19752extern "C" {
19753 pub fn php_ini_register_extensions();
19754}
19755extern "C" {
19756 pub fn php_parse_user_ini_file(
19757 dirname: *const ::std::os::raw::c_char,
19758 ini_filename: *mut ::std::os::raw::c_char,
19759 target_hash: *mut HashTable,
19760 ) -> ::std::os::raw::c_int;
19761}
19762extern "C" {
19763 pub fn php_ini_activate_config(
19764 source_hash: *mut HashTable,
19765 modify_type: ::std::os::raw::c_int,
19766 stage: ::std::os::raw::c_int,
19767 );
19768}
19769extern "C" {
19770 pub fn php_ini_has_per_dir_config() -> ::std::os::raw::c_int;
19771}
19772extern "C" {
19773 pub fn php_ini_has_per_host_config() -> ::std::os::raw::c_int;
19774}
19775extern "C" {
19776 pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: size_t);
19777}
19778extern "C" {
19779 pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: size_t);
19780}
19781extern "C" {
19782 pub fn php_ini_get_configuration_hash() -> *mut HashTable;
19783}
19784extern "C" {
19785 pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
19786}
19787extern "C" {
19788 pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
19789}
19790extern "C" {
19791 pub fn php_check_open_basedir_ex(
19792 path: *const ::std::os::raw::c_char,
19793 warn: ::std::os::raw::c_int,
19794 ) -> ::std::os::raw::c_int;
19795}
19796extern "C" {
19797 pub fn php_check_specific_open_basedir(
19798 basedir: *const ::std::os::raw::c_char,
19799 path: *const ::std::os::raw::c_char,
19800 ) -> ::std::os::raw::c_int;
19801}
19802extern "C" {
19803 pub fn php_check_safe_mode_include_dir(
19804 path: *const ::std::os::raw::c_char,
19805 ) -> ::std::os::raw::c_int;
19806}
19807extern "C" {
19808 pub fn php_resolve_path(
19809 filename: *const ::std::os::raw::c_char,
19810 filename_len: ::std::os::raw::c_int,
19811 path: *const ::std::os::raw::c_char,
19812 ) -> *mut zend_string;
19813}
19814extern "C" {
19815 pub fn php_fopen_with_path(
19816 filename: *const ::std::os::raw::c_char,
19817 mode: *const ::std::os::raw::c_char,
19818 path: *const ::std::os::raw::c_char,
19819 opened_path: *mut *mut zend_string,
19820 ) -> *mut FILE;
19821}
19822extern "C" {
19823 pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
19824}
19825#[repr(C)]
19826#[derive(Debug, Copy, Clone)]
19827pub struct _cwd_state {
19828 pub cwd: *mut ::std::os::raw::c_char,
19829 pub cwd_length: ::std::os::raw::c_int,
19830}
19831#[test]
19832fn bindgen_test_layout__cwd_state() {
19833 assert_eq!(
19834 ::std::mem::size_of::<_cwd_state>(),
19835 16usize,
19836 concat!("Size of: ", stringify!(_cwd_state))
19837 );
19838 assert_eq!(
19839 ::std::mem::align_of::<_cwd_state>(),
19840 8usize,
19841 concat!("Alignment of ", stringify!(_cwd_state))
19842 );
19843 assert_eq!(
19844 unsafe { &(*(::std::ptr::null::<_cwd_state>())).cwd as *const _ as usize },
19845 0usize,
19846 concat!(
19847 "Offset of field: ",
19848 stringify!(_cwd_state),
19849 "::",
19850 stringify!(cwd)
19851 )
19852 );
19853 assert_eq!(
19854 unsafe { &(*(::std::ptr::null::<_cwd_state>())).cwd_length as *const _ as usize },
19855 8usize,
19856 concat!(
19857 "Offset of field: ",
19858 stringify!(_cwd_state),
19859 "::",
19860 stringify!(cwd_length)
19861 )
19862 );
19863}
19864pub type cwd_state = _cwd_state;
19865#[repr(C)]
19866#[derive(Debug, Copy, Clone)]
19867pub struct _realpath_cache_bucket {
19868 pub key: zend_ulong,
19869 pub path: *mut ::std::os::raw::c_char,
19870 pub realpath: *mut ::std::os::raw::c_char,
19871 pub next: *mut _realpath_cache_bucket,
19872 pub expires: time_t,
19873 pub path_len: ::std::os::raw::c_int,
19874 pub realpath_len: ::std::os::raw::c_int,
19875 pub is_dir: ::std::os::raw::c_int,
19876}
19877#[test]
19878fn bindgen_test_layout__realpath_cache_bucket() {
19879 assert_eq!(
19880 ::std::mem::size_of::<_realpath_cache_bucket>(),
19881 56usize,
19882 concat!("Size of: ", stringify!(_realpath_cache_bucket))
19883 );
19884 assert_eq!(
19885 ::std::mem::align_of::<_realpath_cache_bucket>(),
19886 8usize,
19887 concat!("Alignment of ", stringify!(_realpath_cache_bucket))
19888 );
19889 assert_eq!(
19890 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).key as *const _ as usize },
19891 0usize,
19892 concat!(
19893 "Offset of field: ",
19894 stringify!(_realpath_cache_bucket),
19895 "::",
19896 stringify!(key)
19897 )
19898 );
19899 assert_eq!(
19900 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).path as *const _ as usize },
19901 8usize,
19902 concat!(
19903 "Offset of field: ",
19904 stringify!(_realpath_cache_bucket),
19905 "::",
19906 stringify!(path)
19907 )
19908 );
19909 assert_eq!(
19910 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).realpath as *const _ as usize },
19911 16usize,
19912 concat!(
19913 "Offset of field: ",
19914 stringify!(_realpath_cache_bucket),
19915 "::",
19916 stringify!(realpath)
19917 )
19918 );
19919 assert_eq!(
19920 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).next as *const _ as usize },
19921 24usize,
19922 concat!(
19923 "Offset of field: ",
19924 stringify!(_realpath_cache_bucket),
19925 "::",
19926 stringify!(next)
19927 )
19928 );
19929 assert_eq!(
19930 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).expires as *const _ as usize },
19931 32usize,
19932 concat!(
19933 "Offset of field: ",
19934 stringify!(_realpath_cache_bucket),
19935 "::",
19936 stringify!(expires)
19937 )
19938 );
19939 assert_eq!(
19940 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).path_len as *const _ as usize },
19941 40usize,
19942 concat!(
19943 "Offset of field: ",
19944 stringify!(_realpath_cache_bucket),
19945 "::",
19946 stringify!(path_len)
19947 )
19948 );
19949 assert_eq!(
19950 unsafe {
19951 &(*(::std::ptr::null::<_realpath_cache_bucket>())).realpath_len as *const _ as usize
19952 },
19953 44usize,
19954 concat!(
19955 "Offset of field: ",
19956 stringify!(_realpath_cache_bucket),
19957 "::",
19958 stringify!(realpath_len)
19959 )
19960 );
19961 assert_eq!(
19962 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).is_dir as *const _ as usize },
19963 48usize,
19964 concat!(
19965 "Offset of field: ",
19966 stringify!(_realpath_cache_bucket),
19967 "::",
19968 stringify!(is_dir)
19969 )
19970 );
19971}
19972pub type realpath_cache_bucket = _realpath_cache_bucket;
19973#[repr(C)]
19974#[derive(Copy, Clone)]
19975pub struct _virtual_cwd_globals {
19976 pub cwd: cwd_state,
19977 pub realpath_cache_size: zend_long,
19978 pub realpath_cache_size_limit: zend_long,
19979 pub realpath_cache_ttl: zend_long,
19980 pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
19981}
19982#[test]
19983fn bindgen_test_layout__virtual_cwd_globals() {
19984 assert_eq!(
19985 ::std::mem::size_of::<_virtual_cwd_globals>(),
19986 8232usize,
19987 concat!("Size of: ", stringify!(_virtual_cwd_globals))
19988 );
19989 assert_eq!(
19990 ::std::mem::align_of::<_virtual_cwd_globals>(),
19991 8usize,
19992 concat!("Alignment of ", stringify!(_virtual_cwd_globals))
19993 );
19994 assert_eq!(
19995 unsafe { &(*(::std::ptr::null::<_virtual_cwd_globals>())).cwd as *const _ as usize },
19996 0usize,
19997 concat!(
19998 "Offset of field: ",
19999 stringify!(_virtual_cwd_globals),
20000 "::",
20001 stringify!(cwd)
20002 )
20003 );
20004 assert_eq!(
20005 unsafe {
20006 &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_size as *const _
20007 as usize
20008 },
20009 16usize,
20010 concat!(
20011 "Offset of field: ",
20012 stringify!(_virtual_cwd_globals),
20013 "::",
20014 stringify!(realpath_cache_size)
20015 )
20016 );
20017 assert_eq!(
20018 unsafe {
20019 &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_size_limit as *const _
20020 as usize
20021 },
20022 24usize,
20023 concat!(
20024 "Offset of field: ",
20025 stringify!(_virtual_cwd_globals),
20026 "::",
20027 stringify!(realpath_cache_size_limit)
20028 )
20029 );
20030 assert_eq!(
20031 unsafe {
20032 &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_ttl as *const _ as usize
20033 },
20034 32usize,
20035 concat!(
20036 "Offset of field: ",
20037 stringify!(_virtual_cwd_globals),
20038 "::",
20039 stringify!(realpath_cache_ttl)
20040 )
20041 );
20042 assert_eq!(
20043 unsafe {
20044 &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache as *const _ as usize
20045 },
20046 40usize,
20047 concat!(
20048 "Offset of field: ",
20049 stringify!(_virtual_cwd_globals),
20050 "::",
20051 stringify!(realpath_cache)
20052 )
20053 );
20054}
20055pub type virtual_cwd_globals = _virtual_cwd_globals;
20056extern "C" {
20057 pub static mut cwd_globals: virtual_cwd_globals;
20058}
20059#[repr(C)]
20060#[derive(Copy, Clone)]
20061pub struct _zend_constant {
20062 pub value: zval,
20063 pub name: *mut zend_string,
20064 pub flags: ::std::os::raw::c_int,
20065 pub module_number: ::std::os::raw::c_int,
20066}
20067#[test]
20068fn bindgen_test_layout__zend_constant() {
20069 assert_eq!(
20070 ::std::mem::size_of::<_zend_constant>(),
20071 32usize,
20072 concat!("Size of: ", stringify!(_zend_constant))
20073 );
20074 assert_eq!(
20075 ::std::mem::align_of::<_zend_constant>(),
20076 8usize,
20077 concat!("Alignment of ", stringify!(_zend_constant))
20078 );
20079 assert_eq!(
20080 unsafe { &(*(::std::ptr::null::<_zend_constant>())).value as *const _ as usize },
20081 0usize,
20082 concat!(
20083 "Offset of field: ",
20084 stringify!(_zend_constant),
20085 "::",
20086 stringify!(value)
20087 )
20088 );
20089 assert_eq!(
20090 unsafe { &(*(::std::ptr::null::<_zend_constant>())).name as *const _ as usize },
20091 16usize,
20092 concat!(
20093 "Offset of field: ",
20094 stringify!(_zend_constant),
20095 "::",
20096 stringify!(name)
20097 )
20098 );
20099 assert_eq!(
20100 unsafe { &(*(::std::ptr::null::<_zend_constant>())).flags as *const _ as usize },
20101 24usize,
20102 concat!(
20103 "Offset of field: ",
20104 stringify!(_zend_constant),
20105 "::",
20106 stringify!(flags)
20107 )
20108 );
20109 assert_eq!(
20110 unsafe { &(*(::std::ptr::null::<_zend_constant>())).module_number as *const _ as usize },
20111 28usize,
20112 concat!(
20113 "Offset of field: ",
20114 stringify!(_zend_constant),
20115 "::",
20116 stringify!(module_number)
20117 )
20118 );
20119}
20120pub type zend_constant = _zend_constant;
20121extern "C" {
20122 pub fn zend_startup_constants() -> ::std::os::raw::c_int;
20123}
20124extern "C" {
20125 pub fn zend_shutdown_constants() -> ::std::os::raw::c_int;
20126}
20127extern "C" {
20128 pub fn zend_register_standard_constants();
20129}
20130extern "C" {
20131 pub fn zend_verify_const_access(
20132 c: *mut zend_class_constant,
20133 ce: *mut zend_class_entry,
20134 ) -> ::std::os::raw::c_int;
20135}
20136extern "C" {
20137 pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
20138}
20139extern "C" {
20140 pub fn zend_get_constant_str(
20141 name: *const ::std::os::raw::c_char,
20142 name_len: size_t,
20143 ) -> *mut zval;
20144}
20145extern "C" {
20146 pub fn zend_get_constant_ex(
20147 name: *mut zend_string,
20148 scope: *mut zend_class_entry,
20149 flags: u32,
20150 ) -> *mut zval;
20151}
20152extern "C" {
20153 pub fn zend_register_bool_constant(
20154 name: *const ::std::os::raw::c_char,
20155 name_len: size_t,
20156 bval: zend_bool,
20157 flags: ::std::os::raw::c_int,
20158 module_number: ::std::os::raw::c_int,
20159 );
20160}
20161extern "C" {
20162 pub fn zend_register_null_constant(
20163 name: *const ::std::os::raw::c_char,
20164 name_len: size_t,
20165 flags: ::std::os::raw::c_int,
20166 module_number: ::std::os::raw::c_int,
20167 );
20168}
20169extern "C" {
20170 pub fn zend_register_long_constant(
20171 name: *const ::std::os::raw::c_char,
20172 name_len: size_t,
20173 lval: zend_long,
20174 flags: ::std::os::raw::c_int,
20175 module_number: ::std::os::raw::c_int,
20176 );
20177}
20178extern "C" {
20179 pub fn zend_register_double_constant(
20180 name: *const ::std::os::raw::c_char,
20181 name_len: size_t,
20182 dval: f64,
20183 flags: ::std::os::raw::c_int,
20184 module_number: ::std::os::raw::c_int,
20185 );
20186}
20187extern "C" {
20188 pub fn zend_register_string_constant(
20189 name: *const ::std::os::raw::c_char,
20190 name_len: size_t,
20191 strval: *mut ::std::os::raw::c_char,
20192 flags: ::std::os::raw::c_int,
20193 module_number: ::std::os::raw::c_int,
20194 );
20195}
20196extern "C" {
20197 pub fn zend_register_stringl_constant(
20198 name: *const ::std::os::raw::c_char,
20199 name_len: size_t,
20200 strval: *mut ::std::os::raw::c_char,
20201 strlen: size_t,
20202 flags: ::std::os::raw::c_int,
20203 module_number: ::std::os::raw::c_int,
20204 );
20205}
20206extern "C" {
20207 pub fn zend_register_constant(c: *mut zend_constant) -> ::std::os::raw::c_int;
20208}
20209extern "C" {
20210 pub fn zend_copy_constants(target: *mut HashTable, sourc: *mut HashTable);
20211}
20212extern "C" {
20213 pub fn zend_quick_get_constant(key: *const zval, flags: u32) -> *mut zend_constant;
20214}
20215extern "C" {
20216 pub fn php_info_html_esc(string: *mut ::std::os::raw::c_char) -> *mut zend_string;
20217}
20218extern "C" {
20219 pub fn php_info_html_esc_write(
20220 string: *mut ::std::os::raw::c_char,
20221 str_len: ::std::os::raw::c_int,
20222 );
20223}
20224extern "C" {
20225 pub fn php_print_info_htmlhead();
20226}
20227extern "C" {
20228 pub fn php_print_info(flag: ::std::os::raw::c_int);
20229}
20230extern "C" {
20231 pub fn php_print_style();
20232}
20233extern "C" {
20234 pub fn php_info_print_style();
20235}
20236extern "C" {
20237 pub fn php_info_print_table_colspan_header(
20238 num_cols: ::std::os::raw::c_int,
20239 header: *mut ::std::os::raw::c_char,
20240 );
20241}
20242extern "C" {
20243 pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
20244}
20245extern "C" {
20246 pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
20247}
20248extern "C" {
20249 pub fn php_info_print_table_row_ex(
20250 num_cols: ::std::os::raw::c_int,
20251 arg1: *const ::std::os::raw::c_char,
20252 ...
20253 );
20254}
20255extern "C" {
20256 pub fn php_info_print_table_start();
20257}
20258extern "C" {
20259 pub fn php_info_print_table_end();
20260}
20261extern "C" {
20262 pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
20263}
20264extern "C" {
20265 pub fn php_info_print_box_end();
20266}
20267extern "C" {
20268 pub fn php_info_print_hr();
20269}
20270extern "C" {
20271 pub fn php_info_print_module(module: *mut zend_module_entry);
20272}
20273extern "C" {
20274 pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
20275}
20276#[repr(C)]
20277#[derive(Debug, Copy, Clone)]
20278pub struct _zend_extension_version_info {
20279 pub zend_extension_api_no: ::std::os::raw::c_int,
20280 pub build_id: *mut ::std::os::raw::c_char,
20281}
20282#[test]
20283fn bindgen_test_layout__zend_extension_version_info() {
20284 assert_eq!(
20285 ::std::mem::size_of::<_zend_extension_version_info>(),
20286 16usize,
20287 concat!("Size of: ", stringify!(_zend_extension_version_info))
20288 );
20289 assert_eq!(
20290 ::std::mem::align_of::<_zend_extension_version_info>(),
20291 8usize,
20292 concat!("Alignment of ", stringify!(_zend_extension_version_info))
20293 );
20294 assert_eq!(
20295 unsafe {
20296 &(*(::std::ptr::null::<_zend_extension_version_info>())).zend_extension_api_no
20297 as *const _ as usize
20298 },
20299 0usize,
20300 concat!(
20301 "Offset of field: ",
20302 stringify!(_zend_extension_version_info),
20303 "::",
20304 stringify!(zend_extension_api_no)
20305 )
20306 );
20307 assert_eq!(
20308 unsafe {
20309 &(*(::std::ptr::null::<_zend_extension_version_info>())).build_id as *const _ as usize
20310 },
20311 8usize,
20312 concat!(
20313 "Offset of field: ",
20314 stringify!(_zend_extension_version_info),
20315 "::",
20316 stringify!(build_id)
20317 )
20318 );
20319}
20320pub type zend_extension_version_info = _zend_extension_version_info;
20321pub type zend_extension = _zend_extension;
20322pub type startup_func_t = ::std::option::Option<
20323 unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
20324>;
20325pub type shutdown_func_t =
20326 ::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
20327pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
20328pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
20329pub type message_handler_func_t = ::std::option::Option<
20330 unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
20331>;
20332pub type op_array_handler_func_t =
20333 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
20334pub type statement_handler_func_t =
20335 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
20336pub type fcall_begin_handler_func_t =
20337 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
20338pub type fcall_end_handler_func_t =
20339 ::std::option::Option<unsafe extern "C" fn(frame: *mut zend_execute_data)>;
20340pub type op_array_ctor_func_t =
20341 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
20342pub type op_array_dtor_func_t =
20343 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
20344pub type op_array_persist_calc_func_t =
20345 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array) -> size_t>;
20346pub type op_array_persist_func_t = ::std::option::Option<
20347 unsafe extern "C" fn(op_array: *mut zend_op_array, mem: *mut ::std::os::raw::c_void) -> size_t,
20348>;
20349#[repr(C)]
20350#[derive(Debug, Copy, Clone)]
20351pub struct _zend_extension {
20352 pub name: *mut ::std::os::raw::c_char,
20353 pub version: *mut ::std::os::raw::c_char,
20354 pub author: *mut ::std::os::raw::c_char,
20355 pub URL: *mut ::std::os::raw::c_char,
20356 pub copyright: *mut ::std::os::raw::c_char,
20357 pub startup: startup_func_t,
20358 pub shutdown: shutdown_func_t,
20359 pub activate: activate_func_t,
20360 pub deactivate: deactivate_func_t,
20361 pub message_handler: message_handler_func_t,
20362 pub op_array_handler: op_array_handler_func_t,
20363 pub statement_handler: statement_handler_func_t,
20364 pub fcall_begin_handler: fcall_begin_handler_func_t,
20365 pub fcall_end_handler: fcall_end_handler_func_t,
20366 pub op_array_ctor: op_array_ctor_func_t,
20367 pub op_array_dtor: op_array_dtor_func_t,
20368 pub api_no_check: ::std::option::Option<
20369 unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
20370 >,
20371 pub build_id_check: ::std::option::Option<
20372 unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
20373 >,
20374 pub op_array_persist_calc: op_array_persist_calc_func_t,
20375 pub op_array_persist: op_array_persist_func_t,
20376 pub reserved5: *mut ::std::os::raw::c_void,
20377 pub reserved6: *mut ::std::os::raw::c_void,
20378 pub reserved7: *mut ::std::os::raw::c_void,
20379 pub reserved8: *mut ::std::os::raw::c_void,
20380 pub handle: *mut ::std::os::raw::c_void,
20381 pub resource_number: ::std::os::raw::c_int,
20382}
20383#[test]
20384fn bindgen_test_layout__zend_extension() {
20385 assert_eq!(
20386 ::std::mem::size_of::<_zend_extension>(),
20387 208usize,
20388 concat!("Size of: ", stringify!(_zend_extension))
20389 );
20390 assert_eq!(
20391 ::std::mem::align_of::<_zend_extension>(),
20392 8usize,
20393 concat!("Alignment of ", stringify!(_zend_extension))
20394 );
20395 assert_eq!(
20396 unsafe { &(*(::std::ptr::null::<_zend_extension>())).name as *const _ as usize },
20397 0usize,
20398 concat!(
20399 "Offset of field: ",
20400 stringify!(_zend_extension),
20401 "::",
20402 stringify!(name)
20403 )
20404 );
20405 assert_eq!(
20406 unsafe { &(*(::std::ptr::null::<_zend_extension>())).version as *const _ as usize },
20407 8usize,
20408 concat!(
20409 "Offset of field: ",
20410 stringify!(_zend_extension),
20411 "::",
20412 stringify!(version)
20413 )
20414 );
20415 assert_eq!(
20416 unsafe { &(*(::std::ptr::null::<_zend_extension>())).author as *const _ as usize },
20417 16usize,
20418 concat!(
20419 "Offset of field: ",
20420 stringify!(_zend_extension),
20421 "::",
20422 stringify!(author)
20423 )
20424 );
20425 assert_eq!(
20426 unsafe { &(*(::std::ptr::null::<_zend_extension>())).URL as *const _ as usize },
20427 24usize,
20428 concat!(
20429 "Offset of field: ",
20430 stringify!(_zend_extension),
20431 "::",
20432 stringify!(URL)
20433 )
20434 );
20435 assert_eq!(
20436 unsafe { &(*(::std::ptr::null::<_zend_extension>())).copyright as *const _ as usize },
20437 32usize,
20438 concat!(
20439 "Offset of field: ",
20440 stringify!(_zend_extension),
20441 "::",
20442 stringify!(copyright)
20443 )
20444 );
20445 assert_eq!(
20446 unsafe { &(*(::std::ptr::null::<_zend_extension>())).startup as *const _ as usize },
20447 40usize,
20448 concat!(
20449 "Offset of field: ",
20450 stringify!(_zend_extension),
20451 "::",
20452 stringify!(startup)
20453 )
20454 );
20455 assert_eq!(
20456 unsafe { &(*(::std::ptr::null::<_zend_extension>())).shutdown as *const _ as usize },
20457 48usize,
20458 concat!(
20459 "Offset of field: ",
20460 stringify!(_zend_extension),
20461 "::",
20462 stringify!(shutdown)
20463 )
20464 );
20465 assert_eq!(
20466 unsafe { &(*(::std::ptr::null::<_zend_extension>())).activate as *const _ as usize },
20467 56usize,
20468 concat!(
20469 "Offset of field: ",
20470 stringify!(_zend_extension),
20471 "::",
20472 stringify!(activate)
20473 )
20474 );
20475 assert_eq!(
20476 unsafe { &(*(::std::ptr::null::<_zend_extension>())).deactivate as *const _ as usize },
20477 64usize,
20478 concat!(
20479 "Offset of field: ",
20480 stringify!(_zend_extension),
20481 "::",
20482 stringify!(deactivate)
20483 )
20484 );
20485 assert_eq!(
20486 unsafe { &(*(::std::ptr::null::<_zend_extension>())).message_handler as *const _ as usize },
20487 72usize,
20488 concat!(
20489 "Offset of field: ",
20490 stringify!(_zend_extension),
20491 "::",
20492 stringify!(message_handler)
20493 )
20494 );
20495 assert_eq!(
20496 unsafe {
20497 &(*(::std::ptr::null::<_zend_extension>())).op_array_handler as *const _ as usize
20498 },
20499 80usize,
20500 concat!(
20501 "Offset of field: ",
20502 stringify!(_zend_extension),
20503 "::",
20504 stringify!(op_array_handler)
20505 )
20506 );
20507 assert_eq!(
20508 unsafe {
20509 &(*(::std::ptr::null::<_zend_extension>())).statement_handler as *const _ as usize
20510 },
20511 88usize,
20512 concat!(
20513 "Offset of field: ",
20514 stringify!(_zend_extension),
20515 "::",
20516 stringify!(statement_handler)
20517 )
20518 );
20519 assert_eq!(
20520 unsafe {
20521 &(*(::std::ptr::null::<_zend_extension>())).fcall_begin_handler as *const _ as usize
20522 },
20523 96usize,
20524 concat!(
20525 "Offset of field: ",
20526 stringify!(_zend_extension),
20527 "::",
20528 stringify!(fcall_begin_handler)
20529 )
20530 );
20531 assert_eq!(
20532 unsafe {
20533 &(*(::std::ptr::null::<_zend_extension>())).fcall_end_handler as *const _ as usize
20534 },
20535 104usize,
20536 concat!(
20537 "Offset of field: ",
20538 stringify!(_zend_extension),
20539 "::",
20540 stringify!(fcall_end_handler)
20541 )
20542 );
20543 assert_eq!(
20544 unsafe { &(*(::std::ptr::null::<_zend_extension>())).op_array_ctor as *const _ as usize },
20545 112usize,
20546 concat!(
20547 "Offset of field: ",
20548 stringify!(_zend_extension),
20549 "::",
20550 stringify!(op_array_ctor)
20551 )
20552 );
20553 assert_eq!(
20554 unsafe { &(*(::std::ptr::null::<_zend_extension>())).op_array_dtor as *const _ as usize },
20555 120usize,
20556 concat!(
20557 "Offset of field: ",
20558 stringify!(_zend_extension),
20559 "::",
20560 stringify!(op_array_dtor)
20561 )
20562 );
20563 assert_eq!(
20564 unsafe { &(*(::std::ptr::null::<_zend_extension>())).api_no_check as *const _ as usize },
20565 128usize,
20566 concat!(
20567 "Offset of field: ",
20568 stringify!(_zend_extension),
20569 "::",
20570 stringify!(api_no_check)
20571 )
20572 );
20573 assert_eq!(
20574 unsafe { &(*(::std::ptr::null::<_zend_extension>())).build_id_check as *const _ as usize },
20575 136usize,
20576 concat!(
20577 "Offset of field: ",
20578 stringify!(_zend_extension),
20579 "::",
20580 stringify!(build_id_check)
20581 )
20582 );
20583 assert_eq!(
20584 unsafe {
20585 &(*(::std::ptr::null::<_zend_extension>())).op_array_persist_calc as *const _ as usize
20586 },
20587 144usize,
20588 concat!(
20589 "Offset of field: ",
20590 stringify!(_zend_extension),
20591 "::",
20592 stringify!(op_array_persist_calc)
20593 )
20594 );
20595 assert_eq!(
20596 unsafe {
20597 &(*(::std::ptr::null::<_zend_extension>())).op_array_persist as *const _ as usize
20598 },
20599 152usize,
20600 concat!(
20601 "Offset of field: ",
20602 stringify!(_zend_extension),
20603 "::",
20604 stringify!(op_array_persist)
20605 )
20606 );
20607 assert_eq!(
20608 unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved5 as *const _ as usize },
20609 160usize,
20610 concat!(
20611 "Offset of field: ",
20612 stringify!(_zend_extension),
20613 "::",
20614 stringify!(reserved5)
20615 )
20616 );
20617 assert_eq!(
20618 unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved6 as *const _ as usize },
20619 168usize,
20620 concat!(
20621 "Offset of field: ",
20622 stringify!(_zend_extension),
20623 "::",
20624 stringify!(reserved6)
20625 )
20626 );
20627 assert_eq!(
20628 unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved7 as *const _ as usize },
20629 176usize,
20630 concat!(
20631 "Offset of field: ",
20632 stringify!(_zend_extension),
20633 "::",
20634 stringify!(reserved7)
20635 )
20636 );
20637 assert_eq!(
20638 unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved8 as *const _ as usize },
20639 184usize,
20640 concat!(
20641 "Offset of field: ",
20642 stringify!(_zend_extension),
20643 "::",
20644 stringify!(reserved8)
20645 )
20646 );
20647 assert_eq!(
20648 unsafe { &(*(::std::ptr::null::<_zend_extension>())).handle as *const _ as usize },
20649 192usize,
20650 concat!(
20651 "Offset of field: ",
20652 stringify!(_zend_extension),
20653 "::",
20654 stringify!(handle)
20655 )
20656 );
20657 assert_eq!(
20658 unsafe { &(*(::std::ptr::null::<_zend_extension>())).resource_number as *const _ as usize },
20659 200usize,
20660 concat!(
20661 "Offset of field: ",
20662 stringify!(_zend_extension),
20663 "::",
20664 stringify!(resource_number)
20665 )
20666 );
20667}
20668extern "C" {
20669 pub fn zend_get_resource_handle(extension: *mut zend_extension) -> ::std::os::raw::c_int;
20670}
20671extern "C" {
20672 pub fn zend_extension_dispatch_message(
20673 message: ::std::os::raw::c_int,
20674 arg: *mut ::std::os::raw::c_void,
20675 );
20676}
20677extern "C" {
20678 pub static mut zend_extensions: zend_llist;
20679}
20680extern "C" {
20681 pub static mut zend_extension_flags: u32;
20682}
20683extern "C" {
20684 pub fn zend_extension_dtor(extension: *mut zend_extension);
20685}
20686extern "C" {
20687 pub fn zend_append_version_info(extension: *const zend_extension);
20688}
20689extern "C" {
20690 pub fn zend_startup_extensions_mechanism() -> ::std::os::raw::c_int;
20691}
20692extern "C" {
20693 pub fn zend_startup_extensions() -> ::std::os::raw::c_int;
20694}
20695extern "C" {
20696 pub fn zend_shutdown_extensions();
20697}
20698extern "C" {
20699 pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
20700}
20701extern "C" {
20702 pub fn zend_register_extension(
20703 new_extension: *mut zend_extension,
20704 handle: *mut ::std::os::raw::c_void,
20705 ) -> ::std::os::raw::c_int;
20706}
20707extern "C" {
20708 pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
20709 -> *mut zend_extension;
20710}
20711extern "C" {
20712 pub fn zend_extensions_op_array_persist_calc(op_array: *mut zend_op_array) -> size_t;
20713}
20714extern "C" {
20715 pub fn zend_extensions_op_array_persist(
20716 op_array: *mut zend_op_array,
20717 mem: *mut ::std::os::raw::c_void,
20718 ) -> size_t;
20719}
20720pub const ZEND_MODULE_BUILD_ID_: &'static [u8; 16usize] = b"API20160303,NTS\0";
20721pub type __builtin_va_list = [__va_list_tag; 1usize];
20722#[repr(C)]
20723#[derive(Debug, Copy, Clone)]
20724pub struct __va_list_tag {
20725 pub gp_offset: ::std::os::raw::c_uint,
20726 pub fp_offset: ::std::os::raw::c_uint,
20727 pub overflow_arg_area: *mut ::std::os::raw::c_void,
20728 pub reg_save_area: *mut ::std::os::raw::c_void,
20729}
20730#[test]
20731fn bindgen_test_layout___va_list_tag() {
20732 assert_eq!(
20733 ::std::mem::size_of::<__va_list_tag>(),
20734 24usize,
20735 concat!("Size of: ", stringify!(__va_list_tag))
20736 );
20737 assert_eq!(
20738 ::std::mem::align_of::<__va_list_tag>(),
20739 8usize,
20740 concat!("Alignment of ", stringify!(__va_list_tag))
20741 );
20742 assert_eq!(
20743 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
20744 0usize,
20745 concat!(
20746 "Offset of field: ",
20747 stringify!(__va_list_tag),
20748 "::",
20749 stringify!(gp_offset)
20750 )
20751 );
20752 assert_eq!(
20753 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
20754 4usize,
20755 concat!(
20756 "Offset of field: ",
20757 stringify!(__va_list_tag),
20758 "::",
20759 stringify!(fp_offset)
20760 )
20761 );
20762 assert_eq!(
20763 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize },
20764 8usize,
20765 concat!(
20766 "Offset of field: ",
20767 stringify!(__va_list_tag),
20768 "::",
20769 stringify!(overflow_arg_area)
20770 )
20771 );
20772 assert_eq!(
20773 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
20774 16usize,
20775 concat!(
20776 "Offset of field: ",
20777 stringify!(__va_list_tag),
20778 "::",
20779 stringify!(reg_save_area)
20780 )
20781 );
20782}