Skip to main content

php_all_sys/generated/
php54.rs

1/* automatically generated by rust-bindgen 0.70.1 */
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 = 20100412;
92pub const PHP_BLOWFISH_CRYPT: u32 = 1;
93pub const PHP_BUILD_DATE: &[u8; 11] = b"2015-10-17\0";
94pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
95pub const PHP_EXT_DES_CRYPT: u32 = 1;
96pub const PHP_ICONV_IMPL: &[u8; 6] = b"glibc\0";
97pub const PHP_MD5_CRYPT: u32 = 1;
98pub const PHP_MHASH_BC: u32 = 1;
99pub const PHP_MYSQL_UNIX_SOCK_ADDR: &[u8; 28] = b"/var/run/mysqld/mysqld.sock\0";
100pub const PHP_ONIG_BAD_KOI8_ENTRY: u32 = 1;
101pub const PHP_OS: &[u8; 6] = b"Linux\0";
102pub const PHP_SHA256_CRYPT: u32 = 1;
103pub const PHP_SHA512_CRYPT: u32 = 1;
104pub const PHP_SIGCHILD: u32 = 0;
105pub const PHP_STD_DES_CRYPT: u32 = 1;
106pub const PHP_UNAME : & [u8 ; 92] = b"Linux lettie 3.19.0-18-generic #18-Ubuntu SMP Tue May 19 18:31:35 UTC 2015 x86_64 GNU/Linux\0" ;
107pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
108pub const PHP_WRITE_STDOUT: u32 = 1;
109pub const ZEND_BROKEN_SPRINTF: u32 = 0;
110pub const ZEND_DEBUG: u32 = 0;
111pub const ZEND_MM_ALIGNMENT: u32 = 8;
112pub const ZEND_MM_ALIGNMENT_LOG2: u32 = 3;
113pub const PHP_MAJOR_VERSION: u32 = 5;
114pub const PHP_MINOR_VERSION: u32 = 4;
115pub const PHP_RELEASE_VERSION: u32 = 45;
116pub const PHP_EXTRA_VERSION: &[u8; 10] = b"-0+deb7u2\0";
117pub const PHP_VERSION: &[u8; 16] = b"5.4.45-0+deb7u2\0";
118pub const PHP_VERSION_ID: u32 = 50445;
119pub const ZEND_VERSION: &[u8; 6] = b"2.4.0\0";
120pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
121pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
122pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
123pub const ZEND_MM_ALIGNMENT_MASK: i32 = -8;
124pub const HASH_KEY_IS_STRING: u32 = 1;
125pub const HASH_KEY_IS_LONG: u32 = 2;
126pub const HASH_KEY_NON_EXISTANT: u32 = 3;
127pub const HASH_UPDATE: u32 = 1;
128pub const HASH_ADD: u32 = 2;
129pub const HASH_NEXT_INSERT: u32 = 4;
130pub const HASH_DEL_KEY: u32 = 0;
131pub const HASH_DEL_INDEX: u32 = 1;
132pub const HASH_DEL_KEY_QUICK: u32 = 2;
133pub const HASH_UPDATE_KEY_IF_NONE: u32 = 0;
134pub const HASH_UPDATE_KEY_IF_BEFORE: u32 = 1;
135pub const HASH_UPDATE_KEY_IF_AFTER: u32 = 2;
136pub const HASH_UPDATE_KEY_ANYWAY: u32 = 3;
137pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
138pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
139pub const ZEND_HASH_APPLY_STOP: u32 = 2;
140pub const ZEND_MMAP_AHEAD: u32 = 32;
141pub const IS_NULL: u32 = 0;
142pub const IS_LONG: u32 = 1;
143pub const IS_DOUBLE: u32 = 2;
144pub const IS_BOOL: u32 = 3;
145pub const IS_ARRAY: u32 = 4;
146pub const IS_OBJECT: u32 = 5;
147pub const IS_STRING: u32 = 6;
148pub const IS_RESOURCE: u32 = 7;
149pub const IS_CONSTANT: u32 = 8;
150pub const IS_CONSTANT_ARRAY: u32 = 9;
151pub const IS_CALLABLE: u32 = 10;
152pub const IS_CONSTANT_TYPE_MASK: u32 = 15;
153pub const IS_CONSTANT_UNQUALIFIED: u32 = 16;
154pub const IS_CONSTANT_INDEX: u32 = 128;
155pub const IS_LEXICAL_VAR: u32 = 32;
156pub const IS_LEXICAL_REF: u32 = 64;
157pub const IS_CONSTANT_IN_NAMESPACE: u32 = 256;
158pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 4;
159pub const GC_BENCH: u32 = 0;
160pub const GC_COLOR: u32 = 3;
161pub const GC_BLACK: u32 = 0;
162pub const GC_WHITE: u32 = 1;
163pub const GC_GREY: u32 = 2;
164pub const GC_PURPLE: u32 = 3;
165pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
166pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
167pub const DEBUG_ZEND: u32 = 0;
168pub const ZEND_ACC_STATIC: u32 = 1;
169pub const ZEND_ACC_ABSTRACT: u32 = 2;
170pub const ZEND_ACC_FINAL: u32 = 4;
171pub const ZEND_ACC_IMPLEMENTED_ABSTRACT: u32 = 8;
172pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
173pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 32;
174pub const ZEND_ACC_FINAL_CLASS: u32 = 64;
175pub const ZEND_ACC_INTERFACE: u32 = 128;
176pub const ZEND_ACC_TRAIT: u32 = 288;
177pub const ZEND_ACC_INTERACTIVE: u32 = 16;
178pub const ZEND_ACC_PUBLIC: u32 = 256;
179pub const ZEND_ACC_PROTECTED: u32 = 512;
180pub const ZEND_ACC_PRIVATE: u32 = 1024;
181pub const ZEND_ACC_PPP_MASK: u32 = 1792;
182pub const ZEND_ACC_CHANGED: u32 = 2048;
183pub const ZEND_ACC_IMPLICIT_PUBLIC: u32 = 4096;
184pub const ZEND_ACC_CTOR: u32 = 8192;
185pub const ZEND_ACC_DTOR: u32 = 16384;
186pub const ZEND_ACC_CLONE: u32 = 32768;
187pub const ZEND_ACC_ALLOW_STATIC: u32 = 65536;
188pub const ZEND_ACC_SHADOW: u32 = 131072;
189pub const ZEND_ACC_DEPRECATED: u32 = 262144;
190pub const ZEND_ACC_IMPLEMENT_INTERFACES: u32 = 524288;
191pub const ZEND_ACC_IMPLEMENT_TRAITS: u32 = 4194304;
192pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 1048576;
193pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 8388608;
194pub const ZEND_ACC_CLOSURE: u32 = 1048576;
195pub const ZEND_ACC_CALL_VIA_HANDLER: u32 = 2097152;
196pub const ZEND_ACC_NEVER_CACHE: u32 = 4194304;
197pub const ZEND_ACC_PASS_REST_BY_REFERENCE: u32 = 16777216;
198pub const ZEND_ACC_PASS_REST_PREFER_REF: u32 = 33554432;
199pub const ZEND_ACC_RETURN_REFERENCE: u32 = 67108864;
200pub const ZEND_ACC_DONE_PASS_TWO: u32 = 134217728;
201pub const ZEND_RETURN_VALUE: u32 = 0;
202pub const ZEND_RETURN_REFERENCE: u32 = 1;
203pub const IS_CONST: u32 = 1;
204pub const IS_TMP_VAR: u32 = 2;
205pub const IS_VAR: u32 = 4;
206pub const IS_UNUSED: u32 = 8;
207pub const IS_CV: u32 = 16;
208pub const ZEND_STACK_APPLY_TOPDOWN: u32 = 1;
209pub const ZEND_STACK_APPLY_BOTTOMUP: u32 = 2;
210pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
211pub const ZEND_EARLY_BINDING_COMPILE_TIME: u32 = 0;
212pub const ZEND_EARLY_BINDING_DELAYED: u32 = 1;
213pub const ZEND_EARLY_BINDING_DELAYED_ALL: u32 = 2;
214pub const ZEND_NOP: u32 = 0;
215pub const ZEND_ADD: u32 = 1;
216pub const ZEND_SUB: u32 = 2;
217pub const ZEND_MUL: u32 = 3;
218pub const ZEND_DIV: u32 = 4;
219pub const ZEND_MOD: u32 = 5;
220pub const ZEND_SL: u32 = 6;
221pub const ZEND_SR: u32 = 7;
222pub const ZEND_CONCAT: u32 = 8;
223pub const ZEND_BW_OR: u32 = 9;
224pub const ZEND_BW_AND: u32 = 10;
225pub const ZEND_BW_XOR: u32 = 11;
226pub const ZEND_BW_NOT: u32 = 12;
227pub const ZEND_BOOL_NOT: u32 = 13;
228pub const ZEND_BOOL_XOR: u32 = 14;
229pub const ZEND_IS_IDENTICAL: u32 = 15;
230pub const ZEND_IS_NOT_IDENTICAL: u32 = 16;
231pub const ZEND_IS_EQUAL: u32 = 17;
232pub const ZEND_IS_NOT_EQUAL: u32 = 18;
233pub const ZEND_IS_SMALLER: u32 = 19;
234pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 20;
235pub const ZEND_CAST: u32 = 21;
236pub const ZEND_QM_ASSIGN: u32 = 22;
237pub const ZEND_ASSIGN_ADD: u32 = 23;
238pub const ZEND_ASSIGN_SUB: u32 = 24;
239pub const ZEND_ASSIGN_MUL: u32 = 25;
240pub const ZEND_ASSIGN_DIV: u32 = 26;
241pub const ZEND_ASSIGN_MOD: u32 = 27;
242pub const ZEND_ASSIGN_SL: u32 = 28;
243pub const ZEND_ASSIGN_SR: u32 = 29;
244pub const ZEND_ASSIGN_CONCAT: u32 = 30;
245pub const ZEND_ASSIGN_BW_OR: u32 = 31;
246pub const ZEND_ASSIGN_BW_AND: u32 = 32;
247pub const ZEND_ASSIGN_BW_XOR: u32 = 33;
248pub const ZEND_PRE_INC: u32 = 34;
249pub const ZEND_PRE_DEC: u32 = 35;
250pub const ZEND_POST_INC: u32 = 36;
251pub const ZEND_POST_DEC: u32 = 37;
252pub const ZEND_ASSIGN: u32 = 38;
253pub const ZEND_ASSIGN_REF: u32 = 39;
254pub const ZEND_ECHO: u32 = 40;
255pub const ZEND_PRINT: u32 = 41;
256pub const ZEND_JMP: u32 = 42;
257pub const ZEND_JMPZ: u32 = 43;
258pub const ZEND_JMPNZ: u32 = 44;
259pub const ZEND_JMPZNZ: u32 = 45;
260pub const ZEND_JMPZ_EX: u32 = 46;
261pub const ZEND_JMPNZ_EX: u32 = 47;
262pub const ZEND_CASE: u32 = 48;
263pub const ZEND_SWITCH_FREE: u32 = 49;
264pub const ZEND_BRK: u32 = 50;
265pub const ZEND_CONT: u32 = 51;
266pub const ZEND_BOOL: u32 = 52;
267pub const ZEND_INIT_STRING: u32 = 53;
268pub const ZEND_ADD_CHAR: u32 = 54;
269pub const ZEND_ADD_STRING: u32 = 55;
270pub const ZEND_ADD_VAR: u32 = 56;
271pub const ZEND_BEGIN_SILENCE: u32 = 57;
272pub const ZEND_END_SILENCE: u32 = 58;
273pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
274pub const ZEND_DO_FCALL: u32 = 60;
275pub const ZEND_DO_FCALL_BY_NAME: u32 = 61;
276pub const ZEND_RETURN: u32 = 62;
277pub const ZEND_RECV: u32 = 63;
278pub const ZEND_RECV_INIT: u32 = 64;
279pub const ZEND_SEND_VAL: u32 = 65;
280pub const ZEND_SEND_VAR: u32 = 66;
281pub const ZEND_SEND_REF: u32 = 67;
282pub const ZEND_NEW: u32 = 68;
283pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
284pub const ZEND_FREE: u32 = 70;
285pub const ZEND_INIT_ARRAY: u32 = 71;
286pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
287pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
288pub const ZEND_UNSET_VAR: u32 = 74;
289pub const ZEND_UNSET_DIM: u32 = 75;
290pub const ZEND_UNSET_OBJ: u32 = 76;
291pub const ZEND_FE_RESET: u32 = 77;
292pub const ZEND_FE_FETCH: u32 = 78;
293pub const ZEND_EXIT: u32 = 79;
294pub const ZEND_FETCH_R: u32 = 80;
295pub const ZEND_FETCH_DIM_R: u32 = 81;
296pub const ZEND_FETCH_OBJ_R: u32 = 82;
297pub const ZEND_FETCH_W: u32 = 83;
298pub const ZEND_FETCH_DIM_W: u32 = 84;
299pub const ZEND_FETCH_OBJ_W: u32 = 85;
300pub const ZEND_FETCH_RW: u32 = 86;
301pub const ZEND_FETCH_DIM_RW: u32 = 87;
302pub const ZEND_FETCH_OBJ_RW: u32 = 88;
303pub const ZEND_FETCH_IS: u32 = 89;
304pub const ZEND_FETCH_DIM_IS: u32 = 90;
305pub const ZEND_FETCH_OBJ_IS: u32 = 91;
306pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
307pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
308pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
309pub const ZEND_FETCH_UNSET: u32 = 95;
310pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
311pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
312pub const ZEND_FETCH_DIM_TMP_VAR: u32 = 98;
313pub const ZEND_FETCH_CONSTANT: u32 = 99;
314pub const ZEND_GOTO: u32 = 100;
315pub const ZEND_EXT_STMT: u32 = 101;
316pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
317pub const ZEND_EXT_FCALL_END: u32 = 103;
318pub const ZEND_EXT_NOP: u32 = 104;
319pub const ZEND_TICKS: u32 = 105;
320pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
321pub const ZEND_CATCH: u32 = 107;
322pub const ZEND_THROW: u32 = 108;
323pub const ZEND_FETCH_CLASS: u32 = 109;
324pub const ZEND_CLONE: u32 = 110;
325pub const ZEND_RETURN_BY_REF: u32 = 111;
326pub const ZEND_INIT_METHOD_CALL: u32 = 112;
327pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
328pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
329pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
330pub const ZEND_PRE_INC_OBJ: u32 = 132;
331pub const ZEND_PRE_DEC_OBJ: u32 = 133;
332pub const ZEND_POST_INC_OBJ: u32 = 134;
333pub const ZEND_POST_DEC_OBJ: u32 = 135;
334pub const ZEND_ASSIGN_OBJ: u32 = 136;
335pub const ZEND_INSTANCEOF: u32 = 138;
336pub const ZEND_DECLARE_CLASS: u32 = 139;
337pub const ZEND_DECLARE_INHERITED_CLASS: u32 = 140;
338pub const ZEND_DECLARE_FUNCTION: u32 = 141;
339pub const ZEND_RAISE_ABSTRACT_ERROR: u32 = 142;
340pub const ZEND_DECLARE_CONST: u32 = 143;
341pub const ZEND_ADD_INTERFACE: u32 = 144;
342pub const ZEND_DECLARE_INHERITED_CLASS_DELAYED: u32 = 145;
343pub const ZEND_VERIFY_ABSTRACT_CLASS: u32 = 146;
344pub const ZEND_ASSIGN_DIM: u32 = 147;
345pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
346pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
347pub const ZEND_USER_OPCODE: u32 = 150;
348pub const ZEND_JMP_SET: u32 = 152;
349pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 153;
350pub const ZEND_ADD_TRAIT: u32 = 154;
351pub const ZEND_BIND_TRAITS: u32 = 155;
352pub const ZEND_SEPARATE: u32 = 156;
353pub const ZEND_QM_ASSIGN_VAR: u32 = 157;
354pub const ZEND_JMP_SET_VAR: u32 = 158;
355pub const ZEND_OP_DATA: u32 = 137;
356pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
357pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
358pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
359pub const ZEND_FETCH_CLASS_MAIN: u32 = 3;
360pub const ZEND_FETCH_CLASS_GLOBAL: u32 = 4;
361pub const ZEND_FETCH_CLASS_AUTO: u32 = 5;
362pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 6;
363pub const ZEND_FETCH_CLASS_STATIC: u32 = 7;
364pub const ZEND_FETCH_CLASS_TRAIT: u32 = 14;
365pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
366pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
367pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
368pub const ZEND_PARSED_MEMBER: u32 = 1;
369pub const ZEND_PARSED_METHOD_CALL: u32 = 2;
370pub const ZEND_PARSED_STATIC_MEMBER: u32 = 4;
371pub const ZEND_PARSED_FUNCTION_CALL: u32 = 8;
372pub const ZEND_PARSED_VARIABLE: u32 = 16;
373pub const ZEND_PARSED_REFERENCE_VARIABLE: u32 = 32;
374pub const ZEND_PARSED_NEW: u32 = 64;
375pub const ZEND_UNSET_REG: u32 = 0;
376pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
377pub const ZEND_USER_FUNCTION: u32 = 2;
378pub const ZEND_OVERLOADED_FUNCTION: u32 = 3;
379pub const ZEND_EVAL_CODE: u32 = 4;
380pub const ZEND_OVERLOADED_FUNCTION_TEMPORARY: u32 = 5;
381pub const ZEND_INTERNAL_CLASS: u32 = 1;
382pub const ZEND_USER_CLASS: u32 = 2;
383pub const ZEND_EVAL: u32 = 1;
384pub const ZEND_INCLUDE: u32 = 2;
385pub const ZEND_INCLUDE_ONCE: u32 = 4;
386pub const ZEND_REQUIRE: u32 = 8;
387pub const ZEND_REQUIRE_ONCE: u32 = 16;
388pub const ZEND_CT: u32 = 1;
389pub const ZEND_RT: u32 = 2;
390pub const ZEND_FETCH_GLOBAL: u32 = 0;
391pub const ZEND_FETCH_LOCAL: u32 = 268435456;
392pub const ZEND_FETCH_STATIC: u32 = 536870912;
393pub const ZEND_FETCH_STATIC_MEMBER: u32 = 805306368;
394pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 1073741824;
395pub const ZEND_FETCH_LEXICAL: u32 = 1342177280;
396pub const ZEND_FETCH_TYPE_MASK: u32 = 1879048192;
397pub const ZEND_FETCH_STANDARD: u32 = 0;
398pub const ZEND_FETCH_ADD_LOCK: u32 = 134217728;
399pub const ZEND_FETCH_MAKE_REF: u32 = 67108864;
400pub const ZEND_ISSET: u32 = 33554432;
401pub const ZEND_ISEMPTY: u32 = 16777216;
402pub const ZEND_ISSET_ISEMPTY_MASK: u32 = 50331648;
403pub const ZEND_QUICK_SET: u32 = 8388608;
404pub const ZEND_FETCH_ARG_MASK: u32 = 1048575;
405pub const ZEND_FE_FETCH_BYREF: u32 = 1;
406pub const ZEND_FE_FETCH_WITH_KEY: u32 = 2;
407pub const ZEND_FE_RESET_VARIABLE: u32 = 1;
408pub const ZEND_FE_RESET_REFERENCE: u32 = 2;
409pub const ZEND_MEMBER_FUNC_CALL: u32 = 1;
410pub const ZEND_ARG_SEND_BY_REF: u32 = 1;
411pub const ZEND_ARG_COMPILE_TIME_BOUND: u32 = 2;
412pub const ZEND_ARG_SEND_FUNCTION: u32 = 4;
413pub const ZEND_ARG_SEND_SILENT: u32 = 8;
414pub const ZEND_SEND_BY_VAL: u32 = 0;
415pub const ZEND_SEND_BY_REF: u32 = 1;
416pub const ZEND_SEND_PREFER_REF: u32 = 2;
417pub const ZEND_RETURN_VAL: u32 = 0;
418pub const ZEND_RETURN_REF: u32 = 1;
419pub const ZEND_RETURNS_FUNCTION: u32 = 1;
420pub const ZEND_RETURNS_NEW: u32 = 2;
421pub const ZEND_CLONE_FUNC_NAME: &[u8; 8] = b"__clone\0";
422pub const ZEND_CONSTRUCTOR_FUNC_NAME: &[u8; 12] = b"__construct\0";
423pub const ZEND_DESTRUCTOR_FUNC_NAME: &[u8; 11] = b"__destruct\0";
424pub const ZEND_GET_FUNC_NAME: &[u8; 6] = b"__get\0";
425pub const ZEND_SET_FUNC_NAME: &[u8; 6] = b"__set\0";
426pub const ZEND_UNSET_FUNC_NAME: &[u8; 8] = b"__unset\0";
427pub const ZEND_ISSET_FUNC_NAME: &[u8; 8] = b"__isset\0";
428pub const ZEND_CALL_FUNC_NAME: &[u8; 7] = b"__call\0";
429pub const ZEND_CALLSTATIC_FUNC_NAME: &[u8; 13] = b"__callstatic\0";
430pub const ZEND_TOSTRING_FUNC_NAME: &[u8; 11] = b"__tostring\0";
431pub const ZEND_AUTOLOAD_FUNC_NAME: &[u8; 11] = b"__autoload\0";
432pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 1;
433pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 2;
434pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 4;
435pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 8;
436pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 16;
437pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 32;
438pub const ZEND_COMPILE_DEFAULT: u32 = 2;
439pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
440pub const ZEND_BUILD_TS: &[u8; 5] = b",NTS\0";
441pub const ZEND_MODULE_API_NO: u32 = 20100525;
442pub const USING_ZTS: u32 = 0;
443pub const MODULE_PERSISTENT: u32 = 1;
444pub const MODULE_TEMPORARY: u32 = 2;
445pub const MODULE_DEP_REQUIRED: u32 = 1;
446pub const MODULE_DEP_CONFLICTS: u32 = 2;
447pub const MODULE_DEP_OPTIONAL: u32 = 3;
448pub const ZEND_RESOURCE_LIST_TYPE_STD: u32 = 1;
449pub const ZEND_RESOURCE_LIST_TYPE_EX: u32 = 2;
450pub const ZEND_VM_STACK_PAGE_SIZE: u32 = 16368;
451pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
452pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
453pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
454pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
455pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
456pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
457pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
458pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
459pub const IS_CALLABLE_CHECK_NO_ACCESS: u32 = 2;
460pub const IS_CALLABLE_CHECK_IS_STATIC: u32 = 4;
461pub const IS_CALLABLE_CHECK_SILENT: u32 = 8;
462pub const IS_CALLABLE_STRICT: u32 = 4;
463pub const PHP_DEBUG: u32 = 0;
464pub const PHP_DIR_SEPARATOR: u8 = 47u8;
465pub const PHP_EOL: &[u8; 2] = b"\n\0";
466pub const CONFIGURE_COMMAND : & [u8 ; 1777] = 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' '--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-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'\0" ;
467pub const PHP_ADA_INCLUDE: &[u8; 1] = b"\0";
468pub const PHP_ADA_LFLAGS: &[u8; 1] = b"\0";
469pub const PHP_ADA_LIBS: &[u8; 1] = b"\0";
470pub const PHP_APACHE_INCLUDE: &[u8; 1] = b"\0";
471pub const PHP_APACHE_TARGET: &[u8; 1] = b"\0";
472pub const PHP_FHTTPD_INCLUDE: &[u8; 1] = b"\0";
473pub const PHP_FHTTPD_LIB: &[u8; 1] = b"\0";
474pub const PHP_FHTTPD_TARGET: &[u8; 1] = b"\0";
475pub const PHP_CFLAGS: &[u8; 28] = b"$(CFLAGS_CLEAN) -prefer-pic\0";
476pub const PHP_DBASE_LIB: &[u8; 1] = b"\0";
477pub const PHP_BUILD_DEBUG: &[u8; 1] = b"\0";
478pub const PHP_GDBM_INCLUDE: &[u8; 1] = b"\0";
479pub const PHP_IBASE_INCLUDE: &[u8; 1] = b"\0";
480pub const PHP_IBASE_LFLAGS: &[u8; 1] = b"\0";
481pub const PHP_IBASE_LIBS: &[u8; 1] = b"\0";
482pub const PHP_IFX_INCLUDE: &[u8; 1] = b"\0";
483pub const PHP_IFX_LFLAGS: &[u8; 1] = b"\0";
484pub const PHP_IFX_LIBS: &[u8; 1] = b"\0";
485pub const PHP_INSTALL_IT : & [u8 ; 331] = 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" ;
486pub const PHP_IODBC_INCLUDE: &[u8; 1] = b"\0";
487pub const PHP_IODBC_LFLAGS: &[u8; 1] = b"\0";
488pub const PHP_IODBC_LIBS: &[u8; 1] = b"\0";
489pub const PHP_MSQL_INCLUDE: &[u8; 1] = b"\0";
490pub const PHP_MSQL_LFLAGS: &[u8; 1] = b"\0";
491pub const PHP_MSQL_LIBS: &[u8; 1] = b"\0";
492pub const PHP_MYSQL_INCLUDE: &[u8; 21] = b"-I/usr/include/mysql\0";
493pub const PHP_MYSQL_LIBS: &[u8; 45] = b"-L/usr/lib/x86_64-linux-gnu -lmysqlclient_r \0";
494pub const PHP_MYSQL_TYPE: &[u8; 9] = b"external\0";
495pub const PHP_ODBC_INCLUDE: &[u8; 15] = b"-I/usr/include\0";
496pub const PHP_ODBC_LFLAGS: &[u8; 11] = b"-L/usr/lib\0";
497pub const PHP_ODBC_LIBS: &[u8; 7] = b"-lodbc\0";
498pub const PHP_ODBC_TYPE: &[u8; 9] = b"unixODBC\0";
499pub const PHP_OCI8_SHARED_LIBADD: &[u8; 1] = b"\0";
500pub const PHP_OCI8_DIR: &[u8; 1] = b"\0";
501pub const PHP_OCI8_ORACLE_VERSION: &[u8; 1] = b"\0";
502pub const PHP_ORACLE_SHARED_LIBADD: &[u8; 23] = b"@ORACLE_SHARED_LIBADD@\0";
503pub const PHP_ORACLE_DIR: &[u8; 13] = b"@ORACLE_DIR@\0";
504pub const PHP_ORACLE_VERSION: &[u8; 17] = b"@ORACLE_VERSION@\0";
505pub const PHP_PGSQL_INCLUDE: &[u8; 1] = b"\0";
506pub const PHP_PGSQL_LFLAGS: &[u8; 1] = b"\0";
507pub const PHP_PGSQL_LIBS: &[u8; 1] = b"\0";
508pub const PHP_PROG_SENDMAIL: &[u8; 19] = b"/usr/sbin/sendmail\0";
509pub const PHP_SOLID_INCLUDE: &[u8; 1] = b"\0";
510pub const PHP_SOLID_LIBS: &[u8; 1] = b"\0";
511pub const PHP_EMPRESS_INCLUDE: &[u8; 1] = b"\0";
512pub const PHP_EMPRESS_LIBS: &[u8; 1] = b"\0";
513pub const PHP_SYBASE_INCLUDE: &[u8; 1] = b"\0";
514pub const PHP_SYBASE_LFLAGS: &[u8; 1] = b"\0";
515pub const PHP_SYBASE_LIBS: &[u8; 1] = b"\0";
516pub const PHP_DBM_TYPE: &[u8; 1] = b"\0";
517pub const PHP_DBM_LIB: &[u8; 1] = b"\0";
518pub const PHP_LDAP_LFLAGS: &[u8; 1] = b"\0";
519pub const PHP_LDAP_INCLUDE: &[u8; 1] = b"\0";
520pub const PHP_LDAP_LIBS: &[u8; 1] = b"\0";
521pub const PHP_BIRDSTEP_INCLUDE: &[u8; 1] = b"\0";
522pub const PHP_BIRDSTEP_LIBS: &[u8; 1] = b"\0";
523pub const PHP_INCLUDE_PATH: &[u8; 33] = b".:/usr/share/php:/usr/share/pear\0";
524pub const PHP_EXTENSION_DIR: &[u8; 23] = b"/usr/lib/php5/20100525\0";
525pub const PHP_PREFIX: &[u8; 5] = b"/usr\0";
526pub const PHP_BINDIR: &[u8; 9] = b"/usr/bin\0";
527pub const PHP_SBINDIR: &[u8; 10] = b"/usr/sbin\0";
528pub const PHP_MANDIR: &[u8; 15] = b"/usr/share/man\0";
529pub const PHP_LIBDIR: &[u8; 14] = b"/usr/lib/php5\0";
530pub const PHP_DATADIR: &[u8; 16] = b"${prefix}/share\0";
531pub const PHP_SYSCONFDIR: &[u8; 5] = b"/etc\0";
532pub const PHP_LOCALSTATEDIR: &[u8; 5] = b"/var\0";
533pub const PHP_CONFIG_FILE_PATH: &[u8; 18] = b"/etc/php5/apache2\0";
534pub const PHP_CONFIG_FILE_SCAN_DIR: &[u8; 25] = b"/etc/php5/apache2/conf.d\0";
535pub const PHP_SHLIB_SUFFIX: &[u8; 3] = b"so\0";
536pub const PHP_MIME_TYPE: &[u8; 24] = b"application/x-httpd-php\0";
537pub const PHP_ATTR_FMT_OFFSET: u32 = 0;
538pub const PHP_OUTPUT_NEWAPI: u32 = 1;
539pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
540pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
541pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
542pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
543pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
544pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
545pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
546pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
547pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
548pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
549pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
550pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
551pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
552pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
553pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
554pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
555pub const PHP_OUTPUT_POP_TRY: u32 = 0;
556pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
557pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
558pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
559pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
560pub const PHP_OUTPUT_DISABLED: u32 = 2;
561pub const PHP_OUTPUT_WRITTEN: u32 = 4;
562pub const PHP_OUTPUT_SENT: u32 = 8;
563pub const PHP_OUTPUT_ACTIVE: u32 = 16;
564pub const PHP_OUTPUT_LOCKED: u32 = 32;
565pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
566pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
567pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
568pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
569pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
570pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
571pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
572pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
573pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
574pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
575pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
576pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
577pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
578pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
579pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
580pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
581pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
582pub const PHP_STREAM_FILTER_READ: u32 = 1;
583pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
584pub const PHP_STREAM_FILTER_ALL: u32 = 3;
585pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
586pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
587pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
588pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
589pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
590pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
591pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
592pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
593pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
594pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
595pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
596pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
597pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
598pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
599pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
600pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
601pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
602pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
603pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
604pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
605pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
606pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
607pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
608pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
609pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
610pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
611pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
612pub const PHP_STREAM_URL_STAT_NOCACHE: u32 = 4;
613pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
614pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
615pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
616pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
617pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
618pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
619pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
620pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
621pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
622pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
623pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
624pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
625pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
626pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
627pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
628pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
629pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
630pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
631pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
632pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
633pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
634pub const PHP_STREAM_MMAP_ALL: u32 = 0;
635pub const PHP_STREAM_AS_STDIO: u32 = 0;
636pub const PHP_STREAM_AS_FD: u32 = 1;
637pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
638pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
639pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
640pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
641pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
642pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
643pub const PHP_STREAM_UNCHANGED: u32 = 0;
644pub const PHP_STREAM_RELEASED: u32 = 1;
645pub const PHP_STREAM_FAILED: u32 = 2;
646pub const PHP_STREAM_CRITICAL: u32 = 3;
647pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
648pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
649pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
650pub const PHP_STREAM_IS_URL: u32 = 1;
651pub const PHP_STREAM_META_TOUCH: u32 = 1;
652pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
653pub const PHP_STREAM_META_OWNER: u32 = 3;
654pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
655pub const PHP_STREAM_META_GROUP: u32 = 5;
656pub const PHP_STREAM_META_ACCESS: u32 = 6;
657pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
658pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
659pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
660pub const ZEND_INI_USER: u32 = 1;
661pub const ZEND_INI_PERDIR: u32 = 2;
662pub const ZEND_INI_SYSTEM: u32 = 4;
663pub const ZEND_INI_ALL: u32 = 7;
664pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
665pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
666pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
667pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
668pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
669pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
670pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
671pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
672pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
673pub const ZEND_INI_PARSER_SECTION: u32 = 2;
674pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
675pub const PHP_INI_USER: u32 = 1;
676pub const PHP_INI_PERDIR: u32 = 2;
677pub const PHP_INI_SYSTEM: u32 = 4;
678pub const PHP_INI_ALL: u32 = 7;
679pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
680pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
681pub const PHP_INI_STAGE_STARTUP: u32 = 1;
682pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
683pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
684pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
685pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
686pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
687pub const PHP_CONNECTION_NORMAL: u32 = 0;
688pub const PHP_CONNECTION_ABORTED: u32 = 1;
689pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
690pub const PHP_ENTRY_NAME_COLOR: &[u8; 8] = b"#ccccff\0";
691pub const PHP_CONTENTS_COLOR: &[u8; 8] = b"#cccccc\0";
692pub const PHP_HEADER_COLOR: &[u8; 8] = b"#9999cc\0";
693pub const PHP_INFO_GENERAL: u32 = 1;
694pub const PHP_INFO_CREDITS: u32 = 2;
695pub const PHP_INFO_CONFIGURATION: u32 = 4;
696pub const PHP_INFO_MODULES: u32 = 8;
697pub const PHP_INFO_ENVIRONMENT: u32 = 16;
698pub const PHP_INFO_VARIABLES: u32 = 32;
699pub const PHP_INFO_LICENSE: u32 = 64;
700pub const PHP_INFO_ALL: u32 = 4294967295;
701pub const PHP_CREDITS_GROUP: u32 = 1;
702pub const PHP_CREDITS_GENERAL: u32 = 2;
703pub const PHP_CREDITS_SAPI: u32 = 4;
704pub const PHP_CREDITS_MODULES: u32 = 8;
705pub const PHP_CREDITS_DOCS: u32 = 16;
706pub const PHP_CREDITS_FULLPAGE: u32 = 32;
707pub const PHP_CREDITS_QA: u32 = 64;
708pub const PHP_CREDITS_WEB: u32 = 128;
709pub const PHP_CREDITS_ALL: u32 = 4294967295;
710pub const PHP_LOGO_GUID: &[u8; 40] = b"PHPE9568F34-D428-11d2-A769-00AA001ACF42\0";
711pub const PHP_EGG_LOGO_GUID: &[u8; 40] = b"PHPE9568F36-D428-11d2-A769-00AA001ACF42\0";
712pub const ZEND_LOGO_GUID: &[u8; 40] = b"PHPE9568F35-D428-11d2-A769-00AA001ACF42\0";
713pub const PHP_CREDITS_GUID: &[u8; 40] = b"PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000\0";
714pub const ZEND_EXTENSION_API_NO: u32 = 220100525;
715pub const ZEND_EXTMSG_NEW_EXTENSION: u32 = 1;
716pub type __dev_t = ::std::os::raw::c_ulong;
717pub type __uid_t = ::std::os::raw::c_uint;
718pub type __gid_t = ::std::os::raw::c_uint;
719pub type __ino_t = ::std::os::raw::c_ulong;
720pub type __mode_t = ::std::os::raw::c_uint;
721pub type __nlink_t = ::std::os::raw::c_ulong;
722pub type __off_t = ::std::os::raw::c_long;
723pub type __off64_t = ::std::os::raw::c_long;
724pub type __time_t = ::std::os::raw::c_long;
725pub type __suseconds_t = ::std::os::raw::c_long;
726pub type __blksize_t = ::std::os::raw::c_long;
727pub type __blkcnt_t = ::std::os::raw::c_long;
728pub type __syscall_slong_t = ::std::os::raw::c_long;
729pub type __socklen_t = ::std::os::raw::c_uint;
730pub type off_t = __off_t;
731pub type time_t = __time_t;
732pub type ulong = ::std::os::raw::c_ulong;
733pub type uint = ::std::os::raw::c_uint;
734#[repr(C)]
735#[derive(Debug, Copy, Clone)]
736pub struct __sigset_t {
737    pub __val: [::std::os::raw::c_ulong; 16usize],
738}
739#[allow(clippy::unnecessary_operation, clippy::identity_op)]
740const _: () = {
741    ["Size of __sigset_t"][::std::mem::size_of::<__sigset_t>() - 128usize];
742    ["Alignment of __sigset_t"][::std::mem::align_of::<__sigset_t>() - 8usize];
743    ["Offset of field: __sigset_t::__val"][::std::mem::offset_of!(__sigset_t, __val) - 0usize];
744};
745#[repr(C)]
746#[derive(Debug, Copy, Clone)]
747pub struct timeval {
748    pub tv_sec: __time_t,
749    pub tv_usec: __suseconds_t,
750}
751#[allow(clippy::unnecessary_operation, clippy::identity_op)]
752const _: () = {
753    ["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
754    ["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
755    ["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
756    ["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
757};
758#[repr(C)]
759#[derive(Debug, Copy, Clone)]
760pub struct timespec {
761    pub tv_sec: __time_t,
762    pub tv_nsec: __syscall_slong_t,
763}
764#[allow(clippy::unnecessary_operation, clippy::identity_op)]
765const _: () = {
766    ["Size of timespec"][::std::mem::size_of::<timespec>() - 16usize];
767    ["Alignment of timespec"][::std::mem::align_of::<timespec>() - 8usize];
768    ["Offset of field: timespec::tv_sec"][::std::mem::offset_of!(timespec, tv_sec) - 0usize];
769    ["Offset of field: timespec::tv_nsec"][::std::mem::offset_of!(timespec, tv_nsec) - 8usize];
770};
771pub type va_list = __builtin_va_list;
772pub type FILE = _IO_FILE;
773#[repr(C)]
774#[derive(Debug, Copy, Clone)]
775pub struct _IO_marker {
776    _unused: [u8; 0],
777}
778#[repr(C)]
779#[derive(Debug, Copy, Clone)]
780pub struct _IO_codecvt {
781    _unused: [u8; 0],
782}
783#[repr(C)]
784#[derive(Debug, Copy, Clone)]
785pub struct _IO_wide_data {
786    _unused: [u8; 0],
787}
788pub type _IO_lock_t = ::std::os::raw::c_void;
789#[repr(C)]
790#[derive(Debug, Copy, Clone)]
791pub struct _IO_FILE {
792    pub _flags: ::std::os::raw::c_int,
793    pub _IO_read_ptr: *mut ::std::os::raw::c_char,
794    pub _IO_read_end: *mut ::std::os::raw::c_char,
795    pub _IO_read_base: *mut ::std::os::raw::c_char,
796    pub _IO_write_base: *mut ::std::os::raw::c_char,
797    pub _IO_write_ptr: *mut ::std::os::raw::c_char,
798    pub _IO_write_end: *mut ::std::os::raw::c_char,
799    pub _IO_buf_base: *mut ::std::os::raw::c_char,
800    pub _IO_buf_end: *mut ::std::os::raw::c_char,
801    pub _IO_save_base: *mut ::std::os::raw::c_char,
802    pub _IO_backup_base: *mut ::std::os::raw::c_char,
803    pub _IO_save_end: *mut ::std::os::raw::c_char,
804    pub _markers: *mut _IO_marker,
805    pub _chain: *mut _IO_FILE,
806    pub _fileno: ::std::os::raw::c_int,
807    pub _flags2: ::std::os::raw::c_int,
808    pub _old_offset: __off_t,
809    pub _cur_column: ::std::os::raw::c_ushort,
810    pub _vtable_offset: ::std::os::raw::c_schar,
811    pub _shortbuf: [::std::os::raw::c_char; 1usize],
812    pub _lock: *mut _IO_lock_t,
813    pub _offset: __off64_t,
814    pub _codecvt: *mut _IO_codecvt,
815    pub _wide_data: *mut _IO_wide_data,
816    pub _freeres_list: *mut _IO_FILE,
817    pub _freeres_buf: *mut ::std::os::raw::c_void,
818    pub __pad5: usize,
819    pub _mode: ::std::os::raw::c_int,
820    pub _unused2: [::std::os::raw::c_char; 20usize],
821}
822#[allow(clippy::unnecessary_operation, clippy::identity_op)]
823const _: () = {
824    ["Size of _IO_FILE"][::std::mem::size_of::<_IO_FILE>() - 216usize];
825    ["Alignment of _IO_FILE"][::std::mem::align_of::<_IO_FILE>() - 8usize];
826    ["Offset of field: _IO_FILE::_flags"][::std::mem::offset_of!(_IO_FILE, _flags) - 0usize];
827    ["Offset of field: _IO_FILE::_IO_read_ptr"]
828        [::std::mem::offset_of!(_IO_FILE, _IO_read_ptr) - 8usize];
829    ["Offset of field: _IO_FILE::_IO_read_end"]
830        [::std::mem::offset_of!(_IO_FILE, _IO_read_end) - 16usize];
831    ["Offset of field: _IO_FILE::_IO_read_base"]
832        [::std::mem::offset_of!(_IO_FILE, _IO_read_base) - 24usize];
833    ["Offset of field: _IO_FILE::_IO_write_base"]
834        [::std::mem::offset_of!(_IO_FILE, _IO_write_base) - 32usize];
835    ["Offset of field: _IO_FILE::_IO_write_ptr"]
836        [::std::mem::offset_of!(_IO_FILE, _IO_write_ptr) - 40usize];
837    ["Offset of field: _IO_FILE::_IO_write_end"]
838        [::std::mem::offset_of!(_IO_FILE, _IO_write_end) - 48usize];
839    ["Offset of field: _IO_FILE::_IO_buf_base"]
840        [::std::mem::offset_of!(_IO_FILE, _IO_buf_base) - 56usize];
841    ["Offset of field: _IO_FILE::_IO_buf_end"]
842        [::std::mem::offset_of!(_IO_FILE, _IO_buf_end) - 64usize];
843    ["Offset of field: _IO_FILE::_IO_save_base"]
844        [::std::mem::offset_of!(_IO_FILE, _IO_save_base) - 72usize];
845    ["Offset of field: _IO_FILE::_IO_backup_base"]
846        [::std::mem::offset_of!(_IO_FILE, _IO_backup_base) - 80usize];
847    ["Offset of field: _IO_FILE::_IO_save_end"]
848        [::std::mem::offset_of!(_IO_FILE, _IO_save_end) - 88usize];
849    ["Offset of field: _IO_FILE::_markers"][::std::mem::offset_of!(_IO_FILE, _markers) - 96usize];
850    ["Offset of field: _IO_FILE::_chain"][::std::mem::offset_of!(_IO_FILE, _chain) - 104usize];
851    ["Offset of field: _IO_FILE::_fileno"][::std::mem::offset_of!(_IO_FILE, _fileno) - 112usize];
852    ["Offset of field: _IO_FILE::_flags2"][::std::mem::offset_of!(_IO_FILE, _flags2) - 116usize];
853    ["Offset of field: _IO_FILE::_old_offset"]
854        [::std::mem::offset_of!(_IO_FILE, _old_offset) - 120usize];
855    ["Offset of field: _IO_FILE::_cur_column"]
856        [::std::mem::offset_of!(_IO_FILE, _cur_column) - 128usize];
857    ["Offset of field: _IO_FILE::_vtable_offset"]
858        [::std::mem::offset_of!(_IO_FILE, _vtable_offset) - 130usize];
859    ["Offset of field: _IO_FILE::_shortbuf"]
860        [::std::mem::offset_of!(_IO_FILE, _shortbuf) - 131usize];
861    ["Offset of field: _IO_FILE::_lock"][::std::mem::offset_of!(_IO_FILE, _lock) - 136usize];
862    ["Offset of field: _IO_FILE::_offset"][::std::mem::offset_of!(_IO_FILE, _offset) - 144usize];
863    ["Offset of field: _IO_FILE::_codecvt"][::std::mem::offset_of!(_IO_FILE, _codecvt) - 152usize];
864    ["Offset of field: _IO_FILE::_wide_data"]
865        [::std::mem::offset_of!(_IO_FILE, _wide_data) - 160usize];
866    ["Offset of field: _IO_FILE::_freeres_list"]
867        [::std::mem::offset_of!(_IO_FILE, _freeres_list) - 168usize];
868    ["Offset of field: _IO_FILE::_freeres_buf"]
869        [::std::mem::offset_of!(_IO_FILE, _freeres_buf) - 176usize];
870    ["Offset of field: _IO_FILE::__pad5"][::std::mem::offset_of!(_IO_FILE, __pad5) - 184usize];
871    ["Offset of field: _IO_FILE::_mode"][::std::mem::offset_of!(_IO_FILE, _mode) - 192usize];
872    ["Offset of field: _IO_FILE::_unused2"][::std::mem::offset_of!(_IO_FILE, _unused2) - 196usize];
873};
874#[repr(C)]
875#[derive(Debug, Copy, Clone)]
876pub struct _zend_leak_info {
877    pub addr: *mut ::std::os::raw::c_void,
878    pub size: usize,
879    pub filename: *const ::std::os::raw::c_char,
880    pub lineno: uint,
881    pub orig_filename: *const ::std::os::raw::c_char,
882    pub orig_lineno: uint,
883}
884#[allow(clippy::unnecessary_operation, clippy::identity_op)]
885const _: () = {
886    ["Size of _zend_leak_info"][::std::mem::size_of::<_zend_leak_info>() - 48usize];
887    ["Alignment of _zend_leak_info"][::std::mem::align_of::<_zend_leak_info>() - 8usize];
888    ["Offset of field: _zend_leak_info::addr"]
889        [::std::mem::offset_of!(_zend_leak_info, addr) - 0usize];
890    ["Offset of field: _zend_leak_info::size"]
891        [::std::mem::offset_of!(_zend_leak_info, size) - 8usize];
892    ["Offset of field: _zend_leak_info::filename"]
893        [::std::mem::offset_of!(_zend_leak_info, filename) - 16usize];
894    ["Offset of field: _zend_leak_info::lineno"]
895        [::std::mem::offset_of!(_zend_leak_info, lineno) - 24usize];
896    ["Offset of field: _zend_leak_info::orig_filename"]
897        [::std::mem::offset_of!(_zend_leak_info, orig_filename) - 32usize];
898    ["Offset of field: _zend_leak_info::orig_lineno"]
899        [::std::mem::offset_of!(_zend_leak_info, orig_lineno) - 40usize];
900};
901pub type zend_leak_info = _zend_leak_info;
902extern "C" {
903    pub fn zend_strndup(
904        s: *const ::std::os::raw::c_char,
905        length: ::std::os::raw::c_uint,
906    ) -> *mut ::std::os::raw::c_char;
907}
908extern "C" {
909    pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> usize;
910}
911extern "C" {
912    pub fn zend_set_memory_limit(memory_limit: usize) -> ::std::os::raw::c_int;
913}
914extern "C" {
915    pub fn zend_memory_usage(real_usage: ::std::os::raw::c_int) -> usize;
916}
917extern "C" {
918    pub fn zend_memory_peak_usage(real_usage: ::std::os::raw::c_int) -> usize;
919}
920#[repr(C)]
921#[derive(Debug, Copy, Clone)]
922pub struct _zend_mm_heap {
923    _unused: [u8; 0],
924}
925pub type zend_mm_heap = _zend_mm_heap;
926extern "C" {
927    pub fn zend_mm_startup() -> *mut zend_mm_heap;
928}
929extern "C" {
930    pub fn zend_mm_shutdown(
931        heap: *mut zend_mm_heap,
932        full_shutdown: ::std::os::raw::c_int,
933        silent: ::std::os::raw::c_int,
934    );
935}
936extern "C" {
937    pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: usize) -> *mut ::std::os::raw::c_void;
938}
939extern "C" {
940    pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
941}
942extern "C" {
943    pub fn _zend_mm_realloc(
944        heap: *mut zend_mm_heap,
945        p: *mut ::std::os::raw::c_void,
946        size: usize,
947    ) -> *mut ::std::os::raw::c_void;
948}
949extern "C" {
950    pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> usize;
951}
952pub type zend_mm_storage = _zend_mm_storage;
953#[repr(C)]
954#[derive(Debug, Copy, Clone)]
955pub struct _zend_mm_segment {
956    pub size: usize,
957    pub next_segment: *mut _zend_mm_segment,
958}
959#[allow(clippy::unnecessary_operation, clippy::identity_op)]
960const _: () = {
961    ["Size of _zend_mm_segment"][::std::mem::size_of::<_zend_mm_segment>() - 16usize];
962    ["Alignment of _zend_mm_segment"][::std::mem::align_of::<_zend_mm_segment>() - 8usize];
963    ["Offset of field: _zend_mm_segment::size"]
964        [::std::mem::offset_of!(_zend_mm_segment, size) - 0usize];
965    ["Offset of field: _zend_mm_segment::next_segment"]
966        [::std::mem::offset_of!(_zend_mm_segment, next_segment) - 8usize];
967};
968pub type zend_mm_segment = _zend_mm_segment;
969#[repr(C)]
970#[derive(Debug, Copy, Clone)]
971pub struct _zend_mm_mem_handlers {
972    pub name: *const ::std::os::raw::c_char,
973    pub init: ::std::option::Option<
974        unsafe extern "C" fn(params: *mut ::std::os::raw::c_void) -> *mut zend_mm_storage,
975    >,
976    pub dtor: ::std::option::Option<unsafe extern "C" fn(storage: *mut zend_mm_storage)>,
977    pub compact: ::std::option::Option<unsafe extern "C" fn(storage: *mut zend_mm_storage)>,
978    pub _alloc: ::std::option::Option<
979        unsafe extern "C" fn(storage: *mut zend_mm_storage, size: usize) -> *mut zend_mm_segment,
980    >,
981    pub _realloc: ::std::option::Option<
982        unsafe extern "C" fn(
983            storage: *mut zend_mm_storage,
984            ptr: *mut zend_mm_segment,
985            size: usize,
986        ) -> *mut zend_mm_segment,
987    >,
988    pub _free: ::std::option::Option<
989        unsafe extern "C" fn(storage: *mut zend_mm_storage, ptr: *mut zend_mm_segment),
990    >,
991}
992#[allow(clippy::unnecessary_operation, clippy::identity_op)]
993const _: () = {
994    ["Size of _zend_mm_mem_handlers"][::std::mem::size_of::<_zend_mm_mem_handlers>() - 56usize];
995    ["Alignment of _zend_mm_mem_handlers"]
996        [::std::mem::align_of::<_zend_mm_mem_handlers>() - 8usize];
997    ["Offset of field: _zend_mm_mem_handlers::name"]
998        [::std::mem::offset_of!(_zend_mm_mem_handlers, name) - 0usize];
999    ["Offset of field: _zend_mm_mem_handlers::init"]
1000        [::std::mem::offset_of!(_zend_mm_mem_handlers, init) - 8usize];
1001    ["Offset of field: _zend_mm_mem_handlers::dtor"]
1002        [::std::mem::offset_of!(_zend_mm_mem_handlers, dtor) - 16usize];
1003    ["Offset of field: _zend_mm_mem_handlers::compact"]
1004        [::std::mem::offset_of!(_zend_mm_mem_handlers, compact) - 24usize];
1005    ["Offset of field: _zend_mm_mem_handlers::_alloc"]
1006        [::std::mem::offset_of!(_zend_mm_mem_handlers, _alloc) - 32usize];
1007    ["Offset of field: _zend_mm_mem_handlers::_realloc"]
1008        [::std::mem::offset_of!(_zend_mm_mem_handlers, _realloc) - 40usize];
1009    ["Offset of field: _zend_mm_mem_handlers::_free"]
1010        [::std::mem::offset_of!(_zend_mm_mem_handlers, _free) - 48usize];
1011};
1012pub type zend_mm_mem_handlers = _zend_mm_mem_handlers;
1013#[repr(C)]
1014#[derive(Debug, Copy, Clone)]
1015pub struct _zend_mm_storage {
1016    pub handlers: *const zend_mm_mem_handlers,
1017    pub data: *mut ::std::os::raw::c_void,
1018}
1019#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1020const _: () = {
1021    ["Size of _zend_mm_storage"][::std::mem::size_of::<_zend_mm_storage>() - 16usize];
1022    ["Alignment of _zend_mm_storage"][::std::mem::align_of::<_zend_mm_storage>() - 8usize];
1023    ["Offset of field: _zend_mm_storage::handlers"]
1024        [::std::mem::offset_of!(_zend_mm_storage, handlers) - 0usize];
1025    ["Offset of field: _zend_mm_storage::data"]
1026        [::std::mem::offset_of!(_zend_mm_storage, data) - 8usize];
1027};
1028extern "C" {
1029    pub fn zend_mm_startup_ex(
1030        handlers: *const zend_mm_mem_handlers,
1031        block_size: usize,
1032        reserve_size: usize,
1033        internal: ::std::os::raw::c_int,
1034        params: *mut ::std::os::raw::c_void,
1035    ) -> *mut zend_mm_heap;
1036}
1037extern "C" {
1038    pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
1039}
1040extern "C" {
1041    pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
1042}
1043extern "C" {
1044    pub fn zend_mm_set_custom_handlers(
1045        heap: *mut zend_mm_heap,
1046        _malloc: ::std::option::Option<
1047            unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
1048        >,
1049        _free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1050        _realloc: ::std::option::Option<
1051            unsafe extern "C" fn(
1052                arg1: *mut ::std::os::raw::c_void,
1053                arg2: usize,
1054            ) -> *mut ::std::os::raw::c_void,
1055        >,
1056    );
1057}
1058pub type zend_bool = ::std::os::raw::c_uchar;
1059pub type zend_uchar = ::std::os::raw::c_uchar;
1060pub type zend_uint = ::std::os::raw::c_uint;
1061pub type zend_ulong = ::std::os::raw::c_ulong;
1062pub type zend_ushort = ::std::os::raw::c_ushort;
1063pub type zend_long64 = ::std::os::raw::c_longlong;
1064pub type zend_ulong64 = ::std::os::raw::c_ulonglong;
1065pub type zend_intptr_t = ::std::os::raw::c_long;
1066pub type zend_uintptr_t = ::std::os::raw::c_ulong;
1067pub type zend_object_handle = ::std::os::raw::c_uint;
1068pub type zend_object_handlers = _zend_object_handlers;
1069#[repr(C)]
1070#[derive(Debug, Copy, Clone)]
1071pub struct _zend_object_value {
1072    pub handle: zend_object_handle,
1073    pub handlers: *const zend_object_handlers,
1074}
1075#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1076const _: () = {
1077    ["Size of _zend_object_value"][::std::mem::size_of::<_zend_object_value>() - 16usize];
1078    ["Alignment of _zend_object_value"][::std::mem::align_of::<_zend_object_value>() - 8usize];
1079    ["Offset of field: _zend_object_value::handle"]
1080        [::std::mem::offset_of!(_zend_object_value, handle) - 0usize];
1081    ["Offset of field: _zend_object_value::handlers"]
1082        [::std::mem::offset_of!(_zend_object_value, handlers) - 8usize];
1083};
1084pub type zend_object_value = _zend_object_value;
1085extern "C" {
1086    pub static mut zend_new_interned_string: ::std::option::Option<
1087        unsafe extern "C" fn(
1088            str_: *const ::std::os::raw::c_char,
1089            len: ::std::os::raw::c_int,
1090            free_src: ::std::os::raw::c_int,
1091        ) -> *const ::std::os::raw::c_char,
1092    >;
1093}
1094extern "C" {
1095    pub static mut zend_interned_strings_snapshot: ::std::option::Option<unsafe extern "C" fn()>;
1096}
1097extern "C" {
1098    pub static mut zend_interned_strings_restore: ::std::option::Option<unsafe extern "C" fn()>;
1099}
1100extern "C" {
1101    pub fn zend_interned_strings_init();
1102}
1103extern "C" {
1104    pub fn zend_interned_strings_dtor();
1105}
1106pub type hash_func_t = ::std::option::Option<
1107    unsafe extern "C" fn(arKey: *const ::std::os::raw::c_char, nKeyLength: uint) -> ulong,
1108>;
1109pub type compare_func_t = ::std::option::Option<
1110    unsafe extern "C" fn(
1111        arg1: *const ::std::os::raw::c_void,
1112        arg2: *const ::std::os::raw::c_void,
1113    ) -> ::std::os::raw::c_int,
1114>;
1115pub type sort_func_t = ::std::option::Option<
1116    unsafe extern "C" fn(
1117        arg1: *mut ::std::os::raw::c_void,
1118        arg2: usize,
1119        arg3: usize,
1120        arg4: compare_func_t,
1121    ),
1122>;
1123pub type dtor_func_t =
1124    ::std::option::Option<unsafe extern "C" fn(pDest: *mut ::std::os::raw::c_void)>;
1125pub type copy_ctor_func_t =
1126    ::std::option::Option<unsafe extern "C" fn(pElement: *mut ::std::os::raw::c_void)>;
1127#[repr(C)]
1128#[derive(Debug, Copy, Clone)]
1129pub struct bucket {
1130    pub h: ulong,
1131    pub nKeyLength: uint,
1132    pub pData: *mut ::std::os::raw::c_void,
1133    pub pDataPtr: *mut ::std::os::raw::c_void,
1134    pub pListNext: *mut bucket,
1135    pub pListLast: *mut bucket,
1136    pub pNext: *mut bucket,
1137    pub pLast: *mut bucket,
1138    pub arKey: *const ::std::os::raw::c_char,
1139}
1140#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1141const _: () = {
1142    ["Size of bucket"][::std::mem::size_of::<bucket>() - 72usize];
1143    ["Alignment of bucket"][::std::mem::align_of::<bucket>() - 8usize];
1144    ["Offset of field: bucket::h"][::std::mem::offset_of!(bucket, h) - 0usize];
1145    ["Offset of field: bucket::nKeyLength"][::std::mem::offset_of!(bucket, nKeyLength) - 8usize];
1146    ["Offset of field: bucket::pData"][::std::mem::offset_of!(bucket, pData) - 16usize];
1147    ["Offset of field: bucket::pDataPtr"][::std::mem::offset_of!(bucket, pDataPtr) - 24usize];
1148    ["Offset of field: bucket::pListNext"][::std::mem::offset_of!(bucket, pListNext) - 32usize];
1149    ["Offset of field: bucket::pListLast"][::std::mem::offset_of!(bucket, pListLast) - 40usize];
1150    ["Offset of field: bucket::pNext"][::std::mem::offset_of!(bucket, pNext) - 48usize];
1151    ["Offset of field: bucket::pLast"][::std::mem::offset_of!(bucket, pLast) - 56usize];
1152    ["Offset of field: bucket::arKey"][::std::mem::offset_of!(bucket, arKey) - 64usize];
1153};
1154pub type Bucket = bucket;
1155#[repr(C)]
1156#[derive(Debug, Copy, Clone)]
1157pub struct _hashtable {
1158    pub nTableSize: uint,
1159    pub nTableMask: uint,
1160    pub nNumOfElements: uint,
1161    pub nNextFreeElement: ulong,
1162    pub pInternalPointer: *mut Bucket,
1163    pub pListHead: *mut Bucket,
1164    pub pListTail: *mut Bucket,
1165    pub arBuckets: *mut *mut Bucket,
1166    pub pDestructor: dtor_func_t,
1167    pub persistent: zend_bool,
1168    pub nApplyCount: ::std::os::raw::c_uchar,
1169    pub bApplyProtection: zend_bool,
1170}
1171#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1172const _: () = {
1173    ["Size of _hashtable"][::std::mem::size_of::<_hashtable>() - 72usize];
1174    ["Alignment of _hashtable"][::std::mem::align_of::<_hashtable>() - 8usize];
1175    ["Offset of field: _hashtable::nTableSize"]
1176        [::std::mem::offset_of!(_hashtable, nTableSize) - 0usize];
1177    ["Offset of field: _hashtable::nTableMask"]
1178        [::std::mem::offset_of!(_hashtable, nTableMask) - 4usize];
1179    ["Offset of field: _hashtable::nNumOfElements"]
1180        [::std::mem::offset_of!(_hashtable, nNumOfElements) - 8usize];
1181    ["Offset of field: _hashtable::nNextFreeElement"]
1182        [::std::mem::offset_of!(_hashtable, nNextFreeElement) - 16usize];
1183    ["Offset of field: _hashtable::pInternalPointer"]
1184        [::std::mem::offset_of!(_hashtable, pInternalPointer) - 24usize];
1185    ["Offset of field: _hashtable::pListHead"]
1186        [::std::mem::offset_of!(_hashtable, pListHead) - 32usize];
1187    ["Offset of field: _hashtable::pListTail"]
1188        [::std::mem::offset_of!(_hashtable, pListTail) - 40usize];
1189    ["Offset of field: _hashtable::arBuckets"]
1190        [::std::mem::offset_of!(_hashtable, arBuckets) - 48usize];
1191    ["Offset of field: _hashtable::pDestructor"]
1192        [::std::mem::offset_of!(_hashtable, pDestructor) - 56usize];
1193    ["Offset of field: _hashtable::persistent"]
1194        [::std::mem::offset_of!(_hashtable, persistent) - 64usize];
1195    ["Offset of field: _hashtable::nApplyCount"]
1196        [::std::mem::offset_of!(_hashtable, nApplyCount) - 65usize];
1197    ["Offset of field: _hashtable::bApplyProtection"]
1198        [::std::mem::offset_of!(_hashtable, bApplyProtection) - 66usize];
1199};
1200pub type HashTable = _hashtable;
1201#[repr(C)]
1202#[derive(Debug, Copy, Clone)]
1203pub struct _zend_hash_key {
1204    pub arKey: *const ::std::os::raw::c_char,
1205    pub nKeyLength: uint,
1206    pub h: ulong,
1207}
1208#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1209const _: () = {
1210    ["Size of _zend_hash_key"][::std::mem::size_of::<_zend_hash_key>() - 24usize];
1211    ["Alignment of _zend_hash_key"][::std::mem::align_of::<_zend_hash_key>() - 8usize];
1212    ["Offset of field: _zend_hash_key::arKey"]
1213        [::std::mem::offset_of!(_zend_hash_key, arKey) - 0usize];
1214    ["Offset of field: _zend_hash_key::nKeyLength"]
1215        [::std::mem::offset_of!(_zend_hash_key, nKeyLength) - 8usize];
1216    ["Offset of field: _zend_hash_key::h"][::std::mem::offset_of!(_zend_hash_key, h) - 16usize];
1217};
1218pub type zend_hash_key = _zend_hash_key;
1219pub type merge_checker_func_t = ::std::option::Option<
1220    unsafe extern "C" fn(
1221        target_ht: *mut HashTable,
1222        source_data: *mut ::std::os::raw::c_void,
1223        hash_key: *mut zend_hash_key,
1224        pParam: *mut ::std::os::raw::c_void,
1225    ) -> zend_bool,
1226>;
1227pub type HashPosition = *mut Bucket;
1228extern "C" {
1229    pub fn _zend_hash_init(
1230        ht: *mut HashTable,
1231        nSize: uint,
1232        pHashFunction: hash_func_t,
1233        pDestructor: dtor_func_t,
1234        persistent: zend_bool,
1235    ) -> ::std::os::raw::c_int;
1236}
1237extern "C" {
1238    pub fn _zend_hash_init_ex(
1239        ht: *mut HashTable,
1240        nSize: uint,
1241        pHashFunction: hash_func_t,
1242        pDestructor: dtor_func_t,
1243        persistent: zend_bool,
1244        bApplyProtection: zend_bool,
1245    ) -> ::std::os::raw::c_int;
1246}
1247extern "C" {
1248    pub fn zend_hash_destroy(ht: *mut HashTable);
1249}
1250extern "C" {
1251    pub fn zend_hash_clean(ht: *mut HashTable);
1252}
1253extern "C" {
1254    pub fn _zend_hash_add_or_update(
1255        ht: *mut HashTable,
1256        arKey: *const ::std::os::raw::c_char,
1257        nKeyLength: uint,
1258        pData: *mut ::std::os::raw::c_void,
1259        nDataSize: uint,
1260        pDest: *mut *mut ::std::os::raw::c_void,
1261        flag: ::std::os::raw::c_int,
1262    ) -> ::std::os::raw::c_int;
1263}
1264extern "C" {
1265    pub fn _zend_hash_quick_add_or_update(
1266        ht: *mut HashTable,
1267        arKey: *const ::std::os::raw::c_char,
1268        nKeyLength: uint,
1269        h: ulong,
1270        pData: *mut ::std::os::raw::c_void,
1271        nDataSize: uint,
1272        pDest: *mut *mut ::std::os::raw::c_void,
1273        flag: ::std::os::raw::c_int,
1274    ) -> ::std::os::raw::c_int;
1275}
1276extern "C" {
1277    pub fn _zend_hash_index_update_or_next_insert(
1278        ht: *mut HashTable,
1279        h: ulong,
1280        pData: *mut ::std::os::raw::c_void,
1281        nDataSize: uint,
1282        pDest: *mut *mut ::std::os::raw::c_void,
1283        flag: ::std::os::raw::c_int,
1284    ) -> ::std::os::raw::c_int;
1285}
1286extern "C" {
1287    pub fn zend_hash_add_empty_element(
1288        ht: *mut HashTable,
1289        arKey: *const ::std::os::raw::c_char,
1290        nKeyLength: uint,
1291    ) -> ::std::os::raw::c_int;
1292}
1293pub type apply_func_t = ::std::option::Option<
1294    unsafe extern "C" fn(pDest: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1295>;
1296pub type apply_func_arg_t = ::std::option::Option<
1297    unsafe extern "C" fn(
1298        pDest: *mut ::std::os::raw::c_void,
1299        argument: *mut ::std::os::raw::c_void,
1300    ) -> ::std::os::raw::c_int,
1301>;
1302pub type apply_func_args_t = ::std::option::Option<
1303    unsafe extern "C" fn(
1304        pDest: *mut ::std::os::raw::c_void,
1305        num_args: ::std::os::raw::c_int,
1306        args: *mut __va_list_tag,
1307        hash_key: *mut zend_hash_key,
1308    ) -> ::std::os::raw::c_int,
1309>;
1310extern "C" {
1311    pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
1312}
1313extern "C" {
1314    pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
1315}
1316extern "C" {
1317    pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
1318}
1319extern "C" {
1320    pub fn zend_hash_apply_with_argument(
1321        ht: *mut HashTable,
1322        apply_func: apply_func_arg_t,
1323        arg1: *mut ::std::os::raw::c_void,
1324    );
1325}
1326extern "C" {
1327    pub fn zend_hash_apply_with_arguments(
1328        ht: *mut HashTable,
1329        apply_func: apply_func_args_t,
1330        arg1: ::std::os::raw::c_int,
1331        ...
1332    );
1333}
1334extern "C" {
1335    pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
1336}
1337extern "C" {
1338    pub fn zend_hash_del_key_or_index(
1339        ht: *mut HashTable,
1340        arKey: *const ::std::os::raw::c_char,
1341        nKeyLength: uint,
1342        h: ulong,
1343        flag: ::std::os::raw::c_int,
1344    ) -> ::std::os::raw::c_int;
1345}
1346extern "C" {
1347    pub fn zend_get_hash_value(arKey: *const ::std::os::raw::c_char, nKeyLength: uint) -> ulong;
1348}
1349extern "C" {
1350    pub fn zend_hash_find(
1351        ht: *const HashTable,
1352        arKey: *const ::std::os::raw::c_char,
1353        nKeyLength: uint,
1354        pData: *mut *mut ::std::os::raw::c_void,
1355    ) -> ::std::os::raw::c_int;
1356}
1357extern "C" {
1358    pub fn zend_hash_quick_find(
1359        ht: *const HashTable,
1360        arKey: *const ::std::os::raw::c_char,
1361        nKeyLength: uint,
1362        h: ulong,
1363        pData: *mut *mut ::std::os::raw::c_void,
1364    ) -> ::std::os::raw::c_int;
1365}
1366extern "C" {
1367    pub fn zend_hash_index_find(
1368        ht: *const HashTable,
1369        h: ulong,
1370        pData: *mut *mut ::std::os::raw::c_void,
1371    ) -> ::std::os::raw::c_int;
1372}
1373extern "C" {
1374    pub fn zend_hash_exists(
1375        ht: *const HashTable,
1376        arKey: *const ::std::os::raw::c_char,
1377        nKeyLength: uint,
1378    ) -> ::std::os::raw::c_int;
1379}
1380extern "C" {
1381    pub fn zend_hash_quick_exists(
1382        ht: *const HashTable,
1383        arKey: *const ::std::os::raw::c_char,
1384        nKeyLength: uint,
1385        h: ulong,
1386    ) -> ::std::os::raw::c_int;
1387}
1388extern "C" {
1389    pub fn zend_hash_index_exists(ht: *const HashTable, h: ulong) -> ::std::os::raw::c_int;
1390}
1391extern "C" {
1392    pub fn zend_hash_next_free_element(ht: *const HashTable) -> ulong;
1393}
1394extern "C" {
1395    pub fn zend_hash_move_forward_ex(
1396        ht: *mut HashTable,
1397        pos: *mut HashPosition,
1398    ) -> ::std::os::raw::c_int;
1399}
1400extern "C" {
1401    pub fn zend_hash_move_backwards_ex(
1402        ht: *mut HashTable,
1403        pos: *mut HashPosition,
1404    ) -> ::std::os::raw::c_int;
1405}
1406extern "C" {
1407    pub fn zend_hash_get_current_key_ex(
1408        ht: *const HashTable,
1409        str_index: *mut *mut ::std::os::raw::c_char,
1410        str_length: *mut uint,
1411        num_index: *mut ulong,
1412        duplicate: zend_bool,
1413        pos: *mut HashPosition,
1414    ) -> ::std::os::raw::c_int;
1415}
1416extern "C" {
1417    pub fn zend_hash_get_current_key_type_ex(
1418        ht: *mut HashTable,
1419        pos: *mut HashPosition,
1420    ) -> ::std::os::raw::c_int;
1421}
1422extern "C" {
1423    pub fn zend_hash_get_current_data_ex(
1424        ht: *mut HashTable,
1425        pData: *mut *mut ::std::os::raw::c_void,
1426        pos: *mut HashPosition,
1427    ) -> ::std::os::raw::c_int;
1428}
1429extern "C" {
1430    pub fn zend_hash_internal_pointer_reset_ex(ht: *mut HashTable, pos: *mut HashPosition);
1431}
1432extern "C" {
1433    pub fn zend_hash_internal_pointer_end_ex(ht: *mut HashTable, pos: *mut HashPosition);
1434}
1435extern "C" {
1436    pub fn zend_hash_update_current_key_ex(
1437        ht: *mut HashTable,
1438        key_type: ::std::os::raw::c_int,
1439        str_index: *const ::std::os::raw::c_char,
1440        str_length: uint,
1441        num_index: ulong,
1442        mode: ::std::os::raw::c_int,
1443        pos: *mut HashPosition,
1444    ) -> ::std::os::raw::c_int;
1445}
1446#[repr(C)]
1447#[derive(Debug, Copy, Clone)]
1448pub struct _HashPointer {
1449    pub pos: HashPosition,
1450    pub h: ulong,
1451}
1452#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1453const _: () = {
1454    ["Size of _HashPointer"][::std::mem::size_of::<_HashPointer>() - 16usize];
1455    ["Alignment of _HashPointer"][::std::mem::align_of::<_HashPointer>() - 8usize];
1456    ["Offset of field: _HashPointer::pos"][::std::mem::offset_of!(_HashPointer, pos) - 0usize];
1457    ["Offset of field: _HashPointer::h"][::std::mem::offset_of!(_HashPointer, h) - 8usize];
1458};
1459pub type HashPointer = _HashPointer;
1460extern "C" {
1461    pub fn zend_hash_get_pointer(
1462        ht: *const HashTable,
1463        ptr: *mut HashPointer,
1464    ) -> ::std::os::raw::c_int;
1465}
1466extern "C" {
1467    pub fn zend_hash_set_pointer(
1468        ht: *mut HashTable,
1469        ptr: *const HashPointer,
1470    ) -> ::std::os::raw::c_int;
1471}
1472extern "C" {
1473    pub fn zend_hash_copy(
1474        target: *mut HashTable,
1475        source: *mut HashTable,
1476        pCopyConstructor: copy_ctor_func_t,
1477        tmp: *mut ::std::os::raw::c_void,
1478        size: uint,
1479    );
1480}
1481extern "C" {
1482    pub fn _zend_hash_merge(
1483        target: *mut HashTable,
1484        source: *mut HashTable,
1485        pCopyConstructor: copy_ctor_func_t,
1486        tmp: *mut ::std::os::raw::c_void,
1487        size: uint,
1488        overwrite: ::std::os::raw::c_int,
1489    );
1490}
1491extern "C" {
1492    pub fn zend_hash_merge_ex(
1493        target: *mut HashTable,
1494        source: *mut HashTable,
1495        pCopyConstructor: copy_ctor_func_t,
1496        size: uint,
1497        pMergeSource: merge_checker_func_t,
1498        pParam: *mut ::std::os::raw::c_void,
1499    );
1500}
1501extern "C" {
1502    pub fn zend_hash_sort(
1503        ht: *mut HashTable,
1504        sort_func: sort_func_t,
1505        compare_func: compare_func_t,
1506        renumber: ::std::os::raw::c_int,
1507    ) -> ::std::os::raw::c_int;
1508}
1509extern "C" {
1510    pub fn zend_hash_compare(
1511        ht1: *mut HashTable,
1512        ht2: *mut HashTable,
1513        compar: compare_func_t,
1514        ordered: zend_bool,
1515    ) -> ::std::os::raw::c_int;
1516}
1517extern "C" {
1518    pub fn zend_hash_minmax(
1519        ht: *const HashTable,
1520        compar: compare_func_t,
1521        flag: ::std::os::raw::c_int,
1522        pData: *mut *mut ::std::os::raw::c_void,
1523    ) -> ::std::os::raw::c_int;
1524}
1525extern "C" {
1526    pub fn zend_hash_num_elements(ht: *const HashTable) -> ::std::os::raw::c_int;
1527}
1528extern "C" {
1529    pub fn zend_hash_rehash(ht: *mut HashTable) -> ::std::os::raw::c_int;
1530}
1531extern "C" {
1532    pub fn zend_hash_func(arKey: *const ::std::os::raw::c_char, nKeyLength: uint) -> ulong;
1533}
1534#[repr(C)]
1535#[derive(Debug, Copy, Clone)]
1536pub struct _zend_ts_hashtable {
1537    pub hash: HashTable,
1538    pub reader: zend_uint,
1539}
1540#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1541const _: () = {
1542    ["Size of _zend_ts_hashtable"][::std::mem::size_of::<_zend_ts_hashtable>() - 80usize];
1543    ["Alignment of _zend_ts_hashtable"][::std::mem::align_of::<_zend_ts_hashtable>() - 8usize];
1544    ["Offset of field: _zend_ts_hashtable::hash"]
1545        [::std::mem::offset_of!(_zend_ts_hashtable, hash) - 0usize];
1546    ["Offset of field: _zend_ts_hashtable::reader"]
1547        [::std::mem::offset_of!(_zend_ts_hashtable, reader) - 72usize];
1548};
1549pub type TsHashTable = _zend_ts_hashtable;
1550extern "C" {
1551    pub fn _zend_ts_hash_init(
1552        ht: *mut TsHashTable,
1553        nSize: uint,
1554        pHashFunction: hash_func_t,
1555        pDestructor: dtor_func_t,
1556        persistent: zend_bool,
1557    ) -> ::std::os::raw::c_int;
1558}
1559extern "C" {
1560    pub fn _zend_ts_hash_init_ex(
1561        ht: *mut TsHashTable,
1562        nSize: uint,
1563        pHashFunction: hash_func_t,
1564        pDestructor: dtor_func_t,
1565        persistent: zend_bool,
1566        bApplyProtection: zend_bool,
1567    ) -> ::std::os::raw::c_int;
1568}
1569extern "C" {
1570    pub fn zend_ts_hash_destroy(ht: *mut TsHashTable);
1571}
1572extern "C" {
1573    pub fn zend_ts_hash_clean(ht: *mut TsHashTable);
1574}
1575extern "C" {
1576    pub fn _zend_ts_hash_add_or_update(
1577        ht: *mut TsHashTable,
1578        arKey: *mut ::std::os::raw::c_char,
1579        nKeyLength: uint,
1580        pData: *mut ::std::os::raw::c_void,
1581        nDataSize: uint,
1582        pDest: *mut *mut ::std::os::raw::c_void,
1583        flag: ::std::os::raw::c_int,
1584    ) -> ::std::os::raw::c_int;
1585}
1586extern "C" {
1587    pub fn _zend_ts_hash_quick_add_or_update(
1588        ht: *mut TsHashTable,
1589        arKey: *mut ::std::os::raw::c_char,
1590        nKeyLength: uint,
1591        h: ulong,
1592        pData: *mut ::std::os::raw::c_void,
1593        nDataSize: uint,
1594        pDest: *mut *mut ::std::os::raw::c_void,
1595        flag: ::std::os::raw::c_int,
1596    ) -> ::std::os::raw::c_int;
1597}
1598extern "C" {
1599    pub fn _zend_ts_hash_index_update_or_next_insert(
1600        ht: *mut TsHashTable,
1601        h: ulong,
1602        pData: *mut ::std::os::raw::c_void,
1603        nDataSize: uint,
1604        pDest: *mut *mut ::std::os::raw::c_void,
1605        flag: ::std::os::raw::c_int,
1606    ) -> ::std::os::raw::c_int;
1607}
1608extern "C" {
1609    pub fn zend_ts_hash_add_empty_element(
1610        ht: *mut TsHashTable,
1611        arKey: *mut ::std::os::raw::c_char,
1612        nKeyLength: uint,
1613    ) -> ::std::os::raw::c_int;
1614}
1615extern "C" {
1616    pub fn zend_ts_hash_graceful_destroy(ht: *mut TsHashTable);
1617}
1618extern "C" {
1619    pub fn zend_ts_hash_apply(ht: *mut TsHashTable, apply_func: apply_func_t);
1620}
1621extern "C" {
1622    pub fn zend_ts_hash_apply_with_argument(
1623        ht: *mut TsHashTable,
1624        apply_func: apply_func_arg_t,
1625        arg1: *mut ::std::os::raw::c_void,
1626    );
1627}
1628extern "C" {
1629    pub fn zend_ts_hash_apply_with_arguments(
1630        ht: *mut TsHashTable,
1631        apply_func: apply_func_args_t,
1632        arg1: ::std::os::raw::c_int,
1633        ...
1634    );
1635}
1636extern "C" {
1637    pub fn zend_ts_hash_reverse_apply(ht: *mut TsHashTable, apply_func: apply_func_t);
1638}
1639extern "C" {
1640    pub fn zend_ts_hash_del_key_or_index(
1641        ht: *mut TsHashTable,
1642        arKey: *mut ::std::os::raw::c_char,
1643        nKeyLength: uint,
1644        h: ulong,
1645        flag: ::std::os::raw::c_int,
1646    ) -> ::std::os::raw::c_int;
1647}
1648extern "C" {
1649    pub fn zend_ts_get_hash_value(
1650        ht: *mut TsHashTable,
1651        arKey: *mut ::std::os::raw::c_char,
1652        nKeyLength: uint,
1653    ) -> ulong;
1654}
1655extern "C" {
1656    pub fn zend_ts_hash_find(
1657        ht: *mut TsHashTable,
1658        arKey: *mut ::std::os::raw::c_char,
1659        nKeyLength: uint,
1660        pData: *mut *mut ::std::os::raw::c_void,
1661    ) -> ::std::os::raw::c_int;
1662}
1663extern "C" {
1664    pub fn zend_ts_hash_quick_find(
1665        ht: *mut TsHashTable,
1666        arKey: *mut ::std::os::raw::c_char,
1667        nKeyLength: uint,
1668        h: ulong,
1669        pData: *mut *mut ::std::os::raw::c_void,
1670    ) -> ::std::os::raw::c_int;
1671}
1672extern "C" {
1673    pub fn zend_ts_hash_index_find(
1674        ht: *mut TsHashTable,
1675        h: ulong,
1676        pData: *mut *mut ::std::os::raw::c_void,
1677    ) -> ::std::os::raw::c_int;
1678}
1679extern "C" {
1680    pub fn zend_ts_hash_exists(
1681        ht: *mut TsHashTable,
1682        arKey: *mut ::std::os::raw::c_char,
1683        nKeyLength: uint,
1684    ) -> ::std::os::raw::c_int;
1685}
1686extern "C" {
1687    pub fn zend_ts_hash_index_exists(ht: *mut TsHashTable, h: ulong) -> ::std::os::raw::c_int;
1688}
1689extern "C" {
1690    pub fn zend_ts_hash_copy(
1691        target: *mut TsHashTable,
1692        source: *mut TsHashTable,
1693        pCopyConstructor: copy_ctor_func_t,
1694        tmp: *mut ::std::os::raw::c_void,
1695        size: uint,
1696    );
1697}
1698extern "C" {
1699    pub fn zend_ts_hash_copy_to_hash(
1700        target: *mut HashTable,
1701        source: *mut TsHashTable,
1702        pCopyConstructor: copy_ctor_func_t,
1703        tmp: *mut ::std::os::raw::c_void,
1704        size: uint,
1705    );
1706}
1707extern "C" {
1708    pub fn zend_ts_hash_merge(
1709        target: *mut TsHashTable,
1710        source: *mut TsHashTable,
1711        pCopyConstructor: copy_ctor_func_t,
1712        tmp: *mut ::std::os::raw::c_void,
1713        size: uint,
1714        overwrite: ::std::os::raw::c_int,
1715    );
1716}
1717extern "C" {
1718    pub fn zend_ts_hash_merge_ex(
1719        target: *mut TsHashTable,
1720        source: *mut TsHashTable,
1721        pCopyConstructor: copy_ctor_func_t,
1722        size: uint,
1723        pMergeSource: merge_checker_func_t,
1724        pParam: *mut ::std::os::raw::c_void,
1725    );
1726}
1727extern "C" {
1728    pub fn zend_ts_hash_sort(
1729        ht: *mut TsHashTable,
1730        sort_func: sort_func_t,
1731        compare_func: compare_func_t,
1732        renumber: ::std::os::raw::c_int,
1733    ) -> ::std::os::raw::c_int;
1734}
1735extern "C" {
1736    pub fn zend_ts_hash_compare(
1737        ht1: *mut TsHashTable,
1738        ht2: *mut TsHashTable,
1739        compar: compare_func_t,
1740        ordered: zend_bool,
1741    ) -> ::std::os::raw::c_int;
1742}
1743extern "C" {
1744    pub fn zend_ts_hash_minmax(
1745        ht: *mut TsHashTable,
1746        compar: compare_func_t,
1747        flag: ::std::os::raw::c_int,
1748        pData: *mut *mut ::std::os::raw::c_void,
1749    ) -> ::std::os::raw::c_int;
1750}
1751extern "C" {
1752    pub fn zend_ts_hash_num_elements(ht: *mut TsHashTable) -> ::std::os::raw::c_int;
1753}
1754extern "C" {
1755    pub fn zend_ts_hash_rehash(ht: *mut TsHashTable) -> ::std::os::raw::c_int;
1756}
1757extern "C" {
1758    pub fn zend_ts_hash_func(arKey: *mut ::std::os::raw::c_char, nKeyLength: uint) -> ulong;
1759}
1760#[repr(C)]
1761#[derive(Debug, Copy, Clone)]
1762pub struct _zend_llist_element {
1763    pub next: *mut _zend_llist_element,
1764    pub prev: *mut _zend_llist_element,
1765    pub data: [::std::os::raw::c_char; 1usize],
1766}
1767#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1768const _: () = {
1769    ["Size of _zend_llist_element"][::std::mem::size_of::<_zend_llist_element>() - 24usize];
1770    ["Alignment of _zend_llist_element"][::std::mem::align_of::<_zend_llist_element>() - 8usize];
1771    ["Offset of field: _zend_llist_element::next"]
1772        [::std::mem::offset_of!(_zend_llist_element, next) - 0usize];
1773    ["Offset of field: _zend_llist_element::prev"]
1774        [::std::mem::offset_of!(_zend_llist_element, prev) - 8usize];
1775    ["Offset of field: _zend_llist_element::data"]
1776        [::std::mem::offset_of!(_zend_llist_element, data) - 16usize];
1777};
1778pub type zend_llist_element = _zend_llist_element;
1779pub type llist_dtor_func_t =
1780    ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1781pub type llist_compare_func_t = ::std::option::Option<
1782    unsafe extern "C" fn(
1783        arg1: *mut *const zend_llist_element,
1784        arg2: *mut *const zend_llist_element,
1785    ) -> ::std::os::raw::c_int,
1786>;
1787pub type llist_apply_with_args_func_t = ::std::option::Option<
1788    unsafe extern "C" fn(
1789        data: *mut ::std::os::raw::c_void,
1790        num_args: ::std::os::raw::c_int,
1791        args: *mut __va_list_tag,
1792    ),
1793>;
1794pub type llist_apply_with_arg_func_t = ::std::option::Option<
1795    unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
1796>;
1797pub type llist_apply_func_t =
1798    ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1799#[repr(C)]
1800#[derive(Debug, Copy, Clone)]
1801pub struct _zend_llist {
1802    pub head: *mut zend_llist_element,
1803    pub tail: *mut zend_llist_element,
1804    pub count: usize,
1805    pub size: usize,
1806    pub dtor: llist_dtor_func_t,
1807    pub persistent: ::std::os::raw::c_uchar,
1808    pub traverse_ptr: *mut zend_llist_element,
1809}
1810#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1811const _: () = {
1812    ["Size of _zend_llist"][::std::mem::size_of::<_zend_llist>() - 56usize];
1813    ["Alignment of _zend_llist"][::std::mem::align_of::<_zend_llist>() - 8usize];
1814    ["Offset of field: _zend_llist::head"][::std::mem::offset_of!(_zend_llist, head) - 0usize];
1815    ["Offset of field: _zend_llist::tail"][::std::mem::offset_of!(_zend_llist, tail) - 8usize];
1816    ["Offset of field: _zend_llist::count"][::std::mem::offset_of!(_zend_llist, count) - 16usize];
1817    ["Offset of field: _zend_llist::size"][::std::mem::offset_of!(_zend_llist, size) - 24usize];
1818    ["Offset of field: _zend_llist::dtor"][::std::mem::offset_of!(_zend_llist, dtor) - 32usize];
1819    ["Offset of field: _zend_llist::persistent"]
1820        [::std::mem::offset_of!(_zend_llist, persistent) - 40usize];
1821    ["Offset of field: _zend_llist::traverse_ptr"]
1822        [::std::mem::offset_of!(_zend_llist, traverse_ptr) - 48usize];
1823};
1824pub type zend_llist = _zend_llist;
1825pub type zend_llist_position = *mut zend_llist_element;
1826extern "C" {
1827    pub fn zend_llist_init(
1828        l: *mut zend_llist,
1829        size: usize,
1830        dtor: llist_dtor_func_t,
1831        persistent: ::std::os::raw::c_uchar,
1832    );
1833}
1834extern "C" {
1835    pub fn zend_llist_add_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
1836}
1837extern "C" {
1838    pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
1839}
1840extern "C" {
1841    pub fn zend_llist_del_element(
1842        l: *mut zend_llist,
1843        element: *mut ::std::os::raw::c_void,
1844        compare: ::std::option::Option<
1845            unsafe extern "C" fn(
1846                element1: *mut ::std::os::raw::c_void,
1847                element2: *mut ::std::os::raw::c_void,
1848            ) -> ::std::os::raw::c_int,
1849        >,
1850    );
1851}
1852extern "C" {
1853    pub fn zend_llist_destroy(l: *mut zend_llist);
1854}
1855extern "C" {
1856    pub fn zend_llist_clean(l: *mut zend_llist);
1857}
1858extern "C" {
1859    pub fn zend_llist_remove_tail(l: *mut zend_llist) -> *mut ::std::os::raw::c_void;
1860}
1861extern "C" {
1862    pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
1863}
1864extern "C" {
1865    pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
1866}
1867extern "C" {
1868    pub fn zend_llist_apply_with_del(
1869        l: *mut zend_llist,
1870        func: ::std::option::Option<
1871            unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1872        >,
1873    );
1874}
1875extern "C" {
1876    pub fn zend_llist_apply_with_argument(
1877        l: *mut zend_llist,
1878        func: llist_apply_with_arg_func_t,
1879        arg: *mut ::std::os::raw::c_void,
1880    );
1881}
1882extern "C" {
1883    pub fn zend_llist_apply_with_arguments(
1884        l: *mut zend_llist,
1885        func: llist_apply_with_args_func_t,
1886        num_args: ::std::os::raw::c_int,
1887        ...
1888    );
1889}
1890extern "C" {
1891    pub fn zend_llist_count(l: *mut zend_llist) -> ::std::os::raw::c_int;
1892}
1893extern "C" {
1894    pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
1895}
1896extern "C" {
1897    pub fn zend_llist_get_first_ex(
1898        l: *mut zend_llist,
1899        pos: *mut zend_llist_position,
1900    ) -> *mut ::std::os::raw::c_void;
1901}
1902extern "C" {
1903    pub fn zend_llist_get_last_ex(
1904        l: *mut zend_llist,
1905        pos: *mut zend_llist_position,
1906    ) -> *mut ::std::os::raw::c_void;
1907}
1908extern "C" {
1909    pub fn zend_llist_get_next_ex(
1910        l: *mut zend_llist,
1911        pos: *mut zend_llist_position,
1912    ) -> *mut ::std::os::raw::c_void;
1913}
1914extern "C" {
1915    pub fn zend_llist_get_prev_ex(
1916        l: *mut zend_llist,
1917        pos: *mut zend_llist_position,
1918    ) -> *mut ::std::os::raw::c_void;
1919}
1920extern "C" {
1921    pub fn zend_error_noreturn(
1922        type_: ::std::os::raw::c_int,
1923        format: *const ::std::os::raw::c_char,
1924        ...
1925    ) -> !;
1926}
1927pub type zval = _zval_struct;
1928pub type zend_class_entry = _zend_class_entry;
1929#[repr(C)]
1930#[derive(Debug, Copy, Clone)]
1931pub struct _zend_guard {
1932    pub in_get: zend_bool,
1933    pub in_set: zend_bool,
1934    pub in_unset: zend_bool,
1935    pub in_isset: zend_bool,
1936    pub dummy: zend_bool,
1937}
1938#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1939const _: () = {
1940    ["Size of _zend_guard"][::std::mem::size_of::<_zend_guard>() - 5usize];
1941    ["Alignment of _zend_guard"][::std::mem::align_of::<_zend_guard>() - 1usize];
1942    ["Offset of field: _zend_guard::in_get"][::std::mem::offset_of!(_zend_guard, in_get) - 0usize];
1943    ["Offset of field: _zend_guard::in_set"][::std::mem::offset_of!(_zend_guard, in_set) - 1usize];
1944    ["Offset of field: _zend_guard::in_unset"]
1945        [::std::mem::offset_of!(_zend_guard, in_unset) - 2usize];
1946    ["Offset of field: _zend_guard::in_isset"]
1947        [::std::mem::offset_of!(_zend_guard, in_isset) - 3usize];
1948    ["Offset of field: _zend_guard::dummy"][::std::mem::offset_of!(_zend_guard, dummy) - 4usize];
1949};
1950pub type zend_guard = _zend_guard;
1951#[repr(C)]
1952#[derive(Debug, Copy, Clone)]
1953pub struct _zend_object {
1954    pub ce: *mut zend_class_entry,
1955    pub properties: *mut HashTable,
1956    pub properties_table: *mut *mut zval,
1957    pub guards: *mut HashTable,
1958}
1959#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1960const _: () = {
1961    ["Size of _zend_object"][::std::mem::size_of::<_zend_object>() - 32usize];
1962    ["Alignment of _zend_object"][::std::mem::align_of::<_zend_object>() - 8usize];
1963    ["Offset of field: _zend_object::ce"][::std::mem::offset_of!(_zend_object, ce) - 0usize];
1964    ["Offset of field: _zend_object::properties"]
1965        [::std::mem::offset_of!(_zend_object, properties) - 8usize];
1966    ["Offset of field: _zend_object::properties_table"]
1967        [::std::mem::offset_of!(_zend_object, properties_table) - 16usize];
1968    ["Offset of field: _zend_object::guards"]
1969        [::std::mem::offset_of!(_zend_object, guards) - 24usize];
1970};
1971pub type zend_object = _zend_object;
1972pub type zend_object_read_property_t = ::std::option::Option<
1973    unsafe extern "C" fn(
1974        object: *mut zval,
1975        member: *mut zval,
1976        type_: ::std::os::raw::c_int,
1977        key: *const _zend_literal,
1978    ) -> *mut zval,
1979>;
1980pub type zend_object_read_dimension_t = ::std::option::Option<
1981    unsafe extern "C" fn(
1982        object: *mut zval,
1983        offset: *mut zval,
1984        type_: ::std::os::raw::c_int,
1985    ) -> *mut zval,
1986>;
1987pub type zend_object_write_property_t = ::std::option::Option<
1988    unsafe extern "C" fn(
1989        object: *mut zval,
1990        member: *mut zval,
1991        value: *mut zval,
1992        key: *const _zend_literal,
1993    ),
1994>;
1995pub type zend_object_write_dimension_t = ::std::option::Option<
1996    unsafe extern "C" fn(object: *mut zval, offset: *mut zval, value: *mut zval),
1997>;
1998pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
1999    unsafe extern "C" fn(
2000        object: *mut zval,
2001        member: *mut zval,
2002        key: *const _zend_literal,
2003    ) -> *mut *mut zval,
2004>;
2005pub type zend_object_set_t =
2006    ::std::option::Option<unsafe extern "C" fn(object: *mut *mut zval, value: *mut zval)>;
2007pub type zend_object_get_t =
2008    ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut zval>;
2009pub type zend_object_has_property_t = ::std::option::Option<
2010    unsafe extern "C" fn(
2011        object: *mut zval,
2012        member: *mut zval,
2013        has_set_exists: ::std::os::raw::c_int,
2014        key: *const _zend_literal,
2015    ) -> ::std::os::raw::c_int,
2016>;
2017pub type zend_object_has_dimension_t = ::std::option::Option<
2018    unsafe extern "C" fn(
2019        object: *mut zval,
2020        member: *mut zval,
2021        check_empty: ::std::os::raw::c_int,
2022    ) -> ::std::os::raw::c_int,
2023>;
2024pub type zend_object_unset_property_t = ::std::option::Option<
2025    unsafe extern "C" fn(object: *mut zval, member: *mut zval, key: *const _zend_literal),
2026>;
2027pub type zend_object_unset_dimension_t =
2028    ::std::option::Option<unsafe extern "C" fn(object: *mut zval, offset: *mut zval)>;
2029pub type zend_object_get_properties_t =
2030    ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut HashTable>;
2031pub type zend_object_get_debug_info_t = ::std::option::Option<
2032    unsafe extern "C" fn(object: *mut zval, is_temp: *mut ::std::os::raw::c_int) -> *mut HashTable,
2033>;
2034pub type zend_object_call_method_t = ::std::option::Option<
2035    unsafe extern "C" fn(
2036        method: *const ::std::os::raw::c_char,
2037        ht: ::std::os::raw::c_int,
2038        return_value: *mut zval,
2039        return_value_ptr: *mut *mut zval,
2040        this_ptr: *mut zval,
2041        return_value_used: ::std::os::raw::c_int,
2042    ) -> ::std::os::raw::c_int,
2043>;
2044pub type zend_object_get_method_t = ::std::option::Option<
2045    unsafe extern "C" fn(
2046        object_ptr: *mut *mut zval,
2047        method: *mut ::std::os::raw::c_char,
2048        method_len: ::std::os::raw::c_int,
2049        key: *const _zend_literal,
2050    ) -> *mut _zend_function,
2051>;
2052pub type zend_object_get_constructor_t =
2053    ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut _zend_function>;
2054pub type zend_object_add_ref_t = ::std::option::Option<unsafe extern "C" fn(object: *mut zval)>;
2055pub type zend_object_del_ref_t = ::std::option::Option<unsafe extern "C" fn(object: *mut zval)>;
2056pub type zend_object_delete_obj_t = ::std::option::Option<unsafe extern "C" fn(object: *mut zval)>;
2057pub type zend_object_clone_obj_t =
2058    ::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> zend_object_value>;
2059pub type zend_object_get_class_entry_t =
2060    ::std::option::Option<unsafe extern "C" fn(object: *const zval) -> *mut zend_class_entry>;
2061pub type zend_object_get_class_name_t = ::std::option::Option<
2062    unsafe extern "C" fn(
2063        object: *const zval,
2064        class_name: *mut *const ::std::os::raw::c_char,
2065        class_name_len: *mut zend_uint,
2066        parent: ::std::os::raw::c_int,
2067    ) -> ::std::os::raw::c_int,
2068>;
2069pub type zend_object_compare_t = ::std::option::Option<
2070    unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
2071>;
2072pub type zend_object_cast_t = ::std::option::Option<
2073    unsafe extern "C" fn(
2074        readobj: *mut zval,
2075        retval: *mut zval,
2076        type_: ::std::os::raw::c_int,
2077    ) -> ::std::os::raw::c_int,
2078>;
2079pub type zend_object_count_elements_t = ::std::option::Option<
2080    unsafe extern "C" fn(
2081        object: *mut zval,
2082        count: *mut ::std::os::raw::c_long,
2083    ) -> ::std::os::raw::c_int,
2084>;
2085pub type zend_object_get_closure_t = ::std::option::Option<
2086    unsafe extern "C" fn(
2087        obj: *mut zval,
2088        ce_ptr: *mut *mut zend_class_entry,
2089        fptr_ptr: *mut *mut _zend_function,
2090        zobj_ptr: *mut *mut zval,
2091    ) -> ::std::os::raw::c_int,
2092>;
2093pub type zend_object_get_gc_t = ::std::option::Option<
2094    unsafe extern "C" fn(
2095        object: *mut zval,
2096        table: *mut *mut *mut zval,
2097        n: *mut ::std::os::raw::c_int,
2098    ) -> *mut HashTable,
2099>;
2100#[repr(C)]
2101#[derive(Debug, Copy, Clone)]
2102pub struct _zend_object_handlers {
2103    pub add_ref: zend_object_add_ref_t,
2104    pub del_ref: zend_object_del_ref_t,
2105    pub clone_obj: zend_object_clone_obj_t,
2106    pub read_property: zend_object_read_property_t,
2107    pub write_property: zend_object_write_property_t,
2108    pub read_dimension: zend_object_read_dimension_t,
2109    pub write_dimension: zend_object_write_dimension_t,
2110    pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
2111    pub get: zend_object_get_t,
2112    pub set: zend_object_set_t,
2113    pub has_property: zend_object_has_property_t,
2114    pub unset_property: zend_object_unset_property_t,
2115    pub has_dimension: zend_object_has_dimension_t,
2116    pub unset_dimension: zend_object_unset_dimension_t,
2117    pub get_properties: zend_object_get_properties_t,
2118    pub get_method: zend_object_get_method_t,
2119    pub call_method: zend_object_call_method_t,
2120    pub get_constructor: zend_object_get_constructor_t,
2121    pub get_class_entry: zend_object_get_class_entry_t,
2122    pub get_class_name: zend_object_get_class_name_t,
2123    pub compare_objects: zend_object_compare_t,
2124    pub cast_object: zend_object_cast_t,
2125    pub count_elements: zend_object_count_elements_t,
2126    pub get_debug_info: zend_object_get_debug_info_t,
2127    pub get_closure: zend_object_get_closure_t,
2128    pub get_gc: zend_object_get_gc_t,
2129}
2130#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2131const _: () = {
2132    ["Size of _zend_object_handlers"][::std::mem::size_of::<_zend_object_handlers>() - 208usize];
2133    ["Alignment of _zend_object_handlers"]
2134        [::std::mem::align_of::<_zend_object_handlers>() - 8usize];
2135    ["Offset of field: _zend_object_handlers::add_ref"]
2136        [::std::mem::offset_of!(_zend_object_handlers, add_ref) - 0usize];
2137    ["Offset of field: _zend_object_handlers::del_ref"]
2138        [::std::mem::offset_of!(_zend_object_handlers, del_ref) - 8usize];
2139    ["Offset of field: _zend_object_handlers::clone_obj"]
2140        [::std::mem::offset_of!(_zend_object_handlers, clone_obj) - 16usize];
2141    ["Offset of field: _zend_object_handlers::read_property"]
2142        [::std::mem::offset_of!(_zend_object_handlers, read_property) - 24usize];
2143    ["Offset of field: _zend_object_handlers::write_property"]
2144        [::std::mem::offset_of!(_zend_object_handlers, write_property) - 32usize];
2145    ["Offset of field: _zend_object_handlers::read_dimension"]
2146        [::std::mem::offset_of!(_zend_object_handlers, read_dimension) - 40usize];
2147    ["Offset of field: _zend_object_handlers::write_dimension"]
2148        [::std::mem::offset_of!(_zend_object_handlers, write_dimension) - 48usize];
2149    ["Offset of field: _zend_object_handlers::get_property_ptr_ptr"]
2150        [::std::mem::offset_of!(_zend_object_handlers, get_property_ptr_ptr) - 56usize];
2151    ["Offset of field: _zend_object_handlers::get"]
2152        [::std::mem::offset_of!(_zend_object_handlers, get) - 64usize];
2153    ["Offset of field: _zend_object_handlers::set"]
2154        [::std::mem::offset_of!(_zend_object_handlers, set) - 72usize];
2155    ["Offset of field: _zend_object_handlers::has_property"]
2156        [::std::mem::offset_of!(_zend_object_handlers, has_property) - 80usize];
2157    ["Offset of field: _zend_object_handlers::unset_property"]
2158        [::std::mem::offset_of!(_zend_object_handlers, unset_property) - 88usize];
2159    ["Offset of field: _zend_object_handlers::has_dimension"]
2160        [::std::mem::offset_of!(_zend_object_handlers, has_dimension) - 96usize];
2161    ["Offset of field: _zend_object_handlers::unset_dimension"]
2162        [::std::mem::offset_of!(_zend_object_handlers, unset_dimension) - 104usize];
2163    ["Offset of field: _zend_object_handlers::get_properties"]
2164        [::std::mem::offset_of!(_zend_object_handlers, get_properties) - 112usize];
2165    ["Offset of field: _zend_object_handlers::get_method"]
2166        [::std::mem::offset_of!(_zend_object_handlers, get_method) - 120usize];
2167    ["Offset of field: _zend_object_handlers::call_method"]
2168        [::std::mem::offset_of!(_zend_object_handlers, call_method) - 128usize];
2169    ["Offset of field: _zend_object_handlers::get_constructor"]
2170        [::std::mem::offset_of!(_zend_object_handlers, get_constructor) - 136usize];
2171    ["Offset of field: _zend_object_handlers::get_class_entry"]
2172        [::std::mem::offset_of!(_zend_object_handlers, get_class_entry) - 144usize];
2173    ["Offset of field: _zend_object_handlers::get_class_name"]
2174        [::std::mem::offset_of!(_zend_object_handlers, get_class_name) - 152usize];
2175    ["Offset of field: _zend_object_handlers::compare_objects"]
2176        [::std::mem::offset_of!(_zend_object_handlers, compare_objects) - 160usize];
2177    ["Offset of field: _zend_object_handlers::cast_object"]
2178        [::std::mem::offset_of!(_zend_object_handlers, cast_object) - 168usize];
2179    ["Offset of field: _zend_object_handlers::count_elements"]
2180        [::std::mem::offset_of!(_zend_object_handlers, count_elements) - 176usize];
2181    ["Offset of field: _zend_object_handlers::get_debug_info"]
2182        [::std::mem::offset_of!(_zend_object_handlers, get_debug_info) - 184usize];
2183    ["Offset of field: _zend_object_handlers::get_closure"]
2184        [::std::mem::offset_of!(_zend_object_handlers, get_closure) - 192usize];
2185    ["Offset of field: _zend_object_handlers::get_gc"]
2186        [::std::mem::offset_of!(_zend_object_handlers, get_gc) - 200usize];
2187};
2188extern "C" {
2189    pub static mut std_object_handlers: zend_object_handlers;
2190}
2191extern "C" {
2192    pub fn zend_std_get_static_method(
2193        ce: *mut zend_class_entry,
2194        function_name_strval: *const ::std::os::raw::c_char,
2195        function_name_strlen: ::std::os::raw::c_int,
2196        key: *const _zend_literal,
2197    ) -> *mut _zend_function;
2198}
2199extern "C" {
2200    pub fn zend_std_get_static_property(
2201        ce: *mut zend_class_entry,
2202        property_name: *const ::std::os::raw::c_char,
2203        property_name_len: ::std::os::raw::c_int,
2204        silent: zend_bool,
2205        key: *const _zend_literal,
2206    ) -> *mut *mut zval;
2207}
2208extern "C" {
2209    pub fn zend_std_unset_static_property(
2210        ce: *mut zend_class_entry,
2211        property_name: *const ::std::os::raw::c_char,
2212        property_name_len: ::std::os::raw::c_int,
2213        key: *const _zend_literal,
2214    ) -> zend_bool;
2215}
2216extern "C" {
2217    pub fn zend_std_get_constructor(object: *mut zval) -> *mut _zend_function;
2218}
2219extern "C" {
2220    pub fn zend_get_property_info(
2221        ce: *mut zend_class_entry,
2222        member: *mut zval,
2223        silent: ::std::os::raw::c_int,
2224    ) -> *mut _zend_property_info;
2225}
2226extern "C" {
2227    pub fn zend_std_get_properties(object: *mut zval) -> *mut HashTable;
2228}
2229extern "C" {
2230    pub fn zend_std_get_debug_info(
2231        object: *mut zval,
2232        is_temp: *mut ::std::os::raw::c_int,
2233    ) -> *mut HashTable;
2234}
2235extern "C" {
2236    pub fn zend_std_cast_object_tostring(
2237        readobj: *mut zval,
2238        writeobj: *mut zval,
2239        type_: ::std::os::raw::c_int,
2240    ) -> ::std::os::raw::c_int;
2241}
2242extern "C" {
2243    pub fn zend_std_write_property(
2244        object: *mut zval,
2245        member: *mut zval,
2246        value: *mut zval,
2247        key: *const _zend_literal,
2248    );
2249}
2250extern "C" {
2251    pub fn zend_check_private(
2252        fbc: *mut _zend_function,
2253        ce: *mut zend_class_entry,
2254        function_name_strval: *mut ::std::os::raw::c_char,
2255        function_name_strlen: ::std::os::raw::c_int,
2256    ) -> ::std::os::raw::c_int;
2257}
2258extern "C" {
2259    pub fn zend_check_protected(
2260        ce: *mut zend_class_entry,
2261        scope: *mut zend_class_entry,
2262    ) -> ::std::os::raw::c_int;
2263}
2264extern "C" {
2265    pub fn zend_check_property_access(
2266        zobj: *mut zend_object,
2267        prop_info_name: *const ::std::os::raw::c_char,
2268        prop_info_name_len: ::std::os::raw::c_int,
2269    ) -> ::std::os::raw::c_int;
2270}
2271extern "C" {
2272    pub fn zend_std_call_user_call(
2273        ht: ::std::os::raw::c_int,
2274        return_value: *mut zval,
2275        return_value_ptr: *mut *mut zval,
2276        this_ptr: *mut zval,
2277        return_value_used: ::std::os::raw::c_int,
2278    );
2279}
2280#[repr(C)]
2281#[derive(Copy, Clone)]
2282pub union _zvalue_value {
2283    pub lval: ::std::os::raw::c_long,
2284    pub dval: f64,
2285    pub str_: _zvalue_value__bindgen_ty_1,
2286    pub ht: *mut HashTable,
2287    pub obj: zend_object_value,
2288}
2289#[repr(C)]
2290#[derive(Debug, Copy, Clone)]
2291pub struct _zvalue_value__bindgen_ty_1 {
2292    pub val: *mut ::std::os::raw::c_char,
2293    pub len: ::std::os::raw::c_int,
2294}
2295#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2296const _: () = {
2297    ["Size of _zvalue_value__bindgen_ty_1"]
2298        [::std::mem::size_of::<_zvalue_value__bindgen_ty_1>() - 16usize];
2299    ["Alignment of _zvalue_value__bindgen_ty_1"]
2300        [::std::mem::align_of::<_zvalue_value__bindgen_ty_1>() - 8usize];
2301    ["Offset of field: _zvalue_value__bindgen_ty_1::val"]
2302        [::std::mem::offset_of!(_zvalue_value__bindgen_ty_1, val) - 0usize];
2303    ["Offset of field: _zvalue_value__bindgen_ty_1::len"]
2304        [::std::mem::offset_of!(_zvalue_value__bindgen_ty_1, len) - 8usize];
2305};
2306#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2307const _: () = {
2308    ["Size of _zvalue_value"][::std::mem::size_of::<_zvalue_value>() - 16usize];
2309    ["Alignment of _zvalue_value"][::std::mem::align_of::<_zvalue_value>() - 8usize];
2310    ["Offset of field: _zvalue_value::lval"][::std::mem::offset_of!(_zvalue_value, lval) - 0usize];
2311    ["Offset of field: _zvalue_value::dval"][::std::mem::offset_of!(_zvalue_value, dval) - 0usize];
2312    ["Offset of field: _zvalue_value::str_"][::std::mem::offset_of!(_zvalue_value, str_) - 0usize];
2313    ["Offset of field: _zvalue_value::ht"][::std::mem::offset_of!(_zvalue_value, ht) - 0usize];
2314    ["Offset of field: _zvalue_value::obj"][::std::mem::offset_of!(_zvalue_value, obj) - 0usize];
2315};
2316pub type zvalue_value = _zvalue_value;
2317#[repr(C)]
2318#[derive(Copy, Clone)]
2319pub struct _zval_struct {
2320    pub value: zvalue_value,
2321    pub refcount__gc: zend_uint,
2322    pub type_: zend_uchar,
2323    pub is_ref__gc: zend_uchar,
2324}
2325#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2326const _: () = {
2327    ["Size of _zval_struct"][::std::mem::size_of::<_zval_struct>() - 24usize];
2328    ["Alignment of _zval_struct"][::std::mem::align_of::<_zval_struct>() - 8usize];
2329    ["Offset of field: _zval_struct::value"][::std::mem::offset_of!(_zval_struct, value) - 0usize];
2330    ["Offset of field: _zval_struct::refcount__gc"]
2331        [::std::mem::offset_of!(_zval_struct, refcount__gc) - 16usize];
2332    ["Offset of field: _zval_struct::type_"][::std::mem::offset_of!(_zval_struct, type_) - 20usize];
2333    ["Offset of field: _zval_struct::is_ref__gc"]
2334        [::std::mem::offset_of!(_zval_struct, is_ref__gc) - 21usize];
2335};
2336pub type zend_object_iterator = _zend_object_iterator;
2337#[repr(C)]
2338#[derive(Debug, Copy, Clone)]
2339pub struct _zend_object_iterator_funcs {
2340    pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2341    pub valid: ::std::option::Option<
2342        unsafe extern "C" fn(iter: *mut zend_object_iterator) -> ::std::os::raw::c_int,
2343    >,
2344    pub get_current_data: ::std::option::Option<
2345        unsafe extern "C" fn(iter: *mut zend_object_iterator, data: *mut *mut *mut zval),
2346    >,
2347    pub get_current_key: ::std::option::Option<
2348        unsafe extern "C" fn(
2349            iter: *mut zend_object_iterator,
2350            str_key: *mut *mut ::std::os::raw::c_char,
2351            str_key_len: *mut uint,
2352            int_key: *mut ulong,
2353        ) -> ::std::os::raw::c_int,
2354    >,
2355    pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2356    pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2357    pub invalidate_current:
2358        ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
2359}
2360#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2361const _: () = {
2362    ["Size of _zend_object_iterator_funcs"]
2363        [::std::mem::size_of::<_zend_object_iterator_funcs>() - 56usize];
2364    ["Alignment of _zend_object_iterator_funcs"]
2365        [::std::mem::align_of::<_zend_object_iterator_funcs>() - 8usize];
2366    ["Offset of field: _zend_object_iterator_funcs::dtor"]
2367        [::std::mem::offset_of!(_zend_object_iterator_funcs, dtor) - 0usize];
2368    ["Offset of field: _zend_object_iterator_funcs::valid"]
2369        [::std::mem::offset_of!(_zend_object_iterator_funcs, valid) - 8usize];
2370    ["Offset of field: _zend_object_iterator_funcs::get_current_data"]
2371        [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_data) - 16usize];
2372    ["Offset of field: _zend_object_iterator_funcs::get_current_key"]
2373        [::std::mem::offset_of!(_zend_object_iterator_funcs, get_current_key) - 24usize];
2374    ["Offset of field: _zend_object_iterator_funcs::move_forward"]
2375        [::std::mem::offset_of!(_zend_object_iterator_funcs, move_forward) - 32usize];
2376    ["Offset of field: _zend_object_iterator_funcs::rewind"]
2377        [::std::mem::offset_of!(_zend_object_iterator_funcs, rewind) - 40usize];
2378    ["Offset of field: _zend_object_iterator_funcs::invalidate_current"]
2379        [::std::mem::offset_of!(_zend_object_iterator_funcs, invalidate_current) - 48usize];
2380};
2381pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
2382#[repr(C)]
2383#[derive(Debug, Copy, Clone)]
2384pub struct _zend_object_iterator {
2385    pub data: *mut ::std::os::raw::c_void,
2386    pub funcs: *mut zend_object_iterator_funcs,
2387    pub index: ulong,
2388}
2389#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2390const _: () = {
2391    ["Size of _zend_object_iterator"][::std::mem::size_of::<_zend_object_iterator>() - 24usize];
2392    ["Alignment of _zend_object_iterator"]
2393        [::std::mem::align_of::<_zend_object_iterator>() - 8usize];
2394    ["Offset of field: _zend_object_iterator::data"]
2395        [::std::mem::offset_of!(_zend_object_iterator, data) - 0usize];
2396    ["Offset of field: _zend_object_iterator::funcs"]
2397        [::std::mem::offset_of!(_zend_object_iterator, funcs) - 8usize];
2398    ["Offset of field: _zend_object_iterator::index"]
2399        [::std::mem::offset_of!(_zend_object_iterator, index) - 16usize];
2400};
2401#[repr(C)]
2402#[derive(Debug, Copy, Clone)]
2403pub struct _zend_class_iterator_funcs {
2404    pub funcs: *mut zend_object_iterator_funcs,
2405    pub zf_new_iterator: *mut _zend_function,
2406    pub zf_valid: *mut _zend_function,
2407    pub zf_current: *mut _zend_function,
2408    pub zf_key: *mut _zend_function,
2409    pub zf_next: *mut _zend_function,
2410    pub zf_rewind: *mut _zend_function,
2411}
2412#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2413const _: () = {
2414    ["Size of _zend_class_iterator_funcs"]
2415        [::std::mem::size_of::<_zend_class_iterator_funcs>() - 56usize];
2416    ["Alignment of _zend_class_iterator_funcs"]
2417        [::std::mem::align_of::<_zend_class_iterator_funcs>() - 8usize];
2418    ["Offset of field: _zend_class_iterator_funcs::funcs"]
2419        [::std::mem::offset_of!(_zend_class_iterator_funcs, funcs) - 0usize];
2420    ["Offset of field: _zend_class_iterator_funcs::zf_new_iterator"]
2421        [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_new_iterator) - 8usize];
2422    ["Offset of field: _zend_class_iterator_funcs::zf_valid"]
2423        [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_valid) - 16usize];
2424    ["Offset of field: _zend_class_iterator_funcs::zf_current"]
2425        [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_current) - 24usize];
2426    ["Offset of field: _zend_class_iterator_funcs::zf_key"]
2427        [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_key) - 32usize];
2428    ["Offset of field: _zend_class_iterator_funcs::zf_next"]
2429        [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_next) - 40usize];
2430    ["Offset of field: _zend_class_iterator_funcs::zf_rewind"]
2431        [::std::mem::offset_of!(_zend_class_iterator_funcs, zf_rewind) - 48usize];
2432};
2433pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
2434pub const zend_object_iterator_kind_ZEND_ITER_INVALID: zend_object_iterator_kind = 0;
2435pub const zend_object_iterator_kind_ZEND_ITER_PLAIN_ARRAY: zend_object_iterator_kind = 1;
2436pub const zend_object_iterator_kind_ZEND_ITER_PLAIN_OBJECT: zend_object_iterator_kind = 2;
2437pub const zend_object_iterator_kind_ZEND_ITER_OBJECT: zend_object_iterator_kind = 3;
2438pub type zend_object_iterator_kind = ::std::os::raw::c_uint;
2439extern "C" {
2440    pub fn zend_iterator_unwrap(
2441        array_ptr: *mut zval,
2442        iter: *mut *mut zend_object_iterator,
2443    ) -> zend_object_iterator_kind;
2444}
2445extern "C" {
2446    pub fn zend_iterator_wrap(iter: *mut zend_object_iterator) -> *mut zval;
2447}
2448extern "C" {
2449    pub fn zend_register_iterator_wrapper();
2450}
2451#[repr(C)]
2452#[derive(Debug, Copy, Clone)]
2453pub struct _zend_serialize_data {
2454    _unused: [u8; 0],
2455}
2456#[repr(C)]
2457#[derive(Debug, Copy, Clone)]
2458pub struct _zend_unserialize_data {
2459    _unused: [u8; 0],
2460}
2461pub type zend_serialize_data = _zend_serialize_data;
2462pub type zend_unserialize_data = _zend_unserialize_data;
2463#[repr(C)]
2464#[derive(Debug, Copy, Clone)]
2465pub struct _zend_trait_method_reference {
2466    pub method_name: *const ::std::os::raw::c_char,
2467    pub mname_len: ::std::os::raw::c_uint,
2468    pub ce: *mut zend_class_entry,
2469    pub class_name: *const ::std::os::raw::c_char,
2470    pub cname_len: ::std::os::raw::c_uint,
2471}
2472#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2473const _: () = {
2474    ["Size of _zend_trait_method_reference"]
2475        [::std::mem::size_of::<_zend_trait_method_reference>() - 40usize];
2476    ["Alignment of _zend_trait_method_reference"]
2477        [::std::mem::align_of::<_zend_trait_method_reference>() - 8usize];
2478    ["Offset of field: _zend_trait_method_reference::method_name"]
2479        [::std::mem::offset_of!(_zend_trait_method_reference, method_name) - 0usize];
2480    ["Offset of field: _zend_trait_method_reference::mname_len"]
2481        [::std::mem::offset_of!(_zend_trait_method_reference, mname_len) - 8usize];
2482    ["Offset of field: _zend_trait_method_reference::ce"]
2483        [::std::mem::offset_of!(_zend_trait_method_reference, ce) - 16usize];
2484    ["Offset of field: _zend_trait_method_reference::class_name"]
2485        [::std::mem::offset_of!(_zend_trait_method_reference, class_name) - 24usize];
2486    ["Offset of field: _zend_trait_method_reference::cname_len"]
2487        [::std::mem::offset_of!(_zend_trait_method_reference, cname_len) - 32usize];
2488};
2489pub type zend_trait_method_reference = _zend_trait_method_reference;
2490#[repr(C)]
2491#[derive(Debug, Copy, Clone)]
2492pub struct _zend_trait_precedence {
2493    pub trait_method: *mut zend_trait_method_reference,
2494    pub exclude_from_classes: *mut *mut zend_class_entry,
2495    pub function: *mut _zend_function,
2496}
2497#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2498const _: () = {
2499    ["Size of _zend_trait_precedence"][::std::mem::size_of::<_zend_trait_precedence>() - 24usize];
2500    ["Alignment of _zend_trait_precedence"]
2501        [::std::mem::align_of::<_zend_trait_precedence>() - 8usize];
2502    ["Offset of field: _zend_trait_precedence::trait_method"]
2503        [::std::mem::offset_of!(_zend_trait_precedence, trait_method) - 0usize];
2504    ["Offset of field: _zend_trait_precedence::exclude_from_classes"]
2505        [::std::mem::offset_of!(_zend_trait_precedence, exclude_from_classes) - 8usize];
2506    ["Offset of field: _zend_trait_precedence::function"]
2507        [::std::mem::offset_of!(_zend_trait_precedence, function) - 16usize];
2508};
2509pub type zend_trait_precedence = _zend_trait_precedence;
2510#[repr(C)]
2511#[derive(Debug, Copy, Clone)]
2512pub struct _zend_trait_alias {
2513    pub trait_method: *mut zend_trait_method_reference,
2514    #[doc = " name for method to be added"]
2515    pub alias: *const ::std::os::raw::c_char,
2516    pub alias_len: ::std::os::raw::c_uint,
2517    #[doc = " modifiers to be set on trait method"]
2518    pub modifiers: zend_uint,
2519    pub function: *mut _zend_function,
2520}
2521#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2522const _: () = {
2523    ["Size of _zend_trait_alias"][::std::mem::size_of::<_zend_trait_alias>() - 32usize];
2524    ["Alignment of _zend_trait_alias"][::std::mem::align_of::<_zend_trait_alias>() - 8usize];
2525    ["Offset of field: _zend_trait_alias::trait_method"]
2526        [::std::mem::offset_of!(_zend_trait_alias, trait_method) - 0usize];
2527    ["Offset of field: _zend_trait_alias::alias"]
2528        [::std::mem::offset_of!(_zend_trait_alias, alias) - 8usize];
2529    ["Offset of field: _zend_trait_alias::alias_len"]
2530        [::std::mem::offset_of!(_zend_trait_alias, alias_len) - 16usize];
2531    ["Offset of field: _zend_trait_alias::modifiers"]
2532        [::std::mem::offset_of!(_zend_trait_alias, modifiers) - 20usize];
2533    ["Offset of field: _zend_trait_alias::function"]
2534        [::std::mem::offset_of!(_zend_trait_alias, function) - 24usize];
2535};
2536pub type zend_trait_alias = _zend_trait_alias;
2537#[repr(C)]
2538#[derive(Copy, Clone)]
2539pub struct _zend_class_entry {
2540    pub type_: ::std::os::raw::c_char,
2541    pub name: *const ::std::os::raw::c_char,
2542    pub name_length: zend_uint,
2543    pub parent: *mut _zend_class_entry,
2544    pub refcount: ::std::os::raw::c_int,
2545    pub ce_flags: zend_uint,
2546    pub function_table: HashTable,
2547    pub properties_info: HashTable,
2548    pub default_properties_table: *mut *mut zval,
2549    pub default_static_members_table: *mut *mut zval,
2550    pub static_members_table: *mut *mut zval,
2551    pub constants_table: HashTable,
2552    pub default_properties_count: ::std::os::raw::c_int,
2553    pub default_static_members_count: ::std::os::raw::c_int,
2554    pub constructor: *mut _zend_function,
2555    pub destructor: *mut _zend_function,
2556    pub clone: *mut _zend_function,
2557    pub __get: *mut _zend_function,
2558    pub __set: *mut _zend_function,
2559    pub __unset: *mut _zend_function,
2560    pub __isset: *mut _zend_function,
2561    pub __call: *mut _zend_function,
2562    pub __callstatic: *mut _zend_function,
2563    pub __tostring: *mut _zend_function,
2564    pub serialize_func: *mut _zend_function,
2565    pub unserialize_func: *mut _zend_function,
2566    pub iterator_funcs: zend_class_iterator_funcs,
2567    pub create_object: ::std::option::Option<
2568        unsafe extern "C" fn(class_type: *mut zend_class_entry) -> zend_object_value,
2569    >,
2570    pub get_iterator: ::std::option::Option<
2571        unsafe extern "C" fn(
2572            ce: *mut zend_class_entry,
2573            object: *mut zval,
2574            by_ref: ::std::os::raw::c_int,
2575        ) -> *mut zend_object_iterator,
2576    >,
2577    pub interface_gets_implemented: ::std::option::Option<
2578        unsafe extern "C" fn(
2579            iface: *mut zend_class_entry,
2580            class_type: *mut zend_class_entry,
2581        ) -> ::std::os::raw::c_int,
2582    >,
2583    pub get_static_method: ::std::option::Option<
2584        unsafe extern "C" fn(
2585            ce: *mut zend_class_entry,
2586            method: *mut ::std::os::raw::c_char,
2587            method_len: ::std::os::raw::c_int,
2588        ) -> *mut _zend_function,
2589    >,
2590    pub serialize: ::std::option::Option<
2591        unsafe extern "C" fn(
2592            object: *mut zval,
2593            buffer: *mut *mut ::std::os::raw::c_uchar,
2594            buf_len: *mut zend_uint,
2595            data: *mut zend_serialize_data,
2596        ) -> ::std::os::raw::c_int,
2597    >,
2598    pub unserialize: ::std::option::Option<
2599        unsafe extern "C" fn(
2600            object: *mut *mut zval,
2601            ce: *mut zend_class_entry,
2602            buf: *const ::std::os::raw::c_uchar,
2603            buf_len: zend_uint,
2604            data: *mut zend_unserialize_data,
2605        ) -> ::std::os::raw::c_int,
2606    >,
2607    pub interfaces: *mut *mut zend_class_entry,
2608    pub num_interfaces: zend_uint,
2609    pub traits: *mut *mut zend_class_entry,
2610    pub num_traits: zend_uint,
2611    pub trait_aliases: *mut *mut zend_trait_alias,
2612    pub trait_precedences: *mut *mut zend_trait_precedence,
2613    pub info: _zend_class_entry__bindgen_ty_1,
2614}
2615#[repr(C)]
2616#[derive(Copy, Clone)]
2617pub union _zend_class_entry__bindgen_ty_1 {
2618    pub user: _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
2619    pub internal: _zend_class_entry__bindgen_ty_1__bindgen_ty_2,
2620}
2621#[repr(C)]
2622#[derive(Debug, Copy, Clone)]
2623pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_1 {
2624    pub filename: *const ::std::os::raw::c_char,
2625    pub line_start: zend_uint,
2626    pub line_end: zend_uint,
2627    pub doc_comment: *const ::std::os::raw::c_char,
2628    pub doc_comment_len: zend_uint,
2629}
2630#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2631const _: () = {
2632    ["Size of _zend_class_entry__bindgen_ty_1__bindgen_ty_1"]
2633        [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>() - 32usize];
2634    ["Alignment of _zend_class_entry__bindgen_ty_1__bindgen_ty_1"]
2635        [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_1>() - 8usize];
2636    ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::filename"]
2637        [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1, filename) - 0usize];
2638    ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::line_start"][::std::mem::offset_of!(
2639        _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
2640        line_start
2641    ) - 8usize];
2642    ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::line_end"]
2643        [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1__bindgen_ty_1, line_end) - 12usize];
2644    ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::doc_comment"][::std::mem::offset_of!(
2645        _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
2646        doc_comment
2647    ) - 16usize];
2648    ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_1::doc_comment_len"][::std::mem::offset_of!(
2649        _zend_class_entry__bindgen_ty_1__bindgen_ty_1,
2650        doc_comment_len
2651    )
2652        - 24usize];
2653};
2654#[repr(C)]
2655#[derive(Debug, Copy, Clone)]
2656pub struct _zend_class_entry__bindgen_ty_1__bindgen_ty_2 {
2657    pub builtin_functions: *const _zend_function_entry,
2658    pub module: *mut _zend_module_entry,
2659}
2660#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2661const _: () = {
2662    ["Size of _zend_class_entry__bindgen_ty_1__bindgen_ty_2"]
2663        [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>() - 16usize];
2664    ["Alignment of _zend_class_entry__bindgen_ty_1__bindgen_ty_2"]
2665        [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1__bindgen_ty_2>() - 8usize];
2666    ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_2::builtin_functions"][::std::mem::offset_of!(
2667        _zend_class_entry__bindgen_ty_1__bindgen_ty_2,
2668        builtin_functions
2669    )
2670        - 0usize];
2671    ["Offset of field: _zend_class_entry__bindgen_ty_1__bindgen_ty_2::module"]
2672        [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1__bindgen_ty_2, module) - 8usize];
2673};
2674#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2675const _: () = {
2676    ["Size of _zend_class_entry__bindgen_ty_1"]
2677        [::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>() - 32usize];
2678    ["Alignment of _zend_class_entry__bindgen_ty_1"]
2679        [::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>() - 8usize];
2680    ["Offset of field: _zend_class_entry__bindgen_ty_1::user"]
2681        [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, user) - 0usize];
2682    ["Offset of field: _zend_class_entry__bindgen_ty_1::internal"]
2683        [::std::mem::offset_of!(_zend_class_entry__bindgen_ty_1, internal) - 0usize];
2684};
2685#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2686const _: () = {
2687    ["Size of _zend_class_entry"][::std::mem::size_of::<_zend_class_entry>() - 568usize];
2688    ["Alignment of _zend_class_entry"][::std::mem::align_of::<_zend_class_entry>() - 8usize];
2689    ["Offset of field: _zend_class_entry::type_"]
2690        [::std::mem::offset_of!(_zend_class_entry, type_) - 0usize];
2691    ["Offset of field: _zend_class_entry::name"]
2692        [::std::mem::offset_of!(_zend_class_entry, name) - 8usize];
2693    ["Offset of field: _zend_class_entry::name_length"]
2694        [::std::mem::offset_of!(_zend_class_entry, name_length) - 16usize];
2695    ["Offset of field: _zend_class_entry::parent"]
2696        [::std::mem::offset_of!(_zend_class_entry, parent) - 24usize];
2697    ["Offset of field: _zend_class_entry::refcount"]
2698        [::std::mem::offset_of!(_zend_class_entry, refcount) - 32usize];
2699    ["Offset of field: _zend_class_entry::ce_flags"]
2700        [::std::mem::offset_of!(_zend_class_entry, ce_flags) - 36usize];
2701    ["Offset of field: _zend_class_entry::function_table"]
2702        [::std::mem::offset_of!(_zend_class_entry, function_table) - 40usize];
2703    ["Offset of field: _zend_class_entry::properties_info"]
2704        [::std::mem::offset_of!(_zend_class_entry, properties_info) - 112usize];
2705    ["Offset of field: _zend_class_entry::default_properties_table"]
2706        [::std::mem::offset_of!(_zend_class_entry, default_properties_table) - 184usize];
2707    ["Offset of field: _zend_class_entry::default_static_members_table"]
2708        [::std::mem::offset_of!(_zend_class_entry, default_static_members_table) - 192usize];
2709    ["Offset of field: _zend_class_entry::static_members_table"]
2710        [::std::mem::offset_of!(_zend_class_entry, static_members_table) - 200usize];
2711    ["Offset of field: _zend_class_entry::constants_table"]
2712        [::std::mem::offset_of!(_zend_class_entry, constants_table) - 208usize];
2713    ["Offset of field: _zend_class_entry::default_properties_count"]
2714        [::std::mem::offset_of!(_zend_class_entry, default_properties_count) - 280usize];
2715    ["Offset of field: _zend_class_entry::default_static_members_count"]
2716        [::std::mem::offset_of!(_zend_class_entry, default_static_members_count) - 284usize];
2717    ["Offset of field: _zend_class_entry::constructor"]
2718        [::std::mem::offset_of!(_zend_class_entry, constructor) - 288usize];
2719    ["Offset of field: _zend_class_entry::destructor"]
2720        [::std::mem::offset_of!(_zend_class_entry, destructor) - 296usize];
2721    ["Offset of field: _zend_class_entry::clone"]
2722        [::std::mem::offset_of!(_zend_class_entry, clone) - 304usize];
2723    ["Offset of field: _zend_class_entry::__get"]
2724        [::std::mem::offset_of!(_zend_class_entry, __get) - 312usize];
2725    ["Offset of field: _zend_class_entry::__set"]
2726        [::std::mem::offset_of!(_zend_class_entry, __set) - 320usize];
2727    ["Offset of field: _zend_class_entry::__unset"]
2728        [::std::mem::offset_of!(_zend_class_entry, __unset) - 328usize];
2729    ["Offset of field: _zend_class_entry::__isset"]
2730        [::std::mem::offset_of!(_zend_class_entry, __isset) - 336usize];
2731    ["Offset of field: _zend_class_entry::__call"]
2732        [::std::mem::offset_of!(_zend_class_entry, __call) - 344usize];
2733    ["Offset of field: _zend_class_entry::__callstatic"]
2734        [::std::mem::offset_of!(_zend_class_entry, __callstatic) - 352usize];
2735    ["Offset of field: _zend_class_entry::__tostring"]
2736        [::std::mem::offset_of!(_zend_class_entry, __tostring) - 360usize];
2737    ["Offset of field: _zend_class_entry::serialize_func"]
2738        [::std::mem::offset_of!(_zend_class_entry, serialize_func) - 368usize];
2739    ["Offset of field: _zend_class_entry::unserialize_func"]
2740        [::std::mem::offset_of!(_zend_class_entry, unserialize_func) - 376usize];
2741    ["Offset of field: _zend_class_entry::iterator_funcs"]
2742        [::std::mem::offset_of!(_zend_class_entry, iterator_funcs) - 384usize];
2743    ["Offset of field: _zend_class_entry::create_object"]
2744        [::std::mem::offset_of!(_zend_class_entry, create_object) - 440usize];
2745    ["Offset of field: _zend_class_entry::get_iterator"]
2746        [::std::mem::offset_of!(_zend_class_entry, get_iterator) - 448usize];
2747    ["Offset of field: _zend_class_entry::interface_gets_implemented"]
2748        [::std::mem::offset_of!(_zend_class_entry, interface_gets_implemented) - 456usize];
2749    ["Offset of field: _zend_class_entry::get_static_method"]
2750        [::std::mem::offset_of!(_zend_class_entry, get_static_method) - 464usize];
2751    ["Offset of field: _zend_class_entry::serialize"]
2752        [::std::mem::offset_of!(_zend_class_entry, serialize) - 472usize];
2753    ["Offset of field: _zend_class_entry::unserialize"]
2754        [::std::mem::offset_of!(_zend_class_entry, unserialize) - 480usize];
2755    ["Offset of field: _zend_class_entry::interfaces"]
2756        [::std::mem::offset_of!(_zend_class_entry, interfaces) - 488usize];
2757    ["Offset of field: _zend_class_entry::num_interfaces"]
2758        [::std::mem::offset_of!(_zend_class_entry, num_interfaces) - 496usize];
2759    ["Offset of field: _zend_class_entry::traits"]
2760        [::std::mem::offset_of!(_zend_class_entry, traits) - 504usize];
2761    ["Offset of field: _zend_class_entry::num_traits"]
2762        [::std::mem::offset_of!(_zend_class_entry, num_traits) - 512usize];
2763    ["Offset of field: _zend_class_entry::trait_aliases"]
2764        [::std::mem::offset_of!(_zend_class_entry, trait_aliases) - 520usize];
2765    ["Offset of field: _zend_class_entry::trait_precedences"]
2766        [::std::mem::offset_of!(_zend_class_entry, trait_precedences) - 528usize];
2767    ["Offset of field: _zend_class_entry::info"]
2768        [::std::mem::offset_of!(_zend_class_entry, info) - 536usize];
2769};
2770pub type zend_stream_fsizer_t =
2771    ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> usize>;
2772pub type zend_stream_reader_t = ::std::option::Option<
2773    unsafe extern "C" fn(
2774        handle: *mut ::std::os::raw::c_void,
2775        buf: *mut ::std::os::raw::c_char,
2776        len: usize,
2777    ) -> usize,
2778>;
2779pub type zend_stream_closer_t =
2780    ::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
2781pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
2782pub const zend_stream_type_ZEND_HANDLE_FD: zend_stream_type = 1;
2783pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 2;
2784pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 3;
2785pub const zend_stream_type_ZEND_HANDLE_MAPPED: zend_stream_type = 4;
2786pub type zend_stream_type = ::std::os::raw::c_uint;
2787#[repr(C)]
2788#[derive(Debug, Copy, Clone)]
2789pub struct _zend_mmap {
2790    pub len: usize,
2791    pub pos: usize,
2792    pub map: *mut ::std::os::raw::c_void,
2793    pub buf: *mut ::std::os::raw::c_char,
2794    pub old_handle: *mut ::std::os::raw::c_void,
2795    pub old_closer: zend_stream_closer_t,
2796}
2797#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2798const _: () = {
2799    ["Size of _zend_mmap"][::std::mem::size_of::<_zend_mmap>() - 48usize];
2800    ["Alignment of _zend_mmap"][::std::mem::align_of::<_zend_mmap>() - 8usize];
2801    ["Offset of field: _zend_mmap::len"][::std::mem::offset_of!(_zend_mmap, len) - 0usize];
2802    ["Offset of field: _zend_mmap::pos"][::std::mem::offset_of!(_zend_mmap, pos) - 8usize];
2803    ["Offset of field: _zend_mmap::map"][::std::mem::offset_of!(_zend_mmap, map) - 16usize];
2804    ["Offset of field: _zend_mmap::buf"][::std::mem::offset_of!(_zend_mmap, buf) - 24usize];
2805    ["Offset of field: _zend_mmap::old_handle"]
2806        [::std::mem::offset_of!(_zend_mmap, old_handle) - 32usize];
2807    ["Offset of field: _zend_mmap::old_closer"]
2808        [::std::mem::offset_of!(_zend_mmap, old_closer) - 40usize];
2809};
2810pub type zend_mmap = _zend_mmap;
2811#[repr(C)]
2812#[derive(Debug, Copy, Clone)]
2813pub struct _zend_stream {
2814    pub handle: *mut ::std::os::raw::c_void,
2815    pub isatty: ::std::os::raw::c_int,
2816    pub mmap: zend_mmap,
2817    pub reader: zend_stream_reader_t,
2818    pub fsizer: zend_stream_fsizer_t,
2819    pub closer: zend_stream_closer_t,
2820}
2821#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2822const _: () = {
2823    ["Size of _zend_stream"][::std::mem::size_of::<_zend_stream>() - 88usize];
2824    ["Alignment of _zend_stream"][::std::mem::align_of::<_zend_stream>() - 8usize];
2825    ["Offset of field: _zend_stream::handle"]
2826        [::std::mem::offset_of!(_zend_stream, handle) - 0usize];
2827    ["Offset of field: _zend_stream::isatty"]
2828        [::std::mem::offset_of!(_zend_stream, isatty) - 8usize];
2829    ["Offset of field: _zend_stream::mmap"][::std::mem::offset_of!(_zend_stream, mmap) - 16usize];
2830    ["Offset of field: _zend_stream::reader"]
2831        [::std::mem::offset_of!(_zend_stream, reader) - 64usize];
2832    ["Offset of field: _zend_stream::fsizer"]
2833        [::std::mem::offset_of!(_zend_stream, fsizer) - 72usize];
2834    ["Offset of field: _zend_stream::closer"]
2835        [::std::mem::offset_of!(_zend_stream, closer) - 80usize];
2836};
2837pub type zend_stream = _zend_stream;
2838#[repr(C)]
2839#[derive(Copy, Clone)]
2840pub struct _zend_file_handle {
2841    pub type_: zend_stream_type,
2842    pub filename: *const ::std::os::raw::c_char,
2843    pub opened_path: *mut ::std::os::raw::c_char,
2844    pub handle: _zend_file_handle__bindgen_ty_1,
2845    pub free_filename: zend_bool,
2846}
2847#[repr(C)]
2848#[derive(Copy, Clone)]
2849pub union _zend_file_handle__bindgen_ty_1 {
2850    pub fd: ::std::os::raw::c_int,
2851    pub fp: *mut FILE,
2852    pub stream: zend_stream,
2853}
2854#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2855const _: () = {
2856    ["Size of _zend_file_handle__bindgen_ty_1"]
2857        [::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>() - 88usize];
2858    ["Alignment of _zend_file_handle__bindgen_ty_1"]
2859        [::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>() - 8usize];
2860    ["Offset of field: _zend_file_handle__bindgen_ty_1::fd"]
2861        [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fd) - 0usize];
2862    ["Offset of field: _zend_file_handle__bindgen_ty_1::fp"]
2863        [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, fp) - 0usize];
2864    ["Offset of field: _zend_file_handle__bindgen_ty_1::stream"]
2865        [::std::mem::offset_of!(_zend_file_handle__bindgen_ty_1, stream) - 0usize];
2866};
2867#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2868const _: () = {
2869    ["Size of _zend_file_handle"][::std::mem::size_of::<_zend_file_handle>() - 120usize];
2870    ["Alignment of _zend_file_handle"][::std::mem::align_of::<_zend_file_handle>() - 8usize];
2871    ["Offset of field: _zend_file_handle::type_"]
2872        [::std::mem::offset_of!(_zend_file_handle, type_) - 0usize];
2873    ["Offset of field: _zend_file_handle::filename"]
2874        [::std::mem::offset_of!(_zend_file_handle, filename) - 8usize];
2875    ["Offset of field: _zend_file_handle::opened_path"]
2876        [::std::mem::offset_of!(_zend_file_handle, opened_path) - 16usize];
2877    ["Offset of field: _zend_file_handle::handle"]
2878        [::std::mem::offset_of!(_zend_file_handle, handle) - 24usize];
2879    ["Offset of field: _zend_file_handle::free_filename"]
2880        [::std::mem::offset_of!(_zend_file_handle, free_filename) - 112usize];
2881};
2882pub type zend_file_handle = _zend_file_handle;
2883extern "C" {
2884    pub fn zend_stream_open(
2885        filename: *const ::std::os::raw::c_char,
2886        handle: *mut zend_file_handle,
2887    ) -> ::std::os::raw::c_int;
2888}
2889extern "C" {
2890    pub fn zend_stream_fixup(
2891        file_handle: *mut zend_file_handle,
2892        buf: *mut *mut ::std::os::raw::c_char,
2893        len: *mut usize,
2894    ) -> ::std::os::raw::c_int;
2895}
2896extern "C" {
2897    pub fn zend_file_handle_dtor(fh: *mut zend_file_handle);
2898}
2899extern "C" {
2900    pub fn zend_compare_file_handles(
2901        fh1: *mut zend_file_handle,
2902        fh2: *mut zend_file_handle,
2903    ) -> ::std::os::raw::c_int;
2904}
2905#[repr(C)]
2906#[derive(Debug, Copy, Clone)]
2907pub struct _zend_utility_functions {
2908    pub error_function: ::std::option::Option<
2909        unsafe extern "C" fn(
2910            type_: ::std::os::raw::c_int,
2911            error_filename: *const ::std::os::raw::c_char,
2912            error_lineno: uint,
2913            format: *const ::std::os::raw::c_char,
2914            args: *mut __va_list_tag,
2915        ),
2916    >,
2917    pub printf_function: ::std::option::Option<
2918        unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int,
2919    >,
2920    pub write_function: ::std::option::Option<
2921        unsafe extern "C" fn(
2922            str_: *const ::std::os::raw::c_char,
2923            str_length: uint,
2924        ) -> ::std::os::raw::c_int,
2925    >,
2926    pub fopen_function: ::std::option::Option<
2927        unsafe extern "C" fn(
2928            filename: *const ::std::os::raw::c_char,
2929            opened_path: *mut *mut ::std::os::raw::c_char,
2930        ) -> *mut FILE,
2931    >,
2932    pub message_handler: ::std::option::Option<
2933        unsafe extern "C" fn(message: ::std::os::raw::c_long, data: *const ::std::os::raw::c_void),
2934    >,
2935    pub block_interruptions: ::std::option::Option<unsafe extern "C" fn()>,
2936    pub unblock_interruptions: ::std::option::Option<unsafe extern "C" fn()>,
2937    pub get_configuration_directive: ::std::option::Option<
2938        unsafe extern "C" fn(
2939            name: *const ::std::os::raw::c_char,
2940            name_length: uint,
2941            contents: *mut zval,
2942        ) -> ::std::os::raw::c_int,
2943    >,
2944    pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
2945    pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
2946    pub stream_open_function: ::std::option::Option<
2947        unsafe extern "C" fn(
2948            filename: *const ::std::os::raw::c_char,
2949            handle: *mut zend_file_handle,
2950        ) -> ::std::os::raw::c_int,
2951    >,
2952    pub vspprintf_function: ::std::option::Option<
2953        unsafe extern "C" fn(
2954            pbuf: *mut *mut ::std::os::raw::c_char,
2955            max_len: usize,
2956            format: *const ::std::os::raw::c_char,
2957            ap: *mut __va_list_tag,
2958        ) -> ::std::os::raw::c_int,
2959    >,
2960    pub getenv_function: ::std::option::Option<
2961        unsafe extern "C" fn(
2962            name: *mut ::std::os::raw::c_char,
2963            name_len: usize,
2964        ) -> *mut ::std::os::raw::c_char,
2965    >,
2966    pub resolve_path_function: ::std::option::Option<
2967        unsafe extern "C" fn(
2968            filename: *const ::std::os::raw::c_char,
2969            filename_len: ::std::os::raw::c_int,
2970        ) -> *mut ::std::os::raw::c_char,
2971    >,
2972}
2973#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2974const _: () = {
2975    ["Size of _zend_utility_functions"]
2976        [::std::mem::size_of::<_zend_utility_functions>() - 112usize];
2977    ["Alignment of _zend_utility_functions"]
2978        [::std::mem::align_of::<_zend_utility_functions>() - 8usize];
2979    ["Offset of field: _zend_utility_functions::error_function"]
2980        [::std::mem::offset_of!(_zend_utility_functions, error_function) - 0usize];
2981    ["Offset of field: _zend_utility_functions::printf_function"]
2982        [::std::mem::offset_of!(_zend_utility_functions, printf_function) - 8usize];
2983    ["Offset of field: _zend_utility_functions::write_function"]
2984        [::std::mem::offset_of!(_zend_utility_functions, write_function) - 16usize];
2985    ["Offset of field: _zend_utility_functions::fopen_function"]
2986        [::std::mem::offset_of!(_zend_utility_functions, fopen_function) - 24usize];
2987    ["Offset of field: _zend_utility_functions::message_handler"]
2988        [::std::mem::offset_of!(_zend_utility_functions, message_handler) - 32usize];
2989    ["Offset of field: _zend_utility_functions::block_interruptions"]
2990        [::std::mem::offset_of!(_zend_utility_functions, block_interruptions) - 40usize];
2991    ["Offset of field: _zend_utility_functions::unblock_interruptions"]
2992        [::std::mem::offset_of!(_zend_utility_functions, unblock_interruptions) - 48usize];
2993    ["Offset of field: _zend_utility_functions::get_configuration_directive"]
2994        [::std::mem::offset_of!(_zend_utility_functions, get_configuration_directive) - 56usize];
2995    ["Offset of field: _zend_utility_functions::ticks_function"]
2996        [::std::mem::offset_of!(_zend_utility_functions, ticks_function) - 64usize];
2997    ["Offset of field: _zend_utility_functions::on_timeout"]
2998        [::std::mem::offset_of!(_zend_utility_functions, on_timeout) - 72usize];
2999    ["Offset of field: _zend_utility_functions::stream_open_function"]
3000        [::std::mem::offset_of!(_zend_utility_functions, stream_open_function) - 80usize];
3001    ["Offset of field: _zend_utility_functions::vspprintf_function"]
3002        [::std::mem::offset_of!(_zend_utility_functions, vspprintf_function) - 88usize];
3003    ["Offset of field: _zend_utility_functions::getenv_function"]
3004        [::std::mem::offset_of!(_zend_utility_functions, getenv_function) - 96usize];
3005    ["Offset of field: _zend_utility_functions::resolve_path_function"]
3006        [::std::mem::offset_of!(_zend_utility_functions, resolve_path_function) - 104usize];
3007};
3008pub type zend_utility_functions = _zend_utility_functions;
3009#[repr(C)]
3010#[derive(Debug, Copy, Clone)]
3011pub struct _zend_utility_values {
3012    pub import_use_extension: *mut ::std::os::raw::c_char,
3013    pub import_use_extension_length: uint,
3014    pub html_errors: zend_bool,
3015}
3016#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3017const _: () = {
3018    ["Size of _zend_utility_values"][::std::mem::size_of::<_zend_utility_values>() - 16usize];
3019    ["Alignment of _zend_utility_values"][::std::mem::align_of::<_zend_utility_values>() - 8usize];
3020    ["Offset of field: _zend_utility_values::import_use_extension"]
3021        [::std::mem::offset_of!(_zend_utility_values, import_use_extension) - 0usize];
3022    ["Offset of field: _zend_utility_values::import_use_extension_length"]
3023        [::std::mem::offset_of!(_zend_utility_values, import_use_extension_length) - 8usize];
3024    ["Offset of field: _zend_utility_values::html_errors"]
3025        [::std::mem::offset_of!(_zend_utility_values, html_errors) - 12usize];
3026};
3027pub type zend_utility_values = _zend_utility_values;
3028pub type zend_write_func_t = ::std::option::Option<
3029    unsafe extern "C" fn(
3030        str_: *const ::std::os::raw::c_char,
3031        str_length: uint,
3032    ) -> ::std::os::raw::c_int,
3033>;
3034extern "C" {
3035    pub fn zend_startup(
3036        utility_functions: *mut zend_utility_functions,
3037        extensions: *mut *mut ::std::os::raw::c_char,
3038    ) -> ::std::os::raw::c_int;
3039}
3040extern "C" {
3041    pub fn zend_shutdown();
3042}
3043extern "C" {
3044    pub fn zend_register_standard_ini_entries();
3045}
3046extern "C" {
3047    pub fn zend_post_startup();
3048}
3049extern "C" {
3050    pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
3051}
3052extern "C" {
3053    pub fn _zend_bailout(filename: *mut ::std::os::raw::c_char, lineno: uint);
3054}
3055extern "C" {
3056    pub fn zend_make_printable_zval(
3057        expr: *mut zval,
3058        expr_copy: *mut zval,
3059        use_copy: *mut ::std::os::raw::c_int,
3060    );
3061}
3062extern "C" {
3063    pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int)
3064        -> ::std::os::raw::c_int;
3065}
3066extern "C" {
3067    pub fn zend_print_zval_ex(
3068        write_func: zend_write_func_t,
3069        expr: *mut zval,
3070        indent: ::std::os::raw::c_int,
3071    ) -> ::std::os::raw::c_int;
3072}
3073extern "C" {
3074    pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
3075}
3076extern "C" {
3077    pub fn zend_print_flat_zval_r(expr: *mut zval);
3078}
3079extern "C" {
3080    pub fn zend_print_zval_r_ex(
3081        write_func: zend_write_func_t,
3082        expr: *mut zval,
3083        indent: ::std::os::raw::c_int,
3084    );
3085}
3086extern "C" {
3087    pub fn zend_output_debug_string(
3088        trigger_break: zend_bool,
3089        format: *const ::std::os::raw::c_char,
3090        ...
3091    );
3092}
3093extern "C" {
3094    pub fn zend_activate();
3095}
3096extern "C" {
3097    pub fn zend_deactivate();
3098}
3099extern "C" {
3100    pub fn zend_call_destructors();
3101}
3102extern "C" {
3103    pub fn zend_activate_modules();
3104}
3105extern "C" {
3106    pub fn zend_deactivate_modules();
3107}
3108extern "C" {
3109    pub fn zend_post_deactivate_modules();
3110}
3111extern "C" {
3112    pub static mut zend_printf: ::std::option::Option<
3113        unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int,
3114    >;
3115}
3116extern "C" {
3117    pub static mut zend_write: zend_write_func_t;
3118}
3119extern "C" {
3120    pub static mut zend_fopen: ::std::option::Option<
3121        unsafe extern "C" fn(
3122            filename: *const ::std::os::raw::c_char,
3123            opened_path: *mut *mut ::std::os::raw::c_char,
3124        ) -> *mut FILE,
3125    >;
3126}
3127extern "C" {
3128    pub static mut zend_block_interruptions: ::std::option::Option<unsafe extern "C" fn()>;
3129}
3130extern "C" {
3131    pub static mut zend_unblock_interruptions: ::std::option::Option<unsafe extern "C" fn()>;
3132}
3133extern "C" {
3134    pub static mut zend_ticks_function:
3135        ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
3136}
3137extern "C" {
3138    pub static mut zend_error_cb: ::std::option::Option<
3139        unsafe extern "C" fn(
3140            type_: ::std::os::raw::c_int,
3141            error_filename: *const ::std::os::raw::c_char,
3142            error_lineno: uint,
3143            format: *const ::std::os::raw::c_char,
3144            args: *mut __va_list_tag,
3145        ),
3146    >;
3147}
3148extern "C" {
3149    pub static mut zend_on_timeout:
3150        ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
3151}
3152extern "C" {
3153    pub static mut zend_stream_open_function: ::std::option::Option<
3154        unsafe extern "C" fn(
3155            filename: *const ::std::os::raw::c_char,
3156            handle: *mut zend_file_handle,
3157        ) -> ::std::os::raw::c_int,
3158    >;
3159}
3160extern "C" {
3161    pub static mut zend_vspprintf: ::std::option::Option<
3162        unsafe extern "C" fn(
3163            pbuf: *mut *mut ::std::os::raw::c_char,
3164            max_len: usize,
3165            format: *const ::std::os::raw::c_char,
3166            ap: *mut __va_list_tag,
3167        ) -> ::std::os::raw::c_int,
3168    >;
3169}
3170extern "C" {
3171    pub static mut zend_getenv: ::std::option::Option<
3172        unsafe extern "C" fn(
3173            name: *mut ::std::os::raw::c_char,
3174            name_len: usize,
3175        ) -> *mut ::std::os::raw::c_char,
3176    >;
3177}
3178extern "C" {
3179    pub static mut zend_resolve_path: ::std::option::Option<
3180        unsafe extern "C" fn(
3181            filename: *const ::std::os::raw::c_char,
3182            filename_len: ::std::os::raw::c_int,
3183        ) -> *mut ::std::os::raw::c_char,
3184    >;
3185}
3186extern "C" {
3187    pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
3188}
3189extern "C" {
3190    pub fn zenderror(error: *const ::std::os::raw::c_char);
3191}
3192extern "C" {
3193    pub static mut zend_standard_class_def: *mut zend_class_entry;
3194}
3195extern "C" {
3196    pub static mut zend_uv: zend_utility_values;
3197}
3198extern "C" {
3199    pub static mut zval_used_for_init: zval;
3200}
3201extern "C" {
3202    pub fn zend_message_dispatcher(
3203        message: ::std::os::raw::c_long,
3204        data: *const ::std::os::raw::c_void,
3205    );
3206}
3207extern "C" {
3208    pub fn zend_get_configuration_directive(
3209        name: *const ::std::os::raw::c_char,
3210        name_length: uint,
3211        contents: *mut zval,
3212    ) -> ::std::os::raw::c_int;
3213}
3214#[repr(C)]
3215#[derive(Copy, Clone)]
3216pub struct _gc_root_buffer {
3217    pub prev: *mut _gc_root_buffer,
3218    pub next: *mut _gc_root_buffer,
3219    pub handle: zend_object_handle,
3220    pub u: _gc_root_buffer__bindgen_ty_1,
3221}
3222#[repr(C)]
3223#[derive(Copy, Clone)]
3224pub union _gc_root_buffer__bindgen_ty_1 {
3225    pub pz: *mut zval,
3226    pub handlers: *const zend_object_handlers,
3227}
3228#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3229const _: () = {
3230    ["Size of _gc_root_buffer__bindgen_ty_1"]
3231        [::std::mem::size_of::<_gc_root_buffer__bindgen_ty_1>() - 8usize];
3232    ["Alignment of _gc_root_buffer__bindgen_ty_1"]
3233        [::std::mem::align_of::<_gc_root_buffer__bindgen_ty_1>() - 8usize];
3234    ["Offset of field: _gc_root_buffer__bindgen_ty_1::pz"]
3235        [::std::mem::offset_of!(_gc_root_buffer__bindgen_ty_1, pz) - 0usize];
3236    ["Offset of field: _gc_root_buffer__bindgen_ty_1::handlers"]
3237        [::std::mem::offset_of!(_gc_root_buffer__bindgen_ty_1, handlers) - 0usize];
3238};
3239#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3240const _: () = {
3241    ["Size of _gc_root_buffer"][::std::mem::size_of::<_gc_root_buffer>() - 32usize];
3242    ["Alignment of _gc_root_buffer"][::std::mem::align_of::<_gc_root_buffer>() - 8usize];
3243    ["Offset of field: _gc_root_buffer::prev"]
3244        [::std::mem::offset_of!(_gc_root_buffer, prev) - 0usize];
3245    ["Offset of field: _gc_root_buffer::next"]
3246        [::std::mem::offset_of!(_gc_root_buffer, next) - 8usize];
3247    ["Offset of field: _gc_root_buffer::handle"]
3248        [::std::mem::offset_of!(_gc_root_buffer, handle) - 16usize];
3249    ["Offset of field: _gc_root_buffer::u"][::std::mem::offset_of!(_gc_root_buffer, u) - 24usize];
3250};
3251pub type gc_root_buffer = _gc_root_buffer;
3252#[repr(C)]
3253#[derive(Copy, Clone)]
3254pub struct _zval_gc_info {
3255    pub z: zval,
3256    pub u: _zval_gc_info__bindgen_ty_1,
3257}
3258#[repr(C)]
3259#[derive(Copy, Clone)]
3260pub union _zval_gc_info__bindgen_ty_1 {
3261    pub buffered: *mut gc_root_buffer,
3262    pub next: *mut _zval_gc_info,
3263}
3264#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3265const _: () = {
3266    ["Size of _zval_gc_info__bindgen_ty_1"]
3267        [::std::mem::size_of::<_zval_gc_info__bindgen_ty_1>() - 8usize];
3268    ["Alignment of _zval_gc_info__bindgen_ty_1"]
3269        [::std::mem::align_of::<_zval_gc_info__bindgen_ty_1>() - 8usize];
3270    ["Offset of field: _zval_gc_info__bindgen_ty_1::buffered"]
3271        [::std::mem::offset_of!(_zval_gc_info__bindgen_ty_1, buffered) - 0usize];
3272    ["Offset of field: _zval_gc_info__bindgen_ty_1::next"]
3273        [::std::mem::offset_of!(_zval_gc_info__bindgen_ty_1, next) - 0usize];
3274};
3275#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3276const _: () = {
3277    ["Size of _zval_gc_info"][::std::mem::size_of::<_zval_gc_info>() - 32usize];
3278    ["Alignment of _zval_gc_info"][::std::mem::align_of::<_zval_gc_info>() - 8usize];
3279    ["Offset of field: _zval_gc_info::z"][::std::mem::offset_of!(_zval_gc_info, z) - 0usize];
3280    ["Offset of field: _zval_gc_info::u"][::std::mem::offset_of!(_zval_gc_info, u) - 24usize];
3281};
3282pub type zval_gc_info = _zval_gc_info;
3283#[repr(C)]
3284#[derive(Copy, Clone)]
3285pub struct _zend_gc_globals {
3286    pub gc_enabled: zend_bool,
3287    pub gc_active: zend_bool,
3288    pub buf: *mut gc_root_buffer,
3289    pub roots: gc_root_buffer,
3290    pub unused: *mut gc_root_buffer,
3291    pub first_unused: *mut gc_root_buffer,
3292    pub last_unused: *mut gc_root_buffer,
3293    pub zval_to_free: *mut zval_gc_info,
3294    pub free_list: *mut zval_gc_info,
3295    pub next_to_free: *mut zval_gc_info,
3296    pub gc_runs: zend_uint,
3297    pub collected: zend_uint,
3298}
3299#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3300const _: () = {
3301    ["Size of _zend_gc_globals"][::std::mem::size_of::<_zend_gc_globals>() - 104usize];
3302    ["Alignment of _zend_gc_globals"][::std::mem::align_of::<_zend_gc_globals>() - 8usize];
3303    ["Offset of field: _zend_gc_globals::gc_enabled"]
3304        [::std::mem::offset_of!(_zend_gc_globals, gc_enabled) - 0usize];
3305    ["Offset of field: _zend_gc_globals::gc_active"]
3306        [::std::mem::offset_of!(_zend_gc_globals, gc_active) - 1usize];
3307    ["Offset of field: _zend_gc_globals::buf"]
3308        [::std::mem::offset_of!(_zend_gc_globals, buf) - 8usize];
3309    ["Offset of field: _zend_gc_globals::roots"]
3310        [::std::mem::offset_of!(_zend_gc_globals, roots) - 16usize];
3311    ["Offset of field: _zend_gc_globals::unused"]
3312        [::std::mem::offset_of!(_zend_gc_globals, unused) - 48usize];
3313    ["Offset of field: _zend_gc_globals::first_unused"]
3314        [::std::mem::offset_of!(_zend_gc_globals, first_unused) - 56usize];
3315    ["Offset of field: _zend_gc_globals::last_unused"]
3316        [::std::mem::offset_of!(_zend_gc_globals, last_unused) - 64usize];
3317    ["Offset of field: _zend_gc_globals::zval_to_free"]
3318        [::std::mem::offset_of!(_zend_gc_globals, zval_to_free) - 72usize];
3319    ["Offset of field: _zend_gc_globals::free_list"]
3320        [::std::mem::offset_of!(_zend_gc_globals, free_list) - 80usize];
3321    ["Offset of field: _zend_gc_globals::next_to_free"]
3322        [::std::mem::offset_of!(_zend_gc_globals, next_to_free) - 88usize];
3323    ["Offset of field: _zend_gc_globals::gc_runs"]
3324        [::std::mem::offset_of!(_zend_gc_globals, gc_runs) - 96usize];
3325    ["Offset of field: _zend_gc_globals::collected"]
3326        [::std::mem::offset_of!(_zend_gc_globals, collected) - 100usize];
3327};
3328pub type zend_gc_globals = _zend_gc_globals;
3329extern "C" {
3330    pub static mut gc_globals: zend_gc_globals;
3331}
3332extern "C" {
3333    pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
3334}
3335extern "C" {
3336    pub fn zend_dtoa(
3337        _d: f64,
3338        mode: ::std::os::raw::c_int,
3339        ndigits: ::std::os::raw::c_int,
3340        decpt: *mut ::std::os::raw::c_int,
3341        sign: *mut ::std::os::raw::c_int,
3342        rve: *mut *mut ::std::os::raw::c_char,
3343    ) -> *mut ::std::os::raw::c_char;
3344}
3345extern "C" {
3346    pub fn zend_strtod(
3347        s00: *const ::std::os::raw::c_char,
3348        se: *mut *const ::std::os::raw::c_char,
3349    ) -> f64;
3350}
3351extern "C" {
3352    pub fn zend_hex_strtod(
3353        str_: *const ::std::os::raw::c_char,
3354        endptr: *mut *const ::std::os::raw::c_char,
3355    ) -> f64;
3356}
3357extern "C" {
3358    pub fn zend_oct_strtod(
3359        str_: *const ::std::os::raw::c_char,
3360        endptr: *mut *const ::std::os::raw::c_char,
3361    ) -> f64;
3362}
3363extern "C" {
3364    pub fn zend_bin_strtod(
3365        str_: *const ::std::os::raw::c_char,
3366        endptr: *mut *const ::std::os::raw::c_char,
3367    ) -> f64;
3368}
3369extern "C" {
3370    pub fn zend_startup_strtod() -> ::std::os::raw::c_int;
3371}
3372extern "C" {
3373    pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
3374}
3375extern "C" {
3376    pub fn zend_string_to_double(number: *const ::std::os::raw::c_char, length: zend_uint) -> f64;
3377}
3378extern "C" {
3379    pub fn zend_str_tolower(str_: *mut ::std::os::raw::c_char, length: ::std::os::raw::c_uint);
3380}
3381extern "C" {
3382    pub fn zend_str_tolower_copy(
3383        dest: *mut ::std::os::raw::c_char,
3384        source: *const ::std::os::raw::c_char,
3385        length: ::std::os::raw::c_uint,
3386    ) -> *mut ::std::os::raw::c_char;
3387}
3388extern "C" {
3389    pub fn zend_str_tolower_dup(
3390        source: *const ::std::os::raw::c_char,
3391        length: ::std::os::raw::c_uint,
3392    ) -> *mut ::std::os::raw::c_char;
3393}
3394extern "C" {
3395    pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
3396}
3397extern "C" {
3398    pub fn zend_binary_zval_strncmp(
3399        s1: *mut zval,
3400        s2: *mut zval,
3401        s3: *mut zval,
3402    ) -> ::std::os::raw::c_int;
3403}
3404extern "C" {
3405    pub fn zend_binary_zval_strcasecmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
3406}
3407extern "C" {
3408    pub fn zend_binary_zval_strncasecmp(
3409        s1: *mut zval,
3410        s2: *mut zval,
3411        s3: *mut zval,
3412    ) -> ::std::os::raw::c_int;
3413}
3414extern "C" {
3415    pub fn zend_binary_strcmp(
3416        s1: *const ::std::os::raw::c_char,
3417        len1: uint,
3418        s2: *const ::std::os::raw::c_char,
3419        len2: uint,
3420    ) -> ::std::os::raw::c_int;
3421}
3422extern "C" {
3423    pub fn zend_binary_strncmp(
3424        s1: *const ::std::os::raw::c_char,
3425        len1: uint,
3426        s2: *const ::std::os::raw::c_char,
3427        len2: uint,
3428        length: uint,
3429    ) -> ::std::os::raw::c_int;
3430}
3431extern "C" {
3432    pub fn zend_binary_strcasecmp(
3433        s1: *const ::std::os::raw::c_char,
3434        len1: uint,
3435        s2: *const ::std::os::raw::c_char,
3436        len2: uint,
3437    ) -> ::std::os::raw::c_int;
3438}
3439extern "C" {
3440    pub fn zend_binary_strncasecmp(
3441        s1: *const ::std::os::raw::c_char,
3442        len1: uint,
3443        s2: *const ::std::os::raw::c_char,
3444        len2: uint,
3445        length: uint,
3446    ) -> ::std::os::raw::c_int;
3447}
3448extern "C" {
3449    pub fn zendi_smart_strcmp(result: *mut zval, s1: *mut zval, s2: *mut zval);
3450}
3451extern "C" {
3452    pub fn zend_compare_symbol_tables(result: *mut zval, ht1: *mut HashTable, ht2: *mut HashTable);
3453}
3454extern "C" {
3455    pub fn zend_compare_arrays(result: *mut zval, a1: *mut zval, a2: *mut zval);
3456}
3457extern "C" {
3458    pub fn zend_compare_objects(result: *mut zval, o1: *mut zval, o2: *mut zval);
3459}
3460extern "C" {
3461    pub fn zend_atoi(
3462        str_: *const ::std::os::raw::c_char,
3463        str_len: ::std::os::raw::c_int,
3464    ) -> ::std::os::raw::c_int;
3465}
3466extern "C" {
3467    pub fn zend_atol(
3468        str_: *const ::std::os::raw::c_char,
3469        str_len: ::std::os::raw::c_int,
3470    ) -> ::std::os::raw::c_long;
3471}
3472extern "C" {
3473    pub fn zend_locale_sprintf_double(op: *mut zval);
3474}
3475extern "C" {
3476    pub fn zend_print_variable(var: *mut zval) -> ::std::os::raw::c_int;
3477}
3478pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
3479pub const zend_error_handling_t_EH_SUPPRESS: zend_error_handling_t = 1;
3480pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 2;
3481pub type zend_error_handling_t = ::std::os::raw::c_uint;
3482#[repr(C)]
3483#[derive(Debug, Copy, Clone)]
3484pub struct zend_error_handling {
3485    pub handling: zend_error_handling_t,
3486    pub exception: *mut zend_class_entry,
3487    pub user_handler: *mut zval,
3488}
3489#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3490const _: () = {
3491    ["Size of zend_error_handling"][::std::mem::size_of::<zend_error_handling>() - 24usize];
3492    ["Alignment of zend_error_handling"][::std::mem::align_of::<zend_error_handling>() - 8usize];
3493    ["Offset of field: zend_error_handling::handling"]
3494        [::std::mem::offset_of!(zend_error_handling, handling) - 0usize];
3495    ["Offset of field: zend_error_handling::exception"]
3496        [::std::mem::offset_of!(zend_error_handling, exception) - 8usize];
3497    ["Offset of field: zend_error_handling::user_handler"]
3498        [::std::mem::offset_of!(zend_error_handling, user_handler) - 16usize];
3499};
3500extern "C" {
3501    pub fn zend_save_error_handling(current: *mut zend_error_handling);
3502}
3503extern "C" {
3504    pub fn zend_replace_error_handling(
3505        error_handling: zend_error_handling_t,
3506        exception_class: *mut zend_class_entry,
3507        current: *mut zend_error_handling,
3508    );
3509}
3510extern "C" {
3511    pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
3512}
3513extern "C" {
3514    pub fn zend_qsort(
3515        base: *mut ::std::os::raw::c_void,
3516        nmemb: usize,
3517        siz: usize,
3518        compare: compare_func_t,
3519    );
3520}
3521pub type zend_op_array = _zend_op_array;
3522pub type zend_op = _zend_op;
3523#[repr(C)]
3524#[derive(Debug, Copy, Clone)]
3525pub struct _zend_compiler_context {
3526    pub opcodes_size: zend_uint,
3527    pub vars_size: ::std::os::raw::c_int,
3528    pub literals_size: ::std::os::raw::c_int,
3529    pub current_brk_cont: ::std::os::raw::c_int,
3530    pub backpatch_count: ::std::os::raw::c_int,
3531    pub labels: *mut HashTable,
3532}
3533#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3534const _: () = {
3535    ["Size of _zend_compiler_context"][::std::mem::size_of::<_zend_compiler_context>() - 32usize];
3536    ["Alignment of _zend_compiler_context"]
3537        [::std::mem::align_of::<_zend_compiler_context>() - 8usize];
3538    ["Offset of field: _zend_compiler_context::opcodes_size"]
3539        [::std::mem::offset_of!(_zend_compiler_context, opcodes_size) - 0usize];
3540    ["Offset of field: _zend_compiler_context::vars_size"]
3541        [::std::mem::offset_of!(_zend_compiler_context, vars_size) - 4usize];
3542    ["Offset of field: _zend_compiler_context::literals_size"]
3543        [::std::mem::offset_of!(_zend_compiler_context, literals_size) - 8usize];
3544    ["Offset of field: _zend_compiler_context::current_brk_cont"]
3545        [::std::mem::offset_of!(_zend_compiler_context, current_brk_cont) - 12usize];
3546    ["Offset of field: _zend_compiler_context::backpatch_count"]
3547        [::std::mem::offset_of!(_zend_compiler_context, backpatch_count) - 16usize];
3548    ["Offset of field: _zend_compiler_context::labels"]
3549        [::std::mem::offset_of!(_zend_compiler_context, labels) - 24usize];
3550};
3551pub type zend_compiler_context = _zend_compiler_context;
3552#[repr(C)]
3553#[derive(Copy, Clone)]
3554pub struct _zend_literal {
3555    pub constant: zval,
3556    pub hash_value: zend_ulong,
3557    pub cache_slot: zend_uint,
3558}
3559#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3560const _: () = {
3561    ["Size of _zend_literal"][::std::mem::size_of::<_zend_literal>() - 40usize];
3562    ["Alignment of _zend_literal"][::std::mem::align_of::<_zend_literal>() - 8usize];
3563    ["Offset of field: _zend_literal::constant"]
3564        [::std::mem::offset_of!(_zend_literal, constant) - 0usize];
3565    ["Offset of field: _zend_literal::hash_value"]
3566        [::std::mem::offset_of!(_zend_literal, hash_value) - 24usize];
3567    ["Offset of field: _zend_literal::cache_slot"]
3568        [::std::mem::offset_of!(_zend_literal, cache_slot) - 32usize];
3569};
3570pub type zend_literal = _zend_literal;
3571#[repr(C)]
3572#[derive(Copy, Clone)]
3573pub union _znode_op {
3574    pub constant: zend_uint,
3575    pub var: zend_uint,
3576    pub num: zend_uint,
3577    pub hash: zend_ulong,
3578    pub opline_num: zend_uint,
3579    pub jmp_addr: *mut zend_op,
3580    pub zv: *mut zval,
3581    pub literal: *mut zend_literal,
3582    pub ptr: *mut ::std::os::raw::c_void,
3583}
3584#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3585const _: () = {
3586    ["Size of _znode_op"][::std::mem::size_of::<_znode_op>() - 8usize];
3587    ["Alignment of _znode_op"][::std::mem::align_of::<_znode_op>() - 8usize];
3588    ["Offset of field: _znode_op::constant"][::std::mem::offset_of!(_znode_op, constant) - 0usize];
3589    ["Offset of field: _znode_op::var"][::std::mem::offset_of!(_znode_op, var) - 0usize];
3590    ["Offset of field: _znode_op::num"][::std::mem::offset_of!(_znode_op, num) - 0usize];
3591    ["Offset of field: _znode_op::hash"][::std::mem::offset_of!(_znode_op, hash) - 0usize];
3592    ["Offset of field: _znode_op::opline_num"]
3593        [::std::mem::offset_of!(_znode_op, opline_num) - 0usize];
3594    ["Offset of field: _znode_op::jmp_addr"][::std::mem::offset_of!(_znode_op, jmp_addr) - 0usize];
3595    ["Offset of field: _znode_op::zv"][::std::mem::offset_of!(_znode_op, zv) - 0usize];
3596    ["Offset of field: _znode_op::literal"][::std::mem::offset_of!(_znode_op, literal) - 0usize];
3597    ["Offset of field: _znode_op::ptr"][::std::mem::offset_of!(_znode_op, ptr) - 0usize];
3598};
3599pub type znode_op = _znode_op;
3600#[repr(C)]
3601#[derive(Copy, Clone)]
3602pub struct _znode {
3603    pub op_type: ::std::os::raw::c_int,
3604    pub u: _znode__bindgen_ty_1,
3605    pub EA: zend_uint,
3606}
3607#[repr(C)]
3608#[derive(Copy, Clone)]
3609pub union _znode__bindgen_ty_1 {
3610    pub op: znode_op,
3611    pub constant: zval,
3612    pub op_array: *mut zend_op_array,
3613}
3614#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3615const _: () = {
3616    ["Size of _znode__bindgen_ty_1"][::std::mem::size_of::<_znode__bindgen_ty_1>() - 24usize];
3617    ["Alignment of _znode__bindgen_ty_1"][::std::mem::align_of::<_znode__bindgen_ty_1>() - 8usize];
3618    ["Offset of field: _znode__bindgen_ty_1::op"]
3619        [::std::mem::offset_of!(_znode__bindgen_ty_1, op) - 0usize];
3620    ["Offset of field: _znode__bindgen_ty_1::constant"]
3621        [::std::mem::offset_of!(_znode__bindgen_ty_1, constant) - 0usize];
3622    ["Offset of field: _znode__bindgen_ty_1::op_array"]
3623        [::std::mem::offset_of!(_znode__bindgen_ty_1, op_array) - 0usize];
3624};
3625#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3626const _: () = {
3627    ["Size of _znode"][::std::mem::size_of::<_znode>() - 40usize];
3628    ["Alignment of _znode"][::std::mem::align_of::<_znode>() - 8usize];
3629    ["Offset of field: _znode::op_type"][::std::mem::offset_of!(_znode, op_type) - 0usize];
3630    ["Offset of field: _znode::u"][::std::mem::offset_of!(_znode, u) - 8usize];
3631    ["Offset of field: _znode::EA"][::std::mem::offset_of!(_znode, EA) - 32usize];
3632};
3633pub type znode = _znode;
3634pub type zend_execute_data = _zend_execute_data;
3635pub type user_opcode_handler_t = ::std::option::Option<
3636    unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
3637>;
3638pub type opcode_handler_t = ::std::option::Option<
3639    unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
3640>;
3641extern "C" {
3642    pub static mut zend_opcode_handlers: *mut opcode_handler_t;
3643}
3644#[repr(C)]
3645#[derive(Copy, Clone)]
3646pub struct _zend_op {
3647    pub handler: opcode_handler_t,
3648    pub op1: znode_op,
3649    pub op2: znode_op,
3650    pub result: znode_op,
3651    pub extended_value: ulong,
3652    pub lineno: uint,
3653    pub opcode: zend_uchar,
3654    pub op1_type: zend_uchar,
3655    pub op2_type: zend_uchar,
3656    pub result_type: zend_uchar,
3657}
3658#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3659const _: () = {
3660    ["Size of _zend_op"][::std::mem::size_of::<_zend_op>() - 48usize];
3661    ["Alignment of _zend_op"][::std::mem::align_of::<_zend_op>() - 8usize];
3662    ["Offset of field: _zend_op::handler"][::std::mem::offset_of!(_zend_op, handler) - 0usize];
3663    ["Offset of field: _zend_op::op1"][::std::mem::offset_of!(_zend_op, op1) - 8usize];
3664    ["Offset of field: _zend_op::op2"][::std::mem::offset_of!(_zend_op, op2) - 16usize];
3665    ["Offset of field: _zend_op::result"][::std::mem::offset_of!(_zend_op, result) - 24usize];
3666    ["Offset of field: _zend_op::extended_value"]
3667        [::std::mem::offset_of!(_zend_op, extended_value) - 32usize];
3668    ["Offset of field: _zend_op::lineno"][::std::mem::offset_of!(_zend_op, lineno) - 40usize];
3669    ["Offset of field: _zend_op::opcode"][::std::mem::offset_of!(_zend_op, opcode) - 44usize];
3670    ["Offset of field: _zend_op::op1_type"][::std::mem::offset_of!(_zend_op, op1_type) - 45usize];
3671    ["Offset of field: _zend_op::op2_type"][::std::mem::offset_of!(_zend_op, op2_type) - 46usize];
3672    ["Offset of field: _zend_op::result_type"]
3673        [::std::mem::offset_of!(_zend_op, result_type) - 47usize];
3674};
3675#[repr(C)]
3676#[derive(Debug, Copy, Clone)]
3677pub struct _zend_brk_cont_element {
3678    pub start: ::std::os::raw::c_int,
3679    pub cont: ::std::os::raw::c_int,
3680    pub brk: ::std::os::raw::c_int,
3681    pub parent: ::std::os::raw::c_int,
3682}
3683#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3684const _: () = {
3685    ["Size of _zend_brk_cont_element"][::std::mem::size_of::<_zend_brk_cont_element>() - 16usize];
3686    ["Alignment of _zend_brk_cont_element"]
3687        [::std::mem::align_of::<_zend_brk_cont_element>() - 4usize];
3688    ["Offset of field: _zend_brk_cont_element::start"]
3689        [::std::mem::offset_of!(_zend_brk_cont_element, start) - 0usize];
3690    ["Offset of field: _zend_brk_cont_element::cont"]
3691        [::std::mem::offset_of!(_zend_brk_cont_element, cont) - 4usize];
3692    ["Offset of field: _zend_brk_cont_element::brk"]
3693        [::std::mem::offset_of!(_zend_brk_cont_element, brk) - 8usize];
3694    ["Offset of field: _zend_brk_cont_element::parent"]
3695        [::std::mem::offset_of!(_zend_brk_cont_element, parent) - 12usize];
3696};
3697pub type zend_brk_cont_element = _zend_brk_cont_element;
3698#[repr(C)]
3699#[derive(Debug, Copy, Clone)]
3700pub struct _zend_label {
3701    pub brk_cont: ::std::os::raw::c_int,
3702    pub opline_num: zend_uint,
3703}
3704#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3705const _: () = {
3706    ["Size of _zend_label"][::std::mem::size_of::<_zend_label>() - 8usize];
3707    ["Alignment of _zend_label"][::std::mem::align_of::<_zend_label>() - 4usize];
3708    ["Offset of field: _zend_label::brk_cont"]
3709        [::std::mem::offset_of!(_zend_label, brk_cont) - 0usize];
3710    ["Offset of field: _zend_label::opline_num"]
3711        [::std::mem::offset_of!(_zend_label, opline_num) - 4usize];
3712};
3713pub type zend_label = _zend_label;
3714#[repr(C)]
3715#[derive(Debug, Copy, Clone)]
3716pub struct _zend_try_catch_element {
3717    pub try_op: zend_uint,
3718    pub catch_op: zend_uint,
3719}
3720#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3721const _: () = {
3722    ["Size of _zend_try_catch_element"][::std::mem::size_of::<_zend_try_catch_element>() - 8usize];
3723    ["Alignment of _zend_try_catch_element"]
3724        [::std::mem::align_of::<_zend_try_catch_element>() - 4usize];
3725    ["Offset of field: _zend_try_catch_element::try_op"]
3726        [::std::mem::offset_of!(_zend_try_catch_element, try_op) - 0usize];
3727    ["Offset of field: _zend_try_catch_element::catch_op"]
3728        [::std::mem::offset_of!(_zend_try_catch_element, catch_op) - 4usize];
3729};
3730pub type zend_try_catch_element = _zend_try_catch_element;
3731extern "C" {
3732    pub fn zend_visibility_string(fn_flags: zend_uint) -> *mut ::std::os::raw::c_char;
3733}
3734#[repr(C)]
3735#[derive(Debug, Copy, Clone)]
3736pub struct _zend_property_info {
3737    pub flags: zend_uint,
3738    pub name: *const ::std::os::raw::c_char,
3739    pub name_length: ::std::os::raw::c_int,
3740    pub h: ulong,
3741    pub offset: ::std::os::raw::c_int,
3742    pub doc_comment: *const ::std::os::raw::c_char,
3743    pub doc_comment_len: ::std::os::raw::c_int,
3744    pub ce: *mut zend_class_entry,
3745}
3746#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3747const _: () = {
3748    ["Size of _zend_property_info"][::std::mem::size_of::<_zend_property_info>() - 64usize];
3749    ["Alignment of _zend_property_info"][::std::mem::align_of::<_zend_property_info>() - 8usize];
3750    ["Offset of field: _zend_property_info::flags"]
3751        [::std::mem::offset_of!(_zend_property_info, flags) - 0usize];
3752    ["Offset of field: _zend_property_info::name"]
3753        [::std::mem::offset_of!(_zend_property_info, name) - 8usize];
3754    ["Offset of field: _zend_property_info::name_length"]
3755        [::std::mem::offset_of!(_zend_property_info, name_length) - 16usize];
3756    ["Offset of field: _zend_property_info::h"]
3757        [::std::mem::offset_of!(_zend_property_info, h) - 24usize];
3758    ["Offset of field: _zend_property_info::offset"]
3759        [::std::mem::offset_of!(_zend_property_info, offset) - 32usize];
3760    ["Offset of field: _zend_property_info::doc_comment"]
3761        [::std::mem::offset_of!(_zend_property_info, doc_comment) - 40usize];
3762    ["Offset of field: _zend_property_info::doc_comment_len"]
3763        [::std::mem::offset_of!(_zend_property_info, doc_comment_len) - 48usize];
3764    ["Offset of field: _zend_property_info::ce"]
3765        [::std::mem::offset_of!(_zend_property_info, ce) - 56usize];
3766};
3767pub type zend_property_info = _zend_property_info;
3768#[repr(C)]
3769#[derive(Debug, Copy, Clone)]
3770pub struct _zend_arg_info {
3771    pub name: *const ::std::os::raw::c_char,
3772    pub name_len: zend_uint,
3773    pub class_name: *const ::std::os::raw::c_char,
3774    pub class_name_len: zend_uint,
3775    pub type_hint: zend_uchar,
3776    pub allow_null: zend_bool,
3777    pub pass_by_reference: zend_bool,
3778}
3779#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3780const _: () = {
3781    ["Size of _zend_arg_info"][::std::mem::size_of::<_zend_arg_info>() - 32usize];
3782    ["Alignment of _zend_arg_info"][::std::mem::align_of::<_zend_arg_info>() - 8usize];
3783    ["Offset of field: _zend_arg_info::name"]
3784        [::std::mem::offset_of!(_zend_arg_info, name) - 0usize];
3785    ["Offset of field: _zend_arg_info::name_len"]
3786        [::std::mem::offset_of!(_zend_arg_info, name_len) - 8usize];
3787    ["Offset of field: _zend_arg_info::class_name"]
3788        [::std::mem::offset_of!(_zend_arg_info, class_name) - 16usize];
3789    ["Offset of field: _zend_arg_info::class_name_len"]
3790        [::std::mem::offset_of!(_zend_arg_info, class_name_len) - 24usize];
3791    ["Offset of field: _zend_arg_info::type_hint"]
3792        [::std::mem::offset_of!(_zend_arg_info, type_hint) - 28usize];
3793    ["Offset of field: _zend_arg_info::allow_null"]
3794        [::std::mem::offset_of!(_zend_arg_info, allow_null) - 29usize];
3795    ["Offset of field: _zend_arg_info::pass_by_reference"]
3796        [::std::mem::offset_of!(_zend_arg_info, pass_by_reference) - 30usize];
3797};
3798pub type zend_arg_info = _zend_arg_info;
3799#[repr(C)]
3800#[derive(Debug, Copy, Clone)]
3801pub struct _zend_internal_function_info {
3802    pub _name: *const ::std::os::raw::c_char,
3803    pub _name_len: zend_uint,
3804    pub _class_name: *const ::std::os::raw::c_char,
3805    pub required_num_args: zend_uint,
3806    pub _type_hint: zend_uchar,
3807    pub return_reference: zend_bool,
3808    pub pass_rest_by_reference: zend_bool,
3809}
3810#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3811const _: () = {
3812    ["Size of _zend_internal_function_info"]
3813        [::std::mem::size_of::<_zend_internal_function_info>() - 32usize];
3814    ["Alignment of _zend_internal_function_info"]
3815        [::std::mem::align_of::<_zend_internal_function_info>() - 8usize];
3816    ["Offset of field: _zend_internal_function_info::_name"]
3817        [::std::mem::offset_of!(_zend_internal_function_info, _name) - 0usize];
3818    ["Offset of field: _zend_internal_function_info::_name_len"]
3819        [::std::mem::offset_of!(_zend_internal_function_info, _name_len) - 8usize];
3820    ["Offset of field: _zend_internal_function_info::_class_name"]
3821        [::std::mem::offset_of!(_zend_internal_function_info, _class_name) - 16usize];
3822    ["Offset of field: _zend_internal_function_info::required_num_args"]
3823        [::std::mem::offset_of!(_zend_internal_function_info, required_num_args) - 24usize];
3824    ["Offset of field: _zend_internal_function_info::_type_hint"]
3825        [::std::mem::offset_of!(_zend_internal_function_info, _type_hint) - 28usize];
3826    ["Offset of field: _zend_internal_function_info::return_reference"]
3827        [::std::mem::offset_of!(_zend_internal_function_info, return_reference) - 29usize];
3828    ["Offset of field: _zend_internal_function_info::pass_rest_by_reference"]
3829        [::std::mem::offset_of!(_zend_internal_function_info, pass_rest_by_reference) - 30usize];
3830};
3831pub type zend_internal_function_info = _zend_internal_function_info;
3832#[repr(C)]
3833#[derive(Debug, Copy, Clone)]
3834pub struct _zend_compiled_variable {
3835    pub name: *const ::std::os::raw::c_char,
3836    pub name_len: ::std::os::raw::c_int,
3837    pub hash_value: ulong,
3838}
3839#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3840const _: () = {
3841    ["Size of _zend_compiled_variable"][::std::mem::size_of::<_zend_compiled_variable>() - 24usize];
3842    ["Alignment of _zend_compiled_variable"]
3843        [::std::mem::align_of::<_zend_compiled_variable>() - 8usize];
3844    ["Offset of field: _zend_compiled_variable::name"]
3845        [::std::mem::offset_of!(_zend_compiled_variable, name) - 0usize];
3846    ["Offset of field: _zend_compiled_variable::name_len"]
3847        [::std::mem::offset_of!(_zend_compiled_variable, name_len) - 8usize];
3848    ["Offset of field: _zend_compiled_variable::hash_value"]
3849        [::std::mem::offset_of!(_zend_compiled_variable, hash_value) - 16usize];
3850};
3851pub type zend_compiled_variable = _zend_compiled_variable;
3852#[repr(C)]
3853#[derive(Debug, Copy, Clone)]
3854pub struct _zend_op_array {
3855    pub type_: zend_uchar,
3856    pub function_name: *const ::std::os::raw::c_char,
3857    pub scope: *mut zend_class_entry,
3858    pub fn_flags: zend_uint,
3859    pub prototype: *mut _zend_function,
3860    pub num_args: zend_uint,
3861    pub required_num_args: zend_uint,
3862    pub arg_info: *mut zend_arg_info,
3863    pub refcount: *mut zend_uint,
3864    pub opcodes: *mut zend_op,
3865    pub last: zend_uint,
3866    pub vars: *mut zend_compiled_variable,
3867    pub last_var: ::std::os::raw::c_int,
3868    pub T: zend_uint,
3869    pub brk_cont_array: *mut zend_brk_cont_element,
3870    pub last_brk_cont: ::std::os::raw::c_int,
3871    pub try_catch_array: *mut zend_try_catch_element,
3872    pub last_try_catch: ::std::os::raw::c_int,
3873    pub static_variables: *mut HashTable,
3874    pub this_var: zend_uint,
3875    pub filename: *const ::std::os::raw::c_char,
3876    pub line_start: zend_uint,
3877    pub line_end: zend_uint,
3878    pub doc_comment: *const ::std::os::raw::c_char,
3879    pub doc_comment_len: zend_uint,
3880    pub early_binding: zend_uint,
3881    pub literals: *mut zend_literal,
3882    pub last_literal: ::std::os::raw::c_int,
3883    pub run_time_cache: *mut *mut ::std::os::raw::c_void,
3884    pub last_cache_slot: ::std::os::raw::c_int,
3885    pub reserved: [*mut ::std::os::raw::c_void; 4usize],
3886}
3887#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3888const _: () = {
3889    ["Size of _zend_op_array"][::std::mem::size_of::<_zend_op_array>() - 240usize];
3890    ["Alignment of _zend_op_array"][::std::mem::align_of::<_zend_op_array>() - 8usize];
3891    ["Offset of field: _zend_op_array::type_"]
3892        [::std::mem::offset_of!(_zend_op_array, type_) - 0usize];
3893    ["Offset of field: _zend_op_array::function_name"]
3894        [::std::mem::offset_of!(_zend_op_array, function_name) - 8usize];
3895    ["Offset of field: _zend_op_array::scope"]
3896        [::std::mem::offset_of!(_zend_op_array, scope) - 16usize];
3897    ["Offset of field: _zend_op_array::fn_flags"]
3898        [::std::mem::offset_of!(_zend_op_array, fn_flags) - 24usize];
3899    ["Offset of field: _zend_op_array::prototype"]
3900        [::std::mem::offset_of!(_zend_op_array, prototype) - 32usize];
3901    ["Offset of field: _zend_op_array::num_args"]
3902        [::std::mem::offset_of!(_zend_op_array, num_args) - 40usize];
3903    ["Offset of field: _zend_op_array::required_num_args"]
3904        [::std::mem::offset_of!(_zend_op_array, required_num_args) - 44usize];
3905    ["Offset of field: _zend_op_array::arg_info"]
3906        [::std::mem::offset_of!(_zend_op_array, arg_info) - 48usize];
3907    ["Offset of field: _zend_op_array::refcount"]
3908        [::std::mem::offset_of!(_zend_op_array, refcount) - 56usize];
3909    ["Offset of field: _zend_op_array::opcodes"]
3910        [::std::mem::offset_of!(_zend_op_array, opcodes) - 64usize];
3911    ["Offset of field: _zend_op_array::last"]
3912        [::std::mem::offset_of!(_zend_op_array, last) - 72usize];
3913    ["Offset of field: _zend_op_array::vars"]
3914        [::std::mem::offset_of!(_zend_op_array, vars) - 80usize];
3915    ["Offset of field: _zend_op_array::last_var"]
3916        [::std::mem::offset_of!(_zend_op_array, last_var) - 88usize];
3917    ["Offset of field: _zend_op_array::T"][::std::mem::offset_of!(_zend_op_array, T) - 92usize];
3918    ["Offset of field: _zend_op_array::brk_cont_array"]
3919        [::std::mem::offset_of!(_zend_op_array, brk_cont_array) - 96usize];
3920    ["Offset of field: _zend_op_array::last_brk_cont"]
3921        [::std::mem::offset_of!(_zend_op_array, last_brk_cont) - 104usize];
3922    ["Offset of field: _zend_op_array::try_catch_array"]
3923        [::std::mem::offset_of!(_zend_op_array, try_catch_array) - 112usize];
3924    ["Offset of field: _zend_op_array::last_try_catch"]
3925        [::std::mem::offset_of!(_zend_op_array, last_try_catch) - 120usize];
3926    ["Offset of field: _zend_op_array::static_variables"]
3927        [::std::mem::offset_of!(_zend_op_array, static_variables) - 128usize];
3928    ["Offset of field: _zend_op_array::this_var"]
3929        [::std::mem::offset_of!(_zend_op_array, this_var) - 136usize];
3930    ["Offset of field: _zend_op_array::filename"]
3931        [::std::mem::offset_of!(_zend_op_array, filename) - 144usize];
3932    ["Offset of field: _zend_op_array::line_start"]
3933        [::std::mem::offset_of!(_zend_op_array, line_start) - 152usize];
3934    ["Offset of field: _zend_op_array::line_end"]
3935        [::std::mem::offset_of!(_zend_op_array, line_end) - 156usize];
3936    ["Offset of field: _zend_op_array::doc_comment"]
3937        [::std::mem::offset_of!(_zend_op_array, doc_comment) - 160usize];
3938    ["Offset of field: _zend_op_array::doc_comment_len"]
3939        [::std::mem::offset_of!(_zend_op_array, doc_comment_len) - 168usize];
3940    ["Offset of field: _zend_op_array::early_binding"]
3941        [::std::mem::offset_of!(_zend_op_array, early_binding) - 172usize];
3942    ["Offset of field: _zend_op_array::literals"]
3943        [::std::mem::offset_of!(_zend_op_array, literals) - 176usize];
3944    ["Offset of field: _zend_op_array::last_literal"]
3945        [::std::mem::offset_of!(_zend_op_array, last_literal) - 184usize];
3946    ["Offset of field: _zend_op_array::run_time_cache"]
3947        [::std::mem::offset_of!(_zend_op_array, run_time_cache) - 192usize];
3948    ["Offset of field: _zend_op_array::last_cache_slot"]
3949        [::std::mem::offset_of!(_zend_op_array, last_cache_slot) - 200usize];
3950    ["Offset of field: _zend_op_array::reserved"]
3951        [::std::mem::offset_of!(_zend_op_array, reserved) - 208usize];
3952};
3953#[repr(C)]
3954#[derive(Debug, Copy, Clone)]
3955pub struct _zend_internal_function {
3956    pub type_: zend_uchar,
3957    pub function_name: *const ::std::os::raw::c_char,
3958    pub scope: *mut zend_class_entry,
3959    pub fn_flags: zend_uint,
3960    pub prototype: *mut _zend_function,
3961    pub num_args: zend_uint,
3962    pub required_num_args: zend_uint,
3963    pub arg_info: *mut zend_arg_info,
3964    pub handler: ::std::option::Option<
3965        unsafe extern "C" fn(
3966            ht: ::std::os::raw::c_int,
3967            return_value: *mut zval,
3968            return_value_ptr: *mut *mut zval,
3969            this_ptr: *mut zval,
3970            return_value_used: ::std::os::raw::c_int,
3971        ),
3972    >,
3973    pub module: *mut _zend_module_entry,
3974}
3975#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3976const _: () = {
3977    ["Size of _zend_internal_function"][::std::mem::size_of::<_zend_internal_function>() - 72usize];
3978    ["Alignment of _zend_internal_function"]
3979        [::std::mem::align_of::<_zend_internal_function>() - 8usize];
3980    ["Offset of field: _zend_internal_function::type_"]
3981        [::std::mem::offset_of!(_zend_internal_function, type_) - 0usize];
3982    ["Offset of field: _zend_internal_function::function_name"]
3983        [::std::mem::offset_of!(_zend_internal_function, function_name) - 8usize];
3984    ["Offset of field: _zend_internal_function::scope"]
3985        [::std::mem::offset_of!(_zend_internal_function, scope) - 16usize];
3986    ["Offset of field: _zend_internal_function::fn_flags"]
3987        [::std::mem::offset_of!(_zend_internal_function, fn_flags) - 24usize];
3988    ["Offset of field: _zend_internal_function::prototype"]
3989        [::std::mem::offset_of!(_zend_internal_function, prototype) - 32usize];
3990    ["Offset of field: _zend_internal_function::num_args"]
3991        [::std::mem::offset_of!(_zend_internal_function, num_args) - 40usize];
3992    ["Offset of field: _zend_internal_function::required_num_args"]
3993        [::std::mem::offset_of!(_zend_internal_function, required_num_args) - 44usize];
3994    ["Offset of field: _zend_internal_function::arg_info"]
3995        [::std::mem::offset_of!(_zend_internal_function, arg_info) - 48usize];
3996    ["Offset of field: _zend_internal_function::handler"]
3997        [::std::mem::offset_of!(_zend_internal_function, handler) - 56usize];
3998    ["Offset of field: _zend_internal_function::module"]
3999        [::std::mem::offset_of!(_zend_internal_function, module) - 64usize];
4000};
4001pub type zend_internal_function = _zend_internal_function;
4002#[repr(C)]
4003#[derive(Copy, Clone)]
4004pub union _zend_function {
4005    pub type_: zend_uchar,
4006    pub common: _zend_function__bindgen_ty_1,
4007    pub op_array: zend_op_array,
4008    pub internal_function: zend_internal_function,
4009}
4010#[repr(C)]
4011#[derive(Debug, Copy, Clone)]
4012pub struct _zend_function__bindgen_ty_1 {
4013    pub type_: zend_uchar,
4014    pub function_name: *const ::std::os::raw::c_char,
4015    pub scope: *mut zend_class_entry,
4016    pub fn_flags: zend_uint,
4017    pub prototype: *mut _zend_function,
4018    pub num_args: zend_uint,
4019    pub required_num_args: zend_uint,
4020    pub arg_info: *mut zend_arg_info,
4021}
4022#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4023const _: () = {
4024    ["Size of _zend_function__bindgen_ty_1"]
4025        [::std::mem::size_of::<_zend_function__bindgen_ty_1>() - 56usize];
4026    ["Alignment of _zend_function__bindgen_ty_1"]
4027        [::std::mem::align_of::<_zend_function__bindgen_ty_1>() - 8usize];
4028    ["Offset of field: _zend_function__bindgen_ty_1::type_"]
4029        [::std::mem::offset_of!(_zend_function__bindgen_ty_1, type_) - 0usize];
4030    ["Offset of field: _zend_function__bindgen_ty_1::function_name"]
4031        [::std::mem::offset_of!(_zend_function__bindgen_ty_1, function_name) - 8usize];
4032    ["Offset of field: _zend_function__bindgen_ty_1::scope"]
4033        [::std::mem::offset_of!(_zend_function__bindgen_ty_1, scope) - 16usize];
4034    ["Offset of field: _zend_function__bindgen_ty_1::fn_flags"]
4035        [::std::mem::offset_of!(_zend_function__bindgen_ty_1, fn_flags) - 24usize];
4036    ["Offset of field: _zend_function__bindgen_ty_1::prototype"]
4037        [::std::mem::offset_of!(_zend_function__bindgen_ty_1, prototype) - 32usize];
4038    ["Offset of field: _zend_function__bindgen_ty_1::num_args"]
4039        [::std::mem::offset_of!(_zend_function__bindgen_ty_1, num_args) - 40usize];
4040    ["Offset of field: _zend_function__bindgen_ty_1::required_num_args"]
4041        [::std::mem::offset_of!(_zend_function__bindgen_ty_1, required_num_args) - 44usize];
4042    ["Offset of field: _zend_function__bindgen_ty_1::arg_info"]
4043        [::std::mem::offset_of!(_zend_function__bindgen_ty_1, arg_info) - 48usize];
4044};
4045#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4046const _: () = {
4047    ["Size of _zend_function"][::std::mem::size_of::<_zend_function>() - 240usize];
4048    ["Alignment of _zend_function"][::std::mem::align_of::<_zend_function>() - 8usize];
4049    ["Offset of field: _zend_function::type_"]
4050        [::std::mem::offset_of!(_zend_function, type_) - 0usize];
4051    ["Offset of field: _zend_function::common"]
4052        [::std::mem::offset_of!(_zend_function, common) - 0usize];
4053    ["Offset of field: _zend_function::op_array"]
4054        [::std::mem::offset_of!(_zend_function, op_array) - 0usize];
4055    ["Offset of field: _zend_function::internal_function"]
4056        [::std::mem::offset_of!(_zend_function, internal_function) - 0usize];
4057};
4058pub type zend_function = _zend_function;
4059#[repr(C)]
4060#[derive(Debug, Copy, Clone)]
4061pub struct _zend_function_state {
4062    pub function: *mut zend_function,
4063    pub arguments: *mut *mut ::std::os::raw::c_void,
4064}
4065#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4066const _: () = {
4067    ["Size of _zend_function_state"][::std::mem::size_of::<_zend_function_state>() - 16usize];
4068    ["Alignment of _zend_function_state"][::std::mem::align_of::<_zend_function_state>() - 8usize];
4069    ["Offset of field: _zend_function_state::function"]
4070        [::std::mem::offset_of!(_zend_function_state, function) - 0usize];
4071    ["Offset of field: _zend_function_state::arguments"]
4072        [::std::mem::offset_of!(_zend_function_state, arguments) - 8usize];
4073};
4074pub type zend_function_state = _zend_function_state;
4075#[repr(C)]
4076#[derive(Copy, Clone)]
4077pub struct _zend_switch_entry {
4078    pub cond: znode,
4079    pub default_case: ::std::os::raw::c_int,
4080    pub control_var: ::std::os::raw::c_int,
4081}
4082#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4083const _: () = {
4084    ["Size of _zend_switch_entry"][::std::mem::size_of::<_zend_switch_entry>() - 48usize];
4085    ["Alignment of _zend_switch_entry"][::std::mem::align_of::<_zend_switch_entry>() - 8usize];
4086    ["Offset of field: _zend_switch_entry::cond"]
4087        [::std::mem::offset_of!(_zend_switch_entry, cond) - 0usize];
4088    ["Offset of field: _zend_switch_entry::default_case"]
4089        [::std::mem::offset_of!(_zend_switch_entry, default_case) - 40usize];
4090    ["Offset of field: _zend_switch_entry::control_var"]
4091        [::std::mem::offset_of!(_zend_switch_entry, control_var) - 44usize];
4092};
4093pub type zend_switch_entry = _zend_switch_entry;
4094#[repr(C)]
4095#[derive(Debug, Copy, Clone)]
4096pub struct _zend_execute_data {
4097    pub opline: *mut _zend_op,
4098    pub function_state: zend_function_state,
4099    pub fbc: *mut zend_function,
4100    pub called_scope: *mut zend_class_entry,
4101    pub op_array: *mut zend_op_array,
4102    pub object: *mut zval,
4103    pub Ts: *mut _temp_variable,
4104    pub CVs: *mut *mut *mut zval,
4105    pub symbol_table: *mut HashTable,
4106    pub prev_execute_data: *mut _zend_execute_data,
4107    pub old_error_reporting: *mut zval,
4108    pub nested: zend_bool,
4109    pub original_return_value: *mut *mut zval,
4110    pub current_scope: *mut zend_class_entry,
4111    pub current_called_scope: *mut zend_class_entry,
4112    pub current_this: *mut zval,
4113    pub current_object: *mut zval,
4114}
4115#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4116const _: () = {
4117    ["Size of _zend_execute_data"][::std::mem::size_of::<_zend_execute_data>() - 144usize];
4118    ["Alignment of _zend_execute_data"][::std::mem::align_of::<_zend_execute_data>() - 8usize];
4119    ["Offset of field: _zend_execute_data::opline"]
4120        [::std::mem::offset_of!(_zend_execute_data, opline) - 0usize];
4121    ["Offset of field: _zend_execute_data::function_state"]
4122        [::std::mem::offset_of!(_zend_execute_data, function_state) - 8usize];
4123    ["Offset of field: _zend_execute_data::fbc"]
4124        [::std::mem::offset_of!(_zend_execute_data, fbc) - 24usize];
4125    ["Offset of field: _zend_execute_data::called_scope"]
4126        [::std::mem::offset_of!(_zend_execute_data, called_scope) - 32usize];
4127    ["Offset of field: _zend_execute_data::op_array"]
4128        [::std::mem::offset_of!(_zend_execute_data, op_array) - 40usize];
4129    ["Offset of field: _zend_execute_data::object"]
4130        [::std::mem::offset_of!(_zend_execute_data, object) - 48usize];
4131    ["Offset of field: _zend_execute_data::Ts"]
4132        [::std::mem::offset_of!(_zend_execute_data, Ts) - 56usize];
4133    ["Offset of field: _zend_execute_data::CVs"]
4134        [::std::mem::offset_of!(_zend_execute_data, CVs) - 64usize];
4135    ["Offset of field: _zend_execute_data::symbol_table"]
4136        [::std::mem::offset_of!(_zend_execute_data, symbol_table) - 72usize];
4137    ["Offset of field: _zend_execute_data::prev_execute_data"]
4138        [::std::mem::offset_of!(_zend_execute_data, prev_execute_data) - 80usize];
4139    ["Offset of field: _zend_execute_data::old_error_reporting"]
4140        [::std::mem::offset_of!(_zend_execute_data, old_error_reporting) - 88usize];
4141    ["Offset of field: _zend_execute_data::nested"]
4142        [::std::mem::offset_of!(_zend_execute_data, nested) - 96usize];
4143    ["Offset of field: _zend_execute_data::original_return_value"]
4144        [::std::mem::offset_of!(_zend_execute_data, original_return_value) - 104usize];
4145    ["Offset of field: _zend_execute_data::current_scope"]
4146        [::std::mem::offset_of!(_zend_execute_data, current_scope) - 112usize];
4147    ["Offset of field: _zend_execute_data::current_called_scope"]
4148        [::std::mem::offset_of!(_zend_execute_data, current_called_scope) - 120usize];
4149    ["Offset of field: _zend_execute_data::current_this"]
4150        [::std::mem::offset_of!(_zend_execute_data, current_this) - 128usize];
4151    ["Offset of field: _zend_execute_data::current_object"]
4152        [::std::mem::offset_of!(_zend_execute_data, current_object) - 136usize];
4153};
4154pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
4155#[repr(C)]
4156#[derive(Debug, Copy, Clone)]
4157pub struct __jmp_buf_tag {
4158    pub __jmpbuf: __jmp_buf,
4159    pub __mask_was_saved: ::std::os::raw::c_int,
4160    pub __saved_mask: __sigset_t,
4161}
4162#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4163const _: () = {
4164    ["Size of __jmp_buf_tag"][::std::mem::size_of::<__jmp_buf_tag>() - 200usize];
4165    ["Alignment of __jmp_buf_tag"][::std::mem::align_of::<__jmp_buf_tag>() - 8usize];
4166    ["Offset of field: __jmp_buf_tag::__jmpbuf"]
4167        [::std::mem::offset_of!(__jmp_buf_tag, __jmpbuf) - 0usize];
4168    ["Offset of field: __jmp_buf_tag::__mask_was_saved"]
4169        [::std::mem::offset_of!(__jmp_buf_tag, __mask_was_saved) - 64usize];
4170    ["Offset of field: __jmp_buf_tag::__saved_mask"]
4171        [::std::mem::offset_of!(__jmp_buf_tag, __saved_mask) - 72usize];
4172};
4173pub type jmp_buf = [__jmp_buf_tag; 1usize];
4174pub type zend_compiler_globals = _zend_compiler_globals;
4175pub type zend_executor_globals = _zend_executor_globals;
4176pub type zend_php_scanner_globals = _zend_php_scanner_globals;
4177pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
4178#[repr(C)]
4179#[derive(Copy, Clone)]
4180pub struct _zend_compiler_globals {
4181    pub bp_stack: zend_stack,
4182    pub switch_cond_stack: zend_stack,
4183    pub foreach_copy_stack: zend_stack,
4184    pub object_stack: zend_stack,
4185    pub declare_stack: zend_stack,
4186    pub active_class_entry: *mut zend_class_entry,
4187    pub list_llist: zend_llist,
4188    pub dimension_llist: zend_llist,
4189    pub list_stack: zend_stack,
4190    pub function_call_stack: zend_stack,
4191    pub compiled_filename: *mut ::std::os::raw::c_char,
4192    pub zend_lineno: ::std::os::raw::c_int,
4193    pub heredoc: *mut ::std::os::raw::c_char,
4194    pub heredoc_len: ::std::os::raw::c_int,
4195    pub active_op_array: *mut zend_op_array,
4196    pub function_table: *mut HashTable,
4197    pub class_table: *mut HashTable,
4198    pub filenames_table: HashTable,
4199    pub auto_globals: *mut HashTable,
4200    pub parse_error: zend_bool,
4201    pub in_compilation: zend_bool,
4202    pub short_tags: zend_bool,
4203    pub asp_tags: zend_bool,
4204    pub declarables: zend_declarables,
4205    pub unclean_shutdown: zend_bool,
4206    pub ini_parser_unbuffered_errors: zend_bool,
4207    pub open_files: zend_llist,
4208    pub catch_begin: ::std::os::raw::c_long,
4209    pub ini_parser_param: *mut _zend_ini_parser_param,
4210    pub interactive: ::std::os::raw::c_int,
4211    pub start_lineno: zend_uint,
4212    pub increment_lineno: zend_bool,
4213    pub implementing_class: znode,
4214    pub access_type: zend_uint,
4215    pub doc_comment: *mut ::std::os::raw::c_char,
4216    pub doc_comment_len: zend_uint,
4217    pub compiler_options: zend_uint,
4218    pub current_namespace: *mut zval,
4219    pub current_import: *mut HashTable,
4220    pub in_namespace: zend_bool,
4221    pub has_bracketed_namespaces: zend_bool,
4222    pub context: zend_compiler_context,
4223    pub context_stack: zend_stack,
4224    pub interned_strings_start: *mut ::std::os::raw::c_char,
4225    pub interned_strings_end: *mut ::std::os::raw::c_char,
4226    pub interned_strings_top: *mut ::std::os::raw::c_char,
4227    pub interned_strings_snapshot_top: *mut ::std::os::raw::c_char,
4228    pub interned_strings: HashTable,
4229    pub script_encoding_list: *mut *const zend_encoding,
4230    pub script_encoding_list_size: usize,
4231    pub multibyte: zend_bool,
4232    pub detect_unicode: zend_bool,
4233    pub encoding_declared: zend_bool,
4234}
4235#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4236const _: () = {
4237    ["Size of _zend_compiler_globals"][::std::mem::size_of::<_zend_compiler_globals>() - 760usize];
4238    ["Alignment of _zend_compiler_globals"]
4239        [::std::mem::align_of::<_zend_compiler_globals>() - 8usize];
4240    ["Offset of field: _zend_compiler_globals::bp_stack"]
4241        [::std::mem::offset_of!(_zend_compiler_globals, bp_stack) - 0usize];
4242    ["Offset of field: _zend_compiler_globals::switch_cond_stack"]
4243        [::std::mem::offset_of!(_zend_compiler_globals, switch_cond_stack) - 16usize];
4244    ["Offset of field: _zend_compiler_globals::foreach_copy_stack"]
4245        [::std::mem::offset_of!(_zend_compiler_globals, foreach_copy_stack) - 32usize];
4246    ["Offset of field: _zend_compiler_globals::object_stack"]
4247        [::std::mem::offset_of!(_zend_compiler_globals, object_stack) - 48usize];
4248    ["Offset of field: _zend_compiler_globals::declare_stack"]
4249        [::std::mem::offset_of!(_zend_compiler_globals, declare_stack) - 64usize];
4250    ["Offset of field: _zend_compiler_globals::active_class_entry"]
4251        [::std::mem::offset_of!(_zend_compiler_globals, active_class_entry) - 80usize];
4252    ["Offset of field: _zend_compiler_globals::list_llist"]
4253        [::std::mem::offset_of!(_zend_compiler_globals, list_llist) - 88usize];
4254    ["Offset of field: _zend_compiler_globals::dimension_llist"]
4255        [::std::mem::offset_of!(_zend_compiler_globals, dimension_llist) - 144usize];
4256    ["Offset of field: _zend_compiler_globals::list_stack"]
4257        [::std::mem::offset_of!(_zend_compiler_globals, list_stack) - 200usize];
4258    ["Offset of field: _zend_compiler_globals::function_call_stack"]
4259        [::std::mem::offset_of!(_zend_compiler_globals, function_call_stack) - 216usize];
4260    ["Offset of field: _zend_compiler_globals::compiled_filename"]
4261        [::std::mem::offset_of!(_zend_compiler_globals, compiled_filename) - 232usize];
4262    ["Offset of field: _zend_compiler_globals::zend_lineno"]
4263        [::std::mem::offset_of!(_zend_compiler_globals, zend_lineno) - 240usize];
4264    ["Offset of field: _zend_compiler_globals::heredoc"]
4265        [::std::mem::offset_of!(_zend_compiler_globals, heredoc) - 248usize];
4266    ["Offset of field: _zend_compiler_globals::heredoc_len"]
4267        [::std::mem::offset_of!(_zend_compiler_globals, heredoc_len) - 256usize];
4268    ["Offset of field: _zend_compiler_globals::active_op_array"]
4269        [::std::mem::offset_of!(_zend_compiler_globals, active_op_array) - 264usize];
4270    ["Offset of field: _zend_compiler_globals::function_table"]
4271        [::std::mem::offset_of!(_zend_compiler_globals, function_table) - 272usize];
4272    ["Offset of field: _zend_compiler_globals::class_table"]
4273        [::std::mem::offset_of!(_zend_compiler_globals, class_table) - 280usize];
4274    ["Offset of field: _zend_compiler_globals::filenames_table"]
4275        [::std::mem::offset_of!(_zend_compiler_globals, filenames_table) - 288usize];
4276    ["Offset of field: _zend_compiler_globals::auto_globals"]
4277        [::std::mem::offset_of!(_zend_compiler_globals, auto_globals) - 360usize];
4278    ["Offset of field: _zend_compiler_globals::parse_error"]
4279        [::std::mem::offset_of!(_zend_compiler_globals, parse_error) - 368usize];
4280    ["Offset of field: _zend_compiler_globals::in_compilation"]
4281        [::std::mem::offset_of!(_zend_compiler_globals, in_compilation) - 369usize];
4282    ["Offset of field: _zend_compiler_globals::short_tags"]
4283        [::std::mem::offset_of!(_zend_compiler_globals, short_tags) - 370usize];
4284    ["Offset of field: _zend_compiler_globals::asp_tags"]
4285        [::std::mem::offset_of!(_zend_compiler_globals, asp_tags) - 371usize];
4286    ["Offset of field: _zend_compiler_globals::declarables"]
4287        [::std::mem::offset_of!(_zend_compiler_globals, declarables) - 376usize];
4288    ["Offset of field: _zend_compiler_globals::unclean_shutdown"]
4289        [::std::mem::offset_of!(_zend_compiler_globals, unclean_shutdown) - 400usize];
4290    ["Offset of field: _zend_compiler_globals::ini_parser_unbuffered_errors"]
4291        [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_unbuffered_errors) - 401usize];
4292    ["Offset of field: _zend_compiler_globals::open_files"]
4293        [::std::mem::offset_of!(_zend_compiler_globals, open_files) - 408usize];
4294    ["Offset of field: _zend_compiler_globals::catch_begin"]
4295        [::std::mem::offset_of!(_zend_compiler_globals, catch_begin) - 464usize];
4296    ["Offset of field: _zend_compiler_globals::ini_parser_param"]
4297        [::std::mem::offset_of!(_zend_compiler_globals, ini_parser_param) - 472usize];
4298    ["Offset of field: _zend_compiler_globals::interactive"]
4299        [::std::mem::offset_of!(_zend_compiler_globals, interactive) - 480usize];
4300    ["Offset of field: _zend_compiler_globals::start_lineno"]
4301        [::std::mem::offset_of!(_zend_compiler_globals, start_lineno) - 484usize];
4302    ["Offset of field: _zend_compiler_globals::increment_lineno"]
4303        [::std::mem::offset_of!(_zend_compiler_globals, increment_lineno) - 488usize];
4304    ["Offset of field: _zend_compiler_globals::implementing_class"]
4305        [::std::mem::offset_of!(_zend_compiler_globals, implementing_class) - 496usize];
4306    ["Offset of field: _zend_compiler_globals::access_type"]
4307        [::std::mem::offset_of!(_zend_compiler_globals, access_type) - 536usize];
4308    ["Offset of field: _zend_compiler_globals::doc_comment"]
4309        [::std::mem::offset_of!(_zend_compiler_globals, doc_comment) - 544usize];
4310    ["Offset of field: _zend_compiler_globals::doc_comment_len"]
4311        [::std::mem::offset_of!(_zend_compiler_globals, doc_comment_len) - 552usize];
4312    ["Offset of field: _zend_compiler_globals::compiler_options"]
4313        [::std::mem::offset_of!(_zend_compiler_globals, compiler_options) - 556usize];
4314    ["Offset of field: _zend_compiler_globals::current_namespace"]
4315        [::std::mem::offset_of!(_zend_compiler_globals, current_namespace) - 560usize];
4316    ["Offset of field: _zend_compiler_globals::current_import"]
4317        [::std::mem::offset_of!(_zend_compiler_globals, current_import) - 568usize];
4318    ["Offset of field: _zend_compiler_globals::in_namespace"]
4319        [::std::mem::offset_of!(_zend_compiler_globals, in_namespace) - 576usize];
4320    ["Offset of field: _zend_compiler_globals::has_bracketed_namespaces"]
4321        [::std::mem::offset_of!(_zend_compiler_globals, has_bracketed_namespaces) - 577usize];
4322    ["Offset of field: _zend_compiler_globals::context"]
4323        [::std::mem::offset_of!(_zend_compiler_globals, context) - 584usize];
4324    ["Offset of field: _zend_compiler_globals::context_stack"]
4325        [::std::mem::offset_of!(_zend_compiler_globals, context_stack) - 616usize];
4326    ["Offset of field: _zend_compiler_globals::interned_strings_start"]
4327        [::std::mem::offset_of!(_zend_compiler_globals, interned_strings_start) - 632usize];
4328    ["Offset of field: _zend_compiler_globals::interned_strings_end"]
4329        [::std::mem::offset_of!(_zend_compiler_globals, interned_strings_end) - 640usize];
4330    ["Offset of field: _zend_compiler_globals::interned_strings_top"]
4331        [::std::mem::offset_of!(_zend_compiler_globals, interned_strings_top) - 648usize];
4332    ["Offset of field: _zend_compiler_globals::interned_strings_snapshot_top"]
4333        [::std::mem::offset_of!(_zend_compiler_globals, interned_strings_snapshot_top) - 656usize];
4334    ["Offset of field: _zend_compiler_globals::interned_strings"]
4335        [::std::mem::offset_of!(_zend_compiler_globals, interned_strings) - 664usize];
4336    ["Offset of field: _zend_compiler_globals::script_encoding_list"]
4337        [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list) - 736usize];
4338    ["Offset of field: _zend_compiler_globals::script_encoding_list_size"]
4339        [::std::mem::offset_of!(_zend_compiler_globals, script_encoding_list_size) - 744usize];
4340    ["Offset of field: _zend_compiler_globals::multibyte"]
4341        [::std::mem::offset_of!(_zend_compiler_globals, multibyte) - 752usize];
4342    ["Offset of field: _zend_compiler_globals::detect_unicode"]
4343        [::std::mem::offset_of!(_zend_compiler_globals, detect_unicode) - 753usize];
4344    ["Offset of field: _zend_compiler_globals::encoding_declared"]
4345        [::std::mem::offset_of!(_zend_compiler_globals, encoding_declared) - 754usize];
4346};
4347extern "C" {
4348    pub static mut compiler_globals: _zend_compiler_globals;
4349}
4350extern "C" {
4351    pub fn zendparse() -> ::std::os::raw::c_int;
4352}
4353extern "C" {
4354    pub static mut executor_globals: zend_executor_globals;
4355}
4356extern "C" {
4357    pub static mut language_scanner_globals: zend_php_scanner_globals;
4358}
4359extern "C" {
4360    pub static mut ini_scanner_globals: zend_ini_scanner_globals;
4361}
4362#[repr(C)]
4363#[derive(Debug, Copy, Clone)]
4364pub struct _zend_stack {
4365    pub top: ::std::os::raw::c_int,
4366    pub max: ::std::os::raw::c_int,
4367    pub elements: *mut *mut ::std::os::raw::c_void,
4368}
4369#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4370const _: () = {
4371    ["Size of _zend_stack"][::std::mem::size_of::<_zend_stack>() - 16usize];
4372    ["Alignment of _zend_stack"][::std::mem::align_of::<_zend_stack>() - 8usize];
4373    ["Offset of field: _zend_stack::top"][::std::mem::offset_of!(_zend_stack, top) - 0usize];
4374    ["Offset of field: _zend_stack::max"][::std::mem::offset_of!(_zend_stack, max) - 4usize];
4375    ["Offset of field: _zend_stack::elements"]
4376        [::std::mem::offset_of!(_zend_stack, elements) - 8usize];
4377};
4378pub type zend_stack = _zend_stack;
4379extern "C" {
4380    pub fn zend_stack_init(stack: *mut zend_stack) -> ::std::os::raw::c_int;
4381}
4382extern "C" {
4383    pub fn zend_stack_push(
4384        stack: *mut zend_stack,
4385        element: *const ::std::os::raw::c_void,
4386        size: ::std::os::raw::c_int,
4387    ) -> ::std::os::raw::c_int;
4388}
4389extern "C" {
4390    pub fn zend_stack_top(
4391        stack: *const zend_stack,
4392        element: *mut *mut ::std::os::raw::c_void,
4393    ) -> ::std::os::raw::c_int;
4394}
4395extern "C" {
4396    pub fn zend_stack_del_top(stack: *mut zend_stack) -> ::std::os::raw::c_int;
4397}
4398extern "C" {
4399    pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
4400}
4401extern "C" {
4402    pub fn zend_stack_is_empty(stack: *const zend_stack) -> ::std::os::raw::c_int;
4403}
4404extern "C" {
4405    pub fn zend_stack_destroy(stack: *mut zend_stack) -> ::std::os::raw::c_int;
4406}
4407extern "C" {
4408    pub fn zend_stack_base(stack: *const zend_stack) -> *mut *mut ::std::os::raw::c_void;
4409}
4410extern "C" {
4411    pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
4412}
4413extern "C" {
4414    pub fn zend_stack_apply(
4415        stack: *mut zend_stack,
4416        type_: ::std::os::raw::c_int,
4417        apply_function: ::std::option::Option<
4418            unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
4419        >,
4420    );
4421}
4422extern "C" {
4423    pub fn zend_stack_apply_with_argument(
4424        stack: *mut zend_stack,
4425        type_: ::std::os::raw::c_int,
4426        apply_function: ::std::option::Option<
4427            unsafe extern "C" fn(
4428                element: *mut ::std::os::raw::c_void,
4429                arg: *mut ::std::os::raw::c_void,
4430            ) -> ::std::os::raw::c_int,
4431        >,
4432        arg: *mut ::std::os::raw::c_void,
4433    );
4434}
4435#[repr(C)]
4436#[derive(Debug, Copy, Clone)]
4437pub struct _zend_ptr_stack {
4438    pub top: ::std::os::raw::c_int,
4439    pub max: ::std::os::raw::c_int,
4440    pub elements: *mut *mut ::std::os::raw::c_void,
4441    pub top_element: *mut *mut ::std::os::raw::c_void,
4442    pub persistent: zend_bool,
4443}
4444#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4445const _: () = {
4446    ["Size of _zend_ptr_stack"][::std::mem::size_of::<_zend_ptr_stack>() - 32usize];
4447    ["Alignment of _zend_ptr_stack"][::std::mem::align_of::<_zend_ptr_stack>() - 8usize];
4448    ["Offset of field: _zend_ptr_stack::top"]
4449        [::std::mem::offset_of!(_zend_ptr_stack, top) - 0usize];
4450    ["Offset of field: _zend_ptr_stack::max"]
4451        [::std::mem::offset_of!(_zend_ptr_stack, max) - 4usize];
4452    ["Offset of field: _zend_ptr_stack::elements"]
4453        [::std::mem::offset_of!(_zend_ptr_stack, elements) - 8usize];
4454    ["Offset of field: _zend_ptr_stack::top_element"]
4455        [::std::mem::offset_of!(_zend_ptr_stack, top_element) - 16usize];
4456    ["Offset of field: _zend_ptr_stack::persistent"]
4457        [::std::mem::offset_of!(_zend_ptr_stack, persistent) - 24usize];
4458};
4459pub type zend_ptr_stack = _zend_ptr_stack;
4460extern "C" {
4461    pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
4462}
4463extern "C" {
4464    pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: zend_bool);
4465}
4466extern "C" {
4467    pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
4468}
4469extern "C" {
4470    pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
4471}
4472extern "C" {
4473    pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
4474}
4475extern "C" {
4476    pub fn zend_ptr_stack_apply(
4477        stack: *mut zend_ptr_stack,
4478        func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4479    );
4480}
4481extern "C" {
4482    pub fn zend_ptr_stack_clean(
4483        stack: *mut zend_ptr_stack,
4484        func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4485        free_elements: zend_bool,
4486    );
4487}
4488extern "C" {
4489    pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
4490}
4491extern "C" {
4492    pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
4493}
4494extern "C" {
4495    pub fn zend_object_std_dtor(object: *mut zend_object);
4496}
4497extern "C" {
4498    pub fn zend_objects_new(
4499        object: *mut *mut zend_object,
4500        class_type: *mut zend_class_entry,
4501    ) -> zend_object_value;
4502}
4503extern "C" {
4504    pub fn zend_objects_destroy_object(object: *mut zend_object, handle: zend_object_handle);
4505}
4506extern "C" {
4507    pub fn zend_objects_get_address(object: *const zval) -> *mut zend_object;
4508}
4509extern "C" {
4510    pub fn zend_objects_clone_members(
4511        new_object: *mut zend_object,
4512        new_obj_val: zend_object_value,
4513        old_object: *mut zend_object,
4514        handle: zend_object_handle,
4515    );
4516}
4517extern "C" {
4518    pub fn zend_objects_clone_obj(object: *mut zval) -> zend_object_value;
4519}
4520extern "C" {
4521    pub fn zend_objects_free_object_storage(object: *mut zend_object);
4522}
4523pub type zend_objects_store_dtor_t = ::std::option::Option<
4524    unsafe extern "C" fn(object: *mut ::std::os::raw::c_void, handle: zend_object_handle),
4525>;
4526pub type zend_objects_free_object_storage_t =
4527    ::std::option::Option<unsafe extern "C" fn(object: *mut ::std::os::raw::c_void)>;
4528pub type zend_objects_store_clone_t = ::std::option::Option<
4529    unsafe extern "C" fn(
4530        object: *mut ::std::os::raw::c_void,
4531        object_clone: *mut *mut ::std::os::raw::c_void,
4532    ),
4533>;
4534#[repr(C)]
4535#[derive(Copy, Clone)]
4536pub struct _zend_object_store_bucket {
4537    pub destructor_called: zend_bool,
4538    pub valid: zend_bool,
4539    pub apply_count: zend_uchar,
4540    pub bucket: _zend_object_store_bucket__store_bucket,
4541}
4542#[repr(C)]
4543#[derive(Copy, Clone)]
4544pub union _zend_object_store_bucket__store_bucket {
4545    pub obj: _zend_object_store_bucket__store_bucket__store_object,
4546    pub free_list: _zend_object_store_bucket__store_bucket__bindgen_ty_1,
4547}
4548#[repr(C)]
4549#[derive(Debug, Copy, Clone)]
4550pub struct _zend_object_store_bucket__store_bucket__store_object {
4551    pub object: *mut ::std::os::raw::c_void,
4552    pub dtor: zend_objects_store_dtor_t,
4553    pub free_storage: zend_objects_free_object_storage_t,
4554    pub clone: zend_objects_store_clone_t,
4555    pub handlers: *const zend_object_handlers,
4556    pub refcount: zend_uint,
4557    pub buffered: *mut gc_root_buffer,
4558}
4559#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4560const _: () = {
4561    ["Size of _zend_object_store_bucket__store_bucket__store_object"]
4562        [::std::mem::size_of::<_zend_object_store_bucket__store_bucket__store_object>() - 56usize];
4563    ["Alignment of _zend_object_store_bucket__store_bucket__store_object"]
4564        [::std::mem::align_of::<_zend_object_store_bucket__store_bucket__store_object>() - 8usize];
4565    ["Offset of field: _zend_object_store_bucket__store_bucket__store_object::object"][::std::mem::offset_of!(
4566        _zend_object_store_bucket__store_bucket__store_object,
4567        object
4568    ) - 0usize];
4569    ["Offset of field: _zend_object_store_bucket__store_bucket__store_object::dtor"][::std::mem::offset_of!(
4570        _zend_object_store_bucket__store_bucket__store_object,
4571        dtor
4572    ) - 8usize];
4573    ["Offset of field: _zend_object_store_bucket__store_bucket__store_object::free_storage"][::std::mem::offset_of!(
4574        _zend_object_store_bucket__store_bucket__store_object,
4575        free_storage
4576    )
4577        - 16usize];
4578    ["Offset of field: _zend_object_store_bucket__store_bucket__store_object::clone"][::std::mem::offset_of!(
4579        _zend_object_store_bucket__store_bucket__store_object,
4580        clone
4581    ) - 24usize];
4582    ["Offset of field: _zend_object_store_bucket__store_bucket__store_object::handlers"][::std::mem::offset_of!(
4583        _zend_object_store_bucket__store_bucket__store_object,
4584        handlers
4585    )
4586        - 32usize];
4587    ["Offset of field: _zend_object_store_bucket__store_bucket__store_object::refcount"][::std::mem::offset_of!(
4588        _zend_object_store_bucket__store_bucket__store_object,
4589        refcount
4590    )
4591        - 40usize];
4592    ["Offset of field: _zend_object_store_bucket__store_bucket__store_object::buffered"][::std::mem::offset_of!(
4593        _zend_object_store_bucket__store_bucket__store_object,
4594        buffered
4595    )
4596        - 48usize];
4597};
4598#[repr(C)]
4599#[derive(Debug, Copy, Clone)]
4600pub struct _zend_object_store_bucket__store_bucket__bindgen_ty_1 {
4601    pub next: ::std::os::raw::c_int,
4602}
4603#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4604const _: () = {
4605    ["Size of _zend_object_store_bucket__store_bucket__bindgen_ty_1"]
4606        [::std::mem::size_of::<_zend_object_store_bucket__store_bucket__bindgen_ty_1>() - 4usize];
4607    ["Alignment of _zend_object_store_bucket__store_bucket__bindgen_ty_1"]
4608        [::std::mem::align_of::<_zend_object_store_bucket__store_bucket__bindgen_ty_1>() - 4usize];
4609    ["Offset of field: _zend_object_store_bucket__store_bucket__bindgen_ty_1::next"][::std::mem::offset_of!(
4610        _zend_object_store_bucket__store_bucket__bindgen_ty_1,
4611        next
4612    ) - 0usize];
4613};
4614#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4615const _: () = {
4616    ["Size of _zend_object_store_bucket__store_bucket"]
4617        [::std::mem::size_of::<_zend_object_store_bucket__store_bucket>() - 56usize];
4618    ["Alignment of _zend_object_store_bucket__store_bucket"]
4619        [::std::mem::align_of::<_zend_object_store_bucket__store_bucket>() - 8usize];
4620    ["Offset of field: _zend_object_store_bucket__store_bucket::obj"]
4621        [::std::mem::offset_of!(_zend_object_store_bucket__store_bucket, obj) - 0usize];
4622    ["Offset of field: _zend_object_store_bucket__store_bucket::free_list"]
4623        [::std::mem::offset_of!(_zend_object_store_bucket__store_bucket, free_list) - 0usize];
4624};
4625#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4626const _: () = {
4627    ["Size of _zend_object_store_bucket"]
4628        [::std::mem::size_of::<_zend_object_store_bucket>() - 64usize];
4629    ["Alignment of _zend_object_store_bucket"]
4630        [::std::mem::align_of::<_zend_object_store_bucket>() - 8usize];
4631    ["Offset of field: _zend_object_store_bucket::destructor_called"]
4632        [::std::mem::offset_of!(_zend_object_store_bucket, destructor_called) - 0usize];
4633    ["Offset of field: _zend_object_store_bucket::valid"]
4634        [::std::mem::offset_of!(_zend_object_store_bucket, valid) - 1usize];
4635    ["Offset of field: _zend_object_store_bucket::apply_count"]
4636        [::std::mem::offset_of!(_zend_object_store_bucket, apply_count) - 2usize];
4637    ["Offset of field: _zend_object_store_bucket::bucket"]
4638        [::std::mem::offset_of!(_zend_object_store_bucket, bucket) - 8usize];
4639};
4640pub type zend_object_store_bucket = _zend_object_store_bucket;
4641#[repr(C)]
4642#[derive(Debug, Copy, Clone)]
4643pub struct _zend_objects_store {
4644    pub object_buckets: *mut zend_object_store_bucket,
4645    pub top: zend_uint,
4646    pub size: zend_uint,
4647    pub free_list_head: ::std::os::raw::c_int,
4648}
4649#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4650const _: () = {
4651    ["Size of _zend_objects_store"][::std::mem::size_of::<_zend_objects_store>() - 24usize];
4652    ["Alignment of _zend_objects_store"][::std::mem::align_of::<_zend_objects_store>() - 8usize];
4653    ["Offset of field: _zend_objects_store::object_buckets"]
4654        [::std::mem::offset_of!(_zend_objects_store, object_buckets) - 0usize];
4655    ["Offset of field: _zend_objects_store::top"]
4656        [::std::mem::offset_of!(_zend_objects_store, top) - 8usize];
4657    ["Offset of field: _zend_objects_store::size"]
4658        [::std::mem::offset_of!(_zend_objects_store, size) - 12usize];
4659    ["Offset of field: _zend_objects_store::free_list_head"]
4660        [::std::mem::offset_of!(_zend_objects_store, free_list_head) - 16usize];
4661};
4662pub type zend_objects_store = _zend_objects_store;
4663extern "C" {
4664    pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: zend_uint);
4665}
4666extern "C" {
4667    pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
4668}
4669extern "C" {
4670    pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
4671}
4672extern "C" {
4673    pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
4674}
4675extern "C" {
4676    pub fn zend_objects_store_put(
4677        object: *mut ::std::os::raw::c_void,
4678        dtor: zend_objects_store_dtor_t,
4679        storage: zend_objects_free_object_storage_t,
4680        clone: zend_objects_store_clone_t,
4681    ) -> zend_object_handle;
4682}
4683extern "C" {
4684    pub fn zend_objects_store_add_ref(object: *mut zval);
4685}
4686extern "C" {
4687    pub fn zend_objects_store_del_ref(object: *mut zval);
4688}
4689extern "C" {
4690    pub fn zend_objects_store_add_ref_by_handle(handle: zend_object_handle);
4691}
4692extern "C" {
4693    pub fn zend_objects_store_del_ref_by_handle_ex(
4694        handle: zend_object_handle,
4695        handlers: *const zend_object_handlers,
4696    );
4697}
4698extern "C" {
4699    pub fn zend_objects_store_get_refcount(object: *mut zval) -> zend_uint;
4700}
4701extern "C" {
4702    pub fn zend_objects_store_clone_obj(object: *mut zval) -> zend_object_value;
4703}
4704extern "C" {
4705    pub fn zend_object_store_get_object(object: *const zval) -> *mut ::std::os::raw::c_void;
4706}
4707extern "C" {
4708    pub fn zend_object_store_get_object_by_handle(
4709        handle: zend_object_handle,
4710    ) -> *mut ::std::os::raw::c_void;
4711}
4712extern "C" {
4713    pub fn zend_object_store_set_object(zobject: *mut zval, object: *mut ::std::os::raw::c_void);
4714}
4715extern "C" {
4716    pub fn zend_object_store_ctor_failed(zobject: *mut zval);
4717}
4718extern "C" {
4719    pub fn zend_objects_store_free_object_storage(objects: *mut zend_objects_store);
4720}
4721extern "C" {
4722    pub fn zend_object_create_proxy(object: *mut zval, member: *mut zval) -> *mut zval;
4723}
4724extern "C" {
4725    pub fn zend_get_std_object_handlers() -> *mut zend_object_handlers;
4726}
4727extern "C" {
4728    pub fn zend_init_fpu();
4729}
4730extern "C" {
4731    pub fn zend_shutdown_fpu();
4732}
4733extern "C" {
4734    pub fn zend_ensure_fpu_mode();
4735}
4736pub type fpu_control_t = ::std::os::raw::c_ushort;
4737#[repr(C)]
4738#[derive(Debug, Copy, Clone)]
4739pub struct _zend_encoding {
4740    _unused: [u8; 0],
4741}
4742pub type zend_encoding = _zend_encoding;
4743pub type zend_encoding_filter = ::std::option::Option<
4744    unsafe extern "C" fn(
4745        str_: *mut *mut ::std::os::raw::c_uchar,
4746        str_length: *mut usize,
4747        buf: *const ::std::os::raw::c_uchar,
4748        length: usize,
4749    ) -> usize,
4750>;
4751pub type zend_encoding_fetcher = ::std::option::Option<
4752    unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
4753>;
4754pub type zend_encoding_name_getter = ::std::option::Option<
4755    unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
4756>;
4757pub type zend_encoding_lexer_compatibility_checker = ::std::option::Option<
4758    unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
4759>;
4760pub type zend_encoding_detector = ::std::option::Option<
4761    unsafe extern "C" fn(
4762        string: *const ::std::os::raw::c_uchar,
4763        length: usize,
4764        list: *mut *const zend_encoding,
4765        list_size: usize,
4766    ) -> *const zend_encoding,
4767>;
4768pub type zend_encoding_converter = ::std::option::Option<
4769    unsafe extern "C" fn(
4770        to: *mut *mut ::std::os::raw::c_uchar,
4771        to_length: *mut usize,
4772        from: *const ::std::os::raw::c_uchar,
4773        from_length: usize,
4774        encoding_to: *const zend_encoding,
4775        encoding_from: *const zend_encoding,
4776    ) -> usize,
4777>;
4778pub type zend_encoding_list_parser = ::std::option::Option<
4779    unsafe extern "C" fn(
4780        encoding_list: *const ::std::os::raw::c_char,
4781        encoding_list_len: usize,
4782        return_list: *mut *mut *const zend_encoding,
4783        return_size: *mut usize,
4784        persistent: ::std::os::raw::c_int,
4785    ) -> ::std::os::raw::c_int,
4786>;
4787pub type zend_encoding_internal_encoding_getter =
4788    ::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
4789pub type zend_encoding_internal_encoding_setter = ::std::option::Option<
4790    unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
4791>;
4792#[repr(C)]
4793#[derive(Debug, Copy, Clone)]
4794pub struct _zend_multibyte_functions {
4795    pub provider_name: *const ::std::os::raw::c_char,
4796    pub encoding_fetcher: zend_encoding_fetcher,
4797    pub encoding_name_getter: zend_encoding_name_getter,
4798    pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
4799    pub encoding_detector: zend_encoding_detector,
4800    pub encoding_converter: zend_encoding_converter,
4801    pub encoding_list_parser: zend_encoding_list_parser,
4802    pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
4803    pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
4804}
4805#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4806const _: () = {
4807    ["Size of _zend_multibyte_functions"]
4808        [::std::mem::size_of::<_zend_multibyte_functions>() - 72usize];
4809    ["Alignment of _zend_multibyte_functions"]
4810        [::std::mem::align_of::<_zend_multibyte_functions>() - 8usize];
4811    ["Offset of field: _zend_multibyte_functions::provider_name"]
4812        [::std::mem::offset_of!(_zend_multibyte_functions, provider_name) - 0usize];
4813    ["Offset of field: _zend_multibyte_functions::encoding_fetcher"]
4814        [::std::mem::offset_of!(_zend_multibyte_functions, encoding_fetcher) - 8usize];
4815    ["Offset of field: _zend_multibyte_functions::encoding_name_getter"]
4816        [::std::mem::offset_of!(_zend_multibyte_functions, encoding_name_getter) - 16usize];
4817    ["Offset of field: _zend_multibyte_functions::lexer_compatibility_checker"]
4818        [::std::mem::offset_of!(_zend_multibyte_functions, lexer_compatibility_checker) - 24usize];
4819    ["Offset of field: _zend_multibyte_functions::encoding_detector"]
4820        [::std::mem::offset_of!(_zend_multibyte_functions, encoding_detector) - 32usize];
4821    ["Offset of field: _zend_multibyte_functions::encoding_converter"]
4822        [::std::mem::offset_of!(_zend_multibyte_functions, encoding_converter) - 40usize];
4823    ["Offset of field: _zend_multibyte_functions::encoding_list_parser"]
4824        [::std::mem::offset_of!(_zend_multibyte_functions, encoding_list_parser) - 48usize];
4825    ["Offset of field: _zend_multibyte_functions::internal_encoding_getter"]
4826        [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_getter) - 56usize];
4827    ["Offset of field: _zend_multibyte_functions::internal_encoding_setter"]
4828        [::std::mem::offset_of!(_zend_multibyte_functions, internal_encoding_setter) - 64usize];
4829};
4830pub type zend_multibyte_functions = _zend_multibyte_functions;
4831extern "C" {
4832    pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
4833}
4834extern "C" {
4835    pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
4836}
4837extern "C" {
4838    pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
4839}
4840extern "C" {
4841    pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
4842}
4843extern "C" {
4844    pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
4845}
4846extern "C" {
4847    pub fn zend_multibyte_set_functions(
4848        functions: *const zend_multibyte_functions,
4849    ) -> ::std::os::raw::c_int;
4850}
4851extern "C" {
4852    pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
4853}
4854extern "C" {
4855    pub fn zend_multibyte_fetch_encoding(
4856        name: *const ::std::os::raw::c_char,
4857    ) -> *const zend_encoding;
4858}
4859extern "C" {
4860    pub fn zend_multibyte_get_encoding_name(
4861        encoding: *const zend_encoding,
4862    ) -> *const ::std::os::raw::c_char;
4863}
4864extern "C" {
4865    pub fn zend_multibyte_check_lexer_compatibility(
4866        encoding: *const zend_encoding,
4867    ) -> ::std::os::raw::c_int;
4868}
4869extern "C" {
4870    pub fn zend_multibyte_encoding_detector(
4871        string: *const ::std::os::raw::c_uchar,
4872        length: usize,
4873        list: *mut *const zend_encoding,
4874        list_size: usize,
4875    ) -> *const zend_encoding;
4876}
4877extern "C" {
4878    pub fn zend_multibyte_encoding_converter(
4879        to: *mut *mut ::std::os::raw::c_uchar,
4880        to_length: *mut usize,
4881        from: *const ::std::os::raw::c_uchar,
4882        from_length: usize,
4883        encoding_to: *const zend_encoding,
4884        encoding_from: *const zend_encoding,
4885    ) -> usize;
4886}
4887extern "C" {
4888    pub fn zend_multibyte_parse_encoding_list(
4889        encoding_list: *const ::std::os::raw::c_char,
4890        encoding_list_len: usize,
4891        return_list: *mut *mut *const zend_encoding,
4892        return_size: *mut usize,
4893        persistent: ::std::os::raw::c_int,
4894    ) -> ::std::os::raw::c_int;
4895}
4896extern "C" {
4897    pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
4898}
4899extern "C" {
4900    pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
4901}
4902extern "C" {
4903    pub fn zend_multibyte_set_script_encoding(
4904        encoding_list: *mut *const zend_encoding,
4905        encoding_list_size: usize,
4906    ) -> ::std::os::raw::c_int;
4907}
4908extern "C" {
4909    pub fn zend_multibyte_set_internal_encoding(
4910        encoding: *const zend_encoding,
4911    ) -> ::std::os::raw::c_int;
4912}
4913extern "C" {
4914    pub fn zend_multibyte_set_script_encoding_by_string(
4915        new_value: *const ::std::os::raw::c_char,
4916        new_value_length: usize,
4917    ) -> ::std::os::raw::c_int;
4918}
4919#[repr(C)]
4920#[derive(Copy, Clone)]
4921pub struct _zend_declarables {
4922    pub ticks: zval,
4923}
4924#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4925const _: () = {
4926    ["Size of _zend_declarables"][::std::mem::size_of::<_zend_declarables>() - 24usize];
4927    ["Alignment of _zend_declarables"][::std::mem::align_of::<_zend_declarables>() - 8usize];
4928    ["Offset of field: _zend_declarables::ticks"]
4929        [::std::mem::offset_of!(_zend_declarables, ticks) - 0usize];
4930};
4931pub type zend_declarables = _zend_declarables;
4932pub type zend_vm_stack = *mut _zend_vm_stack;
4933pub type zend_ini_entry = _zend_ini_entry;
4934#[repr(C)]
4935#[derive(Copy, Clone)]
4936pub struct _zend_executor_globals {
4937    pub return_value_ptr_ptr: *mut *mut zval,
4938    pub uninitialized_zval: zval,
4939    pub uninitialized_zval_ptr: *mut zval,
4940    pub error_zval: zval,
4941    pub error_zval_ptr: *mut zval,
4942    pub arg_types_stack: zend_ptr_stack,
4943    pub symtable_cache: [*mut HashTable; 32usize],
4944    pub symtable_cache_limit: *mut *mut HashTable,
4945    pub symtable_cache_ptr: *mut *mut HashTable,
4946    pub opline_ptr: *mut *mut zend_op,
4947    pub active_symbol_table: *mut HashTable,
4948    pub symbol_table: HashTable,
4949    pub included_files: HashTable,
4950    pub bailout: *mut jmp_buf,
4951    pub error_reporting: ::std::os::raw::c_int,
4952    pub orig_error_reporting: ::std::os::raw::c_int,
4953    pub exit_status: ::std::os::raw::c_int,
4954    pub active_op_array: *mut zend_op_array,
4955    pub function_table: *mut HashTable,
4956    pub class_table: *mut HashTable,
4957    pub zend_constants: *mut HashTable,
4958    pub scope: *mut zend_class_entry,
4959    pub called_scope: *mut zend_class_entry,
4960    pub This: *mut zval,
4961    pub precision: ::std::os::raw::c_long,
4962    pub ticks_count: ::std::os::raw::c_int,
4963    pub in_execution: zend_bool,
4964    pub in_autoload: *mut HashTable,
4965    pub autoload_func: *mut zend_function,
4966    pub full_tables_cleanup: zend_bool,
4967    pub no_extensions: zend_bool,
4968    pub regular_list: HashTable,
4969    pub persistent_list: HashTable,
4970    pub argument_stack: zend_vm_stack,
4971    pub user_error_handler_error_reporting: ::std::os::raw::c_int,
4972    pub user_error_handler: *mut zval,
4973    pub user_exception_handler: *mut zval,
4974    pub user_error_handlers_error_reporting: zend_stack,
4975    pub user_error_handlers: zend_ptr_stack,
4976    pub user_exception_handlers: zend_ptr_stack,
4977    pub error_handling: zend_error_handling_t,
4978    pub exception_class: *mut zend_class_entry,
4979    pub timeout_seconds: ::std::os::raw::c_int,
4980    pub lambda_count: ::std::os::raw::c_int,
4981    pub ini_directives: *mut HashTable,
4982    pub modified_ini_directives: *mut HashTable,
4983    pub error_reporting_ini_entry: *mut zend_ini_entry,
4984    pub objects_store: zend_objects_store,
4985    pub exception: *mut zval,
4986    pub prev_exception: *mut zval,
4987    pub opline_before_exception: *mut zend_op,
4988    pub exception_op: [zend_op; 3usize],
4989    pub current_execute_data: *mut _zend_execute_data,
4990    pub current_module: *mut _zend_module_entry,
4991    pub std_property_info: zend_property_info,
4992    pub active: zend_bool,
4993    pub start_op: *mut zend_op,
4994    pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
4995    pub saved_fpu_cw: fpu_control_t,
4996    pub reserved: [*mut ::std::os::raw::c_void; 4usize],
4997}
4998#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4999const _: () = {
5000    ["Size of _zend_executor_globals"][::std::mem::size_of::<_zend_executor_globals>() - 1296usize];
5001    ["Alignment of _zend_executor_globals"]
5002        [::std::mem::align_of::<_zend_executor_globals>() - 8usize];
5003    ["Offset of field: _zend_executor_globals::return_value_ptr_ptr"]
5004        [::std::mem::offset_of!(_zend_executor_globals, return_value_ptr_ptr) - 0usize];
5005    ["Offset of field: _zend_executor_globals::uninitialized_zval"]
5006        [::std::mem::offset_of!(_zend_executor_globals, uninitialized_zval) - 8usize];
5007    ["Offset of field: _zend_executor_globals::uninitialized_zval_ptr"]
5008        [::std::mem::offset_of!(_zend_executor_globals, uninitialized_zval_ptr) - 32usize];
5009    ["Offset of field: _zend_executor_globals::error_zval"]
5010        [::std::mem::offset_of!(_zend_executor_globals, error_zval) - 40usize];
5011    ["Offset of field: _zend_executor_globals::error_zval_ptr"]
5012        [::std::mem::offset_of!(_zend_executor_globals, error_zval_ptr) - 64usize];
5013    ["Offset of field: _zend_executor_globals::arg_types_stack"]
5014        [::std::mem::offset_of!(_zend_executor_globals, arg_types_stack) - 72usize];
5015    ["Offset of field: _zend_executor_globals::symtable_cache"]
5016        [::std::mem::offset_of!(_zend_executor_globals, symtable_cache) - 104usize];
5017    ["Offset of field: _zend_executor_globals::symtable_cache_limit"]
5018        [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_limit) - 360usize];
5019    ["Offset of field: _zend_executor_globals::symtable_cache_ptr"]
5020        [::std::mem::offset_of!(_zend_executor_globals, symtable_cache_ptr) - 368usize];
5021    ["Offset of field: _zend_executor_globals::opline_ptr"]
5022        [::std::mem::offset_of!(_zend_executor_globals, opline_ptr) - 376usize];
5023    ["Offset of field: _zend_executor_globals::active_symbol_table"]
5024        [::std::mem::offset_of!(_zend_executor_globals, active_symbol_table) - 384usize];
5025    ["Offset of field: _zend_executor_globals::symbol_table"]
5026        [::std::mem::offset_of!(_zend_executor_globals, symbol_table) - 392usize];
5027    ["Offset of field: _zend_executor_globals::included_files"]
5028        [::std::mem::offset_of!(_zend_executor_globals, included_files) - 464usize];
5029    ["Offset of field: _zend_executor_globals::bailout"]
5030        [::std::mem::offset_of!(_zend_executor_globals, bailout) - 536usize];
5031    ["Offset of field: _zend_executor_globals::error_reporting"]
5032        [::std::mem::offset_of!(_zend_executor_globals, error_reporting) - 544usize];
5033    ["Offset of field: _zend_executor_globals::orig_error_reporting"]
5034        [::std::mem::offset_of!(_zend_executor_globals, orig_error_reporting) - 548usize];
5035    ["Offset of field: _zend_executor_globals::exit_status"]
5036        [::std::mem::offset_of!(_zend_executor_globals, exit_status) - 552usize];
5037    ["Offset of field: _zend_executor_globals::active_op_array"]
5038        [::std::mem::offset_of!(_zend_executor_globals, active_op_array) - 560usize];
5039    ["Offset of field: _zend_executor_globals::function_table"]
5040        [::std::mem::offset_of!(_zend_executor_globals, function_table) - 568usize];
5041    ["Offset of field: _zend_executor_globals::class_table"]
5042        [::std::mem::offset_of!(_zend_executor_globals, class_table) - 576usize];
5043    ["Offset of field: _zend_executor_globals::zend_constants"]
5044        [::std::mem::offset_of!(_zend_executor_globals, zend_constants) - 584usize];
5045    ["Offset of field: _zend_executor_globals::scope"]
5046        [::std::mem::offset_of!(_zend_executor_globals, scope) - 592usize];
5047    ["Offset of field: _zend_executor_globals::called_scope"]
5048        [::std::mem::offset_of!(_zend_executor_globals, called_scope) - 600usize];
5049    ["Offset of field: _zend_executor_globals::This"]
5050        [::std::mem::offset_of!(_zend_executor_globals, This) - 608usize];
5051    ["Offset of field: _zend_executor_globals::precision"]
5052        [::std::mem::offset_of!(_zend_executor_globals, precision) - 616usize];
5053    ["Offset of field: _zend_executor_globals::ticks_count"]
5054        [::std::mem::offset_of!(_zend_executor_globals, ticks_count) - 624usize];
5055    ["Offset of field: _zend_executor_globals::in_execution"]
5056        [::std::mem::offset_of!(_zend_executor_globals, in_execution) - 628usize];
5057    ["Offset of field: _zend_executor_globals::in_autoload"]
5058        [::std::mem::offset_of!(_zend_executor_globals, in_autoload) - 632usize];
5059    ["Offset of field: _zend_executor_globals::autoload_func"]
5060        [::std::mem::offset_of!(_zend_executor_globals, autoload_func) - 640usize];
5061    ["Offset of field: _zend_executor_globals::full_tables_cleanup"]
5062        [::std::mem::offset_of!(_zend_executor_globals, full_tables_cleanup) - 648usize];
5063    ["Offset of field: _zend_executor_globals::no_extensions"]
5064        [::std::mem::offset_of!(_zend_executor_globals, no_extensions) - 649usize];
5065    ["Offset of field: _zend_executor_globals::regular_list"]
5066        [::std::mem::offset_of!(_zend_executor_globals, regular_list) - 656usize];
5067    ["Offset of field: _zend_executor_globals::persistent_list"]
5068        [::std::mem::offset_of!(_zend_executor_globals, persistent_list) - 728usize];
5069    ["Offset of field: _zend_executor_globals::argument_stack"]
5070        [::std::mem::offset_of!(_zend_executor_globals, argument_stack) - 800usize];
5071    ["Offset of field: _zend_executor_globals::user_error_handler_error_reporting"][::std::mem::offset_of!(
5072        _zend_executor_globals,
5073        user_error_handler_error_reporting
5074    ) - 808usize];
5075    ["Offset of field: _zend_executor_globals::user_error_handler"]
5076        [::std::mem::offset_of!(_zend_executor_globals, user_error_handler) - 816usize];
5077    ["Offset of field: _zend_executor_globals::user_exception_handler"]
5078        [::std::mem::offset_of!(_zend_executor_globals, user_exception_handler) - 824usize];
5079    ["Offset of field: _zend_executor_globals::user_error_handlers_error_reporting"][::std::mem::offset_of!(
5080        _zend_executor_globals,
5081        user_error_handlers_error_reporting
5082    ) - 832usize];
5083    ["Offset of field: _zend_executor_globals::user_error_handlers"]
5084        [::std::mem::offset_of!(_zend_executor_globals, user_error_handlers) - 848usize];
5085    ["Offset of field: _zend_executor_globals::user_exception_handlers"]
5086        [::std::mem::offset_of!(_zend_executor_globals, user_exception_handlers) - 880usize];
5087    ["Offset of field: _zend_executor_globals::error_handling"]
5088        [::std::mem::offset_of!(_zend_executor_globals, error_handling) - 912usize];
5089    ["Offset of field: _zend_executor_globals::exception_class"]
5090        [::std::mem::offset_of!(_zend_executor_globals, exception_class) - 920usize];
5091    ["Offset of field: _zend_executor_globals::timeout_seconds"]
5092        [::std::mem::offset_of!(_zend_executor_globals, timeout_seconds) - 928usize];
5093    ["Offset of field: _zend_executor_globals::lambda_count"]
5094        [::std::mem::offset_of!(_zend_executor_globals, lambda_count) - 932usize];
5095    ["Offset of field: _zend_executor_globals::ini_directives"]
5096        [::std::mem::offset_of!(_zend_executor_globals, ini_directives) - 936usize];
5097    ["Offset of field: _zend_executor_globals::modified_ini_directives"]
5098        [::std::mem::offset_of!(_zend_executor_globals, modified_ini_directives) - 944usize];
5099    ["Offset of field: _zend_executor_globals::error_reporting_ini_entry"]
5100        [::std::mem::offset_of!(_zend_executor_globals, error_reporting_ini_entry) - 952usize];
5101    ["Offset of field: _zend_executor_globals::objects_store"]
5102        [::std::mem::offset_of!(_zend_executor_globals, objects_store) - 960usize];
5103    ["Offset of field: _zend_executor_globals::exception"]
5104        [::std::mem::offset_of!(_zend_executor_globals, exception) - 984usize];
5105    ["Offset of field: _zend_executor_globals::prev_exception"]
5106        [::std::mem::offset_of!(_zend_executor_globals, prev_exception) - 992usize];
5107    ["Offset of field: _zend_executor_globals::opline_before_exception"]
5108        [::std::mem::offset_of!(_zend_executor_globals, opline_before_exception) - 1000usize];
5109    ["Offset of field: _zend_executor_globals::exception_op"]
5110        [::std::mem::offset_of!(_zend_executor_globals, exception_op) - 1008usize];
5111    ["Offset of field: _zend_executor_globals::current_execute_data"]
5112        [::std::mem::offset_of!(_zend_executor_globals, current_execute_data) - 1152usize];
5113    ["Offset of field: _zend_executor_globals::current_module"]
5114        [::std::mem::offset_of!(_zend_executor_globals, current_module) - 1160usize];
5115    ["Offset of field: _zend_executor_globals::std_property_info"]
5116        [::std::mem::offset_of!(_zend_executor_globals, std_property_info) - 1168usize];
5117    ["Offset of field: _zend_executor_globals::active"]
5118        [::std::mem::offset_of!(_zend_executor_globals, active) - 1232usize];
5119    ["Offset of field: _zend_executor_globals::start_op"]
5120        [::std::mem::offset_of!(_zend_executor_globals, start_op) - 1240usize];
5121    ["Offset of field: _zend_executor_globals::saved_fpu_cw_ptr"]
5122        [::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw_ptr) - 1248usize];
5123    ["Offset of field: _zend_executor_globals::saved_fpu_cw"]
5124        [::std::mem::offset_of!(_zend_executor_globals, saved_fpu_cw) - 1256usize];
5125    ["Offset of field: _zend_executor_globals::reserved"]
5126        [::std::mem::offset_of!(_zend_executor_globals, reserved) - 1264usize];
5127};
5128#[repr(C)]
5129#[derive(Debug, Copy, Clone)]
5130pub struct _zend_ini_scanner_globals {
5131    pub yy_in: *mut zend_file_handle,
5132    pub yy_out: *mut zend_file_handle,
5133    pub yy_leng: ::std::os::raw::c_uint,
5134    pub yy_start: *mut ::std::os::raw::c_uchar,
5135    pub yy_text: *mut ::std::os::raw::c_uchar,
5136    pub yy_cursor: *mut ::std::os::raw::c_uchar,
5137    pub yy_marker: *mut ::std::os::raw::c_uchar,
5138    pub yy_limit: *mut ::std::os::raw::c_uchar,
5139    pub yy_state: ::std::os::raw::c_int,
5140    pub state_stack: zend_stack,
5141    pub filename: *mut ::std::os::raw::c_char,
5142    pub lineno: ::std::os::raw::c_int,
5143    pub scanner_mode: ::std::os::raw::c_int,
5144}
5145#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5146const _: () = {
5147    ["Size of _zend_ini_scanner_globals"]
5148        [::std::mem::size_of::<_zend_ini_scanner_globals>() - 104usize];
5149    ["Alignment of _zend_ini_scanner_globals"]
5150        [::std::mem::align_of::<_zend_ini_scanner_globals>() - 8usize];
5151    ["Offset of field: _zend_ini_scanner_globals::yy_in"]
5152        [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_in) - 0usize];
5153    ["Offset of field: _zend_ini_scanner_globals::yy_out"]
5154        [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_out) - 8usize];
5155    ["Offset of field: _zend_ini_scanner_globals::yy_leng"]
5156        [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_leng) - 16usize];
5157    ["Offset of field: _zend_ini_scanner_globals::yy_start"]
5158        [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_start) - 24usize];
5159    ["Offset of field: _zend_ini_scanner_globals::yy_text"]
5160        [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_text) - 32usize];
5161    ["Offset of field: _zend_ini_scanner_globals::yy_cursor"]
5162        [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_cursor) - 40usize];
5163    ["Offset of field: _zend_ini_scanner_globals::yy_marker"]
5164        [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_marker) - 48usize];
5165    ["Offset of field: _zend_ini_scanner_globals::yy_limit"]
5166        [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_limit) - 56usize];
5167    ["Offset of field: _zend_ini_scanner_globals::yy_state"]
5168        [::std::mem::offset_of!(_zend_ini_scanner_globals, yy_state) - 64usize];
5169    ["Offset of field: _zend_ini_scanner_globals::state_stack"]
5170        [::std::mem::offset_of!(_zend_ini_scanner_globals, state_stack) - 72usize];
5171    ["Offset of field: _zend_ini_scanner_globals::filename"]
5172        [::std::mem::offset_of!(_zend_ini_scanner_globals, filename) - 88usize];
5173    ["Offset of field: _zend_ini_scanner_globals::lineno"]
5174        [::std::mem::offset_of!(_zend_ini_scanner_globals, lineno) - 96usize];
5175    ["Offset of field: _zend_ini_scanner_globals::scanner_mode"]
5176        [::std::mem::offset_of!(_zend_ini_scanner_globals, scanner_mode) - 100usize];
5177};
5178#[repr(C)]
5179#[derive(Debug, Copy, Clone)]
5180pub struct _zend_php_scanner_globals {
5181    pub yy_in: *mut zend_file_handle,
5182    pub yy_out: *mut zend_file_handle,
5183    pub yy_leng: ::std::os::raw::c_uint,
5184    pub yy_start: *mut ::std::os::raw::c_uchar,
5185    pub yy_text: *mut ::std::os::raw::c_uchar,
5186    pub yy_cursor: *mut ::std::os::raw::c_uchar,
5187    pub yy_marker: *mut ::std::os::raw::c_uchar,
5188    pub yy_limit: *mut ::std::os::raw::c_uchar,
5189    pub yy_state: ::std::os::raw::c_int,
5190    pub state_stack: zend_stack,
5191    pub script_org: *mut ::std::os::raw::c_uchar,
5192    pub script_org_size: usize,
5193    pub script_filtered: *mut ::std::os::raw::c_uchar,
5194    pub script_filtered_size: usize,
5195    pub input_filter: zend_encoding_filter,
5196    pub output_filter: zend_encoding_filter,
5197    pub script_encoding: *const zend_encoding,
5198}
5199#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5200const _: () = {
5201    ["Size of _zend_php_scanner_globals"]
5202        [::std::mem::size_of::<_zend_php_scanner_globals>() - 144usize];
5203    ["Alignment of _zend_php_scanner_globals"]
5204        [::std::mem::align_of::<_zend_php_scanner_globals>() - 8usize];
5205    ["Offset of field: _zend_php_scanner_globals::yy_in"]
5206        [::std::mem::offset_of!(_zend_php_scanner_globals, yy_in) - 0usize];
5207    ["Offset of field: _zend_php_scanner_globals::yy_out"]
5208        [::std::mem::offset_of!(_zend_php_scanner_globals, yy_out) - 8usize];
5209    ["Offset of field: _zend_php_scanner_globals::yy_leng"]
5210        [::std::mem::offset_of!(_zend_php_scanner_globals, yy_leng) - 16usize];
5211    ["Offset of field: _zend_php_scanner_globals::yy_start"]
5212        [::std::mem::offset_of!(_zend_php_scanner_globals, yy_start) - 24usize];
5213    ["Offset of field: _zend_php_scanner_globals::yy_text"]
5214        [::std::mem::offset_of!(_zend_php_scanner_globals, yy_text) - 32usize];
5215    ["Offset of field: _zend_php_scanner_globals::yy_cursor"]
5216        [::std::mem::offset_of!(_zend_php_scanner_globals, yy_cursor) - 40usize];
5217    ["Offset of field: _zend_php_scanner_globals::yy_marker"]
5218        [::std::mem::offset_of!(_zend_php_scanner_globals, yy_marker) - 48usize];
5219    ["Offset of field: _zend_php_scanner_globals::yy_limit"]
5220        [::std::mem::offset_of!(_zend_php_scanner_globals, yy_limit) - 56usize];
5221    ["Offset of field: _zend_php_scanner_globals::yy_state"]
5222        [::std::mem::offset_of!(_zend_php_scanner_globals, yy_state) - 64usize];
5223    ["Offset of field: _zend_php_scanner_globals::state_stack"]
5224        [::std::mem::offset_of!(_zend_php_scanner_globals, state_stack) - 72usize];
5225    ["Offset of field: _zend_php_scanner_globals::script_org"]
5226        [::std::mem::offset_of!(_zend_php_scanner_globals, script_org) - 88usize];
5227    ["Offset of field: _zend_php_scanner_globals::script_org_size"]
5228        [::std::mem::offset_of!(_zend_php_scanner_globals, script_org_size) - 96usize];
5229    ["Offset of field: _zend_php_scanner_globals::script_filtered"]
5230        [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered) - 104usize];
5231    ["Offset of field: _zend_php_scanner_globals::script_filtered_size"]
5232        [::std::mem::offset_of!(_zend_php_scanner_globals, script_filtered_size) - 112usize];
5233    ["Offset of field: _zend_php_scanner_globals::input_filter"]
5234        [::std::mem::offset_of!(_zend_php_scanner_globals, input_filter) - 120usize];
5235    ["Offset of field: _zend_php_scanner_globals::output_filter"]
5236        [::std::mem::offset_of!(_zend_php_scanner_globals, output_filter) - 128usize];
5237    ["Offset of field: _zend_php_scanner_globals::script_encoding"]
5238        [::std::mem::offset_of!(_zend_php_scanner_globals, script_encoding) - 136usize];
5239};
5240extern "C" {
5241    pub fn zend_init_compiler_data_structures();
5242}
5243extern "C" {
5244    pub fn zend_init_compiler_context();
5245}
5246extern "C" {
5247    pub static mut zend_compile_file: ::std::option::Option<
5248        unsafe extern "C" fn(
5249            file_handle: *mut zend_file_handle,
5250            type_: ::std::os::raw::c_int,
5251        ) -> *mut zend_op_array,
5252    >;
5253}
5254extern "C" {
5255    pub static mut zend_compile_string: ::std::option::Option<
5256        unsafe extern "C" fn(
5257            source_string: *mut zval,
5258            filename: *mut ::std::os::raw::c_char,
5259        ) -> *mut zend_op_array,
5260    >;
5261}
5262extern "C" {
5263    pub fn zend_set_compiled_filename(
5264        new_compiled_filename: *const ::std::os::raw::c_char,
5265    ) -> *mut ::std::os::raw::c_char;
5266}
5267extern "C" {
5268    pub fn zend_restore_compiled_filename(original_compiled_filename: *mut ::std::os::raw::c_char);
5269}
5270extern "C" {
5271    pub fn zend_get_compiled_filename() -> *mut ::std::os::raw::c_char;
5272}
5273extern "C" {
5274    pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
5275}
5276extern "C" {
5277    pub fn zend_get_scanned_file_offset() -> usize;
5278}
5279extern "C" {
5280    pub fn zend_resolve_non_class_name(element_name: *mut znode, check_namespace: zend_bool);
5281}
5282extern "C" {
5283    pub fn zend_resolve_class_name(
5284        class_name: *mut znode,
5285        fetch_type: ulong,
5286        check_ns_name: ::std::os::raw::c_int,
5287    );
5288}
5289extern "C" {
5290    pub fn zend_get_compiled_variable_name(
5291        op_array: *const zend_op_array,
5292        var: zend_uint,
5293        name_len: *mut ::std::os::raw::c_int,
5294    ) -> *const ::std::os::raw::c_char;
5295}
5296extern "C" {
5297    pub fn zend_do_binary_op(
5298        op: zend_uchar,
5299        result: *mut znode,
5300        op1: *const znode,
5301        op2: *const znode,
5302    );
5303}
5304extern "C" {
5305    pub fn zend_do_unary_op(op: zend_uchar, result: *mut znode, op1: *const znode);
5306}
5307extern "C" {
5308    pub fn zend_do_binary_assign_op(
5309        op: zend_uchar,
5310        result: *mut znode,
5311        op1: *const znode,
5312        op2: *const znode,
5313    );
5314}
5315extern "C" {
5316    pub fn zend_do_assign(result: *mut znode, variable: *mut znode, value: *mut znode);
5317}
5318extern "C" {
5319    pub fn zend_do_assign_ref(result: *mut znode, lvar: *const znode, rvar: *const znode);
5320}
5321extern "C" {
5322    pub fn zend_do_indirect_references(
5323        result: *mut znode,
5324        num_references: *const znode,
5325        variable: *mut znode,
5326    );
5327}
5328extern "C" {
5329    pub fn zend_do_fetch_static_variable(
5330        varname: *mut znode,
5331        static_assignment: *const znode,
5332        fetch_type: ::std::os::raw::c_int,
5333    );
5334}
5335extern "C" {
5336    pub fn zend_do_fetch_global_variable(
5337        varname: *mut znode,
5338        static_assignment: *const znode,
5339        fetch_type: ::std::os::raw::c_int,
5340    );
5341}
5342extern "C" {
5343    pub fn zend_do_fetch_static_member(result: *mut znode, class_znode: *mut znode);
5344}
5345extern "C" {
5346    pub fn zend_do_print(result: *mut znode, arg: *const znode);
5347}
5348extern "C" {
5349    pub fn zend_do_echo(arg: *const znode);
5350}
5351extern "C" {
5352    pub fn zend_do_while_cond(expr: *const znode, close_bracket_token: *mut znode);
5353}
5354extern "C" {
5355    pub fn zend_do_while_end(while_token: *const znode, close_bracket_token: *const znode);
5356}
5357extern "C" {
5358    pub fn zend_do_do_while_begin();
5359}
5360extern "C" {
5361    pub fn zend_do_do_while_end(
5362        do_token: *const znode,
5363        expr_open_bracket: *const znode,
5364        expr: *const znode,
5365    );
5366}
5367extern "C" {
5368    pub fn zend_do_if_cond(cond: *const znode, closing_bracket_token: *mut znode);
5369}
5370extern "C" {
5371    pub fn zend_do_if_after_statement(
5372        closing_bracket_token: *const znode,
5373        initialize: ::std::os::raw::c_uchar,
5374    );
5375}
5376extern "C" {
5377    pub fn zend_do_if_end();
5378}
5379extern "C" {
5380    pub fn zend_do_for_cond(expr: *const znode, second_semicolon_token: *mut znode);
5381}
5382extern "C" {
5383    pub fn zend_do_for_before_statement(
5384        cond_start: *const znode,
5385        second_semicolon_token: *const znode,
5386    );
5387}
5388extern "C" {
5389    pub fn zend_do_for_end(second_semicolon_token: *const znode);
5390}
5391extern "C" {
5392    pub fn zend_do_pre_incdec(result: *mut znode, op1: *const znode, op: zend_uchar);
5393}
5394extern "C" {
5395    pub fn zend_do_post_incdec(result: *mut znode, op1: *const znode, op: zend_uchar);
5396}
5397extern "C" {
5398    pub fn zend_do_begin_variable_parse();
5399}
5400extern "C" {
5401    pub fn zend_do_end_variable_parse(
5402        variable: *mut znode,
5403        type_: ::std::os::raw::c_int,
5404        arg_offset: ::std::os::raw::c_int,
5405    );
5406}
5407extern "C" {
5408    pub fn zend_check_writable_variable(variable: *const znode);
5409}
5410extern "C" {
5411    pub fn zend_do_free(op1: *mut znode);
5412}
5413extern "C" {
5414    pub fn zend_do_add_string(result: *mut znode, op1: *const znode, op2: *mut znode);
5415}
5416extern "C" {
5417    pub fn zend_do_add_variable(result: *mut znode, op1: *const znode, op2: *const znode);
5418}
5419extern "C" {
5420    pub fn zend_do_verify_access_types(
5421        current_access_type: *const znode,
5422        new_modifier: *const znode,
5423    ) -> ::std::os::raw::c_int;
5424}
5425extern "C" {
5426    pub fn zend_do_begin_function_declaration(
5427        function_token: *mut znode,
5428        function_name: *mut znode,
5429        is_method: ::std::os::raw::c_int,
5430        return_reference: ::std::os::raw::c_int,
5431        fn_flags_znode: *mut znode,
5432    );
5433}
5434extern "C" {
5435    pub fn zend_do_end_function_declaration(function_token: *const znode);
5436}
5437extern "C" {
5438    pub fn zend_do_receive_arg(
5439        op: zend_uchar,
5440        varname: *mut znode,
5441        offset: *const znode,
5442        initialization: *const znode,
5443        class_type: *mut znode,
5444        pass_by_reference: zend_bool,
5445    );
5446}
5447extern "C" {
5448    pub fn zend_do_begin_function_call(
5449        function_name: *mut znode,
5450        check_namespace: zend_bool,
5451    ) -> ::std::os::raw::c_int;
5452}
5453extern "C" {
5454    pub fn zend_do_begin_method_call(left_bracket: *mut znode);
5455}
5456extern "C" {
5457    pub fn zend_do_clone(result: *mut znode, expr: *const znode);
5458}
5459extern "C" {
5460    pub fn zend_do_begin_dynamic_function_call(
5461        function_name: *mut znode,
5462        prefix_len: ::std::os::raw::c_int,
5463    );
5464}
5465extern "C" {
5466    pub fn zend_do_fetch_class(result: *mut znode, class_name: *mut znode);
5467}
5468extern "C" {
5469    pub fn zend_do_build_full_name(
5470        result: *mut znode,
5471        prefix: *mut znode,
5472        name: *mut znode,
5473        is_class_member: ::std::os::raw::c_int,
5474    );
5475}
5476extern "C" {
5477    pub fn zend_do_begin_class_member_function_call(
5478        class_name: *mut znode,
5479        method_name: *mut znode,
5480    ) -> ::std::os::raw::c_int;
5481}
5482extern "C" {
5483    pub fn zend_do_end_function_call(
5484        function_name: *mut znode,
5485        result: *mut znode,
5486        argument_list: *const znode,
5487        is_method: ::std::os::raw::c_int,
5488        is_dynamic_fcall: ::std::os::raw::c_int,
5489    );
5490}
5491extern "C" {
5492    pub fn zend_do_return(expr: *mut znode, do_end_vparse: ::std::os::raw::c_int);
5493}
5494extern "C" {
5495    pub fn zend_do_handle_exception();
5496}
5497extern "C" {
5498    pub fn zend_do_begin_lambda_function_declaration(
5499        result: *mut znode,
5500        function_token: *mut znode,
5501        return_reference: ::std::os::raw::c_int,
5502        is_static: ::std::os::raw::c_int,
5503    );
5504}
5505extern "C" {
5506    pub fn zend_do_fetch_lexical_variable(varname: *mut znode, is_ref: zend_bool);
5507}
5508extern "C" {
5509    pub fn zend_do_try(try_token: *mut znode);
5510}
5511extern "C" {
5512    pub fn zend_do_begin_catch(
5513        try_token: *mut znode,
5514        catch_class: *mut znode,
5515        catch_var: *mut znode,
5516        first_catch: *mut znode,
5517    );
5518}
5519extern "C" {
5520    pub fn zend_do_end_catch(try_token: *const znode);
5521}
5522extern "C" {
5523    pub fn zend_do_throw(expr: *const znode);
5524}
5525extern "C" {
5526    pub fn zend_do_inherit_interfaces(ce: *mut zend_class_entry, iface: *const zend_class_entry);
5527}
5528extern "C" {
5529    pub fn zend_do_implement_interface(ce: *mut zend_class_entry, iface: *mut zend_class_entry);
5530}
5531extern "C" {
5532    pub fn zend_do_implements_interface(interface_znode: *mut znode);
5533}
5534extern "C" {
5535    pub fn zend_do_use_trait(trait_znode: *mut znode);
5536}
5537extern "C" {
5538    pub fn zend_prepare_reference(
5539        result: *mut znode,
5540        class_name: *mut znode,
5541        method_name: *mut znode,
5542    );
5543}
5544extern "C" {
5545    pub fn zend_add_trait_precedence(method_reference: *mut znode, trait_list: *mut znode);
5546}
5547extern "C" {
5548    pub fn zend_add_trait_alias(
5549        method_reference: *mut znode,
5550        modifiers: *mut znode,
5551        alias: *mut znode,
5552    );
5553}
5554extern "C" {
5555    pub fn zend_do_implement_trait(ce: *mut zend_class_entry, trait_: *mut zend_class_entry);
5556}
5557extern "C" {
5558    pub fn zend_do_bind_traits(ce: *mut zend_class_entry);
5559}
5560extern "C" {
5561    pub fn zend_do_inheritance(ce: *mut zend_class_entry, parent_ce: *mut zend_class_entry);
5562}
5563extern "C" {
5564    pub fn zend_do_early_binding();
5565}
5566extern "C" {
5567    pub fn zend_do_delayed_early_binding(op_array: *const zend_op_array);
5568}
5569extern "C" {
5570    pub fn zend_do_pass_param(param: *mut znode, op: zend_uchar, offset: ::std::os::raw::c_int);
5571}
5572extern "C" {
5573    pub fn zend_do_boolean_or_begin(expr1: *mut znode, op_token: *mut znode);
5574}
5575extern "C" {
5576    pub fn zend_do_boolean_or_end(
5577        result: *mut znode,
5578        expr1: *const znode,
5579        expr2: *const znode,
5580        op_token: *mut znode,
5581    );
5582}
5583extern "C" {
5584    pub fn zend_do_boolean_and_begin(expr1: *mut znode, op_token: *mut znode);
5585}
5586extern "C" {
5587    pub fn zend_do_boolean_and_end(
5588        result: *mut znode,
5589        expr1: *const znode,
5590        expr2: *const znode,
5591        op_token: *const znode,
5592    );
5593}
5594extern "C" {
5595    pub fn zend_do_brk_cont(op: zend_uchar, expr: *const znode);
5596}
5597extern "C" {
5598    pub fn zend_do_switch_cond(cond: *const znode);
5599}
5600extern "C" {
5601    pub fn zend_do_switch_end(case_list: *const znode);
5602}
5603extern "C" {
5604    pub fn zend_do_case_before_statement(
5605        case_list: *const znode,
5606        case_token: *mut znode,
5607        case_expr: *const znode,
5608    );
5609}
5610extern "C" {
5611    pub fn zend_do_case_after_statement(result: *mut znode, case_token: *const znode);
5612}
5613extern "C" {
5614    pub fn zend_do_default_before_statement(case_list: *const znode, default_token: *mut znode);
5615}
5616extern "C" {
5617    pub fn zend_do_begin_class_declaration(
5618        class_token: *const znode,
5619        class_name: *mut znode,
5620        parent_class_name: *const znode,
5621    );
5622}
5623extern "C" {
5624    pub fn zend_do_end_class_declaration(class_token: *const znode, parent_token: *const znode);
5625}
5626extern "C" {
5627    pub fn zend_do_declare_property(
5628        var_name: *const znode,
5629        value: *const znode,
5630        access_type: zend_uint,
5631    );
5632}
5633extern "C" {
5634    pub fn zend_do_declare_class_constant(var_name: *mut znode, value: *const znode);
5635}
5636extern "C" {
5637    pub fn zend_do_fetch_property(result: *mut znode, object: *mut znode, property: *const znode);
5638}
5639extern "C" {
5640    pub fn zend_do_halt_compiler_register();
5641}
5642extern "C" {
5643    pub fn zend_do_push_object(object: *const znode);
5644}
5645extern "C" {
5646    pub fn zend_do_pop_object(object: *mut znode);
5647}
5648extern "C" {
5649    pub fn zend_do_begin_new_object(new_token: *mut znode, class_type: *mut znode);
5650}
5651extern "C" {
5652    pub fn zend_do_end_new_object(
5653        result: *mut znode,
5654        new_token: *const znode,
5655        argument_list: *const znode,
5656    );
5657}
5658extern "C" {
5659    pub fn zend_do_fetch_constant(
5660        result: *mut znode,
5661        constant_container: *mut znode,
5662        constant_name: *mut znode,
5663        mode: ::std::os::raw::c_int,
5664        check_namespace: zend_bool,
5665    );
5666}
5667extern "C" {
5668    pub fn zend_do_shell_exec(result: *mut znode, cmd: *const znode);
5669}
5670extern "C" {
5671    pub fn zend_do_init_array(
5672        result: *mut znode,
5673        expr: *const znode,
5674        offset: *const znode,
5675        is_ref: zend_bool,
5676    );
5677}
5678extern "C" {
5679    pub fn zend_do_add_array_element(
5680        result: *mut znode,
5681        expr: *const znode,
5682        offset: *const znode,
5683        is_ref: zend_bool,
5684    );
5685}
5686extern "C" {
5687    pub fn zend_do_add_static_array_element(
5688        result: *mut znode,
5689        offset: *mut znode,
5690        expr: *const znode,
5691    );
5692}
5693extern "C" {
5694    pub fn zend_do_list_init();
5695}
5696extern "C" {
5697    pub fn zend_do_list_end(result: *mut znode, expr: *mut znode);
5698}
5699extern "C" {
5700    pub fn zend_do_add_list_element(element: *const znode);
5701}
5702extern "C" {
5703    pub fn zend_do_new_list_begin();
5704}
5705extern "C" {
5706    pub fn zend_do_new_list_end();
5707}
5708extern "C" {
5709    pub fn zend_init_list(result: *mut ::std::os::raw::c_void, item: *mut ::std::os::raw::c_void);
5710}
5711extern "C" {
5712    pub fn zend_add_to_list(result: *mut ::std::os::raw::c_void, item: *mut ::std::os::raw::c_void);
5713}
5714extern "C" {
5715    pub fn zend_do_cast(result: *mut znode, expr: *const znode, type_: ::std::os::raw::c_int);
5716}
5717extern "C" {
5718    pub fn zend_do_include_or_eval(
5719        type_: ::std::os::raw::c_int,
5720        result: *mut znode,
5721        op1: *const znode,
5722    );
5723}
5724extern "C" {
5725    pub fn zend_do_unset(variable: *const znode);
5726}
5727extern "C" {
5728    pub fn zend_do_isset_or_isempty(
5729        type_: ::std::os::raw::c_int,
5730        result: *mut znode,
5731        variable: *mut znode,
5732    );
5733}
5734extern "C" {
5735    pub fn zend_do_instanceof(
5736        result: *mut znode,
5737        expr: *const znode,
5738        class_znode: *const znode,
5739        type_: ::std::os::raw::c_int,
5740    );
5741}
5742extern "C" {
5743    pub fn zend_do_foreach_begin(
5744        foreach_token: *mut znode,
5745        open_brackets_token: *mut znode,
5746        array: *mut znode,
5747        as_token: *mut znode,
5748        variable: ::std::os::raw::c_int,
5749    );
5750}
5751extern "C" {
5752    pub fn zend_do_foreach_cont(
5753        foreach_token: *mut znode,
5754        open_brackets_token: *const znode,
5755        as_token: *const znode,
5756        value: *mut znode,
5757        key: *mut znode,
5758    );
5759}
5760extern "C" {
5761    pub fn zend_do_foreach_end(foreach_token: *const znode, as_token: *const znode);
5762}
5763extern "C" {
5764    pub fn zend_do_declare_begin();
5765}
5766extern "C" {
5767    pub fn zend_do_declare_stmt(var: *mut znode, val: *mut znode);
5768}
5769extern "C" {
5770    pub fn zend_do_declare_end(declare_token: *const znode);
5771}
5772extern "C" {
5773    pub fn zend_do_exit(result: *mut znode, message: *const znode);
5774}
5775extern "C" {
5776    pub fn zend_do_begin_silence(strudel_token: *mut znode);
5777}
5778extern "C" {
5779    pub fn zend_do_end_silence(strudel_token: *const znode);
5780}
5781extern "C" {
5782    pub fn zend_do_jmp_set(value: *const znode, jmp_token: *mut znode, colon_token: *mut znode);
5783}
5784extern "C" {
5785    pub fn zend_do_jmp_set_else(
5786        result: *mut znode,
5787        false_value: *const znode,
5788        jmp_token: *const znode,
5789        colon_token: *const znode,
5790    );
5791}
5792extern "C" {
5793    pub fn zend_do_begin_qm_op(cond: *const znode, qm_token: *mut znode);
5794}
5795extern "C" {
5796    pub fn zend_do_qm_true(true_value: *const znode, qm_token: *mut znode, colon_token: *mut znode);
5797}
5798extern "C" {
5799    pub fn zend_do_qm_false(
5800        result: *mut znode,
5801        false_value: *const znode,
5802        qm_token: *const znode,
5803        colon_token: *const znode,
5804    );
5805}
5806extern "C" {
5807    pub fn zend_do_extended_info();
5808}
5809extern "C" {
5810    pub fn zend_do_extended_fcall_begin();
5811}
5812extern "C" {
5813    pub fn zend_do_extended_fcall_end();
5814}
5815extern "C" {
5816    pub fn zend_do_ticks();
5817}
5818extern "C" {
5819    pub fn zend_do_abstract_method(
5820        function_name: *const znode,
5821        modifiers: *mut znode,
5822        body: *const znode,
5823    );
5824}
5825extern "C" {
5826    pub fn zend_do_declare_constant(name: *mut znode, value: *mut znode);
5827}
5828extern "C" {
5829    pub fn zend_do_build_namespace_name(result: *mut znode, prefix: *mut znode, name: *mut znode);
5830}
5831extern "C" {
5832    pub fn zend_do_begin_namespace(name: *const znode, with_brackets: zend_bool);
5833}
5834extern "C" {
5835    pub fn zend_do_end_namespace();
5836}
5837extern "C" {
5838    pub fn zend_verify_namespace();
5839}
5840extern "C" {
5841    pub fn zend_do_use(name: *mut znode, new_name: *mut znode, is_global: ::std::os::raw::c_int);
5842}
5843extern "C" {
5844    pub fn zend_do_end_compilation();
5845}
5846extern "C" {
5847    pub fn zend_do_label(label: *mut znode);
5848}
5849extern "C" {
5850    pub fn zend_do_goto(label: *const znode);
5851}
5852extern "C" {
5853    pub fn zend_resolve_goto_label(
5854        op_array: *mut zend_op_array,
5855        opline: *mut zend_op,
5856        pass2: ::std::os::raw::c_int,
5857    );
5858}
5859extern "C" {
5860    pub fn zend_release_labels(temporary: ::std::os::raw::c_int);
5861}
5862extern "C" {
5863    pub fn zend_execute_scripts(
5864        type_: ::std::os::raw::c_int,
5865        retval: *mut *mut zval,
5866        file_count: ::std::os::raw::c_int,
5867        ...
5868    ) -> ::std::os::raw::c_int;
5869}
5870extern "C" {
5871    pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
5872}
5873extern "C" {
5874    pub fn zend_cleanup_class_data(pce: *mut *mut zend_class_entry) -> ::std::os::raw::c_int;
5875}
5876extern "C" {
5877    pub fn zend_cleanup_user_class_data(pce: *mut *mut zend_class_entry) -> ::std::os::raw::c_int;
5878}
5879extern "C" {
5880    pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
5881}
5882extern "C" {
5883    pub fn zend_cleanup_internal_classes();
5884}
5885extern "C" {
5886    pub fn zend_cleanup_function_data(function: *mut zend_function) -> ::std::os::raw::c_int;
5887}
5888extern "C" {
5889    pub fn zend_cleanup_function_data_full(function: *mut zend_function) -> ::std::os::raw::c_int;
5890}
5891extern "C" {
5892    pub fn zend_function_dtor(function: *mut zend_function);
5893}
5894extern "C" {
5895    pub fn zend_class_add_ref(ce: *mut *mut zend_class_entry);
5896}
5897extern "C" {
5898    pub fn zend_mangle_property_name(
5899        dest: *mut *mut ::std::os::raw::c_char,
5900        dest_length: *mut ::std::os::raw::c_int,
5901        src1: *const ::std::os::raw::c_char,
5902        src1_length: ::std::os::raw::c_int,
5903        src2: *const ::std::os::raw::c_char,
5904        src2_length: ::std::os::raw::c_int,
5905        internal: ::std::os::raw::c_int,
5906    );
5907}
5908extern "C" {
5909    pub fn zend_unmangle_property_name(
5910        mangled_property: *const ::std::os::raw::c_char,
5911        mangled_property_len: ::std::os::raw::c_int,
5912        class_name: *mut *const ::std::os::raw::c_char,
5913        prop_name: *mut *const ::std::os::raw::c_char,
5914    ) -> ::std::os::raw::c_int;
5915}
5916extern "C" {
5917    pub fn zend_do_first_catch(open_parentheses: *mut znode);
5918}
5919extern "C" {
5920    pub fn zend_initialize_try_catch_element(try_token: *const znode);
5921}
5922extern "C" {
5923    pub fn zend_do_mark_last_catch(first_catch: *const znode, last_additional_catch: *const znode);
5924}
5925extern "C" {
5926    pub fn zend_is_compiling() -> zend_bool;
5927}
5928extern "C" {
5929    pub fn zend_make_compiled_string_description(
5930        name: *const ::std::os::raw::c_char,
5931    ) -> *mut ::std::os::raw::c_char;
5932}
5933extern "C" {
5934    pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: zend_bool);
5935}
5936extern "C" {
5937    pub fn zend_get_class_fetch_type(
5938        class_name: *const ::std::os::raw::c_char,
5939        class_name_len: uint,
5940    ) -> ::std::os::raw::c_int;
5941}
5942pub type zend_auto_global_callback = ::std::option::Option<
5943    unsafe extern "C" fn(name: *const ::std::os::raw::c_char, name_len: uint) -> zend_bool,
5944>;
5945#[repr(C)]
5946#[derive(Debug, Copy, Clone)]
5947pub struct _zend_auto_global {
5948    pub name: *const ::std::os::raw::c_char,
5949    pub name_len: uint,
5950    pub auto_global_callback: zend_auto_global_callback,
5951    pub jit: zend_bool,
5952    pub armed: zend_bool,
5953}
5954#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5955const _: () = {
5956    ["Size of _zend_auto_global"][::std::mem::size_of::<_zend_auto_global>() - 32usize];
5957    ["Alignment of _zend_auto_global"][::std::mem::align_of::<_zend_auto_global>() - 8usize];
5958    ["Offset of field: _zend_auto_global::name"]
5959        [::std::mem::offset_of!(_zend_auto_global, name) - 0usize];
5960    ["Offset of field: _zend_auto_global::name_len"]
5961        [::std::mem::offset_of!(_zend_auto_global, name_len) - 8usize];
5962    ["Offset of field: _zend_auto_global::auto_global_callback"]
5963        [::std::mem::offset_of!(_zend_auto_global, auto_global_callback) - 16usize];
5964    ["Offset of field: _zend_auto_global::jit"]
5965        [::std::mem::offset_of!(_zend_auto_global, jit) - 24usize];
5966    ["Offset of field: _zend_auto_global::armed"]
5967        [::std::mem::offset_of!(_zend_auto_global, armed) - 25usize];
5968};
5969pub type zend_auto_global = _zend_auto_global;
5970extern "C" {
5971    pub fn zend_register_auto_global(
5972        name: *const ::std::os::raw::c_char,
5973        name_len: uint,
5974        jit: zend_bool,
5975        auto_global_callback: zend_auto_global_callback,
5976    ) -> ::std::os::raw::c_int;
5977}
5978extern "C" {
5979    pub fn zend_activate_auto_globals();
5980}
5981extern "C" {
5982    pub fn zend_is_auto_global(name: *const ::std::os::raw::c_char, name_len: uint) -> zend_bool;
5983}
5984extern "C" {
5985    pub fn zend_is_auto_global_quick(
5986        name: *const ::std::os::raw::c_char,
5987        name_len: uint,
5988        hashval: ulong,
5989    ) -> zend_bool;
5990}
5991extern "C" {
5992    pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: usize) -> usize;
5993}
5994extern "C" {
5995    pub fn zendlex(zendlval: *mut znode) -> ::std::os::raw::c_int;
5996}
5997extern "C" {
5998    pub fn zend_add_literal(op_array: *mut zend_op_array, zv: *const zval)
5999        -> ::std::os::raw::c_int;
6000}
6001extern "C" {
6002    pub fn zend_get_opcode_name(opcode: zend_uchar) -> *const ::std::os::raw::c_char;
6003}
6004pub type zend_module_entry = _zend_module_entry;
6005pub type zend_module_dep = _zend_module_dep;
6006#[repr(C)]
6007#[derive(Debug, Copy, Clone)]
6008pub struct _zend_module_entry {
6009    pub size: ::std::os::raw::c_ushort,
6010    pub zend_api: ::std::os::raw::c_uint,
6011    pub zend_debug: ::std::os::raw::c_uchar,
6012    pub zts: ::std::os::raw::c_uchar,
6013    pub ini_entry: *const _zend_ini_entry,
6014    pub deps: *const _zend_module_dep,
6015    pub name: *const ::std::os::raw::c_char,
6016    pub functions: *const _zend_function_entry,
6017    pub module_startup_func: ::std::option::Option<
6018        unsafe extern "C" fn(
6019            type_: ::std::os::raw::c_int,
6020            module_number: ::std::os::raw::c_int,
6021        ) -> ::std::os::raw::c_int,
6022    >,
6023    pub module_shutdown_func: ::std::option::Option<
6024        unsafe extern "C" fn(
6025            type_: ::std::os::raw::c_int,
6026            module_number: ::std::os::raw::c_int,
6027        ) -> ::std::os::raw::c_int,
6028    >,
6029    pub request_startup_func: ::std::option::Option<
6030        unsafe extern "C" fn(
6031            type_: ::std::os::raw::c_int,
6032            module_number: ::std::os::raw::c_int,
6033        ) -> ::std::os::raw::c_int,
6034    >,
6035    pub request_shutdown_func: ::std::option::Option<
6036        unsafe extern "C" fn(
6037            type_: ::std::os::raw::c_int,
6038            module_number: ::std::os::raw::c_int,
6039        ) -> ::std::os::raw::c_int,
6040    >,
6041    pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
6042    pub version: *const ::std::os::raw::c_char,
6043    pub globals_size: usize,
6044    pub globals_ptr: *mut ::std::os::raw::c_void,
6045    pub globals_ctor:
6046        ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
6047    pub globals_dtor:
6048        ::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
6049    pub post_deactivate_func:
6050        ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
6051    pub module_started: ::std::os::raw::c_int,
6052    pub type_: ::std::os::raw::c_uchar,
6053    pub handle: *mut ::std::os::raw::c_void,
6054    pub module_number: ::std::os::raw::c_int,
6055    pub build_id: *const ::std::os::raw::c_char,
6056}
6057#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6058const _: () = {
6059    ["Size of _zend_module_entry"][::std::mem::size_of::<_zend_module_entry>() - 168usize];
6060    ["Alignment of _zend_module_entry"][::std::mem::align_of::<_zend_module_entry>() - 8usize];
6061    ["Offset of field: _zend_module_entry::size"]
6062        [::std::mem::offset_of!(_zend_module_entry, size) - 0usize];
6063    ["Offset of field: _zend_module_entry::zend_api"]
6064        [::std::mem::offset_of!(_zend_module_entry, zend_api) - 4usize];
6065    ["Offset of field: _zend_module_entry::zend_debug"]
6066        [::std::mem::offset_of!(_zend_module_entry, zend_debug) - 8usize];
6067    ["Offset of field: _zend_module_entry::zts"]
6068        [::std::mem::offset_of!(_zend_module_entry, zts) - 9usize];
6069    ["Offset of field: _zend_module_entry::ini_entry"]
6070        [::std::mem::offset_of!(_zend_module_entry, ini_entry) - 16usize];
6071    ["Offset of field: _zend_module_entry::deps"]
6072        [::std::mem::offset_of!(_zend_module_entry, deps) - 24usize];
6073    ["Offset of field: _zend_module_entry::name"]
6074        [::std::mem::offset_of!(_zend_module_entry, name) - 32usize];
6075    ["Offset of field: _zend_module_entry::functions"]
6076        [::std::mem::offset_of!(_zend_module_entry, functions) - 40usize];
6077    ["Offset of field: _zend_module_entry::module_startup_func"]
6078        [::std::mem::offset_of!(_zend_module_entry, module_startup_func) - 48usize];
6079    ["Offset of field: _zend_module_entry::module_shutdown_func"]
6080        [::std::mem::offset_of!(_zend_module_entry, module_shutdown_func) - 56usize];
6081    ["Offset of field: _zend_module_entry::request_startup_func"]
6082        [::std::mem::offset_of!(_zend_module_entry, request_startup_func) - 64usize];
6083    ["Offset of field: _zend_module_entry::request_shutdown_func"]
6084        [::std::mem::offset_of!(_zend_module_entry, request_shutdown_func) - 72usize];
6085    ["Offset of field: _zend_module_entry::info_func"]
6086        [::std::mem::offset_of!(_zend_module_entry, info_func) - 80usize];
6087    ["Offset of field: _zend_module_entry::version"]
6088        [::std::mem::offset_of!(_zend_module_entry, version) - 88usize];
6089    ["Offset of field: _zend_module_entry::globals_size"]
6090        [::std::mem::offset_of!(_zend_module_entry, globals_size) - 96usize];
6091    ["Offset of field: _zend_module_entry::globals_ptr"]
6092        [::std::mem::offset_of!(_zend_module_entry, globals_ptr) - 104usize];
6093    ["Offset of field: _zend_module_entry::globals_ctor"]
6094        [::std::mem::offset_of!(_zend_module_entry, globals_ctor) - 112usize];
6095    ["Offset of field: _zend_module_entry::globals_dtor"]
6096        [::std::mem::offset_of!(_zend_module_entry, globals_dtor) - 120usize];
6097    ["Offset of field: _zend_module_entry::post_deactivate_func"]
6098        [::std::mem::offset_of!(_zend_module_entry, post_deactivate_func) - 128usize];
6099    ["Offset of field: _zend_module_entry::module_started"]
6100        [::std::mem::offset_of!(_zend_module_entry, module_started) - 136usize];
6101    ["Offset of field: _zend_module_entry::type_"]
6102        [::std::mem::offset_of!(_zend_module_entry, type_) - 140usize];
6103    ["Offset of field: _zend_module_entry::handle"]
6104        [::std::mem::offset_of!(_zend_module_entry, handle) - 144usize];
6105    ["Offset of field: _zend_module_entry::module_number"]
6106        [::std::mem::offset_of!(_zend_module_entry, module_number) - 152usize];
6107    ["Offset of field: _zend_module_entry::build_id"]
6108        [::std::mem::offset_of!(_zend_module_entry, build_id) - 160usize];
6109};
6110#[repr(C)]
6111#[derive(Debug, Copy, Clone)]
6112pub struct _zend_module_dep {
6113    pub name: *const ::std::os::raw::c_char,
6114    pub rel: *const ::std::os::raw::c_char,
6115    pub version: *const ::std::os::raw::c_char,
6116    pub type_: ::std::os::raw::c_uchar,
6117}
6118#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6119const _: () = {
6120    ["Size of _zend_module_dep"][::std::mem::size_of::<_zend_module_dep>() - 32usize];
6121    ["Alignment of _zend_module_dep"][::std::mem::align_of::<_zend_module_dep>() - 8usize];
6122    ["Offset of field: _zend_module_dep::name"]
6123        [::std::mem::offset_of!(_zend_module_dep, name) - 0usize];
6124    ["Offset of field: _zend_module_dep::rel"]
6125        [::std::mem::offset_of!(_zend_module_dep, rel) - 8usize];
6126    ["Offset of field: _zend_module_dep::version"]
6127        [::std::mem::offset_of!(_zend_module_dep, version) - 16usize];
6128    ["Offset of field: _zend_module_dep::type_"]
6129        [::std::mem::offset_of!(_zend_module_dep, type_) - 24usize];
6130};
6131extern "C" {
6132    pub static mut module_registry: HashTable;
6133}
6134#[repr(C)]
6135#[derive(Debug, Copy, Clone)]
6136pub struct _zend_rsrc_list_entry {
6137    pub ptr: *mut ::std::os::raw::c_void,
6138    pub type_: ::std::os::raw::c_int,
6139    pub refcount: ::std::os::raw::c_int,
6140}
6141#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6142const _: () = {
6143    ["Size of _zend_rsrc_list_entry"][::std::mem::size_of::<_zend_rsrc_list_entry>() - 16usize];
6144    ["Alignment of _zend_rsrc_list_entry"]
6145        [::std::mem::align_of::<_zend_rsrc_list_entry>() - 8usize];
6146    ["Offset of field: _zend_rsrc_list_entry::ptr"]
6147        [::std::mem::offset_of!(_zend_rsrc_list_entry, ptr) - 0usize];
6148    ["Offset of field: _zend_rsrc_list_entry::type_"]
6149        [::std::mem::offset_of!(_zend_rsrc_list_entry, type_) - 8usize];
6150    ["Offset of field: _zend_rsrc_list_entry::refcount"]
6151        [::std::mem::offset_of!(_zend_rsrc_list_entry, refcount) - 12usize];
6152};
6153pub type zend_rsrc_list_entry = _zend_rsrc_list_entry;
6154pub type rsrc_dtor_func_t =
6155    ::std::option::Option<unsafe extern "C" fn(rsrc: *mut zend_rsrc_list_entry)>;
6156#[repr(C)]
6157#[derive(Debug, Copy, Clone)]
6158pub struct _zend_rsrc_list_dtors_entry {
6159    pub list_dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6160    pub plist_dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6161    pub list_dtor_ex: rsrc_dtor_func_t,
6162    pub plist_dtor_ex: rsrc_dtor_func_t,
6163    pub type_name: *const ::std::os::raw::c_char,
6164    pub module_number: ::std::os::raw::c_int,
6165    pub resource_id: ::std::os::raw::c_int,
6166    pub type_: ::std::os::raw::c_uchar,
6167}
6168#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6169const _: () = {
6170    ["Size of _zend_rsrc_list_dtors_entry"]
6171        [::std::mem::size_of::<_zend_rsrc_list_dtors_entry>() - 56usize];
6172    ["Alignment of _zend_rsrc_list_dtors_entry"]
6173        [::std::mem::align_of::<_zend_rsrc_list_dtors_entry>() - 8usize];
6174    ["Offset of field: _zend_rsrc_list_dtors_entry::list_dtor"]
6175        [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, list_dtor) - 0usize];
6176    ["Offset of field: _zend_rsrc_list_dtors_entry::plist_dtor"]
6177        [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, plist_dtor) - 8usize];
6178    ["Offset of field: _zend_rsrc_list_dtors_entry::list_dtor_ex"]
6179        [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, list_dtor_ex) - 16usize];
6180    ["Offset of field: _zend_rsrc_list_dtors_entry::plist_dtor_ex"]
6181        [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, plist_dtor_ex) - 24usize];
6182    ["Offset of field: _zend_rsrc_list_dtors_entry::type_name"]
6183        [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, type_name) - 32usize];
6184    ["Offset of field: _zend_rsrc_list_dtors_entry::module_number"]
6185        [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, module_number) - 40usize];
6186    ["Offset of field: _zend_rsrc_list_dtors_entry::resource_id"]
6187        [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, resource_id) - 44usize];
6188    ["Offset of field: _zend_rsrc_list_dtors_entry::type_"]
6189        [::std::mem::offset_of!(_zend_rsrc_list_dtors_entry, type_) - 48usize];
6190};
6191pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
6192extern "C" {
6193    pub fn zend_register_list_destructors(
6194        ld: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6195        pld: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6196        module_number: ::std::os::raw::c_int,
6197    ) -> ::std::os::raw::c_int;
6198}
6199extern "C" {
6200    pub fn zend_register_list_destructors_ex(
6201        ld: rsrc_dtor_func_t,
6202        pld: rsrc_dtor_func_t,
6203        type_name: *const ::std::os::raw::c_char,
6204        module_number: ::std::os::raw::c_int,
6205    ) -> ::std::os::raw::c_int;
6206}
6207extern "C" {
6208    pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
6209}
6210extern "C" {
6211    pub fn zend_init_rsrc_list() -> ::std::os::raw::c_int;
6212}
6213extern "C" {
6214    pub fn zend_init_rsrc_plist() -> ::std::os::raw::c_int;
6215}
6216extern "C" {
6217    pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
6218}
6219extern "C" {
6220    pub fn zend_init_rsrc_list_dtors() -> ::std::os::raw::c_int;
6221}
6222extern "C" {
6223    pub fn zend_destroy_rsrc_list_dtors();
6224}
6225extern "C" {
6226    pub fn zend_list_insert(
6227        ptr: *mut ::std::os::raw::c_void,
6228        type_: ::std::os::raw::c_int,
6229    ) -> ::std::os::raw::c_int;
6230}
6231extern "C" {
6232    pub fn _zend_list_addref(id: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
6233}
6234extern "C" {
6235    pub fn _zend_list_delete(id: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
6236}
6237extern "C" {
6238    pub fn _zend_list_find(
6239        id: ::std::os::raw::c_int,
6240        type_: *mut ::std::os::raw::c_int,
6241    ) -> *mut ::std::os::raw::c_void;
6242}
6243extern "C" {
6244    pub fn zend_register_resource(
6245        rsrc_result: *mut zval,
6246        rsrc_pointer: *mut ::std::os::raw::c_void,
6247        rsrc_type: ::std::os::raw::c_int,
6248    ) -> ::std::os::raw::c_int;
6249}
6250extern "C" {
6251    pub fn zend_fetch_resource(
6252        passed_id: *mut *mut zval,
6253        default_id: ::std::os::raw::c_int,
6254        resource_type_name: *const ::std::os::raw::c_char,
6255        found_resource_type: *mut ::std::os::raw::c_int,
6256        num_resource_types: ::std::os::raw::c_int,
6257        ...
6258    ) -> *mut ::std::os::raw::c_void;
6259}
6260extern "C" {
6261    pub fn zend_rsrc_list_get_rsrc_type(
6262        resource: ::std::os::raw::c_int,
6263    ) -> *const ::std::os::raw::c_char;
6264}
6265extern "C" {
6266    pub fn zend_fetch_list_dtor_id(type_name: *mut ::std::os::raw::c_char)
6267        -> ::std::os::raw::c_int;
6268}
6269#[repr(C)]
6270#[derive(Copy, Clone)]
6271pub union _temp_variable {
6272    pub tmp_var: zval,
6273    pub var: _temp_variable__bindgen_ty_1,
6274    pub str_offset: _temp_variable__bindgen_ty_2,
6275    pub fe: _temp_variable__bindgen_ty_3,
6276    pub class_entry: *mut zend_class_entry,
6277}
6278#[repr(C)]
6279#[derive(Debug, Copy, Clone)]
6280pub struct _temp_variable__bindgen_ty_1 {
6281    pub ptr_ptr: *mut *mut zval,
6282    pub ptr: *mut zval,
6283    pub fcall_returned_reference: zend_bool,
6284}
6285#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6286const _: () = {
6287    ["Size of _temp_variable__bindgen_ty_1"]
6288        [::std::mem::size_of::<_temp_variable__bindgen_ty_1>() - 24usize];
6289    ["Alignment of _temp_variable__bindgen_ty_1"]
6290        [::std::mem::align_of::<_temp_variable__bindgen_ty_1>() - 8usize];
6291    ["Offset of field: _temp_variable__bindgen_ty_1::ptr_ptr"]
6292        [::std::mem::offset_of!(_temp_variable__bindgen_ty_1, ptr_ptr) - 0usize];
6293    ["Offset of field: _temp_variable__bindgen_ty_1::ptr"]
6294        [::std::mem::offset_of!(_temp_variable__bindgen_ty_1, ptr) - 8usize];
6295    ["Offset of field: _temp_variable__bindgen_ty_1::fcall_returned_reference"]
6296        [::std::mem::offset_of!(_temp_variable__bindgen_ty_1, fcall_returned_reference) - 16usize];
6297};
6298#[repr(C)]
6299#[derive(Debug, Copy, Clone)]
6300pub struct _temp_variable__bindgen_ty_2 {
6301    pub ptr_ptr: *mut *mut zval,
6302    pub str_: *mut zval,
6303    pub offset: zend_uint,
6304}
6305#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6306const _: () = {
6307    ["Size of _temp_variable__bindgen_ty_2"]
6308        [::std::mem::size_of::<_temp_variable__bindgen_ty_2>() - 24usize];
6309    ["Alignment of _temp_variable__bindgen_ty_2"]
6310        [::std::mem::align_of::<_temp_variable__bindgen_ty_2>() - 8usize];
6311    ["Offset of field: _temp_variable__bindgen_ty_2::ptr_ptr"]
6312        [::std::mem::offset_of!(_temp_variable__bindgen_ty_2, ptr_ptr) - 0usize];
6313    ["Offset of field: _temp_variable__bindgen_ty_2::str_"]
6314        [::std::mem::offset_of!(_temp_variable__bindgen_ty_2, str_) - 8usize];
6315    ["Offset of field: _temp_variable__bindgen_ty_2::offset"]
6316        [::std::mem::offset_of!(_temp_variable__bindgen_ty_2, offset) - 16usize];
6317};
6318#[repr(C)]
6319#[derive(Debug, Copy, Clone)]
6320pub struct _temp_variable__bindgen_ty_3 {
6321    pub ptr_ptr: *mut *mut zval,
6322    pub ptr: *mut zval,
6323    pub fe_pos: HashPointer,
6324}
6325#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6326const _: () = {
6327    ["Size of _temp_variable__bindgen_ty_3"]
6328        [::std::mem::size_of::<_temp_variable__bindgen_ty_3>() - 32usize];
6329    ["Alignment of _temp_variable__bindgen_ty_3"]
6330        [::std::mem::align_of::<_temp_variable__bindgen_ty_3>() - 8usize];
6331    ["Offset of field: _temp_variable__bindgen_ty_3::ptr_ptr"]
6332        [::std::mem::offset_of!(_temp_variable__bindgen_ty_3, ptr_ptr) - 0usize];
6333    ["Offset of field: _temp_variable__bindgen_ty_3::ptr"]
6334        [::std::mem::offset_of!(_temp_variable__bindgen_ty_3, ptr) - 8usize];
6335    ["Offset of field: _temp_variable__bindgen_ty_3::fe_pos"]
6336        [::std::mem::offset_of!(_temp_variable__bindgen_ty_3, fe_pos) - 16usize];
6337};
6338#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6339const _: () = {
6340    ["Size of _temp_variable"][::std::mem::size_of::<_temp_variable>() - 32usize];
6341    ["Alignment of _temp_variable"][::std::mem::align_of::<_temp_variable>() - 8usize];
6342    ["Offset of field: _temp_variable::tmp_var"]
6343        [::std::mem::offset_of!(_temp_variable, tmp_var) - 0usize];
6344    ["Offset of field: _temp_variable::var"][::std::mem::offset_of!(_temp_variable, var) - 0usize];
6345    ["Offset of field: _temp_variable::str_offset"]
6346        [::std::mem::offset_of!(_temp_variable, str_offset) - 0usize];
6347    ["Offset of field: _temp_variable::fe"][::std::mem::offset_of!(_temp_variable, fe) - 0usize];
6348    ["Offset of field: _temp_variable::class_entry"]
6349        [::std::mem::offset_of!(_temp_variable, class_entry) - 0usize];
6350};
6351pub type temp_variable = _temp_variable;
6352extern "C" {
6353    pub static mut zend_execute:
6354        ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
6355}
6356extern "C" {
6357    pub static mut zend_execute_internal: ::std::option::Option<
6358        unsafe extern "C" fn(
6359            execute_data_ptr: *mut zend_execute_data,
6360            return_value_used: ::std::os::raw::c_int,
6361        ),
6362    >;
6363}
6364extern "C" {
6365    pub fn zend_is_true(op: *mut zval) -> ::std::os::raw::c_int;
6366}
6367extern "C" {
6368    pub fn zend_lookup_class(
6369        name: *const ::std::os::raw::c_char,
6370        name_length: ::std::os::raw::c_int,
6371        ce: *mut *mut *mut zend_class_entry,
6372    ) -> ::std::os::raw::c_int;
6373}
6374extern "C" {
6375    pub fn zend_lookup_class_ex(
6376        name: *const ::std::os::raw::c_char,
6377        name_length: ::std::os::raw::c_int,
6378        key: *const zend_literal,
6379        use_autoload: ::std::os::raw::c_int,
6380        ce: *mut *mut *mut zend_class_entry,
6381    ) -> ::std::os::raw::c_int;
6382}
6383extern "C" {
6384    pub fn zend_eval_string(
6385        str_: *mut ::std::os::raw::c_char,
6386        retval_ptr: *mut zval,
6387        string_name: *mut ::std::os::raw::c_char,
6388    ) -> ::std::os::raw::c_int;
6389}
6390extern "C" {
6391    pub fn zend_eval_stringl(
6392        str_: *mut ::std::os::raw::c_char,
6393        str_len: ::std::os::raw::c_int,
6394        retval_ptr: *mut zval,
6395        string_name: *mut ::std::os::raw::c_char,
6396    ) -> ::std::os::raw::c_int;
6397}
6398extern "C" {
6399    pub fn zend_eval_string_ex(
6400        str_: *mut ::std::os::raw::c_char,
6401        retval_ptr: *mut zval,
6402        string_name: *mut ::std::os::raw::c_char,
6403        handle_exceptions: ::std::os::raw::c_int,
6404    ) -> ::std::os::raw::c_int;
6405}
6406extern "C" {
6407    pub fn zend_eval_stringl_ex(
6408        str_: *mut ::std::os::raw::c_char,
6409        str_len: ::std::os::raw::c_int,
6410        retval_ptr: *mut zval,
6411        string_name: *mut ::std::os::raw::c_char,
6412        handle_exceptions: ::std::os::raw::c_int,
6413    ) -> ::std::os::raw::c_int;
6414}
6415extern "C" {
6416    pub fn zend_verify_arg_class_kind(
6417        cur_arg_info: *const zend_arg_info,
6418        fetch_type: ulong,
6419        class_name: *mut *const ::std::os::raw::c_char,
6420        pce: *mut *mut zend_class_entry,
6421    ) -> *mut ::std::os::raw::c_char;
6422}
6423extern "C" {
6424    pub fn zend_verify_arg_error(
6425        error_type: ::std::os::raw::c_int,
6426        zf: *const zend_function,
6427        arg_num: zend_uint,
6428        need_msg: *const ::std::os::raw::c_char,
6429        need_kind: *const ::std::os::raw::c_char,
6430        given_msg: *const ::std::os::raw::c_char,
6431        given_kind: *const ::std::os::raw::c_char,
6432    ) -> ::std::os::raw::c_int;
6433}
6434#[repr(C)]
6435#[derive(Debug, Copy, Clone)]
6436pub struct _zend_vm_stack {
6437    pub top: *mut *mut ::std::os::raw::c_void,
6438    pub end: *mut *mut ::std::os::raw::c_void,
6439    pub prev: zend_vm_stack,
6440}
6441#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6442const _: () = {
6443    ["Size of _zend_vm_stack"][::std::mem::size_of::<_zend_vm_stack>() - 24usize];
6444    ["Alignment of _zend_vm_stack"][::std::mem::align_of::<_zend_vm_stack>() - 8usize];
6445    ["Offset of field: _zend_vm_stack::top"][::std::mem::offset_of!(_zend_vm_stack, top) - 0usize];
6446    ["Offset of field: _zend_vm_stack::end"][::std::mem::offset_of!(_zend_vm_stack, end) - 8usize];
6447    ["Offset of field: _zend_vm_stack::prev"]
6448        [::std::mem::offset_of!(_zend_vm_stack, prev) - 16usize];
6449};
6450extern "C" {
6451    pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
6452}
6453extern "C" {
6454    pub fn zend_get_executed_lineno() -> uint;
6455}
6456extern "C" {
6457    pub fn zend_is_executing() -> zend_bool;
6458}
6459extern "C" {
6460    pub fn zend_set_timeout(seconds: ::std::os::raw::c_long, reset_signals: ::std::os::raw::c_int);
6461}
6462extern "C" {
6463    pub fn zend_unset_timeout();
6464}
6465extern "C" {
6466    pub fn zend_timeout(dummy: ::std::os::raw::c_int);
6467}
6468extern "C" {
6469    pub fn zend_fetch_class(
6470        class_name: *const ::std::os::raw::c_char,
6471        class_name_len: uint,
6472        fetch_type: ::std::os::raw::c_int,
6473    ) -> *mut zend_class_entry;
6474}
6475extern "C" {
6476    pub fn zend_fetch_class_by_name(
6477        class_name: *const ::std::os::raw::c_char,
6478        class_name_len: uint,
6479        key: *const zend_literal,
6480        fetch_type: ::std::os::raw::c_int,
6481    ) -> *mut zend_class_entry;
6482}
6483extern "C" {
6484    pub fn zend_verify_abstract_class(ce: *mut zend_class_entry);
6485}
6486extern "C" {
6487    pub fn zend_get_compiled_variable_value(
6488        execute_data_ptr: *const zend_execute_data,
6489        var: zend_uint,
6490    ) -> *mut *mut zval;
6491}
6492extern "C" {
6493    pub fn zend_set_user_opcode_handler(
6494        opcode: zend_uchar,
6495        handler: user_opcode_handler_t,
6496    ) -> ::std::os::raw::c_int;
6497}
6498extern "C" {
6499    pub fn zend_get_user_opcode_handler(opcode: zend_uchar) -> user_opcode_handler_t;
6500}
6501#[repr(C)]
6502#[derive(Debug, Copy, Clone)]
6503pub struct _zend_free_op {
6504    pub var: *mut zval,
6505}
6506#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6507const _: () = {
6508    ["Size of _zend_free_op"][::std::mem::size_of::<_zend_free_op>() - 8usize];
6509    ["Alignment of _zend_free_op"][::std::mem::align_of::<_zend_free_op>() - 8usize];
6510    ["Offset of field: _zend_free_op::var"][::std::mem::offset_of!(_zend_free_op, var) - 0usize];
6511};
6512pub type zend_free_op = _zend_free_op;
6513extern "C" {
6514    pub fn zend_get_zval_ptr(
6515        op_type: ::std::os::raw::c_int,
6516        node: *const znode_op,
6517        Ts: *const temp_variable,
6518        should_free: *mut zend_free_op,
6519        type_: ::std::os::raw::c_int,
6520    ) -> *mut zval;
6521}
6522extern "C" {
6523    pub fn zend_get_zval_ptr_ptr(
6524        op_type: ::std::os::raw::c_int,
6525        node: *const znode_op,
6526        Ts: *const temp_variable,
6527        should_free: *mut zend_free_op,
6528        type_: ::std::os::raw::c_int,
6529    ) -> *mut *mut zval;
6530}
6531extern "C" {
6532    pub fn zend_do_fcall(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int;
6533}
6534#[repr(C)]
6535#[derive(Debug, Copy, Clone)]
6536pub struct _zend_function_entry {
6537    pub fname: *const ::std::os::raw::c_char,
6538    pub handler: ::std::option::Option<
6539        unsafe extern "C" fn(
6540            ht: ::std::os::raw::c_int,
6541            return_value: *mut zval,
6542            return_value_ptr: *mut *mut zval,
6543            this_ptr: *mut zval,
6544            return_value_used: ::std::os::raw::c_int,
6545        ),
6546    >,
6547    pub arg_info: *const _zend_arg_info,
6548    pub num_args: zend_uint,
6549    pub flags: zend_uint,
6550}
6551#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6552const _: () = {
6553    ["Size of _zend_function_entry"][::std::mem::size_of::<_zend_function_entry>() - 32usize];
6554    ["Alignment of _zend_function_entry"][::std::mem::align_of::<_zend_function_entry>() - 8usize];
6555    ["Offset of field: _zend_function_entry::fname"]
6556        [::std::mem::offset_of!(_zend_function_entry, fname) - 0usize];
6557    ["Offset of field: _zend_function_entry::handler"]
6558        [::std::mem::offset_of!(_zend_function_entry, handler) - 8usize];
6559    ["Offset of field: _zend_function_entry::arg_info"]
6560        [::std::mem::offset_of!(_zend_function_entry, arg_info) - 16usize];
6561    ["Offset of field: _zend_function_entry::num_args"]
6562        [::std::mem::offset_of!(_zend_function_entry, num_args) - 24usize];
6563    ["Offset of field: _zend_function_entry::flags"]
6564        [::std::mem::offset_of!(_zend_function_entry, flags) - 28usize];
6565};
6566pub type zend_function_entry = _zend_function_entry;
6567#[repr(C)]
6568#[derive(Debug, Copy, Clone)]
6569pub struct _zend_fcall_info {
6570    pub size: usize,
6571    pub function_table: *mut HashTable,
6572    pub function_name: *mut zval,
6573    pub symbol_table: *mut HashTable,
6574    pub retval_ptr_ptr: *mut *mut zval,
6575    pub param_count: zend_uint,
6576    pub params: *mut *mut *mut zval,
6577    pub object_ptr: *mut zval,
6578    pub no_separation: zend_bool,
6579}
6580#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6581const _: () = {
6582    ["Size of _zend_fcall_info"][::std::mem::size_of::<_zend_fcall_info>() - 72usize];
6583    ["Alignment of _zend_fcall_info"][::std::mem::align_of::<_zend_fcall_info>() - 8usize];
6584    ["Offset of field: _zend_fcall_info::size"]
6585        [::std::mem::offset_of!(_zend_fcall_info, size) - 0usize];
6586    ["Offset of field: _zend_fcall_info::function_table"]
6587        [::std::mem::offset_of!(_zend_fcall_info, function_table) - 8usize];
6588    ["Offset of field: _zend_fcall_info::function_name"]
6589        [::std::mem::offset_of!(_zend_fcall_info, function_name) - 16usize];
6590    ["Offset of field: _zend_fcall_info::symbol_table"]
6591        [::std::mem::offset_of!(_zend_fcall_info, symbol_table) - 24usize];
6592    ["Offset of field: _zend_fcall_info::retval_ptr_ptr"]
6593        [::std::mem::offset_of!(_zend_fcall_info, retval_ptr_ptr) - 32usize];
6594    ["Offset of field: _zend_fcall_info::param_count"]
6595        [::std::mem::offset_of!(_zend_fcall_info, param_count) - 40usize];
6596    ["Offset of field: _zend_fcall_info::params"]
6597        [::std::mem::offset_of!(_zend_fcall_info, params) - 48usize];
6598    ["Offset of field: _zend_fcall_info::object_ptr"]
6599        [::std::mem::offset_of!(_zend_fcall_info, object_ptr) - 56usize];
6600    ["Offset of field: _zend_fcall_info::no_separation"]
6601        [::std::mem::offset_of!(_zend_fcall_info, no_separation) - 64usize];
6602};
6603pub type zend_fcall_info = _zend_fcall_info;
6604#[repr(C)]
6605#[derive(Debug, Copy, Clone)]
6606pub struct _zend_fcall_info_cache {
6607    pub initialized: zend_bool,
6608    pub function_handler: *mut zend_function,
6609    pub calling_scope: *mut zend_class_entry,
6610    pub called_scope: *mut zend_class_entry,
6611    pub object_ptr: *mut zval,
6612}
6613#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6614const _: () = {
6615    ["Size of _zend_fcall_info_cache"][::std::mem::size_of::<_zend_fcall_info_cache>() - 40usize];
6616    ["Alignment of _zend_fcall_info_cache"]
6617        [::std::mem::align_of::<_zend_fcall_info_cache>() - 8usize];
6618    ["Offset of field: _zend_fcall_info_cache::initialized"]
6619        [::std::mem::offset_of!(_zend_fcall_info_cache, initialized) - 0usize];
6620    ["Offset of field: _zend_fcall_info_cache::function_handler"]
6621        [::std::mem::offset_of!(_zend_fcall_info_cache, function_handler) - 8usize];
6622    ["Offset of field: _zend_fcall_info_cache::calling_scope"]
6623        [::std::mem::offset_of!(_zend_fcall_info_cache, calling_scope) - 16usize];
6624    ["Offset of field: _zend_fcall_info_cache::called_scope"]
6625        [::std::mem::offset_of!(_zend_fcall_info_cache, called_scope) - 24usize];
6626    ["Offset of field: _zend_fcall_info_cache::object_ptr"]
6627        [::std::mem::offset_of!(_zend_fcall_info_cache, object_ptr) - 32usize];
6628};
6629pub type zend_fcall_info_cache = _zend_fcall_info_cache;
6630extern "C" {
6631    pub fn zend_next_free_module() -> ::std::os::raw::c_int;
6632}
6633extern "C" {
6634    pub fn zend_get_parameters(
6635        ht: ::std::os::raw::c_int,
6636        param_count: ::std::os::raw::c_int,
6637        ...
6638    ) -> ::std::os::raw::c_int;
6639}
6640extern "C" {
6641    pub fn _zend_get_parameters_array(
6642        ht: ::std::os::raw::c_int,
6643        param_count: ::std::os::raw::c_int,
6644        argument_array: *mut *mut zval,
6645    ) -> ::std::os::raw::c_int;
6646}
6647extern "C" {
6648    pub fn zend_get_parameters_ex(param_count: ::std::os::raw::c_int, ...)
6649        -> ::std::os::raw::c_int;
6650}
6651extern "C" {
6652    pub fn _zend_get_parameters_array_ex(
6653        param_count: ::std::os::raw::c_int,
6654        argument_array: *mut *mut *mut zval,
6655    ) -> ::std::os::raw::c_int;
6656}
6657extern "C" {
6658    pub fn zend_copy_parameters_array(
6659        param_count: ::std::os::raw::c_int,
6660        argument_array: *mut zval,
6661    ) -> ::std::os::raw::c_int;
6662}
6663extern "C" {
6664    pub fn zend_parse_parameters(
6665        num_args: ::std::os::raw::c_int,
6666        type_spec: *const ::std::os::raw::c_char,
6667        ...
6668    ) -> ::std::os::raw::c_int;
6669}
6670extern "C" {
6671    pub fn zend_parse_parameters_ex(
6672        flags: ::std::os::raw::c_int,
6673        num_args: ::std::os::raw::c_int,
6674        type_spec: *const ::std::os::raw::c_char,
6675        ...
6676    ) -> ::std::os::raw::c_int;
6677}
6678extern "C" {
6679    pub fn zend_zval_type_name(arg: *const zval) -> *mut ::std::os::raw::c_char;
6680}
6681extern "C" {
6682    pub fn zend_parse_method_parameters(
6683        num_args: ::std::os::raw::c_int,
6684        this_ptr: *mut zval,
6685        type_spec: *const ::std::os::raw::c_char,
6686        ...
6687    ) -> ::std::os::raw::c_int;
6688}
6689extern "C" {
6690    pub fn zend_parse_method_parameters_ex(
6691        flags: ::std::os::raw::c_int,
6692        num_args: ::std::os::raw::c_int,
6693        this_ptr: *mut zval,
6694        type_spec: *const ::std::os::raw::c_char,
6695        ...
6696    ) -> ::std::os::raw::c_int;
6697}
6698extern "C" {
6699    pub fn zend_register_functions(
6700        scope: *mut zend_class_entry,
6701        functions: *const zend_function_entry,
6702        function_table: *mut HashTable,
6703        type_: ::std::os::raw::c_int,
6704    ) -> ::std::os::raw::c_int;
6705}
6706extern "C" {
6707    pub fn zend_unregister_functions(
6708        functions: *const zend_function_entry,
6709        count: ::std::os::raw::c_int,
6710        function_table: *mut HashTable,
6711    );
6712}
6713extern "C" {
6714    pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> ::std::os::raw::c_int;
6715}
6716extern "C" {
6717    pub fn zend_register_internal_module(
6718        module_entry: *mut zend_module_entry,
6719    ) -> *mut zend_module_entry;
6720}
6721extern "C" {
6722    pub fn zend_register_module_ex(module: *mut zend_module_entry) -> *mut zend_module_entry;
6723}
6724extern "C" {
6725    pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> ::std::os::raw::c_int;
6726}
6727extern "C" {
6728    pub fn zend_startup_modules() -> ::std::os::raw::c_int;
6729}
6730extern "C" {
6731    pub fn zend_collect_module_handlers();
6732}
6733extern "C" {
6734    pub fn zend_destroy_modules();
6735}
6736extern "C" {
6737    pub fn zend_check_magic_method_implementation(
6738        ce: *const zend_class_entry,
6739        fptr: *const zend_function,
6740        error_type: ::std::os::raw::c_int,
6741    );
6742}
6743extern "C" {
6744    pub fn zend_register_internal_class(
6745        class_entry: *mut zend_class_entry,
6746    ) -> *mut zend_class_entry;
6747}
6748extern "C" {
6749    pub fn zend_register_internal_class_ex(
6750        class_entry: *mut zend_class_entry,
6751        parent_ce: *mut zend_class_entry,
6752        parent_name: *mut ::std::os::raw::c_char,
6753    ) -> *mut zend_class_entry;
6754}
6755extern "C" {
6756    pub fn zend_register_internal_interface(
6757        orig_class_entry: *mut zend_class_entry,
6758    ) -> *mut zend_class_entry;
6759}
6760extern "C" {
6761    pub fn zend_class_implements(
6762        class_entry: *mut zend_class_entry,
6763        num_interfaces: ::std::os::raw::c_int,
6764        ...
6765    );
6766}
6767extern "C" {
6768    pub fn zend_register_class_alias_ex(
6769        name: *const ::std::os::raw::c_char,
6770        name_len: ::std::os::raw::c_int,
6771        ce: *mut zend_class_entry,
6772    ) -> ::std::os::raw::c_int;
6773}
6774extern "C" {
6775    pub fn zend_disable_function(
6776        function_name: *mut ::std::os::raw::c_char,
6777        function_name_length: uint,
6778    ) -> ::std::os::raw::c_int;
6779}
6780extern "C" {
6781    pub fn zend_disable_class(
6782        class_name: *mut ::std::os::raw::c_char,
6783        class_name_length: uint,
6784    ) -> ::std::os::raw::c_int;
6785}
6786extern "C" {
6787    pub fn zend_wrong_param_count();
6788}
6789extern "C" {
6790    pub fn zend_is_callable_ex(
6791        callable: *mut zval,
6792        object_ptr: *mut zval,
6793        check_flags: uint,
6794        callable_name: *mut *mut ::std::os::raw::c_char,
6795        callable_name_len: *mut ::std::os::raw::c_int,
6796        fcc: *mut zend_fcall_info_cache,
6797        error: *mut *mut ::std::os::raw::c_char,
6798    ) -> zend_bool;
6799}
6800extern "C" {
6801    pub fn zend_is_callable(
6802        callable: *mut zval,
6803        check_flags: uint,
6804        callable_name: *mut *mut ::std::os::raw::c_char,
6805    ) -> zend_bool;
6806}
6807extern "C" {
6808    pub fn zend_make_callable(
6809        callable: *mut zval,
6810        callable_name: *mut *mut ::std::os::raw::c_char,
6811    ) -> zend_bool;
6812}
6813extern "C" {
6814    pub fn zend_get_module_version(
6815        module_name: *const ::std::os::raw::c_char,
6816    ) -> *const ::std::os::raw::c_char;
6817}
6818extern "C" {
6819    pub fn zend_get_module_started(
6820        module_name: *const ::std::os::raw::c_char,
6821    ) -> ::std::os::raw::c_int;
6822}
6823extern "C" {
6824    pub fn zend_declare_property(
6825        ce: *mut zend_class_entry,
6826        name: *const ::std::os::raw::c_char,
6827        name_length: ::std::os::raw::c_int,
6828        property: *mut zval,
6829        access_type: ::std::os::raw::c_int,
6830    ) -> ::std::os::raw::c_int;
6831}
6832extern "C" {
6833    pub fn zend_declare_property_ex(
6834        ce: *mut zend_class_entry,
6835        name: *const ::std::os::raw::c_char,
6836        name_length: ::std::os::raw::c_int,
6837        property: *mut zval,
6838        access_type: ::std::os::raw::c_int,
6839        doc_comment: *const ::std::os::raw::c_char,
6840        doc_comment_len: ::std::os::raw::c_int,
6841    ) -> ::std::os::raw::c_int;
6842}
6843extern "C" {
6844    pub fn zend_declare_property_null(
6845        ce: *mut zend_class_entry,
6846        name: *const ::std::os::raw::c_char,
6847        name_length: ::std::os::raw::c_int,
6848        access_type: ::std::os::raw::c_int,
6849    ) -> ::std::os::raw::c_int;
6850}
6851extern "C" {
6852    pub fn zend_declare_property_bool(
6853        ce: *mut zend_class_entry,
6854        name: *const ::std::os::raw::c_char,
6855        name_length: ::std::os::raw::c_int,
6856        value: ::std::os::raw::c_long,
6857        access_type: ::std::os::raw::c_int,
6858    ) -> ::std::os::raw::c_int;
6859}
6860extern "C" {
6861    pub fn zend_declare_property_long(
6862        ce: *mut zend_class_entry,
6863        name: *const ::std::os::raw::c_char,
6864        name_length: ::std::os::raw::c_int,
6865        value: ::std::os::raw::c_long,
6866        access_type: ::std::os::raw::c_int,
6867    ) -> ::std::os::raw::c_int;
6868}
6869extern "C" {
6870    pub fn zend_declare_property_double(
6871        ce: *mut zend_class_entry,
6872        name: *const ::std::os::raw::c_char,
6873        name_length: ::std::os::raw::c_int,
6874        value: f64,
6875        access_type: ::std::os::raw::c_int,
6876    ) -> ::std::os::raw::c_int;
6877}
6878extern "C" {
6879    pub fn zend_declare_property_string(
6880        ce: *mut zend_class_entry,
6881        name: *const ::std::os::raw::c_char,
6882        name_length: ::std::os::raw::c_int,
6883        value: *const ::std::os::raw::c_char,
6884        access_type: ::std::os::raw::c_int,
6885    ) -> ::std::os::raw::c_int;
6886}
6887extern "C" {
6888    pub fn zend_declare_property_stringl(
6889        ce: *mut zend_class_entry,
6890        name: *const ::std::os::raw::c_char,
6891        name_length: ::std::os::raw::c_int,
6892        value: *const ::std::os::raw::c_char,
6893        value_len: ::std::os::raw::c_int,
6894        access_type: ::std::os::raw::c_int,
6895    ) -> ::std::os::raw::c_int;
6896}
6897extern "C" {
6898    pub fn zend_declare_class_constant(
6899        ce: *mut zend_class_entry,
6900        name: *const ::std::os::raw::c_char,
6901        name_length: usize,
6902        value: *mut zval,
6903    ) -> ::std::os::raw::c_int;
6904}
6905extern "C" {
6906    pub fn zend_declare_class_constant_null(
6907        ce: *mut zend_class_entry,
6908        name: *const ::std::os::raw::c_char,
6909        name_length: usize,
6910    ) -> ::std::os::raw::c_int;
6911}
6912extern "C" {
6913    pub fn zend_declare_class_constant_long(
6914        ce: *mut zend_class_entry,
6915        name: *const ::std::os::raw::c_char,
6916        name_length: usize,
6917        value: ::std::os::raw::c_long,
6918    ) -> ::std::os::raw::c_int;
6919}
6920extern "C" {
6921    pub fn zend_declare_class_constant_bool(
6922        ce: *mut zend_class_entry,
6923        name: *const ::std::os::raw::c_char,
6924        name_length: usize,
6925        value: zend_bool,
6926    ) -> ::std::os::raw::c_int;
6927}
6928extern "C" {
6929    pub fn zend_declare_class_constant_double(
6930        ce: *mut zend_class_entry,
6931        name: *const ::std::os::raw::c_char,
6932        name_length: usize,
6933        value: f64,
6934    ) -> ::std::os::raw::c_int;
6935}
6936extern "C" {
6937    pub fn zend_declare_class_constant_stringl(
6938        ce: *mut zend_class_entry,
6939        name: *const ::std::os::raw::c_char,
6940        name_length: usize,
6941        value: *const ::std::os::raw::c_char,
6942        value_length: usize,
6943    ) -> ::std::os::raw::c_int;
6944}
6945extern "C" {
6946    pub fn zend_declare_class_constant_string(
6947        ce: *mut zend_class_entry,
6948        name: *const ::std::os::raw::c_char,
6949        name_length: usize,
6950        value: *const ::std::os::raw::c_char,
6951    ) -> ::std::os::raw::c_int;
6952}
6953extern "C" {
6954    pub fn zend_update_class_constants(class_type: *mut zend_class_entry);
6955}
6956extern "C" {
6957    pub fn zend_update_property(
6958        scope: *mut zend_class_entry,
6959        object: *mut zval,
6960        name: *const ::std::os::raw::c_char,
6961        name_length: ::std::os::raw::c_int,
6962        value: *mut zval,
6963    );
6964}
6965extern "C" {
6966    pub fn zend_update_property_null(
6967        scope: *mut zend_class_entry,
6968        object: *mut zval,
6969        name: *const ::std::os::raw::c_char,
6970        name_length: ::std::os::raw::c_int,
6971    );
6972}
6973extern "C" {
6974    pub fn zend_update_property_bool(
6975        scope: *mut zend_class_entry,
6976        object: *mut zval,
6977        name: *const ::std::os::raw::c_char,
6978        name_length: ::std::os::raw::c_int,
6979        value: ::std::os::raw::c_long,
6980    );
6981}
6982extern "C" {
6983    pub fn zend_update_property_long(
6984        scope: *mut zend_class_entry,
6985        object: *mut zval,
6986        name: *const ::std::os::raw::c_char,
6987        name_length: ::std::os::raw::c_int,
6988        value: ::std::os::raw::c_long,
6989    );
6990}
6991extern "C" {
6992    pub fn zend_update_property_double(
6993        scope: *mut zend_class_entry,
6994        object: *mut zval,
6995        name: *const ::std::os::raw::c_char,
6996        name_length: ::std::os::raw::c_int,
6997        value: f64,
6998    );
6999}
7000extern "C" {
7001    pub fn zend_update_property_string(
7002        scope: *mut zend_class_entry,
7003        object: *mut zval,
7004        name: *const ::std::os::raw::c_char,
7005        name_length: ::std::os::raw::c_int,
7006        value: *const ::std::os::raw::c_char,
7007    );
7008}
7009extern "C" {
7010    pub fn zend_update_property_stringl(
7011        scope: *mut zend_class_entry,
7012        object: *mut zval,
7013        name: *const ::std::os::raw::c_char,
7014        name_length: ::std::os::raw::c_int,
7015        value: *const ::std::os::raw::c_char,
7016        value_length: ::std::os::raw::c_int,
7017    );
7018}
7019extern "C" {
7020    pub fn zend_update_static_property(
7021        scope: *mut zend_class_entry,
7022        name: *const ::std::os::raw::c_char,
7023        name_length: ::std::os::raw::c_int,
7024        value: *mut zval,
7025    ) -> ::std::os::raw::c_int;
7026}
7027extern "C" {
7028    pub fn zend_update_static_property_null(
7029        scope: *mut zend_class_entry,
7030        name: *const ::std::os::raw::c_char,
7031        name_length: ::std::os::raw::c_int,
7032    ) -> ::std::os::raw::c_int;
7033}
7034extern "C" {
7035    pub fn zend_update_static_property_bool(
7036        scope: *mut zend_class_entry,
7037        name: *const ::std::os::raw::c_char,
7038        name_length: ::std::os::raw::c_int,
7039        value: ::std::os::raw::c_long,
7040    ) -> ::std::os::raw::c_int;
7041}
7042extern "C" {
7043    pub fn zend_update_static_property_long(
7044        scope: *mut zend_class_entry,
7045        name: *const ::std::os::raw::c_char,
7046        name_length: ::std::os::raw::c_int,
7047        value: ::std::os::raw::c_long,
7048    ) -> ::std::os::raw::c_int;
7049}
7050extern "C" {
7051    pub fn zend_update_static_property_double(
7052        scope: *mut zend_class_entry,
7053        name: *const ::std::os::raw::c_char,
7054        name_length: ::std::os::raw::c_int,
7055        value: f64,
7056    ) -> ::std::os::raw::c_int;
7057}
7058extern "C" {
7059    pub fn zend_update_static_property_string(
7060        scope: *mut zend_class_entry,
7061        name: *const ::std::os::raw::c_char,
7062        name_length: ::std::os::raw::c_int,
7063        value: *const ::std::os::raw::c_char,
7064    ) -> ::std::os::raw::c_int;
7065}
7066extern "C" {
7067    pub fn zend_update_static_property_stringl(
7068        scope: *mut zend_class_entry,
7069        name: *const ::std::os::raw::c_char,
7070        name_length: ::std::os::raw::c_int,
7071        value: *const ::std::os::raw::c_char,
7072        value_length: ::std::os::raw::c_int,
7073    ) -> ::std::os::raw::c_int;
7074}
7075extern "C" {
7076    pub fn zend_read_property(
7077        scope: *mut zend_class_entry,
7078        object: *mut zval,
7079        name: *const ::std::os::raw::c_char,
7080        name_length: ::std::os::raw::c_int,
7081        silent: zend_bool,
7082    ) -> *mut zval;
7083}
7084extern "C" {
7085    pub fn zend_read_static_property(
7086        scope: *mut zend_class_entry,
7087        name: *const ::std::os::raw::c_char,
7088        name_length: ::std::os::raw::c_int,
7089        silent: zend_bool,
7090    ) -> *mut zval;
7091}
7092extern "C" {
7093    pub fn zend_get_class_entry(zobject: *const zval) -> *mut zend_class_entry;
7094}
7095extern "C" {
7096    pub fn zend_get_object_classname(
7097        object: *const zval,
7098        class_name: *mut *const ::std::os::raw::c_char,
7099        class_name_len: *mut zend_uint,
7100    ) -> ::std::os::raw::c_int;
7101}
7102extern "C" {
7103    pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
7104}
7105extern "C" {
7106    pub fn zend_merge_properties(
7107        obj: *mut zval,
7108        properties: *mut HashTable,
7109        destroy_ht: ::std::os::raw::c_int,
7110    );
7111}
7112extern "C" {
7113    pub static empty_fcall_info: zend_fcall_info;
7114}
7115extern "C" {
7116    pub static empty_fcall_info_cache: zend_fcall_info_cache;
7117}
7118extern "C" {
7119    #[doc = " Build zend_call_info/cache from a zval*\n\n Caller is responsible to provide a return value, otherwise the we will crash.\n fci->retval_ptr_ptr = NULL;\n In order to pass parameters the following members need to be set:\n fci->param_count = 0;\n fci->params = NULL;\n The callable_name argument may be NULL.\n Set check_flags to IS_CALLABLE_STRICT for every new usage!"]
7120    pub fn zend_fcall_info_init(
7121        callable: *mut zval,
7122        check_flags: uint,
7123        fci: *mut zend_fcall_info,
7124        fcc: *mut zend_fcall_info_cache,
7125        callable_name: *mut *mut ::std::os::raw::c_char,
7126        error: *mut *mut ::std::os::raw::c_char,
7127    ) -> ::std::os::raw::c_int;
7128}
7129extern "C" {
7130    #[doc = " Clear arguments connected with zend_fcall_info *fci\n If free_mem is not zero then the params array gets free'd as well"]
7131    pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: ::std::os::raw::c_int);
7132}
7133extern "C" {
7134    #[doc = " Save current arguments from zend_fcall_info *fci\n params array will be set to NULL"]
7135    pub fn zend_fcall_info_args_save(
7136        fci: *mut zend_fcall_info,
7137        param_count: *mut ::std::os::raw::c_int,
7138        params: *mut *mut *mut *mut zval,
7139    );
7140}
7141extern "C" {
7142    #[doc = " Free arguments connected with zend_fcall_info *fci andset back saved ones."]
7143    pub fn zend_fcall_info_args_restore(
7144        fci: *mut zend_fcall_info,
7145        param_count: ::std::os::raw::c_int,
7146        params: *mut *mut *mut zval,
7147    );
7148}
7149extern "C" {
7150    #[doc = " Set or clear the arguments in the zend_call_info struct taking care of\n refcount. If args is NULL and arguments are set then those are cleared."]
7151    pub fn zend_fcall_info_args(
7152        fci: *mut zend_fcall_info,
7153        args: *mut zval,
7154    ) -> ::std::os::raw::c_int;
7155}
7156extern "C" {
7157    #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount.\n If argc is 0 the arguments which are set will be cleared, else pass\n a variable amount of zval** arguments."]
7158    pub fn zend_fcall_info_argp(
7159        fci: *mut zend_fcall_info,
7160        argc: ::std::os::raw::c_int,
7161        argv: *mut *mut *mut zval,
7162    ) -> ::std::os::raw::c_int;
7163}
7164extern "C" {
7165    #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount.\n If argc is 0 the arguments which are set will be cleared, else pass\n a variable amount of zval** arguments."]
7166    pub fn zend_fcall_info_argv(
7167        fci: *mut zend_fcall_info,
7168        argc: ::std::os::raw::c_int,
7169        argv: *mut va_list,
7170    ) -> ::std::os::raw::c_int;
7171}
7172extern "C" {
7173    #[doc = " Set arguments in the zend_fcall_info struct taking care of refcount.\n If argc is 0 the arguments which are set will be cleared, else pass\n a variable amount of zval** arguments."]
7174    pub fn zend_fcall_info_argn(
7175        fci: *mut zend_fcall_info,
7176        argc: ::std::os::raw::c_int,
7177        ...
7178    ) -> ::std::os::raw::c_int;
7179}
7180extern "C" {
7181    #[doc = " Call a function using information created by zend_fcall_info_init()/args().\n If args is given then those replace the argument info in fci is temporarily."]
7182    pub fn zend_fcall_info_call(
7183        fci: *mut zend_fcall_info,
7184        fcc: *mut zend_fcall_info_cache,
7185        retval: *mut *mut zval,
7186        args: *mut zval,
7187    ) -> ::std::os::raw::c_int;
7188}
7189extern "C" {
7190    pub fn zend_call_function(
7191        fci: *mut zend_fcall_info,
7192        fci_cache: *mut zend_fcall_info_cache,
7193    ) -> ::std::os::raw::c_int;
7194}
7195extern "C" {
7196    pub fn zend_set_hash_symbol(
7197        symbol: *mut zval,
7198        name: *const ::std::os::raw::c_char,
7199        name_length: ::std::os::raw::c_int,
7200        is_ref: zend_bool,
7201        num_symbol_tables: ::std::os::raw::c_int,
7202        ...
7203    ) -> ::std::os::raw::c_int;
7204}
7205extern "C" {
7206    pub fn zend_delete_variable(
7207        ex: *mut zend_execute_data,
7208        ht: *mut HashTable,
7209        name: *const ::std::os::raw::c_char,
7210        name_len: ::std::os::raw::c_int,
7211        hash_value: ulong,
7212    );
7213}
7214extern "C" {
7215    pub fn zend_delete_global_variable(
7216        name: *const ::std::os::raw::c_char,
7217        name_len: ::std::os::raw::c_int,
7218    ) -> ::std::os::raw::c_int;
7219}
7220extern "C" {
7221    pub fn zend_delete_global_variable_ex(
7222        name: *const ::std::os::raw::c_char,
7223        name_len: ::std::os::raw::c_int,
7224        hash_value: ulong,
7225    ) -> ::std::os::raw::c_int;
7226}
7227extern "C" {
7228    pub fn zend_reset_all_cv(symbol_table: *mut HashTable);
7229}
7230extern "C" {
7231    pub fn zend_rebuild_symbol_table();
7232}
7233extern "C" {
7234    pub fn zend_find_alias_name(
7235        ce: *mut zend_class_entry,
7236        name: *const ::std::os::raw::c_char,
7237        len: zend_uint,
7238    ) -> *const ::std::os::raw::c_char;
7239}
7240extern "C" {
7241    pub fn zend_resolve_method_name(
7242        ce: *mut zend_class_entry,
7243        f: *mut zend_function,
7244    ) -> *const ::std::os::raw::c_char;
7245}
7246extern "C" {
7247    pub fn php_strlcpy(
7248        dst: *mut ::std::os::raw::c_char,
7249        src: *const ::std::os::raw::c_char,
7250        siz: usize,
7251    ) -> usize;
7252}
7253extern "C" {
7254    pub fn php_strlcat(
7255        dst: *mut ::std::os::raw::c_char,
7256        src: *const ::std::os::raw::c_char,
7257        siz: usize,
7258    ) -> usize;
7259}
7260pub type socklen_t = __socklen_t;
7261pub type bool_int = ::std::os::raw::c_int;
7262pub const boolean_e_NO: boolean_e = 0;
7263pub const boolean_e_YES: boolean_e = 1;
7264pub type boolean_e = ::std::os::raw::c_uint;
7265extern "C" {
7266    pub fn php_sprintf(
7267        s: *mut ::std::os::raw::c_char,
7268        format: *const ::std::os::raw::c_char,
7269        ...
7270    ) -> ::std::os::raw::c_int;
7271}
7272extern "C" {
7273    pub fn php_gcvt(
7274        value: f64,
7275        ndigit: ::std::os::raw::c_int,
7276        dec_point: ::std::os::raw::c_char,
7277        exponent: ::std::os::raw::c_char,
7278        buf: *mut ::std::os::raw::c_char,
7279    ) -> *mut ::std::os::raw::c_char;
7280}
7281extern "C" {
7282    pub fn php_conv_fp(
7283        format: ::std::os::raw::c_char,
7284        num: f64,
7285        add_dp: boolean_e,
7286        precision: ::std::os::raw::c_int,
7287        dec_point: ::std::os::raw::c_char,
7288        is_negative: *mut bool_int,
7289        buf: *mut ::std::os::raw::c_char,
7290        len: *mut ::std::os::raw::c_int,
7291    ) -> *mut ::std::os::raw::c_char;
7292}
7293extern "C" {
7294    pub fn php_write(buf: *mut ::std::os::raw::c_void, size: uint) -> ::std::os::raw::c_int;
7295}
7296extern "C" {
7297    pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
7298}
7299extern "C" {
7300    pub fn php_get_module_initialized() -> ::std::os::raw::c_int;
7301}
7302extern "C" {
7303    pub fn php_log_err(log_message: *mut ::std::os::raw::c_char);
7304}
7305extern "C" {
7306    pub fn php_verror(
7307        docref: *const ::std::os::raw::c_char,
7308        params: *const ::std::os::raw::c_char,
7309        type_: ::std::os::raw::c_int,
7310        format: *const ::std::os::raw::c_char,
7311        args: *mut __va_list_tag,
7312    );
7313}
7314extern "C" {
7315    pub fn php_error_docref0(
7316        docref: *const ::std::os::raw::c_char,
7317        type_: ::std::os::raw::c_int,
7318        format: *const ::std::os::raw::c_char,
7319        ...
7320    );
7321}
7322extern "C" {
7323    pub fn php_error_docref1(
7324        docref: *const ::std::os::raw::c_char,
7325        param1: *const ::std::os::raw::c_char,
7326        type_: ::std::os::raw::c_int,
7327        format: *const ::std::os::raw::c_char,
7328        ...
7329    );
7330}
7331extern "C" {
7332    pub fn php_error_docref2(
7333        docref: *const ::std::os::raw::c_char,
7334        param1: *const ::std::os::raw::c_char,
7335        param2: *const ::std::os::raw::c_char,
7336        type_: ::std::os::raw::c_int,
7337        format: *const ::std::os::raw::c_char,
7338        ...
7339    );
7340}
7341extern "C" {
7342    pub static mut php_register_internal_extensions_func:
7343        ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
7344}
7345extern "C" {
7346    pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
7347}
7348extern "C" {
7349    pub fn php_mergesort(
7350        base: *mut ::std::os::raw::c_void,
7351        nmemb: usize,
7352        size: usize,
7353        cmp: ::std::option::Option<
7354            unsafe extern "C" fn(
7355                arg1: *const ::std::os::raw::c_void,
7356                arg2: *const ::std::os::raw::c_void,
7357            ) -> ::std::os::raw::c_int,
7358        >,
7359    ) -> ::std::os::raw::c_int;
7360}
7361extern "C" {
7362    pub fn php_register_pre_request_shutdown(
7363        func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
7364        userdata: *mut ::std::os::raw::c_void,
7365    );
7366}
7367extern "C" {
7368    pub fn php_com_initialize();
7369}
7370extern "C" {
7371    pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
7372}
7373pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
7374    0;
7375pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
7376    1;
7377pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
7378    2;
7379pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
7380    3;
7381pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
7382    4;
7383pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
7384pub type _php_output_handler_hook_t = ::std::os::raw::c_uint;
7385pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
7386#[repr(C)]
7387#[derive(Debug, Copy, Clone)]
7388pub struct _php_output_buffer {
7389    pub data: *mut ::std::os::raw::c_char,
7390    pub size: usize,
7391    pub used: usize,
7392    pub _bitfield_align_1: [u32; 0],
7393    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
7394    pub __bindgen_padding_0: u32,
7395}
7396#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7397const _: () = {
7398    ["Size of _php_output_buffer"][::std::mem::size_of::<_php_output_buffer>() - 32usize];
7399    ["Alignment of _php_output_buffer"][::std::mem::align_of::<_php_output_buffer>() - 8usize];
7400    ["Offset of field: _php_output_buffer::data"]
7401        [::std::mem::offset_of!(_php_output_buffer, data) - 0usize];
7402    ["Offset of field: _php_output_buffer::size"]
7403        [::std::mem::offset_of!(_php_output_buffer, size) - 8usize];
7404    ["Offset of field: _php_output_buffer::used"]
7405        [::std::mem::offset_of!(_php_output_buffer, used) - 16usize];
7406};
7407impl _php_output_buffer {
7408    #[inline]
7409    pub fn free(&self) -> uint {
7410        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
7411    }
7412    #[inline]
7413    pub fn set_free(&mut self, val: uint) {
7414        unsafe {
7415            let val: u32 = ::std::mem::transmute(val);
7416            self._bitfield_1.set(0usize, 1u8, val as u64)
7417        }
7418    }
7419    #[inline]
7420    pub fn _res(&self) -> uint {
7421        unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
7422    }
7423    #[inline]
7424    pub fn set__res(&mut self, val: uint) {
7425        unsafe {
7426            let val: u32 = ::std::mem::transmute(val);
7427            self._bitfield_1.set(1usize, 31u8, val as u64)
7428        }
7429    }
7430    #[inline]
7431    pub fn new_bitfield_1(free: uint, _res: uint) -> __BindgenBitfieldUnit<[u8; 4usize]> {
7432        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
7433        __bindgen_bitfield_unit.set(0usize, 1u8, {
7434            let free: u32 = unsafe { ::std::mem::transmute(free) };
7435            free as u64
7436        });
7437        __bindgen_bitfield_unit.set(1usize, 31u8, {
7438            let _res: u32 = unsafe { ::std::mem::transmute(_res) };
7439            _res as u64
7440        });
7441        __bindgen_bitfield_unit
7442    }
7443}
7444pub type php_output_buffer = _php_output_buffer;
7445#[repr(C)]
7446#[derive(Debug, Copy, Clone)]
7447pub struct _php_output_context {
7448    pub op: ::std::os::raw::c_int,
7449    pub in_: php_output_buffer,
7450    pub out: php_output_buffer,
7451}
7452#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7453const _: () = {
7454    ["Size of _php_output_context"][::std::mem::size_of::<_php_output_context>() - 72usize];
7455    ["Alignment of _php_output_context"][::std::mem::align_of::<_php_output_context>() - 8usize];
7456    ["Offset of field: _php_output_context::op"]
7457        [::std::mem::offset_of!(_php_output_context, op) - 0usize];
7458    ["Offset of field: _php_output_context::in_"]
7459        [::std::mem::offset_of!(_php_output_context, in_) - 8usize];
7460    ["Offset of field: _php_output_context::out"]
7461        [::std::mem::offset_of!(_php_output_context, out) - 40usize];
7462};
7463pub type php_output_context = _php_output_context;
7464pub type php_output_handler_func_t = ::std::option::Option<
7465    unsafe extern "C" fn(
7466        output: *mut ::std::os::raw::c_char,
7467        output_len: uint,
7468        handled_output: *mut *mut ::std::os::raw::c_char,
7469        handled_output_len: *mut uint,
7470        mode: ::std::os::raw::c_int,
7471    ),
7472>;
7473pub type php_output_handler_context_func_t = ::std::option::Option<
7474    unsafe extern "C" fn(
7475        handler_context: *mut *mut ::std::os::raw::c_void,
7476        output_context: *mut php_output_context,
7477    ) -> ::std::os::raw::c_int,
7478>;
7479pub type php_output_handler_conflict_check_t = ::std::option::Option<
7480    unsafe extern "C" fn(
7481        handler_name: *const ::std::os::raw::c_char,
7482        handler_name_len: usize,
7483    ) -> ::std::os::raw::c_int,
7484>;
7485pub type php_output_handler_alias_ctor_t = ::std::option::Option<
7486    unsafe extern "C" fn(
7487        handler_name: *const ::std::os::raw::c_char,
7488        handler_name_len: usize,
7489        chunk_size: usize,
7490        flags: ::std::os::raw::c_int,
7491    ) -> *mut _php_output_handler,
7492>;
7493#[repr(C)]
7494#[derive(Debug, Copy, Clone)]
7495pub struct _php_output_handler_user_func_t {
7496    pub fci: zend_fcall_info,
7497    pub fcc: zend_fcall_info_cache,
7498    pub zoh: *mut zval,
7499}
7500#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7501const _: () = {
7502    ["Size of _php_output_handler_user_func_t"]
7503        [::std::mem::size_of::<_php_output_handler_user_func_t>() - 120usize];
7504    ["Alignment of _php_output_handler_user_func_t"]
7505        [::std::mem::align_of::<_php_output_handler_user_func_t>() - 8usize];
7506    ["Offset of field: _php_output_handler_user_func_t::fci"]
7507        [::std::mem::offset_of!(_php_output_handler_user_func_t, fci) - 0usize];
7508    ["Offset of field: _php_output_handler_user_func_t::fcc"]
7509        [::std::mem::offset_of!(_php_output_handler_user_func_t, fcc) - 72usize];
7510    ["Offset of field: _php_output_handler_user_func_t::zoh"]
7511        [::std::mem::offset_of!(_php_output_handler_user_func_t, zoh) - 112usize];
7512};
7513pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
7514#[repr(C)]
7515#[derive(Copy, Clone)]
7516pub struct _php_output_handler {
7517    pub name: *mut ::std::os::raw::c_char,
7518    pub name_len: usize,
7519    pub flags: ::std::os::raw::c_int,
7520    pub level: ::std::os::raw::c_int,
7521    pub size: usize,
7522    pub buffer: php_output_buffer,
7523    pub opaq: *mut ::std::os::raw::c_void,
7524    pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
7525    pub func: _php_output_handler__bindgen_ty_1,
7526}
7527#[repr(C)]
7528#[derive(Copy, Clone)]
7529pub union _php_output_handler__bindgen_ty_1 {
7530    pub user: *mut php_output_handler_user_func_t,
7531    pub internal: php_output_handler_context_func_t,
7532}
7533#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7534const _: () = {
7535    ["Size of _php_output_handler__bindgen_ty_1"]
7536        [::std::mem::size_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
7537    ["Alignment of _php_output_handler__bindgen_ty_1"]
7538        [::std::mem::align_of::<_php_output_handler__bindgen_ty_1>() - 8usize];
7539    ["Offset of field: _php_output_handler__bindgen_ty_1::user"]
7540        [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, user) - 0usize];
7541    ["Offset of field: _php_output_handler__bindgen_ty_1::internal"]
7542        [::std::mem::offset_of!(_php_output_handler__bindgen_ty_1, internal) - 0usize];
7543};
7544#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7545const _: () = {
7546    ["Size of _php_output_handler"][::std::mem::size_of::<_php_output_handler>() - 88usize];
7547    ["Alignment of _php_output_handler"][::std::mem::align_of::<_php_output_handler>() - 8usize];
7548    ["Offset of field: _php_output_handler::name"]
7549        [::std::mem::offset_of!(_php_output_handler, name) - 0usize];
7550    ["Offset of field: _php_output_handler::name_len"]
7551        [::std::mem::offset_of!(_php_output_handler, name_len) - 8usize];
7552    ["Offset of field: _php_output_handler::flags"]
7553        [::std::mem::offset_of!(_php_output_handler, flags) - 16usize];
7554    ["Offset of field: _php_output_handler::level"]
7555        [::std::mem::offset_of!(_php_output_handler, level) - 20usize];
7556    ["Offset of field: _php_output_handler::size"]
7557        [::std::mem::offset_of!(_php_output_handler, size) - 24usize];
7558    ["Offset of field: _php_output_handler::buffer"]
7559        [::std::mem::offset_of!(_php_output_handler, buffer) - 32usize];
7560    ["Offset of field: _php_output_handler::opaq"]
7561        [::std::mem::offset_of!(_php_output_handler, opaq) - 64usize];
7562    ["Offset of field: _php_output_handler::dtor"]
7563        [::std::mem::offset_of!(_php_output_handler, dtor) - 72usize];
7564    ["Offset of field: _php_output_handler::func"]
7565        [::std::mem::offset_of!(_php_output_handler, func) - 80usize];
7566};
7567pub type php_output_handler = _php_output_handler;
7568#[repr(C)]
7569#[derive(Debug, Copy, Clone)]
7570pub struct _zend_output_globals {
7571    pub flags: ::std::os::raw::c_int,
7572    pub handlers: zend_stack,
7573    pub active: *mut php_output_handler,
7574    pub running: *mut php_output_handler,
7575    pub output_start_filename: *const ::std::os::raw::c_char,
7576    pub output_start_lineno: ::std::os::raw::c_int,
7577}
7578#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7579const _: () = {
7580    ["Size of _zend_output_globals"][::std::mem::size_of::<_zend_output_globals>() - 56usize];
7581    ["Alignment of _zend_output_globals"][::std::mem::align_of::<_zend_output_globals>() - 8usize];
7582    ["Offset of field: _zend_output_globals::flags"]
7583        [::std::mem::offset_of!(_zend_output_globals, flags) - 0usize];
7584    ["Offset of field: _zend_output_globals::handlers"]
7585        [::std::mem::offset_of!(_zend_output_globals, handlers) - 8usize];
7586    ["Offset of field: _zend_output_globals::active"]
7587        [::std::mem::offset_of!(_zend_output_globals, active) - 24usize];
7588    ["Offset of field: _zend_output_globals::running"]
7589        [::std::mem::offset_of!(_zend_output_globals, running) - 32usize];
7590    ["Offset of field: _zend_output_globals::output_start_filename"]
7591        [::std::mem::offset_of!(_zend_output_globals, output_start_filename) - 40usize];
7592    ["Offset of field: _zend_output_globals::output_start_lineno"]
7593        [::std::mem::offset_of!(_zend_output_globals, output_start_lineno) - 48usize];
7594};
7595pub type zend_output_globals = _zend_output_globals;
7596extern "C" {
7597    pub static php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
7598}
7599extern "C" {
7600    pub static php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
7601}
7602extern "C" {
7603    pub fn php_output_startup();
7604}
7605extern "C" {
7606    pub fn php_output_shutdown();
7607}
7608extern "C" {
7609    pub fn php_output_register_constants();
7610}
7611extern "C" {
7612    pub fn php_output_activate() -> ::std::os::raw::c_int;
7613}
7614extern "C" {
7615    pub fn php_output_deactivate();
7616}
7617extern "C" {
7618    pub fn php_output_set_status(status: ::std::os::raw::c_int);
7619}
7620extern "C" {
7621    pub fn php_output_get_status() -> ::std::os::raw::c_int;
7622}
7623extern "C" {
7624    pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
7625}
7626extern "C" {
7627    pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
7628}
7629extern "C" {
7630    pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
7631}
7632extern "C" {
7633    pub fn php_output_write_unbuffered(
7634        str_: *const ::std::os::raw::c_char,
7635        len: usize,
7636    ) -> ::std::os::raw::c_int;
7637}
7638extern "C" {
7639    pub fn php_output_write(
7640        str_: *const ::std::os::raw::c_char,
7641        len: usize,
7642    ) -> ::std::os::raw::c_int;
7643}
7644extern "C" {
7645    pub fn php_output_flush() -> ::std::os::raw::c_int;
7646}
7647extern "C" {
7648    pub fn php_output_flush_all();
7649}
7650extern "C" {
7651    pub fn php_output_clean() -> ::std::os::raw::c_int;
7652}
7653extern "C" {
7654    pub fn php_output_clean_all();
7655}
7656extern "C" {
7657    pub fn php_output_end() -> ::std::os::raw::c_int;
7658}
7659extern "C" {
7660    pub fn php_output_end_all();
7661}
7662extern "C" {
7663    pub fn php_output_discard() -> ::std::os::raw::c_int;
7664}
7665extern "C" {
7666    pub fn php_output_discard_all();
7667}
7668extern "C" {
7669    pub fn php_output_get_contents(p: *mut zval) -> ::std::os::raw::c_int;
7670}
7671extern "C" {
7672    pub fn php_output_get_length(p: *mut zval) -> ::std::os::raw::c_int;
7673}
7674extern "C" {
7675    pub fn php_output_get_level() -> ::std::os::raw::c_int;
7676}
7677extern "C" {
7678    pub fn php_output_get_active_handler() -> *mut php_output_handler;
7679}
7680extern "C" {
7681    pub fn php_output_start_default() -> ::std::os::raw::c_int;
7682}
7683extern "C" {
7684    pub fn php_output_start_devnull() -> ::std::os::raw::c_int;
7685}
7686extern "C" {
7687    pub fn php_output_start_user(
7688        output_handler: *mut zval,
7689        chunk_size: usize,
7690        flags: ::std::os::raw::c_int,
7691    ) -> ::std::os::raw::c_int;
7692}
7693extern "C" {
7694    pub fn php_output_start_internal(
7695        name: *const ::std::os::raw::c_char,
7696        name_len: usize,
7697        output_handler: php_output_handler_func_t,
7698        chunk_size: usize,
7699        flags: ::std::os::raw::c_int,
7700    ) -> ::std::os::raw::c_int;
7701}
7702extern "C" {
7703    pub fn php_output_handler_create_user(
7704        handler: *mut zval,
7705        chunk_size: usize,
7706        flags: ::std::os::raw::c_int,
7707    ) -> *mut php_output_handler;
7708}
7709extern "C" {
7710    pub fn php_output_handler_create_internal(
7711        name: *const ::std::os::raw::c_char,
7712        name_len: usize,
7713        handler: php_output_handler_context_func_t,
7714        chunk_size: usize,
7715        flags: ::std::os::raw::c_int,
7716    ) -> *mut php_output_handler;
7717}
7718extern "C" {
7719    pub fn php_output_handler_set_context(
7720        handler: *mut php_output_handler,
7721        opaq: *mut ::std::os::raw::c_void,
7722        dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
7723    );
7724}
7725extern "C" {
7726    pub fn php_output_handler_start(handler: *mut php_output_handler) -> ::std::os::raw::c_int;
7727}
7728extern "C" {
7729    pub fn php_output_handler_started(
7730        name: *const ::std::os::raw::c_char,
7731        name_len: usize,
7732    ) -> ::std::os::raw::c_int;
7733}
7734extern "C" {
7735    pub fn php_output_handler_hook(
7736        type_: php_output_handler_hook_t,
7737        arg: *mut ::std::os::raw::c_void,
7738    ) -> ::std::os::raw::c_int;
7739}
7740extern "C" {
7741    pub fn php_output_handler_dtor(handler: *mut php_output_handler);
7742}
7743extern "C" {
7744    pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
7745}
7746extern "C" {
7747    pub fn php_output_handler_conflict(
7748        handler_new: *const ::std::os::raw::c_char,
7749        handler_new_len: usize,
7750        handler_set: *const ::std::os::raw::c_char,
7751        handler_set_len: usize,
7752    ) -> ::std::os::raw::c_int;
7753}
7754extern "C" {
7755    pub fn php_output_handler_conflict_register(
7756        handler_name: *const ::std::os::raw::c_char,
7757        handler_name_len: usize,
7758        check_func: php_output_handler_conflict_check_t,
7759    ) -> ::std::os::raw::c_int;
7760}
7761extern "C" {
7762    pub fn php_output_handler_reverse_conflict_register(
7763        handler_name: *const ::std::os::raw::c_char,
7764        handler_name_len: usize,
7765        check_func: php_output_handler_conflict_check_t,
7766    ) -> ::std::os::raw::c_int;
7767}
7768extern "C" {
7769    pub fn php_output_handler_alias(
7770        handler_name: *const ::std::os::raw::c_char,
7771        handler_name_len: usize,
7772    ) -> *mut php_output_handler_alias_ctor_t;
7773}
7774extern "C" {
7775    pub fn php_output_handler_alias_register(
7776        handler_name: *const ::std::os::raw::c_char,
7777        handler_name_len: usize,
7778        func: php_output_handler_alias_ctor_t,
7779    ) -> ::std::os::raw::c_int;
7780}
7781#[repr(C)]
7782#[derive(Debug, Copy, Clone)]
7783pub struct stat {
7784    pub st_dev: __dev_t,
7785    pub st_ino: __ino_t,
7786    pub st_nlink: __nlink_t,
7787    pub st_mode: __mode_t,
7788    pub st_uid: __uid_t,
7789    pub st_gid: __gid_t,
7790    pub __pad0: ::std::os::raw::c_int,
7791    pub st_rdev: __dev_t,
7792    pub st_size: __off_t,
7793    pub st_blksize: __blksize_t,
7794    pub st_blocks: __blkcnt_t,
7795    pub st_atim: timespec,
7796    pub st_mtim: timespec,
7797    pub st_ctim: timespec,
7798    pub __glibc_reserved: [__syscall_slong_t; 3usize],
7799}
7800#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7801const _: () = {
7802    ["Size of stat"][::std::mem::size_of::<stat>() - 144usize];
7803    ["Alignment of stat"][::std::mem::align_of::<stat>() - 8usize];
7804    ["Offset of field: stat::st_dev"][::std::mem::offset_of!(stat, st_dev) - 0usize];
7805    ["Offset of field: stat::st_ino"][::std::mem::offset_of!(stat, st_ino) - 8usize];
7806    ["Offset of field: stat::st_nlink"][::std::mem::offset_of!(stat, st_nlink) - 16usize];
7807    ["Offset of field: stat::st_mode"][::std::mem::offset_of!(stat, st_mode) - 24usize];
7808    ["Offset of field: stat::st_uid"][::std::mem::offset_of!(stat, st_uid) - 28usize];
7809    ["Offset of field: stat::st_gid"][::std::mem::offset_of!(stat, st_gid) - 32usize];
7810    ["Offset of field: stat::__pad0"][::std::mem::offset_of!(stat, __pad0) - 36usize];
7811    ["Offset of field: stat::st_rdev"][::std::mem::offset_of!(stat, st_rdev) - 40usize];
7812    ["Offset of field: stat::st_size"][::std::mem::offset_of!(stat, st_size) - 48usize];
7813    ["Offset of field: stat::st_blksize"][::std::mem::offset_of!(stat, st_blksize) - 56usize];
7814    ["Offset of field: stat::st_blocks"][::std::mem::offset_of!(stat, st_blocks) - 64usize];
7815    ["Offset of field: stat::st_atim"][::std::mem::offset_of!(stat, st_atim) - 72usize];
7816    ["Offset of field: stat::st_mtim"][::std::mem::offset_of!(stat, st_mtim) - 88usize];
7817    ["Offset of field: stat::st_ctim"][::std::mem::offset_of!(stat, st_ctim) - 104usize];
7818    ["Offset of field: stat::__glibc_reserved"]
7819        [::std::mem::offset_of!(stat, __glibc_reserved) - 120usize];
7820};
7821extern "C" {
7822    pub fn php_file_le_stream() -> ::std::os::raw::c_int;
7823}
7824extern "C" {
7825    pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
7826}
7827extern "C" {
7828    pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
7829}
7830pub type php_stream = _php_stream;
7831pub type php_stream_wrapper = _php_stream_wrapper;
7832pub type php_stream_context = _php_stream_context;
7833pub type php_stream_filter = _php_stream_filter;
7834pub type php_stream_notification_func = ::std::option::Option<
7835    unsafe extern "C" fn(
7836        context: *mut php_stream_context,
7837        notifycode: ::std::os::raw::c_int,
7838        severity: ::std::os::raw::c_int,
7839        xmsg: *mut ::std::os::raw::c_char,
7840        xcode: ::std::os::raw::c_int,
7841        bytes_sofar: usize,
7842        bytes_max: usize,
7843        ptr: *mut ::std::os::raw::c_void,
7844    ),
7845>;
7846pub type php_stream_notifier = _php_stream_notifier;
7847#[repr(C)]
7848#[derive(Debug, Copy, Clone)]
7849pub struct _php_stream_notifier {
7850    pub func: php_stream_notification_func,
7851    pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
7852    pub ptr: *mut ::std::os::raw::c_void,
7853    pub mask: ::std::os::raw::c_int,
7854    pub progress: usize,
7855    pub progress_max: usize,
7856}
7857#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7858const _: () = {
7859    ["Size of _php_stream_notifier"][::std::mem::size_of::<_php_stream_notifier>() - 48usize];
7860    ["Alignment of _php_stream_notifier"][::std::mem::align_of::<_php_stream_notifier>() - 8usize];
7861    ["Offset of field: _php_stream_notifier::func"]
7862        [::std::mem::offset_of!(_php_stream_notifier, func) - 0usize];
7863    ["Offset of field: _php_stream_notifier::dtor"]
7864        [::std::mem::offset_of!(_php_stream_notifier, dtor) - 8usize];
7865    ["Offset of field: _php_stream_notifier::ptr"]
7866        [::std::mem::offset_of!(_php_stream_notifier, ptr) - 16usize];
7867    ["Offset of field: _php_stream_notifier::mask"]
7868        [::std::mem::offset_of!(_php_stream_notifier, mask) - 24usize];
7869    ["Offset of field: _php_stream_notifier::progress"]
7870        [::std::mem::offset_of!(_php_stream_notifier, progress) - 32usize];
7871    ["Offset of field: _php_stream_notifier::progress_max"]
7872        [::std::mem::offset_of!(_php_stream_notifier, progress_max) - 40usize];
7873};
7874#[repr(C)]
7875#[derive(Debug, Copy, Clone)]
7876pub struct _php_stream_context {
7877    pub notifier: *mut php_stream_notifier,
7878    pub options: *mut zval,
7879    pub links: *mut zval,
7880    pub rsrc_id: ::std::os::raw::c_int,
7881}
7882#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7883const _: () = {
7884    ["Size of _php_stream_context"][::std::mem::size_of::<_php_stream_context>() - 32usize];
7885    ["Alignment of _php_stream_context"][::std::mem::align_of::<_php_stream_context>() - 8usize];
7886    ["Offset of field: _php_stream_context::notifier"]
7887        [::std::mem::offset_of!(_php_stream_context, notifier) - 0usize];
7888    ["Offset of field: _php_stream_context::options"]
7889        [::std::mem::offset_of!(_php_stream_context, options) - 8usize];
7890    ["Offset of field: _php_stream_context::links"]
7891        [::std::mem::offset_of!(_php_stream_context, links) - 16usize];
7892    ["Offset of field: _php_stream_context::rsrc_id"]
7893        [::std::mem::offset_of!(_php_stream_context, rsrc_id) - 24usize];
7894};
7895extern "C" {
7896    pub fn php_stream_context_free(context: *mut php_stream_context);
7897}
7898extern "C" {
7899    pub fn php_stream_context_alloc() -> *mut php_stream_context;
7900}
7901extern "C" {
7902    pub fn php_stream_context_get_option(
7903        context: *mut php_stream_context,
7904        wrappername: *const ::std::os::raw::c_char,
7905        optionname: *const ::std::os::raw::c_char,
7906        optionvalue: *mut *mut *mut zval,
7907    ) -> ::std::os::raw::c_int;
7908}
7909extern "C" {
7910    pub fn php_stream_context_set_option(
7911        context: *mut php_stream_context,
7912        wrappername: *const ::std::os::raw::c_char,
7913        optionname: *const ::std::os::raw::c_char,
7914        optionvalue: *mut zval,
7915    ) -> ::std::os::raw::c_int;
7916}
7917extern "C" {
7918    pub fn php_stream_context_get_link(
7919        context: *mut php_stream_context,
7920        hostent: *const ::std::os::raw::c_char,
7921        stream: *mut *mut php_stream,
7922    ) -> ::std::os::raw::c_int;
7923}
7924extern "C" {
7925    pub fn php_stream_context_set_link(
7926        context: *mut php_stream_context,
7927        hostent: *const ::std::os::raw::c_char,
7928        stream: *mut php_stream,
7929    ) -> ::std::os::raw::c_int;
7930}
7931extern "C" {
7932    pub fn php_stream_context_del_link(
7933        context: *mut php_stream_context,
7934        stream: *mut php_stream,
7935    ) -> ::std::os::raw::c_int;
7936}
7937extern "C" {
7938    pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
7939}
7940extern "C" {
7941    pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
7942}
7943extern "C" {
7944    pub fn php_stream_notification_notify(
7945        context: *mut php_stream_context,
7946        notifycode: ::std::os::raw::c_int,
7947        severity: ::std::os::raw::c_int,
7948        xmsg: *mut ::std::os::raw::c_char,
7949        xcode: ::std::os::raw::c_int,
7950        bytes_sofar: usize,
7951        bytes_max: usize,
7952        ptr: *mut ::std::os::raw::c_void,
7953    );
7954}
7955extern "C" {
7956    pub fn php_stream_context_set(
7957        stream: *mut php_stream,
7958        context: *mut php_stream_context,
7959    ) -> *mut php_stream_context;
7960}
7961pub type php_stream_bucket = _php_stream_bucket;
7962pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
7963#[repr(C)]
7964#[derive(Debug, Copy, Clone)]
7965pub struct _php_stream_bucket {
7966    pub next: *mut php_stream_bucket,
7967    pub prev: *mut php_stream_bucket,
7968    pub brigade: *mut php_stream_bucket_brigade,
7969    pub buf: *mut ::std::os::raw::c_char,
7970    pub buflen: usize,
7971    pub own_buf: ::std::os::raw::c_int,
7972    pub is_persistent: ::std::os::raw::c_int,
7973    pub refcount: ::std::os::raw::c_int,
7974}
7975#[allow(clippy::unnecessary_operation, clippy::identity_op)]
7976const _: () = {
7977    ["Size of _php_stream_bucket"][::std::mem::size_of::<_php_stream_bucket>() - 56usize];
7978    ["Alignment of _php_stream_bucket"][::std::mem::align_of::<_php_stream_bucket>() - 8usize];
7979    ["Offset of field: _php_stream_bucket::next"]
7980        [::std::mem::offset_of!(_php_stream_bucket, next) - 0usize];
7981    ["Offset of field: _php_stream_bucket::prev"]
7982        [::std::mem::offset_of!(_php_stream_bucket, prev) - 8usize];
7983    ["Offset of field: _php_stream_bucket::brigade"]
7984        [::std::mem::offset_of!(_php_stream_bucket, brigade) - 16usize];
7985    ["Offset of field: _php_stream_bucket::buf"]
7986        [::std::mem::offset_of!(_php_stream_bucket, buf) - 24usize];
7987    ["Offset of field: _php_stream_bucket::buflen"]
7988        [::std::mem::offset_of!(_php_stream_bucket, buflen) - 32usize];
7989    ["Offset of field: _php_stream_bucket::own_buf"]
7990        [::std::mem::offset_of!(_php_stream_bucket, own_buf) - 40usize];
7991    ["Offset of field: _php_stream_bucket::is_persistent"]
7992        [::std::mem::offset_of!(_php_stream_bucket, is_persistent) - 44usize];
7993    ["Offset of field: _php_stream_bucket::refcount"]
7994        [::std::mem::offset_of!(_php_stream_bucket, refcount) - 48usize];
7995};
7996#[repr(C)]
7997#[derive(Debug, Copy, Clone)]
7998pub struct _php_stream_bucket_brigade {
7999    pub head: *mut php_stream_bucket,
8000    pub tail: *mut php_stream_bucket,
8001}
8002#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8003const _: () = {
8004    ["Size of _php_stream_bucket_brigade"]
8005        [::std::mem::size_of::<_php_stream_bucket_brigade>() - 16usize];
8006    ["Alignment of _php_stream_bucket_brigade"]
8007        [::std::mem::align_of::<_php_stream_bucket_brigade>() - 8usize];
8008    ["Offset of field: _php_stream_bucket_brigade::head"]
8009        [::std::mem::offset_of!(_php_stream_bucket_brigade, head) - 0usize];
8010    ["Offset of field: _php_stream_bucket_brigade::tail"]
8011        [::std::mem::offset_of!(_php_stream_bucket_brigade, tail) - 8usize];
8012};
8013pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
8014pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
8015pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
8016pub type php_stream_filter_status_t = ::std::os::raw::c_uint;
8017extern "C" {
8018    pub fn php_stream_bucket_new(
8019        stream: *mut php_stream,
8020        buf: *mut ::std::os::raw::c_char,
8021        buflen: usize,
8022        own_buf: ::std::os::raw::c_int,
8023        buf_persistent: ::std::os::raw::c_int,
8024    ) -> *mut php_stream_bucket;
8025}
8026extern "C" {
8027    pub fn php_stream_bucket_split(
8028        in_: *mut php_stream_bucket,
8029        left: *mut *mut php_stream_bucket,
8030        right: *mut *mut php_stream_bucket,
8031        length: usize,
8032    ) -> ::std::os::raw::c_int;
8033}
8034extern "C" {
8035    pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
8036}
8037extern "C" {
8038    pub fn php_stream_bucket_prepend(
8039        brigade: *mut php_stream_bucket_brigade,
8040        bucket: *mut php_stream_bucket,
8041    );
8042}
8043extern "C" {
8044    pub fn php_stream_bucket_append(
8045        brigade: *mut php_stream_bucket_brigade,
8046        bucket: *mut php_stream_bucket,
8047    );
8048}
8049extern "C" {
8050    pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
8051}
8052extern "C" {
8053    pub fn php_stream_bucket_make_writeable(
8054        bucket: *mut php_stream_bucket,
8055    ) -> *mut php_stream_bucket;
8056}
8057#[repr(C)]
8058#[derive(Debug, Copy, Clone)]
8059pub struct _php_stream_filter_ops {
8060    pub filter: ::std::option::Option<
8061        unsafe extern "C" fn(
8062            stream: *mut php_stream,
8063            thisfilter: *mut php_stream_filter,
8064            buckets_in: *mut php_stream_bucket_brigade,
8065            buckets_out: *mut php_stream_bucket_brigade,
8066            bytes_consumed: *mut usize,
8067            flags: ::std::os::raw::c_int,
8068        ) -> php_stream_filter_status_t,
8069    >,
8070    pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
8071    pub label: *const ::std::os::raw::c_char,
8072}
8073#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8074const _: () = {
8075    ["Size of _php_stream_filter_ops"][::std::mem::size_of::<_php_stream_filter_ops>() - 24usize];
8076    ["Alignment of _php_stream_filter_ops"]
8077        [::std::mem::align_of::<_php_stream_filter_ops>() - 8usize];
8078    ["Offset of field: _php_stream_filter_ops::filter"]
8079        [::std::mem::offset_of!(_php_stream_filter_ops, filter) - 0usize];
8080    ["Offset of field: _php_stream_filter_ops::dtor"]
8081        [::std::mem::offset_of!(_php_stream_filter_ops, dtor) - 8usize];
8082    ["Offset of field: _php_stream_filter_ops::label"]
8083        [::std::mem::offset_of!(_php_stream_filter_ops, label) - 16usize];
8084};
8085pub type php_stream_filter_ops = _php_stream_filter_ops;
8086#[repr(C)]
8087#[derive(Debug, Copy, Clone)]
8088pub struct _php_stream_filter_chain {
8089    pub head: *mut php_stream_filter,
8090    pub tail: *mut php_stream_filter,
8091    pub stream: *mut php_stream,
8092}
8093#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8094const _: () = {
8095    ["Size of _php_stream_filter_chain"]
8096        [::std::mem::size_of::<_php_stream_filter_chain>() - 24usize];
8097    ["Alignment of _php_stream_filter_chain"]
8098        [::std::mem::align_of::<_php_stream_filter_chain>() - 8usize];
8099    ["Offset of field: _php_stream_filter_chain::head"]
8100        [::std::mem::offset_of!(_php_stream_filter_chain, head) - 0usize];
8101    ["Offset of field: _php_stream_filter_chain::tail"]
8102        [::std::mem::offset_of!(_php_stream_filter_chain, tail) - 8usize];
8103    ["Offset of field: _php_stream_filter_chain::stream"]
8104        [::std::mem::offset_of!(_php_stream_filter_chain, stream) - 16usize];
8105};
8106pub type php_stream_filter_chain = _php_stream_filter_chain;
8107#[repr(C)]
8108#[derive(Debug, Copy, Clone)]
8109pub struct _php_stream_filter {
8110    pub fops: *mut php_stream_filter_ops,
8111    pub abstract_: *mut ::std::os::raw::c_void,
8112    pub next: *mut php_stream_filter,
8113    pub prev: *mut php_stream_filter,
8114    pub is_persistent: ::std::os::raw::c_int,
8115    pub chain: *mut php_stream_filter_chain,
8116    pub buffer: php_stream_bucket_brigade,
8117    pub rsrc_id: ::std::os::raw::c_int,
8118}
8119#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8120const _: () = {
8121    ["Size of _php_stream_filter"][::std::mem::size_of::<_php_stream_filter>() - 72usize];
8122    ["Alignment of _php_stream_filter"][::std::mem::align_of::<_php_stream_filter>() - 8usize];
8123    ["Offset of field: _php_stream_filter::fops"]
8124        [::std::mem::offset_of!(_php_stream_filter, fops) - 0usize];
8125    ["Offset of field: _php_stream_filter::abstract_"]
8126        [::std::mem::offset_of!(_php_stream_filter, abstract_) - 8usize];
8127    ["Offset of field: _php_stream_filter::next"]
8128        [::std::mem::offset_of!(_php_stream_filter, next) - 16usize];
8129    ["Offset of field: _php_stream_filter::prev"]
8130        [::std::mem::offset_of!(_php_stream_filter, prev) - 24usize];
8131    ["Offset of field: _php_stream_filter::is_persistent"]
8132        [::std::mem::offset_of!(_php_stream_filter, is_persistent) - 32usize];
8133    ["Offset of field: _php_stream_filter::chain"]
8134        [::std::mem::offset_of!(_php_stream_filter, chain) - 40usize];
8135    ["Offset of field: _php_stream_filter::buffer"]
8136        [::std::mem::offset_of!(_php_stream_filter, buffer) - 48usize];
8137    ["Offset of field: _php_stream_filter::rsrc_id"]
8138        [::std::mem::offset_of!(_php_stream_filter, rsrc_id) - 64usize];
8139};
8140extern "C" {
8141    pub fn php_stream_filter_prepend_ex(
8142        chain: *mut php_stream_filter_chain,
8143        filter: *mut php_stream_filter,
8144    ) -> ::std::os::raw::c_int;
8145}
8146extern "C" {
8147    pub fn php_stream_filter_append_ex(
8148        chain: *mut php_stream_filter_chain,
8149        filter: *mut php_stream_filter,
8150    ) -> ::std::os::raw::c_int;
8151}
8152extern "C" {
8153    pub fn php_stream_filter_remove(
8154        filter: *mut php_stream_filter,
8155        call_dtor: ::std::os::raw::c_int,
8156    ) -> *mut php_stream_filter;
8157}
8158extern "C" {
8159    pub fn php_stream_filter_free(filter: *mut php_stream_filter);
8160}
8161#[repr(C)]
8162#[derive(Debug, Copy, Clone)]
8163pub struct _php_stream_filter_factory {
8164    pub create_filter: ::std::option::Option<
8165        unsafe extern "C" fn(
8166            filtername: *const ::std::os::raw::c_char,
8167            filterparams: *mut zval,
8168            persistent: ::std::os::raw::c_int,
8169        ) -> *mut php_stream_filter,
8170    >,
8171}
8172#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8173const _: () = {
8174    ["Size of _php_stream_filter_factory"]
8175        [::std::mem::size_of::<_php_stream_filter_factory>() - 8usize];
8176    ["Alignment of _php_stream_filter_factory"]
8177        [::std::mem::align_of::<_php_stream_filter_factory>() - 8usize];
8178    ["Offset of field: _php_stream_filter_factory::create_filter"]
8179        [::std::mem::offset_of!(_php_stream_filter_factory, create_filter) - 0usize];
8180};
8181pub type php_stream_filter_factory = _php_stream_filter_factory;
8182extern "C" {
8183    pub fn php_stream_filter_register_factory(
8184        filterpattern: *const ::std::os::raw::c_char,
8185        factory: *mut php_stream_filter_factory,
8186    ) -> ::std::os::raw::c_int;
8187}
8188extern "C" {
8189    pub fn php_stream_filter_unregister_factory(
8190        filterpattern: *const ::std::os::raw::c_char,
8191    ) -> ::std::os::raw::c_int;
8192}
8193extern "C" {
8194    pub fn php_stream_filter_register_factory_volatile(
8195        filterpattern: *const ::std::os::raw::c_char,
8196        factory: *mut php_stream_filter_factory,
8197    ) -> ::std::os::raw::c_int;
8198}
8199extern "C" {
8200    pub fn php_stream_filter_create(
8201        filtername: *const ::std::os::raw::c_char,
8202        filterparams: *mut zval,
8203        persistent: ::std::os::raw::c_int,
8204    ) -> *mut php_stream_filter;
8205}
8206#[repr(C)]
8207#[derive(Debug, Copy, Clone)]
8208pub struct _php_stream_statbuf {
8209    pub sb: stat,
8210}
8211#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8212const _: () = {
8213    ["Size of _php_stream_statbuf"][::std::mem::size_of::<_php_stream_statbuf>() - 144usize];
8214    ["Alignment of _php_stream_statbuf"][::std::mem::align_of::<_php_stream_statbuf>() - 8usize];
8215    ["Offset of field: _php_stream_statbuf::sb"]
8216        [::std::mem::offset_of!(_php_stream_statbuf, sb) - 0usize];
8217};
8218pub type php_stream_statbuf = _php_stream_statbuf;
8219#[repr(C)]
8220#[derive(Debug, Copy, Clone)]
8221pub struct _php_stream_ops {
8222    pub write: ::std::option::Option<
8223        unsafe extern "C" fn(
8224            stream: *mut php_stream,
8225            buf: *const ::std::os::raw::c_char,
8226            count: usize,
8227        ) -> usize,
8228    >,
8229    pub read: ::std::option::Option<
8230        unsafe extern "C" fn(
8231            stream: *mut php_stream,
8232            buf: *mut ::std::os::raw::c_char,
8233            count: usize,
8234        ) -> usize,
8235    >,
8236    pub close: ::std::option::Option<
8237        unsafe extern "C" fn(
8238            stream: *mut php_stream,
8239            close_handle: ::std::os::raw::c_int,
8240        ) -> ::std::os::raw::c_int,
8241    >,
8242    pub flush: ::std::option::Option<
8243        unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
8244    >,
8245    pub label: *const ::std::os::raw::c_char,
8246    pub seek: ::std::option::Option<
8247        unsafe extern "C" fn(
8248            stream: *mut php_stream,
8249            offset: off_t,
8250            whence: ::std::os::raw::c_int,
8251            newoffset: *mut off_t,
8252        ) -> ::std::os::raw::c_int,
8253    >,
8254    pub cast: ::std::option::Option<
8255        unsafe extern "C" fn(
8256            stream: *mut php_stream,
8257            castas: ::std::os::raw::c_int,
8258            ret: *mut *mut ::std::os::raw::c_void,
8259        ) -> ::std::os::raw::c_int,
8260    >,
8261    pub stat: ::std::option::Option<
8262        unsafe extern "C" fn(
8263            stream: *mut php_stream,
8264            ssb: *mut php_stream_statbuf,
8265        ) -> ::std::os::raw::c_int,
8266    >,
8267    pub set_option: ::std::option::Option<
8268        unsafe extern "C" fn(
8269            stream: *mut php_stream,
8270            option: ::std::os::raw::c_int,
8271            value: ::std::os::raw::c_int,
8272            ptrparam: *mut ::std::os::raw::c_void,
8273        ) -> ::std::os::raw::c_int,
8274    >,
8275}
8276#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8277const _: () = {
8278    ["Size of _php_stream_ops"][::std::mem::size_of::<_php_stream_ops>() - 72usize];
8279    ["Alignment of _php_stream_ops"][::std::mem::align_of::<_php_stream_ops>() - 8usize];
8280    ["Offset of field: _php_stream_ops::write"]
8281        [::std::mem::offset_of!(_php_stream_ops, write) - 0usize];
8282    ["Offset of field: _php_stream_ops::read"]
8283        [::std::mem::offset_of!(_php_stream_ops, read) - 8usize];
8284    ["Offset of field: _php_stream_ops::close"]
8285        [::std::mem::offset_of!(_php_stream_ops, close) - 16usize];
8286    ["Offset of field: _php_stream_ops::flush"]
8287        [::std::mem::offset_of!(_php_stream_ops, flush) - 24usize];
8288    ["Offset of field: _php_stream_ops::label"]
8289        [::std::mem::offset_of!(_php_stream_ops, label) - 32usize];
8290    ["Offset of field: _php_stream_ops::seek"]
8291        [::std::mem::offset_of!(_php_stream_ops, seek) - 40usize];
8292    ["Offset of field: _php_stream_ops::cast"]
8293        [::std::mem::offset_of!(_php_stream_ops, cast) - 48usize];
8294    ["Offset of field: _php_stream_ops::stat"]
8295        [::std::mem::offset_of!(_php_stream_ops, stat) - 56usize];
8296    ["Offset of field: _php_stream_ops::set_option"]
8297        [::std::mem::offset_of!(_php_stream_ops, set_option) - 64usize];
8298};
8299pub type php_stream_ops = _php_stream_ops;
8300#[repr(C)]
8301#[derive(Debug, Copy, Clone)]
8302pub struct _php_stream_wrapper_ops {
8303    pub stream_opener: ::std::option::Option<
8304        unsafe extern "C" fn(
8305            wrapper: *mut php_stream_wrapper,
8306            filename: *mut ::std::os::raw::c_char,
8307            mode: *mut ::std::os::raw::c_char,
8308            options: ::std::os::raw::c_int,
8309            opened_path: *mut *mut ::std::os::raw::c_char,
8310            context: *mut php_stream_context,
8311        ) -> *mut php_stream,
8312    >,
8313    pub stream_closer: ::std::option::Option<
8314        unsafe extern "C" fn(
8315            wrapper: *mut php_stream_wrapper,
8316            stream: *mut php_stream,
8317        ) -> ::std::os::raw::c_int,
8318    >,
8319    pub stream_stat: ::std::option::Option<
8320        unsafe extern "C" fn(
8321            wrapper: *mut php_stream_wrapper,
8322            stream: *mut php_stream,
8323            ssb: *mut php_stream_statbuf,
8324        ) -> ::std::os::raw::c_int,
8325    >,
8326    pub url_stat: ::std::option::Option<
8327        unsafe extern "C" fn(
8328            wrapper: *mut php_stream_wrapper,
8329            url: *mut ::std::os::raw::c_char,
8330            flags: ::std::os::raw::c_int,
8331            ssb: *mut php_stream_statbuf,
8332            context: *mut php_stream_context,
8333        ) -> ::std::os::raw::c_int,
8334    >,
8335    pub dir_opener: ::std::option::Option<
8336        unsafe extern "C" fn(
8337            wrapper: *mut php_stream_wrapper,
8338            filename: *mut ::std::os::raw::c_char,
8339            mode: *mut ::std::os::raw::c_char,
8340            options: ::std::os::raw::c_int,
8341            opened_path: *mut *mut ::std::os::raw::c_char,
8342            context: *mut php_stream_context,
8343        ) -> *mut php_stream,
8344    >,
8345    pub label: *const ::std::os::raw::c_char,
8346    pub unlink: ::std::option::Option<
8347        unsafe extern "C" fn(
8348            wrapper: *mut php_stream_wrapper,
8349            url: *mut ::std::os::raw::c_char,
8350            options: ::std::os::raw::c_int,
8351            context: *mut php_stream_context,
8352        ) -> ::std::os::raw::c_int,
8353    >,
8354    pub rename: ::std::option::Option<
8355        unsafe extern "C" fn(
8356            wrapper: *mut php_stream_wrapper,
8357            url_from: *mut ::std::os::raw::c_char,
8358            url_to: *mut ::std::os::raw::c_char,
8359            options: ::std::os::raw::c_int,
8360            context: *mut php_stream_context,
8361        ) -> ::std::os::raw::c_int,
8362    >,
8363    pub stream_mkdir: ::std::option::Option<
8364        unsafe extern "C" fn(
8365            wrapper: *mut php_stream_wrapper,
8366            url: *mut ::std::os::raw::c_char,
8367            mode: ::std::os::raw::c_int,
8368            options: ::std::os::raw::c_int,
8369            context: *mut php_stream_context,
8370        ) -> ::std::os::raw::c_int,
8371    >,
8372    pub stream_rmdir: ::std::option::Option<
8373        unsafe extern "C" fn(
8374            wrapper: *mut php_stream_wrapper,
8375            url: *mut ::std::os::raw::c_char,
8376            options: ::std::os::raw::c_int,
8377            context: *mut php_stream_context,
8378        ) -> ::std::os::raw::c_int,
8379    >,
8380    pub stream_metadata: ::std::option::Option<
8381        unsafe extern "C" fn(
8382            wrapper: *mut php_stream_wrapper,
8383            url: *mut ::std::os::raw::c_char,
8384            options: ::std::os::raw::c_int,
8385            value: *mut ::std::os::raw::c_void,
8386            context: *mut php_stream_context,
8387        ) -> ::std::os::raw::c_int,
8388    >,
8389}
8390#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8391const _: () = {
8392    ["Size of _php_stream_wrapper_ops"][::std::mem::size_of::<_php_stream_wrapper_ops>() - 88usize];
8393    ["Alignment of _php_stream_wrapper_ops"]
8394        [::std::mem::align_of::<_php_stream_wrapper_ops>() - 8usize];
8395    ["Offset of field: _php_stream_wrapper_ops::stream_opener"]
8396        [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_opener) - 0usize];
8397    ["Offset of field: _php_stream_wrapper_ops::stream_closer"]
8398        [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_closer) - 8usize];
8399    ["Offset of field: _php_stream_wrapper_ops::stream_stat"]
8400        [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_stat) - 16usize];
8401    ["Offset of field: _php_stream_wrapper_ops::url_stat"]
8402        [::std::mem::offset_of!(_php_stream_wrapper_ops, url_stat) - 24usize];
8403    ["Offset of field: _php_stream_wrapper_ops::dir_opener"]
8404        [::std::mem::offset_of!(_php_stream_wrapper_ops, dir_opener) - 32usize];
8405    ["Offset of field: _php_stream_wrapper_ops::label"]
8406        [::std::mem::offset_of!(_php_stream_wrapper_ops, label) - 40usize];
8407    ["Offset of field: _php_stream_wrapper_ops::unlink"]
8408        [::std::mem::offset_of!(_php_stream_wrapper_ops, unlink) - 48usize];
8409    ["Offset of field: _php_stream_wrapper_ops::rename"]
8410        [::std::mem::offset_of!(_php_stream_wrapper_ops, rename) - 56usize];
8411    ["Offset of field: _php_stream_wrapper_ops::stream_mkdir"]
8412        [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_mkdir) - 64usize];
8413    ["Offset of field: _php_stream_wrapper_ops::stream_rmdir"]
8414        [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_rmdir) - 72usize];
8415    ["Offset of field: _php_stream_wrapper_ops::stream_metadata"]
8416        [::std::mem::offset_of!(_php_stream_wrapper_ops, stream_metadata) - 80usize];
8417};
8418pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
8419#[repr(C)]
8420#[derive(Debug, Copy, Clone)]
8421pub struct _php_stream_wrapper {
8422    pub wops: *mut php_stream_wrapper_ops,
8423    pub abstract_: *mut ::std::os::raw::c_void,
8424    pub is_url: ::std::os::raw::c_int,
8425    pub err_count: ::std::os::raw::c_int,
8426    pub err_stack: *mut *mut ::std::os::raw::c_char,
8427}
8428#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8429const _: () = {
8430    ["Size of _php_stream_wrapper"][::std::mem::size_of::<_php_stream_wrapper>() - 32usize];
8431    ["Alignment of _php_stream_wrapper"][::std::mem::align_of::<_php_stream_wrapper>() - 8usize];
8432    ["Offset of field: _php_stream_wrapper::wops"]
8433        [::std::mem::offset_of!(_php_stream_wrapper, wops) - 0usize];
8434    ["Offset of field: _php_stream_wrapper::abstract_"]
8435        [::std::mem::offset_of!(_php_stream_wrapper, abstract_) - 8usize];
8436    ["Offset of field: _php_stream_wrapper::is_url"]
8437        [::std::mem::offset_of!(_php_stream_wrapper, is_url) - 16usize];
8438    ["Offset of field: _php_stream_wrapper::err_count"]
8439        [::std::mem::offset_of!(_php_stream_wrapper, err_count) - 20usize];
8440    ["Offset of field: _php_stream_wrapper::err_stack"]
8441        [::std::mem::offset_of!(_php_stream_wrapper, err_stack) - 24usize];
8442};
8443#[repr(C)]
8444#[derive(Debug, Copy, Clone)]
8445pub struct _php_stream {
8446    pub ops: *mut php_stream_ops,
8447    pub abstract_: *mut ::std::os::raw::c_void,
8448    pub readfilters: php_stream_filter_chain,
8449    pub writefilters: php_stream_filter_chain,
8450    pub wrapper: *mut php_stream_wrapper,
8451    pub wrapperthis: *mut ::std::os::raw::c_void,
8452    pub wrapperdata: *mut zval,
8453    pub fgetss_state: ::std::os::raw::c_int,
8454    pub is_persistent: ::std::os::raw::c_int,
8455    pub mode: [::std::os::raw::c_char; 16usize],
8456    pub rsrc_id: ::std::os::raw::c_int,
8457    pub in_free: ::std::os::raw::c_int,
8458    pub fclose_stdiocast: ::std::os::raw::c_int,
8459    pub stdiocast: *mut FILE,
8460    pub orig_path: *mut ::std::os::raw::c_char,
8461    pub context: *mut php_stream_context,
8462    pub flags: ::std::os::raw::c_int,
8463    pub position: off_t,
8464    pub readbuf: *mut ::std::os::raw::c_uchar,
8465    pub readbuflen: usize,
8466    pub readpos: off_t,
8467    pub writepos: off_t,
8468    pub chunk_size: usize,
8469    pub eof: ::std::os::raw::c_int,
8470    pub enclosing_stream: *mut _php_stream,
8471}
8472#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8473const _: () = {
8474    ["Size of _php_stream"][::std::mem::size_of::<_php_stream>() - 224usize];
8475    ["Alignment of _php_stream"][::std::mem::align_of::<_php_stream>() - 8usize];
8476    ["Offset of field: _php_stream::ops"][::std::mem::offset_of!(_php_stream, ops) - 0usize];
8477    ["Offset of field: _php_stream::abstract_"]
8478        [::std::mem::offset_of!(_php_stream, abstract_) - 8usize];
8479    ["Offset of field: _php_stream::readfilters"]
8480        [::std::mem::offset_of!(_php_stream, readfilters) - 16usize];
8481    ["Offset of field: _php_stream::writefilters"]
8482        [::std::mem::offset_of!(_php_stream, writefilters) - 40usize];
8483    ["Offset of field: _php_stream::wrapper"]
8484        [::std::mem::offset_of!(_php_stream, wrapper) - 64usize];
8485    ["Offset of field: _php_stream::wrapperthis"]
8486        [::std::mem::offset_of!(_php_stream, wrapperthis) - 72usize];
8487    ["Offset of field: _php_stream::wrapperdata"]
8488        [::std::mem::offset_of!(_php_stream, wrapperdata) - 80usize];
8489    ["Offset of field: _php_stream::fgetss_state"]
8490        [::std::mem::offset_of!(_php_stream, fgetss_state) - 88usize];
8491    ["Offset of field: _php_stream::is_persistent"]
8492        [::std::mem::offset_of!(_php_stream, is_persistent) - 92usize];
8493    ["Offset of field: _php_stream::mode"][::std::mem::offset_of!(_php_stream, mode) - 96usize];
8494    ["Offset of field: _php_stream::rsrc_id"]
8495        [::std::mem::offset_of!(_php_stream, rsrc_id) - 112usize];
8496    ["Offset of field: _php_stream::in_free"]
8497        [::std::mem::offset_of!(_php_stream, in_free) - 116usize];
8498    ["Offset of field: _php_stream::fclose_stdiocast"]
8499        [::std::mem::offset_of!(_php_stream, fclose_stdiocast) - 120usize];
8500    ["Offset of field: _php_stream::stdiocast"]
8501        [::std::mem::offset_of!(_php_stream, stdiocast) - 128usize];
8502    ["Offset of field: _php_stream::orig_path"]
8503        [::std::mem::offset_of!(_php_stream, orig_path) - 136usize];
8504    ["Offset of field: _php_stream::context"]
8505        [::std::mem::offset_of!(_php_stream, context) - 144usize];
8506    ["Offset of field: _php_stream::flags"][::std::mem::offset_of!(_php_stream, flags) - 152usize];
8507    ["Offset of field: _php_stream::position"]
8508        [::std::mem::offset_of!(_php_stream, position) - 160usize];
8509    ["Offset of field: _php_stream::readbuf"]
8510        [::std::mem::offset_of!(_php_stream, readbuf) - 168usize];
8511    ["Offset of field: _php_stream::readbuflen"]
8512        [::std::mem::offset_of!(_php_stream, readbuflen) - 176usize];
8513    ["Offset of field: _php_stream::readpos"]
8514        [::std::mem::offset_of!(_php_stream, readpos) - 184usize];
8515    ["Offset of field: _php_stream::writepos"]
8516        [::std::mem::offset_of!(_php_stream, writepos) - 192usize];
8517    ["Offset of field: _php_stream::chunk_size"]
8518        [::std::mem::offset_of!(_php_stream, chunk_size) - 200usize];
8519    ["Offset of field: _php_stream::eof"][::std::mem::offset_of!(_php_stream, eof) - 208usize];
8520    ["Offset of field: _php_stream::enclosing_stream"]
8521        [::std::mem::offset_of!(_php_stream, enclosing_stream) - 216usize];
8522};
8523extern "C" {
8524    pub fn php_stream_encloses(
8525        enclosing: *mut php_stream,
8526        enclosed: *mut php_stream,
8527    ) -> *mut php_stream;
8528}
8529extern "C" {
8530    pub fn php_stream_from_persistent_id(
8531        persistent_id: *const ::std::os::raw::c_char,
8532        stream: *mut *mut php_stream,
8533    ) -> ::std::os::raw::c_int;
8534}
8535extern "C" {
8536    pub fn php_stream_get_record(
8537        stream: *mut php_stream,
8538        maxlen: usize,
8539        returned_len: *mut usize,
8540        delim: *mut ::std::os::raw::c_char,
8541        delim_len: usize,
8542    ) -> *mut ::std::os::raw::c_char;
8543}
8544extern "C" {
8545    pub fn php_stream_dirent_alphasort(
8546        a: *mut *const ::std::os::raw::c_char,
8547        b: *mut *const ::std::os::raw::c_char,
8548    ) -> ::std::os::raw::c_int;
8549}
8550extern "C" {
8551    pub fn php_stream_dirent_alphasortr(
8552        a: *mut *const ::std::os::raw::c_char,
8553        b: *mut *const ::std::os::raw::c_char,
8554    ) -> ::std::os::raw::c_int;
8555}
8556pub type php_stream_transport_factory_func = ::std::option::Option<
8557    unsafe extern "C" fn(
8558        proto: *const ::std::os::raw::c_char,
8559        protolen: ::std::os::raw::c_long,
8560        resourcename: *mut ::std::os::raw::c_char,
8561        resourcenamelen: ::std::os::raw::c_long,
8562        persistent_id: *const ::std::os::raw::c_char,
8563        options: ::std::os::raw::c_int,
8564        flags: ::std::os::raw::c_int,
8565        timeout: *mut timeval,
8566        context: *mut php_stream_context,
8567    ) -> *mut php_stream,
8568>;
8569pub type php_stream_transport_factory = php_stream_transport_factory_func;
8570extern "C" {
8571    pub fn php_stream_xport_register(
8572        protocol: *mut ::std::os::raw::c_char,
8573        factory: php_stream_transport_factory,
8574    ) -> ::std::os::raw::c_int;
8575}
8576extern "C" {
8577    pub fn php_stream_xport_unregister(
8578        protocol: *mut ::std::os::raw::c_char,
8579    ) -> ::std::os::raw::c_int;
8580}
8581extern "C" {
8582    pub fn php_stream_xport_bind(
8583        stream: *mut php_stream,
8584        name: *const ::std::os::raw::c_char,
8585        namelen: ::std::os::raw::c_long,
8586        error_text: *mut *mut ::std::os::raw::c_char,
8587    ) -> ::std::os::raw::c_int;
8588}
8589extern "C" {
8590    pub fn php_stream_xport_connect(
8591        stream: *mut php_stream,
8592        name: *const ::std::os::raw::c_char,
8593        namelen: ::std::os::raw::c_long,
8594        asynchronous: ::std::os::raw::c_int,
8595        timeout: *mut timeval,
8596        error_text: *mut *mut ::std::os::raw::c_char,
8597        error_code: *mut ::std::os::raw::c_int,
8598    ) -> ::std::os::raw::c_int;
8599}
8600extern "C" {
8601    pub fn php_stream_xport_listen(
8602        stream: *mut php_stream,
8603        backlog: ::std::os::raw::c_int,
8604        error_text: *mut *mut ::std::os::raw::c_char,
8605    ) -> ::std::os::raw::c_int;
8606}
8607extern "C" {
8608    pub fn php_stream_xport_accept(
8609        stream: *mut php_stream,
8610        client: *mut *mut php_stream,
8611        textaddr: *mut *mut ::std::os::raw::c_char,
8612        textaddrlen: *mut ::std::os::raw::c_int,
8613        addr: *mut *mut ::std::os::raw::c_void,
8614        addrlen: *mut socklen_t,
8615        timeout: *mut timeval,
8616        error_text: *mut *mut ::std::os::raw::c_char,
8617    ) -> ::std::os::raw::c_int;
8618}
8619extern "C" {
8620    pub fn php_stream_xport_get_name(
8621        stream: *mut php_stream,
8622        want_peer: ::std::os::raw::c_int,
8623        textaddr: *mut *mut ::std::os::raw::c_char,
8624        textaddrlen: *mut ::std::os::raw::c_int,
8625        addr: *mut *mut ::std::os::raw::c_void,
8626        addrlen: *mut socklen_t,
8627    ) -> ::std::os::raw::c_int;
8628}
8629extern "C" {
8630    pub fn php_stream_xport_recvfrom(
8631        stream: *mut php_stream,
8632        buf: *mut ::std::os::raw::c_char,
8633        buflen: usize,
8634        flags: ::std::os::raw::c_long,
8635        addr: *mut *mut ::std::os::raw::c_void,
8636        addrlen: *mut socklen_t,
8637        textaddr: *mut *mut ::std::os::raw::c_char,
8638        textaddrlen: *mut ::std::os::raw::c_int,
8639    ) -> ::std::os::raw::c_int;
8640}
8641extern "C" {
8642    pub fn php_stream_xport_sendto(
8643        stream: *mut php_stream,
8644        buf: *const ::std::os::raw::c_char,
8645        buflen: usize,
8646        flags: ::std::os::raw::c_long,
8647        addr: *mut ::std::os::raw::c_void,
8648        addrlen: socklen_t,
8649    ) -> ::std::os::raw::c_int;
8650}
8651pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
8652pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
8653pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
8654pub type stream_shutdown_t = ::std::os::raw::c_uint;
8655extern "C" {
8656    pub fn php_stream_xport_shutdown(
8657        stream: *mut php_stream,
8658        how: stream_shutdown_t,
8659    ) -> ::std::os::raw::c_int;
8660}
8661pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
8662    php_stream_xport_crypt_method_t = 0;
8663pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
8664    php_stream_xport_crypt_method_t = 1;
8665pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
8666    php_stream_xport_crypt_method_t = 2;
8667pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
8668    php_stream_xport_crypt_method_t = 3;
8669pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
8670    php_stream_xport_crypt_method_t = 4;
8671pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
8672    php_stream_xport_crypt_method_t = 5;
8673pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
8674    php_stream_xport_crypt_method_t = 6;
8675pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
8676    php_stream_xport_crypt_method_t = 7;
8677pub type php_stream_xport_crypt_method_t = ::std::os::raw::c_uint;
8678extern "C" {
8679    pub fn php_stream_xport_crypto_setup(
8680        stream: *mut php_stream,
8681        crypto_method: php_stream_xport_crypt_method_t,
8682        session_stream: *mut php_stream,
8683    ) -> ::std::os::raw::c_int;
8684}
8685extern "C" {
8686    pub fn php_stream_xport_crypto_enable(
8687        stream: *mut php_stream,
8688        activate: ::std::os::raw::c_int,
8689    ) -> ::std::os::raw::c_int;
8690}
8691extern "C" {
8692    pub fn php_stream_xport_get_hash() -> *mut HashTable;
8693}
8694extern "C" {
8695    pub fn php_stream_generic_socket_factory(
8696        proto: *const ::std::os::raw::c_char,
8697        protolen: ::std::os::raw::c_long,
8698        resourcename: *mut ::std::os::raw::c_char,
8699        resourcenamelen: ::std::os::raw::c_long,
8700        persistent_id: *const ::std::os::raw::c_char,
8701        options: ::std::os::raw::c_int,
8702        flags: ::std::os::raw::c_int,
8703        timeout: *mut timeval,
8704        context: *mut php_stream_context,
8705    ) -> *mut php_stream;
8706}
8707extern "C" {
8708    pub static mut php_stream_stdio_ops: php_stream_ops;
8709}
8710extern "C" {
8711    pub static mut php_plain_files_wrapper: php_stream_wrapper;
8712}
8713extern "C" {
8714    pub static mut php_glob_stream_wrapper: php_stream_wrapper;
8715}
8716extern "C" {
8717    pub static mut php_glob_stream_ops: php_stream_ops;
8718}
8719extern "C" {
8720    pub static mut php_stream_userspace_ops: php_stream_ops;
8721}
8722extern "C" {
8723    pub static mut php_stream_userspace_dir_ops: php_stream_ops;
8724}
8725extern "C" {
8726    pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
8727}
8728extern "C" {
8729    pub fn php_shutdown_stream_wrappers(
8730        module_number: ::std::os::raw::c_int,
8731    ) -> ::std::os::raw::c_int;
8732}
8733extern "C" {
8734    pub fn php_shutdown_stream_hashes();
8735}
8736extern "C" {
8737    pub fn php_register_url_stream_wrapper(
8738        protocol: *mut ::std::os::raw::c_char,
8739        wrapper: *mut php_stream_wrapper,
8740    ) -> ::std::os::raw::c_int;
8741}
8742extern "C" {
8743    pub fn php_unregister_url_stream_wrapper(
8744        protocol: *mut ::std::os::raw::c_char,
8745    ) -> ::std::os::raw::c_int;
8746}
8747extern "C" {
8748    pub fn php_register_url_stream_wrapper_volatile(
8749        protocol: *mut ::std::os::raw::c_char,
8750        wrapper: *mut php_stream_wrapper,
8751    ) -> ::std::os::raw::c_int;
8752}
8753extern "C" {
8754    pub fn php_unregister_url_stream_wrapper_volatile(
8755        protocol: *mut ::std::os::raw::c_char,
8756    ) -> ::std::os::raw::c_int;
8757}
8758extern "C" {
8759    pub fn php_stream_locate_url_wrapper(
8760        path: *const ::std::os::raw::c_char,
8761        path_for_open: *mut *mut ::std::os::raw::c_char,
8762        options: ::std::os::raw::c_int,
8763    ) -> *mut php_stream_wrapper;
8764}
8765extern "C" {
8766    pub fn php_stream_locate_eol(
8767        stream: *mut php_stream,
8768        buf: *mut ::std::os::raw::c_char,
8769        buf_len: usize,
8770    ) -> *mut ::std::os::raw::c_char;
8771}
8772extern "C" {
8773    pub fn php_stream_wrapper_log_error(
8774        wrapper: *mut php_stream_wrapper,
8775        options: ::std::os::raw::c_int,
8776        fmt: *const ::std::os::raw::c_char,
8777        ...
8778    );
8779}
8780extern "C" {
8781    pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
8782}
8783extern "C" {
8784    pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
8785}
8786extern "C" {
8787    pub static mut php_stream_user_wrapper_ops: *mut php_stream_wrapper_ops;
8788}
8789extern "C" {
8790    pub static mut php_stream_memory_ops: php_stream_ops;
8791}
8792extern "C" {
8793    pub static mut php_stream_temp_ops: php_stream_ops;
8794}
8795extern "C" {
8796    pub static mut php_stream_rfc2397_ops: php_stream_ops;
8797}
8798extern "C" {
8799    pub static mut php_stream_rfc2397_wrapper: php_stream_wrapper;
8800}
8801#[repr(C)]
8802#[derive(Debug, Copy, Clone)]
8803pub struct _php_core_globals {
8804    pub implicit_flush: zend_bool,
8805    pub output_buffering: ::std::os::raw::c_long,
8806    pub sql_safe_mode: zend_bool,
8807    pub enable_dl: zend_bool,
8808    pub output_handler: *mut ::std::os::raw::c_char,
8809    pub unserialize_callback_func: *mut ::std::os::raw::c_char,
8810    pub serialize_precision: ::std::os::raw::c_long,
8811    pub memory_limit: ::std::os::raw::c_long,
8812    pub max_input_time: ::std::os::raw::c_long,
8813    pub track_errors: zend_bool,
8814    pub display_errors: zend_bool,
8815    pub display_startup_errors: zend_bool,
8816    pub log_errors: zend_bool,
8817    pub log_errors_max_len: ::std::os::raw::c_long,
8818    pub ignore_repeated_errors: zend_bool,
8819    pub ignore_repeated_source: zend_bool,
8820    pub report_memleaks: zend_bool,
8821    pub error_log: *mut ::std::os::raw::c_char,
8822    pub doc_root: *mut ::std::os::raw::c_char,
8823    pub user_dir: *mut ::std::os::raw::c_char,
8824    pub include_path: *mut ::std::os::raw::c_char,
8825    pub open_basedir: *mut ::std::os::raw::c_char,
8826    pub extension_dir: *mut ::std::os::raw::c_char,
8827    pub php_binary: *mut ::std::os::raw::c_char,
8828    pub upload_tmp_dir: *mut ::std::os::raw::c_char,
8829    pub upload_max_filesize: ::std::os::raw::c_long,
8830    pub error_append_string: *mut ::std::os::raw::c_char,
8831    pub error_prepend_string: *mut ::std::os::raw::c_char,
8832    pub auto_prepend_file: *mut ::std::os::raw::c_char,
8833    pub auto_append_file: *mut ::std::os::raw::c_char,
8834    pub arg_separator: arg_separators,
8835    pub variables_order: *mut ::std::os::raw::c_char,
8836    pub rfc1867_protected_variables: HashTable,
8837    pub connection_status: ::std::os::raw::c_short,
8838    pub ignore_user_abort: ::std::os::raw::c_short,
8839    pub header_is_being_sent: ::std::os::raw::c_uchar,
8840    pub tick_functions: zend_llist,
8841    pub http_globals: [*mut zval; 6usize],
8842    pub expose_php: zend_bool,
8843    pub register_argc_argv: zend_bool,
8844    pub auto_globals_jit: zend_bool,
8845    pub docref_root: *mut ::std::os::raw::c_char,
8846    pub docref_ext: *mut ::std::os::raw::c_char,
8847    pub html_errors: zend_bool,
8848    pub xmlrpc_errors: zend_bool,
8849    pub xmlrpc_error_number: ::std::os::raw::c_long,
8850    pub activated_auto_globals: [zend_bool; 8usize],
8851    pub modules_activated: zend_bool,
8852    pub file_uploads: zend_bool,
8853    pub during_request_startup: zend_bool,
8854    pub allow_url_fopen: zend_bool,
8855    pub enable_post_data_reading: zend_bool,
8856    pub always_populate_raw_post_data: zend_bool,
8857    pub report_zend_debug: zend_bool,
8858    pub last_error_type: ::std::os::raw::c_int,
8859    pub last_error_message: *mut ::std::os::raw::c_char,
8860    pub last_error_file: *mut ::std::os::raw::c_char,
8861    pub last_error_lineno: ::std::os::raw::c_int,
8862    pub disable_functions: *mut ::std::os::raw::c_char,
8863    pub disable_classes: *mut ::std::os::raw::c_char,
8864    pub allow_url_include: zend_bool,
8865    pub exit_on_timeout: zend_bool,
8866    pub max_input_nesting_level: ::std::os::raw::c_long,
8867    pub max_input_vars: ::std::os::raw::c_long,
8868    pub in_user_include: zend_bool,
8869    pub user_ini_filename: *mut ::std::os::raw::c_char,
8870    pub user_ini_cache_ttl: ::std::os::raw::c_long,
8871    pub request_order: *mut ::std::os::raw::c_char,
8872    pub mail_x_header: zend_bool,
8873    pub mail_log: *mut ::std::os::raw::c_char,
8874    pub in_error_log: zend_bool,
8875}
8876#[allow(clippy::unnecessary_operation, clippy::identity_op)]
8877const _: () = {
8878    ["Size of _php_core_globals"][::std::mem::size_of::<_php_core_globals>() - 584usize];
8879    ["Alignment of _php_core_globals"][::std::mem::align_of::<_php_core_globals>() - 8usize];
8880    ["Offset of field: _php_core_globals::implicit_flush"]
8881        [::std::mem::offset_of!(_php_core_globals, implicit_flush) - 0usize];
8882    ["Offset of field: _php_core_globals::output_buffering"]
8883        [::std::mem::offset_of!(_php_core_globals, output_buffering) - 8usize];
8884    ["Offset of field: _php_core_globals::sql_safe_mode"]
8885        [::std::mem::offset_of!(_php_core_globals, sql_safe_mode) - 16usize];
8886    ["Offset of field: _php_core_globals::enable_dl"]
8887        [::std::mem::offset_of!(_php_core_globals, enable_dl) - 17usize];
8888    ["Offset of field: _php_core_globals::output_handler"]
8889        [::std::mem::offset_of!(_php_core_globals, output_handler) - 24usize];
8890    ["Offset of field: _php_core_globals::unserialize_callback_func"]
8891        [::std::mem::offset_of!(_php_core_globals, unserialize_callback_func) - 32usize];
8892    ["Offset of field: _php_core_globals::serialize_precision"]
8893        [::std::mem::offset_of!(_php_core_globals, serialize_precision) - 40usize];
8894    ["Offset of field: _php_core_globals::memory_limit"]
8895        [::std::mem::offset_of!(_php_core_globals, memory_limit) - 48usize];
8896    ["Offset of field: _php_core_globals::max_input_time"]
8897        [::std::mem::offset_of!(_php_core_globals, max_input_time) - 56usize];
8898    ["Offset of field: _php_core_globals::track_errors"]
8899        [::std::mem::offset_of!(_php_core_globals, track_errors) - 64usize];
8900    ["Offset of field: _php_core_globals::display_errors"]
8901        [::std::mem::offset_of!(_php_core_globals, display_errors) - 65usize];
8902    ["Offset of field: _php_core_globals::display_startup_errors"]
8903        [::std::mem::offset_of!(_php_core_globals, display_startup_errors) - 66usize];
8904    ["Offset of field: _php_core_globals::log_errors"]
8905        [::std::mem::offset_of!(_php_core_globals, log_errors) - 67usize];
8906    ["Offset of field: _php_core_globals::log_errors_max_len"]
8907        [::std::mem::offset_of!(_php_core_globals, log_errors_max_len) - 72usize];
8908    ["Offset of field: _php_core_globals::ignore_repeated_errors"]
8909        [::std::mem::offset_of!(_php_core_globals, ignore_repeated_errors) - 80usize];
8910    ["Offset of field: _php_core_globals::ignore_repeated_source"]
8911        [::std::mem::offset_of!(_php_core_globals, ignore_repeated_source) - 81usize];
8912    ["Offset of field: _php_core_globals::report_memleaks"]
8913        [::std::mem::offset_of!(_php_core_globals, report_memleaks) - 82usize];
8914    ["Offset of field: _php_core_globals::error_log"]
8915        [::std::mem::offset_of!(_php_core_globals, error_log) - 88usize];
8916    ["Offset of field: _php_core_globals::doc_root"]
8917        [::std::mem::offset_of!(_php_core_globals, doc_root) - 96usize];
8918    ["Offset of field: _php_core_globals::user_dir"]
8919        [::std::mem::offset_of!(_php_core_globals, user_dir) - 104usize];
8920    ["Offset of field: _php_core_globals::include_path"]
8921        [::std::mem::offset_of!(_php_core_globals, include_path) - 112usize];
8922    ["Offset of field: _php_core_globals::open_basedir"]
8923        [::std::mem::offset_of!(_php_core_globals, open_basedir) - 120usize];
8924    ["Offset of field: _php_core_globals::extension_dir"]
8925        [::std::mem::offset_of!(_php_core_globals, extension_dir) - 128usize];
8926    ["Offset of field: _php_core_globals::php_binary"]
8927        [::std::mem::offset_of!(_php_core_globals, php_binary) - 136usize];
8928    ["Offset of field: _php_core_globals::upload_tmp_dir"]
8929        [::std::mem::offset_of!(_php_core_globals, upload_tmp_dir) - 144usize];
8930    ["Offset of field: _php_core_globals::upload_max_filesize"]
8931        [::std::mem::offset_of!(_php_core_globals, upload_max_filesize) - 152usize];
8932    ["Offset of field: _php_core_globals::error_append_string"]
8933        [::std::mem::offset_of!(_php_core_globals, error_append_string) - 160usize];
8934    ["Offset of field: _php_core_globals::error_prepend_string"]
8935        [::std::mem::offset_of!(_php_core_globals, error_prepend_string) - 168usize];
8936    ["Offset of field: _php_core_globals::auto_prepend_file"]
8937        [::std::mem::offset_of!(_php_core_globals, auto_prepend_file) - 176usize];
8938    ["Offset of field: _php_core_globals::auto_append_file"]
8939        [::std::mem::offset_of!(_php_core_globals, auto_append_file) - 184usize];
8940    ["Offset of field: _php_core_globals::arg_separator"]
8941        [::std::mem::offset_of!(_php_core_globals, arg_separator) - 192usize];
8942    ["Offset of field: _php_core_globals::variables_order"]
8943        [::std::mem::offset_of!(_php_core_globals, variables_order) - 208usize];
8944    ["Offset of field: _php_core_globals::rfc1867_protected_variables"]
8945        [::std::mem::offset_of!(_php_core_globals, rfc1867_protected_variables) - 216usize];
8946    ["Offset of field: _php_core_globals::connection_status"]
8947        [::std::mem::offset_of!(_php_core_globals, connection_status) - 288usize];
8948    ["Offset of field: _php_core_globals::ignore_user_abort"]
8949        [::std::mem::offset_of!(_php_core_globals, ignore_user_abort) - 290usize];
8950    ["Offset of field: _php_core_globals::header_is_being_sent"]
8951        [::std::mem::offset_of!(_php_core_globals, header_is_being_sent) - 292usize];
8952    ["Offset of field: _php_core_globals::tick_functions"]
8953        [::std::mem::offset_of!(_php_core_globals, tick_functions) - 296usize];
8954    ["Offset of field: _php_core_globals::http_globals"]
8955        [::std::mem::offset_of!(_php_core_globals, http_globals) - 352usize];
8956    ["Offset of field: _php_core_globals::expose_php"]
8957        [::std::mem::offset_of!(_php_core_globals, expose_php) - 400usize];
8958    ["Offset of field: _php_core_globals::register_argc_argv"]
8959        [::std::mem::offset_of!(_php_core_globals, register_argc_argv) - 401usize];
8960    ["Offset of field: _php_core_globals::auto_globals_jit"]
8961        [::std::mem::offset_of!(_php_core_globals, auto_globals_jit) - 402usize];
8962    ["Offset of field: _php_core_globals::docref_root"]
8963        [::std::mem::offset_of!(_php_core_globals, docref_root) - 408usize];
8964    ["Offset of field: _php_core_globals::docref_ext"]
8965        [::std::mem::offset_of!(_php_core_globals, docref_ext) - 416usize];
8966    ["Offset of field: _php_core_globals::html_errors"]
8967        [::std::mem::offset_of!(_php_core_globals, html_errors) - 424usize];
8968    ["Offset of field: _php_core_globals::xmlrpc_errors"]
8969        [::std::mem::offset_of!(_php_core_globals, xmlrpc_errors) - 425usize];
8970    ["Offset of field: _php_core_globals::xmlrpc_error_number"]
8971        [::std::mem::offset_of!(_php_core_globals, xmlrpc_error_number) - 432usize];
8972    ["Offset of field: _php_core_globals::activated_auto_globals"]
8973        [::std::mem::offset_of!(_php_core_globals, activated_auto_globals) - 440usize];
8974    ["Offset of field: _php_core_globals::modules_activated"]
8975        [::std::mem::offset_of!(_php_core_globals, modules_activated) - 448usize];
8976    ["Offset of field: _php_core_globals::file_uploads"]
8977        [::std::mem::offset_of!(_php_core_globals, file_uploads) - 449usize];
8978    ["Offset of field: _php_core_globals::during_request_startup"]
8979        [::std::mem::offset_of!(_php_core_globals, during_request_startup) - 450usize];
8980    ["Offset of field: _php_core_globals::allow_url_fopen"]
8981        [::std::mem::offset_of!(_php_core_globals, allow_url_fopen) - 451usize];
8982    ["Offset of field: _php_core_globals::enable_post_data_reading"]
8983        [::std::mem::offset_of!(_php_core_globals, enable_post_data_reading) - 452usize];
8984    ["Offset of field: _php_core_globals::always_populate_raw_post_data"]
8985        [::std::mem::offset_of!(_php_core_globals, always_populate_raw_post_data) - 453usize];
8986    ["Offset of field: _php_core_globals::report_zend_debug"]
8987        [::std::mem::offset_of!(_php_core_globals, report_zend_debug) - 454usize];
8988    ["Offset of field: _php_core_globals::last_error_type"]
8989        [::std::mem::offset_of!(_php_core_globals, last_error_type) - 456usize];
8990    ["Offset of field: _php_core_globals::last_error_message"]
8991        [::std::mem::offset_of!(_php_core_globals, last_error_message) - 464usize];
8992    ["Offset of field: _php_core_globals::last_error_file"]
8993        [::std::mem::offset_of!(_php_core_globals, last_error_file) - 472usize];
8994    ["Offset of field: _php_core_globals::last_error_lineno"]
8995        [::std::mem::offset_of!(_php_core_globals, last_error_lineno) - 480usize];
8996    ["Offset of field: _php_core_globals::disable_functions"]
8997        [::std::mem::offset_of!(_php_core_globals, disable_functions) - 488usize];
8998    ["Offset of field: _php_core_globals::disable_classes"]
8999        [::std::mem::offset_of!(_php_core_globals, disable_classes) - 496usize];
9000    ["Offset of field: _php_core_globals::allow_url_include"]
9001        [::std::mem::offset_of!(_php_core_globals, allow_url_include) - 504usize];
9002    ["Offset of field: _php_core_globals::exit_on_timeout"]
9003        [::std::mem::offset_of!(_php_core_globals, exit_on_timeout) - 505usize];
9004    ["Offset of field: _php_core_globals::max_input_nesting_level"]
9005        [::std::mem::offset_of!(_php_core_globals, max_input_nesting_level) - 512usize];
9006    ["Offset of field: _php_core_globals::max_input_vars"]
9007        [::std::mem::offset_of!(_php_core_globals, max_input_vars) - 520usize];
9008    ["Offset of field: _php_core_globals::in_user_include"]
9009        [::std::mem::offset_of!(_php_core_globals, in_user_include) - 528usize];
9010    ["Offset of field: _php_core_globals::user_ini_filename"]
9011        [::std::mem::offset_of!(_php_core_globals, user_ini_filename) - 536usize];
9012    ["Offset of field: _php_core_globals::user_ini_cache_ttl"]
9013        [::std::mem::offset_of!(_php_core_globals, user_ini_cache_ttl) - 544usize];
9014    ["Offset of field: _php_core_globals::request_order"]
9015        [::std::mem::offset_of!(_php_core_globals, request_order) - 552usize];
9016    ["Offset of field: _php_core_globals::mail_x_header"]
9017        [::std::mem::offset_of!(_php_core_globals, mail_x_header) - 560usize];
9018    ["Offset of field: _php_core_globals::mail_log"]
9019        [::std::mem::offset_of!(_php_core_globals, mail_log) - 568usize];
9020    ["Offset of field: _php_core_globals::in_error_log"]
9021        [::std::mem::offset_of!(_php_core_globals, in_error_log) - 576usize];
9022};
9023extern "C" {
9024    pub static mut core_globals: _php_core_globals;
9025}
9026#[repr(C)]
9027#[derive(Debug, Copy, Clone)]
9028pub struct _arg_separators {
9029    pub output: *mut ::std::os::raw::c_char,
9030    pub input: *mut ::std::os::raw::c_char,
9031}
9032#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9033const _: () = {
9034    ["Size of _arg_separators"][::std::mem::size_of::<_arg_separators>() - 16usize];
9035    ["Alignment of _arg_separators"][::std::mem::align_of::<_arg_separators>() - 8usize];
9036    ["Offset of field: _arg_separators::output"]
9037        [::std::mem::offset_of!(_arg_separators, output) - 0usize];
9038    ["Offset of field: _arg_separators::input"]
9039        [::std::mem::offset_of!(_arg_separators, input) - 8usize];
9040};
9041pub type arg_separators = _arg_separators;
9042#[repr(C)]
9043#[derive(Debug, Copy, Clone)]
9044pub struct _zend_ini_entry {
9045    pub module_number: ::std::os::raw::c_int,
9046    pub modifiable: ::std::os::raw::c_int,
9047    pub name: *mut ::std::os::raw::c_char,
9048    pub name_length: uint,
9049    pub on_modify: ::std::option::Option<
9050        unsafe extern "C" fn(
9051            entry: *mut zend_ini_entry,
9052            new_value: *mut ::std::os::raw::c_char,
9053            new_value_length: uint,
9054            mh_arg1: *mut ::std::os::raw::c_void,
9055            mh_arg2: *mut ::std::os::raw::c_void,
9056            mh_arg3: *mut ::std::os::raw::c_void,
9057            stage: ::std::os::raw::c_int,
9058        ) -> ::std::os::raw::c_int,
9059    >,
9060    pub mh_arg1: *mut ::std::os::raw::c_void,
9061    pub mh_arg2: *mut ::std::os::raw::c_void,
9062    pub mh_arg3: *mut ::std::os::raw::c_void,
9063    pub value: *mut ::std::os::raw::c_char,
9064    pub value_length: uint,
9065    pub orig_value: *mut ::std::os::raw::c_char,
9066    pub orig_value_length: uint,
9067    pub orig_modifiable: ::std::os::raw::c_int,
9068    pub modified: ::std::os::raw::c_int,
9069    pub displayer: ::std::option::Option<
9070        unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
9071    >,
9072}
9073#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9074const _: () = {
9075    ["Size of _zend_ini_entry"][::std::mem::size_of::<_zend_ini_entry>() - 104usize];
9076    ["Alignment of _zend_ini_entry"][::std::mem::align_of::<_zend_ini_entry>() - 8usize];
9077    ["Offset of field: _zend_ini_entry::module_number"]
9078        [::std::mem::offset_of!(_zend_ini_entry, module_number) - 0usize];
9079    ["Offset of field: _zend_ini_entry::modifiable"]
9080        [::std::mem::offset_of!(_zend_ini_entry, modifiable) - 4usize];
9081    ["Offset of field: _zend_ini_entry::name"]
9082        [::std::mem::offset_of!(_zend_ini_entry, name) - 8usize];
9083    ["Offset of field: _zend_ini_entry::name_length"]
9084        [::std::mem::offset_of!(_zend_ini_entry, name_length) - 16usize];
9085    ["Offset of field: _zend_ini_entry::on_modify"]
9086        [::std::mem::offset_of!(_zend_ini_entry, on_modify) - 24usize];
9087    ["Offset of field: _zend_ini_entry::mh_arg1"]
9088        [::std::mem::offset_of!(_zend_ini_entry, mh_arg1) - 32usize];
9089    ["Offset of field: _zend_ini_entry::mh_arg2"]
9090        [::std::mem::offset_of!(_zend_ini_entry, mh_arg2) - 40usize];
9091    ["Offset of field: _zend_ini_entry::mh_arg3"]
9092        [::std::mem::offset_of!(_zend_ini_entry, mh_arg3) - 48usize];
9093    ["Offset of field: _zend_ini_entry::value"]
9094        [::std::mem::offset_of!(_zend_ini_entry, value) - 56usize];
9095    ["Offset of field: _zend_ini_entry::value_length"]
9096        [::std::mem::offset_of!(_zend_ini_entry, value_length) - 64usize];
9097    ["Offset of field: _zend_ini_entry::orig_value"]
9098        [::std::mem::offset_of!(_zend_ini_entry, orig_value) - 72usize];
9099    ["Offset of field: _zend_ini_entry::orig_value_length"]
9100        [::std::mem::offset_of!(_zend_ini_entry, orig_value_length) - 80usize];
9101    ["Offset of field: _zend_ini_entry::orig_modifiable"]
9102        [::std::mem::offset_of!(_zend_ini_entry, orig_modifiable) - 84usize];
9103    ["Offset of field: _zend_ini_entry::modified"]
9104        [::std::mem::offset_of!(_zend_ini_entry, modified) - 88usize];
9105    ["Offset of field: _zend_ini_entry::displayer"]
9106        [::std::mem::offset_of!(_zend_ini_entry, displayer) - 96usize];
9107};
9108extern "C" {
9109    pub fn zend_ini_startup() -> ::std::os::raw::c_int;
9110}
9111extern "C" {
9112    pub fn zend_ini_shutdown() -> ::std::os::raw::c_int;
9113}
9114extern "C" {
9115    pub fn zend_ini_global_shutdown() -> ::std::os::raw::c_int;
9116}
9117extern "C" {
9118    pub fn zend_ini_deactivate() -> ::std::os::raw::c_int;
9119}
9120extern "C" {
9121    pub fn zend_copy_ini_directives() -> ::std::os::raw::c_int;
9122}
9123extern "C" {
9124    pub fn zend_ini_sort_entries();
9125}
9126extern "C" {
9127    pub fn zend_register_ini_entries(
9128        ini_entry: *const zend_ini_entry,
9129        module_number: ::std::os::raw::c_int,
9130    ) -> ::std::os::raw::c_int;
9131}
9132extern "C" {
9133    pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
9134}
9135extern "C" {
9136    pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
9137}
9138extern "C" {
9139    pub fn zend_alter_ini_entry(
9140        name: *mut ::std::os::raw::c_char,
9141        name_length: uint,
9142        new_value: *mut ::std::os::raw::c_char,
9143        new_value_length: uint,
9144        modify_type: ::std::os::raw::c_int,
9145        stage: ::std::os::raw::c_int,
9146    ) -> ::std::os::raw::c_int;
9147}
9148extern "C" {
9149    pub fn zend_alter_ini_entry_ex(
9150        name: *mut ::std::os::raw::c_char,
9151        name_length: uint,
9152        new_value: *mut ::std::os::raw::c_char,
9153        new_value_length: uint,
9154        modify_type: ::std::os::raw::c_int,
9155        stage: ::std::os::raw::c_int,
9156        force_change: ::std::os::raw::c_int,
9157    ) -> ::std::os::raw::c_int;
9158}
9159extern "C" {
9160    pub fn zend_restore_ini_entry(
9161        name: *mut ::std::os::raw::c_char,
9162        name_length: uint,
9163        stage: ::std::os::raw::c_int,
9164    ) -> ::std::os::raw::c_int;
9165}
9166extern "C" {
9167    pub fn zend_ini_long(
9168        name: *mut ::std::os::raw::c_char,
9169        name_length: uint,
9170        orig: ::std::os::raw::c_int,
9171    ) -> ::std::os::raw::c_long;
9172}
9173extern "C" {
9174    pub fn zend_ini_double(
9175        name: *mut ::std::os::raw::c_char,
9176        name_length: uint,
9177        orig: ::std::os::raw::c_int,
9178    ) -> f64;
9179}
9180extern "C" {
9181    pub fn zend_ini_string(
9182        name: *mut ::std::os::raw::c_char,
9183        name_length: uint,
9184        orig: ::std::os::raw::c_int,
9185    ) -> *mut ::std::os::raw::c_char;
9186}
9187extern "C" {
9188    pub fn zend_ini_string_ex(
9189        name: *mut ::std::os::raw::c_char,
9190        name_length: uint,
9191        orig: ::std::os::raw::c_int,
9192        exists: *mut zend_bool,
9193    ) -> *mut ::std::os::raw::c_char;
9194}
9195extern "C" {
9196    pub fn zend_ini_register_displayer(
9197        name: *mut ::std::os::raw::c_char,
9198        name_length: uint,
9199        displayer: ::std::option::Option<
9200            unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
9201        >,
9202    ) -> ::std::os::raw::c_int;
9203}
9204extern "C" {
9205    pub fn zend_ini_boolean_displayer_cb(
9206        ini_entry: *mut zend_ini_entry,
9207        type_: ::std::os::raw::c_int,
9208    );
9209}
9210extern "C" {
9211    pub fn zend_ini_color_displayer_cb(
9212        ini_entry: *mut zend_ini_entry,
9213        type_: ::std::os::raw::c_int,
9214    );
9215}
9216pub type zend_ini_parser_cb_t = ::std::option::Option<
9217    unsafe extern "C" fn(
9218        arg1: *mut zval,
9219        arg2: *mut zval,
9220        arg3: *mut zval,
9221        callback_type: ::std::os::raw::c_int,
9222        arg: *mut ::std::os::raw::c_void,
9223    ),
9224>;
9225extern "C" {
9226    pub fn zend_parse_ini_file(
9227        fh: *mut zend_file_handle,
9228        unbuffered_errors: zend_bool,
9229        scanner_mode: ::std::os::raw::c_int,
9230        ini_parser_cb: zend_ini_parser_cb_t,
9231        arg: *mut ::std::os::raw::c_void,
9232    ) -> ::std::os::raw::c_int;
9233}
9234extern "C" {
9235    pub fn zend_parse_ini_string(
9236        str_: *mut ::std::os::raw::c_char,
9237        unbuffered_errors: zend_bool,
9238        scanner_mode: ::std::os::raw::c_int,
9239        ini_parser_cb: zend_ini_parser_cb_t,
9240        arg: *mut ::std::os::raw::c_void,
9241    ) -> ::std::os::raw::c_int;
9242}
9243#[repr(C)]
9244#[derive(Debug, Copy, Clone)]
9245pub struct _zend_ini_parser_param {
9246    pub ini_parser_cb: zend_ini_parser_cb_t,
9247    pub arg: *mut ::std::os::raw::c_void,
9248}
9249#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9250const _: () = {
9251    ["Size of _zend_ini_parser_param"][::std::mem::size_of::<_zend_ini_parser_param>() - 16usize];
9252    ["Alignment of _zend_ini_parser_param"]
9253        [::std::mem::align_of::<_zend_ini_parser_param>() - 8usize];
9254    ["Offset of field: _zend_ini_parser_param::ini_parser_cb"]
9255        [::std::mem::offset_of!(_zend_ini_parser_param, ini_parser_cb) - 0usize];
9256    ["Offset of field: _zend_ini_parser_param::arg"]
9257        [::std::mem::offset_of!(_zend_ini_parser_param, arg) - 8usize];
9258};
9259pub type zend_ini_parser_param = _zend_ini_parser_param;
9260extern "C" {
9261    pub fn php_init_config() -> ::std::os::raw::c_int;
9262}
9263extern "C" {
9264    pub fn php_shutdown_config() -> ::std::os::raw::c_int;
9265}
9266extern "C" {
9267    pub fn php_ini_register_extensions();
9268}
9269extern "C" {
9270    pub fn php_parse_user_ini_file(
9271        dirname: *const ::std::os::raw::c_char,
9272        ini_filename: *mut ::std::os::raw::c_char,
9273        target_hash: *mut HashTable,
9274    ) -> ::std::os::raw::c_int;
9275}
9276extern "C" {
9277    pub fn php_ini_activate_config(
9278        source_hash: *mut HashTable,
9279        modify_type: ::std::os::raw::c_int,
9280        stage: ::std::os::raw::c_int,
9281    );
9282}
9283extern "C" {
9284    pub fn php_ini_has_per_dir_config() -> ::std::os::raw::c_int;
9285}
9286extern "C" {
9287    pub fn php_ini_has_per_host_config() -> ::std::os::raw::c_int;
9288}
9289extern "C" {
9290    pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: uint);
9291}
9292extern "C" {
9293    pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: uint);
9294}
9295extern "C" {
9296    pub fn php_ini_get_configuration_hash() -> *mut HashTable;
9297}
9298extern "C" {
9299    pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
9300}
9301extern "C" {
9302    pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
9303}
9304extern "C" {
9305    pub fn php_check_open_basedir_ex(
9306        path: *const ::std::os::raw::c_char,
9307        warn: ::std::os::raw::c_int,
9308    ) -> ::std::os::raw::c_int;
9309}
9310extern "C" {
9311    pub fn php_check_specific_open_basedir(
9312        basedir: *const ::std::os::raw::c_char,
9313        path: *const ::std::os::raw::c_char,
9314    ) -> ::std::os::raw::c_int;
9315}
9316extern "C" {
9317    pub fn php_check_safe_mode_include_dir(
9318        path: *const ::std::os::raw::c_char,
9319    ) -> ::std::os::raw::c_int;
9320}
9321extern "C" {
9322    pub fn php_resolve_path(
9323        filename: *const ::std::os::raw::c_char,
9324        filename_len: ::std::os::raw::c_int,
9325        path: *const ::std::os::raw::c_char,
9326    ) -> *mut ::std::os::raw::c_char;
9327}
9328extern "C" {
9329    pub fn php_fopen_with_path(
9330        filename: *const ::std::os::raw::c_char,
9331        mode: *const ::std::os::raw::c_char,
9332        path: *const ::std::os::raw::c_char,
9333        opened_path: *mut *mut ::std::os::raw::c_char,
9334    ) -> *mut FILE;
9335}
9336extern "C" {
9337    pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
9338}
9339#[repr(C)]
9340#[derive(Debug, Copy, Clone)]
9341pub struct _cwd_state {
9342    pub cwd: *mut ::std::os::raw::c_char,
9343    pub cwd_length: ::std::os::raw::c_int,
9344}
9345#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9346const _: () = {
9347    ["Size of _cwd_state"][::std::mem::size_of::<_cwd_state>() - 16usize];
9348    ["Alignment of _cwd_state"][::std::mem::align_of::<_cwd_state>() - 8usize];
9349    ["Offset of field: _cwd_state::cwd"][::std::mem::offset_of!(_cwd_state, cwd) - 0usize];
9350    ["Offset of field: _cwd_state::cwd_length"]
9351        [::std::mem::offset_of!(_cwd_state, cwd_length) - 8usize];
9352};
9353pub type cwd_state = _cwd_state;
9354#[repr(C)]
9355#[derive(Debug, Copy, Clone)]
9356pub struct _realpath_cache_bucket {
9357    pub key: ::std::os::raw::c_ulong,
9358    pub path: *mut ::std::os::raw::c_char,
9359    pub path_len: ::std::os::raw::c_int,
9360    pub realpath: *mut ::std::os::raw::c_char,
9361    pub realpath_len: ::std::os::raw::c_int,
9362    pub is_dir: ::std::os::raw::c_int,
9363    pub expires: time_t,
9364    pub next: *mut _realpath_cache_bucket,
9365}
9366#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9367const _: () = {
9368    ["Size of _realpath_cache_bucket"][::std::mem::size_of::<_realpath_cache_bucket>() - 56usize];
9369    ["Alignment of _realpath_cache_bucket"]
9370        [::std::mem::align_of::<_realpath_cache_bucket>() - 8usize];
9371    ["Offset of field: _realpath_cache_bucket::key"]
9372        [::std::mem::offset_of!(_realpath_cache_bucket, key) - 0usize];
9373    ["Offset of field: _realpath_cache_bucket::path"]
9374        [::std::mem::offset_of!(_realpath_cache_bucket, path) - 8usize];
9375    ["Offset of field: _realpath_cache_bucket::path_len"]
9376        [::std::mem::offset_of!(_realpath_cache_bucket, path_len) - 16usize];
9377    ["Offset of field: _realpath_cache_bucket::realpath"]
9378        [::std::mem::offset_of!(_realpath_cache_bucket, realpath) - 24usize];
9379    ["Offset of field: _realpath_cache_bucket::realpath_len"]
9380        [::std::mem::offset_of!(_realpath_cache_bucket, realpath_len) - 32usize];
9381    ["Offset of field: _realpath_cache_bucket::is_dir"]
9382        [::std::mem::offset_of!(_realpath_cache_bucket, is_dir) - 36usize];
9383    ["Offset of field: _realpath_cache_bucket::expires"]
9384        [::std::mem::offset_of!(_realpath_cache_bucket, expires) - 40usize];
9385    ["Offset of field: _realpath_cache_bucket::next"]
9386        [::std::mem::offset_of!(_realpath_cache_bucket, next) - 48usize];
9387};
9388pub type realpath_cache_bucket = _realpath_cache_bucket;
9389#[repr(C)]
9390#[derive(Debug, Copy, Clone)]
9391pub struct _virtual_cwd_globals {
9392    pub cwd: cwd_state,
9393    pub realpath_cache_size: ::std::os::raw::c_long,
9394    pub realpath_cache_size_limit: ::std::os::raw::c_long,
9395    pub realpath_cache_ttl: ::std::os::raw::c_long,
9396    pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
9397}
9398#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9399const _: () = {
9400    ["Size of _virtual_cwd_globals"][::std::mem::size_of::<_virtual_cwd_globals>() - 8232usize];
9401    ["Alignment of _virtual_cwd_globals"][::std::mem::align_of::<_virtual_cwd_globals>() - 8usize];
9402    ["Offset of field: _virtual_cwd_globals::cwd"]
9403        [::std::mem::offset_of!(_virtual_cwd_globals, cwd) - 0usize];
9404    ["Offset of field: _virtual_cwd_globals::realpath_cache_size"]
9405        [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size) - 16usize];
9406    ["Offset of field: _virtual_cwd_globals::realpath_cache_size_limit"]
9407        [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_size_limit) - 24usize];
9408    ["Offset of field: _virtual_cwd_globals::realpath_cache_ttl"]
9409        [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache_ttl) - 32usize];
9410    ["Offset of field: _virtual_cwd_globals::realpath_cache"]
9411        [::std::mem::offset_of!(_virtual_cwd_globals, realpath_cache) - 40usize];
9412};
9413pub type virtual_cwd_globals = _virtual_cwd_globals;
9414extern "C" {
9415    pub static mut cwd_globals: virtual_cwd_globals;
9416}
9417#[repr(C)]
9418#[derive(Copy, Clone)]
9419pub struct _zend_constant {
9420    pub value: zval,
9421    pub flags: ::std::os::raw::c_int,
9422    pub name: *mut ::std::os::raw::c_char,
9423    pub name_len: uint,
9424    pub module_number: ::std::os::raw::c_int,
9425}
9426#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9427const _: () = {
9428    ["Size of _zend_constant"][::std::mem::size_of::<_zend_constant>() - 48usize];
9429    ["Alignment of _zend_constant"][::std::mem::align_of::<_zend_constant>() - 8usize];
9430    ["Offset of field: _zend_constant::value"]
9431        [::std::mem::offset_of!(_zend_constant, value) - 0usize];
9432    ["Offset of field: _zend_constant::flags"]
9433        [::std::mem::offset_of!(_zend_constant, flags) - 24usize];
9434    ["Offset of field: _zend_constant::name"]
9435        [::std::mem::offset_of!(_zend_constant, name) - 32usize];
9436    ["Offset of field: _zend_constant::name_len"]
9437        [::std::mem::offset_of!(_zend_constant, name_len) - 40usize];
9438    ["Offset of field: _zend_constant::module_number"]
9439        [::std::mem::offset_of!(_zend_constant, module_number) - 44usize];
9440};
9441pub type zend_constant = _zend_constant;
9442extern "C" {
9443    pub fn zend_startup_constants() -> ::std::os::raw::c_int;
9444}
9445extern "C" {
9446    pub fn zend_shutdown_constants() -> ::std::os::raw::c_int;
9447}
9448extern "C" {
9449    pub fn zend_register_standard_constants();
9450}
9451extern "C" {
9452    pub fn zend_get_constant(
9453        name: *const ::std::os::raw::c_char,
9454        name_len: uint,
9455        result: *mut zval,
9456    ) -> ::std::os::raw::c_int;
9457}
9458extern "C" {
9459    pub fn zend_get_constant_ex(
9460        name: *const ::std::os::raw::c_char,
9461        name_len: uint,
9462        result: *mut zval,
9463        scope: *mut zend_class_entry,
9464        flags: ulong,
9465    ) -> ::std::os::raw::c_int;
9466}
9467extern "C" {
9468    pub fn zend_register_long_constant(
9469        name: *const ::std::os::raw::c_char,
9470        name_len: uint,
9471        lval: ::std::os::raw::c_long,
9472        flags: ::std::os::raw::c_int,
9473        module_number: ::std::os::raw::c_int,
9474    );
9475}
9476extern "C" {
9477    pub fn zend_register_double_constant(
9478        name: *const ::std::os::raw::c_char,
9479        name_len: uint,
9480        dval: f64,
9481        flags: ::std::os::raw::c_int,
9482        module_number: ::std::os::raw::c_int,
9483    );
9484}
9485extern "C" {
9486    pub fn zend_register_string_constant(
9487        name: *const ::std::os::raw::c_char,
9488        name_len: uint,
9489        strval: *mut ::std::os::raw::c_char,
9490        flags: ::std::os::raw::c_int,
9491        module_number: ::std::os::raw::c_int,
9492    );
9493}
9494extern "C" {
9495    pub fn zend_register_stringl_constant(
9496        name: *const ::std::os::raw::c_char,
9497        name_len: uint,
9498        strval: *mut ::std::os::raw::c_char,
9499        strlen: uint,
9500        flags: ::std::os::raw::c_int,
9501        module_number: ::std::os::raw::c_int,
9502    );
9503}
9504extern "C" {
9505    pub fn zend_register_constant(c: *mut zend_constant) -> ::std::os::raw::c_int;
9506}
9507extern "C" {
9508    pub fn zend_copy_constants(target: *mut HashTable, sourc: *mut HashTable);
9509}
9510extern "C" {
9511    pub fn zend_quick_get_constant(key: *const zend_literal, flags: ulong) -> *mut zend_constant;
9512}
9513extern "C" {
9514    pub fn php_info_html_esc(string: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
9515}
9516extern "C" {
9517    pub fn php_info_html_esc_write(
9518        string: *mut ::std::os::raw::c_char,
9519        str_len: ::std::os::raw::c_int,
9520    );
9521}
9522extern "C" {
9523    pub fn php_print_info_htmlhead();
9524}
9525extern "C" {
9526    pub fn php_print_info(flag: ::std::os::raw::c_int);
9527}
9528extern "C" {
9529    pub fn php_print_style();
9530}
9531extern "C" {
9532    pub fn php_info_print_style();
9533}
9534extern "C" {
9535    pub fn php_info_print_table_colspan_header(
9536        num_cols: ::std::os::raw::c_int,
9537        header: *mut ::std::os::raw::c_char,
9538    );
9539}
9540extern "C" {
9541    pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
9542}
9543extern "C" {
9544    pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
9545}
9546extern "C" {
9547    pub fn php_info_print_table_row_ex(
9548        num_cols: ::std::os::raw::c_int,
9549        arg1: *const ::std::os::raw::c_char,
9550        ...
9551    );
9552}
9553extern "C" {
9554    pub fn php_info_print_table_start();
9555}
9556extern "C" {
9557    pub fn php_info_print_table_end();
9558}
9559extern "C" {
9560    pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
9561}
9562extern "C" {
9563    pub fn php_info_print_box_end();
9564}
9565extern "C" {
9566    pub fn php_info_print_hr();
9567}
9568extern "C" {
9569    pub fn php_info_print_module(module: *mut zend_module_entry);
9570}
9571extern "C" {
9572    pub fn php_logo_guid() -> *mut ::std::os::raw::c_char;
9573}
9574extern "C" {
9575    pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
9576}
9577#[repr(C)]
9578#[derive(Debug, Copy, Clone)]
9579pub struct _zend_extension_version_info {
9580    pub zend_extension_api_no: ::std::os::raw::c_int,
9581    pub build_id: *mut ::std::os::raw::c_char,
9582}
9583#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9584const _: () = {
9585    ["Size of _zend_extension_version_info"]
9586        [::std::mem::size_of::<_zend_extension_version_info>() - 16usize];
9587    ["Alignment of _zend_extension_version_info"]
9588        [::std::mem::align_of::<_zend_extension_version_info>() - 8usize];
9589    ["Offset of field: _zend_extension_version_info::zend_extension_api_no"]
9590        [::std::mem::offset_of!(_zend_extension_version_info, zend_extension_api_no) - 0usize];
9591    ["Offset of field: _zend_extension_version_info::build_id"]
9592        [::std::mem::offset_of!(_zend_extension_version_info, build_id) - 8usize];
9593};
9594pub type zend_extension_version_info = _zend_extension_version_info;
9595pub type zend_extension = _zend_extension;
9596pub type startup_func_t = ::std::option::Option<
9597    unsafe extern "C" fn(extension: *mut zend_extension) -> ::std::os::raw::c_int,
9598>;
9599pub type shutdown_func_t =
9600    ::std::option::Option<unsafe extern "C" fn(extension: *mut zend_extension)>;
9601pub type activate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
9602pub type deactivate_func_t = ::std::option::Option<unsafe extern "C" fn()>;
9603pub type message_handler_func_t = ::std::option::Option<
9604    unsafe extern "C" fn(message: ::std::os::raw::c_int, arg: *mut ::std::os::raw::c_void),
9605>;
9606pub type op_array_handler_func_t =
9607    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9608pub type statement_handler_func_t =
9609    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9610pub type fcall_begin_handler_func_t =
9611    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9612pub type fcall_end_handler_func_t =
9613    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9614pub type op_array_ctor_func_t =
9615    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9616pub type op_array_dtor_func_t =
9617    ::std::option::Option<unsafe extern "C" fn(op_array: *mut zend_op_array)>;
9618#[repr(C)]
9619#[derive(Debug, Copy, Clone)]
9620pub struct _zend_extension {
9621    pub name: *mut ::std::os::raw::c_char,
9622    pub version: *mut ::std::os::raw::c_char,
9623    pub author: *mut ::std::os::raw::c_char,
9624    pub URL: *mut ::std::os::raw::c_char,
9625    pub copyright: *mut ::std::os::raw::c_char,
9626    pub startup: startup_func_t,
9627    pub shutdown: shutdown_func_t,
9628    pub activate: activate_func_t,
9629    pub deactivate: deactivate_func_t,
9630    pub message_handler: message_handler_func_t,
9631    pub op_array_handler: op_array_handler_func_t,
9632    pub statement_handler: statement_handler_func_t,
9633    pub fcall_begin_handler: fcall_begin_handler_func_t,
9634    pub fcall_end_handler: fcall_end_handler_func_t,
9635    pub op_array_ctor: op_array_ctor_func_t,
9636    pub op_array_dtor: op_array_dtor_func_t,
9637    pub api_no_check: ::std::option::Option<
9638        unsafe extern "C" fn(api_no: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
9639    >,
9640    pub build_id_check: ::std::option::Option<
9641        unsafe extern "C" fn(build_id: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
9642    >,
9643    pub reserved3: *mut ::std::os::raw::c_void,
9644    pub reserved4: *mut ::std::os::raw::c_void,
9645    pub reserved5: *mut ::std::os::raw::c_void,
9646    pub reserved6: *mut ::std::os::raw::c_void,
9647    pub reserved7: *mut ::std::os::raw::c_void,
9648    pub reserved8: *mut ::std::os::raw::c_void,
9649    pub handle: *mut ::std::os::raw::c_void,
9650    pub resource_number: ::std::os::raw::c_int,
9651}
9652#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9653const _: () = {
9654    ["Size of _zend_extension"][::std::mem::size_of::<_zend_extension>() - 208usize];
9655    ["Alignment of _zend_extension"][::std::mem::align_of::<_zend_extension>() - 8usize];
9656    ["Offset of field: _zend_extension::name"]
9657        [::std::mem::offset_of!(_zend_extension, name) - 0usize];
9658    ["Offset of field: _zend_extension::version"]
9659        [::std::mem::offset_of!(_zend_extension, version) - 8usize];
9660    ["Offset of field: _zend_extension::author"]
9661        [::std::mem::offset_of!(_zend_extension, author) - 16usize];
9662    ["Offset of field: _zend_extension::URL"]
9663        [::std::mem::offset_of!(_zend_extension, URL) - 24usize];
9664    ["Offset of field: _zend_extension::copyright"]
9665        [::std::mem::offset_of!(_zend_extension, copyright) - 32usize];
9666    ["Offset of field: _zend_extension::startup"]
9667        [::std::mem::offset_of!(_zend_extension, startup) - 40usize];
9668    ["Offset of field: _zend_extension::shutdown"]
9669        [::std::mem::offset_of!(_zend_extension, shutdown) - 48usize];
9670    ["Offset of field: _zend_extension::activate"]
9671        [::std::mem::offset_of!(_zend_extension, activate) - 56usize];
9672    ["Offset of field: _zend_extension::deactivate"]
9673        [::std::mem::offset_of!(_zend_extension, deactivate) - 64usize];
9674    ["Offset of field: _zend_extension::message_handler"]
9675        [::std::mem::offset_of!(_zend_extension, message_handler) - 72usize];
9676    ["Offset of field: _zend_extension::op_array_handler"]
9677        [::std::mem::offset_of!(_zend_extension, op_array_handler) - 80usize];
9678    ["Offset of field: _zend_extension::statement_handler"]
9679        [::std::mem::offset_of!(_zend_extension, statement_handler) - 88usize];
9680    ["Offset of field: _zend_extension::fcall_begin_handler"]
9681        [::std::mem::offset_of!(_zend_extension, fcall_begin_handler) - 96usize];
9682    ["Offset of field: _zend_extension::fcall_end_handler"]
9683        [::std::mem::offset_of!(_zend_extension, fcall_end_handler) - 104usize];
9684    ["Offset of field: _zend_extension::op_array_ctor"]
9685        [::std::mem::offset_of!(_zend_extension, op_array_ctor) - 112usize];
9686    ["Offset of field: _zend_extension::op_array_dtor"]
9687        [::std::mem::offset_of!(_zend_extension, op_array_dtor) - 120usize];
9688    ["Offset of field: _zend_extension::api_no_check"]
9689        [::std::mem::offset_of!(_zend_extension, api_no_check) - 128usize];
9690    ["Offset of field: _zend_extension::build_id_check"]
9691        [::std::mem::offset_of!(_zend_extension, build_id_check) - 136usize];
9692    ["Offset of field: _zend_extension::reserved3"]
9693        [::std::mem::offset_of!(_zend_extension, reserved3) - 144usize];
9694    ["Offset of field: _zend_extension::reserved4"]
9695        [::std::mem::offset_of!(_zend_extension, reserved4) - 152usize];
9696    ["Offset of field: _zend_extension::reserved5"]
9697        [::std::mem::offset_of!(_zend_extension, reserved5) - 160usize];
9698    ["Offset of field: _zend_extension::reserved6"]
9699        [::std::mem::offset_of!(_zend_extension, reserved6) - 168usize];
9700    ["Offset of field: _zend_extension::reserved7"]
9701        [::std::mem::offset_of!(_zend_extension, reserved7) - 176usize];
9702    ["Offset of field: _zend_extension::reserved8"]
9703        [::std::mem::offset_of!(_zend_extension, reserved8) - 184usize];
9704    ["Offset of field: _zend_extension::handle"]
9705        [::std::mem::offset_of!(_zend_extension, handle) - 192usize];
9706    ["Offset of field: _zend_extension::resource_number"]
9707        [::std::mem::offset_of!(_zend_extension, resource_number) - 200usize];
9708};
9709extern "C" {
9710    pub fn zend_get_resource_handle(extension: *mut zend_extension) -> ::std::os::raw::c_int;
9711}
9712extern "C" {
9713    pub fn zend_extension_dispatch_message(
9714        message: ::std::os::raw::c_int,
9715        arg: *mut ::std::os::raw::c_void,
9716    );
9717}
9718extern "C" {
9719    pub static mut zend_extensions: zend_llist;
9720}
9721extern "C" {
9722    pub fn zend_extension_dtor(extension: *mut zend_extension);
9723}
9724extern "C" {
9725    pub fn zend_append_version_info(extension: *const zend_extension);
9726}
9727extern "C" {
9728    pub fn zend_startup_extensions_mechanism() -> ::std::os::raw::c_int;
9729}
9730extern "C" {
9731    pub fn zend_startup_extensions() -> ::std::os::raw::c_int;
9732}
9733extern "C" {
9734    pub fn zend_shutdown_extensions();
9735}
9736extern "C" {
9737    pub fn zend_load_extension(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
9738}
9739extern "C" {
9740    pub fn zend_register_extension(
9741        new_extension: *mut zend_extension,
9742        handle: *mut ::std::os::raw::c_void,
9743    ) -> ::std::os::raw::c_int;
9744}
9745extern "C" {
9746    pub fn zend_get_extension(extension_name: *const ::std::os::raw::c_char)
9747        -> *mut zend_extension;
9748}
9749pub const ZEND_MODULE_BUILD_ID_: &[u8; 16] = b"API20100525,NTS\0";
9750pub type __builtin_va_list = [__va_list_tag; 1usize];
9751#[repr(C)]
9752#[derive(Debug, Copy, Clone)]
9753pub struct __va_list_tag {
9754    pub gp_offset: ::std::os::raw::c_uint,
9755    pub fp_offset: ::std::os::raw::c_uint,
9756    pub overflow_arg_area: *mut ::std::os::raw::c_void,
9757    pub reg_save_area: *mut ::std::os::raw::c_void,
9758}
9759#[allow(clippy::unnecessary_operation, clippy::identity_op)]
9760const _: () = {
9761    ["Size of __va_list_tag"][::std::mem::size_of::<__va_list_tag>() - 24usize];
9762    ["Alignment of __va_list_tag"][::std::mem::align_of::<__va_list_tag>() - 8usize];
9763    ["Offset of field: __va_list_tag::gp_offset"]
9764        [::std::mem::offset_of!(__va_list_tag, gp_offset) - 0usize];
9765    ["Offset of field: __va_list_tag::fp_offset"]
9766        [::std::mem::offset_of!(__va_list_tag, fp_offset) - 4usize];
9767    ["Offset of field: __va_list_tag::overflow_arg_area"]
9768        [::std::mem::offset_of!(__va_list_tag, overflow_arg_area) - 8usize];
9769    ["Offset of field: __va_list_tag::reg_save_area"]
9770        [::std::mem::offset_of!(__va_list_tag, reg_save_area) - 16usize];
9771};