php_all_sys/generated/
php56.rs

1/* automatically generated by rust-bindgen 0.57.0 */
2
3#![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 = 20131106;
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"2019-01-09\0";
95pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
96pub const PHP_EXT_DES_CRYPT: u32 = 1;
97pub const PHP_HAVE_STDINT_TYPES: u32 = 1;
98pub const PHP_ICONV_IMPL: &'static [u8; 6usize] = b"glibc\0";
99pub const PHP_MD5_CRYPT: u32 = 1;
100pub const PHP_MHASH_BC: u32 = 1;
101pub const PHP_MYSQL_UNIX_SOCK_ADDR: &'static [u8; 28usize] = b"/var/run/mysqld/mysqld.sock\0";
102pub const PHP_ONIG_BAD_KOI8_ENTRY: u32 = 1;
103pub const PHP_OS: &'static [u8; 6usize] = b"Linux\0";
104pub const PHP_SHA256_CRYPT: u32 = 1;
105pub const PHP_SHA512_CRYPT: u32 = 1;
106pub const PHP_SIGCHILD: u32 = 0;
107pub const PHP_STD_DES_CRYPT: u32 = 1;
108pub const PHP_UNAME: &'static [u8; 6usize] = b"Linux\0";
109pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
110pub const PHP_WRITE_STDOUT: u32 = 1;
111pub const ZEND_BROKEN_SPRINTF: u32 = 0;
112pub const ZEND_DEBUG: u32 = 0;
113pub const ZEND_MM_ALIGNMENT: u32 = 8;
114pub const ZEND_MM_ALIGNMENT_LOG2: u32 = 3;
115pub const PHP_MAJOR_VERSION: u32 = 5;
116pub const PHP_MINOR_VERSION: u32 = 6;
117pub const PHP_RELEASE_VERSION: u32 = 40;
118pub const PHP_EXTRA_VERSION: &'static [u8; 11usize] = b"-0+deb8u12\0";
119pub const PHP_VERSION: &'static [u8; 17usize] = b"5.6.40-0+deb8u12\0";
120pub const PHP_VERSION_ID: u32 = 50640;
121pub const ZEND_VERSION: &'static [u8; 6usize] = b"2.6.0\0";
122pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
123pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
124pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
125pub const ZEND_MM_ALIGNMENT_MASK: i32 = -8;
126pub const HASH_KEY_IS_STRING: u32 = 1;
127pub const HASH_KEY_IS_LONG: u32 = 2;
128pub const HASH_KEY_NON_EXISTENT: u32 = 3;
129pub const HASH_KEY_NON_EXISTANT: u32 = 3;
130pub const HASH_UPDATE: u32 = 1;
131pub const HASH_ADD: u32 = 2;
132pub const HASH_NEXT_INSERT: u32 = 4;
133pub const HASH_DEL_KEY: u32 = 0;
134pub const HASH_DEL_INDEX: u32 = 1;
135pub const HASH_DEL_KEY_QUICK: u32 = 2;
136pub const HASH_UPDATE_KEY_IF_NONE: u32 = 0;
137pub const HASH_UPDATE_KEY_IF_BEFORE: u32 = 1;
138pub const HASH_UPDATE_KEY_IF_AFTER: u32 = 2;
139pub const HASH_UPDATE_KEY_ANYWAY: u32 = 3;
140pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
141pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
142pub const ZEND_HASH_APPLY_STOP: u32 = 2;
143pub const ZEND_MMAP_AHEAD: u32 = 32;
144pub const IS_NULL: u32 = 0;
145pub const IS_LONG: u32 = 1;
146pub const IS_DOUBLE: u32 = 2;
147pub const IS_BOOL: u32 = 3;
148pub const IS_ARRAY: u32 = 4;
149pub const IS_OBJECT: u32 = 5;
150pub const IS_STRING: u32 = 6;
151pub const IS_RESOURCE: u32 = 7;
152pub const IS_CONSTANT: u32 = 8;
153pub const IS_CONSTANT_AST: u32 = 9;
154pub const IS_CALLABLE: u32 = 10;
155pub const IS_CONSTANT_TYPE_MASK: u32 = 15;
156pub const IS_CONSTANT_UNQUALIFIED: u32 = 16;
157pub const IS_LEXICAL_VAR: u32 = 32;
158pub const IS_LEXICAL_REF: u32 = 64;
159pub const IS_CONSTANT_IN_NAMESPACE: u32 = 256;
160pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 4;
161pub const GC_BENCH: u32 = 0;
162pub const GC_COLOR: u32 = 3;
163pub const GC_BLACK: u32 = 0;
164pub const GC_WHITE: u32 = 1;
165pub const GC_GREY: u32 = 2;
166pub const GC_PURPLE: u32 = 3;
167pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
168pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
169pub const DEBUG_ZEND: u32 = 0;
170pub const ZEND_ACC_STATIC: u32 = 1;
171pub const ZEND_ACC_ABSTRACT: u32 = 2;
172pub const ZEND_ACC_FINAL: u32 = 4;
173pub const ZEND_ACC_IMPLEMENTED_ABSTRACT: u32 = 8;
174pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
175pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 32;
176pub const ZEND_ACC_FINAL_CLASS: u32 = 64;
177pub const ZEND_ACC_INTERFACE: u32 = 128;
178pub const ZEND_ACC_TRAIT: u32 = 288;
179pub const ZEND_ACC_INTERACTIVE: u32 = 16;
180pub const ZEND_ACC_PUBLIC: u32 = 256;
181pub const ZEND_ACC_PROTECTED: u32 = 512;
182pub const ZEND_ACC_PRIVATE: u32 = 1024;
183pub const ZEND_ACC_PPP_MASK: u32 = 1792;
184pub const ZEND_ACC_CHANGED: u32 = 2048;
185pub const ZEND_ACC_IMPLICIT_PUBLIC: u32 = 4096;
186pub const ZEND_ACC_CTOR: u32 = 8192;
187pub const ZEND_ACC_DTOR: u32 = 16384;
188pub const ZEND_ACC_CLONE: u32 = 32768;
189pub const ZEND_ACC_ALLOW_STATIC: u32 = 65536;
190pub const ZEND_ACC_SHADOW: u32 = 131072;
191pub const ZEND_ACC_DEPRECATED: u32 = 262144;
192pub const ZEND_ACC_IMPLEMENT_INTERFACES: u32 = 524288;
193pub const ZEND_ACC_IMPLEMENT_TRAITS: u32 = 4194304;
194pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 1048576;
195pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 8388608;
196pub const ZEND_ACC_CLOSURE: u32 = 1048576;
197pub const ZEND_ACC_GENERATOR: u32 = 8388608;
198pub const ZEND_ACC_CALL_VIA_HANDLER: u32 = 2097152;
199pub const ZEND_ACC_NEVER_CACHE: u32 = 4194304;
200pub const ZEND_ACC_VARIADIC: u32 = 16777216;
201pub const ZEND_ACC_RETURN_REFERENCE: u32 = 67108864;
202pub const ZEND_ACC_DONE_PASS_TWO: u32 = 134217728;
203pub const ZEND_ACC_HAS_TYPE_HINTS: u32 = 268435456;
204pub const ZEND_RETURN_VALUE: u32 = 0;
205pub const ZEND_RETURN_REFERENCE: u32 = 1;
206pub const IS_CONST: u32 = 1;
207pub const IS_TMP_VAR: u32 = 2;
208pub const IS_VAR: u32 = 4;
209pub const IS_UNUSED: u32 = 8;
210pub const IS_CV: u32 = 16;
211pub const ZEND_STACK_APPLY_TOPDOWN: u32 = 1;
212pub const ZEND_STACK_APPLY_BOTTOMUP: u32 = 2;
213pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
214pub const ZEND_EARLY_BINDING_COMPILE_TIME: u32 = 0;
215pub const ZEND_EARLY_BINDING_DELAYED: u32 = 1;
216pub const ZEND_EARLY_BINDING_DELAYED_ALL: u32 = 2;
217pub const ZEND_NOP: u32 = 0;
218pub const ZEND_ADD: u32 = 1;
219pub const ZEND_SUB: u32 = 2;
220pub const ZEND_MUL: u32 = 3;
221pub const ZEND_DIV: u32 = 4;
222pub const ZEND_MOD: u32 = 5;
223pub const ZEND_SL: u32 = 6;
224pub const ZEND_SR: u32 = 7;
225pub const ZEND_CONCAT: u32 = 8;
226pub const ZEND_BW_OR: u32 = 9;
227pub const ZEND_BW_AND: u32 = 10;
228pub const ZEND_BW_XOR: u32 = 11;
229pub const ZEND_BW_NOT: u32 = 12;
230pub const ZEND_BOOL_NOT: u32 = 13;
231pub const ZEND_BOOL_XOR: u32 = 14;
232pub const ZEND_IS_IDENTICAL: u32 = 15;
233pub const ZEND_IS_NOT_IDENTICAL: u32 = 16;
234pub const ZEND_IS_EQUAL: u32 = 17;
235pub const ZEND_IS_NOT_EQUAL: u32 = 18;
236pub const ZEND_IS_SMALLER: u32 = 19;
237pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 20;
238pub const ZEND_CAST: u32 = 21;
239pub const ZEND_QM_ASSIGN: u32 = 22;
240pub const ZEND_ASSIGN_ADD: u32 = 23;
241pub const ZEND_ASSIGN_SUB: u32 = 24;
242pub const ZEND_ASSIGN_MUL: u32 = 25;
243pub const ZEND_ASSIGN_DIV: u32 = 26;
244pub const ZEND_ASSIGN_MOD: u32 = 27;
245pub const ZEND_ASSIGN_SL: u32 = 28;
246pub const ZEND_ASSIGN_SR: u32 = 29;
247pub const ZEND_ASSIGN_CONCAT: u32 = 30;
248pub const ZEND_ASSIGN_BW_OR: u32 = 31;
249pub const ZEND_ASSIGN_BW_AND: u32 = 32;
250pub const ZEND_ASSIGN_BW_XOR: u32 = 33;
251pub const ZEND_PRE_INC: u32 = 34;
252pub const ZEND_PRE_DEC: u32 = 35;
253pub const ZEND_POST_INC: u32 = 36;
254pub const ZEND_POST_DEC: u32 = 37;
255pub const ZEND_ASSIGN: u32 = 38;
256pub const ZEND_ASSIGN_REF: u32 = 39;
257pub const ZEND_ECHO: u32 = 40;
258pub const ZEND_PRINT: u32 = 41;
259pub const ZEND_JMP: u32 = 42;
260pub const ZEND_JMPZ: u32 = 43;
261pub const ZEND_JMPNZ: u32 = 44;
262pub const ZEND_JMPZNZ: u32 = 45;
263pub const ZEND_JMPZ_EX: u32 = 46;
264pub const ZEND_JMPNZ_EX: u32 = 47;
265pub const ZEND_CASE: u32 = 48;
266pub const ZEND_SWITCH_FREE: u32 = 49;
267pub const ZEND_BRK: u32 = 50;
268pub const ZEND_CONT: u32 = 51;
269pub const ZEND_BOOL: u32 = 52;
270pub const ZEND_INIT_STRING: u32 = 53;
271pub const ZEND_ADD_CHAR: u32 = 54;
272pub const ZEND_ADD_STRING: u32 = 55;
273pub const ZEND_ADD_VAR: u32 = 56;
274pub const ZEND_BEGIN_SILENCE: u32 = 57;
275pub const ZEND_END_SILENCE: u32 = 58;
276pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
277pub const ZEND_DO_FCALL: u32 = 60;
278pub const ZEND_DO_FCALL_BY_NAME: u32 = 61;
279pub const ZEND_RETURN: u32 = 62;
280pub const ZEND_RECV: u32 = 63;
281pub const ZEND_RECV_INIT: u32 = 64;
282pub const ZEND_SEND_VAL: u32 = 65;
283pub const ZEND_SEND_VAR: u32 = 66;
284pub const ZEND_SEND_REF: u32 = 67;
285pub const ZEND_NEW: u32 = 68;
286pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
287pub const ZEND_FREE: u32 = 70;
288pub const ZEND_INIT_ARRAY: u32 = 71;
289pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
290pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
291pub const ZEND_UNSET_VAR: u32 = 74;
292pub const ZEND_UNSET_DIM: u32 = 75;
293pub const ZEND_UNSET_OBJ: u32 = 76;
294pub const ZEND_FE_RESET: u32 = 77;
295pub const ZEND_FE_FETCH: u32 = 78;
296pub const ZEND_EXIT: u32 = 79;
297pub const ZEND_FETCH_R: u32 = 80;
298pub const ZEND_FETCH_DIM_R: u32 = 81;
299pub const ZEND_FETCH_OBJ_R: u32 = 82;
300pub const ZEND_FETCH_W: u32 = 83;
301pub const ZEND_FETCH_DIM_W: u32 = 84;
302pub const ZEND_FETCH_OBJ_W: u32 = 85;
303pub const ZEND_FETCH_RW: u32 = 86;
304pub const ZEND_FETCH_DIM_RW: u32 = 87;
305pub const ZEND_FETCH_OBJ_RW: u32 = 88;
306pub const ZEND_FETCH_IS: u32 = 89;
307pub const ZEND_FETCH_DIM_IS: u32 = 90;
308pub const ZEND_FETCH_OBJ_IS: u32 = 91;
309pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
310pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
311pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
312pub const ZEND_FETCH_UNSET: u32 = 95;
313pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
314pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
315pub const ZEND_FETCH_DIM_TMP_VAR: u32 = 98;
316pub const ZEND_FETCH_CONSTANT: u32 = 99;
317pub const ZEND_GOTO: u32 = 100;
318pub const ZEND_EXT_STMT: u32 = 101;
319pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
320pub const ZEND_EXT_FCALL_END: u32 = 103;
321pub const ZEND_EXT_NOP: u32 = 104;
322pub const ZEND_TICKS: u32 = 105;
323pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
324pub const ZEND_CATCH: u32 = 107;
325pub const ZEND_THROW: u32 = 108;
326pub const ZEND_FETCH_CLASS: u32 = 109;
327pub const ZEND_CLONE: u32 = 110;
328pub const ZEND_RETURN_BY_REF: u32 = 111;
329pub const ZEND_INIT_METHOD_CALL: u32 = 112;
330pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
331pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
332pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
333pub const ZEND_PRE_INC_OBJ: u32 = 132;
334pub const ZEND_PRE_DEC_OBJ: u32 = 133;
335pub const ZEND_POST_INC_OBJ: u32 = 134;
336pub const ZEND_POST_DEC_OBJ: u32 = 135;
337pub const ZEND_ASSIGN_OBJ: u32 = 136;
338pub const ZEND_INSTANCEOF: u32 = 138;
339pub const ZEND_DECLARE_CLASS: u32 = 139;
340pub const ZEND_DECLARE_INHERITED_CLASS: u32 = 140;
341pub const ZEND_DECLARE_FUNCTION: u32 = 141;
342pub const ZEND_RAISE_ABSTRACT_ERROR: u32 = 142;
343pub const ZEND_DECLARE_CONST: u32 = 143;
344pub const ZEND_ADD_INTERFACE: u32 = 144;
345pub const ZEND_DECLARE_INHERITED_CLASS_DELAYED: u32 = 145;
346pub const ZEND_VERIFY_ABSTRACT_CLASS: u32 = 146;
347pub const ZEND_ASSIGN_DIM: u32 = 147;
348pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
349pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
350pub const ZEND_USER_OPCODE: u32 = 150;
351pub const ZEND_JMP_SET: u32 = 152;
352pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 153;
353pub const ZEND_ADD_TRAIT: u32 = 154;
354pub const ZEND_BIND_TRAITS: u32 = 155;
355pub const ZEND_SEPARATE: u32 = 156;
356pub const ZEND_QM_ASSIGN_VAR: u32 = 157;
357pub const ZEND_JMP_SET_VAR: u32 = 158;
358pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
359pub const ZEND_YIELD: u32 = 160;
360pub const ZEND_GENERATOR_RETURN: u32 = 161;
361pub const ZEND_FAST_CALL: u32 = 162;
362pub const ZEND_FAST_RET: u32 = 163;
363pub const ZEND_RECV_VARIADIC: u32 = 164;
364pub const ZEND_SEND_UNPACK: u32 = 165;
365pub const ZEND_POW: u32 = 166;
366pub const ZEND_ASSIGN_POW: u32 = 167;
367pub const ZEND_OP_DATA: u32 = 137;
368pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
369pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
370pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
371pub const ZEND_FETCH_CLASS_MAIN: u32 = 3;
372pub const ZEND_FETCH_CLASS_GLOBAL: u32 = 4;
373pub const ZEND_FETCH_CLASS_AUTO: u32 = 5;
374pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 6;
375pub const ZEND_FETCH_CLASS_STATIC: u32 = 7;
376pub const ZEND_FETCH_CLASS_TRAIT: u32 = 14;
377pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
378pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
379pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
380pub const ZEND_PARSED_MEMBER: u32 = 1;
381pub const ZEND_PARSED_METHOD_CALL: u32 = 2;
382pub const ZEND_PARSED_STATIC_MEMBER: u32 = 4;
383pub const ZEND_PARSED_FUNCTION_CALL: u32 = 8;
384pub const ZEND_PARSED_VARIABLE: u32 = 16;
385pub const ZEND_PARSED_REFERENCE_VARIABLE: u32 = 32;
386pub const ZEND_PARSED_NEW: u32 = 64;
387pub const ZEND_PARSED_LIST_EXPR: u32 = 128;
388pub const ZEND_UNSET_REG: u32 = 0;
389pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
390pub const ZEND_USER_FUNCTION: u32 = 2;
391pub const ZEND_OVERLOADED_FUNCTION: u32 = 3;
392pub const ZEND_EVAL_CODE: u32 = 4;
393pub const ZEND_OVERLOADED_FUNCTION_TEMPORARY: u32 = 5;
394pub const ZEND_INTERNAL_CLASS: u32 = 1;
395pub const ZEND_USER_CLASS: u32 = 2;
396pub const ZEND_EVAL: u32 = 1;
397pub const ZEND_INCLUDE: u32 = 2;
398pub const ZEND_INCLUDE_ONCE: u32 = 4;
399pub const ZEND_REQUIRE: u32 = 8;
400pub const ZEND_REQUIRE_ONCE: u32 = 16;
401pub const ZEND_CT: u32 = 1;
402pub const ZEND_RT: u32 = 2;
403pub const ZEND_FETCH_GLOBAL: u32 = 0;
404pub const ZEND_FETCH_LOCAL: u32 = 268435456;
405pub const ZEND_FETCH_STATIC: u32 = 536870912;
406pub const ZEND_FETCH_STATIC_MEMBER: u32 = 805306368;
407pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 1073741824;
408pub const ZEND_FETCH_LEXICAL: u32 = 1342177280;
409pub const ZEND_FETCH_TYPE_MASK: u32 = 1879048192;
410pub const ZEND_FETCH_STANDARD: u32 = 0;
411pub const ZEND_FETCH_ADD_LOCK: u32 = 134217728;
412pub const ZEND_FETCH_MAKE_REF: u32 = 67108864;
413pub const ZEND_ISSET: u32 = 33554432;
414pub const ZEND_ISEMPTY: u32 = 16777216;
415pub const ZEND_ISSET_ISEMPTY_MASK: u32 = 50331648;
416pub const ZEND_QUICK_SET: u32 = 8388608;
417pub const ZEND_FETCH_ARG_MASK: u32 = 1048575;
418pub const ZEND_FE_FETCH_BYREF: u32 = 1;
419pub const ZEND_FE_FETCH_WITH_KEY: u32 = 2;
420pub const ZEND_FE_RESET_VARIABLE: u32 = 1;
421pub const ZEND_FE_RESET_REFERENCE: u32 = 2;
422pub const ZEND_MEMBER_FUNC_CALL: u32 = 1;
423pub const ZEND_ARG_SEND_BY_REF: u32 = 1;
424pub const ZEND_ARG_COMPILE_TIME_BOUND: u32 = 2;
425pub const ZEND_ARG_SEND_FUNCTION: u32 = 4;
426pub const ZEND_ARG_SEND_SILENT: u32 = 8;
427pub const ZEND_SEND_BY_VAL: u32 = 0;
428pub const ZEND_SEND_BY_REF: u32 = 1;
429pub const ZEND_SEND_PREFER_REF: u32 = 2;
430pub const ZEND_RETURN_VAL: u32 = 0;
431pub const ZEND_RETURN_REF: u32 = 1;
432pub const ZEND_RETURNS_FUNCTION: u32 = 1;
433pub const ZEND_RETURNS_NEW: u32 = 2;
434pub const ZEND_RETURNS_VALUE: u32 = 4;
435pub const ZEND_FAST_RET_TO_CATCH: u32 = 1;
436pub const ZEND_FAST_RET_TO_FINALLY: u32 = 2;
437pub const ZEND_FAST_CALL_FROM_CATCH: u32 = 1;
438pub const ZEND_FAST_CALL_FROM_FINALLY: u32 = 2;
439pub const ZEND_CLONE_FUNC_NAME: &'static [u8; 8usize] = b"__clone\0";
440pub const ZEND_CONSTRUCTOR_FUNC_NAME: &'static [u8; 12usize] = b"__construct\0";
441pub const ZEND_DESTRUCTOR_FUNC_NAME: &'static [u8; 11usize] = b"__destruct\0";
442pub const ZEND_GET_FUNC_NAME: &'static [u8; 6usize] = b"__get\0";
443pub const ZEND_SET_FUNC_NAME: &'static [u8; 6usize] = b"__set\0";
444pub const ZEND_UNSET_FUNC_NAME: &'static [u8; 8usize] = b"__unset\0";
445pub const ZEND_ISSET_FUNC_NAME: &'static [u8; 8usize] = b"__isset\0";
446pub const ZEND_CALL_FUNC_NAME: &'static [u8; 7usize] = b"__call\0";
447pub const ZEND_CALLSTATIC_FUNC_NAME: &'static [u8; 13usize] = b"__callstatic\0";
448pub const ZEND_TOSTRING_FUNC_NAME: &'static [u8; 11usize] = b"__tostring\0";
449pub const ZEND_AUTOLOAD_FUNC_NAME: &'static [u8; 11usize] = b"__autoload\0";
450pub const ZEND_INVOKE_FUNC_NAME: &'static [u8; 9usize] = b"__invoke\0";
451pub const ZEND_DEBUGINFO_FUNC_NAME: &'static [u8; 12usize] = b"__debuginfo\0";
452pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 1;
453pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 2;
454pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 4;
455pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 8;
456pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 16;
457pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 32;
458pub const ZEND_COMPILE_DEFAULT: u32 = 2;
459pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
460pub const ZEND_BUILD_TS: &'static [u8; 5usize] = b",NTS\0";
461pub const ZEND_MODULE_API_NO: u32 = 20131226;
462pub const USING_ZTS: u32 = 0;
463pub const MODULE_PERSISTENT: u32 = 1;
464pub const MODULE_TEMPORARY: u32 = 2;
465pub const MODULE_DEP_REQUIRED: u32 = 1;
466pub const MODULE_DEP_CONFLICTS: u32 = 2;
467pub const MODULE_DEP_OPTIONAL: u32 = 3;
468pub const ZEND_RESOURCE_LIST_TYPE_STD: u32 = 1;
469pub const ZEND_RESOURCE_LIST_TYPE_EX: u32 = 2;
470pub const ZEND_VM_STACK_PAGE_SIZE: u32 = 16368;
471pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
472pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
473pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
474pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
475pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
476pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
477pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
478pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
479pub const IS_CALLABLE_CHECK_NO_ACCESS: u32 = 2;
480pub const IS_CALLABLE_CHECK_IS_STATIC: u32 = 4;
481pub const IS_CALLABLE_CHECK_SILENT: u32 = 8;
482pub const IS_CALLABLE_STRICT: u32 = 4;
483pub const PHP_DEBUG: u32 = 0;
484pub const PHP_DIR_SEPARATOR: u8 = 47u8;
485pub const PHP_EOL: &'static [u8; 2usize] = b"\n\0";
486pub const CONFIGURE_COMMAND : & 'static [u8 ; 2490usize] = b" '../configure'  '--prefix=/usr' '--with-apxs2=/usr/bin/apxs2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/apache2/conf.d' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--sysconfdir=/etc' '--localstatedir=/var' '--mandir=/usr/share/man' '--disable-debug' '--with-regex=php' '--disable-rpath' '--disable-static' '--with-pic' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-qdbm=/usr' '--without-gdbm' '--with-iconv' '--enable-exif' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-onig=/usr' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--with-libxml-dir=/usr' '--with-zlib' '--with-kerberos=/usr' '--with-openssl=/usr' '--enable-soap' '--enable-zip' '--with-mhash=yes' '--with-system-tzdata' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--enable-dtrace' '--without-mm' '--with-curl=shared,/usr' '--with-enchant=shared,/usr' '--with-zlib-dir=/usr' '--with-gd=shared,/usr' '--enable-gd-native-ttf' '--with-gmp=shared,/usr' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-vpx-dir=shared,/usr' '--with-imap=shared,/usr' '--with-imap-ssl' '--enable-intl=shared' '--without-t1lib' '--with-ldap=shared,/usr' '--with-ldap-sasl=/usr' '--with-mcrypt=shared,/usr' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--with-pspell=shared,/usr' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--with-xsl=shared,/usr' '--with-snmp=shared,/usr' '--with-sqlite3=shared,/usr' '--with-mssql=shared,/usr' '--with-tidy=shared,/usr' '--with-xmlrpc=shared' '--with-pgsql=shared,/usr' 'PGSQL_INCLUDE=/usr/include/postgresql' '--enable-pdo=shared' '--without-pdo-dblib' '--with-pdo-mysql=shared,/usr' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-pgsql=shared,/usr/bin/pg_config' '--with-pdo-sqlite=shared,/usr' '--with-pdo-dblib=shared,/usr' '--with-interbase=shared,/usr' '--with-pdo-firebird=shared,/usr' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-g '-O2' '-fstack-protector-strong' '-Wformat' '-Werror=format-security' '-O2' '-Wall' '-fsigned-char' '-fno-strict-aliasing' '-g'' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g '-O2' '-fstack-protector-strong' '-Wformat' '-Werror=format-security''\0" ;
487pub const PHP_ADA_INCLUDE: &'static [u8; 1usize] = b"\0";
488pub const PHP_ADA_LFLAGS: &'static [u8; 1usize] = b"\0";
489pub const PHP_ADA_LIBS: &'static [u8; 1usize] = b"\0";
490pub const PHP_APACHE_INCLUDE: &'static [u8; 1usize] = b"\0";
491pub const PHP_APACHE_TARGET: &'static [u8; 1usize] = b"\0";
492pub const PHP_FHTTPD_INCLUDE: &'static [u8; 1usize] = b"\0";
493pub const PHP_FHTTPD_LIB: &'static [u8; 1usize] = b"\0";
494pub const PHP_FHTTPD_TARGET: &'static [u8; 1usize] = b"\0";
495pub const PHP_CFLAGS: &'static [u8; 28usize] = b"$(CFLAGS_CLEAN) -prefer-pic\0";
496pub const PHP_DBASE_LIB: &'static [u8; 1usize] = b"\0";
497pub const PHP_BUILD_DEBUG: &'static [u8; 1usize] = b"\0";
498pub const PHP_GDBM_INCLUDE: &'static [u8; 1usize] = b"\0";
499pub const PHP_IBASE_INCLUDE: &'static [u8; 1usize] = b"\0";
500pub const PHP_IBASE_LFLAGS: &'static [u8; 1usize] = b"\0";
501pub const PHP_IBASE_LIBS: &'static [u8; 1usize] = b"\0";
502pub const PHP_IFX_INCLUDE: &'static [u8; 1usize] = b"\0";
503pub const PHP_IFX_LFLAGS: &'static [u8; 1usize] = b"\0";
504pub const PHP_IFX_LIBS: &'static [u8; 1usize] = b"\0";
505pub const PHP_INSTALL_IT : & 'static [u8 ; 331usize] = b"$(mkinstalldirs) '$(INSTALL_ROOT)/usr/lib/apache2/modules' &&                 $(mkinstalldirs) '$(INSTALL_ROOT)/etc/apache2' &&                  /usr/bin/apxs2 -S LIBEXECDIR='$(INSTALL_ROOT)/usr/lib/apache2/modules'                        -S SYSCONFDIR='$(INSTALL_ROOT)/etc/apache2'                        -i -a -n php5 libphp5.la\0" ;
506pub const PHP_IODBC_INCLUDE: &'static [u8; 1usize] = b"\0";
507pub const PHP_IODBC_LFLAGS: &'static [u8; 1usize] = b"\0";
508pub const PHP_IODBC_LIBS: &'static [u8; 1usize] = b"\0";
509pub const PHP_MSQL_INCLUDE: &'static [u8; 1usize] = b"\0";
510pub const PHP_MSQL_LFLAGS: &'static [u8; 1usize] = b"\0";
511pub const PHP_MSQL_LIBS: &'static [u8; 1usize] = b"\0";
512pub const PHP_MYSQL_INCLUDE: &'static [u8; 21usize] = b"-I/usr/include/mysql\0";
513pub const PHP_MYSQL_LIBS: &'static [u8; 45usize] =
514    b"-L/usr/lib/x86_64-linux-gnu -lmysqlclient_r \0";
515pub const PHP_MYSQL_TYPE: &'static [u8; 9usize] = b"external\0";
516pub const PHP_ODBC_INCLUDE: &'static [u8; 15usize] = b"-I/usr/include\0";
517pub const PHP_ODBC_LFLAGS: &'static [u8; 11usize] = b"-L/usr/lib\0";
518pub const PHP_ODBC_LIBS: &'static [u8; 7usize] = b"-lodbc\0";
519pub const PHP_ODBC_TYPE: &'static [u8; 9usize] = b"unixODBC\0";
520pub const PHP_OCI8_SHARED_LIBADD: &'static [u8; 1usize] = b"\0";
521pub const PHP_OCI8_DIR: &'static [u8; 1usize] = b"\0";
522pub const PHP_OCI8_ORACLE_VERSION: &'static [u8; 1usize] = b"\0";
523pub const PHP_ORACLE_SHARED_LIBADD: &'static [u8; 23usize] = b"@ORACLE_SHARED_LIBADD@\0";
524pub const PHP_ORACLE_DIR: &'static [u8; 13usize] = b"@ORACLE_DIR@\0";
525pub const PHP_ORACLE_VERSION: &'static [u8; 17usize] = b"@ORACLE_VERSION@\0";
526pub const PHP_PGSQL_INCLUDE: &'static [u8; 1usize] = b"\0";
527pub const PHP_PGSQL_LFLAGS: &'static [u8; 1usize] = b"\0";
528pub const PHP_PGSQL_LIBS: &'static [u8; 1usize] = b"\0";
529pub const PHP_PROG_SENDMAIL: &'static [u8; 19usize] = b"/usr/sbin/sendmail\0";
530pub const PHP_SOLID_INCLUDE: &'static [u8; 1usize] = b"\0";
531pub const PHP_SOLID_LIBS: &'static [u8; 1usize] = b"\0";
532pub const PHP_EMPRESS_INCLUDE: &'static [u8; 1usize] = b"\0";
533pub const PHP_EMPRESS_LIBS: &'static [u8; 1usize] = b"\0";
534pub const PHP_SYBASE_INCLUDE: &'static [u8; 1usize] = b"\0";
535pub const PHP_SYBASE_LFLAGS: &'static [u8; 1usize] = b"\0";
536pub const PHP_SYBASE_LIBS: &'static [u8; 1usize] = b"\0";
537pub const PHP_DBM_TYPE: &'static [u8; 1usize] = b"\0";
538pub const PHP_DBM_LIB: &'static [u8; 1usize] = b"\0";
539pub const PHP_LDAP_LFLAGS: &'static [u8; 1usize] = b"\0";
540pub const PHP_LDAP_INCLUDE: &'static [u8; 1usize] = b"\0";
541pub const PHP_LDAP_LIBS: &'static [u8; 1usize] = b"\0";
542pub const PHP_BIRDSTEP_INCLUDE: &'static [u8; 1usize] = b"\0";
543pub const PHP_BIRDSTEP_LIBS: &'static [u8; 1usize] = b"\0";
544pub const PHP_INCLUDE_PATH: &'static [u8; 33usize] = b".:/usr/share/php:/usr/share/pear\0";
545pub const PHP_EXTENSION_DIR: &'static [u8; 23usize] = b"/usr/lib/php5/20131226\0";
546pub const PHP_PREFIX: &'static [u8; 5usize] = b"/usr\0";
547pub const PHP_BINDIR: &'static [u8; 9usize] = b"/usr/bin\0";
548pub const PHP_SBINDIR: &'static [u8; 10usize] = b"/usr/sbin\0";
549pub const PHP_MANDIR: &'static [u8; 15usize] = b"/usr/share/man\0";
550pub const PHP_LIBDIR: &'static [u8; 14usize] = b"/usr/lib/php5\0";
551pub const PHP_DATADIR: &'static [u8; 16usize] = b"/usr/share/php5\0";
552pub const PHP_SYSCONFDIR: &'static [u8; 5usize] = b"/etc\0";
553pub const PHP_LOCALSTATEDIR: &'static [u8; 5usize] = b"/var\0";
554pub const PHP_CONFIG_FILE_PATH: &'static [u8; 18usize] = b"/etc/php5/apache2\0";
555pub const PHP_CONFIG_FILE_SCAN_DIR: &'static [u8; 25usize] = b"/etc/php5/apache2/conf.d\0";
556pub const PHP_SHLIB_SUFFIX: &'static [u8; 3usize] = b"so\0";
557pub const PHP_MIME_TYPE: &'static [u8; 24usize] = b"application/x-httpd-php\0";
558pub const PHP_ATTR_FMT_OFFSET: u32 = 0;
559pub const PHP_OUTPUT_NEWAPI: u32 = 1;
560pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
561pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
562pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
563pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
564pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
565pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
566pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
567pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
568pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
569pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
570pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
571pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
572pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
573pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
574pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
575pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
576pub const PHP_OUTPUT_POP_TRY: u32 = 0;
577pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
578pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
579pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
580pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
581pub const PHP_OUTPUT_DISABLED: u32 = 2;
582pub const PHP_OUTPUT_WRITTEN: u32 = 4;
583pub const PHP_OUTPUT_SENT: u32 = 8;
584pub const PHP_OUTPUT_ACTIVE: u32 = 16;
585pub const PHP_OUTPUT_LOCKED: u32 = 32;
586pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
587pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
588pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
589pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
590pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
591pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
592pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
593pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
594pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
595pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
596pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
597pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
598pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
599pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
600pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
601pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
602pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
603pub const PHP_STREAM_FILTER_READ: u32 = 1;
604pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
605pub const PHP_STREAM_FILTER_ALL: u32 = 3;
606pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
607pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
608pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
609pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
610pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
611pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
612pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
613pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
614pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
615pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
616pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
617pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
618pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
619pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
620pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
621pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
622pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
623pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
624pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
625pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
626pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
627pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
628pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
629pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
630pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
631pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
632pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
633pub const PHP_STREAM_URL_STAT_NOCACHE: u32 = 4;
634pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
635pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
636pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
637pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
638pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
639pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
640pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
641pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
642pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
643pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
644pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
645pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
646pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
647pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
648pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
649pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
650pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
651pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
652pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
653pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
654pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
655pub const PHP_STREAM_MMAP_ALL: u32 = 0;
656pub const PHP_STREAM_AS_STDIO: u32 = 0;
657pub const PHP_STREAM_AS_FD: u32 = 1;
658pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
659pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
660pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
661pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
662pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
663pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
664pub const PHP_STREAM_UNCHANGED: u32 = 0;
665pub const PHP_STREAM_RELEASED: u32 = 1;
666pub const PHP_STREAM_FAILED: u32 = 2;
667pub const PHP_STREAM_CRITICAL: u32 = 3;
668pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
669pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
670pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
671pub const PHP_STREAM_IS_URL: u32 = 1;
672pub const PHP_STREAM_META_TOUCH: u32 = 1;
673pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
674pub const PHP_STREAM_META_OWNER: u32 = 3;
675pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
676pub const PHP_STREAM_META_GROUP: u32 = 5;
677pub const PHP_STREAM_META_ACCESS: u32 = 6;
678pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
679pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
680pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
681pub const ZEND_INI_USER: u32 = 1;
682pub const ZEND_INI_PERDIR: u32 = 2;
683pub const ZEND_INI_SYSTEM: u32 = 4;
684pub const ZEND_INI_ALL: u32 = 7;
685pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
686pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
687pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
688pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
689pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
690pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
691pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
692pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
693pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
694pub const ZEND_INI_PARSER_SECTION: u32 = 2;
695pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
696pub const PHP_INI_USER: u32 = 1;
697pub const PHP_INI_PERDIR: u32 = 2;
698pub const PHP_INI_SYSTEM: u32 = 4;
699pub const PHP_INI_ALL: u32 = 7;
700pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
701pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
702pub const PHP_INI_STAGE_STARTUP: u32 = 1;
703pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
704pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
705pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
706pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
707pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
708pub const PHP_CONNECTION_NORMAL: u32 = 0;
709pub const PHP_CONNECTION_ABORTED: u32 = 1;
710pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
711pub const PHP_ENTRY_NAME_COLOR: &'static [u8; 5usize] = b"#ccf\0";
712pub const PHP_CONTENTS_COLOR: &'static [u8; 5usize] = b"#ccc\0";
713pub const PHP_HEADER_COLOR: &'static [u8; 5usize] = b"#99c\0";
714pub const PHP_INFO_GENERAL: u32 = 1;
715pub const PHP_INFO_CREDITS: u32 = 2;
716pub const PHP_INFO_CONFIGURATION: u32 = 4;
717pub const PHP_INFO_MODULES: u32 = 8;
718pub const PHP_INFO_ENVIRONMENT: u32 = 16;
719pub const PHP_INFO_VARIABLES: u32 = 32;
720pub const PHP_INFO_LICENSE: u32 = 64;
721pub const PHP_INFO_ALL: u32 = 4294967295;
722pub const PHP_CREDITS_GROUP: u32 = 1;
723pub const PHP_CREDITS_GENERAL: u32 = 2;
724pub const PHP_CREDITS_SAPI: u32 = 4;
725pub const PHP_CREDITS_MODULES: u32 = 8;
726pub const PHP_CREDITS_DOCS: u32 = 16;
727pub const PHP_CREDITS_FULLPAGE: u32 = 32;
728pub const PHP_CREDITS_QA: u32 = 64;
729pub const PHP_CREDITS_WEB: u32 = 128;
730pub const PHP_CREDITS_ALL: u32 = 4294967295;
731pub 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" ;
732pub const PHP_EGG_LOGO_DATA_URI : & 'static [u8 ; 5727usize] = b"data:image/gif;base64,R0lGODlheQBAAOZ/AB0BAHB0r0xPkMmMdtjXu9CYh2sxAquv1pJsTmUCAKyQaaVnA6lwVYOGvJM1ANvbwYlPMJubzVYCAGgRAJhqLm9BCq99aLetkqpMAKJCAJdvYqtzHZZWAnNsmIUjAHdKNW8bALqST3ABAJpjEVYnA08xU5JLBG1FU8fKtIhcS4d0kYJFBLiQgkABAIQwAd3h0eDm2sXCpdXYxIiKwG05M7CtuH4UAVNGdNPWwJ5dAcB+ZOjv6NrdxqRMAN7ZuH1qeXZYYszQunp9toxRBJ2dz5yHaa6ANoVYHrWgebK54M28jdfbxpGTxpWWyY8tAJqFl6hHANzUr5J+UqOm0Z47AI9eG9LKolo1IEASAkNIjJSczVkUAYyPw1NNTqSdrYNgZ3hMGK9XAa5KAJNKGaGdv3k6BVgZE6BTGmVopNrezIJhNGgeFpJCKFogM9DTvpiQrm1afpiYxZxQClZZmKJSBaNGAWsnItLQscC8p7NaEI47BpdhQGwVFy0bH18LAJmZzCH5BAEAAH8ALAAAAAB5AEAAAAf/gH+Cg4SFhoeIiYIRRERTj48HkgeQU40Rf3FNm5yLEZ+YhnFeTYqmp6ipioyOU5OSSbGys0mTkERaTUxcM729XExMpaCYTTU+NaWqy8yoo3Gtk7SxlGRvT08qPz9f3UBAX0A/KuQNXOfnMw0NQu3t5n+YNQ9RXs33+IOfeFE1B7MHyGTjdoLGGjN+JChcyLChHz981tixQ+MEEDhwOgRoFyAAmo1C3rh5gEdZvpOnHB2Y56ZGkilvfpyws6WFzRYMH+rcOaGnz58+/UwQ2lPiiYxokqLpgIKHlSeXUEolpPLfgRgv8KQw6CdBAoU3cUp4OHanWbNA06aleOIGGjw8/x4gQSOkCZFQU+9FcPWv1hsvBF4g6fpwKNiwDRMvPMu4sdk1F+IqgZNFABoujPDmTemK2pOZWyKnKVK4Z8KwYhXnHLvYsWudSNLQ+5KltoA5Qv7c3axIZSwyKuwstBMkLgKipv2gVpjw9Vm1yNWajv3gAYUtbW7UzoLbLm9DRGAleUIjYQKyCNLwwKEG6OmbzBlLTwtiPlAQ+CdQ5xGiPog1JWwngBCMfKdbZweoUF5ZO8XGwx0QIEcWYqVF9xMILtyHX349bejhh/ghERcPSHjgIYDacdfAJ5t1Np5w551lRwxpLGEFGNG9J5aFaq2wAYge+gQkkBfI9oASZXw4VP+AtaHhHUrhxfIGDa2ZJcEHbvBgI44/6cicWkFWYcSQHE5ApodlxLBEdVasoGRXZjA54G74IPiFYlYisISWN+YoAXxjgbnhBBT0ZyaQQx16JghgBFHdA3dU8eZXEmTX5JPMdPbEGsw15NWnEmjAQ1wQJpCcjjgVxhNQRoRggIb1NafokBMggMMDa95BwZtfgsDkHDMQscxektzZqQSfeoWsskUYecceySrbAgA2MRhtshO0WoYEIng1galDyXpmTwrI8AAPBBBAQYemLXRoAm3Y1oCwqBBLBg2pqdYQC6M+QAAD0f5J4bXRghBCCCssS3CgIPbUrVcX4IruvwG7G6v/QiUIkIUQ9JriSBxt5JvQQoAudMGe/iqQ2HJdUaqYAQeboNBXyi503qz1PfzVGjFInC4CoDaUn8tMzmvKXm/wIYIIEzDdU9AuM3dyXAQM1tByyJJc7UJlGLEBByNrXa1QSlJqEwIEnLsEAVEgIHa1Zo58U8Ybd3wIEW+wYYMHfPftgQ2ABy444HigTIASeizddIw6PV1z1BKUscACOYBwNXxEefjVTWZckLaWBDx7GLXUtlDf6DYFKAAXdg8ShxZxsOGEA7TX7sTtuOeOux6F93uHER444ffwfA8uOAhl5LBB5QnYIILzDzO9oYlDK5uCGwTsuQQOpb5NFKo2aTdH/xOa/bGJFinMXvv66jvQvu28S+wvEnrYjrv77Ot++wqFhrCBCSAI3u36pjsXuGCAfkNC2s4lAxzEYAzG6xDfQGCDpz0kAXzQDhpaxwQtaOB96wuhCGmnh5OtyV9WoID6bjfCEbqgAmBQgxQUoIYKkAALIGwh+xhwh8+thwB4GIP+cHdA3fmNBrUxmiCCMYO/8c2AUDQg3+7nAD1Y8YoXkIHhohAC/OVOh7SjggGwcAUjrIAEN7yhC6gARhGeQQnpekCNcIAD+rURjOIjn/m4oIUTLG1pftjCFu4zqydKEQky0GJ1CJDCvf3NkQSkogNWYAADgEEKBiiDCVZgAgNgqP+NbGSjHhT4uTm6QQE5vGPtylAbjkVgFypQWAKmBYDSoQZrCtFAIlHmgygowQM6+9QfB5dJTnLABENYAAdykIMVlMGTASTeFIXnBAX0sDppSIMM3BAECghQdyS84gipQIUTZGGDfwDGCa5Wy1rS0p3tbOdNUoADLcall1ycwJ/2abMELC0BWzCACUzAzMkpcwQcoMMxDbCFlkXrYR6wQA8/94LtuSEGegPch55oABd0NIDRdEEVkbi6JsyAC21gpzzjyVKWXgEFu6wOPkNwy5IF1Jg5MKgyc8CBZXLgjDWpaQs+cIEoxPEBL3hBA4OABH1m7ZZYiKpUWyBVQYKABNr/CQAvhOBQf4pAJ6wRGE5ustIWZNGe94xCFJCAr5pKIKBlOMIQlpnTyXFgBENg5k9dQIKatNMMNEAAEqxg1AWmAQZL2GYQ9gCod7b0se0MEBp6oQLBCXB4FOxJBSvYpYQgwA27vCc+rRCCD5hBrG8lQRlWMIS5Us6gd6XrT58pyCsUAQlKIGwvCeCD6vAABtrEgRsusIZbQva4tezDbRowgy+Q87nQfa77vjhCJ4whBvVcAsoe4IPu9tIKSkACEsZw1UyWYa50hS1e9brJZ5YBCdxVa3cXeC4YKFW4QUBATZF7XOUKYB3OzYCAB0xgAUe3wASmAhLckN1+ydS7vVXC/wIqUIFiznUIIzBCMimHUMod05mrDQF3e/soXB0Wsfi9QBlq9jaBwROyfagMgKmA4BrbuMBUoAAKGIzWuDy4u0agwAoqvNqecqAKajDA5HiazGNucgWsNcKtSoyrF+xgB4nFQRBQsAf9+S2a1PMQ4CZQwYfE678NCPCN12zjBdezxz5GqhKMgAAwEBkMHEjmCI4wgg0sYAQddjKUh3CEDVghLtrdEwyuHFxu0i/BNM5AdKVbO3LSDnckXccPqFCHTnu6DgMGNZsLfIYY8BjOcYEBEqRAATBU0gAryPMCNkBrP+N1BMoc6KCrQIEi7SkNL1g0lhvIzQuMIdI2FnUGQP/d6Rt/gDszEEIH9NCDalv72tX+tLa3DWoG7PjN2h0VD9QjBSkcwYYGqEAVWjvrWucA0Lh28mqHUIUqKGAJSRU2YokdBDzswQFrbnaoPW1jc86BCe2ggR4GynCGy8EEcpADtieO7TooIAinTvQSYBCDctuQBOmWKwfaTWtAVyGnFAYxvdWAABRc+cr7xq+/HaDsAn9awNyucVb/IIQGlEBRJuooFMtQBhdcUQ9QbnjDHy4HJGCcx4lWtRTUcIU+AMCS6+ZArUsO6MlVGOQkgKEMLwDzRgeh3/+GArc9rfZtt13tOK8DFNhQmxlEINpw8OofFee0n1Rwo5W8KsgreXH/jGd3CaMpQpLRmO5193kDXtvACCjA668N4eNhl2ERkppI/AbhAhAAOIHrQPHSX5vtUDD4JxAuhDbofe+wj33sN1c6P7TcDbiXQRpQUO4roLECZahAax9vBK8hNAdVQOgQKPn7GEoBBdrk5pYVYIdDmcgDRh9oxOVAh+7TYfveD3/45aAdjgmiHR1owetlz/7Zw6cFKbjA2d2QBjyUGwxXgOERKECBIVCA1sW3AYVCAUbQZ3jlTBQGBmBAVGlwdp+HAEFFISBQSURXBkd3gWNgAhmYgQxnTgLABJjwSu1QAgDALe13grH3fmZQBDEQBDJwAWpQQxUGQzBUBZLHa17D/2uUdwRHAAaU9GowpIB4cFFFYAaP9X5YECiD8zyD4zc2YAcaY36L0AAdYXUmmCwoyH4lcyVFgAJFgEaMl3IrMAL1FgL8t3WS11o/CIZYgEZqUAQf4Fjy9H7IkoWyJz6agQntgAbU4k8EQzB/tH4SQC0MgRMfAAFt2IbpBgaERnlqQEMh0CqRRwE5sHzPBIYkcAWl8ydHmC92KHt0wzqFEAFN0A5zgBN/mIrC9EeDaEtjFTljBHL6t39HQGeCFV5IEIn8VwVQdolYAAZGYAC21IoshRjr94nxkgVKNIpcsBFwsCzBpIoPNUvFeBMhcASKGENqoIBgcARqQAEIgAD8h/8AVcCDdvZ1NwQGFIAF7mQTR0g66vdPWPh6WNgGGhMArUMIEdCMQgAHLuCExrNZ7ceJLTVUaOR7QdiNPMhy4RiOu1iOllhJNxRVAIAFQdWJ7uRVgBiNCcAkAcAiiXB3G6ECxyZpk8ZG04VAxIMfVlUfE7AFUZV5e7AHDMAAFnCTLJCTOWkBNbkHEPCTdiaR7EhVQ+mO03JLsiSNXkE3aACSq9CMGwEBUDCVVAkFGHCVVZmVU3lzBQYCZJQCNqkDOjAAZEmWBXCWaHmWAyCWOsCTDIAAKQAGE7kYp0IWwqSUXuEHKYKP5ROSCNcRKQAFYmCVV1mYhjmVhpmYislXYGn/AWwplmWZlgVQlo8pljX5llcQVSAgSbkDkIHzPLJnKXPCDKQoBCMplYqZmqqpmCZwBY3pmGUZmWpplmSpAwzAlpe5B5qIBVQgBoO5lYSZlaJ2kuSkB+YEbflYLxFAhR3xBWcgBqsZnalpAGAZjrc5AJKZnWt5mbfJkzO5m78JnNKplWJQBx+QIk6SnKpQmh0RACmAAdApnfK5AofIcimQAjSJnZJpmxqwBw2JADTplhBgdSQQnlQpn4Q5mBCQIv9FJyeBCdHWER2QAnIQn/KZmnnwAR9wnxrQoRoKlpFpARqQAh9AAynQoXAJljWpiR/AABmglYIZnb6JAQtqGwGA/ylTgQnMCZjPaaEXepUZ+gEacJMpEA5AwKFrWQA8eZ9F2qE3qQE2iYgAcJts8KJZuZq+CQU12iRM4KC8QYo7GgA/sAcx+qMYEAZlkAIsYAE0IA5X0AVF0KFoKaL3+QNv2gU0wAAswAA0AAEf0Ad7oANsQAVZ6aNX6ZtiMAZtYRuX4aUG8glNEKYTegY9YKiqGQYGIKQIoKFf0AU/0KEpYAGTeZ/hqAKe+gUfgAAaYKIWgIhUSqhVGZ+IigFjsKWV0ah9aSCekE6m2Z4d8AUQQAfwGZ1jQKIMsAcc2qEasKEDwABCKqKqOqIpgACOaZt+OpmDGp6I6puKmiK10R2Oqv+rh7B67NCeAfCrM3kGYbCu7LquNokANnmT8moBV8AAa+ma88qTN1kAlgkBGjCZepAB21oHtbqo2zEHaLAi4SquIUmuHfERH9EB3CCOW2cEPXmbY0mWzmqvOnCiZKmTFoAAYymWezAGgcoAhFoHbPABBnuwAWB3jcCw+MAiTBChSqEUErsNnzqvbbmWPmmZNJmxssmvx/oB4AAEbeGt30oXDaAb6imzpEmz5XqzVNsBHUAOKoAN3XCZRWoB2PC124ARAqAx2yEglvGydhEVUPsdoPAHuxChHoEGczC3dFu3c3sbY0u2Zbu3t/ERQnBSaeuUayuzoLAbTcALU6sUdnsSt2Nrt0mxETPABE57Cbmqq4EAADs=\0" ;
733pub 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" ;
734pub const ZEND_EXTENSION_API_NO: u32 = 220131226;
735pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
736pub type size_t = ::std::os::raw::c_ulong;
737pub type __dev_t = ::std::os::raw::c_ulong;
738pub type __uid_t = ::std::os::raw::c_uint;
739pub type __gid_t = ::std::os::raw::c_uint;
740pub type __ino_t = ::std::os::raw::c_ulong;
741pub type __mode_t = ::std::os::raw::c_uint;
742pub type __nlink_t = ::std::os::raw::c_ulong;
743pub type __off_t = ::std::os::raw::c_long;
744pub type __off64_t = ::std::os::raw::c_long;
745pub type __time_t = ::std::os::raw::c_long;
746pub type __suseconds_t = ::std::os::raw::c_long;
747pub type __blksize_t = ::std::os::raw::c_long;
748pub type __blkcnt_t = ::std::os::raw::c_long;
749pub type __syscall_slong_t = ::std::os::raw::c_long;
750pub type __socklen_t = ::std::os::raw::c_uint;
751pub type off_t = __off_t;
752pub type time_t = __time_t;
753pub type ulong = ::std::os::raw::c_ulong;
754pub type uint = ::std::os::raw::c_uint;
755#[repr(C)]
756#[derive(Debug, Copy, Clone)]
757pub struct __sigset_t {
758    pub __val: [::std::os::raw::c_ulong; 16usize],
759}
760#[test]
761fn bindgen_test_layout___sigset_t() {
762    assert_eq!(
763        ::std::mem::size_of::<__sigset_t>(),
764        128usize,
765        concat!("Size of: ", stringify!(__sigset_t))
766    );
767    assert_eq!(
768        ::std::mem::align_of::<__sigset_t>(),
769        8usize,
770        concat!("Alignment of ", stringify!(__sigset_t))
771    );
772    assert_eq!(
773        unsafe { &(*(::std::ptr::null::<__sigset_t>())).__val as *const _ as usize },
774        0usize,
775        concat!(
776            "Offset of field: ",
777            stringify!(__sigset_t),
778            "::",
779            stringify!(__val)
780        )
781    );
782}
783#[repr(C)]
784#[derive(Debug, Copy, Clone)]
785pub struct timeval {
786    pub tv_sec: __time_t,
787    pub tv_usec: __suseconds_t,
788}
789#[test]
790fn bindgen_test_layout_timeval() {
791    assert_eq!(
792        ::std::mem::size_of::<timeval>(),
793        16usize,
794        concat!("Size of: ", stringify!(timeval))
795    );
796    assert_eq!(
797        ::std::mem::align_of::<timeval>(),
798        8usize,
799        concat!("Alignment of ", stringify!(timeval))
800    );
801    assert_eq!(
802        unsafe { &(*(::std::ptr::null::<timeval>())).tv_sec as *const _ as usize },
803        0usize,
804        concat!(
805            "Offset of field: ",
806            stringify!(timeval),
807            "::",
808            stringify!(tv_sec)
809        )
810    );
811    assert_eq!(
812        unsafe { &(*(::std::ptr::null::<timeval>())).tv_usec as *const _ as usize },
813        8usize,
814        concat!(
815            "Offset of field: ",
816            stringify!(timeval),
817            "::",
818            stringify!(tv_usec)
819        )
820    );
821}
822#[repr(C)]
823#[derive(Debug, Copy, Clone)]
824pub struct timespec {
825    pub tv_sec: __time_t,
826    pub tv_nsec: __syscall_slong_t,
827}
828#[test]
829fn bindgen_test_layout_timespec() {
830    assert_eq!(
831        ::std::mem::size_of::<timespec>(),
832        16usize,
833        concat!("Size of: ", stringify!(timespec))
834    );
835    assert_eq!(
836        ::std::mem::align_of::<timespec>(),
837        8usize,
838        concat!("Alignment of ", stringify!(timespec))
839    );
840    assert_eq!(
841        unsafe { &(*(::std::ptr::null::<timespec>())).tv_sec as *const _ as usize },
842        0usize,
843        concat!(
844            "Offset of field: ",
845            stringify!(timespec),
846            "::",
847            stringify!(tv_sec)
848        )
849    );
850    assert_eq!(
851        unsafe { &(*(::std::ptr::null::<timespec>())).tv_nsec as *const _ as usize },
852        8usize,
853        concat!(
854            "Offset of field: ",
855            stringify!(timespec),
856            "::",
857            stringify!(tv_nsec)
858        )
859    );
860}
861pub type va_list = __builtin_va_list;
862pub type FILE = _IO_FILE;
863#[repr(C)]
864#[derive(Debug, Copy, Clone)]
865pub struct _IO_marker {
866    _unused: [u8; 0],
867}
868#[repr(C)]
869#[derive(Debug, Copy, Clone)]
870pub struct _IO_codecvt {
871    _unused: [u8; 0],
872}
873#[repr(C)]
874#[derive(Debug, Copy, Clone)]
875pub struct _IO_wide_data {
876    _unused: [u8; 0],
877}
878pub type _IO_lock_t = ::std::os::raw::c_void;
879#[repr(C)]
880#[derive(Debug, Copy, Clone)]
881pub struct _IO_FILE {
882    pub _flags: ::std::os::raw::c_int,
883    pub _IO_read_ptr: *mut ::std::os::raw::c_char,
884    pub _IO_read_end: *mut ::std::os::raw::c_char,
885    pub _IO_read_base: *mut ::std::os::raw::c_char,
886    pub _IO_write_base: *mut ::std::os::raw::c_char,
887    pub _IO_write_ptr: *mut ::std::os::raw::c_char,
888    pub _IO_write_end: *mut ::std::os::raw::c_char,
889    pub _IO_buf_base: *mut ::std::os::raw::c_char,
890    pub _IO_buf_end: *mut ::std::os::raw::c_char,
891    pub _IO_save_base: *mut ::std::os::raw::c_char,
892    pub _IO_backup_base: *mut ::std::os::raw::c_char,
893    pub _IO_save_end: *mut ::std::os::raw::c_char,
894    pub _markers: *mut _IO_marker,
895    pub _chain: *mut _IO_FILE,
896    pub _fileno: ::std::os::raw::c_int,
897    pub _flags2: ::std::os::raw::c_int,
898    pub _old_offset: __off_t,
899    pub _cur_column: ::std::os::raw::c_ushort,
900    pub _vtable_offset: ::std::os::raw::c_schar,
901    pub _shortbuf: [::std::os::raw::c_char; 1usize],
902    pub _lock: *mut _IO_lock_t,
903    pub _offset: __off64_t,
904    pub _codecvt: *mut _IO_codecvt,
905    pub _wide_data: *mut _IO_wide_data,
906    pub _freeres_list: *mut _IO_FILE,
907    pub _freeres_buf: *mut ::std::os::raw::c_void,
908    pub __pad5: size_t,
909    pub _mode: ::std::os::raw::c_int,
910    pub _unused2: [::std::os::raw::c_char; 20usize],
911}
912#[test]
913fn bindgen_test_layout__IO_FILE() {
914    assert_eq!(
915        ::std::mem::size_of::<_IO_FILE>(),
916        216usize,
917        concat!("Size of: ", stringify!(_IO_FILE))
918    );
919    assert_eq!(
920        ::std::mem::align_of::<_IO_FILE>(),
921        8usize,
922        concat!("Alignment of ", stringify!(_IO_FILE))
923    );
924    assert_eq!(
925        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags as *const _ as usize },
926        0usize,
927        concat!(
928            "Offset of field: ",
929            stringify!(_IO_FILE),
930            "::",
931            stringify!(_flags)
932        )
933    );
934    assert_eq!(
935        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize },
936        8usize,
937        concat!(
938            "Offset of field: ",
939            stringify!(_IO_FILE),
940            "::",
941            stringify!(_IO_read_ptr)
942        )
943    );
944    assert_eq!(
945        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize },
946        16usize,
947        concat!(
948            "Offset of field: ",
949            stringify!(_IO_FILE),
950            "::",
951            stringify!(_IO_read_end)
952        )
953    );
954    assert_eq!(
955        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize },
956        24usize,
957        concat!(
958            "Offset of field: ",
959            stringify!(_IO_FILE),
960            "::",
961            stringify!(_IO_read_base)
962        )
963    );
964    assert_eq!(
965        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize },
966        32usize,
967        concat!(
968            "Offset of field: ",
969            stringify!(_IO_FILE),
970            "::",
971            stringify!(_IO_write_base)
972        )
973    );
974    assert_eq!(
975        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize },
976        40usize,
977        concat!(
978            "Offset of field: ",
979            stringify!(_IO_FILE),
980            "::",
981            stringify!(_IO_write_ptr)
982        )
983    );
984    assert_eq!(
985        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize },
986        48usize,
987        concat!(
988            "Offset of field: ",
989            stringify!(_IO_FILE),
990            "::",
991            stringify!(_IO_write_end)
992        )
993    );
994    assert_eq!(
995        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize },
996        56usize,
997        concat!(
998            "Offset of field: ",
999            stringify!(_IO_FILE),
1000            "::",
1001            stringify!(_IO_buf_base)
1002        )
1003    );
1004    assert_eq!(
1005        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize },
1006        64usize,
1007        concat!(
1008            "Offset of field: ",
1009            stringify!(_IO_FILE),
1010            "::",
1011            stringify!(_IO_buf_end)
1012        )
1013    );
1014    assert_eq!(
1015        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize },
1016        72usize,
1017        concat!(
1018            "Offset of field: ",
1019            stringify!(_IO_FILE),
1020            "::",
1021            stringify!(_IO_save_base)
1022        )
1023    );
1024    assert_eq!(
1025        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize },
1026        80usize,
1027        concat!(
1028            "Offset of field: ",
1029            stringify!(_IO_FILE),
1030            "::",
1031            stringify!(_IO_backup_base)
1032        )
1033    );
1034    assert_eq!(
1035        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize },
1036        88usize,
1037        concat!(
1038            "Offset of field: ",
1039            stringify!(_IO_FILE),
1040            "::",
1041            stringify!(_IO_save_end)
1042        )
1043    );
1044    assert_eq!(
1045        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize },
1046        96usize,
1047        concat!(
1048            "Offset of field: ",
1049            stringify!(_IO_FILE),
1050            "::",
1051            stringify!(_markers)
1052        )
1053    );
1054    assert_eq!(
1055        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize },
1056        104usize,
1057        concat!(
1058            "Offset of field: ",
1059            stringify!(_IO_FILE),
1060            "::",
1061            stringify!(_chain)
1062        )
1063    );
1064    assert_eq!(
1065        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize },
1066        112usize,
1067        concat!(
1068            "Offset of field: ",
1069            stringify!(_IO_FILE),
1070            "::",
1071            stringify!(_fileno)
1072        )
1073    );
1074    assert_eq!(
1075        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize },
1076        116usize,
1077        concat!(
1078            "Offset of field: ",
1079            stringify!(_IO_FILE),
1080            "::",
1081            stringify!(_flags2)
1082        )
1083    );
1084    assert_eq!(
1085        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize },
1086        120usize,
1087        concat!(
1088            "Offset of field: ",
1089            stringify!(_IO_FILE),
1090            "::",
1091            stringify!(_old_offset)
1092        )
1093    );
1094    assert_eq!(
1095        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize },
1096        128usize,
1097        concat!(
1098            "Offset of field: ",
1099            stringify!(_IO_FILE),
1100            "::",
1101            stringify!(_cur_column)
1102        )
1103    );
1104    assert_eq!(
1105        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize },
1106        130usize,
1107        concat!(
1108            "Offset of field: ",
1109            stringify!(_IO_FILE),
1110            "::",
1111            stringify!(_vtable_offset)
1112        )
1113    );
1114    assert_eq!(
1115        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize },
1116        131usize,
1117        concat!(
1118            "Offset of field: ",
1119            stringify!(_IO_FILE),
1120            "::",
1121            stringify!(_shortbuf)
1122        )
1123    );
1124    assert_eq!(
1125        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize },
1126        136usize,
1127        concat!(
1128            "Offset of field: ",
1129            stringify!(_IO_FILE),
1130            "::",
1131            stringify!(_lock)
1132        )
1133    );
1134    assert_eq!(
1135        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize },
1136        144usize,
1137        concat!(
1138            "Offset of field: ",
1139            stringify!(_IO_FILE),
1140            "::",
1141            stringify!(_offset)
1142        )
1143    );
1144    assert_eq!(
1145        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize },
1146        152usize,
1147        concat!(
1148            "Offset of field: ",
1149            stringify!(_IO_FILE),
1150            "::",
1151            stringify!(_codecvt)
1152        )
1153    );
1154    assert_eq!(
1155        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize },
1156        160usize,
1157        concat!(
1158            "Offset of field: ",
1159            stringify!(_IO_FILE),
1160            "::",
1161            stringify!(_wide_data)
1162        )
1163    );
1164    assert_eq!(
1165        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize },
1166        168usize,
1167        concat!(
1168            "Offset of field: ",
1169            stringify!(_IO_FILE),
1170            "::",
1171            stringify!(_freeres_list)
1172        )
1173    );
1174    assert_eq!(
1175        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize },
1176        176usize,
1177        concat!(
1178            "Offset of field: ",
1179            stringify!(_IO_FILE),
1180            "::",
1181            stringify!(_freeres_buf)
1182        )
1183    );
1184    assert_eq!(
1185        unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize },
1186        184usize,
1187        concat!(
1188            "Offset of field: ",
1189            stringify!(_IO_FILE),
1190            "::",
1191            stringify!(__pad5)
1192        )
1193    );
1194    assert_eq!(
1195        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize },
1196        192usize,
1197        concat!(
1198            "Offset of field: ",
1199            stringify!(_IO_FILE),
1200            "::",
1201            stringify!(_mode)
1202        )
1203    );
1204    assert_eq!(
1205        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize },
1206        196usize,
1207        concat!(
1208            "Offset of field: ",
1209            stringify!(_IO_FILE),
1210            "::",
1211            stringify!(_unused2)
1212        )
1213    );
1214}
1215#[repr(C)]
1216#[derive(Debug, Copy, Clone)]
1217pub struct _zend_leak_info {
1218    pub addr: *mut ::std::os::raw::c_void,
1219    pub size: size_t,
1220    pub filename: *const ::std::os::raw::c_char,
1221    pub lineno: uint,
1222    pub orig_filename: *const ::std::os::raw::c_char,
1223    pub orig_lineno: uint,
1224}
1225#[test]
1226fn bindgen_test_layout__zend_leak_info() {
1227    assert_eq!(
1228        ::std::mem::size_of::<_zend_leak_info>(),
1229        48usize,
1230        concat!("Size of: ", stringify!(_zend_leak_info))
1231    );
1232    assert_eq!(
1233        ::std::mem::align_of::<_zend_leak_info>(),
1234        8usize,
1235        concat!("Alignment of ", stringify!(_zend_leak_info))
1236    );
1237    assert_eq!(
1238        unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).addr as *const _ as usize },
1239        0usize,
1240        concat!(
1241            "Offset of field: ",
1242            stringify!(_zend_leak_info),
1243            "::",
1244            stringify!(addr)
1245        )
1246    );
1247    assert_eq!(
1248        unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).size as *const _ as usize },
1249        8usize,
1250        concat!(
1251            "Offset of field: ",
1252            stringify!(_zend_leak_info),
1253            "::",
1254            stringify!(size)
1255        )
1256    );
1257    assert_eq!(
1258        unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).filename as *const _ as usize },
1259        16usize,
1260        concat!(
1261            "Offset of field: ",
1262            stringify!(_zend_leak_info),
1263            "::",
1264            stringify!(filename)
1265        )
1266    );
1267    assert_eq!(
1268        unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).lineno as *const _ as usize },
1269        24usize,
1270        concat!(
1271            "Offset of field: ",
1272            stringify!(_zend_leak_info),
1273            "::",
1274            stringify!(lineno)
1275        )
1276    );
1277    assert_eq!(
1278        unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).orig_filename as *const _ as usize },
1279        32usize,
1280        concat!(
1281            "Offset of field: ",
1282            stringify!(_zend_leak_info),
1283            "::",
1284            stringify!(orig_filename)
1285        )
1286    );
1287    assert_eq!(
1288        unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).orig_lineno as *const _ as usize },
1289        40usize,
1290        concat!(
1291            "Offset of field: ",
1292            stringify!(_zend_leak_info),
1293            "::",
1294            stringify!(orig_lineno)
1295        )
1296    );
1297}
1298pub type zend_leak_info = _zend_leak_info;
1299extern "C" {
1300    pub fn zend_strndup(
1301        s: *const ::std::os::raw::c_char,
1302        length: ::std::os::raw::c_uint,
1303    ) -> *mut ::std::os::raw::c_char;
1304}
1305extern "C" {
1306    pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> size_t;
1307}
1308extern "C" {
1309    pub fn zend_set_memory_limit(memory_limit: size_t) -> ::std::os::raw::c_int;
1310}
1311extern "C" {
1312    pub fn zend_memory_usage(real_usage: ::std::os::raw::c_int) -> size_t;
1313}
1314extern "C" {
1315    pub fn zend_memory_peak_usage(real_usage: ::std::os::raw::c_int) -> size_t;
1316}
1317#[repr(C)]
1318#[derive(Debug, Copy, Clone)]
1319pub struct _zend_mm_heap {
1320    _unused: [u8; 0],
1321}
1322pub type zend_mm_heap = _zend_mm_heap;
1323extern "C" {
1324    pub fn zend_mm_startup() -> *mut zend_mm_heap;
1325}
1326extern "C" {
1327    pub fn zend_mm_shutdown(
1328        heap: *mut zend_mm_heap,
1329        full_shutdown: ::std::os::raw::c_int,
1330        silent: ::std::os::raw::c_int,
1331    );
1332}
1333extern "C" {
1334    pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: size_t) -> *mut ::std::os::raw::c_void;
1335}
1336extern "C" {
1337    pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
1338}
1339extern "C" {
1340    pub fn _zend_mm_realloc(
1341        heap: *mut zend_mm_heap,
1342        p: *mut ::std::os::raw::c_void,
1343        size: size_t,
1344    ) -> *mut ::std::os::raw::c_void;
1345}
1346extern "C" {
1347    pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> size_t;
1348}
1349pub type zend_mm_storage = _zend_mm_storage;
1350#[repr(C)]
1351#[derive(Debug, Copy, Clone)]
1352pub struct _zend_mm_segment {
1353    pub size: size_t,
1354    pub next_segment: *mut _zend_mm_segment,
1355}
1356#[test]
1357fn bindgen_test_layout__zend_mm_segment() {
1358    assert_eq!(
1359        ::std::mem::size_of::<_zend_mm_segment>(),
1360        16usize,
1361        concat!("Size of: ", stringify!(_zend_mm_segment))
1362    );
1363    assert_eq!(
1364        ::std::mem::align_of::<_zend_mm_segment>(),
1365        8usize,
1366        concat!("Alignment of ", stringify!(_zend_mm_segment))
1367    );
1368    assert_eq!(
1369        unsafe { &(*(::std::ptr::null::<_zend_mm_segment>())).size as *const _ as usize },
1370        0usize,
1371        concat!(
1372            "Offset of field: ",
1373            stringify!(_zend_mm_segment),
1374            "::",
1375            stringify!(size)
1376        )
1377    );
1378    assert_eq!(
1379        unsafe { &(*(::std::ptr::null::<_zend_mm_segment>())).next_segment as *const _ as usize },
1380        8usize,
1381        concat!(
1382            "Offset of field: ",
1383            stringify!(_zend_mm_segment),
1384            "::",
1385            stringify!(next_segment)
1386        )
1387    );
1388}
1389pub type zend_mm_segment = _zend_mm_segment;
1390#[repr(C)]
1391#[derive(Debug, Copy, Clone)]
1392pub struct _zend_mm_mem_handlers {
1393    pub name: *const ::std::os::raw::c_char,
1394    pub init: ::std::option::Option<
1395        unsafe extern "C" fn(params: *mut ::std::os::raw::c_void) -> *mut zend_mm_storage,
1396    >,
1397    pub dtor: ::std::option::Option<unsafe extern "C" fn(storage: *mut zend_mm_storage)>,
1398    pub compact: ::std::option::Option<unsafe extern "C" fn(storage: *mut zend_mm_storage)>,
1399    pub _alloc: ::std::option::Option<
1400        unsafe extern "C" fn(storage: *mut zend_mm_storage, size: size_t) -> *mut zend_mm_segment,
1401    >,
1402    pub _realloc: ::std::option::Option<
1403        unsafe extern "C" fn(
1404            storage: *mut zend_mm_storage,
1405            ptr: *mut zend_mm_segment,
1406            size: size_t,
1407        ) -> *mut zend_mm_segment,
1408    >,
1409    pub _free: ::std::option::Option<
1410        unsafe extern "C" fn(storage: *mut zend_mm_storage, ptr: *mut zend_mm_segment),
1411    >,
1412}
1413#[test]
1414fn bindgen_test_layout__zend_mm_mem_handlers() {
1415    assert_eq!(
1416        ::std::mem::size_of::<_zend_mm_mem_handlers>(),
1417        56usize,
1418        concat!("Size of: ", stringify!(_zend_mm_mem_handlers))
1419    );
1420    assert_eq!(
1421        ::std::mem::align_of::<_zend_mm_mem_handlers>(),
1422        8usize,
1423        concat!("Alignment of ", stringify!(_zend_mm_mem_handlers))
1424    );
1425    assert_eq!(
1426        unsafe { &(*(::std::ptr::null::<_zend_mm_mem_handlers>())).name as *const _ as usize },
1427        0usize,
1428        concat!(
1429            "Offset of field: ",
1430            stringify!(_zend_mm_mem_handlers),
1431            "::",
1432            stringify!(name)
1433        )
1434    );
1435    assert_eq!(
1436        unsafe { &(*(::std::ptr::null::<_zend_mm_mem_handlers>())).init as *const _ as usize },
1437        8usize,
1438        concat!(
1439            "Offset of field: ",
1440            stringify!(_zend_mm_mem_handlers),
1441            "::",
1442            stringify!(init)
1443        )
1444    );
1445    assert_eq!(
1446        unsafe { &(*(::std::ptr::null::<_zend_mm_mem_handlers>())).dtor as *const _ as usize },
1447        16usize,
1448        concat!(
1449            "Offset of field: ",
1450            stringify!(_zend_mm_mem_handlers),
1451            "::",
1452            stringify!(dtor)
1453        )
1454    );
1455    assert_eq!(
1456        unsafe { &(*(::std::ptr::null::<_zend_mm_mem_handlers>())).compact as *const _ as usize },
1457        24usize,
1458        concat!(
1459            "Offset of field: ",
1460            stringify!(_zend_mm_mem_handlers),
1461            "::",
1462            stringify!(compact)
1463        )
1464    );
1465    assert_eq!(
1466        unsafe { &(*(::std::ptr::null::<_zend_mm_mem_handlers>()))._alloc as *const _ as usize },
1467        32usize,
1468        concat!(
1469            "Offset of field: ",
1470            stringify!(_zend_mm_mem_handlers),
1471            "::",
1472            stringify!(_alloc)
1473        )
1474    );
1475    assert_eq!(
1476        unsafe { &(*(::std::ptr::null::<_zend_mm_mem_handlers>()))._realloc as *const _ as usize },
1477        40usize,
1478        concat!(
1479            "Offset of field: ",
1480            stringify!(_zend_mm_mem_handlers),
1481            "::",
1482            stringify!(_realloc)
1483        )
1484    );
1485    assert_eq!(
1486        unsafe { &(*(::std::ptr::null::<_zend_mm_mem_handlers>()))._free as *const _ as usize },
1487        48usize,
1488        concat!(
1489            "Offset of field: ",
1490            stringify!(_zend_mm_mem_handlers),
1491            "::",
1492            stringify!(_free)
1493        )
1494    );
1495}
1496pub type zend_mm_mem_handlers = _zend_mm_mem_handlers;
1497#[repr(C)]
1498#[derive(Debug, Copy, Clone)]
1499pub struct _zend_mm_storage {
1500    pub handlers: *const zend_mm_mem_handlers,
1501    pub data: *mut ::std::os::raw::c_void,
1502}
1503#[test]
1504fn bindgen_test_layout__zend_mm_storage() {
1505    assert_eq!(
1506        ::std::mem::size_of::<_zend_mm_storage>(),
1507        16usize,
1508        concat!("Size of: ", stringify!(_zend_mm_storage))
1509    );
1510    assert_eq!(
1511        ::std::mem::align_of::<_zend_mm_storage>(),
1512        8usize,
1513        concat!("Alignment of ", stringify!(_zend_mm_storage))
1514    );
1515    assert_eq!(
1516        unsafe { &(*(::std::ptr::null::<_zend_mm_storage>())).handlers as *const _ as usize },
1517        0usize,
1518        concat!(
1519            "Offset of field: ",
1520            stringify!(_zend_mm_storage),
1521            "::",
1522            stringify!(handlers)
1523        )
1524    );
1525    assert_eq!(
1526        unsafe { &(*(::std::ptr::null::<_zend_mm_storage>())).data as *const _ as usize },
1527        8usize,
1528        concat!(
1529            "Offset of field: ",
1530            stringify!(_zend_mm_storage),
1531            "::",
1532            stringify!(data)
1533        )
1534    );
1535}
1536extern "C" {
1537    pub fn zend_mm_startup_ex(
1538        handlers: *const zend_mm_mem_handlers,
1539        block_size: size_t,
1540        reserve_size: size_t,
1541        internal: ::std::os::raw::c_int,
1542        params: *mut ::std::os::raw::c_void,
1543    ) -> *mut zend_mm_heap;
1544}
1545extern "C" {
1546    pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
1547}
1548extern "C" {
1549    pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
1550}
1551extern "C" {
1552    pub fn zend_mm_set_custom_handlers(
1553        heap: *mut zend_mm_heap,
1554        _malloc: ::std::option::Option<
1555            unsafe extern "C" fn(arg1: size_t) -> *mut ::std::os::raw::c_void,
1556        >,
1557        _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1558        _realloc: ::std::option::Option<
1559            unsafe extern "C" fn(
1560                arg1: *mut ::std::os::raw::c_void,
1561                arg2: size_t,
1562            ) -> *mut ::std::os::raw::c_void,
1563        >,
1564    );
1565}
1566pub type zend_bool = ::std::os::raw::c_uchar;
1567pub type zend_uchar = ::std::os::raw::c_uchar;
1568pub type zend_uint = ::std::os::raw::c_uint;
1569pub type zend_ulong = ::std::os::raw::c_ulong;
1570pub type zend_ushort = ::std::os::raw::c_ushort;
1571pub type zend_long64 = ::std::os::raw::c_longlong;
1572pub type zend_ulong64 = ::std::os::raw::c_ulonglong;
1573pub type zend_intptr_t = ::std::os::raw::c_long;
1574pub type zend_uintptr_t = ::std::os::raw::c_ulong;
1575pub type zend_object_handle = ::std::os::raw::c_uint;
1576pub type zend_object_handlers = _zend_object_handlers;
1577pub type zval = _zval_struct;
1578#[repr(C)]
1579#[derive(Debug, Copy, Clone)]
1580pub struct _zend_object_value {
1581    pub handle: zend_object_handle,
1582    pub handlers: *const zend_object_handlers,
1583}
1584#[test]
1585fn bindgen_test_layout__zend_object_value() {
1586    assert_eq!(
1587        ::std::mem::size_of::<_zend_object_value>(),
1588        16usize,
1589        concat!("Size of: ", stringify!(_zend_object_value))
1590    );
1591    assert_eq!(
1592        ::std::mem::align_of::<_zend_object_value>(),
1593        8usize,
1594        concat!("Alignment of ", stringify!(_zend_object_value))
1595    );
1596    assert_eq!(
1597        unsafe { &(*(::std::ptr::null::<_zend_object_value>())).handle as *const _ as usize },
1598        0usize,
1599        concat!(
1600            "Offset of field: ",
1601            stringify!(_zend_object_value),
1602            "::",
1603            stringify!(handle)
1604        )
1605    );
1606    assert_eq!(
1607        unsafe { &(*(::std::ptr::null::<_zend_object_value>())).handlers as *const _ as usize },
1608        8usize,
1609        concat!(
1610            "Offset of field: ",
1611            stringify!(_zend_object_value),
1612            "::",
1613            stringify!(handlers)
1614        )
1615    );
1616}
1617pub type zend_object_value = _zend_object_value;
1618extern "C" {
1619    pub static mut zend_new_interned_string: ::std::option::Option<
1620        unsafe extern "C" fn(
1621            str_: *const ::std::os::raw::c_char,
1622            len: ::std::os::raw::c_int,
1623            free_src: ::std::os::raw::c_int,
1624        ) -> *const ::std::os::raw::c_char,
1625    >;
1626}
1627extern "C" {
1628    pub static mut zend_interned_strings_snapshot: ::std::option::Option<unsafe extern "C" fn()>;
1629}
1630extern "C" {
1631    pub static mut zend_interned_strings_restore: ::std::option::Option<unsafe extern "C" fn()>;
1632}
1633extern "C" {
1634    pub fn zend_interned_strings_init();
1635}
1636extern "C" {
1637    pub fn zend_interned_strings_dtor();
1638}
1639pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
1640pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
1641pub type ZEND_RESULT_CODE = ::std::os::raw::c_int;
1642pub type compare_func_t = ::std::option::Option<
1643    unsafe extern "C" fn(
1644        arg1: *const ::std::os::raw::c_void,
1645        arg2: *const ::std::os::raw::c_void,
1646    ) -> ::std::os::raw::c_int,
1647>;
1648pub type sort_func_t = ::std::option::Option<
1649    unsafe extern "C" fn(
1650        arg1: *mut ::std::os::raw::c_void,
1651        arg2: size_t,
1652        arg3: size_t,
1653        arg4: compare_func_t,
1654    ),
1655>;
1656pub type dtor_func_t =
1657    ::std::option::Option<unsafe extern "C" fn(pDest: *mut ::std::os::raw::c_void)>;
1658pub type copy_ctor_func_t =
1659    ::std::option::Option<unsafe extern "C" fn(pElement: *mut ::std::os::raw::c_void)>;
1660#[repr(C)]
1661#[derive(Debug, Copy, Clone)]
1662pub struct bucket {
1663    pub h: ulong,
1664    pub nKeyLength: uint,
1665    pub pData: *mut ::std::os::raw::c_void,
1666    pub pDataPtr: *mut ::std::os::raw::c_void,
1667    pub pListNext: *mut bucket,
1668    pub pListLast: *mut bucket,
1669    pub pNext: *mut bucket,
1670    pub pLast: *mut bucket,
1671    pub arKey: *const ::std::os::raw::c_char,
1672}
1673#[test]
1674fn bindgen_test_layout_bucket() {
1675    assert_eq!(
1676        ::std::mem::size_of::<bucket>(),
1677        72usize,
1678        concat!("Size of: ", stringify!(bucket))
1679    );
1680    assert_eq!(
1681        ::std::mem::align_of::<bucket>(),
1682        8usize,
1683        concat!("Alignment of ", stringify!(bucket))
1684    );
1685    assert_eq!(
1686        unsafe { &(*(::std::ptr::null::<bucket>())).h as *const _ as usize },
1687        0usize,
1688        concat!("Offset of field: ", stringify!(bucket), "::", stringify!(h))
1689    );
1690    assert_eq!(
1691        unsafe { &(*(::std::ptr::null::<bucket>())).nKeyLength as *const _ as usize },
1692        8usize,
1693        concat!(
1694            "Offset of field: ",
1695            stringify!(bucket),
1696            "::",
1697            stringify!(nKeyLength)
1698        )
1699    );
1700    assert_eq!(
1701        unsafe { &(*(::std::ptr::null::<bucket>())).pData as *const _ as usize },
1702        16usize,
1703        concat!(
1704            "Offset of field: ",
1705            stringify!(bucket),
1706            "::",
1707            stringify!(pData)
1708        )
1709    );
1710    assert_eq!(
1711        unsafe { &(*(::std::ptr::null::<bucket>())).pDataPtr as *const _ as usize },
1712        24usize,
1713        concat!(
1714            "Offset of field: ",
1715            stringify!(bucket),
1716            "::",
1717            stringify!(pDataPtr)
1718        )
1719    );
1720    assert_eq!(
1721        unsafe { &(*(::std::ptr::null::<bucket>())).pListNext as *const _ as usize },
1722        32usize,
1723        concat!(
1724            "Offset of field: ",
1725            stringify!(bucket),
1726            "::",
1727            stringify!(pListNext)
1728        )
1729    );
1730    assert_eq!(
1731        unsafe { &(*(::std::ptr::null::<bucket>())).pListLast as *const _ as usize },
1732        40usize,
1733        concat!(
1734            "Offset of field: ",
1735            stringify!(bucket),
1736            "::",
1737            stringify!(pListLast)
1738        )
1739    );
1740    assert_eq!(
1741        unsafe { &(*(::std::ptr::null::<bucket>())).pNext as *const _ as usize },
1742        48usize,
1743        concat!(
1744            "Offset of field: ",
1745            stringify!(bucket),
1746            "::",
1747            stringify!(pNext)
1748        )
1749    );
1750    assert_eq!(
1751        unsafe { &(*(::std::ptr::null::<bucket>())).pLast as *const _ as usize },
1752        56usize,
1753        concat!(
1754            "Offset of field: ",
1755            stringify!(bucket),
1756            "::",
1757            stringify!(pLast)
1758        )
1759    );
1760    assert_eq!(
1761        unsafe { &(*(::std::ptr::null::<bucket>())).arKey as *const _ as usize },
1762        64usize,
1763        concat!(
1764            "Offset of field: ",
1765            stringify!(bucket),
1766            "::",
1767            stringify!(arKey)
1768        )
1769    );
1770}
1771pub type Bucket = bucket;
1772#[repr(C)]
1773#[derive(Debug, Copy, Clone)]
1774pub struct _hashtable {
1775    pub nTableSize: uint,
1776    pub nTableMask: uint,
1777    pub nNumOfElements: uint,
1778    pub nNextFreeElement: ulong,
1779    pub pInternalPointer: *mut Bucket,
1780    pub pListHead: *mut Bucket,
1781    pub pListTail: *mut Bucket,
1782    pub arBuckets: *mut *mut Bucket,
1783    pub pDestructor: dtor_func_t,
1784    pub persistent: zend_bool,
1785    pub nApplyCount: ::std::os::raw::c_uchar,
1786    pub bApplyProtection: zend_bool,
1787}
1788#[test]
1789fn bindgen_test_layout__hashtable() {
1790    assert_eq!(
1791        ::std::mem::size_of::<_hashtable>(),
1792        72usize,
1793        concat!("Size of: ", stringify!(_hashtable))
1794    );
1795    assert_eq!(
1796        ::std::mem::align_of::<_hashtable>(),
1797        8usize,
1798        concat!("Alignment of ", stringify!(_hashtable))
1799    );
1800    assert_eq!(
1801        unsafe { &(*(::std::ptr::null::<_hashtable>())).nTableSize as *const _ as usize },
1802        0usize,
1803        concat!(
1804            "Offset of field: ",
1805            stringify!(_hashtable),
1806            "::",
1807            stringify!(nTableSize)
1808        )
1809    );
1810    assert_eq!(
1811        unsafe { &(*(::std::ptr::null::<_hashtable>())).nTableMask as *const _ as usize },
1812        4usize,
1813        concat!(
1814            "Offset of field: ",
1815            stringify!(_hashtable),
1816            "::",
1817            stringify!(nTableMask)
1818        )
1819    );
1820    assert_eq!(
1821        unsafe { &(*(::std::ptr::null::<_hashtable>())).nNumOfElements as *const _ as usize },
1822        8usize,
1823        concat!(
1824            "Offset of field: ",
1825            stringify!(_hashtable),
1826            "::",
1827            stringify!(nNumOfElements)
1828        )
1829    );
1830    assert_eq!(
1831        unsafe { &(*(::std::ptr::null::<_hashtable>())).nNextFreeElement as *const _ as usize },
1832        16usize,
1833        concat!(
1834            "Offset of field: ",
1835            stringify!(_hashtable),
1836            "::",
1837            stringify!(nNextFreeElement)
1838        )
1839    );
1840    assert_eq!(
1841        unsafe { &(*(::std::ptr::null::<_hashtable>())).pInternalPointer as *const _ as usize },
1842        24usize,
1843        concat!(
1844            "Offset of field: ",
1845            stringify!(_hashtable),
1846            "::",
1847            stringify!(pInternalPointer)
1848        )
1849    );
1850    assert_eq!(
1851        unsafe { &(*(::std::ptr::null::<_hashtable>())).pListHead as *const _ as usize },
1852        32usize,
1853        concat!(
1854            "Offset of field: ",
1855            stringify!(_hashtable),
1856            "::",
1857            stringify!(pListHead)
1858        )
1859    );
1860    assert_eq!(
1861        unsafe { &(*(::std::ptr::null::<_hashtable>())).pListTail as *const _ as usize },
1862        40usize,
1863        concat!(
1864            "Offset of field: ",
1865            stringify!(_hashtable),
1866            "::",
1867            stringify!(pListTail)
1868        )
1869    );
1870    assert_eq!(
1871        unsafe { &(*(::std::ptr::null::<_hashtable>())).arBuckets as *const _ as usize },
1872        48usize,
1873        concat!(
1874            "Offset of field: ",
1875            stringify!(_hashtable),
1876            "::",
1877            stringify!(arBuckets)
1878        )
1879    );
1880    assert_eq!(
1881        unsafe { &(*(::std::ptr::null::<_hashtable>())).pDestructor as *const _ as usize },
1882        56usize,
1883        concat!(
1884            "Offset of field: ",
1885            stringify!(_hashtable),
1886            "::",
1887            stringify!(pDestructor)
1888        )
1889    );
1890    assert_eq!(
1891        unsafe { &(*(::std::ptr::null::<_hashtable>())).persistent as *const _ as usize },
1892        64usize,
1893        concat!(
1894            "Offset of field: ",
1895            stringify!(_hashtable),
1896            "::",
1897            stringify!(persistent)
1898        )
1899    );
1900    assert_eq!(
1901        unsafe { &(*(::std::ptr::null::<_hashtable>())).nApplyCount as *const _ as usize },
1902        65usize,
1903        concat!(
1904            "Offset of field: ",
1905            stringify!(_hashtable),
1906            "::",
1907            stringify!(nApplyCount)
1908        )
1909    );
1910    assert_eq!(
1911        unsafe { &(*(::std::ptr::null::<_hashtable>())).bApplyProtection as *const _ as usize },
1912        66usize,
1913        concat!(
1914            "Offset of field: ",
1915            stringify!(_hashtable),
1916            "::",
1917            stringify!(bApplyProtection)
1918        )
1919    );
1920}
1921pub type HashTable = _hashtable;
1922#[repr(C)]
1923#[derive(Debug, Copy, Clone)]
1924pub struct _zend_hash_key {
1925    pub arKey: *const ::std::os::raw::c_char,
1926    pub nKeyLength: uint,
1927    pub h: ulong,
1928}
1929#[test]
1930fn bindgen_test_layout__zend_hash_key() {
1931    assert_eq!(
1932        ::std::mem::size_of::<_zend_hash_key>(),
1933        24usize,
1934        concat!("Size of: ", stringify!(_zend_hash_key))
1935    );
1936    assert_eq!(
1937        ::std::mem::align_of::<_zend_hash_key>(),
1938        8usize,
1939        concat!("Alignment of ", stringify!(_zend_hash_key))
1940    );
1941    assert_eq!(
1942        unsafe { &(*(::std::ptr::null::<_zend_hash_key>())).arKey as *const _ as usize },
1943        0usize,
1944        concat!(
1945            "Offset of field: ",
1946            stringify!(_zend_hash_key),
1947            "::",
1948            stringify!(arKey)
1949        )
1950    );
1951    assert_eq!(
1952        unsafe { &(*(::std::ptr::null::<_zend_hash_key>())).nKeyLength as *const _ as usize },
1953        8usize,
1954        concat!(
1955            "Offset of field: ",
1956            stringify!(_zend_hash_key),
1957            "::",
1958            stringify!(nKeyLength)
1959        )
1960    );
1961    assert_eq!(
1962        unsafe { &(*(::std::ptr::null::<_zend_hash_key>())).h as *const _ as usize },
1963        16usize,
1964        concat!(
1965            "Offset of field: ",
1966            stringify!(_zend_hash_key),
1967            "::",
1968            stringify!(h)
1969        )
1970    );
1971}
1972pub type zend_hash_key = _zend_hash_key;
1973pub type merge_checker_func_t = ::std::option::Option<
1974    unsafe extern "C" fn(
1975        target_ht: *mut HashTable,
1976        source_data: *mut ::std::os::raw::c_void,
1977        hash_key: *mut zend_hash_key,
1978        pParam: *mut ::std::os::raw::c_void,
1979    ) -> zend_bool,
1980>;
1981pub type HashPosition = *mut Bucket;
1982extern "C" {
1983    pub fn _zend_hash_init(
1984        ht: *mut HashTable,
1985        nSize: uint,
1986        pDestructor: dtor_func_t,
1987        persistent: zend_bool,
1988    ) -> ::std::os::raw::c_int;
1989}
1990extern "C" {
1991    pub fn _zend_hash_init_ex(
1992        ht: *mut HashTable,
1993        nSize: uint,
1994        pDestructor: dtor_func_t,
1995        persistent: zend_bool,
1996        bApplyProtection: zend_bool,
1997    ) -> ::std::os::raw::c_int;
1998}
1999extern "C" {
2000    pub fn zend_hash_destroy(ht: *mut HashTable);
2001}
2002extern "C" {
2003    pub fn zend_hash_clean(ht: *mut HashTable);
2004}
2005extern "C" {
2006    pub fn _zend_hash_add_or_update(
2007        ht: *mut HashTable,
2008        arKey: *const ::std::os::raw::c_char,
2009        nKeyLength: uint,
2010        pData: *mut ::std::os::raw::c_void,
2011        nDataSize: uint,
2012        pDest: *mut *mut ::std::os::raw::c_void,
2013        flag: ::std::os::raw::c_int,
2014    ) -> ::std::os::raw::c_int;
2015}
2016extern "C" {
2017    pub fn _zend_hash_quick_add_or_update(
2018        ht: *mut HashTable,
2019        arKey: *const ::std::os::raw::c_char,
2020        nKeyLength: uint,
2021        h: ulong,
2022        pData: *mut ::std::os::raw::c_void,
2023        nDataSize: uint,
2024        pDest: *mut *mut ::std::os::raw::c_void,
2025        flag: ::std::os::raw::c_int,
2026    ) -> ::std::os::raw::c_int;
2027}
2028extern "C" {
2029    pub fn _zend_hash_index_update_or_next_insert(
2030        ht: *mut HashTable,
2031        h: ulong,
2032        pData: *mut ::std::os::raw::c_void,
2033        nDataSize: uint,
2034        pDest: *mut *mut ::std::os::raw::c_void,
2035        flag: ::std::os::raw::c_int,
2036    ) -> ::std::os::raw::c_int;
2037}
2038extern "C" {
2039    pub fn zend_hash_add_empty_element(
2040        ht: *mut HashTable,
2041        arKey: *const ::std::os::raw::c_char,
2042        nKeyLength: uint,
2043    ) -> ::std::os::raw::c_int;
2044}
2045pub type apply_func_t = ::std::option::Option<
2046    unsafe extern "C" fn(pDest: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
2047>;
2048pub type apply_func_arg_t = ::std::option::Option<
2049    unsafe extern "C" fn(
2050        pDest: *mut ::std::os::raw::c_void,
2051        argument: *mut ::std::os::raw::c_void,
2052    ) -> ::std::os::raw::c_int,
2053>;
2054pub type apply_func_args_t = ::std::option::Option<
2055    unsafe extern "C" fn(
2056        pDest: *mut ::std::os::raw::c_void,
2057        num_args: ::std::os::raw::c_int,
2058        args: *mut __va_list_tag,
2059        hash_key: *mut zend_hash_key,
2060    ) -> ::std::os::raw::c_int,
2061>;
2062extern "C" {
2063    pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
2064}
2065extern "C" {
2066    pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
2067}
2068extern "C" {
2069    pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
2070}
2071extern "C" {
2072    pub fn zend_hash_apply_with_argument(
2073        ht: *mut HashTable,
2074        apply_func: apply_func_arg_t,
2075        arg1: *mut ::std::os::raw::c_void,
2076    );
2077}
2078extern "C" {
2079    pub fn zend_hash_apply_with_arguments(
2080        ht: *mut HashTable,
2081        apply_func: apply_func_args_t,
2082        arg1: ::std::os::raw::c_int,
2083        ...
2084    );
2085}
2086extern "C" {
2087    pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
2088}
2089extern "C" {
2090    pub fn zend_hash_del_key_or_index(
2091        ht: *mut HashTable,
2092        arKey: *const ::std::os::raw::c_char,
2093        nKeyLength: uint,
2094        h: ulong,
2095        flag: ::std::os::raw::c_int,
2096    ) -> ::std::os::raw::c_int;
2097}
2098extern "C" {
2099    pub fn zend_hash_find(
2100        ht: *const HashTable,
2101        arKey: *const ::std::os::raw::c_char,
2102        nKeyLength: uint,
2103        pData: *mut *mut ::std::os::raw::c_void,
2104    ) -> ::std::os::raw::c_int;
2105}
2106extern "C" {
2107    pub fn zend_hash_quick_find(
2108        ht: *const HashTable,
2109        arKey: *const ::std::os::raw::c_char,
2110        nKeyLength: uint,
2111        h: ulong,
2112        pData: *mut *mut ::std::os::raw::c_void,
2113    ) -> ::std::os::raw::c_int;
2114}
2115extern "C" {
2116    pub fn zend_hash_index_find(
2117        ht: *const HashTable,
2118        h: ulong,
2119        pData: *mut *mut ::std::os::raw::c_void,
2120    ) -> ::std::os::raw::c_int;
2121}
2122extern "C" {
2123    pub fn zend_hash_exists(
2124        ht: *const HashTable,
2125        arKey: *const ::std::os::raw::c_char,
2126        nKeyLength: uint,
2127    ) -> ::std::os::raw::c_int;
2128}
2129extern "C" {
2130    pub fn zend_hash_quick_exists(
2131        ht: *const HashTable,
2132        arKey: *const ::std::os::raw::c_char,
2133        nKeyLength: uint,
2134        h: ulong,
2135    ) -> ::std::os::raw::c_int;
2136}
2137extern "C" {
2138    pub fn zend_hash_index_exists(ht: *const HashTable, h: ulong) -> ::std::os::raw::c_int;
2139}
2140extern "C" {
2141    pub fn zend_hash_next_free_element(ht: *const HashTable) -> ulong;
2142}
2143extern "C" {
2144    pub fn zend_hash_move_forward_ex(
2145        ht: *mut HashTable,
2146        pos: *mut HashPosition,
2147    ) -> ::std::os::raw::c_int;
2148}
2149extern "C" {
2150    pub fn zend_hash_move_backwards_ex(
2151        ht: *mut HashTable,
2152        pos: *mut HashPosition,
2153    ) -> ::std::os::raw::c_int;
2154}
2155extern "C" {
2156    pub fn zend_hash_get_current_key_ex(
2157        ht: *const HashTable,
2158        str_index: *mut *mut ::std::os::raw::c_char,
2159        str_length: *mut uint,
2160        num_index: *mut ulong,
2161        duplicate: zend_bool,
2162        pos: *mut HashPosition,
2163    ) -> ::std::os::raw::c_int;
2164}
2165extern "C" {
2166    pub fn zend_hash_get_current_key_zval_ex(
2167        ht: *const HashTable,
2168        key: *mut zval,
2169        pos: *mut HashPosition,
2170    );
2171}
2172extern "C" {
2173    pub fn zend_hash_get_current_key_type_ex(
2174        ht: *mut HashTable,
2175        pos: *mut HashPosition,
2176    ) -> ::std::os::raw::c_int;
2177}
2178extern "C" {
2179    pub fn zend_hash_get_current_data_ex(
2180        ht: *mut HashTable,
2181        pData: *mut *mut ::std::os::raw::c_void,
2182        pos: *mut HashPosition,
2183    ) -> ::std::os::raw::c_int;
2184}
2185extern "C" {
2186    pub fn zend_hash_internal_pointer_reset_ex(ht: *mut HashTable, pos: *mut HashPosition);
2187}
2188extern "C" {
2189    pub fn zend_hash_internal_pointer_end_ex(ht: *mut HashTable, pos: *mut HashPosition);
2190}
2191extern "C" {
2192    pub fn zend_hash_update_current_key_ex(
2193        ht: *mut HashTable,
2194        key_type: ::std::os::raw::c_int,
2195        str_index: *const ::std::os::raw::c_char,
2196        str_length: uint,
2197        num_index: ulong,
2198        mode: ::std::os::raw::c_int,
2199        pos: *mut HashPosition,
2200    ) -> ::std::os::raw::c_int;
2201}
2202#[repr(C)]
2203#[derive(Debug, Copy, Clone)]
2204pub struct _HashPointer {
2205    pub pos: HashPosition,
2206    pub h: ulong,
2207}
2208#[test]
2209fn bindgen_test_layout__HashPointer() {
2210    assert_eq!(
2211        ::std::mem::size_of::<_HashPointer>(),
2212        16usize,
2213        concat!("Size of: ", stringify!(_HashPointer))
2214    );
2215    assert_eq!(
2216        ::std::mem::align_of::<_HashPointer>(),
2217        8usize,
2218        concat!("Alignment of ", stringify!(_HashPointer))
2219    );
2220    assert_eq!(
2221        unsafe { &(*(::std::ptr::null::<_HashPointer>())).pos as *const _ as usize },
2222        0usize,
2223        concat!(
2224            "Offset of field: ",
2225            stringify!(_HashPointer),
2226            "::",
2227            stringify!(pos)
2228        )
2229    );
2230    assert_eq!(
2231        unsafe { &(*(::std::ptr::null::<_HashPointer>())).h as *const _ as usize },
2232        8usize,
2233        concat!(
2234            "Offset of field: ",
2235            stringify!(_HashPointer),
2236            "::",
2237            stringify!(h)
2238        )
2239    );
2240}
2241pub type HashPointer = _HashPointer;
2242extern "C" {
2243    pub fn zend_hash_get_pointer(
2244        ht: *const HashTable,
2245        ptr: *mut HashPointer,
2246    ) -> ::std::os::raw::c_int;
2247}
2248extern "C" {
2249    pub fn zend_hash_set_pointer(
2250        ht: *mut HashTable,
2251        ptr: *const HashPointer,
2252    ) -> ::std::os::raw::c_int;
2253}
2254extern "C" {
2255    pub fn zend_hash_copy(
2256        target: *mut HashTable,
2257        source: *mut HashTable,
2258        pCopyConstructor: copy_ctor_func_t,
2259        tmp: *mut ::std::os::raw::c_void,
2260        size: uint,
2261    );
2262}
2263extern "C" {
2264    pub fn _zend_hash_merge(
2265        target: *mut HashTable,
2266        source: *mut HashTable,
2267        pCopyConstructor: copy_ctor_func_t,
2268        tmp: *mut ::std::os::raw::c_void,
2269        size: uint,
2270        overwrite: ::std::os::raw::c_int,
2271    );
2272}
2273extern "C" {
2274    pub fn zend_hash_merge_ex(
2275        target: *mut HashTable,
2276        source: *mut HashTable,
2277        pCopyConstructor: copy_ctor_func_t,
2278        size: uint,
2279        pMergeSource: merge_checker_func_t,
2280        pParam: *mut ::std::os::raw::c_void,
2281    );
2282}
2283extern "C" {
2284    pub fn zend_hash_sort(
2285        ht: *mut HashTable,
2286        sort_func: sort_func_t,
2287        compare_func: compare_func_t,
2288        renumber: ::std::os::raw::c_int,
2289    ) -> ::std::os::raw::c_int;
2290}
2291extern "C" {
2292    pub fn zend_hash_compare(
2293        ht1: *mut HashTable,
2294        ht2: *mut HashTable,
2295        compar: compare_func_t,
2296        ordered: zend_bool,
2297    ) -> ::std::os::raw::c_int;
2298}
2299extern "C" {
2300    pub fn zend_hash_minmax(
2301        ht: *const HashTable,
2302        compar: compare_func_t,
2303        flag: ::std::os::raw::c_int,
2304        pData: *mut *mut ::std::os::raw::c_void,
2305    ) -> ::std::os::raw::c_int;
2306}
2307extern "C" {
2308    pub fn zend_hash_num_elements(ht: *const HashTable) -> ::std::os::raw::c_int;
2309}
2310extern "C" {
2311    pub fn zend_hash_rehash(ht: *mut HashTable) -> ::std::os::raw::c_int;
2312}
2313extern "C" {
2314    pub fn zend_hash_reindex(ht: *mut HashTable, only_integer_keys: zend_bool);
2315}
2316extern "C" {
2317    pub fn _zend_hash_splice(
2318        ht: *mut HashTable,
2319        nDataSize: uint,
2320        pCopyConstructor: copy_ctor_func_t,
2321        offset: uint,
2322        length: uint,
2323        list: *mut *mut ::std::os::raw::c_void,
2324        list_count: uint,
2325        removed: *mut HashTable,
2326    );
2327}
2328extern "C" {
2329    pub fn zend_hash_func(arKey: *const ::std::os::raw::c_char, nKeyLength: uint) -> ulong;
2330}
2331#[repr(C)]
2332#[derive(Debug, Copy, Clone)]
2333pub struct _zend_ts_hashtable {
2334    pub hash: HashTable,
2335    pub reader: zend_uint,
2336}
2337#[test]
2338fn bindgen_test_layout__zend_ts_hashtable() {
2339    assert_eq!(
2340        ::std::mem::size_of::<_zend_ts_hashtable>(),
2341        80usize,
2342        concat!("Size of: ", stringify!(_zend_ts_hashtable))
2343    );
2344    assert_eq!(
2345        ::std::mem::align_of::<_zend_ts_hashtable>(),
2346        8usize,
2347        concat!("Alignment of ", stringify!(_zend_ts_hashtable))
2348    );
2349    assert_eq!(
2350        unsafe { &(*(::std::ptr::null::<_zend_ts_hashtable>())).hash as *const _ as usize },
2351        0usize,
2352        concat!(
2353            "Offset of field: ",
2354            stringify!(_zend_ts_hashtable),
2355            "::",
2356            stringify!(hash)
2357        )
2358    );
2359    assert_eq!(
2360        unsafe { &(*(::std::ptr::null::<_zend_ts_hashtable>())).reader as *const _ as usize },
2361        72usize,
2362        concat!(
2363            "Offset of field: ",
2364            stringify!(_zend_ts_hashtable),
2365            "::",
2366            stringify!(reader)
2367        )
2368    );
2369}
2370pub type TsHashTable = _zend_ts_hashtable;
2371extern "C" {
2372    pub fn _zend_ts_hash_init(
2373        ht: *mut TsHashTable,
2374        nSize: uint,
2375        pDestructor: dtor_func_t,
2376        persistent: zend_bool,
2377    ) -> ::std::os::raw::c_int;
2378}
2379extern "C" {
2380    pub fn _zend_ts_hash_init_ex(
2381        ht: *mut TsHashTable,
2382        nSize: uint,
2383        pDestructor: dtor_func_t,
2384        persistent: zend_bool,
2385        bApplyProtection: zend_bool,
2386    ) -> ::std::os::raw::c_int;
2387}
2388extern "C" {
2389    pub fn zend_ts_hash_destroy(ht: *mut TsHashTable);
2390}
2391extern "C" {
2392    pub fn zend_ts_hash_clean(ht: *mut TsHashTable);
2393}
2394extern "C" {
2395    pub fn _zend_ts_hash_add_or_update(
2396        ht: *mut TsHashTable,
2397        arKey: *mut ::std::os::raw::c_char,
2398        nKeyLength: uint,
2399        pData: *mut ::std::os::raw::c_void,
2400        nDataSize: uint,
2401        pDest: *mut *mut ::std::os::raw::c_void,
2402        flag: ::std::os::raw::c_int,
2403    ) -> ::std::os::raw::c_int;
2404}
2405extern "C" {
2406    pub fn _zend_ts_hash_quick_add_or_update(
2407        ht: *mut TsHashTable,
2408        arKey: *mut ::std::os::raw::c_char,
2409        nKeyLength: uint,
2410        h: ulong,
2411        pData: *mut ::std::os::raw::c_void,
2412        nDataSize: uint,
2413        pDest: *mut *mut ::std::os::raw::c_void,
2414        flag: ::std::os::raw::c_int,
2415    ) -> ::std::os::raw::c_int;
2416}
2417extern "C" {
2418    pub fn _zend_ts_hash_index_update_or_next_insert(
2419        ht: *mut TsHashTable,
2420        h: ulong,
2421        pData: *mut ::std::os::raw::c_void,
2422        nDataSize: uint,
2423        pDest: *mut *mut ::std::os::raw::c_void,
2424        flag: ::std::os::raw::c_int,
2425    ) -> ::std::os::raw::c_int;
2426}
2427extern "C" {
2428    pub fn zend_ts_hash_add_empty_element(
2429        ht: *mut TsHashTable,
2430        arKey: *mut ::std::os::raw::c_char,
2431        nKeyLength: uint,
2432    ) -> ::std::os::raw::c_int;
2433}
2434extern "C" {
2435    pub fn zend_ts_hash_graceful_destroy(ht: *mut TsHashTable);
2436}
2437extern "C" {
2438    pub fn zend_ts_hash_apply(ht: *mut TsHashTable, apply_func: apply_func_t);
2439}
2440extern "C" {
2441    pub fn zend_ts_hash_apply_with_argument(
2442        ht: *mut TsHashTable,
2443        apply_func: apply_func_arg_t,
2444        arg1: *mut ::std::os::raw::c_void,
2445    );
2446}
2447extern "C" {
2448    pub fn zend_ts_hash_apply_with_arguments(
2449        ht: *mut TsHashTable,
2450        apply_func: apply_func_args_t,
2451        arg1: ::std::os::raw::c_int,
2452        ...
2453    );
2454}
2455extern "C" {
2456    pub fn zend_ts_hash_reverse_apply(ht: *mut TsHashTable, apply_func: apply_func_t);
2457}
2458extern "C" {
2459    pub fn zend_ts_hash_del_key_or_index(
2460        ht: *mut TsHashTable,
2461        arKey: *mut ::std::os::raw::c_char,
2462        nKeyLength: uint,
2463        h: ulong,
2464        flag: ::std::os::raw::c_int,
2465    ) -> ::std::os::raw::c_int;
2466}
2467extern "C" {
2468    pub fn zend_ts_get_hash_value(
2469        ht: *mut TsHashTable,
2470        arKey: *mut ::std::os::raw::c_char,
2471        nKeyLength: uint,
2472    ) -> ulong;
2473}
2474extern "C" {
2475    pub fn zend_ts_hash_find(
2476        ht: *mut TsHashTable,
2477        arKey: *mut ::std::os::raw::c_char,
2478        nKeyLength: uint,
2479        pData: *mut *mut ::std::os::raw::c_void,
2480    ) -> ::std::os::raw::c_int;
2481}
2482extern "C" {
2483    pub fn zend_ts_hash_quick_find(
2484        ht: *mut TsHashTable,
2485        arKey: *mut ::std::os::raw::c_char,
2486        nKeyLength: uint,
2487        h: ulong,
2488        pData: *mut *mut ::std::os::raw::c_void,
2489    ) -> ::std::os::raw::c_int;
2490}
2491extern "C" {
2492    pub fn zend_ts_hash_index_find(
2493        ht: *mut TsHashTable,
2494        h: ulong,
2495        pData: *mut *mut ::std::os::raw::c_void,
2496    ) -> ::std::os::raw::c_int;
2497}
2498extern "C" {
2499    pub fn zend_ts_hash_exists(
2500        ht: *mut TsHashTable,
2501        arKey: *mut ::std::os::raw::c_char,
2502        nKeyLength: uint,
2503    ) -> ::std::os::raw::c_int;
2504}
2505extern "C" {
2506    pub fn zend_ts_hash_index_exists(ht: *mut TsHashTable, h: ulong) -> ::std::os::raw::c_int;
2507}
2508extern "C" {
2509    pub fn zend_ts_hash_copy(
2510        target: *mut TsHashTable,
2511        source: *mut TsHashTable,
2512        pCopyConstructor: copy_ctor_func_t,
2513        tmp: *mut ::std::os::raw::c_void,
2514        size: uint,
2515    );
2516}
2517extern "C" {
2518    pub fn zend_ts_hash_copy_to_hash(
2519        target: *mut HashTable,
2520        source: *mut TsHashTable,
2521        pCopyConstructor: copy_ctor_func_t,
2522        tmp: *mut ::std::os::raw::c_void,
2523        size: uint,
2524    );
2525}
2526extern "C" {
2527    pub fn zend_ts_hash_merge(
2528        target: *mut TsHashTable,
2529        source: *mut TsHashTable,
2530        pCopyConstructor: copy_ctor_func_t,
2531        tmp: *mut ::std::os::raw::c_void,
2532        size: uint,
2533        overwrite: ::std::os::raw::c_int,
2534    );
2535}
2536extern "C" {
2537    pub fn zend_ts_hash_merge_ex(
2538        target: *mut TsHashTable,
2539        source: *mut TsHashTable,
2540        pCopyConstructor: copy_ctor_func_t,
2541        size: uint,
2542        pMergeSource: merge_checker_func_t,
2543        pParam: *mut ::std::os::raw::c_void,
2544    );
2545}
2546extern "C" {
2547    pub fn zend_ts_hash_sort(
2548        ht: *mut TsHashTable,
2549        sort_func: sort_func_t,
2550        compare_func: compare_func_t,
2551        renumber: ::std::os::raw::c_int,
2552    ) -> ::std::os::raw::c_int;
2553}
2554extern "C" {
2555    pub fn zend_ts_hash_compare(
2556        ht1: *mut TsHashTable,
2557        ht2: *mut TsHashTable,
2558        compar: compare_func_t,
2559        ordered: zend_bool,
2560    ) -> ::std::os::raw::c_int;
2561}
2562extern "C" {
2563    pub fn zend_ts_hash_minmax(
2564        ht: *mut TsHashTable,
2565        compar: compare_func_t,
2566        flag: ::std::os::raw::c_int,
2567        pData: *mut *mut ::std::os::raw::c_void,
2568    ) -> ::std::os::raw::c_int;
2569}
2570extern "C" {
2571    pub fn zend_ts_hash_num_elements(ht: *mut TsHashTable) -> ::std::os::raw::c_int;
2572}
2573extern "C" {
2574    pub fn zend_ts_hash_rehash(ht: *mut TsHashTable) -> ::std::os::raw::c_int;
2575}
2576extern "C" {
2577    pub fn zend_ts_hash_func(arKey: *mut ::std::os::raw::c_char, nKeyLength: uint) -> ulong;
2578}
2579#[repr(C)]
2580#[derive(Debug, Copy, Clone)]
2581pub struct _zend_llist_element {
2582    pub next: *mut _zend_llist_element,
2583    pub prev: *mut _zend_llist_element,
2584    pub data: [::std::os::raw::c_char; 1usize],
2585}
2586#[test]
2587fn bindgen_test_layout__zend_llist_element() {
2588    assert_eq!(
2589        ::std::mem::size_of::<_zend_llist_element>(),
2590        24usize,
2591        concat!("Size of: ", stringify!(_zend_llist_element))
2592    );
2593    assert_eq!(
2594        ::std::mem::align_of::<_zend_llist_element>(),
2595        8usize,
2596        concat!("Alignment of ", stringify!(_zend_llist_element))
2597    );
2598    assert_eq!(
2599        unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).next as *const _ as usize },
2600        0usize,
2601        concat!(
2602            "Offset of field: ",
2603            stringify!(_zend_llist_element),
2604            "::",
2605            stringify!(next)
2606        )
2607    );
2608    assert_eq!(
2609        unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).prev as *const _ as usize },
2610        8usize,
2611        concat!(
2612            "Offset of field: ",
2613            stringify!(_zend_llist_element),
2614            "::",
2615            stringify!(prev)
2616        )
2617    );
2618    assert_eq!(
2619        unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).data as *const _ as usize },
2620        16usize,
2621        concat!(
2622            "Offset of field: ",
2623            stringify!(_zend_llist_element),
2624            "::",
2625            stringify!(data)
2626        )
2627    );
2628}
2629pub type zend_llist_element = _zend_llist_element;
2630pub type llist_dtor_func_t =
2631    ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
2632pub type llist_compare_func_t = ::std::option::Option<
2633    unsafe extern "C" fn(
2634        arg1: *mut *const zend_llist_element,
2635        arg2: *mut *const zend_llist_element,
2636    ) -> ::std::os::raw::c_int,
2637>;
2638pub type llist_apply_with_args_func_t = ::std::option::Option<
2639    unsafe extern "C" fn(
2640        data: *mut ::std::os::raw::c_void,
2641        num_args: ::std::os::raw::c_int,
2642        args: *mut __va_list_tag,
2643    ),
2644>;
2645pub type llist_apply_with_arg_func_t = ::std::option::Option<
2646    unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
2647>;
2648pub type llist_apply_func_t =
2649    ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
2650#[repr(C)]
2651#[derive(Debug, Copy, Clone)]
2652pub struct _zend_llist {
2653    pub head: *mut zend_llist_element,
2654    pub tail: *mut zend_llist_element,
2655    pub count: size_t,
2656    pub size: size_t,
2657    pub dtor: llist_dtor_func_t,
2658    pub persistent: ::std::os::raw::c_uchar,
2659    pub traverse_ptr: *mut zend_llist_element,
2660}
2661#[test]
2662fn bindgen_test_layout__zend_llist() {
2663    assert_eq!(
2664        ::std::mem::size_of::<_zend_llist>(),
2665        56usize,
2666        concat!("Size of: ", stringify!(_zend_llist))
2667    );
2668    assert_eq!(
2669        ::std::mem::align_of::<_zend_llist>(),
2670        8usize,
2671        concat!("Alignment of ", stringify!(_zend_llist))
2672    );
2673    assert_eq!(
2674        unsafe { &(*(::std::ptr::null::<_zend_llist>())).head as *const _ as usize },
2675        0usize,
2676        concat!(
2677            "Offset of field: ",
2678            stringify!(_zend_llist),
2679            "::",
2680            stringify!(head)
2681        )
2682    );
2683    assert_eq!(
2684        unsafe { &(*(::std::ptr::null::<_zend_llist>())).tail as *const _ as usize },
2685        8usize,
2686        concat!(
2687            "Offset of field: ",
2688            stringify!(_zend_llist),
2689            "::",
2690            stringify!(tail)
2691        )
2692    );
2693    assert_eq!(
2694        unsafe { &(*(::std::ptr::null::<_zend_llist>())).count as *const _ as usize },
2695        16usize,
2696        concat!(
2697            "Offset of field: ",
2698            stringify!(_zend_llist),
2699            "::",
2700            stringify!(count)
2701        )
2702    );
2703    assert_eq!(
2704        unsafe { &(*(::std::ptr::null::<_zend_llist>())).size as *const _ as usize },
2705        24usize,
2706        concat!(
2707            "Offset of field: ",
2708            stringify!(_zend_llist),
2709            "::",
2710            stringify!(size)
2711        )
2712    );
2713    assert_eq!(
2714        unsafe { &(*(::std::ptr::null::<_zend_llist>())).dtor as *const _ as usize },
2715        32usize,
2716        concat!(
2717            "Offset of field: ",
2718            stringify!(_zend_llist),
2719            "::",
2720            stringify!(dtor)
2721        )
2722    );
2723    assert_eq!(
2724        unsafe { &(*(::std::ptr::null::<_zend_llist>())).persistent as *const _ as usize },
2725        40usize,
2726        concat!(
2727            "Offset of field: ",
2728            stringify!(_zend_llist),
2729            "::",
2730            stringify!(persistent)
2731        )
2732    );
2733    assert_eq!(
2734        unsafe { &(*(::std::ptr::null::<_zend_llist>())).traverse_ptr as *const _ as usize },
2735        48usize,
2736        concat!(
2737            "Offset of field: ",
2738            stringify!(_zend_llist),
2739            "::",
2740            stringify!(traverse_ptr)
2741        )
2742    );
2743}
2744pub type zend_llist = _zend_llist;
2745pub type zend_llist_position = *mut zend_llist_element;
2746extern "C" {
2747    pub fn zend_llist_init(
2748        l: *mut zend_llist,
2749        size: size_t,
2750        dtor: llist_dtor_func_t,
2751        persistent: ::std::os::raw::c_uchar,
2752    );
2753}
2754extern "C" {
2755    pub fn zend_llist_add_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
2756}
2757extern "C" {
2758    pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
2759}
2760extern "C" {
2761    pub fn zend_llist_del_element(
2762        l: *mut zend_llist,
2763        element: *mut ::std::os::raw::c_void,
2764        compare: ::std::option::Option<
2765            unsafe extern "C" fn(
2766                element1: *mut ::std::os::raw::c_void,
2767                element2: *mut ::std::os::raw::c_void,
2768            ) -> ::std::os::raw::c_int,
2769        >,
2770    );
2771}
2772extern "C" {
2773    pub fn zend_llist_destroy(l: *mut zend_llist);
2774}
2775extern "C" {
2776    pub fn zend_llist_clean(l: *mut zend_llist);
2777}
2778extern "C" {
2779    pub fn zend_llist_remove_tail(l: *mut zend_llist) -> *mut ::std::os::raw::c_void;
2780}
2781extern "C" {
2782    pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
2783}
2784extern "C" {
2785    pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
2786}
2787extern "C" {
2788    pub fn zend_llist_apply_with_del(
2789        l: *mut zend_llist,
2790        func: ::std::option::Option<
2791            unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
2792        >,
2793    );
2794}
2795extern "C" {
2796    pub fn zend_llist_apply_with_argument(
2797        l: *mut zend_llist,
2798        func: llist_apply_with_arg_func_t,
2799        arg: *mut ::std::os::raw::c_void,
2800    );
2801}
2802extern "C" {
2803    pub fn zend_llist_apply_with_arguments(
2804        l: *mut zend_llist,
2805        func: llist_apply_with_args_func_t,
2806        num_args: ::std::os::raw::c_int,
2807        ...
2808    );
2809}
2810extern "C" {
2811    pub fn zend_llist_count(l: *mut zend_llist) -> ::std::os::raw::c_int;
2812}
2813extern "C" {
2814    pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
2815}
2816extern "C" {
2817    pub fn zend_llist_get_first_ex(
2818        l: *mut zend_llist,
2819        pos: *mut zend_llist_position,
2820    ) -> *mut ::std::os::raw::c_void;
2821}
2822extern "C" {
2823    pub fn zend_llist_get_last_ex(
2824        l: *mut zend_llist,
2825        pos: *mut zend_llist_position,
2826    ) -> *mut ::std::os::raw::c_void;
2827}
2828extern "C" {
2829    pub fn zend_llist_get_next_ex(
2830        l: *mut zend_llist,
2831        pos: *mut zend_llist_position,
2832    ) -> *mut ::std::os::raw::c_void;
2833}
2834extern "C" {
2835    pub fn zend_llist_get_prev_ex(
2836        l: *mut zend_llist,
2837        pos: *mut zend_llist_position,
2838    ) -> *mut ::std::os::raw::c_void;
2839}
2840extern "C" {
2841    pub fn zend_error_noreturn(
2842        type_: ::std::os::raw::c_int,
2843        format: *const ::std::os::raw::c_char,
2844        ...
2845    );
2846}
2847pub type zend_class_entry = _zend_class_entry;
2848#[repr(C)]
2849#[derive(Debug, Copy, Clone)]
2850pub struct _zend_guard {
2851    pub in_get: zend_bool,
2852    pub in_set: zend_bool,
2853    pub in_unset: zend_bool,
2854    pub in_isset: zend_bool,
2855    pub dummy: zend_bool,
2856}
2857#[test]
2858fn bindgen_test_layout__zend_guard() {
2859    assert_eq!(
2860        ::std::mem::size_of::<_zend_guard>(),
2861        5usize,
2862        concat!("Size of: ", stringify!(_zend_guard))
2863    );
2864    assert_eq!(
2865        ::std::mem::align_of::<_zend_guard>(),
2866        1usize,
2867        concat!("Alignment of ", stringify!(_zend_guard))
2868    );
2869    assert_eq!(
2870        unsafe { &(*(::std::ptr::null::<_zend_guard>())).in_get as *const _ as usize },
2871        0usize,
2872        concat!(
2873            "Offset of field: ",
2874            stringify!(_zend_guard),
2875            "::",
2876            stringify!(in_get)
2877        )
2878    );
2879    assert_eq!(
2880        unsafe { &(*(::std::ptr::null::<_zend_guard>())).in_set as *const _ as usize },
2881        1usize,
2882        concat!(
2883            "Offset of field: ",
2884            stringify!(_zend_guard),
2885            "::",
2886            stringify!(in_set)
2887        )
2888    );
2889    assert_eq!(
2890        unsafe { &(*(::std::ptr::null::<_zend_guard>())).in_unset as *const _ as usize },
2891        2usize,
2892        concat!(
2893            "Offset of field: ",
2894            stringify!(_zend_guard),
2895            "::",
2896            stringify!(in_unset)
2897        )
2898    );
2899    assert_eq!(
2900        unsafe { &(*(::std::ptr::null::<_zend_guard>())).in_isset as *const _ as usize },
2901        3usize,
2902        concat!(
2903            "Offset of field: ",
2904            stringify!(_zend_guard),
2905            "::",
2906            stringify!(in_isset)
2907        )
2908    );
2909    assert_eq!(
2910        unsafe { &(*(::std::ptr::null::<_zend_guard>())).dummy as *const _ as usize },
2911        4usize,
2912        concat!(
2913            "Offset of field: ",
2914            stringify!(_zend_guard),
2915            "::",
2916            stringify!(dummy)
2917        )
2918    );
2919}
2920pub type zend_guard = _zend_guard;
2921#[repr(C)]
2922#[derive(Debug, Copy, Clone)]
2923pub struct _zend_object {
2924    pub ce: *mut zend_class_entry,
2925    pub properties: *mut HashTable,
2926    pub properties_table: *mut *mut zval,
2927    pub guards: *mut HashTable,
2928}
2929#[test]
2930fn bindgen_test_layout__zend_object() {
2931    assert_eq!(
2932        ::std::mem::size_of::<_zend_object>(),
2933        32usize,
2934        concat!("Size of: ", stringify!(_zend_object))
2935    );
2936    assert_eq!(
2937        ::std::mem::align_of::<_zend_object>(),
2938        8usize,
2939        concat!("Alignment of ", stringify!(_zend_object))
2940    );
2941    assert_eq!(
2942        unsafe { &(*(::std::ptr::null::<_zend_object>())).ce as *const _ as usize },
2943        0usize,
2944        concat!(
2945            "Offset of field: ",
2946            stringify!(_zend_object),
2947            "::",
2948            stringify!(ce)
2949        )
2950    );
2951    assert_eq!(
2952        unsafe { &(*(::std::ptr::null::<_zend_object>())).properties as *const _ as usize },
2953        8usize,
2954        concat!(
2955            "Offset of field: ",
2956            stringify!(_zend_object),
2957            "::",
2958            stringify!(properties)
2959        )
2960    );
2961    assert_eq!(
2962        unsafe { &(*(::std::ptr::null::<_zend_object>())).properties_table as *const _ as usize },
2963        16usize,
2964        concat!(
2965            "Offset of field: ",
2966            stringify!(_zend_object),
2967            "::",
2968            stringify!(properties_table)
2969        )
2970    );
2971    assert_eq!(
2972        unsafe { &(*(::std::ptr::null::<_zend_object>())).guards as *const _ as usize },
2973        24usize,
2974        concat!(
2975            "Offset of field: ",
2976            stringify!(_zend_object),
2977            "::",
2978            stringify!(guards)
2979        )
2980    );
2981}
2982pub type zend_object = _zend_object;
2983pub type zend_object_read_property_t = ::std::option::Option<
2984    unsafe extern "C" fn(
2985        object: *mut zval,
2986        member: *mut zval,
2987        type_: ::std::os::raw::c_int,
2988        key: *const _zend_literal,
2989    ) -> *mut zval,
2990>;
2991pub type zend_object_read_dimension_t = ::std::option::Option<
2992    unsafe extern "C" fn(
2993        object: *mut zval,
2994        offset: *mut zval,
2995        type_: ::std::os::raw::c_int,
2996    ) -> *mut zval,
2997>;
2998pub type zend_object_write_property_t = ::std::option::Option<
2999    unsafe extern "C" fn(
3000        object: *mut zval,
3001        member: *mut zval,
3002        value: *mut zval,
3003        key: *const _zend_literal,
3004    ),
3005>;
3006pub type zend_object_write_dimension_t = ::std::option::Option<
3007    unsafe extern "C" fn(object: *mut zval, offset: *mut zval, value: *mut zval),
3008>;
3009pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
3010    unsafe extern "C" fn(
3011        object: *mut zval,
3012        member: *mut zval,
3013        type_: ::std::os::raw::c_int,
3014        key: *const _zend_literal,
3015    ) -> *mut *mut zval,
3016>;
3017pub type zend_object_set_t =
3018    ::std::option::Option<unsafe extern "C" fn(object: *mut *mut zval, value: *mut zval)>;
3019pub type zend_object_get_t =
3020    ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut zval>;
3021pub type zend_object_has_property_t = ::std::option::Option<
3022    unsafe extern "C" fn(
3023        object: *mut zval,
3024        member: *mut zval,
3025        has_set_exists: ::std::os::raw::c_int,
3026        key: *const _zend_literal,
3027    ) -> ::std::os::raw::c_int,
3028>;
3029pub type zend_object_has_dimension_t = ::std::option::Option<
3030    unsafe extern "C" fn(
3031        object: *mut zval,
3032        member: *mut zval,
3033        check_empty: ::std::os::raw::c_int,
3034    ) -> ::std::os::raw::c_int,
3035>;
3036pub type zend_object_unset_property_t = ::std::option::Option<
3037    unsafe extern "C" fn(object: *mut zval, member: *mut zval, key: *const _zend_literal),
3038>;
3039pub type zend_object_unset_dimension_t =
3040    ::std::option::Option<unsafe extern "C" fn(object: *mut zval, offset: *mut zval)>;
3041pub type zend_object_get_properties_t =
3042    ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut HashTable>;
3043pub type zend_object_get_debug_info_t = ::std::option::Option<
3044    unsafe extern "C" fn(object: *mut zval, is_temp: *mut ::std::os::raw::c_int) -> *mut HashTable,
3045>;
3046pub type zend_object_call_method_t = ::std::option::Option<
3047    unsafe extern "C" fn(
3048        method: *const ::std::os::raw::c_char,
3049        ht: ::std::os::raw::c_int,
3050        return_value: *mut zval,
3051        return_value_ptr: *mut *mut zval,
3052        this_ptr: *mut zval,
3053        return_value_used: ::std::os::raw::c_int,
3054    ) -> ::std::os::raw::c_int,
3055>;
3056pub type zend_object_get_method_t = ::std::option::Option<
3057    unsafe extern "C" fn(
3058        object_ptr: *mut *mut zval,
3059        method: *mut ::std::os::raw::c_char,
3060        method_len: ::std::os::raw::c_int,
3061        key: *const _zend_literal,
3062    ) -> *mut _zend_function,
3063>;
3064pub type zend_object_get_constructor_t =
3065    ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut _zend_function>;
3066pub type zend_object_add_ref_t = ::std::option::Option<unsafe extern "C" fn(object: *mut zval)>;
3067pub type zend_object_del_ref_t = ::std::option::Option<unsafe extern "C" fn(object: *mut zval)>;
3068pub type zend_object_delete_obj_t = ::std::option::Option<unsafe extern "C" fn(object: *mut zval)>;
3069pub type zend_object_clone_obj_t =
3070    ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> zend_object_value>;
3071pub type zend_object_get_class_entry_t =
3072    ::std::option::Option<unsafe extern "C" fn(object: *const zval) -> *mut zend_class_entry>;
3073pub type zend_object_get_class_name_t = ::std::option::Option<
3074    unsafe extern "C" fn(
3075        object: *const zval,
3076        class_name: *mut *const ::std::os::raw::c_char,
3077        class_name_len: *mut zend_uint,
3078        parent: ::std::os::raw::c_int,
3079    ) -> ::std::os::raw::c_int,
3080>;
3081pub type zend_object_compare_t = ::std::option::Option<
3082    unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
3083>;
3084pub type zend_object_compare_zvals_t = ::std::option::Option<
3085    unsafe extern "C" fn(resul: *mut zval, op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int,
3086>;
3087pub type zend_object_cast_t = ::std::option::Option<
3088    unsafe extern "C" fn(
3089        readobj: *mut zval,
3090        retval: *mut zval,
3091        type_: ::std::os::raw::c_int,
3092    ) -> ::std::os::raw::c_int,
3093>;
3094pub type zend_object_count_elements_t = ::std::option::Option<
3095    unsafe extern "C" fn(
3096        object: *mut zval,
3097        count: *mut ::std::os::raw::c_long,
3098    ) -> ::std::os::raw::c_int,
3099>;
3100pub type zend_object_get_closure_t = ::std::option::Option<
3101    unsafe extern "C" fn(
3102        obj: *mut zval,
3103        ce_ptr: *mut *mut zend_class_entry,
3104        fptr_ptr: *mut *mut _zend_function,
3105        zobj_ptr: *mut *mut zval,
3106    ) -> ::std::os::raw::c_int,
3107>;
3108pub type zend_object_get_gc_t = ::std::option::Option<
3109    unsafe extern "C" fn(
3110        object: *mut zval,
3111        table: *mut *mut *mut zval,
3112        n: *mut ::std::os::raw::c_int,
3113    ) -> *mut HashTable,
3114>;
3115pub type zend_object_do_operation_t = ::std::option::Option<
3116    unsafe extern "C" fn(
3117        opcode: zend_uchar,
3118        result: *mut zval,
3119        op1: *mut zval,
3120        op2: *mut zval,
3121    ) -> ::std::os::raw::c_int,
3122>;
3123#[repr(C)]
3124#[derive(Debug, Copy, Clone)]
3125pub struct _zend_object_handlers {
3126    pub add_ref: zend_object_add_ref_t,
3127    pub del_ref: zend_object_del_ref_t,
3128    pub clone_obj: zend_object_clone_obj_t,
3129    pub read_property: zend_object_read_property_t,
3130    pub write_property: zend_object_write_property_t,
3131    pub read_dimension: zend_object_read_dimension_t,
3132    pub write_dimension: zend_object_write_dimension_t,
3133    pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
3134    pub get: zend_object_get_t,
3135    pub set: zend_object_set_t,
3136    pub has_property: zend_object_has_property_t,
3137    pub unset_property: zend_object_unset_property_t,
3138    pub has_dimension: zend_object_has_dimension_t,
3139    pub unset_dimension: zend_object_unset_dimension_t,
3140    pub get_properties: zend_object_get_properties_t,
3141    pub get_method: zend_object_get_method_t,
3142    pub call_method: zend_object_call_method_t,
3143    pub get_constructor: zend_object_get_constructor_t,
3144    pub get_class_entry: zend_object_get_class_entry_t,
3145    pub get_class_name: zend_object_get_class_name_t,
3146    pub compare_objects: zend_object_compare_t,
3147    pub cast_object: zend_object_cast_t,
3148    pub count_elements: zend_object_count_elements_t,
3149    pub get_debug_info: zend_object_get_debug_info_t,
3150    pub get_closure: zend_object_get_closure_t,
3151    pub get_gc: zend_object_get_gc_t,
3152    pub do_operation: zend_object_do_operation_t,
3153    pub compare: zend_object_compare_zvals_t,
3154}
3155#[test]
3156fn bindgen_test_layout__zend_object_handlers() {
3157    assert_eq!(
3158        ::std::mem::size_of::<_zend_object_handlers>(),
3159        224usize,
3160        concat!("Size of: ", stringify!(_zend_object_handlers))
3161    );
3162    assert_eq!(
3163        ::std::mem::align_of::<_zend_object_handlers>(),
3164        8usize,
3165        concat!("Alignment of ", stringify!(_zend_object_handlers))
3166    );
3167    assert_eq!(
3168        unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).add_ref as *const _ as usize },
3169        0usize,
3170        concat!(
3171            "Offset of field: ",
3172            stringify!(_zend_object_handlers),
3173            "::",
3174            stringify!(add_ref)
3175        )
3176    );
3177    assert_eq!(
3178        unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).del_ref as *const _ as usize },
3179        8usize,
3180        concat!(
3181            "Offset of field: ",
3182            stringify!(_zend_object_handlers),
3183            "::",
3184            stringify!(del_ref)
3185        )
3186    );
3187    assert_eq!(
3188        unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).clone_obj as *const _ as usize },
3189        16usize,
3190        concat!(
3191            "Offset of field: ",
3192            stringify!(_zend_object_handlers),
3193            "::",
3194            stringify!(clone_obj)
3195        )
3196    );
3197    assert_eq!(
3198        unsafe {
3199            &(*(::std::ptr::null::<_zend_object_handlers>())).read_property as *const _ as usize
3200        },
3201        24usize,
3202        concat!(
3203            "Offset of field: ",
3204            stringify!(_zend_object_handlers),
3205            "::",
3206            stringify!(read_property)
3207        )
3208    );
3209    assert_eq!(
3210        unsafe {
3211            &(*(::std::ptr::null::<_zend_object_handlers>())).write_property as *const _ as usize
3212        },
3213        32usize,
3214        concat!(
3215            "Offset of field: ",
3216            stringify!(_zend_object_handlers),
3217            "::",
3218            stringify!(write_property)
3219        )
3220    );
3221    assert_eq!(
3222        unsafe {
3223            &(*(::std::ptr::null::<_zend_object_handlers>())).read_dimension as *const _ as usize
3224        },
3225        40usize,
3226        concat!(
3227            "Offset of field: ",
3228            stringify!(_zend_object_handlers),
3229            "::",
3230            stringify!(read_dimension)
3231        )
3232    );
3233    assert_eq!(
3234        unsafe {
3235            &(*(::std::ptr::null::<_zend_object_handlers>())).write_dimension as *const _ as usize
3236        },
3237        48usize,
3238        concat!(
3239            "Offset of field: ",
3240            stringify!(_zend_object_handlers),
3241            "::",
3242            stringify!(write_dimension)
3243        )
3244    );
3245    assert_eq!(
3246        unsafe {
3247            &(*(::std::ptr::null::<_zend_object_handlers>())).get_property_ptr_ptr as *const _
3248                as usize
3249        },
3250        56usize,
3251        concat!(
3252            "Offset of field: ",
3253            stringify!(_zend_object_handlers),
3254            "::",
3255            stringify!(get_property_ptr_ptr)
3256        )
3257    );
3258    assert_eq!(
3259        unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).get as *const _ as usize },
3260        64usize,
3261        concat!(
3262            "Offset of field: ",
3263            stringify!(_zend_object_handlers),
3264            "::",
3265            stringify!(get)
3266        )
3267    );
3268    assert_eq!(
3269        unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).set as *const _ as usize },
3270        72usize,
3271        concat!(
3272            "Offset of field: ",
3273            stringify!(_zend_object_handlers),
3274            "::",
3275            stringify!(set)
3276        )
3277    );
3278    assert_eq!(
3279        unsafe {
3280            &(*(::std::ptr::null::<_zend_object_handlers>())).has_property as *const _ as usize
3281        },
3282        80usize,
3283        concat!(
3284            "Offset of field: ",
3285            stringify!(_zend_object_handlers),
3286            "::",
3287            stringify!(has_property)
3288        )
3289    );
3290    assert_eq!(
3291        unsafe {
3292            &(*(::std::ptr::null::<_zend_object_handlers>())).unset_property as *const _ as usize
3293        },
3294        88usize,
3295        concat!(
3296            "Offset of field: ",
3297            stringify!(_zend_object_handlers),
3298            "::",
3299            stringify!(unset_property)
3300        )
3301    );
3302    assert_eq!(
3303        unsafe {
3304            &(*(::std::ptr::null::<_zend_object_handlers>())).has_dimension as *const _ as usize
3305        },
3306        96usize,
3307        concat!(
3308            "Offset of field: ",
3309            stringify!(_zend_object_handlers),
3310            "::",
3311            stringify!(has_dimension)
3312        )
3313    );
3314    assert_eq!(
3315        unsafe {
3316            &(*(::std::ptr::null::<_zend_object_handlers>())).unset_dimension as *const _ as usize
3317        },
3318        104usize,
3319        concat!(
3320            "Offset of field: ",
3321            stringify!(_zend_object_handlers),
3322            "::",
3323            stringify!(unset_dimension)
3324        )
3325    );
3326    assert_eq!(
3327        unsafe {
3328            &(*(::std::ptr::null::<_zend_object_handlers>())).get_properties as *const _ as usize
3329        },
3330        112usize,
3331        concat!(
3332            "Offset of field: ",
3333            stringify!(_zend_object_handlers),
3334            "::",
3335            stringify!(get_properties)
3336        )
3337    );
3338    assert_eq!(
3339        unsafe {
3340            &(*(::std::ptr::null::<_zend_object_handlers>())).get_method as *const _ as usize
3341        },
3342        120usize,
3343        concat!(
3344            "Offset of field: ",
3345            stringify!(_zend_object_handlers),
3346            "::",
3347            stringify!(get_method)
3348        )
3349    );
3350    assert_eq!(
3351        unsafe {
3352            &(*(::std::ptr::null::<_zend_object_handlers>())).call_method as *const _ as usize
3353        },
3354        128usize,
3355        concat!(
3356            "Offset of field: ",
3357            stringify!(_zend_object_handlers),
3358            "::",
3359            stringify!(call_method)
3360        )
3361    );
3362    assert_eq!(
3363        unsafe {
3364            &(*(::std::ptr::null::<_zend_object_handlers>())).get_constructor as *const _ as usize
3365        },
3366        136usize,
3367        concat!(
3368            "Offset of field: ",
3369            stringify!(_zend_object_handlers),
3370            "::",
3371            stringify!(get_constructor)
3372        )
3373    );
3374    assert_eq!(
3375        unsafe {
3376            &(*(::std::ptr::null::<_zend_object_handlers>())).get_class_entry as *const _ as usize
3377        },
3378        144usize,
3379        concat!(
3380            "Offset of field: ",
3381            stringify!(_zend_object_handlers),
3382            "::",
3383            stringify!(get_class_entry)
3384        )
3385    );
3386    assert_eq!(
3387        unsafe {
3388            &(*(::std::ptr::null::<_zend_object_handlers>())).get_class_name as *const _ as usize
3389        },
3390        152usize,
3391        concat!(
3392            "Offset of field: ",
3393            stringify!(_zend_object_handlers),
3394            "::",
3395            stringify!(get_class_name)
3396        )
3397    );
3398    assert_eq!(
3399        unsafe {
3400            &(*(::std::ptr::null::<_zend_object_handlers>())).compare_objects as *const _ as usize
3401        },
3402        160usize,
3403        concat!(
3404            "Offset of field: ",
3405            stringify!(_zend_object_handlers),
3406            "::",
3407            stringify!(compare_objects)
3408        )
3409    );
3410    assert_eq!(
3411        unsafe {
3412            &(*(::std::ptr::null::<_zend_object_handlers>())).cast_object as *const _ as usize
3413        },
3414        168usize,
3415        concat!(
3416            "Offset of field: ",
3417            stringify!(_zend_object_handlers),
3418            "::",
3419            stringify!(cast_object)
3420        )
3421    );
3422    assert_eq!(
3423        unsafe {
3424            &(*(::std::ptr::null::<_zend_object_handlers>())).count_elements as *const _ as usize
3425        },
3426        176usize,
3427        concat!(
3428            "Offset of field: ",
3429            stringify!(_zend_object_handlers),
3430            "::",
3431            stringify!(count_elements)
3432        )
3433    );
3434    assert_eq!(
3435        unsafe {
3436            &(*(::std::ptr::null::<_zend_object_handlers>())).get_debug_info as *const _ as usize
3437        },
3438        184usize,
3439        concat!(
3440            "Offset of field: ",
3441            stringify!(_zend_object_handlers),
3442            "::",
3443            stringify!(get_debug_info)
3444        )
3445    );
3446    assert_eq!(
3447        unsafe {
3448            &(*(::std::ptr::null::<_zend_object_handlers>())).get_closure as *const _ as usize
3449        },
3450        192usize,
3451        concat!(
3452            "Offset of field: ",
3453            stringify!(_zend_object_handlers),
3454            "::",
3455            stringify!(get_closure)
3456        )
3457    );
3458    assert_eq!(
3459        unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).get_gc as *const _ as usize },
3460        200usize,
3461        concat!(
3462            "Offset of field: ",
3463            stringify!(_zend_object_handlers),
3464            "::",
3465            stringify!(get_gc)
3466        )
3467    );
3468    assert_eq!(
3469        unsafe {
3470            &(*(::std::ptr::null::<_zend_object_handlers>())).do_operation as *const _ as usize
3471        },
3472        208usize,
3473        concat!(
3474            "Offset of field: ",
3475            stringify!(_zend_object_handlers),
3476            "::",
3477            stringify!(do_operation)
3478        )
3479    );
3480    assert_eq!(
3481        unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).compare as *const _ as usize },
3482        216usize,
3483        concat!(
3484            "Offset of field: ",
3485            stringify!(_zend_object_handlers),
3486            "::",
3487            stringify!(compare)
3488        )
3489    );
3490}
3491extern "C" {
3492    pub static mut std_object_handlers: zend_object_handlers;
3493}
3494extern "C" {
3495    pub fn zend_std_get_static_method(
3496        ce: *mut zend_class_entry,
3497        function_name_strval: *const ::std::os::raw::c_char,
3498        function_name_strlen: ::std::os::raw::c_int,
3499        key: *const _zend_literal,
3500    ) -> *mut _zend_function;
3501}
3502extern "C" {
3503    pub fn zend_std_get_static_property(
3504        ce: *mut zend_class_entry,
3505        property_name: *const ::std::os::raw::c_char,
3506        property_name_len: ::std::os::raw::c_int,
3507        silent: zend_bool,
3508        key: *const _zend_literal,
3509    ) -> *mut *mut zval;
3510}
3511extern "C" {
3512    pub fn zend_std_unset_static_property(
3513        ce: *mut zend_class_entry,
3514        property_name: *const ::std::os::raw::c_char,
3515        property_name_len: ::std::os::raw::c_int,
3516        key: *const _zend_literal,
3517    ) -> zend_bool;
3518}
3519extern "C" {
3520    pub fn zend_std_get_constructor(object: *mut zval) -> *mut _zend_function;
3521}
3522extern "C" {
3523    pub fn zend_get_property_info(
3524        ce: *mut zend_class_entry,
3525        member: *mut zval,
3526        silent: ::std::os::raw::c_int,
3527    ) -> *mut _zend_property_info;
3528}
3529extern "C" {
3530    pub fn zend_std_get_properties(object: *mut zval) -> *mut HashTable;
3531}
3532extern "C" {
3533    pub fn zend_std_get_debug_info(
3534        object: *mut zval,
3535        is_temp: *mut ::std::os::raw::c_int,
3536    ) -> *mut HashTable;
3537}
3538extern "C" {
3539    pub fn zend_std_cast_object_tostring(
3540        readobj: *mut zval,
3541        writeobj: *mut zval,
3542        type_: ::std::os::raw::c_int,
3543    ) -> ::std::os::raw::c_int;
3544}
3545extern "C" {
3546    pub fn zend_std_write_property(
3547        object: *mut zval,
3548        member: *mut zval,
3549        value: *mut zval,
3550        key: *const _zend_literal,
3551    );
3552}
3553extern "C" {
3554    pub fn zend_check_private(
3555        fbc: *mut _zend_function,
3556        ce: *mut zend_class_entry,
3557        function_name_strval: *mut ::std::os::raw::c_char,
3558        function_name_strlen: ::std::os::raw::c_int,
3559    ) -> ::std::os::raw::c_int;
3560}
3561extern "C" {
3562    pub fn zend_check_protected(
3563        ce: *mut zend_class_entry,
3564        scope: *mut zend_class_entry,
3565    ) -> ::std::os::raw::c_int;
3566}
3567extern "C" {
3568    pub fn zend_check_property_access(
3569        zobj: *mut zend_object,
3570        prop_info_name: *const ::std::os::raw::c_char,
3571        prop_info_name_len: ::std::os::raw::c_int,
3572    ) -> ::std::os::raw::c_int;
3573}
3574extern "C" {
3575    pub fn zend_std_call_user_call(
3576        ht: ::std::os::raw::c_int,
3577        return_value: *mut zval,
3578        return_value_ptr: *mut *mut zval,
3579        this_ptr: *mut zval,
3580        return_value_used: ::std::os::raw::c_int,
3581    );
3582}
3583pub type zend_ast = _zend_ast;
3584pub const _zend_ast_kind_ZEND_CONST: _zend_ast_kind = 256;
3585pub const _zend_ast_kind_ZEND_BOOL_AND: _zend_ast_kind = 257;
3586pub const _zend_ast_kind_ZEND_BOOL_OR: _zend_ast_kind = 258;
3587pub const _zend_ast_kind_ZEND_SELECT: _zend_ast_kind = 259;
3588pub const _zend_ast_kind_ZEND_UNARY_PLUS: _zend_ast_kind = 260;
3589pub const _zend_ast_kind_ZEND_UNARY_MINUS: _zend_ast_kind = 261;
3590pub type _zend_ast_kind = ::std::os::raw::c_uint;
3591pub use self::_zend_ast_kind as zend_ast_kind;
3592#[repr(C)]
3593#[derive(Copy, Clone)]
3594pub struct _zend_ast {
3595    pub kind: ::std::os::raw::c_ushort,
3596    pub children: ::std::os::raw::c_ushort,
3597    pub u: _zend_ast__bindgen_ty_1,
3598}
3599#[repr(C)]
3600#[derive(Copy, Clone)]
3601pub union _zend_ast__bindgen_ty_1 {
3602    pub val: *mut zval,
3603    pub child: *mut zend_ast,
3604    _bindgen_union_align: u64,
3605}
3606#[test]
3607fn bindgen_test_layout__zend_ast__bindgen_ty_1() {
3608    assert_eq!(
3609        ::std::mem::size_of::<_zend_ast__bindgen_ty_1>(),
3610        8usize,
3611        concat!("Size of: ", stringify!(_zend_ast__bindgen_ty_1))
3612    );
3613    assert_eq!(
3614        ::std::mem::align_of::<_zend_ast__bindgen_ty_1>(),
3615        8usize,
3616        concat!("Alignment of ", stringify!(_zend_ast__bindgen_ty_1))
3617    );
3618    assert_eq!(
3619        unsafe { &(*(::std::ptr::null::<_zend_ast__bindgen_ty_1>())).val as *const _ as usize },
3620        0usize,
3621        concat!(
3622            "Offset of field: ",
3623            stringify!(_zend_ast__bindgen_ty_1),
3624            "::",
3625            stringify!(val)
3626        )
3627    );
3628    assert_eq!(
3629        unsafe { &(*(::std::ptr::null::<_zend_ast__bindgen_ty_1>())).child as *const _ as usize },
3630        0usize,
3631        concat!(
3632            "Offset of field: ",
3633            stringify!(_zend_ast__bindgen_ty_1),
3634            "::",
3635            stringify!(child)
3636        )
3637    );
3638}
3639#[test]
3640fn bindgen_test_layout__zend_ast() {
3641    assert_eq!(
3642        ::std::mem::size_of::<_zend_ast>(),
3643        16usize,
3644        concat!("Size of: ", stringify!(_zend_ast))
3645    );
3646    assert_eq!(
3647        ::std::mem::align_of::<_zend_ast>(),
3648        8usize,
3649        concat!("Alignment of ", stringify!(_zend_ast))
3650    );
3651    assert_eq!(
3652        unsafe { &(*(::std::ptr::null::<_zend_ast>())).kind as *const _ as usize },
3653        0usize,
3654        concat!(
3655            "Offset of field: ",
3656            stringify!(_zend_ast),
3657            "::",
3658            stringify!(kind)
3659        )
3660    );
3661    assert_eq!(
3662        unsafe { &(*(::std::ptr::null::<_zend_ast>())).children as *const _ as usize },
3663        2usize,
3664        concat!(
3665            "Offset of field: ",
3666            stringify!(_zend_ast),
3667            "::",
3668            stringify!(children)
3669        )
3670    );
3671    assert_eq!(
3672        unsafe { &(*(::std::ptr::null::<_zend_ast>())).u as *const _ as usize },
3673        8usize,
3674        concat!(
3675            "Offset of field: ",
3676            stringify!(_zend_ast),
3677            "::",
3678            stringify!(u)
3679        )
3680    );
3681}
3682extern "C" {
3683    pub fn zend_ast_create_constant(zv: *mut zval) -> *mut zend_ast;
3684}
3685extern "C" {
3686    pub fn zend_ast_create_unary(kind: uint, op0: *mut zend_ast) -> *mut zend_ast;
3687}
3688extern "C" {
3689    pub fn zend_ast_create_binary(
3690        kind: uint,
3691        op0: *mut zend_ast,
3692        op1: *mut zend_ast,
3693    ) -> *mut zend_ast;
3694}
3695extern "C" {
3696    pub fn zend_ast_create_ternary(
3697        kind: uint,
3698        op0: *mut zend_ast,
3699        op1: *mut zend_ast,
3700        op2: *mut zend_ast,
3701    ) -> *mut zend_ast;
3702}
3703extern "C" {
3704    pub fn zend_ast_create_dynamic(kind: uint) -> *mut zend_ast;
3705}
3706extern "C" {
3707    pub fn zend_ast_dynamic_add(ast: *mut *mut zend_ast, op: *mut zend_ast);
3708}
3709extern "C" {
3710    pub fn zend_ast_dynamic_shrink(ast: *mut *mut zend_ast);
3711}
3712extern "C" {
3713    pub fn zend_ast_is_ct_constant(ast: *mut zend_ast) -> ::std::os::raw::c_int;
3714}
3715extern "C" {
3716    pub fn zend_ast_evaluate(result: *mut zval, ast: *mut zend_ast, scope: *mut zend_class_entry);
3717}
3718extern "C" {
3719    pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast;
3720}
3721extern "C" {
3722    pub fn zend_ast_destroy(ast: *mut zend_ast);
3723}
3724#[repr(C)]
3725#[derive(Copy, Clone)]
3726pub union _zvalue_value {
3727    pub lval: ::std::os::raw::c_long,
3728    pub dval: f64,
3729    pub str_: _zvalue_value__bindgen_ty_1,
3730    pub ht: *mut HashTable,
3731    pub obj: zend_object_value,
3732    pub ast: *mut zend_ast,
3733    _bindgen_union_align: [u64; 2usize],
3734}
3735#[repr(C)]
3736#[derive(Debug, Copy, Clone)]
3737pub struct _zvalue_value__bindgen_ty_1 {
3738    pub val: *mut ::std::os::raw::c_char,
3739    pub len: ::std::os::raw::c_int,
3740}
3741#[test]
3742fn bindgen_test_layout__zvalue_value__bindgen_ty_1() {
3743    assert_eq!(
3744        ::std::mem::size_of::<_zvalue_value__bindgen_ty_1>(),
3745        16usize,
3746        concat!("Size of: ", stringify!(_zvalue_value__bindgen_ty_1))
3747    );
3748    assert_eq!(
3749        ::std::mem::align_of::<_zvalue_value__bindgen_ty_1>(),
3750        8usize,
3751        concat!("Alignment of ", stringify!(_zvalue_value__bindgen_ty_1))
3752    );
3753    assert_eq!(
3754        unsafe { &(*(::std::ptr::null::<_zvalue_value__bindgen_ty_1>())).val as *const _ as usize },
3755        0usize,
3756        concat!(
3757            "Offset of field: ",
3758            stringify!(_zvalue_value__bindgen_ty_1),
3759            "::",
3760            stringify!(val)
3761        )
3762    );
3763    assert_eq!(
3764        unsafe { &(*(::std::ptr::null::<_zvalue_value__bindgen_ty_1>())).len as *const _ as usize },
3765        8usize,
3766        concat!(
3767            "Offset of field: ",
3768            stringify!(_zvalue_value__bindgen_ty_1),
3769            "::",
3770            stringify!(len)
3771        )
3772    );
3773}
3774#[test]
3775fn bindgen_test_layout__zvalue_value() {
3776    assert_eq!(
3777        ::std::mem::size_of::<_zvalue_value>(),
3778        16usize,
3779        concat!("Size of: ", stringify!(_zvalue_value))
3780    );
3781    assert_eq!(
3782        ::std::mem::align_of::<_zvalue_value>(),
3783        8usize,
3784        concat!("Alignment of ", stringify!(_zvalue_value))
3785    );
3786    assert_eq!(
3787        unsafe { &(*(::std::ptr::null::<_zvalue_value>())).lval as *const _ as usize },
3788        0usize,
3789        concat!(
3790            "Offset of field: ",
3791            stringify!(_zvalue_value),
3792            "::",
3793            stringify!(lval)
3794        )
3795    );
3796    assert_eq!(
3797        unsafe { &(*(::std::ptr::null::<_zvalue_value>())).dval as *const _ as usize },
3798        0usize,
3799        concat!(
3800            "Offset of field: ",
3801            stringify!(_zvalue_value),
3802            "::",
3803            stringify!(dval)
3804        )
3805    );
3806    assert_eq!(
3807        unsafe { &(*(::std::ptr::null::<_zvalue_value>())).str_ as *const _ as usize },
3808        0usize,
3809        concat!(
3810            "Offset of field: ",
3811            stringify!(_zvalue_value),
3812            "::",
3813            stringify!(str_)
3814        )
3815    );
3816    assert_eq!(
3817        unsafe { &(*(::std::ptr::null::<_zvalue_value>())).ht as *const _ as usize },
3818        0usize,
3819        concat!(
3820            "Offset of field: ",
3821            stringify!(_zvalue_value),
3822            "::",
3823            stringify!(ht)
3824        )
3825    );
3826    assert_eq!(
3827        unsafe { &(*(::std::ptr::null::<_zvalue_value>())).obj as *const _ as usize },
3828        0usize,
3829        concat!(
3830            "Offset of field: ",
3831            stringify!(_zvalue_value),
3832            "::",
3833            stringify!(obj)
3834        )
3835    );
3836    assert_eq!(
3837        unsafe { &(*(::std::ptr::null::<_zvalue_value>())).ast as *const _ as usize },
3838        0usize,
3839        concat!(
3840            "Offset of field: ",
3841            stringify!(_zvalue_value),
3842            "::",
3843            stringify!(ast)
3844        )
3845    );
3846}
3847pub type zvalue_value = _zvalue_value;
3848#[repr(C)]
3849#[derive(Copy, Clone)]
3850pub struct _zval_struct {
3851    pub value: zvalue_value,
3852    pub refcount__gc: zend_uint,
3853    pub type_: zend_uchar,
3854    pub is_ref__gc: zend_uchar,
3855}
3856#[test]
3857fn bindgen_test_layout__zval_struct() {
3858    assert_eq!(
3859        ::std::mem::size_of::<_zval_struct>(),
3860        24usize,
3861        concat!("Size of: ", stringify!(_zval_struct))
3862    );
3863    assert_eq!(
3864        ::std::mem::align_of::<_zval_struct>(),
3865        8usize,
3866        concat!("Alignment of ", stringify!(_zval_struct))
3867    );
3868    assert_eq!(
3869        unsafe { &(*(::std::ptr::null::<_zval_struct>())).value as *const _ as usize },
3870        0usize,
3871        concat!(
3872            "Offset of field: ",
3873            stringify!(_zval_struct),
3874            "::",
3875            stringify!(value)
3876        )
3877    );
3878    assert_eq!(
3879        unsafe { &(*(::std::ptr::null::<_zval_struct>())).refcount__gc as *const _ as usize },
3880        16usize,
3881        concat!(
3882            "Offset of field: ",
3883            stringify!(_zval_struct),
3884            "::",
3885            stringify!(refcount__gc)
3886        )
3887    );
3888    assert_eq!(
3889        unsafe { &(*(::std::ptr::null::<_zval_struct>())).type_ as *const _ as usize },
3890        20usize,
3891        concat!(
3892            "Offset of field: ",
3893            stringify!(_zval_struct),
3894            "::",
3895            stringify!(type_)
3896        )
3897    );
3898    assert_eq!(
3899        unsafe { &(*(::std::ptr::null::<_zval_struct>())).is_ref__gc as *const _ as usize },
3900        21usize,
3901        concat!(
3902            "Offset of field: ",
3903            stringify!(_zval_struct),
3904            "::",
3905            stringify!(is_ref__gc)
3906        )
3907    );
3908}
3909pub type zend_object_iterator = _zend_object_iterator;
3910#[repr(C)]
3911#[derive(Debug, Copy, Clone)]
3912pub struct _zend_object_iterator_funcs {
3913    pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3914    pub valid: ::std::option::Option<
3915        unsafe extern "C" fn(iter: *mut zend_object_iterator) -> ::std::os::raw::c_int,
3916    >,
3917    pub get_current_data: ::std::option::Option<
3918        unsafe extern "C" fn(iter: *mut zend_object_iterator, data: *mut *mut *mut zval),
3919    >,
3920    pub get_current_key: ::std::option::Option<
3921        unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
3922    >,
3923    pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3924    pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3925    pub invalidate_current:
3926        ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
3927}
3928#[test]
3929fn bindgen_test_layout__zend_object_iterator_funcs() {
3930    assert_eq!(
3931        ::std::mem::size_of::<_zend_object_iterator_funcs>(),
3932        56usize,
3933        concat!("Size of: ", stringify!(_zend_object_iterator_funcs))
3934    );
3935    assert_eq!(
3936        ::std::mem::align_of::<_zend_object_iterator_funcs>(),
3937        8usize,
3938        concat!("Alignment of ", stringify!(_zend_object_iterator_funcs))
3939    );
3940    assert_eq!(
3941        unsafe {
3942            &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).dtor as *const _ as usize
3943        },
3944        0usize,
3945        concat!(
3946            "Offset of field: ",
3947            stringify!(_zend_object_iterator_funcs),
3948            "::",
3949            stringify!(dtor)
3950        )
3951    );
3952    assert_eq!(
3953        unsafe {
3954            &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).valid as *const _ as usize
3955        },
3956        8usize,
3957        concat!(
3958            "Offset of field: ",
3959            stringify!(_zend_object_iterator_funcs),
3960            "::",
3961            stringify!(valid)
3962        )
3963    );
3964    assert_eq!(
3965        unsafe {
3966            &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).get_current_data as *const _
3967                as usize
3968        },
3969        16usize,
3970        concat!(
3971            "Offset of field: ",
3972            stringify!(_zend_object_iterator_funcs),
3973            "::",
3974            stringify!(get_current_data)
3975        )
3976    );
3977    assert_eq!(
3978        unsafe {
3979            &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).get_current_key as *const _
3980                as usize
3981        },
3982        24usize,
3983        concat!(
3984            "Offset of field: ",
3985            stringify!(_zend_object_iterator_funcs),
3986            "::",
3987            stringify!(get_current_key)
3988        )
3989    );
3990    assert_eq!(
3991        unsafe {
3992            &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).move_forward as *const _
3993                as usize
3994        },
3995        32usize,
3996        concat!(
3997            "Offset of field: ",
3998            stringify!(_zend_object_iterator_funcs),
3999            "::",
4000            stringify!(move_forward)
4001        )
4002    );
4003    assert_eq!(
4004        unsafe {
4005            &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).rewind as *const _ as usize
4006        },
4007        40usize,
4008        concat!(
4009            "Offset of field: ",
4010            stringify!(_zend_object_iterator_funcs),
4011            "::",
4012            stringify!(rewind)
4013        )
4014    );
4015    assert_eq!(
4016        unsafe {
4017            &(*(::std::ptr::null::<_zend_object_iterator_funcs>())).invalidate_current as *const _
4018                as usize
4019        },
4020        48usize,
4021        concat!(
4022            "Offset of field: ",
4023            stringify!(_zend_object_iterator_funcs),
4024            "::",
4025            stringify!(invalidate_current)
4026        )
4027    );
4028}
4029pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
4030#[repr(C)]
4031#[derive(Debug, Copy, Clone)]
4032pub struct _zend_object_iterator {
4033    pub data: *mut ::std::os::raw::c_void,
4034    pub funcs: *mut zend_object_iterator_funcs,
4035    pub index: ulong,
4036}
4037#[test]
4038fn bindgen_test_layout__zend_object_iterator() {
4039    assert_eq!(
4040        ::std::mem::size_of::<_zend_object_iterator>(),
4041        24usize,
4042        concat!("Size of: ", stringify!(_zend_object_iterator))
4043    );
4044    assert_eq!(
4045        ::std::mem::align_of::<_zend_object_iterator>(),
4046        8usize,
4047        concat!("Alignment of ", stringify!(_zend_object_iterator))
4048    );
4049    assert_eq!(
4050        unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).data as *const _ as usize },
4051        0usize,
4052        concat!(
4053            "Offset of field: ",
4054            stringify!(_zend_object_iterator),
4055            "::",
4056            stringify!(data)
4057        )
4058    );
4059    assert_eq!(
4060        unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).funcs as *const _ as usize },
4061        8usize,
4062        concat!(
4063            "Offset of field: ",
4064            stringify!(_zend_object_iterator),
4065            "::",
4066            stringify!(funcs)
4067        )
4068    );
4069    assert_eq!(
4070        unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).index as *const _ as usize },
4071        16usize,
4072        concat!(
4073            "Offset of field: ",
4074            stringify!(_zend_object_iterator),
4075            "::",
4076            stringify!(index)
4077        )
4078    );
4079}
4080#[repr(C)]
4081#[derive(Debug, Copy, Clone)]
4082pub struct _zend_class_iterator_funcs {
4083    pub funcs: *mut zend_object_iterator_funcs,
4084    pub zf_new_iterator: *mut _zend_function,
4085    pub zf_valid: *mut _zend_function,
4086    pub zf_current: *mut _zend_function,
4087    pub zf_key: *mut _zend_function,
4088    pub zf_next: *mut _zend_function,
4089    pub zf_rewind: *mut _zend_function,
4090}
4091#[test]
4092fn bindgen_test_layout__zend_class_iterator_funcs() {
4093    assert_eq!(
4094        ::std::mem::size_of::<_zend_class_iterator_funcs>(),
4095        56usize,
4096        concat!("Size of: ", stringify!(_zend_class_iterator_funcs))
4097    );
4098    assert_eq!(
4099        ::std::mem::align_of::<_zend_class_iterator_funcs>(),
4100        8usize,
4101        concat!("Alignment of ", stringify!(_zend_class_iterator_funcs))
4102    );
4103    assert_eq!(
4104        unsafe {
4105            &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).funcs as *const _ as usize
4106        },
4107        0usize,
4108        concat!(
4109            "Offset of field: ",
4110            stringify!(_zend_class_iterator_funcs),
4111            "::",
4112            stringify!(funcs)
4113        )
4114    );
4115    assert_eq!(
4116        unsafe {
4117            &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_new_iterator as *const _
4118                as usize
4119        },
4120        8usize,
4121        concat!(
4122            "Offset of field: ",
4123            stringify!(_zend_class_iterator_funcs),
4124            "::",
4125            stringify!(zf_new_iterator)
4126        )
4127    );
4128    assert_eq!(
4129        unsafe {
4130            &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_valid as *const _ as usize
4131        },
4132        16usize,
4133        concat!(
4134            "Offset of field: ",
4135            stringify!(_zend_class_iterator_funcs),
4136            "::",
4137            stringify!(zf_valid)
4138        )
4139    );
4140    assert_eq!(
4141        unsafe {
4142            &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_current as *const _ as usize
4143        },
4144        24usize,
4145        concat!(
4146            "Offset of field: ",
4147            stringify!(_zend_class_iterator_funcs),
4148            "::",
4149            stringify!(zf_current)
4150        )
4151    );
4152    assert_eq!(
4153        unsafe {
4154            &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_key as *const _ as usize
4155        },
4156        32usize,
4157        concat!(
4158            "Offset of field: ",
4159            stringify!(_zend_class_iterator_funcs),
4160            "::",
4161            stringify!(zf_key)
4162        )
4163    );
4164    assert_eq!(
4165        unsafe {
4166            &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_next as *const _ as usize
4167        },
4168        40usize,
4169        concat!(
4170            "Offset of field: ",
4171            stringify!(_zend_class_iterator_funcs),
4172            "::",
4173            stringify!(zf_next)
4174        )
4175    );
4176    assert_eq!(
4177        unsafe {
4178            &(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_rewind as *const _ as usize
4179        },
4180        48usize,
4181        concat!(
4182            "Offset of field: ",
4183            stringify!(_zend_class_iterator_funcs),
4184            "::",
4185            stringify!(zf_rewind)
4186        )
4187    );
4188}
4189pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
4190pub const zend_object_iterator_kind_ZEND_ITER_INVALID: zend_object_iterator_kind = 0;
4191pub const zend_object_iterator_kind_ZEND_ITER_PLAIN_ARRAY: zend_object_iterator_kind = 1;
4192pub const zend_object_iterator_kind_ZEND_ITER_PLAIN_OBJECT: zend_object_iterator_kind = 2;
4193pub const zend_object_iterator_kind_ZEND_ITER_OBJECT: zend_object_iterator_kind = 3;
4194pub type zend_object_iterator_kind = ::std::os::raw::c_uint;
4195extern "C" {
4196    pub fn zend_iterator_unwrap(
4197        array_ptr: *mut zval,
4198        iter: *mut *mut zend_object_iterator,
4199    ) -> zend_object_iterator_kind;
4200}
4201extern "C" {
4202    pub fn zend_iterator_wrap(iter: *mut zend_object_iterator) -> *mut zval;
4203}
4204extern "C" {
4205    pub fn zend_register_iterator_wrapper();
4206}
4207#[repr(C)]
4208#[derive(Debug, Copy, Clone)]
4209pub struct _zend_serialize_data {
4210    _unused: [u8; 0],
4211}
4212#[repr(C)]
4213#[derive(Debug, Copy, Clone)]
4214pub struct _zend_unserialize_data {
4215    _unused: [u8; 0],
4216}
4217pub type zend_serialize_data = _zend_serialize_data;
4218pub type zend_unserialize_data = _zend_unserialize_data;
4219#[repr(C)]
4220#[derive(Debug, Copy, Clone)]
4221pub struct _zend_trait_method_reference {
4222    pub method_name: *const ::std::os::raw::c_char,
4223    pub mname_len: ::std::os::raw::c_uint,
4224    pub ce: *mut zend_class_entry,
4225    pub class_name: *const ::std::os::raw::c_char,
4226    pub cname_len: ::std::os::raw::c_uint,
4227}
4228#[test]
4229fn bindgen_test_layout__zend_trait_method_reference() {
4230    assert_eq!(
4231        ::std::mem::size_of::<_zend_trait_method_reference>(),
4232        40usize,
4233        concat!("Size of: ", stringify!(_zend_trait_method_reference))
4234    );
4235    assert_eq!(
4236        ::std::mem::align_of::<_zend_trait_method_reference>(),
4237        8usize,
4238        concat!("Alignment of ", stringify!(_zend_trait_method_reference))
4239    );
4240    assert_eq!(
4241        unsafe {
4242            &(*(::std::ptr::null::<_zend_trait_method_reference>())).method_name as *const _
4243                as usize
4244        },
4245        0usize,
4246        concat!(
4247            "Offset of field: ",
4248            stringify!(_zend_trait_method_reference),
4249            "::",
4250            stringify!(method_name)
4251        )
4252    );
4253    assert_eq!(
4254        unsafe {
4255            &(*(::std::ptr::null::<_zend_trait_method_reference>())).mname_len as *const _ as usize
4256        },
4257        8usize,
4258        concat!(
4259            "Offset of field: ",
4260            stringify!(_zend_trait_method_reference),
4261            "::",
4262            stringify!(mname_len)
4263        )
4264    );
4265    assert_eq!(
4266        unsafe { &(*(::std::ptr::null::<_zend_trait_method_reference>())).ce as *const _ as usize },
4267        16usize,
4268        concat!(
4269            "Offset of field: ",
4270            stringify!(_zend_trait_method_reference),
4271            "::",
4272            stringify!(ce)
4273        )
4274    );
4275    assert_eq!(
4276        unsafe {
4277            &(*(::std::ptr::null::<_zend_trait_method_reference>())).class_name as *const _ as usize
4278        },
4279        24usize,
4280        concat!(
4281            "Offset of field: ",
4282            stringify!(_zend_trait_method_reference),
4283            "::",
4284            stringify!(class_name)
4285        )
4286    );
4287    assert_eq!(
4288        unsafe {
4289            &(*(::std::ptr::null::<_zend_trait_method_reference>())).cname_len as *const _ as usize
4290        },
4291        32usize,
4292        concat!(
4293            "Offset of field: ",
4294            stringify!(_zend_trait_method_reference),
4295            "::",
4296            stringify!(cname_len)
4297        )
4298    );
4299}
4300pub type zend_trait_method_reference = _zend_trait_method_reference;
4301#[repr(C)]
4302#[derive(Debug, Copy, Clone)]
4303pub struct _zend_trait_precedence {
4304    pub trait_method: *mut zend_trait_method_reference,
4305    pub exclude_from_classes: *mut *mut zend_class_entry,
4306}
4307#[test]
4308fn bindgen_test_layout__zend_trait_precedence() {
4309    assert_eq!(
4310        ::std::mem::size_of::<_zend_trait_precedence>(),
4311        16usize,
4312        concat!("Size of: ", stringify!(_zend_trait_precedence))
4313    );
4314    assert_eq!(
4315        ::std::mem::align_of::<_zend_trait_precedence>(),
4316        8usize,
4317        concat!("Alignment of ", stringify!(_zend_trait_precedence))
4318    );
4319    assert_eq!(
4320        unsafe {
4321            &(*(::std::ptr::null::<_zend_trait_precedence>())).trait_method as *const _ as usize
4322        },
4323        0usize,
4324        concat!(
4325            "Offset of field: ",
4326            stringify!(_zend_trait_precedence),
4327            "::",
4328            stringify!(trait_method)
4329        )
4330    );
4331    assert_eq!(
4332        unsafe {
4333            &(*(::std::ptr::null::<_zend_trait_precedence>())).exclude_from_classes as *const _
4334                as usize
4335        },
4336        8usize,
4337        concat!(
4338            "Offset of field: ",
4339            stringify!(_zend_trait_precedence),
4340            "::",
4341            stringify!(exclude_from_classes)
4342        )
4343    );
4344}
4345pub type zend_trait_precedence = _zend_trait_precedence;
4346#[repr(C)]
4347#[derive(Debug, Copy, Clone)]
4348pub struct _zend_trait_alias {
4349    pub trait_method: *mut zend_trait_method_reference,
4350    #[doc = " name for method to be added"]
4351    pub alias: *const ::std::os::raw::c_char,
4352    pub alias_len: ::std::os::raw::c_uint,
4353    #[doc = " modifiers to be set on trait method"]
4354    pub modifiers: zend_uint,
4355}
4356#[test]
4357fn bindgen_test_layout__zend_trait_alias() {
4358    assert_eq!(
4359        ::std::mem::size_of::<_zend_trait_alias>(),
4360        24usize,
4361        concat!("Size of: ", stringify!(_zend_trait_alias))
4362    );
4363    assert_eq!(
4364        ::std::mem::align_of::<_zend_trait_alias>(),
4365        8usize,
4366        concat!("Alignment of ", stringify!(_zend_trait_alias))
4367    );
4368    assert_eq!(
4369        unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).trait_method as *const _ as usize },
4370        0usize,
4371        concat!(
4372            "Offset of field: ",
4373            stringify!(_zend_trait_alias),
4374            "::",
4375            stringify!(trait_method)
4376        )
4377    );
4378    assert_eq!(
4379        unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).alias as *const _ as usize },
4380        8usize,
4381        concat!(
4382            "Offset of field: ",
4383            stringify!(_zend_trait_alias),
4384            "::",
4385            stringify!(alias)
4386        )
4387    );
4388    assert_eq!(
4389        unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).alias_len as *const _ as usize },
4390        16usize,
4391        concat!(
4392            "Offset of field: ",
4393            stringify!(_zend_trait_alias),
4394            "::",
4395            stringify!(alias_len)
4396        )
4397    );
4398    assert_eq!(
4399        unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).modifiers as *const _ as usize },
4400        20usize,
4401        concat!(
4402            "Offset of field: ",
4403            stringify!(_zend_trait_alias),
4404            "::",
4405            stringify!(modifiers)
4406        )
4407    );
4408}
4409pub type zend_trait_alias = _zend_trait_alias;
4410#[repr(C)]
4411#[derive(Copy, Clone)]
4412pub struct _zend_class_entry {
4413    pub type_: ::std::os::raw::c_char,
4414    pub name: *const ::std::os::raw::c_char,
4415    pub name_length: zend_uint,
4416    pub parent: *mut _zend_class_entry,
4417    pub refcount: ::std::os::raw::c_int,
4418    pub ce_flags: zend_uint,
4419    pub function_table: HashTable,
4420    pub properties_info: HashTable,
4421    pub default_properties_table: *mut *mut zval,
4422    pub default_static_members_table: *mut *mut zval,
4423    pub static_members_table: *mut *mut zval,
4424    pub constants_table: HashTable,
4425    pub default_properties_count: ::std::os::raw::c_int,
4426    pub default_static_members_count: ::std::os::raw::c_int,
4427    pub constructor: *mut _zend_function,
4428    pub destructor: *mut _zend_function,
4429    pub clone: *mut _zend_function,
4430    pub __get: *mut _zend_function,
4431    pub __set: *mut _zend_function,
4432    pub __unset: *mut _zend_function,
4433    pub __isset: *mut _zend_function,
4434    pub __call: *mut _zend_function,
4435    pub __callstatic: *mut _zend_function,
4436    pub __tostring: *mut _zend_function,
4437    pub __debugInfo: *mut _zend_function,
4438    pub serialize_func: *mut _zend_function,
4439    pub unserialize_func: *mut _zend_function,
4440    pub iterator_funcs: zend_class_iterator_funcs,
4441    pub create_object: ::std::option::Option<
4442        unsafe extern "C" fn(class_type: *mut zend_class_entry) -> zend_object_value,
4443    >,
4444    pub get_iterator: ::std::option::Option<
4445        unsafe extern "C" fn(
4446            ce: *mut zend_class_entry,
4447            object: *mut zval,
4448            by_ref: ::std::os::raw::c_int,
4449        ) -> *mut zend_object_iterator,
4450    >,
4451    pub interface_gets_implemented: ::std::option::Option<
4452        unsafe extern "C" fn(
4453            iface: *mut zend_class_entry,
4454            class_type: *mut zend_class_entry,
4455        ) -> ::std::os::raw::c_int,
4456    >,
4457    pub get_static_method: ::std::option::Option<
4458        unsafe extern "C" fn(
4459            ce: *mut zend_class_entry,
4460            method: *mut ::std::os::raw::c_char,
4461            method_len: ::std::os::raw::c_int,
4462        ) -> *mut _zend_function,
4463    >,
4464    pub serialize: ::std::option::Option<
4465        unsafe extern "C" fn(
4466            object: *mut zval,
4467            buffer: *mut *mut ::std::os::raw::c_uchar,
4468            buf_len: *mut zend_uint,
4469            data: *mut zend_serialize_data,
4470        ) -> ::std::os::raw::c_int,
4471    >,
4472    pub unserialize: ::std::option::Option<
4473        unsafe extern "C" fn(
4474            object: *mut *mut zval,
4475            ce: *mut zend_class_entry,
4476            buf: *const ::std::os::raw::c_uchar,
4477            buf_len: zend_uint,
4478            data: *mut zend_unserialize_data,
4479        ) -> ::std::os::raw::c_int,
4480    >,
4481    pub interfaces: *mut *mut zend_class_entry,
4482    pub num_interfaces: zend_uint,
4483    pub traits: *mut *mut zend_class_entry,
4484    pub num_traits: zend_uint,
4485    pub trait_aliases: *mut *mut zend_trait_alias,
4486    pub trait_precedences: *mut *mut zend_trait_precedence,
4487    pub info: _zend_class_entry__bindgen_ty_1,
4488}
4489#[repr(C)]
4490#[derive(Copy, Clone)]
4491pub union _zend_class_entry__bindgen_ty_1 {
4492    pub user: _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
4493    pub internal: _zend_class_entry__bindgen_ty_1__bindgen_ty_2,
4494    _bindgen_union_align: [u64; 4usize],
4495}
4496#[repr(C)]
4497#[derive(Debug, Copy, Clone)]
4498pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_1 {
4499    pub filename: *const ::std::os::raw::c_char,
4500    pub line_start: zend_uint,
4501    pub line_end: zend_uint,
4502    pub doc_comment: *const ::std::os::raw::c_char,
4503    pub doc_comment_len: zend_uint,
4504}
4505#[test]
4506fn bindgen_test_layout__zend_class_entry__bindgen_ty_1__bindgen_ty_1() {
4507    assert_eq!(
4508        ::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>(),
4509        32usize,
4510        concat!(
4511            "Size of: ",
4512            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1)
4513        )
4514    );
4515    assert_eq!(
4516        ::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>(),
4517        8usize,
4518        concat!(
4519            "Alignment of ",
4520            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1)
4521        )
4522    );
4523    assert_eq!(
4524        unsafe {
4525            &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).filename
4526                as *const _ as usize
4527        },
4528        0usize,
4529        concat!(
4530            "Offset of field: ",
4531            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
4532            "::",
4533            stringify!(filename)
4534        )
4535    );
4536    assert_eq!(
4537        unsafe {
4538            &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).line_start
4539                as *const _ as usize
4540        },
4541        8usize,
4542        concat!(
4543            "Offset of field: ",
4544            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
4545            "::",
4546            stringify!(line_start)
4547        )
4548    );
4549    assert_eq!(
4550        unsafe {
4551            &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).line_end
4552                as *const _ as usize
4553        },
4554        12usize,
4555        concat!(
4556            "Offset of field: ",
4557            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
4558            "::",
4559            stringify!(line_end)
4560        )
4561    );
4562    assert_eq!(
4563        unsafe {
4564            &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>())).doc_comment
4565                as *const _ as usize
4566        },
4567        16usize,
4568        concat!(
4569            "Offset of field: ",
4570            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
4571            "::",
4572            stringify!(doc_comment)
4573        )
4574    );
4575    assert_eq!(
4576        unsafe {
4577            &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>()))
4578                .doc_comment_len as *const _ as usize
4579        },
4580        24usize,
4581        concat!(
4582            "Offset of field: ",
4583            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1),
4584            "::",
4585            stringify!(doc_comment_len)
4586        )
4587    );
4588}
4589#[repr(C)]
4590#[derive(Debug, Copy, Clone)]
4591pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_2 {
4592    pub builtin_functions: *const _zend_function_entry,
4593    pub module: *mut _zend_module_entry,
4594}
4595#[test]
4596fn bindgen_test_layout__zend_class_entry__bindgen_ty_1__bindgen_ty_2() {
4597    assert_eq!(
4598        ::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>(),
4599        16usize,
4600        concat!(
4601            "Size of: ",
4602            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2)
4603        )
4604    );
4605    assert_eq!(
4606        ::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>(),
4607        8usize,
4608        concat!(
4609            "Alignment of ",
4610            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2)
4611        )
4612    );
4613    assert_eq!(
4614        unsafe {
4615            &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>()))
4616                .builtin_functions as *const _ as usize
4617        },
4618        0usize,
4619        concat!(
4620            "Offset of field: ",
4621            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2),
4622            "::",
4623            stringify!(builtin_functions)
4624        )
4625    );
4626    assert_eq!(
4627        unsafe {
4628            &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>())).module
4629                as *const _ as usize
4630        },
4631        8usize,
4632        concat!(
4633            "Offset of field: ",
4634            stringify!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2),
4635            "::",
4636            stringify!(module)
4637        )
4638    );
4639}
4640#[test]
4641fn bindgen_test_layout__zend_class_entry__bindgen_ty_1() {
4642    assert_eq!(
4643        ::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>(),
4644        32usize,
4645        concat!("Size of: ", stringify!(_zend_class_entry__bindgen_ty_1))
4646    );
4647    assert_eq!(
4648        ::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>(),
4649        8usize,
4650        concat!("Alignment of ", stringify!(_zend_class_entry__bindgen_ty_1))
4651    );
4652    assert_eq!(
4653        unsafe {
4654            &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1>())).user as *const _ as usize
4655        },
4656        0usize,
4657        concat!(
4658            "Offset of field: ",
4659            stringify!(_zend_class_entry__bindgen_ty_1),
4660            "::",
4661            stringify!(user)
4662        )
4663    );
4664    assert_eq!(
4665        unsafe {
4666            &(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1>())).internal as *const _
4667                as usize
4668        },
4669        0usize,
4670        concat!(
4671            "Offset of field: ",
4672            stringify!(_zend_class_entry__bindgen_ty_1),
4673            "::",
4674            stringify!(internal)
4675        )
4676    );
4677}
4678#[test]
4679fn bindgen_test_layout__zend_class_entry() {
4680    assert_eq!(
4681        ::std::mem::size_of::<_zend_class_entry>(),
4682        576usize,
4683        concat!("Size of: ", stringify!(_zend_class_entry))
4684    );
4685    assert_eq!(
4686        ::std::mem::align_of::<_zend_class_entry>(),
4687        8usize,
4688        concat!("Alignment of ", stringify!(_zend_class_entry))
4689    );
4690    assert_eq!(
4691        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).type_ as *const _ as usize },
4692        0usize,
4693        concat!(
4694            "Offset of field: ",
4695            stringify!(_zend_class_entry),
4696            "::",
4697            stringify!(type_)
4698        )
4699    );
4700    assert_eq!(
4701        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).name as *const _ as usize },
4702        8usize,
4703        concat!(
4704            "Offset of field: ",
4705            stringify!(_zend_class_entry),
4706            "::",
4707            stringify!(name)
4708        )
4709    );
4710    assert_eq!(
4711        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).name_length as *const _ as usize },
4712        16usize,
4713        concat!(
4714            "Offset of field: ",
4715            stringify!(_zend_class_entry),
4716            "::",
4717            stringify!(name_length)
4718        )
4719    );
4720    assert_eq!(
4721        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).parent as *const _ as usize },
4722        24usize,
4723        concat!(
4724            "Offset of field: ",
4725            stringify!(_zend_class_entry),
4726            "::",
4727            stringify!(parent)
4728        )
4729    );
4730    assert_eq!(
4731        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).refcount as *const _ as usize },
4732        32usize,
4733        concat!(
4734            "Offset of field: ",
4735            stringify!(_zend_class_entry),
4736            "::",
4737            stringify!(refcount)
4738        )
4739    );
4740    assert_eq!(
4741        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).ce_flags as *const _ as usize },
4742        36usize,
4743        concat!(
4744            "Offset of field: ",
4745            stringify!(_zend_class_entry),
4746            "::",
4747            stringify!(ce_flags)
4748        )
4749    );
4750    assert_eq!(
4751        unsafe {
4752            &(*(::std::ptr::null::<_zend_class_entry>())).function_table as *const _ as usize
4753        },
4754        40usize,
4755        concat!(
4756            "Offset of field: ",
4757            stringify!(_zend_class_entry),
4758            "::",
4759            stringify!(function_table)
4760        )
4761    );
4762    assert_eq!(
4763        unsafe {
4764            &(*(::std::ptr::null::<_zend_class_entry>())).properties_info as *const _ as usize
4765        },
4766        112usize,
4767        concat!(
4768            "Offset of field: ",
4769            stringify!(_zend_class_entry),
4770            "::",
4771            stringify!(properties_info)
4772        )
4773    );
4774    assert_eq!(
4775        unsafe {
4776            &(*(::std::ptr::null::<_zend_class_entry>())).default_properties_table as *const _
4777                as usize
4778        },
4779        184usize,
4780        concat!(
4781            "Offset of field: ",
4782            stringify!(_zend_class_entry),
4783            "::",
4784            stringify!(default_properties_table)
4785        )
4786    );
4787    assert_eq!(
4788        unsafe {
4789            &(*(::std::ptr::null::<_zend_class_entry>())).default_static_members_table as *const _
4790                as usize
4791        },
4792        192usize,
4793        concat!(
4794            "Offset of field: ",
4795            stringify!(_zend_class_entry),
4796            "::",
4797            stringify!(default_static_members_table)
4798        )
4799    );
4800    assert_eq!(
4801        unsafe {
4802            &(*(::std::ptr::null::<_zend_class_entry>())).static_members_table as *const _ as usize
4803        },
4804        200usize,
4805        concat!(
4806            "Offset of field: ",
4807            stringify!(_zend_class_entry),
4808            "::",
4809            stringify!(static_members_table)
4810        )
4811    );
4812    assert_eq!(
4813        unsafe {
4814            &(*(::std::ptr::null::<_zend_class_entry>())).constants_table as *const _ as usize
4815        },
4816        208usize,
4817        concat!(
4818            "Offset of field: ",
4819            stringify!(_zend_class_entry),
4820            "::",
4821            stringify!(constants_table)
4822        )
4823    );
4824    assert_eq!(
4825        unsafe {
4826            &(*(::std::ptr::null::<_zend_class_entry>())).default_properties_count as *const _
4827                as usize
4828        },
4829        280usize,
4830        concat!(
4831            "Offset of field: ",
4832            stringify!(_zend_class_entry),
4833            "::",
4834            stringify!(default_properties_count)
4835        )
4836    );
4837    assert_eq!(
4838        unsafe {
4839            &(*(::std::ptr::null::<_zend_class_entry>())).default_static_members_count as *const _
4840                as usize
4841        },
4842        284usize,
4843        concat!(
4844            "Offset of field: ",
4845            stringify!(_zend_class_entry),
4846            "::",
4847            stringify!(default_static_members_count)
4848        )
4849    );
4850    assert_eq!(
4851        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).constructor as *const _ as usize },
4852        288usize,
4853        concat!(
4854            "Offset of field: ",
4855            stringify!(_zend_class_entry),
4856            "::",
4857            stringify!(constructor)
4858        )
4859    );
4860    assert_eq!(
4861        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).destructor as *const _ as usize },
4862        296usize,
4863        concat!(
4864            "Offset of field: ",
4865            stringify!(_zend_class_entry),
4866            "::",
4867            stringify!(destructor)
4868        )
4869    );
4870    assert_eq!(
4871        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).clone as *const _ as usize },
4872        304usize,
4873        concat!(
4874            "Offset of field: ",
4875            stringify!(_zend_class_entry),
4876            "::",
4877            stringify!(clone)
4878        )
4879    );
4880    assert_eq!(
4881        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__get as *const _ as usize },
4882        312usize,
4883        concat!(
4884            "Offset of field: ",
4885            stringify!(_zend_class_entry),
4886            "::",
4887            stringify!(__get)
4888        )
4889    );
4890    assert_eq!(
4891        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__set as *const _ as usize },
4892        320usize,
4893        concat!(
4894            "Offset of field: ",
4895            stringify!(_zend_class_entry),
4896            "::",
4897            stringify!(__set)
4898        )
4899    );
4900    assert_eq!(
4901        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__unset as *const _ as usize },
4902        328usize,
4903        concat!(
4904            "Offset of field: ",
4905            stringify!(_zend_class_entry),
4906            "::",
4907            stringify!(__unset)
4908        )
4909    );
4910    assert_eq!(
4911        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__isset as *const _ as usize },
4912        336usize,
4913        concat!(
4914            "Offset of field: ",
4915            stringify!(_zend_class_entry),
4916            "::",
4917            stringify!(__isset)
4918        )
4919    );
4920    assert_eq!(
4921        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__call as *const _ as usize },
4922        344usize,
4923        concat!(
4924            "Offset of field: ",
4925            stringify!(_zend_class_entry),
4926            "::",
4927            stringify!(__call)
4928        )
4929    );
4930    assert_eq!(
4931        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__callstatic as *const _ as usize },
4932        352usize,
4933        concat!(
4934            "Offset of field: ",
4935            stringify!(_zend_class_entry),
4936            "::",
4937            stringify!(__callstatic)
4938        )
4939    );
4940    assert_eq!(
4941        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__tostring as *const _ as usize },
4942        360usize,
4943        concat!(
4944            "Offset of field: ",
4945            stringify!(_zend_class_entry),
4946            "::",
4947            stringify!(__tostring)
4948        )
4949    );
4950    assert_eq!(
4951        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__debugInfo as *const _ as usize },
4952        368usize,
4953        concat!(
4954            "Offset of field: ",
4955            stringify!(_zend_class_entry),
4956            "::",
4957            stringify!(__debugInfo)
4958        )
4959    );
4960    assert_eq!(
4961        unsafe {
4962            &(*(::std::ptr::null::<_zend_class_entry>())).serialize_func as *const _ as usize
4963        },
4964        376usize,
4965        concat!(
4966            "Offset of field: ",
4967            stringify!(_zend_class_entry),
4968            "::",
4969            stringify!(serialize_func)
4970        )
4971    );
4972    assert_eq!(
4973        unsafe {
4974            &(*(::std::ptr::null::<_zend_class_entry>())).unserialize_func as *const _ as usize
4975        },
4976        384usize,
4977        concat!(
4978            "Offset of field: ",
4979            stringify!(_zend_class_entry),
4980            "::",
4981            stringify!(unserialize_func)
4982        )
4983    );
4984    assert_eq!(
4985        unsafe {
4986            &(*(::std::ptr::null::<_zend_class_entry>())).iterator_funcs as *const _ as usize
4987        },
4988        392usize,
4989        concat!(
4990            "Offset of field: ",
4991            stringify!(_zend_class_entry),
4992            "::",
4993            stringify!(iterator_funcs)
4994        )
4995    );
4996    assert_eq!(
4997        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).create_object as *const _ as usize },
4998        448usize,
4999        concat!(
5000            "Offset of field: ",
5001            stringify!(_zend_class_entry),
5002            "::",
5003            stringify!(create_object)
5004        )
5005    );
5006    assert_eq!(
5007        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).get_iterator as *const _ as usize },
5008        456usize,
5009        concat!(
5010            "Offset of field: ",
5011            stringify!(_zend_class_entry),
5012            "::",
5013            stringify!(get_iterator)
5014        )
5015    );
5016    assert_eq!(
5017        unsafe {
5018            &(*(::std::ptr::null::<_zend_class_entry>())).interface_gets_implemented as *const _
5019                as usize
5020        },
5021        464usize,
5022        concat!(
5023            "Offset of field: ",
5024            stringify!(_zend_class_entry),
5025            "::",
5026            stringify!(interface_gets_implemented)
5027        )
5028    );
5029    assert_eq!(
5030        unsafe {
5031            &(*(::std::ptr::null::<_zend_class_entry>())).get_static_method as *const _ as usize
5032        },
5033        472usize,
5034        concat!(
5035            "Offset of field: ",
5036            stringify!(_zend_class_entry),
5037            "::",
5038            stringify!(get_static_method)
5039        )
5040    );
5041    assert_eq!(
5042        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).serialize as *const _ as usize },
5043        480usize,
5044        concat!(
5045            "Offset of field: ",
5046            stringify!(_zend_class_entry),
5047            "::",
5048            stringify!(serialize)
5049        )
5050    );
5051    assert_eq!(
5052        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).unserialize as *const _ as usize },
5053        488usize,
5054        concat!(
5055            "Offset of field: ",
5056            stringify!(_zend_class_entry),
5057            "::",
5058            stringify!(unserialize)
5059        )
5060    );
5061    assert_eq!(
5062        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).interfaces as *const _ as usize },
5063        496usize,
5064        concat!(
5065            "Offset of field: ",
5066            stringify!(_zend_class_entry),
5067            "::",
5068            stringify!(interfaces)
5069        )
5070    );
5071    assert_eq!(
5072        unsafe {
5073            &(*(::std::ptr::null::<_zend_class_entry>())).num_interfaces as *const _ as usize
5074        },
5075        504usize,
5076        concat!(
5077            "Offset of field: ",
5078            stringify!(_zend_class_entry),
5079            "::",
5080            stringify!(num_interfaces)
5081        )
5082    );
5083    assert_eq!(
5084        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).traits as *const _ as usize },
5085        512usize,
5086        concat!(
5087            "Offset of field: ",
5088            stringify!(_zend_class_entry),
5089            "::",
5090            stringify!(traits)
5091        )
5092    );
5093    assert_eq!(
5094        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).num_traits as *const _ as usize },
5095        520usize,
5096        concat!(
5097            "Offset of field: ",
5098            stringify!(_zend_class_entry),
5099            "::",
5100            stringify!(num_traits)
5101        )
5102    );
5103    assert_eq!(
5104        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).trait_aliases as *const _ as usize },
5105        528usize,
5106        concat!(
5107            "Offset of field: ",
5108            stringify!(_zend_class_entry),
5109            "::",
5110            stringify!(trait_aliases)
5111        )
5112    );
5113    assert_eq!(
5114        unsafe {
5115            &(*(::std::ptr::null::<_zend_class_entry>())).trait_precedences as *const _ as usize
5116        },
5117        536usize,
5118        concat!(
5119            "Offset of field: ",
5120            stringify!(_zend_class_entry),
5121            "::",
5122            stringify!(trait_precedences)
5123        )
5124    );
5125    assert_eq!(
5126        unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).info as *const _ as usize },
5127        544usize,
5128        concat!(
5129            "Offset of field: ",
5130            stringify!(_zend_class_entry),
5131            "::",
5132            stringify!(info)
5133        )
5134    );
5135}
5136pub type zend_stream_fsizer_t =
5137    ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> size_t>;
5138pub type zend_stream_reader_t = ::std::option::Option<
5139    unsafe extern "C" fn(
5140        handle: *mut ::std::os::raw::c_void,
5141        buf: *mut ::std::os::raw::c_char,
5142        len: size_t,
5143    ) -> size_t,
5144>;
5145pub type zend_stream_closer_t =
5146    ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
5147pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
5148pub const zend_stream_type_ZEND_HANDLE_FD: zend_stream_type = 1;
5149pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 2;
5150pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 3;
5151pub const zend_stream_type_ZEND_HANDLE_MAPPED: zend_stream_type = 4;
5152pub type zend_stream_type = ::std::os::raw::c_uint;
5153#[repr(C)]
5154#[derive(Debug, Copy, Clone)]
5155pub struct _zend_mmap {
5156    pub len: size_t,
5157    pub pos: size_t,
5158    pub map: *mut ::std::os::raw::c_void,
5159    pub buf: *mut ::std::os::raw::c_char,
5160    pub old_handle: *mut ::std::os::raw::c_void,
5161    pub old_closer: zend_stream_closer_t,
5162}
5163#[test]
5164fn bindgen_test_layout__zend_mmap() {
5165    assert_eq!(
5166        ::std::mem::size_of::<_zend_mmap>(),
5167        48usize,
5168        concat!("Size of: ", stringify!(_zend_mmap))
5169    );
5170    assert_eq!(
5171        ::std::mem::align_of::<_zend_mmap>(),
5172        8usize,
5173        concat!("Alignment of ", stringify!(_zend_mmap))
5174    );
5175    assert_eq!(
5176        unsafe { &(*(::std::ptr::null::<_zend_mmap>())).len as *const _ as usize },
5177        0usize,
5178        concat!(
5179            "Offset of field: ",
5180            stringify!(_zend_mmap),
5181            "::",
5182            stringify!(len)
5183        )
5184    );
5185    assert_eq!(
5186        unsafe { &(*(::std::ptr::null::<_zend_mmap>())).pos as *const _ as usize },
5187        8usize,
5188        concat!(
5189            "Offset of field: ",
5190            stringify!(_zend_mmap),
5191            "::",
5192            stringify!(pos)
5193        )
5194    );
5195    assert_eq!(
5196        unsafe { &(*(::std::ptr::null::<_zend_mmap>())).map as *const _ as usize },
5197        16usize,
5198        concat!(
5199            "Offset of field: ",
5200            stringify!(_zend_mmap),
5201            "::",
5202            stringify!(map)
5203        )
5204    );
5205    assert_eq!(
5206        unsafe { &(*(::std::ptr::null::<_zend_mmap>())).buf as *const _ as usize },
5207        24usize,
5208        concat!(
5209            "Offset of field: ",
5210            stringify!(_zend_mmap),
5211            "::",
5212            stringify!(buf)
5213        )
5214    );
5215    assert_eq!(
5216        unsafe { &(*(::std::ptr::null::<_zend_mmap>())).old_handle as *const _ as usize },
5217        32usize,
5218        concat!(
5219            "Offset of field: ",
5220            stringify!(_zend_mmap),
5221            "::",
5222            stringify!(old_handle)
5223        )
5224    );
5225    assert_eq!(
5226        unsafe { &(*(::std::ptr::null::<_zend_mmap>())).old_closer as *const _ as usize },
5227        40usize,
5228        concat!(
5229            "Offset of field: ",
5230            stringify!(_zend_mmap),
5231            "::",
5232            stringify!(old_closer)
5233        )
5234    );
5235}
5236pub type zend_mmap = _zend_mmap;
5237#[repr(C)]
5238#[derive(Debug, Copy, Clone)]
5239pub struct _zend_stream {
5240    pub handle: *mut ::std::os::raw::c_void,
5241    pub isatty: ::std::os::raw::c_int,
5242    pub mmap: zend_mmap,
5243    pub reader: zend_stream_reader_t,
5244    pub fsizer: zend_stream_fsizer_t,
5245    pub closer: zend_stream_closer_t,
5246}
5247#[test]
5248fn bindgen_test_layout__zend_stream() {
5249    assert_eq!(
5250        ::std::mem::size_of::<_zend_stream>(),
5251        88usize,
5252        concat!("Size of: ", stringify!(_zend_stream))
5253    );
5254    assert_eq!(
5255        ::std::mem::align_of::<_zend_stream>(),
5256        8usize,
5257        concat!("Alignment of ", stringify!(_zend_stream))
5258    );
5259    assert_eq!(
5260        unsafe { &(*(::std::ptr::null::<_zend_stream>())).handle as *const _ as usize },
5261        0usize,
5262        concat!(
5263            "Offset of field: ",
5264            stringify!(_zend_stream),
5265            "::",
5266            stringify!(handle)
5267        )
5268    );
5269    assert_eq!(
5270        unsafe { &(*(::std::ptr::null::<_zend_stream>())).isatty as *const _ as usize },
5271        8usize,
5272        concat!(
5273            "Offset of field: ",
5274            stringify!(_zend_stream),
5275            "::",
5276            stringify!(isatty)
5277        )
5278    );
5279    assert_eq!(
5280        unsafe { &(*(::std::ptr::null::<_zend_stream>())).mmap as *const _ as usize },
5281        16usize,
5282        concat!(
5283            "Offset of field: ",
5284            stringify!(_zend_stream),
5285            "::",
5286            stringify!(mmap)
5287        )
5288    );
5289    assert_eq!(
5290        unsafe { &(*(::std::ptr::null::<_zend_stream>())).reader as *const _ as usize },
5291        64usize,
5292        concat!(
5293            "Offset of field: ",
5294            stringify!(_zend_stream),
5295            "::",
5296            stringify!(reader)
5297        )
5298    );
5299    assert_eq!(
5300        unsafe { &(*(::std::ptr::null::<_zend_stream>())).fsizer as *const _ as usize },
5301        72usize,
5302        concat!(
5303            "Offset of field: ",
5304            stringify!(_zend_stream),
5305            "::",
5306            stringify!(fsizer)
5307        )
5308    );
5309    assert_eq!(
5310        unsafe { &(*(::std::ptr::null::<_zend_stream>())).closer as *const _ as usize },
5311        80usize,
5312        concat!(
5313            "Offset of field: ",
5314            stringify!(_zend_stream),
5315            "::",
5316            stringify!(closer)
5317        )
5318    );
5319}
5320pub type zend_stream = _zend_stream;
5321#[repr(C)]
5322#[derive(Copy, Clone)]
5323pub struct _zend_file_handle {
5324    pub type_: zend_stream_type,
5325    pub filename: *const ::std::os::raw::c_char,
5326    pub opened_path: *mut ::std::os::raw::c_char,
5327    pub handle: _zend_file_handle__bindgen_ty_1,
5328    pub free_filename: zend_bool,
5329}
5330#[repr(C)]
5331#[derive(Copy, Clone)]
5332pub union _zend_file_handle__bindgen_ty_1 {
5333    pub fd: ::std::os::raw::c_int,
5334    pub fp: *mut FILE,
5335    pub stream: zend_stream,
5336    _bindgen_union_align: [u64; 11usize],
5337}
5338#[test]
5339fn bindgen_test_layout__zend_file_handle__bindgen_ty_1() {
5340    assert_eq!(
5341        ::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>(),
5342        88usize,
5343        concat!("Size of: ", stringify!(_zend_file_handle__bindgen_ty_1))
5344    );
5345    assert_eq!(
5346        ::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>(),
5347        8usize,
5348        concat!("Alignment of ", stringify!(_zend_file_handle__bindgen_ty_1))
5349    );
5350    assert_eq!(
5351        unsafe {
5352            &(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).fd as *const _ as usize
5353        },
5354        0usize,
5355        concat!(
5356            "Offset of field: ",
5357            stringify!(_zend_file_handle__bindgen_ty_1),
5358            "::",
5359            stringify!(fd)
5360        )
5361    );
5362    assert_eq!(
5363        unsafe {
5364            &(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).fp as *const _ as usize
5365        },
5366        0usize,
5367        concat!(
5368            "Offset of field: ",
5369            stringify!(_zend_file_handle__bindgen_ty_1),
5370            "::",
5371            stringify!(fp)
5372        )
5373    );
5374    assert_eq!(
5375        unsafe {
5376            &(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).stream as *const _ as usize
5377        },
5378        0usize,
5379        concat!(
5380            "Offset of field: ",
5381            stringify!(_zend_file_handle__bindgen_ty_1),
5382            "::",
5383            stringify!(stream)
5384        )
5385    );
5386}
5387#[test]
5388fn bindgen_test_layout__zend_file_handle() {
5389    assert_eq!(
5390        ::std::mem::size_of::<_zend_file_handle>(),
5391        120usize,
5392        concat!("Size of: ", stringify!(_zend_file_handle))
5393    );
5394    assert_eq!(
5395        ::std::mem::align_of::<_zend_file_handle>(),
5396        8usize,
5397        concat!("Alignment of ", stringify!(_zend_file_handle))
5398    );
5399    assert_eq!(
5400        unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).type_ as *const _ as usize },
5401        0usize,
5402        concat!(
5403            "Offset of field: ",
5404            stringify!(_zend_file_handle),
5405            "::",
5406            stringify!(type_)
5407        )
5408    );
5409    assert_eq!(
5410        unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).filename as *const _ as usize },
5411        8usize,
5412        concat!(
5413            "Offset of field: ",
5414            stringify!(_zend_file_handle),
5415            "::",
5416            stringify!(filename)
5417        )
5418    );
5419    assert_eq!(
5420        unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).opened_path as *const _ as usize },
5421        16usize,
5422        concat!(
5423            "Offset of field: ",
5424            stringify!(_zend_file_handle),
5425            "::",
5426            stringify!(opened_path)
5427        )
5428    );
5429    assert_eq!(
5430        unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).handle as *const _ as usize },
5431        24usize,
5432        concat!(
5433            "Offset of field: ",
5434            stringify!(_zend_file_handle),
5435            "::",
5436            stringify!(handle)
5437        )
5438    );
5439    assert_eq!(
5440        unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).free_filename as *const _ as usize },
5441        112usize,
5442        concat!(
5443            "Offset of field: ",
5444            stringify!(_zend_file_handle),
5445            "::",
5446            stringify!(free_filename)
5447        )
5448    );
5449}
5450pub type zend_file_handle = _zend_file_handle;
5451extern "C" {
5452    pub fn zend_stream_open(
5453        filename: *const ::std::os::raw::c_char,
5454        handle: *mut zend_file_handle,
5455    ) -> ::std::os::raw::c_int;
5456}
5457extern "C" {
5458    pub fn zend_stream_fixup(
5459        file_handle: *mut zend_file_handle,
5460        buf: *mut *mut ::std::os::raw::c_char,
5461        len: *mut size_t,
5462    ) -> ::std::os::raw::c_int;
5463}
5464extern "C" {
5465    pub fn zend_file_handle_dtor(fh: *mut zend_file_handle);
5466}
5467extern "C" {
5468    pub fn zend_compare_file_handles(
5469        fh1: *mut zend_file_handle,
5470        fh2: *mut zend_file_handle,
5471    ) -> ::std::os::raw::c_int;
5472}
5473#[repr(C)]
5474#[derive(Debug, Copy, Clone)]
5475pub struct _zend_utility_functions {
5476    pub error_function: ::std::option::Option<
5477        unsafe extern "C" fn(
5478            type_: ::std::os::raw::c_int,
5479            error_filename: *const ::std::os::raw::c_char,
5480            error_lineno: uint,
5481            format: *const ::std::os::raw::c_char,
5482            args: *mut __va_list_tag,
5483        ),
5484    >,
5485    pub printf_function: ::std::option::Option<
5486        unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int,
5487    >,
5488    pub write_function: ::std::option::Option<
5489        unsafe extern "C" fn(
5490            str_: *const ::std::os::raw::c_char,
5491            str_length: uint,
5492        ) -> ::std::os::raw::c_int,
5493    >,
5494    pub fopen_function: ::std::option::Option<
5495        unsafe extern "C" fn(
5496            filename: *const ::std::os::raw::c_char,
5497            opened_path: *mut *mut ::std::os::raw::c_char,
5498        ) -> *mut FILE,
5499    >,
5500    pub message_handler: ::std::option::Option<
5501        unsafe extern "C" fn(message: ::std::os::raw::c_long, data: *const ::std::os::raw::c_void),
5502    >,
5503    pub block_interruptions: ::std::option::Option<unsafe extern "C" fn()>,
5504    pub unblock_interruptions: ::std::option::Option<unsafe extern "C" fn()>,
5505    pub get_configuration_directive: ::std::option::Option<
5506        unsafe extern "C" fn(
5507            name: *const ::std::os::raw::c_char,
5508            name_length: uint,
5509            contents: *mut zval,
5510        ) -> ::std::os::raw::c_int,
5511    >,
5512    pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
5513    pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
5514    pub stream_open_function: ::std::option::Option<
5515        unsafe extern "C" fn(
5516            filename: *const ::std::os::raw::c_char,
5517            handle: *mut zend_file_handle,
5518        ) -> ::std::os::raw::c_int,
5519    >,
5520    pub vspprintf_function: ::std::option::Option<
5521        unsafe extern "C" fn(
5522            pbuf: *mut *mut ::std::os::raw::c_char,
5523            max_len: size_t,
5524            format: *const ::std::os::raw::c_char,
5525            ap: *mut __va_list_tag,
5526        ) -> ::std::os::raw::c_int,
5527    >,
5528    pub getenv_function: ::std::option::Option<
5529        unsafe extern "C" fn(
5530            name: *mut ::std::os::raw::c_char,
5531            name_len: size_t,
5532        ) -> *mut ::std::os::raw::c_char,
5533    >,
5534    pub resolve_path_function: ::std::option::Option<
5535        unsafe extern "C" fn(
5536            filename: *const ::std::os::raw::c_char,
5537            filename_len: ::std::os::raw::c_int,
5538        ) -> *mut ::std::os::raw::c_char,
5539    >,
5540}
5541#[test]
5542fn bindgen_test_layout__zend_utility_functions() {
5543    assert_eq!(
5544        ::std::mem::size_of::<_zend_utility_functions>(),
5545        112usize,
5546        concat!("Size of: ", stringify!(_zend_utility_functions))
5547    );
5548    assert_eq!(
5549        ::std::mem::align_of::<_zend_utility_functions>(),
5550        8usize,
5551        concat!("Alignment of ", stringify!(_zend_utility_functions))
5552    );
5553    assert_eq!(
5554        unsafe {
5555            &(*(::std::ptr::null::<_zend_utility_functions>())).error_function as *const _ as usize
5556        },
5557        0usize,
5558        concat!(
5559            "Offset of field: ",
5560            stringify!(_zend_utility_functions),
5561            "::",
5562            stringify!(error_function)
5563        )
5564    );
5565    assert_eq!(
5566        unsafe {
5567            &(*(::std::ptr::null::<_zend_utility_functions>())).printf_function as *const _ as usize
5568        },
5569        8usize,
5570        concat!(
5571            "Offset of field: ",
5572            stringify!(_zend_utility_functions),
5573            "::",
5574            stringify!(printf_function)
5575        )
5576    );
5577    assert_eq!(
5578        unsafe {
5579            &(*(::std::ptr::null::<_zend_utility_functions>())).write_function as *const _ as usize
5580        },
5581        16usize,
5582        concat!(
5583            "Offset of field: ",
5584            stringify!(_zend_utility_functions),
5585            "::",
5586            stringify!(write_function)
5587        )
5588    );
5589    assert_eq!(
5590        unsafe {
5591            &(*(::std::ptr::null::<_zend_utility_functions>())).fopen_function as *const _ as usize
5592        },
5593        24usize,
5594        concat!(
5595            "Offset of field: ",
5596            stringify!(_zend_utility_functions),
5597            "::",
5598            stringify!(fopen_function)
5599        )
5600    );
5601    assert_eq!(
5602        unsafe {
5603            &(*(::std::ptr::null::<_zend_utility_functions>())).message_handler as *const _ as usize
5604        },
5605        32usize,
5606        concat!(
5607            "Offset of field: ",
5608            stringify!(_zend_utility_functions),
5609            "::",
5610            stringify!(message_handler)
5611        )
5612    );
5613    assert_eq!(
5614        unsafe {
5615            &(*(::std::ptr::null::<_zend_utility_functions>())).block_interruptions as *const _
5616                as usize
5617        },
5618        40usize,
5619        concat!(
5620            "Offset of field: ",
5621            stringify!(_zend_utility_functions),
5622            "::",
5623            stringify!(block_interruptions)
5624        )
5625    );
5626    assert_eq!(
5627        unsafe {
5628            &(*(::std::ptr::null::<_zend_utility_functions>())).unblock_interruptions as *const _
5629                as usize
5630        },
5631        48usize,
5632        concat!(
5633            "Offset of field: ",
5634            stringify!(_zend_utility_functions),
5635            "::",
5636            stringify!(unblock_interruptions)
5637        )
5638    );
5639    assert_eq!(
5640        unsafe {
5641            &(*(::std::ptr::null::<_zend_utility_functions>())).get_configuration_directive
5642                as *const _ as usize
5643        },
5644        56usize,
5645        concat!(
5646            "Offset of field: ",
5647            stringify!(_zend_utility_functions),
5648            "::",
5649            stringify!(get_configuration_directive)
5650        )
5651    );
5652    assert_eq!(
5653        unsafe {
5654            &(*(::std::ptr::null::<_zend_utility_functions>())).ticks_function as *const _ as usize
5655        },
5656        64usize,
5657        concat!(
5658            "Offset of field: ",
5659            stringify!(_zend_utility_functions),
5660            "::",
5661            stringify!(ticks_function)
5662        )
5663    );
5664    assert_eq!(
5665        unsafe {
5666            &(*(::std::ptr::null::<_zend_utility_functions>())).on_timeout as *const _ as usize
5667        },
5668        72usize,
5669        concat!(
5670            "Offset of field: ",
5671            stringify!(_zend_utility_functions),
5672            "::",
5673            stringify!(on_timeout)
5674        )
5675    );
5676    assert_eq!(
5677        unsafe {
5678            &(*(::std::ptr::null::<_zend_utility_functions>())).stream_open_function as *const _
5679                as usize
5680        },
5681        80usize,
5682        concat!(
5683            "Offset of field: ",
5684            stringify!(_zend_utility_functions),
5685            "::",
5686            stringify!(stream_open_function)
5687        )
5688    );
5689    assert_eq!(
5690        unsafe {
5691            &(*(::std::ptr::null::<_zend_utility_functions>())).vspprintf_function as *const _
5692                as usize
5693        },
5694        88usize,
5695        concat!(
5696            "Offset of field: ",
5697            stringify!(_zend_utility_functions),
5698            "::",
5699            stringify!(vspprintf_function)
5700        )
5701    );
5702    assert_eq!(
5703        unsafe {
5704            &(*(::std::ptr::null::<_zend_utility_functions>())).getenv_function as *const _ as usize
5705        },
5706        96usize,
5707        concat!(
5708            "Offset of field: ",
5709            stringify!(_zend_utility_functions),
5710            "::",
5711            stringify!(getenv_function)
5712        )
5713    );
5714    assert_eq!(
5715        unsafe {
5716            &(*(::std::ptr::null::<_zend_utility_functions>())).resolve_path_function as *const _
5717                as usize
5718        },
5719        104usize,
5720        concat!(
5721            "Offset of field: ",
5722            stringify!(_zend_utility_functions),
5723            "::",
5724            stringify!(resolve_path_function)
5725        )
5726    );
5727}
5728pub type zend_utility_functions = _zend_utility_functions;
5729#[repr(C)]
5730#[derive(Debug, Copy, Clone)]
5731pub struct _zend_utility_values {
5732    pub import_use_extension: *mut ::std::os::raw::c_char,
5733    pub import_use_extension_length: uint,
5734    pub html_errors: zend_bool,
5735}
5736#[test]
5737fn bindgen_test_layout__zend_utility_values() {
5738    assert_eq!(
5739        ::std::mem::size_of::<_zend_utility_values>(),
5740        16usize,
5741        concat!("Size of: ", stringify!(_zend_utility_values))
5742    );
5743    assert_eq!(
5744        ::std::mem::align_of::<_zend_utility_values>(),
5745        8usize,
5746        concat!("Alignment of ", stringify!(_zend_utility_values))
5747    );
5748    assert_eq!(
5749        unsafe {
5750            &(*(::std::ptr::null::<_zend_utility_values>())).import_use_extension as *const _
5751                as usize
5752        },
5753        0usize,
5754        concat!(
5755            "Offset of field: ",
5756            stringify!(_zend_utility_values),
5757            "::",
5758            stringify!(import_use_extension)
5759        )
5760    );
5761    assert_eq!(
5762        unsafe {
5763            &(*(::std::ptr::null::<_zend_utility_values>())).import_use_extension_length as *const _
5764                as usize
5765        },
5766        8usize,
5767        concat!(
5768            "Offset of field: ",
5769            stringify!(_zend_utility_values),
5770            "::",
5771            stringify!(import_use_extension_length)
5772        )
5773    );
5774    assert_eq!(
5775        unsafe {
5776            &(*(::std::ptr::null::<_zend_utility_values>())).html_errors as *const _ as usize
5777        },
5778        12usize,
5779        concat!(
5780            "Offset of field: ",
5781            stringify!(_zend_utility_values),
5782            "::",
5783            stringify!(html_errors)
5784        )
5785    );
5786}
5787pub type zend_utility_values = _zend_utility_values;
5788pub type zend_write_func_t = ::std::option::Option<
5789    unsafe extern "C" fn(
5790        str_: *const ::std::os::raw::c_char,
5791        str_length: uint,
5792    ) -> ::std::os::raw::c_int,
5793>;
5794extern "C" {
5795    pub fn zend_startup(
5796        utility_functions: *mut zend_utility_functions,
5797        extensions: *mut *mut ::std::os::raw::c_char,
5798    ) -> ::std::os::raw::c_int;
5799}
5800extern "C" {
5801    pub fn zend_shutdown();
5802}
5803extern "C" {
5804    pub fn zend_register_standard_ini_entries();
5805}
5806extern "C" {
5807    pub fn zend_post_startup();
5808}
5809extern "C" {
5810    pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
5811}
5812extern "C" {
5813    pub fn _zend_bailout(filename: *mut ::std::os::raw::c_char, lineno: uint);
5814}
5815extern "C" {
5816    pub fn zend_make_printable_zval(
5817        expr: *mut zval,
5818        expr_copy: *mut zval,
5819        use_copy: *mut ::std::os::raw::c_int,
5820    );
5821}
5822extern "C" {
5823    pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int)
5824        -> ::std::os::raw::c_int;
5825}
5826extern "C" {
5827    pub fn zend_print_zval_ex(
5828        write_func: zend_write_func_t,
5829        expr: *mut zval,
5830        indent: ::std::os::raw::c_int,
5831    ) -> ::std::os::raw::c_int;
5832}
5833extern "C" {
5834    pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
5835}
5836extern "C" {
5837    pub fn zend_print_flat_zval_r(expr: *mut zval);
5838}
5839extern "C" {
5840    pub fn zend_print_zval_r_ex(
5841        write_func: zend_write_func_t,
5842        expr: *mut zval,
5843        indent: ::std::os::raw::c_int,
5844    );
5845}
5846extern "C" {
5847    pub fn zend_output_debug_string(
5848        trigger_break: zend_bool,
5849        format: *const ::std::os::raw::c_char,
5850        ...
5851    );
5852}
5853extern "C" {
5854    pub fn zend_activate();
5855}
5856extern "C" {
5857    pub fn zend_deactivate();
5858}
5859extern "C" {
5860    pub fn zend_call_destructors();
5861}
5862extern "C" {
5863    pub fn zend_activate_modules();
5864}
5865extern "C" {
5866    pub fn zend_deactivate_modules();
5867}
5868extern "C" {
5869    pub fn zend_post_deactivate_modules();
5870}
5871extern "C" {
5872    pub static mut zend_printf: ::std::option::Option<
5873        unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int,
5874    >;
5875}
5876extern "C" {
5877    pub static mut zend_write: zend_write_func_t;
5878}
5879extern "C" {
5880    pub static mut zend_fopen: ::std::option::Option<
5881        unsafe extern "C" fn(
5882            filename: *const ::std::os::raw::c_char,
5883            opened_path: *mut *mut ::std::os::raw::c_char,
5884        ) -> *mut FILE,
5885    >;
5886}
5887extern "C" {
5888    pub static mut zend_block_interruptions: ::std::option::Option<unsafe extern "C" fn()>;
5889}
5890extern "C" {
5891    pub static mut zend_unblock_interruptions: ::std::option::Option<unsafe extern "C" fn()>;
5892}
5893extern "C" {
5894    pub static mut zend_ticks_function:
5895        ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
5896}
5897extern "C" {
5898    pub static mut zend_error_cb: ::std::option::Option<
5899        unsafe extern "C" fn(
5900            type_: ::std::os::raw::c_int,
5901            error_filename: *const ::std::os::raw::c_char,
5902            error_lineno: uint,
5903            format: *const ::std::os::raw::c_char,
5904            args: *mut __va_list_tag,
5905        ),
5906    >;
5907}
5908extern "C" {
5909    pub static mut zend_on_timeout:
5910        ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
5911}
5912extern "C" {
5913    pub static mut zend_stream_open_function: ::std::option::Option<
5914        unsafe extern "C" fn(
5915            filename: *const ::std::os::raw::c_char,
5916            handle: *mut zend_file_handle,
5917        ) -> ::std::os::raw::c_int,
5918    >;
5919}
5920extern "C" {
5921    pub static mut zend_vspprintf: ::std::option::Option<
5922        unsafe extern "C" fn(
5923            pbuf: *mut *mut ::std::os::raw::c_char,
5924            max_len: size_t,
5925            format: *const ::std::os::raw::c_char,
5926            ap: *mut __va_list_tag,
5927        ) -> ::std::os::raw::c_int,
5928    >;
5929}
5930extern "C" {
5931    pub static mut zend_getenv: ::std::option::Option<
5932        unsafe extern "C" fn(
5933            name: *mut ::std::os::raw::c_char,
5934            name_len: size_t,
5935        ) -> *mut ::std::os::raw::c_char,
5936    >;
5937}
5938extern "C" {
5939    pub static mut zend_resolve_path: ::std::option::Option<
5940        unsafe extern "C" fn(
5941            filename: *const ::std::os::raw::c_char,
5942            filename_len: ::std::os::raw::c_int,
5943        ) -> *mut ::std::os::raw::c_char,
5944    >;
5945}
5946extern "C" {
5947    pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
5948}
5949extern "C" {
5950    pub fn zenderror(error: *const ::std::os::raw::c_char);
5951}
5952extern "C" {
5953    pub static mut zend_standard_class_def: *mut zend_class_entry;
5954}
5955extern "C" {
5956    pub static mut zend_uv: zend_utility_values;
5957}
5958extern "C" {
5959    pub static mut zval_used_for_init: zval;
5960}
5961extern "C" {
5962    pub fn zend_message_dispatcher(
5963        message: ::std::os::raw::c_long,
5964        data: *const ::std::os::raw::c_void,
5965    );
5966}
5967extern "C" {
5968    pub fn zend_get_configuration_directive(
5969        name: *const ::std::os::raw::c_char,
5970        name_length: uint,
5971        contents: *mut zval,
5972    ) -> ::std::os::raw::c_int;
5973}
5974#[repr(C)]
5975#[derive(Copy, Clone)]
5976pub struct _gc_root_buffer {
5977    pub prev: *mut _gc_root_buffer,
5978    pub next: *mut _gc_root_buffer,
5979    pub handle: zend_object_handle,
5980    pub u: _gc_root_buffer__bindgen_ty_1,
5981}
5982#[repr(C)]
5983#[derive(Copy, Clone)]
5984pub union _gc_root_buffer__bindgen_ty_1 {
5985    pub pz: *mut zval,
5986    pub handlers: *const zend_object_handlers,
5987    _bindgen_union_align: u64,
5988}
5989#[test]
5990fn bindgen_test_layout__gc_root_buffer__bindgen_ty_1() {
5991    assert_eq!(
5992        ::std::mem::size_of::<_gc_root_buffer__bindgen_ty_1>(),
5993        8usize,
5994        concat!("Size of: ", stringify!(_gc_root_buffer__bindgen_ty_1))
5995    );
5996    assert_eq!(
5997        ::std::mem::align_of::<_gc_root_buffer__bindgen_ty_1>(),
5998        8usize,
5999        concat!("Alignment of ", stringify!(_gc_root_buffer__bindgen_ty_1))
6000    );
6001    assert_eq!(
6002        unsafe {
6003            &(*(::std::ptr::null::<_gc_root_buffer__bindgen_ty_1>())).pz as *const _ as usize
6004        },
6005        0usize,
6006        concat!(
6007            "Offset of field: ",
6008            stringify!(_gc_root_buffer__bindgen_ty_1),
6009            "::",
6010            stringify!(pz)
6011        )
6012    );
6013    assert_eq!(
6014        unsafe {
6015            &(*(::std::ptr::null::<_gc_root_buffer__bindgen_ty_1>())).handlers as *const _ as usize
6016        },
6017        0usize,
6018        concat!(
6019            "Offset of field: ",
6020            stringify!(_gc_root_buffer__bindgen_ty_1),
6021            "::",
6022            stringify!(handlers)
6023        )
6024    );
6025}
6026#[test]
6027fn bindgen_test_layout__gc_root_buffer() {
6028    assert_eq!(
6029        ::std::mem::size_of::<_gc_root_buffer>(),
6030        32usize,
6031        concat!("Size of: ", stringify!(_gc_root_buffer))
6032    );
6033    assert_eq!(
6034        ::std::mem::align_of::<_gc_root_buffer>(),
6035        8usize,
6036        concat!("Alignment of ", stringify!(_gc_root_buffer))
6037    );
6038    assert_eq!(
6039        unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).prev as *const _ as usize },
6040        0usize,
6041        concat!(
6042            "Offset of field: ",
6043            stringify!(_gc_root_buffer),
6044            "::",
6045            stringify!(prev)
6046        )
6047    );
6048    assert_eq!(
6049        unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).next as *const _ as usize },
6050        8usize,
6051        concat!(
6052            "Offset of field: ",
6053            stringify!(_gc_root_buffer),
6054            "::",
6055            stringify!(next)
6056        )
6057    );
6058    assert_eq!(
6059        unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).handle as *const _ as usize },
6060        16usize,
6061        concat!(
6062            "Offset of field: ",
6063            stringify!(_gc_root_buffer),
6064            "::",
6065            stringify!(handle)
6066        )
6067    );
6068    assert_eq!(
6069        unsafe { &(*(::std::ptr::null::<_gc_root_buffer>())).u as *const _ as usize },
6070        24usize,
6071        concat!(
6072            "Offset of field: ",
6073            stringify!(_gc_root_buffer),
6074            "::",
6075            stringify!(u)
6076        )
6077    );
6078}
6079pub type gc_root_buffer = _gc_root_buffer;
6080#[repr(C)]
6081#[derive(Copy, Clone)]
6082pub struct _zval_gc_info {
6083    pub z: zval,
6084    pub u: _zval_gc_info__bindgen_ty_1,
6085}
6086#[repr(C)]
6087#[derive(Copy, Clone)]
6088pub union _zval_gc_info__bindgen_ty_1 {
6089    pub buffered: *mut gc_root_buffer,
6090    pub next: *mut _zval_gc_info,
6091    _bindgen_union_align: u64,
6092}
6093#[test]
6094fn bindgen_test_layout__zval_gc_info__bindgen_ty_1() {
6095    assert_eq!(
6096        ::std::mem::size_of::<_zval_gc_info__bindgen_ty_1>(),
6097        8usize,
6098        concat!("Size of: ", stringify!(_zval_gc_info__bindgen_ty_1))
6099    );
6100    assert_eq!(
6101        ::std::mem::align_of::<_zval_gc_info__bindgen_ty_1>(),
6102        8usize,
6103        concat!("Alignment of ", stringify!(_zval_gc_info__bindgen_ty_1))
6104    );
6105    assert_eq!(
6106        unsafe {
6107            &(*(::std::ptr::null::<_zval_gc_info__bindgen_ty_1>())).buffered as *const _ as usize
6108        },
6109        0usize,
6110        concat!(
6111            "Offset of field: ",
6112            stringify!(_zval_gc_info__bindgen_ty_1),
6113            "::",
6114            stringify!(buffered)
6115        )
6116    );
6117    assert_eq!(
6118        unsafe {
6119            &(*(::std::ptr::null::<_zval_gc_info__bindgen_ty_1>())).next as *const _ as usize
6120        },
6121        0usize,
6122        concat!(
6123            "Offset of field: ",
6124            stringify!(_zval_gc_info__bindgen_ty_1),
6125            "::",
6126            stringify!(next)
6127        )
6128    );
6129}
6130#[test]
6131fn bindgen_test_layout__zval_gc_info() {
6132    assert_eq!(
6133        ::std::mem::size_of::<_zval_gc_info>(),
6134        32usize,
6135        concat!("Size of: ", stringify!(_zval_gc_info))
6136    );
6137    assert_eq!(
6138        ::std::mem::align_of::<_zval_gc_info>(),
6139        8usize,
6140        concat!("Alignment of ", stringify!(_zval_gc_info))
6141    );
6142    assert_eq!(
6143        unsafe { &(*(::std::ptr::null::<_zval_gc_info>())).z as *const _ as usize },
6144        0usize,
6145        concat!(
6146            "Offset of field: ",
6147            stringify!(_zval_gc_info),
6148            "::",
6149            stringify!(z)
6150        )
6151    );
6152    assert_eq!(
6153        unsafe { &(*(::std::ptr::null::<_zval_gc_info>())).u as *const _ as usize },
6154        24usize,
6155        concat!(
6156            "Offset of field: ",
6157            stringify!(_zval_gc_info),
6158            "::",
6159            stringify!(u)
6160        )
6161    );
6162}
6163pub type zval_gc_info = _zval_gc_info;
6164#[repr(C)]
6165#[derive(Copy, Clone)]
6166pub struct _zend_gc_globals {
6167    pub gc_enabled: zend_bool,
6168    pub gc_active: zend_bool,
6169    pub buf: *mut gc_root_buffer,
6170    pub roots: gc_root_buffer,
6171    pub unused: *mut gc_root_buffer,
6172    pub first_unused: *mut gc_root_buffer,
6173    pub last_unused: *mut gc_root_buffer,
6174    pub zval_to_free: *mut zval_gc_info,
6175    pub free_list: *mut zval_gc_info,
6176    pub next_to_free: *mut zval_gc_info,
6177    pub gc_runs: zend_uint,
6178    pub collected: zend_uint,
6179}
6180#[test]
6181fn bindgen_test_layout__zend_gc_globals() {
6182    assert_eq!(
6183        ::std::mem::size_of::<_zend_gc_globals>(),
6184        104usize,
6185        concat!("Size of: ", stringify!(_zend_gc_globals))
6186    );
6187    assert_eq!(
6188        ::std::mem::align_of::<_zend_gc_globals>(),
6189        8usize,
6190        concat!("Alignment of ", stringify!(_zend_gc_globals))
6191    );
6192    assert_eq!(
6193        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_enabled as *const _ as usize },
6194        0usize,
6195        concat!(
6196            "Offset of field: ",
6197            stringify!(_zend_gc_globals),
6198            "::",
6199            stringify!(gc_enabled)
6200        )
6201    );
6202    assert_eq!(
6203        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_active as *const _ as usize },
6204        1usize,
6205        concat!(
6206            "Offset of field: ",
6207            stringify!(_zend_gc_globals),
6208            "::",
6209            stringify!(gc_active)
6210        )
6211    );
6212    assert_eq!(
6213        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).buf as *const _ as usize },
6214        8usize,
6215        concat!(
6216            "Offset of field: ",
6217            stringify!(_zend_gc_globals),
6218            "::",
6219            stringify!(buf)
6220        )
6221    );
6222    assert_eq!(
6223        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).roots as *const _ as usize },
6224        16usize,
6225        concat!(
6226            "Offset of field: ",
6227            stringify!(_zend_gc_globals),
6228            "::",
6229            stringify!(roots)
6230        )
6231    );
6232    assert_eq!(
6233        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).unused as *const _ as usize },
6234        48usize,
6235        concat!(
6236            "Offset of field: ",
6237            stringify!(_zend_gc_globals),
6238            "::",
6239            stringify!(unused)
6240        )
6241    );
6242    assert_eq!(
6243        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).first_unused as *const _ as usize },
6244        56usize,
6245        concat!(
6246            "Offset of field: ",
6247            stringify!(_zend_gc_globals),
6248            "::",
6249            stringify!(first_unused)
6250        )
6251    );
6252    assert_eq!(
6253        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).last_unused as *const _ as usize },
6254        64usize,
6255        concat!(
6256            "Offset of field: ",
6257            stringify!(_zend_gc_globals),
6258            "::",
6259            stringify!(last_unused)
6260        )
6261    );
6262    assert_eq!(
6263        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).zval_to_free as *const _ as usize },
6264        72usize,
6265        concat!(
6266            "Offset of field: ",
6267            stringify!(_zend_gc_globals),
6268            "::",
6269            stringify!(zval_to_free)
6270        )
6271    );
6272    assert_eq!(
6273        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).free_list as *const _ as usize },
6274        80usize,
6275        concat!(
6276            "Offset of field: ",
6277            stringify!(_zend_gc_globals),
6278            "::",
6279            stringify!(free_list)
6280        )
6281    );
6282    assert_eq!(
6283        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).next_to_free as *const _ as usize },
6284        88usize,
6285        concat!(
6286            "Offset of field: ",
6287            stringify!(_zend_gc_globals),
6288            "::",
6289            stringify!(next_to_free)
6290        )
6291    );
6292    assert_eq!(
6293        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).gc_runs as *const _ as usize },
6294        96usize,
6295        concat!(
6296            "Offset of field: ",
6297            stringify!(_zend_gc_globals),
6298            "::",
6299            stringify!(gc_runs)
6300        )
6301    );
6302    assert_eq!(
6303        unsafe { &(*(::std::ptr::null::<_zend_gc_globals>())).collected as *const _ as usize },
6304        100usize,
6305        concat!(
6306            "Offset of field: ",
6307            stringify!(_zend_gc_globals),
6308            "::",
6309            stringify!(collected)
6310        )
6311    );
6312}
6313pub type zend_gc_globals = _zend_gc_globals;
6314extern "C" {
6315    pub static mut gc_globals: zend_gc_globals;
6316}
6317extern "C" {
6318    pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
6319}
6320extern "C" {
6321    pub fn zend_dtoa(
6322        _d: f64,
6323        mode: ::std::os::raw::c_int,
6324        ndigits: ::std::os::raw::c_int,
6325        decpt: *mut ::std::os::raw::c_int,
6326        sign: *mut ::std::os::raw::c_int,
6327        rve: *mut *mut ::std::os::raw::c_char,
6328    ) -> *mut ::std::os::raw::c_char;
6329}
6330extern "C" {
6331    pub fn zend_strtod(
6332        s00: *const ::std::os::raw::c_char,
6333        se: *mut *const ::std::os::raw::c_char,
6334    ) -> f64;
6335}
6336extern "C" {
6337    pub fn zend_hex_strtod(
6338        str_: *const ::std::os::raw::c_char,
6339        endptr: *mut *const ::std::os::raw::c_char,
6340    ) -> f64;
6341}
6342extern "C" {
6343    pub fn zend_oct_strtod(
6344        str_: *const ::std::os::raw::c_char,
6345        endptr: *mut *const ::std::os::raw::c_char,
6346    ) -> f64;
6347}
6348extern "C" {
6349    pub fn zend_bin_strtod(
6350        str_: *const ::std::os::raw::c_char,
6351        endptr: *mut *const ::std::os::raw::c_char,
6352    ) -> f64;
6353}
6354extern "C" {
6355    pub fn zend_startup_strtod() -> ::std::os::raw::c_int;
6356}
6357extern "C" {
6358    pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
6359}
6360extern "C" {
6361    pub fn zend_string_to_double(number: *const ::std::os::raw::c_char, length: zend_uint) -> f64;
6362}
6363extern "C" {
6364    pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: ::std::os::raw::c_uint);
6365}
6366extern "C" {
6367    pub fn zend_str_tolower_copy(
6368        dest: *mut ::std::os::raw::c_char,
6369        source: *const ::std::os::raw::c_char,
6370        length: ::std::os::raw::c_uint,
6371    ) -> *mut ::std::os::raw::c_char;
6372}
6373extern "C" {
6374    pub fn zend_str_tolower_dup(
6375        source: *const ::std::os::raw::c_char,
6376        length: ::std::os::raw::c_uint,
6377    ) -> *mut ::std::os::raw::c_char;
6378}
6379extern "C" {
6380    pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
6381}
6382extern "C" {
6383    pub fn zend_binary_zval_strncmp(
6384        s1: *mut zval,
6385        s2: *mut zval,
6386        s3: *mut zval,
6387    ) -> ::std::os::raw::c_int;
6388}
6389extern "C" {
6390    pub fn zend_binary_zval_strcasecmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
6391}
6392extern "C" {
6393    pub fn zend_binary_zval_strncasecmp(
6394        s1: *mut zval,
6395        s2: *mut zval,
6396        s3: *mut zval,
6397    ) -> ::std::os::raw::c_int;
6398}
6399extern "C" {
6400    pub fn zend_binary_strcmp(
6401        s1: *const ::std::os::raw::c_char,
6402        len1: uint,
6403        s2: *const ::std::os::raw::c_char,
6404        len2: uint,
6405    ) -> ::std::os::raw::c_int;
6406}
6407extern "C" {
6408    pub fn zend_binary_strncmp(
6409        s1: *const ::std::os::raw::c_char,
6410        len1: uint,
6411        s2: *const ::std::os::raw::c_char,
6412        len2: uint,
6413        length: uint,
6414    ) -> ::std::os::raw::c_int;
6415}
6416extern "C" {
6417    pub fn zend_binary_strcasecmp(
6418        s1: *const ::std::os::raw::c_char,
6419        len1: uint,
6420        s2: *const ::std::os::raw::c_char,
6421        len2: uint,
6422    ) -> ::std::os::raw::c_int;
6423}
6424extern "C" {
6425    pub fn zend_binary_strncasecmp(
6426        s1: *const ::std::os::raw::c_char,
6427        len1: uint,
6428        s2: *const ::std::os::raw::c_char,
6429        len2: uint,
6430        length: uint,
6431    ) -> ::std::os::raw::c_int;
6432}
6433extern "C" {
6434    pub fn zend_binary_strncasecmp_l(
6435        s1: *const ::std::os::raw::c_char,
6436        len1: uint,
6437        s2: *const ::std::os::raw::c_char,
6438        len2: uint,
6439        length: uint,
6440    ) -> ::std::os::raw::c_int;
6441}
6442extern "C" {
6443    pub fn zendi_smart_strcmp(result: *mut zval, s1: *mut zval, s2: *mut zval);
6444}
6445extern "C" {
6446    pub fn zend_compare_symbol_tables(result: *mut zval, ht1: *mut HashTable, ht2: *mut HashTable);
6447}
6448extern "C" {
6449    pub fn zend_compare_arrays(result: *mut zval, a1: *mut zval, a2: *mut zval);
6450}
6451extern "C" {
6452    pub fn zend_compare_objects(result: *mut zval, o1: *mut zval, o2: *mut zval);
6453}
6454extern "C" {
6455    pub fn zend_atoi(
6456        str_: *const ::std::os::raw::c_char,
6457        str_len: ::std::os::raw::c_int,
6458    ) -> ::std::os::raw::c_int;
6459}
6460extern "C" {
6461    pub fn zend_atol(
6462        str_: *const ::std::os::raw::c_char,
6463        str_len: ::std::os::raw::c_int,
6464    ) -> ::std::os::raw::c_long;
6465}
6466extern "C" {
6467    pub fn zend_locale_sprintf_double(op: *mut zval);
6468}
6469extern "C" {
6470    pub fn zend_print_variable(var: *mut zval) -> ::std::os::raw::c_int;
6471}
6472pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
6473pub const zend_error_handling_t_EH_SUPPRESS: zend_error_handling_t = 1;
6474pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 2;
6475pub type zend_error_handling_t = ::std::os::raw::c_uint;
6476#[repr(C)]
6477#[derive(Debug, Copy, Clone)]
6478pub struct zend_error_handling {
6479    pub handling: zend_error_handling_t,
6480    pub exception: *mut zend_class_entry,
6481    pub user_handler: *mut zval,
6482}
6483#[test]
6484fn bindgen_test_layout_zend_error_handling() {
6485    assert_eq!(
6486        ::std::mem::size_of::<zend_error_handling>(),
6487        24usize,
6488        concat!("Size of: ", stringify!(zend_error_handling))
6489    );
6490    assert_eq!(
6491        ::std::mem::align_of::<zend_error_handling>(),
6492        8usize,
6493        concat!("Alignment of ", stringify!(zend_error_handling))
6494    );
6495    assert_eq!(
6496        unsafe { &(*(::std::ptr::null::<zend_error_handling>())).handling as *const _ as usize },
6497        0usize,
6498        concat!(
6499            "Offset of field: ",
6500            stringify!(zend_error_handling),
6501            "::",
6502            stringify!(handling)
6503        )
6504    );
6505    assert_eq!(
6506        unsafe { &(*(::std::ptr::null::<zend_error_handling>())).exception as *const _ as usize },
6507        8usize,
6508        concat!(
6509            "Offset of field: ",
6510            stringify!(zend_error_handling),
6511            "::",
6512            stringify!(exception)
6513        )
6514    );
6515    assert_eq!(
6516        unsafe {
6517            &(*(::std::ptr::null::<zend_error_handling>())).user_handler as *const _ as usize
6518        },
6519        16usize,
6520        concat!(
6521            "Offset of field: ",
6522            stringify!(zend_error_handling),
6523            "::",
6524            stringify!(user_handler)
6525        )
6526    );
6527}
6528extern "C" {
6529    pub fn zend_save_error_handling(current: *mut zend_error_handling);
6530}
6531extern "C" {
6532    pub fn zend_replace_error_handling(
6533        error_handling: zend_error_handling_t,
6534        exception_class: *mut zend_class_entry,
6535        current: *mut zend_error_handling,
6536    );
6537}
6538extern "C" {
6539    pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
6540}
6541pub type compare_r_func_t = ::std::option::Option<
6542    unsafe extern "C" fn(
6543        arg1: *const ::std::os::raw::c_void,
6544        arg2: *const ::std::os::raw::c_void,
6545        arg3: *mut ::std::os::raw::c_void,
6546    ) -> ::std::os::raw::c_int,
6547>;
6548extern "C" {
6549    pub fn zend_qsort(
6550        base: *mut ::std::os::raw::c_void,
6551        nmemb: size_t,
6552        siz: size_t,
6553        compare: compare_func_t,
6554    );
6555}
6556extern "C" {
6557    pub fn zend_qsort_r(
6558        base: *mut ::std::os::raw::c_void,
6559        nmemb: size_t,
6560        siz: size_t,
6561        compare: compare_r_func_t,
6562        arg: *mut ::std::os::raw::c_void,
6563    );
6564}
6565pub type zend_op_array = _zend_op_array;
6566pub type zend_op = _zend_op;
6567#[repr(C)]
6568#[derive(Debug, Copy, Clone)]
6569pub struct _zend_compiler_context {
6570    pub opcodes_size: zend_uint,
6571    pub vars_size: ::std::os::raw::c_int,
6572    pub literals_size: ::std::os::raw::c_int,
6573    pub current_brk_cont: ::std::os::raw::c_int,
6574    pub backpatch_count: ::std::os::raw::c_int,
6575    pub nested_calls: ::std::os::raw::c_int,
6576    pub used_stack: ::std::os::raw::c_int,
6577    pub in_finally: ::std::os::raw::c_int,
6578    pub labels: *mut HashTable,
6579}
6580#[test]
6581fn bindgen_test_layout__zend_compiler_context() {
6582    assert_eq!(
6583        ::std::mem::size_of::<_zend_compiler_context>(),
6584        40usize,
6585        concat!("Size of: ", stringify!(_zend_compiler_context))
6586    );
6587    assert_eq!(
6588        ::std::mem::align_of::<_zend_compiler_context>(),
6589        8usize,
6590        concat!("Alignment of ", stringify!(_zend_compiler_context))
6591    );
6592    assert_eq!(
6593        unsafe {
6594            &(*(::std::ptr::null::<_zend_compiler_context>())).opcodes_size as *const _ as usize
6595        },
6596        0usize,
6597        concat!(
6598            "Offset of field: ",
6599            stringify!(_zend_compiler_context),
6600            "::",
6601            stringify!(opcodes_size)
6602        )
6603    );
6604    assert_eq!(
6605        unsafe {
6606            &(*(::std::ptr::null::<_zend_compiler_context>())).vars_size as *const _ as usize
6607        },
6608        4usize,
6609        concat!(
6610            "Offset of field: ",
6611            stringify!(_zend_compiler_context),
6612            "::",
6613            stringify!(vars_size)
6614        )
6615    );
6616    assert_eq!(
6617        unsafe {
6618            &(*(::std::ptr::null::<_zend_compiler_context>())).literals_size as *const _ as usize
6619        },
6620        8usize,
6621        concat!(
6622            "Offset of field: ",
6623            stringify!(_zend_compiler_context),
6624            "::",
6625            stringify!(literals_size)
6626        )
6627    );
6628    assert_eq!(
6629        unsafe {
6630            &(*(::std::ptr::null::<_zend_compiler_context>())).current_brk_cont as *const _ as usize
6631        },
6632        12usize,
6633        concat!(
6634            "Offset of field: ",
6635            stringify!(_zend_compiler_context),
6636            "::",
6637            stringify!(current_brk_cont)
6638        )
6639    );
6640    assert_eq!(
6641        unsafe {
6642            &(*(::std::ptr::null::<_zend_compiler_context>())).backpatch_count as *const _ as usize
6643        },
6644        16usize,
6645        concat!(
6646            "Offset of field: ",
6647            stringify!(_zend_compiler_context),
6648            "::",
6649            stringify!(backpatch_count)
6650        )
6651    );
6652    assert_eq!(
6653        unsafe {
6654            &(*(::std::ptr::null::<_zend_compiler_context>())).nested_calls as *const _ as usize
6655        },
6656        20usize,
6657        concat!(
6658            "Offset of field: ",
6659            stringify!(_zend_compiler_context),
6660            "::",
6661            stringify!(nested_calls)
6662        )
6663    );
6664    assert_eq!(
6665        unsafe {
6666            &(*(::std::ptr::null::<_zend_compiler_context>())).used_stack as *const _ as usize
6667        },
6668        24usize,
6669        concat!(
6670            "Offset of field: ",
6671            stringify!(_zend_compiler_context),
6672            "::",
6673            stringify!(used_stack)
6674        )
6675    );
6676    assert_eq!(
6677        unsafe {
6678            &(*(::std::ptr::null::<_zend_compiler_context>())).in_finally as *const _ as usize
6679        },
6680        28usize,
6681        concat!(
6682            "Offset of field: ",
6683            stringify!(_zend_compiler_context),
6684            "::",
6685            stringify!(in_finally)
6686        )
6687    );
6688    assert_eq!(
6689        unsafe { &(*(::std::ptr::null::<_zend_compiler_context>())).labels as *const _ as usize },
6690        32usize,
6691        concat!(
6692            "Offset of field: ",
6693            stringify!(_zend_compiler_context),
6694            "::",
6695            stringify!(labels)
6696        )
6697    );
6698}
6699pub type zend_compiler_context = _zend_compiler_context;
6700#[repr(C)]
6701#[derive(Copy, Clone)]
6702pub struct _zend_literal {
6703    pub constant: zval,
6704    pub hash_value: zend_ulong,
6705    pub cache_slot: zend_uint,
6706}
6707#[test]
6708fn bindgen_test_layout__zend_literal() {
6709    assert_eq!(
6710        ::std::mem::size_of::<_zend_literal>(),
6711        40usize,
6712        concat!("Size of: ", stringify!(_zend_literal))
6713    );
6714    assert_eq!(
6715        ::std::mem::align_of::<_zend_literal>(),
6716        8usize,
6717        concat!("Alignment of ", stringify!(_zend_literal))
6718    );
6719    assert_eq!(
6720        unsafe { &(*(::std::ptr::null::<_zend_literal>())).constant as *const _ as usize },
6721        0usize,
6722        concat!(
6723            "Offset of field: ",
6724            stringify!(_zend_literal),
6725            "::",
6726            stringify!(constant)
6727        )
6728    );
6729    assert_eq!(
6730        unsafe { &(*(::std::ptr::null::<_zend_literal>())).hash_value as *const _ as usize },
6731        24usize,
6732        concat!(
6733            "Offset of field: ",
6734            stringify!(_zend_literal),
6735            "::",
6736            stringify!(hash_value)
6737        )
6738    );
6739    assert_eq!(
6740        unsafe { &(*(::std::ptr::null::<_zend_literal>())).cache_slot as *const _ as usize },
6741        32usize,
6742        concat!(
6743            "Offset of field: ",
6744            stringify!(_zend_literal),
6745            "::",
6746            stringify!(cache_slot)
6747        )
6748    );
6749}
6750pub type zend_literal = _zend_literal;
6751#[repr(C)]
6752#[derive(Copy, Clone)]
6753pub union _znode_op {
6754    pub constant: zend_uint,
6755    pub var: zend_uint,
6756    pub num: zend_uint,
6757    pub hash: zend_ulong,
6758    pub opline_num: zend_uint,
6759    pub jmp_addr: *mut zend_op,
6760    pub zv: *mut zval,
6761    pub literal: *mut zend_literal,
6762    pub ptr: *mut ::std::os::raw::c_void,
6763    _bindgen_union_align: u64,
6764}
6765#[test]
6766fn bindgen_test_layout__znode_op() {
6767    assert_eq!(
6768        ::std::mem::size_of::<_znode_op>(),
6769        8usize,
6770        concat!("Size of: ", stringify!(_znode_op))
6771    );
6772    assert_eq!(
6773        ::std::mem::align_of::<_znode_op>(),
6774        8usize,
6775        concat!("Alignment of ", stringify!(_znode_op))
6776    );
6777    assert_eq!(
6778        unsafe { &(*(::std::ptr::null::<_znode_op>())).constant as *const _ as usize },
6779        0usize,
6780        concat!(
6781            "Offset of field: ",
6782            stringify!(_znode_op),
6783            "::",
6784            stringify!(constant)
6785        )
6786    );
6787    assert_eq!(
6788        unsafe { &(*(::std::ptr::null::<_znode_op>())).var as *const _ as usize },
6789        0usize,
6790        concat!(
6791            "Offset of field: ",
6792            stringify!(_znode_op),
6793            "::",
6794            stringify!(var)
6795        )
6796    );
6797    assert_eq!(
6798        unsafe { &(*(::std::ptr::null::<_znode_op>())).num as *const _ as usize },
6799        0usize,
6800        concat!(
6801            "Offset of field: ",
6802            stringify!(_znode_op),
6803            "::",
6804            stringify!(num)
6805        )
6806    );
6807    assert_eq!(
6808        unsafe { &(*(::std::ptr::null::<_znode_op>())).hash as *const _ as usize },
6809        0usize,
6810        concat!(
6811            "Offset of field: ",
6812            stringify!(_znode_op),
6813            "::",
6814            stringify!(hash)
6815        )
6816    );
6817    assert_eq!(
6818        unsafe { &(*(::std::ptr::null::<_znode_op>())).opline_num as *const _ as usize },
6819        0usize,
6820        concat!(
6821            "Offset of field: ",
6822            stringify!(_znode_op),
6823            "::",
6824            stringify!(opline_num)
6825        )
6826    );
6827    assert_eq!(
6828        unsafe { &(*(::std::ptr::null::<_znode_op>())).jmp_addr as *const _ as usize },
6829        0usize,
6830        concat!(
6831            "Offset of field: ",
6832            stringify!(_znode_op),
6833            "::",
6834            stringify!(jmp_addr)
6835        )
6836    );
6837    assert_eq!(
6838        unsafe { &(*(::std::ptr::null::<_znode_op>())).zv as *const _ as usize },
6839        0usize,
6840        concat!(
6841            "Offset of field: ",
6842            stringify!(_znode_op),
6843            "::",
6844            stringify!(zv)
6845        )
6846    );
6847    assert_eq!(
6848        unsafe { &(*(::std::ptr::null::<_znode_op>())).literal as *const _ as usize },
6849        0usize,
6850        concat!(
6851            "Offset of field: ",
6852            stringify!(_znode_op),
6853            "::",
6854            stringify!(literal)
6855        )
6856    );
6857    assert_eq!(
6858        unsafe { &(*(::std::ptr::null::<_znode_op>())).ptr as *const _ as usize },
6859        0usize,
6860        concat!(
6861            "Offset of field: ",
6862            stringify!(_znode_op),
6863            "::",
6864            stringify!(ptr)
6865        )
6866    );
6867}
6868pub type znode_op = _znode_op;
6869#[repr(C)]
6870#[derive(Copy, Clone)]
6871pub struct _znode {
6872    pub op_type: ::std::os::raw::c_int,
6873    pub u: _znode__bindgen_ty_1,
6874    pub EA: zend_uint,
6875}
6876#[repr(C)]
6877#[derive(Copy, Clone)]
6878pub union _znode__bindgen_ty_1 {
6879    pub op: znode_op,
6880    pub constant: zval,
6881    pub op_array: *mut zend_op_array,
6882    pub ast: *mut zend_ast,
6883    _bindgen_union_align: [u64; 3usize],
6884}
6885#[test]
6886fn bindgen_test_layout__znode__bindgen_ty_1() {
6887    assert_eq!(
6888        ::std::mem::size_of::<_znode__bindgen_ty_1>(),
6889        24usize,
6890        concat!("Size of: ", stringify!(_znode__bindgen_ty_1))
6891    );
6892    assert_eq!(
6893        ::std::mem::align_of::<_znode__bindgen_ty_1>(),
6894        8usize,
6895        concat!("Alignment of ", stringify!(_znode__bindgen_ty_1))
6896    );
6897    assert_eq!(
6898        unsafe { &(*(::std::ptr::null::<_znode__bindgen_ty_1>())).op as *const _ as usize },
6899        0usize,
6900        concat!(
6901            "Offset of field: ",
6902            stringify!(_znode__bindgen_ty_1),
6903            "::",
6904            stringify!(op)
6905        )
6906    );
6907    assert_eq!(
6908        unsafe { &(*(::std::ptr::null::<_znode__bindgen_ty_1>())).constant as *const _ as usize },
6909        0usize,
6910        concat!(
6911            "Offset of field: ",
6912            stringify!(_znode__bindgen_ty_1),
6913            "::",
6914            stringify!(constant)
6915        )
6916    );
6917    assert_eq!(
6918        unsafe { &(*(::std::ptr::null::<_znode__bindgen_ty_1>())).op_array as *const _ as usize },
6919        0usize,
6920        concat!(
6921            "Offset of field: ",
6922            stringify!(_znode__bindgen_ty_1),
6923            "::",
6924            stringify!(op_array)
6925        )
6926    );
6927    assert_eq!(
6928        unsafe { &(*(::std::ptr::null::<_znode__bindgen_ty_1>())).ast as *const _ as usize },
6929        0usize,
6930        concat!(
6931            "Offset of field: ",
6932            stringify!(_znode__bindgen_ty_1),
6933            "::",
6934            stringify!(ast)
6935        )
6936    );
6937}
6938#[test]
6939fn bindgen_test_layout__znode() {
6940    assert_eq!(
6941        ::std::mem::size_of::<_znode>(),
6942        40usize,
6943        concat!("Size of: ", stringify!(_znode))
6944    );
6945    assert_eq!(
6946        ::std::mem::align_of::<_znode>(),
6947        8usize,
6948        concat!("Alignment of ", stringify!(_znode))
6949    );
6950    assert_eq!(
6951        unsafe { &(*(::std::ptr::null::<_znode>())).op_type as *const _ as usize },
6952        0usize,
6953        concat!(
6954            "Offset of field: ",
6955            stringify!(_znode),
6956            "::",
6957            stringify!(op_type)
6958        )
6959    );
6960    assert_eq!(
6961        unsafe { &(*(::std::ptr::null::<_znode>())).u as *const _ as usize },
6962        8usize,
6963        concat!("Offset of field: ", stringify!(_znode), "::", stringify!(u))
6964    );
6965    assert_eq!(
6966        unsafe { &(*(::std::ptr::null::<_znode>())).EA as *const _ as usize },
6967        32usize,
6968        concat!(
6969            "Offset of field: ",
6970            stringify!(_znode),
6971            "::",
6972            stringify!(EA)
6973        )
6974    );
6975}
6976pub type znode = _znode;
6977pub type zend_execute_data = _zend_execute_data;
6978pub type user_opcode_handler_t = ::std::option::Option<
6979    unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
6980>;
6981pub type opcode_handler_t = ::std::option::Option<
6982    unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
6983>;
6984extern "C" {
6985    pub static mut zend_opcode_handlers: *mut opcode_handler_t;
6986}
6987#[repr(C)]
6988#[derive(Copy, Clone)]
6989pub struct _zend_op {
6990    pub handler: opcode_handler_t,
6991    pub op1: znode_op,
6992    pub op2: znode_op,
6993    pub result: znode_op,
6994    pub extended_value: ulong,
6995    pub lineno: uint,
6996    pub opcode: zend_uchar,
6997    pub op1_type: zend_uchar,
6998    pub op2_type: zend_uchar,
6999    pub result_type: zend_uchar,
7000}
7001#[test]
7002fn bindgen_test_layout__zend_op() {
7003    assert_eq!(
7004        ::std::mem::size_of::<_zend_op>(),
7005        48usize,
7006        concat!("Size of: ", stringify!(_zend_op))
7007    );
7008    assert_eq!(
7009        ::std::mem::align_of::<_zend_op>(),
7010        8usize,
7011        concat!("Alignment of ", stringify!(_zend_op))
7012    );
7013    assert_eq!(
7014        unsafe { &(*(::std::ptr::null::<_zend_op>())).handler as *const _ as usize },
7015        0usize,
7016        concat!(
7017            "Offset of field: ",
7018            stringify!(_zend_op),
7019            "::",
7020            stringify!(handler)
7021        )
7022    );
7023    assert_eq!(
7024        unsafe { &(*(::std::ptr::null::<_zend_op>())).op1 as *const _ as usize },
7025        8usize,
7026        concat!(
7027            "Offset of field: ",
7028            stringify!(_zend_op),
7029            "::",
7030            stringify!(op1)
7031        )
7032    );
7033    assert_eq!(
7034        unsafe { &(*(::std::ptr::null::<_zend_op>())).op2 as *const _ as usize },
7035        16usize,
7036        concat!(
7037            "Offset of field: ",
7038            stringify!(_zend_op),
7039            "::",
7040            stringify!(op2)
7041        )
7042    );
7043    assert_eq!(
7044        unsafe { &(*(::std::ptr::null::<_zend_op>())).result as *const _ as usize },
7045        24usize,
7046        concat!(
7047            "Offset of field: ",
7048            stringify!(_zend_op),
7049            "::",
7050            stringify!(result)
7051        )
7052    );
7053    assert_eq!(
7054        unsafe { &(*(::std::ptr::null::<_zend_op>())).extended_value as *const _ as usize },
7055        32usize,
7056        concat!(
7057            "Offset of field: ",
7058            stringify!(_zend_op),
7059            "::",
7060            stringify!(extended_value)
7061        )
7062    );
7063    assert_eq!(
7064        unsafe { &(*(::std::ptr::null::<_zend_op>())).lineno as *const _ as usize },
7065        40usize,
7066        concat!(
7067            "Offset of field: ",
7068            stringify!(_zend_op),
7069            "::",
7070            stringify!(lineno)
7071        )
7072    );
7073    assert_eq!(
7074        unsafe { &(*(::std::ptr::null::<_zend_op>())).opcode as *const _ as usize },
7075        44usize,
7076        concat!(
7077            "Offset of field: ",
7078            stringify!(_zend_op),
7079            "::",
7080            stringify!(opcode)
7081        )
7082    );
7083    assert_eq!(
7084        unsafe { &(*(::std::ptr::null::<_zend_op>())).op1_type as *const _ as usize },
7085        45usize,
7086        concat!(
7087            "Offset of field: ",
7088            stringify!(_zend_op),
7089            "::",
7090            stringify!(op1_type)
7091        )
7092    );
7093    assert_eq!(
7094        unsafe { &(*(::std::ptr::null::<_zend_op>())).op2_type as *const _ as usize },
7095        46usize,
7096        concat!(
7097            "Offset of field: ",
7098            stringify!(_zend_op),
7099            "::",
7100            stringify!(op2_type)
7101        )
7102    );
7103    assert_eq!(
7104        unsafe { &(*(::std::ptr::null::<_zend_op>())).result_type as *const _ as usize },
7105        47usize,
7106        concat!(
7107            "Offset of field: ",
7108            stringify!(_zend_op),
7109            "::",
7110            stringify!(result_type)
7111        )
7112    );
7113}
7114#[repr(C)]
7115#[derive(Debug, Copy, Clone)]
7116pub struct _zend_brk_cont_element {
7117    pub start: ::std::os::raw::c_int,
7118    pub cont: ::std::os::raw::c_int,
7119    pub brk: ::std::os::raw::c_int,
7120    pub parent: ::std::os::raw::c_int,
7121}
7122#[test]
7123fn bindgen_test_layout__zend_brk_cont_element() {
7124    assert_eq!(
7125        ::std::mem::size_of::<_zend_brk_cont_element>(),
7126        16usize,
7127        concat!("Size of: ", stringify!(_zend_brk_cont_element))
7128    );
7129    assert_eq!(
7130        ::std::mem::align_of::<_zend_brk_cont_element>(),
7131        4usize,
7132        concat!("Alignment of ", stringify!(_zend_brk_cont_element))
7133    );
7134    assert_eq!(
7135        unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).start as *const _ as usize },
7136        0usize,
7137        concat!(
7138            "Offset of field: ",
7139            stringify!(_zend_brk_cont_element),
7140            "::",
7141            stringify!(start)
7142        )
7143    );
7144    assert_eq!(
7145        unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).cont as *const _ as usize },
7146        4usize,
7147        concat!(
7148            "Offset of field: ",
7149            stringify!(_zend_brk_cont_element),
7150            "::",
7151            stringify!(cont)
7152        )
7153    );
7154    assert_eq!(
7155        unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).brk as *const _ as usize },
7156        8usize,
7157        concat!(
7158            "Offset of field: ",
7159            stringify!(_zend_brk_cont_element),
7160            "::",
7161            stringify!(brk)
7162        )
7163    );
7164    assert_eq!(
7165        unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).parent as *const _ as usize },
7166        12usize,
7167        concat!(
7168            "Offset of field: ",
7169            stringify!(_zend_brk_cont_element),
7170            "::",
7171            stringify!(parent)
7172        )
7173    );
7174}
7175pub type zend_brk_cont_element = _zend_brk_cont_element;
7176#[repr(C)]
7177#[derive(Debug, Copy, Clone)]
7178pub struct _zend_label {
7179    pub brk_cont: ::std::os::raw::c_int,
7180    pub opline_num: zend_uint,
7181}
7182#[test]
7183fn bindgen_test_layout__zend_label() {
7184    assert_eq!(
7185        ::std::mem::size_of::<_zend_label>(),
7186        8usize,
7187        concat!("Size of: ", stringify!(_zend_label))
7188    );
7189    assert_eq!(
7190        ::std::mem::align_of::<_zend_label>(),
7191        4usize,
7192        concat!("Alignment of ", stringify!(_zend_label))
7193    );
7194    assert_eq!(
7195        unsafe { &(*(::std::ptr::null::<_zend_label>())).brk_cont as *const _ as usize },
7196        0usize,
7197        concat!(
7198            "Offset of field: ",
7199            stringify!(_zend_label),
7200            "::",
7201            stringify!(brk_cont)
7202        )
7203    );
7204    assert_eq!(
7205        unsafe { &(*(::std::ptr::null::<_zend_label>())).opline_num as *const _ as usize },
7206        4usize,
7207        concat!(
7208            "Offset of field: ",
7209            stringify!(_zend_label),
7210            "::",
7211            stringify!(opline_num)
7212        )
7213    );
7214}
7215pub type zend_label = _zend_label;
7216#[repr(C)]
7217#[derive(Debug, Copy, Clone)]
7218pub struct _zend_try_catch_element {
7219    pub try_op: zend_uint,
7220    pub catch_op: zend_uint,
7221    pub finally_op: zend_uint,
7222    pub finally_end: zend_uint,
7223}
7224#[test]
7225fn bindgen_test_layout__zend_try_catch_element() {
7226    assert_eq!(
7227        ::std::mem::size_of::<_zend_try_catch_element>(),
7228        16usize,
7229        concat!("Size of: ", stringify!(_zend_try_catch_element))
7230    );
7231    assert_eq!(
7232        ::std::mem::align_of::<_zend_try_catch_element>(),
7233        4usize,
7234        concat!("Alignment of ", stringify!(_zend_try_catch_element))
7235    );
7236    assert_eq!(
7237        unsafe { &(*(::std::ptr::null::<_zend_try_catch_element>())).try_op as *const _ as usize },
7238        0usize,
7239        concat!(
7240            "Offset of field: ",
7241            stringify!(_zend_try_catch_element),
7242            "::",
7243            stringify!(try_op)
7244        )
7245    );
7246    assert_eq!(
7247        unsafe {
7248            &(*(::std::ptr::null::<_zend_try_catch_element>())).catch_op as *const _ as usize
7249        },
7250        4usize,
7251        concat!(
7252            "Offset of field: ",
7253            stringify!(_zend_try_catch_element),
7254            "::",
7255            stringify!(catch_op)
7256        )
7257    );
7258    assert_eq!(
7259        unsafe {
7260            &(*(::std::ptr::null::<_zend_try_catch_element>())).finally_op as *const _ as usize
7261        },
7262        8usize,
7263        concat!(
7264            "Offset of field: ",
7265            stringify!(_zend_try_catch_element),
7266            "::",
7267            stringify!(finally_op)
7268        )
7269    );
7270    assert_eq!(
7271        unsafe {
7272            &(*(::std::ptr::null::<_zend_try_catch_element>())).finally_end as *const _ as usize
7273        },
7274        12usize,
7275        concat!(
7276            "Offset of field: ",
7277            stringify!(_zend_try_catch_element),
7278            "::",
7279            stringify!(finally_end)
7280        )
7281    );
7282}
7283pub type zend_try_catch_element = _zend_try_catch_element;
7284extern "C" {
7285    pub fn zend_visibility_string(fn_flags: zend_uint) -> *mut ::std::os::raw::c_char;
7286}
7287#[repr(C)]
7288#[derive(Debug, Copy, Clone)]
7289pub struct _zend_property_info {
7290    pub flags: zend_uint,
7291    pub name: *const ::std::os::raw::c_char,
7292    pub name_length: ::std::os::raw::c_int,
7293    pub h: ulong,
7294    pub offset: ::std::os::raw::c_int,
7295    pub doc_comment: *const ::std::os::raw::c_char,
7296    pub doc_comment_len: ::std::os::raw::c_int,
7297    pub ce: *mut zend_class_entry,
7298}
7299#[test]
7300fn bindgen_test_layout__zend_property_info() {
7301    assert_eq!(
7302        ::std::mem::size_of::<_zend_property_info>(),
7303        64usize,
7304        concat!("Size of: ", stringify!(_zend_property_info))
7305    );
7306    assert_eq!(
7307        ::std::mem::align_of::<_zend_property_info>(),
7308        8usize,
7309        concat!("Alignment of ", stringify!(_zend_property_info))
7310    );
7311    assert_eq!(
7312        unsafe { &(*(::std::ptr::null::<_zend_property_info>())).flags as *const _ as usize },
7313        0usize,
7314        concat!(
7315            "Offset of field: ",
7316            stringify!(_zend_property_info),
7317            "::",
7318            stringify!(flags)
7319        )
7320    );
7321    assert_eq!(
7322        unsafe { &(*(::std::ptr::null::<_zend_property_info>())).name as *const _ as usize },
7323        8usize,
7324        concat!(
7325            "Offset of field: ",
7326            stringify!(_zend_property_info),
7327            "::",
7328            stringify!(name)
7329        )
7330    );
7331    assert_eq!(
7332        unsafe { &(*(::std::ptr::null::<_zend_property_info>())).name_length as *const _ as usize },
7333        16usize,
7334        concat!(
7335            "Offset of field: ",
7336            stringify!(_zend_property_info),
7337            "::",
7338            stringify!(name_length)
7339        )
7340    );
7341    assert_eq!(
7342        unsafe { &(*(::std::ptr::null::<_zend_property_info>())).h as *const _ as usize },
7343        24usize,
7344        concat!(
7345            "Offset of field: ",
7346            stringify!(_zend_property_info),
7347            "::",
7348            stringify!(h)
7349        )
7350    );
7351    assert_eq!(
7352        unsafe { &(*(::std::ptr::null::<_zend_property_info>())).offset as *const _ as usize },
7353        32usize,
7354        concat!(
7355            "Offset of field: ",
7356            stringify!(_zend_property_info),
7357            "::",
7358            stringify!(offset)
7359        )
7360    );
7361    assert_eq!(
7362        unsafe { &(*(::std::ptr::null::<_zend_property_info>())).doc_comment as *const _ as usize },
7363        40usize,
7364        concat!(
7365            "Offset of field: ",
7366            stringify!(_zend_property_info),
7367            "::",
7368            stringify!(doc_comment)
7369        )
7370    );
7371    assert_eq!(
7372        unsafe {
7373            &(*(::std::ptr::null::<_zend_property_info>())).doc_comment_len as *const _ as usize
7374        },
7375        48usize,
7376        concat!(
7377            "Offset of field: ",
7378            stringify!(_zend_property_info),
7379            "::",
7380            stringify!(doc_comment_len)
7381        )
7382    );
7383    assert_eq!(
7384        unsafe { &(*(::std::ptr::null::<_zend_property_info>())).ce as *const _ as usize },
7385        56usize,
7386        concat!(
7387            "Offset of field: ",
7388            stringify!(_zend_property_info),
7389            "::",
7390            stringify!(ce)
7391        )
7392    );
7393}
7394pub type zend_property_info = _zend_property_info;
7395#[repr(C)]
7396#[derive(Debug, Copy, Clone)]
7397pub struct _zend_arg_info {
7398    pub name: *const ::std::os::raw::c_char,
7399    pub name_len: zend_uint,
7400    pub class_name: *const ::std::os::raw::c_char,
7401    pub class_name_len: zend_uint,
7402    pub type_hint: zend_uchar,
7403    pub pass_by_reference: zend_uchar,
7404    pub allow_null: zend_bool,
7405    pub is_variadic: zend_bool,
7406}
7407#[test]
7408fn bindgen_test_layout__zend_arg_info() {
7409    assert_eq!(
7410        ::std::mem::size_of::<_zend_arg_info>(),
7411        32usize,
7412        concat!("Size of: ", stringify!(_zend_arg_info))
7413    );
7414    assert_eq!(
7415        ::std::mem::align_of::<_zend_arg_info>(),
7416        8usize,
7417        concat!("Alignment of ", stringify!(_zend_arg_info))
7418    );
7419    assert_eq!(
7420        unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).name as *const _ as usize },
7421        0usize,
7422        concat!(
7423            "Offset of field: ",
7424            stringify!(_zend_arg_info),
7425            "::",
7426            stringify!(name)
7427        )
7428    );
7429    assert_eq!(
7430        unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).name_len as *const _ as usize },
7431        8usize,
7432        concat!(
7433            "Offset of field: ",
7434            stringify!(_zend_arg_info),
7435            "::",
7436            stringify!(name_len)
7437        )
7438    );
7439    assert_eq!(
7440        unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).class_name as *const _ as usize },
7441        16usize,
7442        concat!(
7443            "Offset of field: ",
7444            stringify!(_zend_arg_info),
7445            "::",
7446            stringify!(class_name)
7447        )
7448    );
7449    assert_eq!(
7450        unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).class_name_len as *const _ as usize },
7451        24usize,
7452        concat!(
7453            "Offset of field: ",
7454            stringify!(_zend_arg_info),
7455            "::",
7456            stringify!(class_name_len)
7457        )
7458    );
7459    assert_eq!(
7460        unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).type_hint as *const _ as usize },
7461        28usize,
7462        concat!(
7463            "Offset of field: ",
7464            stringify!(_zend_arg_info),
7465            "::",
7466            stringify!(type_hint)
7467        )
7468    );
7469    assert_eq!(
7470        unsafe {
7471            &(*(::std::ptr::null::<_zend_arg_info>())).pass_by_reference as *const _ as usize
7472        },
7473        29usize,
7474        concat!(
7475            "Offset of field: ",
7476            stringify!(_zend_arg_info),
7477            "::",
7478            stringify!(pass_by_reference)
7479        )
7480    );
7481    assert_eq!(
7482        unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).allow_null as *const _ as usize },
7483        30usize,
7484        concat!(
7485            "Offset of field: ",
7486            stringify!(_zend_arg_info),
7487            "::",
7488            stringify!(allow_null)
7489        )
7490    );
7491    assert_eq!(
7492        unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).is_variadic as *const _ as usize },
7493        31usize,
7494        concat!(
7495            "Offset of field: ",
7496            stringify!(_zend_arg_info),
7497            "::",
7498            stringify!(is_variadic)
7499        )
7500    );
7501}
7502pub type zend_arg_info = _zend_arg_info;
7503#[repr(C)]
7504#[derive(Debug, Copy, Clone)]
7505pub struct _zend_internal_function_info {
7506    pub _name: *const ::std::os::raw::c_char,
7507    pub _name_len: zend_uint,
7508    pub _class_name: *const ::std::os::raw::c_char,
7509    pub required_num_args: zend_uint,
7510    pub _type_hint: zend_uchar,
7511    pub return_reference: zend_bool,
7512    pub _allow_null: zend_bool,
7513    pub _is_variadic: zend_bool,
7514}
7515#[test]
7516fn bindgen_test_layout__zend_internal_function_info() {
7517    assert_eq!(
7518        ::std::mem::size_of::<_zend_internal_function_info>(),
7519        32usize,
7520        concat!("Size of: ", stringify!(_zend_internal_function_info))
7521    );
7522    assert_eq!(
7523        ::std::mem::align_of::<_zend_internal_function_info>(),
7524        8usize,
7525        concat!("Alignment of ", stringify!(_zend_internal_function_info))
7526    );
7527    assert_eq!(
7528        unsafe {
7529            &(*(::std::ptr::null::<_zend_internal_function_info>()))._name as *const _ as usize
7530        },
7531        0usize,
7532        concat!(
7533            "Offset of field: ",
7534            stringify!(_zend_internal_function_info),
7535            "::",
7536            stringify!(_name)
7537        )
7538    );
7539    assert_eq!(
7540        unsafe {
7541            &(*(::std::ptr::null::<_zend_internal_function_info>()))._name_len as *const _ as usize
7542        },
7543        8usize,
7544        concat!(
7545            "Offset of field: ",
7546            stringify!(_zend_internal_function_info),
7547            "::",
7548            stringify!(_name_len)
7549        )
7550    );
7551    assert_eq!(
7552        unsafe {
7553            &(*(::std::ptr::null::<_zend_internal_function_info>()))._class_name as *const _
7554                as usize
7555        },
7556        16usize,
7557        concat!(
7558            "Offset of field: ",
7559            stringify!(_zend_internal_function_info),
7560            "::",
7561            stringify!(_class_name)
7562        )
7563    );
7564    assert_eq!(
7565        unsafe {
7566            &(*(::std::ptr::null::<_zend_internal_function_info>())).required_num_args as *const _
7567                as usize
7568        },
7569        24usize,
7570        concat!(
7571            "Offset of field: ",
7572            stringify!(_zend_internal_function_info),
7573            "::",
7574            stringify!(required_num_args)
7575        )
7576    );
7577    assert_eq!(
7578        unsafe {
7579            &(*(::std::ptr::null::<_zend_internal_function_info>()))._type_hint as *const _ as usize
7580        },
7581        28usize,
7582        concat!(
7583            "Offset of field: ",
7584            stringify!(_zend_internal_function_info),
7585            "::",
7586            stringify!(_type_hint)
7587        )
7588    );
7589    assert_eq!(
7590        unsafe {
7591            &(*(::std::ptr::null::<_zend_internal_function_info>())).return_reference as *const _
7592                as usize
7593        },
7594        29usize,
7595        concat!(
7596            "Offset of field: ",
7597            stringify!(_zend_internal_function_info),
7598            "::",
7599            stringify!(return_reference)
7600        )
7601    );
7602    assert_eq!(
7603        unsafe {
7604            &(*(::std::ptr::null::<_zend_internal_function_info>()))._allow_null as *const _
7605                as usize
7606        },
7607        30usize,
7608        concat!(
7609            "Offset of field: ",
7610            stringify!(_zend_internal_function_info),
7611            "::",
7612            stringify!(_allow_null)
7613        )
7614    );
7615    assert_eq!(
7616        unsafe {
7617            &(*(::std::ptr::null::<_zend_internal_function_info>()))._is_variadic as *const _
7618                as usize
7619        },
7620        31usize,
7621        concat!(
7622            "Offset of field: ",
7623            stringify!(_zend_internal_function_info),
7624            "::",
7625            stringify!(_is_variadic)
7626        )
7627    );
7628}
7629pub type zend_internal_function_info = _zend_internal_function_info;
7630#[repr(C)]
7631#[derive(Debug, Copy, Clone)]
7632pub struct _zend_compiled_variable {
7633    pub name: *const ::std::os::raw::c_char,
7634    pub name_len: ::std::os::raw::c_int,
7635    pub hash_value: ulong,
7636}
7637#[test]
7638fn bindgen_test_layout__zend_compiled_variable() {
7639    assert_eq!(
7640        ::std::mem::size_of::<_zend_compiled_variable>(),
7641        24usize,
7642        concat!("Size of: ", stringify!(_zend_compiled_variable))
7643    );
7644    assert_eq!(
7645        ::std::mem::align_of::<_zend_compiled_variable>(),
7646        8usize,
7647        concat!("Alignment of ", stringify!(_zend_compiled_variable))
7648    );
7649    assert_eq!(
7650        unsafe { &(*(::std::ptr::null::<_zend_compiled_variable>())).name as *const _ as usize },
7651        0usize,
7652        concat!(
7653            "Offset of field: ",
7654            stringify!(_zend_compiled_variable),
7655            "::",
7656            stringify!(name)
7657        )
7658    );
7659    assert_eq!(
7660        unsafe {
7661            &(*(::std::ptr::null::<_zend_compiled_variable>())).name_len as *const _ as usize
7662        },
7663        8usize,
7664        concat!(
7665            "Offset of field: ",
7666            stringify!(_zend_compiled_variable),
7667            "::",
7668            stringify!(name_len)
7669        )
7670    );
7671    assert_eq!(
7672        unsafe {
7673            &(*(::std::ptr::null::<_zend_compiled_variable>())).hash_value as *const _ as usize
7674        },
7675        16usize,
7676        concat!(
7677            "Offset of field: ",
7678            stringify!(_zend_compiled_variable),
7679            "::",
7680            stringify!(hash_value)
7681        )
7682    );
7683}
7684pub type zend_compiled_variable = _zend_compiled_variable;
7685#[repr(C)]
7686#[derive(Debug, Copy, Clone)]
7687pub struct _zend_op_array {
7688    pub type_: zend_uchar,
7689    pub function_name: *const ::std::os::raw::c_char,
7690    pub scope: *mut zend_class_entry,
7691    pub fn_flags: zend_uint,
7692    pub prototype: *mut _zend_function,
7693    pub num_args: zend_uint,
7694    pub required_num_args: zend_uint,
7695    pub arg_info: *mut zend_arg_info,
7696    pub refcount: *mut zend_uint,
7697    pub opcodes: *mut zend_op,
7698    pub last: zend_uint,
7699    pub vars: *mut zend_compiled_variable,
7700    pub last_var: ::std::os::raw::c_int,
7701    pub T: zend_uint,
7702    pub nested_calls: zend_uint,
7703    pub used_stack: zend_uint,
7704    pub brk_cont_array: *mut zend_brk_cont_element,
7705    pub last_brk_cont: ::std::os::raw::c_int,
7706    pub try_catch_array: *mut zend_try_catch_element,
7707    pub last_try_catch: ::std::os::raw::c_int,
7708    pub has_finally_block: zend_bool,
7709    pub static_variables: *mut HashTable,
7710    pub this_var: zend_uint,
7711    pub filename: *const ::std::os::raw::c_char,
7712    pub line_start: zend_uint,
7713    pub line_end: zend_uint,
7714    pub doc_comment: *const ::std::os::raw::c_char,
7715    pub doc_comment_len: zend_uint,
7716    pub early_binding: zend_uint,
7717    pub literals: *mut zend_literal,
7718    pub last_literal: ::std::os::raw::c_int,
7719    pub run_time_cache: *mut *mut ::std::os::raw::c_void,
7720    pub last_cache_slot: ::std::os::raw::c_int,
7721    pub reserved: [*mut ::std::os::raw::c_void; 4usize],
7722}
7723#[test]
7724fn bindgen_test_layout__zend_op_array() {
7725    assert_eq!(
7726        ::std::mem::size_of::<_zend_op_array>(),
7727        248usize,
7728        concat!("Size of: ", stringify!(_zend_op_array))
7729    );
7730    assert_eq!(
7731        ::std::mem::align_of::<_zend_op_array>(),
7732        8usize,
7733        concat!("Alignment of ", stringify!(_zend_op_array))
7734    );
7735    assert_eq!(
7736        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).type_ as *const _ as usize },
7737        0usize,
7738        concat!(
7739            "Offset of field: ",
7740            stringify!(_zend_op_array),
7741            "::",
7742            stringify!(type_)
7743        )
7744    );
7745    assert_eq!(
7746        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).function_name as *const _ as usize },
7747        8usize,
7748        concat!(
7749            "Offset of field: ",
7750            stringify!(_zend_op_array),
7751            "::",
7752            stringify!(function_name)
7753        )
7754    );
7755    assert_eq!(
7756        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).scope as *const _ as usize },
7757        16usize,
7758        concat!(
7759            "Offset of field: ",
7760            stringify!(_zend_op_array),
7761            "::",
7762            stringify!(scope)
7763        )
7764    );
7765    assert_eq!(
7766        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).fn_flags as *const _ as usize },
7767        24usize,
7768        concat!(
7769            "Offset of field: ",
7770            stringify!(_zend_op_array),
7771            "::",
7772            stringify!(fn_flags)
7773        )
7774    );
7775    assert_eq!(
7776        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).prototype as *const _ as usize },
7777        32usize,
7778        concat!(
7779            "Offset of field: ",
7780            stringify!(_zend_op_array),
7781            "::",
7782            stringify!(prototype)
7783        )
7784    );
7785    assert_eq!(
7786        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).num_args as *const _ as usize },
7787        40usize,
7788        concat!(
7789            "Offset of field: ",
7790            stringify!(_zend_op_array),
7791            "::",
7792            stringify!(num_args)
7793        )
7794    );
7795    assert_eq!(
7796        unsafe {
7797            &(*(::std::ptr::null::<_zend_op_array>())).required_num_args as *const _ as usize
7798        },
7799        44usize,
7800        concat!(
7801            "Offset of field: ",
7802            stringify!(_zend_op_array),
7803            "::",
7804            stringify!(required_num_args)
7805        )
7806    );
7807    assert_eq!(
7808        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).arg_info as *const _ as usize },
7809        48usize,
7810        concat!(
7811            "Offset of field: ",
7812            stringify!(_zend_op_array),
7813            "::",
7814            stringify!(arg_info)
7815        )
7816    );
7817    assert_eq!(
7818        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).refcount as *const _ as usize },
7819        56usize,
7820        concat!(
7821            "Offset of field: ",
7822            stringify!(_zend_op_array),
7823            "::",
7824            stringify!(refcount)
7825        )
7826    );
7827    assert_eq!(
7828        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).opcodes as *const _ as usize },
7829        64usize,
7830        concat!(
7831            "Offset of field: ",
7832            stringify!(_zend_op_array),
7833            "::",
7834            stringify!(opcodes)
7835        )
7836    );
7837    assert_eq!(
7838        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last as *const _ as usize },
7839        72usize,
7840        concat!(
7841            "Offset of field: ",
7842            stringify!(_zend_op_array),
7843            "::",
7844            stringify!(last)
7845        )
7846    );
7847    assert_eq!(
7848        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).vars as *const _ as usize },
7849        80usize,
7850        concat!(
7851            "Offset of field: ",
7852            stringify!(_zend_op_array),
7853            "::",
7854            stringify!(vars)
7855        )
7856    );
7857    assert_eq!(
7858        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_var as *const _ as usize },
7859        88usize,
7860        concat!(
7861            "Offset of field: ",
7862            stringify!(_zend_op_array),
7863            "::",
7864            stringify!(last_var)
7865        )
7866    );
7867    assert_eq!(
7868        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).T as *const _ as usize },
7869        92usize,
7870        concat!(
7871            "Offset of field: ",
7872            stringify!(_zend_op_array),
7873            "::",
7874            stringify!(T)
7875        )
7876    );
7877    assert_eq!(
7878        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).nested_calls as *const _ as usize },
7879        96usize,
7880        concat!(
7881            "Offset of field: ",
7882            stringify!(_zend_op_array),
7883            "::",
7884            stringify!(nested_calls)
7885        )
7886    );
7887    assert_eq!(
7888        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).used_stack as *const _ as usize },
7889        100usize,
7890        concat!(
7891            "Offset of field: ",
7892            stringify!(_zend_op_array),
7893            "::",
7894            stringify!(used_stack)
7895        )
7896    );
7897    assert_eq!(
7898        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).brk_cont_array as *const _ as usize },
7899        104usize,
7900        concat!(
7901            "Offset of field: ",
7902            stringify!(_zend_op_array),
7903            "::",
7904            stringify!(brk_cont_array)
7905        )
7906    );
7907    assert_eq!(
7908        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_brk_cont as *const _ as usize },
7909        112usize,
7910        concat!(
7911            "Offset of field: ",
7912            stringify!(_zend_op_array),
7913            "::",
7914            stringify!(last_brk_cont)
7915        )
7916    );
7917    assert_eq!(
7918        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).try_catch_array as *const _ as usize },
7919        120usize,
7920        concat!(
7921            "Offset of field: ",
7922            stringify!(_zend_op_array),
7923            "::",
7924            stringify!(try_catch_array)
7925        )
7926    );
7927    assert_eq!(
7928        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_try_catch as *const _ as usize },
7929        128usize,
7930        concat!(
7931            "Offset of field: ",
7932            stringify!(_zend_op_array),
7933            "::",
7934            stringify!(last_try_catch)
7935        )
7936    );
7937    assert_eq!(
7938        unsafe {
7939            &(*(::std::ptr::null::<_zend_op_array>())).has_finally_block as *const _ as usize
7940        },
7941        132usize,
7942        concat!(
7943            "Offset of field: ",
7944            stringify!(_zend_op_array),
7945            "::",
7946            stringify!(has_finally_block)
7947        )
7948    );
7949    assert_eq!(
7950        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).static_variables as *const _ as usize },
7951        136usize,
7952        concat!(
7953            "Offset of field: ",
7954            stringify!(_zend_op_array),
7955            "::",
7956            stringify!(static_variables)
7957        )
7958    );
7959    assert_eq!(
7960        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).this_var as *const _ as usize },
7961        144usize,
7962        concat!(
7963            "Offset of field: ",
7964            stringify!(_zend_op_array),
7965            "::",
7966            stringify!(this_var)
7967        )
7968    );
7969    assert_eq!(
7970        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).filename as *const _ as usize },
7971        152usize,
7972        concat!(
7973            "Offset of field: ",
7974            stringify!(_zend_op_array),
7975            "::",
7976            stringify!(filename)
7977        )
7978    );
7979    assert_eq!(
7980        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).line_start as *const _ as usize },
7981        160usize,
7982        concat!(
7983            "Offset of field: ",
7984            stringify!(_zend_op_array),
7985            "::",
7986            stringify!(line_start)
7987        )
7988    );
7989    assert_eq!(
7990        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).line_end as *const _ as usize },
7991        164usize,
7992        concat!(
7993            "Offset of field: ",
7994            stringify!(_zend_op_array),
7995            "::",
7996            stringify!(line_end)
7997        )
7998    );
7999    assert_eq!(
8000        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).doc_comment as *const _ as usize },
8001        168usize,
8002        concat!(
8003            "Offset of field: ",
8004            stringify!(_zend_op_array),
8005            "::",
8006            stringify!(doc_comment)
8007        )
8008    );
8009    assert_eq!(
8010        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).doc_comment_len as *const _ as usize },
8011        176usize,
8012        concat!(
8013            "Offset of field: ",
8014            stringify!(_zend_op_array),
8015            "::",
8016            stringify!(doc_comment_len)
8017        )
8018    );
8019    assert_eq!(
8020        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).early_binding as *const _ as usize },
8021        180usize,
8022        concat!(
8023            "Offset of field: ",
8024            stringify!(_zend_op_array),
8025            "::",
8026            stringify!(early_binding)
8027        )
8028    );
8029    assert_eq!(
8030        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).literals as *const _ as usize },
8031        184usize,
8032        concat!(
8033            "Offset of field: ",
8034            stringify!(_zend_op_array),
8035            "::",
8036            stringify!(literals)
8037        )
8038    );
8039    assert_eq!(
8040        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_literal as *const _ as usize },
8041        192usize,
8042        concat!(
8043            "Offset of field: ",
8044            stringify!(_zend_op_array),
8045            "::",
8046            stringify!(last_literal)
8047        )
8048    );
8049    assert_eq!(
8050        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).run_time_cache as *const _ as usize },
8051        200usize,
8052        concat!(
8053            "Offset of field: ",
8054            stringify!(_zend_op_array),
8055            "::",
8056            stringify!(run_time_cache)
8057        )
8058    );
8059    assert_eq!(
8060        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_cache_slot as *const _ as usize },
8061        208usize,
8062        concat!(
8063            "Offset of field: ",
8064            stringify!(_zend_op_array),
8065            "::",
8066            stringify!(last_cache_slot)
8067        )
8068    );
8069    assert_eq!(
8070        unsafe { &(*(::std::ptr::null::<_zend_op_array>())).reserved as *const _ as usize },
8071        216usize,
8072        concat!(
8073            "Offset of field: ",
8074            stringify!(_zend_op_array),
8075            "::",
8076            stringify!(reserved)
8077        )
8078    );
8079}
8080#[repr(C)]
8081#[derive(Debug, Copy, Clone)]
8082pub struct _zend_internal_function {
8083    pub type_: zend_uchar,
8084    pub function_name: *const ::std::os::raw::c_char,
8085    pub scope: *mut zend_class_entry,
8086    pub fn_flags: zend_uint,
8087    pub prototype: *mut _zend_function,
8088    pub num_args: zend_uint,
8089    pub required_num_args: zend_uint,
8090    pub arg_info: *mut zend_arg_info,
8091    pub handler: ::std::option::Option<
8092        unsafe extern "C" fn(
8093            ht: ::std::os::raw::c_int,
8094            return_value: *mut zval,
8095            return_value_ptr: *mut *mut zval,
8096            this_ptr: *mut zval,
8097            return_value_used: ::std::os::raw::c_int,
8098        ),
8099    >,
8100    pub module: *mut _zend_module_entry,
8101}
8102#[test]
8103fn bindgen_test_layout__zend_internal_function() {
8104    assert_eq!(
8105        ::std::mem::size_of::<_zend_internal_function>(),
8106        72usize,
8107        concat!("Size of: ", stringify!(_zend_internal_function))
8108    );
8109    assert_eq!(
8110        ::std::mem::align_of::<_zend_internal_function>(),
8111        8usize,
8112        concat!("Alignment of ", stringify!(_zend_internal_function))
8113    );
8114    assert_eq!(
8115        unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).type_ as *const _ as usize },
8116        0usize,
8117        concat!(
8118            "Offset of field: ",
8119            stringify!(_zend_internal_function),
8120            "::",
8121            stringify!(type_)
8122        )
8123    );
8124    assert_eq!(
8125        unsafe {
8126            &(*(::std::ptr::null::<_zend_internal_function>())).function_name as *const _ as usize
8127        },
8128        8usize,
8129        concat!(
8130            "Offset of field: ",
8131            stringify!(_zend_internal_function),
8132            "::",
8133            stringify!(function_name)
8134        )
8135    );
8136    assert_eq!(
8137        unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).scope as *const _ as usize },
8138        16usize,
8139        concat!(
8140            "Offset of field: ",
8141            stringify!(_zend_internal_function),
8142            "::",
8143            stringify!(scope)
8144        )
8145    );
8146    assert_eq!(
8147        unsafe {
8148            &(*(::std::ptr::null::<_zend_internal_function>())).fn_flags as *const _ as usize
8149        },
8150        24usize,
8151        concat!(
8152            "Offset of field: ",
8153            stringify!(_zend_internal_function),
8154            "::",
8155            stringify!(fn_flags)
8156        )
8157    );
8158    assert_eq!(
8159        unsafe {
8160            &(*(::std::ptr::null::<_zend_internal_function>())).prototype as *const _ as usize
8161        },
8162        32usize,
8163        concat!(
8164            "Offset of field: ",
8165            stringify!(_zend_internal_function),
8166            "::",
8167            stringify!(prototype)
8168        )
8169    );
8170    assert_eq!(
8171        unsafe {
8172            &(*(::std::ptr::null::<_zend_internal_function>())).num_args as *const _ as usize
8173        },
8174        40usize,
8175        concat!(
8176            "Offset of field: ",
8177            stringify!(_zend_internal_function),
8178            "::",
8179            stringify!(num_args)
8180        )
8181    );
8182    assert_eq!(
8183        unsafe {
8184            &(*(::std::ptr::null::<_zend_internal_function>())).required_num_args as *const _
8185                as usize
8186        },
8187        44usize,
8188        concat!(
8189            "Offset of field: ",
8190            stringify!(_zend_internal_function),
8191            "::",
8192            stringify!(required_num_args)
8193        )
8194    );
8195    assert_eq!(
8196        unsafe {
8197            &(*(::std::ptr::null::<_zend_internal_function>())).arg_info as *const _ as usize
8198        },
8199        48usize,
8200        concat!(
8201            "Offset of field: ",
8202            stringify!(_zend_internal_function),
8203            "::",
8204            stringify!(arg_info)
8205        )
8206    );
8207    assert_eq!(
8208        unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).handler as *const _ as usize },
8209        56usize,
8210        concat!(
8211            "Offset of field: ",
8212            stringify!(_zend_internal_function),
8213            "::",
8214            stringify!(handler)
8215        )
8216    );
8217    assert_eq!(
8218        unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).module as *const _ as usize },
8219        64usize,
8220        concat!(
8221            "Offset of field: ",
8222            stringify!(_zend_internal_function),
8223            "::",
8224            stringify!(module)
8225        )
8226    );
8227}
8228pub type zend_internal_function = _zend_internal_function;
8229#[repr(C)]
8230#[derive(Copy, Clone)]
8231pub union _zend_function {
8232    pub type_: zend_uchar,
8233    pub common: _zend_function__bindgen_ty_1,
8234    pub op_array: zend_op_array,
8235    pub internal_function: zend_internal_function,
8236    _bindgen_union_align: [u64; 31usize],
8237}
8238#[repr(C)]
8239#[derive(Debug, Copy, Clone)]
8240pub struct _zend_function__bindgen_ty_1 {
8241    pub type_: zend_uchar,
8242    pub function_name: *const ::std::os::raw::c_char,
8243    pub scope: *mut zend_class_entry,
8244    pub fn_flags: zend_uint,
8245    pub prototype: *mut _zend_function,
8246    pub num_args: zend_uint,
8247    pub required_num_args: zend_uint,
8248    pub arg_info: *mut zend_arg_info,
8249}
8250#[test]
8251fn bindgen_test_layout__zend_function__bindgen_ty_1() {
8252    assert_eq!(
8253        ::std::mem::size_of::<_zend_function__bindgen_ty_1>(),
8254        56usize,
8255        concat!("Size of: ", stringify!(_zend_function__bindgen_ty_1))
8256    );
8257    assert_eq!(
8258        ::std::mem::align_of::<_zend_function__bindgen_ty_1>(),
8259        8usize,
8260        concat!("Alignment of ", stringify!(_zend_function__bindgen_ty_1))
8261    );
8262    assert_eq!(
8263        unsafe {
8264            &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).type_ as *const _ as usize
8265        },
8266        0usize,
8267        concat!(
8268            "Offset of field: ",
8269            stringify!(_zend_function__bindgen_ty_1),
8270            "::",
8271            stringify!(type_)
8272        )
8273    );
8274    assert_eq!(
8275        unsafe {
8276            &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).function_name as *const _
8277                as usize
8278        },
8279        8usize,
8280        concat!(
8281            "Offset of field: ",
8282            stringify!(_zend_function__bindgen_ty_1),
8283            "::",
8284            stringify!(function_name)
8285        )
8286    );
8287    assert_eq!(
8288        unsafe {
8289            &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).scope as *const _ as usize
8290        },
8291        16usize,
8292        concat!(
8293            "Offset of field: ",
8294            stringify!(_zend_function__bindgen_ty_1),
8295            "::",
8296            stringify!(scope)
8297        )
8298    );
8299    assert_eq!(
8300        unsafe {
8301            &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).fn_flags as *const _ as usize
8302        },
8303        24usize,
8304        concat!(
8305            "Offset of field: ",
8306            stringify!(_zend_function__bindgen_ty_1),
8307            "::",
8308            stringify!(fn_flags)
8309        )
8310    );
8311    assert_eq!(
8312        unsafe {
8313            &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).prototype as *const _ as usize
8314        },
8315        32usize,
8316        concat!(
8317            "Offset of field: ",
8318            stringify!(_zend_function__bindgen_ty_1),
8319            "::",
8320            stringify!(prototype)
8321        )
8322    );
8323    assert_eq!(
8324        unsafe {
8325            &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).num_args as *const _ as usize
8326        },
8327        40usize,
8328        concat!(
8329            "Offset of field: ",
8330            stringify!(_zend_function__bindgen_ty_1),
8331            "::",
8332            stringify!(num_args)
8333        )
8334    );
8335    assert_eq!(
8336        unsafe {
8337            &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).required_num_args as *const _
8338                as usize
8339        },
8340        44usize,
8341        concat!(
8342            "Offset of field: ",
8343            stringify!(_zend_function__bindgen_ty_1),
8344            "::",
8345            stringify!(required_num_args)
8346        )
8347    );
8348    assert_eq!(
8349        unsafe {
8350            &(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).arg_info as *const _ as usize
8351        },
8352        48usize,
8353        concat!(
8354            "Offset of field: ",
8355            stringify!(_zend_function__bindgen_ty_1),
8356            "::",
8357            stringify!(arg_info)
8358        )
8359    );
8360}
8361#[test]
8362fn bindgen_test_layout__zend_function() {
8363    assert_eq!(
8364        ::std::mem::size_of::<_zend_function>(),
8365        248usize,
8366        concat!("Size of: ", stringify!(_zend_function))
8367    );
8368    assert_eq!(
8369        ::std::mem::align_of::<_zend_function>(),
8370        8usize,
8371        concat!("Alignment of ", stringify!(_zend_function))
8372    );
8373    assert_eq!(
8374        unsafe { &(*(::std::ptr::null::<_zend_function>())).type_ as *const _ as usize },
8375        0usize,
8376        concat!(
8377            "Offset of field: ",
8378            stringify!(_zend_function),
8379            "::",
8380            stringify!(type_)
8381        )
8382    );
8383    assert_eq!(
8384        unsafe { &(*(::std::ptr::null::<_zend_function>())).common as *const _ as usize },
8385        0usize,
8386        concat!(
8387            "Offset of field: ",
8388            stringify!(_zend_function),
8389            "::",
8390            stringify!(common)
8391        )
8392    );
8393    assert_eq!(
8394        unsafe { &(*(::std::ptr::null::<_zend_function>())).op_array as *const _ as usize },
8395        0usize,
8396        concat!(
8397            "Offset of field: ",
8398            stringify!(_zend_function),
8399            "::",
8400            stringify!(op_array)
8401        )
8402    );
8403    assert_eq!(
8404        unsafe {
8405            &(*(::std::ptr::null::<_zend_function>())).internal_function as *const _ as usize
8406        },
8407        0usize,
8408        concat!(
8409            "Offset of field: ",
8410            stringify!(_zend_function),
8411            "::",
8412            stringify!(internal_function)
8413        )
8414    );
8415}
8416pub type zend_function = _zend_function;
8417#[repr(C)]
8418#[derive(Debug, Copy, Clone)]
8419pub struct _zend_function_state {
8420    pub function: *mut zend_function,
8421    pub arguments: *mut *mut ::std::os::raw::c_void,
8422}
8423#[test]
8424fn bindgen_test_layout__zend_function_state() {
8425    assert_eq!(
8426        ::std::mem::size_of::<_zend_function_state>(),
8427        16usize,
8428        concat!("Size of: ", stringify!(_zend_function_state))
8429    );
8430    assert_eq!(
8431        ::std::mem::align_of::<_zend_function_state>(),
8432        8usize,
8433        concat!("Alignment of ", stringify!(_zend_function_state))
8434    );
8435    assert_eq!(
8436        unsafe { &(*(::std::ptr::null::<_zend_function_state>())).function as *const _ as usize },
8437        0usize,
8438        concat!(
8439            "Offset of field: ",
8440            stringify!(_zend_function_state),
8441            "::",
8442            stringify!(function)
8443        )
8444    );
8445    assert_eq!(
8446        unsafe { &(*(::std::ptr::null::<_zend_function_state>())).arguments as *const _ as usize },
8447        8usize,
8448        concat!(
8449            "Offset of field: ",
8450            stringify!(_zend_function_state),
8451            "::",
8452            stringify!(arguments)
8453        )
8454    );
8455}
8456pub type zend_function_state = _zend_function_state;
8457#[repr(C)]
8458#[derive(Debug, Copy, Clone)]
8459pub struct _zend_function_call_entry {
8460    pub fbc: *mut zend_function,
8461    pub arg_num: zend_uint,
8462    pub uses_argument_unpacking: zend_bool,
8463}
8464#[test]
8465fn bindgen_test_layout__zend_function_call_entry() {
8466    assert_eq!(
8467        ::std::mem::size_of::<_zend_function_call_entry>(),
8468        16usize,
8469        concat!("Size of: ", stringify!(_zend_function_call_entry))
8470    );
8471    assert_eq!(
8472        ::std::mem::align_of::<_zend_function_call_entry>(),
8473        8usize,
8474        concat!("Alignment of ", stringify!(_zend_function_call_entry))
8475    );
8476    assert_eq!(
8477        unsafe { &(*(::std::ptr::null::<_zend_function_call_entry>())).fbc as *const _ as usize },
8478        0usize,
8479        concat!(
8480            "Offset of field: ",
8481            stringify!(_zend_function_call_entry),
8482            "::",
8483            stringify!(fbc)
8484        )
8485    );
8486    assert_eq!(
8487        unsafe {
8488            &(*(::std::ptr::null::<_zend_function_call_entry>())).arg_num as *const _ as usize
8489        },
8490        8usize,
8491        concat!(
8492            "Offset of field: ",
8493            stringify!(_zend_function_call_entry),
8494            "::",
8495            stringify!(arg_num)
8496        )
8497    );
8498    assert_eq!(
8499        unsafe {
8500            &(*(::std::ptr::null::<_zend_function_call_entry>())).uses_argument_unpacking
8501                as *const _ as usize
8502        },
8503        12usize,
8504        concat!(
8505            "Offset of field: ",
8506            stringify!(_zend_function_call_entry),
8507            "::",
8508            stringify!(uses_argument_unpacking)
8509        )
8510    );
8511}
8512pub type zend_function_call_entry = _zend_function_call_entry;
8513#[repr(C)]
8514#[derive(Copy, Clone)]
8515pub struct _zend_switch_entry {
8516    pub cond: znode,
8517    pub default_case: ::std::os::raw::c_int,
8518    pub control_var: ::std::os::raw::c_int,
8519}
8520#[test]
8521fn bindgen_test_layout__zend_switch_entry() {
8522    assert_eq!(
8523        ::std::mem::size_of::<_zend_switch_entry>(),
8524        48usize,
8525        concat!("Size of: ", stringify!(_zend_switch_entry))
8526    );
8527    assert_eq!(
8528        ::std::mem::align_of::<_zend_switch_entry>(),
8529        8usize,
8530        concat!("Alignment of ", stringify!(_zend_switch_entry))
8531    );
8532    assert_eq!(
8533        unsafe { &(*(::std::ptr::null::<_zend_switch_entry>())).cond as *const _ as usize },
8534        0usize,
8535        concat!(
8536            "Offset of field: ",
8537            stringify!(_zend_switch_entry),
8538            "::",
8539            stringify!(cond)
8540        )
8541    );
8542    assert_eq!(
8543        unsafe { &(*(::std::ptr::null::<_zend_switch_entry>())).default_case as *const _ as usize },
8544        40usize,
8545        concat!(
8546            "Offset of field: ",
8547            stringify!(_zend_switch_entry),
8548            "::",
8549            stringify!(default_case)
8550        )
8551    );
8552    assert_eq!(
8553        unsafe { &(*(::std::ptr::null::<_zend_switch_entry>())).control_var as *const _ as usize },
8554        44usize,
8555        concat!(
8556            "Offset of field: ",
8557            stringify!(_zend_switch_entry),
8558            "::",
8559            stringify!(control_var)
8560        )
8561    );
8562}
8563pub type zend_switch_entry = _zend_switch_entry;
8564#[repr(C)]
8565#[derive(Debug, Copy, Clone)]
8566pub struct _call_slot {
8567    pub fbc: *mut zend_function,
8568    pub object: *mut zval,
8569    pub called_scope: *mut zend_class_entry,
8570    pub num_additional_args: zend_uint,
8571    pub is_ctor_call: zend_bool,
8572    pub is_ctor_result_used: zend_bool,
8573}
8574#[test]
8575fn bindgen_test_layout__call_slot() {
8576    assert_eq!(
8577        ::std::mem::size_of::<_call_slot>(),
8578        32usize,
8579        concat!("Size of: ", stringify!(_call_slot))
8580    );
8581    assert_eq!(
8582        ::std::mem::align_of::<_call_slot>(),
8583        8usize,
8584        concat!("Alignment of ", stringify!(_call_slot))
8585    );
8586    assert_eq!(
8587        unsafe { &(*(::std::ptr::null::<_call_slot>())).fbc as *const _ as usize },
8588        0usize,
8589        concat!(
8590            "Offset of field: ",
8591            stringify!(_call_slot),
8592            "::",
8593            stringify!(fbc)
8594        )
8595    );
8596    assert_eq!(
8597        unsafe { &(*(::std::ptr::null::<_call_slot>())).object as *const _ as usize },
8598        8usize,
8599        concat!(
8600            "Offset of field: ",
8601            stringify!(_call_slot),
8602            "::",
8603            stringify!(object)
8604        )
8605    );
8606    assert_eq!(
8607        unsafe { &(*(::std::ptr::null::<_call_slot>())).called_scope as *const _ as usize },
8608        16usize,
8609        concat!(
8610            "Offset of field: ",
8611            stringify!(_call_slot),
8612            "::",
8613            stringify!(called_scope)
8614        )
8615    );
8616    assert_eq!(
8617        unsafe { &(*(::std::ptr::null::<_call_slot>())).num_additional_args as *const _ as usize },
8618        24usize,
8619        concat!(
8620            "Offset of field: ",
8621            stringify!(_call_slot),
8622            "::",
8623            stringify!(num_additional_args)
8624        )
8625    );
8626    assert_eq!(
8627        unsafe { &(*(::std::ptr::null::<_call_slot>())).is_ctor_call as *const _ as usize },
8628        28usize,
8629        concat!(
8630            "Offset of field: ",
8631            stringify!(_call_slot),
8632            "::",
8633            stringify!(is_ctor_call)
8634        )
8635    );
8636    assert_eq!(
8637        unsafe { &(*(::std::ptr::null::<_call_slot>())).is_ctor_result_used as *const _ as usize },
8638        29usize,
8639        concat!(
8640            "Offset of field: ",
8641            stringify!(_call_slot),
8642            "::",
8643            stringify!(is_ctor_result_used)
8644        )
8645    );
8646}
8647pub type call_slot = _call_slot;
8648#[repr(C)]
8649#[derive(Debug, Copy, Clone)]
8650pub struct _zend_execute_data {
8651    pub opline: *mut _zend_op,
8652    pub function_state: zend_function_state,
8653    pub op_array: *mut zend_op_array,
8654    pub object: *mut zval,
8655    pub symbol_table: *mut HashTable,
8656    pub prev_execute_data: *mut _zend_execute_data,
8657    pub old_error_reporting: *mut zval,
8658    pub nested: zend_bool,
8659    pub original_return_value: *mut *mut zval,
8660    pub current_scope: *mut zend_class_entry,
8661    pub current_called_scope: *mut zend_class_entry,
8662    pub current_this: *mut zval,
8663    pub fast_ret: *mut _zend_op,
8664    pub delayed_exception: *mut zval,
8665    pub call_slots: *mut call_slot,
8666    pub call: *mut call_slot,
8667}
8668#[test]
8669fn bindgen_test_layout__zend_execute_data() {
8670    assert_eq!(
8671        ::std::mem::size_of::<_zend_execute_data>(),
8672        136usize,
8673        concat!("Size of: ", stringify!(_zend_execute_data))
8674    );
8675    assert_eq!(
8676        ::std::mem::align_of::<_zend_execute_data>(),
8677        8usize,
8678        concat!("Alignment of ", stringify!(_zend_execute_data))
8679    );
8680    assert_eq!(
8681        unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).opline as *const _ as usize },
8682        0usize,
8683        concat!(
8684            "Offset of field: ",
8685            stringify!(_zend_execute_data),
8686            "::",
8687            stringify!(opline)
8688        )
8689    );
8690    assert_eq!(
8691        unsafe {
8692            &(*(::std::ptr::null::<_zend_execute_data>())).function_state as *const _ as usize
8693        },
8694        8usize,
8695        concat!(
8696            "Offset of field: ",
8697            stringify!(_zend_execute_data),
8698            "::",
8699            stringify!(function_state)
8700        )
8701    );
8702    assert_eq!(
8703        unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).op_array as *const _ as usize },
8704        24usize,
8705        concat!(
8706            "Offset of field: ",
8707            stringify!(_zend_execute_data),
8708            "::",
8709            stringify!(op_array)
8710        )
8711    );
8712    assert_eq!(
8713        unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).object as *const _ as usize },
8714        32usize,
8715        concat!(
8716            "Offset of field: ",
8717            stringify!(_zend_execute_data),
8718            "::",
8719            stringify!(object)
8720        )
8721    );
8722    assert_eq!(
8723        unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).symbol_table as *const _ as usize },
8724        40usize,
8725        concat!(
8726            "Offset of field: ",
8727            stringify!(_zend_execute_data),
8728            "::",
8729            stringify!(symbol_table)
8730        )
8731    );
8732    assert_eq!(
8733        unsafe {
8734            &(*(::std::ptr::null::<_zend_execute_data>())).prev_execute_data as *const _ as usize
8735        },
8736        48usize,
8737        concat!(
8738            "Offset of field: ",
8739            stringify!(_zend_execute_data),
8740            "::",
8741            stringify!(prev_execute_data)
8742        )
8743    );
8744    assert_eq!(
8745        unsafe {
8746            &(*(::std::ptr::null::<_zend_execute_data>())).old_error_reporting as *const _ as usize
8747        },
8748        56usize,
8749        concat!(
8750            "Offset of field: ",
8751            stringify!(_zend_execute_data),
8752            "::",
8753            stringify!(old_error_reporting)
8754        )
8755    );
8756    assert_eq!(
8757        unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).nested as *const _ as usize },
8758        64usize,
8759        concat!(
8760            "Offset of field: ",
8761            stringify!(_zend_execute_data),
8762            "::",
8763            stringify!(nested)
8764        )
8765    );
8766    assert_eq!(
8767        unsafe {
8768            &(*(::std::ptr::null::<_zend_execute_data>())).original_return_value as *const _
8769                as usize
8770        },
8771        72usize,
8772        concat!(
8773            "Offset of field: ",
8774            stringify!(_zend_execute_data),
8775            "::",
8776            stringify!(original_return_value)
8777        )
8778    );
8779    assert_eq!(
8780        unsafe {
8781            &(*(::std::ptr::null::<_zend_execute_data>())).current_scope as *const _ as usize
8782        },
8783        80usize,
8784        concat!(
8785            "Offset of field: ",
8786            stringify!(_zend_execute_data),
8787            "::",
8788            stringify!(current_scope)
8789        )
8790    );
8791    assert_eq!(
8792        unsafe {
8793            &(*(::std::ptr::null::<_zend_execute_data>())).current_called_scope as *const _ as usize
8794        },
8795        88usize,
8796        concat!(
8797            "Offset of field: ",
8798            stringify!(_zend_execute_data),
8799            "::",
8800            stringify!(current_called_scope)
8801        )
8802    );
8803    assert_eq!(
8804        unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).current_this as *const _ as usize },
8805        96usize,
8806        concat!(
8807            "Offset of field: ",
8808            stringify!(_zend_execute_data),
8809            "::",
8810            stringify!(current_this)
8811        )
8812    );
8813    assert_eq!(
8814        unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).fast_ret as *const _ as usize },
8815        104usize,
8816        concat!(
8817            "Offset of field: ",
8818            stringify!(_zend_execute_data),
8819            "::",
8820            stringify!(fast_ret)
8821        )
8822    );
8823    assert_eq!(
8824        unsafe {
8825            &(*(::std::ptr::null::<_zend_execute_data>())).delayed_exception as *const _ as usize
8826        },
8827        112usize,
8828        concat!(
8829            "Offset of field: ",
8830            stringify!(_zend_execute_data),
8831            "::",
8832            stringify!(delayed_exception)
8833        )
8834    );
8835    assert_eq!(
8836        unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).call_slots as *const _ as usize },
8837        120usize,
8838        concat!(
8839            "Offset of field: ",
8840            stringify!(_zend_execute_data),
8841            "::",
8842            stringify!(call_slots)
8843        )
8844    );
8845    assert_eq!(
8846        unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).call as *const _ as usize },
8847        128usize,
8848        concat!(
8849            "Offset of field: ",
8850            stringify!(_zend_execute_data),
8851            "::",
8852            stringify!(call)
8853        )
8854    );
8855}
8856pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
8857#[repr(C)]
8858#[derive(Debug, Copy, Clone)]
8859pub struct __jmp_buf_tag {
8860    pub __jmpbuf: __jmp_buf,
8861    pub __mask_was_saved: ::std::os::raw::c_int,
8862    pub __saved_mask: __sigset_t,
8863}
8864#[test]
8865fn bindgen_test_layout___jmp_buf_tag() {
8866    assert_eq!(
8867        ::std::mem::size_of::<__jmp_buf_tag>(),
8868        200usize,
8869        concat!("Size of: ", stringify!(__jmp_buf_tag))
8870    );
8871    assert_eq!(
8872        ::std::mem::align_of::<__jmp_buf_tag>(),
8873        8usize,
8874        concat!("Alignment of ", stringify!(__jmp_buf_tag))
8875    );
8876    assert_eq!(
8877        unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__jmpbuf as *const _ as usize },
8878        0usize,
8879        concat!(
8880            "Offset of field: ",
8881            stringify!(__jmp_buf_tag),
8882            "::",
8883            stringify!(__jmpbuf)
8884        )
8885    );
8886    assert_eq!(
8887        unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__mask_was_saved as *const _ as usize },
8888        64usize,
8889        concat!(
8890            "Offset of field: ",
8891            stringify!(__jmp_buf_tag),
8892            "::",
8893            stringify!(__mask_was_saved)
8894        )
8895    );
8896    assert_eq!(
8897        unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__saved_mask as *const _ as usize },
8898        72usize,
8899        concat!(
8900            "Offset of field: ",
8901            stringify!(__jmp_buf_tag),
8902            "::",
8903            stringify!(__saved_mask)
8904        )
8905    );
8906}
8907pub type jmp_buf = [__jmp_buf_tag; 1usize];
8908pub type zend_compiler_globals = _zend_compiler_globals;
8909pub type zend_executor_globals = _zend_executor_globals;
8910pub type zend_php_scanner_globals = _zend_php_scanner_globals;
8911pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
8912#[repr(C)]
8913#[derive(Copy, Clone)]
8914pub struct _zend_compiler_globals {
8915    pub bp_stack: zend_stack,
8916    pub switch_cond_stack: zend_stack,
8917    pub foreach_copy_stack: zend_stack,
8918    pub object_stack: zend_stack,
8919    pub declare_stack: zend_stack,
8920    pub active_class_entry: *mut zend_class_entry,
8921    pub list_llist: zend_llist,
8922    pub dimension_llist: zend_llist,
8923    pub list_stack: zend_stack,
8924    pub function_call_stack: zend_stack,
8925    pub compiled_filename: *mut ::std::os::raw::c_char,
8926    pub zend_lineno: ::std::os::raw::c_int,
8927    pub active_op_array: *mut zend_op_array,
8928    pub function_table: *mut HashTable,
8929    pub class_table: *mut HashTable,
8930    pub filenames_table: HashTable,
8931    pub auto_globals: *mut HashTable,
8932    pub parse_error: zend_bool,
8933    pub in_compilation: zend_bool,
8934    pub short_tags: zend_bool,
8935    pub asp_tags: zend_bool,
8936    pub declarables: zend_declarables,
8937    pub unclean_shutdown: zend_bool,
8938    pub ini_parser_unbuffered_errors: zend_bool,
8939    pub open_files: zend_llist,
8940    pub catch_begin: ::std::os::raw::c_long,
8941    pub ini_parser_param: *mut _zend_ini_parser_param,
8942    pub interactive: ::std::os::raw::c_int,
8943    pub start_lineno: zend_uint,
8944    pub increment_lineno: zend_bool,
8945    pub implementing_class: znode,
8946    pub access_type: zend_uint,
8947    pub doc_comment: *mut ::std::os::raw::c_char,
8948    pub doc_comment_len: zend_uint,
8949    pub compiler_options: zend_uint,
8950    pub current_namespace: *mut zval,
8951    pub current_import: *mut HashTable,
8952    pub current_import_function: *mut HashTable,
8953    pub current_import_const: *mut HashTable,
8954    pub in_namespace: zend_bool,
8955    pub has_bracketed_namespaces: zend_bool,
8956    pub const_filenames: HashTable,
8957    pub context: zend_compiler_context,
8958    pub context_stack: zend_stack,
8959    pub interned_strings_start: *mut ::std::os::raw::c_char,
8960    pub interned_strings_end: *mut ::std::os::raw::c_char,
8961    pub interned_strings_top: *mut ::std::os::raw::c_char,
8962    pub interned_strings_snapshot_top: *mut ::std::os::raw::c_char,
8963    pub interned_empty_string: *mut ::std::os::raw::c_char,
8964    pub interned_strings: HashTable,
8965    pub script_encoding_list: *mut *const zend_encoding,
8966    pub script_encoding_list_size: size_t,
8967    pub multibyte: zend_bool,
8968    pub detect_unicode: zend_bool,
8969    pub encoding_declared: zend_bool,
8970}
8971#[test]
8972fn bindgen_test_layout__zend_compiler_globals() {
8973    assert_eq!(
8974        ::std::mem::size_of::<_zend_compiler_globals>(),
8975        848usize,
8976        concat!("Size of: ", stringify!(_zend_compiler_globals))
8977    );
8978    assert_eq!(
8979        ::std::mem::align_of::<_zend_compiler_globals>(),
8980        8usize,
8981        concat!("Alignment of ", stringify!(_zend_compiler_globals))
8982    );
8983    assert_eq!(
8984        unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).bp_stack as *const _ as usize },
8985        0usize,
8986        concat!(
8987            "Offset of field: ",
8988            stringify!(_zend_compiler_globals),
8989            "::",
8990            stringify!(bp_stack)
8991        )
8992    );
8993    assert_eq!(
8994        unsafe {
8995            &(*(::std::ptr::null::<_zend_compiler_globals>())).switch_cond_stack as *const _
8996                as usize
8997        },
8998        16usize,
8999        concat!(
9000            "Offset of field: ",
9001            stringify!(_zend_compiler_globals),
9002            "::",
9003            stringify!(switch_cond_stack)
9004        )
9005    );
9006    assert_eq!(
9007        unsafe {
9008            &(*(::std::ptr::null::<_zend_compiler_globals>())).foreach_copy_stack as *const _
9009                as usize
9010        },
9011        32usize,
9012        concat!(
9013            "Offset of field: ",
9014            stringify!(_zend_compiler_globals),
9015            "::",
9016            stringify!(foreach_copy_stack)
9017        )
9018    );
9019    assert_eq!(
9020        unsafe {
9021            &(*(::std::ptr::null::<_zend_compiler_globals>())).object_stack as *const _ as usize
9022        },
9023        48usize,
9024        concat!(
9025            "Offset of field: ",
9026            stringify!(_zend_compiler_globals),
9027            "::",
9028            stringify!(object_stack)
9029        )
9030    );
9031    assert_eq!(
9032        unsafe {
9033            &(*(::std::ptr::null::<_zend_compiler_globals>())).declare_stack as *const _ as usize
9034        },
9035        64usize,
9036        concat!(
9037            "Offset of field: ",
9038            stringify!(_zend_compiler_globals),
9039            "::",
9040            stringify!(declare_stack)
9041        )
9042    );
9043    assert_eq!(
9044        unsafe {
9045            &(*(::std::ptr::null::<_zend_compiler_globals>())).active_class_entry as *const _
9046                as usize
9047        },
9048        80usize,
9049        concat!(
9050            "Offset of field: ",
9051            stringify!(_zend_compiler_globals),
9052            "::",
9053            stringify!(active_class_entry)
9054        )
9055    );
9056    assert_eq!(
9057        unsafe {
9058            &(*(::std::ptr::null::<_zend_compiler_globals>())).list_llist as *const _ as usize
9059        },
9060        88usize,
9061        concat!(
9062            "Offset of field: ",
9063            stringify!(_zend_compiler_globals),
9064            "::",
9065            stringify!(list_llist)
9066        )
9067    );
9068    assert_eq!(
9069        unsafe {
9070            &(*(::std::ptr::null::<_zend_compiler_globals>())).dimension_llist as *const _ as usize
9071        },
9072        144usize,
9073        concat!(
9074            "Offset of field: ",
9075            stringify!(_zend_compiler_globals),
9076            "::",
9077            stringify!(dimension_llist)
9078        )
9079    );
9080    assert_eq!(
9081        unsafe {
9082            &(*(::std::ptr::null::<_zend_compiler_globals>())).list_stack as *const _ as usize
9083        },
9084        200usize,
9085        concat!(
9086            "Offset of field: ",
9087            stringify!(_zend_compiler_globals),
9088            "::",
9089            stringify!(list_stack)
9090        )
9091    );
9092    assert_eq!(
9093        unsafe {
9094            &(*(::std::ptr::null::<_zend_compiler_globals>())).function_call_stack as *const _
9095                as usize
9096        },
9097        216usize,
9098        concat!(
9099            "Offset of field: ",
9100            stringify!(_zend_compiler_globals),
9101            "::",
9102            stringify!(function_call_stack)
9103        )
9104    );
9105    assert_eq!(
9106        unsafe {
9107            &(*(::std::ptr::null::<_zend_compiler_globals>())).compiled_filename as *const _
9108                as usize
9109        },
9110        232usize,
9111        concat!(
9112            "Offset of field: ",
9113            stringify!(_zend_compiler_globals),
9114            "::",
9115            stringify!(compiled_filename)
9116        )
9117    );
9118    assert_eq!(
9119        unsafe {
9120            &(*(::std::ptr::null::<_zend_compiler_globals>())).zend_lineno as *const _ as usize
9121        },
9122        240usize,
9123        concat!(
9124            "Offset of field: ",
9125            stringify!(_zend_compiler_globals),
9126            "::",
9127            stringify!(zend_lineno)
9128        )
9129    );
9130    assert_eq!(
9131        unsafe {
9132            &(*(::std::ptr::null::<_zend_compiler_globals>())).active_op_array as *const _ as usize
9133        },
9134        248usize,
9135        concat!(
9136            "Offset of field: ",
9137            stringify!(_zend_compiler_globals),
9138            "::",
9139            stringify!(active_op_array)
9140        )
9141    );
9142    assert_eq!(
9143        unsafe {
9144            &(*(::std::ptr::null::<_zend_compiler_globals>())).function_table as *const _ as usize
9145        },
9146        256usize,
9147        concat!(
9148            "Offset of field: ",
9149            stringify!(_zend_compiler_globals),
9150            "::",
9151            stringify!(function_table)
9152        )
9153    );
9154    assert_eq!(
9155        unsafe {
9156            &(*(::std::ptr::null::<_zend_compiler_globals>())).class_table as *const _ as usize
9157        },
9158        264usize,
9159        concat!(
9160            "Offset of field: ",
9161            stringify!(_zend_compiler_globals),
9162            "::",
9163            stringify!(class_table)
9164        )
9165    );
9166    assert_eq!(
9167        unsafe {
9168            &(*(::std::ptr::null::<_zend_compiler_globals>())).filenames_table as *const _ as usize
9169        },
9170        272usize,
9171        concat!(
9172            "Offset of field: ",
9173            stringify!(_zend_compiler_globals),
9174            "::",
9175            stringify!(filenames_table)
9176        )
9177    );
9178    assert_eq!(
9179        unsafe {
9180            &(*(::std::ptr::null::<_zend_compiler_globals>())).auto_globals as *const _ as usize
9181        },
9182        344usize,
9183        concat!(
9184            "Offset of field: ",
9185            stringify!(_zend_compiler_globals),
9186            "::",
9187            stringify!(auto_globals)
9188        )
9189    );
9190    assert_eq!(
9191        unsafe {
9192            &(*(::std::ptr::null::<_zend_compiler_globals>())).parse_error as *const _ as usize
9193        },
9194        352usize,
9195        concat!(
9196            "Offset of field: ",
9197            stringify!(_zend_compiler_globals),
9198            "::",
9199            stringify!(parse_error)
9200        )
9201    );
9202    assert_eq!(
9203        unsafe {
9204            &(*(::std::ptr::null::<_zend_compiler_globals>())).in_compilation as *const _ as usize
9205        },
9206        353usize,
9207        concat!(
9208            "Offset of field: ",
9209            stringify!(_zend_compiler_globals),
9210            "::",
9211            stringify!(in_compilation)
9212        )
9213    );
9214    assert_eq!(
9215        unsafe {
9216            &(*(::std::ptr::null::<_zend_compiler_globals>())).short_tags as *const _ as usize
9217        },
9218        354usize,
9219        concat!(
9220            "Offset of field: ",
9221            stringify!(_zend_compiler_globals),
9222            "::",
9223            stringify!(short_tags)
9224        )
9225    );
9226    assert_eq!(
9227        unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).asp_tags as *const _ as usize },
9228        355usize,
9229        concat!(
9230            "Offset of field: ",
9231            stringify!(_zend_compiler_globals),
9232            "::",
9233            stringify!(asp_tags)
9234        )
9235    );
9236    assert_eq!(
9237        unsafe {
9238            &(*(::std::ptr::null::<_zend_compiler_globals>())).declarables as *const _ as usize
9239        },
9240        360usize,
9241        concat!(
9242            "Offset of field: ",
9243            stringify!(_zend_compiler_globals),
9244            "::",
9245            stringify!(declarables)
9246        )
9247    );
9248    assert_eq!(
9249        unsafe {
9250            &(*(::std::ptr::null::<_zend_compiler_globals>())).unclean_shutdown as *const _ as usize
9251        },
9252        384usize,
9253        concat!(
9254            "Offset of field: ",
9255            stringify!(_zend_compiler_globals),
9256            "::",
9257            stringify!(unclean_shutdown)
9258        )
9259    );
9260    assert_eq!(
9261        unsafe {
9262            &(*(::std::ptr::null::<_zend_compiler_globals>())).ini_parser_unbuffered_errors
9263                as *const _ as usize
9264        },
9265        385usize,
9266        concat!(
9267            "Offset of field: ",
9268            stringify!(_zend_compiler_globals),
9269            "::",
9270            stringify!(ini_parser_unbuffered_errors)
9271        )
9272    );
9273    assert_eq!(
9274        unsafe {
9275            &(*(::std::ptr::null::<_zend_compiler_globals>())).open_files as *const _ as usize
9276        },
9277        392usize,
9278        concat!(
9279            "Offset of field: ",
9280            stringify!(_zend_compiler_globals),
9281            "::",
9282            stringify!(open_files)
9283        )
9284    );
9285    assert_eq!(
9286        unsafe {
9287            &(*(::std::ptr::null::<_zend_compiler_globals>())).catch_begin as *const _ as usize
9288        },
9289        448usize,
9290        concat!(
9291            "Offset of field: ",
9292            stringify!(_zend_compiler_globals),
9293            "::",
9294            stringify!(catch_begin)
9295        )
9296    );
9297    assert_eq!(
9298        unsafe {
9299            &(*(::std::ptr::null::<_zend_compiler_globals>())).ini_parser_param as *const _ as usize
9300        },
9301        456usize,
9302        concat!(
9303            "Offset of field: ",
9304            stringify!(_zend_compiler_globals),
9305            "::",
9306            stringify!(ini_parser_param)
9307        )
9308    );
9309    assert_eq!(
9310        unsafe {
9311            &(*(::std::ptr::null::<_zend_compiler_globals>())).interactive as *const _ as usize
9312        },
9313        464usize,
9314        concat!(
9315            "Offset of field: ",
9316            stringify!(_zend_compiler_globals),
9317            "::",
9318            stringify!(interactive)
9319        )
9320    );
9321    assert_eq!(
9322        unsafe {
9323            &(*(::std::ptr::null::<_zend_compiler_globals>())).start_lineno as *const _ as usize
9324        },
9325        468usize,
9326        concat!(
9327            "Offset of field: ",
9328            stringify!(_zend_compiler_globals),
9329            "::",
9330            stringify!(start_lineno)
9331        )
9332    );
9333    assert_eq!(
9334        unsafe {
9335            &(*(::std::ptr::null::<_zend_compiler_globals>())).increment_lineno as *const _ as usize
9336        },
9337        472usize,
9338        concat!(
9339            "Offset of field: ",
9340            stringify!(_zend_compiler_globals),
9341            "::",
9342            stringify!(increment_lineno)
9343        )
9344    );
9345    assert_eq!(
9346        unsafe {
9347            &(*(::std::ptr::null::<_zend_compiler_globals>())).implementing_class as *const _
9348                as usize
9349        },
9350        480usize,
9351        concat!(
9352            "Offset of field: ",
9353            stringify!(_zend_compiler_globals),
9354            "::",
9355            stringify!(implementing_class)
9356        )
9357    );
9358    assert_eq!(
9359        unsafe {
9360            &(*(::std::ptr::null::<_zend_compiler_globals>())).access_type as *const _ as usize
9361        },
9362        520usize,
9363        concat!(
9364            "Offset of field: ",
9365            stringify!(_zend_compiler_globals),
9366            "::",
9367            stringify!(access_type)
9368        )
9369    );
9370    assert_eq!(
9371        unsafe {
9372            &(*(::std::ptr::null::<_zend_compiler_globals>())).doc_comment as *const _ as usize
9373        },
9374        528usize,
9375        concat!(
9376            "Offset of field: ",
9377            stringify!(_zend_compiler_globals),
9378            "::",
9379            stringify!(doc_comment)
9380        )
9381    );
9382    assert_eq!(
9383        unsafe {
9384            &(*(::std::ptr::null::<_zend_compiler_globals>())).doc_comment_len as *const _ as usize
9385        },
9386        536usize,
9387        concat!(
9388            "Offset of field: ",
9389            stringify!(_zend_compiler_globals),
9390            "::",
9391            stringify!(doc_comment_len)
9392        )
9393    );
9394    assert_eq!(
9395        unsafe {
9396            &(*(::std::ptr::null::<_zend_compiler_globals>())).compiler_options as *const _ as usize
9397        },
9398        540usize,
9399        concat!(
9400            "Offset of field: ",
9401            stringify!(_zend_compiler_globals),
9402            "::",
9403            stringify!(compiler_options)
9404        )
9405    );
9406    assert_eq!(
9407        unsafe {
9408            &(*(::std::ptr::null::<_zend_compiler_globals>())).current_namespace as *const _
9409                as usize
9410        },
9411        544usize,
9412        concat!(
9413            "Offset of field: ",
9414            stringify!(_zend_compiler_globals),
9415            "::",
9416            stringify!(current_namespace)
9417        )
9418    );
9419    assert_eq!(
9420        unsafe {
9421            &(*(::std::ptr::null::<_zend_compiler_globals>())).current_import as *const _ as usize
9422        },
9423        552usize,
9424        concat!(
9425            "Offset of field: ",
9426            stringify!(_zend_compiler_globals),
9427            "::",
9428            stringify!(current_import)
9429        )
9430    );
9431    assert_eq!(
9432        unsafe {
9433            &(*(::std::ptr::null::<_zend_compiler_globals>())).current_import_function as *const _
9434                as usize
9435        },
9436        560usize,
9437        concat!(
9438            "Offset of field: ",
9439            stringify!(_zend_compiler_globals),
9440            "::",
9441            stringify!(current_import_function)
9442        )
9443    );
9444    assert_eq!(
9445        unsafe {
9446            &(*(::std::ptr::null::<_zend_compiler_globals>())).current_import_const as *const _
9447                as usize
9448        },
9449        568usize,
9450        concat!(
9451            "Offset of field: ",
9452            stringify!(_zend_compiler_globals),
9453            "::",
9454            stringify!(current_import_const)
9455        )
9456    );
9457    assert_eq!(
9458        unsafe {
9459            &(*(::std::ptr::null::<_zend_compiler_globals>())).in_namespace as *const _ as usize
9460        },
9461        576usize,
9462        concat!(
9463            "Offset of field: ",
9464            stringify!(_zend_compiler_globals),
9465            "::",
9466            stringify!(in_namespace)
9467        )
9468    );
9469    assert_eq!(
9470        unsafe {
9471            &(*(::std::ptr::null::<_zend_compiler_globals>())).has_bracketed_namespaces as *const _
9472                as usize
9473        },
9474        577usize,
9475        concat!(
9476            "Offset of field: ",
9477            stringify!(_zend_compiler_globals),
9478            "::",
9479            stringify!(has_bracketed_namespaces)
9480        )
9481    );
9482    assert_eq!(
9483        unsafe {
9484            &(*(::std::ptr::null::<_zend_compiler_globals>())).const_filenames as *const _ as usize
9485        },
9486        584usize,
9487        concat!(
9488            "Offset of field: ",
9489            stringify!(_zend_compiler_globals),
9490            "::",
9491            stringify!(const_filenames)
9492        )
9493    );
9494    assert_eq!(
9495        unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).context as *const _ as usize },
9496        656usize,
9497        concat!(
9498            "Offset of field: ",
9499            stringify!(_zend_compiler_globals),
9500            "::",
9501            stringify!(context)
9502        )
9503    );
9504    assert_eq!(
9505        unsafe {
9506            &(*(::std::ptr::null::<_zend_compiler_globals>())).context_stack as *const _ as usize
9507        },
9508        696usize,
9509        concat!(
9510            "Offset of field: ",
9511            stringify!(_zend_compiler_globals),
9512            "::",
9513            stringify!(context_stack)
9514        )
9515    );
9516    assert_eq!(
9517        unsafe {
9518            &(*(::std::ptr::null::<_zend_compiler_globals>())).interned_strings_start as *const _
9519                as usize
9520        },
9521        712usize,
9522        concat!(
9523            "Offset of field: ",
9524            stringify!(_zend_compiler_globals),
9525            "::",
9526            stringify!(interned_strings_start)
9527        )
9528    );
9529    assert_eq!(
9530        unsafe {
9531            &(*(::std::ptr::null::<_zend_compiler_globals>())).interned_strings_end as *const _
9532                as usize
9533        },
9534        720usize,
9535        concat!(
9536            "Offset of field: ",
9537            stringify!(_zend_compiler_globals),
9538            "::",
9539            stringify!(interned_strings_end)
9540        )
9541    );
9542    assert_eq!(
9543        unsafe {
9544            &(*(::std::ptr::null::<_zend_compiler_globals>())).interned_strings_top as *const _
9545                as usize
9546        },
9547        728usize,
9548        concat!(
9549            "Offset of field: ",
9550            stringify!(_zend_compiler_globals),
9551            "::",
9552            stringify!(interned_strings_top)
9553        )
9554    );
9555    assert_eq!(
9556        unsafe {
9557            &(*(::std::ptr::null::<_zend_compiler_globals>())).interned_strings_snapshot_top
9558                as *const _ as usize
9559        },
9560        736usize,
9561        concat!(
9562            "Offset of field: ",
9563            stringify!(_zend_compiler_globals),
9564            "::",
9565            stringify!(interned_strings_snapshot_top)
9566        )
9567    );
9568    assert_eq!(
9569        unsafe {
9570            &(*(::std::ptr::null::<_zend_compiler_globals>())).interned_empty_string as *const _
9571                as usize
9572        },
9573        744usize,
9574        concat!(
9575            "Offset of field: ",
9576            stringify!(_zend_compiler_globals),
9577            "::",
9578            stringify!(interned_empty_string)
9579        )
9580    );
9581    assert_eq!(
9582        unsafe {
9583            &(*(::std::ptr::null::<_zend_compiler_globals>())).interned_strings as *const _ as usize
9584        },
9585        752usize,
9586        concat!(
9587            "Offset of field: ",
9588            stringify!(_zend_compiler_globals),
9589            "::",
9590            stringify!(interned_strings)
9591        )
9592    );
9593    assert_eq!(
9594        unsafe {
9595            &(*(::std::ptr::null::<_zend_compiler_globals>())).script_encoding_list as *const _
9596                as usize
9597        },
9598        824usize,
9599        concat!(
9600            "Offset of field: ",
9601            stringify!(_zend_compiler_globals),
9602            "::",
9603            stringify!(script_encoding_list)
9604        )
9605    );
9606    assert_eq!(
9607        unsafe {
9608            &(*(::std::ptr::null::<_zend_compiler_globals>())).script_encoding_list_size as *const _
9609                as usize
9610        },
9611        832usize,
9612        concat!(
9613            "Offset of field: ",
9614            stringify!(_zend_compiler_globals),
9615            "::",
9616            stringify!(script_encoding_list_size)
9617        )
9618    );
9619    assert_eq!(
9620        unsafe {
9621            &(*(::std::ptr::null::<_zend_compiler_globals>())).multibyte as *const _ as usize
9622        },
9623        840usize,
9624        concat!(
9625            "Offset of field: ",
9626            stringify!(_zend_compiler_globals),
9627            "::",
9628            stringify!(multibyte)
9629        )
9630    );
9631    assert_eq!(
9632        unsafe {
9633            &(*(::std::ptr::null::<_zend_compiler_globals>())).detect_unicode as *const _ as usize
9634        },
9635        841usize,
9636        concat!(
9637            "Offset of field: ",
9638            stringify!(_zend_compiler_globals),
9639            "::",
9640            stringify!(detect_unicode)
9641        )
9642    );
9643    assert_eq!(
9644        unsafe {
9645            &(*(::std::ptr::null::<_zend_compiler_globals>())).encoding_declared as *const _
9646                as usize
9647        },
9648        842usize,
9649        concat!(
9650            "Offset of field: ",
9651            stringify!(_zend_compiler_globals),
9652            "::",
9653            stringify!(encoding_declared)
9654        )
9655    );
9656}
9657extern "C" {
9658    pub static mut compiler_globals: _zend_compiler_globals;
9659}
9660extern "C" {
9661    pub fn zendparse() -> ::std::os::raw::c_int;
9662}
9663extern "C" {
9664    pub static mut executor_globals: zend_executor_globals;
9665}
9666extern "C" {
9667    pub static mut language_scanner_globals: zend_php_scanner_globals;
9668}
9669extern "C" {
9670    pub static mut ini_scanner_globals: zend_ini_scanner_globals;
9671}
9672#[repr(C)]
9673#[derive(Debug, Copy, Clone)]
9674pub struct _zend_stack {
9675    pub top: ::std::os::raw::c_int,
9676    pub max: ::std::os::raw::c_int,
9677    pub elements: *mut *mut ::std::os::raw::c_void,
9678}
9679#[test]
9680fn bindgen_test_layout__zend_stack() {
9681    assert_eq!(
9682        ::std::mem::size_of::<_zend_stack>(),
9683        16usize,
9684        concat!("Size of: ", stringify!(_zend_stack))
9685    );
9686    assert_eq!(
9687        ::std::mem::align_of::<_zend_stack>(),
9688        8usize,
9689        concat!("Alignment of ", stringify!(_zend_stack))
9690    );
9691    assert_eq!(
9692        unsafe { &(*(::std::ptr::null::<_zend_stack>())).top as *const _ as usize },
9693        0usize,
9694        concat!(
9695            "Offset of field: ",
9696            stringify!(_zend_stack),
9697            "::",
9698            stringify!(top)
9699        )
9700    );
9701    assert_eq!(
9702        unsafe { &(*(::std::ptr::null::<_zend_stack>())).max as *const _ as usize },
9703        4usize,
9704        concat!(
9705            "Offset of field: ",
9706            stringify!(_zend_stack),
9707            "::",
9708            stringify!(max)
9709        )
9710    );
9711    assert_eq!(
9712        unsafe { &(*(::std::ptr::null::<_zend_stack>())).elements as *const _ as usize },
9713        8usize,
9714        concat!(
9715            "Offset of field: ",
9716            stringify!(_zend_stack),
9717            "::",
9718            stringify!(elements)
9719        )
9720    );
9721}
9722pub type zend_stack = _zend_stack;
9723extern "C" {
9724    pub fn zend_stack_init(stack: *mut zend_stack) -> ::std::os::raw::c_int;
9725}
9726extern "C" {
9727    pub fn zend_stack_push(
9728        stack: *mut zend_stack,
9729        element: *const ::std::os::raw::c_void,
9730        size: ::std::os::raw::c_int,
9731    ) -> ::std::os::raw::c_int;
9732}
9733extern "C" {
9734    pub fn zend_stack_top(
9735        stack: *const zend_stack,
9736        element: *mut *mut ::std::os::raw::c_void,
9737    ) -> ::std::os::raw::c_int;
9738}
9739extern "C" {
9740    pub fn zend_stack_del_top(stack: *mut zend_stack) -> ::std::os::raw::c_int;
9741}
9742extern "C" {
9743    pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
9744}
9745extern "C" {
9746    pub fn zend_stack_is_empty(stack: *const zend_stack) -> ::std::os::raw::c_int;
9747}
9748extern "C" {
9749    pub fn zend_stack_destroy(stack: *mut zend_stack) -> ::std::os::raw::c_int;
9750}
9751extern "C" {
9752    pub fn zend_stack_base(stack: *const zend_stack) -> *mut *mut ::std::os::raw::c_void;
9753}
9754extern "C" {
9755    pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
9756}
9757extern "C" {
9758    pub fn zend_stack_apply(
9759        stack: *mut zend_stack,
9760        type_: ::std::os::raw::c_int,
9761        apply_function: ::std::option::Option<
9762            unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
9763        >,
9764    );
9765}
9766extern "C" {
9767    pub fn zend_stack_apply_with_argument(
9768        stack: *mut zend_stack,
9769        type_: ::std::os::raw::c_int,
9770        apply_function: ::std::option::Option<
9771            unsafe extern "C" fn(
9772                element: *mut ::std::os::raw::c_void,
9773                arg: *mut ::std::os::raw::c_void,
9774            ) -> ::std::os::raw::c_int,
9775        >,
9776        arg: *mut ::std::os::raw::c_void,
9777    );
9778}
9779#[repr(C)]
9780#[derive(Debug, Copy, Clone)]
9781pub struct _zend_ptr_stack {
9782    pub top: ::std::os::raw::c_int,
9783    pub max: ::std::os::raw::c_int,
9784    pub elements: *mut *mut ::std::os::raw::c_void,
9785    pub top_element: *mut *mut ::std::os::raw::c_void,
9786    pub persistent: zend_bool,
9787}
9788#[test]
9789fn bindgen_test_layout__zend_ptr_stack() {
9790    assert_eq!(
9791        ::std::mem::size_of::<_zend_ptr_stack>(),
9792        32usize,
9793        concat!("Size of: ", stringify!(_zend_ptr_stack))
9794    );
9795    assert_eq!(
9796        ::std::mem::align_of::<_zend_ptr_stack>(),
9797        8usize,
9798        concat!("Alignment of ", stringify!(_zend_ptr_stack))
9799    );
9800    assert_eq!(
9801        unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).top as *const _ as usize },
9802        0usize,
9803        concat!(
9804            "Offset of field: ",
9805            stringify!(_zend_ptr_stack),
9806            "::",
9807            stringify!(top)
9808        )
9809    );
9810    assert_eq!(
9811        unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).max as *const _ as usize },
9812        4usize,
9813        concat!(
9814            "Offset of field: ",
9815            stringify!(_zend_ptr_stack),
9816            "::",
9817            stringify!(max)
9818        )
9819    );
9820    assert_eq!(
9821        unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).elements as *const _ as usize },
9822        8usize,
9823        concat!(
9824            "Offset of field: ",
9825            stringify!(_zend_ptr_stack),
9826            "::",
9827            stringify!(elements)
9828        )
9829    );
9830    assert_eq!(
9831        unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).top_element as *const _ as usize },
9832        16usize,
9833        concat!(
9834            "Offset of field: ",
9835            stringify!(_zend_ptr_stack),
9836            "::",
9837            stringify!(top_element)
9838        )
9839    );
9840    assert_eq!(
9841        unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).persistent as *const _ as usize },
9842        24usize,
9843        concat!(
9844            "Offset of field: ",
9845            stringify!(_zend_ptr_stack),
9846            "::",
9847            stringify!(persistent)
9848        )
9849    );
9850}
9851pub type zend_ptr_stack = _zend_ptr_stack;
9852extern "C" {
9853    pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
9854}
9855extern "C" {
9856    pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: zend_bool);
9857}
9858extern "C" {
9859    pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
9860}
9861extern "C" {
9862    pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
9863}
9864extern "C" {
9865    pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
9866}
9867extern "C" {
9868    pub fn zend_ptr_stack_apply(
9869        stack: *mut zend_ptr_stack,
9870        func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
9871    );
9872}
9873extern "C" {
9874    pub fn zend_ptr_stack_clean(
9875        stack: *mut zend_ptr_stack,
9876        func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
9877        free_elements: zend_bool,
9878    );
9879}
9880extern "C" {
9881    pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
9882}
9883extern "C" {
9884    pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
9885}
9886extern "C" {
9887    pub fn zend_object_std_dtor(object: *mut zend_object);
9888}
9889extern "C" {
9890    pub fn zend_objects_new(
9891        object: *mut *mut zend_object,
9892        class_type: *mut zend_class_entry,
9893    ) -> zend_object_value;
9894}
9895extern "C" {
9896    pub fn zend_objects_destroy_object(object: *mut zend_object, handle: zend_object_handle);
9897}
9898extern "C" {
9899    pub fn zend_objects_get_address(object: *const zval) -> *mut zend_object;
9900}
9901extern "C" {
9902    pub fn zend_objects_clone_members(
9903        new_object: *mut zend_object,
9904        new_obj_val: zend_object_value,
9905        old_object: *mut zend_object,
9906        handle: zend_object_handle,
9907    );
9908}
9909extern "C" {
9910    pub fn zend_objects_clone_obj(object: *mut zval) -> zend_object_value;
9911}
9912extern "C" {
9913    pub fn zend_objects_free_object_storage(object: *mut zend_object);
9914}
9915pub type zend_objects_store_dtor_t = ::std::option::Option<
9916    unsafe extern "C" fn(object: *mut ::std::os::raw::c_void, handle: zend_object_handle),
9917>;
9918pub type zend_objects_free_object_storage_t =
9919    ::std::option::Option<unsafe extern "C" fn(object: *mut ::std::os::raw::c_void)>;
9920pub type zend_objects_store_clone_t = ::std::option::Option<
9921    unsafe extern "C" fn(
9922        object: *mut ::std::os::raw::c_void,
9923        object_clone: *mut *mut ::std::os::raw::c_void,
9924    ),
9925>;
9926#[repr(C)]
9927#[derive(Copy, Clone)]
9928pub struct _zend_object_store_bucket {
9929    pub destructor_called: zend_bool,
9930    pub valid: zend_bool,
9931    pub apply_count: zend_uchar,
9932    pub bucket: _zend_object_store_bucket__store_bucket,
9933}
9934#[repr(C)]
9935#[derive(Copy, Clone)]
9936pub union _zend_object_store_bucket__store_bucket {
9937    pub obj: _zend_object_store_bucket__store_bucket__store_object,
9938    pub free_list: _zend_object_store_bucket__store_bucket__bindgen_ty_1,
9939    _bindgen_union_align: [u64; 7usize],
9940}
9941#[repr(C)]
9942#[derive(Debug, Copy, Clone)]
9943pub struct _zend_object_store_bucket__store_bucket__store_object {
9944    pub object: *mut ::std::os::raw::c_void,
9945    pub dtor: zend_objects_store_dtor_t,
9946    pub free_storage: zend_objects_free_object_storage_t,
9947    pub clone: zend_objects_store_clone_t,
9948    pub handlers: *const zend_object_handlers,
9949    pub refcount: zend_uint,
9950    pub buffered: *mut gc_root_buffer,
9951}
9952#[test]
9953fn bindgen_test_layout__zend_object_store_bucket__store_bucket__store_object() {
9954    assert_eq!(
9955        ::std::mem::size_of::<_zend_object_store_bucket__store_bucket__store_object>(),
9956        56usize,
9957        concat!(
9958            "Size of: ",
9959            stringify!(_zend_object_store_bucket__store_bucket__store_object)
9960        )
9961    );
9962    assert_eq!(
9963        ::std::mem::align_of::<_zend_object_store_bucket__store_bucket__store_object>(),
9964        8usize,
9965        concat!(
9966            "Alignment of ",
9967            stringify!(_zend_object_store_bucket__store_bucket__store_object)
9968        )
9969    );
9970    assert_eq!(
9971        unsafe {
9972            &(*(::std::ptr::null::<_zend_object_store_bucket__store_bucket__store_object>())).object
9973                as *const _ as usize
9974        },
9975        0usize,
9976        concat!(
9977            "Offset of field: ",
9978            stringify!(_zend_object_store_bucket__store_bucket__store_object),
9979            "::",
9980            stringify!(object)
9981        )
9982    );
9983    assert_eq!(
9984        unsafe {
9985            &(*(::std::ptr::null::<_zend_object_store_bucket__store_bucket__store_object>())).dtor
9986                as *const _ as usize
9987        },
9988        8usize,
9989        concat!(
9990            "Offset of field: ",
9991            stringify!(_zend_object_store_bucket__store_bucket__store_object),
9992            "::",
9993            stringify!(dtor)
9994        )
9995    );
9996    assert_eq!(
9997        unsafe {
9998            &(*(::std::ptr::null::<_zend_object_store_bucket__store_bucket__store_object>()))
9999                .free_storage as *const _ as usize
10000        },
10001        16usize,
10002        concat!(
10003            "Offset of field: ",
10004            stringify!(_zend_object_store_bucket__store_bucket__store_object),
10005            "::",
10006            stringify!(free_storage)
10007        )
10008    );
10009    assert_eq!(
10010        unsafe {
10011            &(*(::std::ptr::null::<_zend_object_store_bucket__store_bucket__store_object>())).clone
10012                as *const _ as usize
10013        },
10014        24usize,
10015        concat!(
10016            "Offset of field: ",
10017            stringify!(_zend_object_store_bucket__store_bucket__store_object),
10018            "::",
10019            stringify!(clone)
10020        )
10021    );
10022    assert_eq!(
10023        unsafe {
10024            &(*(::std::ptr::null::<_zend_object_store_bucket__store_bucket__store_object>()))
10025                .handlers as *const _ as usize
10026        },
10027        32usize,
10028        concat!(
10029            "Offset of field: ",
10030            stringify!(_zend_object_store_bucket__store_bucket__store_object),
10031            "::",
10032            stringify!(handlers)
10033        )
10034    );
10035    assert_eq!(
10036        unsafe {
10037            &(*(::std::ptr::null::<_zend_object_store_bucket__store_bucket__store_object>()))
10038                .refcount as *const _ as usize
10039        },
10040        40usize,
10041        concat!(
10042            "Offset of field: ",
10043            stringify!(_zend_object_store_bucket__store_bucket__store_object),
10044            "::",
10045            stringify!(refcount)
10046        )
10047    );
10048    assert_eq!(
10049        unsafe {
10050            &(*(::std::ptr::null::<_zend_object_store_bucket__store_bucket__store_object>()))
10051                .buffered as *const _ as usize
10052        },
10053        48usize,
10054        concat!(
10055            "Offset of field: ",
10056            stringify!(_zend_object_store_bucket__store_bucket__store_object),
10057            "::",
10058            stringify!(buffered)
10059        )
10060    );
10061}
10062#[repr(C)]
10063#[derive(Debug, Copy, Clone)]
10064pub struct _zend_object_store_bucket__store_bucket__bindgen_ty_1 {
10065    pub next: ::std::os::raw::c_int,
10066}
10067#[test]
10068fn bindgen_test_layout__zend_object_store_bucket__store_bucket__bindgen_ty_1() {
10069    assert_eq!(
10070        ::std::mem::size_of::<_zend_object_store_bucket__store_bucket__bindgen_ty_1>(),
10071        4usize,
10072        concat!(
10073            "Size of: ",
10074            stringify!(_zend_object_store_bucket__store_bucket__bindgen_ty_1)
10075        )
10076    );
10077    assert_eq!(
10078        ::std::mem::align_of::<_zend_object_store_bucket__store_bucket__bindgen_ty_1>(),
10079        4usize,
10080        concat!(
10081            "Alignment of ",
10082            stringify!(_zend_object_store_bucket__store_bucket__bindgen_ty_1)
10083        )
10084    );
10085    assert_eq!(
10086        unsafe {
10087            &(*(::std::ptr::null::<_zend_object_store_bucket__store_bucket__bindgen_ty_1>())).next
10088                as *const _ as usize
10089        },
10090        0usize,
10091        concat!(
10092            "Offset of field: ",
10093            stringify!(_zend_object_store_bucket__store_bucket__bindgen_ty_1),
10094            "::",
10095            stringify!(next)
10096        )
10097    );
10098}
10099#[test]
10100fn bindgen_test_layout__zend_object_store_bucket__store_bucket() {
10101    assert_eq!(
10102        ::std::mem::size_of::<_zend_object_store_bucket__store_bucket>(),
10103        56usize,
10104        concat!(
10105            "Size of: ",
10106            stringify!(_zend_object_store_bucket__store_bucket)
10107        )
10108    );
10109    assert_eq!(
10110        ::std::mem::align_of::<_zend_object_store_bucket__store_bucket>(),
10111        8usize,
10112        concat!(
10113            "Alignment of ",
10114            stringify!(_zend_object_store_bucket__store_bucket)
10115        )
10116    );
10117    assert_eq!(
10118        unsafe {
10119            &(*(::std::ptr::null::<_zend_object_store_bucket__store_bucket>())).obj as *const _
10120                as usize
10121        },
10122        0usize,
10123        concat!(
10124            "Offset of field: ",
10125            stringify!(_zend_object_store_bucket__store_bucket),
10126            "::",
10127            stringify!(obj)
10128        )
10129    );
10130    assert_eq!(
10131        unsafe {
10132            &(*(::std::ptr::null::<_zend_object_store_bucket__store_bucket>())).free_list
10133                as *const _ as usize
10134        },
10135        0usize,
10136        concat!(
10137            "Offset of field: ",
10138            stringify!(_zend_object_store_bucket__store_bucket),
10139            "::",
10140            stringify!(free_list)
10141        )
10142    );
10143}
10144#[test]
10145fn bindgen_test_layout__zend_object_store_bucket() {
10146    assert_eq!(
10147        ::std::mem::size_of::<_zend_object_store_bucket>(),
10148        64usize,
10149        concat!("Size of: ", stringify!(_zend_object_store_bucket))
10150    );
10151    assert_eq!(
10152        ::std::mem::align_of::<_zend_object_store_bucket>(),
10153        8usize,
10154        concat!("Alignment of ", stringify!(_zend_object_store_bucket))
10155    );
10156    assert_eq!(
10157        unsafe {
10158            &(*(::std::ptr::null::<_zend_object_store_bucket>())).destructor_called as *const _
10159                as usize
10160        },
10161        0usize,
10162        concat!(
10163            "Offset of field: ",
10164            stringify!(_zend_object_store_bucket),
10165            "::",
10166            stringify!(destructor_called)
10167        )
10168    );
10169    assert_eq!(
10170        unsafe { &(*(::std::ptr::null::<_zend_object_store_bucket>())).valid as *const _ as usize },
10171        1usize,
10172        concat!(
10173            "Offset of field: ",
10174            stringify!(_zend_object_store_bucket),
10175            "::",
10176            stringify!(valid)
10177        )
10178    );
10179    assert_eq!(
10180        unsafe {
10181            &(*(::std::ptr::null::<_zend_object_store_bucket>())).apply_count as *const _ as usize
10182        },
10183        2usize,
10184        concat!(
10185            "Offset of field: ",
10186            stringify!(_zend_object_store_bucket),
10187            "::",
10188            stringify!(apply_count)
10189        )
10190    );
10191    assert_eq!(
10192        unsafe {
10193            &(*(::std::ptr::null::<_zend_object_store_bucket>())).bucket as *const _ as usize
10194        },
10195        8usize,
10196        concat!(
10197            "Offset of field: ",
10198            stringify!(_zend_object_store_bucket),
10199            "::",
10200            stringify!(bucket)
10201        )
10202    );
10203}
10204pub type zend_object_store_bucket = _zend_object_store_bucket;
10205#[repr(C)]
10206#[derive(Debug, Copy, Clone)]
10207pub struct _zend_objects_store {
10208    pub object_buckets: *mut zend_object_store_bucket,
10209    pub top: zend_uint,
10210    pub size: zend_uint,
10211    pub free_list_head: ::std::os::raw::c_int,
10212}
10213#[test]
10214fn bindgen_test_layout__zend_objects_store() {
10215    assert_eq!(
10216        ::std::mem::size_of::<_zend_objects_store>(),
10217        24usize,
10218        concat!("Size of: ", stringify!(_zend_objects_store))
10219    );
10220    assert_eq!(
10221        ::std::mem::align_of::<_zend_objects_store>(),
10222        8usize,
10223        concat!("Alignment of ", stringify!(_zend_objects_store))
10224    );
10225    assert_eq!(
10226        unsafe {
10227            &(*(::std::ptr::null::<_zend_objects_store>())).object_buckets as *const _ as usize
10228        },
10229        0usize,
10230        concat!(
10231            "Offset of field: ",
10232            stringify!(_zend_objects_store),
10233            "::",
10234            stringify!(object_buckets)
10235        )
10236    );
10237    assert_eq!(
10238        unsafe { &(*(::std::ptr::null::<_zend_objects_store>())).top as *const _ as usize },
10239        8usize,
10240        concat!(
10241            "Offset of field: ",
10242            stringify!(_zend_objects_store),
10243            "::",
10244            stringify!(top)
10245        )
10246    );
10247    assert_eq!(
10248        unsafe { &(*(::std::ptr::null::<_zend_objects_store>())).size as *const _ as usize },
10249        12usize,
10250        concat!(
10251            "Offset of field: ",
10252            stringify!(_zend_objects_store),
10253            "::",
10254            stringify!(size)
10255        )
10256    );
10257    assert_eq!(
10258        unsafe {
10259            &(*(::std::ptr::null::<_zend_objects_store>())).free_list_head as *const _ as usize
10260        },
10261        16usize,
10262        concat!(
10263            "Offset of field: ",
10264            stringify!(_zend_objects_store),
10265            "::",
10266            stringify!(free_list_head)
10267        )
10268    );
10269}
10270pub type zend_objects_store = _zend_objects_store;
10271extern "C" {
10272    pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: zend_uint);
10273}
10274extern "C" {
10275    pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
10276}
10277extern "C" {
10278    pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
10279}
10280extern "C" {
10281    pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
10282}
10283extern "C" {
10284    pub fn zend_objects_store_put(
10285        object: *mut ::std::os::raw::c_void,
10286        dtor: zend_objects_store_dtor_t,
10287        storage: zend_objects_free_object_storage_t,
10288        clone: zend_objects_store_clone_t,
10289    ) -> zend_object_handle;
10290}
10291extern "C" {
10292    pub fn zend_objects_store_add_ref(object: *mut zval);
10293}
10294extern "C" {
10295    pub fn zend_objects_store_del_ref(object: *mut zval);
10296}
10297extern "C" {
10298    pub fn zend_objects_store_add_ref_by_handle(handle: zend_object_handle);
10299}
10300extern "C" {
10301    pub fn zend_objects_store_del_ref_by_handle_ex(
10302        handle: zend_object_handle,
10303        handlers: *const zend_object_handlers,
10304    );
10305}
10306extern "C" {
10307    pub fn zend_objects_store_get_refcount(object: *mut zval) -> zend_uint;
10308}
10309extern "C" {
10310    pub fn zend_objects_store_clone_obj(object: *mut zval) -> zend_object_value;
10311}
10312extern "C" {
10313    pub fn zend_object_store_get_object(object: *const zval) -> *mut ::std::os::raw::c_void;
10314}
10315extern "C" {
10316    pub fn zend_object_store_get_object_by_handle(
10317        handle: zend_object_handle,
10318    ) -> *mut ::std::os::raw::c_void;
10319}
10320extern "C" {
10321    pub fn zend_object_store_set_object(zobject: *mut zval, object: *mut ::std::os::raw::c_void);
10322}
10323extern "C" {
10324    pub fn zend_object_store_ctor_failed(zobject: *mut zval);
10325}
10326extern "C" {
10327    pub fn zend_objects_store_free_object_storage(objects: *mut zend_objects_store);
10328}
10329extern "C" {
10330    pub fn zend_object_create_proxy(object: *mut zval, member: *mut zval) -> *mut zval;
10331}
10332extern "C" {
10333    pub fn zend_get_std_object_handlers() -> *mut zend_object_handlers;
10334}
10335extern "C" {
10336    pub fn zend_init_fpu();
10337}
10338extern "C" {
10339    pub fn zend_shutdown_fpu();
10340}
10341extern "C" {
10342    pub fn zend_ensure_fpu_mode();
10343}
10344pub type fpu_control_t = ::std::os::raw::c_ushort;
10345#[repr(C)]
10346#[derive(Debug, Copy, Clone)]
10347pub struct _zend_encoding {
10348    _unused: [u8; 0],
10349}
10350pub type zend_encoding = _zend_encoding;
10351pub type zend_encoding_filter = ::std::option::Option<
10352    unsafe extern "C" fn(
10353        str_: *mut *mut ::std::os::raw::c_uchar,
10354        str_length: *mut size_t,
10355        buf: *const ::std::os::raw::c_uchar,
10356        length: size_t,
10357    ) -> size_t,
10358>;
10359pub type zend_encoding_fetcher = ::std::option::Option<
10360    unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
10361>;
10362pub type zend_encoding_name_getter = ::std::option::Option<
10363    unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
10364>;
10365pub type zend_encoding_lexer_compatibility_checker = ::std::option::Option<
10366    unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
10367>;
10368pub type zend_encoding_detector = ::std::option::Option<
10369    unsafe extern "C" fn(
10370        string: *const ::std::os::raw::c_uchar,
10371        length: size_t,
10372        list: *mut *const zend_encoding,
10373        list_size: size_t,
10374    ) -> *const zend_encoding,
10375>;
10376pub type zend_encoding_converter = ::std::option::Option<
10377    unsafe extern "C" fn(
10378        to: *mut *mut ::std::os::raw::c_uchar,
10379        to_length: *mut size_t,
10380        from: *const ::std::os::raw::c_uchar,
10381        from_length: size_t,
10382        encoding_to: *const zend_encoding,
10383        encoding_from: *const zend_encoding,
10384    ) -> size_t,
10385>;
10386pub type zend_encoding_list_parser = ::std::option::Option<
10387    unsafe extern "C" fn(
10388        encoding_list: *const ::std::os::raw::c_char,
10389        encoding_list_len: size_t,
10390        return_list: *mut *mut *const zend_encoding,
10391        return_size: *mut size_t,
10392        persistent: ::std::os::raw::c_int,
10393    ) -> ::std::os::raw::c_int,
10394>;
10395pub type zend_encoding_internal_encoding_getter =
10396    ::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
10397pub type zend_encoding_internal_encoding_setter = ::std::option::Option<
10398    unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
10399>;
10400#[repr(C)]
10401#[derive(Debug, Copy, Clone)]
10402pub struct _zend_multibyte_functions {
10403    pub provider_name: *const ::std::os::raw::c_char,
10404    pub encoding_fetcher: zend_encoding_fetcher,
10405    pub encoding_name_getter: zend_encoding_name_getter,
10406    pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
10407    pub encoding_detector: zend_encoding_detector,
10408    pub encoding_converter: zend_encoding_converter,
10409    pub encoding_list_parser: zend_encoding_list_parser,
10410    pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
10411    pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
10412}
10413#[test]
10414fn bindgen_test_layout__zend_multibyte_functions() {
10415    assert_eq!(
10416        ::std::mem::size_of::<_zend_multibyte_functions>(),
10417        72usize,
10418        concat!("Size of: ", stringify!(_zend_multibyte_functions))
10419    );
10420    assert_eq!(
10421        ::std::mem::align_of::<_zend_multibyte_functions>(),
10422        8usize,
10423        concat!("Alignment of ", stringify!(_zend_multibyte_functions))
10424    );
10425    assert_eq!(
10426        unsafe {
10427            &(*(::std::ptr::null::<_zend_multibyte_functions>())).provider_name as *const _ as usize
10428        },
10429        0usize,
10430        concat!(
10431            "Offset of field: ",
10432            stringify!(_zend_multibyte_functions),
10433            "::",
10434            stringify!(provider_name)
10435        )
10436    );
10437    assert_eq!(
10438        unsafe {
10439            &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_fetcher as *const _
10440                as usize
10441        },
10442        8usize,
10443        concat!(
10444            "Offset of field: ",
10445            stringify!(_zend_multibyte_functions),
10446            "::",
10447            stringify!(encoding_fetcher)
10448        )
10449    );
10450    assert_eq!(
10451        unsafe {
10452            &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_name_getter as *const _
10453                as usize
10454        },
10455        16usize,
10456        concat!(
10457            "Offset of field: ",
10458            stringify!(_zend_multibyte_functions),
10459            "::",
10460            stringify!(encoding_name_getter)
10461        )
10462    );
10463    assert_eq!(
10464        unsafe {
10465            &(*(::std::ptr::null::<_zend_multibyte_functions>())).lexer_compatibility_checker
10466                as *const _ as usize
10467        },
10468        24usize,
10469        concat!(
10470            "Offset of field: ",
10471            stringify!(_zend_multibyte_functions),
10472            "::",
10473            stringify!(lexer_compatibility_checker)
10474        )
10475    );
10476    assert_eq!(
10477        unsafe {
10478            &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_detector as *const _
10479                as usize
10480        },
10481        32usize,
10482        concat!(
10483            "Offset of field: ",
10484            stringify!(_zend_multibyte_functions),
10485            "::",
10486            stringify!(encoding_detector)
10487        )
10488    );
10489    assert_eq!(
10490        unsafe {
10491            &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_converter as *const _
10492                as usize
10493        },
10494        40usize,
10495        concat!(
10496            "Offset of field: ",
10497            stringify!(_zend_multibyte_functions),
10498            "::",
10499            stringify!(encoding_converter)
10500        )
10501    );
10502    assert_eq!(
10503        unsafe {
10504            &(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_list_parser as *const _
10505                as usize
10506        },
10507        48usize,
10508        concat!(
10509            "Offset of field: ",
10510            stringify!(_zend_multibyte_functions),
10511            "::",
10512            stringify!(encoding_list_parser)
10513        )
10514    );
10515    assert_eq!(
10516        unsafe {
10517            &(*(::std::ptr::null::<_zend_multibyte_functions>())).internal_encoding_getter
10518                as *const _ as usize
10519        },
10520        56usize,
10521        concat!(
10522            "Offset of field: ",
10523            stringify!(_zend_multibyte_functions),
10524            "::",
10525            stringify!(internal_encoding_getter)
10526        )
10527    );
10528    assert_eq!(
10529        unsafe {
10530            &(*(::std::ptr::null::<_zend_multibyte_functions>())).internal_encoding_setter
10531                as *const _ as usize
10532        },
10533        64usize,
10534        concat!(
10535            "Offset of field: ",
10536            stringify!(_zend_multibyte_functions),
10537            "::",
10538            stringify!(internal_encoding_setter)
10539        )
10540    );
10541}
10542pub type zend_multibyte_functions = _zend_multibyte_functions;
10543extern "C" {
10544    pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
10545}
10546extern "C" {
10547    pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
10548}
10549extern "C" {
10550    pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
10551}
10552extern "C" {
10553    pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
10554}
10555extern "C" {
10556    pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
10557}
10558extern "C" {
10559    pub fn zend_multibyte_set_functions(
10560        functions: *const zend_multibyte_functions,
10561    ) -> ::std::os::raw::c_int;
10562}
10563extern "C" {
10564    pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
10565}
10566extern "C" {
10567    pub fn zend_multibyte_fetch_encoding(
10568        name: *const ::std::os::raw::c_char,
10569    ) -> *const zend_encoding;
10570}
10571extern "C" {
10572    pub fn zend_multibyte_get_encoding_name(
10573        encoding: *const zend_encoding,
10574    ) -> *const ::std::os::raw::c_char;
10575}
10576extern "C" {
10577    pub fn zend_multibyte_check_lexer_compatibility(
10578        encoding: *const zend_encoding,
10579    ) -> ::std::os::raw::c_int;
10580}
10581extern "C" {
10582    pub fn zend_multibyte_encoding_detector(
10583        string: *const ::std::os::raw::c_uchar,
10584        length: size_t,
10585        list: *mut *const zend_encoding,
10586        list_size: size_t,
10587    ) -> *const zend_encoding;
10588}
10589extern "C" {
10590    pub fn zend_multibyte_encoding_converter(
10591        to: *mut *mut ::std::os::raw::c_uchar,
10592        to_length: *mut size_t,
10593        from: *const ::std::os::raw::c_uchar,
10594        from_length: size_t,
10595        encoding_to: *const zend_encoding,
10596        encoding_from: *const zend_encoding,
10597    ) -> size_t;
10598}
10599extern "C" {
10600    pub fn zend_multibyte_parse_encoding_list(
10601        encoding_list: *const ::std::os::raw::c_char,
10602        encoding_list_len: size_t,
10603        return_list: *mut *mut *const zend_encoding,
10604        return_size: *mut size_t,
10605        persistent: ::std::os::raw::c_int,
10606    ) -> ::std::os::raw::c_int;
10607}
10608extern "C" {
10609    pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
10610}
10611extern "C" {
10612    pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
10613}
10614extern "C" {
10615    pub fn zend_multibyte_set_script_encoding(
10616        encoding_list: *mut *const zend_encoding,
10617        encoding_list_size: size_t,
10618    ) -> ::std::os::raw::c_int;
10619}
10620extern "C" {
10621    pub fn zend_multibyte_set_internal_encoding(
10622        encoding: *const zend_encoding,
10623    ) -> ::std::os::raw::c_int;
10624}
10625extern "C" {
10626    pub fn zend_multibyte_set_script_encoding_by_string(
10627        new_value: *const ::std::os::raw::c_char,
10628        new_value_length: size_t,
10629    ) -> ::std::os::raw::c_int;
10630}
10631#[repr(C)]
10632#[derive(Copy, Clone)]
10633pub struct _zend_declarables {
10634    pub ticks: zval,
10635}
10636#[test]
10637fn bindgen_test_layout__zend_declarables() {
10638    assert_eq!(
10639        ::std::mem::size_of::<_zend_declarables>(),
10640        24usize,
10641        concat!("Size of: ", stringify!(_zend_declarables))
10642    );
10643    assert_eq!(
10644        ::std::mem::align_of::<_zend_declarables>(),
10645        8usize,
10646        concat!("Alignment of ", stringify!(_zend_declarables))
10647    );
10648    assert_eq!(
10649        unsafe { &(*(::std::ptr::null::<_zend_declarables>())).ticks as *const _ as usize },
10650        0usize,
10651        concat!(
10652            "Offset of field: ",
10653            stringify!(_zend_declarables),
10654            "::",
10655            stringify!(ticks)
10656        )
10657    );
10658}
10659pub type zend_declarables = _zend_declarables;
10660pub type zend_vm_stack = *mut _zend_vm_stack;
10661pub type zend_ini_entry = _zend_ini_entry;
10662#[repr(C)]
10663#[derive(Copy, Clone)]
10664pub struct _zend_executor_globals {
10665    pub return_value_ptr_ptr: *mut *mut zval,
10666    pub uninitialized_zval: zval,
10667    pub uninitialized_zval_ptr: *mut zval,
10668    pub error_zval: zval,
10669    pub error_zval_ptr: *mut zval,
10670    pub symtable_cache: [*mut HashTable; 32usize],
10671    pub symtable_cache_limit: *mut *mut HashTable,
10672    pub symtable_cache_ptr: *mut *mut HashTable,
10673    pub opline_ptr: *mut *mut zend_op,
10674    pub active_symbol_table: *mut HashTable,
10675    pub symbol_table: HashTable,
10676    pub included_files: HashTable,
10677    pub bailout: *mut jmp_buf,
10678    pub error_reporting: ::std::os::raw::c_int,
10679    pub orig_error_reporting: ::std::os::raw::c_int,
10680    pub exit_status: ::std::os::raw::c_int,
10681    pub active_op_array: *mut zend_op_array,
10682    pub function_table: *mut HashTable,
10683    pub class_table: *mut HashTable,
10684    pub zend_constants: *mut HashTable,
10685    pub scope: *mut zend_class_entry,
10686    pub called_scope: *mut zend_class_entry,
10687    pub This: *mut zval,
10688    pub precision: ::std::os::raw::c_long,
10689    pub ticks_count: ::std::os::raw::c_int,
10690    pub in_execution: zend_bool,
10691    pub in_autoload: *mut HashTable,
10692    pub autoload_func: *mut zend_function,
10693    pub full_tables_cleanup: zend_bool,
10694    pub no_extensions: zend_bool,
10695    pub regular_list: HashTable,
10696    pub persistent_list: HashTable,
10697    pub argument_stack: zend_vm_stack,
10698    pub user_error_handler_error_reporting: ::std::os::raw::c_int,
10699    pub user_error_handler: *mut zval,
10700    pub user_exception_handler: *mut zval,
10701    pub user_error_handlers_error_reporting: zend_stack,
10702    pub user_error_handlers: zend_ptr_stack,
10703    pub user_exception_handlers: zend_ptr_stack,
10704    pub error_handling: zend_error_handling_t,
10705    pub exception_class: *mut zend_class_entry,
10706    pub timeout_seconds: ::std::os::raw::c_int,
10707    pub lambda_count: ::std::os::raw::c_int,
10708    pub ini_directives: *mut HashTable,
10709    pub modified_ini_directives: *mut HashTable,
10710    pub error_reporting_ini_entry: *mut zend_ini_entry,
10711    pub objects_store: zend_objects_store,
10712    pub exception: *mut zval,
10713    pub prev_exception: *mut zval,
10714    pub opline_before_exception: *mut zend_op,
10715    pub exception_op: [zend_op; 3usize],
10716    pub current_execute_data: *mut _zend_execute_data,
10717    pub current_module: *mut _zend_module_entry,
10718    pub std_property_info: zend_property_info,
10719    pub active: zend_bool,
10720    pub start_op: *mut zend_op,
10721    pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
10722    pub saved_fpu_cw: fpu_control_t,
10723    pub reserved: [*mut ::std::os::raw::c_void; 4usize],
10724}
10725#[test]
10726fn bindgen_test_layout__zend_executor_globals() {
10727    assert_eq!(
10728        ::std::mem::size_of::<_zend_executor_globals>(),
10729        1264usize,
10730        concat!("Size of: ", stringify!(_zend_executor_globals))
10731    );
10732    assert_eq!(
10733        ::std::mem::align_of::<_zend_executor_globals>(),
10734        8usize,
10735        concat!("Alignment of ", stringify!(_zend_executor_globals))
10736    );
10737    assert_eq!(
10738        unsafe {
10739            &(*(::std::ptr::null::<_zend_executor_globals>())).return_value_ptr_ptr as *const _
10740                as usize
10741        },
10742        0usize,
10743        concat!(
10744            "Offset of field: ",
10745            stringify!(_zend_executor_globals),
10746            "::",
10747            stringify!(return_value_ptr_ptr)
10748        )
10749    );
10750    assert_eq!(
10751        unsafe {
10752            &(*(::std::ptr::null::<_zend_executor_globals>())).uninitialized_zval as *const _
10753                as usize
10754        },
10755        8usize,
10756        concat!(
10757            "Offset of field: ",
10758            stringify!(_zend_executor_globals),
10759            "::",
10760            stringify!(uninitialized_zval)
10761        )
10762    );
10763    assert_eq!(
10764        unsafe {
10765            &(*(::std::ptr::null::<_zend_executor_globals>())).uninitialized_zval_ptr as *const _
10766                as usize
10767        },
10768        32usize,
10769        concat!(
10770            "Offset of field: ",
10771            stringify!(_zend_executor_globals),
10772            "::",
10773            stringify!(uninitialized_zval_ptr)
10774        )
10775    );
10776    assert_eq!(
10777        unsafe {
10778            &(*(::std::ptr::null::<_zend_executor_globals>())).error_zval as *const _ as usize
10779        },
10780        40usize,
10781        concat!(
10782            "Offset of field: ",
10783            stringify!(_zend_executor_globals),
10784            "::",
10785            stringify!(error_zval)
10786        )
10787    );
10788    assert_eq!(
10789        unsafe {
10790            &(*(::std::ptr::null::<_zend_executor_globals>())).error_zval_ptr as *const _ as usize
10791        },
10792        64usize,
10793        concat!(
10794            "Offset of field: ",
10795            stringify!(_zend_executor_globals),
10796            "::",
10797            stringify!(error_zval_ptr)
10798        )
10799    );
10800    assert_eq!(
10801        unsafe {
10802            &(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache as *const _ as usize
10803        },
10804        72usize,
10805        concat!(
10806            "Offset of field: ",
10807            stringify!(_zend_executor_globals),
10808            "::",
10809            stringify!(symtable_cache)
10810        )
10811    );
10812    assert_eq!(
10813        unsafe {
10814            &(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache_limit as *const _
10815                as usize
10816        },
10817        328usize,
10818        concat!(
10819            "Offset of field: ",
10820            stringify!(_zend_executor_globals),
10821            "::",
10822            stringify!(symtable_cache_limit)
10823        )
10824    );
10825    assert_eq!(
10826        unsafe {
10827            &(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache_ptr as *const _
10828                as usize
10829        },
10830        336usize,
10831        concat!(
10832            "Offset of field: ",
10833            stringify!(_zend_executor_globals),
10834            "::",
10835            stringify!(symtable_cache_ptr)
10836        )
10837    );
10838    assert_eq!(
10839        unsafe {
10840            &(*(::std::ptr::null::<_zend_executor_globals>())).opline_ptr as *const _ as usize
10841        },
10842        344usize,
10843        concat!(
10844            "Offset of field: ",
10845            stringify!(_zend_executor_globals),
10846            "::",
10847            stringify!(opline_ptr)
10848        )
10849    );
10850    assert_eq!(
10851        unsafe {
10852            &(*(::std::ptr::null::<_zend_executor_globals>())).active_symbol_table as *const _
10853                as usize
10854        },
10855        352usize,
10856        concat!(
10857            "Offset of field: ",
10858            stringify!(_zend_executor_globals),
10859            "::",
10860            stringify!(active_symbol_table)
10861        )
10862    );
10863    assert_eq!(
10864        unsafe {
10865            &(*(::std::ptr::null::<_zend_executor_globals>())).symbol_table as *const _ as usize
10866        },
10867        360usize,
10868        concat!(
10869            "Offset of field: ",
10870            stringify!(_zend_executor_globals),
10871            "::",
10872            stringify!(symbol_table)
10873        )
10874    );
10875    assert_eq!(
10876        unsafe {
10877            &(*(::std::ptr::null::<_zend_executor_globals>())).included_files as *const _ as usize
10878        },
10879        432usize,
10880        concat!(
10881            "Offset of field: ",
10882            stringify!(_zend_executor_globals),
10883            "::",
10884            stringify!(included_files)
10885        )
10886    );
10887    assert_eq!(
10888        unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).bailout as *const _ as usize },
10889        504usize,
10890        concat!(
10891            "Offset of field: ",
10892            stringify!(_zend_executor_globals),
10893            "::",
10894            stringify!(bailout)
10895        )
10896    );
10897    assert_eq!(
10898        unsafe {
10899            &(*(::std::ptr::null::<_zend_executor_globals>())).error_reporting as *const _ as usize
10900        },
10901        512usize,
10902        concat!(
10903            "Offset of field: ",
10904            stringify!(_zend_executor_globals),
10905            "::",
10906            stringify!(error_reporting)
10907        )
10908    );
10909    assert_eq!(
10910        unsafe {
10911            &(*(::std::ptr::null::<_zend_executor_globals>())).orig_error_reporting as *const _
10912                as usize
10913        },
10914        516usize,
10915        concat!(
10916            "Offset of field: ",
10917            stringify!(_zend_executor_globals),
10918            "::",
10919            stringify!(orig_error_reporting)
10920        )
10921    );
10922    assert_eq!(
10923        unsafe {
10924            &(*(::std::ptr::null::<_zend_executor_globals>())).exit_status as *const _ as usize
10925        },
10926        520usize,
10927        concat!(
10928            "Offset of field: ",
10929            stringify!(_zend_executor_globals),
10930            "::",
10931            stringify!(exit_status)
10932        )
10933    );
10934    assert_eq!(
10935        unsafe {
10936            &(*(::std::ptr::null::<_zend_executor_globals>())).active_op_array as *const _ as usize
10937        },
10938        528usize,
10939        concat!(
10940            "Offset of field: ",
10941            stringify!(_zend_executor_globals),
10942            "::",
10943            stringify!(active_op_array)
10944        )
10945    );
10946    assert_eq!(
10947        unsafe {
10948            &(*(::std::ptr::null::<_zend_executor_globals>())).function_table as *const _ as usize
10949        },
10950        536usize,
10951        concat!(
10952            "Offset of field: ",
10953            stringify!(_zend_executor_globals),
10954            "::",
10955            stringify!(function_table)
10956        )
10957    );
10958    assert_eq!(
10959        unsafe {
10960            &(*(::std::ptr::null::<_zend_executor_globals>())).class_table as *const _ as usize
10961        },
10962        544usize,
10963        concat!(
10964            "Offset of field: ",
10965            stringify!(_zend_executor_globals),
10966            "::",
10967            stringify!(class_table)
10968        )
10969    );
10970    assert_eq!(
10971        unsafe {
10972            &(*(::std::ptr::null::<_zend_executor_globals>())).zend_constants as *const _ as usize
10973        },
10974        552usize,
10975        concat!(
10976            "Offset of field: ",
10977            stringify!(_zend_executor_globals),
10978            "::",
10979            stringify!(zend_constants)
10980        )
10981    );
10982    assert_eq!(
10983        unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).scope as *const _ as usize },
10984        560usize,
10985        concat!(
10986            "Offset of field: ",
10987            stringify!(_zend_executor_globals),
10988            "::",
10989            stringify!(scope)
10990        )
10991    );
10992    assert_eq!(
10993        unsafe {
10994            &(*(::std::ptr::null::<_zend_executor_globals>())).called_scope as *const _ as usize
10995        },
10996        568usize,
10997        concat!(
10998            "Offset of field: ",
10999            stringify!(_zend_executor_globals),
11000            "::",
11001            stringify!(called_scope)
11002        )
11003    );
11004    assert_eq!(
11005        unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).This as *const _ as usize },
11006        576usize,
11007        concat!(
11008            "Offset of field: ",
11009            stringify!(_zend_executor_globals),
11010            "::",
11011            stringify!(This)
11012        )
11013    );
11014    assert_eq!(
11015        unsafe {
11016            &(*(::std::ptr::null::<_zend_executor_globals>())).precision as *const _ as usize
11017        },
11018        584usize,
11019        concat!(
11020            "Offset of field: ",
11021            stringify!(_zend_executor_globals),
11022            "::",
11023            stringify!(precision)
11024        )
11025    );
11026    assert_eq!(
11027        unsafe {
11028            &(*(::std::ptr::null::<_zend_executor_globals>())).ticks_count as *const _ as usize
11029        },
11030        592usize,
11031        concat!(
11032            "Offset of field: ",
11033            stringify!(_zend_executor_globals),
11034            "::",
11035            stringify!(ticks_count)
11036        )
11037    );
11038    assert_eq!(
11039        unsafe {
11040            &(*(::std::ptr::null::<_zend_executor_globals>())).in_execution as *const _ as usize
11041        },
11042        596usize,
11043        concat!(
11044            "Offset of field: ",
11045            stringify!(_zend_executor_globals),
11046            "::",
11047            stringify!(in_execution)
11048        )
11049    );
11050    assert_eq!(
11051        unsafe {
11052            &(*(::std::ptr::null::<_zend_executor_globals>())).in_autoload as *const _ as usize
11053        },
11054        600usize,
11055        concat!(
11056            "Offset of field: ",
11057            stringify!(_zend_executor_globals),
11058            "::",
11059            stringify!(in_autoload)
11060        )
11061    );
11062    assert_eq!(
11063        unsafe {
11064            &(*(::std::ptr::null::<_zend_executor_globals>())).autoload_func as *const _ as usize
11065        },
11066        608usize,
11067        concat!(
11068            "Offset of field: ",
11069            stringify!(_zend_executor_globals),
11070            "::",
11071            stringify!(autoload_func)
11072        )
11073    );
11074    assert_eq!(
11075        unsafe {
11076            &(*(::std::ptr::null::<_zend_executor_globals>())).full_tables_cleanup as *const _
11077                as usize
11078        },
11079        616usize,
11080        concat!(
11081            "Offset of field: ",
11082            stringify!(_zend_executor_globals),
11083            "::",
11084            stringify!(full_tables_cleanup)
11085        )
11086    );
11087    assert_eq!(
11088        unsafe {
11089            &(*(::std::ptr::null::<_zend_executor_globals>())).no_extensions as *const _ as usize
11090        },
11091        617usize,
11092        concat!(
11093            "Offset of field: ",
11094            stringify!(_zend_executor_globals),
11095            "::",
11096            stringify!(no_extensions)
11097        )
11098    );
11099    assert_eq!(
11100        unsafe {
11101            &(*(::std::ptr::null::<_zend_executor_globals>())).regular_list as *const _ as usize
11102        },
11103        624usize,
11104        concat!(
11105            "Offset of field: ",
11106            stringify!(_zend_executor_globals),
11107            "::",
11108            stringify!(regular_list)
11109        )
11110    );
11111    assert_eq!(
11112        unsafe {
11113            &(*(::std::ptr::null::<_zend_executor_globals>())).persistent_list as *const _ as usize
11114        },
11115        696usize,
11116        concat!(
11117            "Offset of field: ",
11118            stringify!(_zend_executor_globals),
11119            "::",
11120            stringify!(persistent_list)
11121        )
11122    );
11123    assert_eq!(
11124        unsafe {
11125            &(*(::std::ptr::null::<_zend_executor_globals>())).argument_stack as *const _ as usize
11126        },
11127        768usize,
11128        concat!(
11129            "Offset of field: ",
11130            stringify!(_zend_executor_globals),
11131            "::",
11132            stringify!(argument_stack)
11133        )
11134    );
11135    assert_eq!(
11136        unsafe {
11137            &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handler_error_reporting
11138                as *const _ as usize
11139        },
11140        776usize,
11141        concat!(
11142            "Offset of field: ",
11143            stringify!(_zend_executor_globals),
11144            "::",
11145            stringify!(user_error_handler_error_reporting)
11146        )
11147    );
11148    assert_eq!(
11149        unsafe {
11150            &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handler as *const _
11151                as usize
11152        },
11153        784usize,
11154        concat!(
11155            "Offset of field: ",
11156            stringify!(_zend_executor_globals),
11157            "::",
11158            stringify!(user_error_handler)
11159        )
11160    );
11161    assert_eq!(
11162        unsafe {
11163            &(*(::std::ptr::null::<_zend_executor_globals>())).user_exception_handler as *const _
11164                as usize
11165        },
11166        792usize,
11167        concat!(
11168            "Offset of field: ",
11169            stringify!(_zend_executor_globals),
11170            "::",
11171            stringify!(user_exception_handler)
11172        )
11173    );
11174    assert_eq!(
11175        unsafe {
11176            &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handlers_error_reporting
11177                as *const _ as usize
11178        },
11179        800usize,
11180        concat!(
11181            "Offset of field: ",
11182            stringify!(_zend_executor_globals),
11183            "::",
11184            stringify!(user_error_handlers_error_reporting)
11185        )
11186    );
11187    assert_eq!(
11188        unsafe {
11189            &(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handlers as *const _
11190                as usize
11191        },
11192        816usize,
11193        concat!(
11194            "Offset of field: ",
11195            stringify!(_zend_executor_globals),
11196            "::",
11197            stringify!(user_error_handlers)
11198        )
11199    );
11200    assert_eq!(
11201        unsafe {
11202            &(*(::std::ptr::null::<_zend_executor_globals>())).user_exception_handlers as *const _
11203                as usize
11204        },
11205        848usize,
11206        concat!(
11207            "Offset of field: ",
11208            stringify!(_zend_executor_globals),
11209            "::",
11210            stringify!(user_exception_handlers)
11211        )
11212    );
11213    assert_eq!(
11214        unsafe {
11215            &(*(::std::ptr::null::<_zend_executor_globals>())).error_handling as *const _ as usize
11216        },
11217        880usize,
11218        concat!(
11219            "Offset of field: ",
11220            stringify!(_zend_executor_globals),
11221            "::",
11222            stringify!(error_handling)
11223        )
11224    );
11225    assert_eq!(
11226        unsafe {
11227            &(*(::std::ptr::null::<_zend_executor_globals>())).exception_class as *const _ as usize
11228        },
11229        888usize,
11230        concat!(
11231            "Offset of field: ",
11232            stringify!(_zend_executor_globals),
11233            "::",
11234            stringify!(exception_class)
11235        )
11236    );
11237    assert_eq!(
11238        unsafe {
11239            &(*(::std::ptr::null::<_zend_executor_globals>())).timeout_seconds as *const _ as usize
11240        },
11241        896usize,
11242        concat!(
11243            "Offset of field: ",
11244            stringify!(_zend_executor_globals),
11245            "::",
11246            stringify!(timeout_seconds)
11247        )
11248    );
11249    assert_eq!(
11250        unsafe {
11251            &(*(::std::ptr::null::<_zend_executor_globals>())).lambda_count as *const _ as usize
11252        },
11253        900usize,
11254        concat!(
11255            "Offset of field: ",
11256            stringify!(_zend_executor_globals),
11257            "::",
11258            stringify!(lambda_count)
11259        )
11260    );
11261    assert_eq!(
11262        unsafe {
11263            &(*(::std::ptr::null::<_zend_executor_globals>())).ini_directives as *const _ as usize
11264        },
11265        904usize,
11266        concat!(
11267            "Offset of field: ",
11268            stringify!(_zend_executor_globals),
11269            "::",
11270            stringify!(ini_directives)
11271        )
11272    );
11273    assert_eq!(
11274        unsafe {
11275            &(*(::std::ptr::null::<_zend_executor_globals>())).modified_ini_directives as *const _
11276                as usize
11277        },
11278        912usize,
11279        concat!(
11280            "Offset of field: ",
11281            stringify!(_zend_executor_globals),
11282            "::",
11283            stringify!(modified_ini_directives)
11284        )
11285    );
11286    assert_eq!(
11287        unsafe {
11288            &(*(::std::ptr::null::<_zend_executor_globals>())).error_reporting_ini_entry as *const _
11289                as usize
11290        },
11291        920usize,
11292        concat!(
11293            "Offset of field: ",
11294            stringify!(_zend_executor_globals),
11295            "::",
11296            stringify!(error_reporting_ini_entry)
11297        )
11298    );
11299    assert_eq!(
11300        unsafe {
11301            &(*(::std::ptr::null::<_zend_executor_globals>())).objects_store as *const _ as usize
11302        },
11303        928usize,
11304        concat!(
11305            "Offset of field: ",
11306            stringify!(_zend_executor_globals),
11307            "::",
11308            stringify!(objects_store)
11309        )
11310    );
11311    assert_eq!(
11312        unsafe {
11313            &(*(::std::ptr::null::<_zend_executor_globals>())).exception as *const _ as usize
11314        },
11315        952usize,
11316        concat!(
11317            "Offset of field: ",
11318            stringify!(_zend_executor_globals),
11319            "::",
11320            stringify!(exception)
11321        )
11322    );
11323    assert_eq!(
11324        unsafe {
11325            &(*(::std::ptr::null::<_zend_executor_globals>())).prev_exception as *const _ as usize
11326        },
11327        960usize,
11328        concat!(
11329            "Offset of field: ",
11330            stringify!(_zend_executor_globals),
11331            "::",
11332            stringify!(prev_exception)
11333        )
11334    );
11335    assert_eq!(
11336        unsafe {
11337            &(*(::std::ptr::null::<_zend_executor_globals>())).opline_before_exception as *const _
11338                as usize
11339        },
11340        968usize,
11341        concat!(
11342            "Offset of field: ",
11343            stringify!(_zend_executor_globals),
11344            "::",
11345            stringify!(opline_before_exception)
11346        )
11347    );
11348    assert_eq!(
11349        unsafe {
11350            &(*(::std::ptr::null::<_zend_executor_globals>())).exception_op as *const _ as usize
11351        },
11352        976usize,
11353        concat!(
11354            "Offset of field: ",
11355            stringify!(_zend_executor_globals),
11356            "::",
11357            stringify!(exception_op)
11358        )
11359    );
11360    assert_eq!(
11361        unsafe {
11362            &(*(::std::ptr::null::<_zend_executor_globals>())).current_execute_data as *const _
11363                as usize
11364        },
11365        1120usize,
11366        concat!(
11367            "Offset of field: ",
11368            stringify!(_zend_executor_globals),
11369            "::",
11370            stringify!(current_execute_data)
11371        )
11372    );
11373    assert_eq!(
11374        unsafe {
11375            &(*(::std::ptr::null::<_zend_executor_globals>())).current_module as *const _ as usize
11376        },
11377        1128usize,
11378        concat!(
11379            "Offset of field: ",
11380            stringify!(_zend_executor_globals),
11381            "::",
11382            stringify!(current_module)
11383        )
11384    );
11385    assert_eq!(
11386        unsafe {
11387            &(*(::std::ptr::null::<_zend_executor_globals>())).std_property_info as *const _
11388                as usize
11389        },
11390        1136usize,
11391        concat!(
11392            "Offset of field: ",
11393            stringify!(_zend_executor_globals),
11394            "::",
11395            stringify!(std_property_info)
11396        )
11397    );
11398    assert_eq!(
11399        unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).active as *const _ as usize },
11400        1200usize,
11401        concat!(
11402            "Offset of field: ",
11403            stringify!(_zend_executor_globals),
11404            "::",
11405            stringify!(active)
11406        )
11407    );
11408    assert_eq!(
11409        unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).start_op as *const _ as usize },
11410        1208usize,
11411        concat!(
11412            "Offset of field: ",
11413            stringify!(_zend_executor_globals),
11414            "::",
11415            stringify!(start_op)
11416        )
11417    );
11418    assert_eq!(
11419        unsafe {
11420            &(*(::std::ptr::null::<_zend_executor_globals>())).saved_fpu_cw_ptr as *const _ as usize
11421        },
11422        1216usize,
11423        concat!(
11424            "Offset of field: ",
11425            stringify!(_zend_executor_globals),
11426            "::",
11427            stringify!(saved_fpu_cw_ptr)
11428        )
11429    );
11430    assert_eq!(
11431        unsafe {
11432            &(*(::std::ptr::null::<_zend_executor_globals>())).saved_fpu_cw as *const _ as usize
11433        },
11434        1224usize,
11435        concat!(
11436            "Offset of field: ",
11437            stringify!(_zend_executor_globals),
11438            "::",
11439            stringify!(saved_fpu_cw)
11440        )
11441    );
11442    assert_eq!(
11443        unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).reserved as *const _ as usize },
11444        1232usize,
11445        concat!(
11446            "Offset of field: ",
11447            stringify!(_zend_executor_globals),
11448            "::",
11449            stringify!(reserved)
11450        )
11451    );
11452}
11453#[repr(C)]
11454#[derive(Debug, Copy, Clone)]
11455pub struct _zend_ini_scanner_globals {
11456    pub yy_in: *mut zend_file_handle,
11457    pub yy_out: *mut zend_file_handle,
11458    pub yy_leng: ::std::os::raw::c_uint,
11459    pub yy_start: *mut ::std::os::raw::c_uchar,
11460    pub yy_text: *mut ::std::os::raw::c_uchar,
11461    pub yy_cursor: *mut ::std::os::raw::c_uchar,
11462    pub yy_marker: *mut ::std::os::raw::c_uchar,
11463    pub yy_limit: *mut ::std::os::raw::c_uchar,
11464    pub yy_state: ::std::os::raw::c_int,
11465    pub state_stack: zend_stack,
11466    pub filename: *mut ::std::os::raw::c_char,
11467    pub lineno: ::std::os::raw::c_int,
11468    pub scanner_mode: ::std::os::raw::c_int,
11469}
11470#[test]
11471fn bindgen_test_layout__zend_ini_scanner_globals() {
11472    assert_eq!(
11473        ::std::mem::size_of::<_zend_ini_scanner_globals>(),
11474        104usize,
11475        concat!("Size of: ", stringify!(_zend_ini_scanner_globals))
11476    );
11477    assert_eq!(
11478        ::std::mem::align_of::<_zend_ini_scanner_globals>(),
11479        8usize,
11480        concat!("Alignment of ", stringify!(_zend_ini_scanner_globals))
11481    );
11482    assert_eq!(
11483        unsafe { &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_in as *const _ as usize },
11484        0usize,
11485        concat!(
11486            "Offset of field: ",
11487            stringify!(_zend_ini_scanner_globals),
11488            "::",
11489            stringify!(yy_in)
11490        )
11491    );
11492    assert_eq!(
11493        unsafe {
11494            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_out as *const _ as usize
11495        },
11496        8usize,
11497        concat!(
11498            "Offset of field: ",
11499            stringify!(_zend_ini_scanner_globals),
11500            "::",
11501            stringify!(yy_out)
11502        )
11503    );
11504    assert_eq!(
11505        unsafe {
11506            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_leng as *const _ as usize
11507        },
11508        16usize,
11509        concat!(
11510            "Offset of field: ",
11511            stringify!(_zend_ini_scanner_globals),
11512            "::",
11513            stringify!(yy_leng)
11514        )
11515    );
11516    assert_eq!(
11517        unsafe {
11518            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_start as *const _ as usize
11519        },
11520        24usize,
11521        concat!(
11522            "Offset of field: ",
11523            stringify!(_zend_ini_scanner_globals),
11524            "::",
11525            stringify!(yy_start)
11526        )
11527    );
11528    assert_eq!(
11529        unsafe {
11530            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_text as *const _ as usize
11531        },
11532        32usize,
11533        concat!(
11534            "Offset of field: ",
11535            stringify!(_zend_ini_scanner_globals),
11536            "::",
11537            stringify!(yy_text)
11538        )
11539    );
11540    assert_eq!(
11541        unsafe {
11542            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_cursor as *const _ as usize
11543        },
11544        40usize,
11545        concat!(
11546            "Offset of field: ",
11547            stringify!(_zend_ini_scanner_globals),
11548            "::",
11549            stringify!(yy_cursor)
11550        )
11551    );
11552    assert_eq!(
11553        unsafe {
11554            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_marker as *const _ as usize
11555        },
11556        48usize,
11557        concat!(
11558            "Offset of field: ",
11559            stringify!(_zend_ini_scanner_globals),
11560            "::",
11561            stringify!(yy_marker)
11562        )
11563    );
11564    assert_eq!(
11565        unsafe {
11566            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_limit as *const _ as usize
11567        },
11568        56usize,
11569        concat!(
11570            "Offset of field: ",
11571            stringify!(_zend_ini_scanner_globals),
11572            "::",
11573            stringify!(yy_limit)
11574        )
11575    );
11576    assert_eq!(
11577        unsafe {
11578            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_state as *const _ as usize
11579        },
11580        64usize,
11581        concat!(
11582            "Offset of field: ",
11583            stringify!(_zend_ini_scanner_globals),
11584            "::",
11585            stringify!(yy_state)
11586        )
11587    );
11588    assert_eq!(
11589        unsafe {
11590            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).state_stack as *const _ as usize
11591        },
11592        72usize,
11593        concat!(
11594            "Offset of field: ",
11595            stringify!(_zend_ini_scanner_globals),
11596            "::",
11597            stringify!(state_stack)
11598        )
11599    );
11600    assert_eq!(
11601        unsafe {
11602            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).filename as *const _ as usize
11603        },
11604        88usize,
11605        concat!(
11606            "Offset of field: ",
11607            stringify!(_zend_ini_scanner_globals),
11608            "::",
11609            stringify!(filename)
11610        )
11611    );
11612    assert_eq!(
11613        unsafe {
11614            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).lineno as *const _ as usize
11615        },
11616        96usize,
11617        concat!(
11618            "Offset of field: ",
11619            stringify!(_zend_ini_scanner_globals),
11620            "::",
11621            stringify!(lineno)
11622        )
11623    );
11624    assert_eq!(
11625        unsafe {
11626            &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).scanner_mode as *const _ as usize
11627        },
11628        100usize,
11629        concat!(
11630            "Offset of field: ",
11631            stringify!(_zend_ini_scanner_globals),
11632            "::",
11633            stringify!(scanner_mode)
11634        )
11635    );
11636}
11637#[repr(C)]
11638#[derive(Debug, Copy, Clone)]
11639pub struct _zend_php_scanner_globals {
11640    pub yy_in: *mut zend_file_handle,
11641    pub yy_out: *mut zend_file_handle,
11642    pub yy_leng: ::std::os::raw::c_uint,
11643    pub yy_start: *mut ::std::os::raw::c_uchar,
11644    pub yy_text: *mut ::std::os::raw::c_uchar,
11645    pub yy_cursor: *mut ::std::os::raw::c_uchar,
11646    pub yy_marker: *mut ::std::os::raw::c_uchar,
11647    pub yy_limit: *mut ::std::os::raw::c_uchar,
11648    pub yy_state: ::std::os::raw::c_int,
11649    pub state_stack: zend_stack,
11650    pub heredoc_label_stack: zend_ptr_stack,
11651    pub script_org: *mut ::std::os::raw::c_uchar,
11652    pub script_org_size: size_t,
11653    pub script_filtered: *mut ::std::os::raw::c_uchar,
11654    pub script_filtered_size: size_t,
11655    pub input_filter: zend_encoding_filter,
11656    pub output_filter: zend_encoding_filter,
11657    pub script_encoding: *const zend_encoding,
11658}
11659#[test]
11660fn bindgen_test_layout__zend_php_scanner_globals() {
11661    assert_eq!(
11662        ::std::mem::size_of::<_zend_php_scanner_globals>(),
11663        176usize,
11664        concat!("Size of: ", stringify!(_zend_php_scanner_globals))
11665    );
11666    assert_eq!(
11667        ::std::mem::align_of::<_zend_php_scanner_globals>(),
11668        8usize,
11669        concat!("Alignment of ", stringify!(_zend_php_scanner_globals))
11670    );
11671    assert_eq!(
11672        unsafe { &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_in as *const _ as usize },
11673        0usize,
11674        concat!(
11675            "Offset of field: ",
11676            stringify!(_zend_php_scanner_globals),
11677            "::",
11678            stringify!(yy_in)
11679        )
11680    );
11681    assert_eq!(
11682        unsafe {
11683            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_out as *const _ as usize
11684        },
11685        8usize,
11686        concat!(
11687            "Offset of field: ",
11688            stringify!(_zend_php_scanner_globals),
11689            "::",
11690            stringify!(yy_out)
11691        )
11692    );
11693    assert_eq!(
11694        unsafe {
11695            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_leng as *const _ as usize
11696        },
11697        16usize,
11698        concat!(
11699            "Offset of field: ",
11700            stringify!(_zend_php_scanner_globals),
11701            "::",
11702            stringify!(yy_leng)
11703        )
11704    );
11705    assert_eq!(
11706        unsafe {
11707            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_start as *const _ as usize
11708        },
11709        24usize,
11710        concat!(
11711            "Offset of field: ",
11712            stringify!(_zend_php_scanner_globals),
11713            "::",
11714            stringify!(yy_start)
11715        )
11716    );
11717    assert_eq!(
11718        unsafe {
11719            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_text as *const _ as usize
11720        },
11721        32usize,
11722        concat!(
11723            "Offset of field: ",
11724            stringify!(_zend_php_scanner_globals),
11725            "::",
11726            stringify!(yy_text)
11727        )
11728    );
11729    assert_eq!(
11730        unsafe {
11731            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_cursor as *const _ as usize
11732        },
11733        40usize,
11734        concat!(
11735            "Offset of field: ",
11736            stringify!(_zend_php_scanner_globals),
11737            "::",
11738            stringify!(yy_cursor)
11739        )
11740    );
11741    assert_eq!(
11742        unsafe {
11743            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_marker as *const _ as usize
11744        },
11745        48usize,
11746        concat!(
11747            "Offset of field: ",
11748            stringify!(_zend_php_scanner_globals),
11749            "::",
11750            stringify!(yy_marker)
11751        )
11752    );
11753    assert_eq!(
11754        unsafe {
11755            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_limit as *const _ as usize
11756        },
11757        56usize,
11758        concat!(
11759            "Offset of field: ",
11760            stringify!(_zend_php_scanner_globals),
11761            "::",
11762            stringify!(yy_limit)
11763        )
11764    );
11765    assert_eq!(
11766        unsafe {
11767            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_state as *const _ as usize
11768        },
11769        64usize,
11770        concat!(
11771            "Offset of field: ",
11772            stringify!(_zend_php_scanner_globals),
11773            "::",
11774            stringify!(yy_state)
11775        )
11776    );
11777    assert_eq!(
11778        unsafe {
11779            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).state_stack as *const _ as usize
11780        },
11781        72usize,
11782        concat!(
11783            "Offset of field: ",
11784            stringify!(_zend_php_scanner_globals),
11785            "::",
11786            stringify!(state_stack)
11787        )
11788    );
11789    assert_eq!(
11790        unsafe {
11791            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).heredoc_label_stack as *const _
11792                as usize
11793        },
11794        88usize,
11795        concat!(
11796            "Offset of field: ",
11797            stringify!(_zend_php_scanner_globals),
11798            "::",
11799            stringify!(heredoc_label_stack)
11800        )
11801    );
11802    assert_eq!(
11803        unsafe {
11804            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_org as *const _ as usize
11805        },
11806        120usize,
11807        concat!(
11808            "Offset of field: ",
11809            stringify!(_zend_php_scanner_globals),
11810            "::",
11811            stringify!(script_org)
11812        )
11813    );
11814    assert_eq!(
11815        unsafe {
11816            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_org_size as *const _
11817                as usize
11818        },
11819        128usize,
11820        concat!(
11821            "Offset of field: ",
11822            stringify!(_zend_php_scanner_globals),
11823            "::",
11824            stringify!(script_org_size)
11825        )
11826    );
11827    assert_eq!(
11828        unsafe {
11829            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_filtered as *const _
11830                as usize
11831        },
11832        136usize,
11833        concat!(
11834            "Offset of field: ",
11835            stringify!(_zend_php_scanner_globals),
11836            "::",
11837            stringify!(script_filtered)
11838        )
11839    );
11840    assert_eq!(
11841        unsafe {
11842            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_filtered_size as *const _
11843                as usize
11844        },
11845        144usize,
11846        concat!(
11847            "Offset of field: ",
11848            stringify!(_zend_php_scanner_globals),
11849            "::",
11850            stringify!(script_filtered_size)
11851        )
11852    );
11853    assert_eq!(
11854        unsafe {
11855            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).input_filter as *const _ as usize
11856        },
11857        152usize,
11858        concat!(
11859            "Offset of field: ",
11860            stringify!(_zend_php_scanner_globals),
11861            "::",
11862            stringify!(input_filter)
11863        )
11864    );
11865    assert_eq!(
11866        unsafe {
11867            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).output_filter as *const _ as usize
11868        },
11869        160usize,
11870        concat!(
11871            "Offset of field: ",
11872            stringify!(_zend_php_scanner_globals),
11873            "::",
11874            stringify!(output_filter)
11875        )
11876    );
11877    assert_eq!(
11878        unsafe {
11879            &(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_encoding as *const _
11880                as usize
11881        },
11882        168usize,
11883        concat!(
11884            "Offset of field: ",
11885            stringify!(_zend_php_scanner_globals),
11886            "::",
11887            stringify!(script_encoding)
11888        )
11889    );
11890}
11891extern "C" {
11892    pub fn zend_init_compiler_data_structures();
11893}
11894extern "C" {
11895    pub fn zend_init_compiler_context();
11896}
11897extern "C" {
11898    pub static mut zend_compile_file: ::std::option::Option<
11899        unsafe extern "C" fn(
11900            file_handle: *mut zend_file_handle,
11901            type_: ::std::os::raw::c_int,
11902        ) -> *mut zend_op_array,
11903    >;
11904}
11905extern "C" {
11906    pub static mut zend_compile_string: ::std::option::Option<
11907        unsafe extern "C" fn(
11908            source_string: *mut zval,
11909            filename: *mut ::std::os::raw::c_char,
11910        ) -> *mut zend_op_array,
11911    >;
11912}
11913extern "C" {
11914    pub fn zend_set_compiled_filename(
11915        new_compiled_filename: *const ::std::os::raw::c_char,
11916    ) -> *mut ::std::os::raw::c_char;
11917}
11918extern "C" {
11919    pub fn zend_restore_compiled_filename(original_compiled_filename: *mut ::std::os::raw::c_char);
11920}
11921extern "C" {
11922    pub fn zend_get_compiled_filename() -> *mut ::std::os::raw::c_char;
11923}
11924extern "C" {
11925    pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
11926}
11927extern "C" {
11928    pub fn zend_get_scanned_file_offset() -> size_t;
11929}
11930extern "C" {
11931    pub fn zend_resolve_non_class_name(
11932        element_name: *mut znode,
11933        check_namespace: *mut zend_bool,
11934        case_sensitive: zend_bool,
11935        current_import_sub: *mut HashTable,
11936    );
11937}
11938extern "C" {
11939    pub fn zend_resolve_function_name(element_name: *mut znode, check_namespace: *mut zend_bool);
11940}
11941extern "C" {
11942    pub fn zend_resolve_const_name(element_name: *mut znode, check_namespace: *mut zend_bool);
11943}
11944extern "C" {
11945    pub fn zend_resolve_class_name(class_name: *mut znode);
11946}
11947extern "C" {
11948    pub fn zend_get_compiled_variable_name(
11949        op_array: *const zend_op_array,
11950        var: zend_uint,
11951        name_len: *mut ::std::os::raw::c_int,
11952    ) -> *const ::std::os::raw::c_char;
11953}
11954extern "C" {
11955    pub fn zend_do_binary_op(
11956        op: zend_uchar,
11957        result: *mut znode,
11958        op1: *const znode,
11959        op2: *const znode,
11960    );
11961}
11962extern "C" {
11963    pub fn zend_do_unary_op(op: zend_uchar, result: *mut znode, op1: *const znode);
11964}
11965extern "C" {
11966    pub fn zend_do_binary_assign_op(
11967        op: zend_uchar,
11968        result: *mut znode,
11969        op1: *const znode,
11970        op2: *const znode,
11971    );
11972}
11973extern "C" {
11974    pub fn zend_do_assign(result: *mut znode, variable: *mut znode, value: *mut znode);
11975}
11976extern "C" {
11977    pub fn zend_do_assign_ref(result: *mut znode, lvar: *const znode, rvar: *const znode);
11978}
11979extern "C" {
11980    pub fn zend_do_indirect_references(
11981        result: *mut znode,
11982        num_references: *const znode,
11983        variable: *mut znode,
11984    );
11985}
11986extern "C" {
11987    pub fn zend_do_fetch_static_variable(
11988        varname: *mut znode,
11989        static_assignment: *const znode,
11990        fetch_type: ::std::os::raw::c_int,
11991    );
11992}
11993extern "C" {
11994    pub fn zend_do_fetch_global_variable(
11995        varname: *mut znode,
11996        static_assignment: *const znode,
11997        fetch_type: ::std::os::raw::c_int,
11998    );
11999}
12000extern "C" {
12001    pub fn zend_do_fetch_static_member(result: *mut znode, class_znode: *mut znode);
12002}
12003extern "C" {
12004    pub fn zend_do_print(result: *mut znode, arg: *const znode);
12005}
12006extern "C" {
12007    pub fn zend_do_echo(arg: *const znode);
12008}
12009extern "C" {
12010    pub fn zend_do_while_cond(expr: *const znode, close_bracket_token: *mut znode);
12011}
12012extern "C" {
12013    pub fn zend_do_while_end(while_token: *const znode, close_bracket_token: *const znode);
12014}
12015extern "C" {
12016    pub fn zend_do_do_while_begin();
12017}
12018extern "C" {
12019    pub fn zend_do_do_while_end(
12020        do_token: *const znode,
12021        expr_open_bracket: *const znode,
12022        expr: *const znode,
12023    );
12024}
12025extern "C" {
12026    pub fn zend_do_if_cond(cond: *const znode, closing_bracket_token: *mut znode);
12027}
12028extern "C" {
12029    pub fn zend_do_if_after_statement(
12030        closing_bracket_token: *const znode,
12031        initialize: ::std::os::raw::c_uchar,
12032    );
12033}
12034extern "C" {
12035    pub fn zend_do_if_end();
12036}
12037extern "C" {
12038    pub fn zend_do_for_cond(expr: *const znode, second_semicolon_token: *mut znode);
12039}
12040extern "C" {
12041    pub fn zend_do_for_before_statement(
12042        cond_start: *const znode,
12043        second_semicolon_token: *const znode,
12044    );
12045}
12046extern "C" {
12047    pub fn zend_do_for_end(second_semicolon_token: *const znode);
12048}
12049extern "C" {
12050    pub fn zend_do_pre_incdec(result: *mut znode, op1: *const znode, op: zend_uchar);
12051}
12052extern "C" {
12053    pub fn zend_do_post_incdec(result: *mut znode, op1: *const znode, op: zend_uchar);
12054}
12055extern "C" {
12056    pub fn zend_do_begin_variable_parse();
12057}
12058extern "C" {
12059    pub fn zend_do_end_variable_parse(
12060        variable: *mut znode,
12061        type_: ::std::os::raw::c_int,
12062        arg_offset: ::std::os::raw::c_int,
12063    );
12064}
12065extern "C" {
12066    pub fn zend_check_writable_variable(variable: *const znode);
12067}
12068extern "C" {
12069    pub fn zend_do_free(op1: *mut znode);
12070}
12071extern "C" {
12072    pub fn zend_do_add_string(result: *mut znode, op1: *const znode, op2: *mut znode);
12073}
12074extern "C" {
12075    pub fn zend_do_add_variable(result: *mut znode, op1: *const znode, op2: *const znode);
12076}
12077extern "C" {
12078    pub fn zend_do_verify_access_types(
12079        current_access_type: *const znode,
12080        new_modifier: *const znode,
12081    ) -> ::std::os::raw::c_int;
12082}
12083extern "C" {
12084    pub fn zend_do_begin_function_declaration(
12085        function_token: *mut znode,
12086        function_name: *mut znode,
12087        is_method: ::std::os::raw::c_int,
12088        return_reference: ::std::os::raw::c_int,
12089        fn_flags_znode: *mut znode,
12090    );
12091}
12092extern "C" {
12093    pub fn zend_do_end_function_declaration(function_token: *const znode);
12094}
12095extern "C" {
12096    pub fn zend_do_receive_param(
12097        op: zend_uchar,
12098        varname: *mut znode,
12099        initialization: *const znode,
12100        class_type: *mut znode,
12101        pass_by_reference: zend_bool,
12102        is_variadic: zend_bool,
12103    );
12104}
12105extern "C" {
12106    pub fn zend_do_begin_function_call(
12107        function_name: *mut znode,
12108        check_namespace: zend_bool,
12109    ) -> ::std::os::raw::c_int;
12110}
12111extern "C" {
12112    pub fn zend_do_begin_method_call(left_bracket: *mut znode);
12113}
12114extern "C" {
12115    pub fn zend_do_clone(result: *mut znode, expr: *const znode);
12116}
12117extern "C" {
12118    pub fn zend_do_begin_dynamic_function_call(
12119        function_name: *mut znode,
12120        prefix_len: ::std::os::raw::c_int,
12121    );
12122}
12123extern "C" {
12124    pub fn zend_do_fetch_class(result: *mut znode, class_name: *mut znode);
12125}
12126extern "C" {
12127    pub fn zend_do_build_full_name(
12128        result: *mut znode,
12129        prefix: *mut znode,
12130        name: *mut znode,
12131        is_class_member: ::std::os::raw::c_int,
12132    );
12133}
12134extern "C" {
12135    pub fn zend_do_begin_class_member_function_call(
12136        class_name: *mut znode,
12137        method_name: *mut znode,
12138    ) -> ::std::os::raw::c_int;
12139}
12140extern "C" {
12141    pub fn zend_do_end_function_call(
12142        function_name: *mut znode,
12143        result: *mut znode,
12144        is_method: ::std::os::raw::c_int,
12145        is_dynamic_fcall: ::std::os::raw::c_int,
12146    );
12147}
12148extern "C" {
12149    pub fn zend_do_return(expr: *mut znode, do_end_vparse: ::std::os::raw::c_int);
12150}
12151extern "C" {
12152    pub fn zend_do_yield(
12153        result: *mut znode,
12154        value: *mut znode,
12155        key: *const znode,
12156        is_variable: zend_bool,
12157    );
12158}
12159extern "C" {
12160    pub fn zend_do_handle_exception();
12161}
12162extern "C" {
12163    pub fn zend_do_begin_lambda_function_declaration(
12164        result: *mut znode,
12165        function_token: *mut znode,
12166        return_reference: ::std::os::raw::c_int,
12167        is_static: ::std::os::raw::c_int,
12168    );
12169}
12170extern "C" {
12171    pub fn zend_do_fetch_lexical_variable(varname: *mut znode, is_ref: zend_bool);
12172}
12173extern "C" {
12174    pub fn zend_do_try(try_token: *mut znode);
12175}
12176extern "C" {
12177    pub fn zend_do_begin_catch(
12178        try_token: *mut znode,
12179        catch_class: *mut znode,
12180        catch_var: *mut znode,
12181        first_catch: *mut znode,
12182    );
12183}
12184extern "C" {
12185    pub fn zend_do_bind_catch(try_token: *mut znode, catch_token: *mut znode);
12186}
12187extern "C" {
12188    pub fn zend_do_end_catch(catch_token: *mut znode);
12189}
12190extern "C" {
12191    pub fn zend_do_finally(finally_token: *mut znode);
12192}
12193extern "C" {
12194    pub fn zend_do_end_finally(
12195        try_token: *mut znode,
12196        catch_token: *mut znode,
12197        finally_token: *mut znode,
12198    );
12199}
12200extern "C" {
12201    pub fn zend_do_throw(expr: *const znode);
12202}
12203extern "C" {
12204    pub fn zend_do_inherit_interfaces(ce: *mut zend_class_entry, iface: *const zend_class_entry);
12205}
12206extern "C" {
12207    pub fn zend_do_implement_interface(ce: *mut zend_class_entry, iface: *mut zend_class_entry);
12208}
12209extern "C" {
12210    pub fn zend_do_implements_interface(interface_znode: *mut znode);
12211}
12212extern "C" {
12213    pub fn zend_do_use_trait(trait_znode: *mut znode);
12214}
12215extern "C" {
12216    pub fn zend_prepare_reference(
12217        result: *mut znode,
12218        class_name: *mut znode,
12219        method_name: *mut znode,
12220    );
12221}
12222extern "C" {
12223    pub fn zend_add_trait_precedence(method_reference: *mut znode, trait_list: *mut znode);
12224}
12225extern "C" {
12226    pub fn zend_add_trait_alias(
12227        method_reference: *mut znode,
12228        modifiers: *mut znode,
12229        alias: *mut znode,
12230    );
12231}
12232extern "C" {
12233    pub fn zend_do_implement_trait(ce: *mut zend_class_entry, trait_: *mut zend_class_entry);
12234}
12235extern "C" {
12236    pub fn zend_do_bind_traits(ce: *mut zend_class_entry);
12237}
12238extern "C" {
12239    pub fn zend_do_inheritance(ce: *mut zend_class_entry, parent_ce: *mut zend_class_entry);
12240}
12241extern "C" {
12242    pub fn zend_do_early_binding();
12243}
12244extern "C" {
12245    pub fn zend_do_delayed_early_binding(op_array: *const zend_op_array);
12246}
12247extern "C" {
12248    pub fn zend_do_pass_param(param: *mut znode, op: zend_uchar);
12249}
12250extern "C" {
12251    pub fn zend_do_unpack_params(params: *mut znode);
12252}
12253extern "C" {
12254    pub fn zend_do_boolean_or_begin(expr1: *mut znode, op_token: *mut znode);
12255}
12256extern "C" {
12257    pub fn zend_do_boolean_or_end(
12258        result: *mut znode,
12259        expr1: *const znode,
12260        expr2: *const znode,
12261        op_token: *mut znode,
12262    );
12263}
12264extern "C" {
12265    pub fn zend_do_boolean_and_begin(expr1: *mut znode, op_token: *mut znode);
12266}
12267extern "C" {
12268    pub fn zend_do_boolean_and_end(
12269        result: *mut znode,
12270        expr1: *const znode,
12271        expr2: *const znode,
12272        op_token: *const znode,
12273    );
12274}
12275extern "C" {
12276    pub fn zend_do_brk_cont(op: zend_uchar, expr: *const znode);
12277}
12278extern "C" {
12279    pub fn zend_do_switch_cond(cond: *const znode);
12280}
12281extern "C" {
12282    pub fn zend_do_switch_end(case_list: *const znode);
12283}
12284extern "C" {
12285    pub fn zend_do_case_before_statement(
12286        case_list: *const znode,
12287        case_token: *mut znode,
12288        case_expr: *const znode,
12289    );
12290}
12291extern "C" {
12292    pub fn zend_do_case_after_statement(result: *mut znode, case_token: *const znode);
12293}
12294extern "C" {
12295    pub fn zend_do_default_before_statement(case_list: *const znode, default_token: *mut znode);
12296}
12297extern "C" {
12298    pub fn zend_do_begin_class_declaration(
12299        class_token: *const znode,
12300        class_name: *mut znode,
12301        parent_class_name: *const znode,
12302    );
12303}
12304extern "C" {
12305    pub fn zend_do_end_class_declaration(class_token: *const znode, parent_token: *const znode);
12306}
12307extern "C" {
12308    pub fn zend_do_declare_property(
12309        var_name: *const znode,
12310        value: *const znode,
12311        access_type: zend_uint,
12312    );
12313}
12314extern "C" {
12315    pub fn zend_do_declare_class_constant(var_name: *mut znode, value: *const znode);
12316}
12317extern "C" {
12318    pub fn zend_do_fetch_property(result: *mut znode, object: *mut znode, property: *const znode);
12319}
12320extern "C" {
12321    pub fn zend_do_halt_compiler_register();
12322}
12323extern "C" {
12324    pub fn zend_do_push_object(object: *const znode);
12325}
12326extern "C" {
12327    pub fn zend_do_pop_object(object: *mut znode);
12328}
12329extern "C" {
12330    pub fn zend_do_begin_new_object(new_token: *mut znode, class_type: *mut znode);
12331}
12332extern "C" {
12333    pub fn zend_do_end_new_object(result: *mut znode, new_token: *const znode);
12334}
12335extern "C" {
12336    pub fn zend_do_fetch_constant(
12337        result: *mut znode,
12338        constant_container: *mut znode,
12339        constant_name: *mut znode,
12340        mode: ::std::os::raw::c_int,
12341        check_namespace: zend_bool,
12342    );
12343}
12344extern "C" {
12345    pub fn zend_do_shell_exec(result: *mut znode, cmd: *const znode);
12346}
12347extern "C" {
12348    pub fn zend_do_init_array(
12349        result: *mut znode,
12350        expr: *const znode,
12351        offset: *const znode,
12352        is_ref: zend_bool,
12353    );
12354}
12355extern "C" {
12356    pub fn zend_do_add_array_element(
12357        result: *mut znode,
12358        expr: *const znode,
12359        offset: *const znode,
12360        is_ref: zend_bool,
12361    );
12362}
12363extern "C" {
12364    pub fn zend_do_add_static_array_element(result: *mut zval, offset: *mut zval, expr: *mut zval);
12365}
12366extern "C" {
12367    pub fn zend_do_list_init();
12368}
12369extern "C" {
12370    pub fn zend_do_list_end(result: *mut znode, expr: *mut znode);
12371}
12372extern "C" {
12373    pub fn zend_do_add_list_element(element: *const znode);
12374}
12375extern "C" {
12376    pub fn zend_do_new_list_begin();
12377}
12378extern "C" {
12379    pub fn zend_do_new_list_end();
12380}
12381extern "C" {
12382    pub fn zend_init_list(result: *mut ::std::os::raw::c_void, item: *mut ::std::os::raw::c_void);
12383}
12384extern "C" {
12385    pub fn zend_add_to_list(result: *mut ::std::os::raw::c_void, item: *mut ::std::os::raw::c_void);
12386}
12387extern "C" {
12388    pub fn zend_do_cast(result: *mut znode, expr: *const znode, type_: ::std::os::raw::c_int);
12389}
12390extern "C" {
12391    pub fn zend_do_include_or_eval(
12392        type_: ::std::os::raw::c_int,
12393        result: *mut znode,
12394        op1: *const znode,
12395    );
12396}
12397extern "C" {
12398    pub fn zend_do_unset(variable: *const znode);
12399}
12400extern "C" {
12401    pub fn zend_do_isset_or_isempty(
12402        type_: ::std::os::raw::c_int,
12403        result: *mut znode,
12404        variable: *mut znode,
12405    );
12406}
12407extern "C" {
12408    pub fn zend_do_instanceof(
12409        result: *mut znode,
12410        expr: *const znode,
12411        class_znode: *const znode,
12412        type_: ::std::os::raw::c_int,
12413    );
12414}
12415extern "C" {
12416    pub fn zend_do_foreach_begin(
12417        foreach_token: *mut znode,
12418        open_brackets_token: *mut znode,
12419        array: *mut znode,
12420        as_token: *mut znode,
12421        variable: ::std::os::raw::c_int,
12422    );
12423}
12424extern "C" {
12425    pub fn zend_do_foreach_cont(
12426        foreach_token: *mut znode,
12427        open_brackets_token: *const znode,
12428        as_token: *const znode,
12429        value: *mut znode,
12430        key: *mut znode,
12431    );
12432}
12433extern "C" {
12434    pub fn zend_do_foreach_end(foreach_token: *const znode, as_token: *const znode);
12435}
12436extern "C" {
12437    pub fn zend_do_declare_begin();
12438}
12439extern "C" {
12440    pub fn zend_do_declare_stmt(var: *mut znode, val: *mut znode);
12441}
12442extern "C" {
12443    pub fn zend_do_declare_end(declare_token: *const znode);
12444}
12445extern "C" {
12446    pub fn zend_do_exit(result: *mut znode, message: *const znode);
12447}
12448extern "C" {
12449    pub fn zend_do_begin_silence(strudel_token: *mut znode);
12450}
12451extern "C" {
12452    pub fn zend_do_end_silence(strudel_token: *const znode);
12453}
12454extern "C" {
12455    pub fn zend_do_jmp_set(value: *const znode, jmp_token: *mut znode, colon_token: *mut znode);
12456}
12457extern "C" {
12458    pub fn zend_do_jmp_set_else(
12459        result: *mut znode,
12460        false_value: *const znode,
12461        jmp_token: *const znode,
12462        colon_token: *const znode,
12463    );
12464}
12465extern "C" {
12466    pub fn zend_do_begin_qm_op(cond: *const znode, qm_token: *mut znode);
12467}
12468extern "C" {
12469    pub fn zend_do_qm_true(true_value: *const znode, qm_token: *mut znode, colon_token: *mut znode);
12470}
12471extern "C" {
12472    pub fn zend_do_qm_false(
12473        result: *mut znode,
12474        false_value: *const znode,
12475        qm_token: *const znode,
12476        colon_token: *const znode,
12477    );
12478}
12479extern "C" {
12480    pub fn zend_do_extended_info();
12481}
12482extern "C" {
12483    pub fn zend_do_extended_fcall_begin();
12484}
12485extern "C" {
12486    pub fn zend_do_extended_fcall_end();
12487}
12488extern "C" {
12489    pub fn zend_do_ticks();
12490}
12491extern "C" {
12492    pub fn zend_do_abstract_method(
12493        function_name: *const znode,
12494        modifiers: *mut znode,
12495        body: *const znode,
12496    );
12497}
12498extern "C" {
12499    pub fn zend_do_declare_constant(name: *mut znode, value: *mut znode);
12500}
12501extern "C" {
12502    pub fn zend_do_build_namespace_name(result: *mut znode, prefix: *mut znode, name: *mut znode);
12503}
12504extern "C" {
12505    pub fn zend_do_begin_namespace(name: *const znode, with_brackets: zend_bool);
12506}
12507extern "C" {
12508    pub fn zend_do_end_namespace();
12509}
12510extern "C" {
12511    pub fn zend_verify_namespace();
12512}
12513extern "C" {
12514    pub fn zend_do_use(name: *mut znode, new_name: *mut znode);
12515}
12516extern "C" {
12517    pub fn zend_do_use_non_class(
12518        ns_name: *mut znode,
12519        new_name: *mut znode,
12520        is_function: ::std::os::raw::c_int,
12521        case_sensitive: zend_bool,
12522        current_import_sub: *mut HashTable,
12523        lookup_table: *mut HashTable,
12524    );
12525}
12526extern "C" {
12527    pub fn zend_do_use_function(name: *mut znode, new_name: *mut znode);
12528}
12529extern "C" {
12530    pub fn zend_do_use_const(name: *mut znode, new_name: *mut znode);
12531}
12532extern "C" {
12533    pub fn zend_do_end_compilation();
12534}
12535extern "C" {
12536    pub fn zend_do_constant_expression(result: *mut znode, ast: *mut zend_ast);
12537}
12538extern "C" {
12539    pub fn zend_do_resolve_class_name(
12540        result: *mut znode,
12541        class_name: *mut znode,
12542        is_static: ::std::os::raw::c_int,
12543    );
12544}
12545extern "C" {
12546    pub fn zend_do_label(label: *mut znode);
12547}
12548extern "C" {
12549    pub fn zend_do_goto(label: *const znode);
12550}
12551extern "C" {
12552    pub fn zend_resolve_goto_label(
12553        op_array: *mut zend_op_array,
12554        opline: *mut zend_op,
12555        pass2: ::std::os::raw::c_int,
12556    );
12557}
12558extern "C" {
12559    pub fn zend_release_labels(temporary: ::std::os::raw::c_int);
12560}
12561extern "C" {
12562    pub fn zend_execute_scripts(
12563        type_: ::std::os::raw::c_int,
12564        retval: *mut *mut zval,
12565        file_count: ::std::os::raw::c_int,
12566        ...
12567    ) -> ::std::os::raw::c_int;
12568}
12569extern "C" {
12570    pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
12571}
12572extern "C" {
12573    pub fn zend_cleanup_class_data(pce: *mut *mut zend_class_entry) -> ::std::os::raw::c_int;
12574}
12575extern "C" {
12576    pub fn zend_cleanup_user_class_data(pce: *mut *mut zend_class_entry) -> ::std::os::raw::c_int;
12577}
12578extern "C" {
12579    pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
12580}
12581extern "C" {
12582    pub fn zend_cleanup_internal_classes();
12583}
12584extern "C" {
12585    pub fn zend_cleanup_function_data(function: *mut zend_function) -> ::std::os::raw::c_int;
12586}
12587extern "C" {
12588    pub fn zend_cleanup_function_data_full(function: *mut zend_function) -> ::std::os::raw::c_int;
12589}
12590extern "C" {
12591    pub fn zend_function_dtor(function: *mut zend_function);
12592}
12593extern "C" {
12594    pub fn zend_class_add_ref(ce: *mut *mut zend_class_entry);
12595}
12596extern "C" {
12597    pub fn zend_mangle_property_name(
12598        dest: *mut *mut ::std::os::raw::c_char,
12599        dest_length: *mut ::std::os::raw::c_int,
12600        src1: *const ::std::os::raw::c_char,
12601        src1_length: ::std::os::raw::c_int,
12602        src2: *const ::std::os::raw::c_char,
12603        src2_length: ::std::os::raw::c_int,
12604        internal: ::std::os::raw::c_int,
12605    );
12606}
12607extern "C" {
12608    pub fn zend_unmangle_property_name_ex(
12609        mangled_property: *const ::std::os::raw::c_char,
12610        mangled_property_len: ::std::os::raw::c_int,
12611        class_name: *mut *const ::std::os::raw::c_char,
12612        prop_name: *mut *const ::std::os::raw::c_char,
12613        prop_len: *mut ::std::os::raw::c_int,
12614    ) -> ::std::os::raw::c_int;
12615}
12616extern "C" {
12617    pub fn zend_do_first_catch(open_parentheses: *mut znode);
12618}
12619extern "C" {
12620    pub fn zend_initialize_try_catch_element(catch_token: *mut znode);
12621}
12622extern "C" {
12623    pub fn zend_do_mark_last_catch(first_catch: *const znode, last_additional_catch: *const znode);
12624}
12625extern "C" {
12626    pub fn zend_is_compiling() -> zend_bool;
12627}
12628extern "C" {
12629    pub fn zend_make_compiled_string_description(
12630        name: *const ::std::os::raw::c_char,
12631    ) -> *mut ::std::os::raw::c_char;
12632}
12633extern "C" {
12634    pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: zend_bool);
12635}
12636extern "C" {
12637    pub fn zend_get_class_fetch_type(
12638        class_name: *const ::std::os::raw::c_char,
12639        class_name_len: uint,
12640    ) -> ::std::os::raw::c_int;
12641}
12642pub type zend_auto_global_callback = ::std::option::Option<
12643    unsafe extern "C" fn(name: *const ::std::os::raw::c_char, name_len: uint) -> zend_bool,
12644>;
12645#[repr(C)]
12646#[derive(Debug, Copy, Clone)]
12647pub struct _zend_auto_global {
12648    pub name: *const ::std::os::raw::c_char,
12649    pub name_len: uint,
12650    pub auto_global_callback: zend_auto_global_callback,
12651    pub jit: zend_bool,
12652    pub armed: zend_bool,
12653}
12654#[test]
12655fn bindgen_test_layout__zend_auto_global() {
12656    assert_eq!(
12657        ::std::mem::size_of::<_zend_auto_global>(),
12658        32usize,
12659        concat!("Size of: ", stringify!(_zend_auto_global))
12660    );
12661    assert_eq!(
12662        ::std::mem::align_of::<_zend_auto_global>(),
12663        8usize,
12664        concat!("Alignment of ", stringify!(_zend_auto_global))
12665    );
12666    assert_eq!(
12667        unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).name as *const _ as usize },
12668        0usize,
12669        concat!(
12670            "Offset of field: ",
12671            stringify!(_zend_auto_global),
12672            "::",
12673            stringify!(name)
12674        )
12675    );
12676    assert_eq!(
12677        unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).name_len as *const _ as usize },
12678        8usize,
12679        concat!(
12680            "Offset of field: ",
12681            stringify!(_zend_auto_global),
12682            "::",
12683            stringify!(name_len)
12684        )
12685    );
12686    assert_eq!(
12687        unsafe {
12688            &(*(::std::ptr::null::<_zend_auto_global>())).auto_global_callback as *const _ as usize
12689        },
12690        16usize,
12691        concat!(
12692            "Offset of field: ",
12693            stringify!(_zend_auto_global),
12694            "::",
12695            stringify!(auto_global_callback)
12696        )
12697    );
12698    assert_eq!(
12699        unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).jit as *const _ as usize },
12700        24usize,
12701        concat!(
12702            "Offset of field: ",
12703            stringify!(_zend_auto_global),
12704            "::",
12705            stringify!(jit)
12706        )
12707    );
12708    assert_eq!(
12709        unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).armed as *const _ as usize },
12710        25usize,
12711        concat!(
12712            "Offset of field: ",
12713            stringify!(_zend_auto_global),
12714            "::",
12715            stringify!(armed)
12716        )
12717    );
12718}
12719pub type zend_auto_global = _zend_auto_global;
12720extern "C" {
12721    pub fn zend_register_auto_global(
12722        name: *const ::std::os::raw::c_char,
12723        name_len: uint,
12724        jit: zend_bool,
12725        auto_global_callback: zend_auto_global_callback,
12726    ) -> ::std::os::raw::c_int;
12727}
12728extern "C" {
12729    pub fn zend_activate_auto_globals();
12730}
12731extern "C" {
12732    pub fn zend_is_auto_global(name: *const ::std::os::raw::c_char, name_len: uint) -> zend_bool;
12733}
12734extern "C" {
12735    pub fn zend_is_auto_global_quick(
12736        name: *const ::std::os::raw::c_char,
12737        name_len: uint,
12738        hashval: ulong,
12739    ) -> zend_bool;
12740}
12741extern "C" {
12742    pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: size_t) -> size_t;
12743}
12744extern "C" {
12745    pub fn zendlex(zendlval: *mut znode) -> ::std::os::raw::c_int;
12746}
12747extern "C" {
12748    pub fn zend_add_literal(op_array: *mut zend_op_array, zv: *const zval)
12749        -> ::std::os::raw::c_int;
12750}
12751extern "C" {
12752    pub fn zend_get_opcode_name(opcode: zend_uchar) -> *const ::std::os::raw::c_char;
12753}
12754pub type zend_module_entry = _zend_module_entry;
12755pub type zend_module_dep = _zend_module_dep;
12756#[repr(C)]
12757#[derive(Debug, Copy, Clone)]
12758pub struct _zend_module_entry {
12759    pub size: ::std::os::raw::c_ushort,
12760    pub zend_api: ::std::os::raw::c_uint,
12761    pub zend_debug: ::std::os::raw::c_uchar,
12762    pub zts: ::std::os::raw::c_uchar,
12763    pub ini_entry: *const _zend_ini_entry,
12764    pub deps: *const _zend_module_dep,
12765    pub name: *const ::std::os::raw::c_char,
12766    pub functions: *const _zend_function_entry,
12767    pub module_startup_func: ::std::option::Option<
12768        unsafe extern "C" fn(
12769            type_: ::std::os::raw::c_int,
12770            module_number: ::std::os::raw::c_int,
12771        ) -> ::std::os::raw::c_int,
12772    >,
12773    pub module_shutdown_func: ::std::option::Option<
12774        unsafe extern "C" fn(
12775            type_: ::std::os::raw::c_int,
12776            module_number: ::std::os::raw::c_int,
12777        ) -> ::std::os::raw::c_int,
12778    >,
12779    pub request_startup_func: ::std::option::Option<
12780        unsafe extern "C" fn(
12781            type_: ::std::os::raw::c_int,
12782            module_number: ::std::os::raw::c_int,
12783        ) -> ::std::os::raw::c_int,
12784    >,
12785    pub request_shutdown_func: ::std::option::Option<
12786        unsafe extern "C" fn(
12787            type_: ::std::os::raw::c_int,
12788            module_number: ::std::os::raw::c_int,
12789        ) -> ::std::os::raw::c_int,
12790    >,
12791    pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
12792    pub version: *const ::std::os::raw::c_char,
12793    pub globals_size: size_t,
12794    pub globals_ptr: *mut ::std::os::raw::c_void,
12795    pub globals_ctor:
12796        ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
12797    pub globals_dtor:
12798        ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
12799    pub post_deactivate_func:
12800        ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
12801    pub module_started: ::std::os::raw::c_int,
12802    pub type_: ::std::os::raw::c_uchar,
12803    pub handle: *mut ::std::os::raw::c_void,
12804    pub module_number: ::std::os::raw::c_int,
12805    pub build_id: *const ::std::os::raw::c_char,
12806}
12807#[test]
12808fn bindgen_test_layout__zend_module_entry() {
12809    assert_eq!(
12810        ::std::mem::size_of::<_zend_module_entry>(),
12811        168usize,
12812        concat!("Size of: ", stringify!(_zend_module_entry))
12813    );
12814    assert_eq!(
12815        ::std::mem::align_of::<_zend_module_entry>(),
12816        8usize,
12817        concat!("Alignment of ", stringify!(_zend_module_entry))
12818    );
12819    assert_eq!(
12820        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).size as *const _ as usize },
12821        0usize,
12822        concat!(
12823            "Offset of field: ",
12824            stringify!(_zend_module_entry),
12825            "::",
12826            stringify!(size)
12827        )
12828    );
12829    assert_eq!(
12830        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zend_api as *const _ as usize },
12831        4usize,
12832        concat!(
12833            "Offset of field: ",
12834            stringify!(_zend_module_entry),
12835            "::",
12836            stringify!(zend_api)
12837        )
12838    );
12839    assert_eq!(
12840        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zend_debug as *const _ as usize },
12841        8usize,
12842        concat!(
12843            "Offset of field: ",
12844            stringify!(_zend_module_entry),
12845            "::",
12846            stringify!(zend_debug)
12847        )
12848    );
12849    assert_eq!(
12850        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zts as *const _ as usize },
12851        9usize,
12852        concat!(
12853            "Offset of field: ",
12854            stringify!(_zend_module_entry),
12855            "::",
12856            stringify!(zts)
12857        )
12858    );
12859    assert_eq!(
12860        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).ini_entry as *const _ as usize },
12861        16usize,
12862        concat!(
12863            "Offset of field: ",
12864            stringify!(_zend_module_entry),
12865            "::",
12866            stringify!(ini_entry)
12867        )
12868    );
12869    assert_eq!(
12870        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).deps as *const _ as usize },
12871        24usize,
12872        concat!(
12873            "Offset of field: ",
12874            stringify!(_zend_module_entry),
12875            "::",
12876            stringify!(deps)
12877        )
12878    );
12879    assert_eq!(
12880        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).name as *const _ as usize },
12881        32usize,
12882        concat!(
12883            "Offset of field: ",
12884            stringify!(_zend_module_entry),
12885            "::",
12886            stringify!(name)
12887        )
12888    );
12889    assert_eq!(
12890        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).functions as *const _ as usize },
12891        40usize,
12892        concat!(
12893            "Offset of field: ",
12894            stringify!(_zend_module_entry),
12895            "::",
12896            stringify!(functions)
12897        )
12898    );
12899    assert_eq!(
12900        unsafe {
12901            &(*(::std::ptr::null::<_zend_module_entry>())).module_startup_func as *const _ as usize
12902        },
12903        48usize,
12904        concat!(
12905            "Offset of field: ",
12906            stringify!(_zend_module_entry),
12907            "::",
12908            stringify!(module_startup_func)
12909        )
12910    );
12911    assert_eq!(
12912        unsafe {
12913            &(*(::std::ptr::null::<_zend_module_entry>())).module_shutdown_func as *const _ as usize
12914        },
12915        56usize,
12916        concat!(
12917            "Offset of field: ",
12918            stringify!(_zend_module_entry),
12919            "::",
12920            stringify!(module_shutdown_func)
12921        )
12922    );
12923    assert_eq!(
12924        unsafe {
12925            &(*(::std::ptr::null::<_zend_module_entry>())).request_startup_func as *const _ as usize
12926        },
12927        64usize,
12928        concat!(
12929            "Offset of field: ",
12930            stringify!(_zend_module_entry),
12931            "::",
12932            stringify!(request_startup_func)
12933        )
12934    );
12935    assert_eq!(
12936        unsafe {
12937            &(*(::std::ptr::null::<_zend_module_entry>())).request_shutdown_func as *const _
12938                as usize
12939        },
12940        72usize,
12941        concat!(
12942            "Offset of field: ",
12943            stringify!(_zend_module_entry),
12944            "::",
12945            stringify!(request_shutdown_func)
12946        )
12947    );
12948    assert_eq!(
12949        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).info_func as *const _ as usize },
12950        80usize,
12951        concat!(
12952            "Offset of field: ",
12953            stringify!(_zend_module_entry),
12954            "::",
12955            stringify!(info_func)
12956        )
12957    );
12958    assert_eq!(
12959        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).version as *const _ as usize },
12960        88usize,
12961        concat!(
12962            "Offset of field: ",
12963            stringify!(_zend_module_entry),
12964            "::",
12965            stringify!(version)
12966        )
12967    );
12968    assert_eq!(
12969        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_size as *const _ as usize },
12970        96usize,
12971        concat!(
12972            "Offset of field: ",
12973            stringify!(_zend_module_entry),
12974            "::",
12975            stringify!(globals_size)
12976        )
12977    );
12978    assert_eq!(
12979        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_ptr as *const _ as usize },
12980        104usize,
12981        concat!(
12982            "Offset of field: ",
12983            stringify!(_zend_module_entry),
12984            "::",
12985            stringify!(globals_ptr)
12986        )
12987    );
12988    assert_eq!(
12989        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_ctor as *const _ as usize },
12990        112usize,
12991        concat!(
12992            "Offset of field: ",
12993            stringify!(_zend_module_entry),
12994            "::",
12995            stringify!(globals_ctor)
12996        )
12997    );
12998    assert_eq!(
12999        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_dtor as *const _ as usize },
13000        120usize,
13001        concat!(
13002            "Offset of field: ",
13003            stringify!(_zend_module_entry),
13004            "::",
13005            stringify!(globals_dtor)
13006        )
13007    );
13008    assert_eq!(
13009        unsafe {
13010            &(*(::std::ptr::null::<_zend_module_entry>())).post_deactivate_func as *const _ as usize
13011        },
13012        128usize,
13013        concat!(
13014            "Offset of field: ",
13015            stringify!(_zend_module_entry),
13016            "::",
13017            stringify!(post_deactivate_func)
13018        )
13019    );
13020    assert_eq!(
13021        unsafe {
13022            &(*(::std::ptr::null::<_zend_module_entry>())).module_started as *const _ as usize
13023        },
13024        136usize,
13025        concat!(
13026            "Offset of field: ",
13027            stringify!(_zend_module_entry),
13028            "::",
13029            stringify!(module_started)
13030        )
13031    );
13032    assert_eq!(
13033        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).type_ as *const _ as usize },
13034        140usize,
13035        concat!(
13036            "Offset of field: ",
13037            stringify!(_zend_module_entry),
13038            "::",
13039            stringify!(type_)
13040        )
13041    );
13042    assert_eq!(
13043        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).handle as *const _ as usize },
13044        144usize,
13045        concat!(
13046            "Offset of field: ",
13047            stringify!(_zend_module_entry),
13048            "::",
13049            stringify!(handle)
13050        )
13051    );
13052    assert_eq!(
13053        unsafe {
13054            &(*(::std::ptr::null::<_zend_module_entry>())).module_number as *const _ as usize
13055        },
13056        152usize,
13057        concat!(
13058            "Offset of field: ",
13059            stringify!(_zend_module_entry),
13060            "::",
13061            stringify!(module_number)
13062        )
13063    );
13064    assert_eq!(
13065        unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).build_id as *const _ as usize },
13066        160usize,
13067        concat!(
13068            "Offset of field: ",
13069            stringify!(_zend_module_entry),
13070            "::",
13071            stringify!(build_id)
13072        )
13073    );
13074}
13075#[repr(C)]
13076#[derive(Debug, Copy, Clone)]
13077pub struct _zend_module_dep {
13078    pub name: *const ::std::os::raw::c_char,
13079    pub rel: *const ::std::os::raw::c_char,
13080    pub version: *const ::std::os::raw::c_char,
13081    pub type_: ::std::os::raw::c_uchar,
13082}
13083#[test]
13084fn bindgen_test_layout__zend_module_dep() {
13085    assert_eq!(
13086        ::std::mem::size_of::<_zend_module_dep>(),
13087        32usize,
13088        concat!("Size of: ", stringify!(_zend_module_dep))
13089    );
13090    assert_eq!(
13091        ::std::mem::align_of::<_zend_module_dep>(),
13092        8usize,
13093        concat!("Alignment of ", stringify!(_zend_module_dep))
13094    );
13095    assert_eq!(
13096        unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).name as *const _ as usize },
13097        0usize,
13098        concat!(
13099            "Offset of field: ",
13100            stringify!(_zend_module_dep),
13101            "::",
13102            stringify!(name)
13103        )
13104    );
13105    assert_eq!(
13106        unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).rel as *const _ as usize },
13107        8usize,
13108        concat!(
13109            "Offset of field: ",
13110            stringify!(_zend_module_dep),
13111            "::",
13112            stringify!(rel)
13113        )
13114    );
13115    assert_eq!(
13116        unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).version as *const _ as usize },
13117        16usize,
13118        concat!(
13119            "Offset of field: ",
13120            stringify!(_zend_module_dep),
13121            "::",
13122            stringify!(version)
13123        )
13124    );
13125    assert_eq!(
13126        unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).type_ as *const _ as usize },
13127        24usize,
13128        concat!(
13129            "Offset of field: ",
13130            stringify!(_zend_module_dep),
13131            "::",
13132            stringify!(type_)
13133        )
13134    );
13135}
13136extern "C" {
13137    pub static mut module_registry: HashTable;
13138}
13139#[repr(C)]
13140#[derive(Debug, Copy, Clone)]
13141pub struct _zend_rsrc_list_entry {
13142    pub ptr: *mut ::std::os::raw::c_void,
13143    pub type_: ::std::os::raw::c_int,
13144    pub refcount: ::std::os::raw::c_int,
13145}
13146#[test]
13147fn bindgen_test_layout__zend_rsrc_list_entry() {
13148    assert_eq!(
13149        ::std::mem::size_of::<_zend_rsrc_list_entry>(),
13150        16usize,
13151        concat!("Size of: ", stringify!(_zend_rsrc_list_entry))
13152    );
13153    assert_eq!(
13154        ::std::mem::align_of::<_zend_rsrc_list_entry>(),
13155        8usize,
13156        concat!("Alignment of ", stringify!(_zend_rsrc_list_entry))
13157    );
13158    assert_eq!(
13159        unsafe { &(*(::std::ptr::null::<_zend_rsrc_list_entry>())).ptr as *const _ as usize },
13160        0usize,
13161        concat!(
13162            "Offset of field: ",
13163            stringify!(_zend_rsrc_list_entry),
13164            "::",
13165            stringify!(ptr)
13166        )
13167    );
13168    assert_eq!(
13169        unsafe { &(*(::std::ptr::null::<_zend_rsrc_list_entry>())).type_ as *const _ as usize },
13170        8usize,
13171        concat!(
13172            "Offset of field: ",
13173            stringify!(_zend_rsrc_list_entry),
13174            "::",
13175            stringify!(type_)
13176        )
13177    );
13178    assert_eq!(
13179        unsafe { &(*(::std::ptr::null::<_zend_rsrc_list_entry>())).refcount as *const _ as usize },
13180        12usize,
13181        concat!(
13182            "Offset of field: ",
13183            stringify!(_zend_rsrc_list_entry),
13184            "::",
13185            stringify!(refcount)
13186        )
13187    );
13188}
13189pub type zend_rsrc_list_entry = _zend_rsrc_list_entry;
13190pub type rsrc_dtor_func_t =
13191    ::std::option::Option<unsafe extern "C" fn(rsrc: *mut zend_rsrc_list_entry)>;
13192#[repr(C)]
13193#[derive(Debug, Copy, Clone)]
13194pub struct _zend_rsrc_list_dtors_entry {
13195    pub list_dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
13196    pub plist_dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
13197    pub list_dtor_ex: rsrc_dtor_func_t,
13198    pub plist_dtor_ex: rsrc_dtor_func_t,
13199    pub type_name: *const ::std::os::raw::c_char,
13200    pub module_number: ::std::os::raw::c_int,
13201    pub resource_id: ::std::os::raw::c_int,
13202    pub type_: ::std::os::raw::c_uchar,
13203}
13204#[test]
13205fn bindgen_test_layout__zend_rsrc_list_dtors_entry() {
13206    assert_eq!(
13207        ::std::mem::size_of::<_zend_rsrc_list_dtors_entry>(),
13208        56usize,
13209        concat!("Size of: ", stringify!(_zend_rsrc_list_dtors_entry))
13210    );
13211    assert_eq!(
13212        ::std::mem::align_of::<_zend_rsrc_list_dtors_entry>(),
13213        8usize,
13214        concat!("Alignment of ", stringify!(_zend_rsrc_list_dtors_entry))
13215    );
13216    assert_eq!(
13217        unsafe {
13218            &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).list_dtor as *const _ as usize
13219        },
13220        0usize,
13221        concat!(
13222            "Offset of field: ",
13223            stringify!(_zend_rsrc_list_dtors_entry),
13224            "::",
13225            stringify!(list_dtor)
13226        )
13227    );
13228    assert_eq!(
13229        unsafe {
13230            &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).plist_dtor as *const _ as usize
13231        },
13232        8usize,
13233        concat!(
13234            "Offset of field: ",
13235            stringify!(_zend_rsrc_list_dtors_entry),
13236            "::",
13237            stringify!(plist_dtor)
13238        )
13239    );
13240    assert_eq!(
13241        unsafe {
13242            &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).list_dtor_ex as *const _
13243                as usize
13244        },
13245        16usize,
13246        concat!(
13247            "Offset of field: ",
13248            stringify!(_zend_rsrc_list_dtors_entry),
13249            "::",
13250            stringify!(list_dtor_ex)
13251        )
13252    );
13253    assert_eq!(
13254        unsafe {
13255            &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).plist_dtor_ex as *const _
13256                as usize
13257        },
13258        24usize,
13259        concat!(
13260            "Offset of field: ",
13261            stringify!(_zend_rsrc_list_dtors_entry),
13262            "::",
13263            stringify!(plist_dtor_ex)
13264        )
13265    );
13266    assert_eq!(
13267        unsafe {
13268            &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).type_name as *const _ as usize
13269        },
13270        32usize,
13271        concat!(
13272            "Offset of field: ",
13273            stringify!(_zend_rsrc_list_dtors_entry),
13274            "::",
13275            stringify!(type_name)
13276        )
13277    );
13278    assert_eq!(
13279        unsafe {
13280            &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).module_number as *const _
13281                as usize
13282        },
13283        40usize,
13284        concat!(
13285            "Offset of field: ",
13286            stringify!(_zend_rsrc_list_dtors_entry),
13287            "::",
13288            stringify!(module_number)
13289        )
13290    );
13291    assert_eq!(
13292        unsafe {
13293            &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).resource_id as *const _ as usize
13294        },
13295        44usize,
13296        concat!(
13297            "Offset of field: ",
13298            stringify!(_zend_rsrc_list_dtors_entry),
13299            "::",
13300            stringify!(resource_id)
13301        )
13302    );
13303    assert_eq!(
13304        unsafe {
13305            &(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).type_ as *const _ as usize
13306        },
13307        48usize,
13308        concat!(
13309            "Offset of field: ",
13310            stringify!(_zend_rsrc_list_dtors_entry),
13311            "::",
13312            stringify!(type_)
13313        )
13314    );
13315}
13316pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
13317extern "C" {
13318    pub fn zend_register_list_destructors(
13319        ld: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
13320        pld: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
13321        module_number: ::std::os::raw::c_int,
13322    ) -> ::std::os::raw::c_int;
13323}
13324extern "C" {
13325    pub fn zend_register_list_destructors_ex(
13326        ld: rsrc_dtor_func_t,
13327        pld: rsrc_dtor_func_t,
13328        type_name: *const ::std::os::raw::c_char,
13329        module_number: ::std::os::raw::c_int,
13330    ) -> ::std::os::raw::c_int;
13331}
13332extern "C" {
13333    pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
13334}
13335extern "C" {
13336    pub fn zend_init_rsrc_list() -> ::std::os::raw::c_int;
13337}
13338extern "C" {
13339    pub fn zend_init_rsrc_plist() -> ::std::os::raw::c_int;
13340}
13341extern "C" {
13342    pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
13343}
13344extern "C" {
13345    pub fn zend_init_rsrc_list_dtors() -> ::std::os::raw::c_int;
13346}
13347extern "C" {
13348    pub fn zend_destroy_rsrc_list_dtors();
13349}
13350extern "C" {
13351    pub fn zend_list_insert(
13352        ptr: *mut ::std::os::raw::c_void,
13353        type_: ::std::os::raw::c_int,
13354    ) -> ::std::os::raw::c_int;
13355}
13356extern "C" {
13357    pub fn _zend_list_addref(id: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
13358}
13359extern "C" {
13360    pub fn _zend_list_delete(id: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
13361}
13362extern "C" {
13363    pub fn _zend_list_find(
13364        id: ::std::os::raw::c_int,
13365        type_: *mut ::std::os::raw::c_int,
13366    ) -> *mut ::std::os::raw::c_void;
13367}
13368extern "C" {
13369    pub fn zend_register_resource(
13370        rsrc_result: *mut zval,
13371        rsrc_pointer: *mut ::std::os::raw::c_void,
13372        rsrc_type: ::std::os::raw::c_int,
13373    ) -> ::std::os::raw::c_int;
13374}
13375extern "C" {
13376    pub fn zend_fetch_resource(
13377        passed_id: *mut *mut zval,
13378        default_id: ::std::os::raw::c_int,
13379        resource_type_name: *const ::std::os::raw::c_char,
13380        found_resource_type: *mut ::std::os::raw::c_int,
13381        num_resource_types: ::std::os::raw::c_int,
13382        ...
13383    ) -> *mut ::std::os::raw::c_void;
13384}
13385extern "C" {
13386    pub fn zend_rsrc_list_get_rsrc_type(
13387        resource: ::std::os::raw::c_int,
13388    ) -> *const ::std::os::raw::c_char;
13389}
13390extern "C" {
13391    pub fn zend_fetch_list_dtor_id(type_name: *mut ::std::os::raw::c_char)
13392        -> ::std::os::raw::c_int;
13393}
13394extern "C" {
13395    pub static mut zend_execute_ex:
13396        ::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
13397}
13398extern "C" {
13399    pub static mut zend_execute_internal: ::std::option::Option<
13400        unsafe extern "C" fn(
13401            execute_data_ptr: *mut zend_execute_data,
13402            fci: *mut _zend_fcall_info,
13403            return_value_used: ::std::os::raw::c_int,
13404        ),
13405    >;
13406}
13407extern "C" {
13408    pub fn zend_create_execute_data_from_op_array(
13409        op_array: *mut zend_op_array,
13410        nested: zend_bool,
13411    ) -> *mut zend_execute_data;
13412}
13413extern "C" {
13414    pub fn zend_execute(op_array: *mut zend_op_array);
13415}
13416extern "C" {
13417    pub fn zend_is_true(op: *mut zval) -> ::std::os::raw::c_int;
13418}
13419extern "C" {
13420    pub fn zend_lookup_class(
13421        name: *const ::std::os::raw::c_char,
13422        name_length: ::std::os::raw::c_int,
13423        ce: *mut *mut *mut zend_class_entry,
13424    ) -> ::std::os::raw::c_int;
13425}
13426extern "C" {
13427    pub fn zend_lookup_class_ex(
13428        name: *const ::std::os::raw::c_char,
13429        name_length: ::std::os::raw::c_int,
13430        key: *const zend_literal,
13431        use_autoload: ::std::os::raw::c_int,
13432        ce: *mut *mut *mut zend_class_entry,
13433    ) -> ::std::os::raw::c_int;
13434}
13435extern "C" {
13436    pub fn zend_eval_string(
13437        str_: *mut ::std::os::raw::c_char,
13438        retval_ptr: *mut zval,
13439        string_name: *mut ::std::os::raw::c_char,
13440    ) -> ::std::os::raw::c_int;
13441}
13442extern "C" {
13443    pub fn zend_eval_stringl(
13444        str_: *mut ::std::os::raw::c_char,
13445        str_len: ::std::os::raw::c_int,
13446        retval_ptr: *mut zval,
13447        string_name: *mut ::std::os::raw::c_char,
13448    ) -> ::std::os::raw::c_int;
13449}
13450extern "C" {
13451    pub fn zend_eval_string_ex(
13452        str_: *mut ::std::os::raw::c_char,
13453        retval_ptr: *mut zval,
13454        string_name: *mut ::std::os::raw::c_char,
13455        handle_exceptions: ::std::os::raw::c_int,
13456    ) -> ::std::os::raw::c_int;
13457}
13458extern "C" {
13459    pub fn zend_eval_stringl_ex(
13460        str_: *mut ::std::os::raw::c_char,
13461        str_len: ::std::os::raw::c_int,
13462        retval_ptr: *mut zval,
13463        string_name: *mut ::std::os::raw::c_char,
13464        handle_exceptions: ::std::os::raw::c_int,
13465    ) -> ::std::os::raw::c_int;
13466}
13467extern "C" {
13468    pub fn zend_verify_arg_class_kind(
13469        cur_arg_info: *const zend_arg_info,
13470        fetch_type: ulong,
13471        class_name: *mut *const ::std::os::raw::c_char,
13472        pce: *mut *mut zend_class_entry,
13473    ) -> *mut ::std::os::raw::c_char;
13474}
13475extern "C" {
13476    pub fn zend_verify_arg_error(
13477        error_type: ::std::os::raw::c_int,
13478        zf: *const zend_function,
13479        arg_num: zend_uint,
13480        need_msg: *const ::std::os::raw::c_char,
13481        need_kind: *const ::std::os::raw::c_char,
13482        given_msg: *const ::std::os::raw::c_char,
13483        given_kind: *const ::std::os::raw::c_char,
13484    ) -> ::std::os::raw::c_int;
13485}
13486#[repr(C)]
13487#[derive(Debug, Copy, Clone)]
13488pub struct _zend_vm_stack {
13489    pub top: *mut *mut ::std::os::raw::c_void,
13490    pub end: *mut *mut ::std::os::raw::c_void,
13491    pub prev: zend_vm_stack,
13492}
13493#[test]
13494fn bindgen_test_layout__zend_vm_stack() {
13495    assert_eq!(
13496        ::std::mem::size_of::<_zend_vm_stack>(),
13497        24usize,
13498        concat!("Size of: ", stringify!(_zend_vm_stack))
13499    );
13500    assert_eq!(
13501        ::std::mem::align_of::<_zend_vm_stack>(),
13502        8usize,
13503        concat!("Alignment of ", stringify!(_zend_vm_stack))
13504    );
13505    assert_eq!(
13506        unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).top as *const _ as usize },
13507        0usize,
13508        concat!(
13509            "Offset of field: ",
13510            stringify!(_zend_vm_stack),
13511            "::",
13512            stringify!(top)
13513        )
13514    );
13515    assert_eq!(
13516        unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).end as *const _ as usize },
13517        8usize,
13518        concat!(
13519            "Offset of field: ",
13520            stringify!(_zend_vm_stack),
13521            "::",
13522            stringify!(end)
13523        )
13524    );
13525    assert_eq!(
13526        unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).prev as *const _ as usize },
13527        16usize,
13528        concat!(
13529            "Offset of field: ",
13530            stringify!(_zend_vm_stack),
13531            "::",
13532            stringify!(prev)
13533        )
13534    );
13535}
13536extern "C" {
13537    pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
13538}
13539extern "C" {
13540    pub fn zend_get_executed_lineno() -> uint;
13541}
13542extern "C" {
13543    pub fn zend_is_executing() -> zend_bool;
13544}
13545extern "C" {
13546    pub fn zend_set_timeout(seconds: ::std::os::raw::c_long, reset_signals: ::std::os::raw::c_int);
13547}
13548extern "C" {
13549    pub fn zend_unset_timeout();
13550}
13551extern "C" {
13552    pub fn zend_timeout(dummy: ::std::os::raw::c_int);
13553}
13554extern "C" {
13555    pub fn zend_fetch_class(
13556        class_name: *const ::std::os::raw::c_char,
13557        class_name_len: uint,
13558        fetch_type: ::std::os::raw::c_int,
13559    ) -> *mut zend_class_entry;
13560}
13561extern "C" {
13562    pub fn zend_fetch_class_by_name(
13563        class_name: *const ::std::os::raw::c_char,
13564        class_name_len: uint,
13565        key: *const zend_literal,
13566        fetch_type: ::std::os::raw::c_int,
13567    ) -> *mut zend_class_entry;
13568}
13569extern "C" {
13570    pub fn zend_verify_abstract_class(ce: *mut zend_class_entry);
13571}
13572extern "C" {
13573    pub fn zend_fetch_dimension_by_zval(
13574        result: *mut *mut zval,
13575        container: *mut zval,
13576        dim: *mut zval,
13577    );
13578}
13579extern "C" {
13580    pub fn zend_get_compiled_variable_value(
13581        execute_data_ptr: *const zend_execute_data,
13582        var: zend_uint,
13583    ) -> *mut *mut zval;
13584}
13585extern "C" {
13586    pub fn zend_set_user_opcode_handler(
13587        opcode: zend_uchar,
13588        handler: user_opcode_handler_t,
13589    ) -> ::std::os::raw::c_int;
13590}
13591extern "C" {
13592    pub fn zend_get_user_opcode_handler(opcode: zend_uchar) -> user_opcode_handler_t;
13593}
13594#[repr(C)]
13595#[derive(Debug, Copy, Clone)]
13596pub struct _zend_free_op {
13597    pub var: *mut zval,
13598}
13599#[test]
13600fn bindgen_test_layout__zend_free_op() {
13601    assert_eq!(
13602        ::std::mem::size_of::<_zend_free_op>(),
13603        8usize,
13604        concat!("Size of: ", stringify!(_zend_free_op))
13605    );
13606    assert_eq!(
13607        ::std::mem::align_of::<_zend_free_op>(),
13608        8usize,
13609        concat!("Alignment of ", stringify!(_zend_free_op))
13610    );
13611    assert_eq!(
13612        unsafe { &(*(::std::ptr::null::<_zend_free_op>())).var as *const _ as usize },
13613        0usize,
13614        concat!(
13615            "Offset of field: ",
13616            stringify!(_zend_free_op),
13617            "::",
13618            stringify!(var)
13619        )
13620    );
13621}
13622pub type zend_free_op = _zend_free_op;
13623extern "C" {
13624    pub fn zend_get_zval_ptr(
13625        op_type: ::std::os::raw::c_int,
13626        node: *const znode_op,
13627        execute_data: *const zend_execute_data,
13628        should_free: *mut zend_free_op,
13629        type_: ::std::os::raw::c_int,
13630    ) -> *mut zval;
13631}
13632extern "C" {
13633    pub fn zend_get_zval_ptr_ptr(
13634        op_type: ::std::os::raw::c_int,
13635        node: *const znode_op,
13636        execute_data: *const zend_execute_data,
13637        should_free: *mut zend_free_op,
13638        type_: ::std::os::raw::c_int,
13639    ) -> *mut *mut zval;
13640}
13641extern "C" {
13642    pub fn zend_do_fcall(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int;
13643}
13644extern "C" {
13645    pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut HashTable);
13646}
13647extern "C" {
13648    pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
13649}
13650#[repr(C)]
13651#[derive(Debug, Copy, Clone)]
13652pub struct _zend_function_entry {
13653    pub fname: *const ::std::os::raw::c_char,
13654    pub handler: ::std::option::Option<
13655        unsafe extern "C" fn(
13656            ht: ::std::os::raw::c_int,
13657            return_value: *mut zval,
13658            return_value_ptr: *mut *mut zval,
13659            this_ptr: *mut zval,
13660            return_value_used: ::std::os::raw::c_int,
13661        ),
13662    >,
13663    pub arg_info: *const _zend_arg_info,
13664    pub num_args: zend_uint,
13665    pub flags: zend_uint,
13666}
13667#[test]
13668fn bindgen_test_layout__zend_function_entry() {
13669    assert_eq!(
13670        ::std::mem::size_of::<_zend_function_entry>(),
13671        32usize,
13672        concat!("Size of: ", stringify!(_zend_function_entry))
13673    );
13674    assert_eq!(
13675        ::std::mem::align_of::<_zend_function_entry>(),
13676        8usize,
13677        concat!("Alignment of ", stringify!(_zend_function_entry))
13678    );
13679    assert_eq!(
13680        unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).fname as *const _ as usize },
13681        0usize,
13682        concat!(
13683            "Offset of field: ",
13684            stringify!(_zend_function_entry),
13685            "::",
13686            stringify!(fname)
13687        )
13688    );
13689    assert_eq!(
13690        unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).handler as *const _ as usize },
13691        8usize,
13692        concat!(
13693            "Offset of field: ",
13694            stringify!(_zend_function_entry),
13695            "::",
13696            stringify!(handler)
13697        )
13698    );
13699    assert_eq!(
13700        unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).arg_info as *const _ as usize },
13701        16usize,
13702        concat!(
13703            "Offset of field: ",
13704            stringify!(_zend_function_entry),
13705            "::",
13706            stringify!(arg_info)
13707        )
13708    );
13709    assert_eq!(
13710        unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).num_args as *const _ as usize },
13711        24usize,
13712        concat!(
13713            "Offset of field: ",
13714            stringify!(_zend_function_entry),
13715            "::",
13716            stringify!(num_args)
13717        )
13718    );
13719    assert_eq!(
13720        unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).flags as *const _ as usize },
13721        28usize,
13722        concat!(
13723            "Offset of field: ",
13724            stringify!(_zend_function_entry),
13725            "::",
13726            stringify!(flags)
13727        )
13728    );
13729}
13730pub type zend_function_entry = _zend_function_entry;
13731#[repr(C)]
13732#[derive(Debug, Copy, Clone)]
13733pub struct _zend_fcall_info {
13734    pub size: size_t,
13735    pub function_table: *mut HashTable,
13736    pub function_name: *mut zval,
13737    pub symbol_table: *mut HashTable,
13738    pub retval_ptr_ptr: *mut *mut zval,
13739    pub param_count: zend_uint,
13740    pub params: *mut *mut *mut zval,
13741    pub object_ptr: *mut zval,
13742    pub no_separation: zend_bool,
13743}
13744#[test]
13745fn bindgen_test_layout__zend_fcall_info() {
13746    assert_eq!(
13747        ::std::mem::size_of::<_zend_fcall_info>(),
13748        72usize,
13749        concat!("Size of: ", stringify!(_zend_fcall_info))
13750    );
13751    assert_eq!(
13752        ::std::mem::align_of::<_zend_fcall_info>(),
13753        8usize,
13754        concat!("Alignment of ", stringify!(_zend_fcall_info))
13755    );
13756    assert_eq!(
13757        unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).size as *const _ as usize },
13758        0usize,
13759        concat!(
13760            "Offset of field: ",
13761            stringify!(_zend_fcall_info),
13762            "::",
13763            stringify!(size)
13764        )
13765    );
13766    assert_eq!(
13767        unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).function_table as *const _ as usize },
13768        8usize,
13769        concat!(
13770            "Offset of field: ",
13771            stringify!(_zend_fcall_info),
13772            "::",
13773            stringify!(function_table)
13774        )
13775    );
13776    assert_eq!(
13777        unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).function_name as *const _ as usize },
13778        16usize,
13779        concat!(
13780            "Offset of field: ",
13781            stringify!(_zend_fcall_info),
13782            "::",
13783            stringify!(function_name)
13784        )
13785    );
13786    assert_eq!(
13787        unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).symbol_table as *const _ as usize },
13788        24usize,
13789        concat!(
13790            "Offset of field: ",
13791            stringify!(_zend_fcall_info),
13792            "::",
13793            stringify!(symbol_table)
13794        )
13795    );
13796    assert_eq!(
13797        unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).retval_ptr_ptr as *const _ as usize },
13798        32usize,
13799        concat!(
13800            "Offset of field: ",
13801            stringify!(_zend_fcall_info),
13802            "::",
13803            stringify!(retval_ptr_ptr)
13804        )
13805    );
13806    assert_eq!(
13807        unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).param_count as *const _ as usize },
13808        40usize,
13809        concat!(
13810            "Offset of field: ",
13811            stringify!(_zend_fcall_info),
13812            "::",
13813            stringify!(param_count)
13814        )
13815    );
13816    assert_eq!(
13817        unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).params as *const _ as usize },
13818        48usize,
13819        concat!(
13820            "Offset of field: ",
13821            stringify!(_zend_fcall_info),
13822            "::",
13823            stringify!(params)
13824        )
13825    );
13826    assert_eq!(
13827        unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).object_ptr as *const _ as usize },
13828        56usize,
13829        concat!(
13830            "Offset of field: ",
13831            stringify!(_zend_fcall_info),
13832            "::",
13833            stringify!(object_ptr)
13834        )
13835    );
13836    assert_eq!(
13837        unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).no_separation as *const _ as usize },
13838        64usize,
13839        concat!(
13840            "Offset of field: ",
13841            stringify!(_zend_fcall_info),
13842            "::",
13843            stringify!(no_separation)
13844        )
13845    );
13846}
13847pub type zend_fcall_info = _zend_fcall_info;
13848#[repr(C)]
13849#[derive(Debug, Copy, Clone)]
13850pub struct _zend_fcall_info_cache {
13851    pub initialized: zend_bool,
13852    pub function_handler: *mut zend_function,
13853    pub calling_scope: *mut zend_class_entry,
13854    pub called_scope: *mut zend_class_entry,
13855    pub object_ptr: *mut zval,
13856}
13857#[test]
13858fn bindgen_test_layout__zend_fcall_info_cache() {
13859    assert_eq!(
13860        ::std::mem::size_of::<_zend_fcall_info_cache>(),
13861        40usize,
13862        concat!("Size of: ", stringify!(_zend_fcall_info_cache))
13863    );
13864    assert_eq!(
13865        ::std::mem::align_of::<_zend_fcall_info_cache>(),
13866        8usize,
13867        concat!("Alignment of ", stringify!(_zend_fcall_info_cache))
13868    );
13869    assert_eq!(
13870        unsafe {
13871            &(*(::std::ptr::null::<_zend_fcall_info_cache>())).initialized as *const _ as usize
13872        },
13873        0usize,
13874        concat!(
13875            "Offset of field: ",
13876            stringify!(_zend_fcall_info_cache),
13877            "::",
13878            stringify!(initialized)
13879        )
13880    );
13881    assert_eq!(
13882        unsafe {
13883            &(*(::std::ptr::null::<_zend_fcall_info_cache>())).function_handler as *const _ as usize
13884        },
13885        8usize,
13886        concat!(
13887            "Offset of field: ",
13888            stringify!(_zend_fcall_info_cache),
13889            "::",
13890            stringify!(function_handler)
13891        )
13892    );
13893    assert_eq!(
13894        unsafe {
13895            &(*(::std::ptr::null::<_zend_fcall_info_cache>())).calling_scope as *const _ as usize
13896        },
13897        16usize,
13898        concat!(
13899            "Offset of field: ",
13900            stringify!(_zend_fcall_info_cache),
13901            "::",
13902            stringify!(calling_scope)
13903        )
13904    );
13905    assert_eq!(
13906        unsafe {
13907            &(*(::std::ptr::null::<_zend_fcall_info_cache>())).called_scope as *const _ as usize
13908        },
13909        24usize,
13910        concat!(
13911            "Offset of field: ",
13912            stringify!(_zend_fcall_info_cache),
13913            "::",
13914            stringify!(called_scope)
13915        )
13916    );
13917    assert_eq!(
13918        unsafe {
13919            &(*(::std::ptr::null::<_zend_fcall_info_cache>())).object_ptr as *const _ as usize
13920        },
13921        32usize,
13922        concat!(
13923            "Offset of field: ",
13924            stringify!(_zend_fcall_info_cache),
13925            "::",
13926            stringify!(object_ptr)
13927        )
13928    );
13929}
13930pub type zend_fcall_info_cache = _zend_fcall_info_cache;
13931extern "C" {
13932    pub fn zend_next_free_module() -> ::std::os::raw::c_int;
13933}
13934extern "C" {
13935    pub fn zend_get_parameters(
13936        ht: ::std::os::raw::c_int,
13937        param_count: ::std::os::raw::c_int,
13938        ...
13939    ) -> ::std::os::raw::c_int;
13940}
13941extern "C" {
13942    pub fn _zend_get_parameters_array(
13943        ht: ::std::os::raw::c_int,
13944        param_count: ::std::os::raw::c_int,
13945        argument_array: *mut *mut zval,
13946    ) -> ::std::os::raw::c_int;
13947}
13948extern "C" {
13949    pub fn zend_get_parameters_ex(param_count: ::std::os::raw::c_int, ...)
13950        -> ::std::os::raw::c_int;
13951}
13952extern "C" {
13953    pub fn _zend_get_parameters_array_ex(
13954        param_count: ::std::os::raw::c_int,
13955        argument_array: *mut *mut *mut zval,
13956    ) -> ::std::os::raw::c_int;
13957}
13958extern "C" {
13959    pub fn zend_copy_parameters_array(
13960        param_count: ::std::os::raw::c_int,
13961        argument_array: *mut zval,
13962    ) -> ::std::os::raw::c_int;
13963}
13964extern "C" {
13965    pub fn zend_parse_parameters(
13966        num_args: ::std::os::raw::c_int,
13967        type_spec: *const ::std::os::raw::c_char,
13968        ...
13969    ) -> ::std::os::raw::c_int;
13970}
13971extern "C" {
13972    pub fn zend_parse_parameters_ex(
13973        flags: ::std::os::raw::c_int,
13974        num_args: ::std::os::raw::c_int,
13975        type_spec: *const ::std::os::raw::c_char,
13976        ...
13977    ) -> ::std::os::raw::c_int;
13978}
13979extern "C" {
13980    pub fn zend_zval_type_name(arg: *const zval) -> *mut ::std::os::raw::c_char;
13981}
13982extern "C" {
13983    pub fn zend_parse_method_parameters(
13984        num_args: ::std::os::raw::c_int,
13985        this_ptr: *mut zval,
13986        type_spec: *const ::std::os::raw::c_char,
13987        ...
13988    ) -> ::std::os::raw::c_int;
13989}
13990extern "C" {
13991    pub fn zend_parse_method_parameters_ex(
13992        flags: ::std::os::raw::c_int,
13993        num_args: ::std::os::raw::c_int,
13994        this_ptr: *mut zval,
13995        type_spec: *const ::std::os::raw::c_char,
13996        ...
13997    ) -> ::std::os::raw::c_int;
13998}
13999extern "C" {
14000    pub fn zend_parse_parameter(
14001        flags: ::std::os::raw::c_int,
14002        arg_num: ::std::os::raw::c_int,
14003        arg: *mut *mut zval,
14004        spec: *const ::std::os::raw::c_char,
14005        ...
14006    ) -> ::std::os::raw::c_int;
14007}
14008extern "C" {
14009    pub fn zend_register_functions(
14010        scope: *mut zend_class_entry,
14011        functions: *const zend_function_entry,
14012        function_table: *mut HashTable,
14013        type_: ::std::os::raw::c_int,
14014    ) -> ::std::os::raw::c_int;
14015}
14016extern "C" {
14017    pub fn zend_unregister_functions(
14018        functions: *const zend_function_entry,
14019        count: ::std::os::raw::c_int,
14020        function_table: *mut HashTable,
14021    );
14022}
14023extern "C" {
14024    pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> ::std::os::raw::c_int;
14025}
14026extern "C" {
14027    pub fn zend_register_internal_module(
14028        module_entry: *mut zend_module_entry,
14029    ) -> *mut zend_module_entry;
14030}
14031extern "C" {
14032    pub fn zend_register_module_ex(module: *mut zend_module_entry) -> *mut zend_module_entry;
14033}
14034extern "C" {
14035    pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> ::std::os::raw::c_int;
14036}
14037extern "C" {
14038    pub fn zend_startup_modules() -> ::std::os::raw::c_int;
14039}
14040extern "C" {
14041    pub fn zend_collect_module_handlers();
14042}
14043extern "C" {
14044    pub fn zend_destroy_modules();
14045}
14046extern "C" {
14047    pub fn zend_check_magic_method_implementation(
14048        ce: *const zend_class_entry,
14049        fptr: *const zend_function,
14050        error_type: ::std::os::raw::c_int,
14051    );
14052}
14053extern "C" {
14054    pub fn zend_register_internal_class(
14055        class_entry: *mut zend_class_entry,
14056    ) -> *mut zend_class_entry;
14057}
14058extern "C" {
14059    pub fn zend_register_internal_class_ex(
14060        class_entry: *mut zend_class_entry,
14061        parent_ce: *mut zend_class_entry,
14062        parent_name: *mut ::std::os::raw::c_char,
14063    ) -> *mut zend_class_entry;
14064}
14065extern "C" {
14066    pub fn zend_register_internal_interface(
14067        orig_class_entry: *mut zend_class_entry,
14068    ) -> *mut zend_class_entry;
14069}
14070extern "C" {
14071    pub fn zend_class_implements(
14072        class_entry: *mut zend_class_entry,
14073        num_interfaces: ::std::os::raw::c_int,
14074        ...
14075    );
14076}
14077extern "C" {
14078    pub fn zend_register_class_alias_ex(
14079        name: *const ::std::os::raw::c_char,
14080        name_len: ::std::os::raw::c_int,
14081        ce: *mut zend_class_entry,
14082    ) -> ::std::os::raw::c_int;
14083}
14084extern "C" {
14085    pub fn zend_disable_function(
14086        function_name: *mut ::std::os::raw::c_char,
14087        function_name_length: uint,
14088    ) -> ::std::os::raw::c_int;
14089}
14090extern "C" {
14091    pub fn zend_disable_class(
14092        class_name: *mut ::std::os::raw::c_char,
14093        class_name_length: uint,
14094    ) -> ::std::os::raw::c_int;
14095}
14096extern "C" {
14097    pub fn zend_wrong_param_count();
14098}
14099extern "C" {
14100    pub fn zend_is_callable_ex(
14101        callable: *mut zval,
14102        object_ptr: *mut zval,
14103        check_flags: uint,
14104        callable_name: *mut *mut ::std::os::raw::c_char,
14105        callable_name_len: *mut ::std::os::raw::c_int,
14106        fcc: *mut zend_fcall_info_cache,
14107        error: *mut *mut ::std::os::raw::c_char,
14108    ) -> zend_bool;
14109}
14110extern "C" {
14111    pub fn zend_is_callable(
14112        callable: *mut zval,
14113        check_flags: uint,
14114        callable_name: *mut *mut ::std::os::raw::c_char,
14115    ) -> zend_bool;
14116}
14117extern "C" {
14118    pub fn zend_make_callable(
14119        callable: *mut zval,
14120        callable_name: *mut *mut ::std::os::raw::c_char,
14121    ) -> zend_bool;
14122}
14123extern "C" {
14124    pub fn zend_get_module_version(
14125        module_name: *const ::std::os::raw::c_char,
14126    ) -> *const ::std::os::raw::c_char;
14127}
14128extern "C" {
14129    pub fn zend_get_module_started(
14130        module_name: *const ::std::os::raw::c_char,
14131    ) -> ::std::os::raw::c_int;
14132}
14133extern "C" {
14134    pub fn zend_declare_property(
14135        ce: *mut zend_class_entry,
14136        name: *const ::std::os::raw::c_char,
14137        name_length: ::std::os::raw::c_int,
14138        property: *mut zval,
14139        access_type: ::std::os::raw::c_int,
14140    ) -> ::std::os::raw::c_int;
14141}
14142extern "C" {
14143    pub fn zend_declare_property_ex(
14144        ce: *mut zend_class_entry,
14145        name: *const ::std::os::raw::c_char,
14146        name_length: ::std::os::raw::c_int,
14147        property: *mut zval,
14148        access_type: ::std::os::raw::c_int,
14149        doc_comment: *const ::std::os::raw::c_char,
14150        doc_comment_len: ::std::os::raw::c_int,
14151    ) -> ::std::os::raw::c_int;
14152}
14153extern "C" {
14154    pub fn zend_declare_property_null(
14155        ce: *mut zend_class_entry,
14156        name: *const ::std::os::raw::c_char,
14157        name_length: ::std::os::raw::c_int,
14158        access_type: ::std::os::raw::c_int,
14159    ) -> ::std::os::raw::c_int;
14160}
14161extern "C" {
14162    pub fn zend_declare_property_bool(
14163        ce: *mut zend_class_entry,
14164        name: *const ::std::os::raw::c_char,
14165        name_length: ::std::os::raw::c_int,
14166        value: ::std::os::raw::c_long,
14167        access_type: ::std::os::raw::c_int,
14168    ) -> ::std::os::raw::c_int;
14169}
14170extern "C" {
14171    pub fn zend_declare_property_long(
14172        ce: *mut zend_class_entry,
14173        name: *const ::std::os::raw::c_char,
14174        name_length: ::std::os::raw::c_int,
14175        value: ::std::os::raw::c_long,
14176        access_type: ::std::os::raw::c_int,
14177    ) -> ::std::os::raw::c_int;
14178}
14179extern "C" {
14180    pub fn zend_declare_property_double(
14181        ce: *mut zend_class_entry,
14182        name: *const ::std::os::raw::c_char,
14183        name_length: ::std::os::raw::c_int,
14184        value: f64,
14185        access_type: ::std::os::raw::c_int,
14186    ) -> ::std::os::raw::c_int;
14187}
14188extern "C" {
14189    pub fn zend_declare_property_string(
14190        ce: *mut zend_class_entry,
14191        name: *const ::std::os::raw::c_char,
14192        name_length: ::std::os::raw::c_int,
14193        value: *const ::std::os::raw::c_char,
14194        access_type: ::std::os::raw::c_int,
14195    ) -> ::std::os::raw::c_int;
14196}
14197extern "C" {
14198    pub fn zend_declare_property_stringl(
14199        ce: *mut zend_class_entry,
14200        name: *const ::std::os::raw::c_char,
14201        name_length: ::std::os::raw::c_int,
14202        value: *const ::std::os::raw::c_char,
14203        value_len: ::std::os::raw::c_int,
14204        access_type: ::std::os::raw::c_int,
14205    ) -> ::std::os::raw::c_int;
14206}
14207extern "C" {
14208    pub fn zend_declare_class_constant(
14209        ce: *mut zend_class_entry,
14210        name: *const ::std::os::raw::c_char,
14211        name_length: size_t,
14212        value: *mut zval,
14213    ) -> ::std::os::raw::c_int;
14214}
14215extern "C" {
14216    pub fn zend_declare_class_constant_null(
14217        ce: *mut zend_class_entry,
14218        name: *const ::std::os::raw::c_char,
14219        name_length: size_t,
14220    ) -> ::std::os::raw::c_int;
14221}
14222extern "C" {
14223    pub fn zend_declare_class_constant_long(
14224        ce: *mut zend_class_entry,
14225        name: *const ::std::os::raw::c_char,
14226        name_length: size_t,
14227        value: ::std::os::raw::c_long,
14228    ) -> ::std::os::raw::c_int;
14229}
14230extern "C" {
14231    pub fn zend_declare_class_constant_bool(
14232        ce: *mut zend_class_entry,
14233        name: *const ::std::os::raw::c_char,
14234        name_length: size_t,
14235        value: zend_bool,
14236    ) -> ::std::os::raw::c_int;
14237}
14238extern "C" {
14239    pub fn zend_declare_class_constant_double(
14240        ce: *mut zend_class_entry,
14241        name: *const ::std::os::raw::c_char,
14242        name_length: size_t,
14243        value: f64,
14244    ) -> ::std::os::raw::c_int;
14245}
14246extern "C" {
14247    pub fn zend_declare_class_constant_stringl(
14248        ce: *mut zend_class_entry,
14249        name: *const ::std::os::raw::c_char,
14250        name_length: size_t,
14251        value: *const ::std::os::raw::c_char,
14252        value_length: size_t,
14253    ) -> ::std::os::raw::c_int;
14254}
14255extern "C" {
14256    pub fn zend_declare_class_constant_string(
14257        ce: *mut zend_class_entry,
14258        name: *const ::std::os::raw::c_char,
14259        name_length: size_t,
14260        value: *const ::std::os::raw::c_char,
14261    ) -> ::std::os::raw::c_int;
14262}
14263extern "C" {
14264    pub fn zend_update_class_constants(class_type: *mut zend_class_entry);
14265}
14266extern "C" {
14267    pub fn zend_update_property(
14268        scope: *mut zend_class_entry,
14269        object: *mut zval,
14270        name: *const ::std::os::raw::c_char,
14271        name_length: ::std::os::raw::c_int,
14272        value: *mut zval,
14273    );
14274}
14275extern "C" {
14276    pub fn zend_update_property_null(
14277        scope: *mut zend_class_entry,
14278        object: *mut zval,
14279        name: *const ::std::os::raw::c_char,
14280        name_length: ::std::os::raw::c_int,
14281    );
14282}
14283extern "C" {
14284    pub fn zend_update_property_bool(
14285        scope: *mut zend_class_entry,
14286        object: *mut zval,
14287        name: *const ::std::os::raw::c_char,
14288        name_length: ::std::os::raw::c_int,
14289        value: ::std::os::raw::c_long,
14290    );
14291}
14292extern "C" {
14293    pub fn zend_update_property_long(
14294        scope: *mut zend_class_entry,
14295        object: *mut zval,
14296        name: *const ::std::os::raw::c_char,
14297        name_length: ::std::os::raw::c_int,
14298        value: ::std::os::raw::c_long,
14299    );
14300}
14301extern "C" {
14302    pub fn zend_update_property_double(
14303        scope: *mut zend_class_entry,
14304        object: *mut zval,
14305        name: *const ::std::os::raw::c_char,
14306        name_length: ::std::os::raw::c_int,
14307        value: f64,
14308    );
14309}
14310extern "C" {
14311    pub fn zend_update_property_string(
14312        scope: *mut zend_class_entry,
14313        object: *mut zval,
14314        name: *const ::std::os::raw::c_char,
14315        name_length: ::std::os::raw::c_int,
14316        value: *const ::std::os::raw::c_char,
14317    );
14318}
14319extern "C" {
14320    pub fn zend_update_property_stringl(
14321        scope: *mut zend_class_entry,
14322        object: *mut zval,
14323        name: *const ::std::os::raw::c_char,
14324        name_length: ::std::os::raw::c_int,
14325        value: *const ::std::os::raw::c_char,
14326        value_length: ::std::os::raw::c_int,
14327    );
14328}
14329extern "C" {
14330    pub fn zend_unset_property(
14331        scope: *mut zend_class_entry,
14332        object: *mut zval,
14333        name: *const ::std::os::raw::c_char,
14334        name_length: ::std::os::raw::c_int,
14335    );
14336}
14337extern "C" {
14338    pub fn zend_update_static_property(
14339        scope: *mut zend_class_entry,
14340        name: *const ::std::os::raw::c_char,
14341        name_length: ::std::os::raw::c_int,
14342        value: *mut zval,
14343    ) -> ::std::os::raw::c_int;
14344}
14345extern "C" {
14346    pub fn zend_update_static_property_null(
14347        scope: *mut zend_class_entry,
14348        name: *const ::std::os::raw::c_char,
14349        name_length: ::std::os::raw::c_int,
14350    ) -> ::std::os::raw::c_int;
14351}
14352extern "C" {
14353    pub fn zend_update_static_property_bool(
14354        scope: *mut zend_class_entry,
14355        name: *const ::std::os::raw::c_char,
14356        name_length: ::std::os::raw::c_int,
14357        value: ::std::os::raw::c_long,
14358    ) -> ::std::os::raw::c_int;
14359}
14360extern "C" {
14361    pub fn zend_update_static_property_long(
14362        scope: *mut zend_class_entry,
14363        name: *const ::std::os::raw::c_char,
14364        name_length: ::std::os::raw::c_int,
14365        value: ::std::os::raw::c_long,
14366    ) -> ::std::os::raw::c_int;
14367}
14368extern "C" {
14369    pub fn zend_update_static_property_double(
14370        scope: *mut zend_class_entry,
14371        name: *const ::std::os::raw::c_char,
14372        name_length: ::std::os::raw::c_int,
14373        value: f64,
14374    ) -> ::std::os::raw::c_int;
14375}
14376extern "C" {
14377    pub fn zend_update_static_property_string(
14378        scope: *mut zend_class_entry,
14379        name: *const ::std::os::raw::c_char,
14380        name_length: ::std::os::raw::c_int,
14381        value: *const ::std::os::raw::c_char,
14382    ) -> ::std::os::raw::c_int;
14383}
14384extern "C" {
14385    pub fn zend_update_static_property_stringl(
14386        scope: *mut zend_class_entry,
14387        name: *const ::std::os::raw::c_char,
14388        name_length: ::std::os::raw::c_int,
14389        value: *const ::std::os::raw::c_char,
14390        value_length: ::std::os::raw::c_int,
14391    ) -> ::std::os::raw::c_int;
14392}
14393extern "C" {
14394    pub fn zend_read_property(
14395        scope: *mut zend_class_entry,
14396        object: *mut zval,
14397        name: *const ::std::os::raw::c_char,
14398        name_length: ::std::os::raw::c_int,
14399        silent: zend_bool,
14400    ) -> *mut zval;
14401}
14402extern "C" {
14403    pub fn zend_read_static_property(
14404        scope: *mut zend_class_entry,
14405        name: *const ::std::os::raw::c_char,
14406        name_length: ::std::os::raw::c_int,
14407        silent: zend_bool,
14408    ) -> *mut zval;
14409}
14410extern "C" {
14411    pub fn zend_get_class_entry(zobject: *const zval) -> *mut zend_class_entry;
14412}
14413extern "C" {
14414    pub fn zend_get_object_classname(
14415        object: *const zval,
14416        class_name: *mut *const ::std::os::raw::c_char,
14417        class_name_len: *mut zend_uint,
14418    ) -> ::std::os::raw::c_int;
14419}
14420extern "C" {
14421    pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
14422}
14423extern "C" {
14424    pub fn zend_merge_properties(
14425        obj: *mut zval,
14426        properties: *mut HashTable,
14427        destroy_ht: ::std::os::raw::c_int,
14428    );
14429}
14430extern "C" {
14431    pub static empty_fcall_info: zend_fcall_info;
14432}
14433extern "C" {
14434    pub static empty_fcall_info_cache: zend_fcall_info_cache;
14435}
14436extern "C" {
14437    #[doc = " Build zend_call_info/cache from a zval*"]
14438    #[doc = ""]
14439    #[doc = " Caller is responsible to provide a return value, otherwise the we will crash."]
14440    #[doc = " fci->retval_ptr_ptr = NULL;"]
14441    #[doc = " In order to pass parameters the following members need to be set:"]
14442    #[doc = " fci->param_count = 0;"]
14443    #[doc = " fci->params = NULL;"]
14444    #[doc = " The callable_name argument may be NULL."]
14445    #[doc = " Set check_flags to IS_CALLABLE_STRICT for every new usage!"]
14446    pub fn zend_fcall_info_init(
14447        callable: *mut zval,
14448        check_flags: uint,
14449        fci: *mut zend_fcall_info,
14450        fcc: *mut zend_fcall_info_cache,
14451        callable_name: *mut *mut ::std::os::raw::c_char,
14452        error: *mut *mut ::std::os::raw::c_char,
14453    ) -> ::std::os::raw::c_int;
14454}
14455extern "C" {
14456    #[doc = " Clear arguments connected with zend_fcall_info *fci"]
14457    #[doc = " If free_mem is not zero then the params array gets free'd as well"]
14458    pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: ::std::os::raw::c_int);
14459}
14460extern "C" {
14461    #[doc = " Save current arguments from zend_fcall_info *fci"]
14462    #[doc = " params array will be set to NULL"]
14463    pub fn zend_fcall_info_args_save(
14464        fci: *mut zend_fcall_info,
14465        param_count: *mut ::std::os::raw::c_int,
14466        params: *mut *mut *mut *mut zval,
14467    );
14468}
14469extern "C" {
14470    #[doc = " Free arguments connected with zend_fcall_info *fci andset back saved ones."]
14471    pub fn zend_fcall_info_args_restore(
14472        fci: *mut zend_fcall_info,
14473        param_count: ::std::os::raw::c_int,
14474        params: *mut *mut *mut zval,
14475    );
14476}
14477extern "C" {
14478    #[doc = " Set or clear the arguments in the zend_call_info struct taking care of"]
14479    #[doc = " refcount. If args is NULL and arguments are set then those are cleared."]
14480    pub fn zend_fcall_info_args(
14481        fci: *mut zend_fcall_info,
14482        args: *mut zval,
14483    ) -> ::std::os::raw::c_int;
14484}
14485extern "C" {
14486    #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
14487    #[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
14488    #[doc = " a variable amount of zval** arguments."]
14489    pub fn zend_fcall_info_argp(
14490        fci: *mut zend_fcall_info,
14491        argc: ::std::os::raw::c_int,
14492        argv: *mut *mut *mut zval,
14493    ) -> ::std::os::raw::c_int;
14494}
14495extern "C" {
14496    #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
14497    #[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
14498    #[doc = " a variable amount of zval** arguments."]
14499    pub fn zend_fcall_info_argv(
14500        fci: *mut zend_fcall_info,
14501        argc: ::std::os::raw::c_int,
14502        argv: *mut va_list,
14503    ) -> ::std::os::raw::c_int;
14504}
14505extern "C" {
14506    #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
14507    #[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
14508    #[doc = " a variable amount of zval** arguments."]
14509    pub fn zend_fcall_info_argn(
14510        fci: *mut zend_fcall_info,
14511        argc: ::std::os::raw::c_int,
14512        ...
14513    ) -> ::std::os::raw::c_int;
14514}
14515extern "C" {
14516    #[doc = " Call a function using information created by zend_fcall_info_init()/args()."]
14517    #[doc = " If args is given then those replace the argument info in fci is temporarily."]
14518    pub fn zend_fcall_info_call(
14519        fci: *mut zend_fcall_info,
14520        fcc: *mut zend_fcall_info_cache,
14521        retval: *mut *mut zval,
14522        args: *mut zval,
14523    ) -> ::std::os::raw::c_int;
14524}
14525extern "C" {
14526    pub fn zend_call_function(
14527        fci: *mut zend_fcall_info,
14528        fci_cache: *mut zend_fcall_info_cache,
14529    ) -> ::std::os::raw::c_int;
14530}
14531extern "C" {
14532    pub fn zend_set_hash_symbol(
14533        symbol: *mut zval,
14534        name: *const ::std::os::raw::c_char,
14535        name_length: ::std::os::raw::c_int,
14536        is_ref: zend_bool,
14537        num_symbol_tables: ::std::os::raw::c_int,
14538        ...
14539    ) -> ::std::os::raw::c_int;
14540}
14541extern "C" {
14542    pub fn zend_delete_variable(
14543        ex: *mut zend_execute_data,
14544        ht: *mut HashTable,
14545        name: *const ::std::os::raw::c_char,
14546        name_len: ::std::os::raw::c_int,
14547        hash_value: ulong,
14548    );
14549}
14550extern "C" {
14551    pub fn zend_delete_global_variable(
14552        name: *const ::std::os::raw::c_char,
14553        name_len: ::std::os::raw::c_int,
14554    ) -> ::std::os::raw::c_int;
14555}
14556extern "C" {
14557    pub fn zend_delete_global_variable_ex(
14558        name: *const ::std::os::raw::c_char,
14559        name_len: ::std::os::raw::c_int,
14560        hash_value: ulong,
14561    ) -> ::std::os::raw::c_int;
14562}
14563extern "C" {
14564    pub fn zend_reset_all_cv(symbol_table: *mut HashTable);
14565}
14566extern "C" {
14567    pub fn zend_rebuild_symbol_table();
14568}
14569extern "C" {
14570    pub fn zend_find_alias_name(
14571        ce: *mut zend_class_entry,
14572        name: *const ::std::os::raw::c_char,
14573        len: zend_uint,
14574    ) -> *const ::std::os::raw::c_char;
14575}
14576extern "C" {
14577    pub fn zend_resolve_method_name(
14578        ce: *mut zend_class_entry,
14579        f: *mut zend_function,
14580    ) -> *const ::std::os::raw::c_char;
14581}
14582extern "C" {
14583    pub fn php_strlcpy(
14584        dst: *mut ::std::os::raw::c_char,
14585        src: *const ::std::os::raw::c_char,
14586        siz: size_t,
14587    ) -> size_t;
14588}
14589extern "C" {
14590    pub fn php_strlcat(
14591        dst: *mut ::std::os::raw::c_char,
14592        src: *const ::std::os::raw::c_char,
14593        siz: size_t,
14594    ) -> size_t;
14595}
14596pub type socklen_t = __socklen_t;
14597pub type bool_int = ::std::os::raw::c_int;
14598pub const boolean_e_NO: boolean_e = 0;
14599pub const boolean_e_YES: boolean_e = 1;
14600pub type boolean_e = ::std::os::raw::c_uint;
14601extern "C" {
14602    pub fn php_sprintf(
14603        s: *mut ::std::os::raw::c_char,
14604        format: *const ::std::os::raw::c_char,
14605        ...
14606    ) -> ::std::os::raw::c_int;
14607}
14608extern "C" {
14609    pub fn php_gcvt(
14610        value: f64,
14611        ndigit: ::std::os::raw::c_int,
14612        dec_point: ::std::os::raw::c_char,
14613        exponent: ::std::os::raw::c_char,
14614        buf: *mut ::std::os::raw::c_char,
14615    ) -> *mut ::std::os::raw::c_char;
14616}
14617extern "C" {
14618    pub fn php_conv_fp(
14619        format: ::std::os::raw::c_char,
14620        num: f64,
14621        add_dp: boolean_e,
14622        precision: ::std::os::raw::c_int,
14623        dec_point: ::std::os::raw::c_char,
14624        is_negative: *mut bool_int,
14625        buf: *mut ::std::os::raw::c_char,
14626        len: *mut ::std::os::raw::c_int,
14627    ) -> *mut ::std::os::raw::c_char;
14628}
14629extern "C" {
14630    pub fn php_write(buf: *mut ::std::os::raw::c_void, size: uint) -> ::std::os::raw::c_int;
14631}
14632extern "C" {
14633    pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
14634}
14635extern "C" {
14636    pub fn php_get_module_initialized() -> ::std::os::raw::c_int;
14637}
14638extern "C" {
14639    pub fn php_log_err(log_message: *mut ::std::os::raw::c_char);
14640}
14641extern "C" {
14642    pub fn php_verror(
14643        docref: *const ::std::os::raw::c_char,
14644        params: *const ::std::os::raw::c_char,
14645        type_: ::std::os::raw::c_int,
14646        format: *const ::std::os::raw::c_char,
14647        args: *mut __va_list_tag,
14648    );
14649}
14650extern "C" {
14651    pub fn php_error_docref0(
14652        docref: *const ::std::os::raw::c_char,
14653        type_: ::std::os::raw::c_int,
14654        format: *const ::std::os::raw::c_char,
14655        ...
14656    );
14657}
14658extern "C" {
14659    pub fn php_error_docref1(
14660        docref: *const ::std::os::raw::c_char,
14661        param1: *const ::std::os::raw::c_char,
14662        type_: ::std::os::raw::c_int,
14663        format: *const ::std::os::raw::c_char,
14664        ...
14665    );
14666}
14667extern "C" {
14668    pub fn php_error_docref2(
14669        docref: *const ::std::os::raw::c_char,
14670        param1: *const ::std::os::raw::c_char,
14671        param2: *const ::std::os::raw::c_char,
14672        type_: ::std::os::raw::c_int,
14673        format: *const ::std::os::raw::c_char,
14674        ...
14675    );
14676}
14677extern "C" {
14678    pub static mut php_register_internal_extensions_func:
14679        ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
14680}
14681extern "C" {
14682    pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
14683}
14684extern "C" {
14685    pub fn php_mergesort(
14686        base: *mut ::std::os::raw::c_void,
14687        nmemb: size_t,
14688        size: size_t,
14689        cmp: ::std::option::Option<
14690            unsafe extern "C" fn(
14691                arg1: *const ::std::os::raw::c_void,
14692                arg2: *const ::std::os::raw::c_void,
14693            ) -> ::std::os::raw::c_int,
14694        >,
14695    ) -> ::std::os::raw::c_int;
14696}
14697extern "C" {
14698    pub fn php_register_pre_request_shutdown(
14699        func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
14700        userdata: *mut ::std::os::raw::c_void,
14701    );
14702}
14703extern "C" {
14704    pub fn php_com_initialize();
14705}
14706extern "C" {
14707    pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
14708}
14709pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
14710    0;
14711pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
14712    1;
14713pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
14714    2;
14715pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
14716    3;
14717pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
14718    4;
14719pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
14720pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
14721pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
14722#[repr(C)]
14723#[derive(Debug, Copy, Clone)]
14724pub struct _php_output_buffer {
14725    pub data: *mut ::std::os::raw::c_char,
14726    pub size: size_t,
14727    pub used: size_t,
14728    pub _bitfield_align_1: [u32; 0],
14729    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
14730    pub __bindgen_padding_0: u32,
14731}
14732#[test]
14733fn bindgen_test_layout__php_output_buffer() {
14734    assert_eq!(
14735        ::std::mem::size_of::<_php_output_buffer>(),
14736        32usize,
14737        concat!("Size of: ", stringify!(_php_output_buffer))
14738    );
14739    assert_eq!(
14740        ::std::mem::align_of::<_php_output_buffer>(),
14741        8usize,
14742        concat!("Alignment of ", stringify!(_php_output_buffer))
14743    );
14744    assert_eq!(
14745        unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).data as *const _ as usize },
14746        0usize,
14747        concat!(
14748            "Offset of field: ",
14749            stringify!(_php_output_buffer),
14750            "::",
14751            stringify!(data)
14752        )
14753    );
14754    assert_eq!(
14755        unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).size as *const _ as usize },
14756        8usize,
14757        concat!(
14758            "Offset of field: ",
14759            stringify!(_php_output_buffer),
14760            "::",
14761            stringify!(size)
14762        )
14763    );
14764    assert_eq!(
14765        unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).used as *const _ as usize },
14766        16usize,
14767        concat!(
14768            "Offset of field: ",
14769            stringify!(_php_output_buffer),
14770            "::",
14771            stringify!(used)
14772        )
14773    );
14774}
14775impl _php_output_buffer {
14776    #[inline]
14777    pub fn free(&self) -> uint {
14778        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
14779    }
14780    #[inline]
14781    pub fn set_free(&mut self, val: uint) {
14782        unsafe {
14783            let val: u32 = ::std::mem::transmute(val);
14784            self._bitfield_1.set(0usize, 1u8, val as u64)
14785        }
14786    }
14787    #[inline]
14788    pub fn _res(&self) -> uint {
14789        unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
14790    }
14791    #[inline]
14792    pub fn set__res(&mut self, val: uint) {
14793        unsafe {
14794            let val: u32 = ::std::mem::transmute(val);
14795            self._bitfield_1.set(1usize, 31u8, val as u64)
14796        }
14797    }
14798    #[inline]
14799    pub fn new_bitfield_1(free: uint, _res: uint) -> __BindgenBitfieldUnit<[u8; 4usize]> {
14800        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
14801        __bindgen_bitfield_unit.set(0usize, 1u8, {
14802            let free: u32 = unsafe { ::std::mem::transmute(free) };
14803            free as u64
14804        });
14805        __bindgen_bitfield_unit.set(1usize, 31u8, {
14806            let _res: u32 = unsafe { ::std::mem::transmute(_res) };
14807            _res as u64
14808        });
14809        __bindgen_bitfield_unit
14810    }
14811}
14812pub type php_output_buffer = _php_output_buffer;
14813#[repr(C)]
14814#[derive(Debug, Copy, Clone)]
14815pub struct _php_output_context {
14816    pub op: ::std::os::raw::c_int,
14817    pub in_: php_output_buffer,
14818    pub out: php_output_buffer,
14819}
14820#[test]
14821fn bindgen_test_layout__php_output_context() {
14822    assert_eq!(
14823        ::std::mem::size_of::<_php_output_context>(),
14824        72usize,
14825        concat!("Size of: ", stringify!(_php_output_context))
14826    );
14827    assert_eq!(
14828        ::std::mem::align_of::<_php_output_context>(),
14829        8usize,
14830        concat!("Alignment of ", stringify!(_php_output_context))
14831    );
14832    assert_eq!(
14833        unsafe { &(*(::std::ptr::null::<_php_output_context>())).op as *const _ as usize },
14834        0usize,
14835        concat!(
14836            "Offset of field: ",
14837            stringify!(_php_output_context),
14838            "::",
14839            stringify!(op)
14840        )
14841    );
14842    assert_eq!(
14843        unsafe { &(*(::std::ptr::null::<_php_output_context>())).in_ as *const _ as usize },
14844        8usize,
14845        concat!(
14846            "Offset of field: ",
14847            stringify!(_php_output_context),
14848            "::",
14849            stringify!(in_)
14850        )
14851    );
14852    assert_eq!(
14853        unsafe { &(*(::std::ptr::null::<_php_output_context>())).out as *const _ as usize },
14854        40usize,
14855        concat!(
14856            "Offset of field: ",
14857            stringify!(_php_output_context),
14858            "::",
14859            stringify!(out)
14860        )
14861    );
14862}
14863pub type php_output_context = _php_output_context;
14864pub type php_output_handler_func_t = ::std::option::Option<
14865    unsafe extern "C" fn(
14866        output: *mut ::std::os::raw::c_char,
14867        output_len: uint,
14868        handled_output: *mut *mut ::std::os::raw::c_char,
14869        handled_output_len: *mut uint,
14870        mode: ::std::os::raw::c_int,
14871    ),
14872>;
14873pub type php_output_handler_context_func_t = ::std::option::Option<
14874    unsafe extern "C" fn(
14875        handler_context: *mut *mut ::std::os::raw::c_void,
14876        output_context: *mut php_output_context,
14877    ) -> ::std::os::raw::c_int,
14878>;
14879pub type php_output_handler_conflict_check_t = ::std::option::Option<
14880    unsafe extern "C" fn(
14881        handler_name: *const ::std::os::raw::c_char,
14882        handler_name_len: size_t,
14883    ) -> ::std::os::raw::c_int,
14884>;
14885pub type php_output_handler_alias_ctor_t = ::std::option::Option<
14886    unsafe extern "C" fn(
14887        handler_name: *const ::std::os::raw::c_char,
14888        handler_name_len: size_t,
14889        chunk_size: size_t,
14890        flags: ::std::os::raw::c_int,
14891    ) -> *mut _php_output_handler,
14892>;
14893#[repr(C)]
14894#[derive(Debug, Copy, Clone)]
14895pub struct _php_output_handler_user_func_t {
14896    pub fci: zend_fcall_info,
14897    pub fcc: zend_fcall_info_cache,
14898    pub zoh: *mut zval,
14899}
14900#[test]
14901fn bindgen_test_layout__php_output_handler_user_func_t() {
14902    assert_eq!(
14903        ::std::mem::size_of::<_php_output_handler_user_func_t>(),
14904        120usize,
14905        concat!("Size of: ", stringify!(_php_output_handler_user_func_t))
14906    );
14907    assert_eq!(
14908        ::std::mem::align_of::<_php_output_handler_user_func_t>(),
14909        8usize,
14910        concat!("Alignment of ", stringify!(_php_output_handler_user_func_t))
14911    );
14912    assert_eq!(
14913        unsafe {
14914            &(*(::std::ptr::null::<_php_output_handler_user_func_t>())).fci as *const _ as usize
14915        },
14916        0usize,
14917        concat!(
14918            "Offset of field: ",
14919            stringify!(_php_output_handler_user_func_t),
14920            "::",
14921            stringify!(fci)
14922        )
14923    );
14924    assert_eq!(
14925        unsafe {
14926            &(*(::std::ptr::null::<_php_output_handler_user_func_t>())).fcc as *const _ as usize
14927        },
14928        72usize,
14929        concat!(
14930            "Offset of field: ",
14931            stringify!(_php_output_handler_user_func_t),
14932            "::",
14933            stringify!(fcc)
14934        )
14935    );
14936    assert_eq!(
14937        unsafe {
14938            &(*(::std::ptr::null::<_php_output_handler_user_func_t>())).zoh as *const _ as usize
14939        },
14940        112usize,
14941        concat!(
14942            "Offset of field: ",
14943            stringify!(_php_output_handler_user_func_t),
14944            "::",
14945            stringify!(zoh)
14946        )
14947    );
14948}
14949pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
14950#[repr(C)]
14951#[derive(Copy, Clone)]
14952pub struct _php_output_handler {
14953    pub name: *mut ::std::os::raw::c_char,
14954    pub name_len: size_t,
14955    pub flags: ::std::os::raw::c_int,
14956    pub level: ::std::os::raw::c_int,
14957    pub size: size_t,
14958    pub buffer: php_output_buffer,
14959    pub opaq: *mut ::std::os::raw::c_void,
14960    pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
14961    pub func: _php_output_handler__bindgen_ty_1,
14962}
14963#[repr(C)]
14964#[derive(Copy, Clone)]
14965pub union _php_output_handler__bindgen_ty_1 {
14966    pub user: *mut php_output_handler_user_func_t,
14967    pub internal: php_output_handler_context_func_t,
14968    _bindgen_union_align: u64,
14969}
14970#[test]
14971fn bindgen_test_layout__php_output_handler__bindgen_ty_1() {
14972    assert_eq!(
14973        ::std::mem::size_of::<_php_output_handler__bindgen_ty_1>(),
14974        8usize,
14975        concat!("Size of: ", stringify!(_php_output_handler__bindgen_ty_1))
14976    );
14977    assert_eq!(
14978        ::std::mem::align_of::<_php_output_handler__bindgen_ty_1>(),
14979        8usize,
14980        concat!(
14981            "Alignment of ",
14982            stringify!(_php_output_handler__bindgen_ty_1)
14983        )
14984    );
14985    assert_eq!(
14986        unsafe {
14987            &(*(::std::ptr::null::<_php_output_handler__bindgen_ty_1>())).user as *const _ as usize
14988        },
14989        0usize,
14990        concat!(
14991            "Offset of field: ",
14992            stringify!(_php_output_handler__bindgen_ty_1),
14993            "::",
14994            stringify!(user)
14995        )
14996    );
14997    assert_eq!(
14998        unsafe {
14999            &(*(::std::ptr::null::<_php_output_handler__bindgen_ty_1>())).internal as *const _
15000                as usize
15001        },
15002        0usize,
15003        concat!(
15004            "Offset of field: ",
15005            stringify!(_php_output_handler__bindgen_ty_1),
15006            "::",
15007            stringify!(internal)
15008        )
15009    );
15010}
15011#[test]
15012fn bindgen_test_layout__php_output_handler() {
15013    assert_eq!(
15014        ::std::mem::size_of::<_php_output_handler>(),
15015        88usize,
15016        concat!("Size of: ", stringify!(_php_output_handler))
15017    );
15018    assert_eq!(
15019        ::std::mem::align_of::<_php_output_handler>(),
15020        8usize,
15021        concat!("Alignment of ", stringify!(_php_output_handler))
15022    );
15023    assert_eq!(
15024        unsafe { &(*(::std::ptr::null::<_php_output_handler>())).name as *const _ as usize },
15025        0usize,
15026        concat!(
15027            "Offset of field: ",
15028            stringify!(_php_output_handler),
15029            "::",
15030            stringify!(name)
15031        )
15032    );
15033    assert_eq!(
15034        unsafe { &(*(::std::ptr::null::<_php_output_handler>())).name_len as *const _ as usize },
15035        8usize,
15036        concat!(
15037            "Offset of field: ",
15038            stringify!(_php_output_handler),
15039            "::",
15040            stringify!(name_len)
15041        )
15042    );
15043    assert_eq!(
15044        unsafe { &(*(::std::ptr::null::<_php_output_handler>())).flags as *const _ as usize },
15045        16usize,
15046        concat!(
15047            "Offset of field: ",
15048            stringify!(_php_output_handler),
15049            "::",
15050            stringify!(flags)
15051        )
15052    );
15053    assert_eq!(
15054        unsafe { &(*(::std::ptr::null::<_php_output_handler>())).level as *const _ as usize },
15055        20usize,
15056        concat!(
15057            "Offset of field: ",
15058            stringify!(_php_output_handler),
15059            "::",
15060            stringify!(level)
15061        )
15062    );
15063    assert_eq!(
15064        unsafe { &(*(::std::ptr::null::<_php_output_handler>())).size as *const _ as usize },
15065        24usize,
15066        concat!(
15067            "Offset of field: ",
15068            stringify!(_php_output_handler),
15069            "::",
15070            stringify!(size)
15071        )
15072    );
15073    assert_eq!(
15074        unsafe { &(*(::std::ptr::null::<_php_output_handler>())).buffer as *const _ as usize },
15075        32usize,
15076        concat!(
15077            "Offset of field: ",
15078            stringify!(_php_output_handler),
15079            "::",
15080            stringify!(buffer)
15081        )
15082    );
15083    assert_eq!(
15084        unsafe { &(*(::std::ptr::null::<_php_output_handler>())).opaq as *const _ as usize },
15085        64usize,
15086        concat!(
15087            "Offset of field: ",
15088            stringify!(_php_output_handler),
15089            "::",
15090            stringify!(opaq)
15091        )
15092    );
15093    assert_eq!(
15094        unsafe { &(*(::std::ptr::null::<_php_output_handler>())).dtor as *const _ as usize },
15095        72usize,
15096        concat!(
15097            "Offset of field: ",
15098            stringify!(_php_output_handler),
15099            "::",
15100            stringify!(dtor)
15101        )
15102    );
15103    assert_eq!(
15104        unsafe { &(*(::std::ptr::null::<_php_output_handler>())).func as *const _ as usize },
15105        80usize,
15106        concat!(
15107            "Offset of field: ",
15108            stringify!(_php_output_handler),
15109            "::",
15110            stringify!(func)
15111        )
15112    );
15113}
15114pub type php_output_handler = _php_output_handler;
15115#[repr(C)]
15116#[derive(Debug, Copy, Clone)]
15117pub struct _zend_output_globals {
15118    pub flags: ::std::os::raw::c_int,
15119    pub handlers: zend_stack,
15120    pub active: *mut php_output_handler,
15121    pub running: *mut php_output_handler,
15122    pub output_start_filename: *const ::std::os::raw::c_char,
15123    pub output_start_lineno: ::std::os::raw::c_int,
15124}
15125#[test]
15126fn bindgen_test_layout__zend_output_globals() {
15127    assert_eq!(
15128        ::std::mem::size_of::<_zend_output_globals>(),
15129        56usize,
15130        concat!("Size of: ", stringify!(_zend_output_globals))
15131    );
15132    assert_eq!(
15133        ::std::mem::align_of::<_zend_output_globals>(),
15134        8usize,
15135        concat!("Alignment of ", stringify!(_zend_output_globals))
15136    );
15137    assert_eq!(
15138        unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).flags as *const _ as usize },
15139        0usize,
15140        concat!(
15141            "Offset of field: ",
15142            stringify!(_zend_output_globals),
15143            "::",
15144            stringify!(flags)
15145        )
15146    );
15147    assert_eq!(
15148        unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).handlers as *const _ as usize },
15149        8usize,
15150        concat!(
15151            "Offset of field: ",
15152            stringify!(_zend_output_globals),
15153            "::",
15154            stringify!(handlers)
15155        )
15156    );
15157    assert_eq!(
15158        unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).active as *const _ as usize },
15159        24usize,
15160        concat!(
15161            "Offset of field: ",
15162            stringify!(_zend_output_globals),
15163            "::",
15164            stringify!(active)
15165        )
15166    );
15167    assert_eq!(
15168        unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).running as *const _ as usize },
15169        32usize,
15170        concat!(
15171            "Offset of field: ",
15172            stringify!(_zend_output_globals),
15173            "::",
15174            stringify!(running)
15175        )
15176    );
15177    assert_eq!(
15178        unsafe {
15179            &(*(::std::ptr::null::<_zend_output_globals>())).output_start_filename as *const _
15180                as usize
15181        },
15182        40usize,
15183        concat!(
15184            "Offset of field: ",
15185            stringify!(_zend_output_globals),
15186            "::",
15187            stringify!(output_start_filename)
15188        )
15189    );
15190    assert_eq!(
15191        unsafe {
15192            &(*(::std::ptr::null::<_zend_output_globals>())).output_start_lineno as *const _
15193                as usize
15194        },
15195        48usize,
15196        concat!(
15197            "Offset of field: ",
15198            stringify!(_zend_output_globals),
15199            "::",
15200            stringify!(output_start_lineno)
15201        )
15202    );
15203}
15204pub type zend_output_globals = _zend_output_globals;
15205extern "C" {
15206    pub static mut output_globals: zend_output_globals;
15207}
15208extern "C" {
15209    pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
15210}
15211extern "C" {
15212    pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
15213}
15214extern "C" {
15215    pub fn php_output_startup();
15216}
15217extern "C" {
15218    pub fn php_output_shutdown();
15219}
15220extern "C" {
15221    pub fn php_output_register_constants();
15222}
15223extern "C" {
15224    pub fn php_output_activate() -> ::std::os::raw::c_int;
15225}
15226extern "C" {
15227    pub fn php_output_deactivate();
15228}
15229extern "C" {
15230    pub fn php_output_set_status(status: ::std::os::raw::c_int);
15231}
15232extern "C" {
15233    pub fn php_output_get_status() -> ::std::os::raw::c_int;
15234}
15235extern "C" {
15236    pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
15237}
15238extern "C" {
15239    pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
15240}
15241extern "C" {
15242    pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
15243}
15244extern "C" {
15245    pub fn php_output_write_unbuffered(
15246        str_: *const ::std::os::raw::c_char,
15247        len: size_t,
15248    ) -> ::std::os::raw::c_int;
15249}
15250extern "C" {
15251    pub fn php_output_write(
15252        str_: *const ::std::os::raw::c_char,
15253        len: size_t,
15254    ) -> ::std::os::raw::c_int;
15255}
15256extern "C" {
15257    pub fn php_output_flush() -> ::std::os::raw::c_int;
15258}
15259extern "C" {
15260    pub fn php_output_flush_all();
15261}
15262extern "C" {
15263    pub fn php_output_clean() -> ::std::os::raw::c_int;
15264}
15265extern "C" {
15266    pub fn php_output_clean_all();
15267}
15268extern "C" {
15269    pub fn php_output_end() -> ::std::os::raw::c_int;
15270}
15271extern "C" {
15272    pub fn php_output_end_all();
15273}
15274extern "C" {
15275    pub fn php_output_discard() -> ::std::os::raw::c_int;
15276}
15277extern "C" {
15278    pub fn php_output_discard_all();
15279}
15280extern "C" {
15281    pub fn php_output_get_contents(p: *mut zval) -> ::std::os::raw::c_int;
15282}
15283extern "C" {
15284    pub fn php_output_get_length(p: *mut zval) -> ::std::os::raw::c_int;
15285}
15286extern "C" {
15287    pub fn php_output_get_level() -> ::std::os::raw::c_int;
15288}
15289extern "C" {
15290    pub fn php_output_get_active_handler() -> *mut php_output_handler;
15291}
15292extern "C" {
15293    pub fn php_output_start_default() -> ::std::os::raw::c_int;
15294}
15295extern "C" {
15296    pub fn php_output_start_devnull() -> ::std::os::raw::c_int;
15297}
15298extern "C" {
15299    pub fn php_output_start_user(
15300        output_handler: *mut zval,
15301        chunk_size: size_t,
15302        flags: ::std::os::raw::c_int,
15303    ) -> ::std::os::raw::c_int;
15304}
15305extern "C" {
15306    pub fn php_output_start_internal(
15307        name: *const ::std::os::raw::c_char,
15308        name_len: size_t,
15309        output_handler: php_output_handler_func_t,
15310        chunk_size: size_t,
15311        flags: ::std::os::raw::c_int,
15312    ) -> ::std::os::raw::c_int;
15313}
15314extern "C" {
15315    pub fn php_output_handler_create_user(
15316        handler: *mut zval,
15317        chunk_size: size_t,
15318        flags: ::std::os::raw::c_int,
15319    ) -> *mut php_output_handler;
15320}
15321extern "C" {
15322    pub fn php_output_handler_create_internal(
15323        name: *const ::std::os::raw::c_char,
15324        name_len: size_t,
15325        handler: php_output_handler_context_func_t,
15326        chunk_size: size_t,
15327        flags: ::std::os::raw::c_int,
15328    ) -> *mut php_output_handler;
15329}
15330extern "C" {
15331    pub fn php_output_handler_set_context(
15332        handler: *mut php_output_handler,
15333        opaq: *mut ::std::os::raw::c_void,
15334        dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
15335    );
15336}
15337extern "C" {
15338    pub fn php_output_handler_start(handler: *mut php_output_handler) -> ::std::os::raw::c_int;
15339}
15340extern "C" {
15341    pub fn php_output_handler_started(
15342        name: *const ::std::os::raw::c_char,
15343        name_len: size_t,
15344    ) -> ::std::os::raw::c_int;
15345}
15346extern "C" {
15347    pub fn php_output_handler_hook(
15348        type_: php_output_handler_hook_t,
15349        arg: *mut ::std::os::raw::c_void,
15350    ) -> ::std::os::raw::c_int;
15351}
15352extern "C" {
15353    pub fn php_output_handler_dtor(handler: *mut php_output_handler);
15354}
15355extern "C" {
15356    pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
15357}
15358extern "C" {
15359    pub fn php_output_handler_conflict(
15360        handler_new: *const ::std::os::raw::c_char,
15361        handler_new_len: size_t,
15362        handler_set: *const ::std::os::raw::c_char,
15363        handler_set_len: size_t,
15364    ) -> ::std::os::raw::c_int;
15365}
15366extern "C" {
15367    pub fn php_output_handler_conflict_register(
15368        handler_name: *const ::std::os::raw::c_char,
15369        handler_name_len: size_t,
15370        check_func: php_output_handler_conflict_check_t,
15371    ) -> ::std::os::raw::c_int;
15372}
15373extern "C" {
15374    pub fn php_output_handler_reverse_conflict_register(
15375        handler_name: *const ::std::os::raw::c_char,
15376        handler_name_len: size_t,
15377        check_func: php_output_handler_conflict_check_t,
15378    ) -> ::std::os::raw::c_int;
15379}
15380extern "C" {
15381    pub fn php_output_handler_alias(
15382        handler_name: *const ::std::os::raw::c_char,
15383        handler_name_len: size_t,
15384    ) -> *mut php_output_handler_alias_ctor_t;
15385}
15386extern "C" {
15387    pub fn php_output_handler_alias_register(
15388        handler_name: *const ::std::os::raw::c_char,
15389        handler_name_len: size_t,
15390        func: php_output_handler_alias_ctor_t,
15391    ) -> ::std::os::raw::c_int;
15392}
15393#[repr(C)]
15394#[derive(Debug, Copy, Clone)]
15395pub struct stat {
15396    pub st_dev: __dev_t,
15397    pub st_ino: __ino_t,
15398    pub st_nlink: __nlink_t,
15399    pub st_mode: __mode_t,
15400    pub st_uid: __uid_t,
15401    pub st_gid: __gid_t,
15402    pub __pad0: ::std::os::raw::c_int,
15403    pub st_rdev: __dev_t,
15404    pub st_size: __off_t,
15405    pub st_blksize: __blksize_t,
15406    pub st_blocks: __blkcnt_t,
15407    pub st_atim: timespec,
15408    pub st_mtim: timespec,
15409    pub st_ctim: timespec,
15410    pub __glibc_reserved: [__syscall_slong_t; 3usize],
15411}
15412#[test]
15413fn bindgen_test_layout_stat() {
15414    assert_eq!(
15415        ::std::mem::size_of::<stat>(),
15416        144usize,
15417        concat!("Size of: ", stringify!(stat))
15418    );
15419    assert_eq!(
15420        ::std::mem::align_of::<stat>(),
15421        8usize,
15422        concat!("Alignment of ", stringify!(stat))
15423    );
15424    assert_eq!(
15425        unsafe { &(*(::std::ptr::null::<stat>())).st_dev as *const _ as usize },
15426        0usize,
15427        concat!(
15428            "Offset of field: ",
15429            stringify!(stat),
15430            "::",
15431            stringify!(st_dev)
15432        )
15433    );
15434    assert_eq!(
15435        unsafe { &(*(::std::ptr::null::<stat>())).st_ino as *const _ as usize },
15436        8usize,
15437        concat!(
15438            "Offset of field: ",
15439            stringify!(stat),
15440            "::",
15441            stringify!(st_ino)
15442        )
15443    );
15444    assert_eq!(
15445        unsafe { &(*(::std::ptr::null::<stat>())).st_nlink as *const _ as usize },
15446        16usize,
15447        concat!(
15448            "Offset of field: ",
15449            stringify!(stat),
15450            "::",
15451            stringify!(st_nlink)
15452        )
15453    );
15454    assert_eq!(
15455        unsafe { &(*(::std::ptr::null::<stat>())).st_mode as *const _ as usize },
15456        24usize,
15457        concat!(
15458            "Offset of field: ",
15459            stringify!(stat),
15460            "::",
15461            stringify!(st_mode)
15462        )
15463    );
15464    assert_eq!(
15465        unsafe { &(*(::std::ptr::null::<stat>())).st_uid as *const _ as usize },
15466        28usize,
15467        concat!(
15468            "Offset of field: ",
15469            stringify!(stat),
15470            "::",
15471            stringify!(st_uid)
15472        )
15473    );
15474    assert_eq!(
15475        unsafe { &(*(::std::ptr::null::<stat>())).st_gid as *const _ as usize },
15476        32usize,
15477        concat!(
15478            "Offset of field: ",
15479            stringify!(stat),
15480            "::",
15481            stringify!(st_gid)
15482        )
15483    );
15484    assert_eq!(
15485        unsafe { &(*(::std::ptr::null::<stat>())).__pad0 as *const _ as usize },
15486        36usize,
15487        concat!(
15488            "Offset of field: ",
15489            stringify!(stat),
15490            "::",
15491            stringify!(__pad0)
15492        )
15493    );
15494    assert_eq!(
15495        unsafe { &(*(::std::ptr::null::<stat>())).st_rdev as *const _ as usize },
15496        40usize,
15497        concat!(
15498            "Offset of field: ",
15499            stringify!(stat),
15500            "::",
15501            stringify!(st_rdev)
15502        )
15503    );
15504    assert_eq!(
15505        unsafe { &(*(::std::ptr::null::<stat>())).st_size as *const _ as usize },
15506        48usize,
15507        concat!(
15508            "Offset of field: ",
15509            stringify!(stat),
15510            "::",
15511            stringify!(st_size)
15512        )
15513    );
15514    assert_eq!(
15515        unsafe { &(*(::std::ptr::null::<stat>())).st_blksize as *const _ as usize },
15516        56usize,
15517        concat!(
15518            "Offset of field: ",
15519            stringify!(stat),
15520            "::",
15521            stringify!(st_blksize)
15522        )
15523    );
15524    assert_eq!(
15525        unsafe { &(*(::std::ptr::null::<stat>())).st_blocks as *const _ as usize },
15526        64usize,
15527        concat!(
15528            "Offset of field: ",
15529            stringify!(stat),
15530            "::",
15531            stringify!(st_blocks)
15532        )
15533    );
15534    assert_eq!(
15535        unsafe { &(*(::std::ptr::null::<stat>())).st_atim as *const _ as usize },
15536        72usize,
15537        concat!(
15538            "Offset of field: ",
15539            stringify!(stat),
15540            "::",
15541            stringify!(st_atim)
15542        )
15543    );
15544    assert_eq!(
15545        unsafe { &(*(::std::ptr::null::<stat>())).st_mtim as *const _ as usize },
15546        88usize,
15547        concat!(
15548            "Offset of field: ",
15549            stringify!(stat),
15550            "::",
15551            stringify!(st_mtim)
15552        )
15553    );
15554    assert_eq!(
15555        unsafe { &(*(::std::ptr::null::<stat>())).st_ctim as *const _ as usize },
15556        104usize,
15557        concat!(
15558            "Offset of field: ",
15559            stringify!(stat),
15560            "::",
15561            stringify!(st_ctim)
15562        )
15563    );
15564    assert_eq!(
15565        unsafe { &(*(::std::ptr::null::<stat>())).__glibc_reserved as *const _ as usize },
15566        120usize,
15567        concat!(
15568            "Offset of field: ",
15569            stringify!(stat),
15570            "::",
15571            stringify!(__glibc_reserved)
15572        )
15573    );
15574}
15575extern "C" {
15576    pub fn php_file_le_stream() -> ::std::os::raw::c_int;
15577}
15578extern "C" {
15579    pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
15580}
15581extern "C" {
15582    pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
15583}
15584pub type php_stream = _php_stream;
15585pub type php_stream_wrapper = _php_stream_wrapper;
15586pub type php_stream_context = _php_stream_context;
15587pub type php_stream_filter = _php_stream_filter;
15588pub type php_stream_notification_func = ::std::option::Option<
15589    unsafe extern "C" fn(
15590        context: *mut php_stream_context,
15591        notifycode: ::std::os::raw::c_int,
15592        severity: ::std::os::raw::c_int,
15593        xmsg: *mut ::std::os::raw::c_char,
15594        xcode: ::std::os::raw::c_int,
15595        bytes_sofar: size_t,
15596        bytes_max: size_t,
15597        ptr: *mut ::std::os::raw::c_void,
15598    ),
15599>;
15600pub type php_stream_notifier = _php_stream_notifier;
15601#[repr(C)]
15602#[derive(Debug, Copy, Clone)]
15603pub struct _php_stream_notifier {
15604    pub func: php_stream_notification_func,
15605    pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
15606    pub ptr: *mut ::std::os::raw::c_void,
15607    pub mask: ::std::os::raw::c_int,
15608    pub progress: size_t,
15609    pub progress_max: size_t,
15610}
15611#[test]
15612fn bindgen_test_layout__php_stream_notifier() {
15613    assert_eq!(
15614        ::std::mem::size_of::<_php_stream_notifier>(),
15615        48usize,
15616        concat!("Size of: ", stringify!(_php_stream_notifier))
15617    );
15618    assert_eq!(
15619        ::std::mem::align_of::<_php_stream_notifier>(),
15620        8usize,
15621        concat!("Alignment of ", stringify!(_php_stream_notifier))
15622    );
15623    assert_eq!(
15624        unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).func as *const _ as usize },
15625        0usize,
15626        concat!(
15627            "Offset of field: ",
15628            stringify!(_php_stream_notifier),
15629            "::",
15630            stringify!(func)
15631        )
15632    );
15633    assert_eq!(
15634        unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).dtor as *const _ as usize },
15635        8usize,
15636        concat!(
15637            "Offset of field: ",
15638            stringify!(_php_stream_notifier),
15639            "::",
15640            stringify!(dtor)
15641        )
15642    );
15643    assert_eq!(
15644        unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).ptr as *const _ as usize },
15645        16usize,
15646        concat!(
15647            "Offset of field: ",
15648            stringify!(_php_stream_notifier),
15649            "::",
15650            stringify!(ptr)
15651        )
15652    );
15653    assert_eq!(
15654        unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).mask as *const _ as usize },
15655        24usize,
15656        concat!(
15657            "Offset of field: ",
15658            stringify!(_php_stream_notifier),
15659            "::",
15660            stringify!(mask)
15661        )
15662    );
15663    assert_eq!(
15664        unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).progress as *const _ as usize },
15665        32usize,
15666        concat!(
15667            "Offset of field: ",
15668            stringify!(_php_stream_notifier),
15669            "::",
15670            stringify!(progress)
15671        )
15672    );
15673    assert_eq!(
15674        unsafe {
15675            &(*(::std::ptr::null::<_php_stream_notifier>())).progress_max as *const _ as usize
15676        },
15677        40usize,
15678        concat!(
15679            "Offset of field: ",
15680            stringify!(_php_stream_notifier),
15681            "::",
15682            stringify!(progress_max)
15683        )
15684    );
15685}
15686#[repr(C)]
15687#[derive(Debug, Copy, Clone)]
15688pub struct _php_stream_context {
15689    pub notifier: *mut php_stream_notifier,
15690    pub options: *mut zval,
15691    pub rsrc_id: ::std::os::raw::c_int,
15692}
15693#[test]
15694fn bindgen_test_layout__php_stream_context() {
15695    assert_eq!(
15696        ::std::mem::size_of::<_php_stream_context>(),
15697        24usize,
15698        concat!("Size of: ", stringify!(_php_stream_context))
15699    );
15700    assert_eq!(
15701        ::std::mem::align_of::<_php_stream_context>(),
15702        8usize,
15703        concat!("Alignment of ", stringify!(_php_stream_context))
15704    );
15705    assert_eq!(
15706        unsafe { &(*(::std::ptr::null::<_php_stream_context>())).notifier as *const _ as usize },
15707        0usize,
15708        concat!(
15709            "Offset of field: ",
15710            stringify!(_php_stream_context),
15711            "::",
15712            stringify!(notifier)
15713        )
15714    );
15715    assert_eq!(
15716        unsafe { &(*(::std::ptr::null::<_php_stream_context>())).options as *const _ as usize },
15717        8usize,
15718        concat!(
15719            "Offset of field: ",
15720            stringify!(_php_stream_context),
15721            "::",
15722            stringify!(options)
15723        )
15724    );
15725    assert_eq!(
15726        unsafe { &(*(::std::ptr::null::<_php_stream_context>())).rsrc_id as *const _ as usize },
15727        16usize,
15728        concat!(
15729            "Offset of field: ",
15730            stringify!(_php_stream_context),
15731            "::",
15732            stringify!(rsrc_id)
15733        )
15734    );
15735}
15736extern "C" {
15737    pub fn php_stream_context_free(context: *mut php_stream_context);
15738}
15739extern "C" {
15740    pub fn php_stream_context_alloc() -> *mut php_stream_context;
15741}
15742extern "C" {
15743    pub fn php_stream_context_get_option(
15744        context: *mut php_stream_context,
15745        wrappername: *const ::std::os::raw::c_char,
15746        optionname: *const ::std::os::raw::c_char,
15747        optionvalue: *mut *mut *mut zval,
15748    ) -> ::std::os::raw::c_int;
15749}
15750extern "C" {
15751    pub fn php_stream_context_set_option(
15752        context: *mut php_stream_context,
15753        wrappername: *const ::std::os::raw::c_char,
15754        optionname: *const ::std::os::raw::c_char,
15755        optionvalue: *mut zval,
15756    ) -> ::std::os::raw::c_int;
15757}
15758extern "C" {
15759    pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
15760}
15761extern "C" {
15762    pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
15763}
15764extern "C" {
15765    pub fn php_stream_notification_notify(
15766        context: *mut php_stream_context,
15767        notifycode: ::std::os::raw::c_int,
15768        severity: ::std::os::raw::c_int,
15769        xmsg: *mut ::std::os::raw::c_char,
15770        xcode: ::std::os::raw::c_int,
15771        bytes_sofar: size_t,
15772        bytes_max: size_t,
15773        ptr: *mut ::std::os::raw::c_void,
15774    );
15775}
15776extern "C" {
15777    pub fn php_stream_context_set(
15778        stream: *mut php_stream,
15779        context: *mut php_stream_context,
15780    ) -> *mut php_stream_context;
15781}
15782pub type php_stream_bucket = _php_stream_bucket;
15783pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
15784#[repr(C)]
15785#[derive(Debug, Copy, Clone)]
15786pub struct _php_stream_bucket {
15787    pub next: *mut php_stream_bucket,
15788    pub prev: *mut php_stream_bucket,
15789    pub brigade: *mut php_stream_bucket_brigade,
15790    pub buf: *mut ::std::os::raw::c_char,
15791    pub buflen: size_t,
15792    pub own_buf: ::std::os::raw::c_int,
15793    pub is_persistent: ::std::os::raw::c_int,
15794    pub refcount: ::std::os::raw::c_int,
15795}
15796#[test]
15797fn bindgen_test_layout__php_stream_bucket() {
15798    assert_eq!(
15799        ::std::mem::size_of::<_php_stream_bucket>(),
15800        56usize,
15801        concat!("Size of: ", stringify!(_php_stream_bucket))
15802    );
15803    assert_eq!(
15804        ::std::mem::align_of::<_php_stream_bucket>(),
15805        8usize,
15806        concat!("Alignment of ", stringify!(_php_stream_bucket))
15807    );
15808    assert_eq!(
15809        unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).next as *const _ as usize },
15810        0usize,
15811        concat!(
15812            "Offset of field: ",
15813            stringify!(_php_stream_bucket),
15814            "::",
15815            stringify!(next)
15816        )
15817    );
15818    assert_eq!(
15819        unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).prev as *const _ as usize },
15820        8usize,
15821        concat!(
15822            "Offset of field: ",
15823            stringify!(_php_stream_bucket),
15824            "::",
15825            stringify!(prev)
15826        )
15827    );
15828    assert_eq!(
15829        unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).brigade as *const _ as usize },
15830        16usize,
15831        concat!(
15832            "Offset of field: ",
15833            stringify!(_php_stream_bucket),
15834            "::",
15835            stringify!(brigade)
15836        )
15837    );
15838    assert_eq!(
15839        unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).buf as *const _ as usize },
15840        24usize,
15841        concat!(
15842            "Offset of field: ",
15843            stringify!(_php_stream_bucket),
15844            "::",
15845            stringify!(buf)
15846        )
15847    );
15848    assert_eq!(
15849        unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).buflen as *const _ as usize },
15850        32usize,
15851        concat!(
15852            "Offset of field: ",
15853            stringify!(_php_stream_bucket),
15854            "::",
15855            stringify!(buflen)
15856        )
15857    );
15858    assert_eq!(
15859        unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).own_buf as *const _ as usize },
15860        40usize,
15861        concat!(
15862            "Offset of field: ",
15863            stringify!(_php_stream_bucket),
15864            "::",
15865            stringify!(own_buf)
15866        )
15867    );
15868    assert_eq!(
15869        unsafe {
15870            &(*(::std::ptr::null::<_php_stream_bucket>())).is_persistent as *const _ as usize
15871        },
15872        44usize,
15873        concat!(
15874            "Offset of field: ",
15875            stringify!(_php_stream_bucket),
15876            "::",
15877            stringify!(is_persistent)
15878        )
15879    );
15880    assert_eq!(
15881        unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).refcount as *const _ as usize },
15882        48usize,
15883        concat!(
15884            "Offset of field: ",
15885            stringify!(_php_stream_bucket),
15886            "::",
15887            stringify!(refcount)
15888        )
15889    );
15890}
15891#[repr(C)]
15892#[derive(Debug, Copy, Clone)]
15893pub struct _php_stream_bucket_brigade {
15894    pub head: *mut php_stream_bucket,
15895    pub tail: *mut php_stream_bucket,
15896}
15897#[test]
15898fn bindgen_test_layout__php_stream_bucket_brigade() {
15899    assert_eq!(
15900        ::std::mem::size_of::<_php_stream_bucket_brigade>(),
15901        16usize,
15902        concat!("Size of: ", stringify!(_php_stream_bucket_brigade))
15903    );
15904    assert_eq!(
15905        ::std::mem::align_of::<_php_stream_bucket_brigade>(),
15906        8usize,
15907        concat!("Alignment of ", stringify!(_php_stream_bucket_brigade))
15908    );
15909    assert_eq!(
15910        unsafe { &(*(::std::ptr::null::<_php_stream_bucket_brigade>())).head as *const _ as usize },
15911        0usize,
15912        concat!(
15913            "Offset of field: ",
15914            stringify!(_php_stream_bucket_brigade),
15915            "::",
15916            stringify!(head)
15917        )
15918    );
15919    assert_eq!(
15920        unsafe { &(*(::std::ptr::null::<_php_stream_bucket_brigade>())).tail as *const _ as usize },
15921        8usize,
15922        concat!(
15923            "Offset of field: ",
15924            stringify!(_php_stream_bucket_brigade),
15925            "::",
15926            stringify!(tail)
15927        )
15928    );
15929}
15930pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
15931pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
15932pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
15933pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
15934extern "C" {
15935    pub fn php_stream_bucket_new(
15936        stream: *mut php_stream,
15937        buf: *mut ::std::os::raw::c_char,
15938        buflen: size_t,
15939        own_buf: ::std::os::raw::c_int,
15940        buf_persistent: ::std::os::raw::c_int,
15941    ) -> *mut php_stream_bucket;
15942}
15943extern "C" {
15944    pub fn php_stream_bucket_split(
15945        in_: *mut php_stream_bucket,
15946        left: *mut *mut php_stream_bucket,
15947        right: *mut *mut php_stream_bucket,
15948        length: size_t,
15949    ) -> ::std::os::raw::c_int;
15950}
15951extern "C" {
15952    pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
15953}
15954extern "C" {
15955    pub fn php_stream_bucket_prepend(
15956        brigade: *mut php_stream_bucket_brigade,
15957        bucket: *mut php_stream_bucket,
15958    );
15959}
15960extern "C" {
15961    pub fn php_stream_bucket_append(
15962        brigade: *mut php_stream_bucket_brigade,
15963        bucket: *mut php_stream_bucket,
15964    );
15965}
15966extern "C" {
15967    pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
15968}
15969extern "C" {
15970    pub fn php_stream_bucket_make_writeable(
15971        bucket: *mut php_stream_bucket,
15972    ) -> *mut php_stream_bucket;
15973}
15974#[repr(C)]
15975#[derive(Debug, Copy, Clone)]
15976pub struct _php_stream_filter_ops {
15977    pub filter: ::std::option::Option<
15978        unsafe extern "C" fn(
15979            stream: *mut php_stream,
15980            thisfilter: *mut php_stream_filter,
15981            buckets_in: *mut php_stream_bucket_brigade,
15982            buckets_out: *mut php_stream_bucket_brigade,
15983            bytes_consumed: *mut size_t,
15984            flags: ::std::os::raw::c_int,
15985        ) -> php_stream_filter_status_t,
15986    >,
15987    pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
15988    pub label: *const ::std::os::raw::c_char,
15989}
15990#[test]
15991fn bindgen_test_layout__php_stream_filter_ops() {
15992    assert_eq!(
15993        ::std::mem::size_of::<_php_stream_filter_ops>(),
15994        24usize,
15995        concat!("Size of: ", stringify!(_php_stream_filter_ops))
15996    );
15997    assert_eq!(
15998        ::std::mem::align_of::<_php_stream_filter_ops>(),
15999        8usize,
16000        concat!("Alignment of ", stringify!(_php_stream_filter_ops))
16001    );
16002    assert_eq!(
16003        unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).filter as *const _ as usize },
16004        0usize,
16005        concat!(
16006            "Offset of field: ",
16007            stringify!(_php_stream_filter_ops),
16008            "::",
16009            stringify!(filter)
16010        )
16011    );
16012    assert_eq!(
16013        unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).dtor as *const _ as usize },
16014        8usize,
16015        concat!(
16016            "Offset of field: ",
16017            stringify!(_php_stream_filter_ops),
16018            "::",
16019            stringify!(dtor)
16020        )
16021    );
16022    assert_eq!(
16023        unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).label as *const _ as usize },
16024        16usize,
16025        concat!(
16026            "Offset of field: ",
16027            stringify!(_php_stream_filter_ops),
16028            "::",
16029            stringify!(label)
16030        )
16031    );
16032}
16033pub type php_stream_filter_ops = _php_stream_filter_ops;
16034#[repr(C)]
16035#[derive(Debug, Copy, Clone)]
16036pub struct _php_stream_filter_chain {
16037    pub head: *mut php_stream_filter,
16038    pub tail: *mut php_stream_filter,
16039    pub stream: *mut php_stream,
16040}
16041#[test]
16042fn bindgen_test_layout__php_stream_filter_chain() {
16043    assert_eq!(
16044        ::std::mem::size_of::<_php_stream_filter_chain>(),
16045        24usize,
16046        concat!("Size of: ", stringify!(_php_stream_filter_chain))
16047    );
16048    assert_eq!(
16049        ::std::mem::align_of::<_php_stream_filter_chain>(),
16050        8usize,
16051        concat!("Alignment of ", stringify!(_php_stream_filter_chain))
16052    );
16053    assert_eq!(
16054        unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).head as *const _ as usize },
16055        0usize,
16056        concat!(
16057            "Offset of field: ",
16058            stringify!(_php_stream_filter_chain),
16059            "::",
16060            stringify!(head)
16061        )
16062    );
16063    assert_eq!(
16064        unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).tail as *const _ as usize },
16065        8usize,
16066        concat!(
16067            "Offset of field: ",
16068            stringify!(_php_stream_filter_chain),
16069            "::",
16070            stringify!(tail)
16071        )
16072    );
16073    assert_eq!(
16074        unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).stream as *const _ as usize },
16075        16usize,
16076        concat!(
16077            "Offset of field: ",
16078            stringify!(_php_stream_filter_chain),
16079            "::",
16080            stringify!(stream)
16081        )
16082    );
16083}
16084pub type php_stream_filter_chain = _php_stream_filter_chain;
16085#[repr(C)]
16086#[derive(Debug, Copy, Clone)]
16087pub struct _php_stream_filter {
16088    pub fops: *mut php_stream_filter_ops,
16089    pub abstract_: *mut ::std::os::raw::c_void,
16090    pub next: *mut php_stream_filter,
16091    pub prev: *mut php_stream_filter,
16092    pub is_persistent: ::std::os::raw::c_int,
16093    pub chain: *mut php_stream_filter_chain,
16094    pub buffer: php_stream_bucket_brigade,
16095    pub rsrc_id: ::std::os::raw::c_int,
16096}
16097#[test]
16098fn bindgen_test_layout__php_stream_filter() {
16099    assert_eq!(
16100        ::std::mem::size_of::<_php_stream_filter>(),
16101        72usize,
16102        concat!("Size of: ", stringify!(_php_stream_filter))
16103    );
16104    assert_eq!(
16105        ::std::mem::align_of::<_php_stream_filter>(),
16106        8usize,
16107        concat!("Alignment of ", stringify!(_php_stream_filter))
16108    );
16109    assert_eq!(
16110        unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).fops as *const _ as usize },
16111        0usize,
16112        concat!(
16113            "Offset of field: ",
16114            stringify!(_php_stream_filter),
16115            "::",
16116            stringify!(fops)
16117        )
16118    );
16119    assert_eq!(
16120        unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).abstract_ as *const _ as usize },
16121        8usize,
16122        concat!(
16123            "Offset of field: ",
16124            stringify!(_php_stream_filter),
16125            "::",
16126            stringify!(abstract_)
16127        )
16128    );
16129    assert_eq!(
16130        unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).next as *const _ as usize },
16131        16usize,
16132        concat!(
16133            "Offset of field: ",
16134            stringify!(_php_stream_filter),
16135            "::",
16136            stringify!(next)
16137        )
16138    );
16139    assert_eq!(
16140        unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).prev as *const _ as usize },
16141        24usize,
16142        concat!(
16143            "Offset of field: ",
16144            stringify!(_php_stream_filter),
16145            "::",
16146            stringify!(prev)
16147        )
16148    );
16149    assert_eq!(
16150        unsafe {
16151            &(*(::std::ptr::null::<_php_stream_filter>())).is_persistent as *const _ as usize
16152        },
16153        32usize,
16154        concat!(
16155            "Offset of field: ",
16156            stringify!(_php_stream_filter),
16157            "::",
16158            stringify!(is_persistent)
16159        )
16160    );
16161    assert_eq!(
16162        unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).chain as *const _ as usize },
16163        40usize,
16164        concat!(
16165            "Offset of field: ",
16166            stringify!(_php_stream_filter),
16167            "::",
16168            stringify!(chain)
16169        )
16170    );
16171    assert_eq!(
16172        unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).buffer as *const _ as usize },
16173        48usize,
16174        concat!(
16175            "Offset of field: ",
16176            stringify!(_php_stream_filter),
16177            "::",
16178            stringify!(buffer)
16179        )
16180    );
16181    assert_eq!(
16182        unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).rsrc_id as *const _ as usize },
16183        64usize,
16184        concat!(
16185            "Offset of field: ",
16186            stringify!(_php_stream_filter),
16187            "::",
16188            stringify!(rsrc_id)
16189        )
16190    );
16191}
16192extern "C" {
16193    pub fn php_stream_filter_prepend_ex(
16194        chain: *mut php_stream_filter_chain,
16195        filter: *mut php_stream_filter,
16196    ) -> ::std::os::raw::c_int;
16197}
16198extern "C" {
16199    pub fn php_stream_filter_append_ex(
16200        chain: *mut php_stream_filter_chain,
16201        filter: *mut php_stream_filter,
16202    ) -> ::std::os::raw::c_int;
16203}
16204extern "C" {
16205    pub fn php_stream_filter_remove(
16206        filter: *mut php_stream_filter,
16207        call_dtor: ::std::os::raw::c_int,
16208    ) -> *mut php_stream_filter;
16209}
16210extern "C" {
16211    pub fn php_stream_filter_free(filter: *mut php_stream_filter);
16212}
16213#[repr(C)]
16214#[derive(Debug, Copy, Clone)]
16215pub struct _php_stream_filter_factory {
16216    pub create_filter: ::std::option::Option<
16217        unsafe extern "C" fn(
16218            filtername: *const ::std::os::raw::c_char,
16219            filterparams: *mut zval,
16220            persistent: ::std::os::raw::c_int,
16221        ) -> *mut php_stream_filter,
16222    >,
16223}
16224#[test]
16225fn bindgen_test_layout__php_stream_filter_factory() {
16226    assert_eq!(
16227        ::std::mem::size_of::<_php_stream_filter_factory>(),
16228        8usize,
16229        concat!("Size of: ", stringify!(_php_stream_filter_factory))
16230    );
16231    assert_eq!(
16232        ::std::mem::align_of::<_php_stream_filter_factory>(),
16233        8usize,
16234        concat!("Alignment of ", stringify!(_php_stream_filter_factory))
16235    );
16236    assert_eq!(
16237        unsafe {
16238            &(*(::std::ptr::null::<_php_stream_filter_factory>())).create_filter as *const _
16239                as usize
16240        },
16241        0usize,
16242        concat!(
16243            "Offset of field: ",
16244            stringify!(_php_stream_filter_factory),
16245            "::",
16246            stringify!(create_filter)
16247        )
16248    );
16249}
16250pub type php_stream_filter_factory = _php_stream_filter_factory;
16251extern "C" {
16252    pub fn php_stream_filter_register_factory(
16253        filterpattern: *const ::std::os::raw::c_char,
16254        factory: *mut php_stream_filter_factory,
16255    ) -> ::std::os::raw::c_int;
16256}
16257extern "C" {
16258    pub fn php_stream_filter_unregister_factory(
16259        filterpattern: *const ::std::os::raw::c_char,
16260    ) -> ::std::os::raw::c_int;
16261}
16262extern "C" {
16263    pub fn php_stream_filter_register_factory_volatile(
16264        filterpattern: *const ::std::os::raw::c_char,
16265        factory: *mut php_stream_filter_factory,
16266    ) -> ::std::os::raw::c_int;
16267}
16268extern "C" {
16269    pub fn php_stream_filter_create(
16270        filtername: *const ::std::os::raw::c_char,
16271        filterparams: *mut zval,
16272        persistent: ::std::os::raw::c_int,
16273    ) -> *mut php_stream_filter;
16274}
16275#[repr(C)]
16276#[derive(Debug, Copy, Clone)]
16277pub struct _php_stream_statbuf {
16278    pub sb: stat,
16279}
16280#[test]
16281fn bindgen_test_layout__php_stream_statbuf() {
16282    assert_eq!(
16283        ::std::mem::size_of::<_php_stream_statbuf>(),
16284        144usize,
16285        concat!("Size of: ", stringify!(_php_stream_statbuf))
16286    );
16287    assert_eq!(
16288        ::std::mem::align_of::<_php_stream_statbuf>(),
16289        8usize,
16290        concat!("Alignment of ", stringify!(_php_stream_statbuf))
16291    );
16292    assert_eq!(
16293        unsafe { &(*(::std::ptr::null::<_php_stream_statbuf>())).sb as *const _ as usize },
16294        0usize,
16295        concat!(
16296            "Offset of field: ",
16297            stringify!(_php_stream_statbuf),
16298            "::",
16299            stringify!(sb)
16300        )
16301    );
16302}
16303pub type php_stream_statbuf = _php_stream_statbuf;
16304#[repr(C)]
16305#[derive(Debug, Copy, Clone)]
16306pub struct _php_stream_ops {
16307    pub write: ::std::option::Option<
16308        unsafe extern "C" fn(
16309            stream: *mut php_stream,
16310            buf: *const ::std::os::raw::c_char,
16311            count: size_t,
16312        ) -> size_t,
16313    >,
16314    pub read: ::std::option::Option<
16315        unsafe extern "C" fn(
16316            stream: *mut php_stream,
16317            buf: *mut ::std::os::raw::c_char,
16318            count: size_t,
16319        ) -> size_t,
16320    >,
16321    pub close: ::std::option::Option<
16322        unsafe extern "C" fn(
16323            stream: *mut php_stream,
16324            close_handle: ::std::os::raw::c_int,
16325        ) -> ::std::os::raw::c_int,
16326    >,
16327    pub flush: ::std::option::Option<
16328        unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
16329    >,
16330    pub label: *const ::std::os::raw::c_char,
16331    pub seek: ::std::option::Option<
16332        unsafe extern "C" fn(
16333            stream: *mut php_stream,
16334            offset: off_t,
16335            whence: ::std::os::raw::c_int,
16336            newoffset: *mut off_t,
16337        ) -> ::std::os::raw::c_int,
16338    >,
16339    pub cast: ::std::option::Option<
16340        unsafe extern "C" fn(
16341            stream: *mut php_stream,
16342            castas: ::std::os::raw::c_int,
16343            ret: *mut *mut ::std::os::raw::c_void,
16344        ) -> ::std::os::raw::c_int,
16345    >,
16346    pub stat: ::std::option::Option<
16347        unsafe extern "C" fn(
16348            stream: *mut php_stream,
16349            ssb: *mut php_stream_statbuf,
16350        ) -> ::std::os::raw::c_int,
16351    >,
16352    pub set_option: ::std::option::Option<
16353        unsafe extern "C" fn(
16354            stream: *mut php_stream,
16355            option: ::std::os::raw::c_int,
16356            value: ::std::os::raw::c_int,
16357            ptrparam: *mut ::std::os::raw::c_void,
16358        ) -> ::std::os::raw::c_int,
16359    >,
16360}
16361#[test]
16362fn bindgen_test_layout__php_stream_ops() {
16363    assert_eq!(
16364        ::std::mem::size_of::<_php_stream_ops>(),
16365        72usize,
16366        concat!("Size of: ", stringify!(_php_stream_ops))
16367    );
16368    assert_eq!(
16369        ::std::mem::align_of::<_php_stream_ops>(),
16370        8usize,
16371        concat!("Alignment of ", stringify!(_php_stream_ops))
16372    );
16373    assert_eq!(
16374        unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).write as *const _ as usize },
16375        0usize,
16376        concat!(
16377            "Offset of field: ",
16378            stringify!(_php_stream_ops),
16379            "::",
16380            stringify!(write)
16381        )
16382    );
16383    assert_eq!(
16384        unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).read as *const _ as usize },
16385        8usize,
16386        concat!(
16387            "Offset of field: ",
16388            stringify!(_php_stream_ops),
16389            "::",
16390            stringify!(read)
16391        )
16392    );
16393    assert_eq!(
16394        unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).close as *const _ as usize },
16395        16usize,
16396        concat!(
16397            "Offset of field: ",
16398            stringify!(_php_stream_ops),
16399            "::",
16400            stringify!(close)
16401        )
16402    );
16403    assert_eq!(
16404        unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).flush as *const _ as usize },
16405        24usize,
16406        concat!(
16407            "Offset of field: ",
16408            stringify!(_php_stream_ops),
16409            "::",
16410            stringify!(flush)
16411        )
16412    );
16413    assert_eq!(
16414        unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).label as *const _ as usize },
16415        32usize,
16416        concat!(
16417            "Offset of field: ",
16418            stringify!(_php_stream_ops),
16419            "::",
16420            stringify!(label)
16421        )
16422    );
16423    assert_eq!(
16424        unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).seek as *const _ as usize },
16425        40usize,
16426        concat!(
16427            "Offset of field: ",
16428            stringify!(_php_stream_ops),
16429            "::",
16430            stringify!(seek)
16431        )
16432    );
16433    assert_eq!(
16434        unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).cast as *const _ as usize },
16435        48usize,
16436        concat!(
16437            "Offset of field: ",
16438            stringify!(_php_stream_ops),
16439            "::",
16440            stringify!(cast)
16441        )
16442    );
16443    assert_eq!(
16444        unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).stat as *const _ as usize },
16445        56usize,
16446        concat!(
16447            "Offset of field: ",
16448            stringify!(_php_stream_ops),
16449            "::",
16450            stringify!(stat)
16451        )
16452    );
16453    assert_eq!(
16454        unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).set_option as *const _ as usize },
16455        64usize,
16456        concat!(
16457            "Offset of field: ",
16458            stringify!(_php_stream_ops),
16459            "::",
16460            stringify!(set_option)
16461        )
16462    );
16463}
16464pub type php_stream_ops = _php_stream_ops;
16465#[repr(C)]
16466#[derive(Debug, Copy, Clone)]
16467pub struct _php_stream_wrapper_ops {
16468    pub stream_opener: ::std::option::Option<
16469        unsafe extern "C" fn(
16470            wrapper: *mut php_stream_wrapper,
16471            filename: *const ::std::os::raw::c_char,
16472            mode: *const ::std::os::raw::c_char,
16473            options: ::std::os::raw::c_int,
16474            opened_path: *mut *mut ::std::os::raw::c_char,
16475            context: *mut php_stream_context,
16476        ) -> *mut php_stream,
16477    >,
16478    pub stream_closer: ::std::option::Option<
16479        unsafe extern "C" fn(
16480            wrapper: *mut php_stream_wrapper,
16481            stream: *mut php_stream,
16482        ) -> ::std::os::raw::c_int,
16483    >,
16484    pub stream_stat: ::std::option::Option<
16485        unsafe extern "C" fn(
16486            wrapper: *mut php_stream_wrapper,
16487            stream: *mut php_stream,
16488            ssb: *mut php_stream_statbuf,
16489        ) -> ::std::os::raw::c_int,
16490    >,
16491    pub url_stat: ::std::option::Option<
16492        unsafe extern "C" fn(
16493            wrapper: *mut php_stream_wrapper,
16494            url: *const ::std::os::raw::c_char,
16495            flags: ::std::os::raw::c_int,
16496            ssb: *mut php_stream_statbuf,
16497            context: *mut php_stream_context,
16498        ) -> ::std::os::raw::c_int,
16499    >,
16500    pub dir_opener: ::std::option::Option<
16501        unsafe extern "C" fn(
16502            wrapper: *mut php_stream_wrapper,
16503            filename: *const ::std::os::raw::c_char,
16504            mode: *const ::std::os::raw::c_char,
16505            options: ::std::os::raw::c_int,
16506            opened_path: *mut *mut ::std::os::raw::c_char,
16507            context: *mut php_stream_context,
16508        ) -> *mut php_stream,
16509    >,
16510    pub label: *const ::std::os::raw::c_char,
16511    pub unlink: ::std::option::Option<
16512        unsafe extern "C" fn(
16513            wrapper: *mut php_stream_wrapper,
16514            url: *const ::std::os::raw::c_char,
16515            options: ::std::os::raw::c_int,
16516            context: *mut php_stream_context,
16517        ) -> ::std::os::raw::c_int,
16518    >,
16519    pub rename: ::std::option::Option<
16520        unsafe extern "C" fn(
16521            wrapper: *mut php_stream_wrapper,
16522            url_from: *const ::std::os::raw::c_char,
16523            url_to: *const ::std::os::raw::c_char,
16524            options: ::std::os::raw::c_int,
16525            context: *mut php_stream_context,
16526        ) -> ::std::os::raw::c_int,
16527    >,
16528    pub stream_mkdir: ::std::option::Option<
16529        unsafe extern "C" fn(
16530            wrapper: *mut php_stream_wrapper,
16531            url: *const ::std::os::raw::c_char,
16532            mode: ::std::os::raw::c_int,
16533            options: ::std::os::raw::c_int,
16534            context: *mut php_stream_context,
16535        ) -> ::std::os::raw::c_int,
16536    >,
16537    pub stream_rmdir: ::std::option::Option<
16538        unsafe extern "C" fn(
16539            wrapper: *mut php_stream_wrapper,
16540            url: *const ::std::os::raw::c_char,
16541            options: ::std::os::raw::c_int,
16542            context: *mut php_stream_context,
16543        ) -> ::std::os::raw::c_int,
16544    >,
16545    pub stream_metadata: ::std::option::Option<
16546        unsafe extern "C" fn(
16547            wrapper: *mut php_stream_wrapper,
16548            url: *const ::std::os::raw::c_char,
16549            options: ::std::os::raw::c_int,
16550            value: *mut ::std::os::raw::c_void,
16551            context: *mut php_stream_context,
16552        ) -> ::std::os::raw::c_int,
16553    >,
16554}
16555#[test]
16556fn bindgen_test_layout__php_stream_wrapper_ops() {
16557    assert_eq!(
16558        ::std::mem::size_of::<_php_stream_wrapper_ops>(),
16559        88usize,
16560        concat!("Size of: ", stringify!(_php_stream_wrapper_ops))
16561    );
16562    assert_eq!(
16563        ::std::mem::align_of::<_php_stream_wrapper_ops>(),
16564        8usize,
16565        concat!("Alignment of ", stringify!(_php_stream_wrapper_ops))
16566    );
16567    assert_eq!(
16568        unsafe {
16569            &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_opener as *const _ as usize
16570        },
16571        0usize,
16572        concat!(
16573            "Offset of field: ",
16574            stringify!(_php_stream_wrapper_ops),
16575            "::",
16576            stringify!(stream_opener)
16577        )
16578    );
16579    assert_eq!(
16580        unsafe {
16581            &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_closer as *const _ as usize
16582        },
16583        8usize,
16584        concat!(
16585            "Offset of field: ",
16586            stringify!(_php_stream_wrapper_ops),
16587            "::",
16588            stringify!(stream_closer)
16589        )
16590    );
16591    assert_eq!(
16592        unsafe {
16593            &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_stat as *const _ as usize
16594        },
16595        16usize,
16596        concat!(
16597            "Offset of field: ",
16598            stringify!(_php_stream_wrapper_ops),
16599            "::",
16600            stringify!(stream_stat)
16601        )
16602    );
16603    assert_eq!(
16604        unsafe {
16605            &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).url_stat as *const _ as usize
16606        },
16607        24usize,
16608        concat!(
16609            "Offset of field: ",
16610            stringify!(_php_stream_wrapper_ops),
16611            "::",
16612            stringify!(url_stat)
16613        )
16614    );
16615    assert_eq!(
16616        unsafe {
16617            &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).dir_opener as *const _ as usize
16618        },
16619        32usize,
16620        concat!(
16621            "Offset of field: ",
16622            stringify!(_php_stream_wrapper_ops),
16623            "::",
16624            stringify!(dir_opener)
16625        )
16626    );
16627    assert_eq!(
16628        unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).label as *const _ as usize },
16629        40usize,
16630        concat!(
16631            "Offset of field: ",
16632            stringify!(_php_stream_wrapper_ops),
16633            "::",
16634            stringify!(label)
16635        )
16636    );
16637    assert_eq!(
16638        unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).unlink as *const _ as usize },
16639        48usize,
16640        concat!(
16641            "Offset of field: ",
16642            stringify!(_php_stream_wrapper_ops),
16643            "::",
16644            stringify!(unlink)
16645        )
16646    );
16647    assert_eq!(
16648        unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).rename as *const _ as usize },
16649        56usize,
16650        concat!(
16651            "Offset of field: ",
16652            stringify!(_php_stream_wrapper_ops),
16653            "::",
16654            stringify!(rename)
16655        )
16656    );
16657    assert_eq!(
16658        unsafe {
16659            &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_mkdir as *const _ as usize
16660        },
16661        64usize,
16662        concat!(
16663            "Offset of field: ",
16664            stringify!(_php_stream_wrapper_ops),
16665            "::",
16666            stringify!(stream_mkdir)
16667        )
16668    );
16669    assert_eq!(
16670        unsafe {
16671            &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_rmdir as *const _ as usize
16672        },
16673        72usize,
16674        concat!(
16675            "Offset of field: ",
16676            stringify!(_php_stream_wrapper_ops),
16677            "::",
16678            stringify!(stream_rmdir)
16679        )
16680    );
16681    assert_eq!(
16682        unsafe {
16683            &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_metadata as *const _ as usize
16684        },
16685        80usize,
16686        concat!(
16687            "Offset of field: ",
16688            stringify!(_php_stream_wrapper_ops),
16689            "::",
16690            stringify!(stream_metadata)
16691        )
16692    );
16693}
16694pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
16695#[repr(C)]
16696#[derive(Debug, Copy, Clone)]
16697pub struct _php_stream_wrapper {
16698    pub wops: *mut php_stream_wrapper_ops,
16699    pub abstract_: *mut ::std::os::raw::c_void,
16700    pub is_url: ::std::os::raw::c_int,
16701}
16702#[test]
16703fn bindgen_test_layout__php_stream_wrapper() {
16704    assert_eq!(
16705        ::std::mem::size_of::<_php_stream_wrapper>(),
16706        24usize,
16707        concat!("Size of: ", stringify!(_php_stream_wrapper))
16708    );
16709    assert_eq!(
16710        ::std::mem::align_of::<_php_stream_wrapper>(),
16711        8usize,
16712        concat!("Alignment of ", stringify!(_php_stream_wrapper))
16713    );
16714    assert_eq!(
16715        unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).wops as *const _ as usize },
16716        0usize,
16717        concat!(
16718            "Offset of field: ",
16719            stringify!(_php_stream_wrapper),
16720            "::",
16721            stringify!(wops)
16722        )
16723    );
16724    assert_eq!(
16725        unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).abstract_ as *const _ as usize },
16726        8usize,
16727        concat!(
16728            "Offset of field: ",
16729            stringify!(_php_stream_wrapper),
16730            "::",
16731            stringify!(abstract_)
16732        )
16733    );
16734    assert_eq!(
16735        unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).is_url as *const _ as usize },
16736        16usize,
16737        concat!(
16738            "Offset of field: ",
16739            stringify!(_php_stream_wrapper),
16740            "::",
16741            stringify!(is_url)
16742        )
16743    );
16744}
16745#[repr(C)]
16746#[derive(Debug, Copy, Clone)]
16747pub struct _php_stream {
16748    pub ops: *mut php_stream_ops,
16749    pub abstract_: *mut ::std::os::raw::c_void,
16750    pub readfilters: php_stream_filter_chain,
16751    pub writefilters: php_stream_filter_chain,
16752    pub wrapper: *mut php_stream_wrapper,
16753    pub wrapperthis: *mut ::std::os::raw::c_void,
16754    pub wrapperdata: *mut zval,
16755    pub fgetss_state: ::std::os::raw::c_int,
16756    pub is_persistent: ::std::os::raw::c_int,
16757    pub mode: [::std::os::raw::c_char; 16usize],
16758    pub rsrc_id: ::std::os::raw::c_int,
16759    pub in_free: ::std::os::raw::c_int,
16760    pub fclose_stdiocast: ::std::os::raw::c_int,
16761    pub stdiocast: *mut FILE,
16762    pub orig_path: *mut ::std::os::raw::c_char,
16763    pub context: *mut php_stream_context,
16764    pub flags: ::std::os::raw::c_int,
16765    pub position: off_t,
16766    pub readbuf: *mut ::std::os::raw::c_uchar,
16767    pub readbuflen: size_t,
16768    pub readpos: off_t,
16769    pub writepos: off_t,
16770    pub chunk_size: size_t,
16771    pub eof: ::std::os::raw::c_int,
16772    pub enclosing_stream: *mut _php_stream,
16773}
16774#[test]
16775fn bindgen_test_layout__php_stream() {
16776    assert_eq!(
16777        ::std::mem::size_of::<_php_stream>(),
16778        224usize,
16779        concat!("Size of: ", stringify!(_php_stream))
16780    );
16781    assert_eq!(
16782        ::std::mem::align_of::<_php_stream>(),
16783        8usize,
16784        concat!("Alignment of ", stringify!(_php_stream))
16785    );
16786    assert_eq!(
16787        unsafe { &(*(::std::ptr::null::<_php_stream>())).ops as *const _ as usize },
16788        0usize,
16789        concat!(
16790            "Offset of field: ",
16791            stringify!(_php_stream),
16792            "::",
16793            stringify!(ops)
16794        )
16795    );
16796    assert_eq!(
16797        unsafe { &(*(::std::ptr::null::<_php_stream>())).abstract_ as *const _ as usize },
16798        8usize,
16799        concat!(
16800            "Offset of field: ",
16801            stringify!(_php_stream),
16802            "::",
16803            stringify!(abstract_)
16804        )
16805    );
16806    assert_eq!(
16807        unsafe { &(*(::std::ptr::null::<_php_stream>())).readfilters as *const _ as usize },
16808        16usize,
16809        concat!(
16810            "Offset of field: ",
16811            stringify!(_php_stream),
16812            "::",
16813            stringify!(readfilters)
16814        )
16815    );
16816    assert_eq!(
16817        unsafe { &(*(::std::ptr::null::<_php_stream>())).writefilters as *const _ as usize },
16818        40usize,
16819        concat!(
16820            "Offset of field: ",
16821            stringify!(_php_stream),
16822            "::",
16823            stringify!(writefilters)
16824        )
16825    );
16826    assert_eq!(
16827        unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapper as *const _ as usize },
16828        64usize,
16829        concat!(
16830            "Offset of field: ",
16831            stringify!(_php_stream),
16832            "::",
16833            stringify!(wrapper)
16834        )
16835    );
16836    assert_eq!(
16837        unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapperthis as *const _ as usize },
16838        72usize,
16839        concat!(
16840            "Offset of field: ",
16841            stringify!(_php_stream),
16842            "::",
16843            stringify!(wrapperthis)
16844        )
16845    );
16846    assert_eq!(
16847        unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapperdata as *const _ as usize },
16848        80usize,
16849        concat!(
16850            "Offset of field: ",
16851            stringify!(_php_stream),
16852            "::",
16853            stringify!(wrapperdata)
16854        )
16855    );
16856    assert_eq!(
16857        unsafe { &(*(::std::ptr::null::<_php_stream>())).fgetss_state as *const _ as usize },
16858        88usize,
16859        concat!(
16860            "Offset of field: ",
16861            stringify!(_php_stream),
16862            "::",
16863            stringify!(fgetss_state)
16864        )
16865    );
16866    assert_eq!(
16867        unsafe { &(*(::std::ptr::null::<_php_stream>())).is_persistent as *const _ as usize },
16868        92usize,
16869        concat!(
16870            "Offset of field: ",
16871            stringify!(_php_stream),
16872            "::",
16873            stringify!(is_persistent)
16874        )
16875    );
16876    assert_eq!(
16877        unsafe { &(*(::std::ptr::null::<_php_stream>())).mode as *const _ as usize },
16878        96usize,
16879        concat!(
16880            "Offset of field: ",
16881            stringify!(_php_stream),
16882            "::",
16883            stringify!(mode)
16884        )
16885    );
16886    assert_eq!(
16887        unsafe { &(*(::std::ptr::null::<_php_stream>())).rsrc_id as *const _ as usize },
16888        112usize,
16889        concat!(
16890            "Offset of field: ",
16891            stringify!(_php_stream),
16892            "::",
16893            stringify!(rsrc_id)
16894        )
16895    );
16896    assert_eq!(
16897        unsafe { &(*(::std::ptr::null::<_php_stream>())).in_free as *const _ as usize },
16898        116usize,
16899        concat!(
16900            "Offset of field: ",
16901            stringify!(_php_stream),
16902            "::",
16903            stringify!(in_free)
16904        )
16905    );
16906    assert_eq!(
16907        unsafe { &(*(::std::ptr::null::<_php_stream>())).fclose_stdiocast as *const _ as usize },
16908        120usize,
16909        concat!(
16910            "Offset of field: ",
16911            stringify!(_php_stream),
16912            "::",
16913            stringify!(fclose_stdiocast)
16914        )
16915    );
16916    assert_eq!(
16917        unsafe { &(*(::std::ptr::null::<_php_stream>())).stdiocast as *const _ as usize },
16918        128usize,
16919        concat!(
16920            "Offset of field: ",
16921            stringify!(_php_stream),
16922            "::",
16923            stringify!(stdiocast)
16924        )
16925    );
16926    assert_eq!(
16927        unsafe { &(*(::std::ptr::null::<_php_stream>())).orig_path as *const _ as usize },
16928        136usize,
16929        concat!(
16930            "Offset of field: ",
16931            stringify!(_php_stream),
16932            "::",
16933            stringify!(orig_path)
16934        )
16935    );
16936    assert_eq!(
16937        unsafe { &(*(::std::ptr::null::<_php_stream>())).context as *const _ as usize },
16938        144usize,
16939        concat!(
16940            "Offset of field: ",
16941            stringify!(_php_stream),
16942            "::",
16943            stringify!(context)
16944        )
16945    );
16946    assert_eq!(
16947        unsafe { &(*(::std::ptr::null::<_php_stream>())).flags as *const _ as usize },
16948        152usize,
16949        concat!(
16950            "Offset of field: ",
16951            stringify!(_php_stream),
16952            "::",
16953            stringify!(flags)
16954        )
16955    );
16956    assert_eq!(
16957        unsafe { &(*(::std::ptr::null::<_php_stream>())).position as *const _ as usize },
16958        160usize,
16959        concat!(
16960            "Offset of field: ",
16961            stringify!(_php_stream),
16962            "::",
16963            stringify!(position)
16964        )
16965    );
16966    assert_eq!(
16967        unsafe { &(*(::std::ptr::null::<_php_stream>())).readbuf as *const _ as usize },
16968        168usize,
16969        concat!(
16970            "Offset of field: ",
16971            stringify!(_php_stream),
16972            "::",
16973            stringify!(readbuf)
16974        )
16975    );
16976    assert_eq!(
16977        unsafe { &(*(::std::ptr::null::<_php_stream>())).readbuflen as *const _ as usize },
16978        176usize,
16979        concat!(
16980            "Offset of field: ",
16981            stringify!(_php_stream),
16982            "::",
16983            stringify!(readbuflen)
16984        )
16985    );
16986    assert_eq!(
16987        unsafe { &(*(::std::ptr::null::<_php_stream>())).readpos as *const _ as usize },
16988        184usize,
16989        concat!(
16990            "Offset of field: ",
16991            stringify!(_php_stream),
16992            "::",
16993            stringify!(readpos)
16994        )
16995    );
16996    assert_eq!(
16997        unsafe { &(*(::std::ptr::null::<_php_stream>())).writepos as *const _ as usize },
16998        192usize,
16999        concat!(
17000            "Offset of field: ",
17001            stringify!(_php_stream),
17002            "::",
17003            stringify!(writepos)
17004        )
17005    );
17006    assert_eq!(
17007        unsafe { &(*(::std::ptr::null::<_php_stream>())).chunk_size as *const _ as usize },
17008        200usize,
17009        concat!(
17010            "Offset of field: ",
17011            stringify!(_php_stream),
17012            "::",
17013            stringify!(chunk_size)
17014        )
17015    );
17016    assert_eq!(
17017        unsafe { &(*(::std::ptr::null::<_php_stream>())).eof as *const _ as usize },
17018        208usize,
17019        concat!(
17020            "Offset of field: ",
17021            stringify!(_php_stream),
17022            "::",
17023            stringify!(eof)
17024        )
17025    );
17026    assert_eq!(
17027        unsafe { &(*(::std::ptr::null::<_php_stream>())).enclosing_stream as *const _ as usize },
17028        216usize,
17029        concat!(
17030            "Offset of field: ",
17031            stringify!(_php_stream),
17032            "::",
17033            stringify!(enclosing_stream)
17034        )
17035    );
17036}
17037extern "C" {
17038    pub fn php_stream_encloses(
17039        enclosing: *mut php_stream,
17040        enclosed: *mut php_stream,
17041    ) -> *mut php_stream;
17042}
17043extern "C" {
17044    pub fn php_stream_from_persistent_id(
17045        persistent_id: *const ::std::os::raw::c_char,
17046        stream: *mut *mut php_stream,
17047    ) -> ::std::os::raw::c_int;
17048}
17049extern "C" {
17050    pub fn php_stream_get_record(
17051        stream: *mut php_stream,
17052        maxlen: size_t,
17053        returned_len: *mut size_t,
17054        delim: *const ::std::os::raw::c_char,
17055        delim_len: size_t,
17056    ) -> *mut ::std::os::raw::c_char;
17057}
17058extern "C" {
17059    pub fn php_stream_dirent_alphasort(
17060        a: *mut *const ::std::os::raw::c_char,
17061        b: *mut *const ::std::os::raw::c_char,
17062    ) -> ::std::os::raw::c_int;
17063}
17064extern "C" {
17065    pub fn php_stream_dirent_alphasortr(
17066        a: *mut *const ::std::os::raw::c_char,
17067        b: *mut *const ::std::os::raw::c_char,
17068    ) -> ::std::os::raw::c_int;
17069}
17070pub type php_stream_transport_factory_func = ::std::option::Option<
17071    unsafe extern "C" fn(
17072        proto: *const ::std::os::raw::c_char,
17073        protolen: size_t,
17074        resourcename: *const ::std::os::raw::c_char,
17075        resourcenamelen: size_t,
17076        persistent_id: *const ::std::os::raw::c_char,
17077        options: ::std::os::raw::c_int,
17078        flags: ::std::os::raw::c_int,
17079        timeout: *mut timeval,
17080        context: *mut php_stream_context,
17081    ) -> *mut php_stream,
17082>;
17083pub type php_stream_transport_factory = php_stream_transport_factory_func;
17084extern "C" {
17085    pub fn php_stream_xport_register(
17086        protocol: *const ::std::os::raw::c_char,
17087        factory: php_stream_transport_factory,
17088    ) -> ::std::os::raw::c_int;
17089}
17090extern "C" {
17091    pub fn php_stream_xport_unregister(
17092        protocol: *const ::std::os::raw::c_char,
17093    ) -> ::std::os::raw::c_int;
17094}
17095extern "C" {
17096    pub fn php_stream_xport_bind(
17097        stream: *mut php_stream,
17098        name: *const ::std::os::raw::c_char,
17099        namelen: size_t,
17100        error_text: *mut *mut ::std::os::raw::c_char,
17101    ) -> ::std::os::raw::c_int;
17102}
17103extern "C" {
17104    pub fn php_stream_xport_connect(
17105        stream: *mut php_stream,
17106        name: *const ::std::os::raw::c_char,
17107        namelen: size_t,
17108        asynchronous: ::std::os::raw::c_int,
17109        timeout: *mut timeval,
17110        error_text: *mut *mut ::std::os::raw::c_char,
17111        error_code: *mut ::std::os::raw::c_int,
17112    ) -> ::std::os::raw::c_int;
17113}
17114extern "C" {
17115    pub fn php_stream_xport_listen(
17116        stream: *mut php_stream,
17117        backlog: ::std::os::raw::c_int,
17118        error_text: *mut *mut ::std::os::raw::c_char,
17119    ) -> ::std::os::raw::c_int;
17120}
17121extern "C" {
17122    pub fn php_stream_xport_accept(
17123        stream: *mut php_stream,
17124        client: *mut *mut php_stream,
17125        textaddr: *mut *mut ::std::os::raw::c_char,
17126        textaddrlen: *mut ::std::os::raw::c_int,
17127        addr: *mut *mut ::std::os::raw::c_void,
17128        addrlen: *mut socklen_t,
17129        timeout: *mut timeval,
17130        error_text: *mut *mut ::std::os::raw::c_char,
17131    ) -> ::std::os::raw::c_int;
17132}
17133extern "C" {
17134    pub fn php_stream_xport_get_name(
17135        stream: *mut php_stream,
17136        want_peer: ::std::os::raw::c_int,
17137        textaddr: *mut *mut ::std::os::raw::c_char,
17138        textaddrlen: *mut ::std::os::raw::c_int,
17139        addr: *mut *mut ::std::os::raw::c_void,
17140        addrlen: *mut socklen_t,
17141    ) -> ::std::os::raw::c_int;
17142}
17143extern "C" {
17144    pub fn php_stream_xport_recvfrom(
17145        stream: *mut php_stream,
17146        buf: *mut ::std::os::raw::c_char,
17147        buflen: size_t,
17148        flags: ::std::os::raw::c_long,
17149        addr: *mut *mut ::std::os::raw::c_void,
17150        addrlen: *mut socklen_t,
17151        textaddr: *mut *mut ::std::os::raw::c_char,
17152        textaddrlen: *mut ::std::os::raw::c_int,
17153    ) -> ::std::os::raw::c_int;
17154}
17155extern "C" {
17156    pub fn php_stream_xport_sendto(
17157        stream: *mut php_stream,
17158        buf: *const ::std::os::raw::c_char,
17159        buflen: size_t,
17160        flags: ::std::os::raw::c_long,
17161        addr: *mut ::std::os::raw::c_void,
17162        addrlen: socklen_t,
17163    ) -> ::std::os::raw::c_int;
17164}
17165pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
17166pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
17167pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
17168pub type stream_shutdown_t = ::std::os::raw::c_uint;
17169extern "C" {
17170    pub fn php_stream_xport_shutdown(
17171        stream: *mut php_stream,
17172        how: stream_shutdown_t,
17173    ) -> ::std::os::raw::c_int;
17174}
17175pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
17176    php_stream_xport_crypt_method_t = 3;
17177pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
17178    php_stream_xport_crypt_method_t = 5;
17179pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
17180    php_stream_xport_crypt_method_t = 57;
17181pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
17182    php_stream_xport_crypt_method_t = 9;
17183pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
17184    php_stream_xport_crypt_method_t = 17;
17185pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
17186    php_stream_xport_crypt_method_t = 33;
17187pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
17188    php_stream_xport_crypt_method_t = 9;
17189pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
17190    php_stream_xport_crypt_method_t = 57;
17191pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
17192    php_stream_xport_crypt_method_t = 63;
17193pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
17194    php_stream_xport_crypt_method_t = 2;
17195pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
17196    php_stream_xport_crypt_method_t = 4;
17197pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
17198    php_stream_xport_crypt_method_t = 56;
17199pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
17200    php_stream_xport_crypt_method_t = 8;
17201pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
17202    php_stream_xport_crypt_method_t = 16;
17203pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
17204    php_stream_xport_crypt_method_t = 32;
17205pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
17206    php_stream_xport_crypt_method_t = 8;
17207pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
17208    php_stream_xport_crypt_method_t = 56;
17209pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
17210    php_stream_xport_crypt_method_t = 62;
17211pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
17212extern "C" {
17213    pub fn php_stream_xport_crypto_setup(
17214        stream: *mut php_stream,
17215        crypto_method: php_stream_xport_crypt_method_t,
17216        session_stream: *mut php_stream,
17217    ) -> ::std::os::raw::c_int;
17218}
17219extern "C" {
17220    pub fn php_stream_xport_crypto_enable(
17221        stream: *mut php_stream,
17222        activate: ::std::os::raw::c_int,
17223    ) -> ::std::os::raw::c_int;
17224}
17225extern "C" {
17226    pub fn php_stream_xport_get_hash() -> *mut HashTable;
17227}
17228extern "C" {
17229    pub fn php_stream_generic_socket_factory(
17230        proto: *const ::std::os::raw::c_char,
17231        protolen: size_t,
17232        resourcename: *const ::std::os::raw::c_char,
17233        resourcenamelen: size_t,
17234        persistent_id: *const ::std::os::raw::c_char,
17235        options: ::std::os::raw::c_int,
17236        flags: ::std::os::raw::c_int,
17237        timeout: *mut timeval,
17238        context: *mut php_stream_context,
17239    ) -> *mut php_stream;
17240}
17241extern "C" {
17242    pub static mut php_stream_stdio_ops: php_stream_ops;
17243}
17244extern "C" {
17245    pub static mut php_plain_files_wrapper: php_stream_wrapper;
17246}
17247extern "C" {
17248    pub static mut php_glob_stream_wrapper: php_stream_wrapper;
17249}
17250extern "C" {
17251    pub static mut php_glob_stream_ops: php_stream_ops;
17252}
17253extern "C" {
17254    pub static mut php_stream_userspace_ops: php_stream_ops;
17255}
17256extern "C" {
17257    pub static mut php_stream_userspace_dir_ops: php_stream_ops;
17258}
17259extern "C" {
17260    pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
17261}
17262extern "C" {
17263    pub fn php_shutdown_stream_wrappers(
17264        module_number: ::std::os::raw::c_int,
17265    ) -> ::std::os::raw::c_int;
17266}
17267extern "C" {
17268    pub fn php_shutdown_stream_hashes();
17269}
17270extern "C" {
17271    pub fn php_register_url_stream_wrapper(
17272        protocol: *const ::std::os::raw::c_char,
17273        wrapper: *mut php_stream_wrapper,
17274    ) -> ::std::os::raw::c_int;
17275}
17276extern "C" {
17277    pub fn php_unregister_url_stream_wrapper(
17278        protocol: *const ::std::os::raw::c_char,
17279    ) -> ::std::os::raw::c_int;
17280}
17281extern "C" {
17282    pub fn php_register_url_stream_wrapper_volatile(
17283        protocol: *const ::std::os::raw::c_char,
17284        wrapper: *mut php_stream_wrapper,
17285    ) -> ::std::os::raw::c_int;
17286}
17287extern "C" {
17288    pub fn php_unregister_url_stream_wrapper_volatile(
17289        protocol: *const ::std::os::raw::c_char,
17290    ) -> ::std::os::raw::c_int;
17291}
17292extern "C" {
17293    pub fn php_stream_locate_url_wrapper(
17294        path: *const ::std::os::raw::c_char,
17295        path_for_open: *mut *const ::std::os::raw::c_char,
17296        options: ::std::os::raw::c_int,
17297    ) -> *mut php_stream_wrapper;
17298}
17299extern "C" {
17300    pub fn php_stream_locate_eol(
17301        stream: *mut php_stream,
17302        buf: *const ::std::os::raw::c_char,
17303        buf_len: size_t,
17304    ) -> *const ::std::os::raw::c_char;
17305}
17306extern "C" {
17307    pub fn php_stream_wrapper_log_error(
17308        wrapper: *mut php_stream_wrapper,
17309        options: ::std::os::raw::c_int,
17310        fmt: *const ::std::os::raw::c_char,
17311        ...
17312    );
17313}
17314extern "C" {
17315    pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
17316}
17317extern "C" {
17318    pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
17319}
17320extern "C" {
17321    pub static mut php_stream_user_wrapper_ops: *mut php_stream_wrapper_ops;
17322}
17323extern "C" {
17324    pub static mut php_stream_memory_ops: php_stream_ops;
17325}
17326extern "C" {
17327    pub static mut php_stream_temp_ops: php_stream_ops;
17328}
17329extern "C" {
17330    pub static mut php_stream_rfc2397_ops: php_stream_ops;
17331}
17332extern "C" {
17333    pub static mut php_stream_rfc2397_wrapper: php_stream_wrapper;
17334}
17335#[repr(C)]
17336#[derive(Debug, Copy, Clone)]
17337pub struct _php_core_globals {
17338    pub implicit_flush: zend_bool,
17339    pub output_buffering: ::std::os::raw::c_long,
17340    pub sql_safe_mode: zend_bool,
17341    pub enable_dl: zend_bool,
17342    pub output_handler: *mut ::std::os::raw::c_char,
17343    pub unserialize_callback_func: *mut ::std::os::raw::c_char,
17344    pub serialize_precision: ::std::os::raw::c_long,
17345    pub memory_limit: ::std::os::raw::c_long,
17346    pub max_input_time: ::std::os::raw::c_long,
17347    pub track_errors: zend_bool,
17348    pub display_errors: zend_bool,
17349    pub display_startup_errors: zend_bool,
17350    pub log_errors: zend_bool,
17351    pub log_errors_max_len: ::std::os::raw::c_long,
17352    pub ignore_repeated_errors: zend_bool,
17353    pub ignore_repeated_source: zend_bool,
17354    pub report_memleaks: zend_bool,
17355    pub error_log: *mut ::std::os::raw::c_char,
17356    pub doc_root: *mut ::std::os::raw::c_char,
17357    pub user_dir: *mut ::std::os::raw::c_char,
17358    pub include_path: *mut ::std::os::raw::c_char,
17359    pub open_basedir: *mut ::std::os::raw::c_char,
17360    pub extension_dir: *mut ::std::os::raw::c_char,
17361    pub php_binary: *mut ::std::os::raw::c_char,
17362    pub sys_temp_dir: *mut ::std::os::raw::c_char,
17363    pub upload_tmp_dir: *mut ::std::os::raw::c_char,
17364    pub upload_max_filesize: ::std::os::raw::c_long,
17365    pub error_append_string: *mut ::std::os::raw::c_char,
17366    pub error_prepend_string: *mut ::std::os::raw::c_char,
17367    pub auto_prepend_file: *mut ::std::os::raw::c_char,
17368    pub auto_append_file: *mut ::std::os::raw::c_char,
17369    pub input_encoding: *mut ::std::os::raw::c_char,
17370    pub internal_encoding: *mut ::std::os::raw::c_char,
17371    pub output_encoding: *mut ::std::os::raw::c_char,
17372    pub arg_separator: arg_separators,
17373    pub variables_order: *mut ::std::os::raw::c_char,
17374    pub rfc1867_protected_variables: HashTable,
17375    pub connection_status: ::std::os::raw::c_short,
17376    pub ignore_user_abort: ::std::os::raw::c_short,
17377    pub header_is_being_sent: ::std::os::raw::c_uchar,
17378    pub tick_functions: zend_llist,
17379    pub http_globals: [*mut zval; 6usize],
17380    pub expose_php: zend_bool,
17381    pub register_argc_argv: zend_bool,
17382    pub auto_globals_jit: zend_bool,
17383    pub docref_root: *mut ::std::os::raw::c_char,
17384    pub docref_ext: *mut ::std::os::raw::c_char,
17385    pub html_errors: zend_bool,
17386    pub xmlrpc_errors: zend_bool,
17387    pub xmlrpc_error_number: ::std::os::raw::c_long,
17388    pub activated_auto_globals: [zend_bool; 8usize],
17389    pub modules_activated: zend_bool,
17390    pub file_uploads: zend_bool,
17391    pub during_request_startup: zend_bool,
17392    pub allow_url_fopen: zend_bool,
17393    pub enable_post_data_reading: zend_bool,
17394    pub always_populate_raw_post_data: ::std::os::raw::c_schar,
17395    pub report_zend_debug: zend_bool,
17396    pub last_error_type: ::std::os::raw::c_int,
17397    pub last_error_message: *mut ::std::os::raw::c_char,
17398    pub last_error_file: *mut ::std::os::raw::c_char,
17399    pub last_error_lineno: ::std::os::raw::c_int,
17400    pub disable_functions: *mut ::std::os::raw::c_char,
17401    pub disable_classes: *mut ::std::os::raw::c_char,
17402    pub allow_url_include: zend_bool,
17403    pub exit_on_timeout: zend_bool,
17404    pub max_input_nesting_level: ::std::os::raw::c_long,
17405    pub max_input_vars: ::std::os::raw::c_long,
17406    pub in_user_include: zend_bool,
17407    pub user_ini_filename: *mut ::std::os::raw::c_char,
17408    pub user_ini_cache_ttl: ::std::os::raw::c_long,
17409    pub request_order: *mut ::std::os::raw::c_char,
17410    pub mail_x_header: zend_bool,
17411    pub mail_log: *mut ::std::os::raw::c_char,
17412    pub in_error_log: zend_bool,
17413}
17414#[test]
17415fn bindgen_test_layout__php_core_globals() {
17416    assert_eq!(
17417        ::std::mem::size_of::<_php_core_globals>(),
17418        616usize,
17419        concat!("Size of: ", stringify!(_php_core_globals))
17420    );
17421    assert_eq!(
17422        ::std::mem::align_of::<_php_core_globals>(),
17423        8usize,
17424        concat!("Alignment of ", stringify!(_php_core_globals))
17425    );
17426    assert_eq!(
17427        unsafe {
17428            &(*(::std::ptr::null::<_php_core_globals>())).implicit_flush as *const _ as usize
17429        },
17430        0usize,
17431        concat!(
17432            "Offset of field: ",
17433            stringify!(_php_core_globals),
17434            "::",
17435            stringify!(implicit_flush)
17436        )
17437    );
17438    assert_eq!(
17439        unsafe {
17440            &(*(::std::ptr::null::<_php_core_globals>())).output_buffering as *const _ as usize
17441        },
17442        8usize,
17443        concat!(
17444            "Offset of field: ",
17445            stringify!(_php_core_globals),
17446            "::",
17447            stringify!(output_buffering)
17448        )
17449    );
17450    assert_eq!(
17451        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).sql_safe_mode as *const _ as usize },
17452        16usize,
17453        concat!(
17454            "Offset of field: ",
17455            stringify!(_php_core_globals),
17456            "::",
17457            stringify!(sql_safe_mode)
17458        )
17459    );
17460    assert_eq!(
17461        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).enable_dl as *const _ as usize },
17462        17usize,
17463        concat!(
17464            "Offset of field: ",
17465            stringify!(_php_core_globals),
17466            "::",
17467            stringify!(enable_dl)
17468        )
17469    );
17470    assert_eq!(
17471        unsafe {
17472            &(*(::std::ptr::null::<_php_core_globals>())).output_handler as *const _ as usize
17473        },
17474        24usize,
17475        concat!(
17476            "Offset of field: ",
17477            stringify!(_php_core_globals),
17478            "::",
17479            stringify!(output_handler)
17480        )
17481    );
17482    assert_eq!(
17483        unsafe {
17484            &(*(::std::ptr::null::<_php_core_globals>())).unserialize_callback_func as *const _
17485                as usize
17486        },
17487        32usize,
17488        concat!(
17489            "Offset of field: ",
17490            stringify!(_php_core_globals),
17491            "::",
17492            stringify!(unserialize_callback_func)
17493        )
17494    );
17495    assert_eq!(
17496        unsafe {
17497            &(*(::std::ptr::null::<_php_core_globals>())).serialize_precision as *const _ as usize
17498        },
17499        40usize,
17500        concat!(
17501            "Offset of field: ",
17502            stringify!(_php_core_globals),
17503            "::",
17504            stringify!(serialize_precision)
17505        )
17506    );
17507    assert_eq!(
17508        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).memory_limit as *const _ as usize },
17509        48usize,
17510        concat!(
17511            "Offset of field: ",
17512            stringify!(_php_core_globals),
17513            "::",
17514            stringify!(memory_limit)
17515        )
17516    );
17517    assert_eq!(
17518        unsafe {
17519            &(*(::std::ptr::null::<_php_core_globals>())).max_input_time as *const _ as usize
17520        },
17521        56usize,
17522        concat!(
17523            "Offset of field: ",
17524            stringify!(_php_core_globals),
17525            "::",
17526            stringify!(max_input_time)
17527        )
17528    );
17529    assert_eq!(
17530        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).track_errors as *const _ as usize },
17531        64usize,
17532        concat!(
17533            "Offset of field: ",
17534            stringify!(_php_core_globals),
17535            "::",
17536            stringify!(track_errors)
17537        )
17538    );
17539    assert_eq!(
17540        unsafe {
17541            &(*(::std::ptr::null::<_php_core_globals>())).display_errors as *const _ as usize
17542        },
17543        65usize,
17544        concat!(
17545            "Offset of field: ",
17546            stringify!(_php_core_globals),
17547            "::",
17548            stringify!(display_errors)
17549        )
17550    );
17551    assert_eq!(
17552        unsafe {
17553            &(*(::std::ptr::null::<_php_core_globals>())).display_startup_errors as *const _
17554                as usize
17555        },
17556        66usize,
17557        concat!(
17558            "Offset of field: ",
17559            stringify!(_php_core_globals),
17560            "::",
17561            stringify!(display_startup_errors)
17562        )
17563    );
17564    assert_eq!(
17565        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).log_errors as *const _ as usize },
17566        67usize,
17567        concat!(
17568            "Offset of field: ",
17569            stringify!(_php_core_globals),
17570            "::",
17571            stringify!(log_errors)
17572        )
17573    );
17574    assert_eq!(
17575        unsafe {
17576            &(*(::std::ptr::null::<_php_core_globals>())).log_errors_max_len as *const _ as usize
17577        },
17578        72usize,
17579        concat!(
17580            "Offset of field: ",
17581            stringify!(_php_core_globals),
17582            "::",
17583            stringify!(log_errors_max_len)
17584        )
17585    );
17586    assert_eq!(
17587        unsafe {
17588            &(*(::std::ptr::null::<_php_core_globals>())).ignore_repeated_errors as *const _
17589                as usize
17590        },
17591        80usize,
17592        concat!(
17593            "Offset of field: ",
17594            stringify!(_php_core_globals),
17595            "::",
17596            stringify!(ignore_repeated_errors)
17597        )
17598    );
17599    assert_eq!(
17600        unsafe {
17601            &(*(::std::ptr::null::<_php_core_globals>())).ignore_repeated_source as *const _
17602                as usize
17603        },
17604        81usize,
17605        concat!(
17606            "Offset of field: ",
17607            stringify!(_php_core_globals),
17608            "::",
17609            stringify!(ignore_repeated_source)
17610        )
17611    );
17612    assert_eq!(
17613        unsafe {
17614            &(*(::std::ptr::null::<_php_core_globals>())).report_memleaks as *const _ as usize
17615        },
17616        82usize,
17617        concat!(
17618            "Offset of field: ",
17619            stringify!(_php_core_globals),
17620            "::",
17621            stringify!(report_memleaks)
17622        )
17623    );
17624    assert_eq!(
17625        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).error_log as *const _ as usize },
17626        88usize,
17627        concat!(
17628            "Offset of field: ",
17629            stringify!(_php_core_globals),
17630            "::",
17631            stringify!(error_log)
17632        )
17633    );
17634    assert_eq!(
17635        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).doc_root as *const _ as usize },
17636        96usize,
17637        concat!(
17638            "Offset of field: ",
17639            stringify!(_php_core_globals),
17640            "::",
17641            stringify!(doc_root)
17642        )
17643    );
17644    assert_eq!(
17645        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).user_dir as *const _ as usize },
17646        104usize,
17647        concat!(
17648            "Offset of field: ",
17649            stringify!(_php_core_globals),
17650            "::",
17651            stringify!(user_dir)
17652        )
17653    );
17654    assert_eq!(
17655        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).include_path as *const _ as usize },
17656        112usize,
17657        concat!(
17658            "Offset of field: ",
17659            stringify!(_php_core_globals),
17660            "::",
17661            stringify!(include_path)
17662        )
17663    );
17664    assert_eq!(
17665        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).open_basedir as *const _ as usize },
17666        120usize,
17667        concat!(
17668            "Offset of field: ",
17669            stringify!(_php_core_globals),
17670            "::",
17671            stringify!(open_basedir)
17672        )
17673    );
17674    assert_eq!(
17675        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).extension_dir as *const _ as usize },
17676        128usize,
17677        concat!(
17678            "Offset of field: ",
17679            stringify!(_php_core_globals),
17680            "::",
17681            stringify!(extension_dir)
17682        )
17683    );
17684    assert_eq!(
17685        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).php_binary as *const _ as usize },
17686        136usize,
17687        concat!(
17688            "Offset of field: ",
17689            stringify!(_php_core_globals),
17690            "::",
17691            stringify!(php_binary)
17692        )
17693    );
17694    assert_eq!(
17695        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).sys_temp_dir as *const _ as usize },
17696        144usize,
17697        concat!(
17698            "Offset of field: ",
17699            stringify!(_php_core_globals),
17700            "::",
17701            stringify!(sys_temp_dir)
17702        )
17703    );
17704    assert_eq!(
17705        unsafe {
17706            &(*(::std::ptr::null::<_php_core_globals>())).upload_tmp_dir as *const _ as usize
17707        },
17708        152usize,
17709        concat!(
17710            "Offset of field: ",
17711            stringify!(_php_core_globals),
17712            "::",
17713            stringify!(upload_tmp_dir)
17714        )
17715    );
17716    assert_eq!(
17717        unsafe {
17718            &(*(::std::ptr::null::<_php_core_globals>())).upload_max_filesize as *const _ as usize
17719        },
17720        160usize,
17721        concat!(
17722            "Offset of field: ",
17723            stringify!(_php_core_globals),
17724            "::",
17725            stringify!(upload_max_filesize)
17726        )
17727    );
17728    assert_eq!(
17729        unsafe {
17730            &(*(::std::ptr::null::<_php_core_globals>())).error_append_string as *const _ as usize
17731        },
17732        168usize,
17733        concat!(
17734            "Offset of field: ",
17735            stringify!(_php_core_globals),
17736            "::",
17737            stringify!(error_append_string)
17738        )
17739    );
17740    assert_eq!(
17741        unsafe {
17742            &(*(::std::ptr::null::<_php_core_globals>())).error_prepend_string as *const _ as usize
17743        },
17744        176usize,
17745        concat!(
17746            "Offset of field: ",
17747            stringify!(_php_core_globals),
17748            "::",
17749            stringify!(error_prepend_string)
17750        )
17751    );
17752    assert_eq!(
17753        unsafe {
17754            &(*(::std::ptr::null::<_php_core_globals>())).auto_prepend_file as *const _ as usize
17755        },
17756        184usize,
17757        concat!(
17758            "Offset of field: ",
17759            stringify!(_php_core_globals),
17760            "::",
17761            stringify!(auto_prepend_file)
17762        )
17763    );
17764    assert_eq!(
17765        unsafe {
17766            &(*(::std::ptr::null::<_php_core_globals>())).auto_append_file as *const _ as usize
17767        },
17768        192usize,
17769        concat!(
17770            "Offset of field: ",
17771            stringify!(_php_core_globals),
17772            "::",
17773            stringify!(auto_append_file)
17774        )
17775    );
17776    assert_eq!(
17777        unsafe {
17778            &(*(::std::ptr::null::<_php_core_globals>())).input_encoding as *const _ as usize
17779        },
17780        200usize,
17781        concat!(
17782            "Offset of field: ",
17783            stringify!(_php_core_globals),
17784            "::",
17785            stringify!(input_encoding)
17786        )
17787    );
17788    assert_eq!(
17789        unsafe {
17790            &(*(::std::ptr::null::<_php_core_globals>())).internal_encoding as *const _ as usize
17791        },
17792        208usize,
17793        concat!(
17794            "Offset of field: ",
17795            stringify!(_php_core_globals),
17796            "::",
17797            stringify!(internal_encoding)
17798        )
17799    );
17800    assert_eq!(
17801        unsafe {
17802            &(*(::std::ptr::null::<_php_core_globals>())).output_encoding as *const _ as usize
17803        },
17804        216usize,
17805        concat!(
17806            "Offset of field: ",
17807            stringify!(_php_core_globals),
17808            "::",
17809            stringify!(output_encoding)
17810        )
17811    );
17812    assert_eq!(
17813        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).arg_separator as *const _ as usize },
17814        224usize,
17815        concat!(
17816            "Offset of field: ",
17817            stringify!(_php_core_globals),
17818            "::",
17819            stringify!(arg_separator)
17820        )
17821    );
17822    assert_eq!(
17823        unsafe {
17824            &(*(::std::ptr::null::<_php_core_globals>())).variables_order as *const _ as usize
17825        },
17826        240usize,
17827        concat!(
17828            "Offset of field: ",
17829            stringify!(_php_core_globals),
17830            "::",
17831            stringify!(variables_order)
17832        )
17833    );
17834    assert_eq!(
17835        unsafe {
17836            &(*(::std::ptr::null::<_php_core_globals>())).rfc1867_protected_variables as *const _
17837                as usize
17838        },
17839        248usize,
17840        concat!(
17841            "Offset of field: ",
17842            stringify!(_php_core_globals),
17843            "::",
17844            stringify!(rfc1867_protected_variables)
17845        )
17846    );
17847    assert_eq!(
17848        unsafe {
17849            &(*(::std::ptr::null::<_php_core_globals>())).connection_status as *const _ as usize
17850        },
17851        320usize,
17852        concat!(
17853            "Offset of field: ",
17854            stringify!(_php_core_globals),
17855            "::",
17856            stringify!(connection_status)
17857        )
17858    );
17859    assert_eq!(
17860        unsafe {
17861            &(*(::std::ptr::null::<_php_core_globals>())).ignore_user_abort as *const _ as usize
17862        },
17863        322usize,
17864        concat!(
17865            "Offset of field: ",
17866            stringify!(_php_core_globals),
17867            "::",
17868            stringify!(ignore_user_abort)
17869        )
17870    );
17871    assert_eq!(
17872        unsafe {
17873            &(*(::std::ptr::null::<_php_core_globals>())).header_is_being_sent as *const _ as usize
17874        },
17875        324usize,
17876        concat!(
17877            "Offset of field: ",
17878            stringify!(_php_core_globals),
17879            "::",
17880            stringify!(header_is_being_sent)
17881        )
17882    );
17883    assert_eq!(
17884        unsafe {
17885            &(*(::std::ptr::null::<_php_core_globals>())).tick_functions as *const _ as usize
17886        },
17887        328usize,
17888        concat!(
17889            "Offset of field: ",
17890            stringify!(_php_core_globals),
17891            "::",
17892            stringify!(tick_functions)
17893        )
17894    );
17895    assert_eq!(
17896        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).http_globals as *const _ as usize },
17897        384usize,
17898        concat!(
17899            "Offset of field: ",
17900            stringify!(_php_core_globals),
17901            "::",
17902            stringify!(http_globals)
17903        )
17904    );
17905    assert_eq!(
17906        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).expose_php as *const _ as usize },
17907        432usize,
17908        concat!(
17909            "Offset of field: ",
17910            stringify!(_php_core_globals),
17911            "::",
17912            stringify!(expose_php)
17913        )
17914    );
17915    assert_eq!(
17916        unsafe {
17917            &(*(::std::ptr::null::<_php_core_globals>())).register_argc_argv as *const _ as usize
17918        },
17919        433usize,
17920        concat!(
17921            "Offset of field: ",
17922            stringify!(_php_core_globals),
17923            "::",
17924            stringify!(register_argc_argv)
17925        )
17926    );
17927    assert_eq!(
17928        unsafe {
17929            &(*(::std::ptr::null::<_php_core_globals>())).auto_globals_jit as *const _ as usize
17930        },
17931        434usize,
17932        concat!(
17933            "Offset of field: ",
17934            stringify!(_php_core_globals),
17935            "::",
17936            stringify!(auto_globals_jit)
17937        )
17938    );
17939    assert_eq!(
17940        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).docref_root as *const _ as usize },
17941        440usize,
17942        concat!(
17943            "Offset of field: ",
17944            stringify!(_php_core_globals),
17945            "::",
17946            stringify!(docref_root)
17947        )
17948    );
17949    assert_eq!(
17950        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).docref_ext as *const _ as usize },
17951        448usize,
17952        concat!(
17953            "Offset of field: ",
17954            stringify!(_php_core_globals),
17955            "::",
17956            stringify!(docref_ext)
17957        )
17958    );
17959    assert_eq!(
17960        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).html_errors as *const _ as usize },
17961        456usize,
17962        concat!(
17963            "Offset of field: ",
17964            stringify!(_php_core_globals),
17965            "::",
17966            stringify!(html_errors)
17967        )
17968    );
17969    assert_eq!(
17970        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).xmlrpc_errors as *const _ as usize },
17971        457usize,
17972        concat!(
17973            "Offset of field: ",
17974            stringify!(_php_core_globals),
17975            "::",
17976            stringify!(xmlrpc_errors)
17977        )
17978    );
17979    assert_eq!(
17980        unsafe {
17981            &(*(::std::ptr::null::<_php_core_globals>())).xmlrpc_error_number as *const _ as usize
17982        },
17983        464usize,
17984        concat!(
17985            "Offset of field: ",
17986            stringify!(_php_core_globals),
17987            "::",
17988            stringify!(xmlrpc_error_number)
17989        )
17990    );
17991    assert_eq!(
17992        unsafe {
17993            &(*(::std::ptr::null::<_php_core_globals>())).activated_auto_globals as *const _
17994                as usize
17995        },
17996        472usize,
17997        concat!(
17998            "Offset of field: ",
17999            stringify!(_php_core_globals),
18000            "::",
18001            stringify!(activated_auto_globals)
18002        )
18003    );
18004    assert_eq!(
18005        unsafe {
18006            &(*(::std::ptr::null::<_php_core_globals>())).modules_activated as *const _ as usize
18007        },
18008        480usize,
18009        concat!(
18010            "Offset of field: ",
18011            stringify!(_php_core_globals),
18012            "::",
18013            stringify!(modules_activated)
18014        )
18015    );
18016    assert_eq!(
18017        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).file_uploads as *const _ as usize },
18018        481usize,
18019        concat!(
18020            "Offset of field: ",
18021            stringify!(_php_core_globals),
18022            "::",
18023            stringify!(file_uploads)
18024        )
18025    );
18026    assert_eq!(
18027        unsafe {
18028            &(*(::std::ptr::null::<_php_core_globals>())).during_request_startup as *const _
18029                as usize
18030        },
18031        482usize,
18032        concat!(
18033            "Offset of field: ",
18034            stringify!(_php_core_globals),
18035            "::",
18036            stringify!(during_request_startup)
18037        )
18038    );
18039    assert_eq!(
18040        unsafe {
18041            &(*(::std::ptr::null::<_php_core_globals>())).allow_url_fopen as *const _ as usize
18042        },
18043        483usize,
18044        concat!(
18045            "Offset of field: ",
18046            stringify!(_php_core_globals),
18047            "::",
18048            stringify!(allow_url_fopen)
18049        )
18050    );
18051    assert_eq!(
18052        unsafe {
18053            &(*(::std::ptr::null::<_php_core_globals>())).enable_post_data_reading as *const _
18054                as usize
18055        },
18056        484usize,
18057        concat!(
18058            "Offset of field: ",
18059            stringify!(_php_core_globals),
18060            "::",
18061            stringify!(enable_post_data_reading)
18062        )
18063    );
18064    assert_eq!(
18065        unsafe {
18066            &(*(::std::ptr::null::<_php_core_globals>())).always_populate_raw_post_data as *const _
18067                as usize
18068        },
18069        485usize,
18070        concat!(
18071            "Offset of field: ",
18072            stringify!(_php_core_globals),
18073            "::",
18074            stringify!(always_populate_raw_post_data)
18075        )
18076    );
18077    assert_eq!(
18078        unsafe {
18079            &(*(::std::ptr::null::<_php_core_globals>())).report_zend_debug as *const _ as usize
18080        },
18081        486usize,
18082        concat!(
18083            "Offset of field: ",
18084            stringify!(_php_core_globals),
18085            "::",
18086            stringify!(report_zend_debug)
18087        )
18088    );
18089    assert_eq!(
18090        unsafe {
18091            &(*(::std::ptr::null::<_php_core_globals>())).last_error_type as *const _ as usize
18092        },
18093        488usize,
18094        concat!(
18095            "Offset of field: ",
18096            stringify!(_php_core_globals),
18097            "::",
18098            stringify!(last_error_type)
18099        )
18100    );
18101    assert_eq!(
18102        unsafe {
18103            &(*(::std::ptr::null::<_php_core_globals>())).last_error_message as *const _ as usize
18104        },
18105        496usize,
18106        concat!(
18107            "Offset of field: ",
18108            stringify!(_php_core_globals),
18109            "::",
18110            stringify!(last_error_message)
18111        )
18112    );
18113    assert_eq!(
18114        unsafe {
18115            &(*(::std::ptr::null::<_php_core_globals>())).last_error_file as *const _ as usize
18116        },
18117        504usize,
18118        concat!(
18119            "Offset of field: ",
18120            stringify!(_php_core_globals),
18121            "::",
18122            stringify!(last_error_file)
18123        )
18124    );
18125    assert_eq!(
18126        unsafe {
18127            &(*(::std::ptr::null::<_php_core_globals>())).last_error_lineno as *const _ as usize
18128        },
18129        512usize,
18130        concat!(
18131            "Offset of field: ",
18132            stringify!(_php_core_globals),
18133            "::",
18134            stringify!(last_error_lineno)
18135        )
18136    );
18137    assert_eq!(
18138        unsafe {
18139            &(*(::std::ptr::null::<_php_core_globals>())).disable_functions as *const _ as usize
18140        },
18141        520usize,
18142        concat!(
18143            "Offset of field: ",
18144            stringify!(_php_core_globals),
18145            "::",
18146            stringify!(disable_functions)
18147        )
18148    );
18149    assert_eq!(
18150        unsafe {
18151            &(*(::std::ptr::null::<_php_core_globals>())).disable_classes as *const _ as usize
18152        },
18153        528usize,
18154        concat!(
18155            "Offset of field: ",
18156            stringify!(_php_core_globals),
18157            "::",
18158            stringify!(disable_classes)
18159        )
18160    );
18161    assert_eq!(
18162        unsafe {
18163            &(*(::std::ptr::null::<_php_core_globals>())).allow_url_include as *const _ as usize
18164        },
18165        536usize,
18166        concat!(
18167            "Offset of field: ",
18168            stringify!(_php_core_globals),
18169            "::",
18170            stringify!(allow_url_include)
18171        )
18172    );
18173    assert_eq!(
18174        unsafe {
18175            &(*(::std::ptr::null::<_php_core_globals>())).exit_on_timeout as *const _ as usize
18176        },
18177        537usize,
18178        concat!(
18179            "Offset of field: ",
18180            stringify!(_php_core_globals),
18181            "::",
18182            stringify!(exit_on_timeout)
18183        )
18184    );
18185    assert_eq!(
18186        unsafe {
18187            &(*(::std::ptr::null::<_php_core_globals>())).max_input_nesting_level as *const _
18188                as usize
18189        },
18190        544usize,
18191        concat!(
18192            "Offset of field: ",
18193            stringify!(_php_core_globals),
18194            "::",
18195            stringify!(max_input_nesting_level)
18196        )
18197    );
18198    assert_eq!(
18199        unsafe {
18200            &(*(::std::ptr::null::<_php_core_globals>())).max_input_vars as *const _ as usize
18201        },
18202        552usize,
18203        concat!(
18204            "Offset of field: ",
18205            stringify!(_php_core_globals),
18206            "::",
18207            stringify!(max_input_vars)
18208        )
18209    );
18210    assert_eq!(
18211        unsafe {
18212            &(*(::std::ptr::null::<_php_core_globals>())).in_user_include as *const _ as usize
18213        },
18214        560usize,
18215        concat!(
18216            "Offset of field: ",
18217            stringify!(_php_core_globals),
18218            "::",
18219            stringify!(in_user_include)
18220        )
18221    );
18222    assert_eq!(
18223        unsafe {
18224            &(*(::std::ptr::null::<_php_core_globals>())).user_ini_filename as *const _ as usize
18225        },
18226        568usize,
18227        concat!(
18228            "Offset of field: ",
18229            stringify!(_php_core_globals),
18230            "::",
18231            stringify!(user_ini_filename)
18232        )
18233    );
18234    assert_eq!(
18235        unsafe {
18236            &(*(::std::ptr::null::<_php_core_globals>())).user_ini_cache_ttl as *const _ as usize
18237        },
18238        576usize,
18239        concat!(
18240            "Offset of field: ",
18241            stringify!(_php_core_globals),
18242            "::",
18243            stringify!(user_ini_cache_ttl)
18244        )
18245    );
18246    assert_eq!(
18247        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).request_order as *const _ as usize },
18248        584usize,
18249        concat!(
18250            "Offset of field: ",
18251            stringify!(_php_core_globals),
18252            "::",
18253            stringify!(request_order)
18254        )
18255    );
18256    assert_eq!(
18257        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).mail_x_header as *const _ as usize },
18258        592usize,
18259        concat!(
18260            "Offset of field: ",
18261            stringify!(_php_core_globals),
18262            "::",
18263            stringify!(mail_x_header)
18264        )
18265    );
18266    assert_eq!(
18267        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).mail_log as *const _ as usize },
18268        600usize,
18269        concat!(
18270            "Offset of field: ",
18271            stringify!(_php_core_globals),
18272            "::",
18273            stringify!(mail_log)
18274        )
18275    );
18276    assert_eq!(
18277        unsafe { &(*(::std::ptr::null::<_php_core_globals>())).in_error_log as *const _ as usize },
18278        608usize,
18279        concat!(
18280            "Offset of field: ",
18281            stringify!(_php_core_globals),
18282            "::",
18283            stringify!(in_error_log)
18284        )
18285    );
18286}
18287extern "C" {
18288    pub static mut core_globals: _php_core_globals;
18289}
18290#[repr(C)]
18291#[derive(Debug, Copy, Clone)]
18292pub struct _arg_separators {
18293    pub output: *mut ::std::os::raw::c_char,
18294    pub input: *mut ::std::os::raw::c_char,
18295}
18296#[test]
18297fn bindgen_test_layout__arg_separators() {
18298    assert_eq!(
18299        ::std::mem::size_of::<_arg_separators>(),
18300        16usize,
18301        concat!("Size of: ", stringify!(_arg_separators))
18302    );
18303    assert_eq!(
18304        ::std::mem::align_of::<_arg_separators>(),
18305        8usize,
18306        concat!("Alignment of ", stringify!(_arg_separators))
18307    );
18308    assert_eq!(
18309        unsafe { &(*(::std::ptr::null::<_arg_separators>())).output as *const _ as usize },
18310        0usize,
18311        concat!(
18312            "Offset of field: ",
18313            stringify!(_arg_separators),
18314            "::",
18315            stringify!(output)
18316        )
18317    );
18318    assert_eq!(
18319        unsafe { &(*(::std::ptr::null::<_arg_separators>())).input as *const _ as usize },
18320        8usize,
18321        concat!(
18322            "Offset of field: ",
18323            stringify!(_arg_separators),
18324            "::",
18325            stringify!(input)
18326        )
18327    );
18328}
18329pub type arg_separators = _arg_separators;
18330#[repr(C)]
18331#[derive(Debug, Copy, Clone)]
18332pub struct _zend_ini_entry {
18333    pub module_number: ::std::os::raw::c_int,
18334    pub modifiable: ::std::os::raw::c_int,
18335    pub name: *mut ::std::os::raw::c_char,
18336    pub name_length: uint,
18337    pub on_modify: ::std::option::Option<
18338        unsafe extern "C" fn(
18339            entry: *mut zend_ini_entry,
18340            new_value: *mut ::std::os::raw::c_char,
18341            new_value_length: uint,
18342            mh_arg1: *mut ::std::os::raw::c_void,
18343            mh_arg2: *mut ::std::os::raw::c_void,
18344            mh_arg3: *mut ::std::os::raw::c_void,
18345            stage: ::std::os::raw::c_int,
18346        ) -> ::std::os::raw::c_int,
18347    >,
18348    pub mh_arg1: *mut ::std::os::raw::c_void,
18349    pub mh_arg2: *mut ::std::os::raw::c_void,
18350    pub mh_arg3: *mut ::std::os::raw::c_void,
18351    pub value: *mut ::std::os::raw::c_char,
18352    pub value_length: uint,
18353    pub orig_value: *mut ::std::os::raw::c_char,
18354    pub orig_value_length: uint,
18355    pub orig_modifiable: ::std::os::raw::c_int,
18356    pub modified: ::std::os::raw::c_int,
18357    pub displayer: ::std::option::Option<
18358        unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
18359    >,
18360}
18361#[test]
18362fn bindgen_test_layout__zend_ini_entry() {
18363    assert_eq!(
18364        ::std::mem::size_of::<_zend_ini_entry>(),
18365        104usize,
18366        concat!("Size of: ", stringify!(_zend_ini_entry))
18367    );
18368    assert_eq!(
18369        ::std::mem::align_of::<_zend_ini_entry>(),
18370        8usize,
18371        concat!("Alignment of ", stringify!(_zend_ini_entry))
18372    );
18373    assert_eq!(
18374        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).module_number as *const _ as usize },
18375        0usize,
18376        concat!(
18377            "Offset of field: ",
18378            stringify!(_zend_ini_entry),
18379            "::",
18380            stringify!(module_number)
18381        )
18382    );
18383    assert_eq!(
18384        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).modifiable as *const _ as usize },
18385        4usize,
18386        concat!(
18387            "Offset of field: ",
18388            stringify!(_zend_ini_entry),
18389            "::",
18390            stringify!(modifiable)
18391        )
18392    );
18393    assert_eq!(
18394        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).name as *const _ as usize },
18395        8usize,
18396        concat!(
18397            "Offset of field: ",
18398            stringify!(_zend_ini_entry),
18399            "::",
18400            stringify!(name)
18401        )
18402    );
18403    assert_eq!(
18404        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).name_length as *const _ as usize },
18405        16usize,
18406        concat!(
18407            "Offset of field: ",
18408            stringify!(_zend_ini_entry),
18409            "::",
18410            stringify!(name_length)
18411        )
18412    );
18413    assert_eq!(
18414        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).on_modify as *const _ as usize },
18415        24usize,
18416        concat!(
18417            "Offset of field: ",
18418            stringify!(_zend_ini_entry),
18419            "::",
18420            stringify!(on_modify)
18421        )
18422    );
18423    assert_eq!(
18424        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg1 as *const _ as usize },
18425        32usize,
18426        concat!(
18427            "Offset of field: ",
18428            stringify!(_zend_ini_entry),
18429            "::",
18430            stringify!(mh_arg1)
18431        )
18432    );
18433    assert_eq!(
18434        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg2 as *const _ as usize },
18435        40usize,
18436        concat!(
18437            "Offset of field: ",
18438            stringify!(_zend_ini_entry),
18439            "::",
18440            stringify!(mh_arg2)
18441        )
18442    );
18443    assert_eq!(
18444        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg3 as *const _ as usize },
18445        48usize,
18446        concat!(
18447            "Offset of field: ",
18448            stringify!(_zend_ini_entry),
18449            "::",
18450            stringify!(mh_arg3)
18451        )
18452    );
18453    assert_eq!(
18454        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).value as *const _ as usize },
18455        56usize,
18456        concat!(
18457            "Offset of field: ",
18458            stringify!(_zend_ini_entry),
18459            "::",
18460            stringify!(value)
18461        )
18462    );
18463    assert_eq!(
18464        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).value_length as *const _ as usize },
18465        64usize,
18466        concat!(
18467            "Offset of field: ",
18468            stringify!(_zend_ini_entry),
18469            "::",
18470            stringify!(value_length)
18471        )
18472    );
18473    assert_eq!(
18474        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).orig_value as *const _ as usize },
18475        72usize,
18476        concat!(
18477            "Offset of field: ",
18478            stringify!(_zend_ini_entry),
18479            "::",
18480            stringify!(orig_value)
18481        )
18482    );
18483    assert_eq!(
18484        unsafe {
18485            &(*(::std::ptr::null::<_zend_ini_entry>())).orig_value_length as *const _ as usize
18486        },
18487        80usize,
18488        concat!(
18489            "Offset of field: ",
18490            stringify!(_zend_ini_entry),
18491            "::",
18492            stringify!(orig_value_length)
18493        )
18494    );
18495    assert_eq!(
18496        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).orig_modifiable as *const _ as usize },
18497        84usize,
18498        concat!(
18499            "Offset of field: ",
18500            stringify!(_zend_ini_entry),
18501            "::",
18502            stringify!(orig_modifiable)
18503        )
18504    );
18505    assert_eq!(
18506        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).modified as *const _ as usize },
18507        88usize,
18508        concat!(
18509            "Offset of field: ",
18510            stringify!(_zend_ini_entry),
18511            "::",
18512            stringify!(modified)
18513        )
18514    );
18515    assert_eq!(
18516        unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).displayer as *const _ as usize },
18517        96usize,
18518        concat!(
18519            "Offset of field: ",
18520            stringify!(_zend_ini_entry),
18521            "::",
18522            stringify!(displayer)
18523        )
18524    );
18525}
18526extern "C" {
18527    pub fn zend_ini_startup() -> ::std::os::raw::c_int;
18528}
18529extern "C" {
18530    pub fn zend_ini_shutdown() -> ::std::os::raw::c_int;
18531}
18532extern "C" {
18533    pub fn zend_ini_global_shutdown() -> ::std::os::raw::c_int;
18534}
18535extern "C" {
18536    pub fn zend_ini_deactivate() -> ::std::os::raw::c_int;
18537}
18538extern "C" {
18539    pub fn zend_copy_ini_directives() -> ::std::os::raw::c_int;
18540}
18541extern "C" {
18542    pub fn zend_ini_sort_entries();
18543}
18544extern "C" {
18545    pub fn zend_register_ini_entries(
18546        ini_entry: *const zend_ini_entry,
18547        module_number: ::std::os::raw::c_int,
18548    ) -> ::std::os::raw::c_int;
18549}
18550extern "C" {
18551    pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
18552}
18553extern "C" {
18554    pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
18555}
18556extern "C" {
18557    pub fn zend_alter_ini_entry(
18558        name: *mut ::std::os::raw::c_char,
18559        name_length: uint,
18560        new_value: *mut ::std::os::raw::c_char,
18561        new_value_length: uint,
18562        modify_type: ::std::os::raw::c_int,
18563        stage: ::std::os::raw::c_int,
18564    ) -> ::std::os::raw::c_int;
18565}
18566extern "C" {
18567    pub fn zend_alter_ini_entry_ex(
18568        name: *mut ::std::os::raw::c_char,
18569        name_length: uint,
18570        new_value: *mut ::std::os::raw::c_char,
18571        new_value_length: uint,
18572        modify_type: ::std::os::raw::c_int,
18573        stage: ::std::os::raw::c_int,
18574        force_change: ::std::os::raw::c_int,
18575    ) -> ::std::os::raw::c_int;
18576}
18577extern "C" {
18578    pub fn zend_restore_ini_entry(
18579        name: *mut ::std::os::raw::c_char,
18580        name_length: uint,
18581        stage: ::std::os::raw::c_int,
18582    ) -> ::std::os::raw::c_int;
18583}
18584extern "C" {
18585    pub fn zend_ini_long(
18586        name: *mut ::std::os::raw::c_char,
18587        name_length: uint,
18588        orig: ::std::os::raw::c_int,
18589    ) -> ::std::os::raw::c_long;
18590}
18591extern "C" {
18592    pub fn zend_ini_double(
18593        name: *mut ::std::os::raw::c_char,
18594        name_length: uint,
18595        orig: ::std::os::raw::c_int,
18596    ) -> f64;
18597}
18598extern "C" {
18599    pub fn zend_ini_string(
18600        name: *mut ::std::os::raw::c_char,
18601        name_length: uint,
18602        orig: ::std::os::raw::c_int,
18603    ) -> *mut ::std::os::raw::c_char;
18604}
18605extern "C" {
18606    pub fn zend_ini_string_ex(
18607        name: *mut ::std::os::raw::c_char,
18608        name_length: uint,
18609        orig: ::std::os::raw::c_int,
18610        exists: *mut zend_bool,
18611    ) -> *mut ::std::os::raw::c_char;
18612}
18613extern "C" {
18614    pub fn zend_ini_register_displayer(
18615        name: *mut ::std::os::raw::c_char,
18616        name_length: uint,
18617        displayer: ::std::option::Option<
18618            unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
18619        >,
18620    ) -> ::std::os::raw::c_int;
18621}
18622extern "C" {
18623    pub fn zend_ini_boolean_displayer_cb(
18624        ini_entry: *mut zend_ini_entry,
18625        type_: ::std::os::raw::c_int,
18626    );
18627}
18628extern "C" {
18629    pub fn zend_ini_color_displayer_cb(
18630        ini_entry: *mut zend_ini_entry,
18631        type_: ::std::os::raw::c_int,
18632    );
18633}
18634pub type zend_ini_parser_cb_t = ::std::option::Option<
18635    unsafe extern "C" fn(
18636        arg1: *mut zval,
18637        arg2: *mut zval,
18638        arg3: *mut zval,
18639        callback_type: ::std::os::raw::c_int,
18640        arg: *mut ::std::os::raw::c_void,
18641    ),
18642>;
18643extern "C" {
18644    pub fn zend_parse_ini_file(
18645        fh: *mut zend_file_handle,
18646        unbuffered_errors: zend_bool,
18647        scanner_mode: ::std::os::raw::c_int,
18648        ini_parser_cb: zend_ini_parser_cb_t,
18649        arg: *mut ::std::os::raw::c_void,
18650    ) -> ::std::os::raw::c_int;
18651}
18652extern "C" {
18653    pub fn zend_parse_ini_string(
18654        str_: *mut ::std::os::raw::c_char,
18655        unbuffered_errors: zend_bool,
18656        scanner_mode: ::std::os::raw::c_int,
18657        ini_parser_cb: zend_ini_parser_cb_t,
18658        arg: *mut ::std::os::raw::c_void,
18659    ) -> ::std::os::raw::c_int;
18660}
18661#[repr(C)]
18662#[derive(Debug, Copy, Clone)]
18663pub struct _zend_ini_parser_param {
18664    pub ini_parser_cb: zend_ini_parser_cb_t,
18665    pub arg: *mut ::std::os::raw::c_void,
18666}
18667#[test]
18668fn bindgen_test_layout__zend_ini_parser_param() {
18669    assert_eq!(
18670        ::std::mem::size_of::<_zend_ini_parser_param>(),
18671        16usize,
18672        concat!("Size of: ", stringify!(_zend_ini_parser_param))
18673    );
18674    assert_eq!(
18675        ::std::mem::align_of::<_zend_ini_parser_param>(),
18676        8usize,
18677        concat!("Alignment of ", stringify!(_zend_ini_parser_param))
18678    );
18679    assert_eq!(
18680        unsafe {
18681            &(*(::std::ptr::null::<_zend_ini_parser_param>())).ini_parser_cb as *const _ as usize
18682        },
18683        0usize,
18684        concat!(
18685            "Offset of field: ",
18686            stringify!(_zend_ini_parser_param),
18687            "::",
18688            stringify!(ini_parser_cb)
18689        )
18690    );
18691    assert_eq!(
18692        unsafe { &(*(::std::ptr::null::<_zend_ini_parser_param>())).arg as *const _ as usize },
18693        8usize,
18694        concat!(
18695            "Offset of field: ",
18696            stringify!(_zend_ini_parser_param),
18697            "::",
18698            stringify!(arg)
18699        )
18700    );
18701}
18702pub type zend_ini_parser_param = _zend_ini_parser_param;
18703extern "C" {
18704    pub fn php_init_config() -> ::std::os::raw::c_int;
18705}
18706extern "C" {
18707    pub fn php_shutdown_config() -> ::std::os::raw::c_int;
18708}
18709extern "C" {
18710    pub fn php_ini_register_extensions();
18711}
18712extern "C" {
18713    pub fn php_parse_user_ini_file(
18714        dirname: *const ::std::os::raw::c_char,
18715        ini_filename: *mut ::std::os::raw::c_char,
18716        target_hash: *mut HashTable,
18717    ) -> ::std::os::raw::c_int;
18718}
18719extern "C" {
18720    pub fn php_ini_activate_config(
18721        source_hash: *mut HashTable,
18722        modify_type: ::std::os::raw::c_int,
18723        stage: ::std::os::raw::c_int,
18724    );
18725}
18726extern "C" {
18727    pub fn php_ini_has_per_dir_config() -> ::std::os::raw::c_int;
18728}
18729extern "C" {
18730    pub fn php_ini_has_per_host_config() -> ::std::os::raw::c_int;
18731}
18732extern "C" {
18733    pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: uint);
18734}
18735extern "C" {
18736    pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: uint);
18737}
18738extern "C" {
18739    pub fn php_ini_get_configuration_hash() -> *mut HashTable;
18740}
18741extern "C" {
18742    pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
18743}
18744extern "C" {
18745    pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
18746}
18747extern "C" {
18748    pub fn php_check_open_basedir_ex(
18749        path: *const ::std::os::raw::c_char,
18750        warn: ::std::os::raw::c_int,
18751    ) -> ::std::os::raw::c_int;
18752}
18753extern "C" {
18754    pub fn php_check_specific_open_basedir(
18755        basedir: *const ::std::os::raw::c_char,
18756        path: *const ::std::os::raw::c_char,
18757    ) -> ::std::os::raw::c_int;
18758}
18759extern "C" {
18760    pub fn php_check_safe_mode_include_dir(
18761        path: *const ::std::os::raw::c_char,
18762    ) -> ::std::os::raw::c_int;
18763}
18764extern "C" {
18765    pub fn php_resolve_path(
18766        filename: *const ::std::os::raw::c_char,
18767        filename_len: ::std::os::raw::c_int,
18768        path: *const ::std::os::raw::c_char,
18769    ) -> *mut ::std::os::raw::c_char;
18770}
18771extern "C" {
18772    pub fn php_fopen_with_path(
18773        filename: *const ::std::os::raw::c_char,
18774        mode: *const ::std::os::raw::c_char,
18775        path: *const ::std::os::raw::c_char,
18776        opened_path: *mut *mut ::std::os::raw::c_char,
18777    ) -> *mut FILE;
18778}
18779extern "C" {
18780    pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
18781}
18782#[repr(C)]
18783#[derive(Debug, Copy, Clone)]
18784pub struct _cwd_state {
18785    pub cwd: *mut ::std::os::raw::c_char,
18786    pub cwd_length: ::std::os::raw::c_int,
18787}
18788#[test]
18789fn bindgen_test_layout__cwd_state() {
18790    assert_eq!(
18791        ::std::mem::size_of::<_cwd_state>(),
18792        16usize,
18793        concat!("Size of: ", stringify!(_cwd_state))
18794    );
18795    assert_eq!(
18796        ::std::mem::align_of::<_cwd_state>(),
18797        8usize,
18798        concat!("Alignment of ", stringify!(_cwd_state))
18799    );
18800    assert_eq!(
18801        unsafe { &(*(::std::ptr::null::<_cwd_state>())).cwd as *const _ as usize },
18802        0usize,
18803        concat!(
18804            "Offset of field: ",
18805            stringify!(_cwd_state),
18806            "::",
18807            stringify!(cwd)
18808        )
18809    );
18810    assert_eq!(
18811        unsafe { &(*(::std::ptr::null::<_cwd_state>())).cwd_length as *const _ as usize },
18812        8usize,
18813        concat!(
18814            "Offset of field: ",
18815            stringify!(_cwd_state),
18816            "::",
18817            stringify!(cwd_length)
18818        )
18819    );
18820}
18821pub type cwd_state = _cwd_state;
18822#[repr(C)]
18823#[derive(Debug, Copy, Clone)]
18824pub struct _realpath_cache_bucket {
18825    pub key: ::std::os::raw::c_ulong,
18826    pub path: *mut ::std::os::raw::c_char,
18827    pub path_len: ::std::os::raw::c_int,
18828    pub realpath: *mut ::std::os::raw::c_char,
18829    pub realpath_len: ::std::os::raw::c_int,
18830    pub is_dir: ::std::os::raw::c_int,
18831    pub expires: time_t,
18832    pub next: *mut _realpath_cache_bucket,
18833}
18834#[test]
18835fn bindgen_test_layout__realpath_cache_bucket() {
18836    assert_eq!(
18837        ::std::mem::size_of::<_realpath_cache_bucket>(),
18838        56usize,
18839        concat!("Size of: ", stringify!(_realpath_cache_bucket))
18840    );
18841    assert_eq!(
18842        ::std::mem::align_of::<_realpath_cache_bucket>(),
18843        8usize,
18844        concat!("Alignment of ", stringify!(_realpath_cache_bucket))
18845    );
18846    assert_eq!(
18847        unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).key as *const _ as usize },
18848        0usize,
18849        concat!(
18850            "Offset of field: ",
18851            stringify!(_realpath_cache_bucket),
18852            "::",
18853            stringify!(key)
18854        )
18855    );
18856    assert_eq!(
18857        unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).path as *const _ as usize },
18858        8usize,
18859        concat!(
18860            "Offset of field: ",
18861            stringify!(_realpath_cache_bucket),
18862            "::",
18863            stringify!(path)
18864        )
18865    );
18866    assert_eq!(
18867        unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).path_len as *const _ as usize },
18868        16usize,
18869        concat!(
18870            "Offset of field: ",
18871            stringify!(_realpath_cache_bucket),
18872            "::",
18873            stringify!(path_len)
18874        )
18875    );
18876    assert_eq!(
18877        unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).realpath as *const _ as usize },
18878        24usize,
18879        concat!(
18880            "Offset of field: ",
18881            stringify!(_realpath_cache_bucket),
18882            "::",
18883            stringify!(realpath)
18884        )
18885    );
18886    assert_eq!(
18887        unsafe {
18888            &(*(::std::ptr::null::<_realpath_cache_bucket>())).realpath_len as *const _ as usize
18889        },
18890        32usize,
18891        concat!(
18892            "Offset of field: ",
18893            stringify!(_realpath_cache_bucket),
18894            "::",
18895            stringify!(realpath_len)
18896        )
18897    );
18898    assert_eq!(
18899        unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).is_dir as *const _ as usize },
18900        36usize,
18901        concat!(
18902            "Offset of field: ",
18903            stringify!(_realpath_cache_bucket),
18904            "::",
18905            stringify!(is_dir)
18906        )
18907    );
18908    assert_eq!(
18909        unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).expires as *const _ as usize },
18910        40usize,
18911        concat!(
18912            "Offset of field: ",
18913            stringify!(_realpath_cache_bucket),
18914            "::",
18915            stringify!(expires)
18916        )
18917    );
18918    assert_eq!(
18919        unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).next as *const _ as usize },
18920        48usize,
18921        concat!(
18922            "Offset of field: ",
18923            stringify!(_realpath_cache_bucket),
18924            "::",
18925            stringify!(next)
18926        )
18927    );
18928}
18929pub type realpath_cache_bucket = _realpath_cache_bucket;
18930#[repr(C)]
18931#[derive(Copy, Clone)]
18932pub struct _virtual_cwd_globals {
18933    pub cwd: cwd_state,
18934    pub realpath_cache_size: ::std::os::raw::c_long,
18935    pub realpath_cache_size_limit: ::std::os::raw::c_long,
18936    pub realpath_cache_ttl: ::std::os::raw::c_long,
18937    pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
18938}
18939#[test]
18940fn bindgen_test_layout__virtual_cwd_globals() {
18941    assert_eq!(
18942        ::std::mem::size_of::<_virtual_cwd_globals>(),
18943        8232usize,
18944        concat!("Size of: ", stringify!(_virtual_cwd_globals))
18945    );
18946    assert_eq!(
18947        ::std::mem::align_of::<_virtual_cwd_globals>(),
18948        8usize,
18949        concat!("Alignment of ", stringify!(_virtual_cwd_globals))
18950    );
18951    assert_eq!(
18952        unsafe { &(*(::std::ptr::null::<_virtual_cwd_globals>())).cwd as *const _ as usize },
18953        0usize,
18954        concat!(
18955            "Offset of field: ",
18956            stringify!(_virtual_cwd_globals),
18957            "::",
18958            stringify!(cwd)
18959        )
18960    );
18961    assert_eq!(
18962        unsafe {
18963            &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_size as *const _
18964                as usize
18965        },
18966        16usize,
18967        concat!(
18968            "Offset of field: ",
18969            stringify!(_virtual_cwd_globals),
18970            "::",
18971            stringify!(realpath_cache_size)
18972        )
18973    );
18974    assert_eq!(
18975        unsafe {
18976            &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_size_limit as *const _
18977                as usize
18978        },
18979        24usize,
18980        concat!(
18981            "Offset of field: ",
18982            stringify!(_virtual_cwd_globals),
18983            "::",
18984            stringify!(realpath_cache_size_limit)
18985        )
18986    );
18987    assert_eq!(
18988        unsafe {
18989            &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_ttl as *const _ as usize
18990        },
18991        32usize,
18992        concat!(
18993            "Offset of field: ",
18994            stringify!(_virtual_cwd_globals),
18995            "::",
18996            stringify!(realpath_cache_ttl)
18997        )
18998    );
18999    assert_eq!(
19000        unsafe {
19001            &(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache as *const _ as usize
19002        },
19003        40usize,
19004        concat!(
19005            "Offset of field: ",
19006            stringify!(_virtual_cwd_globals),
19007            "::",
19008            stringify!(realpath_cache)
19009        )
19010    );
19011}
19012pub type virtual_cwd_globals = _virtual_cwd_globals;
19013extern "C" {
19014    pub static mut cwd_globals: virtual_cwd_globals;
19015}
19016#[repr(C)]
19017#[derive(Copy, Clone)]
19018pub struct _zend_constant {
19019    pub value: zval,
19020    pub flags: ::std::os::raw::c_int,
19021    pub name: *mut ::std::os::raw::c_char,
19022    pub name_len: uint,
19023    pub module_number: ::std::os::raw::c_int,
19024}
19025#[test]
19026fn bindgen_test_layout__zend_constant() {
19027    assert_eq!(
19028        ::std::mem::size_of::<_zend_constant>(),
19029        48usize,
19030        concat!("Size of: ", stringify!(_zend_constant))
19031    );
19032    assert_eq!(
19033        ::std::mem::align_of::<_zend_constant>(),
19034        8usize,
19035        concat!("Alignment of ", stringify!(_zend_constant))
19036    );
19037    assert_eq!(
19038        unsafe { &(*(::std::ptr::null::<_zend_constant>())).value as *const _ as usize },
19039        0usize,
19040        concat!(
19041            "Offset of field: ",
19042            stringify!(_zend_constant),
19043            "::",
19044            stringify!(value)
19045        )
19046    );
19047    assert_eq!(
19048        unsafe { &(*(::std::ptr::null::<_zend_constant>())).flags as *const _ as usize },
19049        24usize,
19050        concat!(
19051            "Offset of field: ",
19052            stringify!(_zend_constant),
19053            "::",
19054            stringify!(flags)
19055        )
19056    );
19057    assert_eq!(
19058        unsafe { &(*(::std::ptr::null::<_zend_constant>())).name as *const _ as usize },
19059        32usize,
19060        concat!(
19061            "Offset of field: ",
19062            stringify!(_zend_constant),
19063            "::",
19064            stringify!(name)
19065        )
19066    );
19067    assert_eq!(
19068        unsafe { &(*(::std::ptr::null::<_zend_constant>())).name_len as *const _ as usize },
19069        40usize,
19070        concat!(
19071            "Offset of field: ",
19072            stringify!(_zend_constant),
19073            "::",
19074            stringify!(name_len)
19075        )
19076    );
19077    assert_eq!(
19078        unsafe { &(*(::std::ptr::null::<_zend_constant>())).module_number as *const _ as usize },
19079        44usize,
19080        concat!(
19081            "Offset of field: ",
19082            stringify!(_zend_constant),
19083            "::",
19084            stringify!(module_number)
19085        )
19086    );
19087}
19088pub type zend_constant = _zend_constant;
19089extern "C" {
19090    pub fn zend_startup_constants() -> ::std::os::raw::c_int;
19091}
19092extern "C" {
19093    pub fn zend_shutdown_constants() -> ::std::os::raw::c_int;
19094}
19095extern "C" {
19096    pub fn zend_register_standard_constants();
19097}
19098extern "C" {
19099    pub fn zend_get_constant(
19100        name: *const ::std::os::raw::c_char,
19101        name_len: uint,
19102        result: *mut zval,
19103    ) -> ::std::os::raw::c_int;
19104}
19105extern "C" {
19106    pub fn zend_get_constant_ex(
19107        name: *const ::std::os::raw::c_char,
19108        name_len: uint,
19109        result: *mut zval,
19110        scope: *mut zend_class_entry,
19111        flags: ulong,
19112    ) -> ::std::os::raw::c_int;
19113}
19114extern "C" {
19115    pub fn zend_register_bool_constant(
19116        name: *const ::std::os::raw::c_char,
19117        name_len: uint,
19118        bval: zend_bool,
19119        flags: ::std::os::raw::c_int,
19120        module_number: ::std::os::raw::c_int,
19121    );
19122}
19123extern "C" {
19124    pub fn zend_register_null_constant(
19125        name: *const ::std::os::raw::c_char,
19126        name_len: uint,
19127        flags: ::std::os::raw::c_int,
19128        module_number: ::std::os::raw::c_int,
19129    );
19130}
19131extern "C" {
19132    pub fn zend_register_long_constant(
19133        name: *const ::std::os::raw::c_char,
19134        name_len: uint,
19135        lval: ::std::os::raw::c_long,
19136        flags: ::std::os::raw::c_int,
19137        module_number: ::std::os::raw::c_int,
19138    );
19139}
19140extern "C" {
19141    pub fn zend_register_double_constant(
19142        name: *const ::std::os::raw::c_char,
19143        name_len: uint,
19144        dval: f64,
19145        flags: ::std::os::raw::c_int,
19146        module_number: ::std::os::raw::c_int,
19147    );
19148}
19149extern "C" {
19150    pub fn zend_register_string_constant(
19151        name: *const ::std::os::raw::c_char,
19152        name_len: uint,
19153        strval: *mut ::std::os::raw::c_char,
19154        flags: ::std::os::raw::c_int,
19155        module_number: ::std::os::raw::c_int,
19156    );
19157}
19158extern "C" {
19159    pub fn zend_register_stringl_constant(
19160        name: *const ::std::os::raw::c_char,
19161        name_len: uint,
19162        strval: *mut ::std::os::raw::c_char,
19163        strlen: uint,
19164        flags: ::std::os::raw::c_int,
19165        module_number: ::std::os::raw::c_int,
19166    );
19167}
19168extern "C" {
19169    pub fn zend_register_constant(c: *mut zend_constant) -> ::std::os::raw::c_int;
19170}
19171extern "C" {
19172    pub fn zend_copy_constants(target: *mut HashTable, sourc: *mut HashTable);
19173}
19174extern "C" {
19175    pub fn zend_quick_get_constant(key: *const zend_literal, flags: ulong) -> *mut zend_constant;
19176}
19177extern "C" {
19178    pub fn php_info_html_esc(string: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
19179}
19180extern "C" {
19181    pub fn php_info_html_esc_write(
19182        string: *mut ::std::os::raw::c_char,
19183        str_len: ::std::os::raw::c_int,
19184    );
19185}
19186extern "C" {
19187    pub fn php_print_info_htmlhead();
19188}
19189extern "C" {
19190    pub fn php_print_info(flag: ::std::os::raw::c_int);
19191}
19192extern "C" {
19193    pub fn php_print_style();
19194}
19195extern "C" {
19196    pub fn php_info_print_style();
19197}
19198extern "C" {
19199    pub fn php_info_print_table_colspan_header(
19200        num_cols: ::std::os::raw::c_int,
19201        header: *mut ::std::os::raw::c_char,
19202    );
19203}
19204extern "C" {
19205    pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
19206}
19207extern "C" {
19208    pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
19209}
19210extern "C" {
19211    pub fn php_info_print_table_row_ex(
19212        num_cols: ::std::os::raw::c_int,
19213        arg1: *const ::std::os::raw::c_char,
19214        ...
19215    );
19216}
19217extern "C" {
19218    pub fn php_info_print_table_start();
19219}
19220extern "C" {
19221    pub fn php_info_print_table_end();
19222}
19223extern "C" {
19224    pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
19225}
19226extern "C" {
19227    pub fn php_info_print_box_end();
19228}
19229extern "C" {
19230    pub fn php_info_print_hr();
19231}
19232extern "C" {
19233    pub fn php_info_print_module(module: *mut zend_module_entry);
19234}
19235extern "C" {
19236    pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
19237}
19238#[repr(C)]
19239#[derive(Debug, Copy, Clone)]
19240pub struct _zend_extension_version_info {
19241    pub zend_extension_api_no: ::std::os::raw::c_int,
19242    pub build_id: *mut ::std::os::raw::c_char,
19243}
19244#[test]
19245fn bindgen_test_layout__zend_extension_version_info() {
19246    assert_eq!(
19247        ::std::mem::size_of::<_zend_extension_version_info>(),
19248        16usize,
19249        concat!("Size of: ", stringify!(_zend_extension_version_info))
19250    );
19251    assert_eq!(
19252        ::std::mem::align_of::<_zend_extension_version_info>(),
19253        8usize,
19254        concat!("Alignment of ", stringify!(_zend_extension_version_info))
19255    );
19256    assert_eq!(
19257        unsafe {
19258            &(*(::std::ptr::null::<_zend_extension_version_info>())).zend_extension_api_no
19259                as *const _ as usize
19260        },
19261        0usize,
19262        concat!(
19263            "Offset of field: ",
19264            stringify!(_zend_extension_version_info),
19265            "::",
19266            stringify!(zend_extension_api_no)
19267        )
19268    );
19269    assert_eq!(
19270        unsafe {
19271            &(*(::std::ptr::null::<_zend_extension_version_info>())).build_id as *const _ as usize
19272        },
19273        8usize,
19274        concat!(
19275            "Offset of field: ",
19276            stringify!(_zend_extension_version_info),
19277            "::",
19278            stringify!(build_id)
19279        )
19280    );
19281}
19282pub type zend_extension_version_info = _zend_extension_version_info;
19283pub type zend_extension = _zend_extension;
19284pub type startup_func_t = ::std::option::Option<
19285    unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
19286>;
19287pub type shutdown_func_t =
19288    ::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
19289pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
19290pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
19291pub type message_handler_func_t = ::std::option::Option<
19292    unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
19293>;
19294pub type op_array_handler_func_t =
19295    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
19296pub type statement_handler_func_t =
19297    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
19298pub type fcall_begin_handler_func_t =
19299    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
19300pub type fcall_end_handler_func_t =
19301    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
19302pub type op_array_ctor_func_t =
19303    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
19304pub type op_array_dtor_func_t =
19305    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
19306#[repr(C)]
19307#[derive(Debug, Copy, Clone)]
19308pub struct _zend_extension {
19309    pub name: *mut ::std::os::raw::c_char,
19310    pub version: *mut ::std::os::raw::c_char,
19311    pub author: *mut ::std::os::raw::c_char,
19312    pub URL: *mut ::std::os::raw::c_char,
19313    pub copyright: *mut ::std::os::raw::c_char,
19314    pub startup: startup_func_t,
19315    pub shutdown: shutdown_func_t,
19316    pub activate: activate_func_t,
19317    pub deactivate: deactivate_func_t,
19318    pub message_handler: message_handler_func_t,
19319    pub op_array_handler: op_array_handler_func_t,
19320    pub statement_handler: statement_handler_func_t,
19321    pub fcall_begin_handler: fcall_begin_handler_func_t,
19322    pub fcall_end_handler: fcall_end_handler_func_t,
19323    pub op_array_ctor: op_array_ctor_func_t,
19324    pub op_array_dtor: op_array_dtor_func_t,
19325    pub api_no_check: ::std::option::Option<
19326        unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
19327    >,
19328    pub build_id_check: ::std::option::Option<
19329        unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
19330    >,
19331    pub reserved3: *mut ::std::os::raw::c_void,
19332    pub reserved4: *mut ::std::os::raw::c_void,
19333    pub reserved5: *mut ::std::os::raw::c_void,
19334    pub reserved6: *mut ::std::os::raw::c_void,
19335    pub reserved7: *mut ::std::os::raw::c_void,
19336    pub reserved8: *mut ::std::os::raw::c_void,
19337    pub handle: *mut ::std::os::raw::c_void,
19338    pub resource_number: ::std::os::raw::c_int,
19339}
19340#[test]
19341fn bindgen_test_layout__zend_extension() {
19342    assert_eq!(
19343        ::std::mem::size_of::<_zend_extension>(),
19344        208usize,
19345        concat!("Size of: ", stringify!(_zend_extension))
19346    );
19347    assert_eq!(
19348        ::std::mem::align_of::<_zend_extension>(),
19349        8usize,
19350        concat!("Alignment of ", stringify!(_zend_extension))
19351    );
19352    assert_eq!(
19353        unsafe { &(*(::std::ptr::null::<_zend_extension>())).name as *const _ as usize },
19354        0usize,
19355        concat!(
19356            "Offset of field: ",
19357            stringify!(_zend_extension),
19358            "::",
19359            stringify!(name)
19360        )
19361    );
19362    assert_eq!(
19363        unsafe { &(*(::std::ptr::null::<_zend_extension>())).version as *const _ as usize },
19364        8usize,
19365        concat!(
19366            "Offset of field: ",
19367            stringify!(_zend_extension),
19368            "::",
19369            stringify!(version)
19370        )
19371    );
19372    assert_eq!(
19373        unsafe { &(*(::std::ptr::null::<_zend_extension>())).author as *const _ as usize },
19374        16usize,
19375        concat!(
19376            "Offset of field: ",
19377            stringify!(_zend_extension),
19378            "::",
19379            stringify!(author)
19380        )
19381    );
19382    assert_eq!(
19383        unsafe { &(*(::std::ptr::null::<_zend_extension>())).URL as *const _ as usize },
19384        24usize,
19385        concat!(
19386            "Offset of field: ",
19387            stringify!(_zend_extension),
19388            "::",
19389            stringify!(URL)
19390        )
19391    );
19392    assert_eq!(
19393        unsafe { &(*(::std::ptr::null::<_zend_extension>())).copyright as *const _ as usize },
19394        32usize,
19395        concat!(
19396            "Offset of field: ",
19397            stringify!(_zend_extension),
19398            "::",
19399            stringify!(copyright)
19400        )
19401    );
19402    assert_eq!(
19403        unsafe { &(*(::std::ptr::null::<_zend_extension>())).startup as *const _ as usize },
19404        40usize,
19405        concat!(
19406            "Offset of field: ",
19407            stringify!(_zend_extension),
19408            "::",
19409            stringify!(startup)
19410        )
19411    );
19412    assert_eq!(
19413        unsafe { &(*(::std::ptr::null::<_zend_extension>())).shutdown as *const _ as usize },
19414        48usize,
19415        concat!(
19416            "Offset of field: ",
19417            stringify!(_zend_extension),
19418            "::",
19419            stringify!(shutdown)
19420        )
19421    );
19422    assert_eq!(
19423        unsafe { &(*(::std::ptr::null::<_zend_extension>())).activate as *const _ as usize },
19424        56usize,
19425        concat!(
19426            "Offset of field: ",
19427            stringify!(_zend_extension),
19428            "::",
19429            stringify!(activate)
19430        )
19431    );
19432    assert_eq!(
19433        unsafe { &(*(::std::ptr::null::<_zend_extension>())).deactivate as *const _ as usize },
19434        64usize,
19435        concat!(
19436            "Offset of field: ",
19437            stringify!(_zend_extension),
19438            "::",
19439            stringify!(deactivate)
19440        )
19441    );
19442    assert_eq!(
19443        unsafe { &(*(::std::ptr::null::<_zend_extension>())).message_handler as *const _ as usize },
19444        72usize,
19445        concat!(
19446            "Offset of field: ",
19447            stringify!(_zend_extension),
19448            "::",
19449            stringify!(message_handler)
19450        )
19451    );
19452    assert_eq!(
19453        unsafe {
19454            &(*(::std::ptr::null::<_zend_extension>())).op_array_handler as *const _ as usize
19455        },
19456        80usize,
19457        concat!(
19458            "Offset of field: ",
19459            stringify!(_zend_extension),
19460            "::",
19461            stringify!(op_array_handler)
19462        )
19463    );
19464    assert_eq!(
19465        unsafe {
19466            &(*(::std::ptr::null::<_zend_extension>())).statement_handler as *const _ as usize
19467        },
19468        88usize,
19469        concat!(
19470            "Offset of field: ",
19471            stringify!(_zend_extension),
19472            "::",
19473            stringify!(statement_handler)
19474        )
19475    );
19476    assert_eq!(
19477        unsafe {
19478            &(*(::std::ptr::null::<_zend_extension>())).fcall_begin_handler as *const _ as usize
19479        },
19480        96usize,
19481        concat!(
19482            "Offset of field: ",
19483            stringify!(_zend_extension),
19484            "::",
19485            stringify!(fcall_begin_handler)
19486        )
19487    );
19488    assert_eq!(
19489        unsafe {
19490            &(*(::std::ptr::null::<_zend_extension>())).fcall_end_handler as *const _ as usize
19491        },
19492        104usize,
19493        concat!(
19494            "Offset of field: ",
19495            stringify!(_zend_extension),
19496            "::",
19497            stringify!(fcall_end_handler)
19498        )
19499    );
19500    assert_eq!(
19501        unsafe { &(*(::std::ptr::null::<_zend_extension>())).op_array_ctor as *const _ as usize },
19502        112usize,
19503        concat!(
19504            "Offset of field: ",
19505            stringify!(_zend_extension),
19506            "::",
19507            stringify!(op_array_ctor)
19508        )
19509    );
19510    assert_eq!(
19511        unsafe { &(*(::std::ptr::null::<_zend_extension>())).op_array_dtor as *const _ as usize },
19512        120usize,
19513        concat!(
19514            "Offset of field: ",
19515            stringify!(_zend_extension),
19516            "::",
19517            stringify!(op_array_dtor)
19518        )
19519    );
19520    assert_eq!(
19521        unsafe { &(*(::std::ptr::null::<_zend_extension>())).api_no_check as *const _ as usize },
19522        128usize,
19523        concat!(
19524            "Offset of field: ",
19525            stringify!(_zend_extension),
19526            "::",
19527            stringify!(api_no_check)
19528        )
19529    );
19530    assert_eq!(
19531        unsafe { &(*(::std::ptr::null::<_zend_extension>())).build_id_check as *const _ as usize },
19532        136usize,
19533        concat!(
19534            "Offset of field: ",
19535            stringify!(_zend_extension),
19536            "::",
19537            stringify!(build_id_check)
19538        )
19539    );
19540    assert_eq!(
19541        unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved3 as *const _ as usize },
19542        144usize,
19543        concat!(
19544            "Offset of field: ",
19545            stringify!(_zend_extension),
19546            "::",
19547            stringify!(reserved3)
19548        )
19549    );
19550    assert_eq!(
19551        unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved4 as *const _ as usize },
19552        152usize,
19553        concat!(
19554            "Offset of field: ",
19555            stringify!(_zend_extension),
19556            "::",
19557            stringify!(reserved4)
19558        )
19559    );
19560    assert_eq!(
19561        unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved5 as *const _ as usize },
19562        160usize,
19563        concat!(
19564            "Offset of field: ",
19565            stringify!(_zend_extension),
19566            "::",
19567            stringify!(reserved5)
19568        )
19569    );
19570    assert_eq!(
19571        unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved6 as *const _ as usize },
19572        168usize,
19573        concat!(
19574            "Offset of field: ",
19575            stringify!(_zend_extension),
19576            "::",
19577            stringify!(reserved6)
19578        )
19579    );
19580    assert_eq!(
19581        unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved7 as *const _ as usize },
19582        176usize,
19583        concat!(
19584            "Offset of field: ",
19585            stringify!(_zend_extension),
19586            "::",
19587            stringify!(reserved7)
19588        )
19589    );
19590    assert_eq!(
19591        unsafe { &(*(::std::ptr::null::<_zend_extension>())).reserved8 as *const _ as usize },
19592        184usize,
19593        concat!(
19594            "Offset of field: ",
19595            stringify!(_zend_extension),
19596            "::",
19597            stringify!(reserved8)
19598        )
19599    );
19600    assert_eq!(
19601        unsafe { &(*(::std::ptr::null::<_zend_extension>())).handle as *const _ as usize },
19602        192usize,
19603        concat!(
19604            "Offset of field: ",
19605            stringify!(_zend_extension),
19606            "::",
19607            stringify!(handle)
19608        )
19609    );
19610    assert_eq!(
19611        unsafe { &(*(::std::ptr::null::<_zend_extension>())).resource_number as *const _ as usize },
19612        200usize,
19613        concat!(
19614            "Offset of field: ",
19615            stringify!(_zend_extension),
19616            "::",
19617            stringify!(resource_number)
19618        )
19619    );
19620}
19621extern "C" {
19622    pub fn zend_get_resource_handle(extension: *mut zend_extension) -> ::std::os::raw::c_int;
19623}
19624extern "C" {
19625    pub fn zend_extension_dispatch_message(
19626        message: ::std::os::raw::c_int,
19627        arg: *mut ::std::os::raw::c_void,
19628    );
19629}
19630extern "C" {
19631    pub static mut zend_extensions: zend_llist;
19632}
19633extern "C" {
19634    pub fn zend_extension_dtor(extension: *mut zend_extension);
19635}
19636extern "C" {
19637    pub fn zend_append_version_info(extension: *const zend_extension);
19638}
19639extern "C" {
19640    pub fn zend_startup_extensions_mechanism() -> ::std::os::raw::c_int;
19641}
19642extern "C" {
19643    pub fn zend_startup_extensions() -> ::std::os::raw::c_int;
19644}
19645extern "C" {
19646    pub fn zend_shutdown_extensions();
19647}
19648extern "C" {
19649    pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
19650}
19651extern "C" {
19652    pub fn zend_register_extension(
19653        new_extension: *mut zend_extension,
19654        handle: *mut ::std::os::raw::c_void,
19655    ) -> ::std::os::raw::c_int;
19656}
19657extern "C" {
19658    pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
19659        -> *mut zend_extension;
19660}
19661pub const ZEND_MODULE_BUILD_ID_: &'static [u8; 16usize] = b"API20131226,NTS\0";
19662pub type __builtin_va_list = [__va_list_tag; 1usize];
19663#[repr(C)]
19664#[derive(Debug, Copy, Clone)]
19665pub struct __va_list_tag {
19666    pub gp_offset: ::std::os::raw::c_uint,
19667    pub fp_offset: ::std::os::raw::c_uint,
19668    pub overflow_arg_area: *mut ::std::os::raw::c_void,
19669    pub reg_save_area: *mut ::std::os::raw::c_void,
19670}
19671#[test]
19672fn bindgen_test_layout___va_list_tag() {
19673    assert_eq!(
19674        ::std::mem::size_of::<__va_list_tag>(),
19675        24usize,
19676        concat!("Size of: ", stringify!(__va_list_tag))
19677    );
19678    assert_eq!(
19679        ::std::mem::align_of::<__va_list_tag>(),
19680        8usize,
19681        concat!("Alignment of ", stringify!(__va_list_tag))
19682    );
19683    assert_eq!(
19684        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
19685        0usize,
19686        concat!(
19687            "Offset of field: ",
19688            stringify!(__va_list_tag),
19689            "::",
19690            stringify!(gp_offset)
19691        )
19692    );
19693    assert_eq!(
19694        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
19695        4usize,
19696        concat!(
19697            "Offset of field: ",
19698            stringify!(__va_list_tag),
19699            "::",
19700            stringify!(fp_offset)
19701        )
19702    );
19703    assert_eq!(
19704        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize },
19705        8usize,
19706        concat!(
19707            "Offset of field: ",
19708            stringify!(__va_list_tag),
19709            "::",
19710            stringify!(overflow_arg_area)
19711        )
19712    );
19713    assert_eq!(
19714        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
19715        16usize,
19716        concat!(
19717            "Offset of field: ",
19718            stringify!(__va_list_tag),
19719            "::",
19720            stringify!(reg_save_area)
19721        )
19722    );
19723}