1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: f351fbf3afd9753fb16c87903c3dbd5e4621c024 */
3 
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_UConverter___construct, 0, 0, 0)
5 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, destination_encoding, IS_STRING, 1, "null")
6 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, source_encoding, IS_STRING, 1, "null")
7 ZEND_END_ARG_INFO()
8 
9 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_UConverter_convert, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
10 	ZEND_ARG_TYPE_INFO(0, str, IS_STRING, 0)
11 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, reverse, _IS_BOOL, 0, "false")
12 ZEND_END_ARG_INFO()
13 
14 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_UConverter_fromUCallback, 0, 4, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_ARRAY|MAY_BE_NULL)
15 	ZEND_ARG_TYPE_INFO(0, reason, IS_LONG, 0)
16 	ZEND_ARG_TYPE_INFO(0, source, IS_ARRAY, 0)
17 	ZEND_ARG_TYPE_INFO(0, codePoint, IS_LONG, 0)
18 	ZEND_ARG_INFO(1, error)
19 ZEND_END_ARG_INFO()
20 
21 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_UConverter_getAliases, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE|MAY_BE_NULL)
22 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
23 ZEND_END_ARG_INFO()
24 
25 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_UConverter_getAvailable, 0, 0, IS_ARRAY, 0)
26 ZEND_END_ARG_INFO()
27 
28 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_UConverter_getDestinationEncoding, 0, 0, MAY_BE_STRING|MAY_BE_FALSE|MAY_BE_NULL)
29 ZEND_END_ARG_INFO()
30 
31 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_UConverter_getDestinationType, 0, 0, MAY_BE_LONG|MAY_BE_FALSE|MAY_BE_NULL)
32 ZEND_END_ARG_INFO()
33 
34 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_UConverter_getErrorCode, 0, 0, IS_LONG, 0)
35 ZEND_END_ARG_INFO()
36 
37 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_UConverter_getErrorMessage, 0, 0, IS_STRING, 1)
38 ZEND_END_ARG_INFO()
39 
40 #define arginfo_class_UConverter_getSourceEncoding arginfo_class_UConverter_getDestinationEncoding
41 
42 #define arginfo_class_UConverter_getSourceType arginfo_class_UConverter_getDestinationType
43 
44 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_UConverter_getStandards, 0, 0, IS_ARRAY, 1)
45 ZEND_END_ARG_INFO()
46 
47 #define arginfo_class_UConverter_getSubstChars arginfo_class_UConverter_getDestinationEncoding
48 
49 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_UConverter_reasonText, 0, 1, IS_STRING, 0)
50 	ZEND_ARG_TYPE_INFO(0, reason, IS_LONG, 0)
51 ZEND_END_ARG_INFO()
52 
53 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_UConverter_setDestinationEncoding, 0, 1, _IS_BOOL, 0)
54 	ZEND_ARG_TYPE_INFO(0, encoding, IS_STRING, 0)
55 ZEND_END_ARG_INFO()
56 
57 #define arginfo_class_UConverter_setSourceEncoding arginfo_class_UConverter_setDestinationEncoding
58 
59 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_UConverter_setSubstChars, 0, 1, _IS_BOOL, 0)
60 	ZEND_ARG_TYPE_INFO(0, chars, IS_STRING, 0)
61 ZEND_END_ARG_INFO()
62 
63 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_UConverter_toUCallback, 0, 4, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_ARRAY|MAY_BE_NULL)
64 	ZEND_ARG_TYPE_INFO(0, reason, IS_LONG, 0)
65 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
66 	ZEND_ARG_TYPE_INFO(0, codeUnits, IS_STRING, 0)
67 	ZEND_ARG_INFO(1, error)
68 ZEND_END_ARG_INFO()
69 
70 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_UConverter_transcode, 0, 3, MAY_BE_STRING|MAY_BE_FALSE)
71 	ZEND_ARG_TYPE_INFO(0, str, IS_STRING, 0)
72 	ZEND_ARG_TYPE_INFO(0, toEncoding, IS_STRING, 0)
73 	ZEND_ARG_TYPE_INFO(0, fromEncoding, IS_STRING, 0)
74 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
75 ZEND_END_ARG_INFO()
76 
77 ZEND_METHOD(UConverter, __construct);
78 ZEND_METHOD(UConverter, convert);
79 ZEND_METHOD(UConverter, fromUCallback);
80 ZEND_METHOD(UConverter, getAliases);
81 ZEND_METHOD(UConverter, getAvailable);
82 ZEND_METHOD(UConverter, getDestinationEncoding);
83 ZEND_METHOD(UConverter, getDestinationType);
84 ZEND_METHOD(UConverter, getErrorCode);
85 ZEND_METHOD(UConverter, getErrorMessage);
86 ZEND_METHOD(UConverter, getSourceEncoding);
87 ZEND_METHOD(UConverter, getSourceType);
88 ZEND_METHOD(UConverter, getStandards);
89 ZEND_METHOD(UConverter, getSubstChars);
90 ZEND_METHOD(UConverter, reasonText);
91 ZEND_METHOD(UConverter, setDestinationEncoding);
92 ZEND_METHOD(UConverter, setSourceEncoding);
93 ZEND_METHOD(UConverter, setSubstChars);
94 ZEND_METHOD(UConverter, toUCallback);
95 ZEND_METHOD(UConverter, transcode);
96 
97 static const zend_function_entry class_UConverter_methods[] = {
98 	ZEND_ME(UConverter, __construct, arginfo_class_UConverter___construct, ZEND_ACC_PUBLIC)
99 	ZEND_ME(UConverter, convert, arginfo_class_UConverter_convert, ZEND_ACC_PUBLIC)
100 	ZEND_ME(UConverter, fromUCallback, arginfo_class_UConverter_fromUCallback, ZEND_ACC_PUBLIC)
101 	ZEND_ME(UConverter, getAliases, arginfo_class_UConverter_getAliases, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
102 	ZEND_ME(UConverter, getAvailable, arginfo_class_UConverter_getAvailable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
103 	ZEND_ME(UConverter, getDestinationEncoding, arginfo_class_UConverter_getDestinationEncoding, ZEND_ACC_PUBLIC)
104 	ZEND_ME(UConverter, getDestinationType, arginfo_class_UConverter_getDestinationType, ZEND_ACC_PUBLIC)
105 	ZEND_ME(UConverter, getErrorCode, arginfo_class_UConverter_getErrorCode, ZEND_ACC_PUBLIC)
106 	ZEND_ME(UConverter, getErrorMessage, arginfo_class_UConverter_getErrorMessage, ZEND_ACC_PUBLIC)
107 	ZEND_ME(UConverter, getSourceEncoding, arginfo_class_UConverter_getSourceEncoding, ZEND_ACC_PUBLIC)
108 	ZEND_ME(UConverter, getSourceType, arginfo_class_UConverter_getSourceType, ZEND_ACC_PUBLIC)
109 	ZEND_ME(UConverter, getStandards, arginfo_class_UConverter_getStandards, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
110 	ZEND_ME(UConverter, getSubstChars, arginfo_class_UConverter_getSubstChars, ZEND_ACC_PUBLIC)
111 	ZEND_ME(UConverter, reasonText, arginfo_class_UConverter_reasonText, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
112 	ZEND_ME(UConverter, setDestinationEncoding, arginfo_class_UConverter_setDestinationEncoding, ZEND_ACC_PUBLIC)
113 	ZEND_ME(UConverter, setSourceEncoding, arginfo_class_UConverter_setSourceEncoding, ZEND_ACC_PUBLIC)
114 	ZEND_ME(UConverter, setSubstChars, arginfo_class_UConverter_setSubstChars, ZEND_ACC_PUBLIC)
115 	ZEND_ME(UConverter, toUCallback, arginfo_class_UConverter_toUCallback, ZEND_ACC_PUBLIC)
116 	ZEND_ME(UConverter, transcode, arginfo_class_UConverter_transcode, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
117 	ZEND_FE_END
118 };
119 
register_class_UConverter(void)120 static zend_class_entry *register_class_UConverter(void)
121 {
122 	zend_class_entry ce, *class_entry;
123 
124 	INIT_CLASS_ENTRY(ce, "UConverter", class_UConverter_methods);
125 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NOT_SERIALIZABLE);
126 
127 	zval const_REASON_UNASSIGNED_value;
128 	ZVAL_LONG(&const_REASON_UNASSIGNED_value, UCNV_UNASSIGNED);
129 	zend_string *const_REASON_UNASSIGNED_name = zend_string_init_interned("REASON_UNASSIGNED", sizeof("REASON_UNASSIGNED") - 1, 1);
130 	zend_declare_typed_class_constant(class_entry, const_REASON_UNASSIGNED_name, &const_REASON_UNASSIGNED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
131 	zend_string_release(const_REASON_UNASSIGNED_name);
132 
133 	zval const_REASON_ILLEGAL_value;
134 	ZVAL_LONG(&const_REASON_ILLEGAL_value, UCNV_ILLEGAL);
135 	zend_string *const_REASON_ILLEGAL_name = zend_string_init_interned("REASON_ILLEGAL", sizeof("REASON_ILLEGAL") - 1, 1);
136 	zend_declare_typed_class_constant(class_entry, const_REASON_ILLEGAL_name, &const_REASON_ILLEGAL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
137 	zend_string_release(const_REASON_ILLEGAL_name);
138 
139 	zval const_REASON_IRREGULAR_value;
140 	ZVAL_LONG(&const_REASON_IRREGULAR_value, UCNV_IRREGULAR);
141 	zend_string *const_REASON_IRREGULAR_name = zend_string_init_interned("REASON_IRREGULAR", sizeof("REASON_IRREGULAR") - 1, 1);
142 	zend_declare_typed_class_constant(class_entry, const_REASON_IRREGULAR_name, &const_REASON_IRREGULAR_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
143 	zend_string_release(const_REASON_IRREGULAR_name);
144 
145 	zval const_REASON_RESET_value;
146 	ZVAL_LONG(&const_REASON_RESET_value, UCNV_RESET);
147 	zend_string *const_REASON_RESET_name = zend_string_init_interned("REASON_RESET", sizeof("REASON_RESET") - 1, 1);
148 	zend_declare_typed_class_constant(class_entry, const_REASON_RESET_name, &const_REASON_RESET_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
149 	zend_string_release(const_REASON_RESET_name);
150 
151 	zval const_REASON_CLOSE_value;
152 	ZVAL_LONG(&const_REASON_CLOSE_value, UCNV_CLOSE);
153 	zend_string *const_REASON_CLOSE_name = zend_string_init_interned("REASON_CLOSE", sizeof("REASON_CLOSE") - 1, 1);
154 	zend_declare_typed_class_constant(class_entry, const_REASON_CLOSE_name, &const_REASON_CLOSE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
155 	zend_string_release(const_REASON_CLOSE_name);
156 
157 	zval const_REASON_CLONE_value;
158 	ZVAL_LONG(&const_REASON_CLONE_value, UCNV_CLONE);
159 	zend_string *const_REASON_CLONE_name = zend_string_init_interned("REASON_CLONE", sizeof("REASON_CLONE") - 1, 1);
160 	zend_declare_typed_class_constant(class_entry, const_REASON_CLONE_name, &const_REASON_CLONE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
161 	zend_string_release(const_REASON_CLONE_name);
162 
163 	zval const_UNSUPPORTED_CONVERTER_value;
164 	ZVAL_LONG(&const_UNSUPPORTED_CONVERTER_value, UCNV_UNSUPPORTED_CONVERTER);
165 	zend_string *const_UNSUPPORTED_CONVERTER_name = zend_string_init_interned("UNSUPPORTED_CONVERTER", sizeof("UNSUPPORTED_CONVERTER") - 1, 1);
166 	zend_declare_typed_class_constant(class_entry, const_UNSUPPORTED_CONVERTER_name, &const_UNSUPPORTED_CONVERTER_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
167 	zend_string_release(const_UNSUPPORTED_CONVERTER_name);
168 
169 	zval const_SBCS_value;
170 	ZVAL_LONG(&const_SBCS_value, UCNV_SBCS);
171 	zend_string *const_SBCS_name = zend_string_init_interned("SBCS", sizeof("SBCS") - 1, 1);
172 	zend_declare_typed_class_constant(class_entry, const_SBCS_name, &const_SBCS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
173 	zend_string_release(const_SBCS_name);
174 
175 	zval const_DBCS_value;
176 	ZVAL_LONG(&const_DBCS_value, UCNV_DBCS);
177 	zend_string *const_DBCS_name = zend_string_init_interned("DBCS", sizeof("DBCS") - 1, 1);
178 	zend_declare_typed_class_constant(class_entry, const_DBCS_name, &const_DBCS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
179 	zend_string_release(const_DBCS_name);
180 
181 	zval const_MBCS_value;
182 	ZVAL_LONG(&const_MBCS_value, UCNV_MBCS);
183 	zend_string *const_MBCS_name = zend_string_init_interned("MBCS", sizeof("MBCS") - 1, 1);
184 	zend_declare_typed_class_constant(class_entry, const_MBCS_name, &const_MBCS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
185 	zend_string_release(const_MBCS_name);
186 
187 	zval const_LATIN_1_value;
188 	ZVAL_LONG(&const_LATIN_1_value, UCNV_LATIN_1);
189 	zend_string *const_LATIN_1_name = zend_string_init_interned("LATIN_1", sizeof("LATIN_1") - 1, 1);
190 	zend_declare_typed_class_constant(class_entry, const_LATIN_1_name, &const_LATIN_1_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
191 	zend_string_release(const_LATIN_1_name);
192 
193 	zval const_UTF8_value;
194 	ZVAL_LONG(&const_UTF8_value, UCNV_UTF8);
195 	zend_string *const_UTF8_name = zend_string_init_interned("UTF8", sizeof("UTF8") - 1, 1);
196 	zend_declare_typed_class_constant(class_entry, const_UTF8_name, &const_UTF8_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
197 	zend_string_release(const_UTF8_name);
198 
199 	zval const_UTF16_BigEndian_value;
200 	ZVAL_LONG(&const_UTF16_BigEndian_value, UCNV_UTF16_BigEndian);
201 	zend_string *const_UTF16_BigEndian_name = zend_string_init_interned("UTF16_BigEndian", sizeof("UTF16_BigEndian") - 1, 1);
202 	zend_declare_typed_class_constant(class_entry, const_UTF16_BigEndian_name, &const_UTF16_BigEndian_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
203 	zend_string_release(const_UTF16_BigEndian_name);
204 
205 	zval const_UTF16_LittleEndian_value;
206 	ZVAL_LONG(&const_UTF16_LittleEndian_value, UCNV_UTF16_LittleEndian);
207 	zend_string *const_UTF16_LittleEndian_name = zend_string_init_interned("UTF16_LittleEndian", sizeof("UTF16_LittleEndian") - 1, 1);
208 	zend_declare_typed_class_constant(class_entry, const_UTF16_LittleEndian_name, &const_UTF16_LittleEndian_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
209 	zend_string_release(const_UTF16_LittleEndian_name);
210 
211 	zval const_UTF32_BigEndian_value;
212 	ZVAL_LONG(&const_UTF32_BigEndian_value, UCNV_UTF32_BigEndian);
213 	zend_string *const_UTF32_BigEndian_name = zend_string_init_interned("UTF32_BigEndian", sizeof("UTF32_BigEndian") - 1, 1);
214 	zend_declare_typed_class_constant(class_entry, const_UTF32_BigEndian_name, &const_UTF32_BigEndian_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
215 	zend_string_release(const_UTF32_BigEndian_name);
216 
217 	zval const_UTF32_LittleEndian_value;
218 	ZVAL_LONG(&const_UTF32_LittleEndian_value, UCNV_UTF32_LittleEndian);
219 	zend_string *const_UTF32_LittleEndian_name = zend_string_init_interned("UTF32_LittleEndian", sizeof("UTF32_LittleEndian") - 1, 1);
220 	zend_declare_typed_class_constant(class_entry, const_UTF32_LittleEndian_name, &const_UTF32_LittleEndian_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
221 	zend_string_release(const_UTF32_LittleEndian_name);
222 
223 	zval const_EBCDIC_STATEFUL_value;
224 	ZVAL_LONG(&const_EBCDIC_STATEFUL_value, UCNV_EBCDIC_STATEFUL);
225 	zend_string *const_EBCDIC_STATEFUL_name = zend_string_init_interned("EBCDIC_STATEFUL", sizeof("EBCDIC_STATEFUL") - 1, 1);
226 	zend_declare_typed_class_constant(class_entry, const_EBCDIC_STATEFUL_name, &const_EBCDIC_STATEFUL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
227 	zend_string_release(const_EBCDIC_STATEFUL_name);
228 
229 	zval const_ISO_2022_value;
230 	ZVAL_LONG(&const_ISO_2022_value, UCNV_ISO_2022);
231 	zend_string *const_ISO_2022_name = zend_string_init_interned("ISO_2022", sizeof("ISO_2022") - 1, 1);
232 	zend_declare_typed_class_constant(class_entry, const_ISO_2022_name, &const_ISO_2022_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
233 	zend_string_release(const_ISO_2022_name);
234 
235 	zval const_LMBCS_1_value;
236 	ZVAL_LONG(&const_LMBCS_1_value, UCNV_LMBCS_1);
237 	zend_string *const_LMBCS_1_name = zend_string_init_interned("LMBCS_1", sizeof("LMBCS_1") - 1, 1);
238 	zend_declare_typed_class_constant(class_entry, const_LMBCS_1_name, &const_LMBCS_1_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
239 	zend_string_release(const_LMBCS_1_name);
240 
241 	zval const_LMBCS_2_value;
242 	ZVAL_LONG(&const_LMBCS_2_value, UCNV_LMBCS_2);
243 	zend_string *const_LMBCS_2_name = zend_string_init_interned("LMBCS_2", sizeof("LMBCS_2") - 1, 1);
244 	zend_declare_typed_class_constant(class_entry, const_LMBCS_2_name, &const_LMBCS_2_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
245 	zend_string_release(const_LMBCS_2_name);
246 
247 	zval const_LMBCS_3_value;
248 	ZVAL_LONG(&const_LMBCS_3_value, UCNV_LMBCS_3);
249 	zend_string *const_LMBCS_3_name = zend_string_init_interned("LMBCS_3", sizeof("LMBCS_3") - 1, 1);
250 	zend_declare_typed_class_constant(class_entry, const_LMBCS_3_name, &const_LMBCS_3_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
251 	zend_string_release(const_LMBCS_3_name);
252 
253 	zval const_LMBCS_4_value;
254 	ZVAL_LONG(&const_LMBCS_4_value, UCNV_LMBCS_4);
255 	zend_string *const_LMBCS_4_name = zend_string_init_interned("LMBCS_4", sizeof("LMBCS_4") - 1, 1);
256 	zend_declare_typed_class_constant(class_entry, const_LMBCS_4_name, &const_LMBCS_4_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
257 	zend_string_release(const_LMBCS_4_name);
258 
259 	zval const_LMBCS_5_value;
260 	ZVAL_LONG(&const_LMBCS_5_value, UCNV_LMBCS_5);
261 	zend_string *const_LMBCS_5_name = zend_string_init_interned("LMBCS_5", sizeof("LMBCS_5") - 1, 1);
262 	zend_declare_typed_class_constant(class_entry, const_LMBCS_5_name, &const_LMBCS_5_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
263 	zend_string_release(const_LMBCS_5_name);
264 
265 	zval const_LMBCS_6_value;
266 	ZVAL_LONG(&const_LMBCS_6_value, UCNV_LMBCS_6);
267 	zend_string *const_LMBCS_6_name = zend_string_init_interned("LMBCS_6", sizeof("LMBCS_6") - 1, 1);
268 	zend_declare_typed_class_constant(class_entry, const_LMBCS_6_name, &const_LMBCS_6_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
269 	zend_string_release(const_LMBCS_6_name);
270 
271 	zval const_LMBCS_8_value;
272 	ZVAL_LONG(&const_LMBCS_8_value, UCNV_LMBCS_8);
273 	zend_string *const_LMBCS_8_name = zend_string_init_interned("LMBCS_8", sizeof("LMBCS_8") - 1, 1);
274 	zend_declare_typed_class_constant(class_entry, const_LMBCS_8_name, &const_LMBCS_8_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
275 	zend_string_release(const_LMBCS_8_name);
276 
277 	zval const_LMBCS_11_value;
278 	ZVAL_LONG(&const_LMBCS_11_value, UCNV_LMBCS_11);
279 	zend_string *const_LMBCS_11_name = zend_string_init_interned("LMBCS_11", sizeof("LMBCS_11") - 1, 1);
280 	zend_declare_typed_class_constant(class_entry, const_LMBCS_11_name, &const_LMBCS_11_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
281 	zend_string_release(const_LMBCS_11_name);
282 
283 	zval const_LMBCS_16_value;
284 	ZVAL_LONG(&const_LMBCS_16_value, UCNV_LMBCS_16);
285 	zend_string *const_LMBCS_16_name = zend_string_init_interned("LMBCS_16", sizeof("LMBCS_16") - 1, 1);
286 	zend_declare_typed_class_constant(class_entry, const_LMBCS_16_name, &const_LMBCS_16_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
287 	zend_string_release(const_LMBCS_16_name);
288 
289 	zval const_LMBCS_17_value;
290 	ZVAL_LONG(&const_LMBCS_17_value, UCNV_LMBCS_17);
291 	zend_string *const_LMBCS_17_name = zend_string_init_interned("LMBCS_17", sizeof("LMBCS_17") - 1, 1);
292 	zend_declare_typed_class_constant(class_entry, const_LMBCS_17_name, &const_LMBCS_17_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
293 	zend_string_release(const_LMBCS_17_name);
294 
295 	zval const_LMBCS_18_value;
296 	ZVAL_LONG(&const_LMBCS_18_value, UCNV_LMBCS_18);
297 	zend_string *const_LMBCS_18_name = zend_string_init_interned("LMBCS_18", sizeof("LMBCS_18") - 1, 1);
298 	zend_declare_typed_class_constant(class_entry, const_LMBCS_18_name, &const_LMBCS_18_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
299 	zend_string_release(const_LMBCS_18_name);
300 
301 	zval const_LMBCS_19_value;
302 	ZVAL_LONG(&const_LMBCS_19_value, UCNV_LMBCS_19);
303 	zend_string *const_LMBCS_19_name = zend_string_init_interned("LMBCS_19", sizeof("LMBCS_19") - 1, 1);
304 	zend_declare_typed_class_constant(class_entry, const_LMBCS_19_name, &const_LMBCS_19_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
305 	zend_string_release(const_LMBCS_19_name);
306 
307 	zval const_LMBCS_LAST_value;
308 	ZVAL_LONG(&const_LMBCS_LAST_value, UCNV_LMBCS_LAST);
309 	zend_string *const_LMBCS_LAST_name = zend_string_init_interned("LMBCS_LAST", sizeof("LMBCS_LAST") - 1, 1);
310 	zend_declare_typed_class_constant(class_entry, const_LMBCS_LAST_name, &const_LMBCS_LAST_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
311 	zend_string_release(const_LMBCS_LAST_name);
312 
313 	zval const_HZ_value;
314 	ZVAL_LONG(&const_HZ_value, UCNV_HZ);
315 	zend_string *const_HZ_name = zend_string_init_interned("HZ", sizeof("HZ") - 1, 1);
316 	zend_declare_typed_class_constant(class_entry, const_HZ_name, &const_HZ_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
317 	zend_string_release(const_HZ_name);
318 
319 	zval const_SCSU_value;
320 	ZVAL_LONG(&const_SCSU_value, UCNV_SCSU);
321 	zend_string *const_SCSU_name = zend_string_init_interned("SCSU", sizeof("SCSU") - 1, 1);
322 	zend_declare_typed_class_constant(class_entry, const_SCSU_name, &const_SCSU_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
323 	zend_string_release(const_SCSU_name);
324 
325 	zval const_ISCII_value;
326 	ZVAL_LONG(&const_ISCII_value, UCNV_ISCII);
327 	zend_string *const_ISCII_name = zend_string_init_interned("ISCII", sizeof("ISCII") - 1, 1);
328 	zend_declare_typed_class_constant(class_entry, const_ISCII_name, &const_ISCII_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
329 	zend_string_release(const_ISCII_name);
330 
331 	zval const_US_ASCII_value;
332 	ZVAL_LONG(&const_US_ASCII_value, UCNV_US_ASCII);
333 	zend_string *const_US_ASCII_name = zend_string_init_interned("US_ASCII", sizeof("US_ASCII") - 1, 1);
334 	zend_declare_typed_class_constant(class_entry, const_US_ASCII_name, &const_US_ASCII_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
335 	zend_string_release(const_US_ASCII_name);
336 
337 	zval const_UTF7_value;
338 	ZVAL_LONG(&const_UTF7_value, UCNV_UTF7);
339 	zend_string *const_UTF7_name = zend_string_init_interned("UTF7", sizeof("UTF7") - 1, 1);
340 	zend_declare_typed_class_constant(class_entry, const_UTF7_name, &const_UTF7_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
341 	zend_string_release(const_UTF7_name);
342 
343 	zval const_BOCU1_value;
344 	ZVAL_LONG(&const_BOCU1_value, UCNV_BOCU1);
345 	zend_string *const_BOCU1_name = zend_string_init_interned("BOCU1", sizeof("BOCU1") - 1, 1);
346 	zend_declare_typed_class_constant(class_entry, const_BOCU1_name, &const_BOCU1_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
347 	zend_string_release(const_BOCU1_name);
348 
349 	zval const_UTF16_value;
350 	ZVAL_LONG(&const_UTF16_value, UCNV_UTF16);
351 	zend_string *const_UTF16_name = zend_string_init_interned("UTF16", sizeof("UTF16") - 1, 1);
352 	zend_declare_typed_class_constant(class_entry, const_UTF16_name, &const_UTF16_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
353 	zend_string_release(const_UTF16_name);
354 
355 	zval const_UTF32_value;
356 	ZVAL_LONG(&const_UTF32_value, UCNV_UTF32);
357 	zend_string *const_UTF32_name = zend_string_init_interned("UTF32", sizeof("UTF32") - 1, 1);
358 	zend_declare_typed_class_constant(class_entry, const_UTF32_name, &const_UTF32_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
359 	zend_string_release(const_UTF32_name);
360 
361 	zval const_CESU8_value;
362 	ZVAL_LONG(&const_CESU8_value, UCNV_CESU8);
363 	zend_string *const_CESU8_name = zend_string_init_interned("CESU8", sizeof("CESU8") - 1, 1);
364 	zend_declare_typed_class_constant(class_entry, const_CESU8_name, &const_CESU8_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
365 	zend_string_release(const_CESU8_name);
366 
367 	zval const_IMAP_MAILBOX_value;
368 	ZVAL_LONG(&const_IMAP_MAILBOX_value, UCNV_IMAP_MAILBOX);
369 	zend_string *const_IMAP_MAILBOX_name = zend_string_init_interned("IMAP_MAILBOX", sizeof("IMAP_MAILBOX") - 1, 1);
370 	zend_declare_typed_class_constant(class_entry, const_IMAP_MAILBOX_name, &const_IMAP_MAILBOX_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
371 	zend_string_release(const_IMAP_MAILBOX_name);
372 
373 	return class_entry;
374 }
375