improve object un/serialization
[awesomized/ext-ion] / ion_arginfo.h
1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 13de1401ca779d900a35c7be3ac484c8d4dde44d */
3
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ion_serialize, 0, 1, IS_STRING, 0)
5 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
6 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, serializer, ion\\Serializer, 1, "null")
7 ZEND_END_ARG_INFO()
8
9 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ion_unserialize, 0, 1, IS_MIXED, 0)
10 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
11 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, unserializer, ion\\Unserializer, 1, "null")
12 ZEND_END_ARG_INFO()
13
14 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Symbol_ImportLocation___construct, 0, 0, 2)
15 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
16 ZEND_ARG_TYPE_INFO(0, location, IS_LONG, 0)
17 ZEND_END_ARG_INFO()
18
19 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Symbol___construct, 0, 0, 0)
20 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
21 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, sid, IS_LONG, 0, "-1")
22 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, importLocation, ion\\Symbol\\ImportLocation, 1, "null")
23 ZEND_END_ARG_INFO()
24
25 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Symbol_equals, 0, 1, _IS_BOOL, 0)
26 ZEND_ARG_OBJ_INFO(0, symbol, ion\\Symbol, 0)
27 ZEND_END_ARG_INFO()
28
29 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Symbol___toString, 0, 0, IS_STRING, 0)
30 ZEND_END_ARG_INFO()
31
32 #define arginfo_class_ion_Symbol_toString arginfo_class_ion_Symbol___toString
33
34 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Decimal_Context___construct, 0, 0, 0)
35 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bits, IS_LONG, 0, "128")
36 ZEND_END_ARG_INFO()
37
38 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Decimal___construct, 0, 0, 1)
39 ZEND_ARG_TYPE_MASK(0, number, MAY_BE_STRING|MAY_BE_LONG, NULL)
40 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, context, ion\\Decimal\\Context, 1, "null")
41 ZEND_END_ARG_INFO()
42
43 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_equals, 0, 1, _IS_BOOL, 0)
44 ZEND_ARG_OBJ_INFO(0, decimal, ion\\Decimal, 0)
45 ZEND_END_ARG_INFO()
46
47 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_isInt, 0, 0, _IS_BOOL, 0)
48 ZEND_END_ARG_INFO()
49
50 #define arginfo_class_ion_Decimal___toString arginfo_class_ion_Symbol___toString
51
52 #define arginfo_class_ion_Decimal_toString arginfo_class_ion_Symbol___toString
53
54 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_toInt, 0, 0, IS_LONG, 0)
55 ZEND_END_ARG_INFO()
56
57 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Timestamp___construct, 0, 0, 1)
58 ZEND_ARG_OBJ_TYPE_MASK(0, precision, ion\\Timestamp\\Precision, MAY_BE_LONG, NULL)
59 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format, IS_STRING, 1, "null")
60 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime, IS_STRING, 1, "null")
61 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, timezone, DateTimeZone, 1, "null")
62 ZEND_END_ARG_INFO()
63
64 #define arginfo_class_ion_Timestamp___toString arginfo_class_ion_Symbol___toString
65
66 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getType, 0, 0, ion\\Type, 0)
67 ZEND_END_ARG_INFO()
68
69 #define arginfo_class_ion_Reader_hasAnnotations arginfo_class_ion_Decimal_isInt
70
71 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_hasAnnotation, 0, 1, _IS_BOOL, 0)
72 ZEND_ARG_TYPE_INFO(0, annotation, IS_STRING, 0)
73 ZEND_END_ARG_INFO()
74
75 #define arginfo_class_ion_Reader_isNull arginfo_class_ion_Decimal_isInt
76
77 #define arginfo_class_ion_Reader_isInStruct arginfo_class_ion_Decimal_isInt
78
79 #define arginfo_class_ion_Reader_getFieldName arginfo_class_ion_Symbol___toString
80
81 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getFieldNameSymbol, 0, 0, ion\\Symbol, 0)
82 ZEND_END_ARG_INFO()
83
84 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_getAnnotations, 0, 0, IS_ARRAY, 0)
85 ZEND_END_ARG_INFO()
86
87 #define arginfo_class_ion_Reader_getAnnotationSymbols arginfo_class_ion_Reader_getAnnotations
88
89 #define arginfo_class_ion_Reader_countAnnotations arginfo_class_ion_Decimal_toInt
90
91 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_getAnnotation, 0, 1, IS_STRING, 0)
92 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
93 ZEND_END_ARG_INFO()
94
95 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getAnnotationSymbol, 0, 1, ion\\Symbol, 0)
96 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
97 ZEND_END_ARG_INFO()
98
99 #define arginfo_class_ion_Reader_readNull arginfo_class_ion_Reader_getType
100
101 #define arginfo_class_ion_Reader_readBool arginfo_class_ion_Decimal_isInt
102
103 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_ion_Reader_readInt, 0, 0, MAY_BE_LONG|MAY_BE_STRING)
104 ZEND_END_ARG_INFO()
105
106 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_readFloat, 0, 0, IS_DOUBLE, 0)
107 ZEND_END_ARG_INFO()
108
109 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_readDecimal, 0, 0, ion\\Decimal, 0)
110 ZEND_END_ARG_INFO()
111
112 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_readTimestamp, 0, 0, ion\\Timestamp, 0)
113 ZEND_END_ARG_INFO()
114
115 #define arginfo_class_ion_Reader_readSymbol arginfo_class_ion_Reader_getFieldNameSymbol
116
117 #define arginfo_class_ion_Reader_readString arginfo_class_ion_Symbol___toString
118
119 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_readStringPart, 0, 1, _IS_BOOL, 0)
120 ZEND_ARG_INFO(1, string)
121 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "0x1000")
122 ZEND_END_ARG_INFO()
123
124 #define arginfo_class_ion_Reader_readLob arginfo_class_ion_Symbol___toString
125
126 #define arginfo_class_ion_Reader_readLobPart arginfo_class_ion_Reader_readStringPart
127
128 #define arginfo_class_ion_Reader_getPosition arginfo_class_ion_Decimal_toInt
129
130 #define arginfo_class_ion_Reader_getDepth arginfo_class_ion_Decimal_toInt
131
132 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_seek, 0, 1, IS_VOID, 0)
133 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
134 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "-1")
135 ZEND_END_ARG_INFO()
136
137 #define arginfo_class_ion_Reader_getValueOffset arginfo_class_ion_Decimal_toInt
138
139 #define arginfo_class_ion_Reader_getValueLength arginfo_class_ion_Decimal_toInt
140
141 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Options___construct, 0, 0, 0)
142 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, catalog, ion\\Catalog, 1, "null")
143 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, decimalContext, ion\\Decimal\\Context, 1, "null")
144 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, onContextChange, Closure, 1, "null")
145 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, returnSystemValues, _IS_BOOL, 0, "false")
146 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, newLine, IS_LONG, 0, "0xa")
147 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxContainerDepth, IS_LONG, 0, "10")
148 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotations, IS_LONG, 0, "10")
149 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotationBuffered, IS_LONG, 0, "512")
150 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, symbolThreshold, IS_LONG, 0, "4096")
151 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, userValueThreshold, IS_LONG, 0, "4096")
152 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, chunkThreshold, IS_LONG, 0, "4096")
153 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, allocationPageSize, IS_LONG, 0, "4096")
154 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, skipCharacterValidation, _IS_BOOL, 0, "false")
155 ZEND_END_ARG_INFO()
156
157 #define arginfo_class_ion_Reader_Reader_hasChildren arginfo_class_ion_Decimal_isInt
158
159 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_Reader_getChildren, 0, 0, ion\\Reader, 0)
160 ZEND_END_ARG_INFO()
161
162 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Reader_rewind, 0, 0, IS_VOID, 0)
163 ZEND_END_ARG_INFO()
164
165 #define arginfo_class_ion_Reader_Reader_next arginfo_class_ion_Reader_Reader_rewind
166
167 #define arginfo_class_ion_Reader_Reader_valid arginfo_class_ion_Decimal_isInt
168
169 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Reader_key, 0, 0, IS_MIXED, 0)
170 ZEND_END_ARG_INFO()
171
172 #define arginfo_class_ion_Reader_Reader_current arginfo_class_ion_Reader_Reader_key
173
174 #define arginfo_class_ion_Reader_Reader_getType arginfo_class_ion_Reader_getType
175
176 #define arginfo_class_ion_Reader_Reader_hasAnnotations arginfo_class_ion_Decimal_isInt
177
178 #define arginfo_class_ion_Reader_Reader_hasAnnotation arginfo_class_ion_Reader_hasAnnotation
179
180 #define arginfo_class_ion_Reader_Reader_isNull arginfo_class_ion_Decimal_isInt
181
182 #define arginfo_class_ion_Reader_Reader_isInStruct arginfo_class_ion_Decimal_isInt
183
184 #define arginfo_class_ion_Reader_Reader_getFieldName arginfo_class_ion_Symbol___toString
185
186 #define arginfo_class_ion_Reader_Reader_getFieldNameSymbol arginfo_class_ion_Reader_getFieldNameSymbol
187
188 #define arginfo_class_ion_Reader_Reader_getAnnotations arginfo_class_ion_Reader_getAnnotations
189
190 #define arginfo_class_ion_Reader_Reader_getAnnotationSymbols arginfo_class_ion_Reader_getAnnotations
191
192 #define arginfo_class_ion_Reader_Reader_countAnnotations arginfo_class_ion_Decimal_toInt
193
194 #define arginfo_class_ion_Reader_Reader_getAnnotation arginfo_class_ion_Reader_getAnnotation
195
196 #define arginfo_class_ion_Reader_Reader_getAnnotationSymbol arginfo_class_ion_Reader_getAnnotationSymbol
197
198 #define arginfo_class_ion_Reader_Reader_readNull arginfo_class_ion_Reader_getType
199
200 #define arginfo_class_ion_Reader_Reader_readBool arginfo_class_ion_Decimal_isInt
201
202 #define arginfo_class_ion_Reader_Reader_readInt arginfo_class_ion_Reader_readInt
203
204 #define arginfo_class_ion_Reader_Reader_readFloat arginfo_class_ion_Reader_readFloat
205
206 #define arginfo_class_ion_Reader_Reader_readDecimal arginfo_class_ion_Reader_readDecimal
207
208 #define arginfo_class_ion_Reader_Reader_readTimestamp arginfo_class_ion_Reader_readTimestamp
209
210 #define arginfo_class_ion_Reader_Reader_readSymbol arginfo_class_ion_Reader_getFieldNameSymbol
211
212 #define arginfo_class_ion_Reader_Reader_readString arginfo_class_ion_Symbol___toString
213
214 #define arginfo_class_ion_Reader_Reader_readStringPart arginfo_class_ion_Reader_readStringPart
215
216 #define arginfo_class_ion_Reader_Reader_readLob arginfo_class_ion_Symbol___toString
217
218 #define arginfo_class_ion_Reader_Reader_readLobPart arginfo_class_ion_Reader_readStringPart
219
220 #define arginfo_class_ion_Reader_Reader_getPosition arginfo_class_ion_Decimal_toInt
221
222 #define arginfo_class_ion_Reader_Reader_getDepth arginfo_class_ion_Decimal_toInt
223
224 #define arginfo_class_ion_Reader_Reader_seek arginfo_class_ion_Reader_seek
225
226 #define arginfo_class_ion_Reader_Reader_getValueOffset arginfo_class_ion_Decimal_toInt
227
228 #define arginfo_class_ion_Reader_Reader_getValueLength arginfo_class_ion_Decimal_toInt
229
230 #define arginfo_class_ion_Reader_Buffer_getBuffer arginfo_class_ion_Symbol___toString
231
232 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Buffer_Reader___construct, 0, 0, 1)
233 ZEND_ARG_TYPE_INFO(0, buffer, IS_STRING, 0)
234 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Reader\\Options, 1, "null")
235 ZEND_END_ARG_INFO()
236
237 #define arginfo_class_ion_Reader_Buffer_Reader_getBuffer arginfo_class_ion_Symbol___toString
238
239 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Stream_getStream, 0, 0, 0)
240 ZEND_END_ARG_INFO()
241
242 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Stream_resetStream, 0, 1, IS_VOID, 0)
243 ZEND_ARG_INFO(0, stream)
244 ZEND_END_ARG_INFO()
245
246 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Stream_resetStreamWithLength, 0, 2, IS_VOID, 0)
247 ZEND_ARG_INFO(0, stream)
248 ZEND_ARG_TYPE_INFO(0, position, IS_LONG, 0)
249 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "-1")
250 ZEND_END_ARG_INFO()
251
252 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Stream_Reader___construct, 0, 0, 1)
253 ZEND_ARG_INFO(0, stream)
254 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Reader\\Options, 1, "null")
255 ZEND_END_ARG_INFO()
256
257 #define arginfo_class_ion_Reader_Stream_Reader_getStream arginfo_class_ion_Reader_Stream_getStream
258
259 #define arginfo_class_ion_Reader_Stream_Reader_resetStream arginfo_class_ion_Reader_Stream_resetStream
260
261 #define arginfo_class_ion_Reader_Stream_Reader_resetStreamWithLength arginfo_class_ion_Reader_Stream_resetStreamWithLength
262
263 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Options___construct, 0, 0, 0)
264 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, catalog, ion\\Catalog, 1, "null")
265 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, decimalContext, ion\\Decimal\\Context, 1, "null")
266 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, encodingSymbolTable, ion\\Collection, 1, "null")
267 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, outputBinary, _IS_BOOL, 0, "false")
268 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compactFloats, _IS_BOOL, 0, "false")
269 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escapeNonAscii, _IS_BOOL, 0, "false")
270 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, prettyPrint, _IS_BOOL, 0, "false")
271 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, indentTabs, _IS_BOOL, 0, "true")
272 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, indentSize, IS_LONG, 0, "2")
273 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, smallContainersInline, _IS_BOOL, 0, "true")
274 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, suppressSystemValues, _IS_BOOL, 0, "false")
275 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flushEveryValue, _IS_BOOL, 0, "false")
276 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxContainerDepth, IS_LONG, 0, "10")
277 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotations, IS_LONG, 0, "10")
278 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, tempBufferSize, IS_LONG, 0, "0x400")
279 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, allocationPageSize, IS_LONG, 0, "0x1000")
280 ZEND_END_ARG_INFO()
281
282 #define arginfo_class_ion_Writer_writeNull arginfo_class_ion_Reader_Reader_rewind
283
284 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeTypedNull, 0, 1, IS_VOID, 0)
285 ZEND_ARG_OBJ_INFO(0, type, ion\\Type, 0)
286 ZEND_END_ARG_INFO()
287
288 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeBool, 0, 1, IS_VOID, 0)
289 ZEND_ARG_TYPE_INFO(0, value, _IS_BOOL, 0)
290 ZEND_END_ARG_INFO()
291
292 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeInt, 0, 1, IS_VOID, 0)
293 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_STRING, NULL)
294 ZEND_END_ARG_INFO()
295
296 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeFloat, 0, 1, IS_VOID, 0)
297 ZEND_ARG_TYPE_INFO(0, value, IS_DOUBLE, 0)
298 ZEND_END_ARG_INFO()
299
300 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeDecimal, 0, 1, IS_VOID, 0)
301 ZEND_ARG_OBJ_TYPE_MASK(0, value, ion\\Decimal, MAY_BE_STRING, NULL)
302 ZEND_END_ARG_INFO()
303
304 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeTimestamp, 0, 1, IS_VOID, 0)
305 ZEND_ARG_OBJ_TYPE_MASK(0, value, ion\\Timestamp, MAY_BE_STRING, NULL)
306 ZEND_END_ARG_INFO()
307
308 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeSymbol, 0, 1, IS_VOID, 0)
309 ZEND_ARG_OBJ_TYPE_MASK(0, value, ion\\Symbol, MAY_BE_STRING, NULL)
310 ZEND_END_ARG_INFO()
311
312 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeString, 0, 1, IS_VOID, 0)
313 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
314 ZEND_END_ARG_INFO()
315
316 #define arginfo_class_ion_Writer_writeCLob arginfo_class_ion_Writer_writeString
317
318 #define arginfo_class_ion_Writer_writeBLob arginfo_class_ion_Writer_writeString
319
320 #define arginfo_class_ion_Writer_startLob arginfo_class_ion_Writer_writeTypedNull
321
322 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_appendLob, 0, 1, IS_VOID, 0)
323 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
324 ZEND_END_ARG_INFO()
325
326 #define arginfo_class_ion_Writer_finishLob arginfo_class_ion_Reader_Reader_rewind
327
328 #define arginfo_class_ion_Writer_startContainer arginfo_class_ion_Writer_writeTypedNull
329
330 #define arginfo_class_ion_Writer_finishContainer arginfo_class_ion_Reader_Reader_rewind
331
332 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeFieldName, 0, 1, IS_VOID, 0)
333 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
334 ZEND_END_ARG_INFO()
335
336 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeAnnotation, 0, 0, IS_VOID, 0)
337 ZEND_ARG_VARIADIC_OBJ_TYPE_MASK(0, annotation, ion\\Symbol, MAY_BE_STRING, NULL)
338 ZEND_END_ARG_INFO()
339
340 #define arginfo_class_ion_Writer_getDepth arginfo_class_ion_Decimal_toInt
341
342 #define arginfo_class_ion_Writer_flush arginfo_class_ion_Decimal_toInt
343
344 #define arginfo_class_ion_Writer_finish arginfo_class_ion_Decimal_toInt
345
346 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeOne, 0, 1, IS_VOID, 0)
347 ZEND_ARG_OBJ_INFO(0, reader, ion\\Reader, 0)
348 ZEND_END_ARG_INFO()
349
350 #define arginfo_class_ion_Writer_writeAll arginfo_class_ion_Writer_writeOne
351
352 #define arginfo_class_ion_Writer_Writer_writeNull arginfo_class_ion_Reader_Reader_rewind
353
354 #define arginfo_class_ion_Writer_Writer_writeTypedNull arginfo_class_ion_Writer_writeTypedNull
355
356 #define arginfo_class_ion_Writer_Writer_writeBool arginfo_class_ion_Writer_writeBool
357
358 #define arginfo_class_ion_Writer_Writer_writeInt arginfo_class_ion_Writer_writeInt
359
360 #define arginfo_class_ion_Writer_Writer_writeFloat arginfo_class_ion_Writer_writeFloat
361
362 #define arginfo_class_ion_Writer_Writer_writeDecimal arginfo_class_ion_Writer_writeDecimal
363
364 #define arginfo_class_ion_Writer_Writer_writeTimestamp arginfo_class_ion_Writer_writeTimestamp
365
366 #define arginfo_class_ion_Writer_Writer_writeSymbol arginfo_class_ion_Writer_writeSymbol
367
368 #define arginfo_class_ion_Writer_Writer_writeString arginfo_class_ion_Writer_writeString
369
370 #define arginfo_class_ion_Writer_Writer_writeCLob arginfo_class_ion_Writer_writeString
371
372 #define arginfo_class_ion_Writer_Writer_writeBLob arginfo_class_ion_Writer_writeString
373
374 #define arginfo_class_ion_Writer_Writer_startLob arginfo_class_ion_Writer_writeTypedNull
375
376 #define arginfo_class_ion_Writer_Writer_appendLob arginfo_class_ion_Writer_appendLob
377
378 #define arginfo_class_ion_Writer_Writer_finishLob arginfo_class_ion_Reader_Reader_rewind
379
380 #define arginfo_class_ion_Writer_Writer_startContainer arginfo_class_ion_Writer_writeTypedNull
381
382 #define arginfo_class_ion_Writer_Writer_finishContainer arginfo_class_ion_Reader_Reader_rewind
383
384 #define arginfo_class_ion_Writer_Writer_writeFieldName arginfo_class_ion_Writer_writeFieldName
385
386 #define arginfo_class_ion_Writer_Writer_writeAnnotation arginfo_class_ion_Writer_writeAnnotation
387
388 #define arginfo_class_ion_Writer_Writer_getDepth arginfo_class_ion_Decimal_toInt
389
390 #define arginfo_class_ion_Writer_Writer_flush arginfo_class_ion_Decimal_toInt
391
392 #define arginfo_class_ion_Writer_Writer_finish arginfo_class_ion_Decimal_toInt
393
394 #define arginfo_class_ion_Writer_Writer_writeOne arginfo_class_ion_Writer_writeOne
395
396 #define arginfo_class_ion_Writer_Writer_writeAll arginfo_class_ion_Writer_writeOne
397
398 #define arginfo_class_ion_Writer_Buffer_getBuffer arginfo_class_ion_Symbol___toString
399
400 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Buffer_Writer___construct, 0, 0, 1)
401 ZEND_ARG_TYPE_INFO(1, buffer, IS_STRING, 1)
402 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Writer\\Options, 1, "null")
403 ZEND_END_ARG_INFO()
404
405 #define arginfo_class_ion_Writer_Buffer_Writer_getBuffer arginfo_class_ion_Symbol___toString
406
407 #define arginfo_class_ion_Writer_Stream_getStream arginfo_class_ion_Reader_Stream_getStream
408
409 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Stream_Writer___construct, 0, 0, 1)
410 ZEND_ARG_INFO(0, stream)
411 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Writer\\Options, 1, "null")
412 ZEND_END_ARG_INFO()
413
414 #define arginfo_class_ion_Writer_Stream_Writer_getStream arginfo_class_ion_Reader_Stream_getStream
415
416 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Serializer___invoke, 0, 1, IS_STRING, 0)
417 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
418 ZEND_END_ARG_INFO()
419
420 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Unserializer___invoke, 0, 1, IS_MIXED, 0)
421 ZEND_ARG_INFO(0, data)
422 ZEND_END_ARG_INFO()
423
424 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Serializer_PHP___construct, 0, 0, 0)
425 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, writerOptions, ion\\Writer\\Options, 1, "null")
426 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callMagicSerialize, _IS_BOOL, 0, "true")
427 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callCustomSerialize, IS_STRING, 1, "null")
428 ZEND_END_ARG_INFO()
429
430 #define arginfo_class_ion_Serializer_PHP___invoke arginfo_class_ion_Serializer___invoke
431
432 #define arginfo_class_ion_Serializer_PHP_serialize arginfo_class_ion_Serializer___invoke
433
434 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Unserializer_PHP___construct, 0, 0, 0)
435 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, readerOptions, ion\\Reader\\Options, 1, "null")
436 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callMagicUnserialize, _IS_BOOL, 0, "true")
437 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callCustomUnserialize, IS_STRING, 1, "null")
438 ZEND_END_ARG_INFO()
439
440 #define arginfo_class_ion_Unserializer_PHP___invoke arginfo_class_ion_Unserializer___invoke
441
442 #define arginfo_class_ion_Unserializer_PHP_unserialize arginfo_class_ion_Unserializer___invoke
443
444
445 ZEND_FUNCTION(ion_serialize);
446 ZEND_FUNCTION(ion_unserialize);
447 ZEND_METHOD(ion_Symbol_ImportLocation, __construct);
448 ZEND_METHOD(ion_Symbol, __construct);
449 ZEND_METHOD(ion_Symbol, equals);
450 ZEND_METHOD(ion_Symbol, __toString);
451 ZEND_METHOD(ion_Decimal_Context, __construct);
452 ZEND_METHOD(ion_Decimal, __construct);
453 ZEND_METHOD(ion_Decimal, equals);
454 ZEND_METHOD(ion_Decimal, isInt);
455 ZEND_METHOD(ion_Decimal, __toString);
456 ZEND_METHOD(ion_Decimal, toInt);
457 ZEND_METHOD(ion_Timestamp, __construct);
458 ZEND_METHOD(ion_Timestamp, __toString);
459 ZEND_METHOD(ion_Reader_Options, __construct);
460 ZEND_METHOD(ion_Reader_Reader, hasChildren);
461 ZEND_METHOD(ion_Reader_Reader, getChildren);
462 ZEND_METHOD(ion_Reader_Reader, rewind);
463 ZEND_METHOD(ion_Reader_Reader, next);
464 ZEND_METHOD(ion_Reader_Reader, valid);
465 ZEND_METHOD(ion_Reader_Reader, key);
466 ZEND_METHOD(ion_Reader_Reader, current);
467 ZEND_METHOD(ion_Reader_Reader, getType);
468 ZEND_METHOD(ion_Reader_Reader, hasAnnotations);
469 ZEND_METHOD(ion_Reader_Reader, hasAnnotation);
470 ZEND_METHOD(ion_Reader_Reader, isNull);
471 ZEND_METHOD(ion_Reader_Reader, isInStruct);
472 ZEND_METHOD(ion_Reader_Reader, getFieldName);
473 ZEND_METHOD(ion_Reader_Reader, getFieldNameSymbol);
474 ZEND_METHOD(ion_Reader_Reader, getAnnotations);
475 ZEND_METHOD(ion_Reader_Reader, getAnnotationSymbols);
476 ZEND_METHOD(ion_Reader_Reader, countAnnotations);
477 ZEND_METHOD(ion_Reader_Reader, getAnnotation);
478 ZEND_METHOD(ion_Reader_Reader, getAnnotationSymbol);
479 ZEND_METHOD(ion_Reader_Reader, readNull);
480 ZEND_METHOD(ion_Reader_Reader, readBool);
481 ZEND_METHOD(ion_Reader_Reader, readInt);
482 ZEND_METHOD(ion_Reader_Reader, readFloat);
483 ZEND_METHOD(ion_Reader_Reader, readDecimal);
484 ZEND_METHOD(ion_Reader_Reader, readTimestamp);
485 ZEND_METHOD(ion_Reader_Reader, readSymbol);
486 ZEND_METHOD(ion_Reader_Reader, readString);
487 ZEND_METHOD(ion_Reader_Reader, readStringPart);
488 ZEND_METHOD(ion_Reader_Reader, readLob);
489 ZEND_METHOD(ion_Reader_Reader, readLobPart);
490 ZEND_METHOD(ion_Reader_Reader, getPosition);
491 ZEND_METHOD(ion_Reader_Reader, getDepth);
492 ZEND_METHOD(ion_Reader_Reader, seek);
493 ZEND_METHOD(ion_Reader_Reader, getValueOffset);
494 ZEND_METHOD(ion_Reader_Reader, getValueLength);
495 ZEND_METHOD(ion_Reader_Buffer_Reader, __construct);
496 ZEND_METHOD(ion_Reader_Buffer_Reader, getBuffer);
497 ZEND_METHOD(ion_Reader_Stream_Reader, __construct);
498 ZEND_METHOD(ion_Reader_Stream_Reader, getStream);
499 ZEND_METHOD(ion_Reader_Stream_Reader, resetStream);
500 ZEND_METHOD(ion_Reader_Stream_Reader, resetStreamWithLength);
501 ZEND_METHOD(ion_Writer_Options, __construct);
502 ZEND_METHOD(ion_Writer_Writer, writeNull);
503 ZEND_METHOD(ion_Writer_Writer, writeTypedNull);
504 ZEND_METHOD(ion_Writer_Writer, writeBool);
505 ZEND_METHOD(ion_Writer_Writer, writeInt);
506 ZEND_METHOD(ion_Writer_Writer, writeFloat);
507 ZEND_METHOD(ion_Writer_Writer, writeDecimal);
508 ZEND_METHOD(ion_Writer_Writer, writeTimestamp);
509 ZEND_METHOD(ion_Writer_Writer, writeSymbol);
510 ZEND_METHOD(ion_Writer_Writer, writeString);
511 ZEND_METHOD(ion_Writer_Writer, writeCLob);
512 ZEND_METHOD(ion_Writer_Writer, writeBLob);
513 ZEND_METHOD(ion_Writer_Writer, startLob);
514 ZEND_METHOD(ion_Writer_Writer, appendLob);
515 ZEND_METHOD(ion_Writer_Writer, finishLob);
516 ZEND_METHOD(ion_Writer_Writer, startContainer);
517 ZEND_METHOD(ion_Writer_Writer, finishContainer);
518 ZEND_METHOD(ion_Writer_Writer, writeFieldName);
519 ZEND_METHOD(ion_Writer_Writer, writeAnnotation);
520 ZEND_METHOD(ion_Writer_Writer, getDepth);
521 ZEND_METHOD(ion_Writer_Writer, flush);
522 ZEND_METHOD(ion_Writer_Writer, finish);
523 ZEND_METHOD(ion_Writer_Writer, writeOne);
524 ZEND_METHOD(ion_Writer_Writer, writeAll);
525 ZEND_METHOD(ion_Writer_Buffer_Writer, __construct);
526 ZEND_METHOD(ion_Writer_Buffer_Writer, getBuffer);
527 ZEND_METHOD(ion_Writer_Stream_Writer, __construct);
528 ZEND_METHOD(ion_Writer_Stream_Writer, getStream);
529 ZEND_METHOD(ion_Serializer_PHP, __construct);
530 ZEND_METHOD(ion_Serializer_PHP, __invoke);
531 ZEND_METHOD(ion_Serializer_PHP, serialize);
532 ZEND_METHOD(ion_Unserializer_PHP, __construct);
533 ZEND_METHOD(ion_Unserializer_PHP, __invoke);
534 ZEND_METHOD(ion_Unserializer_PHP, unserialize);
535
536
537 static const zend_function_entry ext_functions[] = {
538 ZEND_NS_RAW_FENTRY("ion", "serialize", ZEND_FN(ion_serialize), arginfo_ion_serialize, 0)
539 ZEND_NS_RAW_FENTRY("ion", "unserialize", ZEND_FN(ion_unserialize), arginfo_ion_unserialize, 0)
540 ZEND_FE_END
541 };
542
543
544 static const zend_function_entry class_ion_Type_methods[] = {
545 ZEND_FE_END
546 };
547
548
549 static const zend_function_entry class_ion_Annotation_methods[] = {
550 ZEND_FE_END
551 };
552
553
554 static const zend_function_entry class_ion_Symbol_ImportLocation_methods[] = {
555 ZEND_ME(ion_Symbol_ImportLocation, __construct, arginfo_class_ion_Symbol_ImportLocation___construct, ZEND_ACC_PUBLIC)
556 ZEND_FE_END
557 };
558
559
560 static const zend_function_entry class_ion_Symbol_System_methods[] = {
561 ZEND_FE_END
562 };
563
564
565 static const zend_function_entry class_ion_Symbol_System_SID_methods[] = {
566 ZEND_FE_END
567 };
568
569
570 static const zend_function_entry class_ion_Symbol_methods[] = {
571 ZEND_ME(ion_Symbol, __construct, arginfo_class_ion_Symbol___construct, ZEND_ACC_PUBLIC)
572 ZEND_ME(ion_Symbol, equals, arginfo_class_ion_Symbol_equals, ZEND_ACC_PUBLIC)
573 ZEND_ME(ion_Symbol, __toString, arginfo_class_ion_Symbol___toString, ZEND_ACC_PUBLIC)
574 ZEND_MALIAS(ion_Symbol, toString, __toString, arginfo_class_ion_Symbol_toString, ZEND_ACC_PUBLIC)
575 ZEND_FE_END
576 };
577
578
579 static const zend_function_entry class_ion_Symbol_Table_methods[] = {
580 ZEND_FE_END
581 };
582
583
584 static const zend_function_entry class_ion_Catalog_methods[] = {
585 ZEND_FE_END
586 };
587
588
589 static const zend_function_entry class_ion_Collection_methods[] = {
590 ZEND_FE_END
591 };
592
593
594 static const zend_function_entry class_ion_Decimal_Context_methods[] = {
595 ZEND_ME(ion_Decimal_Context, __construct, arginfo_class_ion_Decimal_Context___construct, ZEND_ACC_PUBLIC)
596 ZEND_FE_END
597 };
598
599
600 static const zend_function_entry class_ion_Decimal_methods[] = {
601 ZEND_ME(ion_Decimal, __construct, arginfo_class_ion_Decimal___construct, ZEND_ACC_PUBLIC)
602 ZEND_ME(ion_Decimal, equals, arginfo_class_ion_Decimal_equals, ZEND_ACC_PUBLIC)
603 ZEND_ME(ion_Decimal, isInt, arginfo_class_ion_Decimal_isInt, ZEND_ACC_PUBLIC)
604 ZEND_ME(ion_Decimal, __toString, arginfo_class_ion_Decimal___toString, ZEND_ACC_PUBLIC)
605 ZEND_MALIAS(ion_Decimal, toString, __toString, arginfo_class_ion_Decimal_toString, ZEND_ACC_PUBLIC)
606 ZEND_ME(ion_Decimal, toInt, arginfo_class_ion_Decimal_toInt, ZEND_ACC_PUBLIC)
607 ZEND_FE_END
608 };
609
610
611 static const zend_function_entry class_ion_Timestamp_Precision_methods[] = {
612 ZEND_FE_END
613 };
614
615
616 static const zend_function_entry class_ion_Timestamp_methods[] = {
617 ZEND_ME(ion_Timestamp, __construct, arginfo_class_ion_Timestamp___construct, ZEND_ACC_PUBLIC)
618 ZEND_ME(ion_Timestamp, __toString, arginfo_class_ion_Timestamp___toString, ZEND_ACC_PUBLIC)
619 ZEND_FE_END
620 };
621
622
623 static const zend_function_entry class_ion_Reader_methods[] = {
624 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getType, arginfo_class_ion_Reader_getType, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
625 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, hasAnnotations, arginfo_class_ion_Reader_hasAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
626 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, hasAnnotation, arginfo_class_ion_Reader_hasAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
627 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, isNull, arginfo_class_ion_Reader_isNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
628 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, isInStruct, arginfo_class_ion_Reader_isInStruct, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
629 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getFieldName, arginfo_class_ion_Reader_getFieldName, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
630 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getFieldNameSymbol, arginfo_class_ion_Reader_getFieldNameSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
631 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotations, arginfo_class_ion_Reader_getAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
632 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotationSymbols, arginfo_class_ion_Reader_getAnnotationSymbols, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
633 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, countAnnotations, arginfo_class_ion_Reader_countAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
634 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotation, arginfo_class_ion_Reader_getAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
635 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotationSymbol, arginfo_class_ion_Reader_getAnnotationSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
636 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readNull, arginfo_class_ion_Reader_readNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
637 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readBool, arginfo_class_ion_Reader_readBool, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
638 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readInt, arginfo_class_ion_Reader_readInt, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
639 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readFloat, arginfo_class_ion_Reader_readFloat, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
640 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readDecimal, arginfo_class_ion_Reader_readDecimal, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
641 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readTimestamp, arginfo_class_ion_Reader_readTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
642 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readSymbol, arginfo_class_ion_Reader_readSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
643 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readString, arginfo_class_ion_Reader_readString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
644 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readStringPart, arginfo_class_ion_Reader_readStringPart, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
645 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readLob, arginfo_class_ion_Reader_readLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
646 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readLobPart, arginfo_class_ion_Reader_readLobPart, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
647 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getPosition, arginfo_class_ion_Reader_getPosition, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
648 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getDepth, arginfo_class_ion_Reader_getDepth, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
649 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, seek, arginfo_class_ion_Reader_seek, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
650 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getValueOffset, arginfo_class_ion_Reader_getValueOffset, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
651 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getValueLength, arginfo_class_ion_Reader_getValueLength, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
652 ZEND_FE_END
653 };
654
655
656 static const zend_function_entry class_ion_Reader_Options_methods[] = {
657 ZEND_ME(ion_Reader_Options, __construct, arginfo_class_ion_Reader_Options___construct, ZEND_ACC_PUBLIC)
658 ZEND_FE_END
659 };
660
661
662 static const zend_function_entry class_ion_Reader_Reader_methods[] = {
663 ZEND_ME(ion_Reader_Reader, hasChildren, arginfo_class_ion_Reader_Reader_hasChildren, ZEND_ACC_PUBLIC)
664 ZEND_ME(ion_Reader_Reader, getChildren, arginfo_class_ion_Reader_Reader_getChildren, ZEND_ACC_PUBLIC)
665 ZEND_ME(ion_Reader_Reader, rewind, arginfo_class_ion_Reader_Reader_rewind, ZEND_ACC_PUBLIC)
666 ZEND_ME(ion_Reader_Reader, next, arginfo_class_ion_Reader_Reader_next, ZEND_ACC_PUBLIC)
667 ZEND_ME(ion_Reader_Reader, valid, arginfo_class_ion_Reader_Reader_valid, ZEND_ACC_PUBLIC)
668 ZEND_ME(ion_Reader_Reader, key, arginfo_class_ion_Reader_Reader_key, ZEND_ACC_PUBLIC)
669 ZEND_ME(ion_Reader_Reader, current, arginfo_class_ion_Reader_Reader_current, ZEND_ACC_PUBLIC)
670 ZEND_ME(ion_Reader_Reader, getType, arginfo_class_ion_Reader_Reader_getType, ZEND_ACC_PUBLIC)
671 ZEND_ME(ion_Reader_Reader, hasAnnotations, arginfo_class_ion_Reader_Reader_hasAnnotations, ZEND_ACC_PUBLIC)
672 ZEND_ME(ion_Reader_Reader, hasAnnotation, arginfo_class_ion_Reader_Reader_hasAnnotation, ZEND_ACC_PUBLIC)
673 ZEND_ME(ion_Reader_Reader, isNull, arginfo_class_ion_Reader_Reader_isNull, ZEND_ACC_PUBLIC)
674 ZEND_ME(ion_Reader_Reader, isInStruct, arginfo_class_ion_Reader_Reader_isInStruct, ZEND_ACC_PUBLIC)
675 ZEND_ME(ion_Reader_Reader, getFieldName, arginfo_class_ion_Reader_Reader_getFieldName, ZEND_ACC_PUBLIC)
676 ZEND_ME(ion_Reader_Reader, getFieldNameSymbol, arginfo_class_ion_Reader_Reader_getFieldNameSymbol, ZEND_ACC_PUBLIC)
677 ZEND_ME(ion_Reader_Reader, getAnnotations, arginfo_class_ion_Reader_Reader_getAnnotations, ZEND_ACC_PUBLIC)
678 ZEND_ME(ion_Reader_Reader, getAnnotationSymbols, arginfo_class_ion_Reader_Reader_getAnnotationSymbols, ZEND_ACC_PUBLIC)
679 ZEND_ME(ion_Reader_Reader, countAnnotations, arginfo_class_ion_Reader_Reader_countAnnotations, ZEND_ACC_PUBLIC)
680 ZEND_ME(ion_Reader_Reader, getAnnotation, arginfo_class_ion_Reader_Reader_getAnnotation, ZEND_ACC_PUBLIC)
681 ZEND_ME(ion_Reader_Reader, getAnnotationSymbol, arginfo_class_ion_Reader_Reader_getAnnotationSymbol, ZEND_ACC_PUBLIC)
682 ZEND_ME(ion_Reader_Reader, readNull, arginfo_class_ion_Reader_Reader_readNull, ZEND_ACC_PUBLIC)
683 ZEND_ME(ion_Reader_Reader, readBool, arginfo_class_ion_Reader_Reader_readBool, ZEND_ACC_PUBLIC)
684 ZEND_ME(ion_Reader_Reader, readInt, arginfo_class_ion_Reader_Reader_readInt, ZEND_ACC_PUBLIC)
685 ZEND_ME(ion_Reader_Reader, readFloat, arginfo_class_ion_Reader_Reader_readFloat, ZEND_ACC_PUBLIC)
686 ZEND_ME(ion_Reader_Reader, readDecimal, arginfo_class_ion_Reader_Reader_readDecimal, ZEND_ACC_PUBLIC)
687 ZEND_ME(ion_Reader_Reader, readTimestamp, arginfo_class_ion_Reader_Reader_readTimestamp, ZEND_ACC_PUBLIC)
688 ZEND_ME(ion_Reader_Reader, readSymbol, arginfo_class_ion_Reader_Reader_readSymbol, ZEND_ACC_PUBLIC)
689 ZEND_ME(ion_Reader_Reader, readString, arginfo_class_ion_Reader_Reader_readString, ZEND_ACC_PUBLIC)
690 ZEND_ME(ion_Reader_Reader, readStringPart, arginfo_class_ion_Reader_Reader_readStringPart, ZEND_ACC_PUBLIC)
691 ZEND_ME(ion_Reader_Reader, readLob, arginfo_class_ion_Reader_Reader_readLob, ZEND_ACC_PUBLIC)
692 ZEND_ME(ion_Reader_Reader, readLobPart, arginfo_class_ion_Reader_Reader_readLobPart, ZEND_ACC_PUBLIC)
693 ZEND_ME(ion_Reader_Reader, getPosition, arginfo_class_ion_Reader_Reader_getPosition, ZEND_ACC_PUBLIC)
694 ZEND_ME(ion_Reader_Reader, getDepth, arginfo_class_ion_Reader_Reader_getDepth, ZEND_ACC_PUBLIC)
695 ZEND_ME(ion_Reader_Reader, seek, arginfo_class_ion_Reader_Reader_seek, ZEND_ACC_PUBLIC)
696 ZEND_ME(ion_Reader_Reader, getValueOffset, arginfo_class_ion_Reader_Reader_getValueOffset, ZEND_ACC_PUBLIC)
697 ZEND_ME(ion_Reader_Reader, getValueLength, arginfo_class_ion_Reader_Reader_getValueLength, ZEND_ACC_PUBLIC)
698 ZEND_FE_END
699 };
700
701
702 static const zend_function_entry class_ion_Reader_Buffer_methods[] = {
703 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Buffer, getBuffer, arginfo_class_ion_Reader_Buffer_getBuffer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
704 ZEND_FE_END
705 };
706
707
708 static const zend_function_entry class_ion_Reader_Buffer_Reader_methods[] = {
709 ZEND_ME(ion_Reader_Buffer_Reader, __construct, arginfo_class_ion_Reader_Buffer_Reader___construct, ZEND_ACC_PUBLIC)
710 ZEND_ME(ion_Reader_Buffer_Reader, getBuffer, arginfo_class_ion_Reader_Buffer_Reader_getBuffer, ZEND_ACC_PUBLIC)
711 ZEND_FE_END
712 };
713
714
715 static const zend_function_entry class_ion_Reader_Stream_methods[] = {
716 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, getStream, arginfo_class_ion_Reader_Stream_getStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
717 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, resetStream, arginfo_class_ion_Reader_Stream_resetStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
718 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, resetStreamWithLength, arginfo_class_ion_Reader_Stream_resetStreamWithLength, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
719 ZEND_FE_END
720 };
721
722
723 static const zend_function_entry class_ion_Reader_Stream_Reader_methods[] = {
724 ZEND_ME(ion_Reader_Stream_Reader, __construct, arginfo_class_ion_Reader_Stream_Reader___construct, ZEND_ACC_PUBLIC)
725 ZEND_ME(ion_Reader_Stream_Reader, getStream, arginfo_class_ion_Reader_Stream_Reader_getStream, ZEND_ACC_PUBLIC)
726 ZEND_ME(ion_Reader_Stream_Reader, resetStream, arginfo_class_ion_Reader_Stream_Reader_resetStream, ZEND_ACC_PUBLIC)
727 ZEND_ME(ion_Reader_Stream_Reader, resetStreamWithLength, arginfo_class_ion_Reader_Stream_Reader_resetStreamWithLength, ZEND_ACC_PUBLIC)
728 ZEND_FE_END
729 };
730
731
732 static const zend_function_entry class_ion_Writer_Options_methods[] = {
733 ZEND_ME(ion_Writer_Options, __construct, arginfo_class_ion_Writer_Options___construct, ZEND_ACC_PUBLIC)
734 ZEND_FE_END
735 };
736
737
738 static const zend_function_entry class_ion_Writer_methods[] = {
739 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeNull, arginfo_class_ion_Writer_writeNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
740 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeTypedNull, arginfo_class_ion_Writer_writeTypedNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
741 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeBool, arginfo_class_ion_Writer_writeBool, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
742 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeInt, arginfo_class_ion_Writer_writeInt, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
743 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeFloat, arginfo_class_ion_Writer_writeFloat, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
744 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeDecimal, arginfo_class_ion_Writer_writeDecimal, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
745 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeTimestamp, arginfo_class_ion_Writer_writeTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
746 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeSymbol, arginfo_class_ion_Writer_writeSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
747 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeString, arginfo_class_ion_Writer_writeString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
748 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeCLob, arginfo_class_ion_Writer_writeCLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
749 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeBLob, arginfo_class_ion_Writer_writeBLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
750 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, startLob, arginfo_class_ion_Writer_startLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
751 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, appendLob, arginfo_class_ion_Writer_appendLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
752 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finishLob, arginfo_class_ion_Writer_finishLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
753 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, startContainer, arginfo_class_ion_Writer_startContainer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
754 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finishContainer, arginfo_class_ion_Writer_finishContainer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
755 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeFieldName, arginfo_class_ion_Writer_writeFieldName, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
756 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeAnnotation, arginfo_class_ion_Writer_writeAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
757 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, getDepth, arginfo_class_ion_Writer_getDepth, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
758 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, flush, arginfo_class_ion_Writer_flush, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
759 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finish, arginfo_class_ion_Writer_finish, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
760 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeOne, arginfo_class_ion_Writer_writeOne, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
761 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeAll, arginfo_class_ion_Writer_writeAll, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
762 ZEND_FE_END
763 };
764
765
766 static const zend_function_entry class_ion_Writer_Writer_methods[] = {
767 ZEND_ME(ion_Writer_Writer, writeNull, arginfo_class_ion_Writer_Writer_writeNull, ZEND_ACC_PUBLIC)
768 ZEND_ME(ion_Writer_Writer, writeTypedNull, arginfo_class_ion_Writer_Writer_writeTypedNull, ZEND_ACC_PUBLIC)
769 ZEND_ME(ion_Writer_Writer, writeBool, arginfo_class_ion_Writer_Writer_writeBool, ZEND_ACC_PUBLIC)
770 ZEND_ME(ion_Writer_Writer, writeInt, arginfo_class_ion_Writer_Writer_writeInt, ZEND_ACC_PUBLIC)
771 ZEND_ME(ion_Writer_Writer, writeFloat, arginfo_class_ion_Writer_Writer_writeFloat, ZEND_ACC_PUBLIC)
772 ZEND_ME(ion_Writer_Writer, writeDecimal, arginfo_class_ion_Writer_Writer_writeDecimal, ZEND_ACC_PUBLIC)
773 ZEND_ME(ion_Writer_Writer, writeTimestamp, arginfo_class_ion_Writer_Writer_writeTimestamp, ZEND_ACC_PUBLIC)
774 ZEND_ME(ion_Writer_Writer, writeSymbol, arginfo_class_ion_Writer_Writer_writeSymbol, ZEND_ACC_PUBLIC)
775 ZEND_ME(ion_Writer_Writer, writeString, arginfo_class_ion_Writer_Writer_writeString, ZEND_ACC_PUBLIC)
776 ZEND_ME(ion_Writer_Writer, writeCLob, arginfo_class_ion_Writer_Writer_writeCLob, ZEND_ACC_PUBLIC)
777 ZEND_ME(ion_Writer_Writer, writeBLob, arginfo_class_ion_Writer_Writer_writeBLob, ZEND_ACC_PUBLIC)
778 ZEND_ME(ion_Writer_Writer, startLob, arginfo_class_ion_Writer_Writer_startLob, ZEND_ACC_PUBLIC)
779 ZEND_ME(ion_Writer_Writer, appendLob, arginfo_class_ion_Writer_Writer_appendLob, ZEND_ACC_PUBLIC)
780 ZEND_ME(ion_Writer_Writer, finishLob, arginfo_class_ion_Writer_Writer_finishLob, ZEND_ACC_PUBLIC)
781 ZEND_ME(ion_Writer_Writer, startContainer, arginfo_class_ion_Writer_Writer_startContainer, ZEND_ACC_PUBLIC)
782 ZEND_ME(ion_Writer_Writer, finishContainer, arginfo_class_ion_Writer_Writer_finishContainer, ZEND_ACC_PUBLIC)
783 ZEND_ME(ion_Writer_Writer, writeFieldName, arginfo_class_ion_Writer_Writer_writeFieldName, ZEND_ACC_PUBLIC)
784 ZEND_ME(ion_Writer_Writer, writeAnnotation, arginfo_class_ion_Writer_Writer_writeAnnotation, ZEND_ACC_PUBLIC)
785 ZEND_ME(ion_Writer_Writer, getDepth, arginfo_class_ion_Writer_Writer_getDepth, ZEND_ACC_PUBLIC)
786 ZEND_ME(ion_Writer_Writer, flush, arginfo_class_ion_Writer_Writer_flush, ZEND_ACC_PUBLIC)
787 ZEND_ME(ion_Writer_Writer, finish, arginfo_class_ion_Writer_Writer_finish, ZEND_ACC_PUBLIC)
788 ZEND_ME(ion_Writer_Writer, writeOne, arginfo_class_ion_Writer_Writer_writeOne, ZEND_ACC_PUBLIC)
789 ZEND_ME(ion_Writer_Writer, writeAll, arginfo_class_ion_Writer_Writer_writeAll, ZEND_ACC_PUBLIC)
790 ZEND_FE_END
791 };
792
793
794 static const zend_function_entry class_ion_Writer_Buffer_methods[] = {
795 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Buffer, getBuffer, arginfo_class_ion_Writer_Buffer_getBuffer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
796 ZEND_FE_END
797 };
798
799
800 static const zend_function_entry class_ion_Writer_Buffer_Writer_methods[] = {
801 ZEND_ME(ion_Writer_Buffer_Writer, __construct, arginfo_class_ion_Writer_Buffer_Writer___construct, ZEND_ACC_PUBLIC)
802 ZEND_ME(ion_Writer_Buffer_Writer, getBuffer, arginfo_class_ion_Writer_Buffer_Writer_getBuffer, ZEND_ACC_PUBLIC)
803 ZEND_FE_END
804 };
805
806
807 static const zend_function_entry class_ion_Writer_Stream_methods[] = {
808 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Stream, getStream, arginfo_class_ion_Writer_Stream_getStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
809 ZEND_FE_END
810 };
811
812
813 static const zend_function_entry class_ion_Writer_Stream_Writer_methods[] = {
814 ZEND_ME(ion_Writer_Stream_Writer, __construct, arginfo_class_ion_Writer_Stream_Writer___construct, ZEND_ACC_PUBLIC)
815 ZEND_ME(ion_Writer_Stream_Writer, getStream, arginfo_class_ion_Writer_Stream_Writer_getStream, ZEND_ACC_PUBLIC)
816 ZEND_FE_END
817 };
818
819
820 static const zend_function_entry class_ion_Serializer_methods[] = {
821 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Serializer, __invoke, arginfo_class_ion_Serializer___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
822 ZEND_FE_END
823 };
824
825
826 static const zend_function_entry class_ion_Unserializer_methods[] = {
827 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Unserializer, __invoke, arginfo_class_ion_Unserializer___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
828 ZEND_FE_END
829 };
830
831
832 static const zend_function_entry class_ion_Serializer_PHP_methods[] = {
833 ZEND_ME(ion_Serializer_PHP, __construct, arginfo_class_ion_Serializer_PHP___construct, ZEND_ACC_PUBLIC)
834 ZEND_ME(ion_Serializer_PHP, __invoke, arginfo_class_ion_Serializer_PHP___invoke, ZEND_ACC_PUBLIC)
835 ZEND_ME(ion_Serializer_PHP, serialize, arginfo_class_ion_Serializer_PHP_serialize, ZEND_ACC_PROTECTED)
836 ZEND_FE_END
837 };
838
839
840 static const zend_function_entry class_ion_Unserializer_PHP_methods[] = {
841 ZEND_ME(ion_Unserializer_PHP, __construct, arginfo_class_ion_Unserializer_PHP___construct, ZEND_ACC_PUBLIC)
842 ZEND_ME(ion_Unserializer_PHP, __invoke, arginfo_class_ion_Unserializer_PHP___invoke, ZEND_ACC_PUBLIC)
843 ZEND_ME(ion_Unserializer_PHP, unserialize, arginfo_class_ion_Unserializer_PHP_unserialize, ZEND_ACC_PROTECTED)
844 ZEND_FE_END
845 };
846
847 static zend_class_entry *register_class_ion_Type(void)
848 {
849 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Type", IS_LONG, class_ion_Type_methods);
850
851 zval enum_case_Null_value;
852 ZVAL_LONG(&enum_case_Null_value, 0);
853 zend_enum_add_case_cstr(class_entry, "Null", &enum_case_Null_value);
854
855 zval enum_case_Bool_value;
856 ZVAL_LONG(&enum_case_Bool_value, 256);
857 zend_enum_add_case_cstr(class_entry, "Bool", &enum_case_Bool_value);
858
859 zval enum_case_Int_value;
860 ZVAL_LONG(&enum_case_Int_value, 512);
861 zend_enum_add_case_cstr(class_entry, "Int", &enum_case_Int_value);
862
863 zval enum_case_Float_value;
864 ZVAL_LONG(&enum_case_Float_value, 1024);
865 zend_enum_add_case_cstr(class_entry, "Float", &enum_case_Float_value);
866
867 zval enum_case_Decimal_value;
868 ZVAL_LONG(&enum_case_Decimal_value, 1280);
869 zend_enum_add_case_cstr(class_entry, "Decimal", &enum_case_Decimal_value);
870
871 zval enum_case_Timestamp_value;
872 ZVAL_LONG(&enum_case_Timestamp_value, 1536);
873 zend_enum_add_case_cstr(class_entry, "Timestamp", &enum_case_Timestamp_value);
874
875 zval enum_case_Symbol_value;
876 ZVAL_LONG(&enum_case_Symbol_value, 1792);
877 zend_enum_add_case_cstr(class_entry, "Symbol", &enum_case_Symbol_value);
878
879 zval enum_case_String_value;
880 ZVAL_LONG(&enum_case_String_value, 2048);
881 zend_enum_add_case_cstr(class_entry, "String", &enum_case_String_value);
882
883 zval enum_case_CLob_value;
884 ZVAL_LONG(&enum_case_CLob_value, 2304);
885 zend_enum_add_case_cstr(class_entry, "CLob", &enum_case_CLob_value);
886
887 zval enum_case_BLob_value;
888 ZVAL_LONG(&enum_case_BLob_value, 2560);
889 zend_enum_add_case_cstr(class_entry, "BLob", &enum_case_BLob_value);
890
891 zval enum_case_AList_value;
892 ZVAL_LONG(&enum_case_AList_value, 2816);
893 zend_enum_add_case_cstr(class_entry, "AList", &enum_case_AList_value);
894
895 zval enum_case_SExp_value;
896 ZVAL_LONG(&enum_case_SExp_value, 3072);
897 zend_enum_add_case_cstr(class_entry, "SExp", &enum_case_SExp_value);
898
899 zval enum_case_Struct_value;
900 ZVAL_LONG(&enum_case_Struct_value, 3328);
901 zend_enum_add_case_cstr(class_entry, "Struct", &enum_case_Struct_value);
902
903 zval enum_case_Datagram_value;
904 ZVAL_LONG(&enum_case_Datagram_value, 3840);
905 zend_enum_add_case_cstr(class_entry, "Datagram", &enum_case_Datagram_value);
906
907 zval enum_case_EOF_value;
908 ZVAL_LONG(&enum_case_EOF_value, -256);
909 zend_enum_add_case_cstr(class_entry, "EOF", &enum_case_EOF_value);
910
911 zval enum_case_NONE_value;
912 ZVAL_LONG(&enum_case_NONE_value, -512);
913 zend_enum_add_case_cstr(class_entry, "NONE", &enum_case_NONE_value);
914
915 return class_entry;
916 }
917
918 static zend_class_entry *register_class_ion_Annotation(void)
919 {
920 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Annotation", IS_STRING, class_ion_Annotation_methods);
921
922 zval enum_case_PHP_value;
923 zend_string *enum_case_PHP_value_str = zend_string_init("PHP", sizeof("PHP") - 1, 1);
924 ZVAL_STR(&enum_case_PHP_value, enum_case_PHP_value_str);
925 zend_enum_add_case_cstr(class_entry, "PHP", &enum_case_PHP_value);
926
927 zval enum_case_REFERENCE_value;
928 zend_string *enum_case_REFERENCE_value_str = zend_string_init("R", sizeof("R") - 1, 1);
929 ZVAL_STR(&enum_case_REFERENCE_value, enum_case_REFERENCE_value_str);
930 zend_enum_add_case_cstr(class_entry, "REFERENCE", &enum_case_REFERENCE_value);
931
932 zval enum_case_BACKREF_value;
933 zend_string *enum_case_BACKREF_value_str = zend_string_init("r", sizeof("r") - 1, 1);
934 ZVAL_STR(&enum_case_BACKREF_value, enum_case_BACKREF_value_str);
935 zend_enum_add_case_cstr(class_entry, "BACKREF", &enum_case_BACKREF_value);
936
937 zval enum_case_OBJECT_value;
938 zend_string *enum_case_OBJECT_value_str = zend_string_init("o", sizeof("o") - 1, 1);
939 ZVAL_STR(&enum_case_OBJECT_value, enum_case_OBJECT_value_str);
940 zend_enum_add_case_cstr(class_entry, "OBJECT", &enum_case_OBJECT_value);
941
942 zval enum_case_CLASS_OBJ_value;
943 zend_string *enum_case_CLASS_OBJ_value_str = zend_string_init("c", sizeof("c") - 1, 1);
944 ZVAL_STR(&enum_case_CLASS_OBJ_value, enum_case_CLASS_OBJ_value_str);
945 zend_enum_add_case_cstr(class_entry, "CLASS_OBJ", &enum_case_CLASS_OBJ_value);
946
947 zval enum_case_MAGIC_OBJ_value;
948 zend_string *enum_case_MAGIC_OBJ_value_str = zend_string_init("O", sizeof("O") - 1, 1);
949 ZVAL_STR(&enum_case_MAGIC_OBJ_value, enum_case_MAGIC_OBJ_value_str);
950 zend_enum_add_case_cstr(class_entry, "MAGIC_OBJ", &enum_case_MAGIC_OBJ_value);
951
952 zval enum_case_CUSTOM_OBJ_value;
953 zend_string *enum_case_CUSTOM_OBJ_value_str = zend_string_init("C", sizeof("C") - 1, 1);
954 ZVAL_STR(&enum_case_CUSTOM_OBJ_value, enum_case_CUSTOM_OBJ_value_str);
955 zend_enum_add_case_cstr(class_entry, "CUSTOM_OBJ", &enum_case_CUSTOM_OBJ_value);
956
957 zval enum_case_SERIALIZABLE_value;
958 zend_string *enum_case_SERIALIZABLE_value_str = zend_string_init("S", sizeof("S") - 1, 1);
959 ZVAL_STR(&enum_case_SERIALIZABLE_value, enum_case_SERIALIZABLE_value_str);
960 zend_enum_add_case_cstr(class_entry, "SERIALIZABLE", &enum_case_SERIALIZABLE_value);
961
962 zval enum_case_ENUM_value;
963 zend_string *enum_case_ENUM_value_str = zend_string_init("E", sizeof("E") - 1, 1);
964 ZVAL_STR(&enum_case_ENUM_value, enum_case_ENUM_value_str);
965 zend_enum_add_case_cstr(class_entry, "ENUM", &enum_case_ENUM_value);
966
967 zval enum_case_PROPERTY_value;
968 zend_string *enum_case_PROPERTY_value_str = zend_string_init("p", sizeof("p") - 1, 1);
969 ZVAL_STR(&enum_case_PROPERTY_value, enum_case_PROPERTY_value_str);
970 zend_enum_add_case_cstr(class_entry, "PROPERTY", &enum_case_PROPERTY_value);
971
972 return class_entry;
973 }
974
975 static zend_class_entry *register_class_ion_Symbol_ImportLocation(void)
976 {
977 zend_class_entry ce, *class_entry;
978
979 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol", "ImportLocation", class_ion_Symbol_ImportLocation_methods);
980 class_entry = zend_register_internal_class_ex(&ce, NULL);
981
982 zval property_name_default_value;
983 ZVAL_UNDEF(&property_name_default_value);
984 zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
985 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));
986 zend_string_release(property_name_name);
987
988 zval property_location_default_value;
989 ZVAL_UNDEF(&property_location_default_value);
990 zend_string *property_location_name = zend_string_init("location", sizeof("location") - 1, 1);
991 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));
992 zend_string_release(property_location_name);
993
994 return class_entry;
995 }
996
997 static zend_class_entry *register_class_ion_Symbol_System(void)
998 {
999 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Symbol\\System", IS_STRING, class_ion_Symbol_System_methods);
1000
1001 zval enum_case_Ion_value;
1002 zend_string *enum_case_Ion_value_str = zend_string_init("$ion", sizeof("$ion") - 1, 1);
1003 ZVAL_STR(&enum_case_Ion_value, enum_case_Ion_value_str);
1004 zend_enum_add_case_cstr(class_entry, "Ion", &enum_case_Ion_value);
1005
1006 zval enum_case_Ivm_1_0_value;
1007 zend_string *enum_case_Ivm_1_0_value_str = zend_string_init("$ion_1_0", sizeof("$ion_1_0") - 1, 1);
1008 ZVAL_STR(&enum_case_Ivm_1_0_value, enum_case_Ivm_1_0_value_str);
1009 zend_enum_add_case_cstr(class_entry, "Ivm_1_0", &enum_case_Ivm_1_0_value);
1010
1011 zval enum_case_IonSymbolTable_value;
1012 zend_string *enum_case_IonSymbolTable_value_str = zend_string_init("$ion_symbol_table", sizeof("$ion_symbol_table") - 1, 1);
1013 ZVAL_STR(&enum_case_IonSymbolTable_value, enum_case_IonSymbolTable_value_str);
1014 zend_enum_add_case_cstr(class_entry, "IonSymbolTable", &enum_case_IonSymbolTable_value);
1015
1016 zval enum_case_Name_value;
1017 zend_string *enum_case_Name_value_str = zend_string_init("name", sizeof("name") - 1, 1);
1018 ZVAL_STR(&enum_case_Name_value, enum_case_Name_value_str);
1019 zend_enum_add_case_cstr(class_entry, "Name", &enum_case_Name_value);
1020
1021 zval enum_case_Version_value;
1022 zend_string *enum_case_Version_value_str = zend_string_init("version", sizeof("version") - 1, 1);
1023 ZVAL_STR(&enum_case_Version_value, enum_case_Version_value_str);
1024 zend_enum_add_case_cstr(class_entry, "Version", &enum_case_Version_value);
1025
1026 zval enum_case_Imports_value;
1027 zend_string *enum_case_Imports_value_str = zend_string_init("imports", sizeof("imports") - 1, 1);
1028 ZVAL_STR(&enum_case_Imports_value, enum_case_Imports_value_str);
1029 zend_enum_add_case_cstr(class_entry, "Imports", &enum_case_Imports_value);
1030
1031 zval enum_case_Symbols_value;
1032 zend_string *enum_case_Symbols_value_str = zend_string_init("symbols", sizeof("symbols") - 1, 1);
1033 ZVAL_STR(&enum_case_Symbols_value, enum_case_Symbols_value_str);
1034 zend_enum_add_case_cstr(class_entry, "Symbols", &enum_case_Symbols_value);
1035
1036 zval enum_case_MaxId_value;
1037 zend_string *enum_case_MaxId_value_str = zend_string_init("max_id", sizeof("max_id") - 1, 1);
1038 ZVAL_STR(&enum_case_MaxId_value, enum_case_MaxId_value_str);
1039 zend_enum_add_case_cstr(class_entry, "MaxId", &enum_case_MaxId_value);
1040
1041 zval enum_case_SharedSymbolTable_value;
1042 zend_string *enum_case_SharedSymbolTable_value_str = zend_string_init("$ion_shared_symbol_table", sizeof("$ion_shared_symbol_table") - 1, 1);
1043 ZVAL_STR(&enum_case_SharedSymbolTable_value, enum_case_SharedSymbolTable_value_str);
1044 zend_enum_add_case_cstr(class_entry, "SharedSymbolTable", &enum_case_SharedSymbolTable_value);
1045
1046 return class_entry;
1047 }
1048
1049 static zend_class_entry *register_class_ion_Symbol_System_SID(void)
1050 {
1051 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Symbol\\System\\SID", IS_LONG, class_ion_Symbol_System_SID_methods);
1052
1053 zval enum_case_Ion_value;
1054 ZVAL_LONG(&enum_case_Ion_value, 1);
1055 zend_enum_add_case_cstr(class_entry, "Ion", &enum_case_Ion_value);
1056
1057 zval enum_case_Ivm_1_0_value;
1058 ZVAL_LONG(&enum_case_Ivm_1_0_value, 2);
1059 zend_enum_add_case_cstr(class_entry, "Ivm_1_0", &enum_case_Ivm_1_0_value);
1060
1061 zval enum_case_IonSymbolTable_value;
1062 ZVAL_LONG(&enum_case_IonSymbolTable_value, 3);
1063 zend_enum_add_case_cstr(class_entry, "IonSymbolTable", &enum_case_IonSymbolTable_value);
1064
1065 zval enum_case_Name_value;
1066 ZVAL_LONG(&enum_case_Name_value, 4);
1067 zend_enum_add_case_cstr(class_entry, "Name", &enum_case_Name_value);
1068
1069 zval enum_case_Version_value;
1070 ZVAL_LONG(&enum_case_Version_value, 5);
1071 zend_enum_add_case_cstr(class_entry, "Version", &enum_case_Version_value);
1072
1073 zval enum_case_Imports_value;
1074 ZVAL_LONG(&enum_case_Imports_value, 6);
1075 zend_enum_add_case_cstr(class_entry, "Imports", &enum_case_Imports_value);
1076
1077 zval enum_case_Symbols_value;
1078 ZVAL_LONG(&enum_case_Symbols_value, 7);
1079 zend_enum_add_case_cstr(class_entry, "Symbols", &enum_case_Symbols_value);
1080
1081 zval enum_case_MaxId_value;
1082 ZVAL_LONG(&enum_case_MaxId_value, 8);
1083 zend_enum_add_case_cstr(class_entry, "MaxId", &enum_case_MaxId_value);
1084
1085 zval enum_case_SharedSymbolTable_value;
1086 ZVAL_LONG(&enum_case_SharedSymbolTable_value, 9);
1087 zend_enum_add_case_cstr(class_entry, "SharedSymbolTable", &enum_case_SharedSymbolTable_value);
1088
1089 return class_entry;
1090 }
1091
1092 static zend_class_entry *register_class_ion_Symbol(void)
1093 {
1094 zend_class_entry ce, *class_entry;
1095
1096 INIT_NS_CLASS_ENTRY(ce, "ion", "Symbol", class_ion_Symbol_methods);
1097 class_entry = zend_register_internal_class_ex(&ce, NULL);
1098
1099 zval property_value_default_value;
1100 ZVAL_UNDEF(&property_value_default_value);
1101 zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
1102 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));
1103 zend_string_release(property_value_name);
1104
1105 zval property_sid_default_value;
1106 ZVAL_UNDEF(&property_sid_default_value);
1107 zend_string *property_sid_name = zend_string_init("sid", sizeof("sid") - 1, 1);
1108 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));
1109 zend_string_release(property_sid_name);
1110
1111 zend_string *property_importLocation_class_ion_Symbol_ImportLocation = zend_string_init("ion\\Symbol\\ImportLocation", sizeof("ion\\Symbol\\ImportLocation")-1, 1);
1112 zval property_importLocation_default_value;
1113 ZVAL_UNDEF(&property_importLocation_default_value);
1114 zend_string *property_importLocation_name = zend_string_init("importLocation", sizeof("importLocation") - 1, 1);
1115 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));
1116 zend_string_release(property_importLocation_name);
1117
1118 return class_entry;
1119 }
1120
1121 static zend_class_entry *register_class_ion_Symbol_Table(void)
1122 {
1123 zend_class_entry ce, *class_entry;
1124
1125 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol", "Table", class_ion_Symbol_Table_methods);
1126 class_entry = zend_register_internal_class_ex(&ce, NULL);
1127
1128 return class_entry;
1129 }
1130
1131 static zend_class_entry *register_class_ion_Catalog(void)
1132 {
1133 zend_class_entry ce, *class_entry;
1134
1135 INIT_NS_CLASS_ENTRY(ce, "ion", "Catalog", class_ion_Catalog_methods);
1136 class_entry = zend_register_internal_class_ex(&ce, NULL);
1137
1138 return class_entry;
1139 }
1140
1141 static zend_class_entry *register_class_ion_Collection(void)
1142 {
1143 zend_class_entry ce, *class_entry;
1144
1145 INIT_NS_CLASS_ENTRY(ce, "ion", "Collection", class_ion_Collection_methods);
1146 class_entry = zend_register_internal_class_ex(&ce, NULL);
1147
1148 return class_entry;
1149 }
1150
1151 static zend_class_entry *register_class_ion_Decimal_Context(void)
1152 {
1153 zend_class_entry ce, *class_entry;
1154
1155 INIT_NS_CLASS_ENTRY(ce, "ion\\Decimal", "Context", class_ion_Decimal_Context_methods);
1156 class_entry = zend_register_internal_class_ex(&ce, NULL);
1157
1158 zval property_bits_default_value;
1159 ZVAL_UNDEF(&property_bits_default_value);
1160 zend_string *property_bits_name = zend_string_init("bits", sizeof("bits") - 1, 1);
1161 zend_declare_typed_property(class_entry, property_bits_name, &property_bits_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1162 zend_string_release(property_bits_name);
1163
1164 return class_entry;
1165 }
1166
1167 static zend_class_entry *register_class_ion_Decimal(void)
1168 {
1169 zend_class_entry ce, *class_entry;
1170
1171 INIT_NS_CLASS_ENTRY(ce, "ion", "Decimal", class_ion_Decimal_methods);
1172 class_entry = zend_register_internal_class_ex(&ce, NULL);
1173
1174 zval property_number_default_value;
1175 ZVAL_UNDEF(&property_number_default_value);
1176 zend_string *property_number_name = zend_string_init("number", sizeof("number") - 1, 1);
1177 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));
1178 zend_string_release(property_number_name);
1179
1180 zend_string *property_context_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1181 zval property_context_default_value;
1182 ZVAL_UNDEF(&property_context_default_value);
1183 zend_string *property_context_name = zend_string_init("context", sizeof("context") - 1, 1);
1184 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));
1185 zend_string_release(property_context_name);
1186
1187 return class_entry;
1188 }
1189
1190 static zend_class_entry *register_class_ion_Timestamp_Precision(void)
1191 {
1192 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Timestamp\\Precision", IS_LONG, class_ion_Timestamp_Precision_methods);
1193
1194 zval enum_case_Year_value;
1195 ZVAL_LONG(&enum_case_Year_value, 1);
1196 zend_enum_add_case_cstr(class_entry, "Year", &enum_case_Year_value);
1197
1198 zval enum_case_Month_value;
1199 ZVAL_LONG(&enum_case_Month_value, 3);
1200 zend_enum_add_case_cstr(class_entry, "Month", &enum_case_Month_value);
1201
1202 zval enum_case_Day_value;
1203 ZVAL_LONG(&enum_case_Day_value, 7);
1204 zend_enum_add_case_cstr(class_entry, "Day", &enum_case_Day_value);
1205
1206 zval enum_case_Min_value;
1207 ZVAL_LONG(&enum_case_Min_value, 23);
1208 zend_enum_add_case_cstr(class_entry, "Min", &enum_case_Min_value);
1209
1210 zval enum_case_Sec_value;
1211 ZVAL_LONG(&enum_case_Sec_value, 55);
1212 zend_enum_add_case_cstr(class_entry, "Sec", &enum_case_Sec_value);
1213
1214 zval enum_case_Frac_value;
1215 ZVAL_LONG(&enum_case_Frac_value, 119);
1216 zend_enum_add_case_cstr(class_entry, "Frac", &enum_case_Frac_value);
1217
1218 return class_entry;
1219 }
1220
1221 static zend_class_entry *register_class_ion_Timestamp(zend_class_entry *class_entry_DateTime)
1222 {
1223 zend_class_entry ce, *class_entry;
1224
1225 INIT_NS_CLASS_ENTRY(ce, "ion", "Timestamp", class_ion_Timestamp_methods);
1226 class_entry = zend_register_internal_class_ex(&ce, class_entry_DateTime);
1227
1228 zval property_precision_default_value;
1229 ZVAL_UNDEF(&property_precision_default_value);
1230 zend_string *property_precision_name = zend_string_init("precision", sizeof("precision") - 1, 1);
1231 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));
1232 zend_string_release(property_precision_name);
1233
1234 zval property_format_default_value;
1235 ZVAL_UNDEF(&property_format_default_value);
1236 zend_string *property_format_name = zend_string_init("format", sizeof("format") - 1, 1);
1237 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));
1238 zend_string_release(property_format_name);
1239
1240 return class_entry;
1241 }
1242
1243 static zend_class_entry *register_class_ion_Reader(zend_class_entry *class_entry_RecursiveIterator)
1244 {
1245 zend_class_entry ce, *class_entry;
1246
1247 INIT_NS_CLASS_ENTRY(ce, "ion", "Reader", class_ion_Reader_methods);
1248 class_entry = zend_register_internal_interface(&ce);
1249 zend_class_implements(class_entry, 1, class_entry_RecursiveIterator);
1250
1251 return class_entry;
1252 }
1253
1254 static zend_class_entry *register_class_ion_Reader_Options(void)
1255 {
1256 zend_class_entry ce, *class_entry;
1257
1258 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Options", class_ion_Reader_Options_methods);
1259 class_entry = zend_register_internal_class_ex(&ce, NULL);
1260
1261 zend_string *property_catalog_class_ion_Catalog = zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1262 zval property_catalog_default_value;
1263 ZVAL_UNDEF(&property_catalog_default_value);
1264 zend_string *property_catalog_name = zend_string_init("catalog", sizeof("catalog") - 1, 1);
1265 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));
1266 zend_string_release(property_catalog_name);
1267
1268 zend_string *property_decimalContext_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1269 zval property_decimalContext_default_value;
1270 ZVAL_UNDEF(&property_decimalContext_default_value);
1271 zend_string *property_decimalContext_name = zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1272 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));
1273 zend_string_release(property_decimalContext_name);
1274
1275 zend_string *property_onContextChange_class_Closure = zend_string_init("Closure", sizeof("Closure")-1, 1);
1276 zval property_onContextChange_default_value;
1277 ZVAL_UNDEF(&property_onContextChange_default_value);
1278 zend_string *property_onContextChange_name = zend_string_init("onContextChange", sizeof("onContextChange") - 1, 1);
1279 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));
1280 zend_string_release(property_onContextChange_name);
1281
1282 zval property_returnSystemValues_default_value;
1283 ZVAL_UNDEF(&property_returnSystemValues_default_value);
1284 zend_string *property_returnSystemValues_name = zend_string_init("returnSystemValues", sizeof("returnSystemValues") - 1, 1);
1285 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));
1286 zend_string_release(property_returnSystemValues_name);
1287
1288 zval property_newLine_default_value;
1289 ZVAL_UNDEF(&property_newLine_default_value);
1290 zend_string *property_newLine_name = zend_string_init("newLine", sizeof("newLine") - 1, 1);
1291 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));
1292 zend_string_release(property_newLine_name);
1293
1294 zval property_maxContainerDepth_default_value;
1295 ZVAL_UNDEF(&property_maxContainerDepth_default_value);
1296 zend_string *property_maxContainerDepth_name = zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1297 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));
1298 zend_string_release(property_maxContainerDepth_name);
1299
1300 zval property_maxAnnotations_default_value;
1301 ZVAL_UNDEF(&property_maxAnnotations_default_value);
1302 zend_string *property_maxAnnotations_name = zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1303 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));
1304 zend_string_release(property_maxAnnotations_name);
1305
1306 zval property_maxAnnotationBuffered_default_value;
1307 ZVAL_UNDEF(&property_maxAnnotationBuffered_default_value);
1308 zend_string *property_maxAnnotationBuffered_name = zend_string_init("maxAnnotationBuffered", sizeof("maxAnnotationBuffered") - 1, 1);
1309 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));
1310 zend_string_release(property_maxAnnotationBuffered_name);
1311
1312 zval property_symbolThreshold_default_value;
1313 ZVAL_UNDEF(&property_symbolThreshold_default_value);
1314 zend_string *property_symbolThreshold_name = zend_string_init("symbolThreshold", sizeof("symbolThreshold") - 1, 1);
1315 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));
1316 zend_string_release(property_symbolThreshold_name);
1317
1318 zval property_userValueThreshold_default_value;
1319 ZVAL_UNDEF(&property_userValueThreshold_default_value);
1320 zend_string *property_userValueThreshold_name = zend_string_init("userValueThreshold", sizeof("userValueThreshold") - 1, 1);
1321 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));
1322 zend_string_release(property_userValueThreshold_name);
1323
1324 zval property_chunkThreshold_default_value;
1325 ZVAL_UNDEF(&property_chunkThreshold_default_value);
1326 zend_string *property_chunkThreshold_name = zend_string_init("chunkThreshold", sizeof("chunkThreshold") - 1, 1);
1327 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));
1328 zend_string_release(property_chunkThreshold_name);
1329
1330 zval property_allocationPageSize_default_value;
1331 ZVAL_UNDEF(&property_allocationPageSize_default_value);
1332 zend_string *property_allocationPageSize_name = zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1333 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));
1334 zend_string_release(property_allocationPageSize_name);
1335
1336 zval property_skipCharacterValidation_default_value;
1337 ZVAL_UNDEF(&property_skipCharacterValidation_default_value);
1338 zend_string *property_skipCharacterValidation_name = zend_string_init("skipCharacterValidation", sizeof("skipCharacterValidation") - 1, 1);
1339 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));
1340 zend_string_release(property_skipCharacterValidation_name);
1341
1342 return class_entry;
1343 }
1344
1345 static zend_class_entry *register_class_ion_Reader_Reader(zend_class_entry *class_entry_ion_Reader)
1346 {
1347 zend_class_entry ce, *class_entry;
1348
1349 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Reader", class_ion_Reader_Reader_methods);
1350 class_entry = zend_register_internal_class_ex(&ce, NULL);
1351 class_entry->ce_flags |= ZEND_ACC_ABSTRACT;
1352 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1353
1354 zend_string *property_options_class_ion_Reader_Options = zend_string_init("ion\\Reader\\Options", sizeof("ion\\Reader\\Options")-1, 1);
1355 zval property_options_default_value;
1356 ZVAL_UNDEF(&property_options_default_value);
1357 zend_string *property_options_name = zend_string_init("options", sizeof("options") - 1, 1);
1358 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));
1359 zend_string_release(property_options_name);
1360
1361 return class_entry;
1362 }
1363
1364 static zend_class_entry *register_class_ion_Reader_Buffer(zend_class_entry *class_entry_ion_Reader)
1365 {
1366 zend_class_entry ce, *class_entry;
1367
1368 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Buffer", class_ion_Reader_Buffer_methods);
1369 class_entry = zend_register_internal_interface(&ce);
1370 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1371
1372 return class_entry;
1373 }
1374
1375 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)
1376 {
1377 zend_class_entry ce, *class_entry;
1378
1379 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader\\Buffer", "Reader", class_ion_Reader_Buffer_Reader_methods);
1380 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Reader_Reader);
1381 zend_class_implements(class_entry, 1, class_entry_ion_Reader_Buffer);
1382
1383 return class_entry;
1384 }
1385
1386 static zend_class_entry *register_class_ion_Reader_Stream(zend_class_entry *class_entry_ion_Reader)
1387 {
1388 zend_class_entry ce, *class_entry;
1389
1390 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Stream", class_ion_Reader_Stream_methods);
1391 class_entry = zend_register_internal_interface(&ce);
1392 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1393
1394 return class_entry;
1395 }
1396
1397 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)
1398 {
1399 zend_class_entry ce, *class_entry;
1400
1401 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader\\Stream", "Reader", class_ion_Reader_Stream_Reader_methods);
1402 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Reader_Reader);
1403 zend_class_implements(class_entry, 1, class_entry_ion_Reader_Stream);
1404
1405 return class_entry;
1406 }
1407
1408 static zend_class_entry *register_class_ion_Writer_Options(void)
1409 {
1410 zend_class_entry ce, *class_entry;
1411
1412 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Options", class_ion_Writer_Options_methods);
1413 class_entry = zend_register_internal_class_ex(&ce, NULL);
1414
1415 zend_string *property_catalog_class_ion_Catalog = zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1416 zval property_catalog_default_value;
1417 ZVAL_UNDEF(&property_catalog_default_value);
1418 zend_string *property_catalog_name = zend_string_init("catalog", sizeof("catalog") - 1, 1);
1419 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));
1420 zend_string_release(property_catalog_name);
1421
1422 zend_string *property_decimalContext_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1423 zval property_decimalContext_default_value;
1424 ZVAL_UNDEF(&property_decimalContext_default_value);
1425 zend_string *property_decimalContext_name = zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1426 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));
1427 zend_string_release(property_decimalContext_name);
1428
1429 zval property_outputBinary_default_value;
1430 ZVAL_UNDEF(&property_outputBinary_default_value);
1431 zend_string *property_outputBinary_name = zend_string_init("outputBinary", sizeof("outputBinary") - 1, 1);
1432 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));
1433 zend_string_release(property_outputBinary_name);
1434
1435 zval property_compactFloats_default_value;
1436 ZVAL_UNDEF(&property_compactFloats_default_value);
1437 zend_string *property_compactFloats_name = zend_string_init("compactFloats", sizeof("compactFloats") - 1, 1);
1438 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));
1439 zend_string_release(property_compactFloats_name);
1440
1441 zval property_escapeNonAscii_default_value;
1442 ZVAL_UNDEF(&property_escapeNonAscii_default_value);
1443 zend_string *property_escapeNonAscii_name = zend_string_init("escapeNonAscii", sizeof("escapeNonAscii") - 1, 1);
1444 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));
1445 zend_string_release(property_escapeNonAscii_name);
1446
1447 zval property_prettyPrint_default_value;
1448 ZVAL_UNDEF(&property_prettyPrint_default_value);
1449 zend_string *property_prettyPrint_name = zend_string_init("prettyPrint", sizeof("prettyPrint") - 1, 1);
1450 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));
1451 zend_string_release(property_prettyPrint_name);
1452
1453 zval property_indentTabs_default_value;
1454 ZVAL_UNDEF(&property_indentTabs_default_value);
1455 zend_string *property_indentTabs_name = zend_string_init("indentTabs", sizeof("indentTabs") - 1, 1);
1456 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));
1457 zend_string_release(property_indentTabs_name);
1458
1459 zval property_indentSize_default_value;
1460 ZVAL_UNDEF(&property_indentSize_default_value);
1461 zend_string *property_indentSize_name = zend_string_init("indentSize", sizeof("indentSize") - 1, 1);
1462 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));
1463 zend_string_release(property_indentSize_name);
1464
1465 zval property_smallContainersInline_default_value;
1466 ZVAL_UNDEF(&property_smallContainersInline_default_value);
1467 zend_string *property_smallContainersInline_name = zend_string_init("smallContainersInline", sizeof("smallContainersInline") - 1, 1);
1468 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));
1469 zend_string_release(property_smallContainersInline_name);
1470
1471 zval property_suppressSystemValues_default_value;
1472 ZVAL_UNDEF(&property_suppressSystemValues_default_value);
1473 zend_string *property_suppressSystemValues_name = zend_string_init("suppressSystemValues", sizeof("suppressSystemValues") - 1, 1);
1474 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));
1475 zend_string_release(property_suppressSystemValues_name);
1476
1477 zval property_flushEveryValue_default_value;
1478 ZVAL_UNDEF(&property_flushEveryValue_default_value);
1479 zend_string *property_flushEveryValue_name = zend_string_init("flushEveryValue", sizeof("flushEveryValue") - 1, 1);
1480 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));
1481 zend_string_release(property_flushEveryValue_name);
1482
1483 zval property_maxContainerDepth_default_value;
1484 ZVAL_UNDEF(&property_maxContainerDepth_default_value);
1485 zend_string *property_maxContainerDepth_name = zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1486 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));
1487 zend_string_release(property_maxContainerDepth_name);
1488
1489 zval property_maxAnnotations_default_value;
1490 ZVAL_UNDEF(&property_maxAnnotations_default_value);
1491 zend_string *property_maxAnnotations_name = zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1492 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));
1493 zend_string_release(property_maxAnnotations_name);
1494
1495 zval property_tempBufferSize_default_value;
1496 ZVAL_UNDEF(&property_tempBufferSize_default_value);
1497 zend_string *property_tempBufferSize_name = zend_string_init("tempBufferSize", sizeof("tempBufferSize") - 1, 1);
1498 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));
1499 zend_string_release(property_tempBufferSize_name);
1500
1501 zval property_allocationPageSize_default_value;
1502 ZVAL_UNDEF(&property_allocationPageSize_default_value);
1503 zend_string *property_allocationPageSize_name = zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1504 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));
1505 zend_string_release(property_allocationPageSize_name);
1506
1507 return class_entry;
1508 }
1509
1510 static zend_class_entry *register_class_ion_Writer(void)
1511 {
1512 zend_class_entry ce, *class_entry;
1513
1514 INIT_NS_CLASS_ENTRY(ce, "ion", "Writer", class_ion_Writer_methods);
1515 class_entry = zend_register_internal_interface(&ce);
1516
1517 return class_entry;
1518 }
1519
1520 static zend_class_entry *register_class_ion_Writer_Writer(zend_class_entry *class_entry_ion_Writer)
1521 {
1522 zend_class_entry ce, *class_entry;
1523
1524 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Writer", class_ion_Writer_Writer_methods);
1525 class_entry = zend_register_internal_class_ex(&ce, NULL);
1526 class_entry->ce_flags |= ZEND_ACC_ABSTRACT;
1527 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1528
1529 return class_entry;
1530 }
1531
1532 static zend_class_entry *register_class_ion_Writer_Buffer(zend_class_entry *class_entry_ion_Writer)
1533 {
1534 zend_class_entry ce, *class_entry;
1535
1536 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Buffer", class_ion_Writer_Buffer_methods);
1537 class_entry = zend_register_internal_interface(&ce);
1538 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1539
1540 return class_entry;
1541 }
1542
1543 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)
1544 {
1545 zend_class_entry ce, *class_entry;
1546
1547 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer\\Buffer", "Writer", class_ion_Writer_Buffer_Writer_methods);
1548 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Writer_Writer);
1549 zend_class_implements(class_entry, 1, class_entry_ion_Writer_Buffer);
1550
1551 return class_entry;
1552 }
1553
1554 static zend_class_entry *register_class_ion_Writer_Stream(zend_class_entry *class_entry_ion_Writer)
1555 {
1556 zend_class_entry ce, *class_entry;
1557
1558 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Stream", class_ion_Writer_Stream_methods);
1559 class_entry = zend_register_internal_interface(&ce);
1560 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1561
1562 return class_entry;
1563 }
1564
1565 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)
1566 {
1567 zend_class_entry ce, *class_entry;
1568
1569 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer\\Stream", "Writer", class_ion_Writer_Stream_Writer_methods);
1570 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Writer_Writer);
1571 zend_class_implements(class_entry, 1, class_entry_ion_Writer_Stream);
1572
1573 return class_entry;
1574 }
1575
1576 static zend_class_entry *register_class_ion_Serializer(void)
1577 {
1578 zend_class_entry ce, *class_entry;
1579
1580 INIT_NS_CLASS_ENTRY(ce, "ion", "Serializer", class_ion_Serializer_methods);
1581 class_entry = zend_register_internal_interface(&ce);
1582
1583 return class_entry;
1584 }
1585
1586 static zend_class_entry *register_class_ion_Unserializer(void)
1587 {
1588 zend_class_entry ce, *class_entry;
1589
1590 INIT_NS_CLASS_ENTRY(ce, "ion", "Unserializer", class_ion_Unserializer_methods);
1591 class_entry = zend_register_internal_interface(&ce);
1592
1593 return class_entry;
1594 }
1595
1596 static zend_class_entry *register_class_ion_Serializer_PHP(zend_class_entry *class_entry_ion_Serializer)
1597 {
1598 zend_class_entry ce, *class_entry;
1599
1600 INIT_NS_CLASS_ENTRY(ce, "ion\\Serializer", "PHP", class_ion_Serializer_PHP_methods);
1601 class_entry = zend_register_internal_class_ex(&ce, NULL);
1602 zend_class_implements(class_entry, 1, class_entry_ion_Serializer);
1603
1604 zend_string *property_writerOptions_class_ion_Writer_Options = zend_string_init("ion\\Writer\\Options", sizeof("ion\\Writer\\Options")-1, 1);
1605 zval property_writerOptions_default_value;
1606 ZVAL_UNDEF(&property_writerOptions_default_value);
1607 zend_string *property_writerOptions_name = zend_string_init("writerOptions", sizeof("writerOptions") - 1, 1);
1608 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));
1609 zend_string_release(property_writerOptions_name);
1610
1611 zval property_callMagicSerialize_default_value;
1612 ZVAL_UNDEF(&property_callMagicSerialize_default_value);
1613 zend_string *property_callMagicSerialize_name = zend_string_init("callMagicSerialize", sizeof("callMagicSerialize") - 1, 1);
1614 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));
1615 zend_string_release(property_callMagicSerialize_name);
1616
1617 zval property_callCustomSerialize_default_value;
1618 ZVAL_UNDEF(&property_callCustomSerialize_default_value);
1619 zend_string *property_callCustomSerialize_name = zend_string_init("callCustomSerialize", sizeof("callCustomSerialize") - 1, 1);
1620 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));
1621 zend_string_release(property_callCustomSerialize_name);
1622
1623 return class_entry;
1624 }
1625
1626 static zend_class_entry *register_class_ion_Unserializer_PHP(zend_class_entry *class_entry_ion_Unserializer)
1627 {
1628 zend_class_entry ce, *class_entry;
1629
1630 INIT_NS_CLASS_ENTRY(ce, "ion\\Unserializer", "PHP", class_ion_Unserializer_PHP_methods);
1631 class_entry = zend_register_internal_class_ex(&ce, NULL);
1632 zend_class_implements(class_entry, 1, class_entry_ion_Unserializer);
1633
1634 zend_string *property_readerOptions_class_ion_Reader_Options = zend_string_init("ion\\Reader\\Options", sizeof("ion\\Reader\\Options")-1, 1);
1635 zval property_readerOptions_default_value;
1636 ZVAL_UNDEF(&property_readerOptions_default_value);
1637 zend_string *property_readerOptions_name = zend_string_init("readerOptions", sizeof("readerOptions") - 1, 1);
1638 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));
1639 zend_string_release(property_readerOptions_name);
1640
1641 zval property_callMagicUnserialize_default_value;
1642 ZVAL_UNDEF(&property_callMagicUnserialize_default_value);
1643 zend_string *property_callMagicUnserialize_name = zend_string_init("callMagicUnserialize", sizeof("callMagicUnserialize") - 1, 1);
1644 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));
1645 zend_string_release(property_callMagicUnserialize_name);
1646
1647 zval property_callCustomUnserialize_default_value;
1648 ZVAL_UNDEF(&property_callCustomUnserialize_default_value);
1649 zend_string *property_callCustomUnserialize_name = zend_string_init("callCustomUnserialize", sizeof("callCustomUnserialize") - 1, 1);
1650 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));
1651 zend_string_release(property_callCustomUnserialize_name);
1652
1653 return class_entry;
1654 }