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