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