1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 7008d442eba36e2bc468cc4a7a30eb859d10c07d */
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_BOOL, 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_BOOL, 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_BOOL, 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_BOOL, 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_BOOL, 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_BOOL, 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_BOOL, 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, 1)
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_extract, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
488 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
489 ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
490 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "GRAPHEME_EXTR_COUNT")
491 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
492 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, next, "null")
493 ZEND_END_ARG_INFO()
494
495 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_idn_to_ascii, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
496 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
497 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "IDNA_DEFAULT")
498 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, variant, IS_LONG, 0, "INTL_IDNA_VARIANT_UTS46")
499 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, idna_info, "null")
500 ZEND_END_ARG_INFO()
501
502 #define arginfo_idn_to_utf8 arginfo_idn_to_ascii
503
504 #define arginfo_locale_get_default arginfo_intl_get_error_message
505
506 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_locale_set_default, 0, 1, _IS_BOOL, 0)
507 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
508 ZEND_END_ARG_INFO()
509
510 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_locale_get_primary_language, 0, 1, IS_STRING, 1)
511 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
512 ZEND_END_ARG_INFO()
513
514 #define arginfo_locale_get_script arginfo_locale_get_primary_language
515
516 #define arginfo_locale_get_region arginfo_locale_get_primary_language
517
518 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_locale_get_keywords, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE|MAY_BE_NULL)
519 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
520 ZEND_END_ARG_INFO()
521
522 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_locale_get_display_script, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
523 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
524 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, displayLocale, IS_STRING, 1, "null")
525 ZEND_END_ARG_INFO()
526
527 #define arginfo_locale_get_display_region arginfo_locale_get_display_script
528
529 #define arginfo_locale_get_display_name arginfo_locale_get_display_script
530
531 #define arginfo_locale_get_display_language arginfo_locale_get_display_script
532
533 #define arginfo_locale_get_display_variant arginfo_locale_get_display_script
534
535 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_locale_compose, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
536 ZEND_ARG_TYPE_INFO(0, subtags, IS_ARRAY, 0)
537 ZEND_END_ARG_INFO()
538
539 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_locale_parse, 0, 1, IS_ARRAY, 1)
540 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
541 ZEND_END_ARG_INFO()
542
543 #define arginfo_locale_get_all_variants arginfo_locale_parse
544
545 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_locale_filter_matches, 0, 2, _IS_BOOL, 1)
546 ZEND_ARG_TYPE_INFO(0, languageTag, IS_STRING, 0)
547 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
548 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, canonicalize, _IS_BOOL, 0, "false")
549 ZEND_END_ARG_INFO()
550
551 #define arginfo_locale_canonicalize arginfo_locale_get_primary_language
552
553 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_locale_lookup, 0, 2, IS_STRING, 1)
554 ZEND_ARG_TYPE_INFO(0, languageTag, IS_ARRAY, 0)
555 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
556 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, canonicalize, _IS_BOOL, 0, "false")
557 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, defaultLocale, IS_STRING, 1, "null")
558 ZEND_END_ARG_INFO()
559
560 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_locale_accept_from_http, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
561 ZEND_ARG_TYPE_INFO(0, header, IS_STRING, 0)
562 ZEND_END_ARG_INFO()
563
564 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_msgfmt_create, 0, 2, MessageFormatter, 1)
565 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
566 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
567 ZEND_END_ARG_INFO()
568
569 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_msgfmt_format, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
570 ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
571 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
572 ZEND_END_ARG_INFO()
573
574 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_msgfmt_format_message, 0, 3, MAY_BE_STRING|MAY_BE_FALSE)
575 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
576 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
577 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
578 ZEND_END_ARG_INFO()
579
580 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_msgfmt_parse, 0, 2, MAY_BE_ARRAY|MAY_BE_FALSE)
581 ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
582 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
583 ZEND_END_ARG_INFO()
584
585 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_msgfmt_parse_message, 0, 3, MAY_BE_ARRAY|MAY_BE_FALSE)
586 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
587 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
588 ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
589 ZEND_END_ARG_INFO()
590
591 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_msgfmt_set_pattern, 0, 2, _IS_BOOL, 0)
592 ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
593 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
594 ZEND_END_ARG_INFO()
595
596 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_msgfmt_get_pattern, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
597 ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
598 ZEND_END_ARG_INFO()
599
600 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_msgfmt_get_locale, 0, 1, IS_STRING, 0)
601 ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
602 ZEND_END_ARG_INFO()
603
604 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_msgfmt_get_error_code, 0, 1, IS_LONG, 0)
605 ZEND_ARG_OBJ_INFO(0, formatter, MessageFormatter, 0)
606 ZEND_END_ARG_INFO()
607
608 #define arginfo_msgfmt_get_error_message arginfo_msgfmt_get_locale
609
610 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_normalizer_normalize, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
611 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
612 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, form, IS_LONG, 0, "Normalizer::FORM_C")
613 ZEND_END_ARG_INFO()
614
615 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_normalizer_is_normalized, 0, 1, _IS_BOOL, 0)
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 #if U_ICU_VERSION_MAJOR_NUM >= 56
621 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_normalizer_get_raw_decomposition, 0, 1, IS_STRING, 1)
622 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
623 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, form, IS_LONG, 0, "Normalizer::FORM_C")
624 ZEND_END_ARG_INFO()
625 #endif
626
627 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_resourcebundle_create, 0, 2, ResourceBundle, 1)
628 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 1)
629 ZEND_ARG_TYPE_INFO(0, bundle, IS_STRING, 1)
630 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fallback, _IS_BOOL, 0, "true")
631 ZEND_END_ARG_INFO()
632
633 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_resourcebundle_get, 0, 2, IS_MIXED, 0)
634 ZEND_ARG_OBJ_INFO(0, bundle, ResourceBundle, 0)
635 ZEND_ARG_INFO(0, index)
636 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fallback, _IS_BOOL, 0, "true")
637 ZEND_END_ARG_INFO()
638
639 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_resourcebundle_count, 0, 1, IS_LONG, 0)
640 ZEND_ARG_OBJ_INFO(0, bundle, ResourceBundle, 0)
641 ZEND_END_ARG_INFO()
642
643 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_resourcebundle_locales, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
644 ZEND_ARG_TYPE_INFO(0, bundle, IS_STRING, 0)
645 ZEND_END_ARG_INFO()
646
647 #define arginfo_resourcebundle_get_error_code arginfo_resourcebundle_count
648
649 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_resourcebundle_get_error_message, 0, 1, IS_STRING, 0)
650 ZEND_ARG_OBJ_INFO(0, bundle, ResourceBundle, 0)
651 ZEND_END_ARG_INFO()
652
653 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_count_equivalent_ids, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
654 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
655 ZEND_END_ARG_INFO()
656
657 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_intltz_create_default, 0, 0, IntlTimeZone, 0)
658 ZEND_END_ARG_INFO()
659
660 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_intltz_create_enumeration, 0, 0, IntlIterator, MAY_BE_FALSE)
661 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, countryOrRawOffset, "null")
662 ZEND_END_ARG_INFO()
663
664 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_intltz_create_time_zone, 0, 1, IntlTimeZone, 1)
665 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
666 ZEND_END_ARG_INFO()
667
668 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_intltz_create_time_zone_id_enumeration, 0, 1, IntlIterator, MAY_BE_FALSE)
669 ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
670 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, region, IS_STRING, 1, "null")
671 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, rawOffset, IS_LONG, 1, "null")
672 ZEND_END_ARG_INFO()
673
674 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_intltz_from_date_time_zone, 0, 1, IntlTimeZone, 1)
675 ZEND_ARG_OBJ_INFO(0, timezone, DateTimeZone, 0)
676 ZEND_END_ARG_INFO()
677
678 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_canonical_id, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
679 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
680 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, isSystemId, "null")
681 ZEND_END_ARG_INFO()
682
683 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_display_name, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
684 ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
685 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, dst, _IS_BOOL, 0, "false")
686 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, style, IS_LONG, 0, "IntlTimeZone::DISPLAY_LONG")
687 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null")
688 ZEND_END_ARG_INFO()
689
690 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intltz_get_dst_savings, 0, 1, IS_LONG, 0)
691 ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
692 ZEND_END_ARG_INFO()
693
694 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_equivalent_id, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
695 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
696 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
697 ZEND_END_ARG_INFO()
698
699 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_error_code, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
700 ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
701 ZEND_END_ARG_INFO()
702
703 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_error_message, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
704 ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
705 ZEND_END_ARG_INFO()
706
707 #define arginfo_intltz_get_gmt arginfo_intltz_create_default
708
709 #define arginfo_intltz_get_id arginfo_intltz_get_error_message
710
711 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intltz_get_offset, 0, 5, _IS_BOOL, 0)
712 ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
713 ZEND_ARG_TYPE_INFO(0, timestamp, IS_DOUBLE, 0)
714 ZEND_ARG_TYPE_INFO(0, local, _IS_BOOL, 0)
715 ZEND_ARG_INFO(1, rawOffset)
716 ZEND_ARG_INFO(1, dstOffset)
717 ZEND_END_ARG_INFO()
718
719 #define arginfo_intltz_get_raw_offset arginfo_intltz_get_dst_savings
720
721 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_region, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
722 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
723 ZEND_END_ARG_INFO()
724
725 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_tz_data_version, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
726 ZEND_END_ARG_INFO()
727
728 #define arginfo_intltz_get_unknown arginfo_intltz_create_default
729
730 #if U_ICU_VERSION_MAJOR_NUM >= 52
731 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_windows_id, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
732 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
733 ZEND_END_ARG_INFO()
734 #endif
735
736 #if U_ICU_VERSION_MAJOR_NUM >= 52
737 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intltz_get_id_for_windows_id, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
738 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
739 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, region, IS_STRING, 1, "null")
740 ZEND_END_ARG_INFO()
741 #endif
742
743 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intltz_has_same_rules, 0, 2, _IS_BOOL, 0)
744 ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
745 ZEND_ARG_OBJ_INFO(0, other, IntlTimeZone, 0)
746 ZEND_END_ARG_INFO()
747
748 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_intltz_to_date_time_zone, 0, 1, DateTimeZone, MAY_BE_FALSE)
749 ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
750 ZEND_END_ARG_INFO()
751
752 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intltz_use_daylight_time, 0, 1, _IS_BOOL, 0)
753 ZEND_ARG_OBJ_INFO(0, timezone, IntlTimeZone, 0)
754 ZEND_END_ARG_INFO()
755
756 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_transliterator_create, 0, 1, Transliterator, 1)
757 ZEND_ARG_TYPE_INFO(0, id, IS_STRING, 0)
758 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, direction, IS_LONG, 0, "Transliterator::FORWARD")
759 ZEND_END_ARG_INFO()
760
761 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_transliterator_create_from_rules, 0, 1, Transliterator, 1)
762 ZEND_ARG_TYPE_INFO(0, rules, IS_STRING, 0)
763 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, direction, IS_LONG, 0, "Transliterator::FORWARD")
764 ZEND_END_ARG_INFO()
765
766 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_transliterator_list_ids, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
767 ZEND_END_ARG_INFO()
768
769 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_transliterator_create_inverse, 0, 1, Transliterator, 1)
770 ZEND_ARG_OBJ_INFO(0, transliterator, Transliterator, 0)
771 ZEND_END_ARG_INFO()
772
773 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_transliterator_transliterate, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
774 ZEND_ARG_OBJ_TYPE_MASK(0, transliterator, Transliterator, MAY_BE_STRING, NULL)
775 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
776 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, start, IS_LONG, 0, "0")
777 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, end, IS_LONG, 0, "-1")
778 ZEND_END_ARG_INFO()
779
780 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_transliterator_get_error_code, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
781 ZEND_ARG_OBJ_INFO(0, transliterator, Transliterator, 0)
782 ZEND_END_ARG_INFO()
783
784 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_transliterator_get_error_message, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
785 ZEND_ARG_OBJ_INFO(0, transliterator, Transliterator, 0)
786 ZEND_END_ARG_INFO()
787
788
789 ZEND_FUNCTION(intlcal_create_instance);
790 ZEND_FUNCTION(intlcal_get_keyword_values_for_locale);
791 ZEND_FUNCTION(intlcal_get_now);
792 ZEND_FUNCTION(intlcal_get_available_locales);
793 ZEND_FUNCTION(intlcal_get);
794 ZEND_FUNCTION(intlcal_get_time);
795 ZEND_FUNCTION(intlcal_set_time);
796 ZEND_FUNCTION(intlcal_add);
797 ZEND_FUNCTION(intlcal_set_time_zone);
798 ZEND_FUNCTION(intlcal_after);
799 ZEND_FUNCTION(intlcal_before);
800 ZEND_FUNCTION(intlcal_set);
801 ZEND_FUNCTION(intlcal_roll);
802 ZEND_FUNCTION(intlcal_clear);
803 ZEND_FUNCTION(intlcal_field_difference);
804 ZEND_FUNCTION(intlcal_get_actual_maximum);
805 ZEND_FUNCTION(intlcal_get_actual_minimum);
806 ZEND_FUNCTION(intlcal_get_day_of_week_type);
807 ZEND_FUNCTION(intlcal_get_first_day_of_week);
808 ZEND_FUNCTION(intlcal_get_least_maximum);
809 ZEND_FUNCTION(intlcal_get_greatest_minimum);
810 ZEND_FUNCTION(intlcal_get_locale);
811 ZEND_FUNCTION(intlcal_get_maximum);
812 ZEND_FUNCTION(intlcal_get_minimal_days_in_first_week);
813 ZEND_FUNCTION(intlcal_set_minimal_days_in_first_week);
814 ZEND_FUNCTION(intlcal_get_minimum);
815 ZEND_FUNCTION(intlcal_get_time_zone);
816 ZEND_FUNCTION(intlcal_get_type);
817 ZEND_FUNCTION(intlcal_get_weekend_transition);
818 ZEND_FUNCTION(intlcal_in_daylight_time);
819 ZEND_FUNCTION(intlcal_is_lenient);
820 ZEND_FUNCTION(intlcal_is_set);
821 ZEND_FUNCTION(intlcal_is_equivalent_to);
822 ZEND_FUNCTION(intlcal_is_weekend);
823 ZEND_FUNCTION(intlcal_set_first_day_of_week);
824 ZEND_FUNCTION(intlcal_set_lenient);
825 ZEND_FUNCTION(intlcal_get_repeated_wall_time_option);
826 ZEND_FUNCTION(intlcal_equals);
827 ZEND_FUNCTION(intlcal_get_skipped_wall_time_option);
828 ZEND_FUNCTION(intlcal_set_repeated_wall_time_option);
829 ZEND_FUNCTION(intlcal_set_skipped_wall_time_option);
830 ZEND_FUNCTION(intlcal_from_date_time);
831 ZEND_FUNCTION(intlcal_to_date_time);
832 ZEND_FUNCTION(intlcal_get_error_code);
833 ZEND_FUNCTION(intlcal_get_error_message);
834 ZEND_FUNCTION(intlgregcal_create_instance);
835 ZEND_FUNCTION(intlgregcal_set_gregorian_change);
836 ZEND_FUNCTION(intlgregcal_get_gregorian_change);
837 ZEND_FUNCTION(intlgregcal_is_leap_year);
838 ZEND_FUNCTION(collator_create);
839 ZEND_FUNCTION(collator_compare);
840 ZEND_FUNCTION(collator_get_attribute);
841 ZEND_FUNCTION(collator_set_attribute);
842 ZEND_FUNCTION(collator_get_strength);
843 ZEND_FUNCTION(collator_set_strength);
844 ZEND_FUNCTION(collator_sort);
845 ZEND_FUNCTION(collator_sort_with_sort_keys);
846 ZEND_FUNCTION(collator_asort);
847 ZEND_FUNCTION(collator_get_locale);
848 ZEND_FUNCTION(collator_get_error_code);
849 ZEND_FUNCTION(collator_get_error_message);
850 ZEND_FUNCTION(collator_get_sort_key);
851 ZEND_FUNCTION(intl_get_error_code);
852 ZEND_FUNCTION(intl_get_error_message);
853 ZEND_FUNCTION(intl_is_failure);
854 ZEND_FUNCTION(intl_error_name);
855 ZEND_FUNCTION(datefmt_create);
856 ZEND_FUNCTION(datefmt_get_datetype);
857 ZEND_FUNCTION(datefmt_get_timetype);
858 ZEND_FUNCTION(datefmt_get_calendar);
859 ZEND_FUNCTION(datefmt_set_calendar);
860 ZEND_FUNCTION(datefmt_get_timezone_id);
861 ZEND_FUNCTION(datefmt_get_calendar_object);
862 ZEND_FUNCTION(datefmt_get_timezone);
863 ZEND_FUNCTION(datefmt_set_timezone);
864 ZEND_FUNCTION(datefmt_set_pattern);
865 ZEND_FUNCTION(datefmt_get_pattern);
866 ZEND_FUNCTION(datefmt_get_locale);
867 ZEND_FUNCTION(datefmt_set_lenient);
868 ZEND_FUNCTION(datefmt_is_lenient);
869 ZEND_FUNCTION(datefmt_format);
870 ZEND_FUNCTION(datefmt_format_object);
871 ZEND_FUNCTION(datefmt_parse);
872 ZEND_FUNCTION(datefmt_localtime);
873 ZEND_FUNCTION(datefmt_get_error_code);
874 ZEND_FUNCTION(datefmt_get_error_message);
875 ZEND_FUNCTION(numfmt_create);
876 ZEND_FUNCTION(numfmt_format);
877 ZEND_FUNCTION(numfmt_parse);
878 ZEND_FUNCTION(numfmt_format_currency);
879 ZEND_FUNCTION(numfmt_parse_currency);
880 ZEND_FUNCTION(numfmt_set_attribute);
881 ZEND_FUNCTION(numfmt_get_attribute);
882 ZEND_FUNCTION(numfmt_set_text_attribute);
883 ZEND_FUNCTION(numfmt_get_text_attribute);
884 ZEND_FUNCTION(numfmt_set_symbol);
885 ZEND_FUNCTION(numfmt_get_symbol);
886 ZEND_FUNCTION(numfmt_set_pattern);
887 ZEND_FUNCTION(numfmt_get_pattern);
888 ZEND_FUNCTION(numfmt_get_locale);
889 ZEND_FUNCTION(numfmt_get_error_code);
890 ZEND_FUNCTION(numfmt_get_error_message);
891 ZEND_FUNCTION(grapheme_strlen);
892 ZEND_FUNCTION(grapheme_strpos);
893 ZEND_FUNCTION(grapheme_stripos);
894 ZEND_FUNCTION(grapheme_strrpos);
895 ZEND_FUNCTION(grapheme_strripos);
896 ZEND_FUNCTION(grapheme_substr);
897 ZEND_FUNCTION(grapheme_strstr);
898 ZEND_FUNCTION(grapheme_stristr);
899 ZEND_FUNCTION(grapheme_extract);
900 ZEND_FUNCTION(idn_to_ascii);
901 ZEND_FUNCTION(idn_to_utf8);
902 ZEND_FUNCTION(locale_get_default);
903 ZEND_FUNCTION(locale_set_default);
904 ZEND_FUNCTION(locale_get_primary_language);
905 ZEND_FUNCTION(locale_get_script);
906 ZEND_FUNCTION(locale_get_region);
907 ZEND_FUNCTION(locale_get_keywords);
908 ZEND_FUNCTION(locale_get_display_script);
909 ZEND_FUNCTION(locale_get_display_region);
910 ZEND_FUNCTION(locale_get_display_name);
911 ZEND_FUNCTION(locale_get_display_language);
912 ZEND_FUNCTION(locale_get_display_variant);
913 ZEND_FUNCTION(locale_compose);
914 ZEND_FUNCTION(locale_parse);
915 ZEND_FUNCTION(locale_get_all_variants);
916 ZEND_FUNCTION(locale_filter_matches);
917 ZEND_FUNCTION(locale_canonicalize);
918 ZEND_FUNCTION(locale_lookup);
919 ZEND_FUNCTION(locale_accept_from_http);
920 ZEND_FUNCTION(msgfmt_create);
921 ZEND_FUNCTION(msgfmt_format);
922 ZEND_FUNCTION(msgfmt_format_message);
923 ZEND_FUNCTION(msgfmt_parse);
924 ZEND_FUNCTION(msgfmt_parse_message);
925 ZEND_FUNCTION(msgfmt_set_pattern);
926 ZEND_FUNCTION(msgfmt_get_pattern);
927 ZEND_FUNCTION(msgfmt_get_locale);
928 ZEND_FUNCTION(msgfmt_get_error_code);
929 ZEND_FUNCTION(msgfmt_get_error_message);
930 ZEND_FUNCTION(normalizer_normalize);
931 ZEND_FUNCTION(normalizer_is_normalized);
932 #if U_ICU_VERSION_MAJOR_NUM >= 56
933 ZEND_FUNCTION(normalizer_get_raw_decomposition);
934 #endif
935 ZEND_FUNCTION(resourcebundle_create);
936 ZEND_FUNCTION(resourcebundle_get);
937 ZEND_FUNCTION(resourcebundle_count);
938 ZEND_FUNCTION(resourcebundle_locales);
939 ZEND_FUNCTION(resourcebundle_get_error_code);
940 ZEND_FUNCTION(resourcebundle_get_error_message);
941 ZEND_FUNCTION(intltz_count_equivalent_ids);
942 ZEND_FUNCTION(intltz_create_default);
943 ZEND_FUNCTION(intltz_create_enumeration);
944 ZEND_FUNCTION(intltz_create_time_zone);
945 ZEND_FUNCTION(intltz_create_time_zone_id_enumeration);
946 ZEND_FUNCTION(intltz_from_date_time_zone);
947 ZEND_FUNCTION(intltz_get_canonical_id);
948 ZEND_FUNCTION(intltz_get_display_name);
949 ZEND_FUNCTION(intltz_get_dst_savings);
950 ZEND_FUNCTION(intltz_get_equivalent_id);
951 ZEND_FUNCTION(intltz_get_error_code);
952 ZEND_FUNCTION(intltz_get_error_message);
953 ZEND_FUNCTION(intltz_get_gmt);
954 ZEND_FUNCTION(intltz_get_id);
955 ZEND_FUNCTION(intltz_get_offset);
956 ZEND_FUNCTION(intltz_get_raw_offset);
957 ZEND_FUNCTION(intltz_get_region);
958 ZEND_FUNCTION(intltz_get_tz_data_version);
959 ZEND_FUNCTION(intltz_get_unknown);
960 #if U_ICU_VERSION_MAJOR_NUM >= 52
961 ZEND_FUNCTION(intltz_get_windows_id);
962 #endif
963 #if U_ICU_VERSION_MAJOR_NUM >= 52
964 ZEND_FUNCTION(intltz_get_id_for_windows_id);
965 #endif
966 ZEND_FUNCTION(intltz_has_same_rules);
967 ZEND_FUNCTION(intltz_to_date_time_zone);
968 ZEND_FUNCTION(intltz_use_daylight_time);
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
978 static const zend_function_entry ext_functions[] = {
979 ZEND_FE(intlcal_create_instance, arginfo_intlcal_create_instance)
980 ZEND_FE(intlcal_get_keyword_values_for_locale, arginfo_intlcal_get_keyword_values_for_locale)
981 ZEND_FE(intlcal_get_now, arginfo_intlcal_get_now)
982 ZEND_FE(intlcal_get_available_locales, arginfo_intlcal_get_available_locales)
983 ZEND_FE(intlcal_get, arginfo_intlcal_get)
984 ZEND_FE(intlcal_get_time, arginfo_intlcal_get_time)
985 ZEND_FE(intlcal_set_time, arginfo_intlcal_set_time)
986 ZEND_FE(intlcal_add, arginfo_intlcal_add)
987 ZEND_FE(intlcal_set_time_zone, arginfo_intlcal_set_time_zone)
988 ZEND_FE(intlcal_after, arginfo_intlcal_after)
989 ZEND_FE(intlcal_before, arginfo_intlcal_before)
990 ZEND_FE(intlcal_set, arginfo_intlcal_set)
991 ZEND_FE(intlcal_roll, arginfo_intlcal_roll)
992 ZEND_FE(intlcal_clear, arginfo_intlcal_clear)
993 ZEND_FE(intlcal_field_difference, arginfo_intlcal_field_difference)
994 ZEND_FE(intlcal_get_actual_maximum, arginfo_intlcal_get_actual_maximum)
995 ZEND_FE(intlcal_get_actual_minimum, arginfo_intlcal_get_actual_minimum)
996 ZEND_FE(intlcal_get_day_of_week_type, arginfo_intlcal_get_day_of_week_type)
997 ZEND_FE(intlcal_get_first_day_of_week, arginfo_intlcal_get_first_day_of_week)
998 ZEND_FE(intlcal_get_least_maximum, arginfo_intlcal_get_least_maximum)
999 ZEND_FE(intlcal_get_greatest_minimum, arginfo_intlcal_get_greatest_minimum)
1000 ZEND_FE(intlcal_get_locale, arginfo_intlcal_get_locale)
1001 ZEND_FE(intlcal_get_maximum, arginfo_intlcal_get_maximum)
1002 ZEND_FE(intlcal_get_minimal_days_in_first_week, arginfo_intlcal_get_minimal_days_in_first_week)
1003 ZEND_FE(intlcal_set_minimal_days_in_first_week, arginfo_intlcal_set_minimal_days_in_first_week)
1004 ZEND_FE(intlcal_get_minimum, arginfo_intlcal_get_minimum)
1005 ZEND_FE(intlcal_get_time_zone, arginfo_intlcal_get_time_zone)
1006 ZEND_FE(intlcal_get_type, arginfo_intlcal_get_type)
1007 ZEND_FE(intlcal_get_weekend_transition, arginfo_intlcal_get_weekend_transition)
1008 ZEND_FE(intlcal_in_daylight_time, arginfo_intlcal_in_daylight_time)
1009 ZEND_FE(intlcal_is_lenient, arginfo_intlcal_is_lenient)
1010 ZEND_FE(intlcal_is_set, arginfo_intlcal_is_set)
1011 ZEND_FE(intlcal_is_equivalent_to, arginfo_intlcal_is_equivalent_to)
1012 ZEND_FE(intlcal_is_weekend, arginfo_intlcal_is_weekend)
1013 ZEND_FE(intlcal_set_first_day_of_week, arginfo_intlcal_set_first_day_of_week)
1014 ZEND_FE(intlcal_set_lenient, arginfo_intlcal_set_lenient)
1015 ZEND_FE(intlcal_get_repeated_wall_time_option, arginfo_intlcal_get_repeated_wall_time_option)
1016 ZEND_FE(intlcal_equals, arginfo_intlcal_equals)
1017 ZEND_FE(intlcal_get_skipped_wall_time_option, arginfo_intlcal_get_skipped_wall_time_option)
1018 ZEND_FE(intlcal_set_repeated_wall_time_option, arginfo_intlcal_set_repeated_wall_time_option)
1019 ZEND_FE(intlcal_set_skipped_wall_time_option, arginfo_intlcal_set_skipped_wall_time_option)
1020 ZEND_FE(intlcal_from_date_time, arginfo_intlcal_from_date_time)
1021 ZEND_FE(intlcal_to_date_time, arginfo_intlcal_to_date_time)
1022 ZEND_FE(intlcal_get_error_code, arginfo_intlcal_get_error_code)
1023 ZEND_FE(intlcal_get_error_message, arginfo_intlcal_get_error_message)
1024 ZEND_FE(intlgregcal_create_instance, arginfo_intlgregcal_create_instance)
1025 ZEND_FE(intlgregcal_set_gregorian_change, arginfo_intlgregcal_set_gregorian_change)
1026 ZEND_FE(intlgregcal_get_gregorian_change, arginfo_intlgregcal_get_gregorian_change)
1027 ZEND_FE(intlgregcal_is_leap_year, arginfo_intlgregcal_is_leap_year)
1028 ZEND_FE(collator_create, arginfo_collator_create)
1029 ZEND_FE(collator_compare, arginfo_collator_compare)
1030 ZEND_FE(collator_get_attribute, arginfo_collator_get_attribute)
1031 ZEND_FE(collator_set_attribute, arginfo_collator_set_attribute)
1032 ZEND_FE(collator_get_strength, arginfo_collator_get_strength)
1033 ZEND_FE(collator_set_strength, arginfo_collator_set_strength)
1034 ZEND_FE(collator_sort, arginfo_collator_sort)
1035 ZEND_FE(collator_sort_with_sort_keys, arginfo_collator_sort_with_sort_keys)
1036 ZEND_FE(collator_asort, arginfo_collator_asort)
1037 ZEND_FE(collator_get_locale, arginfo_collator_get_locale)
1038 ZEND_FE(collator_get_error_code, arginfo_collator_get_error_code)
1039 ZEND_FE(collator_get_error_message, arginfo_collator_get_error_message)
1040 ZEND_FE(collator_get_sort_key, arginfo_collator_get_sort_key)
1041 ZEND_FE(intl_get_error_code, arginfo_intl_get_error_code)
1042 ZEND_FE(intl_get_error_message, arginfo_intl_get_error_message)
1043 ZEND_FE(intl_is_failure, arginfo_intl_is_failure)
1044 ZEND_FE(intl_error_name, arginfo_intl_error_name)
1045 ZEND_FE(datefmt_create, arginfo_datefmt_create)
1046 ZEND_FE(datefmt_get_datetype, arginfo_datefmt_get_datetype)
1047 ZEND_FE(datefmt_get_timetype, arginfo_datefmt_get_timetype)
1048 ZEND_FE(datefmt_get_calendar, arginfo_datefmt_get_calendar)
1049 ZEND_FE(datefmt_set_calendar, arginfo_datefmt_set_calendar)
1050 ZEND_FE(datefmt_get_timezone_id, arginfo_datefmt_get_timezone_id)
1051 ZEND_FE(datefmt_get_calendar_object, arginfo_datefmt_get_calendar_object)
1052 ZEND_FE(datefmt_get_timezone, arginfo_datefmt_get_timezone)
1053 ZEND_FE(datefmt_set_timezone, arginfo_datefmt_set_timezone)
1054 ZEND_FE(datefmt_set_pattern, arginfo_datefmt_set_pattern)
1055 ZEND_FE(datefmt_get_pattern, arginfo_datefmt_get_pattern)
1056 ZEND_FE(datefmt_get_locale, arginfo_datefmt_get_locale)
1057 ZEND_FE(datefmt_set_lenient, arginfo_datefmt_set_lenient)
1058 ZEND_FE(datefmt_is_lenient, arginfo_datefmt_is_lenient)
1059 ZEND_FE(datefmt_format, arginfo_datefmt_format)
1060 ZEND_FE(datefmt_format_object, arginfo_datefmt_format_object)
1061 ZEND_FE(datefmt_parse, arginfo_datefmt_parse)
1062 ZEND_FE(datefmt_localtime, arginfo_datefmt_localtime)
1063 ZEND_FE(datefmt_get_error_code, arginfo_datefmt_get_error_code)
1064 ZEND_FE(datefmt_get_error_message, arginfo_datefmt_get_error_message)
1065 ZEND_FE(numfmt_create, arginfo_numfmt_create)
1066 ZEND_FE(numfmt_format, arginfo_numfmt_format)
1067 ZEND_FE(numfmt_parse, arginfo_numfmt_parse)
1068 ZEND_FE(numfmt_format_currency, arginfo_numfmt_format_currency)
1069 ZEND_FE(numfmt_parse_currency, arginfo_numfmt_parse_currency)
1070 ZEND_FE(numfmt_set_attribute, arginfo_numfmt_set_attribute)
1071 ZEND_FE(numfmt_get_attribute, arginfo_numfmt_get_attribute)
1072 ZEND_FE(numfmt_set_text_attribute, arginfo_numfmt_set_text_attribute)
1073 ZEND_FE(numfmt_get_text_attribute, arginfo_numfmt_get_text_attribute)
1074 ZEND_FE(numfmt_set_symbol, arginfo_numfmt_set_symbol)
1075 ZEND_FE(numfmt_get_symbol, arginfo_numfmt_get_symbol)
1076 ZEND_FE(numfmt_set_pattern, arginfo_numfmt_set_pattern)
1077 ZEND_FE(numfmt_get_pattern, arginfo_numfmt_get_pattern)
1078 ZEND_FE(numfmt_get_locale, arginfo_numfmt_get_locale)
1079 ZEND_FE(numfmt_get_error_code, arginfo_numfmt_get_error_code)
1080 ZEND_FE(numfmt_get_error_message, arginfo_numfmt_get_error_message)
1081 ZEND_FE(grapheme_strlen, arginfo_grapheme_strlen)
1082 ZEND_FE(grapheme_strpos, arginfo_grapheme_strpos)
1083 ZEND_FE(grapheme_stripos, arginfo_grapheme_stripos)
1084 ZEND_FE(grapheme_strrpos, arginfo_grapheme_strrpos)
1085 ZEND_FE(grapheme_strripos, arginfo_grapheme_strripos)
1086 ZEND_FE(grapheme_substr, arginfo_grapheme_substr)
1087 ZEND_FE(grapheme_strstr, arginfo_grapheme_strstr)
1088 ZEND_FE(grapheme_stristr, arginfo_grapheme_stristr)
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 #if U_ICU_VERSION_MAJOR_NUM >= 56
1123 ZEND_FE(normalizer_get_raw_decomposition, arginfo_normalizer_get_raw_decomposition)
1124 #endif
1125 ZEND_FE(resourcebundle_create, arginfo_resourcebundle_create)
1126 ZEND_FE(resourcebundle_get, arginfo_resourcebundle_get)
1127 ZEND_FE(resourcebundle_count, arginfo_resourcebundle_count)
1128 ZEND_FE(resourcebundle_locales, arginfo_resourcebundle_locales)
1129 ZEND_FE(resourcebundle_get_error_code, arginfo_resourcebundle_get_error_code)
1130 ZEND_FE(resourcebundle_get_error_message, arginfo_resourcebundle_get_error_message)
1131 ZEND_FE(intltz_count_equivalent_ids, arginfo_intltz_count_equivalent_ids)
1132 ZEND_FE(intltz_create_default, arginfo_intltz_create_default)
1133 ZEND_FE(intltz_create_enumeration, arginfo_intltz_create_enumeration)
1134 ZEND_FE(intltz_create_time_zone, arginfo_intltz_create_time_zone)
1135 ZEND_FE(intltz_create_time_zone_id_enumeration, arginfo_intltz_create_time_zone_id_enumeration)
1136 ZEND_FE(intltz_from_date_time_zone, arginfo_intltz_from_date_time_zone)
1137 ZEND_FE(intltz_get_canonical_id, arginfo_intltz_get_canonical_id)
1138 ZEND_FE(intltz_get_display_name, arginfo_intltz_get_display_name)
1139 ZEND_FE(intltz_get_dst_savings, arginfo_intltz_get_dst_savings)
1140 ZEND_FE(intltz_get_equivalent_id, arginfo_intltz_get_equivalent_id)
1141 ZEND_FE(intltz_get_error_code, arginfo_intltz_get_error_code)
1142 ZEND_FE(intltz_get_error_message, arginfo_intltz_get_error_message)
1143 ZEND_FE(intltz_get_gmt, arginfo_intltz_get_gmt)
1144 ZEND_FE(intltz_get_id, arginfo_intltz_get_id)
1145 ZEND_FE(intltz_get_offset, arginfo_intltz_get_offset)
1146 ZEND_FE(intltz_get_raw_offset, arginfo_intltz_get_raw_offset)
1147 ZEND_FE(intltz_get_region, arginfo_intltz_get_region)
1148 ZEND_FE(intltz_get_tz_data_version, arginfo_intltz_get_tz_data_version)
1149 ZEND_FE(intltz_get_unknown, arginfo_intltz_get_unknown)
1150 #if U_ICU_VERSION_MAJOR_NUM >= 52
1151 ZEND_FE(intltz_get_windows_id, arginfo_intltz_get_windows_id)
1152 #endif
1153 #if U_ICU_VERSION_MAJOR_NUM >= 52
1154 ZEND_FE(intltz_get_id_for_windows_id, arginfo_intltz_get_id_for_windows_id)
1155 #endif
1156 ZEND_FE(intltz_has_same_rules, arginfo_intltz_has_same_rules)
1157 ZEND_FE(intltz_to_date_time_zone, arginfo_intltz_to_date_time_zone)
1158 ZEND_FE(intltz_use_daylight_time, arginfo_intltz_use_daylight_time)
1159 ZEND_FE(transliterator_create, arginfo_transliterator_create)
1160 ZEND_FE(transliterator_create_from_rules, arginfo_transliterator_create_from_rules)
1161 ZEND_FE(transliterator_list_ids, arginfo_transliterator_list_ids)
1162 ZEND_FE(transliterator_create_inverse, arginfo_transliterator_create_inverse)
1163 ZEND_FE(transliterator_transliterate, arginfo_transliterator_transliterate)
1164 ZEND_FE(transliterator_get_error_code, arginfo_transliterator_get_error_code)
1165 ZEND_FE(transliterator_get_error_message, arginfo_transliterator_get_error_message)
1166 ZEND_FE_END
1167 };
1168
1169
1170 static const zend_function_entry class_IntlException_methods[] = {
1171 ZEND_FE_END
1172 };
1173
register_php_intl_symbols(int module_number)1174 static void register_php_intl_symbols(int module_number)
1175 {
1176 REGISTER_LONG_CONSTANT("INTL_MAX_LOCALE_LEN", INTL_MAX_LOCALE_LEN, CONST_PERSISTENT);
1177 REGISTER_STRING_CONSTANT("INTL_ICU_VERSION", U_ICU_VERSION, CONST_PERSISTENT);
1178 #if defined(U_ICU_DATA_VERSION)
1179 REGISTER_STRING_CONSTANT("INTL_ICU_DATA_VERSION", U_ICU_DATA_VERSION, CONST_PERSISTENT);
1180 #endif
1181 REGISTER_LONG_CONSTANT("GRAPHEME_EXTR_COUNT", GRAPHEME_EXTRACT_TYPE_COUNT, CONST_PERSISTENT);
1182 REGISTER_LONG_CONSTANT("GRAPHEME_EXTR_MAXBYTES", GRAPHEME_EXTRACT_TYPE_MAXBYTES, CONST_PERSISTENT);
1183 REGISTER_LONG_CONSTANT("GRAPHEME_EXTR_MAXCHARS", GRAPHEME_EXTRACT_TYPE_MAXCHARS, CONST_PERSISTENT);
1184 REGISTER_LONG_CONSTANT("IDNA_DEFAULT", UIDNA_DEFAULT, CONST_PERSISTENT);
1185 REGISTER_LONG_CONSTANT("IDNA_ALLOW_UNASSIGNED", UIDNA_ALLOW_UNASSIGNED, CONST_PERSISTENT);
1186 REGISTER_LONG_CONSTANT("IDNA_USE_STD3_RULES", UIDNA_USE_STD3_RULES, CONST_PERSISTENT);
1187 REGISTER_LONG_CONSTANT("IDNA_CHECK_BIDI", UIDNA_CHECK_BIDI, CONST_PERSISTENT);
1188 REGISTER_LONG_CONSTANT("IDNA_CHECK_CONTEXTJ", UIDNA_CHECK_CONTEXTJ, CONST_PERSISTENT);
1189 REGISTER_LONG_CONSTANT("IDNA_NONTRANSITIONAL_TO_ASCII", UIDNA_NONTRANSITIONAL_TO_ASCII, CONST_PERSISTENT);
1190 REGISTER_LONG_CONSTANT("IDNA_NONTRANSITIONAL_TO_UNICODE", UIDNA_NONTRANSITIONAL_TO_UNICODE, CONST_PERSISTENT);
1191 REGISTER_LONG_CONSTANT("INTL_IDNA_VARIANT_UTS46", INTL_IDN_VARIANT_UTS46, CONST_PERSISTENT);
1192 REGISTER_LONG_CONSTANT("IDNA_ERROR_EMPTY_LABEL", UIDNA_ERROR_EMPTY_LABEL, CONST_PERSISTENT);
1193 REGISTER_LONG_CONSTANT("IDNA_ERROR_LABEL_TOO_LONG", UIDNA_ERROR_LABEL_TOO_LONG, CONST_PERSISTENT);
1194 REGISTER_LONG_CONSTANT("IDNA_ERROR_DOMAIN_NAME_TOO_LONG", UIDNA_ERROR_DOMAIN_NAME_TOO_LONG, CONST_PERSISTENT);
1195 REGISTER_LONG_CONSTANT("IDNA_ERROR_LEADING_HYPHEN", UIDNA_ERROR_LEADING_HYPHEN, CONST_PERSISTENT);
1196 REGISTER_LONG_CONSTANT("IDNA_ERROR_TRAILING_HYPHEN", UIDNA_ERROR_TRAILING_HYPHEN, CONST_PERSISTENT);
1197 REGISTER_LONG_CONSTANT("IDNA_ERROR_HYPHEN_3_4", UIDNA_ERROR_HYPHEN_3_4, CONST_PERSISTENT);
1198 REGISTER_LONG_CONSTANT("IDNA_ERROR_LEADING_COMBINING_MARK", UIDNA_ERROR_LEADING_COMBINING_MARK, CONST_PERSISTENT);
1199 REGISTER_LONG_CONSTANT("IDNA_ERROR_DISALLOWED", UIDNA_ERROR_DISALLOWED, CONST_PERSISTENT);
1200 REGISTER_LONG_CONSTANT("IDNA_ERROR_PUNYCODE", UIDNA_ERROR_PUNYCODE, CONST_PERSISTENT);
1201 REGISTER_LONG_CONSTANT("IDNA_ERROR_LABEL_HAS_DOT", UIDNA_ERROR_LABEL_HAS_DOT, CONST_PERSISTENT);
1202 REGISTER_LONG_CONSTANT("IDNA_ERROR_INVALID_ACE_LABEL", UIDNA_ERROR_INVALID_ACE_LABEL, CONST_PERSISTENT);
1203 REGISTER_LONG_CONSTANT("IDNA_ERROR_BIDI", UIDNA_ERROR_BIDI, CONST_PERSISTENT);
1204 REGISTER_LONG_CONSTANT("IDNA_ERROR_CONTEXTJ", UIDNA_ERROR_CONTEXTJ, CONST_PERSISTENT);
1205 }
1206
register_class_IntlException(zend_class_entry * class_entry_Exception)1207 static zend_class_entry *register_class_IntlException(zend_class_entry *class_entry_Exception)
1208 {
1209 zend_class_entry ce, *class_entry;
1210
1211 INIT_CLASS_ENTRY(ce, "IntlException", class_IntlException_methods);
1212 class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception);
1213
1214 return class_entry;
1215 }
1216