xref: /php-src/ext/intl/php_intl_arginfo.h (revision 3815a773)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 168eabfdcbf29189f2327448f104ea98752d1c5a */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_intlcal_create_instance, 0, 0, IntlCalendar, 1)
5 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, timezone, "null")
6 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null")
7 ZEND_END_ARG_INFO()
8 
9 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_intlcal_get_keyword_values_for_locale, 0, 3, IntlIterator, MAY_BE_FALSE)
10 	ZEND_ARG_TYPE_INFO(0, keyword, IS_STRING, 0)
11 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
12 	ZEND_ARG_TYPE_INFO(0, onlyCommon, _IS_BOOL, 0)
13 ZEND_END_ARG_INFO()
14 
15 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_get_now, 0, 0, IS_DOUBLE, 0)
16 ZEND_END_ARG_INFO()
17 
18 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_get_available_locales, 0, 0, IS_ARRAY, 0)
19 ZEND_END_ARG_INFO()
20 
21 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intlcal_get, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
22 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
23 	ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
24 ZEND_END_ARG_INFO()
25 
26 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intlcal_get_time, 0, 1, MAY_BE_DOUBLE|MAY_BE_FALSE)
27 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
28 ZEND_END_ARG_INFO()
29 
30 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_set_time, 0, 2, _IS_BOOL, 0)
31 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
32 	ZEND_ARG_TYPE_INFO(0, timestamp, IS_DOUBLE, 0)
33 ZEND_END_ARG_INFO()
34 
35 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_add, 0, 3, _IS_BOOL, 0)
36 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
37 	ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
38 	ZEND_ARG_TYPE_INFO(0, value, IS_LONG, 0)
39 ZEND_END_ARG_INFO()
40 
41 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_set_time_zone, 0, 2, _IS_BOOL, 0)
42 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
43 	ZEND_ARG_INFO(0, timezone)
44 ZEND_END_ARG_INFO()
45 
46 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_after, 0, 2, _IS_BOOL, 0)
47 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
48 	ZEND_ARG_OBJ_INFO(0, other, IntlCalendar, 0)
49 ZEND_END_ARG_INFO()
50 
51 #define arginfo_intlcal_before arginfo_intlcal_after
52 
53 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_set, 0, 3, IS_TRUE, 0)
54 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
55 	ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
56 	ZEND_ARG_TYPE_INFO(0, month, IS_LONG, 0)
57 	ZEND_ARG_TYPE_INFO(0, dayOfMonth, IS_LONG, 0)
58 	ZEND_ARG_TYPE_INFO(0, hour, IS_LONG, 0)
59 	ZEND_ARG_TYPE_INFO(0, minute, IS_LONG, 0)
60 	ZEND_ARG_TYPE_INFO(0, second, IS_LONG, 0)
61 ZEND_END_ARG_INFO()
62 
63 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_roll, 0, 3, _IS_BOOL, 0)
64 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
65 	ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
66 	ZEND_ARG_INFO(0, value)
67 ZEND_END_ARG_INFO()
68 
69 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_clear, 0, 1, IS_TRUE, 0)
70 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
71 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, field, IS_LONG, 1, "null")
72 ZEND_END_ARG_INFO()
73 
74 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intlcal_field_difference, 0, 3, MAY_BE_LONG|MAY_BE_FALSE)
75 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
76 	ZEND_ARG_TYPE_INFO(0, timestamp, IS_DOUBLE, 0)
77 	ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
78 ZEND_END_ARG_INFO()
79 
80 #define arginfo_intlcal_get_actual_maximum arginfo_intlcal_get
81 
82 #define arginfo_intlcal_get_actual_minimum arginfo_intlcal_get
83 
84 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intlcal_get_day_of_week_type, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
85 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
86 	ZEND_ARG_TYPE_INFO(0, dayOfWeek, IS_LONG, 0)
87 ZEND_END_ARG_INFO()
88 
89 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intlcal_get_first_day_of_week, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
90 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
91 ZEND_END_ARG_INFO()
92 
93 #define arginfo_intlcal_get_least_maximum arginfo_intlcal_get
94 
95 #define arginfo_intlcal_get_greatest_minimum arginfo_intlcal_get
96 
97 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intlcal_get_locale, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
98 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
99 	ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
100 ZEND_END_ARG_INFO()
101 
102 #define arginfo_intlcal_get_maximum arginfo_intlcal_get
103 
104 #define arginfo_intlcal_get_minimal_days_in_first_week arginfo_intlcal_get_first_day_of_week
105 
106 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_set_minimal_days_in_first_week, 0, 2, IS_TRUE, 0)
107 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
108 	ZEND_ARG_TYPE_INFO(0, days, IS_LONG, 0)
109 ZEND_END_ARG_INFO()
110 
111 #define arginfo_intlcal_get_minimum arginfo_intlcal_get
112 
113 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_intlcal_get_time_zone, 0, 1, IntlTimeZone, MAY_BE_FALSE)
114 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
115 ZEND_END_ARG_INFO()
116 
117 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_get_type, 0, 1, IS_STRING, 0)
118 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
119 ZEND_END_ARG_INFO()
120 
121 #define arginfo_intlcal_get_weekend_transition arginfo_intlcal_get_day_of_week_type
122 
123 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_in_daylight_time, 0, 1, _IS_BOOL, 0)
124 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
125 ZEND_END_ARG_INFO()
126 
127 #define arginfo_intlcal_is_lenient arginfo_intlcal_in_daylight_time
128 
129 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_is_set, 0, 2, _IS_BOOL, 0)
130 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
131 	ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
132 ZEND_END_ARG_INFO()
133 
134 #define arginfo_intlcal_is_equivalent_to arginfo_intlcal_after
135 
136 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_is_weekend, 0, 1, _IS_BOOL, 0)
137 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
138 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_DOUBLE, 1, "null")
139 ZEND_END_ARG_INFO()
140 
141 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_set_first_day_of_week, 0, 2, IS_TRUE, 0)
142 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
143 	ZEND_ARG_TYPE_INFO(0, dayOfWeek, IS_LONG, 0)
144 ZEND_END_ARG_INFO()
145 
146 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_set_lenient, 0, 2, IS_TRUE, 0)
147 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
148 	ZEND_ARG_TYPE_INFO(0, lenient, _IS_BOOL, 0)
149 ZEND_END_ARG_INFO()
150 
151 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_get_repeated_wall_time_option, 0, 1, IS_LONG, 0)
152 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
153 ZEND_END_ARG_INFO()
154 
155 #define arginfo_intlcal_equals arginfo_intlcal_after
156 
157 #define arginfo_intlcal_get_skipped_wall_time_option arginfo_intlcal_get_repeated_wall_time_option
158 
159 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_set_repeated_wall_time_option, 0, 2, IS_TRUE, 0)
160 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
161 	ZEND_ARG_TYPE_INFO(0, option, IS_LONG, 0)
162 ZEND_END_ARG_INFO()
163 
164 #define arginfo_intlcal_set_skipped_wall_time_option arginfo_intlcal_set_repeated_wall_time_option
165 
166 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_intlcal_from_date_time, 0, 1, IntlCalendar, 1)
167 	ZEND_ARG_OBJ_TYPE_MASK(0, datetime, DateTime, MAY_BE_STRING, NULL)
168 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null")
169 ZEND_END_ARG_INFO()
170 
171 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_intlcal_to_date_time, 0, 1, DateTime, MAY_BE_FALSE)
172 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
173 ZEND_END_ARG_INFO()
174 
175 #define arginfo_intlcal_get_error_code arginfo_intlcal_get_first_day_of_week
176 
177 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intlcal_get_error_message, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
178 	ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
179 ZEND_END_ARG_INFO()
180 
181 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_intlgregcal_create_instance, 0, 0, IntlGregorianCalendar, 1)
182 	ZEND_ARG_INFO(0, timezoneOrYear)
183 	ZEND_ARG_INFO(0, localeOrMonth)
184 	ZEND_ARG_INFO(0, day)
185 	ZEND_ARG_INFO(0, hour)
186 	ZEND_ARG_INFO(0, minute)
187 	ZEND_ARG_INFO(0, second)
188 ZEND_END_ARG_INFO()
189 
190 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlgregcal_set_gregorian_change, 0, 2, _IS_BOOL, 0)
191 	ZEND_ARG_OBJ_INFO(0, calendar, IntlGregorianCalendar, 0)
192 	ZEND_ARG_TYPE_INFO(0, timestamp, IS_DOUBLE, 0)
193 ZEND_END_ARG_INFO()
194 
195 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlgregcal_get_gregorian_change, 0, 1, IS_DOUBLE, 0)
196 	ZEND_ARG_OBJ_INFO(0, calendar, IntlGregorianCalendar, 0)
197 ZEND_END_ARG_INFO()
198 
199 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlgregcal_is_leap_year, 0, 2, _IS_BOOL, 0)
200 	ZEND_ARG_OBJ_INFO(0, calendar, IntlGregorianCalendar, 0)
201 	ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
202 ZEND_END_ARG_INFO()
203 
204 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_collator_create, 0, 1, Collator, 1)
205 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
206 ZEND_END_ARG_INFO()
207 
208 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_collator_compare, 0, 3, MAY_BE_LONG|MAY_BE_FALSE)
209 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
210 	ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
211 	ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
212 ZEND_END_ARG_INFO()
213 
214 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_collator_get_attribute, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
215 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
216 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
217 ZEND_END_ARG_INFO()
218 
219 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_collator_set_attribute, 0, 3, _IS_BOOL, 0)
220 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
221 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
222 	ZEND_ARG_TYPE_INFO(0, value, IS_LONG, 0)
223 ZEND_END_ARG_INFO()
224 
225 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_collator_get_strength, 0, 1, IS_LONG, 0)
226 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
227 ZEND_END_ARG_INFO()
228 
229 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_collator_set_strength, 0, 2, IS_TRUE, 0)
230 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
231 	ZEND_ARG_TYPE_INFO(0, strength, IS_LONG, 0)
232 ZEND_END_ARG_INFO()
233 
234 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_collator_sort, 0, 2, _IS_BOOL, 0)
235 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
236 	ZEND_ARG_TYPE_INFO(1, array, IS_ARRAY, 0)
237 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "Collator::SORT_REGULAR")
238 ZEND_END_ARG_INFO()
239 
240 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_collator_sort_with_sort_keys, 0, 2, _IS_BOOL, 0)
241 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
242 	ZEND_ARG_TYPE_INFO(1, array, IS_ARRAY, 0)
243 ZEND_END_ARG_INFO()
244 
245 #define arginfo_collator_asort arginfo_collator_sort
246 
247 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_collator_get_locale, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
248 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
249 	ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
250 ZEND_END_ARG_INFO()
251 
252 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_collator_get_error_code, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
253 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
254 ZEND_END_ARG_INFO()
255 
256 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_collator_get_error_message, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
257 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
258 ZEND_END_ARG_INFO()
259 
260 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_collator_get_sort_key, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
261 	ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
262 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
263 ZEND_END_ARG_INFO()
264 
265 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intl_get_error_code, 0, 0, IS_LONG, 0)
266 ZEND_END_ARG_INFO()
267 
268 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intl_get_error_message, 0, 0, IS_STRING, 0)
269 ZEND_END_ARG_INFO()
270 
271 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intl_is_failure, 0, 1, _IS_BOOL, 0)
272 	ZEND_ARG_TYPE_INFO(0, errorCode, IS_LONG, 0)
273 ZEND_END_ARG_INFO()
274 
275 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intl_error_name, 0, 1, IS_STRING, 0)
276 	ZEND_ARG_TYPE_INFO(0, errorCode, IS_LONG, 0)
277 ZEND_END_ARG_INFO()
278 
279 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_datefmt_create, 0, 1, IntlDateFormatter, 1)
280 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 1)
281 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, dateType, IS_LONG, 0, "IntlDateFormatter::FULL")
282 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timeType, IS_LONG, 0, "IntlDateFormatter::FULL")
283 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, timezone, "null")
284 	ZEND_ARG_OBJ_TYPE_MASK(0, calendar, IntlCalendar, MAY_BE_LONG|MAY_BE_NULL, "null")
285 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
286 ZEND_END_ARG_INFO()
287 
288 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_datefmt_get_datetype, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
289 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
290 ZEND_END_ARG_INFO()
291 
292 #define arginfo_datefmt_get_timetype arginfo_datefmt_get_datetype
293 
294 #define arginfo_datefmt_get_calendar arginfo_datefmt_get_datetype
295 
296 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_datefmt_set_calendar, 0, 2, _IS_BOOL, 0)
297 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
298 	ZEND_ARG_OBJ_TYPE_MASK(0, calendar, IntlCalendar, MAY_BE_LONG|MAY_BE_NULL, NULL)
299 ZEND_END_ARG_INFO()
300 
301 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_datefmt_get_timezone_id, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
302 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
303 ZEND_END_ARG_INFO()
304 
305 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_datefmt_get_calendar_object, 0, 1, IntlCalendar, MAY_BE_FALSE|MAY_BE_NULL)
306 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
307 ZEND_END_ARG_INFO()
308 
309 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_datefmt_get_timezone, 0, 1, IntlTimeZone, MAY_BE_FALSE)
310 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
311 ZEND_END_ARG_INFO()
312 
313 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_datefmt_set_timezone, 0, 2, _IS_BOOL, 0)
314 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
315 	ZEND_ARG_INFO(0, timezone)
316 ZEND_END_ARG_INFO()
317 
318 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_datefmt_set_pattern, 0, 2, _IS_BOOL, 0)
319 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
320 	ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
321 ZEND_END_ARG_INFO()
322 
323 #define arginfo_datefmt_get_pattern arginfo_datefmt_get_timezone_id
324 
325 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_datefmt_get_locale, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
326 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
327 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "ULOC_ACTUAL_LOCALE")
328 ZEND_END_ARG_INFO()
329 
330 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_datefmt_set_lenient, 0, 2, IS_VOID, 0)
331 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
332 	ZEND_ARG_TYPE_INFO(0, lenient, _IS_BOOL, 0)
333 ZEND_END_ARG_INFO()
334 
335 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_datefmt_is_lenient, 0, 1, _IS_BOOL, 0)
336 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
337 ZEND_END_ARG_INFO()
338 
339 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_datefmt_format, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
340 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
341 	ZEND_ARG_INFO(0, datetime)
342 ZEND_END_ARG_INFO()
343 
344 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_datefmt_format_object, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
345 	ZEND_ARG_INFO(0, datetime)
346 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, format, "null")
347 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null")
348 ZEND_END_ARG_INFO()
349 
350 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_datefmt_parse, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
351 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
352 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
353 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, offset, "null")
354 ZEND_END_ARG_INFO()
355 
356 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_datefmt_localtime, 0, 2, MAY_BE_ARRAY|MAY_BE_FALSE)
357 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
358 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
359 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, offset, "null")
360 ZEND_END_ARG_INFO()
361 
362 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_datefmt_get_error_code, 0, 1, IS_LONG, 0)
363 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
364 ZEND_END_ARG_INFO()
365 
366 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_datefmt_get_error_message, 0, 1, IS_STRING, 0)
367 	ZEND_ARG_OBJ_INFO(0, formatter, IntlDateFormatter, 0)
368 ZEND_END_ARG_INFO()
369 
370 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_numfmt_create, 0, 2, NumberFormatter, 1)
371 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
372 	ZEND_ARG_TYPE_INFO(0, style, IS_LONG, 0)
373 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
374 ZEND_END_ARG_INFO()
375 
376 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_format, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
377 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
378 	ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
379 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "NumberFormatter::TYPE_DEFAULT")
380 ZEND_END_ARG_INFO()
381 
382 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_parse, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
383 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
384 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
385 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "NumberFormatter::TYPE_DOUBLE")
386 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, offset, "null")
387 ZEND_END_ARG_INFO()
388 
389 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_format_currency, 0, 3, MAY_BE_STRING|MAY_BE_FALSE)
390 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
391 	ZEND_ARG_TYPE_INFO(0, amount, IS_DOUBLE, 0)
392 	ZEND_ARG_TYPE_INFO(0, currency, IS_STRING, 0)
393 ZEND_END_ARG_INFO()
394 
395 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_parse_currency, 0, 3, MAY_BE_DOUBLE|MAY_BE_FALSE)
396 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
397 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
398 	ZEND_ARG_INFO(1, currency)
399 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, offset, "null")
400 ZEND_END_ARG_INFO()
401 
402 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_numfmt_set_attribute, 0, 3, _IS_BOOL, 0)
403 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
404 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
405 	ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
406 ZEND_END_ARG_INFO()
407 
408 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_get_attribute, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
409 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
410 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
411 ZEND_END_ARG_INFO()
412 
413 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_numfmt_set_text_attribute, 0, 3, _IS_BOOL, 0)
414 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
415 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
416 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
417 ZEND_END_ARG_INFO()
418 
419 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_get_text_attribute, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
420 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
421 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
422 ZEND_END_ARG_INFO()
423 
424 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_numfmt_set_symbol, 0, 3, _IS_BOOL, 0)
425 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
426 	ZEND_ARG_TYPE_INFO(0, symbol, IS_LONG, 0)
427 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
428 ZEND_END_ARG_INFO()
429 
430 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_get_symbol, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
431 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
432 	ZEND_ARG_TYPE_INFO(0, symbol, IS_LONG, 0)
433 ZEND_END_ARG_INFO()
434 
435 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_numfmt_set_pattern, 0, 2, _IS_BOOL, 0)
436 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
437 	ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
438 ZEND_END_ARG_INFO()
439 
440 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_get_pattern, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
441 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
442 ZEND_END_ARG_INFO()
443 
444 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_get_locale, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
445 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
446 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "ULOC_ACTUAL_LOCALE")
447 ZEND_END_ARG_INFO()
448 
449 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_numfmt_get_error_code, 0, 1, IS_LONG, 0)
450 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
451 ZEND_END_ARG_INFO()
452 
453 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_numfmt_get_error_message, 0, 1, IS_STRING, 0)
454 	ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
455 ZEND_END_ARG_INFO()
456 
457 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_grapheme_strlen, 0, 1, MAY_BE_LONG|MAY_BE_FALSE|MAY_BE_NULL)
458 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
459 ZEND_END_ARG_INFO()
460 
461 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_grapheme_strpos, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
462 	ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
463 	ZEND_ARG_TYPE_INFO(0, needle, IS_STRING, 0)
464 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
465 ZEND_END_ARG_INFO()
466 
467 #define arginfo_grapheme_stripos arginfo_grapheme_strpos
468 
469 #define arginfo_grapheme_strrpos arginfo_grapheme_strpos
470 
471 #define arginfo_grapheme_strripos arginfo_grapheme_strpos
472 
473 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_grapheme_substr, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
474 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
475 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
476 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
477 ZEND_END_ARG_INFO()
478 
479 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_grapheme_strstr, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
480 	ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
481 	ZEND_ARG_TYPE_INFO(0, needle, IS_STRING, 0)
482 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, beforeNeedle, _IS_BOOL, 0, "false")
483 ZEND_END_ARG_INFO()
484 
485 #define arginfo_grapheme_stristr arginfo_grapheme_strstr
486 
487 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_grapheme_str_split, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
488 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
489 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "1")
490 ZEND_END_ARG_INFO()
491 
492 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_grapheme_extract, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
493 	ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
494 	ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
495 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "GRAPHEME_EXTR_COUNT")
496 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
497 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, next, "null")
498 ZEND_END_ARG_INFO()
499 
500 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_idn_to_ascii, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
501 	ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
502 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "IDNA_DEFAULT")
503 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, variant, IS_LONG, 0, "INTL_IDNA_VARIANT_UTS46")
504 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, idna_info, "null")
505 ZEND_END_ARG_INFO()
506 
507 #define arginfo_idn_to_utf8 arginfo_idn_to_ascii
508 
509 #define arginfo_locale_get_default arginfo_intl_get_error_message
510 
511 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_locale_set_default, 0, 1, IS_TRUE, 0)
512 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
513 ZEND_END_ARG_INFO()
514 
515 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_locale_get_primary_language, 0, 1, IS_STRING, 1)
516 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
517 ZEND_END_ARG_INFO()
518 
519 #define arginfo_locale_get_script arginfo_locale_get_primary_language
520 
521 #define arginfo_locale_get_region arginfo_locale_get_primary_language
522 
523 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_locale_get_keywords, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE|MAY_BE_NULL)
524 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
525 ZEND_END_ARG_INFO()
526 
527 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_locale_get_display_script, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
528 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
529 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, displayLocale, IS_STRING, 1, "null")
530 ZEND_END_ARG_INFO()
531 
532 #define arginfo_locale_get_display_region arginfo_locale_get_display_script
533 
534 #define arginfo_locale_get_display_name arginfo_locale_get_display_script
535 
536 #define arginfo_locale_get_display_language arginfo_locale_get_display_script
537 
538 #define arginfo_locale_get_display_variant arginfo_locale_get_display_script
539 
540 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_locale_compose, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
541 	ZEND_ARG_TYPE_INFO(0, subtags, IS_ARRAY, 0)
542 ZEND_END_ARG_INFO()
543 
544 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_locale_parse, 0, 1, IS_ARRAY, 1)
545 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
546 ZEND_END_ARG_INFO()
547 
548 #define arginfo_locale_get_all_variants arginfo_locale_parse
549 
550 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_locale_filter_matches, 0, 2, _IS_BOOL, 1)
551 	ZEND_ARG_TYPE_INFO(0, languageTag, IS_STRING, 0)
552 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
553 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, canonicalize, _IS_BOOL, 0, "false")
554 ZEND_END_ARG_INFO()
555 
556 #define arginfo_locale_canonicalize arginfo_locale_get_primary_language
557 
558 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_locale_lookup, 0, 2, IS_STRING, 1)
559 	ZEND_ARG_TYPE_INFO(0, languageTag, IS_ARRAY, 0)
560 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
561 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, canonicalize, _IS_BOOL, 0, "false")
562 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, defaultLocale, IS_STRING, 1, "null")
563 ZEND_END_ARG_INFO()
564 
565 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_locale_accept_from_http, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
566 	ZEND_ARG_TYPE_INFO(0, header, IS_STRING, 0)
567 ZEND_END_ARG_INFO()
568 
569 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_msgfmt_create, 0, 2, MessageFormatter, 1)
570 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
571 	ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
572 ZEND_END_ARG_INFO()
573 
574 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_msgfmt_format, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
575 	ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
576 	ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
577 ZEND_END_ARG_INFO()
578 
579 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_msgfmt_format_message, 0, 3, MAY_BE_STRING|MAY_BE_FALSE)
580 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
581 	ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
582 	ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
583 ZEND_END_ARG_INFO()
584 
585 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_msgfmt_parse, 0, 2, MAY_BE_ARRAY|MAY_BE_FALSE)
586 	ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
587 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
588 ZEND_END_ARG_INFO()
589 
590 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_msgfmt_parse_message, 0, 3, MAY_BE_ARRAY|MAY_BE_FALSE)
591 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
592 	ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
593 	ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
594 ZEND_END_ARG_INFO()
595 
596 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_msgfmt_set_pattern, 0, 2, _IS_BOOL, 0)
597 	ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
598 	ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
599 ZEND_END_ARG_INFO()
600 
601 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_msgfmt_get_pattern, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
602 	ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
603 ZEND_END_ARG_INFO()
604 
605 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_msgfmt_get_locale, 0, 1, IS_STRING, 0)
606 	ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
607 ZEND_END_ARG_INFO()
608 
609 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_msgfmt_get_error_code, 0, 1, IS_LONG, 0)
610 	ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
611 ZEND_END_ARG_INFO()
612 
613 #define arginfo_msgfmt_get_error_message arginfo_msgfmt_get_locale
614 
615 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_normalizer_normalize, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
616 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
617 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, form, IS_LONG, 0, "Normalizer::FORM_C")
618 ZEND_END_ARG_INFO()
619 
620 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_normalizer_is_normalized, 0, 1, _IS_BOOL, 0)
621 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
622 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, form, IS_LONG, 0, "Normalizer::FORM_C")
623 ZEND_END_ARG_INFO()
624 
625 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_normalizer_get_raw_decomposition, 0, 1, IS_STRING, 1)
626 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
627 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, form, IS_LONG, 0, "Normalizer::FORM_C")
628 ZEND_END_ARG_INFO()
629 
630 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_resourcebundle_create, 0, 2, ResourceBundle, 1)
631 	ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 1)
632 	ZEND_ARG_TYPE_INFO(0, bundle, IS_STRING, 1)
633 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fallback, _IS_BOOL, 0, "true")
634 ZEND_END_ARG_INFO()
635 
636 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_resourcebundle_get, 0, 2, ResourceBundle, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_LONG|MAY_BE_NULL)
637 	ZEND_ARG_OBJ_INFO(0, bundle, ResourceBundle, 0)
638 	ZEND_ARG_TYPE_MASK(0, index, MAY_BE_STRING|MAY_BE_LONG, NULL)
639 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fallback, _IS_BOOL, 0, "true")
640 ZEND_END_ARG_INFO()
641 
642 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_resourcebundle_count, 0, 1, IS_LONG, 0)
643 	ZEND_ARG_OBJ_INFO(0, bundle, ResourceBundle, 0)
644 ZEND_END_ARG_INFO()
645 
646 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_resourcebundle_locales, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
647 	ZEND_ARG_TYPE_INFO(0, bundle, IS_STRING, 0)
648 ZEND_END_ARG_INFO()
649 
650 #define arginfo_resourcebundle_get_error_code arginfo_resourcebundle_count
651 
652 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_resourcebundle_get_error_message, 0, 1, IS_STRING, 0)
653 	ZEND_ARG_OBJ_INFO(0, bundle, ResourceBundle, 0)
654 ZEND_END_ARG_INFO()
655 
656 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_count_equivalent_ids, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
657 	ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
658 ZEND_END_ARG_INFO()
659 
660 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_intltz_create_default, 0, 0, IntlTimeZone, 0)
661 ZEND_END_ARG_INFO()
662 
663 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_intltz_create_enumeration, 0, 0, IntlIterator, MAY_BE_FALSE)
664 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, countryOrRawOffset, "null")
665 ZEND_END_ARG_INFO()
666 
667 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_intltz_create_time_zone, 0, 1, IntlTimeZone, 1)
668 	ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
669 ZEND_END_ARG_INFO()
670 
671 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_intltz_create_time_zone_id_enumeration, 0, 1, IntlIterator, MAY_BE_FALSE)
672 	ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
673 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, region, IS_STRING, 1, "null")
674 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, rawOffset, IS_LONG, 1, "null")
675 ZEND_END_ARG_INFO()
676 
677 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_intltz_from_date_time_zone, 0, 1, IntlTimeZone, 1)
678 	ZEND_ARG_OBJ_INFO(0, timezone, DateTimeZone, 0)
679 ZEND_END_ARG_INFO()
680 
681 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_canonical_id, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
682 	ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
683 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, isSystemId, "null")
684 ZEND_END_ARG_INFO()
685 
686 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_display_name, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
687 	ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
688 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, dst, _IS_BOOL, 0, "false")
689 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, style, IS_LONG, 0, "IntlTimeZone::DISPLAY_LONG")
690 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null")
691 ZEND_END_ARG_INFO()
692 
693 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intltz_get_dst_savings, 0, 1, IS_LONG, 0)
694 	ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
695 ZEND_END_ARG_INFO()
696 
697 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_equivalent_id, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
698 	ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
699 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
700 ZEND_END_ARG_INFO()
701 
702 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_error_code, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
703 	ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
704 ZEND_END_ARG_INFO()
705 
706 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_error_message, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
707 	ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
708 ZEND_END_ARG_INFO()
709 
710 #define arginfo_intltz_get_gmt arginfo_intltz_create_default
711 
712 #define arginfo_intltz_get_id arginfo_intltz_get_error_message
713 
714 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intltz_get_offset, 0, 5, _IS_BOOL, 0)
715 	ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
716 	ZEND_ARG_TYPE_INFO(0, timestamp, IS_DOUBLE, 0)
717 	ZEND_ARG_TYPE_INFO(0, local, _IS_BOOL, 0)
718 	ZEND_ARG_INFO(1, rawOffset)
719 	ZEND_ARG_INFO(1, dstOffset)
720 ZEND_END_ARG_INFO()
721 
722 #define arginfo_intltz_get_raw_offset arginfo_intltz_get_dst_savings
723 
724 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_region, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
725 	ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
726 ZEND_END_ARG_INFO()
727 
728 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_tz_data_version, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
729 ZEND_END_ARG_INFO()
730 
731 #define arginfo_intltz_get_unknown arginfo_intltz_create_default
732 
733 #define arginfo_intltz_get_windows_id arginfo_intltz_get_region
734 
735 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_id_for_windows_id, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
736 	ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
737 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, region, IS_STRING, 1, "null")
738 ZEND_END_ARG_INFO()
739 
740 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intltz_has_same_rules, 0, 2, _IS_BOOL, 0)
741 	ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
742 	ZEND_ARG_OBJ_INFO(0, other, IntlTimeZone, 0)
743 ZEND_END_ARG_INFO()
744 
745 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_intltz_to_date_time_zone, 0, 1, DateTimeZone, MAY_BE_FALSE)
746 	ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
747 ZEND_END_ARG_INFO()
748 
749 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intltz_use_daylight_time, 0, 1, _IS_BOOL, 0)
750 	ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
751 ZEND_END_ARG_INFO()
752 
753 #if U_ICU_VERSION_MAJOR_NUM >= 74
754 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_iana_id, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
755 	ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
756 ZEND_END_ARG_INFO()
757 #endif
758 
759 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_transliterator_create, 0, 1, Transliterator, 1)
760 	ZEND_ARG_TYPE_INFO(0, id, IS_STRING, 0)
761 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, direction, IS_LONG, 0, "Transliterator::FORWARD")
762 ZEND_END_ARG_INFO()
763 
764 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_transliterator_create_from_rules, 0, 1, Transliterator, 1)
765 	ZEND_ARG_TYPE_INFO(0, rules, IS_STRING, 0)
766 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, direction, IS_LONG, 0, "Transliterator::FORWARD")
767 ZEND_END_ARG_INFO()
768 
769 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_transliterator_list_ids, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
770 ZEND_END_ARG_INFO()
771 
772 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_transliterator_create_inverse, 0, 1, Transliterator, 1)
773 	ZEND_ARG_OBJ_INFO(0, transliterator, Transliterator, 0)
774 ZEND_END_ARG_INFO()
775 
776 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_transliterator_transliterate, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
777 	ZEND_ARG_OBJ_TYPE_MASK(0, transliterator, Transliterator, MAY_BE_STRING, NULL)
778 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
779 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, start, IS_LONG, 0, "0")
780 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, end, IS_LONG, 0, "-1")
781 ZEND_END_ARG_INFO()
782 
783 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_transliterator_get_error_code, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
784 	ZEND_ARG_OBJ_INFO(0, transliterator, Transliterator, 0)
785 ZEND_END_ARG_INFO()
786 
787 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_transliterator_get_error_message, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
788 	ZEND_ARG_OBJ_INFO(0, transliterator, Transliterator, 0)
789 ZEND_END_ARG_INFO()
790 
791 ZEND_FUNCTION(intlcal_create_instance);
792 ZEND_FUNCTION(intlcal_get_keyword_values_for_locale);
793 ZEND_FUNCTION(intlcal_get_now);
794 ZEND_FUNCTION(intlcal_get_available_locales);
795 ZEND_FUNCTION(intlcal_get);
796 ZEND_FUNCTION(intlcal_get_time);
797 ZEND_FUNCTION(intlcal_set_time);
798 ZEND_FUNCTION(intlcal_add);
799 ZEND_FUNCTION(intlcal_set_time_zone);
800 ZEND_FUNCTION(intlcal_after);
801 ZEND_FUNCTION(intlcal_before);
802 ZEND_FUNCTION(intlcal_set);
803 ZEND_FUNCTION(intlcal_roll);
804 ZEND_FUNCTION(intlcal_clear);
805 ZEND_FUNCTION(intlcal_field_difference);
806 ZEND_FUNCTION(intlcal_get_actual_maximum);
807 ZEND_FUNCTION(intlcal_get_actual_minimum);
808 ZEND_FUNCTION(intlcal_get_day_of_week_type);
809 ZEND_FUNCTION(intlcal_get_first_day_of_week);
810 ZEND_FUNCTION(intlcal_get_least_maximum);
811 ZEND_FUNCTION(intlcal_get_greatest_minimum);
812 ZEND_FUNCTION(intlcal_get_locale);
813 ZEND_FUNCTION(intlcal_get_maximum);
814 ZEND_FUNCTION(intlcal_get_minimal_days_in_first_week);
815 ZEND_FUNCTION(intlcal_set_minimal_days_in_first_week);
816 ZEND_FUNCTION(intlcal_get_minimum);
817 ZEND_FUNCTION(intlcal_get_time_zone);
818 ZEND_FUNCTION(intlcal_get_type);
819 ZEND_FUNCTION(intlcal_get_weekend_transition);
820 ZEND_FUNCTION(intlcal_in_daylight_time);
821 ZEND_FUNCTION(intlcal_is_lenient);
822 ZEND_FUNCTION(intlcal_is_set);
823 ZEND_FUNCTION(intlcal_is_equivalent_to);
824 ZEND_FUNCTION(intlcal_is_weekend);
825 ZEND_FUNCTION(intlcal_set_first_day_of_week);
826 ZEND_FUNCTION(intlcal_set_lenient);
827 ZEND_FUNCTION(intlcal_get_repeated_wall_time_option);
828 ZEND_FUNCTION(intlcal_equals);
829 ZEND_FUNCTION(intlcal_get_skipped_wall_time_option);
830 ZEND_FUNCTION(intlcal_set_repeated_wall_time_option);
831 ZEND_FUNCTION(intlcal_set_skipped_wall_time_option);
832 ZEND_FUNCTION(intlcal_from_date_time);
833 ZEND_FUNCTION(intlcal_to_date_time);
834 ZEND_FUNCTION(intlcal_get_error_code);
835 ZEND_FUNCTION(intlcal_get_error_message);
836 ZEND_FUNCTION(intlgregcal_create_instance);
837 ZEND_FUNCTION(intlgregcal_set_gregorian_change);
838 ZEND_FUNCTION(intlgregcal_get_gregorian_change);
839 ZEND_FUNCTION(intlgregcal_is_leap_year);
840 ZEND_FUNCTION(collator_create);
841 ZEND_FUNCTION(collator_compare);
842 ZEND_FUNCTION(collator_get_attribute);
843 ZEND_FUNCTION(collator_set_attribute);
844 ZEND_FUNCTION(collator_get_strength);
845 ZEND_FUNCTION(collator_set_strength);
846 ZEND_FUNCTION(collator_sort);
847 ZEND_FUNCTION(collator_sort_with_sort_keys);
848 ZEND_FUNCTION(collator_asort);
849 ZEND_FUNCTION(collator_get_locale);
850 ZEND_FUNCTION(collator_get_error_code);
851 ZEND_FUNCTION(collator_get_error_message);
852 ZEND_FUNCTION(collator_get_sort_key);
853 ZEND_FUNCTION(intl_get_error_code);
854 ZEND_FUNCTION(intl_get_error_message);
855 ZEND_FUNCTION(intl_is_failure);
856 ZEND_FUNCTION(intl_error_name);
857 ZEND_FUNCTION(datefmt_create);
858 ZEND_FUNCTION(datefmt_get_datetype);
859 ZEND_FUNCTION(datefmt_get_timetype);
860 ZEND_FUNCTION(datefmt_get_calendar);
861 ZEND_FUNCTION(datefmt_set_calendar);
862 ZEND_FUNCTION(datefmt_get_timezone_id);
863 ZEND_FUNCTION(datefmt_get_calendar_object);
864 ZEND_FUNCTION(datefmt_get_timezone);
865 ZEND_FUNCTION(datefmt_set_timezone);
866 ZEND_FUNCTION(datefmt_set_pattern);
867 ZEND_FUNCTION(datefmt_get_pattern);
868 ZEND_FUNCTION(datefmt_get_locale);
869 ZEND_FUNCTION(datefmt_set_lenient);
870 ZEND_FUNCTION(datefmt_is_lenient);
871 ZEND_FUNCTION(datefmt_format);
872 ZEND_FUNCTION(datefmt_format_object);
873 ZEND_FUNCTION(datefmt_parse);
874 ZEND_FUNCTION(datefmt_localtime);
875 ZEND_FUNCTION(datefmt_get_error_code);
876 ZEND_FUNCTION(datefmt_get_error_message);
877 ZEND_FUNCTION(numfmt_create);
878 ZEND_FUNCTION(numfmt_format);
879 ZEND_FUNCTION(numfmt_parse);
880 ZEND_FUNCTION(numfmt_format_currency);
881 ZEND_FUNCTION(numfmt_parse_currency);
882 ZEND_FUNCTION(numfmt_set_attribute);
883 ZEND_FUNCTION(numfmt_get_attribute);
884 ZEND_FUNCTION(numfmt_set_text_attribute);
885 ZEND_FUNCTION(numfmt_get_text_attribute);
886 ZEND_FUNCTION(numfmt_set_symbol);
887 ZEND_FUNCTION(numfmt_get_symbol);
888 ZEND_FUNCTION(numfmt_set_pattern);
889 ZEND_FUNCTION(numfmt_get_pattern);
890 ZEND_FUNCTION(numfmt_get_locale);
891 ZEND_FUNCTION(numfmt_get_error_code);
892 ZEND_FUNCTION(numfmt_get_error_message);
893 ZEND_FUNCTION(grapheme_strlen);
894 ZEND_FUNCTION(grapheme_strpos);
895 ZEND_FUNCTION(grapheme_stripos);
896 ZEND_FUNCTION(grapheme_strrpos);
897 ZEND_FUNCTION(grapheme_strripos);
898 ZEND_FUNCTION(grapheme_substr);
899 ZEND_FUNCTION(grapheme_strstr);
900 ZEND_FUNCTION(grapheme_stristr);
901 ZEND_FUNCTION(grapheme_str_split);
902 ZEND_FUNCTION(grapheme_extract);
903 ZEND_FUNCTION(idn_to_ascii);
904 ZEND_FUNCTION(idn_to_utf8);
905 ZEND_FUNCTION(locale_get_default);
906 ZEND_FUNCTION(locale_set_default);
907 ZEND_FUNCTION(locale_get_primary_language);
908 ZEND_FUNCTION(locale_get_script);
909 ZEND_FUNCTION(locale_get_region);
910 ZEND_FUNCTION(locale_get_keywords);
911 ZEND_FUNCTION(locale_get_display_script);
912 ZEND_FUNCTION(locale_get_display_region);
913 ZEND_FUNCTION(locale_get_display_name);
914 ZEND_FUNCTION(locale_get_display_language);
915 ZEND_FUNCTION(locale_get_display_variant);
916 ZEND_FUNCTION(locale_compose);
917 ZEND_FUNCTION(locale_parse);
918 ZEND_FUNCTION(locale_get_all_variants);
919 ZEND_FUNCTION(locale_filter_matches);
920 ZEND_FUNCTION(locale_canonicalize);
921 ZEND_FUNCTION(locale_lookup);
922 ZEND_FUNCTION(locale_accept_from_http);
923 ZEND_FUNCTION(msgfmt_create);
924 ZEND_FUNCTION(msgfmt_format);
925 ZEND_FUNCTION(msgfmt_format_message);
926 ZEND_FUNCTION(msgfmt_parse);
927 ZEND_FUNCTION(msgfmt_parse_message);
928 ZEND_FUNCTION(msgfmt_set_pattern);
929 ZEND_FUNCTION(msgfmt_get_pattern);
930 ZEND_FUNCTION(msgfmt_get_locale);
931 ZEND_FUNCTION(msgfmt_get_error_code);
932 ZEND_FUNCTION(msgfmt_get_error_message);
933 ZEND_FUNCTION(normalizer_normalize);
934 ZEND_FUNCTION(normalizer_is_normalized);
935 ZEND_FUNCTION(normalizer_get_raw_decomposition);
936 ZEND_FUNCTION(resourcebundle_create);
937 ZEND_FUNCTION(resourcebundle_get);
938 ZEND_FUNCTION(resourcebundle_count);
939 ZEND_FUNCTION(resourcebundle_locales);
940 ZEND_FUNCTION(resourcebundle_get_error_code);
941 ZEND_FUNCTION(resourcebundle_get_error_message);
942 ZEND_FUNCTION(intltz_count_equivalent_ids);
943 ZEND_FUNCTION(intltz_create_default);
944 ZEND_FUNCTION(intltz_create_enumeration);
945 ZEND_FUNCTION(intltz_create_time_zone);
946 ZEND_FUNCTION(intltz_create_time_zone_id_enumeration);
947 ZEND_FUNCTION(intltz_from_date_time_zone);
948 ZEND_FUNCTION(intltz_get_canonical_id);
949 ZEND_FUNCTION(intltz_get_display_name);
950 ZEND_FUNCTION(intltz_get_dst_savings);
951 ZEND_FUNCTION(intltz_get_equivalent_id);
952 ZEND_FUNCTION(intltz_get_error_code);
953 ZEND_FUNCTION(intltz_get_error_message);
954 ZEND_FUNCTION(intltz_get_gmt);
955 ZEND_FUNCTION(intltz_get_id);
956 ZEND_FUNCTION(intltz_get_offset);
957 ZEND_FUNCTION(intltz_get_raw_offset);
958 ZEND_FUNCTION(intltz_get_region);
959 ZEND_FUNCTION(intltz_get_tz_data_version);
960 ZEND_FUNCTION(intltz_get_unknown);
961 ZEND_FUNCTION(intltz_get_windows_id);
962 ZEND_FUNCTION(intltz_get_id_for_windows_id);
963 ZEND_FUNCTION(intltz_has_same_rules);
964 ZEND_FUNCTION(intltz_to_date_time_zone);
965 ZEND_FUNCTION(intltz_use_daylight_time);
966 #if U_ICU_VERSION_MAJOR_NUM >= 74
967 ZEND_FUNCTION(intltz_get_iana_id);
968 #endif
969 ZEND_FUNCTION(transliterator_create);
970 ZEND_FUNCTION(transliterator_create_from_rules);
971 ZEND_FUNCTION(transliterator_list_ids);
972 ZEND_FUNCTION(transliterator_create_inverse);
973 ZEND_FUNCTION(transliterator_transliterate);
974 ZEND_FUNCTION(transliterator_get_error_code);
975 ZEND_FUNCTION(transliterator_get_error_message);
976 
977 static const zend_function_entry ext_functions[] = {
978 	ZEND_FE(intlcal_create_instance, arginfo_intlcal_create_instance)
979 	ZEND_FE(intlcal_get_keyword_values_for_locale, arginfo_intlcal_get_keyword_values_for_locale)
980 	ZEND_FE(intlcal_get_now, arginfo_intlcal_get_now)
981 	ZEND_FE(intlcal_get_available_locales, arginfo_intlcal_get_available_locales)
982 	ZEND_FE(intlcal_get, arginfo_intlcal_get)
983 	ZEND_FE(intlcal_get_time, arginfo_intlcal_get_time)
984 	ZEND_FE(intlcal_set_time, arginfo_intlcal_set_time)
985 	ZEND_FE(intlcal_add, arginfo_intlcal_add)
986 	ZEND_FE(intlcal_set_time_zone, arginfo_intlcal_set_time_zone)
987 	ZEND_FE(intlcal_after, arginfo_intlcal_after)
988 	ZEND_FE(intlcal_before, arginfo_intlcal_before)
989 	ZEND_RAW_FENTRY("intlcal_set", zif_intlcal_set, arginfo_intlcal_set, ZEND_ACC_DEPRECATED, NULL, NULL)
990 	ZEND_FE(intlcal_roll, arginfo_intlcal_roll)
991 	ZEND_FE(intlcal_clear, arginfo_intlcal_clear)
992 	ZEND_FE(intlcal_field_difference, arginfo_intlcal_field_difference)
993 	ZEND_FE(intlcal_get_actual_maximum, arginfo_intlcal_get_actual_maximum)
994 	ZEND_FE(intlcal_get_actual_minimum, arginfo_intlcal_get_actual_minimum)
995 	ZEND_FE(intlcal_get_day_of_week_type, arginfo_intlcal_get_day_of_week_type)
996 	ZEND_FE(intlcal_get_first_day_of_week, arginfo_intlcal_get_first_day_of_week)
997 	ZEND_FE(intlcal_get_least_maximum, arginfo_intlcal_get_least_maximum)
998 	ZEND_FE(intlcal_get_greatest_minimum, arginfo_intlcal_get_greatest_minimum)
999 	ZEND_FE(intlcal_get_locale, arginfo_intlcal_get_locale)
1000 	ZEND_FE(intlcal_get_maximum, arginfo_intlcal_get_maximum)
1001 	ZEND_FE(intlcal_get_minimal_days_in_first_week, arginfo_intlcal_get_minimal_days_in_first_week)
1002 	ZEND_FE(intlcal_set_minimal_days_in_first_week, arginfo_intlcal_set_minimal_days_in_first_week)
1003 	ZEND_FE(intlcal_get_minimum, arginfo_intlcal_get_minimum)
1004 	ZEND_FE(intlcal_get_time_zone, arginfo_intlcal_get_time_zone)
1005 	ZEND_FE(intlcal_get_type, arginfo_intlcal_get_type)
1006 	ZEND_FE(intlcal_get_weekend_transition, arginfo_intlcal_get_weekend_transition)
1007 	ZEND_FE(intlcal_in_daylight_time, arginfo_intlcal_in_daylight_time)
1008 	ZEND_FE(intlcal_is_lenient, arginfo_intlcal_is_lenient)
1009 	ZEND_FE(intlcal_is_set, arginfo_intlcal_is_set)
1010 	ZEND_FE(intlcal_is_equivalent_to, arginfo_intlcal_is_equivalent_to)
1011 	ZEND_FE(intlcal_is_weekend, arginfo_intlcal_is_weekend)
1012 	ZEND_FE(intlcal_set_first_day_of_week, arginfo_intlcal_set_first_day_of_week)
1013 	ZEND_FE(intlcal_set_lenient, arginfo_intlcal_set_lenient)
1014 	ZEND_FE(intlcal_get_repeated_wall_time_option, arginfo_intlcal_get_repeated_wall_time_option)
1015 	ZEND_FE(intlcal_equals, arginfo_intlcal_equals)
1016 	ZEND_FE(intlcal_get_skipped_wall_time_option, arginfo_intlcal_get_skipped_wall_time_option)
1017 	ZEND_FE(intlcal_set_repeated_wall_time_option, arginfo_intlcal_set_repeated_wall_time_option)
1018 	ZEND_FE(intlcal_set_skipped_wall_time_option, arginfo_intlcal_set_skipped_wall_time_option)
1019 	ZEND_FE(intlcal_from_date_time, arginfo_intlcal_from_date_time)
1020 	ZEND_FE(intlcal_to_date_time, arginfo_intlcal_to_date_time)
1021 	ZEND_FE(intlcal_get_error_code, arginfo_intlcal_get_error_code)
1022 	ZEND_FE(intlcal_get_error_message, arginfo_intlcal_get_error_message)
1023 	ZEND_RAW_FENTRY("intlgregcal_create_instance", zif_intlgregcal_create_instance, arginfo_intlgregcal_create_instance, ZEND_ACC_DEPRECATED, NULL, NULL)
1024 	ZEND_FE(intlgregcal_set_gregorian_change, arginfo_intlgregcal_set_gregorian_change)
1025 	ZEND_FE(intlgregcal_get_gregorian_change, arginfo_intlgregcal_get_gregorian_change)
1026 	ZEND_FE(intlgregcal_is_leap_year, arginfo_intlgregcal_is_leap_year)
1027 	ZEND_FE(collator_create, arginfo_collator_create)
1028 	ZEND_FE(collator_compare, arginfo_collator_compare)
1029 	ZEND_FE(collator_get_attribute, arginfo_collator_get_attribute)
1030 	ZEND_FE(collator_set_attribute, arginfo_collator_set_attribute)
1031 	ZEND_FE(collator_get_strength, arginfo_collator_get_strength)
1032 	ZEND_FE(collator_set_strength, arginfo_collator_set_strength)
1033 	ZEND_FE(collator_sort, arginfo_collator_sort)
1034 	ZEND_FE(collator_sort_with_sort_keys, arginfo_collator_sort_with_sort_keys)
1035 	ZEND_FE(collator_asort, arginfo_collator_asort)
1036 	ZEND_FE(collator_get_locale, arginfo_collator_get_locale)
1037 	ZEND_FE(collator_get_error_code, arginfo_collator_get_error_code)
1038 	ZEND_FE(collator_get_error_message, arginfo_collator_get_error_message)
1039 	ZEND_FE(collator_get_sort_key, arginfo_collator_get_sort_key)
1040 	ZEND_FE(intl_get_error_code, arginfo_intl_get_error_code)
1041 	ZEND_FE(intl_get_error_message, arginfo_intl_get_error_message)
1042 	ZEND_FE(intl_is_failure, arginfo_intl_is_failure)
1043 	ZEND_FE(intl_error_name, arginfo_intl_error_name)
1044 	ZEND_FE(datefmt_create, arginfo_datefmt_create)
1045 	ZEND_FE(datefmt_get_datetype, arginfo_datefmt_get_datetype)
1046 	ZEND_FE(datefmt_get_timetype, arginfo_datefmt_get_timetype)
1047 	ZEND_FE(datefmt_get_calendar, arginfo_datefmt_get_calendar)
1048 	ZEND_FE(datefmt_set_calendar, arginfo_datefmt_set_calendar)
1049 	ZEND_FE(datefmt_get_timezone_id, arginfo_datefmt_get_timezone_id)
1050 	ZEND_FE(datefmt_get_calendar_object, arginfo_datefmt_get_calendar_object)
1051 	ZEND_FE(datefmt_get_timezone, arginfo_datefmt_get_timezone)
1052 	ZEND_FE(datefmt_set_timezone, arginfo_datefmt_set_timezone)
1053 	ZEND_FE(datefmt_set_pattern, arginfo_datefmt_set_pattern)
1054 	ZEND_FE(datefmt_get_pattern, arginfo_datefmt_get_pattern)
1055 	ZEND_FE(datefmt_get_locale, arginfo_datefmt_get_locale)
1056 	ZEND_FE(datefmt_set_lenient, arginfo_datefmt_set_lenient)
1057 	ZEND_FE(datefmt_is_lenient, arginfo_datefmt_is_lenient)
1058 	ZEND_FE(datefmt_format, arginfo_datefmt_format)
1059 	ZEND_FE(datefmt_format_object, arginfo_datefmt_format_object)
1060 	ZEND_FE(datefmt_parse, arginfo_datefmt_parse)
1061 	ZEND_FE(datefmt_localtime, arginfo_datefmt_localtime)
1062 	ZEND_FE(datefmt_get_error_code, arginfo_datefmt_get_error_code)
1063 	ZEND_FE(datefmt_get_error_message, arginfo_datefmt_get_error_message)
1064 	ZEND_FE(numfmt_create, arginfo_numfmt_create)
1065 	ZEND_FE(numfmt_format, arginfo_numfmt_format)
1066 	ZEND_FE(numfmt_parse, arginfo_numfmt_parse)
1067 	ZEND_FE(numfmt_format_currency, arginfo_numfmt_format_currency)
1068 	ZEND_FE(numfmt_parse_currency, arginfo_numfmt_parse_currency)
1069 	ZEND_FE(numfmt_set_attribute, arginfo_numfmt_set_attribute)
1070 	ZEND_FE(numfmt_get_attribute, arginfo_numfmt_get_attribute)
1071 	ZEND_FE(numfmt_set_text_attribute, arginfo_numfmt_set_text_attribute)
1072 	ZEND_FE(numfmt_get_text_attribute, arginfo_numfmt_get_text_attribute)
1073 	ZEND_FE(numfmt_set_symbol, arginfo_numfmt_set_symbol)
1074 	ZEND_FE(numfmt_get_symbol, arginfo_numfmt_get_symbol)
1075 	ZEND_FE(numfmt_set_pattern, arginfo_numfmt_set_pattern)
1076 	ZEND_FE(numfmt_get_pattern, arginfo_numfmt_get_pattern)
1077 	ZEND_FE(numfmt_get_locale, arginfo_numfmt_get_locale)
1078 	ZEND_FE(numfmt_get_error_code, arginfo_numfmt_get_error_code)
1079 	ZEND_FE(numfmt_get_error_message, arginfo_numfmt_get_error_message)
1080 	ZEND_FE(grapheme_strlen, arginfo_grapheme_strlen)
1081 	ZEND_FE(grapheme_strpos, arginfo_grapheme_strpos)
1082 	ZEND_FE(grapheme_stripos, arginfo_grapheme_stripos)
1083 	ZEND_FE(grapheme_strrpos, arginfo_grapheme_strrpos)
1084 	ZEND_FE(grapheme_strripos, arginfo_grapheme_strripos)
1085 	ZEND_FE(grapheme_substr, arginfo_grapheme_substr)
1086 	ZEND_FE(grapheme_strstr, arginfo_grapheme_strstr)
1087 	ZEND_FE(grapheme_stristr, arginfo_grapheme_stristr)
1088 	ZEND_FE(grapheme_str_split, arginfo_grapheme_str_split)
1089 	ZEND_FE(grapheme_extract, arginfo_grapheme_extract)
1090 	ZEND_FE(idn_to_ascii, arginfo_idn_to_ascii)
1091 	ZEND_FE(idn_to_utf8, arginfo_idn_to_utf8)
1092 	ZEND_FE(locale_get_default, arginfo_locale_get_default)
1093 	ZEND_FE(locale_set_default, arginfo_locale_set_default)
1094 	ZEND_FE(locale_get_primary_language, arginfo_locale_get_primary_language)
1095 	ZEND_FE(locale_get_script, arginfo_locale_get_script)
1096 	ZEND_FE(locale_get_region, arginfo_locale_get_region)
1097 	ZEND_FE(locale_get_keywords, arginfo_locale_get_keywords)
1098 	ZEND_FE(locale_get_display_script, arginfo_locale_get_display_script)
1099 	ZEND_FE(locale_get_display_region, arginfo_locale_get_display_region)
1100 	ZEND_FE(locale_get_display_name, arginfo_locale_get_display_name)
1101 	ZEND_FE(locale_get_display_language, arginfo_locale_get_display_language)
1102 	ZEND_FE(locale_get_display_variant, arginfo_locale_get_display_variant)
1103 	ZEND_FE(locale_compose, arginfo_locale_compose)
1104 	ZEND_FE(locale_parse, arginfo_locale_parse)
1105 	ZEND_FE(locale_get_all_variants, arginfo_locale_get_all_variants)
1106 	ZEND_FE(locale_filter_matches, arginfo_locale_filter_matches)
1107 	ZEND_FE(locale_canonicalize, arginfo_locale_canonicalize)
1108 	ZEND_FE(locale_lookup, arginfo_locale_lookup)
1109 	ZEND_FE(locale_accept_from_http, arginfo_locale_accept_from_http)
1110 	ZEND_FE(msgfmt_create, arginfo_msgfmt_create)
1111 	ZEND_FE(msgfmt_format, arginfo_msgfmt_format)
1112 	ZEND_FE(msgfmt_format_message, arginfo_msgfmt_format_message)
1113 	ZEND_FE(msgfmt_parse, arginfo_msgfmt_parse)
1114 	ZEND_FE(msgfmt_parse_message, arginfo_msgfmt_parse_message)
1115 	ZEND_FE(msgfmt_set_pattern, arginfo_msgfmt_set_pattern)
1116 	ZEND_FE(msgfmt_get_pattern, arginfo_msgfmt_get_pattern)
1117 	ZEND_FE(msgfmt_get_locale, arginfo_msgfmt_get_locale)
1118 	ZEND_FE(msgfmt_get_error_code, arginfo_msgfmt_get_error_code)
1119 	ZEND_FE(msgfmt_get_error_message, arginfo_msgfmt_get_error_message)
1120 	ZEND_FE(normalizer_normalize, arginfo_normalizer_normalize)
1121 	ZEND_FE(normalizer_is_normalized, arginfo_normalizer_is_normalized)
1122 	ZEND_FE(normalizer_get_raw_decomposition, arginfo_normalizer_get_raw_decomposition)
1123 	ZEND_FE(resourcebundle_create, arginfo_resourcebundle_create)
1124 	ZEND_FE(resourcebundle_get, arginfo_resourcebundle_get)
1125 	ZEND_FE(resourcebundle_count, arginfo_resourcebundle_count)
1126 	ZEND_FE(resourcebundle_locales, arginfo_resourcebundle_locales)
1127 	ZEND_FE(resourcebundle_get_error_code, arginfo_resourcebundle_get_error_code)
1128 	ZEND_FE(resourcebundle_get_error_message, arginfo_resourcebundle_get_error_message)
1129 	ZEND_FE(intltz_count_equivalent_ids, arginfo_intltz_count_equivalent_ids)
1130 	ZEND_FE(intltz_create_default, arginfo_intltz_create_default)
1131 	ZEND_FE(intltz_create_enumeration, arginfo_intltz_create_enumeration)
1132 	ZEND_FE(intltz_create_time_zone, arginfo_intltz_create_time_zone)
1133 	ZEND_FE(intltz_create_time_zone_id_enumeration, arginfo_intltz_create_time_zone_id_enumeration)
1134 	ZEND_FE(intltz_from_date_time_zone, arginfo_intltz_from_date_time_zone)
1135 	ZEND_FE(intltz_get_canonical_id, arginfo_intltz_get_canonical_id)
1136 	ZEND_FE(intltz_get_display_name, arginfo_intltz_get_display_name)
1137 	ZEND_FE(intltz_get_dst_savings, arginfo_intltz_get_dst_savings)
1138 	ZEND_FE(intltz_get_equivalent_id, arginfo_intltz_get_equivalent_id)
1139 	ZEND_FE(intltz_get_error_code, arginfo_intltz_get_error_code)
1140 	ZEND_FE(intltz_get_error_message, arginfo_intltz_get_error_message)
1141 	ZEND_FE(intltz_get_gmt, arginfo_intltz_get_gmt)
1142 	ZEND_FE(intltz_get_id, arginfo_intltz_get_id)
1143 	ZEND_FE(intltz_get_offset, arginfo_intltz_get_offset)
1144 	ZEND_FE(intltz_get_raw_offset, arginfo_intltz_get_raw_offset)
1145 	ZEND_FE(intltz_get_region, arginfo_intltz_get_region)
1146 	ZEND_FE(intltz_get_tz_data_version, arginfo_intltz_get_tz_data_version)
1147 	ZEND_FE(intltz_get_unknown, arginfo_intltz_get_unknown)
1148 	ZEND_FE(intltz_get_windows_id, arginfo_intltz_get_windows_id)
1149 	ZEND_FE(intltz_get_id_for_windows_id, arginfo_intltz_get_id_for_windows_id)
1150 	ZEND_FE(intltz_has_same_rules, arginfo_intltz_has_same_rules)
1151 	ZEND_FE(intltz_to_date_time_zone, arginfo_intltz_to_date_time_zone)
1152 	ZEND_FE(intltz_use_daylight_time, arginfo_intltz_use_daylight_time)
1153 #if U_ICU_VERSION_MAJOR_NUM >= 74
1154 	ZEND_FE(intltz_get_iana_id, arginfo_intltz_get_iana_id)
1155 #endif
1156 	ZEND_FE(transliterator_create, arginfo_transliterator_create)
1157 	ZEND_FE(transliterator_create_from_rules, arginfo_transliterator_create_from_rules)
1158 	ZEND_FE(transliterator_list_ids, arginfo_transliterator_list_ids)
1159 	ZEND_FE(transliterator_create_inverse, arginfo_transliterator_create_inverse)
1160 	ZEND_FE(transliterator_transliterate, arginfo_transliterator_transliterate)
1161 	ZEND_FE(transliterator_get_error_code, arginfo_transliterator_get_error_code)
1162 	ZEND_FE(transliterator_get_error_message, arginfo_transliterator_get_error_message)
1163 	ZEND_FE_END
1164 };
1165 
register_php_intl_symbols(int module_number)1166 static void register_php_intl_symbols(int module_number)
1167 {
1168 	REGISTER_LONG_CONSTANT("INTL_MAX_LOCALE_LEN", INTL_MAX_LOCALE_LEN, CONST_PERSISTENT);
1169 	REGISTER_STRING_CONSTANT("INTL_ICU_VERSION", U_ICU_VERSION, CONST_PERSISTENT);
1170 #if defined(U_ICU_DATA_VERSION)
1171 	REGISTER_STRING_CONSTANT("INTL_ICU_DATA_VERSION", U_ICU_DATA_VERSION, CONST_PERSISTENT);
1172 #endif
1173 	REGISTER_LONG_CONSTANT("GRAPHEME_EXTR_COUNT", GRAPHEME_EXTRACT_TYPE_COUNT, CONST_PERSISTENT);
1174 	REGISTER_LONG_CONSTANT("GRAPHEME_EXTR_MAXBYTES", GRAPHEME_EXTRACT_TYPE_MAXBYTES, CONST_PERSISTENT);
1175 	REGISTER_LONG_CONSTANT("GRAPHEME_EXTR_MAXCHARS", GRAPHEME_EXTRACT_TYPE_MAXCHARS, CONST_PERSISTENT);
1176 	REGISTER_LONG_CONSTANT("IDNA_DEFAULT", UIDNA_DEFAULT, CONST_PERSISTENT);
1177 	REGISTER_LONG_CONSTANT("IDNA_ALLOW_UNASSIGNED", UIDNA_ALLOW_UNASSIGNED, CONST_PERSISTENT);
1178 	REGISTER_LONG_CONSTANT("IDNA_USE_STD3_RULES", UIDNA_USE_STD3_RULES, CONST_PERSISTENT);
1179 	REGISTER_LONG_CONSTANT("IDNA_CHECK_BIDI", UIDNA_CHECK_BIDI, CONST_PERSISTENT);
1180 	REGISTER_LONG_CONSTANT("IDNA_CHECK_CONTEXTJ", UIDNA_CHECK_CONTEXTJ, CONST_PERSISTENT);
1181 	REGISTER_LONG_CONSTANT("IDNA_NONTRANSITIONAL_TO_ASCII", UIDNA_NONTRANSITIONAL_TO_ASCII, CONST_PERSISTENT);
1182 	REGISTER_LONG_CONSTANT("IDNA_NONTRANSITIONAL_TO_UNICODE", UIDNA_NONTRANSITIONAL_TO_UNICODE, CONST_PERSISTENT);
1183 	REGISTER_LONG_CONSTANT("INTL_IDNA_VARIANT_UTS46", INTL_IDN_VARIANT_UTS46, CONST_PERSISTENT);
1184 	REGISTER_LONG_CONSTANT("IDNA_ERROR_EMPTY_LABEL", UIDNA_ERROR_EMPTY_LABEL, CONST_PERSISTENT);
1185 	REGISTER_LONG_CONSTANT("IDNA_ERROR_LABEL_TOO_LONG", UIDNA_ERROR_LABEL_TOO_LONG, CONST_PERSISTENT);
1186 	REGISTER_LONG_CONSTANT("IDNA_ERROR_DOMAIN_NAME_TOO_LONG", UIDNA_ERROR_DOMAIN_NAME_TOO_LONG, CONST_PERSISTENT);
1187 	REGISTER_LONG_CONSTANT("IDNA_ERROR_LEADING_HYPHEN", UIDNA_ERROR_LEADING_HYPHEN, CONST_PERSISTENT);
1188 	REGISTER_LONG_CONSTANT("IDNA_ERROR_TRAILING_HYPHEN", UIDNA_ERROR_TRAILING_HYPHEN, CONST_PERSISTENT);
1189 	REGISTER_LONG_CONSTANT("IDNA_ERROR_HYPHEN_3_4", UIDNA_ERROR_HYPHEN_3_4, CONST_PERSISTENT);
1190 	REGISTER_LONG_CONSTANT("IDNA_ERROR_LEADING_COMBINING_MARK", UIDNA_ERROR_LEADING_COMBINING_MARK, CONST_PERSISTENT);
1191 	REGISTER_LONG_CONSTANT("IDNA_ERROR_DISALLOWED", UIDNA_ERROR_DISALLOWED, CONST_PERSISTENT);
1192 	REGISTER_LONG_CONSTANT("IDNA_ERROR_PUNYCODE", UIDNA_ERROR_PUNYCODE, CONST_PERSISTENT);
1193 	REGISTER_LONG_CONSTANT("IDNA_ERROR_LABEL_HAS_DOT", UIDNA_ERROR_LABEL_HAS_DOT, CONST_PERSISTENT);
1194 	REGISTER_LONG_CONSTANT("IDNA_ERROR_INVALID_ACE_LABEL", UIDNA_ERROR_INVALID_ACE_LABEL, CONST_PERSISTENT);
1195 	REGISTER_LONG_CONSTANT("IDNA_ERROR_BIDI", UIDNA_ERROR_BIDI, CONST_PERSISTENT);
1196 	REGISTER_LONG_CONSTANT("IDNA_ERROR_CONTEXTJ", UIDNA_ERROR_CONTEXTJ, CONST_PERSISTENT);
1197 
1198 
1199 	zend_attribute *attribute_Deprecated_func_intlcal_set_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "intlcal_set", sizeof("intlcal_set") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1200 	zval attribute_Deprecated_func_intlcal_set_0_arg0;
1201 	zend_string *attribute_Deprecated_func_intlcal_set_0_arg0_str = zend_string_init("8.4", strlen("8.4"), 1);
1202 	ZVAL_STR(&attribute_Deprecated_func_intlcal_set_0_arg0, attribute_Deprecated_func_intlcal_set_0_arg0_str);
1203 	ZVAL_COPY_VALUE(&attribute_Deprecated_func_intlcal_set_0->args[0].value, &attribute_Deprecated_func_intlcal_set_0_arg0);
1204 	attribute_Deprecated_func_intlcal_set_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1205 	zval attribute_Deprecated_func_intlcal_set_0_arg1;
1206 	zend_string *attribute_Deprecated_func_intlcal_set_0_arg1_str = zend_string_init("use IntlCalendar::set(), IntlCalendar::setDate(), or IntlCalendar::setDateTime() instead", strlen("use IntlCalendar::set(), IntlCalendar::setDate(), or IntlCalendar::setDateTime() instead"), 1);
1207 	ZVAL_STR(&attribute_Deprecated_func_intlcal_set_0_arg1, attribute_Deprecated_func_intlcal_set_0_arg1_str);
1208 	ZVAL_COPY_VALUE(&attribute_Deprecated_func_intlcal_set_0->args[1].value, &attribute_Deprecated_func_intlcal_set_0_arg1);
1209 	attribute_Deprecated_func_intlcal_set_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1210 
1211 	zend_attribute *attribute_Deprecated_func_intlgregcal_create_instance_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "intlgregcal_create_instance", sizeof("intlgregcal_create_instance") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1212 	zval attribute_Deprecated_func_intlgregcal_create_instance_0_arg0;
1213 	zend_string *attribute_Deprecated_func_intlgregcal_create_instance_0_arg0_str = zend_string_init("8.4", strlen("8.4"), 1);
1214 	ZVAL_STR(&attribute_Deprecated_func_intlgregcal_create_instance_0_arg0, attribute_Deprecated_func_intlgregcal_create_instance_0_arg0_str);
1215 	ZVAL_COPY_VALUE(&attribute_Deprecated_func_intlgregcal_create_instance_0->args[0].value, &attribute_Deprecated_func_intlgregcal_create_instance_0_arg0);
1216 	attribute_Deprecated_func_intlgregcal_create_instance_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1217 	zval attribute_Deprecated_func_intlgregcal_create_instance_0_arg1;
1218 	zend_string *attribute_Deprecated_func_intlgregcal_create_instance_0_arg1_str = zend_string_init("use IntlGregorianCalendar::__construct(), IntlGregorianCalendar::createFromDate(), or IntlGregorianCalendar::createFromDateTime() instead", strlen("use IntlGregorianCalendar::__construct(), IntlGregorianCalendar::createFromDate(), or IntlGregorianCalendar::createFromDateTime() instead"), 1);
1219 	ZVAL_STR(&attribute_Deprecated_func_intlgregcal_create_instance_0_arg1, attribute_Deprecated_func_intlgregcal_create_instance_0_arg1_str);
1220 	ZVAL_COPY_VALUE(&attribute_Deprecated_func_intlgregcal_create_instance_0->args[1].value, &attribute_Deprecated_func_intlgregcal_create_instance_0_arg1);
1221 	attribute_Deprecated_func_intlgregcal_create_instance_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1222 }
1223 
register_class_IntlException(zend_class_entry * class_entry_Exception)1224 static zend_class_entry *register_class_IntlException(zend_class_entry *class_entry_Exception)
1225 {
1226 	zend_class_entry ce, *class_entry;
1227 
1228 	INIT_CLASS_ENTRY(ce, "IntlException", NULL);
1229 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Exception, 0);
1230 
1231 	return class_entry;
1232 }
1233