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