basic API docs
[awesomized/ext-ion] / ion_arginfo.h
1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: fd212a098afd1b87f56162838ed409653a9c7a69 */
3
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ion_serialize, 0, 1, IS_STRING, 0)
5 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
6 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, serializer, ion\\Serializer, 1, "null")
7 ZEND_END_ARG_INFO()
8
9 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ion_unserialize, 0, 1, IS_MIXED, 0)
10 ZEND_ARG_INFO(0, data)
11 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, unserializer, ion\\Unserializer, 1, "null")
12 ZEND_END_ARG_INFO()
13
14 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_ion_Symbol_Table_PHP, 0, 0, ion\\Symbol\\Table, 0)
15 ZEND_END_ARG_INFO()
16
17 #define arginfo_ion_Symbol_Table_System arginfo_ion_Symbol_Table_PHP
18
19 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Serializer_serialize, 0, 1, IS_STRING, 0)
20 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
21 ZEND_END_ARG_INFO()
22
23 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Unserializer_unserialize, 0, 1, IS_MIXED, 0)
24 ZEND_ARG_INFO(0, data)
25 ZEND_END_ARG_INFO()
26
27 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Symbol___construct, 0, 0, 0)
28 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
29 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, sid, IS_LONG, 0, "-1")
30 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, importLocation, ion\\Symbol\\ImportLocation, 1, "null")
31 ZEND_END_ARG_INFO()
32
33 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Symbol_equals, 0, 1, _IS_BOOL, 0)
34 ZEND_ARG_OBJ_INFO(0, symbol, ion\\Symbol, 0)
35 ZEND_END_ARG_INFO()
36
37 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Symbol___toString, 0, 0, IS_STRING, 0)
38 ZEND_END_ARG_INFO()
39
40 #define arginfo_class_ion_Symbol_toString arginfo_class_ion_Symbol___toString
41
42 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Catalog___construct, 0, 0, 0)
43 ZEND_END_ARG_INFO()
44
45 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Catalog_count, 0, 0, IS_LONG, 0)
46 ZEND_END_ARG_INFO()
47
48 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Catalog_add, 0, 1, IS_VOID, 0)
49 ZEND_ARG_OBJ_INFO(0, table, ion\\Symbol\\Table, 0)
50 ZEND_END_ARG_INFO()
51
52 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Catalog_remove, 0, 1, _IS_BOOL, 0)
53 ZEND_ARG_OBJ_TYPE_MASK(0, table, ion\\Symbol\\Table, MAY_BE_STRING, NULL)
54 ZEND_END_ARG_INFO()
55
56 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Catalog_find, 0, 1, ion\\Symbol\\Table, 1)
57 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
58 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, version, IS_LONG, 0, "0")
59 ZEND_END_ARG_INFO()
60
61 #define arginfo_class_ion_Catalog_findBest arginfo_class_ion_Catalog_find
62
63 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_LOB___construct, 0, 0, 1)
64 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
65 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, type, ion\\Type, 0, "ion\\Type::CLob")
66 ZEND_END_ARG_INFO()
67
68 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Decimal___construct, 0, 0, 1)
69 ZEND_ARG_TYPE_MASK(0, number, MAY_BE_STRING|MAY_BE_LONG, NULL)
70 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, context, ion\\Decimal\\Context, 1, "null")
71 ZEND_END_ARG_INFO()
72
73 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_equals, 0, 1, _IS_BOOL, 0)
74 ZEND_ARG_OBJ_INFO(0, decimal, ion\\Decimal, 0)
75 ZEND_END_ARG_INFO()
76
77 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_isInt, 0, 0, _IS_BOOL, 0)
78 ZEND_END_ARG_INFO()
79
80 #define arginfo_class_ion_Decimal___toString arginfo_class_ion_Symbol___toString
81
82 #define arginfo_class_ion_Decimal_toString arginfo_class_ion_Symbol___toString
83
84 #define arginfo_class_ion_Decimal_toInt arginfo_class_ion_Catalog_count
85
86 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Timestamp___construct, 0, 0, 1)
87 ZEND_ARG_OBJ_TYPE_MASK(0, precision, ion\\Timestamp\\Precision, MAY_BE_LONG, NULL)
88 ZEND_ARG_OBJ_TYPE_MASK(0, format, ion\\Timestamp\\Format, MAY_BE_STRING|MAY_BE_NULL, "null")
89 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime, IS_STRING, 1, "null")
90 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, timezone, DateTimeZone, 1, "null")
91 ZEND_END_ARG_INFO()
92
93 #define arginfo_class_ion_Timestamp___toString arginfo_class_ion_Symbol___toString
94
95 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getType, 0, 0, ion\\Type, 0)
96 ZEND_END_ARG_INFO()
97
98 #define arginfo_class_ion_Reader_hasAnnotations arginfo_class_ion_Decimal_isInt
99
100 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_hasAnnotation, 0, 1, _IS_BOOL, 0)
101 ZEND_ARG_TYPE_INFO(0, annotation, IS_STRING, 0)
102 ZEND_END_ARG_INFO()
103
104 #define arginfo_class_ion_Reader_isNull arginfo_class_ion_Decimal_isInt
105
106 #define arginfo_class_ion_Reader_isInStruct arginfo_class_ion_Decimal_isInt
107
108 #define arginfo_class_ion_Reader_getFieldName arginfo_class_ion_Symbol___toString
109
110 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getFieldNameSymbol, 0, 0, ion\\Symbol, 0)
111 ZEND_END_ARG_INFO()
112
113 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_getAnnotations, 0, 0, IS_ARRAY, 0)
114 ZEND_END_ARG_INFO()
115
116 #define arginfo_class_ion_Reader_getAnnotationSymbols arginfo_class_ion_Reader_getAnnotations
117
118 #define arginfo_class_ion_Reader_countAnnotations arginfo_class_ion_Catalog_count
119
120 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_getAnnotation, 0, 1, IS_STRING, 0)
121 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
122 ZEND_END_ARG_INFO()
123
124 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getAnnotationSymbol, 0, 1, ion\\Symbol, 0)
125 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
126 ZEND_END_ARG_INFO()
127
128 #define arginfo_class_ion_Reader_readNull arginfo_class_ion_Reader_getType
129
130 #define arginfo_class_ion_Reader_readBool arginfo_class_ion_Decimal_isInt
131
132 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_ion_Reader_readInt, 0, 0, MAY_BE_LONG|MAY_BE_STRING)
133 ZEND_END_ARG_INFO()
134
135 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_readFloat, 0, 0, IS_DOUBLE, 0)
136 ZEND_END_ARG_INFO()
137
138 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_readDecimal, 0, 0, ion\\Decimal, 0)
139 ZEND_END_ARG_INFO()
140
141 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_readTimestamp, 0, 0, ion\\Timestamp, 0)
142 ZEND_END_ARG_INFO()
143
144 #define arginfo_class_ion_Reader_readSymbol arginfo_class_ion_Reader_getFieldNameSymbol
145
146 #define arginfo_class_ion_Reader_readString arginfo_class_ion_Symbol___toString
147
148 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_readStringPart, 0, 1, _IS_BOOL, 0)
149 ZEND_ARG_INFO(1, string)
150 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "0x1000")
151 ZEND_END_ARG_INFO()
152
153 #define arginfo_class_ion_Reader_readLob arginfo_class_ion_Symbol___toString
154
155 #define arginfo_class_ion_Reader_readLobPart arginfo_class_ion_Reader_readStringPart
156
157 #define arginfo_class_ion_Reader_getPosition arginfo_class_ion_Catalog_count
158
159 #define arginfo_class_ion_Reader_getDepth arginfo_class_ion_Catalog_count
160
161 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_seek, 0, 1, IS_VOID, 0)
162 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
163 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "-1")
164 ZEND_END_ARG_INFO()
165
166 #define arginfo_class_ion_Reader_getValueOffset arginfo_class_ion_Catalog_count
167
168 #define arginfo_class_ion_Reader_getValueLength arginfo_class_ion_Catalog_count
169
170 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeNull, 0, 0, IS_VOID, 0)
171 ZEND_END_ARG_INFO()
172
173 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeTypedNull, 0, 1, IS_VOID, 0)
174 ZEND_ARG_OBJ_INFO(0, type, ion\\Type, 0)
175 ZEND_END_ARG_INFO()
176
177 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeBool, 0, 1, IS_VOID, 0)
178 ZEND_ARG_TYPE_INFO(0, value, _IS_BOOL, 0)
179 ZEND_END_ARG_INFO()
180
181 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeInt, 0, 1, IS_VOID, 0)
182 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_STRING, NULL)
183 ZEND_END_ARG_INFO()
184
185 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeFloat, 0, 1, IS_VOID, 0)
186 ZEND_ARG_TYPE_INFO(0, value, IS_DOUBLE, 0)
187 ZEND_END_ARG_INFO()
188
189 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeDecimal, 0, 1, IS_VOID, 0)
190 ZEND_ARG_OBJ_TYPE_MASK(0, value, ion\\Decimal, MAY_BE_STRING, NULL)
191 ZEND_END_ARG_INFO()
192
193 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeTimestamp, 0, 1, IS_VOID, 0)
194 ZEND_ARG_OBJ_TYPE_MASK(0, value, ion\\Timestamp, MAY_BE_STRING, NULL)
195 ZEND_END_ARG_INFO()
196
197 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeSymbol, 0, 1, IS_VOID, 0)
198 ZEND_ARG_OBJ_TYPE_MASK(0, value, ion\\Symbol, MAY_BE_STRING, NULL)
199 ZEND_END_ARG_INFO()
200
201 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeString, 0, 1, IS_VOID, 0)
202 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
203 ZEND_END_ARG_INFO()
204
205 #define arginfo_class_ion_Writer_writeCLob arginfo_class_ion_Writer_writeString
206
207 #define arginfo_class_ion_Writer_writeBLob arginfo_class_ion_Writer_writeString
208
209 #define arginfo_class_ion_Writer_startLob arginfo_class_ion_Writer_writeTypedNull
210
211 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_appendLob, 0, 1, IS_VOID, 0)
212 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
213 ZEND_END_ARG_INFO()
214
215 #define arginfo_class_ion_Writer_finishLob arginfo_class_ion_Writer_writeNull
216
217 #define arginfo_class_ion_Writer_startContainer arginfo_class_ion_Writer_writeTypedNull
218
219 #define arginfo_class_ion_Writer_finishContainer arginfo_class_ion_Writer_writeNull
220
221 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeFieldName, 0, 1, IS_VOID, 0)
222 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
223 ZEND_END_ARG_INFO()
224
225 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeAnnotation, 0, 0, IS_VOID, 0)
226 ZEND_ARG_VARIADIC_OBJ_TYPE_MASK(0, annotation, ion\\Symbol, MAY_BE_STRING, NULL)
227 ZEND_END_ARG_INFO()
228
229 #define arginfo_class_ion_Writer_getDepth arginfo_class_ion_Catalog_count
230
231 #define arginfo_class_ion_Writer_flush arginfo_class_ion_Catalog_count
232
233 #define arginfo_class_ion_Writer_finish arginfo_class_ion_Catalog_count
234
235 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Symbol_ImportLocation___construct, 0, 0, 2)
236 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
237 ZEND_ARG_TYPE_INFO(0, location, IS_LONG, 0)
238 ZEND_END_ARG_INFO()
239
240 #define arginfo_class_ion_Symbol_Enum_toSymbol arginfo_class_ion_Reader_getFieldNameSymbol
241
242 #define arginfo_class_ion_Symbol_Enum_toSID arginfo_class_ion_Catalog_count
243
244 #define arginfo_class_ion_Symbol_Enum_toString arginfo_class_ion_Symbol___toString
245
246 #define arginfo_class_ion_Symbol_Table_getMaxId arginfo_class_ion_Catalog_count
247
248 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Symbol_Table_add, 0, 1, IS_LONG, 0)
249 ZEND_ARG_OBJ_TYPE_MASK(0, symbol, ion\\Symbol, MAY_BE_STRING, NULL)
250 ZEND_END_ARG_INFO()
251
252 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Symbol_Table_find, 0, 1, ion\\Symbol, 1)
253 ZEND_ARG_TYPE_MASK(0, id, MAY_BE_STRING|MAY_BE_LONG, NULL)
254 ZEND_END_ARG_INFO()
255
256 #define arginfo_class_ion_Symbol_Table_findLocal arginfo_class_ion_Symbol_Table_find
257
258 #define arginfo_class_ion_Symbol_Table_System_toSymbol arginfo_class_ion_Reader_getFieldNameSymbol
259
260 #define arginfo_class_ion_Symbol_Table_System_toSID arginfo_class_ion_Catalog_count
261
262 #define arginfo_class_ion_Symbol_Table_System_toString arginfo_class_ion_Symbol___toString
263
264 #define arginfo_class_ion_Symbol_Table_PHP_toSymbol arginfo_class_ion_Reader_getFieldNameSymbol
265
266 #define arginfo_class_ion_Symbol_Table_PHP_toSID arginfo_class_ion_Catalog_count
267
268 #define arginfo_class_ion_Symbol_Table_PHP_toString arginfo_class_ion_Symbol___toString
269
270 #define arginfo_class_ion_Symbol_Table_Local___construct arginfo_class_ion_Catalog___construct
271
272 #define arginfo_class_ion_Symbol_Table_Local_import arginfo_class_ion_Catalog_add
273
274 #define arginfo_class_ion_Symbol_Table_Local_getMaxId arginfo_class_ion_Catalog_count
275
276 #define arginfo_class_ion_Symbol_Table_Local_add arginfo_class_ion_Symbol_Table_add
277
278 #define arginfo_class_ion_Symbol_Table_Local_find arginfo_class_ion_Symbol_Table_find
279
280 #define arginfo_class_ion_Symbol_Table_Local_findLocal arginfo_class_ion_Symbol_Table_find
281
282 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Symbol_Table_Shared___construct, 0, 0, 1)
283 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
284 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, version, IS_LONG, 0, "1")
285 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, symbols, IS_ARRAY, 1, "null")
286 ZEND_END_ARG_INFO()
287
288 #define arginfo_class_ion_Symbol_Table_Shared_getMaxId arginfo_class_ion_Catalog_count
289
290 #define arginfo_class_ion_Symbol_Table_Shared_add arginfo_class_ion_Symbol_Table_add
291
292 #define arginfo_class_ion_Symbol_Table_Shared_find arginfo_class_ion_Symbol_Table_find
293
294 #define arginfo_class_ion_Symbol_Table_Shared_findLocal arginfo_class_ion_Symbol_Table_find
295
296 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Decimal_Context___construct, 0, 0, 5)
297 ZEND_ARG_TYPE_INFO(0, digits, IS_LONG, 0)
298 ZEND_ARG_TYPE_INFO(0, eMax, IS_LONG, 0)
299 ZEND_ARG_TYPE_INFO(0, eMin, IS_LONG, 0)
300 ZEND_ARG_OBJ_TYPE_MASK(0, round, ion\\Decimal\\Context\\Rounding, MAY_BE_LONG, NULL)
301 ZEND_ARG_TYPE_INFO(0, clamp, _IS_BOOL, 0)
302 ZEND_END_ARG_INFO()
303
304 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Decimal_Context_Dec32, 0, 0, ion\\Decimal\\Context, 0)
305 ZEND_END_ARG_INFO()
306
307 #define arginfo_class_ion_Decimal_Context_Dec64 arginfo_class_ion_Decimal_Context_Dec32
308
309 #define arginfo_class_ion_Decimal_Context_Dec128 arginfo_class_ion_Decimal_Context_Dec32
310
311 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Decimal_Context_DecMax, 0, 0, ion\\Decimal\\Context, 0)
312 ZEND_ARG_OBJ_TYPE_MASK(0, round, ion\\Decimal\\Context\\Rounding, MAY_BE_LONG, "ion\\Decimal\\Context\\Rounding::HalfEven")
313 ZEND_END_ARG_INFO()
314
315 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Options___construct, 0, 0, 0)
316 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, catalog, ion\\Catalog, 1, "null")
317 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, decimalContext, ion\\Decimal\\Context, 1, "null")
318 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, onContextChange, Closure, 1, "null")
319 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, returnSystemValues, _IS_BOOL, 0, "false")
320 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, newLine, IS_LONG, 0, "0xa")
321 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxContainerDepth, IS_LONG, 0, "10")
322 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotations, IS_LONG, 0, "10")
323 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotationBuffered, IS_LONG, 0, "512")
324 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, symbolThreshold, IS_LONG, 0, "0x4000")
325 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, userValueThreshold, IS_LONG, 0, "0x4000")
326 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, chunkThreshold, IS_LONG, 0, "0x4000")
327 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, allocationPageSize, IS_LONG, 0, "0x10000")
328 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, skipCharacterValidation, _IS_BOOL, 0, "false")
329 ZEND_END_ARG_INFO()
330
331 #define arginfo_class_ion_Reader_Reader_hasChildren arginfo_class_ion_Decimal_isInt
332
333 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_Reader_getChildren, 0, 0, ion\\Reader, 0)
334 ZEND_END_ARG_INFO()
335
336 #define arginfo_class_ion_Reader_Reader_rewind arginfo_class_ion_Writer_writeNull
337
338 #define arginfo_class_ion_Reader_Reader_next arginfo_class_ion_Writer_writeNull
339
340 #define arginfo_class_ion_Reader_Reader_valid arginfo_class_ion_Decimal_isInt
341
342 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Reader_key, 0, 0, IS_MIXED, 0)
343 ZEND_END_ARG_INFO()
344
345 #define arginfo_class_ion_Reader_Reader_current arginfo_class_ion_Reader_Reader_key
346
347 #define arginfo_class_ion_Reader_Reader_getType arginfo_class_ion_Reader_getType
348
349 #define arginfo_class_ion_Reader_Reader_hasAnnotations arginfo_class_ion_Decimal_isInt
350
351 #define arginfo_class_ion_Reader_Reader_hasAnnotation arginfo_class_ion_Reader_hasAnnotation
352
353 #define arginfo_class_ion_Reader_Reader_isNull arginfo_class_ion_Decimal_isInt
354
355 #define arginfo_class_ion_Reader_Reader_isInStruct arginfo_class_ion_Decimal_isInt
356
357 #define arginfo_class_ion_Reader_Reader_getFieldName arginfo_class_ion_Symbol___toString
358
359 #define arginfo_class_ion_Reader_Reader_getFieldNameSymbol arginfo_class_ion_Reader_getFieldNameSymbol
360
361 #define arginfo_class_ion_Reader_Reader_getAnnotations arginfo_class_ion_Reader_getAnnotations
362
363 #define arginfo_class_ion_Reader_Reader_getAnnotationSymbols arginfo_class_ion_Reader_getAnnotations
364
365 #define arginfo_class_ion_Reader_Reader_countAnnotations arginfo_class_ion_Catalog_count
366
367 #define arginfo_class_ion_Reader_Reader_getAnnotation arginfo_class_ion_Reader_getAnnotation
368
369 #define arginfo_class_ion_Reader_Reader_getAnnotationSymbol arginfo_class_ion_Reader_getAnnotationSymbol
370
371 #define arginfo_class_ion_Reader_Reader_readNull arginfo_class_ion_Reader_getType
372
373 #define arginfo_class_ion_Reader_Reader_readBool arginfo_class_ion_Decimal_isInt
374
375 #define arginfo_class_ion_Reader_Reader_readInt arginfo_class_ion_Reader_readInt
376
377 #define arginfo_class_ion_Reader_Reader_readFloat arginfo_class_ion_Reader_readFloat
378
379 #define arginfo_class_ion_Reader_Reader_readDecimal arginfo_class_ion_Reader_readDecimal
380
381 #define arginfo_class_ion_Reader_Reader_readTimestamp arginfo_class_ion_Reader_readTimestamp
382
383 #define arginfo_class_ion_Reader_Reader_readSymbol arginfo_class_ion_Reader_getFieldNameSymbol
384
385 #define arginfo_class_ion_Reader_Reader_readString arginfo_class_ion_Symbol___toString
386
387 #define arginfo_class_ion_Reader_Reader_readStringPart arginfo_class_ion_Reader_readStringPart
388
389 #define arginfo_class_ion_Reader_Reader_readLob arginfo_class_ion_Symbol___toString
390
391 #define arginfo_class_ion_Reader_Reader_readLobPart arginfo_class_ion_Reader_readStringPart
392
393 #define arginfo_class_ion_Reader_Reader_getPosition arginfo_class_ion_Catalog_count
394
395 #define arginfo_class_ion_Reader_Reader_getDepth arginfo_class_ion_Catalog_count
396
397 #define arginfo_class_ion_Reader_Reader_seek arginfo_class_ion_Reader_seek
398
399 #define arginfo_class_ion_Reader_Reader_getValueOffset arginfo_class_ion_Catalog_count
400
401 #define arginfo_class_ion_Reader_Reader_getValueLength arginfo_class_ion_Catalog_count
402
403 #define arginfo_class_ion_Reader_Buffer_getBuffer arginfo_class_ion_Symbol___toString
404
405 #define arginfo_class_ion_Reader_Stream_getStream arginfo_class_ion_Catalog___construct
406
407 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Stream_resetStream, 0, 1, IS_VOID, 0)
408 ZEND_ARG_INFO(0, stream)
409 ZEND_END_ARG_INFO()
410
411 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Stream_resetStreamWithLength, 0, 2, IS_VOID, 0)
412 ZEND_ARG_INFO(0, stream)
413 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
414 ZEND_END_ARG_INFO()
415
416 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Buffer_Reader___construct, 0, 0, 1)
417 ZEND_ARG_TYPE_INFO(0, buffer, IS_STRING, 0)
418 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Reader\\Options, 1, "null")
419 ZEND_END_ARG_INFO()
420
421 #define arginfo_class_ion_Reader_Buffer_Reader_getBuffer arginfo_class_ion_Symbol___toString
422
423 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Stream_Reader___construct, 0, 0, 1)
424 ZEND_ARG_INFO(0, stream)
425 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Reader\\Options, 1, "null")
426 ZEND_END_ARG_INFO()
427
428 #define arginfo_class_ion_Reader_Stream_Reader_getStream arginfo_class_ion_Catalog___construct
429
430 #define arginfo_class_ion_Reader_Stream_Reader_resetStream arginfo_class_ion_Reader_Stream_resetStream
431
432 #define arginfo_class_ion_Reader_Stream_Reader_resetStreamWithLength arginfo_class_ion_Reader_Stream_resetStreamWithLength
433
434 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Options___construct, 0, 0, 0)
435 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, catalog, ion\\Catalog, 1, "null")
436 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, decimalContext, ion\\Decimal\\Context, 1, "null")
437 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, outputBinary, _IS_BOOL, 0, "false")
438 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compactFloats, _IS_BOOL, 0, "false")
439 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escapeNonAscii, _IS_BOOL, 0, "false")
440 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, prettyPrint, _IS_BOOL, 0, "false")
441 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, indentTabs, _IS_BOOL, 0, "true")
442 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, indentSize, IS_LONG, 0, "2")
443 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, smallContainersInline, _IS_BOOL, 0, "true")
444 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, suppressSystemValues, _IS_BOOL, 0, "false")
445 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flushEveryValue, _IS_BOOL, 0, "false")
446 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxContainerDepth, IS_LONG, 0, "10")
447 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotations, IS_LONG, 0, "10")
448 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, tempBufferSize, IS_LONG, 0, "0x4000")
449 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, allocationPageSize, IS_LONG, 0, "0x10000")
450 ZEND_END_ARG_INFO()
451
452 #define arginfo_class_ion_Writer_Writer_writeNull arginfo_class_ion_Writer_writeNull
453
454 #define arginfo_class_ion_Writer_Writer_writeTypedNull arginfo_class_ion_Writer_writeTypedNull
455
456 #define arginfo_class_ion_Writer_Writer_writeBool arginfo_class_ion_Writer_writeBool
457
458 #define arginfo_class_ion_Writer_Writer_writeInt arginfo_class_ion_Writer_writeInt
459
460 #define arginfo_class_ion_Writer_Writer_writeFloat arginfo_class_ion_Writer_writeFloat
461
462 #define arginfo_class_ion_Writer_Writer_writeDecimal arginfo_class_ion_Writer_writeDecimal
463
464 #define arginfo_class_ion_Writer_Writer_writeTimestamp arginfo_class_ion_Writer_writeTimestamp
465
466 #define arginfo_class_ion_Writer_Writer_writeSymbol arginfo_class_ion_Writer_writeSymbol
467
468 #define arginfo_class_ion_Writer_Writer_writeString arginfo_class_ion_Writer_writeString
469
470 #define arginfo_class_ion_Writer_Writer_writeCLob arginfo_class_ion_Writer_writeString
471
472 #define arginfo_class_ion_Writer_Writer_writeBLob arginfo_class_ion_Writer_writeString
473
474 #define arginfo_class_ion_Writer_Writer_startLob arginfo_class_ion_Writer_writeTypedNull
475
476 #define arginfo_class_ion_Writer_Writer_appendLob arginfo_class_ion_Writer_appendLob
477
478 #define arginfo_class_ion_Writer_Writer_finishLob arginfo_class_ion_Writer_writeNull
479
480 #define arginfo_class_ion_Writer_Writer_startContainer arginfo_class_ion_Writer_writeTypedNull
481
482 #define arginfo_class_ion_Writer_Writer_finishContainer arginfo_class_ion_Writer_writeNull
483
484 #define arginfo_class_ion_Writer_Writer_writeFieldName arginfo_class_ion_Writer_writeFieldName
485
486 #define arginfo_class_ion_Writer_Writer_writeAnnotation arginfo_class_ion_Writer_writeAnnotation
487
488 #define arginfo_class_ion_Writer_Writer_getDepth arginfo_class_ion_Catalog_count
489
490 #define arginfo_class_ion_Writer_Writer_flush arginfo_class_ion_Catalog_count
491
492 #define arginfo_class_ion_Writer_Writer_finish arginfo_class_ion_Catalog_count
493
494 #define arginfo_class_ion_Writer_Buffer_getBuffer arginfo_class_ion_Symbol___toString
495
496 #define arginfo_class_ion_Writer_Buffer_resetBuffer arginfo_class_ion_Writer_writeNull
497
498 #define arginfo_class_ion_Writer_Stream_getStream arginfo_class_ion_Catalog___construct
499
500 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Buffer_Writer___construct, 0, 0, 0)
501 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Writer\\Options, 1, "null")
502 ZEND_END_ARG_INFO()
503
504 #define arginfo_class_ion_Writer_Buffer_Writer_getBuffer arginfo_class_ion_Symbol___toString
505
506 #define arginfo_class_ion_Writer_Buffer_Writer_resetBuffer arginfo_class_ion_Writer_writeNull
507
508 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Stream_Writer___construct, 0, 0, 1)
509 ZEND_ARG_INFO(0, stream)
510 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Writer\\Options, 1, "null")
511 ZEND_END_ARG_INFO()
512
513 #define arginfo_class_ion_Writer_Stream_Writer_getStream arginfo_class_ion_Catalog___construct
514
515 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Serializer_PHP___construct, 0, 0, 0)
516 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, writerOptions, ion\\Writer\\Options, 1, "null")
517 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, multiSequence, _IS_BOOL, 0, "false")
518 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callMagicSerialize, _IS_BOOL, 0, "true")
519 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callCustomSerialize, IS_STRING, 1, "null")
520 ZEND_END_ARG_INFO()
521
522 #define arginfo_class_ion_Serializer_PHP_serialize arginfo_class_ion_Serializer_serialize
523
524 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Unserializer_PHP___construct, 0, 0, 0)
525 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, readerOptions, ion\\Reader\\Options, 1, "null")
526 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, multiSequence, _IS_BOOL, 0, "false")
527 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callMagicUnserialize, _IS_BOOL, 0, "true")
528 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callCustomUnserialize, IS_STRING, 1, "null")
529 ZEND_END_ARG_INFO()
530
531 #define arginfo_class_ion_Unserializer_PHP_unserialize arginfo_class_ion_Unserializer_unserialize
532
533
534 static ZEND_FUNCTION(ion_serialize);
535 static ZEND_FUNCTION(ion_unserialize);
536 static ZEND_FUNCTION(ion_Symbol_Table_PHP);
537 static ZEND_FUNCTION(ion_Symbol_Table_System);
538 static ZEND_METHOD(ion_Symbol, __construct);
539 static ZEND_METHOD(ion_Symbol, equals);
540 static ZEND_METHOD(ion_Symbol, __toString);
541 static ZEND_METHOD(ion_Catalog, __construct);
542 static ZEND_METHOD(ion_Catalog, count);
543 static ZEND_METHOD(ion_Catalog, add);
544 static ZEND_METHOD(ion_Catalog, remove);
545 static ZEND_METHOD(ion_Catalog, find);
546 static ZEND_METHOD(ion_Catalog, findBest);
547 static ZEND_METHOD(ion_LOB, __construct);
548 static ZEND_METHOD(ion_Decimal, __construct);
549 static ZEND_METHOD(ion_Decimal, equals);
550 static ZEND_METHOD(ion_Decimal, isInt);
551 static ZEND_METHOD(ion_Decimal, __toString);
552 static ZEND_METHOD(ion_Decimal, toInt);
553 static ZEND_METHOD(ion_Timestamp, __construct);
554 static ZEND_METHOD(ion_Timestamp, __toString);
555 static ZEND_METHOD(ion_Symbol_ImportLocation, __construct);
556 static ZEND_METHOD(ion_Symbol_Table_Local, __construct);
557 static ZEND_METHOD(ion_Symbol_Table_Local, import);
558 static ZEND_METHOD(ion_Symbol_Table_Shared, __construct);
559 static ZEND_METHOD(ion_Decimal_Context, __construct);
560 static ZEND_METHOD(ion_Decimal_Context, Dec32);
561 static ZEND_METHOD(ion_Decimal_Context, Dec64);
562 static ZEND_METHOD(ion_Decimal_Context, Dec128);
563 static ZEND_METHOD(ion_Decimal_Context, DecMax);
564 static ZEND_METHOD(ion_Reader_Options, __construct);
565 static ZEND_METHOD(ion_Reader_Reader, hasChildren);
566 static ZEND_METHOD(ion_Reader_Reader, getChildren);
567 static ZEND_METHOD(ion_Reader_Reader, rewind);
568 static ZEND_METHOD(ion_Reader_Reader, next);
569 static ZEND_METHOD(ion_Reader_Reader, valid);
570 static ZEND_METHOD(ion_Reader_Reader, key);
571 static ZEND_METHOD(ion_Reader_Reader, current);
572 static ZEND_METHOD(ion_Reader_Reader, getType);
573 static ZEND_METHOD(ion_Reader_Reader, hasAnnotations);
574 static ZEND_METHOD(ion_Reader_Reader, hasAnnotation);
575 static ZEND_METHOD(ion_Reader_Reader, isNull);
576 static ZEND_METHOD(ion_Reader_Reader, isInStruct);
577 static ZEND_METHOD(ion_Reader_Reader, getFieldName);
578 static ZEND_METHOD(ion_Reader_Reader, getFieldNameSymbol);
579 static ZEND_METHOD(ion_Reader_Reader, getAnnotations);
580 static ZEND_METHOD(ion_Reader_Reader, getAnnotationSymbols);
581 static ZEND_METHOD(ion_Reader_Reader, countAnnotations);
582 static ZEND_METHOD(ion_Reader_Reader, getAnnotation);
583 static ZEND_METHOD(ion_Reader_Reader, getAnnotationSymbol);
584 static ZEND_METHOD(ion_Reader_Reader, readNull);
585 static ZEND_METHOD(ion_Reader_Reader, readBool);
586 static ZEND_METHOD(ion_Reader_Reader, readInt);
587 static ZEND_METHOD(ion_Reader_Reader, readFloat);
588 static ZEND_METHOD(ion_Reader_Reader, readDecimal);
589 static ZEND_METHOD(ion_Reader_Reader, readTimestamp);
590 static ZEND_METHOD(ion_Reader_Reader, readSymbol);
591 static ZEND_METHOD(ion_Reader_Reader, readString);
592 static ZEND_METHOD(ion_Reader_Reader, readStringPart);
593 static ZEND_METHOD(ion_Reader_Reader, readLob);
594 static ZEND_METHOD(ion_Reader_Reader, readLobPart);
595 static ZEND_METHOD(ion_Reader_Reader, getPosition);
596 static ZEND_METHOD(ion_Reader_Reader, getDepth);
597 static ZEND_METHOD(ion_Reader_Reader, seek);
598 static ZEND_METHOD(ion_Reader_Reader, getValueOffset);
599 static ZEND_METHOD(ion_Reader_Reader, getValueLength);
600 static ZEND_METHOD(ion_Reader_Buffer_Reader, __construct);
601 static ZEND_METHOD(ion_Reader_Buffer_Reader, getBuffer);
602 static ZEND_METHOD(ion_Reader_Stream_Reader, __construct);
603 static ZEND_METHOD(ion_Reader_Stream_Reader, getStream);
604 static ZEND_METHOD(ion_Reader_Stream_Reader, resetStream);
605 static ZEND_METHOD(ion_Reader_Stream_Reader, resetStreamWithLength);
606 static ZEND_METHOD(ion_Writer_Options, __construct);
607 static ZEND_METHOD(ion_Writer_Writer, writeNull);
608 static ZEND_METHOD(ion_Writer_Writer, writeTypedNull);
609 static ZEND_METHOD(ion_Writer_Writer, writeBool);
610 static ZEND_METHOD(ion_Writer_Writer, writeInt);
611 static ZEND_METHOD(ion_Writer_Writer, writeFloat);
612 static ZEND_METHOD(ion_Writer_Writer, writeDecimal);
613 static ZEND_METHOD(ion_Writer_Writer, writeTimestamp);
614 static ZEND_METHOD(ion_Writer_Writer, writeSymbol);
615 static ZEND_METHOD(ion_Writer_Writer, writeString);
616 static ZEND_METHOD(ion_Writer_Writer, writeCLob);
617 static ZEND_METHOD(ion_Writer_Writer, writeBLob);
618 static ZEND_METHOD(ion_Writer_Writer, startLob);
619 static ZEND_METHOD(ion_Writer_Writer, appendLob);
620 static ZEND_METHOD(ion_Writer_Writer, finishLob);
621 static ZEND_METHOD(ion_Writer_Writer, startContainer);
622 static ZEND_METHOD(ion_Writer_Writer, finishContainer);
623 static ZEND_METHOD(ion_Writer_Writer, writeFieldName);
624 static ZEND_METHOD(ion_Writer_Writer, writeAnnotation);
625 static ZEND_METHOD(ion_Writer_Writer, getDepth);
626 static ZEND_METHOD(ion_Writer_Writer, flush);
627 static ZEND_METHOD(ion_Writer_Writer, finish);
628 static ZEND_METHOD(ion_Writer_Buffer_Writer, __construct);
629 static ZEND_METHOD(ion_Writer_Buffer_Writer, getBuffer);
630 static ZEND_METHOD(ion_Writer_Buffer_Writer, resetBuffer);
631 static ZEND_METHOD(ion_Writer_Stream_Writer, __construct);
632 static ZEND_METHOD(ion_Writer_Stream_Writer, getStream);
633 static ZEND_METHOD(ion_Serializer_PHP, __construct);
634 static ZEND_METHOD(ion_Serializer_PHP, serialize);
635 static ZEND_METHOD(ion_Unserializer_PHP, __construct);
636 static ZEND_METHOD(ion_Unserializer_PHP, unserialize);
637
638
639 static const zend_function_entry ext_functions[] = {
640 ZEND_NS_RAW_FENTRY("ion", "serialize", ZEND_FN(ion_serialize), arginfo_ion_serialize, 0)
641 ZEND_NS_RAW_FENTRY("ion", "unserialize", ZEND_FN(ion_unserialize), arginfo_ion_unserialize, 0)
642 ZEND_NS_RAW_FENTRY("ion\\Symbol\\Table", "PHP", ZEND_FN(ion_Symbol_Table_PHP), arginfo_ion_Symbol_Table_PHP, 0)
643 ZEND_NS_RAW_FENTRY("ion\\Symbol\\Table", "System", ZEND_FN(ion_Symbol_Table_System), arginfo_ion_Symbol_Table_System, 0)
644 ZEND_FE_END
645 };
646
647
648 static const zend_function_entry class_ion_Serializer_methods[] = {
649 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Serializer, serialize, arginfo_class_ion_Serializer_serialize, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
650 ZEND_FE_END
651 };
652
653
654 static const zend_function_entry class_ion_Unserializer_methods[] = {
655 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Unserializer, unserialize, arginfo_class_ion_Unserializer_unserialize, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
656 ZEND_FE_END
657 };
658
659
660 static const zend_function_entry class_ion_Type_methods[] = {
661 ZEND_FE_END
662 };
663
664
665 static const zend_function_entry class_ion_Symbol_methods[] = {
666 ZEND_ME(ion_Symbol, __construct, arginfo_class_ion_Symbol___construct, ZEND_ACC_PUBLIC)
667 ZEND_ME(ion_Symbol, equals, arginfo_class_ion_Symbol_equals, ZEND_ACC_PUBLIC)
668 ZEND_ME(ion_Symbol, __toString, arginfo_class_ion_Symbol___toString, ZEND_ACC_PUBLIC)
669 ZEND_MALIAS(ion_Symbol, toString, __toString, arginfo_class_ion_Symbol_toString, ZEND_ACC_PUBLIC)
670 ZEND_FE_END
671 };
672
673
674 static const zend_function_entry class_ion_Catalog_methods[] = {
675 ZEND_ME(ion_Catalog, __construct, arginfo_class_ion_Catalog___construct, ZEND_ACC_PUBLIC)
676 ZEND_ME(ion_Catalog, count, arginfo_class_ion_Catalog_count, ZEND_ACC_PUBLIC)
677 ZEND_ME(ion_Catalog, add, arginfo_class_ion_Catalog_add, ZEND_ACC_PUBLIC)
678 ZEND_ME(ion_Catalog, remove, arginfo_class_ion_Catalog_remove, ZEND_ACC_PUBLIC)
679 ZEND_ME(ion_Catalog, find, arginfo_class_ion_Catalog_find, ZEND_ACC_PUBLIC)
680 ZEND_ME(ion_Catalog, findBest, arginfo_class_ion_Catalog_findBest, ZEND_ACC_PUBLIC)
681 ZEND_FE_END
682 };
683
684
685 static const zend_function_entry class_ion_LOB_methods[] = {
686 ZEND_ME(ion_LOB, __construct, arginfo_class_ion_LOB___construct, ZEND_ACC_PUBLIC)
687 ZEND_FE_END
688 };
689
690
691 static const zend_function_entry class_ion_Decimal_methods[] = {
692 ZEND_ME(ion_Decimal, __construct, arginfo_class_ion_Decimal___construct, ZEND_ACC_PUBLIC)
693 ZEND_ME(ion_Decimal, equals, arginfo_class_ion_Decimal_equals, ZEND_ACC_PUBLIC)
694 ZEND_ME(ion_Decimal, isInt, arginfo_class_ion_Decimal_isInt, ZEND_ACC_PUBLIC)
695 ZEND_ME(ion_Decimal, __toString, arginfo_class_ion_Decimal___toString, ZEND_ACC_PUBLIC)
696 ZEND_MALIAS(ion_Decimal, toString, __toString, arginfo_class_ion_Decimal_toString, ZEND_ACC_PUBLIC)
697 ZEND_ME(ion_Decimal, toInt, arginfo_class_ion_Decimal_toInt, ZEND_ACC_PUBLIC)
698 ZEND_FE_END
699 };
700
701
702 static const zend_function_entry class_ion_Timestamp_methods[] = {
703 ZEND_ME(ion_Timestamp, __construct, arginfo_class_ion_Timestamp___construct, ZEND_ACC_PUBLIC)
704 ZEND_ME(ion_Timestamp, __toString, arginfo_class_ion_Timestamp___toString, ZEND_ACC_PUBLIC)
705 ZEND_FE_END
706 };
707
708
709 static const zend_function_entry class_ion_Reader_methods[] = {
710 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getType, arginfo_class_ion_Reader_getType, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
711 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, hasAnnotations, arginfo_class_ion_Reader_hasAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
712 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, hasAnnotation, arginfo_class_ion_Reader_hasAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
713 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, isNull, arginfo_class_ion_Reader_isNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
714 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, isInStruct, arginfo_class_ion_Reader_isInStruct, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
715 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getFieldName, arginfo_class_ion_Reader_getFieldName, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
716 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getFieldNameSymbol, arginfo_class_ion_Reader_getFieldNameSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
717 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotations, arginfo_class_ion_Reader_getAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
718 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotationSymbols, arginfo_class_ion_Reader_getAnnotationSymbols, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
719 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, countAnnotations, arginfo_class_ion_Reader_countAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
720 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotation, arginfo_class_ion_Reader_getAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
721 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotationSymbol, arginfo_class_ion_Reader_getAnnotationSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
722 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readNull, arginfo_class_ion_Reader_readNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
723 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readBool, arginfo_class_ion_Reader_readBool, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
724 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readInt, arginfo_class_ion_Reader_readInt, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
725 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readFloat, arginfo_class_ion_Reader_readFloat, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
726 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readDecimal, arginfo_class_ion_Reader_readDecimal, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
727 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readTimestamp, arginfo_class_ion_Reader_readTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
728 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readSymbol, arginfo_class_ion_Reader_readSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
729 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readString, arginfo_class_ion_Reader_readString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
730 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readStringPart, arginfo_class_ion_Reader_readStringPart, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
731 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readLob, arginfo_class_ion_Reader_readLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
732 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readLobPart, arginfo_class_ion_Reader_readLobPart, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
733 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getPosition, arginfo_class_ion_Reader_getPosition, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
734 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getDepth, arginfo_class_ion_Reader_getDepth, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
735 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, seek, arginfo_class_ion_Reader_seek, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
736 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getValueOffset, arginfo_class_ion_Reader_getValueOffset, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
737 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getValueLength, arginfo_class_ion_Reader_getValueLength, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
738 ZEND_FE_END
739 };
740
741
742 static const zend_function_entry class_ion_Writer_methods[] = {
743 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeNull, arginfo_class_ion_Writer_writeNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
744 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeTypedNull, arginfo_class_ion_Writer_writeTypedNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
745 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeBool, arginfo_class_ion_Writer_writeBool, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
746 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeInt, arginfo_class_ion_Writer_writeInt, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
747 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeFloat, arginfo_class_ion_Writer_writeFloat, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
748 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeDecimal, arginfo_class_ion_Writer_writeDecimal, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
749 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeTimestamp, arginfo_class_ion_Writer_writeTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
750 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeSymbol, arginfo_class_ion_Writer_writeSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
751 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeString, arginfo_class_ion_Writer_writeString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
752 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeCLob, arginfo_class_ion_Writer_writeCLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
753 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeBLob, arginfo_class_ion_Writer_writeBLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
754 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, startLob, arginfo_class_ion_Writer_startLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
755 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, appendLob, arginfo_class_ion_Writer_appendLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
756 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finishLob, arginfo_class_ion_Writer_finishLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
757 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, startContainer, arginfo_class_ion_Writer_startContainer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
758 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finishContainer, arginfo_class_ion_Writer_finishContainer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
759 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeFieldName, arginfo_class_ion_Writer_writeFieldName, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
760 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeAnnotation, arginfo_class_ion_Writer_writeAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
761 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, getDepth, arginfo_class_ion_Writer_getDepth, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
762 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, flush, arginfo_class_ion_Writer_flush, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
763 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finish, arginfo_class_ion_Writer_finish, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
764 ZEND_FE_END
765 };
766
767
768 static const zend_function_entry class_ion_Symbol_ImportLocation_methods[] = {
769 ZEND_ME(ion_Symbol_ImportLocation, __construct, arginfo_class_ion_Symbol_ImportLocation___construct, ZEND_ACC_PUBLIC)
770 ZEND_FE_END
771 };
772
773
774 static const zend_function_entry class_ion_Symbol_Enum_methods[] = {
775 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Symbol_Enum, toSymbol, arginfo_class_ion_Symbol_Enum_toSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
776 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Symbol_Enum, toSID, arginfo_class_ion_Symbol_Enum_toSID, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
777 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Symbol_Enum, toString, arginfo_class_ion_Symbol_Enum_toString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
778 ZEND_FE_END
779 };
780
781
782 static const zend_function_entry class_ion_Symbol_Table_methods[] = {
783 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Symbol_Table, getMaxId, arginfo_class_ion_Symbol_Table_getMaxId, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
784 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Symbol_Table, add, arginfo_class_ion_Symbol_Table_add, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
785 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Symbol_Table, find, arginfo_class_ion_Symbol_Table_find, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
786 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Symbol_Table, findLocal, arginfo_class_ion_Symbol_Table_findLocal, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
787 ZEND_FE_END
788 };
789
790
791 static const zend_function_entry class_ion_Symbol_Table_System_methods[] = {
792 ZEND_MALIAS(ion_Symbol_Enum, toSymbol, toSymbol, arginfo_class_ion_Symbol_Table_System_toSymbol, ZEND_ACC_PUBLIC)
793 ZEND_MALIAS(ion_Symbol_Enum, toSID, toSID, arginfo_class_ion_Symbol_Table_System_toSID, ZEND_ACC_PUBLIC)
794 ZEND_MALIAS(ion_Symbol_Enum, toString, toString, arginfo_class_ion_Symbol_Table_System_toString, ZEND_ACC_PUBLIC)
795 ZEND_FE_END
796 };
797
798
799 static const zend_function_entry class_ion_Symbol_Table_PHP_methods[] = {
800 ZEND_MALIAS(ion_Symbol_Enum, toSymbol, toSymbol, arginfo_class_ion_Symbol_Table_PHP_toSymbol, ZEND_ACC_PUBLIC)
801 ZEND_MALIAS(ion_Symbol_Enum, toSID, toSID, arginfo_class_ion_Symbol_Table_PHP_toSID, ZEND_ACC_PUBLIC)
802 ZEND_MALIAS(ion_Symbol_Enum, toString, toString, arginfo_class_ion_Symbol_Table_PHP_toString, ZEND_ACC_PUBLIC)
803 ZEND_FE_END
804 };
805
806
807 static const zend_function_entry class_ion_Symbol_Table_Local_methods[] = {
808 ZEND_ME(ion_Symbol_Table_Local, __construct, arginfo_class_ion_Symbol_Table_Local___construct, ZEND_ACC_PUBLIC)
809 ZEND_ME(ion_Symbol_Table_Local, import, arginfo_class_ion_Symbol_Table_Local_import, ZEND_ACC_PUBLIC)
810 ZEND_MALIAS(ion_Symbol_Table, getMaxId, getMaxId, arginfo_class_ion_Symbol_Table_Local_getMaxId, ZEND_ACC_PUBLIC)
811 ZEND_MALIAS(ion_Symbol_Table, add, add, arginfo_class_ion_Symbol_Table_Local_add, ZEND_ACC_PUBLIC)
812 ZEND_MALIAS(ion_Symbol_Table, find, find, arginfo_class_ion_Symbol_Table_Local_find, ZEND_ACC_PUBLIC)
813 ZEND_MALIAS(ion_Symbol_Table, findLocal, findLocal, arginfo_class_ion_Symbol_Table_Local_findLocal, ZEND_ACC_PUBLIC)
814 ZEND_FE_END
815 };
816
817
818 static const zend_function_entry class_ion_Symbol_Table_Shared_methods[] = {
819 ZEND_ME(ion_Symbol_Table_Shared, __construct, arginfo_class_ion_Symbol_Table_Shared___construct, ZEND_ACC_PUBLIC)
820 ZEND_MALIAS(ion_Symbol_Table, getMaxId, getMaxId, arginfo_class_ion_Symbol_Table_Shared_getMaxId, ZEND_ACC_PUBLIC)
821 ZEND_MALIAS(ion_Symbol_Table, add, add, arginfo_class_ion_Symbol_Table_Shared_add, ZEND_ACC_PUBLIC)
822 ZEND_MALIAS(ion_Symbol_Table, find, find, arginfo_class_ion_Symbol_Table_Shared_find, ZEND_ACC_PUBLIC)
823 ZEND_MALIAS(ion_Symbol_Table, findLocal, findLocal, arginfo_class_ion_Symbol_Table_Shared_findLocal, ZEND_ACC_PUBLIC)
824 ZEND_FE_END
825 };
826
827
828 static const zend_function_entry class_ion_Decimal_Context_methods[] = {
829 ZEND_ME(ion_Decimal_Context, __construct, arginfo_class_ion_Decimal_Context___construct, ZEND_ACC_PUBLIC)
830 ZEND_ME(ion_Decimal_Context, Dec32, arginfo_class_ion_Decimal_Context_Dec32, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
831 ZEND_ME(ion_Decimal_Context, Dec64, arginfo_class_ion_Decimal_Context_Dec64, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
832 ZEND_ME(ion_Decimal_Context, Dec128, arginfo_class_ion_Decimal_Context_Dec128, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
833 ZEND_ME(ion_Decimal_Context, DecMax, arginfo_class_ion_Decimal_Context_DecMax, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
834 ZEND_FE_END
835 };
836
837
838 static const zend_function_entry class_ion_Decimal_Context_Rounding_methods[] = {
839 ZEND_FE_END
840 };
841
842
843 static const zend_function_entry class_ion_Timestamp_Precision_methods[] = {
844 ZEND_FE_END
845 };
846
847
848 static const zend_function_entry class_ion_Timestamp_Format_methods[] = {
849 ZEND_FE_END
850 };
851
852
853 static const zend_function_entry class_ion_Reader_Options_methods[] = {
854 ZEND_ME(ion_Reader_Options, __construct, arginfo_class_ion_Reader_Options___construct, ZEND_ACC_PUBLIC)
855 ZEND_FE_END
856 };
857
858
859 static const zend_function_entry class_ion_Reader_Reader_methods[] = {
860 ZEND_ME(ion_Reader_Reader, hasChildren, arginfo_class_ion_Reader_Reader_hasChildren, ZEND_ACC_PUBLIC)
861 ZEND_ME(ion_Reader_Reader, getChildren, arginfo_class_ion_Reader_Reader_getChildren, ZEND_ACC_PUBLIC)
862 ZEND_ME(ion_Reader_Reader, rewind, arginfo_class_ion_Reader_Reader_rewind, ZEND_ACC_PUBLIC)
863 ZEND_ME(ion_Reader_Reader, next, arginfo_class_ion_Reader_Reader_next, ZEND_ACC_PUBLIC)
864 ZEND_ME(ion_Reader_Reader, valid, arginfo_class_ion_Reader_Reader_valid, ZEND_ACC_PUBLIC)
865 ZEND_ME(ion_Reader_Reader, key, arginfo_class_ion_Reader_Reader_key, ZEND_ACC_PUBLIC)
866 ZEND_ME(ion_Reader_Reader, current, arginfo_class_ion_Reader_Reader_current, ZEND_ACC_PUBLIC)
867 ZEND_ME(ion_Reader_Reader, getType, arginfo_class_ion_Reader_Reader_getType, ZEND_ACC_PUBLIC)
868 ZEND_ME(ion_Reader_Reader, hasAnnotations, arginfo_class_ion_Reader_Reader_hasAnnotations, ZEND_ACC_PUBLIC)
869 ZEND_ME(ion_Reader_Reader, hasAnnotation, arginfo_class_ion_Reader_Reader_hasAnnotation, ZEND_ACC_PUBLIC)
870 ZEND_ME(ion_Reader_Reader, isNull, arginfo_class_ion_Reader_Reader_isNull, ZEND_ACC_PUBLIC)
871 ZEND_ME(ion_Reader_Reader, isInStruct, arginfo_class_ion_Reader_Reader_isInStruct, ZEND_ACC_PUBLIC)
872 ZEND_ME(ion_Reader_Reader, getFieldName, arginfo_class_ion_Reader_Reader_getFieldName, ZEND_ACC_PUBLIC)
873 ZEND_ME(ion_Reader_Reader, getFieldNameSymbol, arginfo_class_ion_Reader_Reader_getFieldNameSymbol, ZEND_ACC_PUBLIC)
874 ZEND_ME(ion_Reader_Reader, getAnnotations, arginfo_class_ion_Reader_Reader_getAnnotations, ZEND_ACC_PUBLIC)
875 ZEND_ME(ion_Reader_Reader, getAnnotationSymbols, arginfo_class_ion_Reader_Reader_getAnnotationSymbols, ZEND_ACC_PUBLIC)
876 ZEND_ME(ion_Reader_Reader, countAnnotations, arginfo_class_ion_Reader_Reader_countAnnotations, ZEND_ACC_PUBLIC)
877 ZEND_ME(ion_Reader_Reader, getAnnotation, arginfo_class_ion_Reader_Reader_getAnnotation, ZEND_ACC_PUBLIC)
878 ZEND_ME(ion_Reader_Reader, getAnnotationSymbol, arginfo_class_ion_Reader_Reader_getAnnotationSymbol, ZEND_ACC_PUBLIC)
879 ZEND_ME(ion_Reader_Reader, readNull, arginfo_class_ion_Reader_Reader_readNull, ZEND_ACC_PUBLIC)
880 ZEND_ME(ion_Reader_Reader, readBool, arginfo_class_ion_Reader_Reader_readBool, ZEND_ACC_PUBLIC)
881 ZEND_ME(ion_Reader_Reader, readInt, arginfo_class_ion_Reader_Reader_readInt, ZEND_ACC_PUBLIC)
882 ZEND_ME(ion_Reader_Reader, readFloat, arginfo_class_ion_Reader_Reader_readFloat, ZEND_ACC_PUBLIC)
883 ZEND_ME(ion_Reader_Reader, readDecimal, arginfo_class_ion_Reader_Reader_readDecimal, ZEND_ACC_PUBLIC)
884 ZEND_ME(ion_Reader_Reader, readTimestamp, arginfo_class_ion_Reader_Reader_readTimestamp, ZEND_ACC_PUBLIC)
885 ZEND_ME(ion_Reader_Reader, readSymbol, arginfo_class_ion_Reader_Reader_readSymbol, ZEND_ACC_PUBLIC)
886 ZEND_ME(ion_Reader_Reader, readString, arginfo_class_ion_Reader_Reader_readString, ZEND_ACC_PUBLIC)
887 ZEND_ME(ion_Reader_Reader, readStringPart, arginfo_class_ion_Reader_Reader_readStringPart, ZEND_ACC_PUBLIC)
888 ZEND_ME(ion_Reader_Reader, readLob, arginfo_class_ion_Reader_Reader_readLob, ZEND_ACC_PUBLIC)
889 ZEND_ME(ion_Reader_Reader, readLobPart, arginfo_class_ion_Reader_Reader_readLobPart, ZEND_ACC_PUBLIC)
890 ZEND_ME(ion_Reader_Reader, getPosition, arginfo_class_ion_Reader_Reader_getPosition, ZEND_ACC_PUBLIC)
891 ZEND_ME(ion_Reader_Reader, getDepth, arginfo_class_ion_Reader_Reader_getDepth, ZEND_ACC_PUBLIC)
892 ZEND_ME(ion_Reader_Reader, seek, arginfo_class_ion_Reader_Reader_seek, ZEND_ACC_PUBLIC)
893 ZEND_ME(ion_Reader_Reader, getValueOffset, arginfo_class_ion_Reader_Reader_getValueOffset, ZEND_ACC_PUBLIC)
894 ZEND_ME(ion_Reader_Reader, getValueLength, arginfo_class_ion_Reader_Reader_getValueLength, ZEND_ACC_PUBLIC)
895 ZEND_FE_END
896 };
897
898
899 static const zend_function_entry class_ion_Reader_Buffer_methods[] = {
900 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Buffer, getBuffer, arginfo_class_ion_Reader_Buffer_getBuffer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
901 ZEND_FE_END
902 };
903
904
905 static const zend_function_entry class_ion_Reader_Stream_methods[] = {
906 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, getStream, arginfo_class_ion_Reader_Stream_getStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
907 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, resetStream, arginfo_class_ion_Reader_Stream_resetStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
908 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, resetStreamWithLength, arginfo_class_ion_Reader_Stream_resetStreamWithLength, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
909 ZEND_FE_END
910 };
911
912
913 static const zend_function_entry class_ion_Reader_Buffer_Reader_methods[] = {
914 ZEND_ME(ion_Reader_Buffer_Reader, __construct, arginfo_class_ion_Reader_Buffer_Reader___construct, ZEND_ACC_PUBLIC)
915 ZEND_ME(ion_Reader_Buffer_Reader, getBuffer, arginfo_class_ion_Reader_Buffer_Reader_getBuffer, ZEND_ACC_PUBLIC)
916 ZEND_FE_END
917 };
918
919
920 static const zend_function_entry class_ion_Reader_Stream_Reader_methods[] = {
921 ZEND_ME(ion_Reader_Stream_Reader, __construct, arginfo_class_ion_Reader_Stream_Reader___construct, ZEND_ACC_PUBLIC)
922 ZEND_ME(ion_Reader_Stream_Reader, getStream, arginfo_class_ion_Reader_Stream_Reader_getStream, ZEND_ACC_PUBLIC)
923 ZEND_ME(ion_Reader_Stream_Reader, resetStream, arginfo_class_ion_Reader_Stream_Reader_resetStream, ZEND_ACC_PUBLIC)
924 ZEND_ME(ion_Reader_Stream_Reader, resetStreamWithLength, arginfo_class_ion_Reader_Stream_Reader_resetStreamWithLength, ZEND_ACC_PUBLIC)
925 ZEND_FE_END
926 };
927
928
929 static const zend_function_entry class_ion_Writer_Options_methods[] = {
930 ZEND_ME(ion_Writer_Options, __construct, arginfo_class_ion_Writer_Options___construct, ZEND_ACC_PUBLIC)
931 ZEND_FE_END
932 };
933
934
935 static const zend_function_entry class_ion_Writer_Writer_methods[] = {
936 ZEND_ME(ion_Writer_Writer, writeNull, arginfo_class_ion_Writer_Writer_writeNull, ZEND_ACC_PUBLIC)
937 ZEND_ME(ion_Writer_Writer, writeTypedNull, arginfo_class_ion_Writer_Writer_writeTypedNull, ZEND_ACC_PUBLIC)
938 ZEND_ME(ion_Writer_Writer, writeBool, arginfo_class_ion_Writer_Writer_writeBool, ZEND_ACC_PUBLIC)
939 ZEND_ME(ion_Writer_Writer, writeInt, arginfo_class_ion_Writer_Writer_writeInt, ZEND_ACC_PUBLIC)
940 ZEND_ME(ion_Writer_Writer, writeFloat, arginfo_class_ion_Writer_Writer_writeFloat, ZEND_ACC_PUBLIC)
941 ZEND_ME(ion_Writer_Writer, writeDecimal, arginfo_class_ion_Writer_Writer_writeDecimal, ZEND_ACC_PUBLIC)
942 ZEND_ME(ion_Writer_Writer, writeTimestamp, arginfo_class_ion_Writer_Writer_writeTimestamp, ZEND_ACC_PUBLIC)
943 ZEND_ME(ion_Writer_Writer, writeSymbol, arginfo_class_ion_Writer_Writer_writeSymbol, ZEND_ACC_PUBLIC)
944 ZEND_ME(ion_Writer_Writer, writeString, arginfo_class_ion_Writer_Writer_writeString, ZEND_ACC_PUBLIC)
945 ZEND_ME(ion_Writer_Writer, writeCLob, arginfo_class_ion_Writer_Writer_writeCLob, ZEND_ACC_PUBLIC)
946 ZEND_ME(ion_Writer_Writer, writeBLob, arginfo_class_ion_Writer_Writer_writeBLob, ZEND_ACC_PUBLIC)
947 ZEND_ME(ion_Writer_Writer, startLob, arginfo_class_ion_Writer_Writer_startLob, ZEND_ACC_PUBLIC)
948 ZEND_ME(ion_Writer_Writer, appendLob, arginfo_class_ion_Writer_Writer_appendLob, ZEND_ACC_PUBLIC)
949 ZEND_ME(ion_Writer_Writer, finishLob, arginfo_class_ion_Writer_Writer_finishLob, ZEND_ACC_PUBLIC)
950 ZEND_ME(ion_Writer_Writer, startContainer, arginfo_class_ion_Writer_Writer_startContainer, ZEND_ACC_PUBLIC)
951 ZEND_ME(ion_Writer_Writer, finishContainer, arginfo_class_ion_Writer_Writer_finishContainer, ZEND_ACC_PUBLIC)
952 ZEND_ME(ion_Writer_Writer, writeFieldName, arginfo_class_ion_Writer_Writer_writeFieldName, ZEND_ACC_PUBLIC)
953 ZEND_ME(ion_Writer_Writer, writeAnnotation, arginfo_class_ion_Writer_Writer_writeAnnotation, ZEND_ACC_PUBLIC)
954 ZEND_ME(ion_Writer_Writer, getDepth, arginfo_class_ion_Writer_Writer_getDepth, ZEND_ACC_PUBLIC)
955 ZEND_ME(ion_Writer_Writer, flush, arginfo_class_ion_Writer_Writer_flush, ZEND_ACC_PUBLIC)
956 ZEND_ME(ion_Writer_Writer, finish, arginfo_class_ion_Writer_Writer_finish, ZEND_ACC_PUBLIC)
957 ZEND_FE_END
958 };
959
960
961 static const zend_function_entry class_ion_Writer_Buffer_methods[] = {
962 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Buffer, getBuffer, arginfo_class_ion_Writer_Buffer_getBuffer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
963 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Buffer, resetBuffer, arginfo_class_ion_Writer_Buffer_resetBuffer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
964 ZEND_FE_END
965 };
966
967
968 static const zend_function_entry class_ion_Writer_Stream_methods[] = {
969 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Stream, getStream, arginfo_class_ion_Writer_Stream_getStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
970 ZEND_FE_END
971 };
972
973
974 static const zend_function_entry class_ion_Writer_Buffer_Writer_methods[] = {
975 ZEND_ME(ion_Writer_Buffer_Writer, __construct, arginfo_class_ion_Writer_Buffer_Writer___construct, ZEND_ACC_PUBLIC)
976 ZEND_ME(ion_Writer_Buffer_Writer, getBuffer, arginfo_class_ion_Writer_Buffer_Writer_getBuffer, ZEND_ACC_PUBLIC)
977 ZEND_ME(ion_Writer_Buffer_Writer, resetBuffer, arginfo_class_ion_Writer_Buffer_Writer_resetBuffer, ZEND_ACC_PUBLIC)
978 ZEND_FE_END
979 };
980
981
982 static const zend_function_entry class_ion_Writer_Stream_Writer_methods[] = {
983 ZEND_ME(ion_Writer_Stream_Writer, __construct, arginfo_class_ion_Writer_Stream_Writer___construct, ZEND_ACC_PUBLIC)
984 ZEND_ME(ion_Writer_Stream_Writer, getStream, arginfo_class_ion_Writer_Stream_Writer_getStream, ZEND_ACC_PUBLIC)
985 ZEND_FE_END
986 };
987
988
989 static const zend_function_entry class_ion_Serializer_PHP_methods[] = {
990 ZEND_ME(ion_Serializer_PHP, __construct, arginfo_class_ion_Serializer_PHP___construct, ZEND_ACC_PUBLIC)
991 ZEND_ME(ion_Serializer_PHP, serialize, arginfo_class_ion_Serializer_PHP_serialize, ZEND_ACC_PUBLIC)
992 ZEND_FE_END
993 };
994
995
996 static const zend_function_entry class_ion_Unserializer_PHP_methods[] = {
997 ZEND_ME(ion_Unserializer_PHP, __construct, arginfo_class_ion_Unserializer_PHP___construct, ZEND_ACC_PUBLIC)
998 ZEND_ME(ion_Unserializer_PHP, unserialize, arginfo_class_ion_Unserializer_PHP_unserialize, ZEND_ACC_PUBLIC)
999 ZEND_FE_END
1000 };
1001
1002 static zend_class_entry *register_class_ion_Serializer(void)
1003 {
1004 zend_class_entry ce, *class_entry;
1005
1006 INIT_NS_CLASS_ENTRY(ce, "ion", "Serializer", class_ion_Serializer_methods);
1007 class_entry = zend_register_internal_interface(&ce);
1008
1009 return class_entry;
1010 }
1011
1012 static zend_class_entry *register_class_ion_Unserializer(void)
1013 {
1014 zend_class_entry ce, *class_entry;
1015
1016 INIT_NS_CLASS_ENTRY(ce, "ion", "Unserializer", class_ion_Unserializer_methods);
1017 class_entry = zend_register_internal_interface(&ce);
1018
1019 return class_entry;
1020 }
1021
1022 static zend_class_entry *register_class_ion_Type(void)
1023 {
1024 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Type", IS_LONG, class_ion_Type_methods);
1025
1026 zval enum_case_Null_value;
1027 ZVAL_LONG(&enum_case_Null_value, 0);
1028 zend_enum_add_case_cstr(class_entry, "Null", &enum_case_Null_value);
1029
1030 zval enum_case_Bool_value;
1031 ZVAL_LONG(&enum_case_Bool_value, 256);
1032 zend_enum_add_case_cstr(class_entry, "Bool", &enum_case_Bool_value);
1033
1034 zval enum_case_Int_value;
1035 ZVAL_LONG(&enum_case_Int_value, 512);
1036 zend_enum_add_case_cstr(class_entry, "Int", &enum_case_Int_value);
1037
1038 zval enum_case_Float_value;
1039 ZVAL_LONG(&enum_case_Float_value, 1024);
1040 zend_enum_add_case_cstr(class_entry, "Float", &enum_case_Float_value);
1041
1042 zval enum_case_Decimal_value;
1043 ZVAL_LONG(&enum_case_Decimal_value, 1280);
1044 zend_enum_add_case_cstr(class_entry, "Decimal", &enum_case_Decimal_value);
1045
1046 zval enum_case_Timestamp_value;
1047 ZVAL_LONG(&enum_case_Timestamp_value, 1536);
1048 zend_enum_add_case_cstr(class_entry, "Timestamp", &enum_case_Timestamp_value);
1049
1050 zval enum_case_Symbol_value;
1051 ZVAL_LONG(&enum_case_Symbol_value, 1792);
1052 zend_enum_add_case_cstr(class_entry, "Symbol", &enum_case_Symbol_value);
1053
1054 zval enum_case_String_value;
1055 ZVAL_LONG(&enum_case_String_value, 2048);
1056 zend_enum_add_case_cstr(class_entry, "String", &enum_case_String_value);
1057
1058 zval enum_case_CLob_value;
1059 ZVAL_LONG(&enum_case_CLob_value, 2304);
1060 zend_enum_add_case_cstr(class_entry, "CLob", &enum_case_CLob_value);
1061
1062 zval enum_case_BLob_value;
1063 ZVAL_LONG(&enum_case_BLob_value, 2560);
1064 zend_enum_add_case_cstr(class_entry, "BLob", &enum_case_BLob_value);
1065
1066 zval enum_case_List_value;
1067 ZVAL_LONG(&enum_case_List_value, 2816);
1068 zend_enum_add_case_cstr(class_entry, "List", &enum_case_List_value);
1069
1070 zval enum_case_SExp_value;
1071 ZVAL_LONG(&enum_case_SExp_value, 3072);
1072 zend_enum_add_case_cstr(class_entry, "SExp", &enum_case_SExp_value);
1073
1074 zval enum_case_Struct_value;
1075 ZVAL_LONG(&enum_case_Struct_value, 3328);
1076 zend_enum_add_case_cstr(class_entry, "Struct", &enum_case_Struct_value);
1077
1078 zval enum_case_Datagram_value;
1079 ZVAL_LONG(&enum_case_Datagram_value, 3840);
1080 zend_enum_add_case_cstr(class_entry, "Datagram", &enum_case_Datagram_value);
1081
1082 zval enum_case_EOF_value;
1083 ZVAL_LONG(&enum_case_EOF_value, -256);
1084 zend_enum_add_case_cstr(class_entry, "EOF", &enum_case_EOF_value);
1085
1086 zval enum_case_NONE_value;
1087 ZVAL_LONG(&enum_case_NONE_value, -512);
1088 zend_enum_add_case_cstr(class_entry, "NONE", &enum_case_NONE_value);
1089
1090 return class_entry;
1091 }
1092
1093 static zend_class_entry *register_class_ion_Symbol(void)
1094 {
1095 zend_class_entry ce, *class_entry;
1096
1097 INIT_NS_CLASS_ENTRY(ce, "ion", "Symbol", class_ion_Symbol_methods);
1098 class_entry = zend_register_internal_class_ex(&ce, NULL);
1099
1100 zval property_value_default_value;
1101 ZVAL_UNDEF(&property_value_default_value);
1102 zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
1103 zend_declare_typed_property(class_entry, property_value_name, &property_value_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1104 zend_string_release(property_value_name);
1105
1106 zval property_sid_default_value;
1107 ZVAL_UNDEF(&property_sid_default_value);
1108 zend_string *property_sid_name = zend_string_init("sid", sizeof("sid") - 1, 1);
1109 zend_declare_typed_property(class_entry, property_sid_name, &property_sid_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1110 zend_string_release(property_sid_name);
1111
1112 zend_string *property_importLocation_class_ion_Symbol_ImportLocation = zend_string_init("ion\\Symbol\\ImportLocation", sizeof("ion\\Symbol\\ImportLocation")-1, 1);
1113 zval property_importLocation_default_value;
1114 ZVAL_UNDEF(&property_importLocation_default_value);
1115 zend_string *property_importLocation_name = zend_string_init("importLocation", sizeof("importLocation") - 1, 1);
1116 zend_declare_typed_property(class_entry, property_importLocation_name, &property_importLocation_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_importLocation_class_ion_Symbol_ImportLocation, 0, MAY_BE_NULL));
1117 zend_string_release(property_importLocation_name);
1118
1119 return class_entry;
1120 }
1121
1122 static zend_class_entry *register_class_ion_Catalog(zend_class_entry *class_entry_ion_Countable)
1123 {
1124 zend_class_entry ce, *class_entry;
1125
1126 INIT_NS_CLASS_ENTRY(ce, "ion", "Catalog", class_ion_Catalog_methods);
1127 class_entry = zend_register_internal_class_ex(&ce, NULL);
1128 zend_class_implements(class_entry, 1, class_entry_ion_Countable);
1129
1130 zval property_symbolTables_default_value;
1131 ZVAL_EMPTY_ARRAY(&property_symbolTables_default_value);
1132 zend_string *property_symbolTables_name = zend_string_init("symbolTables", sizeof("symbolTables") - 1, 1);
1133 zend_declare_typed_property(class_entry, property_symbolTables_name, &property_symbolTables_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ARRAY));
1134 zend_string_release(property_symbolTables_name);
1135
1136 return class_entry;
1137 }
1138
1139 static zend_class_entry *register_class_ion_LOB(void)
1140 {
1141 zend_class_entry ce, *class_entry;
1142
1143 INIT_NS_CLASS_ENTRY(ce, "ion", "LOB", class_ion_LOB_methods);
1144 class_entry = zend_register_internal_class_ex(&ce, NULL);
1145
1146 zval property_value_default_value;
1147 ZVAL_UNDEF(&property_value_default_value);
1148 zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
1149 zend_declare_typed_property(class_entry, property_value_name, &property_value_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1150 zend_string_release(property_value_name);
1151
1152 zend_string *property_type_class_ion_Type = zend_string_init("ion\\Type", sizeof("ion\\Type")-1, 1);
1153 zval property_type_default_value;
1154 ZVAL_UNDEF(&property_type_default_value);
1155 zend_string *property_type_name = zend_string_init("type", sizeof("type") - 1, 1);
1156 zend_declare_typed_property(class_entry, property_type_name, &property_type_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_type_class_ion_Type, 0, 0));
1157 zend_string_release(property_type_name);
1158
1159 return class_entry;
1160 }
1161
1162 static zend_class_entry *register_class_ion_Decimal(void)
1163 {
1164 zend_class_entry ce, *class_entry;
1165
1166 INIT_NS_CLASS_ENTRY(ce, "ion", "Decimal", class_ion_Decimal_methods);
1167 class_entry = zend_register_internal_class_ex(&ce, NULL);
1168
1169 zval property_number_default_value;
1170 ZVAL_UNDEF(&property_number_default_value);
1171 zend_string *property_number_name = zend_string_init("number", sizeof("number") - 1, 1);
1172 zend_declare_typed_property(class_entry, property_number_name, &property_number_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_LONG));
1173 zend_string_release(property_number_name);
1174
1175 zend_string *property_context_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1176 zval property_context_default_value;
1177 ZVAL_UNDEF(&property_context_default_value);
1178 zend_string *property_context_name = zend_string_init("context", sizeof("context") - 1, 1);
1179 zend_declare_typed_property(class_entry, property_context_name, &property_context_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_context_class_ion_Decimal_Context, 0, MAY_BE_NULL));
1180 zend_string_release(property_context_name);
1181
1182 return class_entry;
1183 }
1184
1185 static zend_class_entry *register_class_ion_Timestamp(zend_class_entry *class_entry_DateTime)
1186 {
1187 zend_class_entry ce, *class_entry;
1188
1189 INIT_NS_CLASS_ENTRY(ce, "ion", "Timestamp", class_ion_Timestamp_methods);
1190 class_entry = zend_register_internal_class_ex(&ce, class_entry_DateTime);
1191
1192 zval property_precision_default_value;
1193 ZVAL_UNDEF(&property_precision_default_value);
1194 zend_string *property_precision_name = zend_string_init("precision", sizeof("precision") - 1, 1);
1195 zend_declare_typed_property(class_entry, property_precision_name, &property_precision_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1196 zend_string_release(property_precision_name);
1197
1198 zval property_format_default_value;
1199 ZVAL_UNDEF(&property_format_default_value);
1200 zend_string *property_format_name = zend_string_init("format", sizeof("format") - 1, 1);
1201 zend_declare_typed_property(class_entry, property_format_name, &property_format_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1202 zend_string_release(property_format_name);
1203
1204 return class_entry;
1205 }
1206
1207 static zend_class_entry *register_class_ion_Reader(zend_class_entry *class_entry_RecursiveIterator)
1208 {
1209 zend_class_entry ce, *class_entry;
1210
1211 INIT_NS_CLASS_ENTRY(ce, "ion", "Reader", class_ion_Reader_methods);
1212 class_entry = zend_register_internal_interface(&ce);
1213 zend_class_implements(class_entry, 1, class_entry_RecursiveIterator);
1214
1215 return class_entry;
1216 }
1217
1218 static zend_class_entry *register_class_ion_Writer(void)
1219 {
1220 zend_class_entry ce, *class_entry;
1221
1222 INIT_NS_CLASS_ENTRY(ce, "ion", "Writer", class_ion_Writer_methods);
1223 class_entry = zend_register_internal_interface(&ce);
1224
1225 return class_entry;
1226 }
1227
1228 static zend_class_entry *register_class_ion_Symbol_ImportLocation(void)
1229 {
1230 zend_class_entry ce, *class_entry;
1231
1232 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol", "ImportLocation", class_ion_Symbol_ImportLocation_methods);
1233 class_entry = zend_register_internal_class_ex(&ce, NULL);
1234
1235 zval property_name_default_value;
1236 ZVAL_UNDEF(&property_name_default_value);
1237 zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
1238 zend_declare_typed_property(class_entry, property_name_name, &property_name_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1239 zend_string_release(property_name_name);
1240
1241 zval property_location_default_value;
1242 ZVAL_UNDEF(&property_location_default_value);
1243 zend_string *property_location_name = zend_string_init("location", sizeof("location") - 1, 1);
1244 zend_declare_typed_property(class_entry, property_location_name, &property_location_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1245 zend_string_release(property_location_name);
1246
1247 return class_entry;
1248 }
1249
1250 static zend_class_entry *register_class_ion_Symbol_Enum(void)
1251 {
1252 zend_class_entry ce, *class_entry;
1253
1254 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol", "Enum", class_ion_Symbol_Enum_methods);
1255 class_entry = zend_register_internal_interface(&ce);
1256
1257 return class_entry;
1258 }
1259
1260 static zend_class_entry *register_class_ion_Symbol_Table(void)
1261 {
1262 zend_class_entry ce, *class_entry;
1263
1264 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol", "Table", class_ion_Symbol_Table_methods);
1265 class_entry = zend_register_internal_interface(&ce);
1266
1267 return class_entry;
1268 }
1269
1270 static zend_class_entry *register_class_ion_Symbol_Table_System(zend_class_entry *class_entry_ion_Symbol_Enum)
1271 {
1272 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Symbol\\Table\\System", IS_STRING, class_ion_Symbol_Table_System_methods);
1273 zend_class_implements(class_entry, 1, class_entry_ion_Symbol_Enum);
1274
1275 zval enum_case_Ion_value;
1276 zend_string *enum_case_Ion_value_str = zend_string_init("$ion", sizeof("$ion") - 1, 1);
1277 ZVAL_STR(&enum_case_Ion_value, enum_case_Ion_value_str);
1278 zend_enum_add_case_cstr(class_entry, "Ion", &enum_case_Ion_value);
1279
1280 zval enum_case_Ivm_1_0_value;
1281 zend_string *enum_case_Ivm_1_0_value_str = zend_string_init("$ion_1_0", sizeof("$ion_1_0") - 1, 1);
1282 ZVAL_STR(&enum_case_Ivm_1_0_value, enum_case_Ivm_1_0_value_str);
1283 zend_enum_add_case_cstr(class_entry, "Ivm_1_0", &enum_case_Ivm_1_0_value);
1284
1285 zval enum_case_IonSymbolTable_value;
1286 zend_string *enum_case_IonSymbolTable_value_str = zend_string_init("$ion_symbol_table", sizeof("$ion_symbol_table") - 1, 1);
1287 ZVAL_STR(&enum_case_IonSymbolTable_value, enum_case_IonSymbolTable_value_str);
1288 zend_enum_add_case_cstr(class_entry, "IonSymbolTable", &enum_case_IonSymbolTable_value);
1289
1290 zval enum_case_Name_value;
1291 zend_string *enum_case_Name_value_str = zend_string_init("name", sizeof("name") - 1, 1);
1292 ZVAL_STR(&enum_case_Name_value, enum_case_Name_value_str);
1293 zend_enum_add_case_cstr(class_entry, "Name", &enum_case_Name_value);
1294
1295 zval enum_case_Version_value;
1296 zend_string *enum_case_Version_value_str = zend_string_init("version", sizeof("version") - 1, 1);
1297 ZVAL_STR(&enum_case_Version_value, enum_case_Version_value_str);
1298 zend_enum_add_case_cstr(class_entry, "Version", &enum_case_Version_value);
1299
1300 zval enum_case_Imports_value;
1301 zend_string *enum_case_Imports_value_str = zend_string_init("imports", sizeof("imports") - 1, 1);
1302 ZVAL_STR(&enum_case_Imports_value, enum_case_Imports_value_str);
1303 zend_enum_add_case_cstr(class_entry, "Imports", &enum_case_Imports_value);
1304
1305 zval enum_case_Symbols_value;
1306 zend_string *enum_case_Symbols_value_str = zend_string_init("symbols", sizeof("symbols") - 1, 1);
1307 ZVAL_STR(&enum_case_Symbols_value, enum_case_Symbols_value_str);
1308 zend_enum_add_case_cstr(class_entry, "Symbols", &enum_case_Symbols_value);
1309
1310 zval enum_case_MaxId_value;
1311 zend_string *enum_case_MaxId_value_str = zend_string_init("max_id", sizeof("max_id") - 1, 1);
1312 ZVAL_STR(&enum_case_MaxId_value, enum_case_MaxId_value_str);
1313 zend_enum_add_case_cstr(class_entry, "MaxId", &enum_case_MaxId_value);
1314
1315 zval enum_case_SharedSymbolTable_value;
1316 zend_string *enum_case_SharedSymbolTable_value_str = zend_string_init("$ion_shared_symbol_table", sizeof("$ion_shared_symbol_table") - 1, 1);
1317 ZVAL_STR(&enum_case_SharedSymbolTable_value, enum_case_SharedSymbolTable_value_str);
1318 zend_enum_add_case_cstr(class_entry, "SharedSymbolTable", &enum_case_SharedSymbolTable_value);
1319
1320 return class_entry;
1321 }
1322
1323 static zend_class_entry *register_class_ion_Symbol_Table_PHP(zend_class_entry *class_entry_ion_Symbol_Enum)
1324 {
1325 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Symbol\\Table\\PHP", IS_STRING, class_ion_Symbol_Table_PHP_methods);
1326 zend_class_implements(class_entry, 1, class_entry_ion_Symbol_Enum);
1327
1328 zval enum_case_PHP_value;
1329 zend_string *enum_case_PHP_value_str = zend_string_init("PHP", sizeof("PHP") - 1, 1);
1330 ZVAL_STR(&enum_case_PHP_value, enum_case_PHP_value_str);
1331 zend_enum_add_case_cstr(class_entry, "PHP", &enum_case_PHP_value);
1332
1333 zval enum_case_Reference_value;
1334 zend_string *enum_case_Reference_value_str = zend_string_init("R", sizeof("R") - 1, 1);
1335 ZVAL_STR(&enum_case_Reference_value, enum_case_Reference_value_str);
1336 zend_enum_add_case_cstr(class_entry, "Reference", &enum_case_Reference_value);
1337
1338 zval enum_case_Backref_value;
1339 zend_string *enum_case_Backref_value_str = zend_string_init("r", sizeof("r") - 1, 1);
1340 ZVAL_STR(&enum_case_Backref_value, enum_case_Backref_value_str);
1341 zend_enum_add_case_cstr(class_entry, "Backref", &enum_case_Backref_value);
1342
1343 zval enum_case_Property_value;
1344 zend_string *enum_case_Property_value_str = zend_string_init("p", sizeof("p") - 1, 1);
1345 ZVAL_STR(&enum_case_Property_value, enum_case_Property_value_str);
1346 zend_enum_add_case_cstr(class_entry, "Property", &enum_case_Property_value);
1347
1348 zval enum_case_Object_value;
1349 zend_string *enum_case_Object_value_str = zend_string_init("o", sizeof("o") - 1, 1);
1350 ZVAL_STR(&enum_case_Object_value, enum_case_Object_value_str);
1351 zend_enum_add_case_cstr(class_entry, "Object", &enum_case_Object_value);
1352
1353 zval enum_case_ClassObject_value;
1354 zend_string *enum_case_ClassObject_value_str = zend_string_init("c", sizeof("c") - 1, 1);
1355 ZVAL_STR(&enum_case_ClassObject_value, enum_case_ClassObject_value_str);
1356 zend_enum_add_case_cstr(class_entry, "ClassObject", &enum_case_ClassObject_value);
1357
1358 zval enum_case_MagicObject_value;
1359 zend_string *enum_case_MagicObject_value_str = zend_string_init("O", sizeof("O") - 1, 1);
1360 ZVAL_STR(&enum_case_MagicObject_value, enum_case_MagicObject_value_str);
1361 zend_enum_add_case_cstr(class_entry, "MagicObject", &enum_case_MagicObject_value);
1362
1363 zval enum_case_CustomObject_value;
1364 zend_string *enum_case_CustomObject_value_str = zend_string_init("C", sizeof("C") - 1, 1);
1365 ZVAL_STR(&enum_case_CustomObject_value, enum_case_CustomObject_value_str);
1366 zend_enum_add_case_cstr(class_entry, "CustomObject", &enum_case_CustomObject_value);
1367
1368 zval enum_case_Enum_value;
1369 zend_string *enum_case_Enum_value_str = zend_string_init("E", sizeof("E") - 1, 1);
1370 ZVAL_STR(&enum_case_Enum_value, enum_case_Enum_value_str);
1371 zend_enum_add_case_cstr(class_entry, "Enum", &enum_case_Enum_value);
1372
1373 zval enum_case_Serializable_value;
1374 zend_string *enum_case_Serializable_value_str = zend_string_init("S", sizeof("S") - 1, 1);
1375 ZVAL_STR(&enum_case_Serializable_value, enum_case_Serializable_value_str);
1376 zend_enum_add_case_cstr(class_entry, "Serializable", &enum_case_Serializable_value);
1377
1378 return class_entry;
1379 }
1380
1381 static zend_class_entry *register_class_ion_Symbol_Table_Local(zend_class_entry *class_entry_ion_Symbol_Table)
1382 {
1383 zend_class_entry ce, *class_entry;
1384
1385 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol\\Table", "Local", class_ion_Symbol_Table_Local_methods);
1386 class_entry = zend_register_internal_class_ex(&ce, NULL);
1387 zend_class_implements(class_entry, 1, class_entry_ion_Symbol_Table);
1388
1389 zval property_imports_default_value;
1390 ZVAL_EMPTY_ARRAY(&property_imports_default_value);
1391 zend_string *property_imports_name = zend_string_init("imports", sizeof("imports") - 1, 1);
1392 zend_declare_typed_property(class_entry, property_imports_name, &property_imports_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ARRAY));
1393 zend_string_release(property_imports_name);
1394
1395 zval property_symbols_default_value;
1396 ZVAL_EMPTY_ARRAY(&property_symbols_default_value);
1397 zend_string *property_symbols_name = zend_string_init("symbols", sizeof("symbols") - 1, 1);
1398 zend_declare_typed_property(class_entry, property_symbols_name, &property_symbols_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ARRAY));
1399 zend_string_release(property_symbols_name);
1400
1401 return class_entry;
1402 }
1403
1404 static zend_class_entry *register_class_ion_Symbol_Table_Shared(zend_class_entry *class_entry_ion_Symbol_Table)
1405 {
1406 zend_class_entry ce, *class_entry;
1407
1408 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol\\Table", "Shared", class_ion_Symbol_Table_Shared_methods);
1409 class_entry = zend_register_internal_class_ex(&ce, NULL);
1410 zend_class_implements(class_entry, 1, class_entry_ion_Symbol_Table);
1411
1412 zval property_name_default_value;
1413 ZVAL_UNDEF(&property_name_default_value);
1414 zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
1415 zend_declare_typed_property(class_entry, property_name_name, &property_name_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1416 zend_string_release(property_name_name);
1417
1418 zval property_version_default_value;
1419 ZVAL_UNDEF(&property_version_default_value);
1420 zend_string *property_version_name = zend_string_init("version", sizeof("version") - 1, 1);
1421 zend_declare_typed_property(class_entry, property_version_name, &property_version_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1422 zend_string_release(property_version_name);
1423
1424 zval property_symbols_default_value;
1425 ZVAL_EMPTY_ARRAY(&property_symbols_default_value);
1426 zend_string *property_symbols_name = zend_string_init("symbols", sizeof("symbols") - 1, 1);
1427 zend_declare_typed_property(class_entry, property_symbols_name, &property_symbols_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ARRAY));
1428 zend_string_release(property_symbols_name);
1429
1430 return class_entry;
1431 }
1432
1433 static zend_class_entry *register_class_ion_Decimal_Context(void)
1434 {
1435 zend_class_entry ce, *class_entry;
1436
1437 INIT_NS_CLASS_ENTRY(ce, "ion\\Decimal", "Context", class_ion_Decimal_Context_methods);
1438 class_entry = zend_register_internal_class_ex(&ce, NULL);
1439
1440 zval property_digits_default_value;
1441 ZVAL_UNDEF(&property_digits_default_value);
1442 zend_string *property_digits_name = zend_string_init("digits", sizeof("digits") - 1, 1);
1443 zend_declare_typed_property(class_entry, property_digits_name, &property_digits_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1444 zend_string_release(property_digits_name);
1445
1446 zval property_eMax_default_value;
1447 ZVAL_UNDEF(&property_eMax_default_value);
1448 zend_string *property_eMax_name = zend_string_init("eMax", sizeof("eMax") - 1, 1);
1449 zend_declare_typed_property(class_entry, property_eMax_name, &property_eMax_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1450 zend_string_release(property_eMax_name);
1451
1452 zval property_eMin_default_value;
1453 ZVAL_UNDEF(&property_eMin_default_value);
1454 zend_string *property_eMin_name = zend_string_init("eMin", sizeof("eMin") - 1, 1);
1455 zend_declare_typed_property(class_entry, property_eMin_name, &property_eMin_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1456 zend_string_release(property_eMin_name);
1457
1458 zend_string *property_round_class_ion_Decimal_Context_Rounding = zend_string_init("ion\\Decimal\\Context\\Rounding", sizeof("ion\\Decimal\\Context\\Rounding")-1, 1);
1459 zval property_round_default_value;
1460 ZVAL_UNDEF(&property_round_default_value);
1461 zend_string *property_round_name = zend_string_init("round", sizeof("round") - 1, 1);
1462 zend_declare_typed_property(class_entry, property_round_name, &property_round_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_round_class_ion_Decimal_Context_Rounding, 0, MAY_BE_LONG));
1463 zend_string_release(property_round_name);
1464
1465 zval property_clamp_default_value;
1466 ZVAL_UNDEF(&property_clamp_default_value);
1467 zend_string *property_clamp_name = zend_string_init("clamp", sizeof("clamp") - 1, 1);
1468 zend_declare_typed_property(class_entry, property_clamp_name, &property_clamp_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1469 zend_string_release(property_clamp_name);
1470
1471 return class_entry;
1472 }
1473
1474 static zend_class_entry *register_class_ion_Decimal_Context_Rounding(void)
1475 {
1476 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Decimal\\Context\\Rounding", IS_LONG, class_ion_Decimal_Context_Rounding_methods);
1477
1478 zval enum_case_Ceiling_value;
1479 ZVAL_LONG(&enum_case_Ceiling_value, 0);
1480 zend_enum_add_case_cstr(class_entry, "Ceiling", &enum_case_Ceiling_value);
1481
1482 zval enum_case_Up_value;
1483 ZVAL_LONG(&enum_case_Up_value, 1);
1484 zend_enum_add_case_cstr(class_entry, "Up", &enum_case_Up_value);
1485
1486 zval enum_case_HalfUp_value;
1487 ZVAL_LONG(&enum_case_HalfUp_value, 2);
1488 zend_enum_add_case_cstr(class_entry, "HalfUp", &enum_case_HalfUp_value);
1489
1490 zval enum_case_HalfEven_value;
1491 ZVAL_LONG(&enum_case_HalfEven_value, 3);
1492 zend_enum_add_case_cstr(class_entry, "HalfEven", &enum_case_HalfEven_value);
1493
1494 zval enum_case_HalfDown_value;
1495 ZVAL_LONG(&enum_case_HalfDown_value, 4);
1496 zend_enum_add_case_cstr(class_entry, "HalfDown", &enum_case_HalfDown_value);
1497
1498 zval enum_case_Down_value;
1499 ZVAL_LONG(&enum_case_Down_value, 5);
1500 zend_enum_add_case_cstr(class_entry, "Down", &enum_case_Down_value);
1501
1502 zval enum_case_Floor_value;
1503 ZVAL_LONG(&enum_case_Floor_value, 6);
1504 zend_enum_add_case_cstr(class_entry, "Floor", &enum_case_Floor_value);
1505
1506 zval enum_case_Down05Up_value;
1507 ZVAL_LONG(&enum_case_Down05Up_value, 7);
1508 zend_enum_add_case_cstr(class_entry, "Down05Up", &enum_case_Down05Up_value);
1509
1510 return class_entry;
1511 }
1512
1513 static zend_class_entry *register_class_ion_Timestamp_Precision(void)
1514 {
1515 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Timestamp\\Precision", IS_LONG, class_ion_Timestamp_Precision_methods);
1516
1517 zval enum_case_Year_value;
1518 ZVAL_LONG(&enum_case_Year_value, 1);
1519 zend_enum_add_case_cstr(class_entry, "Year", &enum_case_Year_value);
1520
1521 zval enum_case_Month_value;
1522 ZVAL_LONG(&enum_case_Month_value, 3);
1523 zend_enum_add_case_cstr(class_entry, "Month", &enum_case_Month_value);
1524
1525 zval enum_case_Day_value;
1526 ZVAL_LONG(&enum_case_Day_value, 7);
1527 zend_enum_add_case_cstr(class_entry, "Day", &enum_case_Day_value);
1528
1529 zval enum_case_Min_value;
1530 ZVAL_LONG(&enum_case_Min_value, 23);
1531 zend_enum_add_case_cstr(class_entry, "Min", &enum_case_Min_value);
1532
1533 zval enum_case_Sec_value;
1534 ZVAL_LONG(&enum_case_Sec_value, 55);
1535 zend_enum_add_case_cstr(class_entry, "Sec", &enum_case_Sec_value);
1536
1537 zval enum_case_Frac_value;
1538 ZVAL_LONG(&enum_case_Frac_value, 119);
1539 zend_enum_add_case_cstr(class_entry, "Frac", &enum_case_Frac_value);
1540
1541 zval enum_case_MinTZ_value;
1542 ZVAL_LONG(&enum_case_MinTZ_value, 151);
1543 zend_enum_add_case_cstr(class_entry, "MinTZ", &enum_case_MinTZ_value);
1544
1545 zval enum_case_SecTZ_value;
1546 ZVAL_LONG(&enum_case_SecTZ_value, 183);
1547 zend_enum_add_case_cstr(class_entry, "SecTZ", &enum_case_SecTZ_value);
1548
1549 zval enum_case_FracTZ_value;
1550 ZVAL_LONG(&enum_case_FracTZ_value, 247);
1551 zend_enum_add_case_cstr(class_entry, "FracTZ", &enum_case_FracTZ_value);
1552
1553 return class_entry;
1554 }
1555
1556 static zend_class_entry *register_class_ion_Timestamp_Format(void)
1557 {
1558 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Timestamp\\Format", IS_STRING, class_ion_Timestamp_Format_methods);
1559
1560 zval enum_case_Year_value;
1561 zend_string *enum_case_Year_value_str = zend_string_init("Y\\T", sizeof("Y\\T") - 1, 1);
1562 ZVAL_STR(&enum_case_Year_value, enum_case_Year_value_str);
1563 zend_enum_add_case_cstr(class_entry, "Year", &enum_case_Year_value);
1564
1565 zval enum_case_Month_value;
1566 zend_string *enum_case_Month_value_str = zend_string_init("Y-m\\T", sizeof("Y-m\\T") - 1, 1);
1567 ZVAL_STR(&enum_case_Month_value, enum_case_Month_value_str);
1568 zend_enum_add_case_cstr(class_entry, "Month", &enum_case_Month_value);
1569
1570 zval enum_case_Day_value;
1571 zend_string *enum_case_Day_value_str = zend_string_init("Y-m-d\\T", sizeof("Y-m-d\\T") - 1, 1);
1572 ZVAL_STR(&enum_case_Day_value, enum_case_Day_value_str);
1573 zend_enum_add_case_cstr(class_entry, "Day", &enum_case_Day_value);
1574
1575 zval enum_case_Min_value;
1576 zend_string *enum_case_Min_value_str = zend_string_init("Y-m-d\\TH:i", sizeof("Y-m-d\\TH:i") - 1, 1);
1577 ZVAL_STR(&enum_case_Min_value, enum_case_Min_value_str);
1578 zend_enum_add_case_cstr(class_entry, "Min", &enum_case_Min_value);
1579
1580 zval enum_case_Sec_value;
1581 zend_string *enum_case_Sec_value_str = zend_string_init("Y-m-d\\TH:i:s", sizeof("Y-m-d\\TH:i:s") - 1, 1);
1582 ZVAL_STR(&enum_case_Sec_value, enum_case_Sec_value_str);
1583 zend_enum_add_case_cstr(class_entry, "Sec", &enum_case_Sec_value);
1584
1585 zval enum_case_Frac_value;
1586 zend_string *enum_case_Frac_value_str = zend_string_init("Y-m-d\\TH:i:s.v", sizeof("Y-m-d\\TH:i:s.v") - 1, 1);
1587 ZVAL_STR(&enum_case_Frac_value, enum_case_Frac_value_str);
1588 zend_enum_add_case_cstr(class_entry, "Frac", &enum_case_Frac_value);
1589
1590 zval enum_case_MinTZ_value;
1591 zend_string *enum_case_MinTZ_value_str = zend_string_init("Y-m-d\\TH:iP", sizeof("Y-m-d\\TH:iP") - 1, 1);
1592 ZVAL_STR(&enum_case_MinTZ_value, enum_case_MinTZ_value_str);
1593 zend_enum_add_case_cstr(class_entry, "MinTZ", &enum_case_MinTZ_value);
1594
1595 zval enum_case_SecTZ_value;
1596 zend_string *enum_case_SecTZ_value_str = zend_string_init("Y-m-d\\TH:i:sP", sizeof("Y-m-d\\TH:i:sP") - 1, 1);
1597 ZVAL_STR(&enum_case_SecTZ_value, enum_case_SecTZ_value_str);
1598 zend_enum_add_case_cstr(class_entry, "SecTZ", &enum_case_SecTZ_value);
1599
1600 zval enum_case_FracTZ_value;
1601 zend_string *enum_case_FracTZ_value_str = zend_string_init("Y-m-d\\TH:i:s.vP", sizeof("Y-m-d\\TH:i:s.vP") - 1, 1);
1602 ZVAL_STR(&enum_case_FracTZ_value, enum_case_FracTZ_value_str);
1603 zend_enum_add_case_cstr(class_entry, "FracTZ", &enum_case_FracTZ_value);
1604
1605 return class_entry;
1606 }
1607
1608 static zend_class_entry *register_class_ion_Reader_Options(void)
1609 {
1610 zend_class_entry ce, *class_entry;
1611
1612 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Options", class_ion_Reader_Options_methods);
1613 class_entry = zend_register_internal_class_ex(&ce, NULL);
1614
1615 zend_string *property_catalog_class_ion_Catalog = zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1616 zval property_catalog_default_value;
1617 ZVAL_UNDEF(&property_catalog_default_value);
1618 zend_string *property_catalog_name = zend_string_init("catalog", sizeof("catalog") - 1, 1);
1619 zend_declare_typed_property(class_entry, property_catalog_name, &property_catalog_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_catalog_class_ion_Catalog, 0, MAY_BE_NULL));
1620 zend_string_release(property_catalog_name);
1621
1622 zend_string *property_decimalContext_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1623 zval property_decimalContext_default_value;
1624 ZVAL_UNDEF(&property_decimalContext_default_value);
1625 zend_string *property_decimalContext_name = zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1626 zend_declare_typed_property(class_entry, property_decimalContext_name, &property_decimalContext_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_decimalContext_class_ion_Decimal_Context, 0, MAY_BE_NULL));
1627 zend_string_release(property_decimalContext_name);
1628
1629 zend_string *property_onContextChange_class_Closure = zend_string_init("Closure", sizeof("Closure")-1, 1);
1630 zval property_onContextChange_default_value;
1631 ZVAL_UNDEF(&property_onContextChange_default_value);
1632 zend_string *property_onContextChange_name = zend_string_init("onContextChange", sizeof("onContextChange") - 1, 1);
1633 zend_declare_typed_property(class_entry, property_onContextChange_name, &property_onContextChange_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_onContextChange_class_Closure, 0, MAY_BE_NULL));
1634 zend_string_release(property_onContextChange_name);
1635
1636 zval property_returnSystemValues_default_value;
1637 ZVAL_UNDEF(&property_returnSystemValues_default_value);
1638 zend_string *property_returnSystemValues_name = zend_string_init("returnSystemValues", sizeof("returnSystemValues") - 1, 1);
1639 zend_declare_typed_property(class_entry, property_returnSystemValues_name, &property_returnSystemValues_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1640 zend_string_release(property_returnSystemValues_name);
1641
1642 zval property_newLine_default_value;
1643 ZVAL_UNDEF(&property_newLine_default_value);
1644 zend_string *property_newLine_name = zend_string_init("newLine", sizeof("newLine") - 1, 1);
1645 zend_declare_typed_property(class_entry, property_newLine_name, &property_newLine_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1646 zend_string_release(property_newLine_name);
1647
1648 zval property_maxContainerDepth_default_value;
1649 ZVAL_UNDEF(&property_maxContainerDepth_default_value);
1650 zend_string *property_maxContainerDepth_name = zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1651 zend_declare_typed_property(class_entry, property_maxContainerDepth_name, &property_maxContainerDepth_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1652 zend_string_release(property_maxContainerDepth_name);
1653
1654 zval property_maxAnnotations_default_value;
1655 ZVAL_UNDEF(&property_maxAnnotations_default_value);
1656 zend_string *property_maxAnnotations_name = zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1657 zend_declare_typed_property(class_entry, property_maxAnnotations_name, &property_maxAnnotations_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1658 zend_string_release(property_maxAnnotations_name);
1659
1660 zval property_maxAnnotationBuffered_default_value;
1661 ZVAL_UNDEF(&property_maxAnnotationBuffered_default_value);
1662 zend_string *property_maxAnnotationBuffered_name = zend_string_init("maxAnnotationBuffered", sizeof("maxAnnotationBuffered") - 1, 1);
1663 zend_declare_typed_property(class_entry, property_maxAnnotationBuffered_name, &property_maxAnnotationBuffered_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1664 zend_string_release(property_maxAnnotationBuffered_name);
1665
1666 zval property_symbolThreshold_default_value;
1667 ZVAL_UNDEF(&property_symbolThreshold_default_value);
1668 zend_string *property_symbolThreshold_name = zend_string_init("symbolThreshold", sizeof("symbolThreshold") - 1, 1);
1669 zend_declare_typed_property(class_entry, property_symbolThreshold_name, &property_symbolThreshold_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1670 zend_string_release(property_symbolThreshold_name);
1671
1672 zval property_userValueThreshold_default_value;
1673 ZVAL_UNDEF(&property_userValueThreshold_default_value);
1674 zend_string *property_userValueThreshold_name = zend_string_init("userValueThreshold", sizeof("userValueThreshold") - 1, 1);
1675 zend_declare_typed_property(class_entry, property_userValueThreshold_name, &property_userValueThreshold_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1676 zend_string_release(property_userValueThreshold_name);
1677
1678 zval property_chunkThreshold_default_value;
1679 ZVAL_UNDEF(&property_chunkThreshold_default_value);
1680 zend_string *property_chunkThreshold_name = zend_string_init("chunkThreshold", sizeof("chunkThreshold") - 1, 1);
1681 zend_declare_typed_property(class_entry, property_chunkThreshold_name, &property_chunkThreshold_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1682 zend_string_release(property_chunkThreshold_name);
1683
1684 zval property_allocationPageSize_default_value;
1685 ZVAL_UNDEF(&property_allocationPageSize_default_value);
1686 zend_string *property_allocationPageSize_name = zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1687 zend_declare_typed_property(class_entry, property_allocationPageSize_name, &property_allocationPageSize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1688 zend_string_release(property_allocationPageSize_name);
1689
1690 zval property_skipCharacterValidation_default_value;
1691 ZVAL_UNDEF(&property_skipCharacterValidation_default_value);
1692 zend_string *property_skipCharacterValidation_name = zend_string_init("skipCharacterValidation", sizeof("skipCharacterValidation") - 1, 1);
1693 zend_declare_typed_property(class_entry, property_skipCharacterValidation_name, &property_skipCharacterValidation_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1694 zend_string_release(property_skipCharacterValidation_name);
1695
1696 return class_entry;
1697 }
1698
1699 static zend_class_entry *register_class_ion_Reader_Reader(zend_class_entry *class_entry_ion_Reader)
1700 {
1701 zend_class_entry ce, *class_entry;
1702
1703 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Reader", class_ion_Reader_Reader_methods);
1704 class_entry = zend_register_internal_class_ex(&ce, NULL);
1705 class_entry->ce_flags |= ZEND_ACC_ABSTRACT;
1706 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1707
1708 zend_string *property_options_class_ion_Reader_Options = zend_string_init("ion\\Reader\\Options", sizeof("ion\\Reader\\Options")-1, 1);
1709 zval property_options_default_value;
1710 ZVAL_UNDEF(&property_options_default_value);
1711 zend_string *property_options_name = zend_string_init("options", sizeof("options") - 1, 1);
1712 zend_declare_typed_property(class_entry, property_options_name, &property_options_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_options_class_ion_Reader_Options, 0, MAY_BE_NULL));
1713 zend_string_release(property_options_name);
1714
1715 return class_entry;
1716 }
1717
1718 static zend_class_entry *register_class_ion_Reader_Buffer(zend_class_entry *class_entry_ion_Reader)
1719 {
1720 zend_class_entry ce, *class_entry;
1721
1722 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Buffer", class_ion_Reader_Buffer_methods);
1723 class_entry = zend_register_internal_interface(&ce);
1724 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1725
1726 return class_entry;
1727 }
1728
1729 static zend_class_entry *register_class_ion_Reader_Stream(zend_class_entry *class_entry_ion_Reader)
1730 {
1731 zend_class_entry ce, *class_entry;
1732
1733 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Stream", class_ion_Reader_Stream_methods);
1734 class_entry = zend_register_internal_interface(&ce);
1735 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1736
1737 return class_entry;
1738 }
1739
1740 static zend_class_entry *register_class_ion_Reader_Buffer_Reader(zend_class_entry *class_entry_ion_Reader_Reader, zend_class_entry *class_entry_ion_Reader_Buffer)
1741 {
1742 zend_class_entry ce, *class_entry;
1743
1744 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader\\Buffer", "Reader", class_ion_Reader_Buffer_Reader_methods);
1745 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Reader_Reader);
1746 zend_class_implements(class_entry, 1, class_entry_ion_Reader_Buffer);
1747
1748 return class_entry;
1749 }
1750
1751 static zend_class_entry *register_class_ion_Reader_Stream_Reader(zend_class_entry *class_entry_ion_Reader_Reader, zend_class_entry *class_entry_ion_Reader_Stream)
1752 {
1753 zend_class_entry ce, *class_entry;
1754
1755 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader\\Stream", "Reader", class_ion_Reader_Stream_Reader_methods);
1756 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Reader_Reader);
1757 zend_class_implements(class_entry, 1, class_entry_ion_Reader_Stream);
1758
1759 return class_entry;
1760 }
1761
1762 static zend_class_entry *register_class_ion_Writer_Options(void)
1763 {
1764 zend_class_entry ce, *class_entry;
1765
1766 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Options", class_ion_Writer_Options_methods);
1767 class_entry = zend_register_internal_class_ex(&ce, NULL);
1768
1769 zend_string *property_catalog_class_ion_Catalog = zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1770 zval property_catalog_default_value;
1771 ZVAL_UNDEF(&property_catalog_default_value);
1772 zend_string *property_catalog_name = zend_string_init("catalog", sizeof("catalog") - 1, 1);
1773 zend_declare_typed_property(class_entry, property_catalog_name, &property_catalog_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_catalog_class_ion_Catalog, 0, MAY_BE_NULL));
1774 zend_string_release(property_catalog_name);
1775
1776 zend_string *property_decimalContext_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1777 zval property_decimalContext_default_value;
1778 ZVAL_UNDEF(&property_decimalContext_default_value);
1779 zend_string *property_decimalContext_name = zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1780 zend_declare_typed_property(class_entry, property_decimalContext_name, &property_decimalContext_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_decimalContext_class_ion_Decimal_Context, 0, MAY_BE_NULL));
1781 zend_string_release(property_decimalContext_name);
1782
1783 zval property_outputBinary_default_value;
1784 ZVAL_UNDEF(&property_outputBinary_default_value);
1785 zend_string *property_outputBinary_name = zend_string_init("outputBinary", sizeof("outputBinary") - 1, 1);
1786 zend_declare_typed_property(class_entry, property_outputBinary_name, &property_outputBinary_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1787 zend_string_release(property_outputBinary_name);
1788
1789 zval property_compactFloats_default_value;
1790 ZVAL_UNDEF(&property_compactFloats_default_value);
1791 zend_string *property_compactFloats_name = zend_string_init("compactFloats", sizeof("compactFloats") - 1, 1);
1792 zend_declare_typed_property(class_entry, property_compactFloats_name, &property_compactFloats_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1793 zend_string_release(property_compactFloats_name);
1794
1795 zval property_escapeNonAscii_default_value;
1796 ZVAL_UNDEF(&property_escapeNonAscii_default_value);
1797 zend_string *property_escapeNonAscii_name = zend_string_init("escapeNonAscii", sizeof("escapeNonAscii") - 1, 1);
1798 zend_declare_typed_property(class_entry, property_escapeNonAscii_name, &property_escapeNonAscii_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1799 zend_string_release(property_escapeNonAscii_name);
1800
1801 zval property_prettyPrint_default_value;
1802 ZVAL_UNDEF(&property_prettyPrint_default_value);
1803 zend_string *property_prettyPrint_name = zend_string_init("prettyPrint", sizeof("prettyPrint") - 1, 1);
1804 zend_declare_typed_property(class_entry, property_prettyPrint_name, &property_prettyPrint_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1805 zend_string_release(property_prettyPrint_name);
1806
1807 zval property_indentTabs_default_value;
1808 ZVAL_UNDEF(&property_indentTabs_default_value);
1809 zend_string *property_indentTabs_name = zend_string_init("indentTabs", sizeof("indentTabs") - 1, 1);
1810 zend_declare_typed_property(class_entry, property_indentTabs_name, &property_indentTabs_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1811 zend_string_release(property_indentTabs_name);
1812
1813 zval property_indentSize_default_value;
1814 ZVAL_UNDEF(&property_indentSize_default_value);
1815 zend_string *property_indentSize_name = zend_string_init("indentSize", sizeof("indentSize") - 1, 1);
1816 zend_declare_typed_property(class_entry, property_indentSize_name, &property_indentSize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1817 zend_string_release(property_indentSize_name);
1818
1819 zval property_smallContainersInline_default_value;
1820 ZVAL_UNDEF(&property_smallContainersInline_default_value);
1821 zend_string *property_smallContainersInline_name = zend_string_init("smallContainersInline", sizeof("smallContainersInline") - 1, 1);
1822 zend_declare_typed_property(class_entry, property_smallContainersInline_name, &property_smallContainersInline_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1823 zend_string_release(property_smallContainersInline_name);
1824
1825 zval property_suppressSystemValues_default_value;
1826 ZVAL_UNDEF(&property_suppressSystemValues_default_value);
1827 zend_string *property_suppressSystemValues_name = zend_string_init("suppressSystemValues", sizeof("suppressSystemValues") - 1, 1);
1828 zend_declare_typed_property(class_entry, property_suppressSystemValues_name, &property_suppressSystemValues_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1829 zend_string_release(property_suppressSystemValues_name);
1830
1831 zval property_flushEveryValue_default_value;
1832 ZVAL_UNDEF(&property_flushEveryValue_default_value);
1833 zend_string *property_flushEveryValue_name = zend_string_init("flushEveryValue", sizeof("flushEveryValue") - 1, 1);
1834 zend_declare_typed_property(class_entry, property_flushEveryValue_name, &property_flushEveryValue_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1835 zend_string_release(property_flushEveryValue_name);
1836
1837 zval property_maxContainerDepth_default_value;
1838 ZVAL_UNDEF(&property_maxContainerDepth_default_value);
1839 zend_string *property_maxContainerDepth_name = zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1840 zend_declare_typed_property(class_entry, property_maxContainerDepth_name, &property_maxContainerDepth_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1841 zend_string_release(property_maxContainerDepth_name);
1842
1843 zval property_maxAnnotations_default_value;
1844 ZVAL_UNDEF(&property_maxAnnotations_default_value);
1845 zend_string *property_maxAnnotations_name = zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1846 zend_declare_typed_property(class_entry, property_maxAnnotations_name, &property_maxAnnotations_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1847 zend_string_release(property_maxAnnotations_name);
1848
1849 zval property_tempBufferSize_default_value;
1850 ZVAL_UNDEF(&property_tempBufferSize_default_value);
1851 zend_string *property_tempBufferSize_name = zend_string_init("tempBufferSize", sizeof("tempBufferSize") - 1, 1);
1852 zend_declare_typed_property(class_entry, property_tempBufferSize_name, &property_tempBufferSize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1853 zend_string_release(property_tempBufferSize_name);
1854
1855 zval property_allocationPageSize_default_value;
1856 ZVAL_UNDEF(&property_allocationPageSize_default_value);
1857 zend_string *property_allocationPageSize_name = zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1858 zend_declare_typed_property(class_entry, property_allocationPageSize_name, &property_allocationPageSize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1859 zend_string_release(property_allocationPageSize_name);
1860
1861 return class_entry;
1862 }
1863
1864 static zend_class_entry *register_class_ion_Writer_Writer(zend_class_entry *class_entry_ion_Writer)
1865 {
1866 zend_class_entry ce, *class_entry;
1867
1868 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Writer", class_ion_Writer_Writer_methods);
1869 class_entry = zend_register_internal_class_ex(&ce, NULL);
1870 class_entry->ce_flags |= ZEND_ACC_ABSTRACT;
1871 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1872
1873 return class_entry;
1874 }
1875
1876 static zend_class_entry *register_class_ion_Writer_Buffer(zend_class_entry *class_entry_ion_Writer)
1877 {
1878 zend_class_entry ce, *class_entry;
1879
1880 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Buffer", class_ion_Writer_Buffer_methods);
1881 class_entry = zend_register_internal_interface(&ce);
1882 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1883
1884 return class_entry;
1885 }
1886
1887 static zend_class_entry *register_class_ion_Writer_Stream(zend_class_entry *class_entry_ion_Writer)
1888 {
1889 zend_class_entry ce, *class_entry;
1890
1891 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Stream", class_ion_Writer_Stream_methods);
1892 class_entry = zend_register_internal_interface(&ce);
1893 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1894
1895 return class_entry;
1896 }
1897
1898 static zend_class_entry *register_class_ion_Writer_Buffer_Writer(zend_class_entry *class_entry_ion_Writer_Writer, zend_class_entry *class_entry_ion_Writer_Buffer)
1899 {
1900 zend_class_entry ce, *class_entry;
1901
1902 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer\\Buffer", "Writer", class_ion_Writer_Buffer_Writer_methods);
1903 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Writer_Writer);
1904 zend_class_implements(class_entry, 1, class_entry_ion_Writer_Buffer);
1905
1906 return class_entry;
1907 }
1908
1909 static zend_class_entry *register_class_ion_Writer_Stream_Writer(zend_class_entry *class_entry_ion_Writer_Writer, zend_class_entry *class_entry_ion_Writer_Stream)
1910 {
1911 zend_class_entry ce, *class_entry;
1912
1913 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer\\Stream", "Writer", class_ion_Writer_Stream_Writer_methods);
1914 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Writer_Writer);
1915 zend_class_implements(class_entry, 1, class_entry_ion_Writer_Stream);
1916
1917 return class_entry;
1918 }
1919
1920 static zend_class_entry *register_class_ion_Serializer_PHP(zend_class_entry *class_entry_ion_Serializer)
1921 {
1922 zend_class_entry ce, *class_entry;
1923
1924 INIT_NS_CLASS_ENTRY(ce, "ion\\Serializer", "PHP", class_ion_Serializer_PHP_methods);
1925 class_entry = zend_register_internal_class_ex(&ce, NULL);
1926 zend_class_implements(class_entry, 1, class_entry_ion_Serializer);
1927
1928 zend_string *property_writerOptions_class_ion_Writer_Options = zend_string_init("ion\\Writer\\Options", sizeof("ion\\Writer\\Options")-1, 1);
1929 zval property_writerOptions_default_value;
1930 ZVAL_UNDEF(&property_writerOptions_default_value);
1931 zend_string *property_writerOptions_name = zend_string_init("writerOptions", sizeof("writerOptions") - 1, 1);
1932 zend_declare_typed_property(class_entry, property_writerOptions_name, &property_writerOptions_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_writerOptions_class_ion_Writer_Options, 0, MAY_BE_NULL));
1933 zend_string_release(property_writerOptions_name);
1934
1935 zval property_multiSequence_default_value;
1936 ZVAL_UNDEF(&property_multiSequence_default_value);
1937 zend_string *property_multiSequence_name = zend_string_init("multiSequence", sizeof("multiSequence") - 1, 1);
1938 zend_declare_typed_property(class_entry, property_multiSequence_name, &property_multiSequence_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1939 zend_string_release(property_multiSequence_name);
1940
1941 zval property_callMagicSerialize_default_value;
1942 ZVAL_UNDEF(&property_callMagicSerialize_default_value);
1943 zend_string *property_callMagicSerialize_name = zend_string_init("callMagicSerialize", sizeof("callMagicSerialize") - 1, 1);
1944 zend_declare_typed_property(class_entry, property_callMagicSerialize_name, &property_callMagicSerialize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1945 zend_string_release(property_callMagicSerialize_name);
1946
1947 zval property_callCustomSerialize_default_value;
1948 ZVAL_UNDEF(&property_callCustomSerialize_default_value);
1949 zend_string *property_callCustomSerialize_name = zend_string_init("callCustomSerialize", sizeof("callCustomSerialize") - 1, 1);
1950 zend_declare_typed_property(class_entry, property_callCustomSerialize_name, &property_callCustomSerialize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1951 zend_string_release(property_callCustomSerialize_name);
1952
1953 return class_entry;
1954 }
1955
1956 static zend_class_entry *register_class_ion_Unserializer_PHP(zend_class_entry *class_entry_ion_Unserializer)
1957 {
1958 zend_class_entry ce, *class_entry;
1959
1960 INIT_NS_CLASS_ENTRY(ce, "ion\\Unserializer", "PHP", class_ion_Unserializer_PHP_methods);
1961 class_entry = zend_register_internal_class_ex(&ce, NULL);
1962 zend_class_implements(class_entry, 1, class_entry_ion_Unserializer);
1963
1964 zend_string *property_readerOptions_class_ion_Reader_Options = zend_string_init("ion\\Reader\\Options", sizeof("ion\\Reader\\Options")-1, 1);
1965 zval property_readerOptions_default_value;
1966 ZVAL_UNDEF(&property_readerOptions_default_value);
1967 zend_string *property_readerOptions_name = zend_string_init("readerOptions", sizeof("readerOptions") - 1, 1);
1968 zend_declare_typed_property(class_entry, property_readerOptions_name, &property_readerOptions_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_readerOptions_class_ion_Reader_Options, 0, MAY_BE_NULL));
1969 zend_string_release(property_readerOptions_name);
1970
1971 zval property_multiSequence_default_value;
1972 ZVAL_UNDEF(&property_multiSequence_default_value);
1973 zend_string *property_multiSequence_name = zend_string_init("multiSequence", sizeof("multiSequence") - 1, 1);
1974 zend_declare_typed_property(class_entry, property_multiSequence_name, &property_multiSequence_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1975 zend_string_release(property_multiSequence_name);
1976
1977 zval property_callMagicUnserialize_default_value;
1978 ZVAL_UNDEF(&property_callMagicUnserialize_default_value);
1979 zend_string *property_callMagicUnserialize_name = zend_string_init("callMagicUnserialize", sizeof("callMagicUnserialize") - 1, 1);
1980 zend_declare_typed_property(class_entry, property_callMagicUnserialize_name, &property_callMagicUnserialize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1981 zend_string_release(property_callMagicUnserialize_name);
1982
1983 zval property_callCustomUnserialize_default_value;
1984 ZVAL_UNDEF(&property_callCustomUnserialize_default_value);
1985 zend_string *property_callCustomUnserialize_name = zend_string_init("callCustomUnserialize", sizeof("callCustomUnserialize") - 1, 1);
1986 zend_declare_typed_property(class_entry, property_callCustomUnserialize_name, &property_callCustomUnserialize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1987 zend_string_release(property_callCustomUnserialize_name);
1988
1989 return class_entry;
1990 }