1#![allow(clippy::all)]
4#![allow(
5 non_upper_case_globals,
6 non_camel_case_types,
7 non_snake_case,
8 clashing_extern_declarations
9)]
10
11#[repr(C)]
12#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
13pub struct __BindgenBitfieldUnit<Storage> {
14 storage: Storage,
15}
16impl<Storage> __BindgenBitfieldUnit<Storage> {
17 #[inline]
18 pub const fn new(storage: Storage) -> Self {
19 Self { storage }
20 }
21}
22impl<Storage> __BindgenBitfieldUnit<Storage>
23where
24 Storage: AsRef<[u8]> + AsMut<[u8]>,
25{
26 #[inline]
27 pub fn get_bit(&self, index: usize) -> bool {
28 debug_assert!(index / 8 < self.storage.as_ref().len());
29 let byte_index = index / 8;
30 let byte = self.storage.as_ref()[byte_index];
31 let bit_index = if cfg!(target_endian = "big") {
32 7 - (index % 8)
33 } else {
34 index % 8
35 };
36 let mask = 1 << bit_index;
37 byte & mask == mask
38 }
39 #[inline]
40 pub fn set_bit(&mut self, index: usize, val: bool) {
41 debug_assert!(index / 8 < self.storage.as_ref().len());
42 let byte_index = index / 8;
43 let byte = &mut self.storage.as_mut()[byte_index];
44 let bit_index = if cfg!(target_endian = "big") {
45 7 - (index % 8)
46 } else {
47 index % 8
48 };
49 let mask = 1 << bit_index;
50 if val {
51 *byte |= mask;
52 } else {
53 *byte &= !mask;
54 }
55 }
56 #[inline]
57 pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
58 debug_assert!(bit_width <= 64);
59 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
60 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
61 let mut val = 0;
62 for i in 0..(bit_width as usize) {
63 if self.get_bit(i + bit_offset) {
64 let index = if cfg!(target_endian = "big") {
65 bit_width as usize - 1 - i
66 } else {
67 i
68 };
69 val |= 1 << index;
70 }
71 }
72 val
73 }
74 #[inline]
75 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
76 debug_assert!(bit_width <= 64);
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
78 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
79 for i in 0..(bit_width as usize) {
80 let mask = 1 << i;
81 let val_bit_is_set = val & mask == mask;
82 let index = if cfg!(target_endian = "big") {
83 bit_width as usize - 1 - i
84 } else {
85 i
86 };
87 self.set_bit(index + bit_offset, val_bit_is_set);
88 }
89 }
90}
91pub const PHP_API_VERSION: u32 = 20151012;
92pub const PHP_DEFAULT_CHARSET: &'static [u8; 6usize] = b"UTF-8\0";
93pub const PHP_BLOWFISH_CRYPT: u32 = 1;
94pub const PHP_BUILD_DATE: &'static [u8; 11usize] = b"2018-12-04\0";
95pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
96pub const PHP_EXT_DES_CRYPT: u32 = 1;
97pub const PHP_HAVE_BUILTIN_CLZ: u32 = 1;
98pub const PHP_HAVE_BUILTIN_CTZL: u32 = 1;
99pub const PHP_HAVE_BUILTIN_CTZLL: u32 = 1;
100pub const PHP_HAVE_BUILTIN_EXPECT: u32 = 1;
101pub const PHP_HAVE_STDINT_TYPES: u32 = 1;
102pub const PHP_MD5_CRYPT: u32 = 1;
103pub const PHP_MHASH_BC: u32 = 1;
104pub const PHP_OS: &'static [u8; 6usize] = b"Linux\0";
105pub const PHP_SHA256_CRYPT: u32 = 1;
106pub const PHP_SHA512_CRYPT: u32 = 1;
107pub const PHP_SIGCHILD: u32 = 0;
108pub const PHP_STD_DES_CRYPT: u32 = 1;
109pub const PHP_UNAME: &'static [u8; 6usize] = b"Linux\0";
110pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
111pub const PHP_WRITE_STDOUT: u32 = 1;
112pub const ZEND_BROKEN_SPRINTF: u32 = 0;
113pub const ZEND_DEBUG: u32 = 0;
114pub const ZEND_MM_ALIGNMENT: u32 = 8;
115pub const ZEND_MM_ALIGNMENT_LOG2: u32 = 3;
116pub const PHP_MAJOR_VERSION: u32 = 7;
117pub const PHP_MINOR_VERSION: u32 = 0;
118pub const PHP_RELEASE_VERSION: u32 = 33;
119pub const PHP_EXTRA_VERSION: &'static [u8; 19usize] = b"-0ubuntu0.16.04.16\0";
120pub const PHP_VERSION: &'static [u8; 25usize] = b"7.0.33-0ubuntu0.16.04.16\0";
121pub const PHP_VERSION_ID: u32 = 70033;
122pub const ZEND_VERSION: &'static [u8; 6usize] = b"3.0.0\0";
123pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 4;
124pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
125pub const ZEND_ENABLE_ZVAL_LONG64: u32 = 1;
126pub const ZEND_LTOA_BUF_LEN: u32 = 65;
127pub const ZEND_LONG_FMT: &'static [u8; 4usize] = b"%ld\0";
128pub const ZEND_ULONG_FMT: &'static [u8; 4usize] = b"%lu\0";
129pub const ZEND_LONG_FMT_SPEC: &'static [u8; 3usize] = b"ld\0";
130pub const ZEND_ULONG_FMT_SPEC: &'static [u8; 3usize] = b"lu\0";
131pub const ZEND_LONG_CAN_OVFL_INT: u32 = 1;
132pub const ZEND_LONG_CAN_OVFL_UINT: u32 = 1;
133pub const ZEND_SIZE_T_CAN_OVFL_UINT: u32 = 1;
134pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
135pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
136pub const ZEND_SIZE_MAX: i32 = -1;
137pub const IS_UNDEF: u32 = 0;
138pub const IS_NULL: u32 = 1;
139pub const IS_FALSE: u32 = 2;
140pub const IS_TRUE: u32 = 3;
141pub const IS_LONG: u32 = 4;
142pub const IS_DOUBLE: u32 = 5;
143pub const IS_STRING: u32 = 6;
144pub const IS_ARRAY: u32 = 7;
145pub const IS_OBJECT: u32 = 8;
146pub const IS_RESOURCE: u32 = 9;
147pub const IS_REFERENCE: u32 = 10;
148pub const IS_CONSTANT: u32 = 11;
149pub const IS_CONSTANT_AST: u32 = 12;
150pub const _IS_BOOL: u32 = 13;
151pub const IS_CALLABLE: u32 = 14;
152pub const IS_INDIRECT: u32 = 15;
153pub const IS_PTR: u32 = 17;
154pub const Z_TYPE_MASK: u32 = 255;
155pub const Z_TYPE_FLAGS_SHIFT: u32 = 8;
156pub const Z_CONST_FLAGS_SHIFT: u32 = 16;
157pub const IS_TYPE_CONSTANT: u32 = 1;
158pub const IS_TYPE_IMMUTABLE: u32 = 2;
159pub const IS_TYPE_REFCOUNTED: u32 = 4;
160pub const IS_TYPE_COLLECTABLE: u32 = 8;
161pub const IS_TYPE_COPYABLE: u32 = 16;
162pub const IS_TYPE_SYMBOLTABLE: u32 = 32;
163pub const IS_INTERNED_STRING_EX: u32 = 6;
164pub const IS_STRING_EX: u32 = 5126;
165pub const IS_ARRAY_EX: u32 = 7175;
166pub const IS_OBJECT_EX: u32 = 3080;
167pub const IS_RESOURCE_EX: u32 = 1033;
168pub const IS_REFERENCE_EX: u32 = 1034;
169pub const IS_CONSTANT_EX: u32 = 5387;
170pub const IS_CONSTANT_AST_EX: u32 = 5388;
171pub const IS_CONSTANT_UNQUALIFIED: u32 = 16;
172pub const IS_LEXICAL_VAR: u32 = 32;
173pub const IS_LEXICAL_REF: u32 = 64;
174pub const IS_CONSTANT_CLASS: u32 = 128;
175pub const IS_CONSTANT_IN_NAMESPACE: u32 = 256;
176pub const IS_VAR_RET_REF: u32 = 1;
177pub const IS_STR_PERSISTENT: u32 = 1;
178pub const IS_STR_INTERNED: u32 = 2;
179pub const IS_STR_PERMANENT: u32 = 4;
180pub const IS_STR_CONSTANT: u32 = 8;
181pub const IS_STR_CONSTANT_UNQUALIFIED: u32 = 16;
182pub const IS_ARRAY_IMMUTABLE: u32 = 2;
183pub const IS_OBJ_APPLY_COUNT: u32 = 7;
184pub const IS_OBJ_DESTRUCTOR_CALLED: u32 = 8;
185pub const IS_OBJ_FREE_CALLED: u32 = 16;
186pub const IS_OBJ_USE_GUARDS: u32 = 32;
187pub const IS_OBJ_HAS_GUARDS: u32 = 64;
188pub const ZEND_MM_OVERHEAD: u32 = 0;
189pub const ZEND_MM_CHUNK_SIZE: u32 = 2097152;
190pub const ZEND_MM_PAGE_SIZE: u32 = 4096;
191pub const ZEND_MM_PAGES: u32 = 512;
192pub const ZEND_MM_FIRST_PAGE: u32 = 1;
193pub const ZEND_MM_MIN_SMALL_SIZE: u32 = 8;
194pub const ZEND_MM_MAX_SMALL_SIZE: u32 = 3072;
195pub const ZEND_MM_MAX_LARGE_SIZE: u32 = 2093056;
196pub const ZEND_MM_CUSTOM_HEAP_NONE: u32 = 0;
197pub const ZEND_MM_CUSTOM_HEAP_STD: u32 = 1;
198pub const ZEND_MM_CUSTOM_HEAP_DEBUG: u32 = 2;
199pub const HASH_KEY_IS_STRING: u32 = 1;
200pub const HASH_KEY_IS_LONG: u32 = 2;
201pub const HASH_KEY_NON_EXISTENT: u32 = 3;
202pub const HASH_UPDATE: u32 = 1;
203pub const HASH_ADD: u32 = 2;
204pub const HASH_UPDATE_INDIRECT: u32 = 4;
205pub const HASH_ADD_NEW: u32 = 8;
206pub const HASH_ADD_NEXT: u32 = 16;
207pub const HASH_FLAG_PERSISTENT: u32 = 1;
208pub const HASH_FLAG_APPLY_PROTECTION: u32 = 2;
209pub const HASH_FLAG_PACKED: u32 = 4;
210pub const HASH_FLAG_INITIALIZED: u32 = 8;
211pub const HASH_FLAG_STATIC_KEYS: u32 = 16;
212pub const HASH_FLAG_HAS_EMPTY_IND: u32 = 32;
213pub const HASH_MASK_CONSISTENCY: u32 = 192;
214pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
215pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
216pub const ZEND_HASH_APPLY_STOP: u32 = 2;
217pub const ZEND_HASH_APPLY_SHIFT: u32 = 8;
218pub const ZEND_HASH_APPLY_COUNT_MASK: u32 = 65280;
219pub const ZEND_AST_SPECIAL_SHIFT: u32 = 6;
220pub const ZEND_AST_IS_LIST_SHIFT: u32 = 7;
221pub const ZEND_AST_NUM_CHILDREN_SHIFT: u32 = 8;
222pub const GC_BENCH: u32 = 0;
223pub const GC_COLOR: u32 = 49152;
224pub const GC_BLACK: u32 = 0;
225pub const GC_WHITE: u32 = 32768;
226pub const GC_GREY: u32 = 16384;
227pub const GC_PURPLE: u32 = 49152;
228pub const ZEND_MMAP_AHEAD: u32 = 32;
229pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
230pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
231pub const ZEND_DYNAMIC_PROPERTY_OFFSET: i32 = -1;
232pub const ZEND_WRONG_PROPERTY_OFFSET: i32 = -2;
233pub const DEBUG_ZEND: u32 = 0;
234pub const ZEND_USE_ABS_JMP_ADDR: u32 = 0;
235pub const ZEND_USE_ABS_CONST_ADDR: u32 = 0;
236pub const ZEND_EX_USE_LITERALS: u32 = 1;
237pub const ZEND_EX_USE_RUN_TIME_CACHE: u32 = 1;
238pub const ZEND_ACC_STATIC: u32 = 1;
239pub const ZEND_ACC_ABSTRACT: u32 = 2;
240pub const ZEND_ACC_FINAL: u32 = 4;
241pub const ZEND_ACC_IMPLEMENTED_ABSTRACT: u32 = 8;
242pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
243pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 32;
244pub const ZEND_ACC_INTERFACE: u32 = 64;
245pub const ZEND_ACC_TRAIT: u32 = 128;
246pub const ZEND_ACC_ANON_CLASS: u32 = 256;
247pub const ZEND_ACC_ANON_BOUND: u32 = 512;
248pub const ZEND_ACC_PUBLIC: u32 = 256;
249pub const ZEND_ACC_PROTECTED: u32 = 512;
250pub const ZEND_ACC_PRIVATE: u32 = 1024;
251pub const ZEND_ACC_PPP_MASK: u32 = 1792;
252pub const ZEND_ACC_CHANGED: u32 = 2048;
253pub const ZEND_ACC_IMPLICIT_PUBLIC: u32 = 4096;
254pub const ZEND_ACC_CTOR: u32 = 8192;
255pub const ZEND_ACC_DTOR: u32 = 16384;
256pub const ZEND_ACC_CLONE: u32 = 32768;
257pub const ZEND_ACC_USER_ARG_INFO: u32 = 128;
258pub const ZEND_ACC_ALLOW_STATIC: u32 = 65536;
259pub const ZEND_ACC_SHADOW: u32 = 131072;
260pub const ZEND_ACC_DEPRECATED: u32 = 262144;
261pub const ZEND_ACC_IMPLEMENT_INTERFACES: u32 = 524288;
262pub const ZEND_ACC_IMPLEMENT_TRAITS: u32 = 4194304;
263pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 1048576;
264pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 8388608;
265pub const ZEND_ACC_CLOSURE: u32 = 1048576;
266pub const ZEND_ACC_GENERATOR: u32 = 8388608;
267pub const ZEND_ACC_NO_RT_ARENA: u32 = 524288;
268pub const ZEND_ACC_CALL_VIA_TRAMPOLINE: u32 = 2097152;
269pub const ZEND_ACC_CALL_VIA_HANDLER: u32 = 2097152;
270pub const ZEND_ACC_NEVER_CACHE: u32 = 4194304;
271pub const ZEND_ACC_VARIADIC: u32 = 16777216;
272pub const ZEND_ACC_RETURN_REFERENCE: u32 = 67108864;
273pub const ZEND_ACC_DONE_PASS_TWO: u32 = 134217728;
274pub const ZEND_ACC_USE_GUARDS: u32 = 16777216;
275pub const ZEND_ACC_HAS_TYPE_HINTS: u32 = 268435456;
276pub const ZEND_ACC_HAS_FINALLY_BLOCK: u32 = 536870912;
277pub const ZEND_ACC_ARENA_ALLOCATED: u32 = 536870912;
278pub const ZEND_ACC_HAS_RETURN_TYPE: u32 = 1073741824;
279pub const ZEND_ACC_STRICT_TYPES: u32 = 2147483648;
280pub const ZEND_RETURN_VALUE: u32 = 0;
281pub const ZEND_RETURN_REFERENCE: u32 = 1;
282pub const ZEND_CALL_FUNCTION: u32 = 0;
283pub const ZEND_CALL_CODE: u32 = 1;
284pub const ZEND_CALL_NESTED: u32 = 0;
285pub const ZEND_CALL_TOP: u32 = 2;
286pub const ZEND_CALL_FREE_EXTRA_ARGS: u32 = 4;
287pub const ZEND_CALL_CTOR: u32 = 8;
288pub const ZEND_CALL_CTOR_RESULT_UNUSED: u32 = 16;
289pub const ZEND_CALL_CLOSURE: u32 = 32;
290pub const ZEND_CALL_RELEASE_THIS: u32 = 64;
291pub const ZEND_CALL_ALLOCATED: u32 = 128;
292pub const IS_CONST: u32 = 1;
293pub const IS_TMP_VAR: u32 = 2;
294pub const IS_VAR: u32 = 4;
295pub const IS_UNUSED: u32 = 8;
296pub const IS_CV: u32 = 16;
297pub const ZEND_STACK_APPLY_TOPDOWN: u32 = 1;
298pub const ZEND_STACK_APPLY_BOTTOMUP: u32 = 2;
299pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
300pub const ZEND_ARENA_ALIGNMENT: u32 = 8;
301pub const ZEND_EARLY_BINDING_COMPILE_TIME: u32 = 0;
302pub const ZEND_EARLY_BINDING_DELAYED: u32 = 1;
303pub const ZEND_EARLY_BINDING_DELAYED_ALL: u32 = 2;
304pub const ZEND_VM_SPEC: u32 = 1;
305pub const ZEND_VM_LINES: u32 = 0;
306pub const ZEND_VM_KIND_CALL: u32 = 1;
307pub const ZEND_VM_KIND_SWITCH: u32 = 2;
308pub const ZEND_VM_KIND_GOTO: u32 = 3;
309pub const ZEND_VM_KIND: u32 = 1;
310pub const ZEND_NOP: u32 = 0;
311pub const ZEND_ADD: u32 = 1;
312pub const ZEND_SUB: u32 = 2;
313pub const ZEND_MUL: u32 = 3;
314pub const ZEND_DIV: u32 = 4;
315pub const ZEND_MOD: u32 = 5;
316pub const ZEND_SL: u32 = 6;
317pub const ZEND_SR: u32 = 7;
318pub const ZEND_CONCAT: u32 = 8;
319pub const ZEND_BW_OR: u32 = 9;
320pub const ZEND_BW_AND: u32 = 10;
321pub const ZEND_BW_XOR: u32 = 11;
322pub const ZEND_BW_NOT: u32 = 12;
323pub const ZEND_BOOL_NOT: u32 = 13;
324pub const ZEND_BOOL_XOR: u32 = 14;
325pub const ZEND_IS_IDENTICAL: u32 = 15;
326pub const ZEND_IS_NOT_IDENTICAL: u32 = 16;
327pub const ZEND_IS_EQUAL: u32 = 17;
328pub const ZEND_IS_NOT_EQUAL: u32 = 18;
329pub const ZEND_IS_SMALLER: u32 = 19;
330pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 20;
331pub const ZEND_CAST: u32 = 21;
332pub const ZEND_QM_ASSIGN: u32 = 22;
333pub const ZEND_ASSIGN_ADD: u32 = 23;
334pub const ZEND_ASSIGN_SUB: u32 = 24;
335pub const ZEND_ASSIGN_MUL: u32 = 25;
336pub const ZEND_ASSIGN_DIV: u32 = 26;
337pub const ZEND_ASSIGN_MOD: u32 = 27;
338pub const ZEND_ASSIGN_SL: u32 = 28;
339pub const ZEND_ASSIGN_SR: u32 = 29;
340pub const ZEND_ASSIGN_CONCAT: u32 = 30;
341pub const ZEND_ASSIGN_BW_OR: u32 = 31;
342pub const ZEND_ASSIGN_BW_AND: u32 = 32;
343pub const ZEND_ASSIGN_BW_XOR: u32 = 33;
344pub const ZEND_PRE_INC: u32 = 34;
345pub const ZEND_PRE_DEC: u32 = 35;
346pub const ZEND_POST_INC: u32 = 36;
347pub const ZEND_POST_DEC: u32 = 37;
348pub const ZEND_ASSIGN: u32 = 38;
349pub const ZEND_ASSIGN_REF: u32 = 39;
350pub const ZEND_ECHO: u32 = 40;
351pub const ZEND_JMP: u32 = 42;
352pub const ZEND_JMPZ: u32 = 43;
353pub const ZEND_JMPNZ: u32 = 44;
354pub const ZEND_JMPZNZ: u32 = 45;
355pub const ZEND_JMPZ_EX: u32 = 46;
356pub const ZEND_JMPNZ_EX: u32 = 47;
357pub const ZEND_CASE: u32 = 48;
358pub const ZEND_BOOL: u32 = 52;
359pub const ZEND_FAST_CONCAT: u32 = 53;
360pub const ZEND_ROPE_INIT: u32 = 54;
361pub const ZEND_ROPE_ADD: u32 = 55;
362pub const ZEND_ROPE_END: u32 = 56;
363pub const ZEND_BEGIN_SILENCE: u32 = 57;
364pub const ZEND_END_SILENCE: u32 = 58;
365pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
366pub const ZEND_DO_FCALL: u32 = 60;
367pub const ZEND_INIT_FCALL: u32 = 61;
368pub const ZEND_RETURN: u32 = 62;
369pub const ZEND_RECV: u32 = 63;
370pub const ZEND_RECV_INIT: u32 = 64;
371pub const ZEND_SEND_VAL: u32 = 65;
372pub const ZEND_SEND_VAR_EX: u32 = 66;
373pub const ZEND_SEND_REF: u32 = 67;
374pub const ZEND_NEW: u32 = 68;
375pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
376pub const ZEND_FREE: u32 = 70;
377pub const ZEND_INIT_ARRAY: u32 = 71;
378pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
379pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
380pub const ZEND_UNSET_VAR: u32 = 74;
381pub const ZEND_UNSET_DIM: u32 = 75;
382pub const ZEND_UNSET_OBJ: u32 = 76;
383pub const ZEND_FE_RESET_R: u32 = 77;
384pub const ZEND_FE_FETCH_R: u32 = 78;
385pub const ZEND_EXIT: u32 = 79;
386pub const ZEND_FETCH_R: u32 = 80;
387pub const ZEND_FETCH_DIM_R: u32 = 81;
388pub const ZEND_FETCH_OBJ_R: u32 = 82;
389pub const ZEND_FETCH_W: u32 = 83;
390pub const ZEND_FETCH_DIM_W: u32 = 84;
391pub const ZEND_FETCH_OBJ_W: u32 = 85;
392pub const ZEND_FETCH_RW: u32 = 86;
393pub const ZEND_FETCH_DIM_RW: u32 = 87;
394pub const ZEND_FETCH_OBJ_RW: u32 = 88;
395pub const ZEND_FETCH_IS: u32 = 89;
396pub const ZEND_FETCH_DIM_IS: u32 = 90;
397pub const ZEND_FETCH_OBJ_IS: u32 = 91;
398pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
399pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
400pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
401pub const ZEND_FETCH_UNSET: u32 = 95;
402pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
403pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
404pub const ZEND_FETCH_LIST: u32 = 98;
405pub const ZEND_FETCH_CONSTANT: u32 = 99;
406pub const ZEND_EXT_STMT: u32 = 101;
407pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
408pub const ZEND_EXT_FCALL_END: u32 = 103;
409pub const ZEND_EXT_NOP: u32 = 104;
410pub const ZEND_TICKS: u32 = 105;
411pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
412pub const ZEND_CATCH: u32 = 107;
413pub const ZEND_THROW: u32 = 108;
414pub const ZEND_FETCH_CLASS: u32 = 109;
415pub const ZEND_CLONE: u32 = 110;
416pub const ZEND_RETURN_BY_REF: u32 = 111;
417pub const ZEND_INIT_METHOD_CALL: u32 = 112;
418pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
419pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
420pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
421pub const ZEND_SEND_VAL_EX: u32 = 116;
422pub const ZEND_SEND_VAR: u32 = 117;
423pub const ZEND_INIT_USER_CALL: u32 = 118;
424pub const ZEND_SEND_ARRAY: u32 = 119;
425pub const ZEND_SEND_USER: u32 = 120;
426pub const ZEND_STRLEN: u32 = 121;
427pub const ZEND_DEFINED: u32 = 122;
428pub const ZEND_TYPE_CHECK: u32 = 123;
429pub const ZEND_VERIFY_RETURN_TYPE: u32 = 124;
430pub const ZEND_FE_RESET_RW: u32 = 125;
431pub const ZEND_FE_FETCH_RW: u32 = 126;
432pub const ZEND_FE_FREE: u32 = 127;
433pub const ZEND_INIT_DYNAMIC_CALL: u32 = 128;
434pub const ZEND_DO_ICALL: u32 = 129;
435pub const ZEND_DO_UCALL: u32 = 130;
436pub const ZEND_DO_FCALL_BY_NAME: u32 = 131;
437pub const ZEND_PRE_INC_OBJ: u32 = 132;
438pub const ZEND_PRE_DEC_OBJ: u32 = 133;
439pub const ZEND_POST_INC_OBJ: u32 = 134;
440pub const ZEND_POST_DEC_OBJ: u32 = 135;
441pub const ZEND_ASSIGN_OBJ: u32 = 136;
442pub const ZEND_OP_DATA: u32 = 137;
443pub const ZEND_INSTANCEOF: u32 = 138;
444pub const ZEND_DECLARE_CLASS: u32 = 139;
445pub const ZEND_DECLARE_INHERITED_CLASS: u32 = 140;
446pub const ZEND_DECLARE_FUNCTION: u32 = 141;
447pub const ZEND_YIELD_FROM: u32 = 142;
448pub const ZEND_DECLARE_CONST: u32 = 143;
449pub const ZEND_ADD_INTERFACE: u32 = 144;
450pub const ZEND_DECLARE_INHERITED_CLASS_DELAYED: u32 = 145;
451pub const ZEND_VERIFY_ABSTRACT_CLASS: u32 = 146;
452pub const ZEND_ASSIGN_DIM: u32 = 147;
453pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
454pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
455pub const ZEND_USER_OPCODE: u32 = 150;
456pub const ZEND_ASSERT_CHECK: u32 = 151;
457pub const ZEND_JMP_SET: u32 = 152;
458pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 153;
459pub const ZEND_ADD_TRAIT: u32 = 154;
460pub const ZEND_BIND_TRAITS: u32 = 155;
461pub const ZEND_SEPARATE: u32 = 156;
462pub const ZEND_FETCH_CLASS_NAME: u32 = 157;
463pub const ZEND_CALL_TRAMPOLINE: u32 = 158;
464pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
465pub const ZEND_YIELD: u32 = 160;
466pub const ZEND_GENERATOR_RETURN: u32 = 161;
467pub const ZEND_FAST_CALL: u32 = 162;
468pub const ZEND_FAST_RET: u32 = 163;
469pub const ZEND_RECV_VARIADIC: u32 = 164;
470pub const ZEND_SEND_UNPACK: u32 = 165;
471pub const ZEND_POW: u32 = 166;
472pub const ZEND_ASSIGN_POW: u32 = 167;
473pub const ZEND_BIND_GLOBAL: u32 = 168;
474pub const ZEND_COALESCE: u32 = 169;
475pub const ZEND_SPACESHIP: u32 = 170;
476pub const ZEND_DECLARE_ANON_CLASS: u32 = 171;
477pub const ZEND_DECLARE_ANON_INHERITED_CLASS: u32 = 172;
478pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
479pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
480pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
481pub const ZEND_FETCH_CLASS_STATIC: u32 = 3;
482pub const ZEND_FETCH_CLASS_AUTO: u32 = 4;
483pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 5;
484pub const ZEND_FETCH_CLASS_TRAIT: u32 = 6;
485pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
486pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
487pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
488pub const ZEND_FETCH_CLASS_EXCEPTION: u32 = 512;
489pub const ZEND_PARSED_MEMBER: u32 = 1;
490pub const ZEND_PARSED_METHOD_CALL: u32 = 2;
491pub const ZEND_PARSED_STATIC_MEMBER: u32 = 4;
492pub const ZEND_PARSED_FUNCTION_CALL: u32 = 8;
493pub const ZEND_PARSED_VARIABLE: u32 = 16;
494pub const ZEND_PARSED_REFERENCE_VARIABLE: u32 = 32;
495pub const ZEND_PARSED_NEW: u32 = 64;
496pub const ZEND_PARSED_LIST_EXPR: u32 = 128;
497pub const ZEND_PARAM_REF: u32 = 1;
498pub const ZEND_PARAM_VARIADIC: u32 = 2;
499pub const ZEND_NAME_FQ: u32 = 0;
500pub const ZEND_NAME_NOT_FQ: u32 = 1;
501pub const ZEND_NAME_RELATIVE: u32 = 2;
502pub const ZEND_UNSET_REG: u32 = 0;
503pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
504pub const ZEND_USER_FUNCTION: u32 = 2;
505pub const ZEND_OVERLOADED_FUNCTION: u32 = 3;
506pub const ZEND_EVAL_CODE: u32 = 4;
507pub const ZEND_OVERLOADED_FUNCTION_TEMPORARY: u32 = 5;
508pub const ZEND_INTERNAL_CLASS: u32 = 1;
509pub const ZEND_USER_CLASS: u32 = 2;
510pub const ZEND_EVAL: u32 = 1;
511pub const ZEND_INCLUDE: u32 = 2;
512pub const ZEND_INCLUDE_ONCE: u32 = 4;
513pub const ZEND_REQUIRE: u32 = 8;
514pub const ZEND_REQUIRE_ONCE: u32 = 16;
515pub const ZEND_CT: u32 = 1;
516pub const ZEND_RT: u32 = 2;
517pub const ZEND_FETCH_GLOBAL: u32 = 0;
518pub const ZEND_FETCH_LOCAL: u32 = 268435456;
519pub const ZEND_FETCH_STATIC: u32 = 536870912;
520pub const ZEND_FETCH_STATIC_MEMBER: u32 = 805306368;
521pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 1073741824;
522pub const ZEND_FETCH_LEXICAL: u32 = 1342177280;
523pub const ZEND_FETCH_TYPE_MASK: u32 = 1879048192;
524pub const ZEND_FETCH_STANDARD: u32 = 0;
525pub const ZEND_ISSET: u32 = 33554432;
526pub const ZEND_ISEMPTY: u32 = 16777216;
527pub const ZEND_ISSET_ISEMPTY_MASK: u32 = 50331648;
528pub const ZEND_QUICK_SET: u32 = 8388608;
529pub const ZEND_FETCH_ARG_MASK: u32 = 1048575;
530pub const ZEND_FREE_ON_RETURN: u32 = 1;
531pub const ZEND_MEMBER_FUNC_CALL: u32 = 1;
532pub const ZEND_ARG_SEND_BY_REF: u32 = 1;
533pub const ZEND_ARG_COMPILE_TIME_BOUND: u32 = 2;
534pub const ZEND_ARG_SEND_FUNCTION: u32 = 4;
535pub const ZEND_ARG_SEND_SILENT: u32 = 8;
536pub const ZEND_SEND_BY_VAL: u32 = 0;
537pub const ZEND_SEND_BY_REF: u32 = 1;
538pub const ZEND_SEND_PREFER_REF: u32 = 2;
539pub const ZEND_DIM_IS: u32 = 1;
540pub const ZEND_RETURN_VAL: u32 = 0;
541pub const ZEND_RETURN_REF: u32 = 1;
542pub const ZEND_RETURNS_FUNCTION: u32 = 1;
543pub const ZEND_RETURNS_VALUE: u32 = 2;
544pub const ZEND_FAST_RET_TO_CATCH: u32 = 1;
545pub const ZEND_FAST_RET_TO_FINALLY: u32 = 2;
546pub const ZEND_FAST_CALL_FROM_FINALLY: u32 = 1;
547pub const ZEND_ARRAY_ELEMENT_REF: u32 = 1;
548pub const ZEND_ARRAY_NOT_PACKED: u32 = 2;
549pub const ZEND_ARRAY_SIZE_SHIFT: u32 = 2;
550pub const ZEND_GOTO: u32 = 253;
551pub const ZEND_BRK: u32 = 254;
552pub const ZEND_CONT: u32 = 255;
553pub const ZEND_CLONE_FUNC_NAME: &'static [u8; 8usize] = b"__clone\0";
554pub const ZEND_CONSTRUCTOR_FUNC_NAME: &'static [u8; 12usize] = b"__construct\0";
555pub const ZEND_DESTRUCTOR_FUNC_NAME: &'static [u8; 11usize] = b"__destruct\0";
556pub const ZEND_GET_FUNC_NAME: &'static [u8; 6usize] = b"__get\0";
557pub const ZEND_SET_FUNC_NAME: &'static [u8; 6usize] = b"__set\0";
558pub const ZEND_UNSET_FUNC_NAME: &'static [u8; 8usize] = b"__unset\0";
559pub const ZEND_ISSET_FUNC_NAME: &'static [u8; 8usize] = b"__isset\0";
560pub const ZEND_CALL_FUNC_NAME: &'static [u8; 7usize] = b"__call\0";
561pub const ZEND_CALLSTATIC_FUNC_NAME: &'static [u8; 13usize] = b"__callstatic\0";
562pub const ZEND_TOSTRING_FUNC_NAME: &'static [u8; 11usize] = b"__tostring\0";
563pub const ZEND_AUTOLOAD_FUNC_NAME: &'static [u8; 11usize] = b"__autoload\0";
564pub const ZEND_INVOKE_FUNC_NAME: &'static [u8; 9usize] = b"__invoke\0";
565pub const ZEND_DEBUGINFO_FUNC_NAME: &'static [u8; 12usize] = b"__debuginfo\0";
566pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 1;
567pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 2;
568pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 4;
569pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 8;
570pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 16;
571pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 32;
572pub const ZEND_COMPILE_NO_BUILTIN_STRLEN: u32 = 64;
573pub const ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION: u32 = 128;
574pub const ZEND_COMPILE_IGNORE_USER_FUNCTIONS: u32 = 256;
575pub const ZEND_COMPILE_GUARDS: u32 = 512;
576pub const ZEND_COMPILE_NO_BUILTINS: u32 = 1024;
577pub const ZEND_COMPILE_DEFAULT: u32 = 2;
578pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
579pub const ZEND_BUILD_TS: &'static [u8; 5usize] = b",NTS\0";
580pub const ZEND_MODULE_API_NO: u32 = 20151012;
581pub const USING_ZTS: u32 = 0;
582pub const MODULE_PERSISTENT: u32 = 1;
583pub const MODULE_TEMPORARY: u32 = 2;
584pub const MODULE_DEP_REQUIRED: u32 = 1;
585pub const MODULE_DEP_CONFLICTS: u32 = 2;
586pub const MODULE_DEP_OPTIONAL: u32 = 3;
587pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
588pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
589pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
590pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
591pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
592pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
593pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
594pub const ZEND_PARSE_PARAMS_THROW: u32 = 4;
595pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
596pub const IS_CALLABLE_CHECK_NO_ACCESS: u32 = 2;
597pub const IS_CALLABLE_CHECK_IS_STATIC: u32 = 4;
598pub const IS_CALLABLE_CHECK_SILENT: u32 = 8;
599pub const IS_CALLABLE_STRICT: u32 = 4;
600pub const PHP_DEBUG: u32 = 0;
601pub const PHP_DIR_SEPARATOR: u8 = 47u8;
602pub const PHP_EOL: &'static [u8; 2usize] = b"\n\0";
603pub const PHP_ADA_INCLUDE: &'static [u8; 1usize] = b"\0";
604pub const PHP_ADA_LFLAGS: &'static [u8; 1usize] = b"\0";
605pub const PHP_ADA_LIBS: &'static [u8; 1usize] = b"\0";
606pub const PHP_APACHE_INCLUDE: &'static [u8; 1usize] = b"\0";
607pub const PHP_APACHE_TARGET: &'static [u8; 1usize] = b"\0";
608pub const PHP_FHTTPD_INCLUDE: &'static [u8; 1usize] = b"\0";
609pub const PHP_FHTTPD_LIB: &'static [u8; 1usize] = b"\0";
610pub const PHP_FHTTPD_TARGET: &'static [u8; 1usize] = b"\0";
611pub const PHP_CFLAGS: &'static [u8; 40usize] = b"$(CFLAGS_CLEAN) -prefer-non-pic -static\0";
612pub const PHP_DBASE_LIB: &'static [u8; 1usize] = b"\0";
613pub const PHP_BUILD_DEBUG: &'static [u8; 1usize] = b"\0";
614pub const PHP_GDBM_INCLUDE: &'static [u8; 1usize] = b"\0";
615pub const PHP_IBASE_INCLUDE: &'static [u8; 1usize] = b"\0";
616pub const PHP_IBASE_LFLAGS: &'static [u8; 1usize] = b"\0";
617pub const PHP_IBASE_LIBS: &'static [u8; 1usize] = b"\0";
618pub const PHP_IFX_INCLUDE: &'static [u8; 1usize] = b"\0";
619pub const PHP_IFX_LFLAGS: &'static [u8; 1usize] = b"\0";
620pub const PHP_IFX_LIBS: &'static [u8; 1usize] = b"\0";
621pub const PHP_INSTALL_IT: &'static [u8; 1usize] = b"\0";
622pub const PHP_IODBC_INCLUDE: &'static [u8; 1usize] = b"\0";
623pub const PHP_IODBC_LFLAGS: &'static [u8; 1usize] = b"\0";
624pub const PHP_IODBC_LIBS: &'static [u8; 1usize] = b"\0";
625pub const PHP_MSQL_INCLUDE: &'static [u8; 1usize] = b"\0";
626pub const PHP_MSQL_LFLAGS: &'static [u8; 1usize] = b"\0";
627pub const PHP_MSQL_LIBS: &'static [u8; 1usize] = b"\0";
628pub const PHP_MYSQL_INCLUDE: &'static [u8; 16usize] = b"@MYSQL_INCLUDE@\0";
629pub const PHP_MYSQL_LIBS: &'static [u8; 13usize] = b"@MYSQL_LIBS@\0";
630pub const PHP_MYSQL_TYPE: &'static [u8; 20usize] = b"@MYSQL_MODULE_TYPE@\0";
631pub const PHP_ODBC_INCLUDE: &'static [u8; 1usize] = b"\0";
632pub const PHP_ODBC_LFLAGS: &'static [u8; 1usize] = b"\0";
633pub const PHP_ODBC_LIBS: &'static [u8; 1usize] = b"\0";
634pub const PHP_ODBC_TYPE: &'static [u8; 1usize] = b"\0";
635pub const PHP_OCI8_SHARED_LIBADD: &'static [u8; 1usize] = b"\0";
636pub const PHP_OCI8_DIR: &'static [u8; 1usize] = b"\0";
637pub const PHP_OCI8_ORACLE_VERSION: &'static [u8; 1usize] = b"\0";
638pub const PHP_ORACLE_SHARED_LIBADD: &'static [u8; 23usize] = b"@ORACLE_SHARED_LIBADD@\0";
639pub const PHP_ORACLE_DIR: &'static [u8; 13usize] = b"@ORACLE_DIR@\0";
640pub const PHP_ORACLE_VERSION: &'static [u8; 17usize] = b"@ORACLE_VERSION@\0";
641pub const PHP_PGSQL_INCLUDE: &'static [u8; 1usize] = b"\0";
642pub const PHP_PGSQL_LFLAGS: &'static [u8; 1usize] = b"\0";
643pub const PHP_PGSQL_LIBS: &'static [u8; 1usize] = b"\0";
644pub const PHP_PROG_SENDMAIL: &'static [u8; 19usize] = b"/usr/sbin/sendmail\0";
645pub const PHP_SOLID_INCLUDE: &'static [u8; 1usize] = b"\0";
646pub const PHP_SOLID_LIBS: &'static [u8; 1usize] = b"\0";
647pub const PHP_EMPRESS_INCLUDE: &'static [u8; 1usize] = b"\0";
648pub const PHP_EMPRESS_LIBS: &'static [u8; 1usize] = b"\0";
649pub const PHP_SYBASE_INCLUDE: &'static [u8; 1usize] = b"\0";
650pub const PHP_SYBASE_LFLAGS: &'static [u8; 1usize] = b"\0";
651pub const PHP_SYBASE_LIBS: &'static [u8; 1usize] = b"\0";
652pub const PHP_DBM_TYPE: &'static [u8; 1usize] = b"\0";
653pub const PHP_DBM_LIB: &'static [u8; 1usize] = b"\0";
654pub const PHP_LDAP_LFLAGS: &'static [u8; 1usize] = b"\0";
655pub const PHP_LDAP_INCLUDE: &'static [u8; 1usize] = b"\0";
656pub const PHP_LDAP_LIBS: &'static [u8; 1usize] = b"\0";
657pub const PHP_BIRDSTEP_INCLUDE: &'static [u8; 1usize] = b"\0";
658pub const PHP_BIRDSTEP_LIBS: &'static [u8; 1usize] = b"\0";
659pub const PHP_INCLUDE_PATH: &'static [u8; 17usize] = b".:/usr/share/php\0";
660pub const PHP_EXTENSION_DIR: &'static [u8; 22usize] = b"/usr/lib/php/20151012\0";
661pub const PHP_PREFIX: &'static [u8; 5usize] = b"/usr\0";
662pub const PHP_BINDIR: &'static [u8; 9usize] = b"/usr/bin\0";
663pub const PHP_SBINDIR: &'static [u8; 10usize] = b"/usr/sbin\0";
664pub const PHP_MANDIR: &'static [u8; 15usize] = b"/usr/share/man\0";
665pub const PHP_LIBDIR: &'static [u8; 13usize] = b"/usr/lib/php\0";
666pub const PHP_DATADIR: &'static [u8; 19usize] = b"/usr/share/php/7.0\0";
667pub const PHP_SYSCONFDIR: &'static [u8; 5usize] = b"/etc\0";
668pub const PHP_LOCALSTATEDIR: &'static [u8; 5usize] = b"/var\0";
669pub const PHP_CONFIG_FILE_PATH: &'static [u8; 17usize] = b"/etc/php/7.0/cli\0";
670pub const PHP_CONFIG_FILE_SCAN_DIR: &'static [u8; 24usize] = b"/etc/php/7.0/cli/conf.d\0";
671pub const PHP_SHLIB_SUFFIX: &'static [u8; 3usize] = b"so\0";
672pub const PHP_MIME_TYPE: &'static [u8; 24usize] = b"application/x-httpd-php\0";
673pub const PHP_OUTPUT_NEWAPI: u32 = 1;
674pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
675pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
676pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
677pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
678pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
679pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
680pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
681pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
682pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
683pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
684pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
685pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
686pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
687pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
688pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
689pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
690pub const PHP_OUTPUT_POP_TRY: u32 = 0;
691pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
692pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
693pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
694pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
695pub const PHP_OUTPUT_DISABLED: u32 = 2;
696pub const PHP_OUTPUT_WRITTEN: u32 = 4;
697pub const PHP_OUTPUT_SENT: u32 = 8;
698pub const PHP_OUTPUT_ACTIVE: u32 = 16;
699pub const PHP_OUTPUT_LOCKED: u32 = 32;
700pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
701pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
702pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
703pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
704pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
705pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
706pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
707pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
708pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
709pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
710pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
711pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
712pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
713pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
714pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
715pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
716pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
717pub const PHP_STREAM_FILTER_READ: u32 = 1;
718pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
719pub const PHP_STREAM_FILTER_ALL: u32 = 3;
720pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
721pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
722pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
723pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
724pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
725pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
726pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
727pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
728pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
729pub const PHP_STREAM_FLAG_WAS_WRITTEN: u32 = 2147483648;
730pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
731pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
732pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
733pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
734pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
735pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
736pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
737pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
738pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
739pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
740pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
741pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
742pub const PHP_STREAM_FREE_KEEP_RSRC: u32 = 64;
743pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
744pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
745pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
746pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
747pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
748pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
749pub const PHP_STREAM_URL_STAT_NOCACHE: u32 = 4;
750pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
751pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
752pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
753pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
754pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
755pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
756pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
757pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
758pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
759pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
760pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
761pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
762pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
763pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
764pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
765pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
766pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
767pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
768pub const PHP_STREAM_OPTION_PIPE_BLOCKING: u32 = 13;
769pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
770pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
771pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
772pub const PHP_STREAM_MMAP_ALL: u32 = 0;
773pub const PHP_STREAM_AS_STDIO: u32 = 0;
774pub const PHP_STREAM_AS_FD: u32 = 1;
775pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
776pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
777pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
778pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
779pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
780pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
781pub const PHP_STREAM_UNCHANGED: u32 = 0;
782pub const PHP_STREAM_RELEASED: u32 = 1;
783pub const PHP_STREAM_FAILED: u32 = 2;
784pub const PHP_STREAM_CRITICAL: u32 = 3;
785pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
786pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
787pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
788pub const PHP_STREAM_IS_URL: u32 = 1;
789pub const PHP_STREAM_META_TOUCH: u32 = 1;
790pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
791pub const PHP_STREAM_META_OWNER: u32 = 3;
792pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
793pub const PHP_STREAM_META_GROUP: u32 = 5;
794pub const PHP_STREAM_META_ACCESS: u32 = 6;
795pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
796pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
797pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
798pub const ZEND_INI_USER: u32 = 1;
799pub const ZEND_INI_PERDIR: u32 = 2;
800pub const ZEND_INI_SYSTEM: u32 = 4;
801pub const ZEND_INI_ALL: u32 = 7;
802pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
803pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
804pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
805pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
806pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
807pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
808pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
809pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
810pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
811pub const ZEND_INI_PARSER_SECTION: u32 = 2;
812pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
813pub const PHP_INI_USER: u32 = 1;
814pub const PHP_INI_PERDIR: u32 = 2;
815pub const PHP_INI_SYSTEM: u32 = 4;
816pub const PHP_INI_ALL: u32 = 7;
817pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
818pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
819pub const PHP_INI_STAGE_STARTUP: u32 = 1;
820pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
821pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
822pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
823pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
824pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
825pub const PHP_CONNECTION_NORMAL: u32 = 0;
826pub const PHP_CONNECTION_ABORTED: u32 = 1;
827pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
828pub const PHP_ENTRY_NAME_COLOR: &'static [u8; 5usize] = b"#ccf\0";
829pub const PHP_CONTENTS_COLOR: &'static [u8; 5usize] = b"#ccc\0";
830pub const PHP_HEADER_COLOR: &'static [u8; 5usize] = b"#99c\0";
831pub const PHP_INFO_GENERAL: u32 = 1;
832pub const PHP_INFO_CREDITS: u32 = 2;
833pub const PHP_INFO_CONFIGURATION: u32 = 4;
834pub const PHP_INFO_MODULES: u32 = 8;
835pub const PHP_INFO_ENVIRONMENT: u32 = 16;
836pub const PHP_INFO_VARIABLES: u32 = 32;
837pub const PHP_INFO_LICENSE: u32 = 64;
838pub const PHP_INFO_ALL: u32 = 4294967295;
839pub const PHP_CREDITS_GROUP: u32 = 1;
840pub const PHP_CREDITS_GENERAL: u32 = 2;
841pub const PHP_CREDITS_SAPI: u32 = 4;
842pub const PHP_CREDITS_MODULES: u32 = 8;
843pub const PHP_CREDITS_DOCS: u32 = 16;
844pub const PHP_CREDITS_FULLPAGE: u32 = 32;
845pub const PHP_CREDITS_QA: u32 = 64;
846pub const PHP_CREDITS_WEB: u32 = 128;
847pub const PHP_CREDITS_ALL: u32 = 4294967295;
848pub const PHP_LOGO_DATA_URI : & '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" ;
849pub 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" ;
850pub 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" ;
851pub const ZEND_EXTENSION_API_NO: u32 = 320151012;
852pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
853pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_CTOR: u32 = 1;
854pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_DTOR: u32 = 2;
855pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_HANDLER: u32 = 4;
856pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST_CALC: u32 = 8;
857pub const ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST: u32 = 16;
858pub type size_t = ::std::os::raw::c_ulong;
859pub type __uint16_t = ::std::os::raw::c_ushort;
860pub type __uint32_t = ::std::os::raw::c_uint;
861pub type __int64_t = ::std::os::raw::c_long;
862pub type __uint64_t = ::std::os::raw::c_ulong;
863pub type __dev_t = ::std::os::raw::c_ulong;
864pub type __uid_t = ::std::os::raw::c_uint;
865pub type __gid_t = ::std::os::raw::c_uint;
866pub type __ino_t = ::std::os::raw::c_ulong;
867pub type __mode_t = ::std::os::raw::c_uint;
868pub type __nlink_t = ::std::os::raw::c_ulong;
869pub type __off_t = ::std::os::raw::c_long;
870pub type __off64_t = ::std::os::raw::c_long;
871pub type __time_t = ::std::os::raw::c_long;
872pub type __suseconds_t = ::std::os::raw::c_long;
873pub type __blksize_t = ::std::os::raw::c_long;
874pub type __blkcnt_t = ::std::os::raw::c_long;
875pub type __syscall_slong_t = ::std::os::raw::c_long;
876pub type __socklen_t = ::std::os::raw::c_uint;
877pub type time_t = __time_t;
878pub type uint = ::std::os::raw::c_uint;
879#[repr(C)]
880#[derive(Debug, Copy, Clone)]
881pub struct __sigset_t {
882 pub __val: [::std::os::raw::c_ulong; 16usize],
883}
884#[test]
885fn bindgen_test_layout___sigset_t() {
886 assert_eq!(
887 ::std::mem::size_of::<__sigset_t>(),
888 128usize,
889 concat!("Size of: ", stringify!(__sigset_t))
890 );
891 assert_eq!(
892 ::std::mem::align_of::<__sigset_t>(),
893 8usize,
894 concat!("Alignment of ", stringify!(__sigset_t))
895 );
896 assert_eq!(
897 unsafe { &(*(::std::ptr::null::<__sigset_t>())).__val as *const _ as usize },
898 0usize,
899 concat!(
900 "Offset of field: ",
901 stringify!(__sigset_t),
902 "::",
903 stringify!(__val)
904 )
905 );
906}
907#[repr(C)]
908#[derive(Debug, Copy, Clone)]
909pub struct timeval {
910 pub tv_sec: __time_t,
911 pub tv_usec: __suseconds_t,
912}
913#[test]
914fn bindgen_test_layout_timeval() {
915 assert_eq!(
916 ::std::mem::size_of::<timeval>(),
917 16usize,
918 concat!("Size of: ", stringify!(timeval))
919 );
920 assert_eq!(
921 ::std::mem::align_of::<timeval>(),
922 8usize,
923 concat!("Alignment of ", stringify!(timeval))
924 );
925 assert_eq!(
926 unsafe { &(*(::std::ptr::null::<timeval>())).tv_sec as *const _ as usize },
927 0usize,
928 concat!(
929 "Offset of field: ",
930 stringify!(timeval),
931 "::",
932 stringify!(tv_sec)
933 )
934 );
935 assert_eq!(
936 unsafe { &(*(::std::ptr::null::<timeval>())).tv_usec as *const _ as usize },
937 8usize,
938 concat!(
939 "Offset of field: ",
940 stringify!(timeval),
941 "::",
942 stringify!(tv_usec)
943 )
944 );
945}
946#[repr(C)]
947#[derive(Debug, Copy, Clone)]
948pub struct timespec {
949 pub tv_sec: __time_t,
950 pub tv_nsec: __syscall_slong_t,
951}
952#[test]
953fn bindgen_test_layout_timespec() {
954 assert_eq!(
955 ::std::mem::size_of::<timespec>(),
956 16usize,
957 concat!("Size of: ", stringify!(timespec))
958 );
959 assert_eq!(
960 ::std::mem::align_of::<timespec>(),
961 8usize,
962 concat!("Alignment of ", stringify!(timespec))
963 );
964 assert_eq!(
965 unsafe { &(*(::std::ptr::null::<timespec>())).tv_sec as *const _ as usize },
966 0usize,
967 concat!(
968 "Offset of field: ",
969 stringify!(timespec),
970 "::",
971 stringify!(tv_sec)
972 )
973 );
974 assert_eq!(
975 unsafe { &(*(::std::ptr::null::<timespec>())).tv_nsec as *const _ as usize },
976 8usize,
977 concat!(
978 "Offset of field: ",
979 stringify!(timespec),
980 "::",
981 stringify!(tv_nsec)
982 )
983 );
984}
985pub type va_list = __builtin_va_list;
986pub type FILE = _IO_FILE;
987#[repr(C)]
988#[derive(Debug, Copy, Clone)]
989pub struct _IO_marker {
990 _unused: [u8; 0],
991}
992#[repr(C)]
993#[derive(Debug, Copy, Clone)]
994pub struct _IO_codecvt {
995 _unused: [u8; 0],
996}
997#[repr(C)]
998#[derive(Debug, Copy, Clone)]
999pub struct _IO_wide_data {
1000 _unused: [u8; 0],
1001}
1002pub type _IO_lock_t = ::std::os::raw::c_void;
1003#[repr(C)]
1004#[derive(Debug, Copy, Clone)]
1005pub struct _IO_FILE {
1006 pub _flags: ::std::os::raw::c_int,
1007 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
1008 pub _IO_read_end: *mut ::std::os::raw::c_char,
1009 pub _IO_read_base: *mut ::std::os::raw::c_char,
1010 pub _IO_write_base: *mut ::std::os::raw::c_char,
1011 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
1012 pub _IO_write_end: *mut ::std::os::raw::c_char,
1013 pub _IO_buf_base: *mut ::std::os::raw::c_char,
1014 pub _IO_buf_end: *mut ::std::os::raw::c_char,
1015 pub _IO_save_base: *mut ::std::os::raw::c_char,
1016 pub _IO_backup_base: *mut ::std::os::raw::c_char,
1017 pub _IO_save_end: *mut ::std::os::raw::c_char,
1018 pub _markers: *mut _IO_marker,
1019 pub _chain: *mut _IO_FILE,
1020 pub _fileno: ::std::os::raw::c_int,
1021 pub _flags2: ::std::os::raw::c_int,
1022 pub _old_offset: __off_t,
1023 pub _cur_column: ::std::os::raw::c_ushort,
1024 pub _vtable_offset: ::std::os::raw::c_schar,
1025 pub _shortbuf: [::std::os::raw::c_char; 1usize],
1026 pub _lock: *mut _IO_lock_t,
1027 pub _offset: __off64_t,
1028 pub _codecvt: *mut _IO_codecvt,
1029 pub _wide_data: *mut _IO_wide_data,
1030 pub _freeres_list: *mut _IO_FILE,
1031 pub _freeres_buf: *mut ::std::os::raw::c_void,
1032 pub __pad5: size_t,
1033 pub _mode: ::std::os::raw::c_int,
1034 pub _unused2: [::std::os::raw::c_char; 20usize],
1035}
1036#[test]
1037fn bindgen_test_layout__IO_FILE() {
1038 assert_eq!(
1039 ::std::mem::size_of::<_IO_FILE>(),
1040 216usize,
1041 concat!("Size of: ", stringify!(_IO_FILE))
1042 );
1043 assert_eq!(
1044 ::std::mem::align_of::<_IO_FILE>(),
1045 8usize,
1046 concat!("Alignment of ", stringify!(_IO_FILE))
1047 );
1048 assert_eq!(
1049 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags as *const _ as usize },
1050 0usize,
1051 concat!(
1052 "Offset of field: ",
1053 stringify!(_IO_FILE),
1054 "::",
1055 stringify!(_flags)
1056 )
1057 );
1058 assert_eq!(
1059 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize },
1060 8usize,
1061 concat!(
1062 "Offset of field: ",
1063 stringify!(_IO_FILE),
1064 "::",
1065 stringify!(_IO_read_ptr)
1066 )
1067 );
1068 assert_eq!(
1069 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize },
1070 16usize,
1071 concat!(
1072 "Offset of field: ",
1073 stringify!(_IO_FILE),
1074 "::",
1075 stringify!(_IO_read_end)
1076 )
1077 );
1078 assert_eq!(
1079 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize },
1080 24usize,
1081 concat!(
1082 "Offset of field: ",
1083 stringify!(_IO_FILE),
1084 "::",
1085 stringify!(_IO_read_base)
1086 )
1087 );
1088 assert_eq!(
1089 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize },
1090 32usize,
1091 concat!(
1092 "Offset of field: ",
1093 stringify!(_IO_FILE),
1094 "::",
1095 stringify!(_IO_write_base)
1096 )
1097 );
1098 assert_eq!(
1099 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize },
1100 40usize,
1101 concat!(
1102 "Offset of field: ",
1103 stringify!(_IO_FILE),
1104 "::",
1105 stringify!(_IO_write_ptr)
1106 )
1107 );
1108 assert_eq!(
1109 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize },
1110 48usize,
1111 concat!(
1112 "Offset of field: ",
1113 stringify!(_IO_FILE),
1114 "::",
1115 stringify!(_IO_write_end)
1116 )
1117 );
1118 assert_eq!(
1119 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize },
1120 56usize,
1121 concat!(
1122 "Offset of field: ",
1123 stringify!(_IO_FILE),
1124 "::",
1125 stringify!(_IO_buf_base)
1126 )
1127 );
1128 assert_eq!(
1129 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize },
1130 64usize,
1131 concat!(
1132 "Offset of field: ",
1133 stringify!(_IO_FILE),
1134 "::",
1135 stringify!(_IO_buf_end)
1136 )
1137 );
1138 assert_eq!(
1139 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize },
1140 72usize,
1141 concat!(
1142 "Offset of field: ",
1143 stringify!(_IO_FILE),
1144 "::",
1145 stringify!(_IO_save_base)
1146 )
1147 );
1148 assert_eq!(
1149 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize },
1150 80usize,
1151 concat!(
1152 "Offset of field: ",
1153 stringify!(_IO_FILE),
1154 "::",
1155 stringify!(_IO_backup_base)
1156 )
1157 );
1158 assert_eq!(
1159 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize },
1160 88usize,
1161 concat!(
1162 "Offset of field: ",
1163 stringify!(_IO_FILE),
1164 "::",
1165 stringify!(_IO_save_end)
1166 )
1167 );
1168 assert_eq!(
1169 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize },
1170 96usize,
1171 concat!(
1172 "Offset of field: ",
1173 stringify!(_IO_FILE),
1174 "::",
1175 stringify!(_markers)
1176 )
1177 );
1178 assert_eq!(
1179 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize },
1180 104usize,
1181 concat!(
1182 "Offset of field: ",
1183 stringify!(_IO_FILE),
1184 "::",
1185 stringify!(_chain)
1186 )
1187 );
1188 assert_eq!(
1189 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize },
1190 112usize,
1191 concat!(
1192 "Offset of field: ",
1193 stringify!(_IO_FILE),
1194 "::",
1195 stringify!(_fileno)
1196 )
1197 );
1198 assert_eq!(
1199 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize },
1200 116usize,
1201 concat!(
1202 "Offset of field: ",
1203 stringify!(_IO_FILE),
1204 "::",
1205 stringify!(_flags2)
1206 )
1207 );
1208 assert_eq!(
1209 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize },
1210 120usize,
1211 concat!(
1212 "Offset of field: ",
1213 stringify!(_IO_FILE),
1214 "::",
1215 stringify!(_old_offset)
1216 )
1217 );
1218 assert_eq!(
1219 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize },
1220 128usize,
1221 concat!(
1222 "Offset of field: ",
1223 stringify!(_IO_FILE),
1224 "::",
1225 stringify!(_cur_column)
1226 )
1227 );
1228 assert_eq!(
1229 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize },
1230 130usize,
1231 concat!(
1232 "Offset of field: ",
1233 stringify!(_IO_FILE),
1234 "::",
1235 stringify!(_vtable_offset)
1236 )
1237 );
1238 assert_eq!(
1239 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize },
1240 131usize,
1241 concat!(
1242 "Offset of field: ",
1243 stringify!(_IO_FILE),
1244 "::",
1245 stringify!(_shortbuf)
1246 )
1247 );
1248 assert_eq!(
1249 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize },
1250 136usize,
1251 concat!(
1252 "Offset of field: ",
1253 stringify!(_IO_FILE),
1254 "::",
1255 stringify!(_lock)
1256 )
1257 );
1258 assert_eq!(
1259 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize },
1260 144usize,
1261 concat!(
1262 "Offset of field: ",
1263 stringify!(_IO_FILE),
1264 "::",
1265 stringify!(_offset)
1266 )
1267 );
1268 assert_eq!(
1269 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize },
1270 152usize,
1271 concat!(
1272 "Offset of field: ",
1273 stringify!(_IO_FILE),
1274 "::",
1275 stringify!(_codecvt)
1276 )
1277 );
1278 assert_eq!(
1279 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize },
1280 160usize,
1281 concat!(
1282 "Offset of field: ",
1283 stringify!(_IO_FILE),
1284 "::",
1285 stringify!(_wide_data)
1286 )
1287 );
1288 assert_eq!(
1289 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize },
1290 168usize,
1291 concat!(
1292 "Offset of field: ",
1293 stringify!(_IO_FILE),
1294 "::",
1295 stringify!(_freeres_list)
1296 )
1297 );
1298 assert_eq!(
1299 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize },
1300 176usize,
1301 concat!(
1302 "Offset of field: ",
1303 stringify!(_IO_FILE),
1304 "::",
1305 stringify!(_freeres_buf)
1306 )
1307 );
1308 assert_eq!(
1309 unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize },
1310 184usize,
1311 concat!(
1312 "Offset of field: ",
1313 stringify!(_IO_FILE),
1314 "::",
1315 stringify!(__pad5)
1316 )
1317 );
1318 assert_eq!(
1319 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize },
1320 192usize,
1321 concat!(
1322 "Offset of field: ",
1323 stringify!(_IO_FILE),
1324 "::",
1325 stringify!(_mode)
1326 )
1327 );
1328 assert_eq!(
1329 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize },
1330 196usize,
1331 concat!(
1332 "Offset of field: ",
1333 stringify!(_IO_FILE),
1334 "::",
1335 stringify!(_unused2)
1336 )
1337 );
1338}
1339pub type zend_long = i64;
1340pub type zend_ulong = u64;
1341pub type zend_off_t = i64;
1342pub type zend_bool = ::std::os::raw::c_uchar;
1343pub type zend_uchar = ::std::os::raw::c_uchar;
1344pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
1345pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
1346pub type ZEND_RESULT_CODE = ::std::os::raw::c_int;
1347pub type zend_intptr_t = isize;
1348pub type zend_uintptr_t = usize;
1349pub type zend_object_handlers = _zend_object_handlers;
1350pub type zend_class_entry = _zend_class_entry;
1351pub type zend_function = _zend_function;
1352pub type zend_execute_data = _zend_execute_data;
1353pub type zval = _zval_struct;
1354pub type zend_refcounted = _zend_refcounted;
1355pub type zend_string = _zend_string;
1356pub type zend_array = _zend_array;
1357pub type zend_object = _zend_object;
1358pub type zend_resource = _zend_resource;
1359pub type zend_reference = _zend_reference;
1360pub type zend_ast_ref = _zend_ast_ref;
1361pub type zend_ast = _zend_ast;
1362pub type compare_func_t = ::std::option::Option<
1363 unsafe extern "C" fn(
1364 arg1: *const ::std::os::raw::c_void,
1365 arg2: *const ::std::os::raw::c_void,
1366 ) -> ::std::os::raw::c_int,
1367>;
1368pub type swap_func_t = ::std::option::Option<
1369 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void),
1370>;
1371pub type sort_func_t = ::std::option::Option<
1372 unsafe extern "C" fn(
1373 arg1: *mut ::std::os::raw::c_void,
1374 arg2: size_t,
1375 arg3: size_t,
1376 arg4: compare_func_t,
1377 arg5: swap_func_t,
1378 ),
1379>;
1380pub type dtor_func_t = ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval)>;
1381pub type copy_ctor_func_t = ::std::option::Option<unsafe extern "C" fn(pElement: *mut zval)>;
1382#[repr(C)]
1383#[derive(Copy, Clone)]
1384pub union _zend_value {
1385 pub lval: zend_long,
1386 pub dval: f64,
1387 pub counted: *mut zend_refcounted,
1388 pub str_: *mut zend_string,
1389 pub arr: *mut zend_array,
1390 pub obj: *mut zend_object,
1391 pub res: *mut zend_resource,
1392 pub ref_: *mut zend_reference,
1393 pub ast: *mut zend_ast_ref,
1394 pub zv: *mut zval,
1395 pub ptr: *mut ::std::os::raw::c_void,
1396 pub ce: *mut zend_class_entry,
1397 pub func: *mut zend_function,
1398 pub ww: _zend_value__bindgen_ty_1,
1399 _bindgen_union_align: u64,
1400}
1401#[repr(C)]
1402#[derive(Debug, Copy, Clone)]
1403pub struct _zend_value__bindgen_ty_1 {
1404 pub w1: u32,
1405 pub w2: u32,
1406}
1407#[test]
1408fn bindgen_test_layout__zend_value__bindgen_ty_1() {
1409 assert_eq!(
1410 ::std::mem::size_of::<_zend_value__bindgen_ty_1>(),
1411 8usize,
1412 concat!("Size of: ", stringify!(_zend_value__bindgen_ty_1))
1413 );
1414 assert_eq!(
1415 ::std::mem::align_of::<_zend_value__bindgen_ty_1>(),
1416 4usize,
1417 concat!("Alignment of ", stringify!(_zend_value__bindgen_ty_1))
1418 );
1419 assert_eq!(
1420 unsafe { &(*(::std::ptr::null::<_zend_value__bindgen_ty_1>())).w1 as *const _ as usize },
1421 0usize,
1422 concat!(
1423 "Offset of field: ",
1424 stringify!(_zend_value__bindgen_ty_1),
1425 "::",
1426 stringify!(w1)
1427 )
1428 );
1429 assert_eq!(
1430 unsafe { &(*(::std::ptr::null::<_zend_value__bindgen_ty_1>())).w2 as *const _ as usize },
1431 4usize,
1432 concat!(
1433 "Offset of field: ",
1434 stringify!(_zend_value__bindgen_ty_1),
1435 "::",
1436 stringify!(w2)
1437 )
1438 );
1439}
1440#[test]
1441fn bindgen_test_layout__zend_value() {
1442 assert_eq!(
1443 ::std::mem::size_of::<_zend_value>(),
1444 8usize,
1445 concat!("Size of: ", stringify!(_zend_value))
1446 );
1447 assert_eq!(
1448 ::std::mem::align_of::<_zend_value>(),
1449 8usize,
1450 concat!("Alignment of ", stringify!(_zend_value))
1451 );
1452 assert_eq!(
1453 unsafe { &(*(::std::ptr::null::<_zend_value>())).lval as *const _ as usize },
1454 0usize,
1455 concat!(
1456 "Offset of field: ",
1457 stringify!(_zend_value),
1458 "::",
1459 stringify!(lval)
1460 )
1461 );
1462 assert_eq!(
1463 unsafe { &(*(::std::ptr::null::<_zend_value>())).dval as *const _ as usize },
1464 0usize,
1465 concat!(
1466 "Offset of field: ",
1467 stringify!(_zend_value),
1468 "::",
1469 stringify!(dval)
1470 )
1471 );
1472 assert_eq!(
1473 unsafe { &(*(::std::ptr::null::<_zend_value>())).counted as *const _ as usize },
1474 0usize,
1475 concat!(
1476 "Offset of field: ",
1477 stringify!(_zend_value),
1478 "::",
1479 stringify!(counted)
1480 )
1481 );
1482 assert_eq!(
1483 unsafe { &(*(::std::ptr::null::<_zend_value>())).str_ as *const _ as usize },
1484 0usize,
1485 concat!(
1486 "Offset of field: ",
1487 stringify!(_zend_value),
1488 "::",
1489 stringify!(str_)
1490 )
1491 );
1492 assert_eq!(
1493 unsafe { &(*(::std::ptr::null::<_zend_value>())).arr as *const _ as usize },
1494 0usize,
1495 concat!(
1496 "Offset of field: ",
1497 stringify!(_zend_value),
1498 "::",
1499 stringify!(arr)
1500 )
1501 );
1502 assert_eq!(
1503 unsafe { &(*(::std::ptr::null::<_zend_value>())).obj as *const _ as usize },
1504 0usize,
1505 concat!(
1506 "Offset of field: ",
1507 stringify!(_zend_value),
1508 "::",
1509 stringify!(obj)
1510 )
1511 );
1512 assert_eq!(
1513 unsafe { &(*(::std::ptr::null::<_zend_value>())).res as *const _ as usize },
1514 0usize,
1515 concat!(
1516 "Offset of field: ",
1517 stringify!(_zend_value),
1518 "::",
1519 stringify!(res)
1520 )
1521 );
1522 assert_eq!(
1523 unsafe { &(*(::std::ptr::null::<_zend_value>())).ref_ as *const _ as usize },
1524 0usize,
1525 concat!(
1526 "Offset of field: ",
1527 stringify!(_zend_value),
1528 "::",
1529 stringify!(ref_)
1530 )
1531 );
1532 assert_eq!(
1533 unsafe { &(*(::std::ptr::null::<_zend_value>())).ast as *const _ as usize },
1534 0usize,
1535 concat!(
1536 "Offset of field: ",
1537 stringify!(_zend_value),
1538 "::",
1539 stringify!(ast)
1540 )
1541 );
1542 assert_eq!(
1543 unsafe { &(*(::std::ptr::null::<_zend_value>())).zv as *const _ as usize },
1544 0usize,
1545 concat!(
1546 "Offset of field: ",
1547 stringify!(_zend_value),
1548 "::",
1549 stringify!(zv)
1550 )
1551 );
1552 assert_eq!(
1553 unsafe { &(*(::std::ptr::null::<_zend_value>())).ptr as *const _ as usize },
1554 0usize,
1555 concat!(
1556 "Offset of field: ",
1557 stringify!(_zend_value),
1558 "::",
1559 stringify!(ptr)
1560 )
1561 );
1562 assert_eq!(
1563 unsafe { &(*(::std::ptr::null::<_zend_value>())).ce as *const _ as usize },
1564 0usize,
1565 concat!(
1566 "Offset of field: ",
1567 stringify!(_zend_value),
1568 "::",
1569 stringify!(ce)
1570 )
1571 );
1572 assert_eq!(
1573 unsafe { &(*(::std::ptr::null::<_zend_value>())).func as *const _ as usize },
1574 0usize,
1575 concat!(
1576 "Offset of field: ",
1577 stringify!(_zend_value),
1578 "::",
1579 stringify!(func)
1580 )
1581 );
1582 assert_eq!(
1583 unsafe { &(*(::std::ptr::null::<_zend_value>())).ww as *const _ as usize },
1584 0usize,
1585 concat!(
1586 "Offset of field: ",
1587 stringify!(_zend_value),
1588 "::",
1589 stringify!(ww)
1590 )
1591 );
1592}
1593pub type zend_value = _zend_value;
1594#[repr(C)]
1595#[derive(Copy, Clone)]
1596pub struct _zval_struct {
1597 pub value: zend_value,
1598 pub u1: _zval_struct__bindgen_ty_1,
1599 pub u2: _zval_struct__bindgen_ty_2,
1600}
1601#[repr(C)]
1602#[derive(Copy, Clone)]
1603pub union _zval_struct__bindgen_ty_1 {
1604 pub v: _zval_struct__bindgen_ty_1__bindgen_ty_1,
1605 pub type_info: u32,
1606 _bindgen_union_align: u32,
1607}
1608#[repr(C)]
1609#[derive(Debug, Copy, Clone)]
1610pub struct _zval_struct__bindgen_ty_1__bindgen_ty_1 {
1611 pub type_: zend_uchar,
1612 pub type_flags: zend_uchar,
1613 pub const_flags: zend_uchar,
1614 pub reserved: zend_uchar,
1615}
1616#[test]
1617fn bindgen_test_layout__zval_struct__bindgen_ty_1__bindgen_ty_1() {
1618 assert_eq!(
1619 ::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>(),
1620 4usize,
1621 concat!(
1622 "Size of: ",
1623 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1)
1624 )
1625 );
1626 assert_eq!(
1627 ::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>(),
1628 1usize,
1629 concat!(
1630 "Alignment of ",
1631 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1)
1632 )
1633 );
1634 assert_eq!(
1635 unsafe {
1636 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).type_ as *const _
1637 as usize
1638 },
1639 0usize,
1640 concat!(
1641 "Offset of field: ",
1642 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
1643 "::",
1644 stringify!(type_)
1645 )
1646 );
1647 assert_eq!(
1648 unsafe {
1649 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).type_flags
1650 as *const _ as usize
1651 },
1652 1usize,
1653 concat!(
1654 "Offset of field: ",
1655 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
1656 "::",
1657 stringify!(type_flags)
1658 )
1659 );
1660 assert_eq!(
1661 unsafe {
1662 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).const_flags
1663 as *const _ as usize
1664 },
1665 2usize,
1666 concat!(
1667 "Offset of field: ",
1668 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
1669 "::",
1670 stringify!(const_flags)
1671 )
1672 );
1673 assert_eq!(
1674 unsafe {
1675 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).reserved
1676 as *const _ as usize
1677 },
1678 3usize,
1679 concat!(
1680 "Offset of field: ",
1681 stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
1682 "::",
1683 stringify!(reserved)
1684 )
1685 );
1686}
1687#[test]
1688fn bindgen_test_layout__zval_struct__bindgen_ty_1() {
1689 assert_eq!(
1690 ::std::mem::size_of::<_zval_struct__bindgen_ty_1>(),
1691 4usize,
1692 concat!("Size of: ", stringify!(_zval_struct__bindgen_ty_1))
1693 );
1694 assert_eq!(
1695 ::std::mem::align_of::<_zval_struct__bindgen_ty_1>(),
1696 4usize,
1697 concat!("Alignment of ", stringify!(_zval_struct__bindgen_ty_1))
1698 );
1699 assert_eq!(
1700 unsafe { &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1>())).v as *const _ as usize },
1701 0usize,
1702 concat!(
1703 "Offset of field: ",
1704 stringify!(_zval_struct__bindgen_ty_1),
1705 "::",
1706 stringify!(v)
1707 )
1708 );
1709 assert_eq!(
1710 unsafe {
1711 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1>())).type_info as *const _ as usize
1712 },
1713 0usize,
1714 concat!(
1715 "Offset of field: ",
1716 stringify!(_zval_struct__bindgen_ty_1),
1717 "::",
1718 stringify!(type_info)
1719 )
1720 );
1721}
1722#[repr(C)]
1723#[derive(Copy, Clone)]
1724pub union _zval_struct__bindgen_ty_2 {
1725 pub var_flags: u32,
1726 pub next: u32,
1727 pub cache_slot: u32,
1728 pub lineno: u32,
1729 pub num_args: u32,
1730 pub fe_pos: u32,
1731 pub fe_iter_idx: u32,
1732 _bindgen_union_align: u32,
1733}
1734#[test]
1735fn bindgen_test_layout__zval_struct__bindgen_ty_2() {
1736 assert_eq!(
1737 ::std::mem::size_of::<_zval_struct__bindgen_ty_2>(),
1738 4usize,
1739 concat!("Size of: ", stringify!(_zval_struct__bindgen_ty_2))
1740 );
1741 assert_eq!(
1742 ::std::mem::align_of::<_zval_struct__bindgen_ty_2>(),
1743 4usize,
1744 concat!("Alignment of ", stringify!(_zval_struct__bindgen_ty_2))
1745 );
1746 assert_eq!(
1747 unsafe {
1748 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).var_flags as *const _ as usize
1749 },
1750 0usize,
1751 concat!(
1752 "Offset of field: ",
1753 stringify!(_zval_struct__bindgen_ty_2),
1754 "::",
1755 stringify!(var_flags)
1756 )
1757 );
1758 assert_eq!(
1759 unsafe { &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).next as *const _ as usize },
1760 0usize,
1761 concat!(
1762 "Offset of field: ",
1763 stringify!(_zval_struct__bindgen_ty_2),
1764 "::",
1765 stringify!(next)
1766 )
1767 );
1768 assert_eq!(
1769 unsafe {
1770 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).cache_slot as *const _ as usize
1771 },
1772 0usize,
1773 concat!(
1774 "Offset of field: ",
1775 stringify!(_zval_struct__bindgen_ty_2),
1776 "::",
1777 stringify!(cache_slot)
1778 )
1779 );
1780 assert_eq!(
1781 unsafe {
1782 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).lineno as *const _ as usize
1783 },
1784 0usize,
1785 concat!(
1786 "Offset of field: ",
1787 stringify!(_zval_struct__bindgen_ty_2),
1788 "::",
1789 stringify!(lineno)
1790 )
1791 );
1792 assert_eq!(
1793 unsafe {
1794 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).num_args as *const _ as usize
1795 },
1796 0usize,
1797 concat!(
1798 "Offset of field: ",
1799 stringify!(_zval_struct__bindgen_ty_2),
1800 "::",
1801 stringify!(num_args)
1802 )
1803 );
1804 assert_eq!(
1805 unsafe {
1806 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).fe_pos as *const _ as usize
1807 },
1808 0usize,
1809 concat!(
1810 "Offset of field: ",
1811 stringify!(_zval_struct__bindgen_ty_2),
1812 "::",
1813 stringify!(fe_pos)
1814 )
1815 );
1816 assert_eq!(
1817 unsafe {
1818 &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).fe_iter_idx as *const _ as usize
1819 },
1820 0usize,
1821 concat!(
1822 "Offset of field: ",
1823 stringify!(_zval_struct__bindgen_ty_2),
1824 "::",
1825 stringify!(fe_iter_idx)
1826 )
1827 );
1828}
1829#[test]
1830fn bindgen_test_layout__zval_struct() {
1831 assert_eq!(
1832 ::std::mem::size_of::<_zval_struct>(),
1833 16usize,
1834 concat!("Size of: ", stringify!(_zval_struct))
1835 );
1836 assert_eq!(
1837 ::std::mem::align_of::<_zval_struct>(),
1838 8usize,
1839 concat!("Alignment of ", stringify!(_zval_struct))
1840 );
1841 assert_eq!(
1842 unsafe { &(*(::std::ptr::null::<_zval_struct>())).value as *const _ as usize },
1843 0usize,
1844 concat!(
1845 "Offset of field: ",
1846 stringify!(_zval_struct),
1847 "::",
1848 stringify!(value)
1849 )
1850 );
1851 assert_eq!(
1852 unsafe { &(*(::std::ptr::null::<_zval_struct>())).u1 as *const _ as usize },
1853 8usize,
1854 concat!(
1855 "Offset of field: ",
1856 stringify!(_zval_struct),
1857 "::",
1858 stringify!(u1)
1859 )
1860 );
1861 assert_eq!(
1862 unsafe { &(*(::std::ptr::null::<_zval_struct>())).u2 as *const _ as usize },
1863 12usize,
1864 concat!(
1865 "Offset of field: ",
1866 stringify!(_zval_struct),
1867 "::",
1868 stringify!(u2)
1869 )
1870 );
1871}
1872#[repr(C)]
1873#[derive(Copy, Clone)]
1874pub struct _zend_refcounted_h {
1875 pub refcount: u32,
1876 pub u: _zend_refcounted_h__bindgen_ty_1,
1877}
1878#[repr(C)]
1879#[derive(Copy, Clone)]
1880pub union _zend_refcounted_h__bindgen_ty_1 {
1881 pub v: _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1,
1882 pub type_info: u32,
1883 _bindgen_union_align: u32,
1884}
1885#[repr(C)]
1886#[derive(Debug, Copy, Clone)]
1887pub struct _zend_refcounted_h__bindgen_ty_1__bindgen_ty_1 {
1888 pub type_: zend_uchar,
1889 pub flags: zend_uchar,
1890 pub gc_info: u16,
1891}
1892#[test]
1893fn bindgen_test_layout__zend_refcounted_h__bindgen_ty_1__bindgen_ty_1() {
1894 assert_eq!(
1895 ::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>(),
1896 4usize,
1897 concat!(
1898 "Size of: ",
1899 stringify!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1)
1900 )
1901 );
1902 assert_eq!(
1903 ::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>(),
1904 2usize,
1905 concat!(
1906 "Alignment of ",
1907 stringify!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1)
1908 )
1909 );
1910 assert_eq!(
1911 unsafe {
1912 &(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>())).type_
1913 as *const _ as usize
1914 },
1915 0usize,
1916 concat!(
1917 "Offset of field: ",
1918 stringify!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1),
1919 "::",
1920 stringify!(type_)
1921 )
1922 );
1923 assert_eq!(
1924 unsafe {
1925 &(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>())).flags
1926 as *const _ as usize
1927 },
1928 1usize,
1929 concat!(
1930 "Offset of field: ",
1931 stringify!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1),
1932 "::",
1933 stringify!(flags)
1934 )
1935 );
1936 assert_eq!(
1937 unsafe {
1938 &(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1>())).gc_info
1939 as *const _ as usize
1940 },
1941 2usize,
1942 concat!(
1943 "Offset of field: ",
1944 stringify!(_zend_refcounted_h__bindgen_ty_1__bindgen_ty_1),
1945 "::",
1946 stringify!(gc_info)
1947 )
1948 );
1949}
1950#[test]
1951fn bindgen_test_layout__zend_refcounted_h__bindgen_ty_1() {
1952 assert_eq!(
1953 ::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1>(),
1954 4usize,
1955 concat!("Size of: ", stringify!(_zend_refcounted_h__bindgen_ty_1))
1956 );
1957 assert_eq!(
1958 ::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1>(),
1959 4usize,
1960 concat!(
1961 "Alignment of ",
1962 stringify!(_zend_refcounted_h__bindgen_ty_1)
1963 )
1964 );
1965 assert_eq!(
1966 unsafe {
1967 &(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1>())).v as *const _ as usize
1968 },
1969 0usize,
1970 concat!(
1971 "Offset of field: ",
1972 stringify!(_zend_refcounted_h__bindgen_ty_1),
1973 "::",
1974 stringify!(v)
1975 )
1976 );
1977 assert_eq!(
1978 unsafe {
1979 &(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1>())).type_info as *const _
1980 as usize
1981 },
1982 0usize,
1983 concat!(
1984 "Offset of field: ",
1985 stringify!(_zend_refcounted_h__bindgen_ty_1),
1986 "::",
1987 stringify!(type_info)
1988 )
1989 );
1990}
1991#[test]
1992fn bindgen_test_layout__zend_refcounted_h() {
1993 assert_eq!(
1994 ::std::mem::size_of::<_zend_refcounted_h>(),
1995 8usize,
1996 concat!("Size of: ", stringify!(_zend_refcounted_h))
1997 );
1998 assert_eq!(
1999 ::std::mem::align_of::<_zend_refcounted_h>(),
2000 4usize,
2001 concat!("Alignment of ", stringify!(_zend_refcounted_h))
2002 );
2003 assert_eq!(
2004 unsafe { &(*(::std::ptr::null::<_zend_refcounted_h>())).refcount as *const _ as usize },
2005 0usize,
2006 concat!(
2007 "Offset of field: ",
2008 stringify!(_zend_refcounted_h),
2009 "::",
2010 stringify!(refcount)
2011 )
2012 );
2013 assert_eq!(
2014 unsafe { &(*(::std::ptr::null::<_zend_refcounted_h>())).u as *const _ as usize },
2015 4usize,
2016 concat!(
2017 "Offset of field: ",
2018 stringify!(_zend_refcounted_h),
2019 "::",
2020 stringify!(u)
2021 )
2022 );
2023}
2024pub type zend_refcounted_h = _zend_refcounted_h;
2025#[repr(C)]
2026#[derive(Copy, Clone)]
2027pub struct _zend_refcounted {
2028 pub gc: zend_refcounted_h,
2029}
2030#[test]
2031fn bindgen_test_layout__zend_refcounted() {
2032 assert_eq!(
2033 ::std::mem::size_of::<_zend_refcounted>(),
2034 8usize,
2035 concat!("Size of: ", stringify!(_zend_refcounted))
2036 );
2037 assert_eq!(
2038 ::std::mem::align_of::<_zend_refcounted>(),
2039 4usize,
2040 concat!("Alignment of ", stringify!(_zend_refcounted))
2041 );
2042 assert_eq!(
2043 unsafe { &(*(::std::ptr::null::<_zend_refcounted>())).gc as *const _ as usize },
2044 0usize,
2045 concat!(
2046 "Offset of field: ",
2047 stringify!(_zend_refcounted),
2048 "::",
2049 stringify!(gc)
2050 )
2051 );
2052}
2053#[repr(C)]
2054#[derive(Copy, Clone)]
2055pub struct _zend_string {
2056 pub gc: zend_refcounted_h,
2057 pub h: zend_ulong,
2058 pub len: size_t,
2059 pub val: [::std::os::raw::c_char; 1usize],
2060}
2061#[test]
2062fn bindgen_test_layout__zend_string() {
2063 assert_eq!(
2064 ::std::mem::size_of::<_zend_string>(),
2065 32usize,
2066 concat!("Size of: ", stringify!(_zend_string))
2067 );
2068 assert_eq!(
2069 ::std::mem::align_of::<_zend_string>(),
2070 8usize,
2071 concat!("Alignment of ", stringify!(_zend_string))
2072 );
2073 assert_eq!(
2074 unsafe { &(*(::std::ptr::null::<_zend_string>())).gc as *const _ as usize },
2075 0usize,
2076 concat!(
2077 "Offset of field: ",
2078 stringify!(_zend_string),
2079 "::",
2080 stringify!(gc)
2081 )
2082 );
2083 assert_eq!(
2084 unsafe { &(*(::std::ptr::null::<_zend_string>())).h as *const _ as usize },
2085 8usize,
2086 concat!(
2087 "Offset of field: ",
2088 stringify!(_zend_string),
2089 "::",
2090 stringify!(h)
2091 )
2092 );
2093 assert_eq!(
2094 unsafe { &(*(::std::ptr::null::<_zend_string>())).len as *const _ as usize },
2095 16usize,
2096 concat!(
2097 "Offset of field: ",
2098 stringify!(_zend_string),
2099 "::",
2100 stringify!(len)
2101 )
2102 );
2103 assert_eq!(
2104 unsafe { &(*(::std::ptr::null::<_zend_string>())).val as *const _ as usize },
2105 24usize,
2106 concat!(
2107 "Offset of field: ",
2108 stringify!(_zend_string),
2109 "::",
2110 stringify!(val)
2111 )
2112 );
2113}
2114#[repr(C)]
2115#[derive(Copy, Clone)]
2116pub struct _Bucket {
2117 pub val: zval,
2118 pub h: zend_ulong,
2119 pub key: *mut zend_string,
2120}
2121#[test]
2122fn bindgen_test_layout__Bucket() {
2123 assert_eq!(
2124 ::std::mem::size_of::<_Bucket>(),
2125 32usize,
2126 concat!("Size of: ", stringify!(_Bucket))
2127 );
2128 assert_eq!(
2129 ::std::mem::align_of::<_Bucket>(),
2130 8usize,
2131 concat!("Alignment of ", stringify!(_Bucket))
2132 );
2133 assert_eq!(
2134 unsafe { &(*(::std::ptr::null::<_Bucket>())).val as *const _ as usize },
2135 0usize,
2136 concat!(
2137 "Offset of field: ",
2138 stringify!(_Bucket),
2139 "::",
2140 stringify!(val)
2141 )
2142 );
2143 assert_eq!(
2144 unsafe { &(*(::std::ptr::null::<_Bucket>())).h as *const _ as usize },
2145 16usize,
2146 concat!(
2147 "Offset of field: ",
2148 stringify!(_Bucket),
2149 "::",
2150 stringify!(h)
2151 )
2152 );
2153 assert_eq!(
2154 unsafe { &(*(::std::ptr::null::<_Bucket>())).key as *const _ as usize },
2155 24usize,
2156 concat!(
2157 "Offset of field: ",
2158 stringify!(_Bucket),
2159 "::",
2160 stringify!(key)
2161 )
2162 );
2163}
2164pub type Bucket = _Bucket;
2165pub type HashTable = _zend_array;
2166#[repr(C)]
2167#[derive(Copy, Clone)]
2168pub struct _zend_array {
2169 pub gc: zend_refcounted_h,
2170 pub u: _zend_array__bindgen_ty_1,
2171 pub nTableMask: u32,
2172 pub arData: *mut Bucket,
2173 pub nNumUsed: u32,
2174 pub nNumOfElements: u32,
2175 pub nTableSize: u32,
2176 pub nInternalPointer: u32,
2177 pub nNextFreeElement: zend_long,
2178 pub pDestructor: dtor_func_t,
2179}
2180#[repr(C)]
2181#[derive(Copy, Clone)]
2182pub union _zend_array__bindgen_ty_1 {
2183 pub v: _zend_array__bindgen_ty_1__bindgen_ty_1,
2184 pub flags: u32,
2185 _bindgen_union_align: u32,
2186}
2187#[repr(C)]
2188#[derive(Debug, Copy, Clone)]
2189pub struct _zend_array__bindgen_ty_1__bindgen_ty_1 {
2190 pub flags: zend_uchar,
2191 pub nApplyCount: zend_uchar,
2192 pub nIteratorsCount: zend_uchar,
2193 pub reserve: zend_uchar,
2194}
2195#[test]
2196fn bindgen_test_layout__zend_array__bindgen_ty_1__bindgen_ty_1() {
2197 assert_eq!(
2198 ::std::mem::size_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>(),
2199 4usize,
2200 concat!(
2201 "Size of: ",
2202 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1)
2203 )
2204 );
2205 assert_eq!(
2206 ::std::mem::align_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>(),
2207 1usize,
2208 concat!(
2209 "Alignment of ",
2210 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1)
2211 )
2212 );
2213 assert_eq!(
2214 unsafe {
2215 &(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>())).flags as *const _
2216 as usize
2217 },
2218 0usize,
2219 concat!(
2220 "Offset of field: ",
2221 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
2222 "::",
2223 stringify!(flags)
2224 )
2225 );
2226 assert_eq!(
2227 unsafe {
2228 &(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>())).nApplyCount
2229 as *const _ as usize
2230 },
2231 1usize,
2232 concat!(
2233 "Offset of field: ",
2234 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
2235 "::",
2236 stringify!(nApplyCount)
2237 )
2238 );
2239 assert_eq!(
2240 unsafe {
2241 &(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>())).nIteratorsCount
2242 as *const _ as usize
2243 },
2244 2usize,
2245 concat!(
2246 "Offset of field: ",
2247 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
2248 "::",
2249 stringify!(nIteratorsCount)
2250 )
2251 );
2252 assert_eq!(
2253 unsafe {
2254 &(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>())).reserve as *const _
2255 as usize
2256 },
2257 3usize,
2258 concat!(
2259 "Offset of field: ",
2260 stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
2261 "::",
2262 stringify!(reserve)
2263 )
2264 );
2265}
2266#[test]
2267fn bindgen_test_layout__zend_array__bindgen_ty_1() {
2268 assert_eq!(
2269 ::std::mem::size_of::<_zend_array__bindgen_ty_1>(),
2270 4usize,
2271 concat!("Size of: ", stringify!(_zend_array__bindgen_ty_1))
2272 );
2273 assert_eq!(
2274 ::std::mem::align_of::<_zend_array__bindgen_ty_1>(),
2275 4usize,
2276 concat!("Alignment of ", stringify!(_zend_array__bindgen_ty_1))
2277 );
2278 assert_eq!(
2279 unsafe { &(*(::std::ptr::null::<_zend_array__bindgen_ty_1>())).v as *const _ as usize },
2280 0usize,
2281 concat!(
2282 "Offset of field: ",
2283 stringify!(_zend_array__bindgen_ty_1),
2284 "::",
2285 stringify!(v)
2286 )
2287 );
2288 assert_eq!(
2289 unsafe { &(*(::std::ptr::null::<_zend_array__bindgen_ty_1>())).flags as *const _ as usize },
2290 0usize,
2291 concat!(
2292 "Offset of field: ",
2293 stringify!(_zend_array__bindgen_ty_1),
2294 "::",
2295 stringify!(flags)
2296 )
2297 );
2298}
2299#[test]
2300fn bindgen_test_layout__zend_array() {
2301 assert_eq!(
2302 ::std::mem::size_of::<_zend_array>(),
2303 56usize,
2304 concat!("Size of: ", stringify!(_zend_array))
2305 );
2306 assert_eq!(
2307 ::std::mem::align_of::<_zend_array>(),
2308 8usize,
2309 concat!("Alignment of ", stringify!(_zend_array))
2310 );
2311 assert_eq!(
2312 unsafe { &(*(::std::ptr::null::<_zend_array>())).gc as *const _ as usize },
2313 0usize,
2314 concat!(
2315 "Offset of field: ",
2316 stringify!(_zend_array),
2317 "::",
2318 stringify!(gc)
2319 )
2320 );
2321 assert_eq!(
2322 unsafe { &(*(::std::ptr::null::<_zend_array>())).u as *const _ as usize },
2323 8usize,
2324 concat!(
2325 "Offset of field: ",
2326 stringify!(_zend_array),
2327 "::",
2328 stringify!(u)
2329 )
2330 );
2331 assert_eq!(
2332 unsafe { &(*(::std::ptr::null::<_zend_array>())).nTableMask as *const _ as usize },
2333 12usize,
2334 concat!(
2335 "Offset of field: ",
2336 stringify!(_zend_array),
2337 "::",
2338 stringify!(nTableMask)
2339 )
2340 );
2341 assert_eq!(
2342 unsafe { &(*(::std::ptr::null::<_zend_array>())).arData as *const _ as usize },
2343 16usize,
2344 concat!(
2345 "Offset of field: ",
2346 stringify!(_zend_array),
2347 "::",
2348 stringify!(arData)
2349 )
2350 );
2351 assert_eq!(
2352 unsafe { &(*(::std::ptr::null::<_zend_array>())).nNumUsed as *const _ as usize },
2353 24usize,
2354 concat!(
2355 "Offset of field: ",
2356 stringify!(_zend_array),
2357 "::",
2358 stringify!(nNumUsed)
2359 )
2360 );
2361 assert_eq!(
2362 unsafe { &(*(::std::ptr::null::<_zend_array>())).nNumOfElements as *const _ as usize },
2363 28usize,
2364 concat!(
2365 "Offset of field: ",
2366 stringify!(_zend_array),
2367 "::",
2368 stringify!(nNumOfElements)
2369 )
2370 );
2371 assert_eq!(
2372 unsafe { &(*(::std::ptr::null::<_zend_array>())).nTableSize as *const _ as usize },
2373 32usize,
2374 concat!(
2375 "Offset of field: ",
2376 stringify!(_zend_array),
2377 "::",
2378 stringify!(nTableSize)
2379 )
2380 );
2381 assert_eq!(
2382 unsafe { &(*(::std::ptr::null::<_zend_array>())).nInternalPointer as *const _ as usize },
2383 36usize,
2384 concat!(
2385 "Offset of field: ",
2386 stringify!(_zend_array),
2387 "::",
2388 stringify!(nInternalPointer)
2389 )
2390 );
2391 assert_eq!(
2392 unsafe { &(*(::std::ptr::null::<_zend_array>())).nNextFreeElement as *const _ as usize },
2393 40usize,
2394 concat!(
2395 "Offset of field: ",
2396 stringify!(_zend_array),
2397 "::",
2398 stringify!(nNextFreeElement)
2399 )
2400 );
2401 assert_eq!(
2402 unsafe { &(*(::std::ptr::null::<_zend_array>())).pDestructor as *const _ as usize },
2403 48usize,
2404 concat!(
2405 "Offset of field: ",
2406 stringify!(_zend_array),
2407 "::",
2408 stringify!(pDestructor)
2409 )
2410 );
2411}
2412pub type HashPosition = u32;
2413#[repr(C)]
2414#[derive(Debug, Copy, Clone)]
2415pub struct _HashTableIterator {
2416 pub ht: *mut HashTable,
2417 pub pos: HashPosition,
2418}
2419#[test]
2420fn bindgen_test_layout__HashTableIterator() {
2421 assert_eq!(
2422 ::std::mem::size_of::<_HashTableIterator>(),
2423 16usize,
2424 concat!("Size of: ", stringify!(_HashTableIterator))
2425 );
2426 assert_eq!(
2427 ::std::mem::align_of::<_HashTableIterator>(),
2428 8usize,
2429 concat!("Alignment of ", stringify!(_HashTableIterator))
2430 );
2431 assert_eq!(
2432 unsafe { &(*(::std::ptr::null::<_HashTableIterator>())).ht as *const _ as usize },
2433 0usize,
2434 concat!(
2435 "Offset of field: ",
2436 stringify!(_HashTableIterator),
2437 "::",
2438 stringify!(ht)
2439 )
2440 );
2441 assert_eq!(
2442 unsafe { &(*(::std::ptr::null::<_HashTableIterator>())).pos as *const _ as usize },
2443 8usize,
2444 concat!(
2445 "Offset of field: ",
2446 stringify!(_HashTableIterator),
2447 "::",
2448 stringify!(pos)
2449 )
2450 );
2451}
2452pub type HashTableIterator = _HashTableIterator;
2453#[repr(C)]
2454#[derive(Copy, Clone)]
2455pub struct _zend_object {
2456 pub gc: zend_refcounted_h,
2457 pub handle: u32,
2458 pub ce: *mut zend_class_entry,
2459 pub handlers: *const zend_object_handlers,
2460 pub properties: *mut HashTable,
2461 pub properties_table: [zval; 1usize],
2462}
2463#[test]
2464fn bindgen_test_layout__zend_object() {
2465 assert_eq!(
2466 ::std::mem::size_of::<_zend_object>(),
2467 56usize,
2468 concat!("Size of: ", stringify!(_zend_object))
2469 );
2470 assert_eq!(
2471 ::std::mem::align_of::<_zend_object>(),
2472 8usize,
2473 concat!("Alignment of ", stringify!(_zend_object))
2474 );
2475 assert_eq!(
2476 unsafe { &(*(::std::ptr::null::<_zend_object>())).gc as *const _ as usize },
2477 0usize,
2478 concat!(
2479 "Offset of field: ",
2480 stringify!(_zend_object),
2481 "::",
2482 stringify!(gc)
2483 )
2484 );
2485 assert_eq!(
2486 unsafe { &(*(::std::ptr::null::<_zend_object>())).handle as *const _ as usize },
2487 8usize,
2488 concat!(
2489 "Offset of field: ",
2490 stringify!(_zend_object),
2491 "::",
2492 stringify!(handle)
2493 )
2494 );
2495 assert_eq!(
2496 unsafe { &(*(::std::ptr::null::<_zend_object>())).ce as *const _ as usize },
2497 16usize,
2498 concat!(
2499 "Offset of field: ",
2500 stringify!(_zend_object),
2501 "::",
2502 stringify!(ce)
2503 )
2504 );
2505 assert_eq!(
2506 unsafe { &(*(::std::ptr::null::<_zend_object>())).handlers as *const _ as usize },
2507 24usize,
2508 concat!(
2509 "Offset of field: ",
2510 stringify!(_zend_object),
2511 "::",
2512 stringify!(handlers)
2513 )
2514 );
2515 assert_eq!(
2516 unsafe { &(*(::std::ptr::null::<_zend_object>())).properties as *const _ as usize },
2517 32usize,
2518 concat!(
2519 "Offset of field: ",
2520 stringify!(_zend_object),
2521 "::",
2522 stringify!(properties)
2523 )
2524 );
2525 assert_eq!(
2526 unsafe { &(*(::std::ptr::null::<_zend_object>())).properties_table as *const _ as usize },
2527 40usize,
2528 concat!(
2529 "Offset of field: ",
2530 stringify!(_zend_object),
2531 "::",
2532 stringify!(properties_table)
2533 )
2534 );
2535}
2536#[repr(C)]
2537#[derive(Copy, Clone)]
2538pub struct _zend_resource {
2539 pub gc: zend_refcounted_h,
2540 pub handle: ::std::os::raw::c_int,
2541 pub type_: ::std::os::raw::c_int,
2542 pub ptr: *mut ::std::os::raw::c_void,
2543}
2544#[test]
2545fn bindgen_test_layout__zend_resource() {
2546 assert_eq!(
2547 ::std::mem::size_of::<_zend_resource>(),
2548 24usize,
2549 concat!("Size of: ", stringify!(_zend_resource))
2550 );
2551 assert_eq!(
2552 ::std::mem::align_of::<_zend_resource>(),
2553 8usize,
2554 concat!("Alignment of ", stringify!(_zend_resource))
2555 );
2556 assert_eq!(
2557 unsafe { &(*(::std::ptr::null::<_zend_resource>())).gc as *const _ as usize },
2558 0usize,
2559 concat!(
2560 "Offset of field: ",
2561 stringify!(_zend_resource),
2562 "::",
2563 stringify!(gc)
2564 )
2565 );
2566 assert_eq!(
2567 unsafe { &(*(::std::ptr::null::<_zend_resource>())).handle as *const _ as usize },
2568 8usize,
2569 concat!(
2570 "Offset of field: ",
2571 stringify!(_zend_resource),
2572 "::",
2573 stringify!(handle)
2574 )
2575 );
2576 assert_eq!(
2577 unsafe { &(*(::std::ptr::null::<_zend_resource>())).type_ as *const _ as usize },
2578 12usize,
2579 concat!(
2580 "Offset of field: ",
2581 stringify!(_zend_resource),
2582 "::",
2583 stringify!(type_)
2584 )
2585 );
2586 assert_eq!(
2587 unsafe { &(*(::std::ptr::null::<_zend_resource>())).ptr as *const _ as usize },
2588 16usize,
2589 concat!(
2590 "Offset of field: ",
2591 stringify!(_zend_resource),
2592 "::",
2593 stringify!(ptr)
2594 )
2595 );
2596}
2597#[repr(C)]
2598#[derive(Copy, Clone)]
2599pub struct _zend_reference {
2600 pub gc: zend_refcounted_h,
2601 pub val: zval,
2602}
2603#[test]
2604fn bindgen_test_layout__zend_reference() {
2605 assert_eq!(
2606 ::std::mem::size_of::<_zend_reference>(),
2607 24usize,
2608 concat!("Size of: ", stringify!(_zend_reference))
2609 );
2610 assert_eq!(
2611 ::std::mem::align_of::<_zend_reference>(),
2612 8usize,
2613 concat!("Alignment of ", stringify!(_zend_reference))
2614 );
2615 assert_eq!(
2616 unsafe { &(*(::std::ptr::null::<_zend_reference>())).gc as *const _ as usize },
2617 0usize,
2618 concat!(
2619 "Offset of field: ",
2620 stringify!(_zend_reference),
2621 "::",
2622 stringify!(gc)
2623 )
2624 );
2625 assert_eq!(
2626 unsafe { &(*(::std::ptr::null::<_zend_reference>())).val as *const _ as usize },
2627 8usize,
2628 concat!(
2629 "Offset of field: ",
2630 stringify!(_zend_reference),
2631 "::",
2632 stringify!(val)
2633 )
2634 );
2635}
2636#[repr(C)]
2637#[derive(Copy, Clone)]
2638pub struct _zend_ast_ref {
2639 pub gc: zend_refcounted_h,
2640 pub ast: *mut zend_ast,
2641}
2642#[test]
2643fn bindgen_test_layout__zend_ast_ref() {
2644 assert_eq!(
2645 ::std::mem::size_of::<_zend_ast_ref>(),
2646 16usize,
2647 concat!("Size of: ", stringify!(_zend_ast_ref))
2648 );
2649 assert_eq!(
2650 ::std::mem::align_of::<_zend_ast_ref>(),
2651 8usize,
2652 concat!("Alignment of ", stringify!(_zend_ast_ref))
2653 );
2654 assert_eq!(
2655 unsafe { &(*(::std::ptr::null::<_zend_ast_ref>())).gc as *const _ as usize },
2656 0usize,
2657 concat!(
2658 "Offset of field: ",
2659 stringify!(_zend_ast_ref),
2660 "::",
2661 stringify!(gc)
2662 )
2663 );
2664 assert_eq!(
2665 unsafe { &(*(::std::ptr::null::<_zend_ast_ref>())).ast as *const _ as usize },
2666 8usize,
2667 concat!(
2668 "Offset of field: ",
2669 stringify!(_zend_ast_ref),
2670 "::",
2671 stringify!(ast)
2672 )
2673 );
2674}
2675#[repr(C)]
2676#[derive(Debug, Copy, Clone)]
2677pub struct _zend_leak_info {
2678 pub addr: *mut ::std::os::raw::c_void,
2679 pub size: size_t,
2680 pub filename: *const ::std::os::raw::c_char,
2681 pub orig_filename: *const ::std::os::raw::c_char,
2682 pub lineno: uint,
2683 pub orig_lineno: uint,
2684}
2685#[test]
2686fn bindgen_test_layout__zend_leak_info() {
2687 assert_eq!(
2688 ::std::mem::size_of::<_zend_leak_info>(),
2689 40usize,
2690 concat!("Size of: ", stringify!(_zend_leak_info))
2691 );
2692 assert_eq!(
2693 ::std::mem::align_of::<_zend_leak_info>(),
2694 8usize,
2695 concat!("Alignment of ", stringify!(_zend_leak_info))
2696 );
2697 assert_eq!(
2698 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).addr as *const _ as usize },
2699 0usize,
2700 concat!(
2701 "Offset of field: ",
2702 stringify!(_zend_leak_info),
2703 "::",
2704 stringify!(addr)
2705 )
2706 );
2707 assert_eq!(
2708 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).size as *const _ as usize },
2709 8usize,
2710 concat!(
2711 "Offset of field: ",
2712 stringify!(_zend_leak_info),
2713 "::",
2714 stringify!(size)
2715 )
2716 );
2717 assert_eq!(
2718 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).filename as *const _ as usize },
2719 16usize,
2720 concat!(
2721 "Offset of field: ",
2722 stringify!(_zend_leak_info),
2723 "::",
2724 stringify!(filename)
2725 )
2726 );
2727 assert_eq!(
2728 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).orig_filename as *const _ as usize },
2729 24usize,
2730 concat!(
2731 "Offset of field: ",
2732 stringify!(_zend_leak_info),
2733 "::",
2734 stringify!(orig_filename)
2735 )
2736 );
2737 assert_eq!(
2738 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).lineno as *const _ as usize },
2739 32usize,
2740 concat!(
2741 "Offset of field: ",
2742 stringify!(_zend_leak_info),
2743 "::",
2744 stringify!(lineno)
2745 )
2746 );
2747 assert_eq!(
2748 unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).orig_lineno as *const _ as usize },
2749 36usize,
2750 concat!(
2751 "Offset of field: ",
2752 stringify!(_zend_leak_info),
2753 "::",
2754 stringify!(orig_lineno)
2755 )
2756 );
2757}
2758pub type zend_leak_info = _zend_leak_info;
2759extern "C" {
2760 pub fn zend_strndup(
2761 s: *const ::std::os::raw::c_char,
2762 length: size_t,
2763 ) -> *mut ::std::os::raw::c_char;
2764}
2765extern "C" {
2766 pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> size_t;
2767}
2768extern "C" {
2769 pub fn zend_set_memory_limit(memory_limit: size_t) -> ::std::os::raw::c_int;
2770}
2771extern "C" {
2772 pub fn zend_memory_usage(real_usage: ::std::os::raw::c_int) -> size_t;
2773}
2774extern "C" {
2775 pub fn zend_memory_peak_usage(real_usage: ::std::os::raw::c_int) -> size_t;
2776}
2777#[repr(C)]
2778#[derive(Debug, Copy, Clone)]
2779pub struct _zend_mm_heap {
2780 _unused: [u8; 0],
2781}
2782pub type zend_mm_heap = _zend_mm_heap;
2783extern "C" {
2784 pub fn zend_mm_startup() -> *mut zend_mm_heap;
2785}
2786extern "C" {
2787 pub fn zend_mm_shutdown(
2788 heap: *mut zend_mm_heap,
2789 full_shutdown: ::std::os::raw::c_int,
2790 silent: ::std::os::raw::c_int,
2791 );
2792}
2793extern "C" {
2794 pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: size_t) -> *mut ::std::os::raw::c_void;
2795}
2796extern "C" {
2797 pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
2798}
2799extern "C" {
2800 pub fn _zend_mm_realloc(
2801 heap: *mut zend_mm_heap,
2802 p: *mut ::std::os::raw::c_void,
2803 size: size_t,
2804 ) -> *mut ::std::os::raw::c_void;
2805}
2806extern "C" {
2807 pub fn _zend_mm_realloc2(
2808 heap: *mut zend_mm_heap,
2809 p: *mut ::std::os::raw::c_void,
2810 size: size_t,
2811 copy_size: size_t,
2812 ) -> *mut ::std::os::raw::c_void;
2813}
2814extern "C" {
2815 pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> size_t;
2816}
2817extern "C" {
2818 pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
2819}
2820extern "C" {
2821 pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
2822}
2823extern "C" {
2824 pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> size_t;
2825}
2826extern "C" {
2827 pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> ::std::os::raw::c_int;
2828}
2829extern "C" {
2830 pub fn zend_mm_set_custom_handlers(
2831 heap: *mut zend_mm_heap,
2832 _malloc: ::std::option::Option<
2833 unsafe extern "C" fn(arg1: size_t) -> *mut ::std::os::raw::c_void,
2834 >,
2835 _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2836 _realloc: ::std::option::Option<
2837 unsafe extern "C" fn(
2838 arg1: *mut ::std::os::raw::c_void,
2839 arg2: size_t,
2840 ) -> *mut ::std::os::raw::c_void,
2841 >,
2842 );
2843}
2844extern "C" {
2845 pub fn zend_mm_get_custom_handlers(
2846 heap: *mut zend_mm_heap,
2847 _malloc: *mut ::std::option::Option<
2848 unsafe extern "C" fn(arg1: size_t) -> *mut ::std::os::raw::c_void,
2849 >,
2850 _free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2851 _realloc: *mut ::std::option::Option<
2852 unsafe extern "C" fn(
2853 arg1: *mut ::std::os::raw::c_void,
2854 arg2: size_t,
2855 ) -> *mut ::std::os::raw::c_void,
2856 >,
2857 );
2858}
2859pub type zend_mm_storage = _zend_mm_storage;
2860pub type zend_mm_chunk_alloc_t = ::std::option::Option<
2861 unsafe extern "C" fn(
2862 storage: *mut zend_mm_storage,
2863 size: size_t,
2864 alignment: size_t,
2865 ) -> *mut ::std::os::raw::c_void,
2866>;
2867pub type zend_mm_chunk_free_t = ::std::option::Option<
2868 unsafe extern "C" fn(
2869 storage: *mut zend_mm_storage,
2870 chunk: *mut ::std::os::raw::c_void,
2871 size: size_t,
2872 ),
2873>;
2874pub type zend_mm_chunk_truncate_t = ::std::option::Option<
2875 unsafe extern "C" fn(
2876 storage: *mut zend_mm_storage,
2877 chunk: *mut ::std::os::raw::c_void,
2878 old_size: size_t,
2879 new_size: size_t,
2880 ) -> ::std::os::raw::c_int,
2881>;
2882pub type zend_mm_chunk_extend_t = ::std::option::Option<
2883 unsafe extern "C" fn(
2884 storage: *mut zend_mm_storage,
2885 chunk: *mut ::std::os::raw::c_void,
2886 old_size: size_t,
2887 new_size: size_t,
2888 ) -> ::std::os::raw::c_int,
2889>;
2890#[repr(C)]
2891#[derive(Debug, Copy, Clone)]
2892pub struct _zend_mm_handlers {
2893 pub chunk_alloc: zend_mm_chunk_alloc_t,
2894 pub chunk_free: zend_mm_chunk_free_t,
2895 pub chunk_truncate: zend_mm_chunk_truncate_t,
2896 pub chunk_extend: zend_mm_chunk_extend_t,
2897}
2898#[test]
2899fn bindgen_test_layout__zend_mm_handlers() {
2900 assert_eq!(
2901 ::std::mem::size_of::<_zend_mm_handlers>(),
2902 32usize,
2903 concat!("Size of: ", stringify!(_zend_mm_handlers))
2904 );
2905 assert_eq!(
2906 ::std::mem::align_of::<_zend_mm_handlers>(),
2907 8usize,
2908 concat!("Alignment of ", stringify!(_zend_mm_handlers))
2909 );
2910 assert_eq!(
2911 unsafe { &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_alloc as *const _ as usize },
2912 0usize,
2913 concat!(
2914 "Offset of field: ",
2915 stringify!(_zend_mm_handlers),
2916 "::",
2917 stringify!(chunk_alloc)
2918 )
2919 );
2920 assert_eq!(
2921 unsafe { &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_free as *const _ as usize },
2922 8usize,
2923 concat!(
2924 "Offset of field: ",
2925 stringify!(_zend_mm_handlers),
2926 "::",
2927 stringify!(chunk_free)
2928 )
2929 );
2930 assert_eq!(
2931 unsafe {
2932 &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_truncate as *const _ as usize
2933 },
2934 16usize,
2935 concat!(
2936 "Offset of field: ",
2937 stringify!(_zend_mm_handlers),
2938 "::",
2939 stringify!(chunk_truncate)
2940 )
2941 );
2942 assert_eq!(
2943 unsafe { &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_extend as *const _ as usize },
2944 24usize,
2945 concat!(
2946 "Offset of field: ",
2947 stringify!(_zend_mm_handlers),
2948 "::",
2949 stringify!(chunk_extend)
2950 )
2951 );
2952}
2953pub type zend_mm_handlers = _zend_mm_handlers;
2954#[repr(C)]
2955#[derive(Debug, Copy, Clone)]
2956pub struct _zend_mm_storage {
2957 pub handlers: zend_mm_handlers,
2958 pub data: *mut ::std::os::raw::c_void,
2959}
2960#[test]
2961fn bindgen_test_layout__zend_mm_storage() {
2962 assert_eq!(
2963 ::std::mem::size_of::<_zend_mm_storage>(),
2964 40usize,
2965 concat!("Size of: ", stringify!(_zend_mm_storage))
2966 );
2967 assert_eq!(
2968 ::std::mem::align_of::<_zend_mm_storage>(),
2969 8usize,
2970 concat!("Alignment of ", stringify!(_zend_mm_storage))
2971 );
2972 assert_eq!(
2973 unsafe { &(*(::std::ptr::null::<_zend_mm_storage>())).handlers as *const _ as usize },
2974 0usize,
2975 concat!(
2976 "Offset of field: ",
2977 stringify!(_zend_mm_storage),
2978 "::",
2979 stringify!(handlers)
2980 )
2981 );
2982 assert_eq!(
2983 unsafe { &(*(::std::ptr::null::<_zend_mm_storage>())).data as *const _ as usize },
2984 32usize,
2985 concat!(
2986 "Offset of field: ",
2987 stringify!(_zend_mm_storage),
2988 "::",
2989 stringify!(data)
2990 )
2991 );
2992}
2993extern "C" {
2994 pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
2995}
2996extern "C" {
2997 pub fn zend_mm_startup_ex(
2998 handlers: *const zend_mm_handlers,
2999 data: *mut ::std::os::raw::c_void,
3000 data_size: size_t,
3001 ) -> *mut zend_mm_heap;
3002}
3003#[repr(C)]
3004#[derive(Debug, Copy, Clone)]
3005pub struct _zend_llist_element {
3006 pub next: *mut _zend_llist_element,
3007 pub prev: *mut _zend_llist_element,
3008 pub data: [::std::os::raw::c_char; 1usize],
3009}
3010#[test]
3011fn bindgen_test_layout__zend_llist_element() {
3012 assert_eq!(
3013 ::std::mem::size_of::<_zend_llist_element>(),
3014 24usize,
3015 concat!("Size of: ", stringify!(_zend_llist_element))
3016 );
3017 assert_eq!(
3018 ::std::mem::align_of::<_zend_llist_element>(),
3019 8usize,
3020 concat!("Alignment of ", stringify!(_zend_llist_element))
3021 );
3022 assert_eq!(
3023 unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).next as *const _ as usize },
3024 0usize,
3025 concat!(
3026 "Offset of field: ",
3027 stringify!(_zend_llist_element),
3028 "::",
3029 stringify!(next)
3030 )
3031 );
3032 assert_eq!(
3033 unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).prev as *const _ as usize },
3034 8usize,
3035 concat!(
3036 "Offset of field: ",
3037 stringify!(_zend_llist_element),
3038 "::",
3039 stringify!(prev)
3040 )
3041 );
3042 assert_eq!(
3043 unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).data as *const _ as usize },
3044 16usize,
3045 concat!(
3046 "Offset of field: ",
3047 stringify!(_zend_llist_element),
3048 "::",
3049 stringify!(data)
3050 )
3051 );
3052}
3053pub type zend_llist_element = _zend_llist_element;
3054pub type llist_dtor_func_t =
3055 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
3056pub type llist_compare_func_t = ::std::option::Option<
3057 unsafe extern "C" fn(
3058 arg1: *mut *const zend_llist_element,
3059 arg2: *mut *const zend_llist_element,
3060 ) -> ::std::os::raw::c_int,
3061>;
3062pub type llist_apply_with_args_func_t = ::std::option::Option<
3063 unsafe extern "C" fn(
3064 data: *mut ::std::os::raw::c_void,
3065 num_args: ::std::os::raw::c_int,
3066 args: *mut __va_list_tag,
3067 ),
3068>;
3069pub type llist_apply_with_arg_func_t = ::std::option::Option<
3070 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
3071>;
3072pub type llist_apply_func_t =
3073 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
3074#[repr(C)]
3075#[derive(Debug, Copy, Clone)]
3076pub struct _zend_llist {
3077 pub head: *mut zend_llist_element,
3078 pub tail: *mut zend_llist_element,
3079 pub count: size_t,
3080 pub size: size_t,
3081 pub dtor: llist_dtor_func_t,
3082 pub persistent: ::std::os::raw::c_uchar,
3083 pub traverse_ptr: *mut zend_llist_element,
3084}
3085#[test]
3086fn bindgen_test_layout__zend_llist() {
3087 assert_eq!(
3088 ::std::mem::size_of::<_zend_llist>(),
3089 56usize,
3090 concat!("Size of: ", stringify!(_zend_llist))
3091 );
3092 assert_eq!(
3093 ::std::mem::align_of::<_zend_llist>(),
3094 8usize,
3095 concat!("Alignment of ", stringify!(_zend_llist))
3096 );
3097 assert_eq!(
3098 unsafe { &(*(::std::ptr::null::<_zend_llist>())).head as *const _ as usize },
3099 0usize,
3100 concat!(
3101 "Offset of field: ",
3102 stringify!(_zend_llist),
3103 "::",
3104 stringify!(head)
3105 )
3106 );
3107 assert_eq!(
3108 unsafe { &(*(::std::ptr::null::<_zend_llist>())).tail as *const _ as usize },
3109 8usize,
3110 concat!(
3111 "Offset of field: ",
3112 stringify!(_zend_llist),
3113 "::",
3114 stringify!(tail)
3115 )
3116 );
3117 assert_eq!(
3118 unsafe { &(*(::std::ptr::null::<_zend_llist>())).count as *const _ as usize },
3119 16usize,
3120 concat!(
3121 "Offset of field: ",
3122 stringify!(_zend_llist),
3123 "::",
3124 stringify!(count)
3125 )
3126 );
3127 assert_eq!(
3128 unsafe { &(*(::std::ptr::null::<_zend_llist>())).size as *const _ as usize },
3129 24usize,
3130 concat!(
3131 "Offset of field: ",
3132 stringify!(_zend_llist),
3133 "::",
3134 stringify!(size)
3135 )
3136 );
3137 assert_eq!(
3138 unsafe { &(*(::std::ptr::null::<_zend_llist>())).dtor as *const _ as usize },
3139 32usize,
3140 concat!(
3141 "Offset of field: ",
3142 stringify!(_zend_llist),
3143 "::",
3144 stringify!(dtor)
3145 )
3146 );
3147 assert_eq!(
3148 unsafe { &(*(::std::ptr::null::<_zend_llist>())).persistent as *const _ as usize },
3149 40usize,
3150 concat!(
3151 "Offset of field: ",
3152 stringify!(_zend_llist),
3153 "::",
3154 stringify!(persistent)
3155 )
3156 );
3157 assert_eq!(
3158 unsafe { &(*(::std::ptr::null::<_zend_llist>())).traverse_ptr as *const _ as usize },
3159 48usize,
3160 concat!(
3161 "Offset of field: ",
3162 stringify!(_zend_llist),
3163 "::",
3164 stringify!(traverse_ptr)
3165 )
3166 );
3167}
3168pub type zend_llist = _zend_llist;
3169pub type zend_llist_position = *mut zend_llist_element;
3170extern "C" {
3171 pub fn zend_llist_init(
3172 l: *mut zend_llist,
3173 size: size_t,
3174 dtor: llist_dtor_func_t,
3175 persistent: ::std::os::raw::c_uchar,
3176 );
3177}
3178extern "C" {
3179 pub fn zend_llist_add_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
3180}
3181extern "C" {
3182 pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
3183}
3184extern "C" {
3185 pub fn zend_llist_del_element(
3186 l: *mut zend_llist,
3187 element: *mut ::std::os::raw::c_void,
3188 compare: ::std::option::Option<
3189 unsafe extern "C" fn(
3190 element1: *mut ::std::os::raw::c_void,
3191 element2: *mut ::std::os::raw::c_void,
3192 ) -> ::std::os::raw::c_int,
3193 >,
3194 );
3195}
3196extern "C" {
3197 pub fn zend_llist_destroy(l: *mut zend_llist);
3198}
3199extern "C" {
3200 pub fn zend_llist_clean(l: *mut zend_llist);
3201}
3202extern "C" {
3203 pub fn zend_llist_remove_tail(l: *mut zend_llist);
3204}
3205extern "C" {
3206 pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
3207}
3208extern "C" {
3209 pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
3210}
3211extern "C" {
3212 pub fn zend_llist_apply_with_del(
3213 l: *mut zend_llist,
3214 func: ::std::option::Option<
3215 unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
3216 >,
3217 );
3218}
3219extern "C" {
3220 pub fn zend_llist_apply_with_argument(
3221 l: *mut zend_llist,
3222 func: llist_apply_with_arg_func_t,
3223 arg: *mut ::std::os::raw::c_void,
3224 );
3225}
3226extern "C" {
3227 pub fn zend_llist_apply_with_arguments(
3228 l: *mut zend_llist,
3229 func: llist_apply_with_args_func_t,
3230 num_args: ::std::os::raw::c_int,
3231 ...
3232 );
3233}
3234extern "C" {
3235 pub fn zend_llist_count(l: *mut zend_llist) -> size_t;
3236}
3237extern "C" {
3238 pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
3239}
3240extern "C" {
3241 pub fn zend_llist_get_first_ex(
3242 l: *mut zend_llist,
3243 pos: *mut zend_llist_position,
3244 ) -> *mut ::std::os::raw::c_void;
3245}
3246extern "C" {
3247 pub fn zend_llist_get_last_ex(
3248 l: *mut zend_llist,
3249 pos: *mut zend_llist_position,
3250 ) -> *mut ::std::os::raw::c_void;
3251}
3252extern "C" {
3253 pub fn zend_llist_get_next_ex(
3254 l: *mut zend_llist,
3255 pos: *mut zend_llist_position,
3256 ) -> *mut ::std::os::raw::c_void;
3257}
3258extern "C" {
3259 pub fn zend_llist_get_prev_ex(
3260 l: *mut zend_llist,
3261 pos: *mut zend_llist_position,
3262 ) -> *mut ::std::os::raw::c_void;
3263}
3264extern "C" {
3265 pub static mut zend_new_interned_string:
3266 ::std::option::Option<unsafe extern "C" fn(str_: *mut zend_string) -> *mut zend_string>;
3267}
3268extern "C" {
3269 pub static mut zend_interned_strings_snapshot: ::std::option::Option<unsafe extern "C" fn()>;
3270}
3271extern "C" {
3272 pub static mut zend_interned_strings_restore: ::std::option::Option<unsafe extern "C" fn()>;
3273}
3274extern "C" {
3275 pub fn zend_hash_func(str_: *const ::std::os::raw::c_char, len: size_t) -> zend_ulong;
3276}
3277extern "C" {
3278 pub fn zend_interned_strings_init();
3279}
3280extern "C" {
3281 pub fn zend_interned_strings_dtor();
3282}
3283#[repr(C)]
3284#[derive(Debug, Copy, Clone)]
3285pub struct _zend_hash_key {
3286 pub h: zend_ulong,
3287 pub key: *mut zend_string,
3288}
3289#[test]
3290fn bindgen_test_layout__zend_hash_key() {
3291 assert_eq!(
3292 ::std::mem::size_of::<_zend_hash_key>(),
3293 16usize,
3294 concat!("Size of: ", stringify!(_zend_hash_key))
3295 );
3296 assert_eq!(
3297 ::std::mem::align_of::<_zend_hash_key>(),
3298 8usize,
3299 concat!("Alignment of ", stringify!(_zend_hash_key))
3300 );
3301 assert_eq!(
3302 unsafe { &(*(::std::ptr::null::<_zend_hash_key>())).h as *const _ as usize },
3303 0usize,
3304 concat!(
3305 "Offset of field: ",
3306 stringify!(_zend_hash_key),
3307 "::",
3308 stringify!(h)
3309 )
3310 );
3311 assert_eq!(
3312 unsafe { &(*(::std::ptr::null::<_zend_hash_key>())).key as *const _ as usize },
3313 8usize,
3314 concat!(
3315 "Offset of field: ",
3316 stringify!(_zend_hash_key),
3317 "::",
3318 stringify!(key)
3319 )
3320 );
3321}
3322pub type zend_hash_key = _zend_hash_key;
3323pub type merge_checker_func_t = ::std::option::Option<
3324 unsafe extern "C" fn(
3325 target_ht: *mut HashTable,
3326 source_data: *mut zval,
3327 hash_key: *mut zend_hash_key,
3328 pParam: *mut ::std::os::raw::c_void,
3329 ) -> zend_bool,
3330>;
3331extern "C" {
3332 pub fn _zend_hash_init(
3333 ht: *mut HashTable,
3334 nSize: u32,
3335 pDestructor: dtor_func_t,
3336 persistent: zend_bool,
3337 );
3338}
3339extern "C" {
3340 pub fn _zend_hash_init_ex(
3341 ht: *mut HashTable,
3342 nSize: u32,
3343 pDestructor: dtor_func_t,
3344 persistent: zend_bool,
3345 bApplyProtection: zend_bool,
3346 );
3347}
3348extern "C" {
3349 pub fn zend_hash_destroy(ht: *mut HashTable);
3350}
3351extern "C" {
3352 pub fn zend_hash_clean(ht: *mut HashTable);
3353}
3354extern "C" {
3355 pub fn zend_hash_real_init(ht: *mut HashTable, packed: zend_bool);
3356}
3357extern "C" {
3358 pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
3359}
3360extern "C" {
3361 pub fn zend_hash_to_packed(ht: *mut HashTable);
3362}
3363extern "C" {
3364 pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: zend_bool);
3365}
3366extern "C" {
3367 pub fn _zend_hash_add_or_update(
3368 ht: *mut HashTable,
3369 key: *mut zend_string,
3370 pData: *mut zval,
3371 flag: u32,
3372 ) -> *mut zval;
3373}
3374extern "C" {
3375 pub fn _zend_hash_update(
3376 ht: *mut HashTable,
3377 key: *mut zend_string,
3378 pData: *mut zval,
3379 ) -> *mut zval;
3380}
3381extern "C" {
3382 pub fn _zend_hash_update_ind(
3383 ht: *mut HashTable,
3384 key: *mut zend_string,
3385 pData: *mut zval,
3386 ) -> *mut zval;
3387}
3388extern "C" {
3389 pub fn _zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval)
3390 -> *mut zval;
3391}
3392extern "C" {
3393 pub fn _zend_hash_add_new(
3394 ht: *mut HashTable,
3395 key: *mut zend_string,
3396 pData: *mut zval,
3397 ) -> *mut zval;
3398}
3399extern "C" {
3400 pub fn _zend_hash_str_add_or_update(
3401 ht: *mut HashTable,
3402 key: *const ::std::os::raw::c_char,
3403 len: size_t,
3404 pData: *mut zval,
3405 flag: u32,
3406 ) -> *mut zval;
3407}
3408extern "C" {
3409 pub fn _zend_hash_str_update(
3410 ht: *mut HashTable,
3411 key: *const ::std::os::raw::c_char,
3412 len: size_t,
3413 pData: *mut zval,
3414 ) -> *mut zval;
3415}
3416extern "C" {
3417 pub fn _zend_hash_str_update_ind(
3418 ht: *mut HashTable,
3419 key: *const ::std::os::raw::c_char,
3420 len: size_t,
3421 pData: *mut zval,
3422 ) -> *mut zval;
3423}
3424extern "C" {
3425 pub fn _zend_hash_str_add(
3426 ht: *mut HashTable,
3427 key: *const ::std::os::raw::c_char,
3428 len: size_t,
3429 pData: *mut zval,
3430 ) -> *mut zval;
3431}
3432extern "C" {
3433 pub fn _zend_hash_str_add_new(
3434 ht: *mut HashTable,
3435 key: *const ::std::os::raw::c_char,
3436 len: size_t,
3437 pData: *mut zval,
3438 ) -> *mut zval;
3439}
3440extern "C" {
3441 pub fn _zend_hash_index_add_or_update(
3442 ht: *mut HashTable,
3443 h: zend_ulong,
3444 pData: *mut zval,
3445 flag: u32,
3446 ) -> *mut zval;
3447}
3448extern "C" {
3449 pub fn _zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
3450}
3451extern "C" {
3452 pub fn _zend_hash_index_add_new(
3453 ht: *mut HashTable,
3454 h: zend_ulong,
3455 pData: *mut zval,
3456 ) -> *mut zval;
3457}
3458extern "C" {
3459 pub fn _zend_hash_index_update(
3460 ht: *mut HashTable,
3461 h: zend_ulong,
3462 pData: *mut zval,
3463 ) -> *mut zval;
3464}
3465extern "C" {
3466 pub fn _zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
3467}
3468extern "C" {
3469 pub fn _zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
3470}
3471extern "C" {
3472 pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
3473}
3474extern "C" {
3475 pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
3476}
3477extern "C" {
3478 pub fn zend_hash_str_add_empty_element(
3479 ht: *mut HashTable,
3480 key: *const ::std::os::raw::c_char,
3481 len: size_t,
3482 ) -> *mut zval;
3483}
3484pub type apply_func_t =
3485 ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval) -> ::std::os::raw::c_int>;
3486pub type apply_func_arg_t = ::std::option::Option<
3487 unsafe extern "C" fn(
3488 pDest: *mut zval,
3489 argument: *mut ::std::os::raw::c_void,
3490 ) -> ::std::os::raw::c_int,
3491>;
3492pub type apply_func_args_t = ::std::option::Option<
3493 unsafe extern "C" fn(
3494 pDest: *mut zval,
3495 num_args: ::std::os::raw::c_int,
3496 args: *mut __va_list_tag,
3497 hash_key: *mut zend_hash_key,
3498 ) -> ::std::os::raw::c_int,
3499>;
3500extern "C" {
3501 pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
3502}
3503extern "C" {
3504 pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
3505}
3506extern "C" {
3507 pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
3508}
3509extern "C" {
3510 pub fn zend_hash_apply_with_argument(
3511 ht: *mut HashTable,
3512 apply_func: apply_func_arg_t,
3513 arg1: *mut ::std::os::raw::c_void,
3514 );
3515}
3516extern "C" {
3517 pub fn zend_hash_apply_with_arguments(
3518 ht: *mut HashTable,
3519 apply_func: apply_func_args_t,
3520 arg1: ::std::os::raw::c_int,
3521 ...
3522 );
3523}
3524extern "C" {
3525 pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
3526}
3527extern "C" {
3528 pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> ::std::os::raw::c_int;
3529}
3530extern "C" {
3531 pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> ::std::os::raw::c_int;
3532}
3533extern "C" {
3534 pub fn zend_hash_str_del(
3535 ht: *mut HashTable,
3536 key: *const ::std::os::raw::c_char,
3537 len: size_t,
3538 ) -> ::std::os::raw::c_int;
3539}
3540extern "C" {
3541 pub fn zend_hash_str_del_ind(
3542 ht: *mut HashTable,
3543 key: *const ::std::os::raw::c_char,
3544 len: size_t,
3545 ) -> ::std::os::raw::c_int;
3546}
3547extern "C" {
3548 pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> ::std::os::raw::c_int;
3549}
3550extern "C" {
3551 pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
3552}
3553extern "C" {
3554 pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
3555}
3556extern "C" {
3557 pub fn zend_hash_str_find(
3558 ht: *const HashTable,
3559 key: *const ::std::os::raw::c_char,
3560 len: size_t,
3561 ) -> *mut zval;
3562}
3563extern "C" {
3564 pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
3565}
3566extern "C" {
3567 pub fn zend_hash_exists(ht: *const HashTable, key: *mut zend_string) -> zend_bool;
3568}
3569extern "C" {
3570 pub fn zend_hash_str_exists(
3571 ht: *const HashTable,
3572 str_: *const ::std::os::raw::c_char,
3573 len: size_t,
3574 ) -> zend_bool;
3575}
3576extern "C" {
3577 pub fn zend_hash_index_exists(ht: *const HashTable, h: zend_ulong) -> zend_bool;
3578}
3579extern "C" {
3580 pub fn zend_hash_move_forward_ex(
3581 ht: *mut HashTable,
3582 pos: *mut HashPosition,
3583 ) -> ::std::os::raw::c_int;
3584}
3585extern "C" {
3586 pub fn zend_hash_move_backwards_ex(
3587 ht: *mut HashTable,
3588 pos: *mut HashPosition,
3589 ) -> ::std::os::raw::c_int;
3590}
3591extern "C" {
3592 pub fn zend_hash_get_current_key_ex(
3593 ht: *const HashTable,
3594 str_index: *mut *mut zend_string,
3595 num_index: *mut zend_ulong,
3596 pos: *mut HashPosition,
3597 ) -> ::std::os::raw::c_int;
3598}
3599extern "C" {
3600 pub fn zend_hash_get_current_key_zval_ex(
3601 ht: *const HashTable,
3602 key: *mut zval,
3603 pos: *mut HashPosition,
3604 );
3605}
3606extern "C" {
3607 pub fn zend_hash_get_current_key_type_ex(
3608 ht: *mut HashTable,
3609 pos: *mut HashPosition,
3610 ) -> ::std::os::raw::c_int;
3611}
3612extern "C" {
3613 pub fn zend_hash_get_current_data_ex(ht: *mut HashTable, pos: *mut HashPosition) -> *mut zval;
3614}
3615extern "C" {
3616 pub fn zend_hash_internal_pointer_reset_ex(ht: *mut HashTable, pos: *mut HashPosition);
3617}
3618extern "C" {
3619 pub fn zend_hash_internal_pointer_end_ex(ht: *mut HashTable, pos: *mut HashPosition);
3620}
3621extern "C" {
3622 pub fn zend_hash_copy(
3623 target: *mut HashTable,
3624 source: *mut HashTable,
3625 pCopyConstructor: copy_ctor_func_t,
3626 );
3627}
3628extern "C" {
3629 pub fn _zend_hash_merge(
3630 target: *mut HashTable,
3631 source: *mut HashTable,
3632 pCopyConstructor: copy_ctor_func_t,
3633 overwrite: zend_bool,
3634 );
3635}
3636extern "C" {
3637 pub fn zend_hash_merge_ex(
3638 target: *mut HashTable,
3639 source: *mut HashTable,
3640 pCopyConstructor: copy_ctor_func_t,
3641 pMergeSource: merge_checker_func_t,
3642 pParam: *mut ::std::os::raw::c_void,
3643 );
3644}
3645extern "C" {
3646 pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
3647}
3648extern "C" {
3649 pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
3650}
3651extern "C" {
3652 pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
3653}
3654extern "C" {
3655 pub fn zend_hash_compare(
3656 ht1: *mut HashTable,
3657 ht2: *mut HashTable,
3658 compar: compare_func_t,
3659 ordered: zend_bool,
3660 ) -> ::std::os::raw::c_int;
3661}
3662extern "C" {
3663 pub fn zend_hash_sort_ex(
3664 ht: *mut HashTable,
3665 sort_func: sort_func_t,
3666 compare_func: compare_func_t,
3667 renumber: zend_bool,
3668 ) -> ::std::os::raw::c_int;
3669}
3670extern "C" {
3671 pub fn zend_hash_minmax(ht: *const HashTable, compar: compare_func_t, flag: u32) -> *mut zval;
3672}
3673extern "C" {
3674 pub fn zend_hash_rehash(ht: *mut HashTable) -> ::std::os::raw::c_int;
3675}
3676extern "C" {
3677 pub fn zend_array_count(ht: *mut HashTable) -> u32;
3678}
3679extern "C" {
3680 pub fn zend_array_dup(source: *mut HashTable) -> *mut HashTable;
3681}
3682extern "C" {
3683 pub fn zend_array_destroy(ht: *mut HashTable);
3684}
3685extern "C" {
3686 pub fn zend_symtable_clean(ht: *mut HashTable);
3687}
3688extern "C" {
3689 pub fn _zend_handle_numeric_str_ex(
3690 key: *const ::std::os::raw::c_char,
3691 length: size_t,
3692 idx: *mut zend_ulong,
3693 ) -> ::std::os::raw::c_int;
3694}
3695extern "C" {
3696 pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
3697}
3698extern "C" {
3699 pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
3700}
3701extern "C" {
3702 pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
3703}
3704extern "C" {
3705 pub fn zend_hash_iterator_del(idx: u32);
3706}
3707extern "C" {
3708 pub fn zend_hash_iterators_lower_pos(ht: *mut HashTable, start: HashPosition) -> HashPosition;
3709}
3710extern "C" {
3711 pub fn _zend_hash_iterators_update(ht: *mut HashTable, from: HashPosition, to: HashPosition);
3712}
3713pub type zend_ast_kind = u16;
3714pub type zend_ast_attr = u16;
3715#[repr(C)]
3716#[derive(Debug, Copy, Clone)]
3717pub struct _zend_ast {
3718 pub kind: zend_ast_kind,
3719 pub attr: zend_ast_attr,
3720 pub lineno: u32,
3721 pub child: [*mut zend_ast; 1usize],
3722}
3723#[test]
3724fn bindgen_test_layout__zend_ast() {
3725 assert_eq!(
3726 ::std::mem::size_of::<_zend_ast>(),
3727 16usize,
3728 concat!("Size of: ", stringify!(_zend_ast))
3729 );
3730 assert_eq!(
3731 ::std::mem::align_of::<_zend_ast>(),
3732 8usize,
3733 concat!("Alignment of ", stringify!(_zend_ast))
3734 );
3735 assert_eq!(
3736 unsafe { &(*(::std::ptr::null::<_zend_ast>())).kind as *const _ as usize },
3737 0usize,
3738 concat!(
3739 "Offset of field: ",
3740 stringify!(_zend_ast),
3741 "::",
3742 stringify!(kind)
3743 )
3744 );
3745 assert_eq!(
3746 unsafe { &(*(::std::ptr::null::<_zend_ast>())).attr as *const _ as usize },
3747 2usize,
3748 concat!(
3749 "Offset of field: ",
3750 stringify!(_zend_ast),
3751 "::",
3752 stringify!(attr)
3753 )
3754 );
3755 assert_eq!(
3756 unsafe { &(*(::std::ptr::null::<_zend_ast>())).lineno as *const _ as usize },
3757 4usize,
3758 concat!(
3759 "Offset of field: ",
3760 stringify!(_zend_ast),
3761 "::",
3762 stringify!(lineno)
3763 )
3764 );
3765 assert_eq!(
3766 unsafe { &(*(::std::ptr::null::<_zend_ast>())).child as *const _ as usize },
3767 8usize,
3768 concat!(
3769 "Offset of field: ",
3770 stringify!(_zend_ast),
3771 "::",
3772 stringify!(child)
3773 )
3774 );
3775}
3776#[repr(C)]
3777#[derive(Debug, Copy, Clone)]
3778pub struct _zend_ast_list {
3779 pub kind: zend_ast_kind,
3780 pub attr: zend_ast_attr,
3781 pub lineno: u32,
3782 pub children: u32,
3783 pub child: [*mut zend_ast; 1usize],
3784}
3785#[test]
3786fn bindgen_test_layout__zend_ast_list() {
3787 assert_eq!(
3788 ::std::mem::size_of::<_zend_ast_list>(),
3789 24usize,
3790 concat!("Size of: ", stringify!(_zend_ast_list))
3791 );
3792 assert_eq!(
3793 ::std::mem::align_of::<_zend_ast_list>(),
3794 8usize,
3795 concat!("Alignment of ", stringify!(_zend_ast_list))
3796 );
3797 assert_eq!(
3798 unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).kind as *const _ as usize },
3799 0usize,
3800 concat!(
3801 "Offset of field: ",
3802 stringify!(_zend_ast_list),
3803 "::",
3804 stringify!(kind)
3805 )
3806 );
3807 assert_eq!(
3808 unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).attr as *const _ as usize },
3809 2usize,
3810 concat!(
3811 "Offset of field: ",
3812 stringify!(_zend_ast_list),
3813 "::",
3814 stringify!(attr)
3815 )
3816 );
3817 assert_eq!(
3818 unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).lineno as *const _ as usize },
3819 4usize,
3820 concat!(
3821 "Offset of field: ",
3822 stringify!(_zend_ast_list),
3823 "::",
3824 stringify!(lineno)
3825 )
3826 );
3827 assert_eq!(
3828 unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).children as *const _ as usize },
3829 8usize,
3830 concat!(
3831 "Offset of field: ",
3832 stringify!(_zend_ast_list),
3833 "::",
3834 stringify!(children)
3835 )
3836 );
3837 assert_eq!(
3838 unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).child as *const _ as usize },
3839 16usize,
3840 concat!(
3841 "Offset of field: ",
3842 stringify!(_zend_ast_list),
3843 "::",
3844 stringify!(child)
3845 )
3846 );
3847}
3848pub type zend_ast_list = _zend_ast_list;
3849#[repr(C)]
3850#[derive(Copy, Clone)]
3851pub struct _zend_ast_zval {
3852 pub kind: zend_ast_kind,
3853 pub attr: zend_ast_attr,
3854 pub val: zval,
3855}
3856#[test]
3857fn bindgen_test_layout__zend_ast_zval() {
3858 assert_eq!(
3859 ::std::mem::size_of::<_zend_ast_zval>(),
3860 24usize,
3861 concat!("Size of: ", stringify!(_zend_ast_zval))
3862 );
3863 assert_eq!(
3864 ::std::mem::align_of::<_zend_ast_zval>(),
3865 8usize,
3866 concat!("Alignment of ", stringify!(_zend_ast_zval))
3867 );
3868 assert_eq!(
3869 unsafe { &(*(::std::ptr::null::<_zend_ast_zval>())).kind as *const _ as usize },
3870 0usize,
3871 concat!(
3872 "Offset of field: ",
3873 stringify!(_zend_ast_zval),
3874 "::",
3875 stringify!(kind)
3876 )
3877 );
3878 assert_eq!(
3879 unsafe { &(*(::std::ptr::null::<_zend_ast_zval>())).attr as *const _ as usize },
3880 2usize,
3881 concat!(
3882 "Offset of field: ",
3883 stringify!(_zend_ast_zval),
3884 "::",
3885 stringify!(attr)
3886 )
3887 );
3888 assert_eq!(
3889 unsafe { &(*(::std::ptr::null::<_zend_ast_zval>())).val as *const _ as usize },
3890 8usize,
3891 concat!(
3892 "Offset of field: ",
3893 stringify!(_zend_ast_zval),
3894 "::",
3895 stringify!(val)
3896 )
3897 );
3898}
3899pub type zend_ast_zval = _zend_ast_zval;
3900#[repr(C)]
3901#[derive(Debug, Copy, Clone)]
3902pub struct _zend_ast_decl {
3903 pub kind: zend_ast_kind,
3904 pub attr: zend_ast_attr,
3905 pub start_lineno: u32,
3906 pub end_lineno: u32,
3907 pub flags: u32,
3908 pub lex_pos: *mut ::std::os::raw::c_uchar,
3909 pub doc_comment: *mut zend_string,
3910 pub name: *mut zend_string,
3911 pub child: [*mut zend_ast; 4usize],
3912}
3913#[test]
3914fn bindgen_test_layout__zend_ast_decl() {
3915 assert_eq!(
3916 ::std::mem::size_of::<_zend_ast_decl>(),
3917 72usize,
3918 concat!("Size of: ", stringify!(_zend_ast_decl))
3919 );
3920 assert_eq!(
3921 ::std::mem::align_of::<_zend_ast_decl>(),
3922 8usize,
3923 concat!("Alignment of ", stringify!(_zend_ast_decl))
3924 );
3925 assert_eq!(
3926 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).kind as *const _ as usize },
3927 0usize,
3928 concat!(
3929 "Offset of field: ",
3930 stringify!(_zend_ast_decl),
3931 "::",
3932 stringify!(kind)
3933 )
3934 );
3935 assert_eq!(
3936 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).attr as *const _ as usize },
3937 2usize,
3938 concat!(
3939 "Offset of field: ",
3940 stringify!(_zend_ast_decl),
3941 "::",
3942 stringify!(attr)
3943 )
3944 );
3945 assert_eq!(
3946 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).start_lineno as *const _ as usize },
3947 4usize,
3948 concat!(
3949 "Offset of field: ",
3950 stringify!(_zend_ast_decl),
3951 "::",
3952 stringify!(start_lineno)
3953 )
3954 );
3955 assert_eq!(
3956 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).end_lineno as *const _ as usize },
3957 8usize,
3958 concat!(
3959 "Offset of field: ",
3960 stringify!(_zend_ast_decl),
3961 "::",
3962 stringify!(end_lineno)
3963 )
3964 );
3965 assert_eq!(
3966 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).flags as *const _ as usize },
3967 12usize,
3968 concat!(
3969 "Offset of field: ",
3970 stringify!(_zend_ast_decl),
3971 "::",
3972 stringify!(flags)
3973 )
3974 );
3975 assert_eq!(
3976 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).lex_pos as *const _ as usize },
3977 16usize,
3978 concat!(
3979 "Offset of field: ",
3980 stringify!(_zend_ast_decl),
3981 "::",
3982 stringify!(lex_pos)
3983 )
3984 );
3985 assert_eq!(
3986 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).doc_comment as *const _ as usize },
3987 24usize,
3988 concat!(
3989 "Offset of field: ",
3990 stringify!(_zend_ast_decl),
3991 "::",
3992 stringify!(doc_comment)
3993 )
3994 );
3995 assert_eq!(
3996 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).name as *const _ as usize },
3997 32usize,
3998 concat!(
3999 "Offset of field: ",
4000 stringify!(_zend_ast_decl),
4001 "::",
4002 stringify!(name)
4003 )
4004 );
4005 assert_eq!(
4006 unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).child as *const _ as usize },
4007 40usize,
4008 concat!(
4009 "Offset of field: ",
4010 stringify!(_zend_ast_decl),
4011 "::",
4012 stringify!(child)
4013 )
4014 );
4015}
4016pub type zend_ast_decl = _zend_ast_decl;
4017pub type zend_ast_process_t = ::std::option::Option<unsafe extern "C" fn(ast: *mut zend_ast)>;
4018extern "C" {
4019 pub static mut zend_ast_process: zend_ast_process_t;
4020}
4021extern "C" {
4022 pub fn zend_ast_create_zval_with_lineno(
4023 zv: *mut zval,
4024 attr: zend_ast_attr,
4025 lineno: u32,
4026 ) -> *mut zend_ast;
4027}
4028extern "C" {
4029 pub fn zend_ast_create_zval_ex(zv: *mut zval, attr: zend_ast_attr) -> *mut zend_ast;
4030}
4031extern "C" {
4032 pub fn zend_ast_create_ex(kind: zend_ast_kind, attr: zend_ast_attr, ...) -> *mut zend_ast;
4033}
4034extern "C" {
4035 pub fn zend_ast_create(kind: zend_ast_kind, ...) -> *mut zend_ast;
4036}
4037extern "C" {
4038 pub fn zend_ast_create_decl(
4039 kind: zend_ast_kind,
4040 flags: u32,
4041 start_lineno: u32,
4042 doc_comment: *mut zend_string,
4043 name: *mut zend_string,
4044 child0: *mut zend_ast,
4045 child1: *mut zend_ast,
4046 child2: *mut zend_ast,
4047 child3: *mut zend_ast,
4048 ) -> *mut zend_ast;
4049}
4050extern "C" {
4051 pub fn zend_ast_create_list(init_children: u32, kind: zend_ast_kind, ...) -> *mut zend_ast;
4052}
4053extern "C" {
4054 pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
4055}
4056extern "C" {
4057 pub fn zend_ast_evaluate(
4058 result: *mut zval,
4059 ast: *mut zend_ast,
4060 scope: *mut zend_class_entry,
4061 ) -> ::std::os::raw::c_int;
4062}
4063extern "C" {
4064 pub fn zend_ast_export(
4065 prefix: *const ::std::os::raw::c_char,
4066 ast: *mut zend_ast,
4067 suffix: *const ::std::os::raw::c_char,
4068 ) -> *mut zend_string;
4069}
4070extern "C" {
4071 pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast;
4072}
4073extern "C" {
4074 pub fn zend_ast_destroy(ast: *mut zend_ast);
4075}
4076extern "C" {
4077 pub fn zend_ast_destroy_and_free(ast: *mut zend_ast);
4078}
4079pub type zend_ast_apply_func =
4080 ::std::option::Option<unsafe extern "C" fn(ast_ptr: *mut *mut zend_ast)>;
4081extern "C" {
4082 pub fn zend_ast_apply(ast: *mut zend_ast, fn_: zend_ast_apply_func);
4083}
4084#[repr(C)]
4085#[derive(Debug, Copy, Clone)]
4086pub struct _gc_root_buffer {
4087 pub ref_: *mut zend_refcounted,
4088 pub next: *mut _gc_root_buffer,
4089 pub prev: *mut _gc_root_buffer,
4090 pub refcount: u32,
4091}
4092#[test]
4093fn bindgen_test_layout__gc_root_buffer() {
4094 assert_eq!(
4095 ::std::mem::size_of::<_gc_root_buffer>(),
4096 32usize,
4097 concat!("Size of: ", stringify!(_gc_root_buffer))
4098 );
4099 assert_eq!(
4100 ::std::mem::align_of::<_gc_root_buffer>(),
4101 8usize,
4102 concat!("Alignment of ", stringify!(_gc_root_buffer))
4103 );
4104 assert_eq!(
4105 unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).ref_ as *const _ as usize },
4106 0usize,
4107 concat!(
4108 "Offset of field: ",
4109 stringify!(_gc_root_buffer),
4110 "::",
4111 stringify!(ref_)
4112 )
4113 );
4114 assert_eq!(
4115 unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).next as *const _ as usize },
4116 8usize,
4117 concat!(
4118 "Offset of field: ",
4119 stringify!(_gc_root_buffer),
4120 "::",
4121 stringify!(next)
4122 )
4123 );
4124 assert_eq!(
4125 unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).prev as *const _ as usize },
4126 16usize,
4127 concat!(
4128 "Offset of field: ",
4129 stringify!(_gc_root_buffer),
4130 "::",
4131 stringify!(prev)
4132 )
4133 );
4134 assert_eq!(
4135 unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).refcount as *const _ as usize },
4136 24usize,
4137 concat!(
4138 "Offset of field: ",
4139 stringify!(_gc_root_buffer),
4140 "::",
4141 stringify!(refcount)
4142 )
4143 );
4144}
4145pub type gc_root_buffer = _gc_root_buffer;
4146pub type gc_additional_buffer = _gc_additional_bufer;
4147#[repr(C)]
4148#[derive(Copy, Clone)]
4149pub struct _gc_additional_bufer {
4150 pub used: u32,
4151 pub next: *mut gc_additional_buffer,
4152 pub buf: [gc_root_buffer; 127usize],
4153}
4154#[test]
4155fn bindgen_test_layout__gc_additional_bufer() {
4156 assert_eq!(
4157 ::std::mem::size_of::<_gc_additional_bufer>(),
4158 4080usize,
4159 concat!("Size of: ", stringify!(_gc_additional_bufer))
4160 );
4161 assert_eq!(
4162 ::std::mem::align_of::<_gc_additional_bufer>(),
4163 8usize,
4164 concat!("Alignment of ", stringify!(_gc_additional_bufer))
4165 );
4166 assert_eq!(
4167 unsafe { &(*(::std::ptr::null::<_gc_additional_bufer>())).used as *const _ as usize },
4168 0usize,
4169 concat!(
4170 "Offset of field: ",
4171 stringify!(_gc_additional_bufer),
4172 "::",
4173 stringify!(used)
4174 )
4175 );
4176 assert_eq!(
4177 unsafe { &(*(::std::ptr::null::<_gc_additional_bufer>())).next as *const _ as usize },
4178 8usize,
4179 concat!(
4180 "Offset of field: ",
4181 stringify!(_gc_additional_bufer),
4182 "::",
4183 stringify!(next)
4184 )
4185 );
4186 assert_eq!(
4187 unsafe { &(*(::std::ptr::null::<_gc_additional_bufer>())).buf as *const _ as usize },
4188 16usize,
4189 concat!(
4190 "Offset of field: ",
4191 stringify!(_gc_additional_bufer),
4192 "::",
4193 stringify!(buf)
4194 )
4195 );
4196}
4197#[repr(C)]
4198#[derive(Debug, Copy, Clone)]
4199pub struct _zend_gc_globals {
4200 pub gc_enabled: zend_bool,
4201 pub gc_active: zend_bool,
4202 pub gc_full: zend_bool,
4203 pub buf: *mut gc_root_buffer,
4204 pub roots: gc_root_buffer,
4205 pub unused: *mut gc_root_buffer,
4206 pub first_unused: *mut gc_root_buffer,
4207 pub last_unused: *mut gc_root_buffer,
4208 pub to_free: gc_root_buffer,
4209 pub next_to_free: *mut gc_root_buffer,
4210 pub gc_runs: u32,
4211 pub collected: u32,
4212 pub additional_buffer: *mut gc_additional_buffer,
4213}
4214#[test]
4215fn bindgen_test_layout__zend_gc_globals() {
4216 assert_eq!(
4217 ::std::mem::size_of::<_zend_gc_globals>(),
4218 128usize,
4219 concat!("Size of: ", stringify!(_zend_gc_globals))
4220 );
4221 assert_eq!(
4222 ::std::mem::align_of::<_zend_gc_globals>(),
4223 8usize,
4224 concat!("Alignment of ", stringify!(_zend_gc_globals))
4225 );
4226 assert_eq!(
4227 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_enabled as *const _ as usize },
4228 0usize,
4229 concat!(
4230 "Offset of field: ",
4231 stringify!(_zend_gc_globals),
4232 "::",
4233 stringify!(gc_enabled)
4234 )
4235 );
4236 assert_eq!(
4237 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_active as *const _ as usize },
4238 1usize,
4239 concat!(
4240 "Offset of field: ",
4241 stringify!(_zend_gc_globals),
4242 "::",
4243 stringify!(gc_active)
4244 )
4245 );
4246 assert_eq!(
4247 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_full as *const _ as usize },
4248 2usize,
4249 concat!(
4250 "Offset of field: ",
4251 stringify!(_zend_gc_globals),
4252 "::",
4253 stringify!(gc_full)
4254 )
4255 );
4256 assert_eq!(
4257 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).buf as *const _ as usize },
4258 8usize,
4259 concat!(
4260 "Offset of field: ",
4261 stringify!(_zend_gc_globals),
4262 "::",
4263 stringify!(buf)
4264 )
4265 );
4266 assert_eq!(
4267 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).roots as *const _ as usize },
4268 16usize,
4269 concat!(
4270 "Offset of field: ",
4271 stringify!(_zend_gc_globals),
4272 "::",
4273 stringify!(roots)
4274 )
4275 );
4276 assert_eq!(
4277 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).unused as *const _ as usize },
4278 48usize,
4279 concat!(
4280 "Offset of field: ",
4281 stringify!(_zend_gc_globals),
4282 "::",
4283 stringify!(unused)
4284 )
4285 );
4286 assert_eq!(
4287 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).first_unused as *const _ as usize },
4288 56usize,
4289 concat!(
4290 "Offset of field: ",
4291 stringify!(_zend_gc_globals),
4292 "::",
4293 stringify!(first_unused)
4294 )
4295 );
4296 assert_eq!(
4297 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).last_unused as *const _ as usize },
4298 64usize,
4299 concat!(
4300 "Offset of field: ",
4301 stringify!(_zend_gc_globals),
4302 "::",
4303 stringify!(last_unused)
4304 )
4305 );
4306 assert_eq!(
4307 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).to_free as *const _ as usize },
4308 72usize,
4309 concat!(
4310 "Offset of field: ",
4311 stringify!(_zend_gc_globals),
4312 "::",
4313 stringify!(to_free)
4314 )
4315 );
4316 assert_eq!(
4317 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).next_to_free as *const _ as usize },
4318 104usize,
4319 concat!(
4320 "Offset of field: ",
4321 stringify!(_zend_gc_globals),
4322 "::",
4323 stringify!(next_to_free)
4324 )
4325 );
4326 assert_eq!(
4327 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_runs as *const _ as usize },
4328 112usize,
4329 concat!(
4330 "Offset of field: ",
4331 stringify!(_zend_gc_globals),
4332 "::",
4333 stringify!(gc_runs)
4334 )
4335 );
4336 assert_eq!(
4337 unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).collected as *const _ as usize },
4338 116usize,
4339 concat!(
4340 "Offset of field: ",
4341 stringify!(_zend_gc_globals),
4342 "::",
4343 stringify!(collected)
4344 )
4345 );
4346 assert_eq!(
4347 unsafe {
4348 &(*(::std::ptr::null::<_zend_gc_globals>())).additional_buffer as *const _ as usize
4349 },
4350 120usize,
4351 concat!(
4352 "Offset of field: ",
4353 stringify!(_zend_gc_globals),
4354 "::",
4355 stringify!(additional_buffer)
4356 )
4357 );
4358}
4359pub type zend_gc_globals = _zend_gc_globals;
4360extern "C" {
4361 pub static mut gc_globals: zend_gc_globals;
4362}
4363extern "C" {
4364 pub static mut gc_collect_cycles:
4365 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
4366}
4367extern "C" {
4368 pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
4369}
4370extern "C" {
4371 pub fn zend_print_variable(var: *mut zval) -> size_t;
4372}
4373pub type zend_object_iterator = _zend_object_iterator;
4374#[repr(C)]
4375#[derive(Debug, Copy, Clone)]
4376pub struct _zend_object_iterator_funcs {
4377 pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
4378 pub valid: ::std::option::Option<
4379 unsafe extern "C" fn(iter: *mut zend_object_iterator) -> ::std::os::raw::c_int,
4380 >,
4381 pub get_current_data:
4382 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
4383 pub get_current_key: ::std::option::Option<
4384 unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
4385 >,
4386 pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
4387 pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
4388 pub invalidate_current:
4389 ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
4390}
4391#[test]
4392fn bindgen_test_layout__zend_object_iterator_funcs() {
4393 assert_eq!(
4394 ::std::mem::size_of::<_zend_object_iterator_funcs>(),
4395 56usize,
4396 concat!("Size of: ", stringify!(_zend_object_iterator_funcs))
4397 );
4398 assert_eq!(
4399 ::std::mem::align_of::<_zend_object_iterator_funcs>(),
4400 8usize,
4401 concat!("Alignment of ", stringify!(_zend_object_iterator_funcs))
4402 );
4403 assert_eq!(
4404 unsafe {
4405 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).dtor as *const _ as usize
4406 },
4407 0usize,
4408 concat!(
4409 "Offset of field: ",
4410 stringify!(_zend_object_iterator_funcs),
4411 "::",
4412 stringify!(dtor)
4413 )
4414 );
4415 assert_eq!(
4416 unsafe {
4417 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).valid as *const _ as usize
4418 },
4419 8usize,
4420 concat!(
4421 "Offset of field: ",
4422 stringify!(_zend_object_iterator_funcs),
4423 "::",
4424 stringify!(valid)
4425 )
4426 );
4427 assert_eq!(
4428 unsafe {
4429 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).get_current_data as *const _
4430 as usize
4431 },
4432 16usize,
4433 concat!(
4434 "Offset of field: ",
4435 stringify!(_zend_object_iterator_funcs),
4436 "::",
4437 stringify!(get_current_data)
4438 )
4439 );
4440 assert_eq!(
4441 unsafe {
4442 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).get_current_key as *const _
4443 as usize
4444 },
4445 24usize,
4446 concat!(
4447 "Offset of field: ",
4448 stringify!(_zend_object_iterator_funcs),
4449 "::",
4450 stringify!(get_current_key)
4451 )
4452 );
4453 assert_eq!(
4454 unsafe {
4455 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).move_forward as *const _
4456 as usize
4457 },
4458 32usize,
4459 concat!(
4460 "Offset of field: ",
4461 stringify!(_zend_object_iterator_funcs),
4462 "::",
4463 stringify!(move_forward)
4464 )
4465 );
4466 assert_eq!(
4467 unsafe {
4468 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).rewind as *const _ as usize
4469 },
4470 40usize,
4471 concat!(
4472 "Offset of field: ",
4473 stringify!(_zend_object_iterator_funcs),
4474 "::",
4475 stringify!(rewind)
4476 )
4477 );
4478 assert_eq!(
4479 unsafe {
4480 &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).invalidate_current as *const _
4481 as usize
4482 },
4483 48usize,
4484 concat!(
4485 "Offset of field: ",
4486 stringify!(_zend_object_iterator_funcs),
4487 "::",
4488 stringify!(invalidate_current)
4489 )
4490 );
4491}
4492pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
4493#[repr(C)]
4494#[derive(Copy, Clone)]
4495pub struct _zend_object_iterator {
4496 pub std: zend_object,
4497 pub data: zval,
4498 pub funcs: *mut zend_object_iterator_funcs,
4499 pub index: zend_ulong,
4500}
4501#[test]
4502fn bindgen_test_layout__zend_object_iterator() {
4503 assert_eq!(
4504 ::std::mem::size_of::<_zend_object_iterator>(),
4505 88usize,
4506 concat!("Size of: ", stringify!(_zend_object_iterator))
4507 );
4508 assert_eq!(
4509 ::std::mem::align_of::<_zend_object_iterator>(),
4510 8usize,
4511 concat!("Alignment of ", stringify!(_zend_object_iterator))
4512 );
4513 assert_eq!(
4514 unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).std as *const _ as usize },
4515 0usize,
4516 concat!(
4517 "Offset of field: ",
4518 stringify!(_zend_object_iterator),
4519 "::",
4520 stringify!(std)
4521 )
4522 );
4523 assert_eq!(
4524 unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).data as *const _ as usize },
4525 56usize,
4526 concat!(
4527 "Offset of field: ",
4528 stringify!(_zend_object_iterator),
4529 "::",
4530 stringify!(data)
4531 )
4532 );
4533 assert_eq!(
4534 unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).funcs as *const _ as usize },
4535 72usize,
4536 concat!(
4537 "Offset of field: ",
4538 stringify!(_zend_object_iterator),
4539 "::",
4540 stringify!(funcs)
4541 )
4542 );
4543 assert_eq!(
4544 unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).index as *const _ as usize },
4545 80usize,
4546 concat!(
4547 "Offset of field: ",
4548 stringify!(_zend_object_iterator),
4549 "::",
4550 stringify!(index)
4551 )
4552 );
4553}
4554#[repr(C)]
4555#[derive(Debug, Copy, Clone)]
4556pub struct _zend_class_iterator_funcs {
4557 pub funcs: *mut zend_object_iterator_funcs,
4558 pub zf_new_iterator: *mut _zend_function,
4559 pub zf_valid: *mut _zend_function,
4560 pub zf_current: *mut _zend_function,
4561 pub zf_key: *mut _zend_function,
4562 pub zf_next: *mut _zend_function,
4563 pub zf_rewind: *mut _zend_function,
4564}
4565#[test]
4566fn bindgen_test_layout__zend_class_iterator_funcs() {
4567 assert_eq!(
4568 ::std::mem::size_of::<_zend_class_iterator_funcs>(),
4569 56usize,
4570 concat!("Size of: ", stringify!(_zend_class_iterator_funcs))
4571 );
4572 assert_eq!(
4573 ::std::mem::align_of::<_zend_class_iterator_funcs>(),
4574 8usize,
4575 concat!("Alignment of ", stringify!(_zend_class_iterator_funcs))
4576 );
4577 assert_eq!(
4578 unsafe {
4579 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).funcs as *const _ as usize
4580 },
4581 0usize,
4582 concat!(
4583 "Offset of field: ",
4584 stringify!(_zend_class_iterator_funcs),
4585 "::",
4586 stringify!(funcs)
4587 )
4588 );
4589 assert_eq!(
4590 unsafe {
4591 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_new_iterator as *const _
4592 as usize
4593 },
4594 8usize,
4595 concat!(
4596 "Offset of field: ",
4597 stringify!(_zend_class_iterator_funcs),
4598 "::",
4599 stringify!(zf_new_iterator)
4600 )
4601 );
4602 assert_eq!(
4603 unsafe {
4604 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_valid as *const _ as usize
4605 },
4606 16usize,
4607 concat!(
4608 "Offset of field: ",
4609 stringify!(_zend_class_iterator_funcs),
4610 "::",
4611 stringify!(zf_valid)
4612 )
4613 );
4614 assert_eq!(
4615 unsafe {
4616 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_current as *const _ as usize
4617 },
4618 24usize,
4619 concat!(
4620 "Offset of field: ",
4621 stringify!(_zend_class_iterator_funcs),
4622 "::",
4623 stringify!(zf_current)
4624 )
4625 );
4626 assert_eq!(
4627 unsafe {
4628 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_key as *const _ as usize
4629 },
4630 32usize,
4631 concat!(
4632 "Offset of field: ",
4633 stringify!(_zend_class_iterator_funcs),
4634 "::",
4635 stringify!(zf_key)
4636 )
4637 );
4638 assert_eq!(
4639 unsafe {
4640 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_next as *const _ as usize
4641 },
4642 40usize,
4643 concat!(
4644 "Offset of field: ",
4645 stringify!(_zend_class_iterator_funcs),
4646 "::",
4647 stringify!(zf_next)
4648 )
4649 );
4650 assert_eq!(
4651 unsafe {
4652 &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_rewind as *const _ as usize
4653 },
4654 48usize,
4655 concat!(
4656 "Offset of field: ",
4657 stringify!(_zend_class_iterator_funcs),
4658 "::",
4659 stringify!(zf_rewind)
4660 )
4661 );
4662}
4663pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
4664extern "C" {
4665 pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
4666}
4667extern "C" {
4668 pub fn zend_iterator_init(iter: *mut zend_object_iterator);
4669}
4670extern "C" {
4671 pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
4672}
4673extern "C" {
4674 pub fn zend_register_iterator_wrapper();
4675}
4676#[repr(C)]
4677#[derive(Debug, Copy, Clone)]
4678pub struct stat {
4679 pub st_dev: __dev_t,
4680 pub st_ino: __ino_t,
4681 pub st_nlink: __nlink_t,
4682 pub st_mode: __mode_t,
4683 pub st_uid: __uid_t,
4684 pub st_gid: __gid_t,
4685 pub __pad0: ::std::os::raw::c_int,
4686 pub st_rdev: __dev_t,
4687 pub st_size: __off_t,
4688 pub st_blksize: __blksize_t,
4689 pub st_blocks: __blkcnt_t,
4690 pub st_atim: timespec,
4691 pub st_mtim: timespec,
4692 pub st_ctim: timespec,
4693 pub __glibc_reserved: [__syscall_slong_t; 3usize],
4694}
4695#[test]
4696fn bindgen_test_layout_stat() {
4697 assert_eq!(
4698 ::std::mem::size_of::<stat>(),
4699 144usize,
4700 concat!("Size of: ", stringify!(stat))
4701 );
4702 assert_eq!(
4703 ::std::mem::align_of::<stat>(),
4704 8usize,
4705 concat!("Alignment of ", stringify!(stat))
4706 );
4707 assert_eq!(
4708 unsafe { &(*(::std::ptr::null::<stat>())).st_dev as *const _ as usize },
4709 0usize,
4710 concat!(
4711 "Offset of field: ",
4712 stringify!(stat),
4713 "::",
4714 stringify!(st_dev)
4715 )
4716 );
4717 assert_eq!(
4718 unsafe { &(*(::std::ptr::null::<stat>())).st_ino as *const _ as usize },
4719 8usize,
4720 concat!(
4721 "Offset of field: ",
4722 stringify!(stat),
4723 "::",
4724 stringify!(st_ino)
4725 )
4726 );
4727 assert_eq!(
4728 unsafe { &(*(::std::ptr::null::<stat>())).st_nlink as *const _ as usize },
4729 16usize,
4730 concat!(
4731 "Offset of field: ",
4732 stringify!(stat),
4733 "::",
4734 stringify!(st_nlink)
4735 )
4736 );
4737 assert_eq!(
4738 unsafe { &(*(::std::ptr::null::<stat>())).st_mode as *const _ as usize },
4739 24usize,
4740 concat!(
4741 "Offset of field: ",
4742 stringify!(stat),
4743 "::",
4744 stringify!(st_mode)
4745 )
4746 );
4747 assert_eq!(
4748 unsafe { &(*(::std::ptr::null::<stat>())).st_uid as *const _ as usize },
4749 28usize,
4750 concat!(
4751 "Offset of field: ",
4752 stringify!(stat),
4753 "::",
4754 stringify!(st_uid)
4755 )
4756 );
4757 assert_eq!(
4758 unsafe { &(*(::std::ptr::null::<stat>())).st_gid as *const _ as usize },
4759 32usize,
4760 concat!(
4761 "Offset of field: ",
4762 stringify!(stat),
4763 "::",
4764 stringify!(st_gid)
4765 )
4766 );
4767 assert_eq!(
4768 unsafe { &(*(::std::ptr::null::<stat>())).__pad0 as *const _ as usize },
4769 36usize,
4770 concat!(
4771 "Offset of field: ",
4772 stringify!(stat),
4773 "::",
4774 stringify!(__pad0)
4775 )
4776 );
4777 assert_eq!(
4778 unsafe { &(*(::std::ptr::null::<stat>())).st_rdev as *const _ as usize },
4779 40usize,
4780 concat!(
4781 "Offset of field: ",
4782 stringify!(stat),
4783 "::",
4784 stringify!(st_rdev)
4785 )
4786 );
4787 assert_eq!(
4788 unsafe { &(*(::std::ptr::null::<stat>())).st_size as *const _ as usize },
4789 48usize,
4790 concat!(
4791 "Offset of field: ",
4792 stringify!(stat),
4793 "::",
4794 stringify!(st_size)
4795 )
4796 );
4797 assert_eq!(
4798 unsafe { &(*(::std::ptr::null::<stat>())).st_blksize as *const _ as usize },
4799 56usize,
4800 concat!(
4801 "Offset of field: ",
4802 stringify!(stat),
4803 "::",
4804 stringify!(st_blksize)
4805 )
4806 );
4807 assert_eq!(
4808 unsafe { &(*(::std::ptr::null::<stat>())).st_blocks as *const _ as usize },
4809 64usize,
4810 concat!(
4811 "Offset of field: ",
4812 stringify!(stat),
4813 "::",
4814 stringify!(st_blocks)
4815 )
4816 );
4817 assert_eq!(
4818 unsafe { &(*(::std::ptr::null::<stat>())).st_atim as *const _ as usize },
4819 72usize,
4820 concat!(
4821 "Offset of field: ",
4822 stringify!(stat),
4823 "::",
4824 stringify!(st_atim)
4825 )
4826 );
4827 assert_eq!(
4828 unsafe { &(*(::std::ptr::null::<stat>())).st_mtim as *const _ as usize },
4829 88usize,
4830 concat!(
4831 "Offset of field: ",
4832 stringify!(stat),
4833 "::",
4834 stringify!(st_mtim)
4835 )
4836 );
4837 assert_eq!(
4838 unsafe { &(*(::std::ptr::null::<stat>())).st_ctim as *const _ as usize },
4839 104usize,
4840 concat!(
4841 "Offset of field: ",
4842 stringify!(stat),
4843 "::",
4844 stringify!(st_ctim)
4845 )
4846 );
4847 assert_eq!(
4848 unsafe { &(*(::std::ptr::null::<stat>())).__glibc_reserved as *const _ as usize },
4849 120usize,
4850 concat!(
4851 "Offset of field: ",
4852 stringify!(stat),
4853 "::",
4854 stringify!(__glibc_reserved)
4855 )
4856 );
4857}
4858pub type zend_stream_fsizer_t =
4859 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> size_t>;
4860pub type zend_stream_reader_t = ::std::option::Option<
4861 unsafe extern "C" fn(
4862 handle: *mut ::std::os::raw::c_void,
4863 buf: *mut ::std::os::raw::c_char,
4864 len: size_t,
4865 ) -> size_t,
4866>;
4867pub type zend_stream_closer_t =
4868 ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
4869pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
4870pub const zend_stream_type_ZEND_HANDLE_FD: zend_stream_type = 1;
4871pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 2;
4872pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 3;
4873pub const zend_stream_type_ZEND_HANDLE_MAPPED: zend_stream_type = 4;
4874pub type zend_stream_type = ::std::os::raw::c_uint;
4875#[repr(C)]
4876#[derive(Debug, Copy, Clone)]
4877pub struct _zend_mmap {
4878 pub len: size_t,
4879 pub pos: size_t,
4880 pub map: *mut ::std::os::raw::c_void,
4881 pub buf: *mut ::std::os::raw::c_char,
4882 pub old_handle: *mut ::std::os::raw::c_void,
4883 pub old_closer: zend_stream_closer_t,
4884}
4885#[test]
4886fn bindgen_test_layout__zend_mmap() {
4887 assert_eq!(
4888 ::std::mem::size_of::<_zend_mmap>(),
4889 48usize,
4890 concat!("Size of: ", stringify!(_zend_mmap))
4891 );
4892 assert_eq!(
4893 ::std::mem::align_of::<_zend_mmap>(),
4894 8usize,
4895 concat!("Alignment of ", stringify!(_zend_mmap))
4896 );
4897 assert_eq!(
4898 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).len as *const _ as usize },
4899 0usize,
4900 concat!(
4901 "Offset of field: ",
4902 stringify!(_zend_mmap),
4903 "::",
4904 stringify!(len)
4905 )
4906 );
4907 assert_eq!(
4908 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).pos as *const _ as usize },
4909 8usize,
4910 concat!(
4911 "Offset of field: ",
4912 stringify!(_zend_mmap),
4913 "::",
4914 stringify!(pos)
4915 )
4916 );
4917 assert_eq!(
4918 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).map as *const _ as usize },
4919 16usize,
4920 concat!(
4921 "Offset of field: ",
4922 stringify!(_zend_mmap),
4923 "::",
4924 stringify!(map)
4925 )
4926 );
4927 assert_eq!(
4928 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).buf as *const _ as usize },
4929 24usize,
4930 concat!(
4931 "Offset of field: ",
4932 stringify!(_zend_mmap),
4933 "::",
4934 stringify!(buf)
4935 )
4936 );
4937 assert_eq!(
4938 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).old_handle as *const _ as usize },
4939 32usize,
4940 concat!(
4941 "Offset of field: ",
4942 stringify!(_zend_mmap),
4943 "::",
4944 stringify!(old_handle)
4945 )
4946 );
4947 assert_eq!(
4948 unsafe { &(*(::std::ptr::null::<_zend_mmap>())).old_closer as *const _ as usize },
4949 40usize,
4950 concat!(
4951 "Offset of field: ",
4952 stringify!(_zend_mmap),
4953 "::",
4954 stringify!(old_closer)
4955 )
4956 );
4957}
4958pub type zend_mmap = _zend_mmap;
4959#[repr(C)]
4960#[derive(Debug, Copy, Clone)]
4961pub struct _zend_stream {
4962 pub handle: *mut ::std::os::raw::c_void,
4963 pub isatty: ::std::os::raw::c_int,
4964 pub mmap: zend_mmap,
4965 pub reader: zend_stream_reader_t,
4966 pub fsizer: zend_stream_fsizer_t,
4967 pub closer: zend_stream_closer_t,
4968}
4969#[test]
4970fn bindgen_test_layout__zend_stream() {
4971 assert_eq!(
4972 ::std::mem::size_of::<_zend_stream>(),
4973 88usize,
4974 concat!("Size of: ", stringify!(_zend_stream))
4975 );
4976 assert_eq!(
4977 ::std::mem::align_of::<_zend_stream>(),
4978 8usize,
4979 concat!("Alignment of ", stringify!(_zend_stream))
4980 );
4981 assert_eq!(
4982 unsafe { &(*(::std::ptr::null::<_zend_stream>())).handle as *const _ as usize },
4983 0usize,
4984 concat!(
4985 "Offset of field: ",
4986 stringify!(_zend_stream),
4987 "::",
4988 stringify!(handle)
4989 )
4990 );
4991 assert_eq!(
4992 unsafe { &(*(::std::ptr::null::<_zend_stream>())).isatty as *const _ as usize },
4993 8usize,
4994 concat!(
4995 "Offset of field: ",
4996 stringify!(_zend_stream),
4997 "::",
4998 stringify!(isatty)
4999 )
5000 );
5001 assert_eq!(
5002 unsafe { &(*(::std::ptr::null::<_zend_stream>())).mmap as *const _ as usize },
5003 16usize,
5004 concat!(
5005 "Offset of field: ",
5006 stringify!(_zend_stream),
5007 "::",
5008 stringify!(mmap)
5009 )
5010 );
5011 assert_eq!(
5012 unsafe { &(*(::std::ptr::null::<_zend_stream>())).reader as *const _ as usize },
5013 64usize,
5014 concat!(
5015 "Offset of field: ",
5016 stringify!(_zend_stream),
5017 "::",
5018 stringify!(reader)
5019 )
5020 );
5021 assert_eq!(
5022 unsafe { &(*(::std::ptr::null::<_zend_stream>())).fsizer as *const _ as usize },
5023 72usize,
5024 concat!(
5025 "Offset of field: ",
5026 stringify!(_zend_stream),
5027 "::",
5028 stringify!(fsizer)
5029 )
5030 );
5031 assert_eq!(
5032 unsafe { &(*(::std::ptr::null::<_zend_stream>())).closer as *const _ as usize },
5033 80usize,
5034 concat!(
5035 "Offset of field: ",
5036 stringify!(_zend_stream),
5037 "::",
5038 stringify!(closer)
5039 )
5040 );
5041}
5042pub type zend_stream = _zend_stream;
5043#[repr(C)]
5044#[derive(Copy, Clone)]
5045pub struct _zend_file_handle {
5046 pub handle: _zend_file_handle__bindgen_ty_1,
5047 pub filename: *const ::std::os::raw::c_char,
5048 pub opened_path: *mut zend_string,
5049 pub type_: zend_stream_type,
5050 pub free_filename: zend_bool,
5051}
5052#[repr(C)]
5053#[derive(Copy, Clone)]
5054pub union _zend_file_handle__bindgen_ty_1 {
5055 pub fd: ::std::os::raw::c_int,
5056 pub fp: *mut FILE,
5057 pub stream: zend_stream,
5058 _bindgen_union_align: [u64; 11usize],
5059}
5060#[test]
5061fn bindgen_test_layout__zend_file_handle__bindgen_ty_1() {
5062 assert_eq!(
5063 ::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>(),
5064 88usize,
5065 concat!("Size of: ", stringify!(_zend_file_handle__bindgen_ty_1))
5066 );
5067 assert_eq!(
5068 ::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>(),
5069 8usize,
5070 concat!("Alignment of ", stringify!(_zend_file_handle__bindgen_ty_1))
5071 );
5072 assert_eq!(
5073 unsafe {
5074 &(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).fd as *const _ as usize
5075 },
5076 0usize,
5077 concat!(
5078 "Offset of field: ",
5079 stringify!(_zend_file_handle__bindgen_ty_1),
5080 "::",
5081 stringify!(fd)
5082 )
5083 );
5084 assert_eq!(
5085 unsafe {
5086 &(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).fp as *const _ as usize
5087 },
5088 0usize,
5089 concat!(
5090 "Offset of field: ",
5091 stringify!(_zend_file_handle__bindgen_ty_1),
5092 "::",
5093 stringify!(fp)
5094 )
5095 );
5096 assert_eq!(
5097 unsafe {
5098 &(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).stream as *const _ as usize
5099 },
5100 0usize,
5101 concat!(
5102 "Offset of field: ",
5103 stringify!(_zend_file_handle__bindgen_ty_1),
5104 "::",
5105 stringify!(stream)
5106 )
5107 );
5108}
5109#[test]
5110fn bindgen_test_layout__zend_file_handle() {
5111 assert_eq!(
5112 ::std::mem::size_of::<_zend_file_handle>(),
5113 112usize,
5114 concat!("Size of: ", stringify!(_zend_file_handle))
5115 );
5116 assert_eq!(
5117 ::std::mem::align_of::<_zend_file_handle>(),
5118 8usize,
5119 concat!("Alignment of ", stringify!(_zend_file_handle))
5120 );
5121 assert_eq!(
5122 unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).handle as *const _ as usize },
5123 0usize,
5124 concat!(
5125 "Offset of field: ",
5126 stringify!(_zend_file_handle),
5127 "::",
5128 stringify!(handle)
5129 )
5130 );
5131 assert_eq!(
5132 unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).filename as *const _ as usize },
5133 88usize,
5134 concat!(
5135 "Offset of field: ",
5136 stringify!(_zend_file_handle),
5137 "::",
5138 stringify!(filename)
5139 )
5140 );
5141 assert_eq!(
5142 unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).opened_path as *const _ as usize },
5143 96usize,
5144 concat!(
5145 "Offset of field: ",
5146 stringify!(_zend_file_handle),
5147 "::",
5148 stringify!(opened_path)
5149 )
5150 );
5151 assert_eq!(
5152 unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).type_ as *const _ as usize },
5153 104usize,
5154 concat!(
5155 "Offset of field: ",
5156 stringify!(_zend_file_handle),
5157 "::",
5158 stringify!(type_)
5159 )
5160 );
5161 assert_eq!(
5162 unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).free_filename as *const _ as usize },
5163 108usize,
5164 concat!(
5165 "Offset of field: ",
5166 stringify!(_zend_file_handle),
5167 "::",
5168 stringify!(free_filename)
5169 )
5170 );
5171}
5172pub type zend_file_handle = _zend_file_handle;
5173extern "C" {
5174 pub fn zend_stream_open(
5175 filename: *const ::std::os::raw::c_char,
5176 handle: *mut zend_file_handle,
5177 ) -> ::std::os::raw::c_int;
5178}
5179extern "C" {
5180 pub fn zend_stream_fixup(
5181 file_handle: *mut zend_file_handle,
5182 buf: *mut *mut ::std::os::raw::c_char,
5183 len: *mut size_t,
5184 ) -> ::std::os::raw::c_int;
5185}
5186extern "C" {
5187 pub fn zend_file_handle_dtor(fh: *mut zend_file_handle);
5188}
5189extern "C" {
5190 pub fn zend_compare_file_handles(
5191 fh1: *mut zend_file_handle,
5192 fh2: *mut zend_file_handle,
5193 ) -> ::std::os::raw::c_int;
5194}
5195pub type zend_stat_t = stat;
5196extern "C" {
5197 pub fn zend_error_noreturn(
5198 type_: ::std::os::raw::c_int,
5199 format: *const ::std::os::raw::c_char,
5200 ...
5201 );
5202}
5203#[repr(C)]
5204#[derive(Debug, Copy, Clone)]
5205pub struct _zend_serialize_data {
5206 _unused: [u8; 0],
5207}
5208#[repr(C)]
5209#[derive(Debug, Copy, Clone)]
5210pub struct _zend_unserialize_data {
5211 _unused: [u8; 0],
5212}
5213pub type zend_serialize_data = _zend_serialize_data;
5214pub type zend_unserialize_data = _zend_unserialize_data;
5215#[repr(C)]
5216#[derive(Debug, Copy, Clone)]
5217pub struct _zend_trait_method_reference {
5218 pub method_name: *mut zend_string,
5219 pub ce: *mut zend_class_entry,
5220 pub class_name: *mut zend_string,
5221}
5222#[test]
5223fn bindgen_test_layout__zend_trait_method_reference() {
5224 assert_eq!(
5225 ::std::mem::size_of::<_zend_trait_method_reference>(),
5226 24usize,
5227 concat!("Size of: ", stringify!(_zend_trait_method_reference))
5228 );
5229 assert_eq!(
5230 ::std::mem::align_of::<_zend_trait_method_reference>(),
5231 8usize,
5232 concat!("Alignment of ", stringify!(_zend_trait_method_reference))
5233 );
5234 assert_eq!(
5235 unsafe {
5236 &(*(::std::ptr::null::<_zend_trait_method_reference>())).method_name as *const _
5237 as usize
5238 },
5239 0usize,
5240 concat!(
5241 "Offset of field: ",
5242 stringify!(_zend_trait_method_reference),
5243 "::",
5244 stringify!(method_name)
5245 )
5246 );
5247 assert_eq!(
5248 unsafe { &(*(::std::ptr::null::<_zend_trait_method_reference>())).ce as *const _ as usize },
5249 8usize,
5250 concat!(
5251 "Offset of field: ",
5252 stringify!(_zend_trait_method_reference),
5253 "::",
5254 stringify!(ce)
5255 )
5256 );
5257 assert_eq!(
5258 unsafe {
5259 &(*(::std::ptr::null::<_zend_trait_method_reference>())).class_name as *const _ as usize
5260 },
5261 16usize,
5262 concat!(
5263 "Offset of field: ",
5264 stringify!(_zend_trait_method_reference),
5265 "::",
5266 stringify!(class_name)
5267 )
5268 );
5269}
5270pub type zend_trait_method_reference = _zend_trait_method_reference;
5271#[repr(C)]
5272#[derive(Debug, Copy, Clone)]
5273pub struct _zend_trait_precedence {
5274 pub trait_method: *mut zend_trait_method_reference,
5275 pub exclude_from_classes: *mut _zend_trait_precedence__bindgen_ty_1,
5276}
5277#[repr(C)]
5278#[derive(Copy, Clone)]
5279pub union _zend_trait_precedence__bindgen_ty_1 {
5280 pub ce: *mut zend_class_entry,
5281 pub class_name: *mut zend_string,
5282 _bindgen_union_align: u64,
5283}
5284#[test]
5285fn bindgen_test_layout__zend_trait_precedence__bindgen_ty_1() {
5286 assert_eq!(
5287 ::std::mem::size_of::<_zend_trait_precedence__bindgen_ty_1>(),
5288 8usize,
5289 concat!(
5290 "Size of: ",
5291 stringify!(_zend_trait_precedence__bindgen_ty_1)
5292 )
5293 );
5294 assert_eq!(
5295 ::std::mem::align_of::<_zend_trait_precedence__bindgen_ty_1>(),
5296 8usize,
5297 concat!(
5298 "Alignment of ",
5299 stringify!(_zend_trait_precedence__bindgen_ty_1)
5300 )
5301 );
5302 assert_eq!(
5303 unsafe {
5304 &(*(::std::ptr::null::<_zend_trait_precedence__bindgen_ty_1>())).ce as *const _ as usize
5305 },
5306 0usize,
5307 concat!(
5308 "Offset of field: ",
5309 stringify!(_zend_trait_precedence__bindgen_ty_1),
5310 "::",
5311 stringify!(ce)
5312 )
5313 );
5314 assert_eq!(
5315 unsafe {
5316 &(*(::std::ptr::null::<_zend_trait_precedence__bindgen_ty_1>())).class_name as *const _
5317 as usize
5318 },
5319 0usize,
5320 concat!(
5321 "Offset of field: ",
5322 stringify!(_zend_trait_precedence__bindgen_ty_1),
5323 "::",
5324 stringify!(class_name)
5325 )
5326 );
5327}
5328#[test]
5329fn bindgen_test_layout__zend_trait_precedence() {
5330 assert_eq!(
5331 ::std::mem::size_of::<_zend_trait_precedence>(),
5332 16usize,
5333 concat!("Size of: ", stringify!(_zend_trait_precedence))
5334 );
5335 assert_eq!(
5336 ::std::mem::align_of::<_zend_trait_precedence>(),
5337 8usize,
5338 concat!("Alignment of ", stringify!(_zend_trait_precedence))
5339 );
5340 assert_eq!(
5341 unsafe {
5342 &(*(::std::ptr::null::<_zend_trait_precedence>())).trait_method as *const _ as usize
5343 },
5344 0usize,
5345 concat!(
5346 "Offset of field: ",
5347 stringify!(_zend_trait_precedence),
5348 "::",
5349 stringify!(trait_method)
5350 )
5351 );
5352 assert_eq!(
5353 unsafe {
5354 &(*(::std::ptr::null::<_zend_trait_precedence>())).exclude_from_classes as *const _
5355 as usize
5356 },
5357 8usize,
5358 concat!(
5359 "Offset of field: ",
5360 stringify!(_zend_trait_precedence),
5361 "::",
5362 stringify!(exclude_from_classes)
5363 )
5364 );
5365}
5366pub type zend_trait_precedence = _zend_trait_precedence;
5367#[repr(C)]
5368#[derive(Debug, Copy, Clone)]
5369pub struct _zend_trait_alias {
5370 pub trait_method: *mut zend_trait_method_reference,
5371 #[doc = " name for method to be added"]
5372 pub alias: *mut zend_string,
5373 #[doc = " modifiers to be set on trait method"]
5374 pub modifiers: u32,
5375}
5376#[test]
5377fn bindgen_test_layout__zend_trait_alias() {
5378 assert_eq!(
5379 ::std::mem::size_of::<_zend_trait_alias>(),
5380 24usize,
5381 concat!("Size of: ", stringify!(_zend_trait_alias))
5382 );
5383 assert_eq!(
5384 ::std::mem::align_of::<_zend_trait_alias>(),
5385 8usize,
5386 concat!("Alignment of ", stringify!(_zend_trait_alias))
5387 );
5388 assert_eq!(
5389 unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).trait_method as *const _ as usize },
5390 0usize,
5391 concat!(
5392 "Offset of field: ",
5393 stringify!(_zend_trait_alias),
5394 "::",
5395 stringify!(trait_method)
5396 )
5397 );
5398 assert_eq!(
5399 unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).alias as *const _ as usize },
5400 8usize,
5401 concat!(
5402 "Offset of field: ",
5403 stringify!(_zend_trait_alias),
5404 "::",
5405 stringify!(alias)
5406 )
5407 );
5408 assert_eq!(
5409 unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).modifiers as *const _ as usize },
5410 16usize,
5411 concat!(
5412 "Offset of field: ",
5413 stringify!(_zend_trait_alias),
5414 "::",
5415 stringify!(modifiers)
5416 )
5417 );
5418}
5419pub type zend_trait_alias = _zend_trait_alias;
5420#[repr(C)]
5421#[derive(Copy, Clone)]
5422pub struct _zend_class_entry {
5423 pub type_: ::std::os::raw::c_char,
5424 pub name: *mut zend_string,
5425 pub parent: *mut _zend_class_entry,
5426 pub refcount: ::std::os::raw::c_int,
5427 pub ce_flags: u32,
5428 pub default_properties_count: ::std::os::raw::c_int,
5429 pub default_static_members_count: ::std::os::raw::c_int,
5430 pub default_properties_table: *mut zval,
5431 pub default_static_members_table: *mut zval,
5432 pub static_members_table: *mut zval,
5433 pub function_table: HashTable,
5434 pub properties_info: HashTable,
5435 pub constants_table: HashTable,
5436 pub constructor: *mut _zend_function,
5437 pub destructor: *mut _zend_function,
5438 pub clone: *mut _zend_function,
5439 pub __get: *mut _zend_function,
5440 pub __set: *mut _zend_function,
5441 pub __unset: *mut _zend_function,
5442 pub __isset: *mut _zend_function,
5443 pub __call: *mut _zend_function,
5444 pub __callstatic: *mut _zend_function,
5445 pub __tostring: *mut _zend_function,
5446 pub __debugInfo: *mut _zend_function,
5447 pub serialize_func: *mut _zend_function,
5448 pub unserialize_func: *mut _zend_function,
5449 pub iterator_funcs: zend_class_iterator_funcs,
5450 pub create_object: ::std::option::Option<
5451 unsafe extern "C" fn(class_type: *mut zend_class_entry) -> *mut zend_object,
5452 >,
5453 pub get_iterator: ::std::option::Option<
5454 unsafe extern "C" fn(
5455 ce: *mut zend_class_entry,
5456 object: *mut zval,
5457 by_ref: ::std::os::raw::c_int,
5458 ) -> *mut zend_object_iterator,
5459 >,
5460 pub interface_gets_implemented: ::std::option::Option<
5461 unsafe extern "C" fn(
5462 iface: *mut zend_class_entry,
5463 class_type: *mut zend_class_entry,
5464 ) -> ::std::os::raw::c_int,
5465 >,
5466 pub get_static_method: ::std::option::Option<
5467 unsafe extern "C" fn(
5468 ce: *mut zend_class_entry,
5469 method: *mut zend_string,
5470 ) -> *mut _zend_function,
5471 >,
5472 pub serialize: ::std::option::Option<
5473 unsafe extern "C" fn(
5474 object: *mut zval,
5475 buffer: *mut *mut ::std::os::raw::c_uchar,
5476 buf_len: *mut size_t,
5477 data: *mut zend_serialize_data,
5478 ) -> ::std::os::raw::c_int,
5479 >,
5480 pub unserialize: ::std::option::Option<
5481 unsafe extern "C" fn(
5482 object: *mut zval,
5483 ce: *mut zend_class_entry,
5484 buf: *const ::std::os::raw::c_uchar,
5485 buf_len: size_t,
5486 data: *mut zend_unserialize_data,
5487 ) -> ::std::os::raw::c_int,
5488 >,
5489 pub num_interfaces: u32,
5490 pub num_traits: u32,
5491 pub interfaces: *mut *mut zend_class_entry,
5492 pub traits: *mut *mut zend_class_entry,
5493 pub trait_aliases: *mut *mut zend_trait_alias,
5494 pub trait_precedences: *mut *mut zend_trait_precedence,
5495 pub info: _zend_class_entry__bindgen_ty_1,
5496}
5497#[repr(C)]
5498#[derive(Copy, Clone)]
5499pub union _zend_class_entry__bindgen_ty_1 {
5500 pub user: _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
5501 pub internal: _zend_class_entry__bindgen_ty_1__bindgen_ty_2,
5502 _bindgen_union_align: [u64; 3usize],
5503}
5504#[repr(C)]
5505#[derive(Debug, Copy, Clone)]
5506pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_1 {
5507 pub filename: *mut zend_string,
5508 pub line_start: u32,
5509 pub line_end: u32,
5510 pub doc_comment: *mut zend_string,
5511}
5512#[test]
5513fn bindgen_test_layout__zend_class_entry__bindgen_ty_1__bindgen_ty_1() {
5514 assert_eq!(
5515 ::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>(),
5516 24usize,
5517 concat!(
5518 "Size of: ",
5519 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1)
5520 )
5521 );
5522 assert_eq!(
5523 ::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>(),
5524 8usize,
5525 concat!(
5526 "Alignment of ",
5527 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1)
5528 )
5529 );
5530 assert_eq!(
5531 unsafe {
5532 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).filename
5533 as *const _ as usize
5534 },
5535 0usize,
5536 concat!(
5537 "Offset of field: ",
5538 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
5539 "::",
5540 stringify!(filename)
5541 )
5542 );
5543 assert_eq!(
5544 unsafe {
5545 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).line_start
5546 as *const _ as usize
5547 },
5548 8usize,
5549 concat!(
5550 "Offset of field: ",
5551 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
5552 "::",
5553 stringify!(line_start)
5554 )
5555 );
5556 assert_eq!(
5557 unsafe {
5558 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).line_end
5559 as *const _ as usize
5560 },
5561 12usize,
5562 concat!(
5563 "Offset of field: ",
5564 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
5565 "::",
5566 stringify!(line_end)
5567 )
5568 );
5569 assert_eq!(
5570 unsafe {
5571 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).doc_comment
5572 as *const _ as usize
5573 },
5574 16usize,
5575 concat!(
5576 "Offset of field: ",
5577 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
5578 "::",
5579 stringify!(doc_comment)
5580 )
5581 );
5582}
5583#[repr(C)]
5584#[derive(Debug, Copy, Clone)]
5585pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_2 {
5586 pub builtin_functions: *const _zend_function_entry,
5587 pub module: *mut _zend_module_entry,
5588}
5589#[test]
5590fn bindgen_test_layout__zend_class_entry__bindgen_ty_1__bindgen_ty_2() {
5591 assert_eq!(
5592 ::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>(),
5593 16usize,
5594 concat!(
5595 "Size of: ",
5596 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2)
5597 )
5598 );
5599 assert_eq!(
5600 ::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>(),
5601 8usize,
5602 concat!(
5603 "Alignment of ",
5604 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2)
5605 )
5606 );
5607 assert_eq!(
5608 unsafe {
5609 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>()))
5610 .builtin_functions as *const _ as usize
5611 },
5612 0usize,
5613 concat!(
5614 "Offset of field: ",
5615 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2),
5616 "::",
5617 stringify!(builtin_functions)
5618 )
5619 );
5620 assert_eq!(
5621 unsafe {
5622 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>())).module
5623 as *const _ as usize
5624 },
5625 8usize,
5626 concat!(
5627 "Offset of field: ",
5628 stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2),
5629 "::",
5630 stringify!(module)
5631 )
5632 );
5633}
5634#[test]
5635fn bindgen_test_layout__zend_class_entry__bindgen_ty_1() {
5636 assert_eq!(
5637 ::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>(),
5638 24usize,
5639 concat!("Size of: ", stringify!(_zend_class_entry__bindgen_ty_1))
5640 );
5641 assert_eq!(
5642 ::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>(),
5643 8usize,
5644 concat!("Alignment of ", stringify!(_zend_class_entry__bindgen_ty_1))
5645 );
5646 assert_eq!(
5647 unsafe {
5648 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1>())).user as *const _ as usize
5649 },
5650 0usize,
5651 concat!(
5652 "Offset of field: ",
5653 stringify!(_zend_class_entry__bindgen_ty_1),
5654 "::",
5655 stringify!(user)
5656 )
5657 );
5658 assert_eq!(
5659 unsafe {
5660 &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1>())).internal as *const _
5661 as usize
5662 },
5663 0usize,
5664 concat!(
5665 "Offset of field: ",
5666 stringify!(_zend_class_entry__bindgen_ty_1),
5667 "::",
5668 stringify!(internal)
5669 )
5670 );
5671}
5672#[test]
5673fn bindgen_test_layout__zend_class_entry() {
5674 assert_eq!(
5675 ::std::mem::size_of::<_zend_class_entry>(),
5676 504usize,
5677 concat!("Size of: ", stringify!(_zend_class_entry))
5678 );
5679 assert_eq!(
5680 ::std::mem::align_of::<_zend_class_entry>(),
5681 8usize,
5682 concat!("Alignment of ", stringify!(_zend_class_entry))
5683 );
5684 assert_eq!(
5685 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).type_ as *const _ as usize },
5686 0usize,
5687 concat!(
5688 "Offset of field: ",
5689 stringify!(_zend_class_entry),
5690 "::",
5691 stringify!(type_)
5692 )
5693 );
5694 assert_eq!(
5695 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).name as *const _ as usize },
5696 8usize,
5697 concat!(
5698 "Offset of field: ",
5699 stringify!(_zend_class_entry),
5700 "::",
5701 stringify!(name)
5702 )
5703 );
5704 assert_eq!(
5705 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).parent as *const _ as usize },
5706 16usize,
5707 concat!(
5708 "Offset of field: ",
5709 stringify!(_zend_class_entry),
5710 "::",
5711 stringify!(parent)
5712 )
5713 );
5714 assert_eq!(
5715 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).refcount as *const _ as usize },
5716 24usize,
5717 concat!(
5718 "Offset of field: ",
5719 stringify!(_zend_class_entry),
5720 "::",
5721 stringify!(refcount)
5722 )
5723 );
5724 assert_eq!(
5725 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).ce_flags as *const _ as usize },
5726 28usize,
5727 concat!(
5728 "Offset of field: ",
5729 stringify!(_zend_class_entry),
5730 "::",
5731 stringify!(ce_flags)
5732 )
5733 );
5734 assert_eq!(
5735 unsafe {
5736 &(*(::std::ptr::null::<_zend_class_entry>())).default_properties_count as *const _
5737 as usize
5738 },
5739 32usize,
5740 concat!(
5741 "Offset of field: ",
5742 stringify!(_zend_class_entry),
5743 "::",
5744 stringify!(default_properties_count)
5745 )
5746 );
5747 assert_eq!(
5748 unsafe {
5749 &(*(::std::ptr::null::<_zend_class_entry>())).default_static_members_count as *const _
5750 as usize
5751 },
5752 36usize,
5753 concat!(
5754 "Offset of field: ",
5755 stringify!(_zend_class_entry),
5756 "::",
5757 stringify!(default_static_members_count)
5758 )
5759 );
5760 assert_eq!(
5761 unsafe {
5762 &(*(::std::ptr::null::<_zend_class_entry>())).default_properties_table as *const _
5763 as usize
5764 },
5765 40usize,
5766 concat!(
5767 "Offset of field: ",
5768 stringify!(_zend_class_entry),
5769 "::",
5770 stringify!(default_properties_table)
5771 )
5772 );
5773 assert_eq!(
5774 unsafe {
5775 &(*(::std::ptr::null::<_zend_class_entry>())).default_static_members_table as *const _
5776 as usize
5777 },
5778 48usize,
5779 concat!(
5780 "Offset of field: ",
5781 stringify!(_zend_class_entry),
5782 "::",
5783 stringify!(default_static_members_table)
5784 )
5785 );
5786 assert_eq!(
5787 unsafe {
5788 &(*(::std::ptr::null::<_zend_class_entry>())).static_members_table as *const _ as usize
5789 },
5790 56usize,
5791 concat!(
5792 "Offset of field: ",
5793 stringify!(_zend_class_entry),
5794 "::",
5795 stringify!(static_members_table)
5796 )
5797 );
5798 assert_eq!(
5799 unsafe {
5800 &(*(::std::ptr::null::<_zend_class_entry>())).function_table as *const _ as usize
5801 },
5802 64usize,
5803 concat!(
5804 "Offset of field: ",
5805 stringify!(_zend_class_entry),
5806 "::",
5807 stringify!(function_table)
5808 )
5809 );
5810 assert_eq!(
5811 unsafe {
5812 &(*(::std::ptr::null::<_zend_class_entry>())).properties_info as *const _ as usize
5813 },
5814 120usize,
5815 concat!(
5816 "Offset of field: ",
5817 stringify!(_zend_class_entry),
5818 "::",
5819 stringify!(properties_info)
5820 )
5821 );
5822 assert_eq!(
5823 unsafe {
5824 &(*(::std::ptr::null::<_zend_class_entry>())).constants_table as *const _ as usize
5825 },
5826 176usize,
5827 concat!(
5828 "Offset of field: ",
5829 stringify!(_zend_class_entry),
5830 "::",
5831 stringify!(constants_table)
5832 )
5833 );
5834 assert_eq!(
5835 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).constructor as *const _ as usize },
5836 232usize,
5837 concat!(
5838 "Offset of field: ",
5839 stringify!(_zend_class_entry),
5840 "::",
5841 stringify!(constructor)
5842 )
5843 );
5844 assert_eq!(
5845 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).destructor as *const _ as usize },
5846 240usize,
5847 concat!(
5848 "Offset of field: ",
5849 stringify!(_zend_class_entry),
5850 "::",
5851 stringify!(destructor)
5852 )
5853 );
5854 assert_eq!(
5855 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).clone as *const _ as usize },
5856 248usize,
5857 concat!(
5858 "Offset of field: ",
5859 stringify!(_zend_class_entry),
5860 "::",
5861 stringify!(clone)
5862 )
5863 );
5864 assert_eq!(
5865 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__get as *const _ as usize },
5866 256usize,
5867 concat!(
5868 "Offset of field: ",
5869 stringify!(_zend_class_entry),
5870 "::",
5871 stringify!(__get)
5872 )
5873 );
5874 assert_eq!(
5875 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__set as *const _ as usize },
5876 264usize,
5877 concat!(
5878 "Offset of field: ",
5879 stringify!(_zend_class_entry),
5880 "::",
5881 stringify!(__set)
5882 )
5883 );
5884 assert_eq!(
5885 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__unset as *const _ as usize },
5886 272usize,
5887 concat!(
5888 "Offset of field: ",
5889 stringify!(_zend_class_entry),
5890 "::",
5891 stringify!(__unset)
5892 )
5893 );
5894 assert_eq!(
5895 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__isset as *const _ as usize },
5896 280usize,
5897 concat!(
5898 "Offset of field: ",
5899 stringify!(_zend_class_entry),
5900 "::",
5901 stringify!(__isset)
5902 )
5903 );
5904 assert_eq!(
5905 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__call as *const _ as usize },
5906 288usize,
5907 concat!(
5908 "Offset of field: ",
5909 stringify!(_zend_class_entry),
5910 "::",
5911 stringify!(__call)
5912 )
5913 );
5914 assert_eq!(
5915 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__callstatic as *const _ as usize },
5916 296usize,
5917 concat!(
5918 "Offset of field: ",
5919 stringify!(_zend_class_entry),
5920 "::",
5921 stringify!(__callstatic)
5922 )
5923 );
5924 assert_eq!(
5925 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__tostring as *const _ as usize },
5926 304usize,
5927 concat!(
5928 "Offset of field: ",
5929 stringify!(_zend_class_entry),
5930 "::",
5931 stringify!(__tostring)
5932 )
5933 );
5934 assert_eq!(
5935 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__debugInfo as *const _ as usize },
5936 312usize,
5937 concat!(
5938 "Offset of field: ",
5939 stringify!(_zend_class_entry),
5940 "::",
5941 stringify!(__debugInfo)
5942 )
5943 );
5944 assert_eq!(
5945 unsafe {
5946 &(*(::std::ptr::null::<_zend_class_entry>())).serialize_func as *const _ as usize
5947 },
5948 320usize,
5949 concat!(
5950 "Offset of field: ",
5951 stringify!(_zend_class_entry),
5952 "::",
5953 stringify!(serialize_func)
5954 )
5955 );
5956 assert_eq!(
5957 unsafe {
5958 &(*(::std::ptr::null::<_zend_class_entry>())).unserialize_func as *const _ as usize
5959 },
5960 328usize,
5961 concat!(
5962 "Offset of field: ",
5963 stringify!(_zend_class_entry),
5964 "::",
5965 stringify!(unserialize_func)
5966 )
5967 );
5968 assert_eq!(
5969 unsafe {
5970 &(*(::std::ptr::null::<_zend_class_entry>())).iterator_funcs as *const _ as usize
5971 },
5972 336usize,
5973 concat!(
5974 "Offset of field: ",
5975 stringify!(_zend_class_entry),
5976 "::",
5977 stringify!(iterator_funcs)
5978 )
5979 );
5980 assert_eq!(
5981 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).create_object as *const _ as usize },
5982 392usize,
5983 concat!(
5984 "Offset of field: ",
5985 stringify!(_zend_class_entry),
5986 "::",
5987 stringify!(create_object)
5988 )
5989 );
5990 assert_eq!(
5991 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).get_iterator as *const _ as usize },
5992 400usize,
5993 concat!(
5994 "Offset of field: ",
5995 stringify!(_zend_class_entry),
5996 "::",
5997 stringify!(get_iterator)
5998 )
5999 );
6000 assert_eq!(
6001 unsafe {
6002 &(*(::std::ptr::null::<_zend_class_entry>())).interface_gets_implemented as *const _
6003 as usize
6004 },
6005 408usize,
6006 concat!(
6007 "Offset of field: ",
6008 stringify!(_zend_class_entry),
6009 "::",
6010 stringify!(interface_gets_implemented)
6011 )
6012 );
6013 assert_eq!(
6014 unsafe {
6015 &(*(::std::ptr::null::<_zend_class_entry>())).get_static_method as *const _ as usize
6016 },
6017 416usize,
6018 concat!(
6019 "Offset of field: ",
6020 stringify!(_zend_class_entry),
6021 "::",
6022 stringify!(get_static_method)
6023 )
6024 );
6025 assert_eq!(
6026 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).serialize as *const _ as usize },
6027 424usize,
6028 concat!(
6029 "Offset of field: ",
6030 stringify!(_zend_class_entry),
6031 "::",
6032 stringify!(serialize)
6033 )
6034 );
6035 assert_eq!(
6036 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).unserialize as *const _ as usize },
6037 432usize,
6038 concat!(
6039 "Offset of field: ",
6040 stringify!(_zend_class_entry),
6041 "::",
6042 stringify!(unserialize)
6043 )
6044 );
6045 assert_eq!(
6046 unsafe {
6047 &(*(::std::ptr::null::<_zend_class_entry>())).num_interfaces as *const _ as usize
6048 },
6049 440usize,
6050 concat!(
6051 "Offset of field: ",
6052 stringify!(_zend_class_entry),
6053 "::",
6054 stringify!(num_interfaces)
6055 )
6056 );
6057 assert_eq!(
6058 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).num_traits as *const _ as usize },
6059 444usize,
6060 concat!(
6061 "Offset of field: ",
6062 stringify!(_zend_class_entry),
6063 "::",
6064 stringify!(num_traits)
6065 )
6066 );
6067 assert_eq!(
6068 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).interfaces as *const _ as usize },
6069 448usize,
6070 concat!(
6071 "Offset of field: ",
6072 stringify!(_zend_class_entry),
6073 "::",
6074 stringify!(interfaces)
6075 )
6076 );
6077 assert_eq!(
6078 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).traits as *const _ as usize },
6079 456usize,
6080 concat!(
6081 "Offset of field: ",
6082 stringify!(_zend_class_entry),
6083 "::",
6084 stringify!(traits)
6085 )
6086 );
6087 assert_eq!(
6088 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).trait_aliases as *const _ as usize },
6089 464usize,
6090 concat!(
6091 "Offset of field: ",
6092 stringify!(_zend_class_entry),
6093 "::",
6094 stringify!(trait_aliases)
6095 )
6096 );
6097 assert_eq!(
6098 unsafe {
6099 &(*(::std::ptr::null::<_zend_class_entry>())).trait_precedences as *const _ as usize
6100 },
6101 472usize,
6102 concat!(
6103 "Offset of field: ",
6104 stringify!(_zend_class_entry),
6105 "::",
6106 stringify!(trait_precedences)
6107 )
6108 );
6109 assert_eq!(
6110 unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).info as *const _ as usize },
6111 480usize,
6112 concat!(
6113 "Offset of field: ",
6114 stringify!(_zend_class_entry),
6115 "::",
6116 stringify!(info)
6117 )
6118 );
6119}
6120#[repr(C)]
6121#[derive(Debug, Copy, Clone)]
6122pub struct _zend_utility_functions {
6123 pub error_function: ::std::option::Option<
6124 unsafe extern "C" fn(
6125 type_: ::std::os::raw::c_int,
6126 error_filename: *const ::std::os::raw::c_char,
6127 error_lineno: uint,
6128 format: *const ::std::os::raw::c_char,
6129 args: *mut __va_list_tag,
6130 ),
6131 >,
6132 pub printf_function: ::std::option::Option<
6133 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> size_t,
6134 >,
6135 pub write_function: ::std::option::Option<
6136 unsafe extern "C" fn(str_: *const ::std::os::raw::c_char, str_length: size_t) -> size_t,
6137 >,
6138 pub fopen_function: ::std::option::Option<
6139 unsafe extern "C" fn(
6140 filename: *const ::std::os::raw::c_char,
6141 opened_path: *mut *mut zend_string,
6142 ) -> *mut FILE,
6143 >,
6144 pub message_handler: ::std::option::Option<
6145 unsafe extern "C" fn(message: zend_long, data: *const ::std::os::raw::c_void),
6146 >,
6147 pub block_interruptions: ::std::option::Option<unsafe extern "C" fn()>,
6148 pub unblock_interruptions: ::std::option::Option<unsafe extern "C" fn()>,
6149 pub get_configuration_directive:
6150 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
6151 pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
6152 pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
6153 pub stream_open_function: ::std::option::Option<
6154 unsafe extern "C" fn(
6155 filename: *const ::std::os::raw::c_char,
6156 handle: *mut zend_file_handle,
6157 ) -> ::std::os::raw::c_int,
6158 >,
6159 pub vspprintf_function: ::std::option::Option<
6160 unsafe extern "C" fn(
6161 pbuf: *mut *mut ::std::os::raw::c_char,
6162 max_len: size_t,
6163 format: *const ::std::os::raw::c_char,
6164 ap: *mut __va_list_tag,
6165 ) -> size_t,
6166 >,
6167 pub vstrpprintf_function: ::std::option::Option<
6168 unsafe extern "C" fn(
6169 max_len: size_t,
6170 format: *const ::std::os::raw::c_char,
6171 ap: *mut __va_list_tag,
6172 ) -> *mut zend_string,
6173 >,
6174 pub getenv_function: ::std::option::Option<
6175 unsafe extern "C" fn(
6176 name: *mut ::std::os::raw::c_char,
6177 name_len: size_t,
6178 ) -> *mut ::std::os::raw::c_char,
6179 >,
6180 pub resolve_path_function: ::std::option::Option<
6181 unsafe extern "C" fn(
6182 filename: *const ::std::os::raw::c_char,
6183 filename_len: ::std::os::raw::c_int,
6184 ) -> *mut zend_string,
6185 >,
6186}
6187#[test]
6188fn bindgen_test_layout__zend_utility_functions() {
6189 assert_eq!(
6190 ::std::mem::size_of::<_zend_utility_functions>(),
6191 120usize,
6192 concat!("Size of: ", stringify!(_zend_utility_functions))
6193 );
6194 assert_eq!(
6195 ::std::mem::align_of::<_zend_utility_functions>(),
6196 8usize,
6197 concat!("Alignment of ", stringify!(_zend_utility_functions))
6198 );
6199 assert_eq!(
6200 unsafe {
6201 &(*(::std::ptr::null::<_zend_utility_functions>())).error_function as *const _ as usize
6202 },
6203 0usize,
6204 concat!(
6205 "Offset of field: ",
6206 stringify!(_zend_utility_functions),
6207 "::",
6208 stringify!(error_function)
6209 )
6210 );
6211 assert_eq!(
6212 unsafe {
6213 &(*(::std::ptr::null::<_zend_utility_functions>())).printf_function as *const _ as usize
6214 },
6215 8usize,
6216 concat!(
6217 "Offset of field: ",
6218 stringify!(_zend_utility_functions),
6219 "::",
6220 stringify!(printf_function)
6221 )
6222 );
6223 assert_eq!(
6224 unsafe {
6225 &(*(::std::ptr::null::<_zend_utility_functions>())).write_function as *const _ as usize
6226 },
6227 16usize,
6228 concat!(
6229 "Offset of field: ",
6230 stringify!(_zend_utility_functions),
6231 "::",
6232 stringify!(write_function)
6233 )
6234 );
6235 assert_eq!(
6236 unsafe {
6237 &(*(::std::ptr::null::<_zend_utility_functions>())).fopen_function as *const _ as usize
6238 },
6239 24usize,
6240 concat!(
6241 "Offset of field: ",
6242 stringify!(_zend_utility_functions),
6243 "::",
6244 stringify!(fopen_function)
6245 )
6246 );
6247 assert_eq!(
6248 unsafe {
6249 &(*(::std::ptr::null::<_zend_utility_functions>())).message_handler as *const _ as usize
6250 },
6251 32usize,
6252 concat!(
6253 "Offset of field: ",
6254 stringify!(_zend_utility_functions),
6255 "::",
6256 stringify!(message_handler)
6257 )
6258 );
6259 assert_eq!(
6260 unsafe {
6261 &(*(::std::ptr::null::<_zend_utility_functions>())).block_interruptions as *const _
6262 as usize
6263 },
6264 40usize,
6265 concat!(
6266 "Offset of field: ",
6267 stringify!(_zend_utility_functions),
6268 "::",
6269 stringify!(block_interruptions)
6270 )
6271 );
6272 assert_eq!(
6273 unsafe {
6274 &(*(::std::ptr::null::<_zend_utility_functions>())).unblock_interruptions as *const _
6275 as usize
6276 },
6277 48usize,
6278 concat!(
6279 "Offset of field: ",
6280 stringify!(_zend_utility_functions),
6281 "::",
6282 stringify!(unblock_interruptions)
6283 )
6284 );
6285 assert_eq!(
6286 unsafe {
6287 &(*(::std::ptr::null::<_zend_utility_functions>())).get_configuration_directive
6288 as *const _ as usize
6289 },
6290 56usize,
6291 concat!(
6292 "Offset of field: ",
6293 stringify!(_zend_utility_functions),
6294 "::",
6295 stringify!(get_configuration_directive)
6296 )
6297 );
6298 assert_eq!(
6299 unsafe {
6300 &(*(::std::ptr::null::<_zend_utility_functions>())).ticks_function as *const _ as usize
6301 },
6302 64usize,
6303 concat!(
6304 "Offset of field: ",
6305 stringify!(_zend_utility_functions),
6306 "::",
6307 stringify!(ticks_function)
6308 )
6309 );
6310 assert_eq!(
6311 unsafe {
6312 &(*(::std::ptr::null::<_zend_utility_functions>())).on_timeout as *const _ as usize
6313 },
6314 72usize,
6315 concat!(
6316 "Offset of field: ",
6317 stringify!(_zend_utility_functions),
6318 "::",
6319 stringify!(on_timeout)
6320 )
6321 );
6322 assert_eq!(
6323 unsafe {
6324 &(*(::std::ptr::null::<_zend_utility_functions>())).stream_open_function as *const _
6325 as usize
6326 },
6327 80usize,
6328 concat!(
6329 "Offset of field: ",
6330 stringify!(_zend_utility_functions),
6331 "::",
6332 stringify!(stream_open_function)
6333 )
6334 );
6335 assert_eq!(
6336 unsafe {
6337 &(*(::std::ptr::null::<_zend_utility_functions>())).vspprintf_function as *const _
6338 as usize
6339 },
6340 88usize,
6341 concat!(
6342 "Offset of field: ",
6343 stringify!(_zend_utility_functions),
6344 "::",
6345 stringify!(vspprintf_function)
6346 )
6347 );
6348 assert_eq!(
6349 unsafe {
6350 &(*(::std::ptr::null::<_zend_utility_functions>())).vstrpprintf_function as *const _
6351 as usize
6352 },
6353 96usize,
6354 concat!(
6355 "Offset of field: ",
6356 stringify!(_zend_utility_functions),
6357 "::",
6358 stringify!(vstrpprintf_function)
6359 )
6360 );
6361 assert_eq!(
6362 unsafe {
6363 &(*(::std::ptr::null::<_zend_utility_functions>())).getenv_function as *const _ as usize
6364 },
6365 104usize,
6366 concat!(
6367 "Offset of field: ",
6368 stringify!(_zend_utility_functions),
6369 "::",
6370 stringify!(getenv_function)
6371 )
6372 );
6373 assert_eq!(
6374 unsafe {
6375 &(*(::std::ptr::null::<_zend_utility_functions>())).resolve_path_function as *const _
6376 as usize
6377 },
6378 112usize,
6379 concat!(
6380 "Offset of field: ",
6381 stringify!(_zend_utility_functions),
6382 "::",
6383 stringify!(resolve_path_function)
6384 )
6385 );
6386}
6387pub type zend_utility_functions = _zend_utility_functions;
6388#[repr(C)]
6389#[derive(Debug, Copy, Clone)]
6390pub struct _zend_utility_values {
6391 pub import_use_extension: *mut ::std::os::raw::c_char,
6392 pub import_use_extension_length: uint,
6393 pub html_errors: zend_bool,
6394}
6395#[test]
6396fn bindgen_test_layout__zend_utility_values() {
6397 assert_eq!(
6398 ::std::mem::size_of::<_zend_utility_values>(),
6399 16usize,
6400 concat!("Size of: ", stringify!(_zend_utility_values))
6401 );
6402 assert_eq!(
6403 ::std::mem::align_of::<_zend_utility_values>(),
6404 8usize,
6405 concat!("Alignment of ", stringify!(_zend_utility_values))
6406 );
6407 assert_eq!(
6408 unsafe {
6409 &(*(::std::ptr::null::<_zend_utility_values>())).import_use_extension as *const _
6410 as usize
6411 },
6412 0usize,
6413 concat!(
6414 "Offset of field: ",
6415 stringify!(_zend_utility_values),
6416 "::",
6417 stringify!(import_use_extension)
6418 )
6419 );
6420 assert_eq!(
6421 unsafe {
6422 &(*(::std::ptr::null::<_zend_utility_values>())).import_use_extension_length as *const _
6423 as usize
6424 },
6425 8usize,
6426 concat!(
6427 "Offset of field: ",
6428 stringify!(_zend_utility_values),
6429 "::",
6430 stringify!(import_use_extension_length)
6431 )
6432 );
6433 assert_eq!(
6434 unsafe {
6435 &(*(::std::ptr::null::<_zend_utility_values>())).html_errors as *const _ as usize
6436 },
6437 12usize,
6438 concat!(
6439 "Offset of field: ",
6440 stringify!(_zend_utility_values),
6441 "::",
6442 stringify!(html_errors)
6443 )
6444 );
6445}
6446pub type zend_utility_values = _zend_utility_values;
6447pub type zend_write_func_t = ::std::option::Option<
6448 unsafe extern "C" fn(
6449 str_: *const ::std::os::raw::c_char,
6450 str_length: size_t,
6451 ) -> ::std::os::raw::c_int,
6452>;
6453extern "C" {
6454 pub fn zend_startup(
6455 utility_functions: *mut zend_utility_functions,
6456 extensions: *mut *mut ::std::os::raw::c_char,
6457 ) -> ::std::os::raw::c_int;
6458}
6459extern "C" {
6460 pub fn zend_shutdown();
6461}
6462extern "C" {
6463 pub fn zend_register_standard_ini_entries();
6464}
6465extern "C" {
6466 pub fn zend_post_startup();
6467}
6468extern "C" {
6469 pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
6470}
6471extern "C" {
6472 pub fn _zend_bailout(filename: *mut ::std::os::raw::c_char, lineno: uint);
6473}
6474extern "C" {
6475 pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval)
6476 -> ::std::os::raw::c_int;
6477}
6478extern "C" {
6479 pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> size_t;
6480}
6481extern "C" {
6482 pub fn zend_print_zval_ex(
6483 write_func: zend_write_func_t,
6484 expr: *mut zval,
6485 indent: ::std::os::raw::c_int,
6486 ) -> size_t;
6487}
6488extern "C" {
6489 pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
6490}
6491extern "C" {
6492 pub fn zend_print_flat_zval_r(expr: *mut zval);
6493}
6494extern "C" {
6495 pub fn zend_print_zval_r_ex(
6496 write_func: zend_write_func_t,
6497 expr: *mut zval,
6498 indent: ::std::os::raw::c_int,
6499 );
6500}
6501extern "C" {
6502 pub fn zend_output_debug_string(
6503 trigger_break: zend_bool,
6504 format: *const ::std::os::raw::c_char,
6505 ...
6506 );
6507}
6508extern "C" {
6509 pub fn zend_activate();
6510}
6511extern "C" {
6512 pub fn zend_deactivate();
6513}
6514extern "C" {
6515 pub fn zend_call_destructors();
6516}
6517extern "C" {
6518 pub fn zend_activate_modules();
6519}
6520extern "C" {
6521 pub fn zend_deactivate_modules();
6522}
6523extern "C" {
6524 pub fn zend_post_deactivate_modules();
6525}
6526extern "C" {
6527 pub static mut zend_printf: ::std::option::Option<
6528 unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> size_t,
6529 >;
6530}
6531extern "C" {
6532 pub static mut zend_write: zend_write_func_t;
6533}
6534extern "C" {
6535 pub static mut zend_fopen: ::std::option::Option<
6536 unsafe extern "C" fn(
6537 filename: *const ::std::os::raw::c_char,
6538 opened_path: *mut *mut zend_string,
6539 ) -> *mut FILE,
6540 >;
6541}
6542extern "C" {
6543 pub static mut zend_block_interruptions: ::std::option::Option<unsafe extern "C" fn()>;
6544}
6545extern "C" {
6546 pub static mut zend_unblock_interruptions: ::std::option::Option<unsafe extern "C" fn()>;
6547}
6548extern "C" {
6549 pub static mut zend_ticks_function:
6550 ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
6551}
6552extern "C" {
6553 pub static mut zend_error_cb: ::std::option::Option<
6554 unsafe extern "C" fn(
6555 type_: ::std::os::raw::c_int,
6556 error_filename: *const ::std::os::raw::c_char,
6557 error_lineno: uint,
6558 format: *const ::std::os::raw::c_char,
6559 args: *mut __va_list_tag,
6560 ),
6561 >;
6562}
6563extern "C" {
6564 pub static mut zend_on_timeout:
6565 ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
6566}
6567extern "C" {
6568 pub static mut zend_stream_open_function: ::std::option::Option<
6569 unsafe extern "C" fn(
6570 filename: *const ::std::os::raw::c_char,
6571 handle: *mut zend_file_handle,
6572 ) -> ::std::os::raw::c_int,
6573 >;
6574}
6575extern "C" {
6576 pub static mut zend_vspprintf: ::std::option::Option<
6577 unsafe extern "C" fn(
6578 pbuf: *mut *mut ::std::os::raw::c_char,
6579 max_len: size_t,
6580 format: *const ::std::os::raw::c_char,
6581 ap: *mut __va_list_tag,
6582 ) -> size_t,
6583 >;
6584}
6585extern "C" {
6586 pub static mut zend_vstrpprintf: ::std::option::Option<
6587 unsafe extern "C" fn(
6588 max_len: size_t,
6589 format: *const ::std::os::raw::c_char,
6590 ap: *mut __va_list_tag,
6591 ) -> *mut zend_string,
6592 >;
6593}
6594extern "C" {
6595 pub static mut zend_getenv: ::std::option::Option<
6596 unsafe extern "C" fn(
6597 name: *mut ::std::os::raw::c_char,
6598 name_len: size_t,
6599 ) -> *mut ::std::os::raw::c_char,
6600 >;
6601}
6602extern "C" {
6603 pub static mut zend_resolve_path: ::std::option::Option<
6604 unsafe extern "C" fn(
6605 filename: *const ::std::os::raw::c_char,
6606 filename_len: ::std::os::raw::c_int,
6607 ) -> *mut zend_string,
6608 >;
6609}
6610extern "C" {
6611 pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
6612}
6613extern "C" {
6614 pub fn zend_throw_error(
6615 exception_ce: *mut zend_class_entry,
6616 format: *const ::std::os::raw::c_char,
6617 ...
6618 );
6619}
6620extern "C" {
6621 pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
6622}
6623extern "C" {
6624 pub fn zend_internal_type_error(
6625 throw_exception: zend_bool,
6626 format: *const ::std::os::raw::c_char,
6627 ...
6628 );
6629}
6630extern "C" {
6631 pub fn zenderror(error: *const ::std::os::raw::c_char);
6632}
6633extern "C" {
6634 pub static mut zend_standard_class_def: *mut zend_class_entry;
6635}
6636extern "C" {
6637 pub static mut zend_uv: zend_utility_values;
6638}
6639extern "C" {
6640 pub static mut zend_dtrace_enabled: zend_bool;
6641}
6642extern "C" {
6643 pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
6644}
6645extern "C" {
6646 pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
6647}
6648pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
6649pub const zend_error_handling_t_EH_SUPPRESS: zend_error_handling_t = 1;
6650pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 2;
6651pub type zend_error_handling_t = ::std::os::raw::c_uint;
6652#[repr(C)]
6653#[derive(Copy, Clone)]
6654pub struct zend_error_handling {
6655 pub handling: zend_error_handling_t,
6656 pub exception: *mut zend_class_entry,
6657 pub user_handler: zval,
6658}
6659#[test]
6660fn bindgen_test_layout_zend_error_handling() {
6661 assert_eq!(
6662 ::std::mem::size_of::<zend_error_handling>(),
6663 32usize,
6664 concat!("Size of: ", stringify!(zend_error_handling))
6665 );
6666 assert_eq!(
6667 ::std::mem::align_of::<zend_error_handling>(),
6668 8usize,
6669 concat!("Alignment of ", stringify!(zend_error_handling))
6670 );
6671 assert_eq!(
6672 unsafe { &(*(::std::ptr::null::<zend_error_handling>())).handling as *const _ as usize },
6673 0usize,
6674 concat!(
6675 "Offset of field: ",
6676 stringify!(zend_error_handling),
6677 "::",
6678 stringify!(handling)
6679 )
6680 );
6681 assert_eq!(
6682 unsafe { &(*(::std::ptr::null::<zend_error_handling>())).exception as *const _ as usize },
6683 8usize,
6684 concat!(
6685 "Offset of field: ",
6686 stringify!(zend_error_handling),
6687 "::",
6688 stringify!(exception)
6689 )
6690 );
6691 assert_eq!(
6692 unsafe {
6693 &(*(::std::ptr::null::<zend_error_handling>())).user_handler as *const _ as usize
6694 },
6695 16usize,
6696 concat!(
6697 "Offset of field: ",
6698 stringify!(zend_error_handling),
6699 "::",
6700 stringify!(user_handler)
6701 )
6702 );
6703}
6704extern "C" {
6705 pub fn zend_save_error_handling(current: *mut zend_error_handling);
6706}
6707extern "C" {
6708 pub fn zend_replace_error_handling(
6709 error_handling: zend_error_handling_t,
6710 exception_class: *mut zend_class_entry,
6711 current: *mut zend_error_handling,
6712 );
6713}
6714extern "C" {
6715 pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
6716}
6717pub type zend_object_read_property_t = ::std::option::Option<
6718 unsafe extern "C" fn(
6719 object: *mut zval,
6720 member: *mut zval,
6721 type_: ::std::os::raw::c_int,
6722 cache_slot: *mut *mut ::std::os::raw::c_void,
6723 rv: *mut zval,
6724 ) -> *mut zval,
6725>;
6726pub type zend_object_read_dimension_t = ::std::option::Option<
6727 unsafe extern "C" fn(
6728 object: *mut zval,
6729 offset: *mut zval,
6730 type_: ::std::os::raw::c_int,
6731 rv: *mut zval,
6732 ) -> *mut zval,
6733>;
6734pub type zend_object_write_property_t = ::std::option::Option<
6735 unsafe extern "C" fn(
6736 object: *mut zval,
6737 member: *mut zval,
6738 value: *mut zval,
6739 cache_slot: *mut *mut ::std::os::raw::c_void,
6740 ),
6741>;
6742pub type zend_object_write_dimension_t = ::std::option::Option<
6743 unsafe extern "C" fn(object: *mut zval, offset: *mut zval, value: *mut zval),
6744>;
6745pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
6746 unsafe extern "C" fn(
6747 object: *mut zval,
6748 member: *mut zval,
6749 type_: ::std::os::raw::c_int,
6750 cache_slot: *mut *mut ::std::os::raw::c_void,
6751 ) -> *mut zval,
6752>;
6753pub type zend_object_set_t =
6754 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, value: *mut zval)>;
6755pub type zend_object_get_t =
6756 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, rv: *mut zval) -> *mut zval>;
6757pub type zend_object_has_property_t = ::std::option::Option<
6758 unsafe extern "C" fn(
6759 object: *mut zval,
6760 member: *mut zval,
6761 has_set_exists: ::std::os::raw::c_int,
6762 cache_slot: *mut *mut ::std::os::raw::c_void,
6763 ) -> ::std::os::raw::c_int,
6764>;
6765pub type zend_object_has_dimension_t = ::std::option::Option<
6766 unsafe extern "C" fn(
6767 object: *mut zval,
6768 member: *mut zval,
6769 check_empty: ::std::os::raw::c_int,
6770 ) -> ::std::os::raw::c_int,
6771>;
6772pub type zend_object_unset_property_t = ::std::option::Option<
6773 unsafe extern "C" fn(
6774 object: *mut zval,
6775 member: *mut zval,
6776 cache_slot: *mut *mut ::std::os::raw::c_void,
6777 ),
6778>;
6779pub type zend_object_unset_dimension_t =
6780 ::std::option::Option<unsafe extern "C" fn(object: *mut zval, offset: *mut zval)>;
6781pub type zend_object_get_properties_t =
6782 ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut HashTable>;
6783pub type zend_object_get_debug_info_t = ::std::option::Option<
6784 unsafe extern "C" fn(object: *mut zval, is_temp: *mut ::std::os::raw::c_int) -> *mut HashTable,
6785>;
6786pub type zend_object_call_method_t = ::std::option::Option<
6787 unsafe extern "C" fn(
6788 method: *mut zend_string,
6789 object: *mut zend_object,
6790 execute_data: *mut zend_execute_data,
6791 return_value: *mut zval,
6792 ) -> ::std::os::raw::c_int,
6793>;
6794pub type zend_object_get_method_t = ::std::option::Option<
6795 unsafe extern "C" fn(
6796 object: *mut *mut zend_object,
6797 method: *mut zend_string,
6798 key: *const zval,
6799 ) -> *mut _zend_function,
6800>;
6801pub type zend_object_get_constructor_t =
6802 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut _zend_function>;
6803pub type zend_object_dtor_obj_t =
6804 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
6805pub type zend_object_free_obj_t =
6806 ::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
6807pub type zend_object_clone_obj_t =
6808 ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut zend_object>;
6809pub type zend_object_get_class_name_t =
6810 ::std::option::Option<unsafe extern "C" fn(object: *const zend_object) -> *mut zend_string>;
6811pub type zend_object_compare_t = ::std::option::Option<
6812 unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
6813>;
6814pub type zend_object_compare_zvals_t = ::std::option::Option<
6815 unsafe extern "C" fn(resul: *mut zval, op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int,
6816>;
6817pub type zend_object_cast_t = ::std::option::Option<
6818 unsafe extern "C" fn(
6819 readobj: *mut zval,
6820 retval: *mut zval,
6821 type_: ::std::os::raw::c_int,
6822 ) -> ::std::os::raw::c_int,
6823>;
6824pub type zend_object_count_elements_t = ::std::option::Option<
6825 unsafe extern "C" fn(object: *mut zval, count: *mut zend_long) -> ::std::os::raw::c_int,
6826>;
6827pub type zend_object_get_closure_t = ::std::option::Option<
6828 unsafe extern "C" fn(
6829 obj: *mut zval,
6830 ce_ptr: *mut *mut zend_class_entry,
6831 fptr_ptr: *mut *mut _zend_function,
6832 obj_ptr: *mut *mut zend_object,
6833 ) -> ::std::os::raw::c_int,
6834>;
6835pub type zend_object_get_gc_t = ::std::option::Option<
6836 unsafe extern "C" fn(
6837 object: *mut zval,
6838 table: *mut *mut zval,
6839 n: *mut ::std::os::raw::c_int,
6840 ) -> *mut HashTable,
6841>;
6842pub type zend_object_do_operation_t = ::std::option::Option<
6843 unsafe extern "C" fn(
6844 opcode: zend_uchar,
6845 result: *mut zval,
6846 op1: *mut zval,
6847 op2: *mut zval,
6848 ) -> ::std::os::raw::c_int,
6849>;
6850#[repr(C)]
6851#[derive(Debug, Copy, Clone)]
6852pub struct _zend_object_handlers {
6853 pub offset: ::std::os::raw::c_int,
6854 pub free_obj: zend_object_free_obj_t,
6855 pub dtor_obj: zend_object_dtor_obj_t,
6856 pub clone_obj: zend_object_clone_obj_t,
6857 pub read_property: zend_object_read_property_t,
6858 pub write_property: zend_object_write_property_t,
6859 pub read_dimension: zend_object_read_dimension_t,
6860 pub write_dimension: zend_object_write_dimension_t,
6861 pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
6862 pub get: zend_object_get_t,
6863 pub set: zend_object_set_t,
6864 pub has_property: zend_object_has_property_t,
6865 pub unset_property: zend_object_unset_property_t,
6866 pub has_dimension: zend_object_has_dimension_t,
6867 pub unset_dimension: zend_object_unset_dimension_t,
6868 pub get_properties: zend_object_get_properties_t,
6869 pub get_method: zend_object_get_method_t,
6870 pub call_method: zend_object_call_method_t,
6871 pub get_constructor: zend_object_get_constructor_t,
6872 pub get_class_name: zend_object_get_class_name_t,
6873 pub compare_objects: zend_object_compare_t,
6874 pub cast_object: zend_object_cast_t,
6875 pub count_elements: zend_object_count_elements_t,
6876 pub get_debug_info: zend_object_get_debug_info_t,
6877 pub get_closure: zend_object_get_closure_t,
6878 pub get_gc: zend_object_get_gc_t,
6879 pub do_operation: zend_object_do_operation_t,
6880 pub compare: zend_object_compare_zvals_t,
6881}
6882#[test]
6883fn bindgen_test_layout__zend_object_handlers() {
6884 assert_eq!(
6885 ::std::mem::size_of::<_zend_object_handlers>(),
6886 224usize,
6887 concat!("Size of: ", stringify!(_zend_object_handlers))
6888 );
6889 assert_eq!(
6890 ::std::mem::align_of::<_zend_object_handlers>(),
6891 8usize,
6892 concat!("Alignment of ", stringify!(_zend_object_handlers))
6893 );
6894 assert_eq!(
6895 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).offset as *const _ as usize },
6896 0usize,
6897 concat!(
6898 "Offset of field: ",
6899 stringify!(_zend_object_handlers),
6900 "::",
6901 stringify!(offset)
6902 )
6903 );
6904 assert_eq!(
6905 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).free_obj as *const _ as usize },
6906 8usize,
6907 concat!(
6908 "Offset of field: ",
6909 stringify!(_zend_object_handlers),
6910 "::",
6911 stringify!(free_obj)
6912 )
6913 );
6914 assert_eq!(
6915 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).dtor_obj as *const _ as usize },
6916 16usize,
6917 concat!(
6918 "Offset of field: ",
6919 stringify!(_zend_object_handlers),
6920 "::",
6921 stringify!(dtor_obj)
6922 )
6923 );
6924 assert_eq!(
6925 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).clone_obj as *const _ as usize },
6926 24usize,
6927 concat!(
6928 "Offset of field: ",
6929 stringify!(_zend_object_handlers),
6930 "::",
6931 stringify!(clone_obj)
6932 )
6933 );
6934 assert_eq!(
6935 unsafe {
6936 &(*(::std::ptr::null::<_zend_object_handlers>())).read_property as *const _ as usize
6937 },
6938 32usize,
6939 concat!(
6940 "Offset of field: ",
6941 stringify!(_zend_object_handlers),
6942 "::",
6943 stringify!(read_property)
6944 )
6945 );
6946 assert_eq!(
6947 unsafe {
6948 &(*(::std::ptr::null::<_zend_object_handlers>())).write_property as *const _ as usize
6949 },
6950 40usize,
6951 concat!(
6952 "Offset of field: ",
6953 stringify!(_zend_object_handlers),
6954 "::",
6955 stringify!(write_property)
6956 )
6957 );
6958 assert_eq!(
6959 unsafe {
6960 &(*(::std::ptr::null::<_zend_object_handlers>())).read_dimension as *const _ as usize
6961 },
6962 48usize,
6963 concat!(
6964 "Offset of field: ",
6965 stringify!(_zend_object_handlers),
6966 "::",
6967 stringify!(read_dimension)
6968 )
6969 );
6970 assert_eq!(
6971 unsafe {
6972 &(*(::std::ptr::null::<_zend_object_handlers>())).write_dimension as *const _ as usize
6973 },
6974 56usize,
6975 concat!(
6976 "Offset of field: ",
6977 stringify!(_zend_object_handlers),
6978 "::",
6979 stringify!(write_dimension)
6980 )
6981 );
6982 assert_eq!(
6983 unsafe {
6984 &(*(::std::ptr::null::<_zend_object_handlers>())).get_property_ptr_ptr as *const _
6985 as usize
6986 },
6987 64usize,
6988 concat!(
6989 "Offset of field: ",
6990 stringify!(_zend_object_handlers),
6991 "::",
6992 stringify!(get_property_ptr_ptr)
6993 )
6994 );
6995 assert_eq!(
6996 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).get as *const _ as usize },
6997 72usize,
6998 concat!(
6999 "Offset of field: ",
7000 stringify!(_zend_object_handlers),
7001 "::",
7002 stringify!(get)
7003 )
7004 );
7005 assert_eq!(
7006 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).set as *const _ as usize },
7007 80usize,
7008 concat!(
7009 "Offset of field: ",
7010 stringify!(_zend_object_handlers),
7011 "::",
7012 stringify!(set)
7013 )
7014 );
7015 assert_eq!(
7016 unsafe {
7017 &(*(::std::ptr::null::<_zend_object_handlers>())).has_property as *const _ as usize
7018 },
7019 88usize,
7020 concat!(
7021 "Offset of field: ",
7022 stringify!(_zend_object_handlers),
7023 "::",
7024 stringify!(has_property)
7025 )
7026 );
7027 assert_eq!(
7028 unsafe {
7029 &(*(::std::ptr::null::<_zend_object_handlers>())).unset_property as *const _ as usize
7030 },
7031 96usize,
7032 concat!(
7033 "Offset of field: ",
7034 stringify!(_zend_object_handlers),
7035 "::",
7036 stringify!(unset_property)
7037 )
7038 );
7039 assert_eq!(
7040 unsafe {
7041 &(*(::std::ptr::null::<_zend_object_handlers>())).has_dimension as *const _ as usize
7042 },
7043 104usize,
7044 concat!(
7045 "Offset of field: ",
7046 stringify!(_zend_object_handlers),
7047 "::",
7048 stringify!(has_dimension)
7049 )
7050 );
7051 assert_eq!(
7052 unsafe {
7053 &(*(::std::ptr::null::<_zend_object_handlers>())).unset_dimension as *const _ as usize
7054 },
7055 112usize,
7056 concat!(
7057 "Offset of field: ",
7058 stringify!(_zend_object_handlers),
7059 "::",
7060 stringify!(unset_dimension)
7061 )
7062 );
7063 assert_eq!(
7064 unsafe {
7065 &(*(::std::ptr::null::<_zend_object_handlers>())).get_properties as *const _ as usize
7066 },
7067 120usize,
7068 concat!(
7069 "Offset of field: ",
7070 stringify!(_zend_object_handlers),
7071 "::",
7072 stringify!(get_properties)
7073 )
7074 );
7075 assert_eq!(
7076 unsafe {
7077 &(*(::std::ptr::null::<_zend_object_handlers>())).get_method as *const _ as usize
7078 },
7079 128usize,
7080 concat!(
7081 "Offset of field: ",
7082 stringify!(_zend_object_handlers),
7083 "::",
7084 stringify!(get_method)
7085 )
7086 );
7087 assert_eq!(
7088 unsafe {
7089 &(*(::std::ptr::null::<_zend_object_handlers>())).call_method as *const _ as usize
7090 },
7091 136usize,
7092 concat!(
7093 "Offset of field: ",
7094 stringify!(_zend_object_handlers),
7095 "::",
7096 stringify!(call_method)
7097 )
7098 );
7099 assert_eq!(
7100 unsafe {
7101 &(*(::std::ptr::null::<_zend_object_handlers>())).get_constructor as *const _ as usize
7102 },
7103 144usize,
7104 concat!(
7105 "Offset of field: ",
7106 stringify!(_zend_object_handlers),
7107 "::",
7108 stringify!(get_constructor)
7109 )
7110 );
7111 assert_eq!(
7112 unsafe {
7113 &(*(::std::ptr::null::<_zend_object_handlers>())).get_class_name as *const _ as usize
7114 },
7115 152usize,
7116 concat!(
7117 "Offset of field: ",
7118 stringify!(_zend_object_handlers),
7119 "::",
7120 stringify!(get_class_name)
7121 )
7122 );
7123 assert_eq!(
7124 unsafe {
7125 &(*(::std::ptr::null::<_zend_object_handlers>())).compare_objects as *const _ as usize
7126 },
7127 160usize,
7128 concat!(
7129 "Offset of field: ",
7130 stringify!(_zend_object_handlers),
7131 "::",
7132 stringify!(compare_objects)
7133 )
7134 );
7135 assert_eq!(
7136 unsafe {
7137 &(*(::std::ptr::null::<_zend_object_handlers>())).cast_object as *const _ as usize
7138 },
7139 168usize,
7140 concat!(
7141 "Offset of field: ",
7142 stringify!(_zend_object_handlers),
7143 "::",
7144 stringify!(cast_object)
7145 )
7146 );
7147 assert_eq!(
7148 unsafe {
7149 &(*(::std::ptr::null::<_zend_object_handlers>())).count_elements as *const _ as usize
7150 },
7151 176usize,
7152 concat!(
7153 "Offset of field: ",
7154 stringify!(_zend_object_handlers),
7155 "::",
7156 stringify!(count_elements)
7157 )
7158 );
7159 assert_eq!(
7160 unsafe {
7161 &(*(::std::ptr::null::<_zend_object_handlers>())).get_debug_info as *const _ as usize
7162 },
7163 184usize,
7164 concat!(
7165 "Offset of field: ",
7166 stringify!(_zend_object_handlers),
7167 "::",
7168 stringify!(get_debug_info)
7169 )
7170 );
7171 assert_eq!(
7172 unsafe {
7173 &(*(::std::ptr::null::<_zend_object_handlers>())).get_closure as *const _ as usize
7174 },
7175 192usize,
7176 concat!(
7177 "Offset of field: ",
7178 stringify!(_zend_object_handlers),
7179 "::",
7180 stringify!(get_closure)
7181 )
7182 );
7183 assert_eq!(
7184 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).get_gc as *const _ as usize },
7185 200usize,
7186 concat!(
7187 "Offset of field: ",
7188 stringify!(_zend_object_handlers),
7189 "::",
7190 stringify!(get_gc)
7191 )
7192 );
7193 assert_eq!(
7194 unsafe {
7195 &(*(::std::ptr::null::<_zend_object_handlers>())).do_operation as *const _ as usize
7196 },
7197 208usize,
7198 concat!(
7199 "Offset of field: ",
7200 stringify!(_zend_object_handlers),
7201 "::",
7202 stringify!(do_operation)
7203 )
7204 );
7205 assert_eq!(
7206 unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).compare as *const _ as usize },
7207 216usize,
7208 concat!(
7209 "Offset of field: ",
7210 stringify!(_zend_object_handlers),
7211 "::",
7212 stringify!(compare)
7213 )
7214 );
7215}
7216extern "C" {
7217 pub static mut std_object_handlers: zend_object_handlers;
7218}
7219extern "C" {
7220 pub fn zend_std_get_static_method(
7221 ce: *mut zend_class_entry,
7222 function_name_strval: *mut zend_string,
7223 key: *const zval,
7224 ) -> *mut _zend_function;
7225}
7226extern "C" {
7227 pub fn zend_std_get_static_property(
7228 ce: *mut zend_class_entry,
7229 property_name: *mut zend_string,
7230 silent: zend_bool,
7231 ) -> *mut zval;
7232}
7233extern "C" {
7234 pub fn zend_std_unset_static_property(
7235 ce: *mut zend_class_entry,
7236 property_name: *mut zend_string,
7237 ) -> zend_bool;
7238}
7239extern "C" {
7240 pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut _zend_function;
7241}
7242extern "C" {
7243 pub fn zend_get_property_info(
7244 ce: *mut zend_class_entry,
7245 member: *mut zend_string,
7246 silent: ::std::os::raw::c_int,
7247 ) -> *mut _zend_property_info;
7248}
7249extern "C" {
7250 pub fn zend_std_get_properties(object: *mut zval) -> *mut HashTable;
7251}
7252extern "C" {
7253 pub fn zend_std_get_debug_info(
7254 object: *mut zval,
7255 is_temp: *mut ::std::os::raw::c_int,
7256 ) -> *mut HashTable;
7257}
7258extern "C" {
7259 pub fn zend_std_cast_object_tostring(
7260 readobj: *mut zval,
7261 writeobj: *mut zval,
7262 type_: ::std::os::raw::c_int,
7263 ) -> ::std::os::raw::c_int;
7264}
7265extern "C" {
7266 pub fn zend_std_write_property(
7267 object: *mut zval,
7268 member: *mut zval,
7269 value: *mut zval,
7270 cache_slot: *mut *mut ::std::os::raw::c_void,
7271 );
7272}
7273extern "C" {
7274 pub fn zend_check_private(
7275 fbc: *mut _zend_function,
7276 ce: *mut zend_class_entry,
7277 function_name: *mut zend_string,
7278 ) -> ::std::os::raw::c_int;
7279}
7280extern "C" {
7281 pub fn zend_check_protected(
7282 ce: *mut zend_class_entry,
7283 scope: *mut zend_class_entry,
7284 ) -> ::std::os::raw::c_int;
7285}
7286extern "C" {
7287 pub fn zend_check_property_access(
7288 zobj: *mut zend_object,
7289 prop_info_name: *mut zend_string,
7290 ) -> ::std::os::raw::c_int;
7291}
7292extern "C" {
7293 pub fn zend_get_call_trampoline_func(
7294 ce: *mut zend_class_entry,
7295 method_name: *mut zend_string,
7296 is_static: ::std::os::raw::c_int,
7297 ) -> *mut zend_function;
7298}
7299extern "C" {
7300 pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
7301}
7302extern "C" {
7303 pub fn zend_dtoa(
7304 _d: f64,
7305 mode: ::std::os::raw::c_int,
7306 ndigits: ::std::os::raw::c_int,
7307 decpt: *mut ::std::os::raw::c_int,
7308 sign: *mut ::std::os::raw::c_int,
7309 rve: *mut *mut ::std::os::raw::c_char,
7310 ) -> *mut ::std::os::raw::c_char;
7311}
7312extern "C" {
7313 pub fn zend_strtod(
7314 s00: *const ::std::os::raw::c_char,
7315 se: *mut *const ::std::os::raw::c_char,
7316 ) -> f64;
7317}
7318extern "C" {
7319 pub fn zend_hex_strtod(
7320 str_: *const ::std::os::raw::c_char,
7321 endptr: *mut *const ::std::os::raw::c_char,
7322 ) -> f64;
7323}
7324extern "C" {
7325 pub fn zend_oct_strtod(
7326 str_: *const ::std::os::raw::c_char,
7327 endptr: *mut *const ::std::os::raw::c_char,
7328 ) -> f64;
7329}
7330extern "C" {
7331 pub fn zend_bin_strtod(
7332 str_: *const ::std::os::raw::c_char,
7333 endptr: *mut *const ::std::os::raw::c_char,
7334 ) -> f64;
7335}
7336extern "C" {
7337 pub fn zend_startup_strtod() -> ::std::os::raw::c_int;
7338}
7339extern "C" {
7340 pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
7341}
7342extern "C" {
7343 pub fn zend_is_identical(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
7344}
7345extern "C" {
7346 pub fn zend_memnstr_ex(
7347 haystack: *const ::std::os::raw::c_char,
7348 needle: *const ::std::os::raw::c_char,
7349 needle_len: size_t,
7350 end: *const ::std::os::raw::c_char,
7351 ) -> *const ::std::os::raw::c_char;
7352}
7353extern "C" {
7354 pub fn zend_memnrstr_ex(
7355 haystack: *const ::std::os::raw::c_char,
7356 needle: *const ::std::os::raw::c_char,
7357 needle_len: size_t,
7358 end: *const ::std::os::raw::c_char,
7359 ) -> *const ::std::os::raw::c_char;
7360}
7361extern "C" {
7362 pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
7363}
7364extern "C" {
7365 pub fn zend_is_true(op: *mut zval) -> ::std::os::raw::c_int;
7366}
7367extern "C" {
7368 pub fn zend_object_is_true(op: *mut zval) -> ::std::os::raw::c_int;
7369}
7370extern "C" {
7371 pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: size_t);
7372}
7373extern "C" {
7374 pub fn zend_str_tolower_copy(
7375 dest: *mut ::std::os::raw::c_char,
7376 source: *const ::std::os::raw::c_char,
7377 length: size_t,
7378 ) -> *mut ::std::os::raw::c_char;
7379}
7380extern "C" {
7381 pub fn zend_str_tolower_dup(
7382 source: *const ::std::os::raw::c_char,
7383 length: size_t,
7384 ) -> *mut ::std::os::raw::c_char;
7385}
7386extern "C" {
7387 pub fn zend_str_tolower_dup_ex(
7388 source: *const ::std::os::raw::c_char,
7389 length: size_t,
7390 ) -> *mut ::std::os::raw::c_char;
7391}
7392extern "C" {
7393 pub fn zend_string_tolower(str_: *mut zend_string) -> *mut zend_string;
7394}
7395extern "C" {
7396 pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
7397}
7398extern "C" {
7399 pub fn zend_binary_zval_strncmp(
7400 s1: *mut zval,
7401 s2: *mut zval,
7402 s3: *mut zval,
7403 ) -> ::std::os::raw::c_int;
7404}
7405extern "C" {
7406 pub fn zend_binary_zval_strcasecmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
7407}
7408extern "C" {
7409 pub fn zend_binary_zval_strncasecmp(
7410 s1: *mut zval,
7411 s2: *mut zval,
7412 s3: *mut zval,
7413 ) -> ::std::os::raw::c_int;
7414}
7415extern "C" {
7416 pub fn zend_binary_strcmp(
7417 s1: *const ::std::os::raw::c_char,
7418 len1: size_t,
7419 s2: *const ::std::os::raw::c_char,
7420 len2: size_t,
7421 ) -> ::std::os::raw::c_int;
7422}
7423extern "C" {
7424 pub fn zend_binary_strncmp(
7425 s1: *const ::std::os::raw::c_char,
7426 len1: size_t,
7427 s2: *const ::std::os::raw::c_char,
7428 len2: size_t,
7429 length: size_t,
7430 ) -> ::std::os::raw::c_int;
7431}
7432extern "C" {
7433 pub fn zend_binary_strcasecmp(
7434 s1: *const ::std::os::raw::c_char,
7435 len1: size_t,
7436 s2: *const ::std::os::raw::c_char,
7437 len2: size_t,
7438 ) -> ::std::os::raw::c_int;
7439}
7440extern "C" {
7441 pub fn zend_binary_strncasecmp(
7442 s1: *const ::std::os::raw::c_char,
7443 len1: size_t,
7444 s2: *const ::std::os::raw::c_char,
7445 len2: size_t,
7446 length: size_t,
7447 ) -> ::std::os::raw::c_int;
7448}
7449extern "C" {
7450 pub fn zend_binary_strcasecmp_l(
7451 s1: *const ::std::os::raw::c_char,
7452 len1: size_t,
7453 s2: *const ::std::os::raw::c_char,
7454 len2: size_t,
7455 ) -> ::std::os::raw::c_int;
7456}
7457extern "C" {
7458 pub fn zend_binary_strncasecmp_l(
7459 s1: *const ::std::os::raw::c_char,
7460 len1: size_t,
7461 s2: *const ::std::os::raw::c_char,
7462 len2: size_t,
7463 length: size_t,
7464 ) -> ::std::os::raw::c_int;
7465}
7466extern "C" {
7467 pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> zend_long;
7468}
7469extern "C" {
7470 pub fn zend_compare_symbol_tables(
7471 ht1: *mut HashTable,
7472 ht2: *mut HashTable,
7473 ) -> ::std::os::raw::c_int;
7474}
7475extern "C" {
7476 pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
7477}
7478extern "C" {
7479 pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
7480}
7481extern "C" {
7482 pub fn zend_atoi(
7483 str_: *const ::std::os::raw::c_char,
7484 str_len: ::std::os::raw::c_int,
7485 ) -> ::std::os::raw::c_int;
7486}
7487extern "C" {
7488 pub fn zend_atol(
7489 str_: *const ::std::os::raw::c_char,
7490 str_len: ::std::os::raw::c_int,
7491 ) -> zend_long;
7492}
7493extern "C" {
7494 pub fn zend_locale_sprintf_double(op: *mut zval);
7495}
7496extern "C" {
7497 pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
7498}
7499extern "C" {
7500 pub fn zend_qsort(
7501 base: *mut ::std::os::raw::c_void,
7502 nmemb: size_t,
7503 siz: size_t,
7504 cmp: compare_func_t,
7505 swp: swap_func_t,
7506 );
7507}
7508extern "C" {
7509 pub fn zend_sort(
7510 base: *mut ::std::os::raw::c_void,
7511 nmemb: size_t,
7512 siz: size_t,
7513 cmp: compare_func_t,
7514 swp: swap_func_t,
7515 );
7516}
7517extern "C" {
7518 pub fn zend_insert_sort(
7519 base: *mut ::std::os::raw::c_void,
7520 nmemb: size_t,
7521 siz: size_t,
7522 cmp: compare_func_t,
7523 swp: swap_func_t,
7524 );
7525}
7526pub type zend_op_array = _zend_op_array;
7527pub type zend_op = _zend_op;
7528#[repr(C)]
7529#[derive(Copy, Clone)]
7530pub union _znode_op {
7531 pub constant: u32,
7532 pub var: u32,
7533 pub num: u32,
7534 pub opline_num: u32,
7535 pub jmp_offset: u32,
7536 _bindgen_union_align: u32,
7537}
7538#[test]
7539fn bindgen_test_layout__znode_op() {
7540 assert_eq!(
7541 ::std::mem::size_of::<_znode_op>(),
7542 4usize,
7543 concat!("Size of: ", stringify!(_znode_op))
7544 );
7545 assert_eq!(
7546 ::std::mem::align_of::<_znode_op>(),
7547 4usize,
7548 concat!("Alignment of ", stringify!(_znode_op))
7549 );
7550 assert_eq!(
7551 unsafe { &(*(::std::ptr::null::<_znode_op>())).constant as *const _ as usize },
7552 0usize,
7553 concat!(
7554 "Offset of field: ",
7555 stringify!(_znode_op),
7556 "::",
7557 stringify!(constant)
7558 )
7559 );
7560 assert_eq!(
7561 unsafe { &(*(::std::ptr::null::<_znode_op>())).var as *const _ as usize },
7562 0usize,
7563 concat!(
7564 "Offset of field: ",
7565 stringify!(_znode_op),
7566 "::",
7567 stringify!(var)
7568 )
7569 );
7570 assert_eq!(
7571 unsafe { &(*(::std::ptr::null::<_znode_op>())).num as *const _ as usize },
7572 0usize,
7573 concat!(
7574 "Offset of field: ",
7575 stringify!(_znode_op),
7576 "::",
7577 stringify!(num)
7578 )
7579 );
7580 assert_eq!(
7581 unsafe { &(*(::std::ptr::null::<_znode_op>())).opline_num as *const _ as usize },
7582 0usize,
7583 concat!(
7584 "Offset of field: ",
7585 stringify!(_znode_op),
7586 "::",
7587 stringify!(opline_num)
7588 )
7589 );
7590 assert_eq!(
7591 unsafe { &(*(::std::ptr::null::<_znode_op>())).jmp_offset as *const _ as usize },
7592 0usize,
7593 concat!(
7594 "Offset of field: ",
7595 stringify!(_znode_op),
7596 "::",
7597 stringify!(jmp_offset)
7598 )
7599 );
7600}
7601pub type znode_op = _znode_op;
7602#[repr(C)]
7603#[derive(Copy, Clone)]
7604pub struct _znode {
7605 pub op_type: zend_uchar,
7606 pub flag: zend_uchar,
7607 pub u: _znode__bindgen_ty_1,
7608}
7609#[repr(C)]
7610#[derive(Copy, Clone)]
7611pub union _znode__bindgen_ty_1 {
7612 pub op: znode_op,
7613 pub constant: zval,
7614 _bindgen_union_align: [u64; 2usize],
7615}
7616#[test]
7617fn bindgen_test_layout__znode__bindgen_ty_1() {
7618 assert_eq!(
7619 ::std::mem::size_of::<_znode__bindgen_ty_1>(),
7620 16usize,
7621 concat!("Size of: ", stringify!(_znode__bindgen_ty_1))
7622 );
7623 assert_eq!(
7624 ::std::mem::align_of::<_znode__bindgen_ty_1>(),
7625 8usize,
7626 concat!("Alignment of ", stringify!(_znode__bindgen_ty_1))
7627 );
7628 assert_eq!(
7629 unsafe { &(*(::std::ptr::null::<_znode__bindgen_ty_1>())).op as *const _ as usize },
7630 0usize,
7631 concat!(
7632 "Offset of field: ",
7633 stringify!(_znode__bindgen_ty_1),
7634 "::",
7635 stringify!(op)
7636 )
7637 );
7638 assert_eq!(
7639 unsafe { &(*(::std::ptr::null::<_znode__bindgen_ty_1>())).constant as *const _ as usize },
7640 0usize,
7641 concat!(
7642 "Offset of field: ",
7643 stringify!(_znode__bindgen_ty_1),
7644 "::",
7645 stringify!(constant)
7646 )
7647 );
7648}
7649#[test]
7650fn bindgen_test_layout__znode() {
7651 assert_eq!(
7652 ::std::mem::size_of::<_znode>(),
7653 24usize,
7654 concat!("Size of: ", stringify!(_znode))
7655 );
7656 assert_eq!(
7657 ::std::mem::align_of::<_znode>(),
7658 8usize,
7659 concat!("Alignment of ", stringify!(_znode))
7660 );
7661 assert_eq!(
7662 unsafe { &(*(::std::ptr::null::<_znode>())).op_type as *const _ as usize },
7663 0usize,
7664 concat!(
7665 "Offset of field: ",
7666 stringify!(_znode),
7667 "::",
7668 stringify!(op_type)
7669 )
7670 );
7671 assert_eq!(
7672 unsafe { &(*(::std::ptr::null::<_znode>())).flag as *const _ as usize },
7673 1usize,
7674 concat!(
7675 "Offset of field: ",
7676 stringify!(_znode),
7677 "::",
7678 stringify!(flag)
7679 )
7680 );
7681 assert_eq!(
7682 unsafe { &(*(::std::ptr::null::<_znode>())).u as *const _ as usize },
7683 8usize,
7684 concat!("Offset of field: ", stringify!(_znode), "::", stringify!(u))
7685 );
7686}
7687pub type znode = _znode;
7688#[repr(C)]
7689#[derive(Copy, Clone)]
7690pub struct _zend_ast_znode {
7691 pub kind: zend_ast_kind,
7692 pub attr: zend_ast_attr,
7693 pub lineno: u32,
7694 pub node: znode,
7695}
7696#[test]
7697fn bindgen_test_layout__zend_ast_znode() {
7698 assert_eq!(
7699 ::std::mem::size_of::<_zend_ast_znode>(),
7700 32usize,
7701 concat!("Size of: ", stringify!(_zend_ast_znode))
7702 );
7703 assert_eq!(
7704 ::std::mem::align_of::<_zend_ast_znode>(),
7705 8usize,
7706 concat!("Alignment of ", stringify!(_zend_ast_znode))
7707 );
7708 assert_eq!(
7709 unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).kind as *const _ as usize },
7710 0usize,
7711 concat!(
7712 "Offset of field: ",
7713 stringify!(_zend_ast_znode),
7714 "::",
7715 stringify!(kind)
7716 )
7717 );
7718 assert_eq!(
7719 unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).attr as *const _ as usize },
7720 2usize,
7721 concat!(
7722 "Offset of field: ",
7723 stringify!(_zend_ast_znode),
7724 "::",
7725 stringify!(attr)
7726 )
7727 );
7728 assert_eq!(
7729 unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).lineno as *const _ as usize },
7730 4usize,
7731 concat!(
7732 "Offset of field: ",
7733 stringify!(_zend_ast_znode),
7734 "::",
7735 stringify!(lineno)
7736 )
7737 );
7738 assert_eq!(
7739 unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).node as *const _ as usize },
7740 8usize,
7741 concat!(
7742 "Offset of field: ",
7743 stringify!(_zend_ast_znode),
7744 "::",
7745 stringify!(node)
7746 )
7747 );
7748}
7749pub type zend_ast_znode = _zend_ast_znode;
7750extern "C" {
7751 pub fn zend_ast_create_znode(node: *mut znode) -> *mut zend_ast;
7752}
7753#[repr(C)]
7754#[derive(Debug, Copy, Clone)]
7755pub struct _zend_declarables {
7756 pub ticks: zend_long,
7757}
7758#[test]
7759fn bindgen_test_layout__zend_declarables() {
7760 assert_eq!(
7761 ::std::mem::size_of::<_zend_declarables>(),
7762 8usize,
7763 concat!("Size of: ", stringify!(_zend_declarables))
7764 );
7765 assert_eq!(
7766 ::std::mem::align_of::<_zend_declarables>(),
7767 8usize,
7768 concat!("Alignment of ", stringify!(_zend_declarables))
7769 );
7770 assert_eq!(
7771 unsafe { &(*(::std::ptr::null::<_zend_declarables>())).ticks as *const _ as usize },
7772 0usize,
7773 concat!(
7774 "Offset of field: ",
7775 stringify!(_zend_declarables),
7776 "::",
7777 stringify!(ticks)
7778 )
7779 );
7780}
7781pub type zend_declarables = _zend_declarables;
7782#[repr(C)]
7783#[derive(Debug, Copy, Clone)]
7784pub struct _zend_oparray_context {
7785 pub opcodes_size: u32,
7786 pub vars_size: ::std::os::raw::c_int,
7787 pub literals_size: ::std::os::raw::c_int,
7788 pub current_brk_cont: ::std::os::raw::c_int,
7789 pub backpatch_count: ::std::os::raw::c_int,
7790 pub in_finally: ::std::os::raw::c_int,
7791 pub fast_call_var: u32,
7792 pub labels: *mut HashTable,
7793}
7794#[test]
7795fn bindgen_test_layout__zend_oparray_context() {
7796 assert_eq!(
7797 ::std::mem::size_of::<_zend_oparray_context>(),
7798 40usize,
7799 concat!("Size of: ", stringify!(_zend_oparray_context))
7800 );
7801 assert_eq!(
7802 ::std::mem::align_of::<_zend_oparray_context>(),
7803 8usize,
7804 concat!("Alignment of ", stringify!(_zend_oparray_context))
7805 );
7806 assert_eq!(
7807 unsafe {
7808 &(*(::std::ptr::null::<_zend_oparray_context>())).opcodes_size as *const _ as usize
7809 },
7810 0usize,
7811 concat!(
7812 "Offset of field: ",
7813 stringify!(_zend_oparray_context),
7814 "::",
7815 stringify!(opcodes_size)
7816 )
7817 );
7818 assert_eq!(
7819 unsafe { &(*(::std::ptr::null::<_zend_oparray_context>())).vars_size as *const _ as usize },
7820 4usize,
7821 concat!(
7822 "Offset of field: ",
7823 stringify!(_zend_oparray_context),
7824 "::",
7825 stringify!(vars_size)
7826 )
7827 );
7828 assert_eq!(
7829 unsafe {
7830 &(*(::std::ptr::null::<_zend_oparray_context>())).literals_size as *const _ as usize
7831 },
7832 8usize,
7833 concat!(
7834 "Offset of field: ",
7835 stringify!(_zend_oparray_context),
7836 "::",
7837 stringify!(literals_size)
7838 )
7839 );
7840 assert_eq!(
7841 unsafe {
7842 &(*(::std::ptr::null::<_zend_oparray_context>())).current_brk_cont as *const _ as usize
7843 },
7844 12usize,
7845 concat!(
7846 "Offset of field: ",
7847 stringify!(_zend_oparray_context),
7848 "::",
7849 stringify!(current_brk_cont)
7850 )
7851 );
7852 assert_eq!(
7853 unsafe {
7854 &(*(::std::ptr::null::<_zend_oparray_context>())).backpatch_count as *const _ as usize
7855 },
7856 16usize,
7857 concat!(
7858 "Offset of field: ",
7859 stringify!(_zend_oparray_context),
7860 "::",
7861 stringify!(backpatch_count)
7862 )
7863 );
7864 assert_eq!(
7865 unsafe {
7866 &(*(::std::ptr::null::<_zend_oparray_context>())).in_finally as *const _ as usize
7867 },
7868 20usize,
7869 concat!(
7870 "Offset of field: ",
7871 stringify!(_zend_oparray_context),
7872 "::",
7873 stringify!(in_finally)
7874 )
7875 );
7876 assert_eq!(
7877 unsafe {
7878 &(*(::std::ptr::null::<_zend_oparray_context>())).fast_call_var as *const _ as usize
7879 },
7880 24usize,
7881 concat!(
7882 "Offset of field: ",
7883 stringify!(_zend_oparray_context),
7884 "::",
7885 stringify!(fast_call_var)
7886 )
7887 );
7888 assert_eq!(
7889 unsafe { &(*(::std::ptr::null::<_zend_oparray_context>())).labels as *const _ as usize },
7890 32usize,
7891 concat!(
7892 "Offset of field: ",
7893 stringify!(_zend_oparray_context),
7894 "::",
7895 stringify!(labels)
7896 )
7897 );
7898}
7899pub type zend_oparray_context = _zend_oparray_context;
7900#[repr(C)]
7901#[derive(Copy, Clone)]
7902pub struct _zend_file_context {
7903 pub declarables: zend_declarables,
7904 pub implementing_class: znode,
7905 pub current_namespace: *mut zend_string,
7906 pub in_namespace: zend_bool,
7907 pub has_bracketed_namespaces: zend_bool,
7908 pub imports: *mut HashTable,
7909 pub imports_function: *mut HashTable,
7910 pub imports_const: *mut HashTable,
7911}
7912#[test]
7913fn bindgen_test_layout__zend_file_context() {
7914 assert_eq!(
7915 ::std::mem::size_of::<_zend_file_context>(),
7916 72usize,
7917 concat!("Size of: ", stringify!(_zend_file_context))
7918 );
7919 assert_eq!(
7920 ::std::mem::align_of::<_zend_file_context>(),
7921 8usize,
7922 concat!("Alignment of ", stringify!(_zend_file_context))
7923 );
7924 assert_eq!(
7925 unsafe { &(*(::std::ptr::null::<_zend_file_context>())).declarables as *const _ as usize },
7926 0usize,
7927 concat!(
7928 "Offset of field: ",
7929 stringify!(_zend_file_context),
7930 "::",
7931 stringify!(declarables)
7932 )
7933 );
7934 assert_eq!(
7935 unsafe {
7936 &(*(::std::ptr::null::<_zend_file_context>())).implementing_class as *const _ as usize
7937 },
7938 8usize,
7939 concat!(
7940 "Offset of field: ",
7941 stringify!(_zend_file_context),
7942 "::",
7943 stringify!(implementing_class)
7944 )
7945 );
7946 assert_eq!(
7947 unsafe {
7948 &(*(::std::ptr::null::<_zend_file_context>())).current_namespace as *const _ as usize
7949 },
7950 32usize,
7951 concat!(
7952 "Offset of field: ",
7953 stringify!(_zend_file_context),
7954 "::",
7955 stringify!(current_namespace)
7956 )
7957 );
7958 assert_eq!(
7959 unsafe { &(*(::std::ptr::null::<_zend_file_context>())).in_namespace as *const _ as usize },
7960 40usize,
7961 concat!(
7962 "Offset of field: ",
7963 stringify!(_zend_file_context),
7964 "::",
7965 stringify!(in_namespace)
7966 )
7967 );
7968 assert_eq!(
7969 unsafe {
7970 &(*(::std::ptr::null::<_zend_file_context>())).has_bracketed_namespaces as *const _
7971 as usize
7972 },
7973 41usize,
7974 concat!(
7975 "Offset of field: ",
7976 stringify!(_zend_file_context),
7977 "::",
7978 stringify!(has_bracketed_namespaces)
7979 )
7980 );
7981 assert_eq!(
7982 unsafe { &(*(::std::ptr::null::<_zend_file_context>())).imports as *const _ as usize },
7983 48usize,
7984 concat!(
7985 "Offset of field: ",
7986 stringify!(_zend_file_context),
7987 "::",
7988 stringify!(imports)
7989 )
7990 );
7991 assert_eq!(
7992 unsafe {
7993 &(*(::std::ptr::null::<_zend_file_context>())).imports_function as *const _ as usize
7994 },
7995 56usize,
7996 concat!(
7997 "Offset of field: ",
7998 stringify!(_zend_file_context),
7999 "::",
8000 stringify!(imports_function)
8001 )
8002 );
8003 assert_eq!(
8004 unsafe {
8005 &(*(::std::ptr::null::<_zend_file_context>())).imports_const as *const _ as usize
8006 },
8007 64usize,
8008 concat!(
8009 "Offset of field: ",
8010 stringify!(_zend_file_context),
8011 "::",
8012 stringify!(imports_const)
8013 )
8014 );
8015}
8016pub type zend_file_context = _zend_file_context;
8017#[repr(C)]
8018#[derive(Copy, Clone)]
8019pub union _zend_parser_stack_elem {
8020 pub ast: *mut zend_ast,
8021 pub str_: *mut zend_string,
8022 pub num: zend_ulong,
8023 _bindgen_union_align: u64,
8024}
8025#[test]
8026fn bindgen_test_layout__zend_parser_stack_elem() {
8027 assert_eq!(
8028 ::std::mem::size_of::<_zend_parser_stack_elem>(),
8029 8usize,
8030 concat!("Size of: ", stringify!(_zend_parser_stack_elem))
8031 );
8032 assert_eq!(
8033 ::std::mem::align_of::<_zend_parser_stack_elem>(),
8034 8usize,
8035 concat!("Alignment of ", stringify!(_zend_parser_stack_elem))
8036 );
8037 assert_eq!(
8038 unsafe { &(*(::std::ptr::null::<_zend_parser_stack_elem>())).ast as *const _ as usize },
8039 0usize,
8040 concat!(
8041 "Offset of field: ",
8042 stringify!(_zend_parser_stack_elem),
8043 "::",
8044 stringify!(ast)
8045 )
8046 );
8047 assert_eq!(
8048 unsafe { &(*(::std::ptr::null::<_zend_parser_stack_elem>())).str_ as *const _ as usize },
8049 0usize,
8050 concat!(
8051 "Offset of field: ",
8052 stringify!(_zend_parser_stack_elem),
8053 "::",
8054 stringify!(str_)
8055 )
8056 );
8057 assert_eq!(
8058 unsafe { &(*(::std::ptr::null::<_zend_parser_stack_elem>())).num as *const _ as usize },
8059 0usize,
8060 concat!(
8061 "Offset of field: ",
8062 stringify!(_zend_parser_stack_elem),
8063 "::",
8064 stringify!(num)
8065 )
8066 );
8067}
8068pub type zend_parser_stack_elem = _zend_parser_stack_elem;
8069extern "C" {
8070 pub fn zend_compile_top_stmt(ast: *mut zend_ast);
8071}
8072extern "C" {
8073 pub fn zend_compile_stmt(ast: *mut zend_ast);
8074}
8075extern "C" {
8076 pub fn zend_compile_expr(node: *mut znode, ast: *mut zend_ast);
8077}
8078extern "C" {
8079 pub fn zend_compile_var(node: *mut znode, ast: *mut zend_ast, type_: u32);
8080}
8081extern "C" {
8082 pub fn zend_eval_const_expr(ast_ptr: *mut *mut zend_ast);
8083}
8084extern "C" {
8085 pub fn zend_const_expr_to_zval(result: *mut zval, ast: *mut zend_ast);
8086}
8087pub type user_opcode_handler_t = ::std::option::Option<
8088 unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
8089>;
8090#[repr(C)]
8091#[derive(Copy, Clone)]
8092pub struct _zend_op {
8093 pub handler: *const ::std::os::raw::c_void,
8094 pub op1: znode_op,
8095 pub op2: znode_op,
8096 pub result: znode_op,
8097 pub extended_value: u32,
8098 pub lineno: u32,
8099 pub opcode: zend_uchar,
8100 pub op1_type: zend_uchar,
8101 pub op2_type: zend_uchar,
8102 pub result_type: zend_uchar,
8103}
8104#[test]
8105fn bindgen_test_layout__zend_op() {
8106 assert_eq!(
8107 ::std::mem::size_of::<_zend_op>(),
8108 32usize,
8109 concat!("Size of: ", stringify!(_zend_op))
8110 );
8111 assert_eq!(
8112 ::std::mem::align_of::<_zend_op>(),
8113 8usize,
8114 concat!("Alignment of ", stringify!(_zend_op))
8115 );
8116 assert_eq!(
8117 unsafe { &(*(::std::ptr::null::<_zend_op>())).handler as *const _ as usize },
8118 0usize,
8119 concat!(
8120 "Offset of field: ",
8121 stringify!(_zend_op),
8122 "::",
8123 stringify!(handler)
8124 )
8125 );
8126 assert_eq!(
8127 unsafe { &(*(::std::ptr::null::<_zend_op>())).op1 as *const _ as usize },
8128 8usize,
8129 concat!(
8130 "Offset of field: ",
8131 stringify!(_zend_op),
8132 "::",
8133 stringify!(op1)
8134 )
8135 );
8136 assert_eq!(
8137 unsafe { &(*(::std::ptr::null::<_zend_op>())).op2 as *const _ as usize },
8138 12usize,
8139 concat!(
8140 "Offset of field: ",
8141 stringify!(_zend_op),
8142 "::",
8143 stringify!(op2)
8144 )
8145 );
8146 assert_eq!(
8147 unsafe { &(*(::std::ptr::null::<_zend_op>())).result as *const _ as usize },
8148 16usize,
8149 concat!(
8150 "Offset of field: ",
8151 stringify!(_zend_op),
8152 "::",
8153 stringify!(result)
8154 )
8155 );
8156 assert_eq!(
8157 unsafe { &(*(::std::ptr::null::<_zend_op>())).extended_value as *const _ as usize },
8158 20usize,
8159 concat!(
8160 "Offset of field: ",
8161 stringify!(_zend_op),
8162 "::",
8163 stringify!(extended_value)
8164 )
8165 );
8166 assert_eq!(
8167 unsafe { &(*(::std::ptr::null::<_zend_op>())).lineno as *const _ as usize },
8168 24usize,
8169 concat!(
8170 "Offset of field: ",
8171 stringify!(_zend_op),
8172 "::",
8173 stringify!(lineno)
8174 )
8175 );
8176 assert_eq!(
8177 unsafe { &(*(::std::ptr::null::<_zend_op>())).opcode as *const _ as usize },
8178 28usize,
8179 concat!(
8180 "Offset of field: ",
8181 stringify!(_zend_op),
8182 "::",
8183 stringify!(opcode)
8184 )
8185 );
8186 assert_eq!(
8187 unsafe { &(*(::std::ptr::null::<_zend_op>())).op1_type as *const _ as usize },
8188 29usize,
8189 concat!(
8190 "Offset of field: ",
8191 stringify!(_zend_op),
8192 "::",
8193 stringify!(op1_type)
8194 )
8195 );
8196 assert_eq!(
8197 unsafe { &(*(::std::ptr::null::<_zend_op>())).op2_type as *const _ as usize },
8198 30usize,
8199 concat!(
8200 "Offset of field: ",
8201 stringify!(_zend_op),
8202 "::",
8203 stringify!(op2_type)
8204 )
8205 );
8206 assert_eq!(
8207 unsafe { &(*(::std::ptr::null::<_zend_op>())).result_type as *const _ as usize },
8208 31usize,
8209 concat!(
8210 "Offset of field: ",
8211 stringify!(_zend_op),
8212 "::",
8213 stringify!(result_type)
8214 )
8215 );
8216}
8217#[repr(C)]
8218#[derive(Debug, Copy, Clone)]
8219pub struct _zend_brk_cont_element {
8220 pub start: ::std::os::raw::c_int,
8221 pub cont: ::std::os::raw::c_int,
8222 pub brk: ::std::os::raw::c_int,
8223 pub parent: ::std::os::raw::c_int,
8224}
8225#[test]
8226fn bindgen_test_layout__zend_brk_cont_element() {
8227 assert_eq!(
8228 ::std::mem::size_of::<_zend_brk_cont_element>(),
8229 16usize,
8230 concat!("Size of: ", stringify!(_zend_brk_cont_element))
8231 );
8232 assert_eq!(
8233 ::std::mem::align_of::<_zend_brk_cont_element>(),
8234 4usize,
8235 concat!("Alignment of ", stringify!(_zend_brk_cont_element))
8236 );
8237 assert_eq!(
8238 unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).start as *const _ as usize },
8239 0usize,
8240 concat!(
8241 "Offset of field: ",
8242 stringify!(_zend_brk_cont_element),
8243 "::",
8244 stringify!(start)
8245 )
8246 );
8247 assert_eq!(
8248 unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).cont as *const _ as usize },
8249 4usize,
8250 concat!(
8251 "Offset of field: ",
8252 stringify!(_zend_brk_cont_element),
8253 "::",
8254 stringify!(cont)
8255 )
8256 );
8257 assert_eq!(
8258 unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).brk as *const _ as usize },
8259 8usize,
8260 concat!(
8261 "Offset of field: ",
8262 stringify!(_zend_brk_cont_element),
8263 "::",
8264 stringify!(brk)
8265 )
8266 );
8267 assert_eq!(
8268 unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).parent as *const _ as usize },
8269 12usize,
8270 concat!(
8271 "Offset of field: ",
8272 stringify!(_zend_brk_cont_element),
8273 "::",
8274 stringify!(parent)
8275 )
8276 );
8277}
8278pub type zend_brk_cont_element = _zend_brk_cont_element;
8279#[repr(C)]
8280#[derive(Debug, Copy, Clone)]
8281pub struct _zend_label {
8282 pub brk_cont: ::std::os::raw::c_int,
8283 pub opline_num: u32,
8284}
8285#[test]
8286fn bindgen_test_layout__zend_label() {
8287 assert_eq!(
8288 ::std::mem::size_of::<_zend_label>(),
8289 8usize,
8290 concat!("Size of: ", stringify!(_zend_label))
8291 );
8292 assert_eq!(
8293 ::std::mem::align_of::<_zend_label>(),
8294 4usize,
8295 concat!("Alignment of ", stringify!(_zend_label))
8296 );
8297 assert_eq!(
8298 unsafe { &(*(::std::ptr::null::<_zend_label>())).brk_cont as *const _ as usize },
8299 0usize,
8300 concat!(
8301 "Offset of field: ",
8302 stringify!(_zend_label),
8303 "::",
8304 stringify!(brk_cont)
8305 )
8306 );
8307 assert_eq!(
8308 unsafe { &(*(::std::ptr::null::<_zend_label>())).opline_num as *const _ as usize },
8309 4usize,
8310 concat!(
8311 "Offset of field: ",
8312 stringify!(_zend_label),
8313 "::",
8314 stringify!(opline_num)
8315 )
8316 );
8317}
8318pub type zend_label = _zend_label;
8319#[repr(C)]
8320#[derive(Debug, Copy, Clone)]
8321pub struct _zend_try_catch_element {
8322 pub try_op: u32,
8323 pub catch_op: u32,
8324 pub finally_op: u32,
8325 pub finally_end: u32,
8326}
8327#[test]
8328fn bindgen_test_layout__zend_try_catch_element() {
8329 assert_eq!(
8330 ::std::mem::size_of::<_zend_try_catch_element>(),
8331 16usize,
8332 concat!("Size of: ", stringify!(_zend_try_catch_element))
8333 );
8334 assert_eq!(
8335 ::std::mem::align_of::<_zend_try_catch_element>(),
8336 4usize,
8337 concat!("Alignment of ", stringify!(_zend_try_catch_element))
8338 );
8339 assert_eq!(
8340 unsafe { &(*(::std::ptr::null::<_zend_try_catch_element>())).try_op as *const _ as usize },
8341 0usize,
8342 concat!(
8343 "Offset of field: ",
8344 stringify!(_zend_try_catch_element),
8345 "::",
8346 stringify!(try_op)
8347 )
8348 );
8349 assert_eq!(
8350 unsafe {
8351 &(*(::std::ptr::null::<_zend_try_catch_element>())).catch_op as *const _ as usize
8352 },
8353 4usize,
8354 concat!(
8355 "Offset of field: ",
8356 stringify!(_zend_try_catch_element),
8357 "::",
8358 stringify!(catch_op)
8359 )
8360 );
8361 assert_eq!(
8362 unsafe {
8363 &(*(::std::ptr::null::<_zend_try_catch_element>())).finally_op as *const _ as usize
8364 },
8365 8usize,
8366 concat!(
8367 "Offset of field: ",
8368 stringify!(_zend_try_catch_element),
8369 "::",
8370 stringify!(finally_op)
8371 )
8372 );
8373 assert_eq!(
8374 unsafe {
8375 &(*(::std::ptr::null::<_zend_try_catch_element>())).finally_end as *const _ as usize
8376 },
8377 12usize,
8378 concat!(
8379 "Offset of field: ",
8380 stringify!(_zend_try_catch_element),
8381 "::",
8382 stringify!(finally_end)
8383 )
8384 );
8385}
8386pub type zend_try_catch_element = _zend_try_catch_element;
8387extern "C" {
8388 pub fn zend_visibility_string(fn_flags: u32) -> *mut ::std::os::raw::c_char;
8389}
8390#[repr(C)]
8391#[derive(Debug, Copy, Clone)]
8392pub struct _zend_property_info {
8393 pub offset: u32,
8394 pub flags: u32,
8395 pub name: *mut zend_string,
8396 pub doc_comment: *mut zend_string,
8397 pub ce: *mut zend_class_entry,
8398}
8399#[test]
8400fn bindgen_test_layout__zend_property_info() {
8401 assert_eq!(
8402 ::std::mem::size_of::<_zend_property_info>(),
8403 32usize,
8404 concat!("Size of: ", stringify!(_zend_property_info))
8405 );
8406 assert_eq!(
8407 ::std::mem::align_of::<_zend_property_info>(),
8408 8usize,
8409 concat!("Alignment of ", stringify!(_zend_property_info))
8410 );
8411 assert_eq!(
8412 unsafe { &(*(::std::ptr::null::<_zend_property_info>())).offset as *const _ as usize },
8413 0usize,
8414 concat!(
8415 "Offset of field: ",
8416 stringify!(_zend_property_info),
8417 "::",
8418 stringify!(offset)
8419 )
8420 );
8421 assert_eq!(
8422 unsafe { &(*(::std::ptr::null::<_zend_property_info>())).flags as *const _ as usize },
8423 4usize,
8424 concat!(
8425 "Offset of field: ",
8426 stringify!(_zend_property_info),
8427 "::",
8428 stringify!(flags)
8429 )
8430 );
8431 assert_eq!(
8432 unsafe { &(*(::std::ptr::null::<_zend_property_info>())).name as *const _ as usize },
8433 8usize,
8434 concat!(
8435 "Offset of field: ",
8436 stringify!(_zend_property_info),
8437 "::",
8438 stringify!(name)
8439 )
8440 );
8441 assert_eq!(
8442 unsafe { &(*(::std::ptr::null::<_zend_property_info>())).doc_comment as *const _ as usize },
8443 16usize,
8444 concat!(
8445 "Offset of field: ",
8446 stringify!(_zend_property_info),
8447 "::",
8448 stringify!(doc_comment)
8449 )
8450 );
8451 assert_eq!(
8452 unsafe { &(*(::std::ptr::null::<_zend_property_info>())).ce as *const _ as usize },
8453 24usize,
8454 concat!(
8455 "Offset of field: ",
8456 stringify!(_zend_property_info),
8457 "::",
8458 stringify!(ce)
8459 )
8460 );
8461}
8462pub type zend_property_info = _zend_property_info;
8463#[repr(C)]
8464#[derive(Debug, Copy, Clone)]
8465pub struct _zend_internal_arg_info {
8466 pub name: *const ::std::os::raw::c_char,
8467 pub class_name: *const ::std::os::raw::c_char,
8468 pub type_hint: zend_uchar,
8469 pub pass_by_reference: zend_uchar,
8470 pub allow_null: zend_bool,
8471 pub is_variadic: zend_bool,
8472}
8473#[test]
8474fn bindgen_test_layout__zend_internal_arg_info() {
8475 assert_eq!(
8476 ::std::mem::size_of::<_zend_internal_arg_info>(),
8477 24usize,
8478 concat!("Size of: ", stringify!(_zend_internal_arg_info))
8479 );
8480 assert_eq!(
8481 ::std::mem::align_of::<_zend_internal_arg_info>(),
8482 8usize,
8483 concat!("Alignment of ", stringify!(_zend_internal_arg_info))
8484 );
8485 assert_eq!(
8486 unsafe { &(*(::std::ptr::null::<_zend_internal_arg_info>())).name as *const _ as usize },
8487 0usize,
8488 concat!(
8489 "Offset of field: ",
8490 stringify!(_zend_internal_arg_info),
8491 "::",
8492 stringify!(name)
8493 )
8494 );
8495 assert_eq!(
8496 unsafe {
8497 &(*(::std::ptr::null::<_zend_internal_arg_info>())).class_name as *const _ as usize
8498 },
8499 8usize,
8500 concat!(
8501 "Offset of field: ",
8502 stringify!(_zend_internal_arg_info),
8503 "::",
8504 stringify!(class_name)
8505 )
8506 );
8507 assert_eq!(
8508 unsafe {
8509 &(*(::std::ptr::null::<_zend_internal_arg_info>())).type_hint as *const _ as usize
8510 },
8511 16usize,
8512 concat!(
8513 "Offset of field: ",
8514 stringify!(_zend_internal_arg_info),
8515 "::",
8516 stringify!(type_hint)
8517 )
8518 );
8519 assert_eq!(
8520 unsafe {
8521 &(*(::std::ptr::null::<_zend_internal_arg_info>())).pass_by_reference as *const _
8522 as usize
8523 },
8524 17usize,
8525 concat!(
8526 "Offset of field: ",
8527 stringify!(_zend_internal_arg_info),
8528 "::",
8529 stringify!(pass_by_reference)
8530 )
8531 );
8532 assert_eq!(
8533 unsafe {
8534 &(*(::std::ptr::null::<_zend_internal_arg_info>())).allow_null as *const _ as usize
8535 },
8536 18usize,
8537 concat!(
8538 "Offset of field: ",
8539 stringify!(_zend_internal_arg_info),
8540 "::",
8541 stringify!(allow_null)
8542 )
8543 );
8544 assert_eq!(
8545 unsafe {
8546 &(*(::std::ptr::null::<_zend_internal_arg_info>())).is_variadic as *const _ as usize
8547 },
8548 19usize,
8549 concat!(
8550 "Offset of field: ",
8551 stringify!(_zend_internal_arg_info),
8552 "::",
8553 stringify!(is_variadic)
8554 )
8555 );
8556}
8557pub type zend_internal_arg_info = _zend_internal_arg_info;
8558#[repr(C)]
8559#[derive(Debug, Copy, Clone)]
8560pub struct _zend_arg_info {
8561 pub name: *mut zend_string,
8562 pub class_name: *mut zend_string,
8563 pub type_hint: zend_uchar,
8564 pub pass_by_reference: zend_uchar,
8565 pub allow_null: zend_bool,
8566 pub is_variadic: zend_bool,
8567}
8568#[test]
8569fn bindgen_test_layout__zend_arg_info() {
8570 assert_eq!(
8571 ::std::mem::size_of::<_zend_arg_info>(),
8572 24usize,
8573 concat!("Size of: ", stringify!(_zend_arg_info))
8574 );
8575 assert_eq!(
8576 ::std::mem::align_of::<_zend_arg_info>(),
8577 8usize,
8578 concat!("Alignment of ", stringify!(_zend_arg_info))
8579 );
8580 assert_eq!(
8581 unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).name as *const _ as usize },
8582 0usize,
8583 concat!(
8584 "Offset of field: ",
8585 stringify!(_zend_arg_info),
8586 "::",
8587 stringify!(name)
8588 )
8589 );
8590 assert_eq!(
8591 unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).class_name as *const _ as usize },
8592 8usize,
8593 concat!(
8594 "Offset of field: ",
8595 stringify!(_zend_arg_info),
8596 "::",
8597 stringify!(class_name)
8598 )
8599 );
8600 assert_eq!(
8601 unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).type_hint as *const _ as usize },
8602 16usize,
8603 concat!(
8604 "Offset of field: ",
8605 stringify!(_zend_arg_info),
8606 "::",
8607 stringify!(type_hint)
8608 )
8609 );
8610 assert_eq!(
8611 unsafe {
8612 &(*(::std::ptr::null::<_zend_arg_info>())).pass_by_reference as *const _ as usize
8613 },
8614 17usize,
8615 concat!(
8616 "Offset of field: ",
8617 stringify!(_zend_arg_info),
8618 "::",
8619 stringify!(pass_by_reference)
8620 )
8621 );
8622 assert_eq!(
8623 unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).allow_null as *const _ as usize },
8624 18usize,
8625 concat!(
8626 "Offset of field: ",
8627 stringify!(_zend_arg_info),
8628 "::",
8629 stringify!(allow_null)
8630 )
8631 );
8632 assert_eq!(
8633 unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).is_variadic as *const _ as usize },
8634 19usize,
8635 concat!(
8636 "Offset of field: ",
8637 stringify!(_zend_arg_info),
8638 "::",
8639 stringify!(is_variadic)
8640 )
8641 );
8642}
8643pub type zend_arg_info = _zend_arg_info;
8644#[repr(C)]
8645#[derive(Debug, Copy, Clone)]
8646pub struct _zend_internal_function_info {
8647 pub required_num_args: zend_uintptr_t,
8648 pub class_name: *const ::std::os::raw::c_char,
8649 pub type_hint: zend_uchar,
8650 pub return_reference: zend_bool,
8651 pub allow_null: zend_bool,
8652 pub _is_variadic: zend_bool,
8653}
8654#[test]
8655fn bindgen_test_layout__zend_internal_function_info() {
8656 assert_eq!(
8657 ::std::mem::size_of::<_zend_internal_function_info>(),
8658 24usize,
8659 concat!("Size of: ", stringify!(_zend_internal_function_info))
8660 );
8661 assert_eq!(
8662 ::std::mem::align_of::<_zend_internal_function_info>(),
8663 8usize,
8664 concat!("Alignment of ", stringify!(_zend_internal_function_info))
8665 );
8666 assert_eq!(
8667 unsafe {
8668 &(*(::std::ptr::null::<_zend_internal_function_info>())).required_num_args as *const _
8669 as usize
8670 },
8671 0usize,
8672 concat!(
8673 "Offset of field: ",
8674 stringify!(_zend_internal_function_info),
8675 "::",
8676 stringify!(required_num_args)
8677 )
8678 );
8679 assert_eq!(
8680 unsafe {
8681 &(*(::std::ptr::null::<_zend_internal_function_info>())).class_name as *const _ as usize
8682 },
8683 8usize,
8684 concat!(
8685 "Offset of field: ",
8686 stringify!(_zend_internal_function_info),
8687 "::",
8688 stringify!(class_name)
8689 )
8690 );
8691 assert_eq!(
8692 unsafe {
8693 &(*(::std::ptr::null::<_zend_internal_function_info>())).type_hint as *const _ as usize
8694 },
8695 16usize,
8696 concat!(
8697 "Offset of field: ",
8698 stringify!(_zend_internal_function_info),
8699 "::",
8700 stringify!(type_hint)
8701 )
8702 );
8703 assert_eq!(
8704 unsafe {
8705 &(*(::std::ptr::null::<_zend_internal_function_info>())).return_reference as *const _
8706 as usize
8707 },
8708 17usize,
8709 concat!(
8710 "Offset of field: ",
8711 stringify!(_zend_internal_function_info),
8712 "::",
8713 stringify!(return_reference)
8714 )
8715 );
8716 assert_eq!(
8717 unsafe {
8718 &(*(::std::ptr::null::<_zend_internal_function_info>())).allow_null as *const _ as usize
8719 },
8720 18usize,
8721 concat!(
8722 "Offset of field: ",
8723 stringify!(_zend_internal_function_info),
8724 "::",
8725 stringify!(allow_null)
8726 )
8727 );
8728 assert_eq!(
8729 unsafe {
8730 &(*(::std::ptr::null::<_zend_internal_function_info>()))._is_variadic as *const _
8731 as usize
8732 },
8733 19usize,
8734 concat!(
8735 "Offset of field: ",
8736 stringify!(_zend_internal_function_info),
8737 "::",
8738 stringify!(_is_variadic)
8739 )
8740 );
8741}
8742pub type zend_internal_function_info = _zend_internal_function_info;
8743#[repr(C)]
8744#[derive(Debug, Copy, Clone)]
8745pub struct _zend_op_array {
8746 pub type_: zend_uchar,
8747 pub arg_flags: [zend_uchar; 3usize],
8748 pub fn_flags: u32,
8749 pub function_name: *mut zend_string,
8750 pub scope: *mut zend_class_entry,
8751 pub prototype: *mut zend_function,
8752 pub num_args: u32,
8753 pub required_num_args: u32,
8754 pub arg_info: *mut zend_arg_info,
8755 pub refcount: *mut u32,
8756 pub this_var: u32,
8757 pub last: u32,
8758 pub opcodes: *mut zend_op,
8759 pub last_var: ::std::os::raw::c_int,
8760 pub T: u32,
8761 pub vars: *mut *mut zend_string,
8762 pub last_brk_cont: ::std::os::raw::c_int,
8763 pub last_try_catch: ::std::os::raw::c_int,
8764 pub brk_cont_array: *mut zend_brk_cont_element,
8765 pub try_catch_array: *mut zend_try_catch_element,
8766 pub static_variables: *mut HashTable,
8767 pub filename: *mut zend_string,
8768 pub line_start: u32,
8769 pub line_end: u32,
8770 pub doc_comment: *mut zend_string,
8771 pub early_binding: u32,
8772 pub last_literal: ::std::os::raw::c_int,
8773 pub literals: *mut zval,
8774 pub cache_size: ::std::os::raw::c_int,
8775 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
8776 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
8777}
8778#[test]
8779fn bindgen_test_layout__zend_op_array() {
8780 assert_eq!(
8781 ::std::mem::size_of::<_zend_op_array>(),
8782 208usize,
8783 concat!("Size of: ", stringify!(_zend_op_array))
8784 );
8785 assert_eq!(
8786 ::std::mem::align_of::<_zend_op_array>(),
8787 8usize,
8788 concat!("Alignment of ", stringify!(_zend_op_array))
8789 );
8790 assert_eq!(
8791 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).type_ as *const _ as usize },
8792 0usize,
8793 concat!(
8794 "Offset of field: ",
8795 stringify!(_zend_op_array),
8796 "::",
8797 stringify!(type_)
8798 )
8799 );
8800 assert_eq!(
8801 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).arg_flags as *const _ as usize },
8802 1usize,
8803 concat!(
8804 "Offset of field: ",
8805 stringify!(_zend_op_array),
8806 "::",
8807 stringify!(arg_flags)
8808 )
8809 );
8810 assert_eq!(
8811 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).fn_flags as *const _ as usize },
8812 4usize,
8813 concat!(
8814 "Offset of field: ",
8815 stringify!(_zend_op_array),
8816 "::",
8817 stringify!(fn_flags)
8818 )
8819 );
8820 assert_eq!(
8821 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).function_name as *const _ as usize },
8822 8usize,
8823 concat!(
8824 "Offset of field: ",
8825 stringify!(_zend_op_array),
8826 "::",
8827 stringify!(function_name)
8828 )
8829 );
8830 assert_eq!(
8831 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).scope as *const _ as usize },
8832 16usize,
8833 concat!(
8834 "Offset of field: ",
8835 stringify!(_zend_op_array),
8836 "::",
8837 stringify!(scope)
8838 )
8839 );
8840 assert_eq!(
8841 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).prototype as *const _ as usize },
8842 24usize,
8843 concat!(
8844 "Offset of field: ",
8845 stringify!(_zend_op_array),
8846 "::",
8847 stringify!(prototype)
8848 )
8849 );
8850 assert_eq!(
8851 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).num_args as *const _ as usize },
8852 32usize,
8853 concat!(
8854 "Offset of field: ",
8855 stringify!(_zend_op_array),
8856 "::",
8857 stringify!(num_args)
8858 )
8859 );
8860 assert_eq!(
8861 unsafe {
8862 &(*(::std::ptr::null::<_zend_op_array>())).required_num_args as *const _ as usize
8863 },
8864 36usize,
8865 concat!(
8866 "Offset of field: ",
8867 stringify!(_zend_op_array),
8868 "::",
8869 stringify!(required_num_args)
8870 )
8871 );
8872 assert_eq!(
8873 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).arg_info as *const _ as usize },
8874 40usize,
8875 concat!(
8876 "Offset of field: ",
8877 stringify!(_zend_op_array),
8878 "::",
8879 stringify!(arg_info)
8880 )
8881 );
8882 assert_eq!(
8883 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).refcount as *const _ as usize },
8884 48usize,
8885 concat!(
8886 "Offset of field: ",
8887 stringify!(_zend_op_array),
8888 "::",
8889 stringify!(refcount)
8890 )
8891 );
8892 assert_eq!(
8893 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).this_var as *const _ as usize },
8894 56usize,
8895 concat!(
8896 "Offset of field: ",
8897 stringify!(_zend_op_array),
8898 "::",
8899 stringify!(this_var)
8900 )
8901 );
8902 assert_eq!(
8903 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last as *const _ as usize },
8904 60usize,
8905 concat!(
8906 "Offset of field: ",
8907 stringify!(_zend_op_array),
8908 "::",
8909 stringify!(last)
8910 )
8911 );
8912 assert_eq!(
8913 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).opcodes as *const _ as usize },
8914 64usize,
8915 concat!(
8916 "Offset of field: ",
8917 stringify!(_zend_op_array),
8918 "::",
8919 stringify!(opcodes)
8920 )
8921 );
8922 assert_eq!(
8923 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_var as *const _ as usize },
8924 72usize,
8925 concat!(
8926 "Offset of field: ",
8927 stringify!(_zend_op_array),
8928 "::",
8929 stringify!(last_var)
8930 )
8931 );
8932 assert_eq!(
8933 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).T as *const _ as usize },
8934 76usize,
8935 concat!(
8936 "Offset of field: ",
8937 stringify!(_zend_op_array),
8938 "::",
8939 stringify!(T)
8940 )
8941 );
8942 assert_eq!(
8943 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).vars as *const _ as usize },
8944 80usize,
8945 concat!(
8946 "Offset of field: ",
8947 stringify!(_zend_op_array),
8948 "::",
8949 stringify!(vars)
8950 )
8951 );
8952 assert_eq!(
8953 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_brk_cont as *const _ as usize },
8954 88usize,
8955 concat!(
8956 "Offset of field: ",
8957 stringify!(_zend_op_array),
8958 "::",
8959 stringify!(last_brk_cont)
8960 )
8961 );
8962 assert_eq!(
8963 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_try_catch as *const _ as usize },
8964 92usize,
8965 concat!(
8966 "Offset of field: ",
8967 stringify!(_zend_op_array),
8968 "::",
8969 stringify!(last_try_catch)
8970 )
8971 );
8972 assert_eq!(
8973 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).brk_cont_array as *const _ as usize },
8974 96usize,
8975 concat!(
8976 "Offset of field: ",
8977 stringify!(_zend_op_array),
8978 "::",
8979 stringify!(brk_cont_array)
8980 )
8981 );
8982 assert_eq!(
8983 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).try_catch_array as *const _ as usize },
8984 104usize,
8985 concat!(
8986 "Offset of field: ",
8987 stringify!(_zend_op_array),
8988 "::",
8989 stringify!(try_catch_array)
8990 )
8991 );
8992 assert_eq!(
8993 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).static_variables as *const _ as usize },
8994 112usize,
8995 concat!(
8996 "Offset of field: ",
8997 stringify!(_zend_op_array),
8998 "::",
8999 stringify!(static_variables)
9000 )
9001 );
9002 assert_eq!(
9003 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).filename as *const _ as usize },
9004 120usize,
9005 concat!(
9006 "Offset of field: ",
9007 stringify!(_zend_op_array),
9008 "::",
9009 stringify!(filename)
9010 )
9011 );
9012 assert_eq!(
9013 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).line_start as *const _ as usize },
9014 128usize,
9015 concat!(
9016 "Offset of field: ",
9017 stringify!(_zend_op_array),
9018 "::",
9019 stringify!(line_start)
9020 )
9021 );
9022 assert_eq!(
9023 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).line_end as *const _ as usize },
9024 132usize,
9025 concat!(
9026 "Offset of field: ",
9027 stringify!(_zend_op_array),
9028 "::",
9029 stringify!(line_end)
9030 )
9031 );
9032 assert_eq!(
9033 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).doc_comment as *const _ as usize },
9034 136usize,
9035 concat!(
9036 "Offset of field: ",
9037 stringify!(_zend_op_array),
9038 "::",
9039 stringify!(doc_comment)
9040 )
9041 );
9042 assert_eq!(
9043 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).early_binding as *const _ as usize },
9044 144usize,
9045 concat!(
9046 "Offset of field: ",
9047 stringify!(_zend_op_array),
9048 "::",
9049 stringify!(early_binding)
9050 )
9051 );
9052 assert_eq!(
9053 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_literal as *const _ as usize },
9054 148usize,
9055 concat!(
9056 "Offset of field: ",
9057 stringify!(_zend_op_array),
9058 "::",
9059 stringify!(last_literal)
9060 )
9061 );
9062 assert_eq!(
9063 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).literals as *const _ as usize },
9064 152usize,
9065 concat!(
9066 "Offset of field: ",
9067 stringify!(_zend_op_array),
9068 "::",
9069 stringify!(literals)
9070 )
9071 );
9072 assert_eq!(
9073 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).cache_size as *const _ as usize },
9074 160usize,
9075 concat!(
9076 "Offset of field: ",
9077 stringify!(_zend_op_array),
9078 "::",
9079 stringify!(cache_size)
9080 )
9081 );
9082 assert_eq!(
9083 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).run_time_cache as *const _ as usize },
9084 168usize,
9085 concat!(
9086 "Offset of field: ",
9087 stringify!(_zend_op_array),
9088 "::",
9089 stringify!(run_time_cache)
9090 )
9091 );
9092 assert_eq!(
9093 unsafe { &(*(::std::ptr::null::<_zend_op_array>())).reserved as *const _ as usize },
9094 176usize,
9095 concat!(
9096 "Offset of field: ",
9097 stringify!(_zend_op_array),
9098 "::",
9099 stringify!(reserved)
9100 )
9101 );
9102}
9103#[repr(C)]
9104#[derive(Debug, Copy, Clone)]
9105pub struct _zend_internal_function {
9106 pub type_: zend_uchar,
9107 pub arg_flags: [zend_uchar; 3usize],
9108 pub fn_flags: u32,
9109 pub function_name: *mut zend_string,
9110 pub scope: *mut zend_class_entry,
9111 pub prototype: *mut zend_function,
9112 pub num_args: u32,
9113 pub required_num_args: u32,
9114 pub arg_info: *mut zend_internal_arg_info,
9115 pub handler: ::std::option::Option<
9116 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
9117 >,
9118 pub module: *mut _zend_module_entry,
9119 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
9120}
9121#[test]
9122fn bindgen_test_layout__zend_internal_function() {
9123 assert_eq!(
9124 ::std::mem::size_of::<_zend_internal_function>(),
9125 96usize,
9126 concat!("Size of: ", stringify!(_zend_internal_function))
9127 );
9128 assert_eq!(
9129 ::std::mem::align_of::<_zend_internal_function>(),
9130 8usize,
9131 concat!("Alignment of ", stringify!(_zend_internal_function))
9132 );
9133 assert_eq!(
9134 unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).type_ as *const _ as usize },
9135 0usize,
9136 concat!(
9137 "Offset of field: ",
9138 stringify!(_zend_internal_function),
9139 "::",
9140 stringify!(type_)
9141 )
9142 );
9143 assert_eq!(
9144 unsafe {
9145 &(*(::std::ptr::null::<_zend_internal_function>())).arg_flags as *const _ as usize
9146 },
9147 1usize,
9148 concat!(
9149 "Offset of field: ",
9150 stringify!(_zend_internal_function),
9151 "::",
9152 stringify!(arg_flags)
9153 )
9154 );
9155 assert_eq!(
9156 unsafe {
9157 &(*(::std::ptr::null::<_zend_internal_function>())).fn_flags as *const _ as usize
9158 },
9159 4usize,
9160 concat!(
9161 "Offset of field: ",
9162 stringify!(_zend_internal_function),
9163 "::",
9164 stringify!(fn_flags)
9165 )
9166 );
9167 assert_eq!(
9168 unsafe {
9169 &(*(::std::ptr::null::<_zend_internal_function>())).function_name as *const _ as usize
9170 },
9171 8usize,
9172 concat!(
9173 "Offset of field: ",
9174 stringify!(_zend_internal_function),
9175 "::",
9176 stringify!(function_name)
9177 )
9178 );
9179 assert_eq!(
9180 unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).scope as *const _ as usize },
9181 16usize,
9182 concat!(
9183 "Offset of field: ",
9184 stringify!(_zend_internal_function),
9185 "::",
9186 stringify!(scope)
9187 )
9188 );
9189 assert_eq!(
9190 unsafe {
9191 &(*(::std::ptr::null::<_zend_internal_function>())).prototype as *const _ as usize
9192 },
9193 24usize,
9194 concat!(
9195 "Offset of field: ",
9196 stringify!(_zend_internal_function),
9197 "::",
9198 stringify!(prototype)
9199 )
9200 );
9201 assert_eq!(
9202 unsafe {
9203 &(*(::std::ptr::null::<_zend_internal_function>())).num_args as *const _ as usize
9204 },
9205 32usize,
9206 concat!(
9207 "Offset of field: ",
9208 stringify!(_zend_internal_function),
9209 "::",
9210 stringify!(num_args)
9211 )
9212 );
9213 assert_eq!(
9214 unsafe {
9215 &(*(::std::ptr::null::<_zend_internal_function>())).required_num_args as *const _
9216 as usize
9217 },
9218 36usize,
9219 concat!(
9220 "Offset of field: ",
9221 stringify!(_zend_internal_function),
9222 "::",
9223 stringify!(required_num_args)
9224 )
9225 );
9226 assert_eq!(
9227 unsafe {
9228 &(*(::std::ptr::null::<_zend_internal_function>())).arg_info as *const _ as usize
9229 },
9230 40usize,
9231 concat!(
9232 "Offset of field: ",
9233 stringify!(_zend_internal_function),
9234 "::",
9235 stringify!(arg_info)
9236 )
9237 );
9238 assert_eq!(
9239 unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).handler as *const _ as usize },
9240 48usize,
9241 concat!(
9242 "Offset of field: ",
9243 stringify!(_zend_internal_function),
9244 "::",
9245 stringify!(handler)
9246 )
9247 );
9248 assert_eq!(
9249 unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).module as *const _ as usize },
9250 56usize,
9251 concat!(
9252 "Offset of field: ",
9253 stringify!(_zend_internal_function),
9254 "::",
9255 stringify!(module)
9256 )
9257 );
9258 assert_eq!(
9259 unsafe {
9260 &(*(::std::ptr::null::<_zend_internal_function>())).reserved as *const _ as usize
9261 },
9262 64usize,
9263 concat!(
9264 "Offset of field: ",
9265 stringify!(_zend_internal_function),
9266 "::",
9267 stringify!(reserved)
9268 )
9269 );
9270}
9271pub type zend_internal_function = _zend_internal_function;
9272#[repr(C)]
9273#[derive(Copy, Clone)]
9274pub union _zend_function {
9275 pub type_: zend_uchar,
9276 pub common: _zend_function__bindgen_ty_1,
9277 pub op_array: zend_op_array,
9278 pub internal_function: zend_internal_function,
9279 _bindgen_union_align: [u64; 26usize],
9280}
9281#[repr(C)]
9282#[derive(Debug, Copy, Clone)]
9283pub struct _zend_function__bindgen_ty_1 {
9284 pub type_: zend_uchar,
9285 pub arg_flags: [zend_uchar; 3usize],
9286 pub fn_flags: u32,
9287 pub function_name: *mut zend_string,
9288 pub scope: *mut zend_class_entry,
9289 pub prototype: *mut _zend_function,
9290 pub num_args: u32,
9291 pub required_num_args: u32,
9292 pub arg_info: *mut zend_arg_info,
9293}
9294#[test]
9295fn bindgen_test_layout__zend_function__bindgen_ty_1() {
9296 assert_eq!(
9297 ::std::mem::size_of::<_zend_function__bindgen_ty_1>(),
9298 48usize,
9299 concat!("Size of: ", stringify!(_zend_function__bindgen_ty_1))
9300 );
9301 assert_eq!(
9302 ::std::mem::align_of::<_zend_function__bindgen_ty_1>(),
9303 8usize,
9304 concat!("Alignment of ", stringify!(_zend_function__bindgen_ty_1))
9305 );
9306 assert_eq!(
9307 unsafe {
9308 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).type_ as *const _ as usize
9309 },
9310 0usize,
9311 concat!(
9312 "Offset of field: ",
9313 stringify!(_zend_function__bindgen_ty_1),
9314 "::",
9315 stringify!(type_)
9316 )
9317 );
9318 assert_eq!(
9319 unsafe {
9320 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).arg_flags as *const _ as usize
9321 },
9322 1usize,
9323 concat!(
9324 "Offset of field: ",
9325 stringify!(_zend_function__bindgen_ty_1),
9326 "::",
9327 stringify!(arg_flags)
9328 )
9329 );
9330 assert_eq!(
9331 unsafe {
9332 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).fn_flags as *const _ as usize
9333 },
9334 4usize,
9335 concat!(
9336 "Offset of field: ",
9337 stringify!(_zend_function__bindgen_ty_1),
9338 "::",
9339 stringify!(fn_flags)
9340 )
9341 );
9342 assert_eq!(
9343 unsafe {
9344 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).function_name as *const _
9345 as usize
9346 },
9347 8usize,
9348 concat!(
9349 "Offset of field: ",
9350 stringify!(_zend_function__bindgen_ty_1),
9351 "::",
9352 stringify!(function_name)
9353 )
9354 );
9355 assert_eq!(
9356 unsafe {
9357 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).scope as *const _ as usize
9358 },
9359 16usize,
9360 concat!(
9361 "Offset of field: ",
9362 stringify!(_zend_function__bindgen_ty_1),
9363 "::",
9364 stringify!(scope)
9365 )
9366 );
9367 assert_eq!(
9368 unsafe {
9369 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).prototype as *const _ as usize
9370 },
9371 24usize,
9372 concat!(
9373 "Offset of field: ",
9374 stringify!(_zend_function__bindgen_ty_1),
9375 "::",
9376 stringify!(prototype)
9377 )
9378 );
9379 assert_eq!(
9380 unsafe {
9381 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).num_args as *const _ as usize
9382 },
9383 32usize,
9384 concat!(
9385 "Offset of field: ",
9386 stringify!(_zend_function__bindgen_ty_1),
9387 "::",
9388 stringify!(num_args)
9389 )
9390 );
9391 assert_eq!(
9392 unsafe {
9393 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).required_num_args as *const _
9394 as usize
9395 },
9396 36usize,
9397 concat!(
9398 "Offset of field: ",
9399 stringify!(_zend_function__bindgen_ty_1),
9400 "::",
9401 stringify!(required_num_args)
9402 )
9403 );
9404 assert_eq!(
9405 unsafe {
9406 &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).arg_info as *const _ as usize
9407 },
9408 40usize,
9409 concat!(
9410 "Offset of field: ",
9411 stringify!(_zend_function__bindgen_ty_1),
9412 "::",
9413 stringify!(arg_info)
9414 )
9415 );
9416}
9417#[test]
9418fn bindgen_test_layout__zend_function() {
9419 assert_eq!(
9420 ::std::mem::size_of::<_zend_function>(),
9421 208usize,
9422 concat!("Size of: ", stringify!(_zend_function))
9423 );
9424 assert_eq!(
9425 ::std::mem::align_of::<_zend_function>(),
9426 8usize,
9427 concat!("Alignment of ", stringify!(_zend_function))
9428 );
9429 assert_eq!(
9430 unsafe { &(*(::std::ptr::null::<_zend_function>())).type_ as *const _ as usize },
9431 0usize,
9432 concat!(
9433 "Offset of field: ",
9434 stringify!(_zend_function),
9435 "::",
9436 stringify!(type_)
9437 )
9438 );
9439 assert_eq!(
9440 unsafe { &(*(::std::ptr::null::<_zend_function>())).common as *const _ as usize },
9441 0usize,
9442 concat!(
9443 "Offset of field: ",
9444 stringify!(_zend_function),
9445 "::",
9446 stringify!(common)
9447 )
9448 );
9449 assert_eq!(
9450 unsafe { &(*(::std::ptr::null::<_zend_function>())).op_array as *const _ as usize },
9451 0usize,
9452 concat!(
9453 "Offset of field: ",
9454 stringify!(_zend_function),
9455 "::",
9456 stringify!(op_array)
9457 )
9458 );
9459 assert_eq!(
9460 unsafe {
9461 &(*(::std::ptr::null::<_zend_function>())).internal_function as *const _ as usize
9462 },
9463 0usize,
9464 concat!(
9465 "Offset of field: ",
9466 stringify!(_zend_function),
9467 "::",
9468 stringify!(internal_function)
9469 )
9470 );
9471}
9472pub const _zend_call_kind_ZEND_CALL_NESTED_FUNCTION: _zend_call_kind = 0;
9473pub const _zend_call_kind_ZEND_CALL_NESTED_CODE: _zend_call_kind = 1;
9474pub const _zend_call_kind_ZEND_CALL_TOP_FUNCTION: _zend_call_kind = 2;
9475pub const _zend_call_kind_ZEND_CALL_TOP_CODE: _zend_call_kind = 3;
9476pub type _zend_call_kind = ::std::os::raw::c_uint;
9477pub use self::_zend_call_kind as zend_call_kind;
9478#[repr(C)]
9479#[derive(Copy, Clone)]
9480pub struct _zend_execute_data {
9481 pub opline: *const zend_op,
9482 pub call: *mut zend_execute_data,
9483 pub return_value: *mut zval,
9484 pub func: *mut zend_function,
9485 pub This: zval,
9486 pub called_scope: *mut zend_class_entry,
9487 pub prev_execute_data: *mut zend_execute_data,
9488 pub symbol_table: *mut zend_array,
9489 pub run_time_cache: *mut *mut ::std::os::raw::c_void,
9490 pub literals: *mut zval,
9491}
9492#[test]
9493fn bindgen_test_layout__zend_execute_data() {
9494 assert_eq!(
9495 ::std::mem::size_of::<_zend_execute_data>(),
9496 88usize,
9497 concat!("Size of: ", stringify!(_zend_execute_data))
9498 );
9499 assert_eq!(
9500 ::std::mem::align_of::<_zend_execute_data>(),
9501 8usize,
9502 concat!("Alignment of ", stringify!(_zend_execute_data))
9503 );
9504 assert_eq!(
9505 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).opline as *const _ as usize },
9506 0usize,
9507 concat!(
9508 "Offset of field: ",
9509 stringify!(_zend_execute_data),
9510 "::",
9511 stringify!(opline)
9512 )
9513 );
9514 assert_eq!(
9515 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).call as *const _ as usize },
9516 8usize,
9517 concat!(
9518 "Offset of field: ",
9519 stringify!(_zend_execute_data),
9520 "::",
9521 stringify!(call)
9522 )
9523 );
9524 assert_eq!(
9525 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).return_value as *const _ as usize },
9526 16usize,
9527 concat!(
9528 "Offset of field: ",
9529 stringify!(_zend_execute_data),
9530 "::",
9531 stringify!(return_value)
9532 )
9533 );
9534 assert_eq!(
9535 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).func as *const _ as usize },
9536 24usize,
9537 concat!(
9538 "Offset of field: ",
9539 stringify!(_zend_execute_data),
9540 "::",
9541 stringify!(func)
9542 )
9543 );
9544 assert_eq!(
9545 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).This as *const _ as usize },
9546 32usize,
9547 concat!(
9548 "Offset of field: ",
9549 stringify!(_zend_execute_data),
9550 "::",
9551 stringify!(This)
9552 )
9553 );
9554 assert_eq!(
9555 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).called_scope as *const _ as usize },
9556 48usize,
9557 concat!(
9558 "Offset of field: ",
9559 stringify!(_zend_execute_data),
9560 "::",
9561 stringify!(called_scope)
9562 )
9563 );
9564 assert_eq!(
9565 unsafe {
9566 &(*(::std::ptr::null::<_zend_execute_data>())).prev_execute_data as *const _ as usize
9567 },
9568 56usize,
9569 concat!(
9570 "Offset of field: ",
9571 stringify!(_zend_execute_data),
9572 "::",
9573 stringify!(prev_execute_data)
9574 )
9575 );
9576 assert_eq!(
9577 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).symbol_table as *const _ as usize },
9578 64usize,
9579 concat!(
9580 "Offset of field: ",
9581 stringify!(_zend_execute_data),
9582 "::",
9583 stringify!(symbol_table)
9584 )
9585 );
9586 assert_eq!(
9587 unsafe {
9588 &(*(::std::ptr::null::<_zend_execute_data>())).run_time_cache as *const _ as usize
9589 },
9590 72usize,
9591 concat!(
9592 "Offset of field: ",
9593 stringify!(_zend_execute_data),
9594 "::",
9595 stringify!(run_time_cache)
9596 )
9597 );
9598 assert_eq!(
9599 unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).literals as *const _ as usize },
9600 80usize,
9601 concat!(
9602 "Offset of field: ",
9603 stringify!(_zend_execute_data),
9604 "::",
9605 stringify!(literals)
9606 )
9607 );
9608}
9609pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
9610#[repr(C)]
9611#[derive(Debug, Copy, Clone)]
9612pub struct __jmp_buf_tag {
9613 pub __jmpbuf: __jmp_buf,
9614 pub __mask_was_saved: ::std::os::raw::c_int,
9615 pub __saved_mask: __sigset_t,
9616}
9617#[test]
9618fn bindgen_test_layout___jmp_buf_tag() {
9619 assert_eq!(
9620 ::std::mem::size_of::<__jmp_buf_tag>(),
9621 200usize,
9622 concat!("Size of: ", stringify!(__jmp_buf_tag))
9623 );
9624 assert_eq!(
9625 ::std::mem::align_of::<__jmp_buf_tag>(),
9626 8usize,
9627 concat!("Alignment of ", stringify!(__jmp_buf_tag))
9628 );
9629 assert_eq!(
9630 unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__jmpbuf as *const _ as usize },
9631 0usize,
9632 concat!(
9633 "Offset of field: ",
9634 stringify!(__jmp_buf_tag),
9635 "::",
9636 stringify!(__jmpbuf)
9637 )
9638 );
9639 assert_eq!(
9640 unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__mask_was_saved as *const _ as usize },
9641 64usize,
9642 concat!(
9643 "Offset of field: ",
9644 stringify!(__jmp_buf_tag),
9645 "::",
9646 stringify!(__mask_was_saved)
9647 )
9648 );
9649 assert_eq!(
9650 unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__saved_mask as *const _ as usize },
9651 72usize,
9652 concat!(
9653 "Offset of field: ",
9654 stringify!(__jmp_buf_tag),
9655 "::",
9656 stringify!(__saved_mask)
9657 )
9658 );
9659}
9660pub type jmp_buf = [__jmp_buf_tag; 1usize];
9661pub type zend_compiler_globals = _zend_compiler_globals;
9662pub type zend_executor_globals = _zend_executor_globals;
9663pub type zend_php_scanner_globals = _zend_php_scanner_globals;
9664pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
9665#[repr(C)]
9666#[derive(Copy, Clone)]
9667pub struct _zend_compiler_globals {
9668 pub loop_var_stack: zend_stack,
9669 pub active_class_entry: *mut zend_class_entry,
9670 pub compiled_filename: *mut zend_string,
9671 pub zend_lineno: ::std::os::raw::c_int,
9672 pub active_op_array: *mut zend_op_array,
9673 pub function_table: *mut HashTable,
9674 pub class_table: *mut HashTable,
9675 pub filenames_table: HashTable,
9676 pub auto_globals: *mut HashTable,
9677 pub parse_error: zend_bool,
9678 pub in_compilation: zend_bool,
9679 pub short_tags: zend_bool,
9680 pub unclean_shutdown: zend_bool,
9681 pub ini_parser_unbuffered_errors: zend_bool,
9682 pub open_files: zend_llist,
9683 pub ini_parser_param: *mut _zend_ini_parser_param,
9684 pub start_lineno: u32,
9685 pub increment_lineno: zend_bool,
9686 pub doc_comment: *mut zend_string,
9687 pub compiler_options: u32,
9688 pub const_filenames: HashTable,
9689 pub context: zend_oparray_context,
9690 pub file_context: zend_file_context,
9691 pub arena: *mut zend_arena,
9692 pub empty_string: *mut zend_string,
9693 pub one_char_string: [*mut zend_string; 256usize],
9694 pub interned_strings: HashTable,
9695 pub script_encoding_list: *mut *const zend_encoding,
9696 pub script_encoding_list_size: size_t,
9697 pub multibyte: zend_bool,
9698 pub detect_unicode: zend_bool,
9699 pub encoding_declared: zend_bool,
9700 pub ast: *mut zend_ast,
9701 pub ast_arena: *mut zend_arena,
9702 pub delayed_oplines_stack: zend_stack,
9703}
9704#[test]
9705fn bindgen_test_layout__zend_compiler_globals() {
9706 assert_eq!(
9707 ::std::mem::size_of::<_zend_compiler_globals>(),
9708 2584usize,
9709 concat!("Size of: ", stringify!(_zend_compiler_globals))
9710 );
9711 assert_eq!(
9712 ::std::mem::align_of::<_zend_compiler_globals>(),
9713 8usize,
9714 concat!("Alignment of ", stringify!(_zend_compiler_globals))
9715 );
9716 assert_eq!(
9717 unsafe {
9718 &(*(::std::ptr::null::<_zend_compiler_globals>())).loop_var_stack as *const _ as usize
9719 },
9720 0usize,
9721 concat!(
9722 "Offset of field: ",
9723 stringify!(_zend_compiler_globals),
9724 "::",
9725 stringify!(loop_var_stack)
9726 )
9727 );
9728 assert_eq!(
9729 unsafe {
9730 &(*(::std::ptr::null::<_zend_compiler_globals>())).active_class_entry as *const _
9731 as usize
9732 },
9733 24usize,
9734 concat!(
9735 "Offset of field: ",
9736 stringify!(_zend_compiler_globals),
9737 "::",
9738 stringify!(active_class_entry)
9739 )
9740 );
9741 assert_eq!(
9742 unsafe {
9743 &(*(::std::ptr::null::<_zend_compiler_globals>())).compiled_filename as *const _
9744 as usize
9745 },
9746 32usize,
9747 concat!(
9748 "Offset of field: ",
9749 stringify!(_zend_compiler_globals),
9750 "::",
9751 stringify!(compiled_filename)
9752 )
9753 );
9754 assert_eq!(
9755 unsafe {
9756 &(*(::std::ptr::null::<_zend_compiler_globals>())).zend_lineno as *const _ as usize
9757 },
9758 40usize,
9759 concat!(
9760 "Offset of field: ",
9761 stringify!(_zend_compiler_globals),
9762 "::",
9763 stringify!(zend_lineno)
9764 )
9765 );
9766 assert_eq!(
9767 unsafe {
9768 &(*(::std::ptr::null::<_zend_compiler_globals>())).active_op_array as *const _ as usize
9769 },
9770 48usize,
9771 concat!(
9772 "Offset of field: ",
9773 stringify!(_zend_compiler_globals),
9774 "::",
9775 stringify!(active_op_array)
9776 )
9777 );
9778 assert_eq!(
9779 unsafe {
9780 &(*(::std::ptr::null::<_zend_compiler_globals>())).function_table as *const _ as usize
9781 },
9782 56usize,
9783 concat!(
9784 "Offset of field: ",
9785 stringify!(_zend_compiler_globals),
9786 "::",
9787 stringify!(function_table)
9788 )
9789 );
9790 assert_eq!(
9791 unsafe {
9792 &(*(::std::ptr::null::<_zend_compiler_globals>())).class_table as *const _ as usize
9793 },
9794 64usize,
9795 concat!(
9796 "Offset of field: ",
9797 stringify!(_zend_compiler_globals),
9798 "::",
9799 stringify!(class_table)
9800 )
9801 );
9802 assert_eq!(
9803 unsafe {
9804 &(*(::std::ptr::null::<_zend_compiler_globals>())).filenames_table as *const _ as usize
9805 },
9806 72usize,
9807 concat!(
9808 "Offset of field: ",
9809 stringify!(_zend_compiler_globals),
9810 "::",
9811 stringify!(filenames_table)
9812 )
9813 );
9814 assert_eq!(
9815 unsafe {
9816 &(*(::std::ptr::null::<_zend_compiler_globals>())).auto_globals as *const _ as usize
9817 },
9818 128usize,
9819 concat!(
9820 "Offset of field: ",
9821 stringify!(_zend_compiler_globals),
9822 "::",
9823 stringify!(auto_globals)
9824 )
9825 );
9826 assert_eq!(
9827 unsafe {
9828 &(*(::std::ptr::null::<_zend_compiler_globals>())).parse_error as *const _ as usize
9829 },
9830 136usize,
9831 concat!(
9832 "Offset of field: ",
9833 stringify!(_zend_compiler_globals),
9834 "::",
9835 stringify!(parse_error)
9836 )
9837 );
9838 assert_eq!(
9839 unsafe {
9840 &(*(::std::ptr::null::<_zend_compiler_globals>())).in_compilation as *const _ as usize
9841 },
9842 137usize,
9843 concat!(
9844 "Offset of field: ",
9845 stringify!(_zend_compiler_globals),
9846 "::",
9847 stringify!(in_compilation)
9848 )
9849 );
9850 assert_eq!(
9851 unsafe {
9852 &(*(::std::ptr::null::<_zend_compiler_globals>())).short_tags as *const _ as usize
9853 },
9854 138usize,
9855 concat!(
9856 "Offset of field: ",
9857 stringify!(_zend_compiler_globals),
9858 "::",
9859 stringify!(short_tags)
9860 )
9861 );
9862 assert_eq!(
9863 unsafe {
9864 &(*(::std::ptr::null::<_zend_compiler_globals>())).unclean_shutdown as *const _ as usize
9865 },
9866 139usize,
9867 concat!(
9868 "Offset of field: ",
9869 stringify!(_zend_compiler_globals),
9870 "::",
9871 stringify!(unclean_shutdown)
9872 )
9873 );
9874 assert_eq!(
9875 unsafe {
9876 &(*(::std::ptr::null::<_zend_compiler_globals>())).ini_parser_unbuffered_errors
9877 as *const _ as usize
9878 },
9879 140usize,
9880 concat!(
9881 "Offset of field: ",
9882 stringify!(_zend_compiler_globals),
9883 "::",
9884 stringify!(ini_parser_unbuffered_errors)
9885 )
9886 );
9887 assert_eq!(
9888 unsafe {
9889 &(*(::std::ptr::null::<_zend_compiler_globals>())).open_files as *const _ as usize
9890 },
9891 144usize,
9892 concat!(
9893 "Offset of field: ",
9894 stringify!(_zend_compiler_globals),
9895 "::",
9896 stringify!(open_files)
9897 )
9898 );
9899 assert_eq!(
9900 unsafe {
9901 &(*(::std::ptr::null::<_zend_compiler_globals>())).ini_parser_param as *const _ as usize
9902 },
9903 200usize,
9904 concat!(
9905 "Offset of field: ",
9906 stringify!(_zend_compiler_globals),
9907 "::",
9908 stringify!(ini_parser_param)
9909 )
9910 );
9911 assert_eq!(
9912 unsafe {
9913 &(*(::std::ptr::null::<_zend_compiler_globals>())).start_lineno as *const _ as usize
9914 },
9915 208usize,
9916 concat!(
9917 "Offset of field: ",
9918 stringify!(_zend_compiler_globals),
9919 "::",
9920 stringify!(start_lineno)
9921 )
9922 );
9923 assert_eq!(
9924 unsafe {
9925 &(*(::std::ptr::null::<_zend_compiler_globals>())).increment_lineno as *const _ as usize
9926 },
9927 212usize,
9928 concat!(
9929 "Offset of field: ",
9930 stringify!(_zend_compiler_globals),
9931 "::",
9932 stringify!(increment_lineno)
9933 )
9934 );
9935 assert_eq!(
9936 unsafe {
9937 &(*(::std::ptr::null::<_zend_compiler_globals>())).doc_comment as *const _ as usize
9938 },
9939 216usize,
9940 concat!(
9941 "Offset of field: ",
9942 stringify!(_zend_compiler_globals),
9943 "::",
9944 stringify!(doc_comment)
9945 )
9946 );
9947 assert_eq!(
9948 unsafe {
9949 &(*(::std::ptr::null::<_zend_compiler_globals>())).compiler_options as *const _ as usize
9950 },
9951 224usize,
9952 concat!(
9953 "Offset of field: ",
9954 stringify!(_zend_compiler_globals),
9955 "::",
9956 stringify!(compiler_options)
9957 )
9958 );
9959 assert_eq!(
9960 unsafe {
9961 &(*(::std::ptr::null::<_zend_compiler_globals>())).const_filenames as *const _ as usize
9962 },
9963 232usize,
9964 concat!(
9965 "Offset of field: ",
9966 stringify!(_zend_compiler_globals),
9967 "::",
9968 stringify!(const_filenames)
9969 )
9970 );
9971 assert_eq!(
9972 unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).context as *const _ as usize },
9973 288usize,
9974 concat!(
9975 "Offset of field: ",
9976 stringify!(_zend_compiler_globals),
9977 "::",
9978 stringify!(context)
9979 )
9980 );
9981 assert_eq!(
9982 unsafe {
9983 &(*(::std::ptr::null::<_zend_compiler_globals>())).file_context as *const _ as usize
9984 },
9985 328usize,
9986 concat!(
9987 "Offset of field: ",
9988 stringify!(_zend_compiler_globals),
9989 "::",
9990 stringify!(file_context)
9991 )
9992 );
9993 assert_eq!(
9994 unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).arena as *const _ as usize },
9995 400usize,
9996 concat!(
9997 "Offset of field: ",
9998 stringify!(_zend_compiler_globals),
9999 "::",
10000 stringify!(arena)
10001 )
10002 );
10003 assert_eq!(
10004 unsafe {
10005 &(*(::std::ptr::null::<_zend_compiler_globals>())).empty_string as *const _ as usize
10006 },
10007 408usize,
10008 concat!(
10009 "Offset of field: ",
10010 stringify!(_zend_compiler_globals),
10011 "::",
10012 stringify!(empty_string)
10013 )
10014 );
10015 assert_eq!(
10016 unsafe {
10017 &(*(::std::ptr::null::<_zend_compiler_globals>())).one_char_string as *const _ as usize
10018 },
10019 416usize,
10020 concat!(
10021 "Offset of field: ",
10022 stringify!(_zend_compiler_globals),
10023 "::",
10024 stringify!(one_char_string)
10025 )
10026 );
10027 assert_eq!(
10028 unsafe {
10029 &(*(::std::ptr::null::<_zend_compiler_globals>())).interned_strings as *const _ as usize
10030 },
10031 2464usize,
10032 concat!(
10033 "Offset of field: ",
10034 stringify!(_zend_compiler_globals),
10035 "::",
10036 stringify!(interned_strings)
10037 )
10038 );
10039 assert_eq!(
10040 unsafe {
10041 &(*(::std::ptr::null::<_zend_compiler_globals>())).script_encoding_list as *const _
10042 as usize
10043 },
10044 2520usize,
10045 concat!(
10046 "Offset of field: ",
10047 stringify!(_zend_compiler_globals),
10048 "::",
10049 stringify!(script_encoding_list)
10050 )
10051 );
10052 assert_eq!(
10053 unsafe {
10054 &(*(::std::ptr::null::<_zend_compiler_globals>())).script_encoding_list_size as *const _
10055 as usize
10056 },
10057 2528usize,
10058 concat!(
10059 "Offset of field: ",
10060 stringify!(_zend_compiler_globals),
10061 "::",
10062 stringify!(script_encoding_list_size)
10063 )
10064 );
10065 assert_eq!(
10066 unsafe {
10067 &(*(::std::ptr::null::<_zend_compiler_globals>())).multibyte as *const _ as usize
10068 },
10069 2536usize,
10070 concat!(
10071 "Offset of field: ",
10072 stringify!(_zend_compiler_globals),
10073 "::",
10074 stringify!(multibyte)
10075 )
10076 );
10077 assert_eq!(
10078 unsafe {
10079 &(*(::std::ptr::null::<_zend_compiler_globals>())).detect_unicode as *const _ as usize
10080 },
10081 2537usize,
10082 concat!(
10083 "Offset of field: ",
10084 stringify!(_zend_compiler_globals),
10085 "::",
10086 stringify!(detect_unicode)
10087 )
10088 );
10089 assert_eq!(
10090 unsafe {
10091 &(*(::std::ptr::null::<_zend_compiler_globals>())).encoding_declared as *const _
10092 as usize
10093 },
10094 2538usize,
10095 concat!(
10096 "Offset of field: ",
10097 stringify!(_zend_compiler_globals),
10098 "::",
10099 stringify!(encoding_declared)
10100 )
10101 );
10102 assert_eq!(
10103 unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).ast as *const _ as usize },
10104 2544usize,
10105 concat!(
10106 "Offset of field: ",
10107 stringify!(_zend_compiler_globals),
10108 "::",
10109 stringify!(ast)
10110 )
10111 );
10112 assert_eq!(
10113 unsafe {
10114 &(*(::std::ptr::null::<_zend_compiler_globals>())).ast_arena as *const _ as usize
10115 },
10116 2552usize,
10117 concat!(
10118 "Offset of field: ",
10119 stringify!(_zend_compiler_globals),
10120 "::",
10121 stringify!(ast_arena)
10122 )
10123 );
10124 assert_eq!(
10125 unsafe {
10126 &(*(::std::ptr::null::<_zend_compiler_globals>())).delayed_oplines_stack as *const _
10127 as usize
10128 },
10129 2560usize,
10130 concat!(
10131 "Offset of field: ",
10132 stringify!(_zend_compiler_globals),
10133 "::",
10134 stringify!(delayed_oplines_stack)
10135 )
10136 );
10137}
10138extern "C" {
10139 pub static mut compiler_globals: _zend_compiler_globals;
10140}
10141extern "C" {
10142 pub fn zendparse() -> ::std::os::raw::c_int;
10143}
10144extern "C" {
10145 pub static mut executor_globals: zend_executor_globals;
10146}
10147extern "C" {
10148 pub static mut language_scanner_globals: zend_php_scanner_globals;
10149}
10150extern "C" {
10151 pub static mut ini_scanner_globals: zend_ini_scanner_globals;
10152}
10153#[repr(C)]
10154#[derive(Debug, Copy, Clone)]
10155pub struct _zend_stack {
10156 pub size: ::std::os::raw::c_int,
10157 pub top: ::std::os::raw::c_int,
10158 pub max: ::std::os::raw::c_int,
10159 pub elements: *mut ::std::os::raw::c_void,
10160}
10161#[test]
10162fn bindgen_test_layout__zend_stack() {
10163 assert_eq!(
10164 ::std::mem::size_of::<_zend_stack>(),
10165 24usize,
10166 concat!("Size of: ", stringify!(_zend_stack))
10167 );
10168 assert_eq!(
10169 ::std::mem::align_of::<_zend_stack>(),
10170 8usize,
10171 concat!("Alignment of ", stringify!(_zend_stack))
10172 );
10173 assert_eq!(
10174 unsafe { &(*(::std::ptr::null::<_zend_stack>())).size as *const _ as usize },
10175 0usize,
10176 concat!(
10177 "Offset of field: ",
10178 stringify!(_zend_stack),
10179 "::",
10180 stringify!(size)
10181 )
10182 );
10183 assert_eq!(
10184 unsafe { &(*(::std::ptr::null::<_zend_stack>())).top as *const _ as usize },
10185 4usize,
10186 concat!(
10187 "Offset of field: ",
10188 stringify!(_zend_stack),
10189 "::",
10190 stringify!(top)
10191 )
10192 );
10193 assert_eq!(
10194 unsafe { &(*(::std::ptr::null::<_zend_stack>())).max as *const _ as usize },
10195 8usize,
10196 concat!(
10197 "Offset of field: ",
10198 stringify!(_zend_stack),
10199 "::",
10200 stringify!(max)
10201 )
10202 );
10203 assert_eq!(
10204 unsafe { &(*(::std::ptr::null::<_zend_stack>())).elements as *const _ as usize },
10205 16usize,
10206 concat!(
10207 "Offset of field: ",
10208 stringify!(_zend_stack),
10209 "::",
10210 stringify!(elements)
10211 )
10212 );
10213}
10214pub type zend_stack = _zend_stack;
10215extern "C" {
10216 pub fn zend_stack_init(
10217 stack: *mut zend_stack,
10218 size: ::std::os::raw::c_int,
10219 ) -> ::std::os::raw::c_int;
10220}
10221extern "C" {
10222 pub fn zend_stack_push(
10223 stack: *mut zend_stack,
10224 element: *const ::std::os::raw::c_void,
10225 ) -> ::std::os::raw::c_int;
10226}
10227extern "C" {
10228 pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
10229}
10230extern "C" {
10231 pub fn zend_stack_del_top(stack: *mut zend_stack) -> ::std::os::raw::c_int;
10232}
10233extern "C" {
10234 pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
10235}
10236extern "C" {
10237 pub fn zend_stack_is_empty(stack: *const zend_stack) -> ::std::os::raw::c_int;
10238}
10239extern "C" {
10240 pub fn zend_stack_destroy(stack: *mut zend_stack) -> ::std::os::raw::c_int;
10241}
10242extern "C" {
10243 pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
10244}
10245extern "C" {
10246 pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
10247}
10248extern "C" {
10249 pub fn zend_stack_apply(
10250 stack: *mut zend_stack,
10251 type_: ::std::os::raw::c_int,
10252 apply_function: ::std::option::Option<
10253 unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
10254 >,
10255 );
10256}
10257extern "C" {
10258 pub fn zend_stack_apply_with_argument(
10259 stack: *mut zend_stack,
10260 type_: ::std::os::raw::c_int,
10261 apply_function: ::std::option::Option<
10262 unsafe extern "C" fn(
10263 element: *mut ::std::os::raw::c_void,
10264 arg: *mut ::std::os::raw::c_void,
10265 ) -> ::std::os::raw::c_int,
10266 >,
10267 arg: *mut ::std::os::raw::c_void,
10268 );
10269}
10270extern "C" {
10271 pub fn zend_stack_clean(
10272 stack: *mut zend_stack,
10273 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
10274 free_elements: zend_bool,
10275 );
10276}
10277#[repr(C)]
10278#[derive(Debug, Copy, Clone)]
10279pub struct _zend_ptr_stack {
10280 pub top: ::std::os::raw::c_int,
10281 pub max: ::std::os::raw::c_int,
10282 pub elements: *mut *mut ::std::os::raw::c_void,
10283 pub top_element: *mut *mut ::std::os::raw::c_void,
10284 pub persistent: zend_bool,
10285}
10286#[test]
10287fn bindgen_test_layout__zend_ptr_stack() {
10288 assert_eq!(
10289 ::std::mem::size_of::<_zend_ptr_stack>(),
10290 32usize,
10291 concat!("Size of: ", stringify!(_zend_ptr_stack))
10292 );
10293 assert_eq!(
10294 ::std::mem::align_of::<_zend_ptr_stack>(),
10295 8usize,
10296 concat!("Alignment of ", stringify!(_zend_ptr_stack))
10297 );
10298 assert_eq!(
10299 unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).top as *const _ as usize },
10300 0usize,
10301 concat!(
10302 "Offset of field: ",
10303 stringify!(_zend_ptr_stack),
10304 "::",
10305 stringify!(top)
10306 )
10307 );
10308 assert_eq!(
10309 unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).max as *const _ as usize },
10310 4usize,
10311 concat!(
10312 "Offset of field: ",
10313 stringify!(_zend_ptr_stack),
10314 "::",
10315 stringify!(max)
10316 )
10317 );
10318 assert_eq!(
10319 unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).elements as *const _ as usize },
10320 8usize,
10321 concat!(
10322 "Offset of field: ",
10323 stringify!(_zend_ptr_stack),
10324 "::",
10325 stringify!(elements)
10326 )
10327 );
10328 assert_eq!(
10329 unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).top_element as *const _ as usize },
10330 16usize,
10331 concat!(
10332 "Offset of field: ",
10333 stringify!(_zend_ptr_stack),
10334 "::",
10335 stringify!(top_element)
10336 )
10337 );
10338 assert_eq!(
10339 unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).persistent as *const _ as usize },
10340 24usize,
10341 concat!(
10342 "Offset of field: ",
10343 stringify!(_zend_ptr_stack),
10344 "::",
10345 stringify!(persistent)
10346 )
10347 );
10348}
10349pub type zend_ptr_stack = _zend_ptr_stack;
10350extern "C" {
10351 pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
10352}
10353extern "C" {
10354 pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: zend_bool);
10355}
10356extern "C" {
10357 pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
10358}
10359extern "C" {
10360 pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
10361}
10362extern "C" {
10363 pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
10364}
10365extern "C" {
10366 pub fn zend_ptr_stack_apply(
10367 stack: *mut zend_ptr_stack,
10368 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
10369 );
10370}
10371extern "C" {
10372 pub fn zend_ptr_stack_clean(
10373 stack: *mut zend_ptr_stack,
10374 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
10375 free_elements: zend_bool,
10376 );
10377}
10378extern "C" {
10379 pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
10380}
10381extern "C" {
10382 pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
10383}
10384extern "C" {
10385 pub fn zend_object_std_dtor(object: *mut zend_object);
10386}
10387extern "C" {
10388 pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
10389}
10390extern "C" {
10391 pub fn zend_objects_destroy_object(object: *mut zend_object);
10392}
10393extern "C" {
10394 pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
10395}
10396extern "C" {
10397 pub fn zend_objects_clone_obj(object: *mut zval) -> *mut zend_object;
10398}
10399#[repr(C)]
10400#[derive(Debug, Copy, Clone)]
10401pub struct _zend_objects_store {
10402 pub object_buckets: *mut *mut zend_object,
10403 pub top: u32,
10404 pub size: u32,
10405 pub free_list_head: ::std::os::raw::c_int,
10406}
10407#[test]
10408fn bindgen_test_layout__zend_objects_store() {
10409 assert_eq!(
10410 ::std::mem::size_of::<_zend_objects_store>(),
10411 24usize,
10412 concat!("Size of: ", stringify!(_zend_objects_store))
10413 );
10414 assert_eq!(
10415 ::std::mem::align_of::<_zend_objects_store>(),
10416 8usize,
10417 concat!("Alignment of ", stringify!(_zend_objects_store))
10418 );
10419 assert_eq!(
10420 unsafe {
10421 &(*(::std::ptr::null::<_zend_objects_store>())).object_buckets as *const _ as usize
10422 },
10423 0usize,
10424 concat!(
10425 "Offset of field: ",
10426 stringify!(_zend_objects_store),
10427 "::",
10428 stringify!(object_buckets)
10429 )
10430 );
10431 assert_eq!(
10432 unsafe { &(*(::std::ptr::null::<_zend_objects_store>())).top as *const _ as usize },
10433 8usize,
10434 concat!(
10435 "Offset of field: ",
10436 stringify!(_zend_objects_store),
10437 "::",
10438 stringify!(top)
10439 )
10440 );
10441 assert_eq!(
10442 unsafe { &(*(::std::ptr::null::<_zend_objects_store>())).size as *const _ as usize },
10443 12usize,
10444 concat!(
10445 "Offset of field: ",
10446 stringify!(_zend_objects_store),
10447 "::",
10448 stringify!(size)
10449 )
10450 );
10451 assert_eq!(
10452 unsafe {
10453 &(*(::std::ptr::null::<_zend_objects_store>())).free_list_head as *const _ as usize
10454 },
10455 16usize,
10456 concat!(
10457 "Offset of field: ",
10458 stringify!(_zend_objects_store),
10459 "::",
10460 stringify!(free_list_head)
10461 )
10462 );
10463}
10464pub type zend_objects_store = _zend_objects_store;
10465extern "C" {
10466 pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
10467}
10468extern "C" {
10469 pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
10470}
10471extern "C" {
10472 pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
10473}
10474extern "C" {
10475 pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
10476}
10477extern "C" {
10478 pub fn zend_objects_store_put(object: *mut zend_object);
10479}
10480extern "C" {
10481 pub fn zend_objects_store_del(object: *mut zend_object);
10482}
10483extern "C" {
10484 pub fn zend_objects_store_free(object: *mut zend_object);
10485}
10486extern "C" {
10487 pub fn zend_object_store_set_object(zobject: *mut zval, object: *mut zend_object);
10488}
10489extern "C" {
10490 pub fn zend_object_store_ctor_failed(object: *mut zend_object);
10491}
10492extern "C" {
10493 pub fn zend_objects_store_free_object_storage(objects: *mut zend_objects_store);
10494}
10495extern "C" {
10496 pub fn zend_object_create_proxy(object: *mut zval, member: *mut zval) -> *mut zend_object;
10497}
10498extern "C" {
10499 pub fn zend_get_std_object_handlers() -> *mut zend_object_handlers;
10500}
10501extern "C" {
10502 pub fn zend_init_fpu();
10503}
10504extern "C" {
10505 pub fn zend_shutdown_fpu();
10506}
10507extern "C" {
10508 pub fn zend_ensure_fpu_mode();
10509}
10510pub type fpu_control_t = ::std::os::raw::c_ushort;
10511#[repr(C)]
10512#[derive(Debug, Copy, Clone)]
10513pub struct _zend_encoding {
10514 _unused: [u8; 0],
10515}
10516pub type zend_encoding = _zend_encoding;
10517pub type zend_encoding_filter = ::std::option::Option<
10518 unsafe extern "C" fn(
10519 str_: *mut *mut ::std::os::raw::c_uchar,
10520 str_length: *mut size_t,
10521 buf: *const ::std::os::raw::c_uchar,
10522 length: size_t,
10523 ) -> size_t,
10524>;
10525pub type zend_encoding_fetcher = ::std::option::Option<
10526 unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
10527>;
10528pub type zend_encoding_name_getter = ::std::option::Option<
10529 unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
10530>;
10531pub type zend_encoding_lexer_compatibility_checker = ::std::option::Option<
10532 unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
10533>;
10534pub type zend_encoding_detector = ::std::option::Option<
10535 unsafe extern "C" fn(
10536 string: *const ::std::os::raw::c_uchar,
10537 length: size_t,
10538 list: *mut *const zend_encoding,
10539 list_size: size_t,
10540 ) -> *const zend_encoding,
10541>;
10542pub type zend_encoding_converter = ::std::option::Option<
10543 unsafe extern "C" fn(
10544 to: *mut *mut ::std::os::raw::c_uchar,
10545 to_length: *mut size_t,
10546 from: *const ::std::os::raw::c_uchar,
10547 from_length: size_t,
10548 encoding_to: *const zend_encoding,
10549 encoding_from: *const zend_encoding,
10550 ) -> size_t,
10551>;
10552pub type zend_encoding_list_parser = ::std::option::Option<
10553 unsafe extern "C" fn(
10554 encoding_list: *const ::std::os::raw::c_char,
10555 encoding_list_len: size_t,
10556 return_list: *mut *mut *const zend_encoding,
10557 return_size: *mut size_t,
10558 persistent: ::std::os::raw::c_int,
10559 ) -> ::std::os::raw::c_int,
10560>;
10561pub type zend_encoding_internal_encoding_getter =
10562 ::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
10563pub type zend_encoding_internal_encoding_setter = ::std::option::Option<
10564 unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
10565>;
10566#[repr(C)]
10567#[derive(Debug, Copy, Clone)]
10568pub struct _zend_multibyte_functions {
10569 pub provider_name: *const ::std::os::raw::c_char,
10570 pub encoding_fetcher: zend_encoding_fetcher,
10571 pub encoding_name_getter: zend_encoding_name_getter,
10572 pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
10573 pub encoding_detector: zend_encoding_detector,
10574 pub encoding_converter: zend_encoding_converter,
10575 pub encoding_list_parser: zend_encoding_list_parser,
10576 pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
10577 pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
10578}
10579#[test]
10580fn bindgen_test_layout__zend_multibyte_functions() {
10581 assert_eq!(
10582 ::std::mem::size_of::<_zend_multibyte_functions>(),
10583 72usize,
10584 concat!("Size of: ", stringify!(_zend_multibyte_functions))
10585 );
10586 assert_eq!(
10587 ::std::mem::align_of::<_zend_multibyte_functions>(),
10588 8usize,
10589 concat!("Alignment of ", stringify!(_zend_multibyte_functions))
10590 );
10591 assert_eq!(
10592 unsafe {
10593 &(*(::std::ptr::null::<_zend_multibyte_functions>())).provider_name as *const _ as usize
10594 },
10595 0usize,
10596 concat!(
10597 "Offset of field: ",
10598 stringify!(_zend_multibyte_functions),
10599 "::",
10600 stringify!(provider_name)
10601 )
10602 );
10603 assert_eq!(
10604 unsafe {
10605 &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_fetcher as *const _
10606 as usize
10607 },
10608 8usize,
10609 concat!(
10610 "Offset of field: ",
10611 stringify!(_zend_multibyte_functions),
10612 "::",
10613 stringify!(encoding_fetcher)
10614 )
10615 );
10616 assert_eq!(
10617 unsafe {
10618 &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_name_getter as *const _
10619 as usize
10620 },
10621 16usize,
10622 concat!(
10623 "Offset of field: ",
10624 stringify!(_zend_multibyte_functions),
10625 "::",
10626 stringify!(encoding_name_getter)
10627 )
10628 );
10629 assert_eq!(
10630 unsafe {
10631 &(*(::std::ptr::null::<_zend_multibyte_functions>())).lexer_compatibility_checker
10632 as *const _ as usize
10633 },
10634 24usize,
10635 concat!(
10636 "Offset of field: ",
10637 stringify!(_zend_multibyte_functions),
10638 "::",
10639 stringify!(lexer_compatibility_checker)
10640 )
10641 );
10642 assert_eq!(
10643 unsafe {
10644 &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_detector as *const _
10645 as usize
10646 },
10647 32usize,
10648 concat!(
10649 "Offset of field: ",
10650 stringify!(_zend_multibyte_functions),
10651 "::",
10652 stringify!(encoding_detector)
10653 )
10654 );
10655 assert_eq!(
10656 unsafe {
10657 &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_converter as *const _
10658 as usize
10659 },
10660 40usize,
10661 concat!(
10662 "Offset of field: ",
10663 stringify!(_zend_multibyte_functions),
10664 "::",
10665 stringify!(encoding_converter)
10666 )
10667 );
10668 assert_eq!(
10669 unsafe {
10670 &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_list_parser as *const _
10671 as usize
10672 },
10673 48usize,
10674 concat!(
10675 "Offset of field: ",
10676 stringify!(_zend_multibyte_functions),
10677 "::",
10678 stringify!(encoding_list_parser)
10679 )
10680 );
10681 assert_eq!(
10682 unsafe {
10683 &(*(::std::ptr::null::<_zend_multibyte_functions>())).internal_encoding_getter
10684 as *const _ as usize
10685 },
10686 56usize,
10687 concat!(
10688 "Offset of field: ",
10689 stringify!(_zend_multibyte_functions),
10690 "::",
10691 stringify!(internal_encoding_getter)
10692 )
10693 );
10694 assert_eq!(
10695 unsafe {
10696 &(*(::std::ptr::null::<_zend_multibyte_functions>())).internal_encoding_setter
10697 as *const _ as usize
10698 },
10699 64usize,
10700 concat!(
10701 "Offset of field: ",
10702 stringify!(_zend_multibyte_functions),
10703 "::",
10704 stringify!(internal_encoding_setter)
10705 )
10706 );
10707}
10708pub type zend_multibyte_functions = _zend_multibyte_functions;
10709extern "C" {
10710 pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
10711}
10712extern "C" {
10713 pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
10714}
10715extern "C" {
10716 pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
10717}
10718extern "C" {
10719 pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
10720}
10721extern "C" {
10722 pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
10723}
10724extern "C" {
10725 pub fn zend_multibyte_set_functions(
10726 functions: *const zend_multibyte_functions,
10727 ) -> ::std::os::raw::c_int;
10728}
10729extern "C" {
10730 pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
10731}
10732extern "C" {
10733 pub fn zend_multibyte_fetch_encoding(
10734 name: *const ::std::os::raw::c_char,
10735 ) -> *const zend_encoding;
10736}
10737extern "C" {
10738 pub fn zend_multibyte_get_encoding_name(
10739 encoding: *const zend_encoding,
10740 ) -> *const ::std::os::raw::c_char;
10741}
10742extern "C" {
10743 pub fn zend_multibyte_check_lexer_compatibility(
10744 encoding: *const zend_encoding,
10745 ) -> ::std::os::raw::c_int;
10746}
10747extern "C" {
10748 pub fn zend_multibyte_encoding_detector(
10749 string: *const ::std::os::raw::c_uchar,
10750 length: size_t,
10751 list: *mut *const zend_encoding,
10752 list_size: size_t,
10753 ) -> *const zend_encoding;
10754}
10755extern "C" {
10756 pub fn zend_multibyte_encoding_converter(
10757 to: *mut *mut ::std::os::raw::c_uchar,
10758 to_length: *mut size_t,
10759 from: *const ::std::os::raw::c_uchar,
10760 from_length: size_t,
10761 encoding_to: *const zend_encoding,
10762 encoding_from: *const zend_encoding,
10763 ) -> size_t;
10764}
10765extern "C" {
10766 pub fn zend_multibyte_parse_encoding_list(
10767 encoding_list: *const ::std::os::raw::c_char,
10768 encoding_list_len: size_t,
10769 return_list: *mut *mut *const zend_encoding,
10770 return_size: *mut size_t,
10771 persistent: ::std::os::raw::c_int,
10772 ) -> ::std::os::raw::c_int;
10773}
10774extern "C" {
10775 pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
10776}
10777extern "C" {
10778 pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
10779}
10780extern "C" {
10781 pub fn zend_multibyte_set_script_encoding(
10782 encoding_list: *mut *const zend_encoding,
10783 encoding_list_size: size_t,
10784 ) -> ::std::os::raw::c_int;
10785}
10786extern "C" {
10787 pub fn zend_multibyte_set_internal_encoding(
10788 encoding: *const zend_encoding,
10789 ) -> ::std::os::raw::c_int;
10790}
10791extern "C" {
10792 pub fn zend_multibyte_set_script_encoding_by_string(
10793 new_value: *const ::std::os::raw::c_char,
10794 new_value_length: size_t,
10795 ) -> ::std::os::raw::c_int;
10796}
10797pub type zend_arena = _zend_arena;
10798#[repr(C)]
10799#[derive(Debug, Copy, Clone)]
10800pub struct _zend_arena {
10801 pub ptr: *mut ::std::os::raw::c_char,
10802 pub end: *mut ::std::os::raw::c_char,
10803 pub prev: *mut zend_arena,
10804}
10805#[test]
10806fn bindgen_test_layout__zend_arena() {
10807 assert_eq!(
10808 ::std::mem::size_of::<_zend_arena>(),
10809 24usize,
10810 concat!("Size of: ", stringify!(_zend_arena))
10811 );
10812 assert_eq!(
10813 ::std::mem::align_of::<_zend_arena>(),
10814 8usize,
10815 concat!("Alignment of ", stringify!(_zend_arena))
10816 );
10817 assert_eq!(
10818 unsafe { &(*(::std::ptr::null::<_zend_arena>())).ptr as *const _ as usize },
10819 0usize,
10820 concat!(
10821 "Offset of field: ",
10822 stringify!(_zend_arena),
10823 "::",
10824 stringify!(ptr)
10825 )
10826 );
10827 assert_eq!(
10828 unsafe { &(*(::std::ptr::null::<_zend_arena>())).end as *const _ as usize },
10829 8usize,
10830 concat!(
10831 "Offset of field: ",
10832 stringify!(_zend_arena),
10833 "::",
10834 stringify!(end)
10835 )
10836 );
10837 assert_eq!(
10838 unsafe { &(*(::std::ptr::null::<_zend_arena>())).prev as *const _ as usize },
10839 16usize,
10840 concat!(
10841 "Offset of field: ",
10842 stringify!(_zend_arena),
10843 "::",
10844 stringify!(prev)
10845 )
10846 );
10847}
10848pub type zend_vm_stack = *mut _zend_vm_stack;
10849pub type zend_ini_entry = _zend_ini_entry;
10850#[repr(C)]
10851#[derive(Copy, Clone)]
10852pub struct _zend_executor_globals {
10853 pub uninitialized_zval: zval,
10854 pub error_zval: zval,
10855 pub symtable_cache: [*mut zend_array; 32usize],
10856 pub symtable_cache_limit: *mut *mut zend_array,
10857 pub symtable_cache_ptr: *mut *mut zend_array,
10858 pub symbol_table: zend_array,
10859 pub included_files: HashTable,
10860 pub bailout: *mut jmp_buf,
10861 pub error_reporting: ::std::os::raw::c_int,
10862 pub exit_status: ::std::os::raw::c_int,
10863 pub function_table: *mut HashTable,
10864 pub class_table: *mut HashTable,
10865 pub zend_constants: *mut HashTable,
10866 pub vm_stack_top: *mut zval,
10867 pub vm_stack_end: *mut zval,
10868 pub vm_stack: zend_vm_stack,
10869 pub current_execute_data: *mut _zend_execute_data,
10870 pub scope: *mut zend_class_entry,
10871 pub precision: zend_long,
10872 pub ticks_count: ::std::os::raw::c_int,
10873 pub in_autoload: *mut HashTable,
10874 pub autoload_func: *mut zend_function,
10875 pub full_tables_cleanup: zend_bool,
10876 pub no_extensions: zend_bool,
10877 pub regular_list: HashTable,
10878 pub persistent_list: HashTable,
10879 pub user_error_handler_error_reporting: ::std::os::raw::c_int,
10880 pub user_error_handler: zval,
10881 pub user_exception_handler: zval,
10882 pub user_error_handlers_error_reporting: zend_stack,
10883 pub user_error_handlers: zend_stack,
10884 pub user_exception_handlers: zend_stack,
10885 pub error_handling: zend_error_handling_t,
10886 pub exception_class: *mut zend_class_entry,
10887 pub timeout_seconds: zend_long,
10888 pub lambda_count: ::std::os::raw::c_int,
10889 pub ini_directives: *mut HashTable,
10890 pub modified_ini_directives: *mut HashTable,
10891 pub error_reporting_ini_entry: *mut zend_ini_entry,
10892 pub objects_store: zend_objects_store,
10893 pub exception: *mut zend_object,
10894 pub prev_exception: *mut zend_object,
10895 pub opline_before_exception: *const zend_op,
10896 pub exception_op: [zend_op; 3usize],
10897 pub current_module: *mut _zend_module_entry,
10898 pub active: zend_bool,
10899 pub valid_symbol_table: zend_bool,
10900 pub assertions: zend_long,
10901 pub ht_iterators_count: u32,
10902 pub ht_iterators_used: u32,
10903 pub ht_iterators: *mut HashTableIterator,
10904 pub ht_iterators_slots: [HashTableIterator; 16usize],
10905 pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
10906 pub saved_fpu_cw: fpu_control_t,
10907 pub trampoline: zend_function,
10908 pub call_trampoline_op: zend_op,
10909 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
10910}
10911#[test]
10912fn bindgen_test_layout__zend_executor_globals() {
10913 assert_eq!(
10914 ::std::mem::size_of::<_zend_executor_globals>(),
10915 1544usize,
10916 concat!("Size of: ", stringify!(_zend_executor_globals))
10917 );
10918 assert_eq!(
10919 ::std::mem::align_of::<_zend_executor_globals>(),
10920 8usize,
10921 concat!("Alignment of ", stringify!(_zend_executor_globals))
10922 );
10923 assert_eq!(
10924 unsafe {
10925 &(*(::std::ptr::null::<_zend_executor_globals>())).uninitialized_zval as *const _
10926 as usize
10927 },
10928 0usize,
10929 concat!(
10930 "Offset of field: ",
10931 stringify!(_zend_executor_globals),
10932 "::",
10933 stringify!(uninitialized_zval)
10934 )
10935 );
10936 assert_eq!(
10937 unsafe {
10938 &(*(::std::ptr::null::<_zend_executor_globals>())).error_zval as *const _ as usize
10939 },
10940 16usize,
10941 concat!(
10942 "Offset of field: ",
10943 stringify!(_zend_executor_globals),
10944 "::",
10945 stringify!(error_zval)
10946 )
10947 );
10948 assert_eq!(
10949 unsafe {
10950 &(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache as *const _ as usize
10951 },
10952 32usize,
10953 concat!(
10954 "Offset of field: ",
10955 stringify!(_zend_executor_globals),
10956 "::",
10957 stringify!(symtable_cache)
10958 )
10959 );
10960 assert_eq!(
10961 unsafe {
10962 &(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache_limit as *const _
10963 as usize
10964 },
10965 288usize,
10966 concat!(
10967 "Offset of field: ",
10968 stringify!(_zend_executor_globals),
10969 "::",
10970 stringify!(symtable_cache_limit)
10971 )
10972 );
10973 assert_eq!(
10974 unsafe {
10975 &(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache_ptr as *const _
10976 as usize
10977 },
10978 296usize,
10979 concat!(
10980 "Offset of field: ",
10981 stringify!(_zend_executor_globals),
10982 "::",
10983 stringify!(symtable_cache_ptr)
10984 )
10985 );
10986 assert_eq!(
10987 unsafe {
10988 &(*(::std::ptr::null::<_zend_executor_globals>())).symbol_table as *const _ as usize
10989 },
10990 304usize,
10991 concat!(
10992 "Offset of field: ",
10993 stringify!(_zend_executor_globals),
10994 "::",
10995 stringify!(symbol_table)
10996 )
10997 );
10998 assert_eq!(
10999 unsafe {
11000 &(*(::std::ptr::null::<_zend_executor_globals>())).included_files as *const _ as usize
11001 },
11002 360usize,
11003 concat!(
11004 "Offset of field: ",
11005 stringify!(_zend_executor_globals),
11006 "::",
11007 stringify!(included_files)
11008 )
11009 );
11010 assert_eq!(
11011 unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).bailout as *const _ as usize },
11012 416usize,
11013 concat!(
11014 "Offset of field: ",
11015 stringify!(_zend_executor_globals),
11016 "::",
11017 stringify!(bailout)
11018 )
11019 );
11020 assert_eq!(
11021 unsafe {
11022 &(*(::std::ptr::null::<_zend_executor_globals>())).error_reporting as *const _ as usize
11023 },
11024 424usize,
11025 concat!(
11026 "Offset of field: ",
11027 stringify!(_zend_executor_globals),
11028 "::",
11029 stringify!(error_reporting)
11030 )
11031 );
11032 assert_eq!(
11033 unsafe {
11034 &(*(::std::ptr::null::<_zend_executor_globals>())).exit_status as *const _ as usize
11035 },
11036 428usize,
11037 concat!(
11038 "Offset of field: ",
11039 stringify!(_zend_executor_globals),
11040 "::",
11041 stringify!(exit_status)
11042 )
11043 );
11044 assert_eq!(
11045 unsafe {
11046 &(*(::std::ptr::null::<_zend_executor_globals>())).function_table as *const _ as usize
11047 },
11048 432usize,
11049 concat!(
11050 "Offset of field: ",
11051 stringify!(_zend_executor_globals),
11052 "::",
11053 stringify!(function_table)
11054 )
11055 );
11056 assert_eq!(
11057 unsafe {
11058 &(*(::std::ptr::null::<_zend_executor_globals>())).class_table as *const _ as usize
11059 },
11060 440usize,
11061 concat!(
11062 "Offset of field: ",
11063 stringify!(_zend_executor_globals),
11064 "::",
11065 stringify!(class_table)
11066 )
11067 );
11068 assert_eq!(
11069 unsafe {
11070 &(*(::std::ptr::null::<_zend_executor_globals>())).zend_constants as *const _ as usize
11071 },
11072 448usize,
11073 concat!(
11074 "Offset of field: ",
11075 stringify!(_zend_executor_globals),
11076 "::",
11077 stringify!(zend_constants)
11078 )
11079 );
11080 assert_eq!(
11081 unsafe {
11082 &(*(::std::ptr::null::<_zend_executor_globals>())).vm_stack_top as *const _ as usize
11083 },
11084 456usize,
11085 concat!(
11086 "Offset of field: ",
11087 stringify!(_zend_executor_globals),
11088 "::",
11089 stringify!(vm_stack_top)
11090 )
11091 );
11092 assert_eq!(
11093 unsafe {
11094 &(*(::std::ptr::null::<_zend_executor_globals>())).vm_stack_end as *const _ as usize
11095 },
11096 464usize,
11097 concat!(
11098 "Offset of field: ",
11099 stringify!(_zend_executor_globals),
11100 "::",
11101 stringify!(vm_stack_end)
11102 )
11103 );
11104 assert_eq!(
11105 unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).vm_stack as *const _ as usize },
11106 472usize,
11107 concat!(
11108 "Offset of field: ",
11109 stringify!(_zend_executor_globals),
11110 "::",
11111 stringify!(vm_stack)
11112 )
11113 );
11114 assert_eq!(
11115 unsafe {
11116 &(*(::std::ptr::null::<_zend_executor_globals>())).current_execute_data as *const _
11117 as usize
11118 },
11119 480usize,
11120 concat!(
11121 "Offset of field: ",
11122 stringify!(_zend_executor_globals),
11123 "::",
11124 stringify!(current_execute_data)
11125 )
11126 );
11127 assert_eq!(
11128 unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).scope as *const _ as usize },
11129 488usize,
11130 concat!(
11131 "Offset of field: ",
11132 stringify!(_zend_executor_globals),
11133 "::",
11134 stringify!(scope)
11135 )
11136 );
11137 assert_eq!(
11138 unsafe {
11139 &(*(::std::ptr::null::<_zend_executor_globals>())).precision as *const _ as usize
11140 },
11141 496usize,
11142 concat!(
11143 "Offset of field: ",
11144 stringify!(_zend_executor_globals),
11145 "::",
11146 stringify!(precision)
11147 )
11148 );
11149 assert_eq!(
11150 unsafe {
11151 &(*(::std::ptr::null::<_zend_executor_globals>())).ticks_count as *const _ as usize
11152 },
11153 504usize,
11154 concat!(
11155 "Offset of field: ",
11156 stringify!(_zend_executor_globals),
11157 "::",
11158 stringify!(ticks_count)
11159 )
11160 );
11161 assert_eq!(
11162 unsafe {
11163 &(*(::std::ptr::null::<_zend_executor_globals>())).in_autoload as *const _ as usize
11164 },
11165 512usize,
11166 concat!(
11167 "Offset of field: ",
11168 stringify!(_zend_executor_globals),
11169 "::",
11170 stringify!(in_autoload)
11171 )
11172 );
11173 assert_eq!(
11174 unsafe {
11175 &(*(::std::ptr::null::<_zend_executor_globals>())).autoload_func as *const _ as usize
11176 },
11177 520usize,
11178 concat!(
11179 "Offset of field: ",
11180 stringify!(_zend_executor_globals),
11181 "::",
11182 stringify!(autoload_func)
11183 )
11184 );
11185 assert_eq!(
11186 unsafe {
11187 &(*(::std::ptr::null::<_zend_executor_globals>())).full_tables_cleanup as *const _
11188 as usize
11189 },
11190 528usize,
11191 concat!(
11192 "Offset of field: ",
11193 stringify!(_zend_executor_globals),
11194 "::",
11195 stringify!(full_tables_cleanup)
11196 )
11197 );
11198 assert_eq!(
11199 unsafe {
11200 &(*(::std::ptr::null::<_zend_executor_globals>())).no_extensions as *const _ as usize
11201 },
11202 529usize,
11203 concat!(
11204 "Offset of field: ",
11205 stringify!(_zend_executor_globals),
11206 "::",
11207 stringify!(no_extensions)
11208 )
11209 );
11210 assert_eq!(
11211 unsafe {
11212 &(*(::std::ptr::null::<_zend_executor_globals>())).regular_list as *const _ as usize
11213 },
11214 536usize,
11215 concat!(
11216 "Offset of field: ",
11217 stringify!(_zend_executor_globals),
11218 "::",
11219 stringify!(regular_list)
11220 )
11221 );
11222 assert_eq!(
11223 unsafe {
11224 &(*(::std::ptr::null::<_zend_executor_globals>())).persistent_list as *const _ as usize
11225 },
11226 592usize,
11227 concat!(
11228 "Offset of field: ",
11229 stringify!(_zend_executor_globals),
11230 "::",
11231 stringify!(persistent_list)
11232 )
11233 );
11234 assert_eq!(
11235 unsafe {
11236 &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handler_error_reporting
11237 as *const _ as usize
11238 },
11239 648usize,
11240 concat!(
11241 "Offset of field: ",
11242 stringify!(_zend_executor_globals),
11243 "::",
11244 stringify!(user_error_handler_error_reporting)
11245 )
11246 );
11247 assert_eq!(
11248 unsafe {
11249 &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handler as *const _
11250 as usize
11251 },
11252 656usize,
11253 concat!(
11254 "Offset of field: ",
11255 stringify!(_zend_executor_globals),
11256 "::",
11257 stringify!(user_error_handler)
11258 )
11259 );
11260 assert_eq!(
11261 unsafe {
11262 &(*(::std::ptr::null::<_zend_executor_globals>())).user_exception_handler as *const _
11263 as usize
11264 },
11265 672usize,
11266 concat!(
11267 "Offset of field: ",
11268 stringify!(_zend_executor_globals),
11269 "::",
11270 stringify!(user_exception_handler)
11271 )
11272 );
11273 assert_eq!(
11274 unsafe {
11275 &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handlers_error_reporting
11276 as *const _ as usize
11277 },
11278 688usize,
11279 concat!(
11280 "Offset of field: ",
11281 stringify!(_zend_executor_globals),
11282 "::",
11283 stringify!(user_error_handlers_error_reporting)
11284 )
11285 );
11286 assert_eq!(
11287 unsafe {
11288 &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handlers as *const _
11289 as usize
11290 },
11291 712usize,
11292 concat!(
11293 "Offset of field: ",
11294 stringify!(_zend_executor_globals),
11295 "::",
11296 stringify!(user_error_handlers)
11297 )
11298 );
11299 assert_eq!(
11300 unsafe {
11301 &(*(::std::ptr::null::<_zend_executor_globals>())).user_exception_handlers as *const _
11302 as usize
11303 },
11304 736usize,
11305 concat!(
11306 "Offset of field: ",
11307 stringify!(_zend_executor_globals),
11308 "::",
11309 stringify!(user_exception_handlers)
11310 )
11311 );
11312 assert_eq!(
11313 unsafe {
11314 &(*(::std::ptr::null::<_zend_executor_globals>())).error_handling as *const _ as usize
11315 },
11316 760usize,
11317 concat!(
11318 "Offset of field: ",
11319 stringify!(_zend_executor_globals),
11320 "::",
11321 stringify!(error_handling)
11322 )
11323 );
11324 assert_eq!(
11325 unsafe {
11326 &(*(::std::ptr::null::<_zend_executor_globals>())).exception_class as *const _ as usize
11327 },
11328 768usize,
11329 concat!(
11330 "Offset of field: ",
11331 stringify!(_zend_executor_globals),
11332 "::",
11333 stringify!(exception_class)
11334 )
11335 );
11336 assert_eq!(
11337 unsafe {
11338 &(*(::std::ptr::null::<_zend_executor_globals>())).timeout_seconds as *const _ as usize
11339 },
11340 776usize,
11341 concat!(
11342 "Offset of field: ",
11343 stringify!(_zend_executor_globals),
11344 "::",
11345 stringify!(timeout_seconds)
11346 )
11347 );
11348 assert_eq!(
11349 unsafe {
11350 &(*(::std::ptr::null::<_zend_executor_globals>())).lambda_count as *const _ as usize
11351 },
11352 784usize,
11353 concat!(
11354 "Offset of field: ",
11355 stringify!(_zend_executor_globals),
11356 "::",
11357 stringify!(lambda_count)
11358 )
11359 );
11360 assert_eq!(
11361 unsafe {
11362 &(*(::std::ptr::null::<_zend_executor_globals>())).ini_directives as *const _ as usize
11363 },
11364 792usize,
11365 concat!(
11366 "Offset of field: ",
11367 stringify!(_zend_executor_globals),
11368 "::",
11369 stringify!(ini_directives)
11370 )
11371 );
11372 assert_eq!(
11373 unsafe {
11374 &(*(::std::ptr::null::<_zend_executor_globals>())).modified_ini_directives as *const _
11375 as usize
11376 },
11377 800usize,
11378 concat!(
11379 "Offset of field: ",
11380 stringify!(_zend_executor_globals),
11381 "::",
11382 stringify!(modified_ini_directives)
11383 )
11384 );
11385 assert_eq!(
11386 unsafe {
11387 &(*(::std::ptr::null::<_zend_executor_globals>())).error_reporting_ini_entry as *const _
11388 as usize
11389 },
11390 808usize,
11391 concat!(
11392 "Offset of field: ",
11393 stringify!(_zend_executor_globals),
11394 "::",
11395 stringify!(error_reporting_ini_entry)
11396 )
11397 );
11398 assert_eq!(
11399 unsafe {
11400 &(*(::std::ptr::null::<_zend_executor_globals>())).objects_store as *const _ as usize
11401 },
11402 816usize,
11403 concat!(
11404 "Offset of field: ",
11405 stringify!(_zend_executor_globals),
11406 "::",
11407 stringify!(objects_store)
11408 )
11409 );
11410 assert_eq!(
11411 unsafe {
11412 &(*(::std::ptr::null::<_zend_executor_globals>())).exception as *const _ as usize
11413 },
11414 840usize,
11415 concat!(
11416 "Offset of field: ",
11417 stringify!(_zend_executor_globals),
11418 "::",
11419 stringify!(exception)
11420 )
11421 );
11422 assert_eq!(
11423 unsafe {
11424 &(*(::std::ptr::null::<_zend_executor_globals>())).prev_exception as *const _ as usize
11425 },
11426 848usize,
11427 concat!(
11428 "Offset of field: ",
11429 stringify!(_zend_executor_globals),
11430 "::",
11431 stringify!(prev_exception)
11432 )
11433 );
11434 assert_eq!(
11435 unsafe {
11436 &(*(::std::ptr::null::<_zend_executor_globals>())).opline_before_exception as *const _
11437 as usize
11438 },
11439 856usize,
11440 concat!(
11441 "Offset of field: ",
11442 stringify!(_zend_executor_globals),
11443 "::",
11444 stringify!(opline_before_exception)
11445 )
11446 );
11447 assert_eq!(
11448 unsafe {
11449 &(*(::std::ptr::null::<_zend_executor_globals>())).exception_op as *const _ as usize
11450 },
11451 864usize,
11452 concat!(
11453 "Offset of field: ",
11454 stringify!(_zend_executor_globals),
11455 "::",
11456 stringify!(exception_op)
11457 )
11458 );
11459 assert_eq!(
11460 unsafe {
11461 &(*(::std::ptr::null::<_zend_executor_globals>())).current_module as *const _ as usize
11462 },
11463 960usize,
11464 concat!(
11465 "Offset of field: ",
11466 stringify!(_zend_executor_globals),
11467 "::",
11468 stringify!(current_module)
11469 )
11470 );
11471 assert_eq!(
11472 unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).active as *const _ as usize },
11473 968usize,
11474 concat!(
11475 "Offset of field: ",
11476 stringify!(_zend_executor_globals),
11477 "::",
11478 stringify!(active)
11479 )
11480 );
11481 assert_eq!(
11482 unsafe {
11483 &(*(::std::ptr::null::<_zend_executor_globals>())).valid_symbol_table as *const _
11484 as usize
11485 },
11486 969usize,
11487 concat!(
11488 "Offset of field: ",
11489 stringify!(_zend_executor_globals),
11490 "::",
11491 stringify!(valid_symbol_table)
11492 )
11493 );
11494 assert_eq!(
11495 unsafe {
11496 &(*(::std::ptr::null::<_zend_executor_globals>())).assertions as *const _ as usize
11497 },
11498 976usize,
11499 concat!(
11500 "Offset of field: ",
11501 stringify!(_zend_executor_globals),
11502 "::",
11503 stringify!(assertions)
11504 )
11505 );
11506 assert_eq!(
11507 unsafe {
11508 &(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators_count as *const _
11509 as usize
11510 },
11511 984usize,
11512 concat!(
11513 "Offset of field: ",
11514 stringify!(_zend_executor_globals),
11515 "::",
11516 stringify!(ht_iterators_count)
11517 )
11518 );
11519 assert_eq!(
11520 unsafe {
11521 &(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators_used as *const _
11522 as usize
11523 },
11524 988usize,
11525 concat!(
11526 "Offset of field: ",
11527 stringify!(_zend_executor_globals),
11528 "::",
11529 stringify!(ht_iterators_used)
11530 )
11531 );
11532 assert_eq!(
11533 unsafe {
11534 &(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators as *const _ as usize
11535 },
11536 992usize,
11537 concat!(
11538 "Offset of field: ",
11539 stringify!(_zend_executor_globals),
11540 "::",
11541 stringify!(ht_iterators)
11542 )
11543 );
11544 assert_eq!(
11545 unsafe {
11546 &(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators_slots as *const _
11547 as usize
11548 },
11549 1000usize,
11550 concat!(
11551 "Offset of field: ",
11552 stringify!(_zend_executor_globals),
11553 "::",
11554 stringify!(ht_iterators_slots)
11555 )
11556 );
11557 assert_eq!(
11558 unsafe {
11559 &(*(::std::ptr::null::<_zend_executor_globals>())).saved_fpu_cw_ptr as *const _ as usize
11560 },
11561 1256usize,
11562 concat!(
11563 "Offset of field: ",
11564 stringify!(_zend_executor_globals),
11565 "::",
11566 stringify!(saved_fpu_cw_ptr)
11567 )
11568 );
11569 assert_eq!(
11570 unsafe {
11571 &(*(::std::ptr::null::<_zend_executor_globals>())).saved_fpu_cw as *const _ as usize
11572 },
11573 1264usize,
11574 concat!(
11575 "Offset of field: ",
11576 stringify!(_zend_executor_globals),
11577 "::",
11578 stringify!(saved_fpu_cw)
11579 )
11580 );
11581 assert_eq!(
11582 unsafe {
11583 &(*(::std::ptr::null::<_zend_executor_globals>())).trampoline as *const _ as usize
11584 },
11585 1272usize,
11586 concat!(
11587 "Offset of field: ",
11588 stringify!(_zend_executor_globals),
11589 "::",
11590 stringify!(trampoline)
11591 )
11592 );
11593 assert_eq!(
11594 unsafe {
11595 &(*(::std::ptr::null::<_zend_executor_globals>())).call_trampoline_op as *const _
11596 as usize
11597 },
11598 1480usize,
11599 concat!(
11600 "Offset of field: ",
11601 stringify!(_zend_executor_globals),
11602 "::",
11603 stringify!(call_trampoline_op)
11604 )
11605 );
11606 assert_eq!(
11607 unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).reserved as *const _ as usize },
11608 1512usize,
11609 concat!(
11610 "Offset of field: ",
11611 stringify!(_zend_executor_globals),
11612 "::",
11613 stringify!(reserved)
11614 )
11615 );
11616}
11617#[repr(C)]
11618#[derive(Debug, Copy, Clone)]
11619pub struct _zend_ini_scanner_globals {
11620 pub yy_in: *mut zend_file_handle,
11621 pub yy_out: *mut zend_file_handle,
11622 pub yy_leng: ::std::os::raw::c_uint,
11623 pub yy_start: *mut ::std::os::raw::c_uchar,
11624 pub yy_text: *mut ::std::os::raw::c_uchar,
11625 pub yy_cursor: *mut ::std::os::raw::c_uchar,
11626 pub yy_marker: *mut ::std::os::raw::c_uchar,
11627 pub yy_limit: *mut ::std::os::raw::c_uchar,
11628 pub yy_state: ::std::os::raw::c_int,
11629 pub state_stack: zend_stack,
11630 pub filename: *mut ::std::os::raw::c_char,
11631 pub lineno: ::std::os::raw::c_int,
11632 pub scanner_mode: ::std::os::raw::c_int,
11633}
11634#[test]
11635fn bindgen_test_layout__zend_ini_scanner_globals() {
11636 assert_eq!(
11637 ::std::mem::size_of::<_zend_ini_scanner_globals>(),
11638 112usize,
11639 concat!("Size of: ", stringify!(_zend_ini_scanner_globals))
11640 );
11641 assert_eq!(
11642 ::std::mem::align_of::<_zend_ini_scanner_globals>(),
11643 8usize,
11644 concat!("Alignment of ", stringify!(_zend_ini_scanner_globals))
11645 );
11646 assert_eq!(
11647 unsafe { &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_in as *const _ as usize },
11648 0usize,
11649 concat!(
11650 "Offset of field: ",
11651 stringify!(_zend_ini_scanner_globals),
11652 "::",
11653 stringify!(yy_in)
11654 )
11655 );
11656 assert_eq!(
11657 unsafe {
11658 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_out as *const _ as usize
11659 },
11660 8usize,
11661 concat!(
11662 "Offset of field: ",
11663 stringify!(_zend_ini_scanner_globals),
11664 "::",
11665 stringify!(yy_out)
11666 )
11667 );
11668 assert_eq!(
11669 unsafe {
11670 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_leng as *const _ as usize
11671 },
11672 16usize,
11673 concat!(
11674 "Offset of field: ",
11675 stringify!(_zend_ini_scanner_globals),
11676 "::",
11677 stringify!(yy_leng)
11678 )
11679 );
11680 assert_eq!(
11681 unsafe {
11682 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_start as *const _ as usize
11683 },
11684 24usize,
11685 concat!(
11686 "Offset of field: ",
11687 stringify!(_zend_ini_scanner_globals),
11688 "::",
11689 stringify!(yy_start)
11690 )
11691 );
11692 assert_eq!(
11693 unsafe {
11694 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_text as *const _ as usize
11695 },
11696 32usize,
11697 concat!(
11698 "Offset of field: ",
11699 stringify!(_zend_ini_scanner_globals),
11700 "::",
11701 stringify!(yy_text)
11702 )
11703 );
11704 assert_eq!(
11705 unsafe {
11706 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_cursor as *const _ as usize
11707 },
11708 40usize,
11709 concat!(
11710 "Offset of field: ",
11711 stringify!(_zend_ini_scanner_globals),
11712 "::",
11713 stringify!(yy_cursor)
11714 )
11715 );
11716 assert_eq!(
11717 unsafe {
11718 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_marker as *const _ as usize
11719 },
11720 48usize,
11721 concat!(
11722 "Offset of field: ",
11723 stringify!(_zend_ini_scanner_globals),
11724 "::",
11725 stringify!(yy_marker)
11726 )
11727 );
11728 assert_eq!(
11729 unsafe {
11730 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_limit as *const _ as usize
11731 },
11732 56usize,
11733 concat!(
11734 "Offset of field: ",
11735 stringify!(_zend_ini_scanner_globals),
11736 "::",
11737 stringify!(yy_limit)
11738 )
11739 );
11740 assert_eq!(
11741 unsafe {
11742 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_state as *const _ as usize
11743 },
11744 64usize,
11745 concat!(
11746 "Offset of field: ",
11747 stringify!(_zend_ini_scanner_globals),
11748 "::",
11749 stringify!(yy_state)
11750 )
11751 );
11752 assert_eq!(
11753 unsafe {
11754 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).state_stack as *const _ as usize
11755 },
11756 72usize,
11757 concat!(
11758 "Offset of field: ",
11759 stringify!(_zend_ini_scanner_globals),
11760 "::",
11761 stringify!(state_stack)
11762 )
11763 );
11764 assert_eq!(
11765 unsafe {
11766 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).filename as *const _ as usize
11767 },
11768 96usize,
11769 concat!(
11770 "Offset of field: ",
11771 stringify!(_zend_ini_scanner_globals),
11772 "::",
11773 stringify!(filename)
11774 )
11775 );
11776 assert_eq!(
11777 unsafe {
11778 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).lineno as *const _ as usize
11779 },
11780 104usize,
11781 concat!(
11782 "Offset of field: ",
11783 stringify!(_zend_ini_scanner_globals),
11784 "::",
11785 stringify!(lineno)
11786 )
11787 );
11788 assert_eq!(
11789 unsafe {
11790 &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).scanner_mode as *const _ as usize
11791 },
11792 108usize,
11793 concat!(
11794 "Offset of field: ",
11795 stringify!(_zend_ini_scanner_globals),
11796 "::",
11797 stringify!(scanner_mode)
11798 )
11799 );
11800}
11801pub const zend_php_scanner_event_ON_TOKEN: zend_php_scanner_event = 0;
11802pub const zend_php_scanner_event_ON_FEEDBACK: zend_php_scanner_event = 1;
11803pub const zend_php_scanner_event_ON_STOP: zend_php_scanner_event = 2;
11804pub type zend_php_scanner_event = ::std::os::raw::c_uint;
11805#[repr(C)]
11806#[derive(Debug, Copy, Clone)]
11807pub struct _zend_php_scanner_globals {
11808 pub yy_in: *mut zend_file_handle,
11809 pub yy_out: *mut zend_file_handle,
11810 pub yy_leng: ::std::os::raw::c_uint,
11811 pub yy_start: *mut ::std::os::raw::c_uchar,
11812 pub yy_text: *mut ::std::os::raw::c_uchar,
11813 pub yy_cursor: *mut ::std::os::raw::c_uchar,
11814 pub yy_marker: *mut ::std::os::raw::c_uchar,
11815 pub yy_limit: *mut ::std::os::raw::c_uchar,
11816 pub yy_state: ::std::os::raw::c_int,
11817 pub state_stack: zend_stack,
11818 pub heredoc_label_stack: zend_ptr_stack,
11819 pub script_org: *mut ::std::os::raw::c_uchar,
11820 pub script_org_size: size_t,
11821 pub script_filtered: *mut ::std::os::raw::c_uchar,
11822 pub script_filtered_size: size_t,
11823 pub input_filter: zend_encoding_filter,
11824 pub output_filter: zend_encoding_filter,
11825 pub script_encoding: *const zend_encoding,
11826 pub scanned_string_len: ::std::os::raw::c_int,
11827 pub on_event: ::std::option::Option<
11828 unsafe extern "C" fn(
11829 event: zend_php_scanner_event,
11830 token: ::std::os::raw::c_int,
11831 line: ::std::os::raw::c_int,
11832 ),
11833 >,
11834}
11835#[test]
11836fn bindgen_test_layout__zend_php_scanner_globals() {
11837 assert_eq!(
11838 ::std::mem::size_of::<_zend_php_scanner_globals>(),
11839 200usize,
11840 concat!("Size of: ", stringify!(_zend_php_scanner_globals))
11841 );
11842 assert_eq!(
11843 ::std::mem::align_of::<_zend_php_scanner_globals>(),
11844 8usize,
11845 concat!("Alignment of ", stringify!(_zend_php_scanner_globals))
11846 );
11847 assert_eq!(
11848 unsafe { &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_in as *const _ as usize },
11849 0usize,
11850 concat!(
11851 "Offset of field: ",
11852 stringify!(_zend_php_scanner_globals),
11853 "::",
11854 stringify!(yy_in)
11855 )
11856 );
11857 assert_eq!(
11858 unsafe {
11859 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_out as *const _ as usize
11860 },
11861 8usize,
11862 concat!(
11863 "Offset of field: ",
11864 stringify!(_zend_php_scanner_globals),
11865 "::",
11866 stringify!(yy_out)
11867 )
11868 );
11869 assert_eq!(
11870 unsafe {
11871 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_leng as *const _ as usize
11872 },
11873 16usize,
11874 concat!(
11875 "Offset of field: ",
11876 stringify!(_zend_php_scanner_globals),
11877 "::",
11878 stringify!(yy_leng)
11879 )
11880 );
11881 assert_eq!(
11882 unsafe {
11883 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_start as *const _ as usize
11884 },
11885 24usize,
11886 concat!(
11887 "Offset of field: ",
11888 stringify!(_zend_php_scanner_globals),
11889 "::",
11890 stringify!(yy_start)
11891 )
11892 );
11893 assert_eq!(
11894 unsafe {
11895 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_text as *const _ as usize
11896 },
11897 32usize,
11898 concat!(
11899 "Offset of field: ",
11900 stringify!(_zend_php_scanner_globals),
11901 "::",
11902 stringify!(yy_text)
11903 )
11904 );
11905 assert_eq!(
11906 unsafe {
11907 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_cursor as *const _ as usize
11908 },
11909 40usize,
11910 concat!(
11911 "Offset of field: ",
11912 stringify!(_zend_php_scanner_globals),
11913 "::",
11914 stringify!(yy_cursor)
11915 )
11916 );
11917 assert_eq!(
11918 unsafe {
11919 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_marker as *const _ as usize
11920 },
11921 48usize,
11922 concat!(
11923 "Offset of field: ",
11924 stringify!(_zend_php_scanner_globals),
11925 "::",
11926 stringify!(yy_marker)
11927 )
11928 );
11929 assert_eq!(
11930 unsafe {
11931 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_limit as *const _ as usize
11932 },
11933 56usize,
11934 concat!(
11935 "Offset of field: ",
11936 stringify!(_zend_php_scanner_globals),
11937 "::",
11938 stringify!(yy_limit)
11939 )
11940 );
11941 assert_eq!(
11942 unsafe {
11943 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_state as *const _ as usize
11944 },
11945 64usize,
11946 concat!(
11947 "Offset of field: ",
11948 stringify!(_zend_php_scanner_globals),
11949 "::",
11950 stringify!(yy_state)
11951 )
11952 );
11953 assert_eq!(
11954 unsafe {
11955 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).state_stack as *const _ as usize
11956 },
11957 72usize,
11958 concat!(
11959 "Offset of field: ",
11960 stringify!(_zend_php_scanner_globals),
11961 "::",
11962 stringify!(state_stack)
11963 )
11964 );
11965 assert_eq!(
11966 unsafe {
11967 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).heredoc_label_stack as *const _
11968 as usize
11969 },
11970 96usize,
11971 concat!(
11972 "Offset of field: ",
11973 stringify!(_zend_php_scanner_globals),
11974 "::",
11975 stringify!(heredoc_label_stack)
11976 )
11977 );
11978 assert_eq!(
11979 unsafe {
11980 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_org as *const _ as usize
11981 },
11982 128usize,
11983 concat!(
11984 "Offset of field: ",
11985 stringify!(_zend_php_scanner_globals),
11986 "::",
11987 stringify!(script_org)
11988 )
11989 );
11990 assert_eq!(
11991 unsafe {
11992 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_org_size as *const _
11993 as usize
11994 },
11995 136usize,
11996 concat!(
11997 "Offset of field: ",
11998 stringify!(_zend_php_scanner_globals),
11999 "::",
12000 stringify!(script_org_size)
12001 )
12002 );
12003 assert_eq!(
12004 unsafe {
12005 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_filtered as *const _
12006 as usize
12007 },
12008 144usize,
12009 concat!(
12010 "Offset of field: ",
12011 stringify!(_zend_php_scanner_globals),
12012 "::",
12013 stringify!(script_filtered)
12014 )
12015 );
12016 assert_eq!(
12017 unsafe {
12018 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_filtered_size as *const _
12019 as usize
12020 },
12021 152usize,
12022 concat!(
12023 "Offset of field: ",
12024 stringify!(_zend_php_scanner_globals),
12025 "::",
12026 stringify!(script_filtered_size)
12027 )
12028 );
12029 assert_eq!(
12030 unsafe {
12031 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).input_filter as *const _ as usize
12032 },
12033 160usize,
12034 concat!(
12035 "Offset of field: ",
12036 stringify!(_zend_php_scanner_globals),
12037 "::",
12038 stringify!(input_filter)
12039 )
12040 );
12041 assert_eq!(
12042 unsafe {
12043 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).output_filter as *const _ as usize
12044 },
12045 168usize,
12046 concat!(
12047 "Offset of field: ",
12048 stringify!(_zend_php_scanner_globals),
12049 "::",
12050 stringify!(output_filter)
12051 )
12052 );
12053 assert_eq!(
12054 unsafe {
12055 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_encoding as *const _
12056 as usize
12057 },
12058 176usize,
12059 concat!(
12060 "Offset of field: ",
12061 stringify!(_zend_php_scanner_globals),
12062 "::",
12063 stringify!(script_encoding)
12064 )
12065 );
12066 assert_eq!(
12067 unsafe {
12068 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).scanned_string_len as *const _
12069 as usize
12070 },
12071 184usize,
12072 concat!(
12073 "Offset of field: ",
12074 stringify!(_zend_php_scanner_globals),
12075 "::",
12076 stringify!(scanned_string_len)
12077 )
12078 );
12079 assert_eq!(
12080 unsafe {
12081 &(*(::std::ptr::null::<_zend_php_scanner_globals>())).on_event as *const _ as usize
12082 },
12083 192usize,
12084 concat!(
12085 "Offset of field: ",
12086 stringify!(_zend_php_scanner_globals),
12087 "::",
12088 stringify!(on_event)
12089 )
12090 );
12091}
12092extern "C" {
12093 pub fn zend_init_compiler_data_structures();
12094}
12095extern "C" {
12096 pub fn zend_oparray_context_begin(prev_context: *mut zend_oparray_context);
12097}
12098extern "C" {
12099 pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
12100}
12101extern "C" {
12102 pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
12103}
12104extern "C" {
12105 pub fn zend_file_context_end(prev_context: *mut zend_file_context);
12106}
12107extern "C" {
12108 pub static mut zend_compile_file: ::std::option::Option<
12109 unsafe extern "C" fn(
12110 file_handle: *mut zend_file_handle,
12111 type_: ::std::os::raw::c_int,
12112 ) -> *mut zend_op_array,
12113 >;
12114}
12115extern "C" {
12116 pub static mut zend_compile_string: ::std::option::Option<
12117 unsafe extern "C" fn(
12118 source_string: *mut zval,
12119 filename: *mut ::std::os::raw::c_char,
12120 ) -> *mut zend_op_array,
12121 >;
12122}
12123extern "C" {
12124 pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
12125}
12126extern "C" {
12127 pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
12128}
12129extern "C" {
12130 pub fn zend_get_compiled_filename() -> *mut zend_string;
12131}
12132extern "C" {
12133 pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
12134}
12135extern "C" {
12136 pub fn zend_get_scanned_file_offset() -> size_t;
12137}
12138extern "C" {
12139 pub fn zend_get_compiled_variable_name(
12140 op_array: *const zend_op_array,
12141 var: u32,
12142 ) -> *mut zend_string;
12143}
12144extern "C" {
12145 pub fn zend_stop_lexing();
12146}
12147extern "C" {
12148 pub fn zend_emit_final_return(zv: *mut zval);
12149}
12150extern "C" {
12151 pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
12152}
12153extern "C" {
12154 pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
12155}
12156extern "C" {
12157 pub fn zend_add_member_modifier(flags: u32, new_flag: u32) -> u32;
12158}
12159extern "C" {
12160 pub fn zend_handle_encoding_declaration(ast: *mut zend_ast);
12161}
12162extern "C" {
12163 pub fn zend_do_free(op1: *mut znode);
12164}
12165extern "C" {
12166 pub fn zend_do_delayed_early_binding(op_array: *const zend_op_array);
12167}
12168extern "C" {
12169 pub fn zend_do_extended_info();
12170}
12171extern "C" {
12172 pub fn zend_do_extended_fcall_begin();
12173}
12174extern "C" {
12175 pub fn zend_do_extended_fcall_end();
12176}
12177extern "C" {
12178 pub fn zend_verify_namespace();
12179}
12180extern "C" {
12181 pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
12182}
12183extern "C" {
12184 pub fn zend_try_exception_handler();
12185}
12186extern "C" {
12187 pub fn zend_execute_scripts(
12188 type_: ::std::os::raw::c_int,
12189 retval: *mut zval,
12190 file_count: ::std::os::raw::c_int,
12191 ...
12192 ) -> ::std::os::raw::c_int;
12193}
12194extern "C" {
12195 pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
12196}
12197extern "C" {
12198 pub fn zend_cleanup_user_class_data(ce: *mut zend_class_entry);
12199}
12200extern "C" {
12201 pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
12202}
12203extern "C" {
12204 pub fn zend_cleanup_internal_classes();
12205}
12206extern "C" {
12207 pub fn zend_cleanup_op_array_data(op_array: *mut zend_op_array);
12208}
12209extern "C" {
12210 pub fn zend_function_dtor(zv: *mut zval);
12211}
12212extern "C" {
12213 pub fn zend_class_add_ref(zv: *mut zval);
12214}
12215extern "C" {
12216 pub fn zend_mangle_property_name(
12217 src1: *const ::std::os::raw::c_char,
12218 src1_length: size_t,
12219 src2: *const ::std::os::raw::c_char,
12220 src2_length: size_t,
12221 internal: ::std::os::raw::c_int,
12222 ) -> *mut zend_string;
12223}
12224extern "C" {
12225 pub fn zend_unmangle_property_name_ex(
12226 name: *const zend_string,
12227 class_name: *mut *const ::std::os::raw::c_char,
12228 prop_name: *mut *const ::std::os::raw::c_char,
12229 prop_len: *mut size_t,
12230 ) -> ::std::os::raw::c_int;
12231}
12232extern "C" {
12233 pub fn zend_is_compiling() -> zend_bool;
12234}
12235extern "C" {
12236 pub fn zend_make_compiled_string_description(
12237 name: *const ::std::os::raw::c_char,
12238 ) -> *mut ::std::os::raw::c_char;
12239}
12240extern "C" {
12241 pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: zend_bool);
12242}
12243extern "C" {
12244 pub fn zend_get_class_fetch_type(name: *mut zend_string) -> u32;
12245}
12246extern "C" {
12247 pub fn zend_get_call_op(init_op: zend_uchar, fbc: *mut zend_function) -> zend_uchar;
12248}
12249extern "C" {
12250 pub fn zend_is_smart_branch(opline: *mut zend_op) -> ::std::os::raw::c_int;
12251}
12252pub type zend_auto_global_callback =
12253 ::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> zend_bool>;
12254#[repr(C)]
12255#[derive(Debug, Copy, Clone)]
12256pub struct _zend_auto_global {
12257 pub name: *mut zend_string,
12258 pub auto_global_callback: zend_auto_global_callback,
12259 pub jit: zend_bool,
12260 pub armed: zend_bool,
12261}
12262#[test]
12263fn bindgen_test_layout__zend_auto_global() {
12264 assert_eq!(
12265 ::std::mem::size_of::<_zend_auto_global>(),
12266 24usize,
12267 concat!("Size of: ", stringify!(_zend_auto_global))
12268 );
12269 assert_eq!(
12270 ::std::mem::align_of::<_zend_auto_global>(),
12271 8usize,
12272 concat!("Alignment of ", stringify!(_zend_auto_global))
12273 );
12274 assert_eq!(
12275 unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).name as *const _ as usize },
12276 0usize,
12277 concat!(
12278 "Offset of field: ",
12279 stringify!(_zend_auto_global),
12280 "::",
12281 stringify!(name)
12282 )
12283 );
12284 assert_eq!(
12285 unsafe {
12286 &(*(::std::ptr::null::<_zend_auto_global>())).auto_global_callback as *const _ as usize
12287 },
12288 8usize,
12289 concat!(
12290 "Offset of field: ",
12291 stringify!(_zend_auto_global),
12292 "::",
12293 stringify!(auto_global_callback)
12294 )
12295 );
12296 assert_eq!(
12297 unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).jit as *const _ as usize },
12298 16usize,
12299 concat!(
12300 "Offset of field: ",
12301 stringify!(_zend_auto_global),
12302 "::",
12303 stringify!(jit)
12304 )
12305 );
12306 assert_eq!(
12307 unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).armed as *const _ as usize },
12308 17usize,
12309 concat!(
12310 "Offset of field: ",
12311 stringify!(_zend_auto_global),
12312 "::",
12313 stringify!(armed)
12314 )
12315 );
12316}
12317pub type zend_auto_global = _zend_auto_global;
12318extern "C" {
12319 pub fn zend_register_auto_global(
12320 name: *mut zend_string,
12321 jit: zend_bool,
12322 auto_global_callback: zend_auto_global_callback,
12323 ) -> ::std::os::raw::c_int;
12324}
12325extern "C" {
12326 pub fn zend_activate_auto_globals();
12327}
12328extern "C" {
12329 pub fn zend_is_auto_global(name: *mut zend_string) -> zend_bool;
12330}
12331extern "C" {
12332 pub fn zend_is_auto_global_str(name: *mut ::std::os::raw::c_char, len: size_t) -> zend_bool;
12333}
12334extern "C" {
12335 pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: size_t) -> size_t;
12336}
12337extern "C" {
12338 pub fn zend_set_function_arg_flags(func: *mut zend_function);
12339}
12340extern "C" {
12341 pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
12342}
12343extern "C" {
12344 pub fn zend_add_literal(op_array: *mut zend_op_array, zv: *mut zval) -> ::std::os::raw::c_int;
12345}
12346extern "C" {
12347 pub fn zend_assert_valid_class_name(const_name: *const zend_string);
12348}
12349extern "C" {
12350 pub fn zend_get_opcode_name(opcode: zend_uchar) -> *const ::std::os::raw::c_char;
12351}
12352pub type zend_module_entry = _zend_module_entry;
12353pub type zend_module_dep = _zend_module_dep;
12354#[repr(C)]
12355#[derive(Debug, Copy, Clone)]
12356pub struct _zend_module_entry {
12357 pub size: ::std::os::raw::c_ushort,
12358 pub zend_api: ::std::os::raw::c_uint,
12359 pub zend_debug: ::std::os::raw::c_uchar,
12360 pub zts: ::std::os::raw::c_uchar,
12361 pub ini_entry: *const _zend_ini_entry,
12362 pub deps: *const _zend_module_dep,
12363 pub name: *const ::std::os::raw::c_char,
12364 pub functions: *const _zend_function_entry,
12365 pub module_startup_func: ::std::option::Option<
12366 unsafe extern "C" fn(
12367 type_: ::std::os::raw::c_int,
12368 module_number: ::std::os::raw::c_int,
12369 ) -> ::std::os::raw::c_int,
12370 >,
12371 pub module_shutdown_func: ::std::option::Option<
12372 unsafe extern "C" fn(
12373 type_: ::std::os::raw::c_int,
12374 module_number: ::std::os::raw::c_int,
12375 ) -> ::std::os::raw::c_int,
12376 >,
12377 pub request_startup_func: ::std::option::Option<
12378 unsafe extern "C" fn(
12379 type_: ::std::os::raw::c_int,
12380 module_number: ::std::os::raw::c_int,
12381 ) -> ::std::os::raw::c_int,
12382 >,
12383 pub request_shutdown_func: ::std::option::Option<
12384 unsafe extern "C" fn(
12385 type_: ::std::os::raw::c_int,
12386 module_number: ::std::os::raw::c_int,
12387 ) -> ::std::os::raw::c_int,
12388 >,
12389 pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
12390 pub version: *const ::std::os::raw::c_char,
12391 pub globals_size: size_t,
12392 pub globals_ptr: *mut ::std::os::raw::c_void,
12393 pub globals_ctor:
12394 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
12395 pub globals_dtor:
12396 ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
12397 pub post_deactivate_func:
12398 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
12399 pub module_started: ::std::os::raw::c_int,
12400 pub type_: ::std::os::raw::c_uchar,
12401 pub handle: *mut ::std::os::raw::c_void,
12402 pub module_number: ::std::os::raw::c_int,
12403 pub build_id: *const ::std::os::raw::c_char,
12404}
12405#[test]
12406fn bindgen_test_layout__zend_module_entry() {
12407 assert_eq!(
12408 ::std::mem::size_of::<_zend_module_entry>(),
12409 168usize,
12410 concat!("Size of: ", stringify!(_zend_module_entry))
12411 );
12412 assert_eq!(
12413 ::std::mem::align_of::<_zend_module_entry>(),
12414 8usize,
12415 concat!("Alignment of ", stringify!(_zend_module_entry))
12416 );
12417 assert_eq!(
12418 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).size as *const _ as usize },
12419 0usize,
12420 concat!(
12421 "Offset of field: ",
12422 stringify!(_zend_module_entry),
12423 "::",
12424 stringify!(size)
12425 )
12426 );
12427 assert_eq!(
12428 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zend_api as *const _ as usize },
12429 4usize,
12430 concat!(
12431 "Offset of field: ",
12432 stringify!(_zend_module_entry),
12433 "::",
12434 stringify!(zend_api)
12435 )
12436 );
12437 assert_eq!(
12438 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zend_debug as *const _ as usize },
12439 8usize,
12440 concat!(
12441 "Offset of field: ",
12442 stringify!(_zend_module_entry),
12443 "::",
12444 stringify!(zend_debug)
12445 )
12446 );
12447 assert_eq!(
12448 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zts as *const _ as usize },
12449 9usize,
12450 concat!(
12451 "Offset of field: ",
12452 stringify!(_zend_module_entry),
12453 "::",
12454 stringify!(zts)
12455 )
12456 );
12457 assert_eq!(
12458 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).ini_entry as *const _ as usize },
12459 16usize,
12460 concat!(
12461 "Offset of field: ",
12462 stringify!(_zend_module_entry),
12463 "::",
12464 stringify!(ini_entry)
12465 )
12466 );
12467 assert_eq!(
12468 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).deps as *const _ as usize },
12469 24usize,
12470 concat!(
12471 "Offset of field: ",
12472 stringify!(_zend_module_entry),
12473 "::",
12474 stringify!(deps)
12475 )
12476 );
12477 assert_eq!(
12478 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).name as *const _ as usize },
12479 32usize,
12480 concat!(
12481 "Offset of field: ",
12482 stringify!(_zend_module_entry),
12483 "::",
12484 stringify!(name)
12485 )
12486 );
12487 assert_eq!(
12488 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).functions as *const _ as usize },
12489 40usize,
12490 concat!(
12491 "Offset of field: ",
12492 stringify!(_zend_module_entry),
12493 "::",
12494 stringify!(functions)
12495 )
12496 );
12497 assert_eq!(
12498 unsafe {
12499 &(*(::std::ptr::null::<_zend_module_entry>())).module_startup_func as *const _ as usize
12500 },
12501 48usize,
12502 concat!(
12503 "Offset of field: ",
12504 stringify!(_zend_module_entry),
12505 "::",
12506 stringify!(module_startup_func)
12507 )
12508 );
12509 assert_eq!(
12510 unsafe {
12511 &(*(::std::ptr::null::<_zend_module_entry>())).module_shutdown_func as *const _ as usize
12512 },
12513 56usize,
12514 concat!(
12515 "Offset of field: ",
12516 stringify!(_zend_module_entry),
12517 "::",
12518 stringify!(module_shutdown_func)
12519 )
12520 );
12521 assert_eq!(
12522 unsafe {
12523 &(*(::std::ptr::null::<_zend_module_entry>())).request_startup_func as *const _ as usize
12524 },
12525 64usize,
12526 concat!(
12527 "Offset of field: ",
12528 stringify!(_zend_module_entry),
12529 "::",
12530 stringify!(request_startup_func)
12531 )
12532 );
12533 assert_eq!(
12534 unsafe {
12535 &(*(::std::ptr::null::<_zend_module_entry>())).request_shutdown_func as *const _
12536 as usize
12537 },
12538 72usize,
12539 concat!(
12540 "Offset of field: ",
12541 stringify!(_zend_module_entry),
12542 "::",
12543 stringify!(request_shutdown_func)
12544 )
12545 );
12546 assert_eq!(
12547 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).info_func as *const _ as usize },
12548 80usize,
12549 concat!(
12550 "Offset of field: ",
12551 stringify!(_zend_module_entry),
12552 "::",
12553 stringify!(info_func)
12554 )
12555 );
12556 assert_eq!(
12557 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).version as *const _ as usize },
12558 88usize,
12559 concat!(
12560 "Offset of field: ",
12561 stringify!(_zend_module_entry),
12562 "::",
12563 stringify!(version)
12564 )
12565 );
12566 assert_eq!(
12567 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_size as *const _ as usize },
12568 96usize,
12569 concat!(
12570 "Offset of field: ",
12571 stringify!(_zend_module_entry),
12572 "::",
12573 stringify!(globals_size)
12574 )
12575 );
12576 assert_eq!(
12577 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_ptr as *const _ as usize },
12578 104usize,
12579 concat!(
12580 "Offset of field: ",
12581 stringify!(_zend_module_entry),
12582 "::",
12583 stringify!(globals_ptr)
12584 )
12585 );
12586 assert_eq!(
12587 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_ctor as *const _ as usize },
12588 112usize,
12589 concat!(
12590 "Offset of field: ",
12591 stringify!(_zend_module_entry),
12592 "::",
12593 stringify!(globals_ctor)
12594 )
12595 );
12596 assert_eq!(
12597 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_dtor as *const _ as usize },
12598 120usize,
12599 concat!(
12600 "Offset of field: ",
12601 stringify!(_zend_module_entry),
12602 "::",
12603 stringify!(globals_dtor)
12604 )
12605 );
12606 assert_eq!(
12607 unsafe {
12608 &(*(::std::ptr::null::<_zend_module_entry>())).post_deactivate_func as *const _ as usize
12609 },
12610 128usize,
12611 concat!(
12612 "Offset of field: ",
12613 stringify!(_zend_module_entry),
12614 "::",
12615 stringify!(post_deactivate_func)
12616 )
12617 );
12618 assert_eq!(
12619 unsafe {
12620 &(*(::std::ptr::null::<_zend_module_entry>())).module_started as *const _ as usize
12621 },
12622 136usize,
12623 concat!(
12624 "Offset of field: ",
12625 stringify!(_zend_module_entry),
12626 "::",
12627 stringify!(module_started)
12628 )
12629 );
12630 assert_eq!(
12631 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).type_ as *const _ as usize },
12632 140usize,
12633 concat!(
12634 "Offset of field: ",
12635 stringify!(_zend_module_entry),
12636 "::",
12637 stringify!(type_)
12638 )
12639 );
12640 assert_eq!(
12641 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).handle as *const _ as usize },
12642 144usize,
12643 concat!(
12644 "Offset of field: ",
12645 stringify!(_zend_module_entry),
12646 "::",
12647 stringify!(handle)
12648 )
12649 );
12650 assert_eq!(
12651 unsafe {
12652 &(*(::std::ptr::null::<_zend_module_entry>())).module_number as *const _ as usize
12653 },
12654 152usize,
12655 concat!(
12656 "Offset of field: ",
12657 stringify!(_zend_module_entry),
12658 "::",
12659 stringify!(module_number)
12660 )
12661 );
12662 assert_eq!(
12663 unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).build_id as *const _ as usize },
12664 160usize,
12665 concat!(
12666 "Offset of field: ",
12667 stringify!(_zend_module_entry),
12668 "::",
12669 stringify!(build_id)
12670 )
12671 );
12672}
12673#[repr(C)]
12674#[derive(Debug, Copy, Clone)]
12675pub struct _zend_module_dep {
12676 pub name: *const ::std::os::raw::c_char,
12677 pub rel: *const ::std::os::raw::c_char,
12678 pub version: *const ::std::os::raw::c_char,
12679 pub type_: ::std::os::raw::c_uchar,
12680}
12681#[test]
12682fn bindgen_test_layout__zend_module_dep() {
12683 assert_eq!(
12684 ::std::mem::size_of::<_zend_module_dep>(),
12685 32usize,
12686 concat!("Size of: ", stringify!(_zend_module_dep))
12687 );
12688 assert_eq!(
12689 ::std::mem::align_of::<_zend_module_dep>(),
12690 8usize,
12691 concat!("Alignment of ", stringify!(_zend_module_dep))
12692 );
12693 assert_eq!(
12694 unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).name as *const _ as usize },
12695 0usize,
12696 concat!(
12697 "Offset of field: ",
12698 stringify!(_zend_module_dep),
12699 "::",
12700 stringify!(name)
12701 )
12702 );
12703 assert_eq!(
12704 unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).rel as *const _ as usize },
12705 8usize,
12706 concat!(
12707 "Offset of field: ",
12708 stringify!(_zend_module_dep),
12709 "::",
12710 stringify!(rel)
12711 )
12712 );
12713 assert_eq!(
12714 unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).version as *const _ as usize },
12715 16usize,
12716 concat!(
12717 "Offset of field: ",
12718 stringify!(_zend_module_dep),
12719 "::",
12720 stringify!(version)
12721 )
12722 );
12723 assert_eq!(
12724 unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).type_ as *const _ as usize },
12725 24usize,
12726 concat!(
12727 "Offset of field: ",
12728 stringify!(_zend_module_dep),
12729 "::",
12730 stringify!(type_)
12731 )
12732 );
12733}
12734extern "C" {
12735 pub static mut module_registry: HashTable;
12736}
12737pub type rsrc_dtor_func_t = ::std::option::Option<unsafe extern "C" fn(res: *mut zend_resource)>;
12738#[repr(C)]
12739#[derive(Debug, Copy, Clone)]
12740pub struct _zend_rsrc_list_dtors_entry {
12741 pub list_dtor_ex: rsrc_dtor_func_t,
12742 pub plist_dtor_ex: rsrc_dtor_func_t,
12743 pub type_name: *const ::std::os::raw::c_char,
12744 pub module_number: ::std::os::raw::c_int,
12745 pub resource_id: ::std::os::raw::c_int,
12746}
12747#[test]
12748fn bindgen_test_layout__zend_rsrc_list_dtors_entry() {
12749 assert_eq!(
12750 ::std::mem::size_of::<_zend_rsrc_list_dtors_entry>(),
12751 32usize,
12752 concat!("Size of: ", stringify!(_zend_rsrc_list_dtors_entry))
12753 );
12754 assert_eq!(
12755 ::std::mem::align_of::<_zend_rsrc_list_dtors_entry>(),
12756 8usize,
12757 concat!("Alignment of ", stringify!(_zend_rsrc_list_dtors_entry))
12758 );
12759 assert_eq!(
12760 unsafe {
12761 &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).list_dtor_ex as *const _
12762 as usize
12763 },
12764 0usize,
12765 concat!(
12766 "Offset of field: ",
12767 stringify!(_zend_rsrc_list_dtors_entry),
12768 "::",
12769 stringify!(list_dtor_ex)
12770 )
12771 );
12772 assert_eq!(
12773 unsafe {
12774 &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).plist_dtor_ex as *const _
12775 as usize
12776 },
12777 8usize,
12778 concat!(
12779 "Offset of field: ",
12780 stringify!(_zend_rsrc_list_dtors_entry),
12781 "::",
12782 stringify!(plist_dtor_ex)
12783 )
12784 );
12785 assert_eq!(
12786 unsafe {
12787 &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).type_name as *const _ as usize
12788 },
12789 16usize,
12790 concat!(
12791 "Offset of field: ",
12792 stringify!(_zend_rsrc_list_dtors_entry),
12793 "::",
12794 stringify!(type_name)
12795 )
12796 );
12797 assert_eq!(
12798 unsafe {
12799 &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).module_number as *const _
12800 as usize
12801 },
12802 24usize,
12803 concat!(
12804 "Offset of field: ",
12805 stringify!(_zend_rsrc_list_dtors_entry),
12806 "::",
12807 stringify!(module_number)
12808 )
12809 );
12810 assert_eq!(
12811 unsafe {
12812 &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).resource_id as *const _ as usize
12813 },
12814 28usize,
12815 concat!(
12816 "Offset of field: ",
12817 stringify!(_zend_rsrc_list_dtors_entry),
12818 "::",
12819 stringify!(resource_id)
12820 )
12821 );
12822}
12823pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
12824extern "C" {
12825 pub fn zend_register_list_destructors_ex(
12826 ld: rsrc_dtor_func_t,
12827 pld: rsrc_dtor_func_t,
12828 type_name: *const ::std::os::raw::c_char,
12829 module_number: ::std::os::raw::c_int,
12830 ) -> ::std::os::raw::c_int;
12831}
12832extern "C" {
12833 pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
12834}
12835extern "C" {
12836 pub fn zend_init_rsrc_list() -> ::std::os::raw::c_int;
12837}
12838extern "C" {
12839 pub fn zend_init_rsrc_plist() -> ::std::os::raw::c_int;
12840}
12841extern "C" {
12842 pub fn zend_close_rsrc_list(ht: *mut HashTable);
12843}
12844extern "C" {
12845 pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
12846}
12847extern "C" {
12848 pub fn zend_init_rsrc_list_dtors() -> ::std::os::raw::c_int;
12849}
12850extern "C" {
12851 pub fn zend_destroy_rsrc_list_dtors();
12852}
12853extern "C" {
12854 pub fn zend_list_insert(
12855 ptr: *mut ::std::os::raw::c_void,
12856 type_: ::std::os::raw::c_int,
12857 ) -> *mut zval;
12858}
12859extern "C" {
12860 pub fn zend_list_free(res: *mut zend_resource) -> ::std::os::raw::c_int;
12861}
12862extern "C" {
12863 pub fn zend_list_delete(res: *mut zend_resource) -> ::std::os::raw::c_int;
12864}
12865extern "C" {
12866 pub fn zend_list_close(res: *mut zend_resource) -> ::std::os::raw::c_int;
12867}
12868extern "C" {
12869 pub fn zend_register_resource(
12870 rsrc_pointer: *mut ::std::os::raw::c_void,
12871 rsrc_type: ::std::os::raw::c_int,
12872 ) -> *mut zend_resource;
12873}
12874extern "C" {
12875 pub fn zend_fetch_resource(
12876 res: *mut zend_resource,
12877 resource_type_name: *const ::std::os::raw::c_char,
12878 resource_type: ::std::os::raw::c_int,
12879 ) -> *mut ::std::os::raw::c_void;
12880}
12881extern "C" {
12882 pub fn zend_fetch_resource2(
12883 res: *mut zend_resource,
12884 resource_type_name: *const ::std::os::raw::c_char,
12885 resource_type: ::std::os::raw::c_int,
12886 resource_type2: ::std::os::raw::c_int,
12887 ) -> *mut ::std::os::raw::c_void;
12888}
12889extern "C" {
12890 pub fn zend_fetch_resource_ex(
12891 res: *mut zval,
12892 resource_type_name: *const ::std::os::raw::c_char,
12893 resource_type: ::std::os::raw::c_int,
12894 ) -> *mut ::std::os::raw::c_void;
12895}
12896extern "C" {
12897 pub fn zend_fetch_resource2_ex(
12898 res: *mut zval,
12899 resource_type_name: *const ::std::os::raw::c_char,
12900 resource_type: ::std::os::raw::c_int,
12901 resource_type2: ::std::os::raw::c_int,
12902 ) -> *mut ::std::os::raw::c_void;
12903}
12904extern "C" {
12905 pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
12906}
12907extern "C" {
12908 pub fn zend_fetch_list_dtor_id(
12909 type_name: *const ::std::os::raw::c_char,
12910 ) -> ::std::os::raw::c_int;
12911}
12912extern "C" {
12913 pub static mut zend_execute_ex:
12914 ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
12915}
12916extern "C" {
12917 pub static mut zend_execute_internal: ::std::option::Option<
12918 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
12919 >;
12920}
12921extern "C" {
12922 pub fn zend_init_execute_data(
12923 execute_data: *mut zend_execute_data,
12924 op_array: *mut zend_op_array,
12925 return_value: *mut zval,
12926 );
12927}
12928extern "C" {
12929 pub fn zend_create_generator_execute_data(
12930 call: *mut zend_execute_data,
12931 op_array: *mut zend_op_array,
12932 return_value: *mut zval,
12933 ) -> *mut zend_execute_data;
12934}
12935extern "C" {
12936 pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
12937}
12938extern "C" {
12939 pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
12940}
12941extern "C" {
12942 pub fn zend_lookup_class_ex(
12943 name: *mut zend_string,
12944 key: *const zval,
12945 use_autoload: ::std::os::raw::c_int,
12946 ) -> *mut zend_class_entry;
12947}
12948extern "C" {
12949 pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
12950}
12951extern "C" {
12952 pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
12953}
12954extern "C" {
12955 pub fn zend_eval_string(
12956 str_: *mut ::std::os::raw::c_char,
12957 retval_ptr: *mut zval,
12958 string_name: *mut ::std::os::raw::c_char,
12959 ) -> ::std::os::raw::c_int;
12960}
12961extern "C" {
12962 pub fn zend_eval_stringl(
12963 str_: *mut ::std::os::raw::c_char,
12964 str_len: size_t,
12965 retval_ptr: *mut zval,
12966 string_name: *mut ::std::os::raw::c_char,
12967 ) -> ::std::os::raw::c_int;
12968}
12969extern "C" {
12970 pub fn zend_eval_string_ex(
12971 str_: *mut ::std::os::raw::c_char,
12972 retval_ptr: *mut zval,
12973 string_name: *mut ::std::os::raw::c_char,
12974 handle_exceptions: ::std::os::raw::c_int,
12975 ) -> ::std::os::raw::c_int;
12976}
12977extern "C" {
12978 pub fn zend_eval_stringl_ex(
12979 str_: *mut ::std::os::raw::c_char,
12980 str_len: size_t,
12981 retval_ptr: *mut zval,
12982 string_name: *mut ::std::os::raw::c_char,
12983 handle_exceptions: ::std::os::raw::c_int,
12984 ) -> ::std::os::raw::c_int;
12985}
12986extern "C" {
12987 pub fn zend_check_internal_arg_type(zf: *mut zend_function, arg_num: u32, arg: *mut zval);
12988}
12989extern "C" {
12990 pub fn zend_check_arg_type(
12991 zf: *mut zend_function,
12992 arg_num: u32,
12993 arg: *mut zval,
12994 default_value: *mut zval,
12995 cache_slot: *mut *mut ::std::os::raw::c_void,
12996 ) -> ::std::os::raw::c_int;
12997}
12998extern "C" {
12999 pub fn zend_check_missing_arg(
13000 execute_data: *mut zend_execute_data,
13001 arg_num: u32,
13002 cache_slot: *mut *mut ::std::os::raw::c_void,
13003 );
13004}
13005#[repr(C)]
13006#[derive(Debug, Copy, Clone)]
13007pub struct _zend_vm_stack {
13008 pub top: *mut zval,
13009 pub end: *mut zval,
13010 pub prev: zend_vm_stack,
13011}
13012#[test]
13013fn bindgen_test_layout__zend_vm_stack() {
13014 assert_eq!(
13015 ::std::mem::size_of::<_zend_vm_stack>(),
13016 24usize,
13017 concat!("Size of: ", stringify!(_zend_vm_stack))
13018 );
13019 assert_eq!(
13020 ::std::mem::align_of::<_zend_vm_stack>(),
13021 8usize,
13022 concat!("Alignment of ", stringify!(_zend_vm_stack))
13023 );
13024 assert_eq!(
13025 unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).top as *const _ as usize },
13026 0usize,
13027 concat!(
13028 "Offset of field: ",
13029 stringify!(_zend_vm_stack),
13030 "::",
13031 stringify!(top)
13032 )
13033 );
13034 assert_eq!(
13035 unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).end as *const _ as usize },
13036 8usize,
13037 concat!(
13038 "Offset of field: ",
13039 stringify!(_zend_vm_stack),
13040 "::",
13041 stringify!(end)
13042 )
13043 );
13044 assert_eq!(
13045 unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).prev as *const _ as usize },
13046 16usize,
13047 concat!(
13048 "Offset of field: ",
13049 stringify!(_zend_vm_stack),
13050 "::",
13051 stringify!(prev)
13052 )
13053 );
13054}
13055extern "C" {
13056 pub fn zend_vm_stack_init();
13057}
13058extern "C" {
13059 pub fn zend_vm_stack_destroy();
13060}
13061extern "C" {
13062 pub fn zend_vm_stack_extend(size: size_t) -> *mut ::std::os::raw::c_void;
13063}
13064extern "C" {
13065 pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
13066}
13067extern "C" {
13068 pub fn zend_get_executed_filename_ex() -> *mut zend_string;
13069}
13070extern "C" {
13071 pub fn zend_get_executed_lineno() -> uint;
13072}
13073extern "C" {
13074 pub fn zend_is_executing() -> zend_bool;
13075}
13076extern "C" {
13077 pub fn zend_set_timeout(seconds: zend_long, reset_signals: ::std::os::raw::c_int);
13078}
13079extern "C" {
13080 pub fn zend_unset_timeout();
13081}
13082extern "C" {
13083 pub fn zend_timeout(dummy: ::std::os::raw::c_int);
13084}
13085extern "C" {
13086 pub fn zend_fetch_class(
13087 class_name: *mut zend_string,
13088 fetch_type: ::std::os::raw::c_int,
13089 ) -> *mut zend_class_entry;
13090}
13091extern "C" {
13092 pub fn zend_fetch_class_by_name(
13093 class_name: *mut zend_string,
13094 key: *const zval,
13095 fetch_type: ::std::os::raw::c_int,
13096 ) -> *mut zend_class_entry;
13097}
13098extern "C" {
13099 pub fn zend_verify_abstract_class(ce: *mut zend_class_entry);
13100}
13101extern "C" {
13102 pub fn zend_fetch_dimension_by_zval(result: *mut zval, container: *mut zval, dim: *mut zval);
13103}
13104extern "C" {
13105 pub fn zend_fetch_dimension_by_zval_is(
13106 result: *mut zval,
13107 container: *mut zval,
13108 dim: *mut zval,
13109 dim_type: ::std::os::raw::c_int,
13110 );
13111}
13112extern "C" {
13113 pub fn zend_get_compiled_variable_value(
13114 execute_data_ptr: *const zend_execute_data,
13115 var: u32,
13116 ) -> *mut zval;
13117}
13118extern "C" {
13119 pub fn zend_set_user_opcode_handler(
13120 opcode: zend_uchar,
13121 handler: user_opcode_handler_t,
13122 ) -> ::std::os::raw::c_int;
13123}
13124extern "C" {
13125 pub fn zend_get_user_opcode_handler(opcode: zend_uchar) -> user_opcode_handler_t;
13126}
13127pub type zend_free_op = *mut zval;
13128extern "C" {
13129 pub fn zend_get_zval_ptr(
13130 op_type: ::std::os::raw::c_int,
13131 node: *const znode_op,
13132 execute_data: *const zend_execute_data,
13133 should_free: *mut zend_free_op,
13134 type_: ::std::os::raw::c_int,
13135 ) -> *mut zval;
13136}
13137extern "C" {
13138 pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
13139}
13140extern "C" {
13141 pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
13142}
13143extern "C" {
13144 pub fn zend_cleanup_unfinished_execution(
13145 execute_data: *mut zend_execute_data,
13146 op_num: u32,
13147 catch_op_num: u32,
13148 );
13149}
13150#[repr(C)]
13151#[derive(Debug, Copy, Clone)]
13152pub struct _zend_function_entry {
13153 pub fname: *const ::std::os::raw::c_char,
13154 pub handler: ::std::option::Option<
13155 unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
13156 >,
13157 pub arg_info: *const _zend_internal_arg_info,
13158 pub num_args: u32,
13159 pub flags: u32,
13160}
13161#[test]
13162fn bindgen_test_layout__zend_function_entry() {
13163 assert_eq!(
13164 ::std::mem::size_of::<_zend_function_entry>(),
13165 32usize,
13166 concat!("Size of: ", stringify!(_zend_function_entry))
13167 );
13168 assert_eq!(
13169 ::std::mem::align_of::<_zend_function_entry>(),
13170 8usize,
13171 concat!("Alignment of ", stringify!(_zend_function_entry))
13172 );
13173 assert_eq!(
13174 unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).fname as *const _ as usize },
13175 0usize,
13176 concat!(
13177 "Offset of field: ",
13178 stringify!(_zend_function_entry),
13179 "::",
13180 stringify!(fname)
13181 )
13182 );
13183 assert_eq!(
13184 unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).handler as *const _ as usize },
13185 8usize,
13186 concat!(
13187 "Offset of field: ",
13188 stringify!(_zend_function_entry),
13189 "::",
13190 stringify!(handler)
13191 )
13192 );
13193 assert_eq!(
13194 unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).arg_info as *const _ as usize },
13195 16usize,
13196 concat!(
13197 "Offset of field: ",
13198 stringify!(_zend_function_entry),
13199 "::",
13200 stringify!(arg_info)
13201 )
13202 );
13203 assert_eq!(
13204 unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).num_args as *const _ as usize },
13205 24usize,
13206 concat!(
13207 "Offset of field: ",
13208 stringify!(_zend_function_entry),
13209 "::",
13210 stringify!(num_args)
13211 )
13212 );
13213 assert_eq!(
13214 unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).flags as *const _ as usize },
13215 28usize,
13216 concat!(
13217 "Offset of field: ",
13218 stringify!(_zend_function_entry),
13219 "::",
13220 stringify!(flags)
13221 )
13222 );
13223}
13224pub type zend_function_entry = _zend_function_entry;
13225#[repr(C)]
13226#[derive(Copy, Clone)]
13227pub struct _zend_fcall_info {
13228 pub size: size_t,
13229 pub function_table: *mut HashTable,
13230 pub function_name: zval,
13231 pub symbol_table: *mut zend_array,
13232 pub retval: *mut zval,
13233 pub params: *mut zval,
13234 pub object: *mut zend_object,
13235 pub no_separation: zend_bool,
13236 pub param_count: u32,
13237}
13238#[test]
13239fn bindgen_test_layout__zend_fcall_info() {
13240 assert_eq!(
13241 ::std::mem::size_of::<_zend_fcall_info>(),
13242 72usize,
13243 concat!("Size of: ", stringify!(_zend_fcall_info))
13244 );
13245 assert_eq!(
13246 ::std::mem::align_of::<_zend_fcall_info>(),
13247 8usize,
13248 concat!("Alignment of ", stringify!(_zend_fcall_info))
13249 );
13250 assert_eq!(
13251 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).size as *const _ as usize },
13252 0usize,
13253 concat!(
13254 "Offset of field: ",
13255 stringify!(_zend_fcall_info),
13256 "::",
13257 stringify!(size)
13258 )
13259 );
13260 assert_eq!(
13261 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).function_table as *const _ as usize },
13262 8usize,
13263 concat!(
13264 "Offset of field: ",
13265 stringify!(_zend_fcall_info),
13266 "::",
13267 stringify!(function_table)
13268 )
13269 );
13270 assert_eq!(
13271 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).function_name as *const _ as usize },
13272 16usize,
13273 concat!(
13274 "Offset of field: ",
13275 stringify!(_zend_fcall_info),
13276 "::",
13277 stringify!(function_name)
13278 )
13279 );
13280 assert_eq!(
13281 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).symbol_table as *const _ as usize },
13282 32usize,
13283 concat!(
13284 "Offset of field: ",
13285 stringify!(_zend_fcall_info),
13286 "::",
13287 stringify!(symbol_table)
13288 )
13289 );
13290 assert_eq!(
13291 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).retval as *const _ as usize },
13292 40usize,
13293 concat!(
13294 "Offset of field: ",
13295 stringify!(_zend_fcall_info),
13296 "::",
13297 stringify!(retval)
13298 )
13299 );
13300 assert_eq!(
13301 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).params as *const _ as usize },
13302 48usize,
13303 concat!(
13304 "Offset of field: ",
13305 stringify!(_zend_fcall_info),
13306 "::",
13307 stringify!(params)
13308 )
13309 );
13310 assert_eq!(
13311 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).object as *const _ as usize },
13312 56usize,
13313 concat!(
13314 "Offset of field: ",
13315 stringify!(_zend_fcall_info),
13316 "::",
13317 stringify!(object)
13318 )
13319 );
13320 assert_eq!(
13321 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).no_separation as *const _ as usize },
13322 64usize,
13323 concat!(
13324 "Offset of field: ",
13325 stringify!(_zend_fcall_info),
13326 "::",
13327 stringify!(no_separation)
13328 )
13329 );
13330 assert_eq!(
13331 unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).param_count as *const _ as usize },
13332 68usize,
13333 concat!(
13334 "Offset of field: ",
13335 stringify!(_zend_fcall_info),
13336 "::",
13337 stringify!(param_count)
13338 )
13339 );
13340}
13341pub type zend_fcall_info = _zend_fcall_info;
13342#[repr(C)]
13343#[derive(Debug, Copy, Clone)]
13344pub struct _zend_fcall_info_cache {
13345 pub initialized: zend_bool,
13346 pub function_handler: *mut zend_function,
13347 pub calling_scope: *mut zend_class_entry,
13348 pub called_scope: *mut zend_class_entry,
13349 pub object: *mut zend_object,
13350}
13351#[test]
13352fn bindgen_test_layout__zend_fcall_info_cache() {
13353 assert_eq!(
13354 ::std::mem::size_of::<_zend_fcall_info_cache>(),
13355 40usize,
13356 concat!("Size of: ", stringify!(_zend_fcall_info_cache))
13357 );
13358 assert_eq!(
13359 ::std::mem::align_of::<_zend_fcall_info_cache>(),
13360 8usize,
13361 concat!("Alignment of ", stringify!(_zend_fcall_info_cache))
13362 );
13363 assert_eq!(
13364 unsafe {
13365 &(*(::std::ptr::null::<_zend_fcall_info_cache>())).initialized as *const _ as usize
13366 },
13367 0usize,
13368 concat!(
13369 "Offset of field: ",
13370 stringify!(_zend_fcall_info_cache),
13371 "::",
13372 stringify!(initialized)
13373 )
13374 );
13375 assert_eq!(
13376 unsafe {
13377 &(*(::std::ptr::null::<_zend_fcall_info_cache>())).function_handler as *const _ as usize
13378 },
13379 8usize,
13380 concat!(
13381 "Offset of field: ",
13382 stringify!(_zend_fcall_info_cache),
13383 "::",
13384 stringify!(function_handler)
13385 )
13386 );
13387 assert_eq!(
13388 unsafe {
13389 &(*(::std::ptr::null::<_zend_fcall_info_cache>())).calling_scope as *const _ as usize
13390 },
13391 16usize,
13392 concat!(
13393 "Offset of field: ",
13394 stringify!(_zend_fcall_info_cache),
13395 "::",
13396 stringify!(calling_scope)
13397 )
13398 );
13399 assert_eq!(
13400 unsafe {
13401 &(*(::std::ptr::null::<_zend_fcall_info_cache>())).called_scope as *const _ as usize
13402 },
13403 24usize,
13404 concat!(
13405 "Offset of field: ",
13406 stringify!(_zend_fcall_info_cache),
13407 "::",
13408 stringify!(called_scope)
13409 )
13410 );
13411 assert_eq!(
13412 unsafe { &(*(::std::ptr::null::<_zend_fcall_info_cache>())).object as *const _ as usize },
13413 32usize,
13414 concat!(
13415 "Offset of field: ",
13416 stringify!(_zend_fcall_info_cache),
13417 "::",
13418 stringify!(object)
13419 )
13420 );
13421}
13422pub type zend_fcall_info_cache = _zend_fcall_info_cache;
13423extern "C" {
13424 pub fn zend_next_free_module() -> ::std::os::raw::c_int;
13425}
13426extern "C" {
13427 pub fn zend_get_parameters(
13428 ht: ::std::os::raw::c_int,
13429 param_count: ::std::os::raw::c_int,
13430 ...
13431 ) -> ::std::os::raw::c_int;
13432}
13433extern "C" {
13434 pub fn zend_get_parameters_ex(param_count: ::std::os::raw::c_int, ...)
13435 -> ::std::os::raw::c_int;
13436}
13437extern "C" {
13438 pub fn _zend_get_parameters_array_ex(
13439 param_count: ::std::os::raw::c_int,
13440 argument_array: *mut zval,
13441 ) -> ::std::os::raw::c_int;
13442}
13443extern "C" {
13444 pub fn zend_copy_parameters_array(
13445 param_count: ::std::os::raw::c_int,
13446 argument_array: *mut zval,
13447 ) -> ::std::os::raw::c_int;
13448}
13449extern "C" {
13450 pub fn zend_parse_parameters(
13451 num_args: ::std::os::raw::c_int,
13452 type_spec: *const ::std::os::raw::c_char,
13453 ...
13454 ) -> ::std::os::raw::c_int;
13455}
13456extern "C" {
13457 pub fn zend_parse_parameters_ex(
13458 flags: ::std::os::raw::c_int,
13459 num_args: ::std::os::raw::c_int,
13460 type_spec: *const ::std::os::raw::c_char,
13461 ...
13462 ) -> ::std::os::raw::c_int;
13463}
13464extern "C" {
13465 pub fn zend_parse_parameters_throw(
13466 num_args: ::std::os::raw::c_int,
13467 type_spec: *const ::std::os::raw::c_char,
13468 ...
13469 ) -> ::std::os::raw::c_int;
13470}
13471extern "C" {
13472 pub fn zend_zval_type_name(arg: *const zval) -> *mut ::std::os::raw::c_char;
13473}
13474extern "C" {
13475 pub fn zend_parse_method_parameters(
13476 num_args: ::std::os::raw::c_int,
13477 this_ptr: *mut zval,
13478 type_spec: *const ::std::os::raw::c_char,
13479 ...
13480 ) -> ::std::os::raw::c_int;
13481}
13482extern "C" {
13483 pub fn zend_parse_method_parameters_ex(
13484 flags: ::std::os::raw::c_int,
13485 num_args: ::std::os::raw::c_int,
13486 this_ptr: *mut zval,
13487 type_spec: *const ::std::os::raw::c_char,
13488 ...
13489 ) -> ::std::os::raw::c_int;
13490}
13491extern "C" {
13492 pub fn zend_parse_parameter(
13493 flags: ::std::os::raw::c_int,
13494 arg_num: ::std::os::raw::c_int,
13495 arg: *mut zval,
13496 spec: *const ::std::os::raw::c_char,
13497 ...
13498 ) -> ::std::os::raw::c_int;
13499}
13500extern "C" {
13501 pub fn zend_register_functions(
13502 scope: *mut zend_class_entry,
13503 functions: *const zend_function_entry,
13504 function_table: *mut HashTable,
13505 type_: ::std::os::raw::c_int,
13506 ) -> ::std::os::raw::c_int;
13507}
13508extern "C" {
13509 pub fn zend_unregister_functions(
13510 functions: *const zend_function_entry,
13511 count: ::std::os::raw::c_int,
13512 function_table: *mut HashTable,
13513 );
13514}
13515extern "C" {
13516 pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> ::std::os::raw::c_int;
13517}
13518extern "C" {
13519 pub fn zend_register_internal_module(
13520 module_entry: *mut zend_module_entry,
13521 ) -> *mut zend_module_entry;
13522}
13523extern "C" {
13524 pub fn zend_register_module_ex(module: *mut zend_module_entry) -> *mut zend_module_entry;
13525}
13526extern "C" {
13527 pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> ::std::os::raw::c_int;
13528}
13529extern "C" {
13530 pub fn zend_startup_modules() -> ::std::os::raw::c_int;
13531}
13532extern "C" {
13533 pub fn zend_collect_module_handlers();
13534}
13535extern "C" {
13536 pub fn zend_destroy_modules();
13537}
13538extern "C" {
13539 pub fn zend_check_magic_method_implementation(
13540 ce: *const zend_class_entry,
13541 fptr: *const zend_function,
13542 error_type: ::std::os::raw::c_int,
13543 );
13544}
13545extern "C" {
13546 pub fn zend_register_internal_class(
13547 class_entry: *mut zend_class_entry,
13548 ) -> *mut zend_class_entry;
13549}
13550extern "C" {
13551 pub fn zend_register_internal_class_ex(
13552 class_entry: *mut zend_class_entry,
13553 parent_ce: *mut zend_class_entry,
13554 ) -> *mut zend_class_entry;
13555}
13556extern "C" {
13557 pub fn zend_register_internal_interface(
13558 orig_class_entry: *mut zend_class_entry,
13559 ) -> *mut zend_class_entry;
13560}
13561extern "C" {
13562 pub fn zend_class_implements(
13563 class_entry: *mut zend_class_entry,
13564 num_interfaces: ::std::os::raw::c_int,
13565 ...
13566 );
13567}
13568extern "C" {
13569 pub fn zend_register_class_alias_ex(
13570 name: *const ::std::os::raw::c_char,
13571 name_len: size_t,
13572 ce: *mut zend_class_entry,
13573 ) -> ::std::os::raw::c_int;
13574}
13575extern "C" {
13576 pub fn zend_disable_function(
13577 function_name: *mut ::std::os::raw::c_char,
13578 function_name_length: size_t,
13579 ) -> ::std::os::raw::c_int;
13580}
13581extern "C" {
13582 pub fn zend_disable_class(
13583 class_name: *mut ::std::os::raw::c_char,
13584 class_name_length: size_t,
13585 ) -> ::std::os::raw::c_int;
13586}
13587extern "C" {
13588 pub fn zend_wrong_param_count();
13589}
13590extern "C" {
13591 pub fn zend_is_callable_ex(
13592 callable: *mut zval,
13593 object: *mut zend_object,
13594 check_flags: uint,
13595 callable_name: *mut *mut zend_string,
13596 fcc: *mut zend_fcall_info_cache,
13597 error: *mut *mut ::std::os::raw::c_char,
13598 ) -> zend_bool;
13599}
13600extern "C" {
13601 pub fn zend_is_callable(
13602 callable: *mut zval,
13603 check_flags: uint,
13604 callable_name: *mut *mut zend_string,
13605 ) -> zend_bool;
13606}
13607extern "C" {
13608 pub fn zend_make_callable(
13609 callable: *mut zval,
13610 callable_name: *mut *mut zend_string,
13611 ) -> zend_bool;
13612}
13613extern "C" {
13614 pub fn zend_get_module_version(
13615 module_name: *const ::std::os::raw::c_char,
13616 ) -> *const ::std::os::raw::c_char;
13617}
13618extern "C" {
13619 pub fn zend_get_module_started(
13620 module_name: *const ::std::os::raw::c_char,
13621 ) -> ::std::os::raw::c_int;
13622}
13623extern "C" {
13624 pub fn zend_declare_property_ex(
13625 ce: *mut zend_class_entry,
13626 name: *mut zend_string,
13627 property: *mut zval,
13628 access_type: ::std::os::raw::c_int,
13629 doc_comment: *mut zend_string,
13630 ) -> ::std::os::raw::c_int;
13631}
13632extern "C" {
13633 pub fn zend_declare_property(
13634 ce: *mut zend_class_entry,
13635 name: *const ::std::os::raw::c_char,
13636 name_length: size_t,
13637 property: *mut zval,
13638 access_type: ::std::os::raw::c_int,
13639 ) -> ::std::os::raw::c_int;
13640}
13641extern "C" {
13642 pub fn zend_declare_property_null(
13643 ce: *mut zend_class_entry,
13644 name: *const ::std::os::raw::c_char,
13645 name_length: size_t,
13646 access_type: ::std::os::raw::c_int,
13647 ) -> ::std::os::raw::c_int;
13648}
13649extern "C" {
13650 pub fn zend_declare_property_bool(
13651 ce: *mut zend_class_entry,
13652 name: *const ::std::os::raw::c_char,
13653 name_length: size_t,
13654 value: zend_long,
13655 access_type: ::std::os::raw::c_int,
13656 ) -> ::std::os::raw::c_int;
13657}
13658extern "C" {
13659 pub fn zend_declare_property_long(
13660 ce: *mut zend_class_entry,
13661 name: *const ::std::os::raw::c_char,
13662 name_length: size_t,
13663 value: zend_long,
13664 access_type: ::std::os::raw::c_int,
13665 ) -> ::std::os::raw::c_int;
13666}
13667extern "C" {
13668 pub fn zend_declare_property_double(
13669 ce: *mut zend_class_entry,
13670 name: *const ::std::os::raw::c_char,
13671 name_length: size_t,
13672 value: f64,
13673 access_type: ::std::os::raw::c_int,
13674 ) -> ::std::os::raw::c_int;
13675}
13676extern "C" {
13677 pub fn zend_declare_property_string(
13678 ce: *mut zend_class_entry,
13679 name: *const ::std::os::raw::c_char,
13680 name_length: size_t,
13681 value: *const ::std::os::raw::c_char,
13682 access_type: ::std::os::raw::c_int,
13683 ) -> ::std::os::raw::c_int;
13684}
13685extern "C" {
13686 pub fn zend_declare_property_stringl(
13687 ce: *mut zend_class_entry,
13688 name: *const ::std::os::raw::c_char,
13689 name_length: size_t,
13690 value: *const ::std::os::raw::c_char,
13691 value_len: size_t,
13692 access_type: ::std::os::raw::c_int,
13693 ) -> ::std::os::raw::c_int;
13694}
13695extern "C" {
13696 pub fn zend_declare_class_constant(
13697 ce: *mut zend_class_entry,
13698 name: *const ::std::os::raw::c_char,
13699 name_length: size_t,
13700 value: *mut zval,
13701 ) -> ::std::os::raw::c_int;
13702}
13703extern "C" {
13704 pub fn zend_declare_class_constant_null(
13705 ce: *mut zend_class_entry,
13706 name: *const ::std::os::raw::c_char,
13707 name_length: size_t,
13708 ) -> ::std::os::raw::c_int;
13709}
13710extern "C" {
13711 pub fn zend_declare_class_constant_long(
13712 ce: *mut zend_class_entry,
13713 name: *const ::std::os::raw::c_char,
13714 name_length: size_t,
13715 value: zend_long,
13716 ) -> ::std::os::raw::c_int;
13717}
13718extern "C" {
13719 pub fn zend_declare_class_constant_bool(
13720 ce: *mut zend_class_entry,
13721 name: *const ::std::os::raw::c_char,
13722 name_length: size_t,
13723 value: zend_bool,
13724 ) -> ::std::os::raw::c_int;
13725}
13726extern "C" {
13727 pub fn zend_declare_class_constant_double(
13728 ce: *mut zend_class_entry,
13729 name: *const ::std::os::raw::c_char,
13730 name_length: size_t,
13731 value: f64,
13732 ) -> ::std::os::raw::c_int;
13733}
13734extern "C" {
13735 pub fn zend_declare_class_constant_stringl(
13736 ce: *mut zend_class_entry,
13737 name: *const ::std::os::raw::c_char,
13738 name_length: size_t,
13739 value: *const ::std::os::raw::c_char,
13740 value_length: size_t,
13741 ) -> ::std::os::raw::c_int;
13742}
13743extern "C" {
13744 pub fn zend_declare_class_constant_string(
13745 ce: *mut zend_class_entry,
13746 name: *const ::std::os::raw::c_char,
13747 name_length: size_t,
13748 value: *const ::std::os::raw::c_char,
13749 ) -> ::std::os::raw::c_int;
13750}
13751extern "C" {
13752 pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> ::std::os::raw::c_int;
13753}
13754extern "C" {
13755 pub fn zend_update_property_ex(
13756 scope: *mut zend_class_entry,
13757 object: *mut zval,
13758 name: *mut zend_string,
13759 value: *mut zval,
13760 );
13761}
13762extern "C" {
13763 pub fn zend_update_property(
13764 scope: *mut zend_class_entry,
13765 object: *mut zval,
13766 name: *const ::std::os::raw::c_char,
13767 name_length: size_t,
13768 value: *mut zval,
13769 );
13770}
13771extern "C" {
13772 pub fn zend_update_property_null(
13773 scope: *mut zend_class_entry,
13774 object: *mut zval,
13775 name: *const ::std::os::raw::c_char,
13776 name_length: size_t,
13777 );
13778}
13779extern "C" {
13780 pub fn zend_update_property_bool(
13781 scope: *mut zend_class_entry,
13782 object: *mut zval,
13783 name: *const ::std::os::raw::c_char,
13784 name_length: size_t,
13785 value: zend_long,
13786 );
13787}
13788extern "C" {
13789 pub fn zend_update_property_long(
13790 scope: *mut zend_class_entry,
13791 object: *mut zval,
13792 name: *const ::std::os::raw::c_char,
13793 name_length: size_t,
13794 value: zend_long,
13795 );
13796}
13797extern "C" {
13798 pub fn zend_update_property_double(
13799 scope: *mut zend_class_entry,
13800 object: *mut zval,
13801 name: *const ::std::os::raw::c_char,
13802 name_length: size_t,
13803 value: f64,
13804 );
13805}
13806extern "C" {
13807 pub fn zend_update_property_str(
13808 scope: *mut zend_class_entry,
13809 object: *mut zval,
13810 name: *const ::std::os::raw::c_char,
13811 name_length: size_t,
13812 value: *mut zend_string,
13813 );
13814}
13815extern "C" {
13816 pub fn zend_update_property_string(
13817 scope: *mut zend_class_entry,
13818 object: *mut zval,
13819 name: *const ::std::os::raw::c_char,
13820 name_length: size_t,
13821 value: *const ::std::os::raw::c_char,
13822 );
13823}
13824extern "C" {
13825 pub fn zend_update_property_stringl(
13826 scope: *mut zend_class_entry,
13827 object: *mut zval,
13828 name: *const ::std::os::raw::c_char,
13829 name_length: size_t,
13830 value: *const ::std::os::raw::c_char,
13831 value_length: size_t,
13832 );
13833}
13834extern "C" {
13835 pub fn zend_unset_property(
13836 scope: *mut zend_class_entry,
13837 object: *mut zval,
13838 name: *const ::std::os::raw::c_char,
13839 name_length: size_t,
13840 );
13841}
13842extern "C" {
13843 pub fn zend_update_static_property(
13844 scope: *mut zend_class_entry,
13845 name: *const ::std::os::raw::c_char,
13846 name_length: size_t,
13847 value: *mut zval,
13848 ) -> ::std::os::raw::c_int;
13849}
13850extern "C" {
13851 pub fn zend_update_static_property_null(
13852 scope: *mut zend_class_entry,
13853 name: *const ::std::os::raw::c_char,
13854 name_length: size_t,
13855 ) -> ::std::os::raw::c_int;
13856}
13857extern "C" {
13858 pub fn zend_update_static_property_bool(
13859 scope: *mut zend_class_entry,
13860 name: *const ::std::os::raw::c_char,
13861 name_length: size_t,
13862 value: zend_long,
13863 ) -> ::std::os::raw::c_int;
13864}
13865extern "C" {
13866 pub fn zend_update_static_property_long(
13867 scope: *mut zend_class_entry,
13868 name: *const ::std::os::raw::c_char,
13869 name_length: size_t,
13870 value: zend_long,
13871 ) -> ::std::os::raw::c_int;
13872}
13873extern "C" {
13874 pub fn zend_update_static_property_double(
13875 scope: *mut zend_class_entry,
13876 name: *const ::std::os::raw::c_char,
13877 name_length: size_t,
13878 value: f64,
13879 ) -> ::std::os::raw::c_int;
13880}
13881extern "C" {
13882 pub fn zend_update_static_property_string(
13883 scope: *mut zend_class_entry,
13884 name: *const ::std::os::raw::c_char,
13885 name_length: size_t,
13886 value: *const ::std::os::raw::c_char,
13887 ) -> ::std::os::raw::c_int;
13888}
13889extern "C" {
13890 pub fn zend_update_static_property_stringl(
13891 scope: *mut zend_class_entry,
13892 name: *const ::std::os::raw::c_char,
13893 name_length: size_t,
13894 value: *const ::std::os::raw::c_char,
13895 value_length: size_t,
13896 ) -> ::std::os::raw::c_int;
13897}
13898extern "C" {
13899 pub fn zend_read_property(
13900 scope: *mut zend_class_entry,
13901 object: *mut zval,
13902 name: *const ::std::os::raw::c_char,
13903 name_length: size_t,
13904 silent: zend_bool,
13905 rv: *mut zval,
13906 ) -> *mut zval;
13907}
13908extern "C" {
13909 pub fn zend_read_static_property(
13910 scope: *mut zend_class_entry,
13911 name: *const ::std::os::raw::c_char,
13912 name_length: size_t,
13913 silent: zend_bool,
13914 ) -> *mut zval;
13915}
13916extern "C" {
13917 pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
13918}
13919extern "C" {
13920 pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
13921}
13922extern "C" {
13923 pub static empty_fcall_info: zend_fcall_info;
13924}
13925extern "C" {
13926 pub static empty_fcall_info_cache: zend_fcall_info_cache;
13927}
13928extern "C" {
13929 #[doc = " Build zend_call_info/cache from a zval*"]
13930 #[doc = ""]
13931 #[doc = " Caller is responsible to provide a return value (fci->retval), otherwise the we will crash."]
13932 #[doc = " In order to pass parameters the following members need to be set:"]
13933 #[doc = " fci->param_count = 0;"]
13934 #[doc = " fci->params = NULL;"]
13935 #[doc = " The callable_name argument may be NULL."]
13936 #[doc = " Set check_flags to IS_CALLABLE_STRICT for every new usage!"]
13937 pub fn zend_fcall_info_init(
13938 callable: *mut zval,
13939 check_flags: uint,
13940 fci: *mut zend_fcall_info,
13941 fcc: *mut zend_fcall_info_cache,
13942 callable_name: *mut *mut zend_string,
13943 error: *mut *mut ::std::os::raw::c_char,
13944 ) -> ::std::os::raw::c_int;
13945}
13946extern "C" {
13947 #[doc = " Clear arguments connected with zend_fcall_info *fci"]
13948 #[doc = " If free_mem is not zero then the params array gets free'd as well"]
13949 pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: ::std::os::raw::c_int);
13950}
13951extern "C" {
13952 #[doc = " Save current arguments from zend_fcall_info *fci"]
13953 #[doc = " params array will be set to NULL"]
13954 pub fn zend_fcall_info_args_save(
13955 fci: *mut zend_fcall_info,
13956 param_count: *mut ::std::os::raw::c_int,
13957 params: *mut *mut zval,
13958 );
13959}
13960extern "C" {
13961 #[doc = " Free arguments connected with zend_fcall_info *fci andset back saved ones."]
13962 pub fn zend_fcall_info_args_restore(
13963 fci: *mut zend_fcall_info,
13964 param_count: ::std::os::raw::c_int,
13965 params: *mut zval,
13966 );
13967}
13968extern "C" {
13969 #[doc = " Set or clear the arguments in the zend_call_info struct taking care of"]
13970 #[doc = " refcount. If args is NULL and arguments are set then those are cleared."]
13971 pub fn zend_fcall_info_args(
13972 fci: *mut zend_fcall_info,
13973 args: *mut zval,
13974 ) -> ::std::os::raw::c_int;
13975}
13976extern "C" {
13977 pub fn zend_fcall_info_args_ex(
13978 fci: *mut zend_fcall_info,
13979 func: *mut zend_function,
13980 args: *mut zval,
13981 ) -> ::std::os::raw::c_int;
13982}
13983extern "C" {
13984 #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
13985 #[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
13986 #[doc = " a variable amount of zval** arguments."]
13987 pub fn zend_fcall_info_argp(
13988 fci: *mut zend_fcall_info,
13989 argc: ::std::os::raw::c_int,
13990 argv: *mut zval,
13991 ) -> ::std::os::raw::c_int;
13992}
13993extern "C" {
13994 #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
13995 #[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
13996 #[doc = " a variable amount of zval** arguments."]
13997 pub fn zend_fcall_info_argv(
13998 fci: *mut zend_fcall_info,
13999 argc: ::std::os::raw::c_int,
14000 argv: *mut va_list,
14001 ) -> ::std::os::raw::c_int;
14002}
14003extern "C" {
14004 #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
14005 #[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
14006 #[doc = " a variable amount of zval** arguments."]
14007 pub fn zend_fcall_info_argn(
14008 fci: *mut zend_fcall_info,
14009 argc: ::std::os::raw::c_int,
14010 ...
14011 ) -> ::std::os::raw::c_int;
14012}
14013extern "C" {
14014 #[doc = " Call a function using information created by zend_fcall_info_init()/args()."]
14015 #[doc = " If args is given then those replace the argument info in fci is temporarily."]
14016 pub fn zend_fcall_info_call(
14017 fci: *mut zend_fcall_info,
14018 fcc: *mut zend_fcall_info_cache,
14019 retval: *mut zval,
14020 args: *mut zval,
14021 ) -> ::std::os::raw::c_int;
14022}
14023extern "C" {
14024 pub fn zend_call_function(
14025 fci: *mut zend_fcall_info,
14026 fci_cache: *mut zend_fcall_info_cache,
14027 ) -> ::std::os::raw::c_int;
14028}
14029extern "C" {
14030 pub fn zend_set_hash_symbol(
14031 symbol: *mut zval,
14032 name: *const ::std::os::raw::c_char,
14033 name_length: ::std::os::raw::c_int,
14034 is_ref: zend_bool,
14035 num_symbol_tables: ::std::os::raw::c_int,
14036 ...
14037 ) -> ::std::os::raw::c_int;
14038}
14039extern "C" {
14040 pub fn zend_delete_global_variable(name: *mut zend_string) -> ::std::os::raw::c_int;
14041}
14042extern "C" {
14043 pub fn zend_rebuild_symbol_table() -> *mut zend_array;
14044}
14045extern "C" {
14046 pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
14047}
14048extern "C" {
14049 pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
14050}
14051extern "C" {
14052 pub fn zend_set_local_var(
14053 name: *mut zend_string,
14054 value: *mut zval,
14055 force: ::std::os::raw::c_int,
14056 ) -> ::std::os::raw::c_int;
14057}
14058extern "C" {
14059 pub fn zend_set_local_var_str(
14060 name: *const ::std::os::raw::c_char,
14061 len: size_t,
14062 value: *mut zval,
14063 force: ::std::os::raw::c_int,
14064 ) -> ::std::os::raw::c_int;
14065}
14066extern "C" {
14067 pub fn zend_find_alias_name(
14068 ce: *mut zend_class_entry,
14069 name: *mut zend_string,
14070 ) -> *mut zend_string;
14071}
14072extern "C" {
14073 pub fn zend_resolve_method_name(
14074 ce: *mut zend_class_entry,
14075 f: *mut zend_function,
14076 ) -> *mut zend_string;
14077}
14078extern "C" {
14079 pub fn zend_get_object_type(ce: *const zend_class_entry) -> *const ::std::os::raw::c_char;
14080}
14081pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
14082pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 1;
14083pub const _zend_expected_type_Z_EXPECTED_STRING: _zend_expected_type = 2;
14084pub const _zend_expected_type_Z_EXPECTED_ARRAY: _zend_expected_type = 3;
14085pub const _zend_expected_type_Z_EXPECTED_FUNC: _zend_expected_type = 4;
14086pub const _zend_expected_type_Z_EXPECTED_RESOURCE: _zend_expected_type = 5;
14087pub const _zend_expected_type_Z_EXPECTED_PATH: _zend_expected_type = 6;
14088pub const _zend_expected_type_Z_EXPECTED_OBJECT: _zend_expected_type = 7;
14089pub const _zend_expected_type_Z_EXPECTED_DOUBLE: _zend_expected_type = 8;
14090pub const _zend_expected_type_Z_EXPECTED_LAST: _zend_expected_type = 9;
14091pub type _zend_expected_type = ::std::os::raw::c_uint;
14092pub use self::_zend_expected_type as zend_expected_type;
14093extern "C" {
14094 pub fn zend_wrong_paramers_count_error(
14095 num_args: ::std::os::raw::c_int,
14096 min_num_args: ::std::os::raw::c_int,
14097 max_num_args: ::std::os::raw::c_int,
14098 );
14099}
14100extern "C" {
14101 pub fn zend_wrong_paramer_type_error(
14102 num: ::std::os::raw::c_int,
14103 expected_type: zend_expected_type,
14104 arg: *mut zval,
14105 );
14106}
14107extern "C" {
14108 pub fn zend_wrong_paramer_class_error(
14109 num: ::std::os::raw::c_int,
14110 name: *mut ::std::os::raw::c_char,
14111 arg: *mut zval,
14112 );
14113}
14114extern "C" {
14115 pub fn zend_wrong_callback_error(
14116 severity: ::std::os::raw::c_int,
14117 num: ::std::os::raw::c_int,
14118 error: *mut ::std::os::raw::c_char,
14119 );
14120}
14121extern "C" {
14122 pub fn zend_parse_arg_class(
14123 arg: *mut zval,
14124 pce: *mut *mut zend_class_entry,
14125 num: ::std::os::raw::c_int,
14126 check_null: ::std::os::raw::c_int,
14127 ) -> ::std::os::raw::c_int;
14128}
14129extern "C" {
14130 pub fn zend_parse_arg_bool_slow(arg: *mut zval, dest: *mut zend_bool) -> ::std::os::raw::c_int;
14131}
14132extern "C" {
14133 pub fn zend_parse_arg_bool_weak(arg: *mut zval, dest: *mut zend_bool) -> ::std::os::raw::c_int;
14134}
14135extern "C" {
14136 pub fn zend_parse_arg_long_slow(arg: *mut zval, dest: *mut zend_long) -> ::std::os::raw::c_int;
14137}
14138extern "C" {
14139 pub fn zend_parse_arg_long_weak(arg: *mut zval, dest: *mut zend_long) -> ::std::os::raw::c_int;
14140}
14141extern "C" {
14142 pub fn zend_parse_arg_long_cap_slow(
14143 arg: *mut zval,
14144 dest: *mut zend_long,
14145 ) -> ::std::os::raw::c_int;
14146}
14147extern "C" {
14148 pub fn zend_parse_arg_long_cap_weak(
14149 arg: *mut zval,
14150 dest: *mut zend_long,
14151 ) -> ::std::os::raw::c_int;
14152}
14153extern "C" {
14154 pub fn zend_parse_arg_double_slow(arg: *mut zval, dest: *mut f64) -> ::std::os::raw::c_int;
14155}
14156extern "C" {
14157 pub fn zend_parse_arg_double_weak(arg: *mut zval, dest: *mut f64) -> ::std::os::raw::c_int;
14158}
14159extern "C" {
14160 pub fn zend_parse_arg_str_slow(
14161 arg: *mut zval,
14162 dest: *mut *mut zend_string,
14163 ) -> ::std::os::raw::c_int;
14164}
14165extern "C" {
14166 pub fn zend_parse_arg_str_weak(
14167 arg: *mut zval,
14168 dest: *mut *mut zend_string,
14169 ) -> ::std::os::raw::c_int;
14170}
14171extern "C" {
14172 pub fn php_strlcpy(
14173 dst: *mut ::std::os::raw::c_char,
14174 src: *const ::std::os::raw::c_char,
14175 siz: size_t,
14176 ) -> size_t;
14177}
14178extern "C" {
14179 pub fn php_strlcat(
14180 dst: *mut ::std::os::raw::c_char,
14181 src: *const ::std::os::raw::c_char,
14182 siz: size_t,
14183 ) -> size_t;
14184}
14185pub type socklen_t = __socklen_t;
14186pub type bool_int = ::std::os::raw::c_int;
14187pub const boolean_e_NO: boolean_e = 0;
14188pub const boolean_e_YES: boolean_e = 1;
14189pub type boolean_e = ::std::os::raw::c_uint;
14190extern "C" {
14191 pub fn php_sprintf(
14192 s: *mut ::std::os::raw::c_char,
14193 format: *const ::std::os::raw::c_char,
14194 ...
14195 ) -> ::std::os::raw::c_int;
14196}
14197extern "C" {
14198 pub fn php_gcvt(
14199 value: f64,
14200 ndigit: ::std::os::raw::c_int,
14201 dec_point: ::std::os::raw::c_char,
14202 exponent: ::std::os::raw::c_char,
14203 buf: *mut ::std::os::raw::c_char,
14204 ) -> *mut ::std::os::raw::c_char;
14205}
14206extern "C" {
14207 pub fn php_conv_fp(
14208 format: ::std::os::raw::c_char,
14209 num: f64,
14210 add_dp: boolean_e,
14211 precision: ::std::os::raw::c_int,
14212 dec_point: ::std::os::raw::c_char,
14213 is_negative: *mut bool_int,
14214 buf: *mut ::std::os::raw::c_char,
14215 len: *mut size_t,
14216 ) -> *mut ::std::os::raw::c_char;
14217}
14218extern "C" {
14219 pub fn php_write(buf: *mut ::std::os::raw::c_void, size: size_t) -> size_t;
14220}
14221extern "C" {
14222 pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> size_t;
14223}
14224extern "C" {
14225 pub fn php_get_module_initialized() -> ::std::os::raw::c_int;
14226}
14227extern "C" {
14228 pub fn php_log_err(log_message: *mut ::std::os::raw::c_char);
14229}
14230extern "C" {
14231 pub fn php_verror(
14232 docref: *const ::std::os::raw::c_char,
14233 params: *const ::std::os::raw::c_char,
14234 type_: ::std::os::raw::c_int,
14235 format: *const ::std::os::raw::c_char,
14236 args: *mut __va_list_tag,
14237 );
14238}
14239extern "C" {
14240 pub fn php_error_docref0(
14241 docref: *const ::std::os::raw::c_char,
14242 type_: ::std::os::raw::c_int,
14243 format: *const ::std::os::raw::c_char,
14244 ...
14245 );
14246}
14247extern "C" {
14248 pub fn php_error_docref1(
14249 docref: *const ::std::os::raw::c_char,
14250 param1: *const ::std::os::raw::c_char,
14251 type_: ::std::os::raw::c_int,
14252 format: *const ::std::os::raw::c_char,
14253 ...
14254 );
14255}
14256extern "C" {
14257 pub fn php_error_docref2(
14258 docref: *const ::std::os::raw::c_char,
14259 param1: *const ::std::os::raw::c_char,
14260 param2: *const ::std::os::raw::c_char,
14261 type_: ::std::os::raw::c_int,
14262 format: *const ::std::os::raw::c_char,
14263 ...
14264 );
14265}
14266extern "C" {
14267 pub static mut php_register_internal_extensions_func:
14268 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
14269}
14270extern "C" {
14271 pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
14272}
14273extern "C" {
14274 pub fn php_mergesort(
14275 base: *mut ::std::os::raw::c_void,
14276 nmemb: size_t,
14277 size: size_t,
14278 cmp: ::std::option::Option<
14279 unsafe extern "C" fn(
14280 arg1: *const ::std::os::raw::c_void,
14281 arg2: *const ::std::os::raw::c_void,
14282 ) -> ::std::os::raw::c_int,
14283 >,
14284 ) -> ::std::os::raw::c_int;
14285}
14286extern "C" {
14287 pub fn php_register_pre_request_shutdown(
14288 func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
14289 userdata: *mut ::std::os::raw::c_void,
14290 );
14291}
14292extern "C" {
14293 pub fn php_com_initialize();
14294}
14295extern "C" {
14296 pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
14297}
14298pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
14299 0;
14300pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
14301 1;
14302pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
14303 2;
14304pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
14305 3;
14306pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
14307 4;
14308pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
14309pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
14310pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
14311#[repr(C)]
14312#[derive(Debug, Copy, Clone)]
14313pub struct _php_output_buffer {
14314 pub data: *mut ::std::os::raw::c_char,
14315 pub size: size_t,
14316 pub used: size_t,
14317 pub _bitfield_align_1: [u32; 0],
14318 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
14319 pub __bindgen_padding_0: u32,
14320}
14321#[test]
14322fn bindgen_test_layout__php_output_buffer() {
14323 assert_eq!(
14324 ::std::mem::size_of::<_php_output_buffer>(),
14325 32usize,
14326 concat!("Size of: ", stringify!(_php_output_buffer))
14327 );
14328 assert_eq!(
14329 ::std::mem::align_of::<_php_output_buffer>(),
14330 8usize,
14331 concat!("Alignment of ", stringify!(_php_output_buffer))
14332 );
14333 assert_eq!(
14334 unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).data as *const _ as usize },
14335 0usize,
14336 concat!(
14337 "Offset of field: ",
14338 stringify!(_php_output_buffer),
14339 "::",
14340 stringify!(data)
14341 )
14342 );
14343 assert_eq!(
14344 unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).size as *const _ as usize },
14345 8usize,
14346 concat!(
14347 "Offset of field: ",
14348 stringify!(_php_output_buffer),
14349 "::",
14350 stringify!(size)
14351 )
14352 );
14353 assert_eq!(
14354 unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).used as *const _ as usize },
14355 16usize,
14356 concat!(
14357 "Offset of field: ",
14358 stringify!(_php_output_buffer),
14359 "::",
14360 stringify!(used)
14361 )
14362 );
14363}
14364impl _php_output_buffer {
14365 #[inline]
14366 pub fn free(&self) -> uint {
14367 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
14368 }
14369 #[inline]
14370 pub fn set_free(&mut self, val: uint) {
14371 unsafe {
14372 let val: u32 = ::std::mem::transmute(val);
14373 self._bitfield_1.set(0usize, 1u8, val as u64)
14374 }
14375 }
14376 #[inline]
14377 pub fn _reserved(&self) -> uint {
14378 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
14379 }
14380 #[inline]
14381 pub fn set__reserved(&mut self, val: uint) {
14382 unsafe {
14383 let val: u32 = ::std::mem::transmute(val);
14384 self._bitfield_1.set(1usize, 31u8, val as u64)
14385 }
14386 }
14387 #[inline]
14388 pub fn new_bitfield_1(free: uint, _reserved: uint) -> __BindgenBitfieldUnit<[u8; 4usize]> {
14389 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
14390 __bindgen_bitfield_unit.set(0usize, 1u8, {
14391 let free: u32 = unsafe { ::std::mem::transmute(free) };
14392 free as u64
14393 });
14394 __bindgen_bitfield_unit.set(1usize, 31u8, {
14395 let _reserved: u32 = unsafe { ::std::mem::transmute(_reserved) };
14396 _reserved as u64
14397 });
14398 __bindgen_bitfield_unit
14399 }
14400}
14401pub type php_output_buffer = _php_output_buffer;
14402#[repr(C)]
14403#[derive(Debug, Copy, Clone)]
14404pub struct _php_output_context {
14405 pub op: ::std::os::raw::c_int,
14406 pub in_: php_output_buffer,
14407 pub out: php_output_buffer,
14408}
14409#[test]
14410fn bindgen_test_layout__php_output_context() {
14411 assert_eq!(
14412 ::std::mem::size_of::<_php_output_context>(),
14413 72usize,
14414 concat!("Size of: ", stringify!(_php_output_context))
14415 );
14416 assert_eq!(
14417 ::std::mem::align_of::<_php_output_context>(),
14418 8usize,
14419 concat!("Alignment of ", stringify!(_php_output_context))
14420 );
14421 assert_eq!(
14422 unsafe { &(*(::std::ptr::null::<_php_output_context>())).op as *const _ as usize },
14423 0usize,
14424 concat!(
14425 "Offset of field: ",
14426 stringify!(_php_output_context),
14427 "::",
14428 stringify!(op)
14429 )
14430 );
14431 assert_eq!(
14432 unsafe { &(*(::std::ptr::null::<_php_output_context>())).in_ as *const _ as usize },
14433 8usize,
14434 concat!(
14435 "Offset of field: ",
14436 stringify!(_php_output_context),
14437 "::",
14438 stringify!(in_)
14439 )
14440 );
14441 assert_eq!(
14442 unsafe { &(*(::std::ptr::null::<_php_output_context>())).out as *const _ as usize },
14443 40usize,
14444 concat!(
14445 "Offset of field: ",
14446 stringify!(_php_output_context),
14447 "::",
14448 stringify!(out)
14449 )
14450 );
14451}
14452pub type php_output_context = _php_output_context;
14453pub type php_output_handler_func_t = ::std::option::Option<
14454 unsafe extern "C" fn(
14455 output: *mut ::std::os::raw::c_char,
14456 output_len: size_t,
14457 handled_output: *mut *mut ::std::os::raw::c_char,
14458 handled_output_len: *mut size_t,
14459 mode: ::std::os::raw::c_int,
14460 ),
14461>;
14462pub type php_output_handler_context_func_t = ::std::option::Option<
14463 unsafe extern "C" fn(
14464 handler_context: *mut *mut ::std::os::raw::c_void,
14465 output_context: *mut php_output_context,
14466 ) -> ::std::os::raw::c_int,
14467>;
14468pub type php_output_handler_conflict_check_t = ::std::option::Option<
14469 unsafe extern "C" fn(
14470 handler_name: *const ::std::os::raw::c_char,
14471 handler_name_len: size_t,
14472 ) -> ::std::os::raw::c_int,
14473>;
14474pub type php_output_handler_alias_ctor_t = ::std::option::Option<
14475 unsafe extern "C" fn(
14476 handler_name: *const ::std::os::raw::c_char,
14477 handler_name_len: size_t,
14478 chunk_size: size_t,
14479 flags: ::std::os::raw::c_int,
14480 ) -> *mut _php_output_handler,
14481>;
14482#[repr(C)]
14483#[derive(Copy, Clone)]
14484pub struct _php_output_handler_user_func_t {
14485 pub fci: zend_fcall_info,
14486 pub fcc: zend_fcall_info_cache,
14487 pub zoh: zval,
14488}
14489#[test]
14490fn bindgen_test_layout__php_output_handler_user_func_t() {
14491 assert_eq!(
14492 ::std::mem::size_of::<_php_output_handler_user_func_t>(),
14493 128usize,
14494 concat!("Size of: ", stringify!(_php_output_handler_user_func_t))
14495 );
14496 assert_eq!(
14497 ::std::mem::align_of::<_php_output_handler_user_func_t>(),
14498 8usize,
14499 concat!("Alignment of ", stringify!(_php_output_handler_user_func_t))
14500 );
14501 assert_eq!(
14502 unsafe {
14503 &(*(::std::ptr::null::<_php_output_handler_user_func_t>())).fci as *const _ as usize
14504 },
14505 0usize,
14506 concat!(
14507 "Offset of field: ",
14508 stringify!(_php_output_handler_user_func_t),
14509 "::",
14510 stringify!(fci)
14511 )
14512 );
14513 assert_eq!(
14514 unsafe {
14515 &(*(::std::ptr::null::<_php_output_handler_user_func_t>())).fcc as *const _ as usize
14516 },
14517 72usize,
14518 concat!(
14519 "Offset of field: ",
14520 stringify!(_php_output_handler_user_func_t),
14521 "::",
14522 stringify!(fcc)
14523 )
14524 );
14525 assert_eq!(
14526 unsafe {
14527 &(*(::std::ptr::null::<_php_output_handler_user_func_t>())).zoh as *const _ as usize
14528 },
14529 112usize,
14530 concat!(
14531 "Offset of field: ",
14532 stringify!(_php_output_handler_user_func_t),
14533 "::",
14534 stringify!(zoh)
14535 )
14536 );
14537}
14538pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
14539#[repr(C)]
14540#[derive(Copy, Clone)]
14541pub struct _php_output_handler {
14542 pub name: *mut zend_string,
14543 pub flags: ::std::os::raw::c_int,
14544 pub level: ::std::os::raw::c_int,
14545 pub size: size_t,
14546 pub buffer: php_output_buffer,
14547 pub opaq: *mut ::std::os::raw::c_void,
14548 pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
14549 pub func: _php_output_handler__bindgen_ty_1,
14550}
14551#[repr(C)]
14552#[derive(Copy, Clone)]
14553pub union _php_output_handler__bindgen_ty_1 {
14554 pub user: *mut php_output_handler_user_func_t,
14555 pub internal: php_output_handler_context_func_t,
14556 _bindgen_union_align: u64,
14557}
14558#[test]
14559fn bindgen_test_layout__php_output_handler__bindgen_ty_1() {
14560 assert_eq!(
14561 ::std::mem::size_of::<_php_output_handler__bindgen_ty_1>(),
14562 8usize,
14563 concat!("Size of: ", stringify!(_php_output_handler__bindgen_ty_1))
14564 );
14565 assert_eq!(
14566 ::std::mem::align_of::<_php_output_handler__bindgen_ty_1>(),
14567 8usize,
14568 concat!(
14569 "Alignment of ",
14570 stringify!(_php_output_handler__bindgen_ty_1)
14571 )
14572 );
14573 assert_eq!(
14574 unsafe {
14575 &(*(::std::ptr::null::<_php_output_handler__bindgen_ty_1>())).user as *const _ as usize
14576 },
14577 0usize,
14578 concat!(
14579 "Offset of field: ",
14580 stringify!(_php_output_handler__bindgen_ty_1),
14581 "::",
14582 stringify!(user)
14583 )
14584 );
14585 assert_eq!(
14586 unsafe {
14587 &(*(::std::ptr::null::<_php_output_handler__bindgen_ty_1>())).internal as *const _
14588 as usize
14589 },
14590 0usize,
14591 concat!(
14592 "Offset of field: ",
14593 stringify!(_php_output_handler__bindgen_ty_1),
14594 "::",
14595 stringify!(internal)
14596 )
14597 );
14598}
14599#[test]
14600fn bindgen_test_layout__php_output_handler() {
14601 assert_eq!(
14602 ::std::mem::size_of::<_php_output_handler>(),
14603 80usize,
14604 concat!("Size of: ", stringify!(_php_output_handler))
14605 );
14606 assert_eq!(
14607 ::std::mem::align_of::<_php_output_handler>(),
14608 8usize,
14609 concat!("Alignment of ", stringify!(_php_output_handler))
14610 );
14611 assert_eq!(
14612 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).name as *const _ as usize },
14613 0usize,
14614 concat!(
14615 "Offset of field: ",
14616 stringify!(_php_output_handler),
14617 "::",
14618 stringify!(name)
14619 )
14620 );
14621 assert_eq!(
14622 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).flags as *const _ as usize },
14623 8usize,
14624 concat!(
14625 "Offset of field: ",
14626 stringify!(_php_output_handler),
14627 "::",
14628 stringify!(flags)
14629 )
14630 );
14631 assert_eq!(
14632 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).level as *const _ as usize },
14633 12usize,
14634 concat!(
14635 "Offset of field: ",
14636 stringify!(_php_output_handler),
14637 "::",
14638 stringify!(level)
14639 )
14640 );
14641 assert_eq!(
14642 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).size as *const _ as usize },
14643 16usize,
14644 concat!(
14645 "Offset of field: ",
14646 stringify!(_php_output_handler),
14647 "::",
14648 stringify!(size)
14649 )
14650 );
14651 assert_eq!(
14652 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).buffer as *const _ as usize },
14653 24usize,
14654 concat!(
14655 "Offset of field: ",
14656 stringify!(_php_output_handler),
14657 "::",
14658 stringify!(buffer)
14659 )
14660 );
14661 assert_eq!(
14662 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).opaq as *const _ as usize },
14663 56usize,
14664 concat!(
14665 "Offset of field: ",
14666 stringify!(_php_output_handler),
14667 "::",
14668 stringify!(opaq)
14669 )
14670 );
14671 assert_eq!(
14672 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).dtor as *const _ as usize },
14673 64usize,
14674 concat!(
14675 "Offset of field: ",
14676 stringify!(_php_output_handler),
14677 "::",
14678 stringify!(dtor)
14679 )
14680 );
14681 assert_eq!(
14682 unsafe { &(*(::std::ptr::null::<_php_output_handler>())).func as *const _ as usize },
14683 72usize,
14684 concat!(
14685 "Offset of field: ",
14686 stringify!(_php_output_handler),
14687 "::",
14688 stringify!(func)
14689 )
14690 );
14691}
14692pub type php_output_handler = _php_output_handler;
14693#[repr(C)]
14694#[derive(Debug, Copy, Clone)]
14695pub struct _zend_output_globals {
14696 pub handlers: zend_stack,
14697 pub active: *mut php_output_handler,
14698 pub running: *mut php_output_handler,
14699 pub output_start_filename: *const ::std::os::raw::c_char,
14700 pub output_start_lineno: ::std::os::raw::c_int,
14701 pub flags: ::std::os::raw::c_int,
14702}
14703#[test]
14704fn bindgen_test_layout__zend_output_globals() {
14705 assert_eq!(
14706 ::std::mem::size_of::<_zend_output_globals>(),
14707 56usize,
14708 concat!("Size of: ", stringify!(_zend_output_globals))
14709 );
14710 assert_eq!(
14711 ::std::mem::align_of::<_zend_output_globals>(),
14712 8usize,
14713 concat!("Alignment of ", stringify!(_zend_output_globals))
14714 );
14715 assert_eq!(
14716 unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).handlers as *const _ as usize },
14717 0usize,
14718 concat!(
14719 "Offset of field: ",
14720 stringify!(_zend_output_globals),
14721 "::",
14722 stringify!(handlers)
14723 )
14724 );
14725 assert_eq!(
14726 unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).active as *const _ as usize },
14727 24usize,
14728 concat!(
14729 "Offset of field: ",
14730 stringify!(_zend_output_globals),
14731 "::",
14732 stringify!(active)
14733 )
14734 );
14735 assert_eq!(
14736 unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).running as *const _ as usize },
14737 32usize,
14738 concat!(
14739 "Offset of field: ",
14740 stringify!(_zend_output_globals),
14741 "::",
14742 stringify!(running)
14743 )
14744 );
14745 assert_eq!(
14746 unsafe {
14747 &(*(::std::ptr::null::<_zend_output_globals>())).output_start_filename as *const _
14748 as usize
14749 },
14750 40usize,
14751 concat!(
14752 "Offset of field: ",
14753 stringify!(_zend_output_globals),
14754 "::",
14755 stringify!(output_start_filename)
14756 )
14757 );
14758 assert_eq!(
14759 unsafe {
14760 &(*(::std::ptr::null::<_zend_output_globals>())).output_start_lineno as *const _
14761 as usize
14762 },
14763 48usize,
14764 concat!(
14765 "Offset of field: ",
14766 stringify!(_zend_output_globals),
14767 "::",
14768 stringify!(output_start_lineno)
14769 )
14770 );
14771 assert_eq!(
14772 unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).flags as *const _ as usize },
14773 52usize,
14774 concat!(
14775 "Offset of field: ",
14776 stringify!(_zend_output_globals),
14777 "::",
14778 stringify!(flags)
14779 )
14780 );
14781}
14782pub type zend_output_globals = _zend_output_globals;
14783extern "C" {
14784 pub static mut output_globals: zend_output_globals;
14785}
14786extern "C" {
14787 pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
14788}
14789extern "C" {
14790 pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
14791}
14792extern "C" {
14793 pub fn php_output_startup();
14794}
14795extern "C" {
14796 pub fn php_output_shutdown();
14797}
14798extern "C" {
14799 pub fn php_output_register_constants();
14800}
14801extern "C" {
14802 pub fn php_output_activate() -> ::std::os::raw::c_int;
14803}
14804extern "C" {
14805 pub fn php_output_deactivate();
14806}
14807extern "C" {
14808 pub fn php_output_set_status(status: ::std::os::raw::c_int);
14809}
14810extern "C" {
14811 pub fn php_output_get_status() -> ::std::os::raw::c_int;
14812}
14813extern "C" {
14814 pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
14815}
14816extern "C" {
14817 pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
14818}
14819extern "C" {
14820 pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
14821}
14822extern "C" {
14823 pub fn php_output_write_unbuffered(str_: *const ::std::os::raw::c_char, len: size_t) -> size_t;
14824}
14825extern "C" {
14826 pub fn php_output_write(str_: *const ::std::os::raw::c_char, len: size_t) -> size_t;
14827}
14828extern "C" {
14829 pub fn php_output_flush() -> ::std::os::raw::c_int;
14830}
14831extern "C" {
14832 pub fn php_output_flush_all();
14833}
14834extern "C" {
14835 pub fn php_output_clean() -> ::std::os::raw::c_int;
14836}
14837extern "C" {
14838 pub fn php_output_clean_all();
14839}
14840extern "C" {
14841 pub fn php_output_end() -> ::std::os::raw::c_int;
14842}
14843extern "C" {
14844 pub fn php_output_end_all();
14845}
14846extern "C" {
14847 pub fn php_output_discard() -> ::std::os::raw::c_int;
14848}
14849extern "C" {
14850 pub fn php_output_discard_all();
14851}
14852extern "C" {
14853 pub fn php_output_get_contents(p: *mut zval) -> ::std::os::raw::c_int;
14854}
14855extern "C" {
14856 pub fn php_output_get_length(p: *mut zval) -> ::std::os::raw::c_int;
14857}
14858extern "C" {
14859 pub fn php_output_get_level() -> ::std::os::raw::c_int;
14860}
14861extern "C" {
14862 pub fn php_output_get_active_handler() -> *mut php_output_handler;
14863}
14864extern "C" {
14865 pub fn php_output_start_default() -> ::std::os::raw::c_int;
14866}
14867extern "C" {
14868 pub fn php_output_start_devnull() -> ::std::os::raw::c_int;
14869}
14870extern "C" {
14871 pub fn php_output_start_user(
14872 output_handler: *mut zval,
14873 chunk_size: size_t,
14874 flags: ::std::os::raw::c_int,
14875 ) -> ::std::os::raw::c_int;
14876}
14877extern "C" {
14878 pub fn php_output_start_internal(
14879 name: *const ::std::os::raw::c_char,
14880 name_len: size_t,
14881 output_handler: php_output_handler_func_t,
14882 chunk_size: size_t,
14883 flags: ::std::os::raw::c_int,
14884 ) -> ::std::os::raw::c_int;
14885}
14886extern "C" {
14887 pub fn php_output_handler_create_user(
14888 handler: *mut zval,
14889 chunk_size: size_t,
14890 flags: ::std::os::raw::c_int,
14891 ) -> *mut php_output_handler;
14892}
14893extern "C" {
14894 pub fn php_output_handler_create_internal(
14895 name: *const ::std::os::raw::c_char,
14896 name_len: size_t,
14897 handler: php_output_handler_context_func_t,
14898 chunk_size: size_t,
14899 flags: ::std::os::raw::c_int,
14900 ) -> *mut php_output_handler;
14901}
14902extern "C" {
14903 pub fn php_output_handler_set_context(
14904 handler: *mut php_output_handler,
14905 opaq: *mut ::std::os::raw::c_void,
14906 dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
14907 );
14908}
14909extern "C" {
14910 pub fn php_output_handler_start(handler: *mut php_output_handler) -> ::std::os::raw::c_int;
14911}
14912extern "C" {
14913 pub fn php_output_handler_started(
14914 name: *const ::std::os::raw::c_char,
14915 name_len: size_t,
14916 ) -> ::std::os::raw::c_int;
14917}
14918extern "C" {
14919 pub fn php_output_handler_hook(
14920 type_: php_output_handler_hook_t,
14921 arg: *mut ::std::os::raw::c_void,
14922 ) -> ::std::os::raw::c_int;
14923}
14924extern "C" {
14925 pub fn php_output_handler_dtor(handler: *mut php_output_handler);
14926}
14927extern "C" {
14928 pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
14929}
14930extern "C" {
14931 pub fn php_output_handler_conflict(
14932 handler_new: *const ::std::os::raw::c_char,
14933 handler_new_len: size_t,
14934 handler_set: *const ::std::os::raw::c_char,
14935 handler_set_len: size_t,
14936 ) -> ::std::os::raw::c_int;
14937}
14938extern "C" {
14939 pub fn php_output_handler_conflict_register(
14940 handler_name: *const ::std::os::raw::c_char,
14941 handler_name_len: size_t,
14942 check_func: php_output_handler_conflict_check_t,
14943 ) -> ::std::os::raw::c_int;
14944}
14945extern "C" {
14946 pub fn php_output_handler_reverse_conflict_register(
14947 handler_name: *const ::std::os::raw::c_char,
14948 handler_name_len: size_t,
14949 check_func: php_output_handler_conflict_check_t,
14950 ) -> ::std::os::raw::c_int;
14951}
14952extern "C" {
14953 pub fn php_output_handler_alias(
14954 handler_name: *const ::std::os::raw::c_char,
14955 handler_name_len: size_t,
14956 ) -> php_output_handler_alias_ctor_t;
14957}
14958extern "C" {
14959 pub fn php_output_handler_alias_register(
14960 handler_name: *const ::std::os::raw::c_char,
14961 handler_name_len: size_t,
14962 func: php_output_handler_alias_ctor_t,
14963 ) -> ::std::os::raw::c_int;
14964}
14965extern "C" {
14966 pub fn php_file_le_stream() -> ::std::os::raw::c_int;
14967}
14968extern "C" {
14969 pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
14970}
14971extern "C" {
14972 pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
14973}
14974pub type php_stream = _php_stream;
14975pub type php_stream_wrapper = _php_stream_wrapper;
14976pub type php_stream_context = _php_stream_context;
14977pub type php_stream_filter = _php_stream_filter;
14978pub type php_stream_notification_func = ::std::option::Option<
14979 unsafe extern "C" fn(
14980 context: *mut php_stream_context,
14981 notifycode: ::std::os::raw::c_int,
14982 severity: ::std::os::raw::c_int,
14983 xmsg: *mut ::std::os::raw::c_char,
14984 xcode: ::std::os::raw::c_int,
14985 bytes_sofar: size_t,
14986 bytes_max: size_t,
14987 ptr: *mut ::std::os::raw::c_void,
14988 ),
14989>;
14990pub type php_stream_notifier = _php_stream_notifier;
14991#[repr(C)]
14992#[derive(Copy, Clone)]
14993pub struct _php_stream_notifier {
14994 pub func: php_stream_notification_func,
14995 pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
14996 pub ptr: zval,
14997 pub mask: ::std::os::raw::c_int,
14998 pub progress: size_t,
14999 pub progress_max: size_t,
15000}
15001#[test]
15002fn bindgen_test_layout__php_stream_notifier() {
15003 assert_eq!(
15004 ::std::mem::size_of::<_php_stream_notifier>(),
15005 56usize,
15006 concat!("Size of: ", stringify!(_php_stream_notifier))
15007 );
15008 assert_eq!(
15009 ::std::mem::align_of::<_php_stream_notifier>(),
15010 8usize,
15011 concat!("Alignment of ", stringify!(_php_stream_notifier))
15012 );
15013 assert_eq!(
15014 unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).func as *const _ as usize },
15015 0usize,
15016 concat!(
15017 "Offset of field: ",
15018 stringify!(_php_stream_notifier),
15019 "::",
15020 stringify!(func)
15021 )
15022 );
15023 assert_eq!(
15024 unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).dtor as *const _ as usize },
15025 8usize,
15026 concat!(
15027 "Offset of field: ",
15028 stringify!(_php_stream_notifier),
15029 "::",
15030 stringify!(dtor)
15031 )
15032 );
15033 assert_eq!(
15034 unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).ptr as *const _ as usize },
15035 16usize,
15036 concat!(
15037 "Offset of field: ",
15038 stringify!(_php_stream_notifier),
15039 "::",
15040 stringify!(ptr)
15041 )
15042 );
15043 assert_eq!(
15044 unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).mask as *const _ as usize },
15045 32usize,
15046 concat!(
15047 "Offset of field: ",
15048 stringify!(_php_stream_notifier),
15049 "::",
15050 stringify!(mask)
15051 )
15052 );
15053 assert_eq!(
15054 unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).progress as *const _ as usize },
15055 40usize,
15056 concat!(
15057 "Offset of field: ",
15058 stringify!(_php_stream_notifier),
15059 "::",
15060 stringify!(progress)
15061 )
15062 );
15063 assert_eq!(
15064 unsafe {
15065 &(*(::std::ptr::null::<_php_stream_notifier>())).progress_max as *const _ as usize
15066 },
15067 48usize,
15068 concat!(
15069 "Offset of field: ",
15070 stringify!(_php_stream_notifier),
15071 "::",
15072 stringify!(progress_max)
15073 )
15074 );
15075}
15076#[repr(C)]
15077#[derive(Copy, Clone)]
15078pub struct _php_stream_context {
15079 pub notifier: *mut php_stream_notifier,
15080 pub options: zval,
15081 pub res: *mut zend_resource,
15082}
15083#[test]
15084fn bindgen_test_layout__php_stream_context() {
15085 assert_eq!(
15086 ::std::mem::size_of::<_php_stream_context>(),
15087 32usize,
15088 concat!("Size of: ", stringify!(_php_stream_context))
15089 );
15090 assert_eq!(
15091 ::std::mem::align_of::<_php_stream_context>(),
15092 8usize,
15093 concat!("Alignment of ", stringify!(_php_stream_context))
15094 );
15095 assert_eq!(
15096 unsafe { &(*(::std::ptr::null::<_php_stream_context>())).notifier as *const _ as usize },
15097 0usize,
15098 concat!(
15099 "Offset of field: ",
15100 stringify!(_php_stream_context),
15101 "::",
15102 stringify!(notifier)
15103 )
15104 );
15105 assert_eq!(
15106 unsafe { &(*(::std::ptr::null::<_php_stream_context>())).options as *const _ as usize },
15107 8usize,
15108 concat!(
15109 "Offset of field: ",
15110 stringify!(_php_stream_context),
15111 "::",
15112 stringify!(options)
15113 )
15114 );
15115 assert_eq!(
15116 unsafe { &(*(::std::ptr::null::<_php_stream_context>())).res as *const _ as usize },
15117 24usize,
15118 concat!(
15119 "Offset of field: ",
15120 stringify!(_php_stream_context),
15121 "::",
15122 stringify!(res)
15123 )
15124 );
15125}
15126extern "C" {
15127 pub fn php_stream_context_free(context: *mut php_stream_context);
15128}
15129extern "C" {
15130 pub fn php_stream_context_alloc() -> *mut php_stream_context;
15131}
15132extern "C" {
15133 pub fn php_stream_context_get_option(
15134 context: *mut php_stream_context,
15135 wrappername: *const ::std::os::raw::c_char,
15136 optionname: *const ::std::os::raw::c_char,
15137 ) -> *mut zval;
15138}
15139extern "C" {
15140 pub fn php_stream_context_set_option(
15141 context: *mut php_stream_context,
15142 wrappername: *const ::std::os::raw::c_char,
15143 optionname: *const ::std::os::raw::c_char,
15144 optionvalue: *mut zval,
15145 ) -> ::std::os::raw::c_int;
15146}
15147extern "C" {
15148 pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
15149}
15150extern "C" {
15151 pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
15152}
15153extern "C" {
15154 pub fn php_stream_notification_notify(
15155 context: *mut php_stream_context,
15156 notifycode: ::std::os::raw::c_int,
15157 severity: ::std::os::raw::c_int,
15158 xmsg: *mut ::std::os::raw::c_char,
15159 xcode: ::std::os::raw::c_int,
15160 bytes_sofar: size_t,
15161 bytes_max: size_t,
15162 ptr: *mut ::std::os::raw::c_void,
15163 );
15164}
15165extern "C" {
15166 pub fn php_stream_context_set(
15167 stream: *mut php_stream,
15168 context: *mut php_stream_context,
15169 ) -> *mut php_stream_context;
15170}
15171pub type php_stream_bucket = _php_stream_bucket;
15172pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
15173#[repr(C)]
15174#[derive(Debug, Copy, Clone)]
15175pub struct _php_stream_bucket {
15176 pub next: *mut php_stream_bucket,
15177 pub prev: *mut php_stream_bucket,
15178 pub brigade: *mut php_stream_bucket_brigade,
15179 pub buf: *mut ::std::os::raw::c_char,
15180 pub buflen: size_t,
15181 pub own_buf: ::std::os::raw::c_int,
15182 pub is_persistent: ::std::os::raw::c_int,
15183 pub refcount: ::std::os::raw::c_int,
15184}
15185#[test]
15186fn bindgen_test_layout__php_stream_bucket() {
15187 assert_eq!(
15188 ::std::mem::size_of::<_php_stream_bucket>(),
15189 56usize,
15190 concat!("Size of: ", stringify!(_php_stream_bucket))
15191 );
15192 assert_eq!(
15193 ::std::mem::align_of::<_php_stream_bucket>(),
15194 8usize,
15195 concat!("Alignment of ", stringify!(_php_stream_bucket))
15196 );
15197 assert_eq!(
15198 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).next as *const _ as usize },
15199 0usize,
15200 concat!(
15201 "Offset of field: ",
15202 stringify!(_php_stream_bucket),
15203 "::",
15204 stringify!(next)
15205 )
15206 );
15207 assert_eq!(
15208 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).prev as *const _ as usize },
15209 8usize,
15210 concat!(
15211 "Offset of field: ",
15212 stringify!(_php_stream_bucket),
15213 "::",
15214 stringify!(prev)
15215 )
15216 );
15217 assert_eq!(
15218 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).brigade as *const _ as usize },
15219 16usize,
15220 concat!(
15221 "Offset of field: ",
15222 stringify!(_php_stream_bucket),
15223 "::",
15224 stringify!(brigade)
15225 )
15226 );
15227 assert_eq!(
15228 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).buf as *const _ as usize },
15229 24usize,
15230 concat!(
15231 "Offset of field: ",
15232 stringify!(_php_stream_bucket),
15233 "::",
15234 stringify!(buf)
15235 )
15236 );
15237 assert_eq!(
15238 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).buflen as *const _ as usize },
15239 32usize,
15240 concat!(
15241 "Offset of field: ",
15242 stringify!(_php_stream_bucket),
15243 "::",
15244 stringify!(buflen)
15245 )
15246 );
15247 assert_eq!(
15248 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).own_buf as *const _ as usize },
15249 40usize,
15250 concat!(
15251 "Offset of field: ",
15252 stringify!(_php_stream_bucket),
15253 "::",
15254 stringify!(own_buf)
15255 )
15256 );
15257 assert_eq!(
15258 unsafe {
15259 &(*(::std::ptr::null::<_php_stream_bucket>())).is_persistent as *const _ as usize
15260 },
15261 44usize,
15262 concat!(
15263 "Offset of field: ",
15264 stringify!(_php_stream_bucket),
15265 "::",
15266 stringify!(is_persistent)
15267 )
15268 );
15269 assert_eq!(
15270 unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).refcount as *const _ as usize },
15271 48usize,
15272 concat!(
15273 "Offset of field: ",
15274 stringify!(_php_stream_bucket),
15275 "::",
15276 stringify!(refcount)
15277 )
15278 );
15279}
15280#[repr(C)]
15281#[derive(Debug, Copy, Clone)]
15282pub struct _php_stream_bucket_brigade {
15283 pub head: *mut php_stream_bucket,
15284 pub tail: *mut php_stream_bucket,
15285}
15286#[test]
15287fn bindgen_test_layout__php_stream_bucket_brigade() {
15288 assert_eq!(
15289 ::std::mem::size_of::<_php_stream_bucket_brigade>(),
15290 16usize,
15291 concat!("Size of: ", stringify!(_php_stream_bucket_brigade))
15292 );
15293 assert_eq!(
15294 ::std::mem::align_of::<_php_stream_bucket_brigade>(),
15295 8usize,
15296 concat!("Alignment of ", stringify!(_php_stream_bucket_brigade))
15297 );
15298 assert_eq!(
15299 unsafe { &(*(::std::ptr::null::<_php_stream_bucket_brigade>())).head as *const _ as usize },
15300 0usize,
15301 concat!(
15302 "Offset of field: ",
15303 stringify!(_php_stream_bucket_brigade),
15304 "::",
15305 stringify!(head)
15306 )
15307 );
15308 assert_eq!(
15309 unsafe { &(*(::std::ptr::null::<_php_stream_bucket_brigade>())).tail as *const _ as usize },
15310 8usize,
15311 concat!(
15312 "Offset of field: ",
15313 stringify!(_php_stream_bucket_brigade),
15314 "::",
15315 stringify!(tail)
15316 )
15317 );
15318}
15319pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
15320pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
15321pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
15322pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
15323extern "C" {
15324 pub fn php_stream_bucket_new(
15325 stream: *mut php_stream,
15326 buf: *mut ::std::os::raw::c_char,
15327 buflen: size_t,
15328 own_buf: ::std::os::raw::c_int,
15329 buf_persistent: ::std::os::raw::c_int,
15330 ) -> *mut php_stream_bucket;
15331}
15332extern "C" {
15333 pub fn php_stream_bucket_split(
15334 in_: *mut php_stream_bucket,
15335 left: *mut *mut php_stream_bucket,
15336 right: *mut *mut php_stream_bucket,
15337 length: size_t,
15338 ) -> ::std::os::raw::c_int;
15339}
15340extern "C" {
15341 pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
15342}
15343extern "C" {
15344 pub fn php_stream_bucket_prepend(
15345 brigade: *mut php_stream_bucket_brigade,
15346 bucket: *mut php_stream_bucket,
15347 );
15348}
15349extern "C" {
15350 pub fn php_stream_bucket_append(
15351 brigade: *mut php_stream_bucket_brigade,
15352 bucket: *mut php_stream_bucket,
15353 );
15354}
15355extern "C" {
15356 pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
15357}
15358extern "C" {
15359 pub fn php_stream_bucket_make_writeable(
15360 bucket: *mut php_stream_bucket,
15361 ) -> *mut php_stream_bucket;
15362}
15363#[repr(C)]
15364#[derive(Debug, Copy, Clone)]
15365pub struct _php_stream_filter_ops {
15366 pub filter: ::std::option::Option<
15367 unsafe extern "C" fn(
15368 stream: *mut php_stream,
15369 thisfilter: *mut php_stream_filter,
15370 buckets_in: *mut php_stream_bucket_brigade,
15371 buckets_out: *mut php_stream_bucket_brigade,
15372 bytes_consumed: *mut size_t,
15373 flags: ::std::os::raw::c_int,
15374 ) -> php_stream_filter_status_t,
15375 >,
15376 pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
15377 pub label: *const ::std::os::raw::c_char,
15378}
15379#[test]
15380fn bindgen_test_layout__php_stream_filter_ops() {
15381 assert_eq!(
15382 ::std::mem::size_of::<_php_stream_filter_ops>(),
15383 24usize,
15384 concat!("Size of: ", stringify!(_php_stream_filter_ops))
15385 );
15386 assert_eq!(
15387 ::std::mem::align_of::<_php_stream_filter_ops>(),
15388 8usize,
15389 concat!("Alignment of ", stringify!(_php_stream_filter_ops))
15390 );
15391 assert_eq!(
15392 unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).filter as *const _ as usize },
15393 0usize,
15394 concat!(
15395 "Offset of field: ",
15396 stringify!(_php_stream_filter_ops),
15397 "::",
15398 stringify!(filter)
15399 )
15400 );
15401 assert_eq!(
15402 unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).dtor as *const _ as usize },
15403 8usize,
15404 concat!(
15405 "Offset of field: ",
15406 stringify!(_php_stream_filter_ops),
15407 "::",
15408 stringify!(dtor)
15409 )
15410 );
15411 assert_eq!(
15412 unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).label as *const _ as usize },
15413 16usize,
15414 concat!(
15415 "Offset of field: ",
15416 stringify!(_php_stream_filter_ops),
15417 "::",
15418 stringify!(label)
15419 )
15420 );
15421}
15422pub type php_stream_filter_ops = _php_stream_filter_ops;
15423#[repr(C)]
15424#[derive(Debug, Copy, Clone)]
15425pub struct _php_stream_filter_chain {
15426 pub head: *mut php_stream_filter,
15427 pub tail: *mut php_stream_filter,
15428 pub stream: *mut php_stream,
15429}
15430#[test]
15431fn bindgen_test_layout__php_stream_filter_chain() {
15432 assert_eq!(
15433 ::std::mem::size_of::<_php_stream_filter_chain>(),
15434 24usize,
15435 concat!("Size of: ", stringify!(_php_stream_filter_chain))
15436 );
15437 assert_eq!(
15438 ::std::mem::align_of::<_php_stream_filter_chain>(),
15439 8usize,
15440 concat!("Alignment of ", stringify!(_php_stream_filter_chain))
15441 );
15442 assert_eq!(
15443 unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).head as *const _ as usize },
15444 0usize,
15445 concat!(
15446 "Offset of field: ",
15447 stringify!(_php_stream_filter_chain),
15448 "::",
15449 stringify!(head)
15450 )
15451 );
15452 assert_eq!(
15453 unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).tail as *const _ as usize },
15454 8usize,
15455 concat!(
15456 "Offset of field: ",
15457 stringify!(_php_stream_filter_chain),
15458 "::",
15459 stringify!(tail)
15460 )
15461 );
15462 assert_eq!(
15463 unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).stream as *const _ as usize },
15464 16usize,
15465 concat!(
15466 "Offset of field: ",
15467 stringify!(_php_stream_filter_chain),
15468 "::",
15469 stringify!(stream)
15470 )
15471 );
15472}
15473pub type php_stream_filter_chain = _php_stream_filter_chain;
15474#[repr(C)]
15475#[derive(Copy, Clone)]
15476pub struct _php_stream_filter {
15477 pub fops: *mut php_stream_filter_ops,
15478 pub abstract_: zval,
15479 pub next: *mut php_stream_filter,
15480 pub prev: *mut php_stream_filter,
15481 pub is_persistent: ::std::os::raw::c_int,
15482 pub chain: *mut php_stream_filter_chain,
15483 pub buffer: php_stream_bucket_brigade,
15484 pub res: *mut zend_resource,
15485}
15486#[test]
15487fn bindgen_test_layout__php_stream_filter() {
15488 assert_eq!(
15489 ::std::mem::size_of::<_php_stream_filter>(),
15490 80usize,
15491 concat!("Size of: ", stringify!(_php_stream_filter))
15492 );
15493 assert_eq!(
15494 ::std::mem::align_of::<_php_stream_filter>(),
15495 8usize,
15496 concat!("Alignment of ", stringify!(_php_stream_filter))
15497 );
15498 assert_eq!(
15499 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).fops as *const _ as usize },
15500 0usize,
15501 concat!(
15502 "Offset of field: ",
15503 stringify!(_php_stream_filter),
15504 "::",
15505 stringify!(fops)
15506 )
15507 );
15508 assert_eq!(
15509 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).abstract_ as *const _ as usize },
15510 8usize,
15511 concat!(
15512 "Offset of field: ",
15513 stringify!(_php_stream_filter),
15514 "::",
15515 stringify!(abstract_)
15516 )
15517 );
15518 assert_eq!(
15519 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).next as *const _ as usize },
15520 24usize,
15521 concat!(
15522 "Offset of field: ",
15523 stringify!(_php_stream_filter),
15524 "::",
15525 stringify!(next)
15526 )
15527 );
15528 assert_eq!(
15529 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).prev as *const _ as usize },
15530 32usize,
15531 concat!(
15532 "Offset of field: ",
15533 stringify!(_php_stream_filter),
15534 "::",
15535 stringify!(prev)
15536 )
15537 );
15538 assert_eq!(
15539 unsafe {
15540 &(*(::std::ptr::null::<_php_stream_filter>())).is_persistent as *const _ as usize
15541 },
15542 40usize,
15543 concat!(
15544 "Offset of field: ",
15545 stringify!(_php_stream_filter),
15546 "::",
15547 stringify!(is_persistent)
15548 )
15549 );
15550 assert_eq!(
15551 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).chain as *const _ as usize },
15552 48usize,
15553 concat!(
15554 "Offset of field: ",
15555 stringify!(_php_stream_filter),
15556 "::",
15557 stringify!(chain)
15558 )
15559 );
15560 assert_eq!(
15561 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).buffer as *const _ as usize },
15562 56usize,
15563 concat!(
15564 "Offset of field: ",
15565 stringify!(_php_stream_filter),
15566 "::",
15567 stringify!(buffer)
15568 )
15569 );
15570 assert_eq!(
15571 unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).res as *const _ as usize },
15572 72usize,
15573 concat!(
15574 "Offset of field: ",
15575 stringify!(_php_stream_filter),
15576 "::",
15577 stringify!(res)
15578 )
15579 );
15580}
15581extern "C" {
15582 pub fn php_stream_filter_prepend_ex(
15583 chain: *mut php_stream_filter_chain,
15584 filter: *mut php_stream_filter,
15585 ) -> ::std::os::raw::c_int;
15586}
15587extern "C" {
15588 pub fn php_stream_filter_append_ex(
15589 chain: *mut php_stream_filter_chain,
15590 filter: *mut php_stream_filter,
15591 ) -> ::std::os::raw::c_int;
15592}
15593extern "C" {
15594 pub fn php_stream_filter_remove(
15595 filter: *mut php_stream_filter,
15596 call_dtor: ::std::os::raw::c_int,
15597 ) -> *mut php_stream_filter;
15598}
15599extern "C" {
15600 pub fn php_stream_filter_free(filter: *mut php_stream_filter);
15601}
15602#[repr(C)]
15603#[derive(Debug, Copy, Clone)]
15604pub struct _php_stream_filter_factory {
15605 pub create_filter: ::std::option::Option<
15606 unsafe extern "C" fn(
15607 filtername: *const ::std::os::raw::c_char,
15608 filterparams: *mut zval,
15609 persistent: ::std::os::raw::c_int,
15610 ) -> *mut php_stream_filter,
15611 >,
15612}
15613#[test]
15614fn bindgen_test_layout__php_stream_filter_factory() {
15615 assert_eq!(
15616 ::std::mem::size_of::<_php_stream_filter_factory>(),
15617 8usize,
15618 concat!("Size of: ", stringify!(_php_stream_filter_factory))
15619 );
15620 assert_eq!(
15621 ::std::mem::align_of::<_php_stream_filter_factory>(),
15622 8usize,
15623 concat!("Alignment of ", stringify!(_php_stream_filter_factory))
15624 );
15625 assert_eq!(
15626 unsafe {
15627 &(*(::std::ptr::null::<_php_stream_filter_factory>())).create_filter as *const _
15628 as usize
15629 },
15630 0usize,
15631 concat!(
15632 "Offset of field: ",
15633 stringify!(_php_stream_filter_factory),
15634 "::",
15635 stringify!(create_filter)
15636 )
15637 );
15638}
15639pub type php_stream_filter_factory = _php_stream_filter_factory;
15640extern "C" {
15641 pub fn php_stream_filter_register_factory(
15642 filterpattern: *const ::std::os::raw::c_char,
15643 factory: *mut php_stream_filter_factory,
15644 ) -> ::std::os::raw::c_int;
15645}
15646extern "C" {
15647 pub fn php_stream_filter_unregister_factory(
15648 filterpattern: *const ::std::os::raw::c_char,
15649 ) -> ::std::os::raw::c_int;
15650}
15651extern "C" {
15652 pub fn php_stream_filter_register_factory_volatile(
15653 filterpattern: *const ::std::os::raw::c_char,
15654 factory: *mut php_stream_filter_factory,
15655 ) -> ::std::os::raw::c_int;
15656}
15657extern "C" {
15658 pub fn php_stream_filter_create(
15659 filtername: *const ::std::os::raw::c_char,
15660 filterparams: *mut zval,
15661 persistent: ::std::os::raw::c_int,
15662 ) -> *mut php_stream_filter;
15663}
15664#[repr(C)]
15665#[derive(Debug, Copy, Clone)]
15666pub struct _php_stream_statbuf {
15667 pub sb: zend_stat_t,
15668}
15669#[test]
15670fn bindgen_test_layout__php_stream_statbuf() {
15671 assert_eq!(
15672 ::std::mem::size_of::<_php_stream_statbuf>(),
15673 144usize,
15674 concat!("Size of: ", stringify!(_php_stream_statbuf))
15675 );
15676 assert_eq!(
15677 ::std::mem::align_of::<_php_stream_statbuf>(),
15678 8usize,
15679 concat!("Alignment of ", stringify!(_php_stream_statbuf))
15680 );
15681 assert_eq!(
15682 unsafe { &(*(::std::ptr::null::<_php_stream_statbuf>())).sb as *const _ as usize },
15683 0usize,
15684 concat!(
15685 "Offset of field: ",
15686 stringify!(_php_stream_statbuf),
15687 "::",
15688 stringify!(sb)
15689 )
15690 );
15691}
15692pub type php_stream_statbuf = _php_stream_statbuf;
15693#[repr(C)]
15694#[derive(Debug, Copy, Clone)]
15695pub struct _php_stream_ops {
15696 pub write: ::std::option::Option<
15697 unsafe extern "C" fn(
15698 stream: *mut php_stream,
15699 buf: *const ::std::os::raw::c_char,
15700 count: size_t,
15701 ) -> size_t,
15702 >,
15703 pub read: ::std::option::Option<
15704 unsafe extern "C" fn(
15705 stream: *mut php_stream,
15706 buf: *mut ::std::os::raw::c_char,
15707 count: size_t,
15708 ) -> size_t,
15709 >,
15710 pub close: ::std::option::Option<
15711 unsafe extern "C" fn(
15712 stream: *mut php_stream,
15713 close_handle: ::std::os::raw::c_int,
15714 ) -> ::std::os::raw::c_int,
15715 >,
15716 pub flush: ::std::option::Option<
15717 unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
15718 >,
15719 pub label: *const ::std::os::raw::c_char,
15720 pub seek: ::std::option::Option<
15721 unsafe extern "C" fn(
15722 stream: *mut php_stream,
15723 offset: zend_off_t,
15724 whence: ::std::os::raw::c_int,
15725 newoffset: *mut zend_off_t,
15726 ) -> ::std::os::raw::c_int,
15727 >,
15728 pub cast: ::std::option::Option<
15729 unsafe extern "C" fn(
15730 stream: *mut php_stream,
15731 castas: ::std::os::raw::c_int,
15732 ret: *mut *mut ::std::os::raw::c_void,
15733 ) -> ::std::os::raw::c_int,
15734 >,
15735 pub stat: ::std::option::Option<
15736 unsafe extern "C" fn(
15737 stream: *mut php_stream,
15738 ssb: *mut php_stream_statbuf,
15739 ) -> ::std::os::raw::c_int,
15740 >,
15741 pub set_option: ::std::option::Option<
15742 unsafe extern "C" fn(
15743 stream: *mut php_stream,
15744 option: ::std::os::raw::c_int,
15745 value: ::std::os::raw::c_int,
15746 ptrparam: *mut ::std::os::raw::c_void,
15747 ) -> ::std::os::raw::c_int,
15748 >,
15749}
15750#[test]
15751fn bindgen_test_layout__php_stream_ops() {
15752 assert_eq!(
15753 ::std::mem::size_of::<_php_stream_ops>(),
15754 72usize,
15755 concat!("Size of: ", stringify!(_php_stream_ops))
15756 );
15757 assert_eq!(
15758 ::std::mem::align_of::<_php_stream_ops>(),
15759 8usize,
15760 concat!("Alignment of ", stringify!(_php_stream_ops))
15761 );
15762 assert_eq!(
15763 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).write as *const _ as usize },
15764 0usize,
15765 concat!(
15766 "Offset of field: ",
15767 stringify!(_php_stream_ops),
15768 "::",
15769 stringify!(write)
15770 )
15771 );
15772 assert_eq!(
15773 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).read as *const _ as usize },
15774 8usize,
15775 concat!(
15776 "Offset of field: ",
15777 stringify!(_php_stream_ops),
15778 "::",
15779 stringify!(read)
15780 )
15781 );
15782 assert_eq!(
15783 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).close as *const _ as usize },
15784 16usize,
15785 concat!(
15786 "Offset of field: ",
15787 stringify!(_php_stream_ops),
15788 "::",
15789 stringify!(close)
15790 )
15791 );
15792 assert_eq!(
15793 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).flush as *const _ as usize },
15794 24usize,
15795 concat!(
15796 "Offset of field: ",
15797 stringify!(_php_stream_ops),
15798 "::",
15799 stringify!(flush)
15800 )
15801 );
15802 assert_eq!(
15803 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).label as *const _ as usize },
15804 32usize,
15805 concat!(
15806 "Offset of field: ",
15807 stringify!(_php_stream_ops),
15808 "::",
15809 stringify!(label)
15810 )
15811 );
15812 assert_eq!(
15813 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).seek as *const _ as usize },
15814 40usize,
15815 concat!(
15816 "Offset of field: ",
15817 stringify!(_php_stream_ops),
15818 "::",
15819 stringify!(seek)
15820 )
15821 );
15822 assert_eq!(
15823 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).cast as *const _ as usize },
15824 48usize,
15825 concat!(
15826 "Offset of field: ",
15827 stringify!(_php_stream_ops),
15828 "::",
15829 stringify!(cast)
15830 )
15831 );
15832 assert_eq!(
15833 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).stat as *const _ as usize },
15834 56usize,
15835 concat!(
15836 "Offset of field: ",
15837 stringify!(_php_stream_ops),
15838 "::",
15839 stringify!(stat)
15840 )
15841 );
15842 assert_eq!(
15843 unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).set_option as *const _ as usize },
15844 64usize,
15845 concat!(
15846 "Offset of field: ",
15847 stringify!(_php_stream_ops),
15848 "::",
15849 stringify!(set_option)
15850 )
15851 );
15852}
15853pub type php_stream_ops = _php_stream_ops;
15854#[repr(C)]
15855#[derive(Debug, Copy, Clone)]
15856pub struct _php_stream_wrapper_ops {
15857 pub stream_opener: ::std::option::Option<
15858 unsafe extern "C" fn(
15859 wrapper: *mut php_stream_wrapper,
15860 filename: *const ::std::os::raw::c_char,
15861 mode: *const ::std::os::raw::c_char,
15862 options: ::std::os::raw::c_int,
15863 opened_path: *mut *mut zend_string,
15864 context: *mut php_stream_context,
15865 ) -> *mut php_stream,
15866 >,
15867 pub stream_closer: ::std::option::Option<
15868 unsafe extern "C" fn(
15869 wrapper: *mut php_stream_wrapper,
15870 stream: *mut php_stream,
15871 ) -> ::std::os::raw::c_int,
15872 >,
15873 pub stream_stat: ::std::option::Option<
15874 unsafe extern "C" fn(
15875 wrapper: *mut php_stream_wrapper,
15876 stream: *mut php_stream,
15877 ssb: *mut php_stream_statbuf,
15878 ) -> ::std::os::raw::c_int,
15879 >,
15880 pub url_stat: ::std::option::Option<
15881 unsafe extern "C" fn(
15882 wrapper: *mut php_stream_wrapper,
15883 url: *const ::std::os::raw::c_char,
15884 flags: ::std::os::raw::c_int,
15885 ssb: *mut php_stream_statbuf,
15886 context: *mut php_stream_context,
15887 ) -> ::std::os::raw::c_int,
15888 >,
15889 pub dir_opener: ::std::option::Option<
15890 unsafe extern "C" fn(
15891 wrapper: *mut php_stream_wrapper,
15892 filename: *const ::std::os::raw::c_char,
15893 mode: *const ::std::os::raw::c_char,
15894 options: ::std::os::raw::c_int,
15895 opened_path: *mut *mut zend_string,
15896 context: *mut php_stream_context,
15897 ) -> *mut php_stream,
15898 >,
15899 pub label: *const ::std::os::raw::c_char,
15900 pub unlink: ::std::option::Option<
15901 unsafe extern "C" fn(
15902 wrapper: *mut php_stream_wrapper,
15903 url: *const ::std::os::raw::c_char,
15904 options: ::std::os::raw::c_int,
15905 context: *mut php_stream_context,
15906 ) -> ::std::os::raw::c_int,
15907 >,
15908 pub rename: ::std::option::Option<
15909 unsafe extern "C" fn(
15910 wrapper: *mut php_stream_wrapper,
15911 url_from: *const ::std::os::raw::c_char,
15912 url_to: *const ::std::os::raw::c_char,
15913 options: ::std::os::raw::c_int,
15914 context: *mut php_stream_context,
15915 ) -> ::std::os::raw::c_int,
15916 >,
15917 pub stream_mkdir: ::std::option::Option<
15918 unsafe extern "C" fn(
15919 wrapper: *mut php_stream_wrapper,
15920 url: *const ::std::os::raw::c_char,
15921 mode: ::std::os::raw::c_int,
15922 options: ::std::os::raw::c_int,
15923 context: *mut php_stream_context,
15924 ) -> ::std::os::raw::c_int,
15925 >,
15926 pub stream_rmdir: ::std::option::Option<
15927 unsafe extern "C" fn(
15928 wrapper: *mut php_stream_wrapper,
15929 url: *const ::std::os::raw::c_char,
15930 options: ::std::os::raw::c_int,
15931 context: *mut php_stream_context,
15932 ) -> ::std::os::raw::c_int,
15933 >,
15934 pub stream_metadata: ::std::option::Option<
15935 unsafe extern "C" fn(
15936 wrapper: *mut php_stream_wrapper,
15937 url: *const ::std::os::raw::c_char,
15938 options: ::std::os::raw::c_int,
15939 value: *mut ::std::os::raw::c_void,
15940 context: *mut php_stream_context,
15941 ) -> ::std::os::raw::c_int,
15942 >,
15943}
15944#[test]
15945fn bindgen_test_layout__php_stream_wrapper_ops() {
15946 assert_eq!(
15947 ::std::mem::size_of::<_php_stream_wrapper_ops>(),
15948 88usize,
15949 concat!("Size of: ", stringify!(_php_stream_wrapper_ops))
15950 );
15951 assert_eq!(
15952 ::std::mem::align_of::<_php_stream_wrapper_ops>(),
15953 8usize,
15954 concat!("Alignment of ", stringify!(_php_stream_wrapper_ops))
15955 );
15956 assert_eq!(
15957 unsafe {
15958 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_opener as *const _ as usize
15959 },
15960 0usize,
15961 concat!(
15962 "Offset of field: ",
15963 stringify!(_php_stream_wrapper_ops),
15964 "::",
15965 stringify!(stream_opener)
15966 )
15967 );
15968 assert_eq!(
15969 unsafe {
15970 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_closer as *const _ as usize
15971 },
15972 8usize,
15973 concat!(
15974 "Offset of field: ",
15975 stringify!(_php_stream_wrapper_ops),
15976 "::",
15977 stringify!(stream_closer)
15978 )
15979 );
15980 assert_eq!(
15981 unsafe {
15982 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_stat as *const _ as usize
15983 },
15984 16usize,
15985 concat!(
15986 "Offset of field: ",
15987 stringify!(_php_stream_wrapper_ops),
15988 "::",
15989 stringify!(stream_stat)
15990 )
15991 );
15992 assert_eq!(
15993 unsafe {
15994 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).url_stat as *const _ as usize
15995 },
15996 24usize,
15997 concat!(
15998 "Offset of field: ",
15999 stringify!(_php_stream_wrapper_ops),
16000 "::",
16001 stringify!(url_stat)
16002 )
16003 );
16004 assert_eq!(
16005 unsafe {
16006 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).dir_opener as *const _ as usize
16007 },
16008 32usize,
16009 concat!(
16010 "Offset of field: ",
16011 stringify!(_php_stream_wrapper_ops),
16012 "::",
16013 stringify!(dir_opener)
16014 )
16015 );
16016 assert_eq!(
16017 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).label as *const _ as usize },
16018 40usize,
16019 concat!(
16020 "Offset of field: ",
16021 stringify!(_php_stream_wrapper_ops),
16022 "::",
16023 stringify!(label)
16024 )
16025 );
16026 assert_eq!(
16027 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).unlink as *const _ as usize },
16028 48usize,
16029 concat!(
16030 "Offset of field: ",
16031 stringify!(_php_stream_wrapper_ops),
16032 "::",
16033 stringify!(unlink)
16034 )
16035 );
16036 assert_eq!(
16037 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).rename as *const _ as usize },
16038 56usize,
16039 concat!(
16040 "Offset of field: ",
16041 stringify!(_php_stream_wrapper_ops),
16042 "::",
16043 stringify!(rename)
16044 )
16045 );
16046 assert_eq!(
16047 unsafe {
16048 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_mkdir as *const _ as usize
16049 },
16050 64usize,
16051 concat!(
16052 "Offset of field: ",
16053 stringify!(_php_stream_wrapper_ops),
16054 "::",
16055 stringify!(stream_mkdir)
16056 )
16057 );
16058 assert_eq!(
16059 unsafe {
16060 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_rmdir as *const _ as usize
16061 },
16062 72usize,
16063 concat!(
16064 "Offset of field: ",
16065 stringify!(_php_stream_wrapper_ops),
16066 "::",
16067 stringify!(stream_rmdir)
16068 )
16069 );
16070 assert_eq!(
16071 unsafe {
16072 &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_metadata as *const _ as usize
16073 },
16074 80usize,
16075 concat!(
16076 "Offset of field: ",
16077 stringify!(_php_stream_wrapper_ops),
16078 "::",
16079 stringify!(stream_metadata)
16080 )
16081 );
16082}
16083pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
16084#[repr(C)]
16085#[derive(Debug, Copy, Clone)]
16086pub struct _php_stream_wrapper {
16087 pub wops: *mut php_stream_wrapper_ops,
16088 pub abstract_: *mut ::std::os::raw::c_void,
16089 pub is_url: ::std::os::raw::c_int,
16090}
16091#[test]
16092fn bindgen_test_layout__php_stream_wrapper() {
16093 assert_eq!(
16094 ::std::mem::size_of::<_php_stream_wrapper>(),
16095 24usize,
16096 concat!("Size of: ", stringify!(_php_stream_wrapper))
16097 );
16098 assert_eq!(
16099 ::std::mem::align_of::<_php_stream_wrapper>(),
16100 8usize,
16101 concat!("Alignment of ", stringify!(_php_stream_wrapper))
16102 );
16103 assert_eq!(
16104 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).wops as *const _ as usize },
16105 0usize,
16106 concat!(
16107 "Offset of field: ",
16108 stringify!(_php_stream_wrapper),
16109 "::",
16110 stringify!(wops)
16111 )
16112 );
16113 assert_eq!(
16114 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).abstract_ as *const _ as usize },
16115 8usize,
16116 concat!(
16117 "Offset of field: ",
16118 stringify!(_php_stream_wrapper),
16119 "::",
16120 stringify!(abstract_)
16121 )
16122 );
16123 assert_eq!(
16124 unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).is_url as *const _ as usize },
16125 16usize,
16126 concat!(
16127 "Offset of field: ",
16128 stringify!(_php_stream_wrapper),
16129 "::",
16130 stringify!(is_url)
16131 )
16132 );
16133}
16134#[repr(C)]
16135#[derive(Copy, Clone)]
16136pub struct _php_stream {
16137 pub ops: *mut php_stream_ops,
16138 pub abstract_: *mut ::std::os::raw::c_void,
16139 pub readfilters: php_stream_filter_chain,
16140 pub writefilters: php_stream_filter_chain,
16141 pub wrapper: *mut php_stream_wrapper,
16142 pub wrapperthis: *mut ::std::os::raw::c_void,
16143 pub wrapperdata: zval,
16144 pub fgetss_state: ::std::os::raw::c_int,
16145 pub is_persistent: ::std::os::raw::c_int,
16146 pub mode: [::std::os::raw::c_char; 16usize],
16147 pub res: *mut zend_resource,
16148 pub in_free: ::std::os::raw::c_int,
16149 pub fclose_stdiocast: ::std::os::raw::c_int,
16150 pub stdiocast: *mut FILE,
16151 pub __exposed: ::std::os::raw::c_int,
16152 pub orig_path: *mut ::std::os::raw::c_char,
16153 pub ctx: *mut zend_resource,
16154 pub flags: ::std::os::raw::c_int,
16155 pub eof: ::std::os::raw::c_int,
16156 pub position: zend_off_t,
16157 pub readbuf: *mut ::std::os::raw::c_uchar,
16158 pub readbuflen: size_t,
16159 pub readpos: zend_off_t,
16160 pub writepos: zend_off_t,
16161 pub chunk_size: size_t,
16162 pub enclosing_stream: *mut _php_stream,
16163}
16164#[test]
16165fn bindgen_test_layout__php_stream() {
16166 assert_eq!(
16167 ::std::mem::size_of::<_php_stream>(),
16168 232usize,
16169 concat!("Size of: ", stringify!(_php_stream))
16170 );
16171 assert_eq!(
16172 ::std::mem::align_of::<_php_stream>(),
16173 8usize,
16174 concat!("Alignment of ", stringify!(_php_stream))
16175 );
16176 assert_eq!(
16177 unsafe { &(*(::std::ptr::null::<_php_stream>())).ops as *const _ as usize },
16178 0usize,
16179 concat!(
16180 "Offset of field: ",
16181 stringify!(_php_stream),
16182 "::",
16183 stringify!(ops)
16184 )
16185 );
16186 assert_eq!(
16187 unsafe { &(*(::std::ptr::null::<_php_stream>())).abstract_ as *const _ as usize },
16188 8usize,
16189 concat!(
16190 "Offset of field: ",
16191 stringify!(_php_stream),
16192 "::",
16193 stringify!(abstract_)
16194 )
16195 );
16196 assert_eq!(
16197 unsafe { &(*(::std::ptr::null::<_php_stream>())).readfilters as *const _ as usize },
16198 16usize,
16199 concat!(
16200 "Offset of field: ",
16201 stringify!(_php_stream),
16202 "::",
16203 stringify!(readfilters)
16204 )
16205 );
16206 assert_eq!(
16207 unsafe { &(*(::std::ptr::null::<_php_stream>())).writefilters as *const _ as usize },
16208 40usize,
16209 concat!(
16210 "Offset of field: ",
16211 stringify!(_php_stream),
16212 "::",
16213 stringify!(writefilters)
16214 )
16215 );
16216 assert_eq!(
16217 unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapper as *const _ as usize },
16218 64usize,
16219 concat!(
16220 "Offset of field: ",
16221 stringify!(_php_stream),
16222 "::",
16223 stringify!(wrapper)
16224 )
16225 );
16226 assert_eq!(
16227 unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapperthis as *const _ as usize },
16228 72usize,
16229 concat!(
16230 "Offset of field: ",
16231 stringify!(_php_stream),
16232 "::",
16233 stringify!(wrapperthis)
16234 )
16235 );
16236 assert_eq!(
16237 unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapperdata as *const _ as usize },
16238 80usize,
16239 concat!(
16240 "Offset of field: ",
16241 stringify!(_php_stream),
16242 "::",
16243 stringify!(wrapperdata)
16244 )
16245 );
16246 assert_eq!(
16247 unsafe { &(*(::std::ptr::null::<_php_stream>())).fgetss_state as *const _ as usize },
16248 96usize,
16249 concat!(
16250 "Offset of field: ",
16251 stringify!(_php_stream),
16252 "::",
16253 stringify!(fgetss_state)
16254 )
16255 );
16256 assert_eq!(
16257 unsafe { &(*(::std::ptr::null::<_php_stream>())).is_persistent as *const _ as usize },
16258 100usize,
16259 concat!(
16260 "Offset of field: ",
16261 stringify!(_php_stream),
16262 "::",
16263 stringify!(is_persistent)
16264 )
16265 );
16266 assert_eq!(
16267 unsafe { &(*(::std::ptr::null::<_php_stream>())).mode as *const _ as usize },
16268 104usize,
16269 concat!(
16270 "Offset of field: ",
16271 stringify!(_php_stream),
16272 "::",
16273 stringify!(mode)
16274 )
16275 );
16276 assert_eq!(
16277 unsafe { &(*(::std::ptr::null::<_php_stream>())).res as *const _ as usize },
16278 120usize,
16279 concat!(
16280 "Offset of field: ",
16281 stringify!(_php_stream),
16282 "::",
16283 stringify!(res)
16284 )
16285 );
16286 assert_eq!(
16287 unsafe { &(*(::std::ptr::null::<_php_stream>())).in_free as *const _ as usize },
16288 128usize,
16289 concat!(
16290 "Offset of field: ",
16291 stringify!(_php_stream),
16292 "::",
16293 stringify!(in_free)
16294 )
16295 );
16296 assert_eq!(
16297 unsafe { &(*(::std::ptr::null::<_php_stream>())).fclose_stdiocast as *const _ as usize },
16298 132usize,
16299 concat!(
16300 "Offset of field: ",
16301 stringify!(_php_stream),
16302 "::",
16303 stringify!(fclose_stdiocast)
16304 )
16305 );
16306 assert_eq!(
16307 unsafe { &(*(::std::ptr::null::<_php_stream>())).stdiocast as *const _ as usize },
16308 136usize,
16309 concat!(
16310 "Offset of field: ",
16311 stringify!(_php_stream),
16312 "::",
16313 stringify!(stdiocast)
16314 )
16315 );
16316 assert_eq!(
16317 unsafe { &(*(::std::ptr::null::<_php_stream>())).__exposed as *const _ as usize },
16318 144usize,
16319 concat!(
16320 "Offset of field: ",
16321 stringify!(_php_stream),
16322 "::",
16323 stringify!(__exposed)
16324 )
16325 );
16326 assert_eq!(
16327 unsafe { &(*(::std::ptr::null::<_php_stream>())).orig_path as *const _ as usize },
16328 152usize,
16329 concat!(
16330 "Offset of field: ",
16331 stringify!(_php_stream),
16332 "::",
16333 stringify!(orig_path)
16334 )
16335 );
16336 assert_eq!(
16337 unsafe { &(*(::std::ptr::null::<_php_stream>())).ctx as *const _ as usize },
16338 160usize,
16339 concat!(
16340 "Offset of field: ",
16341 stringify!(_php_stream),
16342 "::",
16343 stringify!(ctx)
16344 )
16345 );
16346 assert_eq!(
16347 unsafe { &(*(::std::ptr::null::<_php_stream>())).flags as *const _ as usize },
16348 168usize,
16349 concat!(
16350 "Offset of field: ",
16351 stringify!(_php_stream),
16352 "::",
16353 stringify!(flags)
16354 )
16355 );
16356 assert_eq!(
16357 unsafe { &(*(::std::ptr::null::<_php_stream>())).eof as *const _ as usize },
16358 172usize,
16359 concat!(
16360 "Offset of field: ",
16361 stringify!(_php_stream),
16362 "::",
16363 stringify!(eof)
16364 )
16365 );
16366 assert_eq!(
16367 unsafe { &(*(::std::ptr::null::<_php_stream>())).position as *const _ as usize },
16368 176usize,
16369 concat!(
16370 "Offset of field: ",
16371 stringify!(_php_stream),
16372 "::",
16373 stringify!(position)
16374 )
16375 );
16376 assert_eq!(
16377 unsafe { &(*(::std::ptr::null::<_php_stream>())).readbuf as *const _ as usize },
16378 184usize,
16379 concat!(
16380 "Offset of field: ",
16381 stringify!(_php_stream),
16382 "::",
16383 stringify!(readbuf)
16384 )
16385 );
16386 assert_eq!(
16387 unsafe { &(*(::std::ptr::null::<_php_stream>())).readbuflen as *const _ as usize },
16388 192usize,
16389 concat!(
16390 "Offset of field: ",
16391 stringify!(_php_stream),
16392 "::",
16393 stringify!(readbuflen)
16394 )
16395 );
16396 assert_eq!(
16397 unsafe { &(*(::std::ptr::null::<_php_stream>())).readpos as *const _ as usize },
16398 200usize,
16399 concat!(
16400 "Offset of field: ",
16401 stringify!(_php_stream),
16402 "::",
16403 stringify!(readpos)
16404 )
16405 );
16406 assert_eq!(
16407 unsafe { &(*(::std::ptr::null::<_php_stream>())).writepos as *const _ as usize },
16408 208usize,
16409 concat!(
16410 "Offset of field: ",
16411 stringify!(_php_stream),
16412 "::",
16413 stringify!(writepos)
16414 )
16415 );
16416 assert_eq!(
16417 unsafe { &(*(::std::ptr::null::<_php_stream>())).chunk_size as *const _ as usize },
16418 216usize,
16419 concat!(
16420 "Offset of field: ",
16421 stringify!(_php_stream),
16422 "::",
16423 stringify!(chunk_size)
16424 )
16425 );
16426 assert_eq!(
16427 unsafe { &(*(::std::ptr::null::<_php_stream>())).enclosing_stream as *const _ as usize },
16428 224usize,
16429 concat!(
16430 "Offset of field: ",
16431 stringify!(_php_stream),
16432 "::",
16433 stringify!(enclosing_stream)
16434 )
16435 );
16436}
16437extern "C" {
16438 pub fn php_stream_encloses(
16439 enclosing: *mut php_stream,
16440 enclosed: *mut php_stream,
16441 ) -> *mut php_stream;
16442}
16443extern "C" {
16444 pub fn php_stream_from_persistent_id(
16445 persistent_id: *const ::std::os::raw::c_char,
16446 stream: *mut *mut php_stream,
16447 ) -> ::std::os::raw::c_int;
16448}
16449extern "C" {
16450 pub fn php_stream_get_record(
16451 stream: *mut php_stream,
16452 maxlen: size_t,
16453 delim: *const ::std::os::raw::c_char,
16454 delim_len: size_t,
16455 ) -> *mut zend_string;
16456}
16457extern "C" {
16458 pub fn php_stream_dirent_alphasort(
16459 a: *mut *const zend_string,
16460 b: *mut *const zend_string,
16461 ) -> ::std::os::raw::c_int;
16462}
16463extern "C" {
16464 pub fn php_stream_dirent_alphasortr(
16465 a: *mut *const zend_string,
16466 b: *mut *const zend_string,
16467 ) -> ::std::os::raw::c_int;
16468}
16469pub type php_stream_transport_factory_func = ::std::option::Option<
16470 unsafe extern "C" fn(
16471 proto: *const ::std::os::raw::c_char,
16472 protolen: size_t,
16473 resourcename: *const ::std::os::raw::c_char,
16474 resourcenamelen: size_t,
16475 persistent_id: *const ::std::os::raw::c_char,
16476 options: ::std::os::raw::c_int,
16477 flags: ::std::os::raw::c_int,
16478 timeout: *mut timeval,
16479 context: *mut php_stream_context,
16480 ) -> *mut php_stream,
16481>;
16482pub type php_stream_transport_factory = php_stream_transport_factory_func;
16483extern "C" {
16484 pub fn php_stream_xport_register(
16485 protocol: *const ::std::os::raw::c_char,
16486 factory: php_stream_transport_factory,
16487 ) -> ::std::os::raw::c_int;
16488}
16489extern "C" {
16490 pub fn php_stream_xport_unregister(
16491 protocol: *const ::std::os::raw::c_char,
16492 ) -> ::std::os::raw::c_int;
16493}
16494extern "C" {
16495 pub fn php_stream_xport_bind(
16496 stream: *mut php_stream,
16497 name: *const ::std::os::raw::c_char,
16498 namelen: size_t,
16499 error_text: *mut *mut zend_string,
16500 ) -> ::std::os::raw::c_int;
16501}
16502extern "C" {
16503 pub fn php_stream_xport_connect(
16504 stream: *mut php_stream,
16505 name: *const ::std::os::raw::c_char,
16506 namelen: size_t,
16507 asynchronous: ::std::os::raw::c_int,
16508 timeout: *mut timeval,
16509 error_text: *mut *mut zend_string,
16510 error_code: *mut ::std::os::raw::c_int,
16511 ) -> ::std::os::raw::c_int;
16512}
16513extern "C" {
16514 pub fn php_stream_xport_listen(
16515 stream: *mut php_stream,
16516 backlog: ::std::os::raw::c_int,
16517 error_text: *mut *mut zend_string,
16518 ) -> ::std::os::raw::c_int;
16519}
16520extern "C" {
16521 pub fn php_stream_xport_accept(
16522 stream: *mut php_stream,
16523 client: *mut *mut php_stream,
16524 textaddr: *mut *mut zend_string,
16525 addr: *mut *mut ::std::os::raw::c_void,
16526 addrlen: *mut socklen_t,
16527 timeout: *mut timeval,
16528 error_text: *mut *mut zend_string,
16529 ) -> ::std::os::raw::c_int;
16530}
16531extern "C" {
16532 pub fn php_stream_xport_get_name(
16533 stream: *mut php_stream,
16534 want_peer: ::std::os::raw::c_int,
16535 textaddr: *mut *mut zend_string,
16536 addr: *mut *mut ::std::os::raw::c_void,
16537 addrlen: *mut socklen_t,
16538 ) -> ::std::os::raw::c_int;
16539}
16540extern "C" {
16541 pub fn php_stream_xport_recvfrom(
16542 stream: *mut php_stream,
16543 buf: *mut ::std::os::raw::c_char,
16544 buflen: size_t,
16545 flags: ::std::os::raw::c_int,
16546 addr: *mut *mut ::std::os::raw::c_void,
16547 addrlen: *mut socklen_t,
16548 textaddr: *mut *mut zend_string,
16549 ) -> ::std::os::raw::c_int;
16550}
16551extern "C" {
16552 pub fn php_stream_xport_sendto(
16553 stream: *mut php_stream,
16554 buf: *const ::std::os::raw::c_char,
16555 buflen: size_t,
16556 flags: ::std::os::raw::c_int,
16557 addr: *mut ::std::os::raw::c_void,
16558 addrlen: socklen_t,
16559 ) -> ::std::os::raw::c_int;
16560}
16561pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
16562pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
16563pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
16564pub type stream_shutdown_t = ::std::os::raw::c_uint;
16565extern "C" {
16566 pub fn php_stream_xport_shutdown(
16567 stream: *mut php_stream,
16568 how: stream_shutdown_t,
16569 ) -> ::std::os::raw::c_int;
16570}
16571pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
16572 php_stream_xport_crypt_method_t = 3;
16573pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
16574 php_stream_xport_crypt_method_t = 5;
16575pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
16576 php_stream_xport_crypt_method_t = 57;
16577pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
16578 php_stream_xport_crypt_method_t = 9;
16579pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
16580 php_stream_xport_crypt_method_t = 17;
16581pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
16582 php_stream_xport_crypt_method_t = 33;
16583pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
16584 php_stream_xport_crypt_method_t = 9;
16585pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
16586 php_stream_xport_crypt_method_t = 57;
16587pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
16588 php_stream_xport_crypt_method_t = 63;
16589pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
16590 php_stream_xport_crypt_method_t = 2;
16591pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
16592 php_stream_xport_crypt_method_t = 4;
16593pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
16594 php_stream_xport_crypt_method_t = 56;
16595pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
16596 php_stream_xport_crypt_method_t = 8;
16597pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
16598 php_stream_xport_crypt_method_t = 16;
16599pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
16600 php_stream_xport_crypt_method_t = 32;
16601pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
16602 php_stream_xport_crypt_method_t = 8;
16603pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
16604 php_stream_xport_crypt_method_t = 56;
16605pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
16606 php_stream_xport_crypt_method_t = 62;
16607pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
16608extern "C" {
16609 pub fn php_stream_xport_crypto_setup(
16610 stream: *mut php_stream,
16611 crypto_method: php_stream_xport_crypt_method_t,
16612 session_stream: *mut php_stream,
16613 ) -> ::std::os::raw::c_int;
16614}
16615extern "C" {
16616 pub fn php_stream_xport_crypto_enable(
16617 stream: *mut php_stream,
16618 activate: ::std::os::raw::c_int,
16619 ) -> ::std::os::raw::c_int;
16620}
16621extern "C" {
16622 pub fn php_stream_xport_get_hash() -> *mut HashTable;
16623}
16624extern "C" {
16625 pub fn php_stream_generic_socket_factory(
16626 proto: *const ::std::os::raw::c_char,
16627 protolen: size_t,
16628 resourcename: *const ::std::os::raw::c_char,
16629 resourcenamelen: size_t,
16630 persistent_id: *const ::std::os::raw::c_char,
16631 options: ::std::os::raw::c_int,
16632 flags: ::std::os::raw::c_int,
16633 timeout: *mut timeval,
16634 context: *mut php_stream_context,
16635 ) -> *mut php_stream;
16636}
16637extern "C" {
16638 pub static mut php_stream_stdio_ops: php_stream_ops;
16639}
16640extern "C" {
16641 pub static mut php_plain_files_wrapper: php_stream_wrapper;
16642}
16643extern "C" {
16644 pub static mut php_glob_stream_wrapper: php_stream_wrapper;
16645}
16646extern "C" {
16647 pub static mut php_glob_stream_ops: php_stream_ops;
16648}
16649extern "C" {
16650 pub static mut php_stream_userspace_ops: php_stream_ops;
16651}
16652extern "C" {
16653 pub static mut php_stream_userspace_dir_ops: php_stream_ops;
16654}
16655extern "C" {
16656 pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
16657}
16658extern "C" {
16659 pub fn php_shutdown_stream_wrappers(
16660 module_number: ::std::os::raw::c_int,
16661 ) -> ::std::os::raw::c_int;
16662}
16663extern "C" {
16664 pub fn php_shutdown_stream_hashes();
16665}
16666extern "C" {
16667 pub fn php_register_url_stream_wrapper(
16668 protocol: *const ::std::os::raw::c_char,
16669 wrapper: *mut php_stream_wrapper,
16670 ) -> ::std::os::raw::c_int;
16671}
16672extern "C" {
16673 pub fn php_unregister_url_stream_wrapper(
16674 protocol: *const ::std::os::raw::c_char,
16675 ) -> ::std::os::raw::c_int;
16676}
16677extern "C" {
16678 pub fn php_register_url_stream_wrapper_volatile(
16679 protocol: *const ::std::os::raw::c_char,
16680 wrapper: *mut php_stream_wrapper,
16681 ) -> ::std::os::raw::c_int;
16682}
16683extern "C" {
16684 pub fn php_unregister_url_stream_wrapper_volatile(
16685 protocol: *const ::std::os::raw::c_char,
16686 ) -> ::std::os::raw::c_int;
16687}
16688extern "C" {
16689 pub fn php_stream_locate_url_wrapper(
16690 path: *const ::std::os::raw::c_char,
16691 path_for_open: *mut *const ::std::os::raw::c_char,
16692 options: ::std::os::raw::c_int,
16693 ) -> *mut php_stream_wrapper;
16694}
16695extern "C" {
16696 pub fn php_stream_locate_eol(
16697 stream: *mut php_stream,
16698 buf: *mut zend_string,
16699 ) -> *const ::std::os::raw::c_char;
16700}
16701extern "C" {
16702 pub fn php_stream_wrapper_log_error(
16703 wrapper: *mut php_stream_wrapper,
16704 options: ::std::os::raw::c_int,
16705 fmt: *const ::std::os::raw::c_char,
16706 ...
16707 );
16708}
16709extern "C" {
16710 pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
16711}
16712extern "C" {
16713 pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
16714}
16715extern "C" {
16716 pub static mut php_stream_user_wrapper_ops: *mut php_stream_wrapper_ops;
16717}
16718extern "C" {
16719 pub static mut php_stream_memory_ops: php_stream_ops;
16720}
16721extern "C" {
16722 pub static mut php_stream_temp_ops: php_stream_ops;
16723}
16724extern "C" {
16725 pub static mut php_stream_rfc2397_ops: php_stream_ops;
16726}
16727extern "C" {
16728 pub static mut php_stream_rfc2397_wrapper: php_stream_wrapper;
16729}
16730#[repr(C)]
16731#[derive(Copy, Clone)]
16732pub struct _php_core_globals {
16733 pub implicit_flush: zend_bool,
16734 pub output_buffering: zend_long,
16735 pub sql_safe_mode: zend_bool,
16736 pub enable_dl: zend_bool,
16737 pub output_handler: *mut ::std::os::raw::c_char,
16738 pub unserialize_callback_func: *mut ::std::os::raw::c_char,
16739 pub serialize_precision: zend_long,
16740 pub memory_limit: zend_long,
16741 pub max_input_time: zend_long,
16742 pub track_errors: zend_bool,
16743 pub display_errors: zend_bool,
16744 pub display_startup_errors: zend_bool,
16745 pub log_errors: zend_bool,
16746 pub log_errors_max_len: zend_long,
16747 pub ignore_repeated_errors: zend_bool,
16748 pub ignore_repeated_source: zend_bool,
16749 pub report_memleaks: zend_bool,
16750 pub error_log: *mut ::std::os::raw::c_char,
16751 pub doc_root: *mut ::std::os::raw::c_char,
16752 pub user_dir: *mut ::std::os::raw::c_char,
16753 pub include_path: *mut ::std::os::raw::c_char,
16754 pub open_basedir: *mut ::std::os::raw::c_char,
16755 pub extension_dir: *mut ::std::os::raw::c_char,
16756 pub php_binary: *mut ::std::os::raw::c_char,
16757 pub sys_temp_dir: *mut ::std::os::raw::c_char,
16758 pub upload_tmp_dir: *mut ::std::os::raw::c_char,
16759 pub upload_max_filesize: zend_long,
16760 pub error_append_string: *mut ::std::os::raw::c_char,
16761 pub error_prepend_string: *mut ::std::os::raw::c_char,
16762 pub auto_prepend_file: *mut ::std::os::raw::c_char,
16763 pub auto_append_file: *mut ::std::os::raw::c_char,
16764 pub input_encoding: *mut ::std::os::raw::c_char,
16765 pub internal_encoding: *mut ::std::os::raw::c_char,
16766 pub output_encoding: *mut ::std::os::raw::c_char,
16767 pub arg_separator: arg_separators,
16768 pub variables_order: *mut ::std::os::raw::c_char,
16769 pub rfc1867_protected_variables: HashTable,
16770 pub connection_status: ::std::os::raw::c_short,
16771 pub ignore_user_abort: ::std::os::raw::c_short,
16772 pub header_is_being_sent: ::std::os::raw::c_uchar,
16773 pub tick_functions: zend_llist,
16774 pub http_globals: [zval; 6usize],
16775 pub expose_php: zend_bool,
16776 pub register_argc_argv: zend_bool,
16777 pub auto_globals_jit: zend_bool,
16778 pub docref_root: *mut ::std::os::raw::c_char,
16779 pub docref_ext: *mut ::std::os::raw::c_char,
16780 pub html_errors: zend_bool,
16781 pub xmlrpc_errors: zend_bool,
16782 pub xmlrpc_error_number: zend_long,
16783 pub activated_auto_globals: [zend_bool; 8usize],
16784 pub modules_activated: zend_bool,
16785 pub file_uploads: zend_bool,
16786 pub during_request_startup: zend_bool,
16787 pub allow_url_fopen: zend_bool,
16788 pub enable_post_data_reading: zend_bool,
16789 pub report_zend_debug: zend_bool,
16790 pub last_error_type: ::std::os::raw::c_int,
16791 pub last_error_message: *mut ::std::os::raw::c_char,
16792 pub last_error_file: *mut ::std::os::raw::c_char,
16793 pub last_error_lineno: ::std::os::raw::c_int,
16794 pub php_sys_temp_dir: *mut ::std::os::raw::c_char,
16795 pub disable_functions: *mut ::std::os::raw::c_char,
16796 pub disable_classes: *mut ::std::os::raw::c_char,
16797 pub allow_url_include: zend_bool,
16798 pub exit_on_timeout: zend_bool,
16799 pub max_input_nesting_level: zend_long,
16800 pub max_input_vars: zend_long,
16801 pub in_user_include: zend_bool,
16802 pub user_ini_filename: *mut ::std::os::raw::c_char,
16803 pub user_ini_cache_ttl: zend_long,
16804 pub request_order: *mut ::std::os::raw::c_char,
16805 pub mail_x_header: zend_bool,
16806 pub mail_log: *mut ::std::os::raw::c_char,
16807 pub in_error_log: zend_bool,
16808}
16809#[test]
16810fn bindgen_test_layout__php_core_globals() {
16811 assert_eq!(
16812 ::std::mem::size_of::<_php_core_globals>(),
16813 656usize,
16814 concat!("Size of: ", stringify!(_php_core_globals))
16815 );
16816 assert_eq!(
16817 ::std::mem::align_of::<_php_core_globals>(),
16818 8usize,
16819 concat!("Alignment of ", stringify!(_php_core_globals))
16820 );
16821 assert_eq!(
16822 unsafe {
16823 &(*(::std::ptr::null::<_php_core_globals>())).implicit_flush as *const _ as usize
16824 },
16825 0usize,
16826 concat!(
16827 "Offset of field: ",
16828 stringify!(_php_core_globals),
16829 "::",
16830 stringify!(implicit_flush)
16831 )
16832 );
16833 assert_eq!(
16834 unsafe {
16835 &(*(::std::ptr::null::<_php_core_globals>())).output_buffering as *const _ as usize
16836 },
16837 8usize,
16838 concat!(
16839 "Offset of field: ",
16840 stringify!(_php_core_globals),
16841 "::",
16842 stringify!(output_buffering)
16843 )
16844 );
16845 assert_eq!(
16846 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).sql_safe_mode as *const _ as usize },
16847 16usize,
16848 concat!(
16849 "Offset of field: ",
16850 stringify!(_php_core_globals),
16851 "::",
16852 stringify!(sql_safe_mode)
16853 )
16854 );
16855 assert_eq!(
16856 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).enable_dl as *const _ as usize },
16857 17usize,
16858 concat!(
16859 "Offset of field: ",
16860 stringify!(_php_core_globals),
16861 "::",
16862 stringify!(enable_dl)
16863 )
16864 );
16865 assert_eq!(
16866 unsafe {
16867 &(*(::std::ptr::null::<_php_core_globals>())).output_handler as *const _ as usize
16868 },
16869 24usize,
16870 concat!(
16871 "Offset of field: ",
16872 stringify!(_php_core_globals),
16873 "::",
16874 stringify!(output_handler)
16875 )
16876 );
16877 assert_eq!(
16878 unsafe {
16879 &(*(::std::ptr::null::<_php_core_globals>())).unserialize_callback_func as *const _
16880 as usize
16881 },
16882 32usize,
16883 concat!(
16884 "Offset of field: ",
16885 stringify!(_php_core_globals),
16886 "::",
16887 stringify!(unserialize_callback_func)
16888 )
16889 );
16890 assert_eq!(
16891 unsafe {
16892 &(*(::std::ptr::null::<_php_core_globals>())).serialize_precision as *const _ as usize
16893 },
16894 40usize,
16895 concat!(
16896 "Offset of field: ",
16897 stringify!(_php_core_globals),
16898 "::",
16899 stringify!(serialize_precision)
16900 )
16901 );
16902 assert_eq!(
16903 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).memory_limit as *const _ as usize },
16904 48usize,
16905 concat!(
16906 "Offset of field: ",
16907 stringify!(_php_core_globals),
16908 "::",
16909 stringify!(memory_limit)
16910 )
16911 );
16912 assert_eq!(
16913 unsafe {
16914 &(*(::std::ptr::null::<_php_core_globals>())).max_input_time as *const _ as usize
16915 },
16916 56usize,
16917 concat!(
16918 "Offset of field: ",
16919 stringify!(_php_core_globals),
16920 "::",
16921 stringify!(max_input_time)
16922 )
16923 );
16924 assert_eq!(
16925 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).track_errors as *const _ as usize },
16926 64usize,
16927 concat!(
16928 "Offset of field: ",
16929 stringify!(_php_core_globals),
16930 "::",
16931 stringify!(track_errors)
16932 )
16933 );
16934 assert_eq!(
16935 unsafe {
16936 &(*(::std::ptr::null::<_php_core_globals>())).display_errors as *const _ as usize
16937 },
16938 65usize,
16939 concat!(
16940 "Offset of field: ",
16941 stringify!(_php_core_globals),
16942 "::",
16943 stringify!(display_errors)
16944 )
16945 );
16946 assert_eq!(
16947 unsafe {
16948 &(*(::std::ptr::null::<_php_core_globals>())).display_startup_errors as *const _
16949 as usize
16950 },
16951 66usize,
16952 concat!(
16953 "Offset of field: ",
16954 stringify!(_php_core_globals),
16955 "::",
16956 stringify!(display_startup_errors)
16957 )
16958 );
16959 assert_eq!(
16960 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).log_errors as *const _ as usize },
16961 67usize,
16962 concat!(
16963 "Offset of field: ",
16964 stringify!(_php_core_globals),
16965 "::",
16966 stringify!(log_errors)
16967 )
16968 );
16969 assert_eq!(
16970 unsafe {
16971 &(*(::std::ptr::null::<_php_core_globals>())).log_errors_max_len as *const _ as usize
16972 },
16973 72usize,
16974 concat!(
16975 "Offset of field: ",
16976 stringify!(_php_core_globals),
16977 "::",
16978 stringify!(log_errors_max_len)
16979 )
16980 );
16981 assert_eq!(
16982 unsafe {
16983 &(*(::std::ptr::null::<_php_core_globals>())).ignore_repeated_errors as *const _
16984 as usize
16985 },
16986 80usize,
16987 concat!(
16988 "Offset of field: ",
16989 stringify!(_php_core_globals),
16990 "::",
16991 stringify!(ignore_repeated_errors)
16992 )
16993 );
16994 assert_eq!(
16995 unsafe {
16996 &(*(::std::ptr::null::<_php_core_globals>())).ignore_repeated_source as *const _
16997 as usize
16998 },
16999 81usize,
17000 concat!(
17001 "Offset of field: ",
17002 stringify!(_php_core_globals),
17003 "::",
17004 stringify!(ignore_repeated_source)
17005 )
17006 );
17007 assert_eq!(
17008 unsafe {
17009 &(*(::std::ptr::null::<_php_core_globals>())).report_memleaks as *const _ as usize
17010 },
17011 82usize,
17012 concat!(
17013 "Offset of field: ",
17014 stringify!(_php_core_globals),
17015 "::",
17016 stringify!(report_memleaks)
17017 )
17018 );
17019 assert_eq!(
17020 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).error_log as *const _ as usize },
17021 88usize,
17022 concat!(
17023 "Offset of field: ",
17024 stringify!(_php_core_globals),
17025 "::",
17026 stringify!(error_log)
17027 )
17028 );
17029 assert_eq!(
17030 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).doc_root as *const _ as usize },
17031 96usize,
17032 concat!(
17033 "Offset of field: ",
17034 stringify!(_php_core_globals),
17035 "::",
17036 stringify!(doc_root)
17037 )
17038 );
17039 assert_eq!(
17040 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).user_dir as *const _ as usize },
17041 104usize,
17042 concat!(
17043 "Offset of field: ",
17044 stringify!(_php_core_globals),
17045 "::",
17046 stringify!(user_dir)
17047 )
17048 );
17049 assert_eq!(
17050 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).include_path as *const _ as usize },
17051 112usize,
17052 concat!(
17053 "Offset of field: ",
17054 stringify!(_php_core_globals),
17055 "::",
17056 stringify!(include_path)
17057 )
17058 );
17059 assert_eq!(
17060 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).open_basedir as *const _ as usize },
17061 120usize,
17062 concat!(
17063 "Offset of field: ",
17064 stringify!(_php_core_globals),
17065 "::",
17066 stringify!(open_basedir)
17067 )
17068 );
17069 assert_eq!(
17070 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).extension_dir as *const _ as usize },
17071 128usize,
17072 concat!(
17073 "Offset of field: ",
17074 stringify!(_php_core_globals),
17075 "::",
17076 stringify!(extension_dir)
17077 )
17078 );
17079 assert_eq!(
17080 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).php_binary as *const _ as usize },
17081 136usize,
17082 concat!(
17083 "Offset of field: ",
17084 stringify!(_php_core_globals),
17085 "::",
17086 stringify!(php_binary)
17087 )
17088 );
17089 assert_eq!(
17090 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).sys_temp_dir as *const _ as usize },
17091 144usize,
17092 concat!(
17093 "Offset of field: ",
17094 stringify!(_php_core_globals),
17095 "::",
17096 stringify!(sys_temp_dir)
17097 )
17098 );
17099 assert_eq!(
17100 unsafe {
17101 &(*(::std::ptr::null::<_php_core_globals>())).upload_tmp_dir as *const _ as usize
17102 },
17103 152usize,
17104 concat!(
17105 "Offset of field: ",
17106 stringify!(_php_core_globals),
17107 "::",
17108 stringify!(upload_tmp_dir)
17109 )
17110 );
17111 assert_eq!(
17112 unsafe {
17113 &(*(::std::ptr::null::<_php_core_globals>())).upload_max_filesize as *const _ as usize
17114 },
17115 160usize,
17116 concat!(
17117 "Offset of field: ",
17118 stringify!(_php_core_globals),
17119 "::",
17120 stringify!(upload_max_filesize)
17121 )
17122 );
17123 assert_eq!(
17124 unsafe {
17125 &(*(::std::ptr::null::<_php_core_globals>())).error_append_string as *const _ as usize
17126 },
17127 168usize,
17128 concat!(
17129 "Offset of field: ",
17130 stringify!(_php_core_globals),
17131 "::",
17132 stringify!(error_append_string)
17133 )
17134 );
17135 assert_eq!(
17136 unsafe {
17137 &(*(::std::ptr::null::<_php_core_globals>())).error_prepend_string as *const _ as usize
17138 },
17139 176usize,
17140 concat!(
17141 "Offset of field: ",
17142 stringify!(_php_core_globals),
17143 "::",
17144 stringify!(error_prepend_string)
17145 )
17146 );
17147 assert_eq!(
17148 unsafe {
17149 &(*(::std::ptr::null::<_php_core_globals>())).auto_prepend_file as *const _ as usize
17150 },
17151 184usize,
17152 concat!(
17153 "Offset of field: ",
17154 stringify!(_php_core_globals),
17155 "::",
17156 stringify!(auto_prepend_file)
17157 )
17158 );
17159 assert_eq!(
17160 unsafe {
17161 &(*(::std::ptr::null::<_php_core_globals>())).auto_append_file as *const _ as usize
17162 },
17163 192usize,
17164 concat!(
17165 "Offset of field: ",
17166 stringify!(_php_core_globals),
17167 "::",
17168 stringify!(auto_append_file)
17169 )
17170 );
17171 assert_eq!(
17172 unsafe {
17173 &(*(::std::ptr::null::<_php_core_globals>())).input_encoding as *const _ as usize
17174 },
17175 200usize,
17176 concat!(
17177 "Offset of field: ",
17178 stringify!(_php_core_globals),
17179 "::",
17180 stringify!(input_encoding)
17181 )
17182 );
17183 assert_eq!(
17184 unsafe {
17185 &(*(::std::ptr::null::<_php_core_globals>())).internal_encoding as *const _ as usize
17186 },
17187 208usize,
17188 concat!(
17189 "Offset of field: ",
17190 stringify!(_php_core_globals),
17191 "::",
17192 stringify!(internal_encoding)
17193 )
17194 );
17195 assert_eq!(
17196 unsafe {
17197 &(*(::std::ptr::null::<_php_core_globals>())).output_encoding as *const _ as usize
17198 },
17199 216usize,
17200 concat!(
17201 "Offset of field: ",
17202 stringify!(_php_core_globals),
17203 "::",
17204 stringify!(output_encoding)
17205 )
17206 );
17207 assert_eq!(
17208 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).arg_separator as *const _ as usize },
17209 224usize,
17210 concat!(
17211 "Offset of field: ",
17212 stringify!(_php_core_globals),
17213 "::",
17214 stringify!(arg_separator)
17215 )
17216 );
17217 assert_eq!(
17218 unsafe {
17219 &(*(::std::ptr::null::<_php_core_globals>())).variables_order as *const _ as usize
17220 },
17221 240usize,
17222 concat!(
17223 "Offset of field: ",
17224 stringify!(_php_core_globals),
17225 "::",
17226 stringify!(variables_order)
17227 )
17228 );
17229 assert_eq!(
17230 unsafe {
17231 &(*(::std::ptr::null::<_php_core_globals>())).rfc1867_protected_variables as *const _
17232 as usize
17233 },
17234 248usize,
17235 concat!(
17236 "Offset of field: ",
17237 stringify!(_php_core_globals),
17238 "::",
17239 stringify!(rfc1867_protected_variables)
17240 )
17241 );
17242 assert_eq!(
17243 unsafe {
17244 &(*(::std::ptr::null::<_php_core_globals>())).connection_status as *const _ as usize
17245 },
17246 304usize,
17247 concat!(
17248 "Offset of field: ",
17249 stringify!(_php_core_globals),
17250 "::",
17251 stringify!(connection_status)
17252 )
17253 );
17254 assert_eq!(
17255 unsafe {
17256 &(*(::std::ptr::null::<_php_core_globals>())).ignore_user_abort as *const _ as usize
17257 },
17258 306usize,
17259 concat!(
17260 "Offset of field: ",
17261 stringify!(_php_core_globals),
17262 "::",
17263 stringify!(ignore_user_abort)
17264 )
17265 );
17266 assert_eq!(
17267 unsafe {
17268 &(*(::std::ptr::null::<_php_core_globals>())).header_is_being_sent as *const _ as usize
17269 },
17270 308usize,
17271 concat!(
17272 "Offset of field: ",
17273 stringify!(_php_core_globals),
17274 "::",
17275 stringify!(header_is_being_sent)
17276 )
17277 );
17278 assert_eq!(
17279 unsafe {
17280 &(*(::std::ptr::null::<_php_core_globals>())).tick_functions as *const _ as usize
17281 },
17282 312usize,
17283 concat!(
17284 "Offset of field: ",
17285 stringify!(_php_core_globals),
17286 "::",
17287 stringify!(tick_functions)
17288 )
17289 );
17290 assert_eq!(
17291 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).http_globals as *const _ as usize },
17292 368usize,
17293 concat!(
17294 "Offset of field: ",
17295 stringify!(_php_core_globals),
17296 "::",
17297 stringify!(http_globals)
17298 )
17299 );
17300 assert_eq!(
17301 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).expose_php as *const _ as usize },
17302 464usize,
17303 concat!(
17304 "Offset of field: ",
17305 stringify!(_php_core_globals),
17306 "::",
17307 stringify!(expose_php)
17308 )
17309 );
17310 assert_eq!(
17311 unsafe {
17312 &(*(::std::ptr::null::<_php_core_globals>())).register_argc_argv as *const _ as usize
17313 },
17314 465usize,
17315 concat!(
17316 "Offset of field: ",
17317 stringify!(_php_core_globals),
17318 "::",
17319 stringify!(register_argc_argv)
17320 )
17321 );
17322 assert_eq!(
17323 unsafe {
17324 &(*(::std::ptr::null::<_php_core_globals>())).auto_globals_jit as *const _ as usize
17325 },
17326 466usize,
17327 concat!(
17328 "Offset of field: ",
17329 stringify!(_php_core_globals),
17330 "::",
17331 stringify!(auto_globals_jit)
17332 )
17333 );
17334 assert_eq!(
17335 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).docref_root as *const _ as usize },
17336 472usize,
17337 concat!(
17338 "Offset of field: ",
17339 stringify!(_php_core_globals),
17340 "::",
17341 stringify!(docref_root)
17342 )
17343 );
17344 assert_eq!(
17345 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).docref_ext as *const _ as usize },
17346 480usize,
17347 concat!(
17348 "Offset of field: ",
17349 stringify!(_php_core_globals),
17350 "::",
17351 stringify!(docref_ext)
17352 )
17353 );
17354 assert_eq!(
17355 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).html_errors as *const _ as usize },
17356 488usize,
17357 concat!(
17358 "Offset of field: ",
17359 stringify!(_php_core_globals),
17360 "::",
17361 stringify!(html_errors)
17362 )
17363 );
17364 assert_eq!(
17365 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).xmlrpc_errors as *const _ as usize },
17366 489usize,
17367 concat!(
17368 "Offset of field: ",
17369 stringify!(_php_core_globals),
17370 "::",
17371 stringify!(xmlrpc_errors)
17372 )
17373 );
17374 assert_eq!(
17375 unsafe {
17376 &(*(::std::ptr::null::<_php_core_globals>())).xmlrpc_error_number as *const _ as usize
17377 },
17378 496usize,
17379 concat!(
17380 "Offset of field: ",
17381 stringify!(_php_core_globals),
17382 "::",
17383 stringify!(xmlrpc_error_number)
17384 )
17385 );
17386 assert_eq!(
17387 unsafe {
17388 &(*(::std::ptr::null::<_php_core_globals>())).activated_auto_globals as *const _
17389 as usize
17390 },
17391 504usize,
17392 concat!(
17393 "Offset of field: ",
17394 stringify!(_php_core_globals),
17395 "::",
17396 stringify!(activated_auto_globals)
17397 )
17398 );
17399 assert_eq!(
17400 unsafe {
17401 &(*(::std::ptr::null::<_php_core_globals>())).modules_activated as *const _ as usize
17402 },
17403 512usize,
17404 concat!(
17405 "Offset of field: ",
17406 stringify!(_php_core_globals),
17407 "::",
17408 stringify!(modules_activated)
17409 )
17410 );
17411 assert_eq!(
17412 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).file_uploads as *const _ as usize },
17413 513usize,
17414 concat!(
17415 "Offset of field: ",
17416 stringify!(_php_core_globals),
17417 "::",
17418 stringify!(file_uploads)
17419 )
17420 );
17421 assert_eq!(
17422 unsafe {
17423 &(*(::std::ptr::null::<_php_core_globals>())).during_request_startup as *const _
17424 as usize
17425 },
17426 514usize,
17427 concat!(
17428 "Offset of field: ",
17429 stringify!(_php_core_globals),
17430 "::",
17431 stringify!(during_request_startup)
17432 )
17433 );
17434 assert_eq!(
17435 unsafe {
17436 &(*(::std::ptr::null::<_php_core_globals>())).allow_url_fopen as *const _ as usize
17437 },
17438 515usize,
17439 concat!(
17440 "Offset of field: ",
17441 stringify!(_php_core_globals),
17442 "::",
17443 stringify!(allow_url_fopen)
17444 )
17445 );
17446 assert_eq!(
17447 unsafe {
17448 &(*(::std::ptr::null::<_php_core_globals>())).enable_post_data_reading as *const _
17449 as usize
17450 },
17451 516usize,
17452 concat!(
17453 "Offset of field: ",
17454 stringify!(_php_core_globals),
17455 "::",
17456 stringify!(enable_post_data_reading)
17457 )
17458 );
17459 assert_eq!(
17460 unsafe {
17461 &(*(::std::ptr::null::<_php_core_globals>())).report_zend_debug as *const _ as usize
17462 },
17463 517usize,
17464 concat!(
17465 "Offset of field: ",
17466 stringify!(_php_core_globals),
17467 "::",
17468 stringify!(report_zend_debug)
17469 )
17470 );
17471 assert_eq!(
17472 unsafe {
17473 &(*(::std::ptr::null::<_php_core_globals>())).last_error_type as *const _ as usize
17474 },
17475 520usize,
17476 concat!(
17477 "Offset of field: ",
17478 stringify!(_php_core_globals),
17479 "::",
17480 stringify!(last_error_type)
17481 )
17482 );
17483 assert_eq!(
17484 unsafe {
17485 &(*(::std::ptr::null::<_php_core_globals>())).last_error_message as *const _ as usize
17486 },
17487 528usize,
17488 concat!(
17489 "Offset of field: ",
17490 stringify!(_php_core_globals),
17491 "::",
17492 stringify!(last_error_message)
17493 )
17494 );
17495 assert_eq!(
17496 unsafe {
17497 &(*(::std::ptr::null::<_php_core_globals>())).last_error_file as *const _ as usize
17498 },
17499 536usize,
17500 concat!(
17501 "Offset of field: ",
17502 stringify!(_php_core_globals),
17503 "::",
17504 stringify!(last_error_file)
17505 )
17506 );
17507 assert_eq!(
17508 unsafe {
17509 &(*(::std::ptr::null::<_php_core_globals>())).last_error_lineno as *const _ as usize
17510 },
17511 544usize,
17512 concat!(
17513 "Offset of field: ",
17514 stringify!(_php_core_globals),
17515 "::",
17516 stringify!(last_error_lineno)
17517 )
17518 );
17519 assert_eq!(
17520 unsafe {
17521 &(*(::std::ptr::null::<_php_core_globals>())).php_sys_temp_dir as *const _ as usize
17522 },
17523 552usize,
17524 concat!(
17525 "Offset of field: ",
17526 stringify!(_php_core_globals),
17527 "::",
17528 stringify!(php_sys_temp_dir)
17529 )
17530 );
17531 assert_eq!(
17532 unsafe {
17533 &(*(::std::ptr::null::<_php_core_globals>())).disable_functions as *const _ as usize
17534 },
17535 560usize,
17536 concat!(
17537 "Offset of field: ",
17538 stringify!(_php_core_globals),
17539 "::",
17540 stringify!(disable_functions)
17541 )
17542 );
17543 assert_eq!(
17544 unsafe {
17545 &(*(::std::ptr::null::<_php_core_globals>())).disable_classes as *const _ as usize
17546 },
17547 568usize,
17548 concat!(
17549 "Offset of field: ",
17550 stringify!(_php_core_globals),
17551 "::",
17552 stringify!(disable_classes)
17553 )
17554 );
17555 assert_eq!(
17556 unsafe {
17557 &(*(::std::ptr::null::<_php_core_globals>())).allow_url_include as *const _ as usize
17558 },
17559 576usize,
17560 concat!(
17561 "Offset of field: ",
17562 stringify!(_php_core_globals),
17563 "::",
17564 stringify!(allow_url_include)
17565 )
17566 );
17567 assert_eq!(
17568 unsafe {
17569 &(*(::std::ptr::null::<_php_core_globals>())).exit_on_timeout as *const _ as usize
17570 },
17571 577usize,
17572 concat!(
17573 "Offset of field: ",
17574 stringify!(_php_core_globals),
17575 "::",
17576 stringify!(exit_on_timeout)
17577 )
17578 );
17579 assert_eq!(
17580 unsafe {
17581 &(*(::std::ptr::null::<_php_core_globals>())).max_input_nesting_level as *const _
17582 as usize
17583 },
17584 584usize,
17585 concat!(
17586 "Offset of field: ",
17587 stringify!(_php_core_globals),
17588 "::",
17589 stringify!(max_input_nesting_level)
17590 )
17591 );
17592 assert_eq!(
17593 unsafe {
17594 &(*(::std::ptr::null::<_php_core_globals>())).max_input_vars as *const _ as usize
17595 },
17596 592usize,
17597 concat!(
17598 "Offset of field: ",
17599 stringify!(_php_core_globals),
17600 "::",
17601 stringify!(max_input_vars)
17602 )
17603 );
17604 assert_eq!(
17605 unsafe {
17606 &(*(::std::ptr::null::<_php_core_globals>())).in_user_include as *const _ as usize
17607 },
17608 600usize,
17609 concat!(
17610 "Offset of field: ",
17611 stringify!(_php_core_globals),
17612 "::",
17613 stringify!(in_user_include)
17614 )
17615 );
17616 assert_eq!(
17617 unsafe {
17618 &(*(::std::ptr::null::<_php_core_globals>())).user_ini_filename as *const _ as usize
17619 },
17620 608usize,
17621 concat!(
17622 "Offset of field: ",
17623 stringify!(_php_core_globals),
17624 "::",
17625 stringify!(user_ini_filename)
17626 )
17627 );
17628 assert_eq!(
17629 unsafe {
17630 &(*(::std::ptr::null::<_php_core_globals>())).user_ini_cache_ttl as *const _ as usize
17631 },
17632 616usize,
17633 concat!(
17634 "Offset of field: ",
17635 stringify!(_php_core_globals),
17636 "::",
17637 stringify!(user_ini_cache_ttl)
17638 )
17639 );
17640 assert_eq!(
17641 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).request_order as *const _ as usize },
17642 624usize,
17643 concat!(
17644 "Offset of field: ",
17645 stringify!(_php_core_globals),
17646 "::",
17647 stringify!(request_order)
17648 )
17649 );
17650 assert_eq!(
17651 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).mail_x_header as *const _ as usize },
17652 632usize,
17653 concat!(
17654 "Offset of field: ",
17655 stringify!(_php_core_globals),
17656 "::",
17657 stringify!(mail_x_header)
17658 )
17659 );
17660 assert_eq!(
17661 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).mail_log as *const _ as usize },
17662 640usize,
17663 concat!(
17664 "Offset of field: ",
17665 stringify!(_php_core_globals),
17666 "::",
17667 stringify!(mail_log)
17668 )
17669 );
17670 assert_eq!(
17671 unsafe { &(*(::std::ptr::null::<_php_core_globals>())).in_error_log as *const _ as usize },
17672 648usize,
17673 concat!(
17674 "Offset of field: ",
17675 stringify!(_php_core_globals),
17676 "::",
17677 stringify!(in_error_log)
17678 )
17679 );
17680}
17681extern "C" {
17682 pub static mut core_globals: _php_core_globals;
17683}
17684#[repr(C)]
17685#[derive(Debug, Copy, Clone)]
17686pub struct _arg_separators {
17687 pub output: *mut ::std::os::raw::c_char,
17688 pub input: *mut ::std::os::raw::c_char,
17689}
17690#[test]
17691fn bindgen_test_layout__arg_separators() {
17692 assert_eq!(
17693 ::std::mem::size_of::<_arg_separators>(),
17694 16usize,
17695 concat!("Size of: ", stringify!(_arg_separators))
17696 );
17697 assert_eq!(
17698 ::std::mem::align_of::<_arg_separators>(),
17699 8usize,
17700 concat!("Alignment of ", stringify!(_arg_separators))
17701 );
17702 assert_eq!(
17703 unsafe { &(*(::std::ptr::null::<_arg_separators>())).output as *const _ as usize },
17704 0usize,
17705 concat!(
17706 "Offset of field: ",
17707 stringify!(_arg_separators),
17708 "::",
17709 stringify!(output)
17710 )
17711 );
17712 assert_eq!(
17713 unsafe { &(*(::std::ptr::null::<_arg_separators>())).input as *const _ as usize },
17714 8usize,
17715 concat!(
17716 "Offset of field: ",
17717 stringify!(_arg_separators),
17718 "::",
17719 stringify!(input)
17720 )
17721 );
17722}
17723pub type arg_separators = _arg_separators;
17724#[repr(C)]
17725#[derive(Debug, Copy, Clone)]
17726pub struct _zend_ini_entry_def {
17727 pub name: *const ::std::os::raw::c_char,
17728 pub on_modify: ::std::option::Option<
17729 unsafe extern "C" fn(
17730 entry: *mut zend_ini_entry,
17731 new_value: *mut zend_string,
17732 mh_arg1: *mut ::std::os::raw::c_void,
17733 mh_arg2: *mut ::std::os::raw::c_void,
17734 mh_arg3: *mut ::std::os::raw::c_void,
17735 stage: ::std::os::raw::c_int,
17736 ) -> ::std::os::raw::c_int,
17737 >,
17738 pub mh_arg1: *mut ::std::os::raw::c_void,
17739 pub mh_arg2: *mut ::std::os::raw::c_void,
17740 pub mh_arg3: *mut ::std::os::raw::c_void,
17741 pub value: *const ::std::os::raw::c_char,
17742 pub displayer: ::std::option::Option<
17743 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
17744 >,
17745 pub modifiable: ::std::os::raw::c_int,
17746 pub name_length: uint,
17747 pub value_length: uint,
17748}
17749#[test]
17750fn bindgen_test_layout__zend_ini_entry_def() {
17751 assert_eq!(
17752 ::std::mem::size_of::<_zend_ini_entry_def>(),
17753 72usize,
17754 concat!("Size of: ", stringify!(_zend_ini_entry_def))
17755 );
17756 assert_eq!(
17757 ::std::mem::align_of::<_zend_ini_entry_def>(),
17758 8usize,
17759 concat!("Alignment of ", stringify!(_zend_ini_entry_def))
17760 );
17761 assert_eq!(
17762 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).name as *const _ as usize },
17763 0usize,
17764 concat!(
17765 "Offset of field: ",
17766 stringify!(_zend_ini_entry_def),
17767 "::",
17768 stringify!(name)
17769 )
17770 );
17771 assert_eq!(
17772 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).on_modify as *const _ as usize },
17773 8usize,
17774 concat!(
17775 "Offset of field: ",
17776 stringify!(_zend_ini_entry_def),
17777 "::",
17778 stringify!(on_modify)
17779 )
17780 );
17781 assert_eq!(
17782 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).mh_arg1 as *const _ as usize },
17783 16usize,
17784 concat!(
17785 "Offset of field: ",
17786 stringify!(_zend_ini_entry_def),
17787 "::",
17788 stringify!(mh_arg1)
17789 )
17790 );
17791 assert_eq!(
17792 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).mh_arg2 as *const _ as usize },
17793 24usize,
17794 concat!(
17795 "Offset of field: ",
17796 stringify!(_zend_ini_entry_def),
17797 "::",
17798 stringify!(mh_arg2)
17799 )
17800 );
17801 assert_eq!(
17802 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).mh_arg3 as *const _ as usize },
17803 32usize,
17804 concat!(
17805 "Offset of field: ",
17806 stringify!(_zend_ini_entry_def),
17807 "::",
17808 stringify!(mh_arg3)
17809 )
17810 );
17811 assert_eq!(
17812 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).value as *const _ as usize },
17813 40usize,
17814 concat!(
17815 "Offset of field: ",
17816 stringify!(_zend_ini_entry_def),
17817 "::",
17818 stringify!(value)
17819 )
17820 );
17821 assert_eq!(
17822 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).displayer as *const _ as usize },
17823 48usize,
17824 concat!(
17825 "Offset of field: ",
17826 stringify!(_zend_ini_entry_def),
17827 "::",
17828 stringify!(displayer)
17829 )
17830 );
17831 assert_eq!(
17832 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).modifiable as *const _ as usize },
17833 56usize,
17834 concat!(
17835 "Offset of field: ",
17836 stringify!(_zend_ini_entry_def),
17837 "::",
17838 stringify!(modifiable)
17839 )
17840 );
17841 assert_eq!(
17842 unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).name_length as *const _ as usize },
17843 60usize,
17844 concat!(
17845 "Offset of field: ",
17846 stringify!(_zend_ini_entry_def),
17847 "::",
17848 stringify!(name_length)
17849 )
17850 );
17851 assert_eq!(
17852 unsafe {
17853 &(*(::std::ptr::null::<_zend_ini_entry_def>())).value_length as *const _ as usize
17854 },
17855 64usize,
17856 concat!(
17857 "Offset of field: ",
17858 stringify!(_zend_ini_entry_def),
17859 "::",
17860 stringify!(value_length)
17861 )
17862 );
17863}
17864pub type zend_ini_entry_def = _zend_ini_entry_def;
17865#[repr(C)]
17866#[derive(Debug, Copy, Clone)]
17867pub struct _zend_ini_entry {
17868 pub name: *mut zend_string,
17869 pub on_modify: ::std::option::Option<
17870 unsafe extern "C" fn(
17871 entry: *mut zend_ini_entry,
17872 new_value: *mut zend_string,
17873 mh_arg1: *mut ::std::os::raw::c_void,
17874 mh_arg2: *mut ::std::os::raw::c_void,
17875 mh_arg3: *mut ::std::os::raw::c_void,
17876 stage: ::std::os::raw::c_int,
17877 ) -> ::std::os::raw::c_int,
17878 >,
17879 pub mh_arg1: *mut ::std::os::raw::c_void,
17880 pub mh_arg2: *mut ::std::os::raw::c_void,
17881 pub mh_arg3: *mut ::std::os::raw::c_void,
17882 pub value: *mut zend_string,
17883 pub orig_value: *mut zend_string,
17884 pub displayer: ::std::option::Option<
17885 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
17886 >,
17887 pub modifiable: ::std::os::raw::c_int,
17888 pub orig_modifiable: ::std::os::raw::c_int,
17889 pub modified: ::std::os::raw::c_int,
17890 pub module_number: ::std::os::raw::c_int,
17891}
17892#[test]
17893fn bindgen_test_layout__zend_ini_entry() {
17894 assert_eq!(
17895 ::std::mem::size_of::<_zend_ini_entry>(),
17896 80usize,
17897 concat!("Size of: ", stringify!(_zend_ini_entry))
17898 );
17899 assert_eq!(
17900 ::std::mem::align_of::<_zend_ini_entry>(),
17901 8usize,
17902 concat!("Alignment of ", stringify!(_zend_ini_entry))
17903 );
17904 assert_eq!(
17905 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).name as *const _ as usize },
17906 0usize,
17907 concat!(
17908 "Offset of field: ",
17909 stringify!(_zend_ini_entry),
17910 "::",
17911 stringify!(name)
17912 )
17913 );
17914 assert_eq!(
17915 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).on_modify as *const _ as usize },
17916 8usize,
17917 concat!(
17918 "Offset of field: ",
17919 stringify!(_zend_ini_entry),
17920 "::",
17921 stringify!(on_modify)
17922 )
17923 );
17924 assert_eq!(
17925 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg1 as *const _ as usize },
17926 16usize,
17927 concat!(
17928 "Offset of field: ",
17929 stringify!(_zend_ini_entry),
17930 "::",
17931 stringify!(mh_arg1)
17932 )
17933 );
17934 assert_eq!(
17935 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg2 as *const _ as usize },
17936 24usize,
17937 concat!(
17938 "Offset of field: ",
17939 stringify!(_zend_ini_entry),
17940 "::",
17941 stringify!(mh_arg2)
17942 )
17943 );
17944 assert_eq!(
17945 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg3 as *const _ as usize },
17946 32usize,
17947 concat!(
17948 "Offset of field: ",
17949 stringify!(_zend_ini_entry),
17950 "::",
17951 stringify!(mh_arg3)
17952 )
17953 );
17954 assert_eq!(
17955 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).value as *const _ as usize },
17956 40usize,
17957 concat!(
17958 "Offset of field: ",
17959 stringify!(_zend_ini_entry),
17960 "::",
17961 stringify!(value)
17962 )
17963 );
17964 assert_eq!(
17965 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).orig_value as *const _ as usize },
17966 48usize,
17967 concat!(
17968 "Offset of field: ",
17969 stringify!(_zend_ini_entry),
17970 "::",
17971 stringify!(orig_value)
17972 )
17973 );
17974 assert_eq!(
17975 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).displayer as *const _ as usize },
17976 56usize,
17977 concat!(
17978 "Offset of field: ",
17979 stringify!(_zend_ini_entry),
17980 "::",
17981 stringify!(displayer)
17982 )
17983 );
17984 assert_eq!(
17985 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).modifiable as *const _ as usize },
17986 64usize,
17987 concat!(
17988 "Offset of field: ",
17989 stringify!(_zend_ini_entry),
17990 "::",
17991 stringify!(modifiable)
17992 )
17993 );
17994 assert_eq!(
17995 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).orig_modifiable as *const _ as usize },
17996 68usize,
17997 concat!(
17998 "Offset of field: ",
17999 stringify!(_zend_ini_entry),
18000 "::",
18001 stringify!(orig_modifiable)
18002 )
18003 );
18004 assert_eq!(
18005 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).modified as *const _ as usize },
18006 72usize,
18007 concat!(
18008 "Offset of field: ",
18009 stringify!(_zend_ini_entry),
18010 "::",
18011 stringify!(modified)
18012 )
18013 );
18014 assert_eq!(
18015 unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).module_number as *const _ as usize },
18016 76usize,
18017 concat!(
18018 "Offset of field: ",
18019 stringify!(_zend_ini_entry),
18020 "::",
18021 stringify!(module_number)
18022 )
18023 );
18024}
18025extern "C" {
18026 pub fn zend_ini_startup() -> ::std::os::raw::c_int;
18027}
18028extern "C" {
18029 pub fn zend_ini_shutdown() -> ::std::os::raw::c_int;
18030}
18031extern "C" {
18032 pub fn zend_ini_global_shutdown() -> ::std::os::raw::c_int;
18033}
18034extern "C" {
18035 pub fn zend_ini_deactivate() -> ::std::os::raw::c_int;
18036}
18037extern "C" {
18038 pub fn zend_ini_dtor(ini_directives: *mut HashTable);
18039}
18040extern "C" {
18041 pub fn zend_copy_ini_directives() -> ::std::os::raw::c_int;
18042}
18043extern "C" {
18044 pub fn zend_ini_sort_entries();
18045}
18046extern "C" {
18047 pub fn zend_register_ini_entries(
18048 ini_entry: *const zend_ini_entry_def,
18049 module_number: ::std::os::raw::c_int,
18050 ) -> ::std::os::raw::c_int;
18051}
18052extern "C" {
18053 pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
18054}
18055extern "C" {
18056 pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
18057}
18058extern "C" {
18059 pub fn zend_alter_ini_entry(
18060 name: *mut zend_string,
18061 new_value: *mut zend_string,
18062 modify_type: ::std::os::raw::c_int,
18063 stage: ::std::os::raw::c_int,
18064 ) -> ::std::os::raw::c_int;
18065}
18066extern "C" {
18067 pub fn zend_alter_ini_entry_ex(
18068 name: *mut zend_string,
18069 new_value: *mut zend_string,
18070 modify_type: ::std::os::raw::c_int,
18071 stage: ::std::os::raw::c_int,
18072 force_change: ::std::os::raw::c_int,
18073 ) -> ::std::os::raw::c_int;
18074}
18075extern "C" {
18076 pub fn zend_alter_ini_entry_chars(
18077 name: *mut zend_string,
18078 value: *const ::std::os::raw::c_char,
18079 value_length: size_t,
18080 modify_type: ::std::os::raw::c_int,
18081 stage: ::std::os::raw::c_int,
18082 ) -> ::std::os::raw::c_int;
18083}
18084extern "C" {
18085 pub fn zend_alter_ini_entry_chars_ex(
18086 name: *mut zend_string,
18087 value: *const ::std::os::raw::c_char,
18088 value_length: size_t,
18089 modify_type: ::std::os::raw::c_int,
18090 stage: ::std::os::raw::c_int,
18091 force_change: ::std::os::raw::c_int,
18092 ) -> ::std::os::raw::c_int;
18093}
18094extern "C" {
18095 pub fn zend_restore_ini_entry(
18096 name: *mut zend_string,
18097 stage: ::std::os::raw::c_int,
18098 ) -> ::std::os::raw::c_int;
18099}
18100extern "C" {
18101 pub fn zend_ini_long(
18102 name: *mut ::std::os::raw::c_char,
18103 name_length: uint,
18104 orig: ::std::os::raw::c_int,
18105 ) -> zend_long;
18106}
18107extern "C" {
18108 pub fn zend_ini_double(
18109 name: *mut ::std::os::raw::c_char,
18110 name_length: uint,
18111 orig: ::std::os::raw::c_int,
18112 ) -> f64;
18113}
18114extern "C" {
18115 pub fn zend_ini_string(
18116 name: *mut ::std::os::raw::c_char,
18117 name_length: uint,
18118 orig: ::std::os::raw::c_int,
18119 ) -> *mut ::std::os::raw::c_char;
18120}
18121extern "C" {
18122 pub fn zend_ini_string_ex(
18123 name: *mut ::std::os::raw::c_char,
18124 name_length: uint,
18125 orig: ::std::os::raw::c_int,
18126 exists: *mut zend_bool,
18127 ) -> *mut ::std::os::raw::c_char;
18128}
18129extern "C" {
18130 pub fn zend_ini_register_displayer(
18131 name: *mut ::std::os::raw::c_char,
18132 name_length: uint,
18133 displayer: ::std::option::Option<
18134 unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
18135 >,
18136 ) -> ::std::os::raw::c_int;
18137}
18138extern "C" {
18139 pub fn zend_ini_boolean_displayer_cb(
18140 ini_entry: *mut zend_ini_entry,
18141 type_: ::std::os::raw::c_int,
18142 );
18143}
18144extern "C" {
18145 pub fn zend_ini_color_displayer_cb(
18146 ini_entry: *mut zend_ini_entry,
18147 type_: ::std::os::raw::c_int,
18148 );
18149}
18150pub type zend_ini_parser_cb_t = ::std::option::Option<
18151 unsafe extern "C" fn(
18152 arg1: *mut zval,
18153 arg2: *mut zval,
18154 arg3: *mut zval,
18155 callback_type: ::std::os::raw::c_int,
18156 arg: *mut ::std::os::raw::c_void,
18157 ),
18158>;
18159extern "C" {
18160 pub fn zend_parse_ini_file(
18161 fh: *mut zend_file_handle,
18162 unbuffered_errors: zend_bool,
18163 scanner_mode: ::std::os::raw::c_int,
18164 ini_parser_cb: zend_ini_parser_cb_t,
18165 arg: *mut ::std::os::raw::c_void,
18166 ) -> ::std::os::raw::c_int;
18167}
18168extern "C" {
18169 pub fn zend_parse_ini_string(
18170 str_: *mut ::std::os::raw::c_char,
18171 unbuffered_errors: zend_bool,
18172 scanner_mode: ::std::os::raw::c_int,
18173 ini_parser_cb: zend_ini_parser_cb_t,
18174 arg: *mut ::std::os::raw::c_void,
18175 ) -> ::std::os::raw::c_int;
18176}
18177#[repr(C)]
18178#[derive(Debug, Copy, Clone)]
18179pub struct _zend_ini_parser_param {
18180 pub ini_parser_cb: zend_ini_parser_cb_t,
18181 pub arg: *mut ::std::os::raw::c_void,
18182}
18183#[test]
18184fn bindgen_test_layout__zend_ini_parser_param() {
18185 assert_eq!(
18186 ::std::mem::size_of::<_zend_ini_parser_param>(),
18187 16usize,
18188 concat!("Size of: ", stringify!(_zend_ini_parser_param))
18189 );
18190 assert_eq!(
18191 ::std::mem::align_of::<_zend_ini_parser_param>(),
18192 8usize,
18193 concat!("Alignment of ", stringify!(_zend_ini_parser_param))
18194 );
18195 assert_eq!(
18196 unsafe {
18197 &(*(::std::ptr::null::<_zend_ini_parser_param>())).ini_parser_cb as *const _ as usize
18198 },
18199 0usize,
18200 concat!(
18201 "Offset of field: ",
18202 stringify!(_zend_ini_parser_param),
18203 "::",
18204 stringify!(ini_parser_cb)
18205 )
18206 );
18207 assert_eq!(
18208 unsafe { &(*(::std::ptr::null::<_zend_ini_parser_param>())).arg as *const _ as usize },
18209 8usize,
18210 concat!(
18211 "Offset of field: ",
18212 stringify!(_zend_ini_parser_param),
18213 "::",
18214 stringify!(arg)
18215 )
18216 );
18217}
18218pub type zend_ini_parser_param = _zend_ini_parser_param;
18219extern "C" {
18220 pub fn php_init_config() -> ::std::os::raw::c_int;
18221}
18222extern "C" {
18223 pub fn php_shutdown_config() -> ::std::os::raw::c_int;
18224}
18225extern "C" {
18226 pub fn php_ini_register_extensions();
18227}
18228extern "C" {
18229 pub fn php_parse_user_ini_file(
18230 dirname: *const ::std::os::raw::c_char,
18231 ini_filename: *mut ::std::os::raw::c_char,
18232 target_hash: *mut HashTable,
18233 ) -> ::std::os::raw::c_int;
18234}
18235extern "C" {
18236 pub fn php_ini_activate_config(
18237 source_hash: *mut HashTable,
18238 modify_type: ::std::os::raw::c_int,
18239 stage: ::std::os::raw::c_int,
18240 );
18241}
18242extern "C" {
18243 pub fn php_ini_has_per_dir_config() -> ::std::os::raw::c_int;
18244}
18245extern "C" {
18246 pub fn php_ini_has_per_host_config() -> ::std::os::raw::c_int;
18247}
18248extern "C" {
18249 pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: size_t);
18250}
18251extern "C" {
18252 pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: size_t);
18253}
18254extern "C" {
18255 pub fn php_ini_get_configuration_hash() -> *mut HashTable;
18256}
18257extern "C" {
18258 pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
18259}
18260extern "C" {
18261 pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
18262}
18263extern "C" {
18264 pub fn php_check_open_basedir_ex(
18265 path: *const ::std::os::raw::c_char,
18266 warn: ::std::os::raw::c_int,
18267 ) -> ::std::os::raw::c_int;
18268}
18269extern "C" {
18270 pub fn php_check_specific_open_basedir(
18271 basedir: *const ::std::os::raw::c_char,
18272 path: *const ::std::os::raw::c_char,
18273 ) -> ::std::os::raw::c_int;
18274}
18275extern "C" {
18276 pub fn php_check_safe_mode_include_dir(
18277 path: *const ::std::os::raw::c_char,
18278 ) -> ::std::os::raw::c_int;
18279}
18280extern "C" {
18281 pub fn php_resolve_path(
18282 filename: *const ::std::os::raw::c_char,
18283 filename_len: ::std::os::raw::c_int,
18284 path: *const ::std::os::raw::c_char,
18285 ) -> *mut zend_string;
18286}
18287extern "C" {
18288 pub fn php_fopen_with_path(
18289 filename: *const ::std::os::raw::c_char,
18290 mode: *const ::std::os::raw::c_char,
18291 path: *const ::std::os::raw::c_char,
18292 opened_path: *mut *mut zend_string,
18293 ) -> *mut FILE;
18294}
18295extern "C" {
18296 pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
18297}
18298#[repr(C)]
18299#[derive(Debug, Copy, Clone)]
18300pub struct _cwd_state {
18301 pub cwd: *mut ::std::os::raw::c_char,
18302 pub cwd_length: ::std::os::raw::c_int,
18303}
18304#[test]
18305fn bindgen_test_layout__cwd_state() {
18306 assert_eq!(
18307 ::std::mem::size_of::<_cwd_state>(),
18308 16usize,
18309 concat!("Size of: ", stringify!(_cwd_state))
18310 );
18311 assert_eq!(
18312 ::std::mem::align_of::<_cwd_state>(),
18313 8usize,
18314 concat!("Alignment of ", stringify!(_cwd_state))
18315 );
18316 assert_eq!(
18317 unsafe { &(*(::std::ptr::null::<_cwd_state>())).cwd as *const _ as usize },
18318 0usize,
18319 concat!(
18320 "Offset of field: ",
18321 stringify!(_cwd_state),
18322 "::",
18323 stringify!(cwd)
18324 )
18325 );
18326 assert_eq!(
18327 unsafe { &(*(::std::ptr::null::<_cwd_state>())).cwd_length as *const _ as usize },
18328 8usize,
18329 concat!(
18330 "Offset of field: ",
18331 stringify!(_cwd_state),
18332 "::",
18333 stringify!(cwd_length)
18334 )
18335 );
18336}
18337pub type cwd_state = _cwd_state;
18338#[repr(C)]
18339#[derive(Debug, Copy, Clone)]
18340pub struct _realpath_cache_bucket {
18341 pub key: zend_ulong,
18342 pub path: *mut ::std::os::raw::c_char,
18343 pub realpath: *mut ::std::os::raw::c_char,
18344 pub next: *mut _realpath_cache_bucket,
18345 pub expires: time_t,
18346 pub path_len: ::std::os::raw::c_int,
18347 pub realpath_len: ::std::os::raw::c_int,
18348 pub is_dir: ::std::os::raw::c_int,
18349}
18350#[test]
18351fn bindgen_test_layout__realpath_cache_bucket() {
18352 assert_eq!(
18353 ::std::mem::size_of::<_realpath_cache_bucket>(),
18354 56usize,
18355 concat!("Size of: ", stringify!(_realpath_cache_bucket))
18356 );
18357 assert_eq!(
18358 ::std::mem::align_of::<_realpath_cache_bucket>(),
18359 8usize,
18360 concat!("Alignment of ", stringify!(_realpath_cache_bucket))
18361 );
18362 assert_eq!(
18363 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).key as *const _ as usize },
18364 0usize,
18365 concat!(
18366 "Offset of field: ",
18367 stringify!(_realpath_cache_bucket),
18368 "::",
18369 stringify!(key)
18370 )
18371 );
18372 assert_eq!(
18373 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).path as *const _ as usize },
18374 8usize,
18375 concat!(
18376 "Offset of field: ",
18377 stringify!(_realpath_cache_bucket),
18378 "::",
18379 stringify!(path)
18380 )
18381 );
18382 assert_eq!(
18383 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).realpath as *const _ as usize },
18384 16usize,
18385 concat!(
18386 "Offset of field: ",
18387 stringify!(_realpath_cache_bucket),
18388 "::",
18389 stringify!(realpath)
18390 )
18391 );
18392 assert_eq!(
18393 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).next as *const _ as usize },
18394 24usize,
18395 concat!(
18396 "Offset of field: ",
18397 stringify!(_realpath_cache_bucket),
18398 "::",
18399 stringify!(next)
18400 )
18401 );
18402 assert_eq!(
18403 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).expires as *const _ as usize },
18404 32usize,
18405 concat!(
18406 "Offset of field: ",
18407 stringify!(_realpath_cache_bucket),
18408 "::",
18409 stringify!(expires)
18410 )
18411 );
18412 assert_eq!(
18413 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).path_len as *const _ as usize },
18414 40usize,
18415 concat!(
18416 "Offset of field: ",
18417 stringify!(_realpath_cache_bucket),
18418 "::",
18419 stringify!(path_len)
18420 )
18421 );
18422 assert_eq!(
18423 unsafe {
18424 &(*(::std::ptr::null::<_realpath_cache_bucket>())).realpath_len as *const _ as usize
18425 },
18426 44usize,
18427 concat!(
18428 "Offset of field: ",
18429 stringify!(_realpath_cache_bucket),
18430 "::",
18431 stringify!(realpath_len)
18432 )
18433 );
18434 assert_eq!(
18435 unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).is_dir as *const _ as usize },
18436 48usize,
18437 concat!(
18438 "Offset of field: ",
18439 stringify!(_realpath_cache_bucket),
18440 "::",
18441 stringify!(is_dir)
18442 )
18443 );
18444}
18445pub type realpath_cache_bucket = _realpath_cache_bucket;
18446#[repr(C)]
18447#[derive(Copy, Clone)]
18448pub struct _virtual_cwd_globals {
18449 pub cwd: cwd_state,
18450 pub realpath_cache_size: zend_long,
18451 pub realpath_cache_size_limit: zend_long,
18452 pub realpath_cache_ttl: zend_long,
18453 pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
18454}
18455#[test]
18456fn bindgen_test_layout__virtual_cwd_globals() {
18457 assert_eq!(
18458 ::std::mem::size_of::<_virtual_cwd_globals>(),
18459 8232usize,
18460 concat!("Size of: ", stringify!(_virtual_cwd_globals))
18461 );
18462 assert_eq!(
18463 ::std::mem::align_of::<_virtual_cwd_globals>(),
18464 8usize,
18465 concat!("Alignment of ", stringify!(_virtual_cwd_globals))
18466 );
18467 assert_eq!(
18468 unsafe { &(*(::std::ptr::null::<_virtual_cwd_globals>())).cwd as *const _ as usize },
18469 0usize,
18470 concat!(
18471 "Offset of field: ",
18472 stringify!(_virtual_cwd_globals),
18473 "::",
18474 stringify!(cwd)
18475 )
18476 );
18477 assert_eq!(
18478 unsafe {
18479 &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_size as *const _
18480 as usize
18481 },
18482 16usize,
18483 concat!(
18484 "Offset of field: ",
18485 stringify!(_virtual_cwd_globals),
18486 "::",
18487 stringify!(realpath_cache_size)
18488 )
18489 );
18490 assert_eq!(
18491 unsafe {
18492 &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_size_limit as *const _
18493 as usize
18494 },
18495 24usize,
18496 concat!(
18497 "Offset of field: ",
18498 stringify!(_virtual_cwd_globals),
18499 "::",
18500 stringify!(realpath_cache_size_limit)
18501 )
18502 );
18503 assert_eq!(
18504 unsafe {
18505 &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_ttl as *const _ as usize
18506 },
18507 32usize,
18508 concat!(
18509 "Offset of field: ",
18510 stringify!(_virtual_cwd_globals),
18511 "::",
18512 stringify!(realpath_cache_ttl)
18513 )
18514 );
18515 assert_eq!(
18516 unsafe {
18517 &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache as *const _ as usize
18518 },
18519 40usize,
18520 concat!(
18521 "Offset of field: ",
18522 stringify!(_virtual_cwd_globals),
18523 "::",
18524 stringify!(realpath_cache)
18525 )
18526 );
18527}
18528pub type virtual_cwd_globals = _virtual_cwd_globals;
18529extern "C" {
18530 pub static mut cwd_globals: virtual_cwd_globals;
18531}
18532#[repr(C)]
18533#[derive(Copy, Clone)]
18534pub struct _zend_constant {
18535 pub value: zval,
18536 pub name: *mut zend_string,
18537 pub flags: ::std::os::raw::c_int,
18538 pub module_number: ::std::os::raw::c_int,
18539}
18540#[test]
18541fn bindgen_test_layout__zend_constant() {
18542 assert_eq!(
18543 ::std::mem::size_of::<_zend_constant>(),
18544 32usize,
18545 concat!("Size of: ", stringify!(_zend_constant))
18546 );
18547 assert_eq!(
18548 ::std::mem::align_of::<_zend_constant>(),
18549 8usize,
18550 concat!("Alignment of ", stringify!(_zend_constant))
18551 );
18552 assert_eq!(
18553 unsafe { &(*(::std::ptr::null::<_zend_constant>())).value as *const _ as usize },
18554 0usize,
18555 concat!(
18556 "Offset of field: ",
18557 stringify!(_zend_constant),
18558 "::",
18559 stringify!(value)
18560 )
18561 );
18562 assert_eq!(
18563 unsafe { &(*(::std::ptr::null::<_zend_constant>())).name as *const _ as usize },
18564 16usize,
18565 concat!(
18566 "Offset of field: ",
18567 stringify!(_zend_constant),
18568 "::",
18569 stringify!(name)
18570 )
18571 );
18572 assert_eq!(
18573 unsafe { &(*(::std::ptr::null::<_zend_constant>())).flags as *const _ as usize },
18574 24usize,
18575 concat!(
18576 "Offset of field: ",
18577 stringify!(_zend_constant),
18578 "::",
18579 stringify!(flags)
18580 )
18581 );
18582 assert_eq!(
18583 unsafe { &(*(::std::ptr::null::<_zend_constant>())).module_number as *const _ as usize },
18584 28usize,
18585 concat!(
18586 "Offset of field: ",
18587 stringify!(_zend_constant),
18588 "::",
18589 stringify!(module_number)
18590 )
18591 );
18592}
18593pub type zend_constant = _zend_constant;
18594extern "C" {
18595 pub fn zend_startup_constants() -> ::std::os::raw::c_int;
18596}
18597extern "C" {
18598 pub fn zend_shutdown_constants() -> ::std::os::raw::c_int;
18599}
18600extern "C" {
18601 pub fn zend_register_standard_constants();
18602}
18603extern "C" {
18604 pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
18605}
18606extern "C" {
18607 pub fn zend_get_constant_str(
18608 name: *const ::std::os::raw::c_char,
18609 name_len: size_t,
18610 ) -> *mut zval;
18611}
18612extern "C" {
18613 pub fn zend_get_constant_ex(
18614 name: *mut zend_string,
18615 scope: *mut zend_class_entry,
18616 flags: zend_ulong,
18617 ) -> *mut zval;
18618}
18619extern "C" {
18620 pub fn zend_register_bool_constant(
18621 name: *const ::std::os::raw::c_char,
18622 name_len: size_t,
18623 bval: zend_bool,
18624 flags: ::std::os::raw::c_int,
18625 module_number: ::std::os::raw::c_int,
18626 );
18627}
18628extern "C" {
18629 pub fn zend_register_null_constant(
18630 name: *const ::std::os::raw::c_char,
18631 name_len: size_t,
18632 flags: ::std::os::raw::c_int,
18633 module_number: ::std::os::raw::c_int,
18634 );
18635}
18636extern "C" {
18637 pub fn zend_register_long_constant(
18638 name: *const ::std::os::raw::c_char,
18639 name_len: size_t,
18640 lval: zend_long,
18641 flags: ::std::os::raw::c_int,
18642 module_number: ::std::os::raw::c_int,
18643 );
18644}
18645extern "C" {
18646 pub fn zend_register_double_constant(
18647 name: *const ::std::os::raw::c_char,
18648 name_len: size_t,
18649 dval: f64,
18650 flags: ::std::os::raw::c_int,
18651 module_number: ::std::os::raw::c_int,
18652 );
18653}
18654extern "C" {
18655 pub fn zend_register_string_constant(
18656 name: *const ::std::os::raw::c_char,
18657 name_len: size_t,
18658 strval: *mut ::std::os::raw::c_char,
18659 flags: ::std::os::raw::c_int,
18660 module_number: ::std::os::raw::c_int,
18661 );
18662}
18663extern "C" {
18664 pub fn zend_register_stringl_constant(
18665 name: *const ::std::os::raw::c_char,
18666 name_len: size_t,
18667 strval: *mut ::std::os::raw::c_char,
18668 strlen: size_t,
18669 flags: ::std::os::raw::c_int,
18670 module_number: ::std::os::raw::c_int,
18671 );
18672}
18673extern "C" {
18674 pub fn zend_register_constant(c: *mut zend_constant) -> ::std::os::raw::c_int;
18675}
18676extern "C" {
18677 pub fn zend_copy_constants(target: *mut HashTable, sourc: *mut HashTable);
18678}
18679extern "C" {
18680 pub fn zend_quick_get_constant(key: *const zval, flags: zend_ulong) -> *mut zend_constant;
18681}
18682extern "C" {
18683 pub fn php_info_html_esc(string: *mut ::std::os::raw::c_char) -> *mut zend_string;
18684}
18685extern "C" {
18686 pub fn php_info_html_esc_write(
18687 string: *mut ::std::os::raw::c_char,
18688 str_len: ::std::os::raw::c_int,
18689 );
18690}
18691extern "C" {
18692 pub fn php_print_info_htmlhead();
18693}
18694extern "C" {
18695 pub fn php_print_info(flag: ::std::os::raw::c_int);
18696}
18697extern "C" {
18698 pub fn php_print_style();
18699}
18700extern "C" {
18701 pub fn php_info_print_style();
18702}
18703extern "C" {
18704 pub fn php_info_print_table_colspan_header(
18705 num_cols: ::std::os::raw::c_int,
18706 header: *mut ::std::os::raw::c_char,
18707 );
18708}
18709extern "C" {
18710 pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
18711}
18712extern "C" {
18713 pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
18714}
18715extern "C" {
18716 pub fn php_info_print_table_row_ex(
18717 num_cols: ::std::os::raw::c_int,
18718 arg1: *const ::std::os::raw::c_char,
18719 ...
18720 );
18721}
18722extern "C" {
18723 pub fn php_info_print_table_start();
18724}
18725extern "C" {
18726 pub fn php_info_print_table_end();
18727}
18728extern "C" {
18729 pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
18730}
18731extern "C" {
18732 pub fn php_info_print_box_end();
18733}
18734extern "C" {
18735 pub fn php_info_print_hr();
18736}
18737extern "C" {
18738 pub fn php_info_print_module(module: *mut zend_module_entry);
18739}
18740extern "C" {
18741 pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
18742}
18743#[repr(C)]
18744#[derive(Debug, Copy, Clone)]
18745pub struct _zend_extension_version_info {
18746 pub zend_extension_api_no: ::std::os::raw::c_int,
18747 pub build_id: *mut ::std::os::raw::c_char,
18748}
18749#[test]
18750fn bindgen_test_layout__zend_extension_version_info() {
18751 assert_eq!(
18752 ::std::mem::size_of::<_zend_extension_version_info>(),
18753 16usize,
18754 concat!("Size of: ", stringify!(_zend_extension_version_info))
18755 );
18756 assert_eq!(
18757 ::std::mem::align_of::<_zend_extension_version_info>(),
18758 8usize,
18759 concat!("Alignment of ", stringify!(_zend_extension_version_info))
18760 );
18761 assert_eq!(
18762 unsafe {
18763 &(*(::std::ptr::null::<_zend_extension_version_info>())).zend_extension_api_no
18764 as *const _ as usize
18765 },
18766 0usize,
18767 concat!(
18768 "Offset of field: ",
18769 stringify!(_zend_extension_version_info),
18770 "::",
18771 stringify!(zend_extension_api_no)
18772 )
18773 );
18774 assert_eq!(
18775 unsafe {
18776 &(*(::std::ptr::null::<_zend_extension_version_info>())).build_id as *const _ as usize
18777 },
18778 8usize,
18779 concat!(
18780 "Offset of field: ",
18781 stringify!(_zend_extension_version_info),
18782 "::",
18783 stringify!(build_id)
18784 )
18785 );
18786}
18787pub type zend_extension_version_info = _zend_extension_version_info;
18788pub type zend_extension = _zend_extension;
18789pub type startup_func_t = ::std::option::Option<
18790 unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
18791>;
18792pub type shutdown_func_t =
18793 ::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
18794pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
18795pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
18796pub type message_handler_func_t = ::std::option::Option<
18797 unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
18798>;
18799pub type op_array_handler_func_t =
18800 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
18801pub type statement_handler_func_t =
18802 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
18803pub type fcall_begin_handler_func_t =
18804 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
18805pub type fcall_end_handler_func_t =
18806 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
18807pub type op_array_ctor_func_t =
18808 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
18809pub type op_array_dtor_func_t =
18810 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
18811pub type op_array_persist_calc_func_t =
18812 ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array) -> size_t>;
18813pub type op_array_persist_func_t = ::std::option::Option<
18814 unsafe extern "C" fn(op_array: *mut zend_op_array, mem: *mut ::std::os::raw::c_void) -> size_t,
18815>;
18816#[repr(C)]
18817#[derive(Debug, Copy, Clone)]
18818pub struct _zend_extension {
18819 pub name: *mut ::std::os::raw::c_char,
18820 pub version: *mut ::std::os::raw::c_char,
18821 pub author: *mut ::std::os::raw::c_char,
18822 pub URL: *mut ::std::os::raw::c_char,
18823 pub copyright: *mut ::std::os::raw::c_char,
18824 pub startup: startup_func_t,
18825 pub shutdown: shutdown_func_t,
18826 pub activate: activate_func_t,
18827 pub deactivate: deactivate_func_t,
18828 pub message_handler: message_handler_func_t,
18829 pub op_array_handler: op_array_handler_func_t,
18830 pub statement_handler: statement_handler_func_t,
18831 pub fcall_begin_handler: fcall_begin_handler_func_t,
18832 pub fcall_end_handler: fcall_end_handler_func_t,
18833 pub op_array_ctor: op_array_ctor_func_t,
18834 pub op_array_dtor: op_array_dtor_func_t,
18835 pub api_no_check: ::std::option::Option<
18836 unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
18837 >,
18838 pub build_id_check: ::std::option::Option<
18839 unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
18840 >,
18841 pub op_array_persist_calc: op_array_persist_calc_func_t,
18842 pub op_array_persist: op_array_persist_func_t,
18843 pub reserved5: *mut ::std::os::raw::c_void,
18844 pub reserved6: *mut ::std::os::raw::c_void,
18845 pub reserved7: *mut ::std::os::raw::c_void,
18846 pub reserved8: *mut ::std::os::raw::c_void,
18847 pub handle: *mut ::std::os::raw::c_void,
18848 pub resource_number: ::std::os::raw::c_int,
18849}
18850#[test]
18851fn bindgen_test_layout__zend_extension() {
18852 assert_eq!(
18853 ::std::mem::size_of::<_zend_extension>(),
18854 208usize,
18855 concat!("Size of: ", stringify!(_zend_extension))
18856 );
18857 assert_eq!(
18858 ::std::mem::align_of::<_zend_extension>(),
18859 8usize,
18860 concat!("Alignment of ", stringify!(_zend_extension))
18861 );
18862 assert_eq!(
18863 unsafe { &(*(::std::ptr::null::<_zend_extension>())).name as *const _ as usize },
18864 0usize,
18865 concat!(
18866 "Offset of field: ",
18867 stringify!(_zend_extension),
18868 "::",
18869 stringify!(name)
18870 )
18871 );
18872 assert_eq!(
18873 unsafe { &(*(::std::ptr::null::<_zend_extension>())).version as *const _ as usize },
18874 8usize,
18875 concat!(
18876 "Offset of field: ",
18877 stringify!(_zend_extension),
18878 "::",
18879 stringify!(version)
18880 )
18881 );
18882 assert_eq!(
18883 unsafe { &(*(::std::ptr::null::<_zend_extension>())).author as *const _ as usize },
18884 16usize,
18885 concat!(
18886 "Offset of field: ",
18887 stringify!(_zend_extension),
18888 "::",
18889 stringify!(author)
18890 )
18891 );
18892 assert_eq!(
18893 unsafe { &(*(::std::ptr::null::<_zend_extension>())).URL as *const _ as usize },
18894 24usize,
18895 concat!(
18896 "Offset of field: ",
18897 stringify!(_zend_extension),
18898 "::",
18899 stringify!(URL)
18900 )
18901 );
18902 assert_eq!(
18903 unsafe { &(*(::std::ptr::null::<_zend_extension>())).copyright as *const _ as usize },
18904 32usize,
18905 concat!(
18906 "Offset of field: ",
18907 stringify!(_zend_extension),
18908 "::",
18909 stringify!(copyright)
18910 )
18911 );
18912 assert_eq!(
18913 unsafe { &(*(::std::ptr::null::<_zend_extension>())).startup as *const _ as usize },
18914 40usize,
18915 concat!(
18916 "Offset of field: ",
18917 stringify!(_zend_extension),
18918 "::",
18919 stringify!(startup)
18920 )
18921 );
18922 assert_eq!(
18923 unsafe { &(*(::std::ptr::null::<_zend_extension>())).shutdown as *const _ as usize },
18924 48usize,
18925 concat!(
18926 "Offset of field: ",
18927 stringify!(_zend_extension),
18928 "::",
18929 stringify!(shutdown)
18930 )
18931 );
18932 assert_eq!(
18933 unsafe { &(*(::std::ptr::null::<_zend_extension>())).activate as *const _ as usize },
18934 56usize,
18935 concat!(
18936 "Offset of field: ",
18937 stringify!(_zend_extension),
18938 "::",
18939 stringify!(activate)
18940 )
18941 );
18942 assert_eq!(
18943 unsafe { &(*(::std::ptr::null::<_zend_extension>())).deactivate as *const _ as usize },
18944 64usize,
18945 concat!(
18946 "Offset of field: ",
18947 stringify!(_zend_extension),
18948 "::",
18949 stringify!(deactivate)
18950 )
18951 );
18952 assert_eq!(
18953 unsafe { &(*(::std::ptr::null::<_zend_extension>())).message_handler as *const _ as usize },
18954 72usize,
18955 concat!(
18956 "Offset of field: ",
18957 stringify!(_zend_extension),
18958 "::",
18959 stringify!(message_handler)
18960 )
18961 );
18962 assert_eq!(
18963 unsafe {
18964 &(*(::std::ptr::null::<_zend_extension>())).op_array_handler as *const _ as usize
18965 },
18966 80usize,
18967 concat!(
18968 "Offset of field: ",
18969 stringify!(_zend_extension),
18970 "::",
18971 stringify!(op_array_handler)
18972 )
18973 );
18974 assert_eq!(
18975 unsafe {
18976 &(*(::std::ptr::null::<_zend_extension>())).statement_handler as *const _ as usize
18977 },
18978 88usize,
18979 concat!(
18980 "Offset of field: ",
18981 stringify!(_zend_extension),
18982 "::",
18983 stringify!(statement_handler)
18984 )
18985 );
18986 assert_eq!(
18987 unsafe {
18988 &(*(::std::ptr::null::<_zend_extension>())).fcall_begin_handler as *const _ as usize
18989 },
18990 96usize,
18991 concat!(
18992 "Offset of field: ",
18993 stringify!(_zend_extension),
18994 "::",
18995 stringify!(fcall_begin_handler)
18996 )
18997 );
18998 assert_eq!(
18999 unsafe {
19000 &(*(::std::ptr::null::<_zend_extension>())).fcall_end_handler as *const _ as usize
19001 },
19002 104usize,
19003 concat!(
19004 "Offset of field: ",
19005 stringify!(_zend_extension),
19006 "::",
19007 stringify!(fcall_end_handler)
19008 )
19009 );
19010 assert_eq!(
19011 unsafe { &(*(::std::ptr::null::<_zend_extension>())).op_array_ctor as *const _ as usize },
19012 112usize,
19013 concat!(
19014 "Offset of field: ",
19015 stringify!(_zend_extension),
19016 "::",
19017 stringify!(op_array_ctor)
19018 )
19019 );
19020 assert_eq!(
19021 unsafe { &(*(::std::ptr::null::<_zend_extension>())).op_array_dtor as *const _ as usize },
19022 120usize,
19023 concat!(
19024 "Offset of field: ",
19025 stringify!(_zend_extension),
19026 "::",
19027 stringify!(op_array_dtor)
19028 )
19029 );
19030 assert_eq!(
19031 unsafe { &(*(::std::ptr::null::<_zend_extension>())).api_no_check as *const _ as usize },
19032 128usize,
19033 concat!(
19034 "Offset of field: ",
19035 stringify!(_zend_extension),
19036 "::",
19037 stringify!(api_no_check)
19038 )
19039 );
19040 assert_eq!(
19041 unsafe { &(*(::std::ptr::null::<_zend_extension>())).build_id_check as *const _ as usize },
19042 136usize,
19043 concat!(
19044 "Offset of field: ",
19045 stringify!(_zend_extension),
19046 "::",
19047 stringify!(build_id_check)
19048 )
19049 );
19050 assert_eq!(
19051 unsafe {
19052 &(*(::std::ptr::null::<_zend_extension>())).op_array_persist_calc as *const _ as usize
19053 },
19054 144usize,
19055 concat!(
19056 "Offset of field: ",
19057 stringify!(_zend_extension),
19058 "::",
19059 stringify!(op_array_persist_calc)
19060 )
19061 );
19062 assert_eq!(
19063 unsafe {
19064 &(*(::std::ptr::null::<_zend_extension>())).op_array_persist as *const _ as usize
19065 },
19066 152usize,
19067 concat!(
19068 "Offset of field: ",
19069 stringify!(_zend_extension),
19070 "::",
19071 stringify!(op_array_persist)
19072 )
19073 );
19074 assert_eq!(
19075 unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved5 as *const _ as usize },
19076 160usize,
19077 concat!(
19078 "Offset of field: ",
19079 stringify!(_zend_extension),
19080 "::",
19081 stringify!(reserved5)
19082 )
19083 );
19084 assert_eq!(
19085 unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved6 as *const _ as usize },
19086 168usize,
19087 concat!(
19088 "Offset of field: ",
19089 stringify!(_zend_extension),
19090 "::",
19091 stringify!(reserved6)
19092 )
19093 );
19094 assert_eq!(
19095 unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved7 as *const _ as usize },
19096 176usize,
19097 concat!(
19098 "Offset of field: ",
19099 stringify!(_zend_extension),
19100 "::",
19101 stringify!(reserved7)
19102 )
19103 );
19104 assert_eq!(
19105 unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved8 as *const _ as usize },
19106 184usize,
19107 concat!(
19108 "Offset of field: ",
19109 stringify!(_zend_extension),
19110 "::",
19111 stringify!(reserved8)
19112 )
19113 );
19114 assert_eq!(
19115 unsafe { &(*(::std::ptr::null::<_zend_extension>())).handle as *const _ as usize },
19116 192usize,
19117 concat!(
19118 "Offset of field: ",
19119 stringify!(_zend_extension),
19120 "::",
19121 stringify!(handle)
19122 )
19123 );
19124 assert_eq!(
19125 unsafe { &(*(::std::ptr::null::<_zend_extension>())).resource_number as *const _ as usize },
19126 200usize,
19127 concat!(
19128 "Offset of field: ",
19129 stringify!(_zend_extension),
19130 "::",
19131 stringify!(resource_number)
19132 )
19133 );
19134}
19135extern "C" {
19136 pub fn zend_get_resource_handle(extension: *mut zend_extension) -> ::std::os::raw::c_int;
19137}
19138extern "C" {
19139 pub fn zend_extension_dispatch_message(
19140 message: ::std::os::raw::c_int,
19141 arg: *mut ::std::os::raw::c_void,
19142 );
19143}
19144extern "C" {
19145 pub static mut zend_extensions: zend_llist;
19146}
19147extern "C" {
19148 pub static mut zend_extension_flags: u32;
19149}
19150extern "C" {
19151 pub fn zend_extension_dtor(extension: *mut zend_extension);
19152}
19153extern "C" {
19154 pub fn zend_append_version_info(extension: *const zend_extension);
19155}
19156extern "C" {
19157 pub fn zend_startup_extensions_mechanism() -> ::std::os::raw::c_int;
19158}
19159extern "C" {
19160 pub fn zend_startup_extensions() -> ::std::os::raw::c_int;
19161}
19162extern "C" {
19163 pub fn zend_shutdown_extensions();
19164}
19165extern "C" {
19166 pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
19167}
19168extern "C" {
19169 pub fn zend_register_extension(
19170 new_extension: *mut zend_extension,
19171 handle: *mut ::std::os::raw::c_void,
19172 ) -> ::std::os::raw::c_int;
19173}
19174extern "C" {
19175 pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
19176 -> *mut zend_extension;
19177}
19178extern "C" {
19179 pub fn zend_extensions_op_array_persist_calc(op_array: *mut zend_op_array) -> size_t;
19180}
19181extern "C" {
19182 pub fn zend_extensions_op_array_persist(
19183 op_array: *mut zend_op_array,
19184 mem: *mut ::std::os::raw::c_void,
19185 ) -> size_t;
19186}
19187pub const ZEND_MODULE_BUILD_ID_: &'static [u8; 16usize] = b"API20151012,NTS\0";
19188pub type __builtin_va_list = [__va_list_tag; 1usize];
19189#[repr(C)]
19190#[derive(Debug, Copy, Clone)]
19191pub struct __va_list_tag {
19192 pub gp_offset: ::std::os::raw::c_uint,
19193 pub fp_offset: ::std::os::raw::c_uint,
19194 pub overflow_arg_area: *mut ::std::os::raw::c_void,
19195 pub reg_save_area: *mut ::std::os::raw::c_void,
19196}
19197#[test]
19198fn bindgen_test_layout___va_list_tag() {
19199 assert_eq!(
19200 ::std::mem::size_of::<__va_list_tag>(),
19201 24usize,
19202 concat!("Size of: ", stringify!(__va_list_tag))
19203 );
19204 assert_eq!(
19205 ::std::mem::align_of::<__va_list_tag>(),
19206 8usize,
19207 concat!("Alignment of ", stringify!(__va_list_tag))
19208 );
19209 assert_eq!(
19210 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
19211 0usize,
19212 concat!(
19213 "Offset of field: ",
19214 stringify!(__va_list_tag),
19215 "::",
19216 stringify!(gp_offset)
19217 )
19218 );
19219 assert_eq!(
19220 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
19221 4usize,
19222 concat!(
19223 "Offset of field: ",
19224 stringify!(__va_list_tag),
19225 "::",
19226 stringify!(fp_offset)
19227 )
19228 );
19229 assert_eq!(
19230 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize },
19231 8usize,
19232 concat!(
19233 "Offset of field: ",
19234 stringify!(__va_list_tag),
19235 "::",
19236 stringify!(overflow_arg_area)
19237 )
19238 );
19239 assert_eq!(
19240 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
19241 16usize,
19242 concat!(
19243 "Offset of field: ",
19244 stringify!(__va_list_tag),
19245 "::",
19246 stringify!(reg_save_area)
19247 )
19248 );
19249}