1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: cbf308f532d4a28da8a9cde94b726faba9d8c7a4 */
3 
4 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_IntlBreakIterator_createCharacterInstance, 0, 0, IntlBreakIterator, 1)
5 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null")
6 ZEND_END_ARG_INFO()
7 
8 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_IntlBreakIterator_createCodePointInstance, 0, 0, IntlCodePointBreakIterator, 0)
9 ZEND_END_ARG_INFO()
10 
11 #define arginfo_class_IntlBreakIterator_createLineInstance arginfo_class_IntlBreakIterator_createCharacterInstance
12 
13 #define arginfo_class_IntlBreakIterator_createSentenceInstance arginfo_class_IntlBreakIterator_createCharacterInstance
14 
15 #define arginfo_class_IntlBreakIterator_createTitleInstance arginfo_class_IntlBreakIterator_createCharacterInstance
16 
17 #define arginfo_class_IntlBreakIterator_createWordInstance arginfo_class_IntlBreakIterator_createCharacterInstance
18 
19 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlBreakIterator___construct, 0, 0, 0)
20 ZEND_END_ARG_INFO()
21 
22 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlBreakIterator_current, 0, 0, IS_LONG, 0)
23 ZEND_END_ARG_INFO()
24 
25 #define arginfo_class_IntlBreakIterator_first arginfo_class_IntlBreakIterator_current
26 
27 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlBreakIterator_following, 0, 1, IS_LONG, 0)
28 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
29 ZEND_END_ARG_INFO()
30 
31 #define arginfo_class_IntlBreakIterator_getErrorCode arginfo_class_IntlBreakIterator_current
32 
33 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlBreakIterator_getErrorMessage, 0, 0, IS_STRING, 0)
34 ZEND_END_ARG_INFO()
35 
36 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlBreakIterator_getLocale, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
37 	ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
38 ZEND_END_ARG_INFO()
39 
40 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_IntlBreakIterator_getPartsIterator, 0, 0, IntlPartsIterator, 0)
41 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_STRING, 0, "IntlPartsIterator::KEY_SEQUENTIAL")
42 ZEND_END_ARG_INFO()
43 
44 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlBreakIterator_getText, 0, 0, IS_STRING, 1)
45 ZEND_END_ARG_INFO()
46 
47 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlBreakIterator_isBoundary, 0, 1, _IS_BOOL, 0)
48 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
49 ZEND_END_ARG_INFO()
50 
51 #define arginfo_class_IntlBreakIterator_last arginfo_class_IntlBreakIterator_current
52 
53 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlBreakIterator_next, 0, 0, IS_LONG, 0)
54 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 1, "null")
55 ZEND_END_ARG_INFO()
56 
57 #define arginfo_class_IntlBreakIterator_preceding arginfo_class_IntlBreakIterator_following
58 
59 #define arginfo_class_IntlBreakIterator_previous arginfo_class_IntlBreakIterator_current
60 
61 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlBreakIterator_setText, 0, 1, _IS_BOOL, 0)
62 	ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0)
63 ZEND_END_ARG_INFO()
64 
65 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_IntlBreakIterator_getIterator, 0, 0, Iterator, 0)
66 ZEND_END_ARG_INFO()
67 
68 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlRuleBasedBreakIterator___construct, 0, 0, 1)
69 	ZEND_ARG_TYPE_INFO(0, rules, IS_STRING, 0)
70 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compiled, _IS_BOOL, 0, "false")
71 ZEND_END_ARG_INFO()
72 
73 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlRuleBasedBreakIterator_getBinaryRules, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
74 ZEND_END_ARG_INFO()
75 
76 #define arginfo_class_IntlRuleBasedBreakIterator_getRules arginfo_class_IntlRuleBasedBreakIterator_getBinaryRules
77 
78 #define arginfo_class_IntlRuleBasedBreakIterator_getRuleStatus arginfo_class_IntlBreakIterator_current
79 
80 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlRuleBasedBreakIterator_getRuleStatusVec, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
81 ZEND_END_ARG_INFO()
82 
83 #define arginfo_class_IntlCodePointBreakIterator_getLastCodePoint arginfo_class_IntlBreakIterator_current
84 
85 
86 ZEND_METHOD(IntlBreakIterator, createCharacterInstance);
87 ZEND_METHOD(IntlBreakIterator, createCodePointInstance);
88 ZEND_METHOD(IntlBreakIterator, createLineInstance);
89 ZEND_METHOD(IntlBreakIterator, createSentenceInstance);
90 ZEND_METHOD(IntlBreakIterator, createTitleInstance);
91 ZEND_METHOD(IntlBreakIterator, createWordInstance);
92 ZEND_METHOD(IntlBreakIterator, __construct);
93 ZEND_METHOD(IntlBreakIterator, current);
94 ZEND_METHOD(IntlBreakIterator, first);
95 ZEND_METHOD(IntlBreakIterator, following);
96 ZEND_METHOD(IntlBreakIterator, getErrorCode);
97 ZEND_METHOD(IntlBreakIterator, getErrorMessage);
98 ZEND_METHOD(IntlBreakIterator, getLocale);
99 ZEND_METHOD(IntlBreakIterator, getPartsIterator);
100 ZEND_METHOD(IntlBreakIterator, getText);
101 ZEND_METHOD(IntlBreakIterator, isBoundary);
102 ZEND_METHOD(IntlBreakIterator, last);
103 ZEND_METHOD(IntlBreakIterator, next);
104 ZEND_METHOD(IntlBreakIterator, preceding);
105 ZEND_METHOD(IntlBreakIterator, previous);
106 ZEND_METHOD(IntlBreakIterator, setText);
107 ZEND_METHOD(IntlBreakIterator, getIterator);
108 ZEND_METHOD(IntlRuleBasedBreakIterator, __construct);
109 ZEND_METHOD(IntlRuleBasedBreakIterator, getBinaryRules);
110 ZEND_METHOD(IntlRuleBasedBreakIterator, getRules);
111 ZEND_METHOD(IntlRuleBasedBreakIterator, getRuleStatus);
112 ZEND_METHOD(IntlRuleBasedBreakIterator, getRuleStatusVec);
113 ZEND_METHOD(IntlCodePointBreakIterator, getLastCodePoint);
114 
115 
116 static const zend_function_entry class_IntlBreakIterator_methods[] = {
117 	ZEND_ME(IntlBreakIterator, createCharacterInstance, arginfo_class_IntlBreakIterator_createCharacterInstance, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
118 	ZEND_ME(IntlBreakIterator, createCodePointInstance, arginfo_class_IntlBreakIterator_createCodePointInstance, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
119 	ZEND_ME(IntlBreakIterator, createLineInstance, arginfo_class_IntlBreakIterator_createLineInstance, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
120 	ZEND_ME(IntlBreakIterator, createSentenceInstance, arginfo_class_IntlBreakIterator_createSentenceInstance, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
121 	ZEND_ME(IntlBreakIterator, createTitleInstance, arginfo_class_IntlBreakIterator_createTitleInstance, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
122 	ZEND_ME(IntlBreakIterator, createWordInstance, arginfo_class_IntlBreakIterator_createWordInstance, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
123 	ZEND_ME(IntlBreakIterator, __construct, arginfo_class_IntlBreakIterator___construct, ZEND_ACC_PRIVATE)
124 	ZEND_ME(IntlBreakIterator, current, arginfo_class_IntlBreakIterator_current, ZEND_ACC_PUBLIC)
125 	ZEND_ME(IntlBreakIterator, first, arginfo_class_IntlBreakIterator_first, ZEND_ACC_PUBLIC)
126 	ZEND_ME(IntlBreakIterator, following, arginfo_class_IntlBreakIterator_following, ZEND_ACC_PUBLIC)
127 	ZEND_ME(IntlBreakIterator, getErrorCode, arginfo_class_IntlBreakIterator_getErrorCode, ZEND_ACC_PUBLIC)
128 	ZEND_ME(IntlBreakIterator, getErrorMessage, arginfo_class_IntlBreakIterator_getErrorMessage, ZEND_ACC_PUBLIC)
129 	ZEND_ME(IntlBreakIterator, getLocale, arginfo_class_IntlBreakIterator_getLocale, ZEND_ACC_PUBLIC)
130 	ZEND_ME(IntlBreakIterator, getPartsIterator, arginfo_class_IntlBreakIterator_getPartsIterator, ZEND_ACC_PUBLIC)
131 	ZEND_ME(IntlBreakIterator, getText, arginfo_class_IntlBreakIterator_getText, ZEND_ACC_PUBLIC)
132 	ZEND_ME(IntlBreakIterator, isBoundary, arginfo_class_IntlBreakIterator_isBoundary, ZEND_ACC_PUBLIC)
133 	ZEND_ME(IntlBreakIterator, last, arginfo_class_IntlBreakIterator_last, ZEND_ACC_PUBLIC)
134 	ZEND_ME(IntlBreakIterator, next, arginfo_class_IntlBreakIterator_next, ZEND_ACC_PUBLIC)
135 	ZEND_ME(IntlBreakIterator, preceding, arginfo_class_IntlBreakIterator_preceding, ZEND_ACC_PUBLIC)
136 	ZEND_ME(IntlBreakIterator, previous, arginfo_class_IntlBreakIterator_previous, ZEND_ACC_PUBLIC)
137 	ZEND_ME(IntlBreakIterator, setText, arginfo_class_IntlBreakIterator_setText, ZEND_ACC_PUBLIC)
138 	ZEND_ME(IntlBreakIterator, getIterator, arginfo_class_IntlBreakIterator_getIterator, ZEND_ACC_PUBLIC)
139 	ZEND_FE_END
140 };
141 
142 
143 static const zend_function_entry class_IntlRuleBasedBreakIterator_methods[] = {
144 	ZEND_ME(IntlRuleBasedBreakIterator, __construct, arginfo_class_IntlRuleBasedBreakIterator___construct, ZEND_ACC_PUBLIC)
145 	ZEND_ME(IntlRuleBasedBreakIterator, getBinaryRules, arginfo_class_IntlRuleBasedBreakIterator_getBinaryRules, ZEND_ACC_PUBLIC)
146 	ZEND_ME(IntlRuleBasedBreakIterator, getRules, arginfo_class_IntlRuleBasedBreakIterator_getRules, ZEND_ACC_PUBLIC)
147 	ZEND_ME(IntlRuleBasedBreakIterator, getRuleStatus, arginfo_class_IntlRuleBasedBreakIterator_getRuleStatus, ZEND_ACC_PUBLIC)
148 	ZEND_ME(IntlRuleBasedBreakIterator, getRuleStatusVec, arginfo_class_IntlRuleBasedBreakIterator_getRuleStatusVec, ZEND_ACC_PUBLIC)
149 	ZEND_FE_END
150 };
151 
152 
153 static const zend_function_entry class_IntlCodePointBreakIterator_methods[] = {
154 	ZEND_ME(IntlCodePointBreakIterator, getLastCodePoint, arginfo_class_IntlCodePointBreakIterator_getLastCodePoint, ZEND_ACC_PUBLIC)
155 	ZEND_FE_END
156 };
157 
register_class_IntlBreakIterator(zend_class_entry * class_entry_IteratorAggregate)158 static zend_class_entry *register_class_IntlBreakIterator(zend_class_entry *class_entry_IteratorAggregate)
159 {
160 	zend_class_entry ce, *class_entry;
161 
162 	INIT_CLASS_ENTRY(ce, "IntlBreakIterator", class_IntlBreakIterator_methods);
163 	class_entry = zend_register_internal_class_ex(&ce, NULL);
164 	class_entry->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE;
165 	zend_class_implements(class_entry, 1, class_entry_IteratorAggregate);
166 
167 	zval const_DONE_value;
168 	ZVAL_LONG(&const_DONE_value, BreakIterator::DONE);
169 	zend_string *const_DONE_name = zend_string_init_interned("DONE", sizeof("DONE") - 1, 1);
170 	zend_declare_class_constant_ex(class_entry, const_DONE_name, &const_DONE_value, ZEND_ACC_PUBLIC, NULL);
171 	zend_string_release(const_DONE_name);
172 
173 	zval const_WORD_NONE_value;
174 	ZVAL_LONG(&const_WORD_NONE_value, UBRK_WORD_NONE);
175 	zend_string *const_WORD_NONE_name = zend_string_init_interned("WORD_NONE", sizeof("WORD_NONE") - 1, 1);
176 	zend_declare_class_constant_ex(class_entry, const_WORD_NONE_name, &const_WORD_NONE_value, ZEND_ACC_PUBLIC, NULL);
177 	zend_string_release(const_WORD_NONE_name);
178 
179 	zval const_WORD_NONE_LIMIT_value;
180 	ZVAL_LONG(&const_WORD_NONE_LIMIT_value, UBRK_WORD_NONE_LIMIT);
181 	zend_string *const_WORD_NONE_LIMIT_name = zend_string_init_interned("WORD_NONE_LIMIT", sizeof("WORD_NONE_LIMIT") - 1, 1);
182 	zend_declare_class_constant_ex(class_entry, const_WORD_NONE_LIMIT_name, &const_WORD_NONE_LIMIT_value, ZEND_ACC_PUBLIC, NULL);
183 	zend_string_release(const_WORD_NONE_LIMIT_name);
184 
185 	zval const_WORD_NUMBER_value;
186 	ZVAL_LONG(&const_WORD_NUMBER_value, UBRK_WORD_NUMBER);
187 	zend_string *const_WORD_NUMBER_name = zend_string_init_interned("WORD_NUMBER", sizeof("WORD_NUMBER") - 1, 1);
188 	zend_declare_class_constant_ex(class_entry, const_WORD_NUMBER_name, &const_WORD_NUMBER_value, ZEND_ACC_PUBLIC, NULL);
189 	zend_string_release(const_WORD_NUMBER_name);
190 
191 	zval const_WORD_NUMBER_LIMIT_value;
192 	ZVAL_LONG(&const_WORD_NUMBER_LIMIT_value, UBRK_WORD_NUMBER_LIMIT);
193 	zend_string *const_WORD_NUMBER_LIMIT_name = zend_string_init_interned("WORD_NUMBER_LIMIT", sizeof("WORD_NUMBER_LIMIT") - 1, 1);
194 	zend_declare_class_constant_ex(class_entry, const_WORD_NUMBER_LIMIT_name, &const_WORD_NUMBER_LIMIT_value, ZEND_ACC_PUBLIC, NULL);
195 	zend_string_release(const_WORD_NUMBER_LIMIT_name);
196 
197 	zval const_WORD_LETTER_value;
198 	ZVAL_LONG(&const_WORD_LETTER_value, UBRK_WORD_LETTER);
199 	zend_string *const_WORD_LETTER_name = zend_string_init_interned("WORD_LETTER", sizeof("WORD_LETTER") - 1, 1);
200 	zend_declare_class_constant_ex(class_entry, const_WORD_LETTER_name, &const_WORD_LETTER_value, ZEND_ACC_PUBLIC, NULL);
201 	zend_string_release(const_WORD_LETTER_name);
202 
203 	zval const_WORD_LETTER_LIMIT_value;
204 	ZVAL_LONG(&const_WORD_LETTER_LIMIT_value, UBRK_WORD_LETTER_LIMIT);
205 	zend_string *const_WORD_LETTER_LIMIT_name = zend_string_init_interned("WORD_LETTER_LIMIT", sizeof("WORD_LETTER_LIMIT") - 1, 1);
206 	zend_declare_class_constant_ex(class_entry, const_WORD_LETTER_LIMIT_name, &const_WORD_LETTER_LIMIT_value, ZEND_ACC_PUBLIC, NULL);
207 	zend_string_release(const_WORD_LETTER_LIMIT_name);
208 
209 	zval const_WORD_KANA_value;
210 	ZVAL_LONG(&const_WORD_KANA_value, UBRK_WORD_KANA);
211 	zend_string *const_WORD_KANA_name = zend_string_init_interned("WORD_KANA", sizeof("WORD_KANA") - 1, 1);
212 	zend_declare_class_constant_ex(class_entry, const_WORD_KANA_name, &const_WORD_KANA_value, ZEND_ACC_PUBLIC, NULL);
213 	zend_string_release(const_WORD_KANA_name);
214 
215 	zval const_WORD_KANA_LIMIT_value;
216 	ZVAL_LONG(&const_WORD_KANA_LIMIT_value, UBRK_WORD_KANA_LIMIT);
217 	zend_string *const_WORD_KANA_LIMIT_name = zend_string_init_interned("WORD_KANA_LIMIT", sizeof("WORD_KANA_LIMIT") - 1, 1);
218 	zend_declare_class_constant_ex(class_entry, const_WORD_KANA_LIMIT_name, &const_WORD_KANA_LIMIT_value, ZEND_ACC_PUBLIC, NULL);
219 	zend_string_release(const_WORD_KANA_LIMIT_name);
220 
221 	zval const_WORD_IDEO_value;
222 	ZVAL_LONG(&const_WORD_IDEO_value, UBRK_WORD_IDEO);
223 	zend_string *const_WORD_IDEO_name = zend_string_init_interned("WORD_IDEO", sizeof("WORD_IDEO") - 1, 1);
224 	zend_declare_class_constant_ex(class_entry, const_WORD_IDEO_name, &const_WORD_IDEO_value, ZEND_ACC_PUBLIC, NULL);
225 	zend_string_release(const_WORD_IDEO_name);
226 
227 	zval const_WORD_IDEO_LIMIT_value;
228 	ZVAL_LONG(&const_WORD_IDEO_LIMIT_value, UBRK_WORD_IDEO_LIMIT);
229 	zend_string *const_WORD_IDEO_LIMIT_name = zend_string_init_interned("WORD_IDEO_LIMIT", sizeof("WORD_IDEO_LIMIT") - 1, 1);
230 	zend_declare_class_constant_ex(class_entry, const_WORD_IDEO_LIMIT_name, &const_WORD_IDEO_LIMIT_value, ZEND_ACC_PUBLIC, NULL);
231 	zend_string_release(const_WORD_IDEO_LIMIT_name);
232 
233 	zval const_LINE_SOFT_value;
234 	ZVAL_LONG(&const_LINE_SOFT_value, UBRK_LINE_SOFT);
235 	zend_string *const_LINE_SOFT_name = zend_string_init_interned("LINE_SOFT", sizeof("LINE_SOFT") - 1, 1);
236 	zend_declare_class_constant_ex(class_entry, const_LINE_SOFT_name, &const_LINE_SOFT_value, ZEND_ACC_PUBLIC, NULL);
237 	zend_string_release(const_LINE_SOFT_name);
238 
239 	zval const_LINE_SOFT_LIMIT_value;
240 	ZVAL_LONG(&const_LINE_SOFT_LIMIT_value, UBRK_LINE_SOFT_LIMIT);
241 	zend_string *const_LINE_SOFT_LIMIT_name = zend_string_init_interned("LINE_SOFT_LIMIT", sizeof("LINE_SOFT_LIMIT") - 1, 1);
242 	zend_declare_class_constant_ex(class_entry, const_LINE_SOFT_LIMIT_name, &const_LINE_SOFT_LIMIT_value, ZEND_ACC_PUBLIC, NULL);
243 	zend_string_release(const_LINE_SOFT_LIMIT_name);
244 
245 	zval const_LINE_HARD_value;
246 	ZVAL_LONG(&const_LINE_HARD_value, UBRK_LINE_HARD);
247 	zend_string *const_LINE_HARD_name = zend_string_init_interned("LINE_HARD", sizeof("LINE_HARD") - 1, 1);
248 	zend_declare_class_constant_ex(class_entry, const_LINE_HARD_name, &const_LINE_HARD_value, ZEND_ACC_PUBLIC, NULL);
249 	zend_string_release(const_LINE_HARD_name);
250 
251 	zval const_LINE_HARD_LIMIT_value;
252 	ZVAL_LONG(&const_LINE_HARD_LIMIT_value, UBRK_LINE_HARD_LIMIT);
253 	zend_string *const_LINE_HARD_LIMIT_name = zend_string_init_interned("LINE_HARD_LIMIT", sizeof("LINE_HARD_LIMIT") - 1, 1);
254 	zend_declare_class_constant_ex(class_entry, const_LINE_HARD_LIMIT_name, &const_LINE_HARD_LIMIT_value, ZEND_ACC_PUBLIC, NULL);
255 	zend_string_release(const_LINE_HARD_LIMIT_name);
256 
257 	zval const_SENTENCE_TERM_value;
258 	ZVAL_LONG(&const_SENTENCE_TERM_value, UBRK_SENTENCE_TERM);
259 	zend_string *const_SENTENCE_TERM_name = zend_string_init_interned("SENTENCE_TERM", sizeof("SENTENCE_TERM") - 1, 1);
260 	zend_declare_class_constant_ex(class_entry, const_SENTENCE_TERM_name, &const_SENTENCE_TERM_value, ZEND_ACC_PUBLIC, NULL);
261 	zend_string_release(const_SENTENCE_TERM_name);
262 
263 	zval const_SENTENCE_TERM_LIMIT_value;
264 	ZVAL_LONG(&const_SENTENCE_TERM_LIMIT_value, UBRK_SENTENCE_TERM_LIMIT);
265 	zend_string *const_SENTENCE_TERM_LIMIT_name = zend_string_init_interned("SENTENCE_TERM_LIMIT", sizeof("SENTENCE_TERM_LIMIT") - 1, 1);
266 	zend_declare_class_constant_ex(class_entry, const_SENTENCE_TERM_LIMIT_name, &const_SENTENCE_TERM_LIMIT_value, ZEND_ACC_PUBLIC, NULL);
267 	zend_string_release(const_SENTENCE_TERM_LIMIT_name);
268 
269 	zval const_SENTENCE_SEP_value;
270 	ZVAL_LONG(&const_SENTENCE_SEP_value, UBRK_SENTENCE_SEP);
271 	zend_string *const_SENTENCE_SEP_name = zend_string_init_interned("SENTENCE_SEP", sizeof("SENTENCE_SEP") - 1, 1);
272 	zend_declare_class_constant_ex(class_entry, const_SENTENCE_SEP_name, &const_SENTENCE_SEP_value, ZEND_ACC_PUBLIC, NULL);
273 	zend_string_release(const_SENTENCE_SEP_name);
274 
275 	zval const_SENTENCE_SEP_LIMIT_value;
276 	ZVAL_LONG(&const_SENTENCE_SEP_LIMIT_value, UBRK_SENTENCE_SEP_LIMIT);
277 	zend_string *const_SENTENCE_SEP_LIMIT_name = zend_string_init_interned("SENTENCE_SEP_LIMIT", sizeof("SENTENCE_SEP_LIMIT") - 1, 1);
278 	zend_declare_class_constant_ex(class_entry, const_SENTENCE_SEP_LIMIT_name, &const_SENTENCE_SEP_LIMIT_value, ZEND_ACC_PUBLIC, NULL);
279 	zend_string_release(const_SENTENCE_SEP_LIMIT_name);
280 
281 	return class_entry;
282 }
283 
register_class_IntlRuleBasedBreakIterator(zend_class_entry * class_entry_IntlBreakIterator)284 static zend_class_entry *register_class_IntlRuleBasedBreakIterator(zend_class_entry *class_entry_IntlBreakIterator)
285 {
286 	zend_class_entry ce, *class_entry;
287 
288 	INIT_CLASS_ENTRY(ce, "IntlRuleBasedBreakIterator", class_IntlRuleBasedBreakIterator_methods);
289 	class_entry = zend_register_internal_class_ex(&ce, class_entry_IntlBreakIterator);
290 	class_entry->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE;
291 
292 	return class_entry;
293 }
294 
register_class_IntlCodePointBreakIterator(zend_class_entry * class_entry_IntlBreakIterator)295 static zend_class_entry *register_class_IntlCodePointBreakIterator(zend_class_entry *class_entry_IntlBreakIterator)
296 {
297 	zend_class_entry ce, *class_entry;
298 
299 	INIT_CLASS_ENTRY(ce, "IntlCodePointBreakIterator", class_IntlCodePointBreakIterator_methods);
300 	class_entry = zend_register_internal_class_ex(&ce, class_entry_IntlBreakIterator);
301 	class_entry->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE;
302 
303 	return class_entry;
304 }
305