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